From 73b3f655baa85b751611a4f8d4a86acb51ceb8c7 Mon Sep 17 00:00:00 2001 From: Vincent Koc Date: Thu, 5 Mar 2026 07:55:19 -0500 Subject: [PATCH] types/process: expose writable stdin state flags --- src/agents/bash-process-registry.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/agents/bash-process-registry.ts b/src/agents/bash-process-registry.ts index 0e84065c7f2..10b08c0e3ee 100644 --- a/src/agents/bash-process-registry.ts +++ b/src/agents/bash-process-registry.ts @@ -23,6 +23,9 @@ export type SessionStdin = { // When backed by a real Node stream (child.stdin), this exists; for PTY wrappers it may not. destroy?: () => void; destroyed?: boolean; + writable?: boolean; + writableEnded?: boolean; + writableFinished?: boolean; }; export interface ProcessSession {