feat(v3): agent preview terminal — read-only xterm.js tracking agent activity

This commit is contained in:
Hibryda 2026-03-08 03:24:31 +01:00
parent 975f03e75d
commit 90c1fb94e2
4 changed files with 245 additions and 9 deletions

View file

@ -7,9 +7,11 @@ export type WorkspaceTab = 'sessions' | 'docs' | 'context' | 'settings';
export interface TerminalTab {
id: string;
title: string;
type: 'shell' | 'ssh' | 'agent-terminal';
type: 'shell' | 'ssh' | 'agent-terminal' | 'agent-preview';
/** SSH session ID if type === 'ssh' */
sshSessionId?: string;
/** Agent session ID if type === 'agent-preview' */
agentSessionId?: string;
}
// --- Core state ---