Skip to content

Commit 3bbc604

Browse files
authored
Merge pull request #206 from kernel/release-please--branches--main--changes--next
release: 0.136.0
2 parents 6e7164e + 55f38ab commit 3bbc604

6 files changed

Lines changed: 56 additions & 5 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.135.0"
2+
".": "0.136.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.136.0](https://github.com/kernel/kernel-python-sdk/compare/v0.135.0...v0.136.0) (2026-10-28)
4+
5+
6+
### Features
7+
8+
* Import approved 1Password logins onto stored-token credentials ([279faa3](https://github.com/kernel/kernel-python-sdk/commit/279faa380ab039e8dea75b553cae18d70157bf7c))
9+
310
## [0.135.0](https://github.com/kernel/kernel-python-sdk/compare/v0.134.0...v0.135.0) (2026-10-28)
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.135.0"
3+
version = "0.136.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.135.0" # x-release-please-version
4+
__version__ = "0.136.0" # x-release-please-version

‎src/kernel/types/vaults/one_password_credential_vault_item_spec.py‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ class RequestsEntry(BaseModel):
1919
type: str
2020
"""Must be login."""
2121

22+
id: Optional[str] = None
23+
"""1Password's ID for this entry in an access request you created.
24+
25+
Supply it only with resolved.
26+
"""
27+
2228
keywords: Optional[List[str]] = None
2329

2430
reason: Optional[str] = None

‎src/kernel/types/vaults/one_password_credential_vault_item_spec_input_param.py‎

Lines changed: 40 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,13 @@
99
from ..._types import SequenceNotStr
1010
from ..._utils import PropertyInfo
1111

12-
__all__ = ["OnePasswordCredentialVaultItemSpecInputParam", "Requests", "RequestsEntry", "RequestsEntryParameters"]
12+
__all__ = [
13+
"OnePasswordCredentialVaultItemSpecInputParam",
14+
"Requests",
15+
"RequestsEntry",
16+
"RequestsEntryParameters",
17+
"Resolved",
18+
]
1319

1420

1521
class RequestsEntryParameters(TypedDict, total=False):
@@ -22,6 +28,12 @@ class RequestsEntry(TypedDict, total=False):
2228
type: Required[str]
2329
"""Must be login."""
2430

31+
id: str
32+
"""1Password's ID for this entry in an access request you created.
33+
34+
Supply it only with resolved.
35+
"""
36+
2537
keywords: SequenceNotStr[str]
2638

2739
reason: str
@@ -41,13 +53,31 @@ class Requests(TypedDict, total=False):
4153
goal: str
4254

4355

56+
class Resolved(TypedDict, total=False):
57+
reference: Required[str]
58+
"""1Password credential reference.
59+
60+
Pass it unchanged as resourcePath to the extension's fillCredential or to the
61+
1Password SDK.
62+
"""
63+
64+
entry_id: Annotated[str, PropertyInfo(alias="entryId")]
65+
"""The requested entry this login satisfies, when known."""
66+
67+
4468
class OnePasswordCredentialVaultItemSpecInputParam(TypedDict, total=False):
4569
"""
46-
A login request backed by a connected 1Password account or by a customer-supplied access token and matching integration key. Supply either account or both secrets, never both. Supplied secrets are write-only and never returned. Supply requests for new items; website remains supported for existing account-backed callers.
70+
A login request backed by a connected 1Password account or by a customer-supplied access token and matching integration key. Supply either account or both secrets, never both. Supplied secrets are write-only and never returned. Supply requests for new items; website remains supported for existing account-backed callers. To use an access request you already created and the user approved with the same access token and integration key, also supply access_request_id, resolved, and each requests entry's id; the item is created ready and Kernel doesn't create an access request.
4771
"""
4872

4973
provider: Required[Literal["1password"]]
5074

75+
access_request_id: str
76+
"""
77+
ID of an approved access request you created with this access_token and
78+
integration_key. Requires resolved.
79+
"""
80+
5181
access_token: str
5282
"""Customer-supplied 1Password broker token.
5383
@@ -80,5 +110,13 @@ class OnePasswordCredentialVaultItemSpecInputParam(TypedDict, total=False):
80110
A credential item may request up to five login entries.
81111
"""
82112

113+
resolved: Iterable[Resolved]
114+
"""
115+
Granted logins from 1Password's status for access_request_id, as returned by the
116+
1Password SDK or extension. Requires access_request_id and an id on every
117+
requests entry. entryId may be omitted only when requests has one entry. Kernel
118+
doesn't verify the references; 1Password checks them when filling.
119+
"""
120+
83121
website: str
84122
"""Legacy single-login shorthand. Supply requests instead."""

0 commit comments

Comments
 (0)