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.
- package/.claude/settings.local.json +7 -0
- package/CLAUDE.md +1 -1
- package/lib/claude-runner.js +3 -2
- package/package.json +1 -1
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
|
-
- **
|
|
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.
|
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' },
|
|
@@ -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;
|