agentgui 1.0.677 → 1.0.678
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/claude-runner.js +2 -2
- package/package.json +1 -1
package/lib/claude-runner.js
CHANGED
|
@@ -128,8 +128,8 @@ class AgentRunner {
|
|
|
128
128
|
reject(new Error(`${this.name} timeout after ${timeout}ms`));
|
|
129
129
|
}, timeout);
|
|
130
130
|
|
|
131
|
-
// Write prompt to stdin
|
|
132
|
-
if (this.supportsStdin) {
|
|
131
|
+
// Write prompt to stdin only for agents that use stdin protocol (not positional args)
|
|
132
|
+
if (this.supportsStdin && this.stdinPrompt) {
|
|
133
133
|
proc.stdin.write(prompt);
|
|
134
134
|
// Don't call stdin.end() - agents need open stdin for steering
|
|
135
135
|
}
|