mirror of
https://github.com/stablyai/orca.git
synced 2026-10-20 08:03:28 +00:00
* feat(dashboard): add agent dashboard popout * fix(dashboard): gate and harden agent popout * test(ipc): isolate dashboard handler registration * fix(dashboard): drop diff status from bucket counts * fix(dashboard): address review feedback * perf(dashboard): ignore unrelated store churn
21 lines
605 B
TypeScript
21 lines
605 B
TypeScript
export type TerminalPreviewSnapshot = {
|
|
data: string
|
|
cols: number
|
|
rows: number
|
|
seq?: number
|
|
scrollbackAnsi?: string
|
|
pendingEscapeTailAnsi?: string
|
|
}
|
|
|
|
export type TerminalPreviewConnectResult = {
|
|
snapshot: TerminalPreviewSnapshot | null
|
|
/** Live bytes captured while the snapshot was being serialized. */
|
|
replay: string[]
|
|
/** Snapshot acquisition overflowed twice; refresh without blanking the existing view. */
|
|
resyncRequired?: boolean
|
|
}
|
|
|
|
export type TerminalPreviewDataPayload =
|
|
| { type: 'data'; ptyId: string; data: string; bytes: number }
|
|
| { type: 'resync'; ptyId: string }
|