Skip to content

v0.4.0 — tab management

Choose a tag to compare

@lipex360x lipex360x released this 18 Jun 10:56
ece5050

Added

web-view tab new/close/switch — tab-lifecycle CLI family under a single tab parent.

  • tab new [--url] opens a tab (about:blank by default).
  • tab close --tab <index|substring> closes a tab. --tab is required because closing is destructive (no implicit default).
  • tab switch [--tab <index|substring>] brings a tab to the front; defaults to the first non-helper tab.

Every verb accepts --port (auto-resolves like navigate/snap/stop) and --quiet/-q. Tab selection mirrors navigate (0-based index, negatives allowed, or URL substring). Thin pass-through over the existing cdp.open_tab / cdp.close_tab / cdp.switch_to_tab helpers. Root command list now at 8 (the ADR 0001 cap).

Closes #9.