Skip to content

Commit 9e16997

Browse files
Merge pull request #175 from kernel/release-please--branches--main--changes--next
release: 0.109.0
2 parents 460ae50 + 79fa360 commit 9e16997

16 files changed

Lines changed: 158 additions & 34 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.108.0"
2+
".": "0.109.0"
33
}

CHANGELOG.md

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

3+
## [0.109.0](https://github.com/kernel/kernel-python-sdk/compare/v0.108.0...v0.109.0) (2026-09-17)
4+
5+
6+
### Features
7+
8+
* Accept opaque AgentCard vaulted card IDs ([569a604](https://github.com/kernel/kernel-python-sdk/commit/569a604ad58c278c83bda5068c8a6080334d085f))
9+
* Expose organization-wide concurrent browser capacity ([8b22180](https://github.com/kernel/kernel-python-sdk/commit/8b22180766c592d1480e26fc781ffd5e1b623051))
10+
* Preserve credential field order ([1a408c4](https://github.com/kernel/kernel-python-sdk/commit/1a408c41c0fd043ff69187f7d62bc721f9e5f867))
11+
312
## [0.108.0](https://github.com/kernel/kernel-python-sdk/compare/v0.107.0...v0.108.0) (2026-09-17)
413

514

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

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.108.0" # x-release-please-version
4+
__version__ = "0.109.0" # x-release-please-version

src/kernel/resources/organization/limits.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,10 @@ def retrieve(
5555
extra_body: Body | None = None,
5656
timeout: float | httpx.Timeout | None | NotGiven = not_given,
5757
) -> OrgLimits:
58-
"""Get the organization's effective limits and managed auth and vault usage."""
58+
"""
59+
Get the organization's effective limits and current concurrency, managed auth,
60+
and vault usage.
61+
"""
5962
return self._get(
6063
"/org/limits",
6164
options=make_request_options(
@@ -138,7 +141,10 @@ async def retrieve(
138141
extra_body: Body | None = None,
139142
timeout: float | httpx.Timeout | None | NotGiven = not_given,
140143
) -> OrgLimits:
141-
"""Get the organization's effective limits and managed auth and vault usage."""
144+
"""
145+
Get the organization's effective limits and current concurrency, managed auth,
146+
and vault usage.
147+
"""
142148
return await self._get(
143149
"/org/limits",
144150
options=make_request_options(

src/kernel/resources/vaults/items.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,9 @@ def upsert(
757757
Args:
758758
spec: Credential fields are for login and other non-payment credentials. Do not store,
759759
collect, or fill credit card data in credential items. Use wallet and card item
760-
types for credit cards and payment checkout instead.
760+
types for credit cards and payment checkout instead. Field order is preserved in
761+
the user-facing collection form, so list fields in the same top-to-bottom order
762+
as the website.
761763
762764
extra_headers: Send extra headers
763765
@@ -1528,7 +1530,9 @@ async def upsert(
15281530
Args:
15291531
spec: Credential fields are for login and other non-payment credentials. Do not store,
15301532
collect, or fill credit card data in credential items. Use wallet and card item
1531-
types for credit cards and payment checkout instead.
1533+
types for credit cards and payment checkout instead. Field order is preserved in
1534+
the user-facing collection form, so list fields in the same top-to-bottom order
1535+
as the website.
15321536
15331537
extra_headers: Send extra headers
15341538

src/kernel/types/organization/org_limits.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,19 @@ class OrgLimits(BaseModel):
1515
remaining capacity before a create is rejected with 403 insufficient_plan.
1616
"""
1717

18+
concurrent_sessions_available: Optional[int] = None
19+
"""Number of concurrent browser slots currently available to the organization.
20+
21+
This is the effective concurrency limit minus active on-demand sessions and
22+
browser pool reservations, floored at zero. Null when usage cannot be read.
23+
"""
24+
25+
concurrent_sessions_used: Optional[int] = None
26+
"""
27+
Current organization-wide concurrent browser usage, including active on-demand
28+
sessions and browser pool reservations. Null when usage cannot be read.
29+
"""
30+
1831
max_auth_connections: Optional[int] = None
1932
"""Maximum managed auth connections the organization's plan allows.
2033

src/kernel/types/vaults/card_vault_item_spec.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,10 @@ class AgentCardCardVaultItemSpec(BaseModel):
113113
"""Wallet item key used to authorize checkouts."""
114114

115115
card_id: Optional[str] = None
116-
"""AgentCard vaulted card to pay with.
116+
"""Opaque card ID returned by AgentCard for a card in the connected wallet.
117117
118-
Omitted, the cardholder picks on the approval screen.
118+
Pass it through unchanged without assuming a prefix or format. Omitted, the
119+
cardholder picks on the approval screen.
119120
"""
120121

121122

src/kernel/types/vaults/card_vault_item_spec_param.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,10 @@ class AgentCardCardVaultItemSpec(TypedDict, total=False):
112112
"""Wallet item key used to authorize checkouts."""
113113

114114
card_id: str
115-
"""AgentCard vaulted card to pay with.
115+
"""Opaque card ID returned by AgentCard for a card in the connected wallet.
116116
117-
Omitted, the cardholder picks on the approval screen.
117+
Pass it through unchanged without assuming a prefix or format. Omitted, the
118+
cardholder picks on the approval screen.
118119
"""
119120

120121

src/kernel/types/vaults/credential_vault_field_definition.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77

88

99
class CredentialVaultFieldDefinition(BaseModel):
10+
name: str
11+
"""Stable field name used to key values, updates, and browser fills."""
12+
1013
required: bool
1114
"""Whether a nonempty value is required for readiness and form submission."""
1215

0 commit comments

Comments
 (0)