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.128.0"
".": "0.129.0"
}
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [0.129.0](https://github.com/kernel/kernel-go-sdk/compare/v0.128.0...v0.129.0) (2026-10-21)


### Features

* chore(stlc): seal custom-code tracking files ([1f0841c](https://github.com/kernel/kernel-go-sdk/commit/1f0841c30810ad2b012024e28b48efe2faa5bfcd))

## [0.128.0](https://github.com/kernel/kernel-go-sdk/compare/v0.127.0...v0.128.0) (2026-10-19)


Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Or to pin the version:
<!-- x-release-please-start-version -->

```sh
go get -u 'github.com/kernel/kernel-go-sdk@v0.128.0'
go get -u 'github.com/kernel/kernel-go-sdk@v0.129.0'
```

<!-- x-release-please-end -->
Expand Down
12 changes: 6 additions & 6 deletions browser.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,16 +251,16 @@ type BrowserLocation struct {
// Effective canonical BCP 47 formatting locale selected for the browser session.
Locale string `json:"locale" api:"required"`
// Where one effective browser location field came from. `override` is set
// explicitly on the session; `metro` is the default for the browser's region.
// explicitly on the session; `default` comes from the browser's region.
//
// Any of "override", "metro".
// Any of "override", "default".
LocaleSource BrowserLocationSource `json:"locale_source" api:"required"`
// Effective IANA timezone selected for the browser session.
Timezone string `json:"timezone" api:"required"`
// Where one effective browser location field came from. `override` is set
// explicitly on the session; `metro` is the default for the browser's region.
// explicitly on the session; `default` comes from the browser's region.
//
// Any of "override", "metro".
// Any of "override", "default".
TimezoneSource BrowserLocationSource `json:"timezone_source" api:"required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Expand Down Expand Up @@ -298,12 +298,12 @@ func (r *BrowserLocationRequestParam) UnmarshalJSON(data []byte) error {
}

// Where one effective browser location field came from. `override` is set
// explicitly on the session; `metro` is the default for the browser's region.
// explicitly on the session; `default` comes from the browser's region.
type BrowserLocationSource string

const (
BrowserLocationSourceOverride BrowserLocationSource = "override"
BrowserLocationSourceMetro BrowserLocationSource = "metro"
BrowserLocationSourceDefault BrowserLocationSource = "default"
)

// Omit a field to leave it unchanged, set a string override, or set null to clear
Expand Down
2 changes: 1 addition & 1 deletion internal/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

package internal

const PackageVersion = "0.128.0" // x-release-please-version
const PackageVersion = "0.129.0" // x-release-please-version
8 changes: 4 additions & 4 deletions shared/shared.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ type BrowserViewport struct {
Height int64 `json:"height" api:"required"`
// Browser window width in pixels. Any positive integer is accepted.
Width int64 `json:"width" api:"required"`
// Display refresh rate in Hz. Any positive integer is accepted; if omitted,
// automatically determined from width and height.
// Display refresh rate in Hz. Any positive integer is accepted; if omitted, GPU
// browsers default to 60 and other browsers derive it from width and height.
RefreshRate int64 `json:"refresh_rate"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Expand Down Expand Up @@ -182,8 +182,8 @@ type BrowserViewportParam struct {
Height int64 `json:"height" api:"required"`
// Browser window width in pixels. Any positive integer is accepted.
Width int64 `json:"width" api:"required"`
// Display refresh rate in Hz. Any positive integer is accepted; if omitted,
// automatically determined from width and height.
// Display refresh rate in Hz. Any positive integer is accepted; if omitted, GPU
// browsers default to 60 and other browsers derive it from width and height.
RefreshRate param.Opt[int64] `json:"refresh_rate,omitzero"`
paramObj
}
Expand Down
30 changes: 22 additions & 8 deletions vaultitem.go
Original file line number Diff line number Diff line change
Expand Up @@ -4584,13 +4584,16 @@ func (r *VaultItemUnionStateFields) UnmarshalJSON(data []byte) error {
type VaultItemUnionAction struct {
Name string `json:"name"`
URL string `json:"url"`
// This field is from variant [VaultItemActionUnion].
CaptureToken string `json:"capture_token"`
// This field is from variant [CredentialVaultItemActionUnion].
ExpiresAt time.Time `json:"expires_at"`
// This field is from variant [CredentialVaultItemActionUnion].
Instructions string `json:"instructions"`
JSON struct {
Name respjson.Field
URL respjson.Field
CaptureToken respjson.Field
ExpiresAt respjson.Field
Instructions respjson.Field
raw string
Expand Down Expand Up @@ -4824,10 +4827,13 @@ type VaultItemActionUnion struct {
// "collect", "mfa", "embedded_ceremony", "card_enrollment".
Name string `json:"name"`
URL string `json:"url"`
JSON struct {
Name respjson.Field
URL respjson.Field
raw string
// This field is from variant [VaultItemActionCardEnrollment].
CaptureToken string `json:"capture_token"`
JSON struct {
Name respjson.Field
URL respjson.Field
CaptureToken respjson.Field
raw string
} `json:"-"`
}

Expand Down Expand Up @@ -5032,12 +5038,17 @@ func (r *VaultItemActionEmbeddedCeremony) UnmarshalJSON(data []byte) error {
type VaultItemActionCardEnrollment struct {
Name constant.CardEnrollment `json:"name" default:"card_enrollment"`
URL string `json:"url" api:"required" format:"uri"`
// Secret bearer capability for embedded card capture with @onkernel/vault-react.
// Present only for Kernel wallets; never for AgentCard. Treat it like the
// enrollment URL and do not log or persist it in browser storage.
CaptureToken string `json:"capture_token"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Name respjson.Field
URL respjson.Field
ExtraFields map[string]respjson.Field
raw string
Name respjson.Field
URL respjson.Field
CaptureToken respjson.Field
ExtraFields map[string]respjson.Field
raw string
} `json:"-"`
}

Expand Down Expand Up @@ -5513,13 +5524,16 @@ func (r *VaultItemOperationResponseUnionStateFields) UnmarshalJSON(data []byte)
type VaultItemOperationResponseUnionAction struct {
Name string `json:"name"`
URL string `json:"url"`
// This field is from variant [VaultItemActionUnion].
CaptureToken string `json:"capture_token"`
// This field is from variant [CredentialVaultItemActionUnion].
ExpiresAt time.Time `json:"expires_at"`
// This field is from variant [CredentialVaultItemActionUnion].
Instructions string `json:"instructions"`
JSON struct {
Name respjson.Field
URL respjson.Field
CaptureToken respjson.Field
ExpiresAt respjson.Field
Instructions respjson.Field
raw string
Expand Down
Loading