diff --git a/src/agents/bash-process-registry.ts b/src/agents/bash-process-registry.ts index dd3ace1d2a5..171b5f4527f 100644 --- a/src/agents/bash-process-registry.ts +++ b/src/agents/bash-process-registry.ts @@ -20,6 +20,8 @@ export type ProcessStatus = "running" | "completed" | "failed" | "killed"; export type SessionStdin = { write: (data: string, cb?: (err?: Error | null) => void) => void; end: () => void; + // When backed by a real Node stream (child.stdin), this exists; for PTY wrappers it may not. + destroy?: () => void; destroyed?: boolean; };