MCPcopy
hub / github.com/pingdotgg/t3code / AcpTerminal

Interface AcpTerminal

packages/effect-acp/src/terminal.ts:6–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4import type * as AcpError from "./errors.ts";
5
6export interface AcpTerminal {
7 readonly sessionId: string;
8 readonly terminalId: string;
9 /** Reads buffered output from the terminal.
10 * Spec: https://agentclientprotocol.com/protocol/schema#terminal/output
11 */
12 readonly output: Effect.Effect<AcpSchema.TerminalOutputResponse, AcpError.AcpError>;
13 /** Waits for terminal exit and returns the exit result.
14 * Spec: https://agentclientprotocol.com/protocol/schema#terminal/wait_for_exit
15 */
16 readonly waitForExit: Effect.Effect<AcpSchema.WaitForTerminalExitResponse, AcpError.AcpError>;
17 /** Terminates the terminal process.
18 * Spec: https://agentclientprotocol.com/protocol/schema#terminal/kill
19 */
20 readonly kill: Effect.Effect<AcpSchema.KillTerminalResponse, AcpError.AcpError>;
21 /** Releases the terminal handle from the ACP session.
22 * Spec: https://agentclientprotocol.com/protocol/schema#terminal/release
23 */
24 readonly release: Effect.Effect<AcpSchema.ReleaseTerminalResponse, AcpError.AcpError>;
25}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected