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
+14 -1
View File
@@ -1,6 +1,6 @@
/* eslint-disable max-lines -- Why: shared type definitions for all runtime RPC methods live in one file for discoverability and import simplicity. */
import type { TerminalPaneLayoutNode } from './types'
import type { GitWorktreeInfo, Repo } from './types'
import type { BrowserSessionProfile, GitWorktreeInfo, Repo } from './types'
export type RuntimeGraphStatus = 'ready' | 'reloading' | 'unavailable'
@@ -270,6 +270,19 @@ export type BrowserTabSwitchResult = {
browserPageId: string
}
export type BrowserProfileListResult = {
profiles: BrowserSessionProfile[]
}
export type BrowserProfileCreateResult = {
profile: BrowserSessionProfile | null
}
export type BrowserProfileDeleteResult = {
deleted: boolean
profileId: string
}
export type BrowserHoverResult = {
hovered: string
}