agentgui 1.0.642 → 1.0.643

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.
@@ -609,10 +609,10 @@ registry.register({
609
609
  name: 'Claude Code',
610
610
  command: 'claude',
611
611
  protocol: 'direct',
612
- supportsStdin: false,
613
- closeStdin: true, // must close stdin or claude 2.1.72 hangs waiting for input in --print mode
614
- useJsonRpcStdin: false,
615
- supportedFeatures: ['streaming', 'resume', 'system-prompt', 'permissions-skip'],
612
+ supportsStdin: true, // keep open for steering via JSON-RPC
613
+ closeStdin: false, // must NOT close stdin to allow steering prompts
614
+ useJsonRpcStdin: true, // support JSON-RPC steering input
615
+ supportedFeatures: ['streaming', 'resume', 'system-prompt', 'permissions-skip', 'steering'],
616
616
  spawnEnv: { MAX_THINKING_TOKENS: '0' },
617
617
 
618
618
  buildArgs(prompt, config) {
@@ -633,8 +633,8 @@ 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
- // Pass prompt as positional arg (works with claude 2.1.72+)
637
- flags.push(prompt);
636
+ // Do NOT pass prompt as positional arg - send via stdin instead to allow steering
637
+ // This allows stdin to stay open for receiving JSON-RPC steering commands
638
638
 
639
639
  return flags;
640
640
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentgui",
3
- "version": "1.0.642",
3
+ "version": "1.0.643",
4
4
  "description": "Multi-agent ACP client with real-time communication",
5
5
  "type": "module",
6
6
  "main": "server.js",