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.14.1"
".": "0.14.2"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 57
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-1cd328ccf61f0e888d6df27b091c30b38c392ab9ca8ce7fd0ead8f10aaf71ffa.yml
openapi_spec_hash: af761c48d1955f11822f3b95f9c46750
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-6c765f1c4ce1c4dd4ceb371f56bf047aa79af36031ba43cbd68fa16a5fdb9bb3.yml
openapi_spec_hash: e9086f69281360f4e0895c9274a59531
config_hash: deadfc4d2b0a947673bcf559b5db6e1b
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.14.2 (2025-10-16)

Full Changelog: [v0.14.1...v0.14.2](https://github.com/onkernel/kernel-go-sdk/compare/v0.14.1...v0.14.2)

### Features

* Kiosk mode ([cd6120a](https://github.com/onkernel/kernel-go-sdk/commit/cd6120a71b58e0c539d5ba1361fca0ecd71baf1c))

## 0.14.1 (2025-10-13)

Full Changelog: [v0.14.1...v0.14.1](https://github.com/onkernel/kernel-go-sdk/compare/v0.14.1...v0.14.1)
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/onkernel/kernel-go-sdk@v0.14.1'
go get -u 'github.com/onkernel/kernel-go-sdk@v0.14.2'
```

<!-- x-release-please-end -->
Expand Down
12 changes: 12 additions & 0 deletions browser.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,8 @@ type BrowserNewResponse struct {
// Remote URL for live viewing the browser session. Only available for non-headless
// browsers.
BrowserLiveViewURL string `json:"browser_live_view_url"`
// Whether the browser session is running in kiosk mode.
KioskMode bool `json:"kiosk_mode"`
// Optional persistence configuration for the browser session.
Persistence BrowserPersistence `json:"persistence"`
// Browser profile metadata.
Expand All @@ -229,6 +231,7 @@ type BrowserNewResponse struct {
Stealth respjson.Field
TimeoutSeconds respjson.Field
BrowserLiveViewURL respjson.Field
KioskMode respjson.Field
Persistence respjson.Field
Profile respjson.Field
ProxyID respjson.Field
Expand Down Expand Up @@ -292,6 +295,8 @@ type BrowserGetResponse struct {
// Remote URL for live viewing the browser session. Only available for non-headless
// browsers.
BrowserLiveViewURL string `json:"browser_live_view_url"`
// Whether the browser session is running in kiosk mode.
KioskMode bool `json:"kiosk_mode"`
// Optional persistence configuration for the browser session.
Persistence BrowserPersistence `json:"persistence"`
// Browser profile metadata.
Expand All @@ -316,6 +321,7 @@ type BrowserGetResponse struct {
Stealth respjson.Field
TimeoutSeconds respjson.Field
BrowserLiveViewURL respjson.Field
KioskMode respjson.Field
Persistence respjson.Field
Profile respjson.Field
ProxyID respjson.Field
Expand Down Expand Up @@ -379,6 +385,8 @@ type BrowserListResponse struct {
// Remote URL for live viewing the browser session. Only available for non-headless
// browsers.
BrowserLiveViewURL string `json:"browser_live_view_url"`
// Whether the browser session is running in kiosk mode.
KioskMode bool `json:"kiosk_mode"`
// Optional persistence configuration for the browser session.
Persistence BrowserPersistence `json:"persistence"`
// Browser profile metadata.
Expand All @@ -403,6 +411,7 @@ type BrowserListResponse struct {
Stealth respjson.Field
TimeoutSeconds respjson.Field
BrowserLiveViewURL respjson.Field
KioskMode respjson.Field
Persistence respjson.Field
Profile respjson.Field
ProxyID respjson.Field
Expand Down Expand Up @@ -456,6 +465,9 @@ type BrowserNewParams struct {
Headless param.Opt[bool] `json:"headless,omitzero"`
// action invocation ID
InvocationID param.Opt[string] `json:"invocation_id,omitzero"`
// If true, launches the browser in kiosk mode to hide address bar and tabs in live
// view.
KioskMode param.Opt[bool] `json:"kiosk_mode,omitzero"`
// Optional proxy to associate to the browser session. Must reference a proxy
// belonging to the caller's org.
ProxyID param.Opt[string] `json:"proxy_id,omitzero"`
Expand Down
1 change: 1 addition & 0 deletions browser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ func TestBrowserNewWithOptionalParams(t *testing.T) {
}},
Headless: kernel.Bool(false),
InvocationID: kernel.String("rr33xuugxj9h0bkf1rdt2bet"),
KioskMode: kernel.Bool(true),
Persistence: kernel.BrowserPersistenceParam{
ID: "my-awesome-browser-for-user-1234",
},
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.14.1" // x-release-please-version
const PackageVersion = "0.14.2" // x-release-please-version