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.46.0"
".": "0.47.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 104
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-f7024f4171c7c4ec558de1c27f338b1089ffddd0d2dbfdb9bb9f9c2abe8f47bf.yml
openapi_spec_hash: ced43682b49e73a2862f99b49abb4fcd
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-ac10847d991ef8ed89124b5550922cb5726af2b4a4c3396ee6ff82938302fc25.yml
openapi_spec_hash: 0d902563108fe2461708c05336eab40a
config_hash: 16e4457a0bb26e98a335a1c2a572290a
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.47.0 (2026-04-07)

Full Changelog: [v0.46.0...v0.47.0](https://github.com/kernel/kernel-python-sdk/compare/v0.46.0...v0.47.0)

### Features

* Include login_url in managed auth connection response ([b97b320](https://github.com/kernel/kernel-python-sdk/commit/b97b3203c612f3883d7d08d6f3f6282ce726ec59))

## 0.46.0 (2026-04-06)

Full Changelog: [v0.45.0...v0.46.0](https://github.com/kernel/kernel-python-sdk/compare/v0.45.0...v0.46.0)
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.46.0"
version = "0.47.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.46.0" # x-release-please-version
__version__ = "0.47.0" # x-release-please-version
16 changes: 10 additions & 6 deletions src/kernel/resources/auth/connections.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,15 @@ def create(
) -> ManagedAuth:
"""Creates an auth connection for a profile and domain combination.

Returns 409
Conflict if an auth connection already exists for the given profile and domain.
If the provided
profile_name does not exist, it is created automatically. Returns 409 Conflict
if an auth connection already exists for the given profile and domain.

Args:
domain: Domain for authentication

profile_name: Name of the profile to manage authentication for
profile_name: Name of the profile to manage authentication for. If the profile does not exist,
it is created automatically.

allowed_domains: Additional domains valid for this auth flow (besides the primary domain). Useful
when login pages redirect to different domains.
Expand Down Expand Up @@ -537,13 +539,15 @@ async def create(
) -> ManagedAuth:
"""Creates an auth connection for a profile and domain combination.

Returns 409
Conflict if an auth connection already exists for the given profile and domain.
If the provided
profile_name does not exist, it is created automatically. Returns 409 Conflict
if an auth connection already exists for the given profile and domain.

Args:
domain: Domain for authentication

profile_name: Name of the profile to manage authentication for
profile_name: Name of the profile to manage authentication for. If the profile does not exist,
it is created automatically.

allowed_domains: Additional domains valid for this auth flow (besides the primary domain). Useful
when login pages redirect to different domains.
Expand Down
5 changes: 4 additions & 1 deletion src/kernel/types/auth/connection_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ class ConnectionCreateParams(TypedDict, total=False):
"""Domain for authentication"""

profile_name: Required[str]
"""Name of the profile to manage authentication for"""
"""Name of the profile to manage authentication for.

If the profile does not exist, it is created automatically.
"""

allowed_domains: SequenceNotStr[str]
"""Additional domains valid for this auth flow (besides the primary domain).
Expand Down
3 changes: 3 additions & 0 deletions src/kernel/types/auth/managed_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,9 @@ class ManagedAuth(BaseModel):
live_view_url: Optional[str] = None
"""Browser live view URL for debugging (present when flow in progress)"""

login_url: Optional[str] = None
"""Optional login page URL to skip discovery"""

mfa_options: Optional[List[MfaOption]] = None
"""
MFA method options (present when flow_step=awaiting_input and MFA selection
Expand Down