Skip to content

Commit 3153f7e

Browse files
feat: chore(stlc): seal custom-code tracking files
Stainless-Generated-From: a116c88816fdeb28604dbc40fd54fead71d3fd85
1 parent d5e14bd commit 3153f7e

5 files changed

Lines changed: 17 additions & 10 deletions

File tree

‎src/kernel/types/browser_location.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ class BrowserLocation(BaseModel):
1313
locale_source: BrowserLocationSource
1414
"""Where one effective browser location field came from.
1515
16-
`override` is set explicitly on the session; `metro` is the default for the
17-
browser's region.
16+
`override` is set explicitly on the session; `default` comes from the browser's
17+
region.
1818
"""
1919

2020
timezone: str
@@ -23,6 +23,6 @@ class BrowserLocation(BaseModel):
2323
timezone_source: BrowserLocationSource
2424
"""Where one effective browser location field came from.
2525
26-
`override` is set explicitly on the session; `metro` is the default for the
27-
browser's region.
26+
`override` is set explicitly on the session; `default` comes from the browser's
27+
region.
2828
"""

‎src/kernel/types/browser_location_source.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44

55
__all__ = ["BrowserLocationSource"]
66

7-
BrowserLocationSource: TypeAlias = Literal["override", "metro"]
7+
BrowserLocationSource: TypeAlias = Literal["override", "default"]

‎src/kernel/types/shared/browser_viewport.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ class BrowserViewport(BaseModel):
3131
refresh_rate: Optional[int] = None
3232
"""Display refresh rate in Hz.
3333
34-
Any positive integer is accepted; if omitted, automatically determined from
35-
width and height.
34+
Any positive integer is accepted; if omitted, GPU browsers default to 60 and
35+
other browsers derive it from width and height.
3636
"""

‎src/kernel/types/shared_params/browser_viewport.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ class BrowserViewport(TypedDict, total=False):
3131
refresh_rate: int
3232
"""Display refresh rate in Hz.
3333
34-
Any positive integer is accepted; if omitted, automatically determined from
35-
width and height.
34+
Any positive integer is accepted; if omitted, GPU browsers default to 60 and
35+
other browsers derive it from width and height.
3636
"""

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

3-
from typing import Union
3+
from typing import Union, Optional
44
from typing_extensions import Literal, Annotated, TypeAlias
55

66
from ..._utils import PropertyInfo
@@ -52,6 +52,13 @@ class CardEnrollmentAction(BaseModel):
5252

5353
url: str
5454

55+
capture_token: Optional[str] = None
56+
"""Secret bearer capability for embedded card capture with @onkernel/vault-react.
57+
58+
Present only for Kernel wallets; never for AgentCard. Treat it like the
59+
enrollment URL and do not log or persist it in browser storage.
60+
"""
61+
5562

5663
VaultItemAction: TypeAlias = Annotated[
5764
Union[

0 commit comments

Comments
 (0)