Skip to content

Commit ecaa457

Browse files
Merge pull request #167 from kernel/release-please--branches--main--changes--next
release: 0.100.0
2 parents c8a873b + b08e9ea commit ecaa457

11 files changed

Lines changed: 31 additions & 68 deletions

File tree

.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.99.0"
2+
".": "0.100.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.100.0](https://github.com/kernel/kernel-python-sdk/compare/v0.99.0...v0.100.0) (2026-09-04)
4+
5+
6+
### Features
7+
8+
* Fix vault provider errors and remove test card mode ([043d252](https://github.com/kernel/kernel-python-sdk/commit/043d2521509d4e44a4b3e43694db3a77bd6fe546))
9+
310
## [0.99.0](https://github.com/kernel/kernel-python-sdk/compare/v0.98.0...v0.99.0) (2026-09-04)
411

512

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.99.0"
3+
version = "0.100.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.99.0" # x-release-please-version
4+
__version__ = "0.100.0" # x-release-please-version

src/kernel/resources/vaults/items.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,7 @@ def update(
131131
Update a card specification before or between authorizations
132132
133133
Args:
134-
spec: AgentCard reusable card. Each checkout creates an approval-gated authorization
135-
for spec.merchant / spec.amount. The card stays ready after each authorization.
134+
spec: Live payment card. Test-mode card creation is not supported.
136135
137136
extra_headers: Send extra headers
138137
@@ -296,7 +295,9 @@ def perform_operation(
296295
"""
297296
Retrieve the item first and invoke only an operation listed in
298297
`available_operations`, following its natural-language description. Operations
299-
may call an external provider and can return the item's updated state.
298+
may call an external provider and can return the item's updated state. If the
299+
provider rate limits spend-request creation, returns HTTP 429 with code
300+
`spend_request_rate_limited`; stop and back off before retrying.
300301
301302
Args:
302303
extra_headers: Send extra headers
@@ -375,8 +376,7 @@ def upsert(
375376
Create or retrieve an identical vault item by immutable key
376377
377378
Args:
378-
spec: AgentCard reusable card. Each checkout creates an approval-gated authorization
379-
for spec.merchant / spec.amount. The card stays ready after each authorization.
379+
spec: Live payment card. Test-mode card creation is not supported.
380380
381381
extra_headers: Send extra headers
382382
@@ -523,8 +523,7 @@ async def update(
523523
Update a card specification before or between authorizations
524524
525525
Args:
526-
spec: AgentCard reusable card. Each checkout creates an approval-gated authorization
527-
for spec.merchant / spec.amount. The card stays ready after each authorization.
526+
spec: Live payment card. Test-mode card creation is not supported.
528527
529528
extra_headers: Send extra headers
530529
@@ -688,7 +687,9 @@ async def perform_operation(
688687
"""
689688
Retrieve the item first and invoke only an operation listed in
690689
`available_operations`, following its natural-language description. Operations
691-
may call an external provider and can return the item's updated state.
690+
may call an external provider and can return the item's updated state. If the
691+
provider rate limits spend-request creation, returns HTTP 429 with code
692+
`spend_request_rate_limited`; stop and back off before retrying.
692693
693694
Args:
694695
extra_headers: Send extra headers
@@ -769,8 +770,7 @@ async def upsert(
769770
Create or retrieve an identical vault item by immutable key
770771
771772
Args:
772-
spec: AgentCard reusable card. Each checkout creates an approval-gated authorization
773-
for spec.merchant / spec.amount. The card stays ready after each authorization.
773+
spec: Live payment card. Test-mode card creation is not supported.
774774
775775
extra_headers: Send extra headers
776776

src/kernel/types/vaults/card_vault_item_spec.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ class LinkCardVaultItemSpecTotal(BaseModel):
5656

5757

5858
class LinkCardVaultItemSpec(BaseModel):
59+
"""Live payment card. Test-mode card creation is not supported."""
60+
5961
amount: int
6062
"""Integer amount in minor currency units."""
6163

@@ -76,12 +78,6 @@ class LinkCardVaultItemSpec(BaseModel):
7678

7779
provider: Literal["link"]
7880

79-
test: bool
80-
"""
81-
Whether Link should return test credentials instead of a live payment
82-
credential.
83-
"""
84-
8581
wallet: str
8682
"""Wallet item key used to mint this card."""
8783

@@ -95,9 +91,9 @@ class LinkCardVaultItemSpec(BaseModel):
9591

9692

9793
class AgentCardCardVaultItemSpec(BaseModel):
98-
"""AgentCard reusable card.
94+
"""AgentCard reusable live payment card.
9995
100-
Each checkout creates an approval-gated authorization for spec.merchant / spec.amount. The card stays ready after each authorization.
96+
Test-mode card creation is not supported. Each checkout creates an approval-gated authorization for spec.merchant / spec.amount. The card stays ready after each authorization.
10197
"""
10298

10399
amount: int

src/kernel/types/vaults/card_vault_item_spec_param.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ class LinkCardVaultItemSpecTotal(TypedDict, total=False):
5555

5656

5757
class LinkCardVaultItemSpec(TypedDict, total=False):
58+
"""Live payment card. Test-mode card creation is not supported."""
59+
5860
amount: Required[int]
5961
"""Integer amount in minor currency units."""
6062

@@ -75,12 +77,6 @@ class LinkCardVaultItemSpec(TypedDict, total=False):
7577

7678
provider: Required[Literal["link"]]
7779

78-
test: Required[bool]
79-
"""
80-
Whether Link should return test credentials instead of a live payment
81-
credential.
82-
"""
83-
8480
wallet: Required[str]
8581
"""Wallet item key used to mint this card."""
8682

@@ -94,9 +90,9 @@ class LinkCardVaultItemSpec(TypedDict, total=False):
9490

9591

9692
class AgentCardCardVaultItemSpec(TypedDict, total=False):
97-
"""AgentCard reusable card.
93+
"""AgentCard reusable live payment card.
9894
99-
Each checkout creates an approval-gated authorization for spec.merchant / spec.amount. The card stays ready after each authorization.
95+
Test-mode card creation is not supported. Each checkout creates an approval-gated authorization for spec.merchant / spec.amount. The card stays ready after each authorization.
10096
"""
10197

10298
amount: Required[int]

src/kernel/types/vaults/item_update_params.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,4 @@ class ItemUpdateParams(TypedDict, total=False):
1313
id_or_name: Required[str]
1414

1515
spec: Required[CardVaultItemSpecParam]
16-
"""AgentCard reusable card.
17-
18-
Each checkout creates an approval-gated authorization for spec.merchant /
19-
spec.amount. The card stays ready after each authorization.
20-
"""
16+
"""Live payment card. Test-mode card creation is not supported."""

src/kernel/types/vaults/item_upsert_params.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,7 @@ class CardVaultItemRequest(TypedDict, total=False):
2929
id_or_name: Required[str]
3030

3131
spec: Required[CardVaultItemSpecParam]
32-
"""AgentCard reusable card.
33-
34-
Each checkout creates an approval-gated authorization for spec.merchant /
35-
spec.amount. The card stays ready after each authorization.
36-
"""
32+
"""Live payment card. Test-mode card creation is not supported."""
3733

3834
type: Required[Literal["card"]]
3935

src/kernel/types/vaults/vault_item.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -120,11 +120,7 @@ class CardVaultItem(BaseModel):
120120
"""Immutable item key assigned when the item is created."""
121121

122122
spec: CardVaultItemSpec
123-
"""AgentCard reusable card.
124-
125-
Each checkout creates an approval-gated authorization for spec.merchant /
126-
spec.amount. The card stays ready after each authorization.
127-
"""
123+
"""Live payment card. Test-mode card creation is not supported."""
128124

129125
state: CardVaultItemState
130126

0 commit comments

Comments
 (0)