agentgui 1.0.754 → 1.0.755
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.md +10 -1
- package/package.json +1 -1
package/CLAUDE.md
CHANGED
|
@@ -24,6 +24,7 @@ lib/acp-runner.js ACP JSON-RPC session lifecycle (init, session/new, prompt
|
|
|
24
24
|
lib/acp-protocol.js ACP session/update message normalization (shared by all ACP agents)
|
|
25
25
|
lib/acp-sdk-manager.js ACP tool lifecycle - on-demand start opencode/kilo/codex, health checks, idle timeout
|
|
26
26
|
lib/acp-server-machine.js XState v5 machine per ACP tool: stopped/starting/running/crashed/restarting states
|
|
27
|
+
lib/agent-discovery.js Agent binary detection (findCommand), ACP server query, discoverAgents, CLI wrapper logic
|
|
27
28
|
lib/agent-registry-configs.js Agent registration configs (Claude Code, OpenCode, Gemini, 10+ ACP agents)
|
|
28
29
|
lib/agent-descriptors.js Data-driven ACP agent descriptor builder
|
|
29
30
|
lib/checkpoint-manager.js Session recovery - load checkpoints, inject into resume flow, idempotency
|
|
@@ -32,15 +33,19 @@ lib/db-queries.js All 88 query functions (createQueries factory, extracted
|
|
|
32
33
|
lib/execution-machine.js XState v5 machine per conversation: idle/streaming/draining/rate_limited states
|
|
33
34
|
lib/gm-agent-configs.js GM agent configuration and spawning
|
|
34
35
|
lib/jsonl-watcher.js Watches ~/.claude/projects for JSONL file changes
|
|
36
|
+
lib/oauth-common.js Shared OAuth helpers (buildBaseUrl, isRemoteRequest, encodeOAuthState, result/relay pages)
|
|
37
|
+
lib/oauth-gemini.js Gemini OAuth flow (credential discovery, token exchange, callback handling)
|
|
38
|
+
lib/oauth-codex.js Codex CLI OAuth flow (PKCE S256, token exchange, callback handling)
|
|
35
39
|
lib/plugin-interface.js Plugin interface contract definition
|
|
36
40
|
lib/plugin-loader.js Plugin discovery and loading (EventEmitter-based)
|
|
37
41
|
lib/pm2-manager.js PM2 process management wrapper
|
|
42
|
+
lib/speech.js Speech-to-text and text-to-speech via @huggingface/transformers
|
|
43
|
+
lib/speech-manager.js TTS orchestration (eager TTS, voice cache, model download, broadcastModelProgress)
|
|
38
44
|
lib/tool-install-machine.js XState v5 machine per tool: unchecked/checking/idle/installing/installed/updating/needs_update/failed states
|
|
39
45
|
lib/tool-manager.js Tool facade - re-exports from tool-version, tool-spawner, tool-provisioner
|
|
40
46
|
lib/tool-version.js Version detection for CLI tools and plugins (data-driven framework paths)
|
|
41
47
|
lib/tool-spawner.js npm/bun install/update spawn with timeout and heartbeat
|
|
42
48
|
lib/tool-provisioner.js Auto-provisioning and periodic update checking
|
|
43
|
-
lib/speech.js Speech-to-text and text-to-speech via @huggingface/transformers
|
|
44
49
|
lib/ws-protocol.js WebSocket RPC router (WsRouter class)
|
|
45
50
|
lib/ws-optimizer.js Per-client priority queue for WS event batching
|
|
46
51
|
lib/ws-handlers-conv.js Conversation CRUD, chunks, cancel, steer, inject RPC handlers
|
|
@@ -130,6 +135,9 @@ XState v5 machines are authoritative for their respective state domains. Ad-hoc
|
|
|
130
135
|
- `STARTUP_CWD` - Working directory passed to agents
|
|
131
136
|
- `HOT_RELOAD` - Set to "false" to disable watch mode
|
|
132
137
|
- `CODEX_HOME` - Override Codex CLI home directory (default: `~/.codex`)
|
|
138
|
+
- `RATE_LIMIT_MAX` - Max HTTP requests per IP per minute (default: 300)
|
|
139
|
+
- `PASSWORD` - Basic auth password for all HTTP routes (optional)
|
|
140
|
+
- `AGENTGUI_BASE_URL` - Override base URL for OAuth callbacks (e.g., `https://myserver.com`)
|
|
133
141
|
|
|
134
142
|
## ACP Tool Lifecycle
|
|
135
143
|
|
|
@@ -159,6 +167,7 @@ All routes are prefixed with `BASE_URL` (default `/gm`).
|
|
|
159
167
|
- `GET /api/sessions/:id/execution` - Get execution events (query: limit, offset, filterType)
|
|
160
168
|
- `GET /api/agents` - List discovered agents
|
|
161
169
|
- `GET /api/acp/status` - ACP tool lifecycle status (ports, health, PIDs, restart counts)
|
|
170
|
+
- `GET /api/health` - Server health check (version, uptime, agents, wsClients, memory, acp status)
|
|
162
171
|
- `GET /api/home` - Get home directory
|
|
163
172
|
- `POST /api/stt` - Speech-to-text (raw audio body)
|
|
164
173
|
- `POST /api/tts` - Text-to-speech (body: text)
|