agentgui 1.0.648 → 1.0.649
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 +4 -5
- package/package.json +1 -1
package/lib/claude-runner.js
CHANGED
|
@@ -609,9 +609,9 @@ registry.register({
|
|
|
609
609
|
name: 'Claude Code',
|
|
610
610
|
command: 'claude',
|
|
611
611
|
protocol: 'direct',
|
|
612
|
-
supportsStdin:
|
|
613
|
-
closeStdin: false, //
|
|
614
|
-
useJsonRpcStdin:
|
|
612
|
+
supportsStdin: false, // prompt passed as positional arg, not stdin
|
|
613
|
+
closeStdin: false, // keep stdin open for JSON-RPC steering commands
|
|
614
|
+
useJsonRpcStdin: false,
|
|
615
615
|
supportedFeatures: ['streaming', 'resume', 'system-prompt', 'permissions-skip', 'steering'],
|
|
616
616
|
spawnEnv: { MAX_THINKING_TOKENS: '0' },
|
|
617
617
|
|
|
@@ -633,8 +633,7 @@ registry.register({
|
|
|
633
633
|
if (model) flags.push('--model', model);
|
|
634
634
|
if (resumeSessionId) flags.push('--resume', resumeSessionId);
|
|
635
635
|
if (systemPrompt) flags.push('--append-system-prompt', systemPrompt);
|
|
636
|
-
|
|
637
|
-
// This allows stdin to stay open for receiving JSON-RPC steering commands
|
|
636
|
+
flags.push(prompt); // positional arg - stdin stays open separately for steering
|
|
638
637
|
|
|
639
638
|
return flags;
|
|
640
639
|
},
|