Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.113.0"
".": "0.114.0"
}
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## [0.114.0](https://github.com/kernel/kernel-python-sdk/compare/v0.113.0...v0.114.0) (2026-09-30)


### Features

* Accept telemetry.storage and settle it at browser create ([28fb2d3](https://github.com/kernel/kernel-python-sdk/commit/28fb2d3c8fd83090d83404a0b407557585bf93f6))
* Allow export-only network and console telemetry for BAA orgs ([2ff8d4a](https://github.com/kernel/kernel-python-sdk/commit/2ff8d4acacb1b8152b9c7d1b38067c1b02167f40))
* Expose missing managed auth check URL as verification unavailable ([74dbad8](https://github.com/kernel/kernel-python-sdk/commit/74dbad8f0cdf5b414022ad907f6e20ee54893c59))
* Let Vaults fill credentials from 1Password ([2937b10](https://github.com/kernel/kernel-python-sdk/commit/2937b10cce135282b6badc7e5bf71d339500ffdb))
* Send Stripe publishable key when refreshing customer-owned Link grants ([5c1bed3](https://github.com/kernel/kernel-python-sdk/commit/5c1bed353eb421bff589bcc86b2940ca750e3999))

## [0.113.0](https://github.com/kernel/kernel-python-sdk/compare/v0.112.0...v0.113.0) (2026-09-27)


Expand Down
16 changes: 16 additions & 0 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ from kernel.types.browsers import (
BrowserTelemetryEvent,
BrowserTelemetryExportConfig,
BrowserTelemetryOtlpExportConfig,
BrowserTelemetryStorageConfig,
TelemetryEventsResponse,
TelemetryStreamResponse,
)
Expand Down Expand Up @@ -554,6 +555,8 @@ from kernel.types.vaults import (
CardVaultItemSpec,
CardVaultItemState,
CollectVaultItemOperationRequest,
CredentialAccountVaultItem,
CredentialAccountVaultItemRequest,
CredentialCollectionAction,
CredentialVaultFieldDefinition,
CredentialVaultFieldInput,
Expand All @@ -569,6 +572,19 @@ from kernel.types.vaults import (
CredentialVaultItemUpdateRequest,
FillVaultItemOperationRequest,
FillVaultItemOperationResult,
KernelCredentialVaultItemSpec,
KernelCredentialVaultItemSpecInput,
KernelCredentialVaultItemState,
OnePasswordCredentialAccountSpec,
OnePasswordCredentialAccountState,
OnePasswordCredentialVaultItemSpec,
OnePasswordCredentialVaultItemSpecInput,
OnePasswordCredentialVaultItemState,
OnePasswordFillVaultItemOperationRequest,
OnePasswordFillVaultItemOperationResult,
OnePasswordOAuthAction,
OnePasswordRecoverVaultItemOperationRequest,
OnePasswordRequestAccessVaultItemOperationRequest,
PrepareCheckoutVaultItemOperationRequest,
VaultCardAliases,
VaultCardFillField,
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "kernel"
version = "0.113.0"
version = "0.114.0"
description = "The official Python library for the kernel API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/kernel/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "kernel"
__version__ = "0.113.0" # x-release-please-version
__version__ = "0.114.0" # x-release-please-version
846 changes: 748 additions & 98 deletions src/kernel/resources/vaults/items.py

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions src/kernel/types/auth/connection_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"BrowserTelemetryExport",
"BrowserTelemetryExportOtlp",
"BrowserTelemetryExportOtlpDestination",
"BrowserTelemetryStorage",
"Credential",
"Proxy",
]
Expand Down Expand Up @@ -166,6 +167,17 @@ class BrowserTelemetryExport(TypedDict, total=False):
"""


class BrowserTelemetryStorage(TypedDict, total=False):
"""Whether to persist this session's captured telemetry to Kernel storage."""

enabled: bool
"""Whether captured telemetry is persisted to Kernel storage.

Defaults to true. Setting false requires an OTLP destination and cannot be
changed after the browser is created.
"""


class BrowserTelemetry(TypedDict, total=False):
"""Deprecated.

Expand Down Expand Up @@ -205,6 +217,9 @@ class BrowserTelemetry(TypedDict, total=False):
Omit to capture without exporting.
"""

storage: BrowserTelemetryStorage
"""Whether to persist this session's captured telemetry to Kernel storage."""


class Credential(TypedDict, total=False):
"""Reference to credentials for the auth connection.
Expand Down
15 changes: 15 additions & 0 deletions src/kernel/types/auth/connection_login_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"BrowserTelemetryExport",
"BrowserTelemetryExportOtlp",
"BrowserTelemetryExportOtlpDestination",
"BrowserTelemetryStorage",
"Proxy",
]

Expand Down Expand Up @@ -92,6 +93,17 @@ class BrowserTelemetryExport(TypedDict, total=False):
"""


class BrowserTelemetryStorage(TypedDict, total=False):
"""Whether to persist this session's captured telemetry to Kernel storage."""

enabled: bool
"""Whether captured telemetry is persisted to Kernel storage.

Defaults to true. Setting false requires an OTLP destination and cannot be
changed after the browser is created.
"""


class BrowserTelemetry(TypedDict, total=False):
"""Deprecated.

Expand Down Expand Up @@ -131,6 +143,9 @@ class BrowserTelemetry(TypedDict, total=False):
Omit to capture without exporting.
"""

storage: BrowserTelemetryStorage
"""Whether to persist this session's captured telemetry to Kernel storage."""


class Proxy(TypedDict, total=False):
"""Deprecated. Use browser.proxy. Retained during migration for existing clients."""
Expand Down
15 changes: 15 additions & 0 deletions src/kernel/types/auth/connection_update_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"BrowserTelemetryExport",
"BrowserTelemetryExportOtlp",
"BrowserTelemetryExportOtlpDestination",
"BrowserTelemetryStorage",
"Credential",
"Proxy",
]
Expand Down Expand Up @@ -129,6 +130,17 @@ class BrowserTelemetryExport(TypedDict, total=False):
"""


class BrowserTelemetryStorage(TypedDict, total=False):
"""Whether to persist this session's captured telemetry to Kernel storage."""

enabled: bool
"""Whether captured telemetry is persisted to Kernel storage.

Defaults to true. Setting false requires an OTLP destination and cannot be
changed after the browser is created.
"""


class BrowserTelemetry(TypedDict, total=False):
"""Deprecated.

Expand Down Expand Up @@ -168,6 +180,9 @@ class BrowserTelemetry(TypedDict, total=False):
Omit to capture without exporting.
"""

storage: BrowserTelemetryStorage
"""Whether to persist this session's captured telemetry to Kernel storage."""


class Credential(TypedDict, total=False):
"""Reference to credentials for the auth connection.
Expand Down
28 changes: 27 additions & 1 deletion src/kernel/types/auth/managed_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"BrowserTelemetryExport",
"BrowserTelemetryExportOtlp",
"BrowserTelemetryExportOtlpDestination",
"BrowserTelemetryStorage",
"Choice",
"Credential",
"DiscoveredField",
Expand Down Expand Up @@ -68,6 +69,17 @@ class BrowserTelemetryExport(BaseModel):
"""


class BrowserTelemetryStorage(BaseModel):
"""Whether to persist this session's captured telemetry to Kernel storage."""

enabled: Optional[bool] = None
"""Whether captured telemetry is persisted to Kernel storage.

Defaults to true. Setting false requires an OTLP destination and cannot be
changed after the browser is created.
"""


class BrowserTelemetry(BaseModel):
"""Deprecated.

Expand Down Expand Up @@ -107,6 +119,9 @@ class BrowserTelemetry(BaseModel):
Omit to capture without exporting.
"""

storage: Optional[BrowserTelemetryStorage] = None
"""Whether to persist this session's captured telemetry to Kernel storage."""


class Choice(BaseModel):
"""Canonical auth-flow choice awaiting user selection."""
Expand Down Expand Up @@ -309,7 +324,11 @@ class ManagedAuth(BaseModel):
"""

status: Literal["AUTHENTICATED", "NEEDS_AUTH"]
"""Current authentication status of the managed profile"""
"""Last known authentication status of the managed profile.

An inconclusive health check preserves this status and does not verify the
current session.
"""

allowed_domains: Optional[List[str]] = None
"""Additional hostname roots valid for this auth flow, besides the primary domain.
Expand Down Expand Up @@ -504,6 +523,13 @@ class ManagedAuth(BaseModel):
3600 (1 hour), Free: 21600 (6 hours).
"""

health_check_unavailable_reason: Optional[Literal["no_auth_check_url"]] = None
"""Why health checks cannot verify this connection.

Present when health checks are enabled but no auth check URL is available; a
recent last_auth_check_at is not evidence of a valid session.
"""

health_checks: Optional[bool] = None
"""Whether periodic health checks are enabled for this connection.

Expand Down
15 changes: 15 additions & 0 deletions src/kernel/types/auth/managed_auth_browser_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"TelemetryExport",
"TelemetryExportOtlp",
"TelemetryExportOtlpDestination",
"TelemetryStorage",
]


Expand Down Expand Up @@ -60,6 +61,17 @@ class TelemetryExport(BaseModel):
"""


class TelemetryStorage(BaseModel):
"""Whether to persist this session's captured telemetry to Kernel storage."""

enabled: Optional[bool] = None
"""Whether captured telemetry is persisted to Kernel storage.

Defaults to true. Setting false requires an OTLP destination and cannot be
changed after the browser is created.
"""


class Telemetry(BaseModel):
"""Browser telemetry configuration using the same semantics as browser create."""

Expand Down Expand Up @@ -96,6 +108,9 @@ class Telemetry(BaseModel):
Omit to capture without exporting.
"""

storage: Optional[TelemetryStorage] = None
"""Whether to persist this session's captured telemetry to Kernel storage."""


class ManagedAuthBrowserConfig(BaseModel):
"""
Expand Down
15 changes: 15 additions & 0 deletions src/kernel/types/auth/managed_auth_browser_config_param.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"TelemetryExport",
"TelemetryExportOtlp",
"TelemetryExportOtlpDestination",
"TelemetryStorage",
]


Expand Down Expand Up @@ -61,6 +62,17 @@ class TelemetryExport(TypedDict, total=False):
"""


class TelemetryStorage(TypedDict, total=False):
"""Whether to persist this session's captured telemetry to Kernel storage."""

enabled: bool
"""Whether captured telemetry is persisted to Kernel storage.

Defaults to true. Setting false requires an OTLP destination and cannot be
changed after the browser is created.
"""


class Telemetry(TypedDict, total=False):
"""Browser telemetry configuration using the same semantics as browser create."""

Expand Down Expand Up @@ -97,6 +109,9 @@ class Telemetry(TypedDict, total=False):
Omit to capture without exporting.
"""

storage: TelemetryStorage
"""Whether to persist this session's captured telemetry to Kernel storage."""


class ManagedAuthBrowserConfigParam(TypedDict, total=False):
"""
Expand Down
15 changes: 15 additions & 0 deletions src/kernel/types/browser_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"TelemetryExport",
"TelemetryExportOtlp",
"TelemetryExportOtlpDestination",
"TelemetryStorage",
]


Expand Down Expand Up @@ -217,6 +218,17 @@ class TelemetryExport(TypedDict, total=False):
"""


class TelemetryStorage(TypedDict, total=False):
"""Whether to persist this session's captured telemetry to Kernel storage."""

enabled: bool
"""Whether captured telemetry is persisted to Kernel storage.

Defaults to true. Setting false requires an OTLP destination and cannot be
changed after the browser is created.
"""


class Telemetry(TypedDict, total=False):
"""Telemetry configuration for the browser session.

Expand Down Expand Up @@ -255,3 +267,6 @@ class Telemetry(TypedDict, total=False):

Omit to capture without exporting.
"""

storage: TelemetryStorage
"""Whether to persist this session's captured telemetry to Kernel storage."""
15 changes: 15 additions & 0 deletions src/kernel/types/browser_pool_acquire_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"TelemetryExport",
"TelemetryExportOtlp",
"TelemetryExportOtlpDestination",
"TelemetryStorage",
]


Expand Down Expand Up @@ -112,6 +113,17 @@ class TelemetryExport(TypedDict, total=False):
"""


class TelemetryStorage(TypedDict, total=False):
"""Whether to persist this session's captured telemetry to Kernel storage."""

enabled: bool
"""Whether captured telemetry is persisted to Kernel storage.

Defaults to true. Setting false requires an OTLP destination and cannot be
changed after the browser is created.
"""


class Telemetry(TypedDict, total=False):
"""Telemetry override for the acquired browser, applied to this lease only.

Expand Down Expand Up @@ -150,3 +162,6 @@ class Telemetry(TypedDict, total=False):

Omit to capture without exporting.
"""

storage: TelemetryStorage
"""Whether to persist this session's captured telemetry to Kernel storage."""
Loading
Loading