Skip to content

Commit 78419db

Browse files
authored
Merge pull request #61 from onkernel/release-please--branches--main--changes--next
release: 0.24.0
2 parents 05d1a64 + 601a341 commit 78419db

28 files changed

+2196
-211
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.23.0"
2+
".": "0.24.0"
33
}

.stats.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 82
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-dac11bdb857e700a8c39d183e753ddd1ebaaca69fd9fc5ee57d6b56b70b00e6e.yml
3-
openapi_spec_hash: 78fbc50dd0b61cdc87564fbea278ee23
4-
config_hash: a4b4d14bdf6af723b235a6981977627c
1+
configured_endpoints: 89
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-13214b99e392aab631aa1ca99b6a51a58df81e34156d21b8d639bea779566123.yml
3+
openapi_spec_hash: a88d175fc3980de3097ac1411d8dcbff
4+
config_hash: 179f33af31ece83563163d5b3d751d13

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# Changelog
22

3+
## 0.24.0 (2025-12-17)
4+
5+
Full Changelog: [v0.23.0...v0.24.0](https://github.com/onkernel/kernel-python-sdk/compare/v0.23.0...v0.24.0)
6+
7+
### Features
8+
9+
* Enhance AuthAgentInvocationCreateResponse to include already_authenti… ([2db6fed](https://github.com/onkernel/kernel-python-sdk/commit/2db6fed3d39462b8cbde477a8b396fbbde5c63f2))
10+
* Fix browser pool sdk types ([6e0b8a3](https://github.com/onkernel/kernel-python-sdk/commit/6e0b8a39f8ca11297417479994e475c149155967))
11+
12+
13+
### Chores
14+
15+
* **internal:** add missing files argument to base client ([1dce21b](https://github.com/onkernel/kernel-python-sdk/commit/1dce21b40ee87045724d9fbfd6f2ecd6da5ccb2e))
16+
* speedup initial import ([74ccf15](https://github.com/onkernel/kernel-python-sdk/commit/74ccf15f4f7d3d9ab15b9cca92e5ec9f644780fb))
17+
318
## 0.23.0 (2025-12-11)
419

520
Full Changelog: [v0.22.0...v0.23.0](https://github.com/onkernel/kernel-python-sdk/compare/v0.22.0...v0.23.0)

api.md

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -259,15 +259,7 @@ Methods:
259259
Types:
260260

261261
```python
262-
from kernel.types import (
263-
BrowserPool,
264-
BrowserPoolAcquireRequest,
265-
BrowserPoolReleaseRequest,
266-
BrowserPoolRequest,
267-
BrowserPoolUpdateRequest,
268-
BrowserPoolListResponse,
269-
BrowserPoolAcquireResponse,
270-
)
262+
from kernel.types import BrowserPool, BrowserPoolListResponse, BrowserPoolAcquireResponse
271263
```
272264

273265
Methods:
@@ -297,6 +289,7 @@ from kernel.types.agents import (
297289
AuthAgentInvocationCreateRequest,
298290
AuthAgentInvocationCreateResponse,
299291
DiscoveredField,
292+
ReauthResponse,
300293
)
301294
```
302295

@@ -305,6 +298,8 @@ Methods:
305298
- <code title="post /agents/auth">client.agents.auth.<a href="./src/kernel/resources/agents/auth/auth.py">create</a>(\*\*<a href="src/kernel/types/agents/auth_create_params.py">params</a>) -> <a href="./src/kernel/types/agents/auth_agent.py">AuthAgent</a></code>
306299
- <code title="get /agents/auth/{id}">client.agents.auth.<a href="./src/kernel/resources/agents/auth/auth.py">retrieve</a>(id) -> <a href="./src/kernel/types/agents/auth_agent.py">AuthAgent</a></code>
307300
- <code title="get /agents/auth">client.agents.auth.<a href="./src/kernel/resources/agents/auth/auth.py">list</a>(\*\*<a href="src/kernel/types/agents/auth_list_params.py">params</a>) -> <a href="./src/kernel/types/agents/auth_agent.py">SyncOffsetPagination[AuthAgent]</a></code>
301+
- <code title="delete /agents/auth/{id}">client.agents.auth.<a href="./src/kernel/resources/agents/auth/auth.py">delete</a>(id) -> None</code>
302+
- <code title="post /agents/auth/{id}/reauth">client.agents.auth.<a href="./src/kernel/resources/agents/auth/auth.py">reauth</a>(id) -> <a href="./src/kernel/types/agents/reauth_response.py">ReauthResponse</a></code>
308303

309304
### Invocations
310305

@@ -321,3 +316,19 @@ Methods:
321316
- <code title="post /agents/auth/invocations/{invocation_id}/discover">client.agents.auth.invocations.<a href="./src/kernel/resources/agents/auth/invocations.py">discover</a>(invocation_id, \*\*<a href="src/kernel/types/agents/auth/invocation_discover_params.py">params</a>) -> <a href="./src/kernel/types/agents/agent_auth_discover_response.py">AgentAuthDiscoverResponse</a></code>
322317
- <code title="post /agents/auth/invocations/{invocation_id}/exchange">client.agents.auth.invocations.<a href="./src/kernel/resources/agents/auth/invocations.py">exchange</a>(invocation_id, \*\*<a href="src/kernel/types/agents/auth/invocation_exchange_params.py">params</a>) -> <a href="./src/kernel/types/agents/auth/invocation_exchange_response.py">InvocationExchangeResponse</a></code>
323318
- <code title="post /agents/auth/invocations/{invocation_id}/submit">client.agents.auth.invocations.<a href="./src/kernel/resources/agents/auth/invocations.py">submit</a>(invocation_id, \*\*<a href="src/kernel/types/agents/auth/invocation_submit_params.py">params</a>) -> <a href="./src/kernel/types/agents/agent_auth_submit_response.py">AgentAuthSubmitResponse</a></code>
319+
320+
# Credentials
321+
322+
Types:
323+
324+
```python
325+
from kernel.types import CreateCredentialRequest, Credential, UpdateCredentialRequest
326+
```
327+
328+
Methods:
329+
330+
- <code title="post /credentials">client.credentials.<a href="./src/kernel/resources/credentials.py">create</a>(\*\*<a href="src/kernel/types/credential_create_params.py">params</a>) -> <a href="./src/kernel/types/credential.py">Credential</a></code>
331+
- <code title="get /credentials/{id}">client.credentials.<a href="./src/kernel/resources/credentials.py">retrieve</a>(id) -> <a href="./src/kernel/types/credential.py">Credential</a></code>
332+
- <code title="patch /credentials/{id}">client.credentials.<a href="./src/kernel/resources/credentials.py">update</a>(id, \*\*<a href="src/kernel/types/credential_update_params.py">params</a>) -> <a href="./src/kernel/types/credential.py">Credential</a></code>
333+
- <code title="get /credentials">client.credentials.<a href="./src/kernel/resources/credentials.py">list</a>(\*\*<a href="src/kernel/types/credential_list_params.py">params</a>) -> <a href="./src/kernel/types/credential.py">SyncOffsetPagination[Credential]</a></code>
334+
- <code title="delete /credentials/{id}">client.credentials.<a href="./src/kernel/resources/credentials.py">delete</a>(id) -> None</code>

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "kernel"
3-
version = "0.23.0"
3+
version = "0.24.0"
44
description = "The official Python library for the kernel API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

src/kernel/_base_client.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1247,9 +1247,12 @@ def patch(
12471247
*,
12481248
cast_to: Type[ResponseT],
12491249
body: Body | None = None,
1250+
files: RequestFiles | None = None,
12501251
options: RequestOptions = {},
12511252
) -> ResponseT:
1252-
opts = FinalRequestOptions.construct(method="patch", url=path, json_data=body, **options)
1253+
opts = FinalRequestOptions.construct(
1254+
method="patch", url=path, json_data=body, files=to_httpx_files(files), **options
1255+
)
12531256
return self.request(cast_to, opts)
12541257

12551258
def put(
@@ -1767,9 +1770,12 @@ async def patch(
17671770
*,
17681771
cast_to: Type[ResponseT],
17691772
body: Body | None = None,
1773+
files: RequestFiles | None = None,
17701774
options: RequestOptions = {},
17711775
) -> ResponseT:
1772-
opts = FinalRequestOptions.construct(method="patch", url=path, json_data=body, **options)
1776+
opts = FinalRequestOptions.construct(
1777+
method="patch", url=path, json_data=body, files=to_httpx_files(files), **options
1778+
)
17731779
return await self.request(cast_to, opts)
17741780

17751781
async def put(

0 commit comments

Comments
 (0)