You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
<!-- CURSOR_SUMMARY -->
---
> [!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.
>
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
068a880. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
---------
Co-authored-by: yummybomb <19238148+yummybomb@users.noreply.github.com>
browsersCreateCmd.Flags().String("profile-name", "", "Profile name to load into the browser session (mutually exclusive with --profile-id)")
2526
2537
browsersCreateCmd.Flags().Bool("save-changes", false, "If set, save changes back to the profile when the session ends")
2527
2538
browsersCreateCmd.Flags().String("proxy-id", "", "Proxy ID to use for the browser session")
2539
+
browsersCreateCmd.Flags().String("start-url", "", "Initial page to open on launch")
2528
2540
browsersCreateCmd.Flags().StringSlice("extension", []string{}, "Extension IDs or names to load (repeatable; may be passed multiple times or comma-separated)")
0 commit comments