Skip to content

Commit 1c6986d

Browse files
Merge pull request #162 from kernel/release-please--branches--main--changes--next
release: 0.96.0
2 parents 5602df1 + 826f5e4 commit 1c6986d

26 files changed

Lines changed: 1034 additions & 796 deletions

.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.95.0"
2+
".": "0.96.0"
33
}

CHANGELOG.md

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

3+
## [0.96.0](https://github.com/kernel/kernel-python-sdk/compare/v0.95.0...v0.96.0) (2026-08-27)
4+
5+
6+
### Features
7+
8+
* Rename the site configs API to config registry ([114c986](https://github.com/kernel/kernel-python-sdk/commit/114c986f0d771049ec09741c65e0be317c98f718))
9+
310
## [0.95.0](https://github.com/kernel/kernel-python-sdk/compare/v0.94.0...v0.95.0) (2026-08-26)
411

512

api.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Methods:
7474
- <code title="get /invocations/{id}/events">client.invocations.<a href="./src/kernel/resources/invocations.py">follow</a>(id, \*\*<a href="src/kernel/types/invocation_follow_params.py">params</a>) -> <a href="./src/kernel/types/invocation_follow_response.py">InvocationFollowResponse</a></code>
7575
- <code title="get /invocations/{id}/browsers">client.invocations.<a href="./src/kernel/resources/invocations.py">list_browsers</a>(id) -> <a href="./src/kernel/types/invocation_list_browsers_response.py">InvocationListBrowsersResponse</a></code>
7676

77-
# SiteConfigs
77+
# ConfigRegistry
7878

7979
Types:
8080

@@ -83,6 +83,7 @@ from kernel.types import (
8383
Analysis,
8484
AnalysisSummary,
8585
Browser,
86+
ConfigRegistryResponse,
8687
Evidence,
8788
LookupRequest,
8889
LookupResponse,
@@ -92,18 +93,22 @@ from kernel.types import (
9293
RecommendationResult,
9394
RecommendationSummary,
9495
ResolveRequest,
95-
SiteConfigResponse,
9696
Target,
9797
)
9898
```
9999

100100
Methods:
101101

102-
- <code title="get /site-configs/{id}">client.site_configs.<a href="./src/kernel/resources/site_configs.py">retrieve</a>(id) -> <a href="./src/kernel/types/site_config_response.py">SiteConfigResponse</a></code>
103-
- <code title="get /site-configs">client.site_configs.<a href="./src/kernel/resources/site_configs.py">list</a>(\*\*<a href="src/kernel/types/site_config_list_params.py">params</a>) -> <a href="./src/kernel/types/analysis_summary.py">SyncOffsetPagination[AnalysisSummary]</a></code>
104-
- <code title="get /site-configs/recommendations">client.site_configs.<a href="./src/kernel/resources/site_configs.py">list_recommendations</a>(\*\*<a href="src/kernel/types/site_config_list_recommendations_params.py">params</a>) -> <a href="./src/kernel/types/recommendation_summary.py">SyncOffsetPagination[RecommendationSummary]</a></code>
105-
- <code title="post /site-configs/lookup">client.site_configs.<a href="./src/kernel/resources/site_configs.py">lookup</a>(\*\*<a href="src/kernel/types/site_config_lookup_params.py">params</a>) -> <a href="./src/kernel/types/lookup_response.py">LookupResponse</a></code>
106-
- <code title="post /site-configs/resolve">client.site_configs.<a href="./src/kernel/resources/site_configs.py">resolve</a>(\*\*<a href="src/kernel/types/site_config_resolve_params.py">params</a>) -> <a href="./src/kernel/types/site_config_response.py">SiteConfigResponse</a></code>
102+
- <code title="get /config-registry">client.config_registry.<a href="./src/kernel/resources/config_registry/config_registry.py">list</a>(\*\*<a href="src/kernel/types/config_registry_list_params.py">params</a>) -> <a href="./src/kernel/types/recommendation_summary.py">SyncOffsetPagination[RecommendationSummary]</a></code>
103+
- <code title="post /config-registry/lookup">client.config_registry.<a href="./src/kernel/resources/config_registry/config_registry.py">lookup</a>(\*\*<a href="src/kernel/types/config_registry_lookup_params.py">params</a>) -> <a href="./src/kernel/types/lookup_response.py">LookupResponse</a></code>
104+
- <code title="post /config-registry/resolve">client.config_registry.<a href="./src/kernel/resources/config_registry/config_registry.py">resolve</a>(\*\*<a href="src/kernel/types/config_registry_resolve_params.py">params</a>) -> <a href="./src/kernel/types/config_registry_response.py">ConfigRegistryResponse</a></code>
105+
106+
## Analyses
107+
108+
Methods:
109+
110+
- <code title="get /config-registry/analyses/{id}">client.config_registry.analyses.<a href="./src/kernel/resources/config_registry/analyses.py">retrieve</a>(id) -> <a href="./src/kernel/types/config_registry_response.py">ConfigRegistryResponse</a></code>
111+
- <code title="get /config-registry/analyses">client.config_registry.analyses.<a href="./src/kernel/resources/config_registry/analyses.py">list</a>(\*\*<a href="src/kernel/types/config_registry/analysis_list_params.py">params</a>) -> <a href="./src/kernel/types/analysis_summary.py">SyncOffsetPagination[AnalysisSummary]</a></code>
107112

108113
# Browsers
109114

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.95.0"
3+
version = "0.96.0"
44
description = "The official Python library for the kernel API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

src/kernel/_client.py

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@
6262
deployments,
6363
invocations,
6464
organization,
65-
site_configs,
6665
browser_pools,
66+
config_registry,
6767
credential_providers,
6868
)
6969
from .resources.apps import AppsResource, AsyncAppsResource
@@ -75,14 +75,14 @@
7575
from .resources.credentials import CredentialsResource, AsyncCredentialsResource
7676
from .resources.deployments import DeploymentsResource, AsyncDeploymentsResource
7777
from .resources.invocations import InvocationsResource, AsyncInvocationsResource
78-
from .resources.site_configs import SiteConfigsResource, AsyncSiteConfigsResource
7978
from .resources.browser_pools import BrowserPoolsResource, AsyncBrowserPoolsResource
8079
from .resources.browsers.browsers import BrowsersResource, AsyncBrowsersResource
8180
from .resources.projects.projects import ProjectsResource, AsyncProjectsResource
8281
from .resources.telemetry.telemetry import TelemetryResource, AsyncTelemetryResource
8382
from .resources.credential_providers import CredentialProvidersResource, AsyncCredentialProvidersResource
8483
from .resources.audit_logs.audit_logs import AuditLogsResource, AsyncAuditLogsResource
8584
from .resources.organization.organization import OrganizationResource, AsyncOrganizationResource
85+
from .resources.config_registry.config_registry import ConfigRegistryResource, AsyncConfigRegistryResource
8686

8787
__all__ = [
8888
"ENVIRONMENTS",
@@ -226,11 +226,11 @@ def invocations(self) -> InvocationsResource:
226226
return InvocationsResource(self)
227227

228228
@cached_property
229-
def site_configs(self) -> SiteConfigsResource:
229+
def config_registry(self) -> ConfigRegistryResource:
230230
"""Resolve browser and proxy recommendations for bot-protected sites."""
231-
from .resources.site_configs import SiteConfigsResource
231+
from .resources.config_registry import ConfigRegistryResource
232232

233-
return SiteConfigsResource(self)
233+
return ConfigRegistryResource(self)
234234

235235
@cached_property
236236
def browsers(self) -> BrowsersResource:
@@ -609,11 +609,11 @@ def invocations(self) -> AsyncInvocationsResource:
609609
return AsyncInvocationsResource(self)
610610

611611
@cached_property
612-
def site_configs(self) -> AsyncSiteConfigsResource:
612+
def config_registry(self) -> AsyncConfigRegistryResource:
613613
"""Resolve browser and proxy recommendations for bot-protected sites."""
614-
from .resources.site_configs import AsyncSiteConfigsResource
614+
from .resources.config_registry import AsyncConfigRegistryResource
615615

616-
return AsyncSiteConfigsResource(self)
616+
return AsyncConfigRegistryResource(self)
617617

618618
@cached_property
619619
def browsers(self) -> AsyncBrowsersResource:
@@ -896,11 +896,11 @@ def invocations(self) -> invocations.InvocationsResourceWithRawResponse:
896896
return InvocationsResourceWithRawResponse(self._client.invocations)
897897

898898
@cached_property
899-
def site_configs(self) -> site_configs.SiteConfigsResourceWithRawResponse:
899+
def config_registry(self) -> config_registry.ConfigRegistryResourceWithRawResponse:
900900
"""Resolve browser and proxy recommendations for bot-protected sites."""
901-
from .resources.site_configs import SiteConfigsResourceWithRawResponse
901+
from .resources.config_registry import ConfigRegistryResourceWithRawResponse
902902

903-
return SiteConfigsResourceWithRawResponse(self._client.site_configs)
903+
return ConfigRegistryResourceWithRawResponse(self._client.config_registry)
904904

905905
@cached_property
906906
def browsers(self) -> browsers.BrowsersResourceWithRawResponse:
@@ -1023,11 +1023,11 @@ def invocations(self) -> invocations.AsyncInvocationsResourceWithRawResponse:
10231023
return AsyncInvocationsResourceWithRawResponse(self._client.invocations)
10241024

10251025
@cached_property
1026-
def site_configs(self) -> site_configs.AsyncSiteConfigsResourceWithRawResponse:
1026+
def config_registry(self) -> config_registry.AsyncConfigRegistryResourceWithRawResponse:
10271027
"""Resolve browser and proxy recommendations for bot-protected sites."""
1028-
from .resources.site_configs import AsyncSiteConfigsResourceWithRawResponse
1028+
from .resources.config_registry import AsyncConfigRegistryResourceWithRawResponse
10291029

1030-
return AsyncSiteConfigsResourceWithRawResponse(self._client.site_configs)
1030+
return AsyncConfigRegistryResourceWithRawResponse(self._client.config_registry)
10311031

10321032
@cached_property
10331033
def browsers(self) -> browsers.AsyncBrowsersResourceWithRawResponse:
@@ -1150,11 +1150,11 @@ def invocations(self) -> invocations.InvocationsResourceWithStreamingResponse:
11501150
return InvocationsResourceWithStreamingResponse(self._client.invocations)
11511151

11521152
@cached_property
1153-
def site_configs(self) -> site_configs.SiteConfigsResourceWithStreamingResponse:
1153+
def config_registry(self) -> config_registry.ConfigRegistryResourceWithStreamingResponse:
11541154
"""Resolve browser and proxy recommendations for bot-protected sites."""
1155-
from .resources.site_configs import SiteConfigsResourceWithStreamingResponse
1155+
from .resources.config_registry import ConfigRegistryResourceWithStreamingResponse
11561156

1157-
return SiteConfigsResourceWithStreamingResponse(self._client.site_configs)
1157+
return ConfigRegistryResourceWithStreamingResponse(self._client.config_registry)
11581158

11591159
@cached_property
11601160
def browsers(self) -> browsers.BrowsersResourceWithStreamingResponse:
@@ -1277,11 +1277,11 @@ def invocations(self) -> invocations.AsyncInvocationsResourceWithStreamingRespon
12771277
return AsyncInvocationsResourceWithStreamingResponse(self._client.invocations)
12781278

12791279
@cached_property
1280-
def site_configs(self) -> site_configs.AsyncSiteConfigsResourceWithStreamingResponse:
1280+
def config_registry(self) -> config_registry.AsyncConfigRegistryResourceWithStreamingResponse:
12811281
"""Resolve browser and proxy recommendations for bot-protected sites."""
1282-
from .resources.site_configs import AsyncSiteConfigsResourceWithStreamingResponse
1282+
from .resources.config_registry import AsyncConfigRegistryResourceWithStreamingResponse
12831283

1284-
return AsyncSiteConfigsResourceWithStreamingResponse(self._client.site_configs)
1284+
return AsyncConfigRegistryResourceWithStreamingResponse(self._client.config_registry)
12851285

12861286
@cached_property
12871287
def browsers(self) -> browsers.AsyncBrowsersResourceWithStreamingResponse:

src/kernel/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "kernel"
4-
__version__ = "0.95.0" # x-release-please-version
4+
__version__ = "0.96.0" # x-release-please-version

src/kernel/resources/__init__.py

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -112,14 +112,6 @@
112112
OrganizationResourceWithStreamingResponse,
113113
AsyncOrganizationResourceWithStreamingResponse,
114114
)
115-
from .site_configs import (
116-
SiteConfigsResource,
117-
AsyncSiteConfigsResource,
118-
SiteConfigsResourceWithRawResponse,
119-
AsyncSiteConfigsResourceWithRawResponse,
120-
SiteConfigsResourceWithStreamingResponse,
121-
AsyncSiteConfigsResourceWithStreamingResponse,
122-
)
123115
from .browser_pools import (
124116
BrowserPoolsResource,
125117
AsyncBrowserPoolsResource,
@@ -128,6 +120,14 @@
128120
BrowserPoolsResourceWithStreamingResponse,
129121
AsyncBrowserPoolsResourceWithStreamingResponse,
130122
)
123+
from .config_registry import (
124+
ConfigRegistryResource,
125+
AsyncConfigRegistryResource,
126+
ConfigRegistryResourceWithRawResponse,
127+
AsyncConfigRegistryResourceWithRawResponse,
128+
ConfigRegistryResourceWithStreamingResponse,
129+
AsyncConfigRegistryResourceWithStreamingResponse,
130+
)
131131
from .credential_providers import (
132132
CredentialProvidersResource,
133133
AsyncCredentialProvidersResource,
@@ -156,12 +156,12 @@
156156
"AsyncInvocationsResourceWithRawResponse",
157157
"InvocationsResourceWithStreamingResponse",
158158
"AsyncInvocationsResourceWithStreamingResponse",
159-
"SiteConfigsResource",
160-
"AsyncSiteConfigsResource",
161-
"SiteConfigsResourceWithRawResponse",
162-
"AsyncSiteConfigsResourceWithRawResponse",
163-
"SiteConfigsResourceWithStreamingResponse",
164-
"AsyncSiteConfigsResourceWithStreamingResponse",
159+
"ConfigRegistryResource",
160+
"AsyncConfigRegistryResource",
161+
"ConfigRegistryResourceWithRawResponse",
162+
"AsyncConfigRegistryResourceWithRawResponse",
163+
"ConfigRegistryResourceWithStreamingResponse",
164+
"AsyncConfigRegistryResourceWithStreamingResponse",
165165
"BrowsersResource",
166166
"AsyncBrowsersResource",
167167
"BrowsersResourceWithRawResponse",
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2+
3+
from .analyses import (
4+
AnalysesResource,
5+
AsyncAnalysesResource,
6+
AnalysesResourceWithRawResponse,
7+
AsyncAnalysesResourceWithRawResponse,
8+
AnalysesResourceWithStreamingResponse,
9+
AsyncAnalysesResourceWithStreamingResponse,
10+
)
11+
from .config_registry import (
12+
ConfigRegistryResource,
13+
AsyncConfigRegistryResource,
14+
ConfigRegistryResourceWithRawResponse,
15+
AsyncConfigRegistryResourceWithRawResponse,
16+
ConfigRegistryResourceWithStreamingResponse,
17+
AsyncConfigRegistryResourceWithStreamingResponse,
18+
)
19+
20+
__all__ = [
21+
"AnalysesResource",
22+
"AsyncAnalysesResource",
23+
"AnalysesResourceWithRawResponse",
24+
"AsyncAnalysesResourceWithRawResponse",
25+
"AnalysesResourceWithStreamingResponse",
26+
"AsyncAnalysesResourceWithStreamingResponse",
27+
"ConfigRegistryResource",
28+
"AsyncConfigRegistryResource",
29+
"ConfigRegistryResourceWithRawResponse",
30+
"AsyncConfigRegistryResourceWithRawResponse",
31+
"ConfigRegistryResourceWithStreamingResponse",
32+
"AsyncConfigRegistryResourceWithStreamingResponse",
33+
]

0 commit comments

Comments
 (0)