agentgui 1.0.679 → 1.0.681

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.
@@ -0,0 +1,7 @@
1
+ {
2
+ "permissions": {
3
+ "allow": [
4
+ "Bash(git add:*)"
5
+ ]
6
+ }
7
+ }
package/CLAUDE.md CHANGED
@@ -282,7 +282,7 @@ Speech models (~470MB total) are downloaded automatically on server startup. No
282
282
  - **`all_conversations_deleted`** must be in `BROADCAST_TYPES` set in server.js or it won't fan-out to all clients.
283
283
  - **`streaming_start` and `message_created`** are high-priority in WSOptimizer — they flush immediately, not batched.
284
284
  - **Sidebar animation:** `transition: none !important` in index.html CSS — sidebar snaps instantly on toggle by design.
285
- - **gm plugin requires no `--dangerously-skip-permissions`** flag in claude-runner.js. That flag disables all plugins.
285
+ - **Claude Code always runs with `--dangerously-skip-permissions`** (plugins disabled by design).
286
286
  - **Tool status race on startup:** `autoProvision()` broadcasts `tool_status_update` for already-installed tools so the UI shows correct state before the first manual fetch.
287
287
  - **Thinking blocks** are transient (not in DB), rendered only via `handleStreamingProgress()` in client.js. The `renderEvent` switch case for `thinking_block` is disabled to prevent double-render.
288
288
  - **Terminal output** is base64-encoded (`encoding: 'base64'` field on message). Client decodes with `decodeURIComponent(escape(atob(data)))` pattern for multibyte safety.
@@ -622,8 +622,8 @@ registry.register({
622
622
  name: 'Claude Code',
623
623
  command: 'claude',
624
624
  protocol: 'direct',
625
- supportsStdin: true, // keep stdin open for JSON-RPC steering commands
626
- closeStdin: false, // must stay open for steering to work
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' },
@@ -645,6 +645,7 @@ registry.register({
645
645
  if (model) flags.push('--model', model);
646
646
  if (resumeSessionId) flags.push('--resume', resumeSessionId);
647
647
  if (systemPrompt) flags.push('--append-system-prompt', systemPrompt);
648
+ flags.push('--dangerously-skip-permissions');
648
649
  flags.push(prompt); // positional arg - stdin stays open separately for steering
649
650
 
650
651
  return flags;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentgui",
3
- "version": "1.0.679",
3
+ "version": "1.0.681",
4
4
  "description": "Multi-agent ACP client with real-time communication",
5
5
  "type": "module",
6
6
  "main": "server.js",