CLI: Update SDK to 82b88d8f8050949f53eee233bfb1b67d6f9fe49e and add new commands/flags#140
Open
kernel-internal[bot] wants to merge 4 commits intomainfrom
Open
CLI: Update SDK to 82b88d8f8050949f53eee233bfb1b67d6f9fe49e and add new commands/flags#140kernel-internal[bot] wants to merge 4 commits intomainfrom
kernel-internal[bot] wants to merge 4 commits intomainfrom
Conversation
…issing flags Keep the CLI aligned with the latest kernel-go-sdk release while exposing browser process env/TTY options and browser pool chrome policy support that were already present in the SDK. Tested: go test ./cmd/... && go build ./... Tested: kernel browsers process exec --env Tested: kernel browsers process spawn --allocate-tty --cols --rows --env Tested: kernel browser-pools create/update --chrome-policy Made-with: Cursor
…issing flags Align the CLI with the latest kernel-go-sdk by exposing browser default stealth proxy control and the new proxy health check URL parameter. This also updates the CLI dependency to the SDK release that includes these API changes. Tested: go test ./cmd ./cmd/proxies -run 'TestBrowsersUpdate_|TestProxyCheck_' Tested: go build ./... Tested: /tmp/kernel-cli/bin/kernel browsers create --headless --stealth -t 30 -o json Tested: /tmp/kernel-cli/bin/kernel browsers update <session_id> --disable-default-proxy -o json Tested: /tmp/kernel-cli/bin/kernel proxies create --type datacenter --country US --name <name> -o json Tested: /tmp/kernel-cli/bin/kernel proxies check <proxy_id> --url https://example.com -o json Made-with: Cursor
Bring the CLI onto the latest kernel-go-sdk release so it stays aligned with the updated SDK. A full SDK/CLI coverage audit found no missing commands or flags; tested with `go build ./...`. Made-with: Cursor
…roject commands Add CLI coverage for the hidden-but-supported project and project-limit endpoints while bumping the Go SDK to the latest release containing this revision. Tested: go test ./cmd/..., go build ./..., kernel projects create/get/update/list/limits get/limits update/delete Made-with: Cursor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR updates the Go SDK to 82b88d8f8050949f53eee233bfb1b67d6f9fe49e and adds CLI commands/flags for new SDK methods.
SDK Update
Coverage Analysis
This PR was generated by performing a full enumeration of SDK methods and CLI commands.
New Commands
kernel projects list,get,create,update, anddeleteforclient.Projects.*kernel projects limits getandupdateforclient.Projects.Limits.*New Flags
--pageand--per-pageforProjectListParams--nameand--statusfor project create/update--max-concurrent-invocations,--max-concurrent-sessions,--max-persistent-sessions, and--max-pooled-sessionsforProjectLimitUpdateParamsTriggered by: kernel/kernel-go-sdk@82b88d8
Reviewer: @stainless-app[bot]
Note
Medium Risk
Moderate risk due to SDK version bump plus new CLI surface area that maps into API params (browser proxy behavior, process spawning options, and proxy checks). Changes are mostly additive but touch user-facing flags and request construction.
Overview
Updates
kernel-go-sdktov0.48.0and wires new SDK fields into the CLI.Adds support for Chrome enterprise policy overrides on browser pools via
--chrome-policy(validated JSON object), includes the policy inbrowser-pools getoutput, and adds a focused unit test.Extends
browsers updatewith--disable-default-proxy, and enhancesbrowsers process exec/spawnto accept repeatable--envplus PTY options for spawn (--allocate-tty,--cols,--rows) with validation and tests.Introduces a new top-level
projectscommand group (list/get/create/update/delete) andprojects limitsget/update for per-project resource caps, and registers it inroot.Enhances
proxies checkto accept an optional--urland passes it through to the SDK; updates related interfaces/fakes and tests.Reviewed by Cursor Bugbot for commit 6d2fab0. Bugbot is set up for automated code reviews on this repo. Configure here.