Skip to content

Add start URL flags to browser commands#161

Merged
yummybomb merged 3 commits into
mainfrom
hypeship/start-url-cli
May 13, 2026
Merged

Add start URL flags to browser commands#161
yummybomb merged 3 commits into
mainfrom
hypeship/start-url-cli

Conversation

@yummybomb
Copy link
Copy Markdown
Contributor

@yummybomb yummybomb commented May 13, 2026

Summary

  • update the Go SDK to v0.53.0 for start_url fields
  • add --start-url to browser create and browser pool create/update
  • add --clear-start-url for browser pool update
  • reject --start-url values that are parsed from another flag token
  • show Start URL in browser and pool outputs
  • document the new flags

Test plan

  • go test ./cmd
  • make test
  • make build
  • KERNEL_API_KEY=test ./bin/kernel browser-pools update pool123 --start-url --discard-all-idle returns --start-url requires a URL value
  • KERNEL_API_KEY=test ./bin/kernel browsers create --start-url --headless returns --start-url requires a URL value
  • ./bin/kernel browser-pools update --help
  • ./bin/kernel browser-pools update pool123 --start-url https://example.com --clear-start-url returns cannot specify both --start-url and --clear-start-url

Note

Low Risk
Low risk CLI enhancement that adds optional flags and output fields; main risk is minor behavior changes in flag validation and pool update semantics.

Overview
Adds --start-url support to kernel browsers create and kernel browser-pools create/update, wiring it through to the SDK request params and displaying the configured/returned Start URL in human-readable outputs.

Introduces --clear-start-url for pool updates (mutually exclusive with --start-url) and rejects --start-url values that look like another flag token (e.g. --headless) to prevent accidental mis-parsing.

Bumps kernel-go-sdk to v0.53.0, adds tests covering the new start URL behavior, and updates README flag documentation.

Reviewed by Cursor Bugbot for commit 068a880. Bugbot is set up for automated code reviews on this repo. Configure here.

@socket-security
Copy link
Copy Markdown

socket-security Bot commented May 13, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedgolang/​github.com/​kernel/​kernel-go-sdk@​v0.52.0 ⏵ v0.53.072 +1100100100100

View full report

@yummybomb yummybomb force-pushed the hypeship/start-url-cli branch 4 times, most recently from 927fa45 to ed7a71f Compare May 13, 2026 20:38
@yummybomb yummybomb marked this pull request as ready for review May 13, 2026 20:41
@firetiger-agent
Copy link
Copy Markdown

Firetiger deploy monitoring skipped

This PR didn't match the auto-monitor filter configured on your GitHub connection:

Any PR that changes the kernel API. Monitor changes to API endpoints (packages/api/cmd/api/) and Temporal workflows (packages/api/lib/temporal) in the kernel repo

Reason: PR modifies browser commands and CLI flags, not the kernel API endpoints (packages/api/cmd/api/) or Temporal workflows (packages/api/lib/temporal) specified in the filter.

To monitor this PR anyway, reply with @firetiger monitor this.

@yummybomb yummybomb force-pushed the hypeship/start-url-cli branch from 922d39a to 068a880 Compare May 13, 2026 21:02
@yummybomb yummybomb merged commit b67d5ee into main May 13, 2026
7 checks passed
@yummybomb yummybomb deleted the hypeship/start-url-cli branch May 13, 2026 21:20
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.

2 participants