Skip to content

CLI: Update SDK to 82b88d8f8050949f53eee233bfb1b67d6f9fe49e and add new commands/flags#140

Open
kernel-internal[bot] wants to merge 4 commits intomainfrom
cli-coverage-update
Open

CLI: Update SDK to 82b88d8f8050949f53eee233bfb1b67d6f9fe49e and add new commands/flags#140
kernel-internal[bot] wants to merge 4 commits intomainfrom
cli-coverage-update

Conversation

@kernel-internal
Copy link
Copy Markdown
Contributor

@kernel-internal kernel-internal bot commented Mar 30, 2026

This PR updates the Go SDK to 82b88d8f8050949f53eee233bfb1b67d6f9fe49e and adds CLI commands/flags for new SDK methods.

SDK Update

  • Updated kernel-go-sdk to 82b88d8f8050949f53eee233bfb1b67d6f9fe49e

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, and delete for client.Projects.*
  • kernel projects limits get and update for client.Projects.Limits.*

New Flags

  • --page and --per-page for ProjectListParams
  • --name and --status for project create/update
  • --max-concurrent-invocations, --max-concurrent-sessions, --max-persistent-sessions, and --max-pooled-sessions for ProjectLimitUpdateParams

Triggered 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-sdk to v0.48.0 and 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 in browser-pools get output, and adds a focused unit test.

Extends browsers update with --disable-default-proxy, and enhances browsers process exec/spawn to accept repeatable --env plus PTY options for spawn (--allocate-tty, --cols, --rows) with validation and tests.

Introduces a new top-level projects command group (list/get/create/update/delete) and projects limits get/update for per-project resource caps, and registers it in root.

Enhances proxies check to accept an optional --url and 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.

…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
@kernel-internal kernel-internal bot changed the title CLI: Update SDK to 9e90177b921114c93e264ca9792537bf2d8de754 and add new commands/flags CLI: Update SDK to 91f2aa6572a40330669e39ec4d40cd0b1ee75812 and add new commands/flags Apr 6, 2026
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
@kernel-internal kernel-internal bot changed the title CLI: Update SDK to 91f2aa6572a40330669e39ec4d40cd0b1ee75812 and add new commands/flags CLI: Update Go SDK to c223294ecc21cee581e9095306b75f069cfd92b8 Apr 7, 2026
…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
@kernel-internal kernel-internal bot changed the title CLI: Update Go SDK to c223294ecc21cee581e9095306b75f069cfd92b8 CLI: Update SDK to 82b88d8f8050949f53eee233bfb1b67d6f9fe49e and add new commands/flags Apr 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants