agentgui 1.0.679 → 1.0.680
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
|
@@ -622,8 +622,8 @@ registry.register({
|
|
|
622
622
|
name: 'Claude Code',
|
|
623
623
|
command: 'claude',
|
|
624
624
|
protocol: 'direct',
|
|
625
|
-
supportsStdin:
|
|
626
|
-
closeStdin:
|
|
625
|
+
supportsStdin: false, // stdin must be closed — claude blocks when stdin is an open socket (non-TTY)
|
|
626
|
+
closeStdin: true, // close stdin on spawn so claude uses positional arg prompt immediately
|
|
627
627
|
useJsonRpcStdin: false,
|
|
628
628
|
supportedFeatures: ['streaming', 'resume', 'system-prompt', 'permissions-skip', 'steering'],
|
|
629
629
|
spawnEnv: { MAX_THINKING_TOKENS: '0', AGENTGUI_SUBPROCESS: '1' },
|