test: add manual terminal perf harness

This commit is contained in:
Mohamed Boudra
2026-04-21 20:47:28 +07:00
parent 6a03873d81
commit c402db8b1c
6 changed files with 728 additions and 2 deletions
@@ -19,6 +19,13 @@ export type TerminalPerfDaemonClient = {
terminal: { id: string; name: string; cwd: string } | null;
error: string | null;
}>;
createAgent(options: {
provider: string;
cwd: string;
title?: string;
modeId?: string;
}): Promise<{ id: string; status: string }>;
sendAgentMessage(agentId: string, text: string): Promise<void>;
subscribeTerminal(
terminalId: string,
): Promise<{ terminalId: string; slot: number; error: null } | { error: string }>;