feat(cli): add tab profile lifecycle commands (#1397)

Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Nikolatesla-lj <Nikolatesla-lj@users.noreply.github.com>
Co-authored-by: Jinwoo-H <jinwoo0825@gmail.com>
This commit is contained in:
Nikolatesla-lj
2026-05-04 23:01:15 -07:00
committed by GitHub
co-authored by Orca Nikolatesla-lj Jinwoo-H
parent f90da6ea37
commit 9bf339eeb9
10 changed files with 320 additions and 1 deletions
+18
View File
@@ -169,6 +169,24 @@ export const BROWSER_BASIC_COMMAND_SPECS: CommandSpec[] = [
usage: 'orca tab create [--url <url>] [--worktree <selector>] [--json]',
allowedFlags: [...GLOBAL_FLAGS, 'url', 'worktree']
},
{
path: ['tab', 'profile', 'list'],
summary: 'List browser session profiles available to browser tabs',
usage: 'orca tab profile list [--json]',
allowedFlags: [...GLOBAL_FLAGS]
},
{
path: ['tab', 'profile', 'create'],
summary: 'Create a browser session profile for browser tabs',
usage: 'orca tab profile create --label <name> [--scope <isolated|imported>] [--json]',
allowedFlags: [...GLOBAL_FLAGS, 'label', 'scope']
},
{
path: ['tab', 'profile', 'delete'],
summary: 'Delete a browser session profile used by browser tabs',
usage: 'orca tab profile delete --profile <id> [--json]',
allowedFlags: [...GLOBAL_FLAGS, 'profile']
},
{
path: ['tab', 'close'],
summary: 'Close a browser tab',