agentgui 1.0.677 → 1.0.679

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.
@@ -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 if agent uses stdin protocol (not positional args)
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
  }
@@ -642,7 +642,6 @@ registry.register({
642
642
  if (print) flags.push('--print');
643
643
  if (verbose) flags.push('--verbose');
644
644
  flags.push(`--output-format=${outputFormat}`);
645
- flags.push('--dangerously-skip-permissions');
646
645
  if (model) flags.push('--model', model);
647
646
  if (resumeSessionId) flags.push('--resume', resumeSessionId);
648
647
  if (systemPrompt) flags.push('--append-system-prompt', systemPrompt);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentgui",
3
- "version": "1.0.677",
3
+ "version": "1.0.679",
4
4
  "description": "Multi-agent ACP client with real-time communication",
5
5
  "type": "module",
6
6
  "main": "server.js",