CLI: Update Go SDK to c04f920b6dc5892ae2e2188f57a9df5373caa5cd#140
Open
kernel-internal[bot] wants to merge 6 commits intomainfrom
Open
CLI: Update Go SDK to c04f920b6dc5892ae2e2188f57a9df5373caa5cd#140kernel-internal[bot] wants to merge 6 commits intomainfrom
kernel-internal[bot] wants to merge 6 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
A full SDK and CLI coverage enumeration found no missing commands or flags, so this updates the dependency to the v0.49.0 SDK release for commit c04f920b6dc5892ae2e2188f57a9df5373caa5cd. Tested: go build ./... Tested: go build -o /tmp/kernel-cli/bin/kernel ./cmd/kernel Made-with: Cursor
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
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 dependency to the latest version.
SDK Update
Coverage Analysis
A full enumeration of SDK methods and CLI commands was performed. No coverage gaps were found.
Triggered by: kernel/kernel-go-sdk@c04f920
Reviewer: @stainless-app[bot]
Note
Medium Risk
Upgrades
kernel-go-sdkand changes several CLI request mappings/flags, which could alter runtime behavior for browser sessions, pools, and proxy checks. Risk is moderate because changes are mostly additive but touch core CLI surfaces and depend on new SDK types/params.Overview
Adds project management to the CLI. Introduces
kernel projectscommands for listing/getting/creating/updating/deleting projects and for viewing/updating project resource limits, including paging and limit-update flags.Extends existing browser-related commands.
browser-poolscreate/update now accept--chrome-policy(JSON) and display it;browsers updateadds--disable-default-proxy;browsers process exec/spawngain repeatable--env, andspawnadds--allocate-ttywith optional--cols/--rowsvalidation.Improves proxy health checks and bumps dependencies.
proxies checknow accepts optional--urland passes it to the SDK, and the PR upgradesgithub.com/kernel/kernel-go-sdktov0.49.0(plus related module updates) with new/updated tests covering the new flag mappings.Reviewed by Cursor Bugbot for commit fe8d7e7. Bugbot is set up for automated code reviews on this repo. Configure here.