feat(cli): add terminal create, split, rename, focus, close, tui-idle wait (#734)

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Jinwoo-H <jinwoo0825@gmail.com>
This commit is contained in:
Ramzi
2026-04-22 17:51:32 -07:00
committed by GitHub
co-authored by Claude Sonnet 4.6 Jinwoo-H
parent c07db38dfe
commit 4f7b488d22
13 changed files with 1534 additions and 50 deletions
+31 -1
View File
@@ -92,13 +92,43 @@ export type RuntimeTerminalRead = {
nextCursor: string | null
}
export type RuntimeTerminalRename = {
handle: string
tabId: string
title: string | null
}
export type RuntimeTerminalSend = {
handle: string
accepted: boolean
bytesWritten: number
}
export type RuntimeTerminalWaitCondition = 'exit'
export type RuntimeTerminalCreate = {
handle: string
worktreeId: string
title: string | null
}
export type RuntimeTerminalSplit = {
handle: string
tabId: string
paneRuntimeId: number
}
export type RuntimeTerminalFocus = {
handle: string
tabId: string
worktreeId: string
}
export type RuntimeTerminalClose = {
handle: string
tabId: string
ptyKilled: boolean
}
export type RuntimeTerminalWaitCondition = 'exit' | 'tui-idle'
export type RuntimeTerminalWait = {
handle: string