agentgui 1.0.761 → 1.0.762
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 +9 -2
- package/package.json +1 -1
package/CLAUDE.md
CHANGED
|
@@ -46,6 +46,10 @@ lib/tool-manager.js Tool facade - re-exports from tool-version, tool-spawner,
|
|
|
46
46
|
lib/tool-version.js Version detection for CLI tools and plugins (data-driven framework paths)
|
|
47
47
|
lib/tool-spawner.js npm/bun install/update spawn with timeout and heartbeat
|
|
48
48
|
lib/tool-provisioner.js Auto-provisioning and periodic update checking
|
|
49
|
+
lib/routes-speech.js Speech/TTS HTTP route handlers (stt, tts, voices, speech-status)
|
|
50
|
+
lib/routes-oauth.js OAuth HTTP route handlers (gemini-oauth/*, codex-oauth/*)
|
|
51
|
+
lib/routes-tools.js Tool management HTTP route handlers (list, install, update, history, refresh)
|
|
52
|
+
lib/routes-util.js Utility HTTP route handlers (clone, folders, git, home, version, import)
|
|
49
53
|
lib/ws-protocol.js WebSocket RPC router (WsRouter class)
|
|
50
54
|
lib/ws-optimizer.js Per-client priority queue for WS event batching
|
|
51
55
|
lib/ws-handlers-conv.js Conversation CRUD, chunks, cancel, steer, inject RPC handlers
|
|
@@ -156,6 +160,9 @@ All routes are prefixed with `BASE_URL` (default `/gm`).
|
|
|
156
160
|
- `GET /api/conversations/:id` - Get conversation with streaming status
|
|
157
161
|
- `POST /api/conversations/:id` - Update conversation
|
|
158
162
|
- `DELETE /api/conversations/:id` - Delete conversation
|
|
163
|
+
- `POST /api/conversations/:id/archive` - Archive conversation (soft-delete)
|
|
164
|
+
- `POST /api/conversations/:id/restore` - Restore archived conversation
|
|
165
|
+
- `GET /api/conversations/archived` - List archived conversations
|
|
159
166
|
- `GET /api/conversations/:id/messages` - Get messages (query: limit, offset)
|
|
160
167
|
- `POST /api/conversations/:id/messages` - Send message (body: content, agentId)
|
|
161
168
|
- `POST /api/conversations/:id/stream` - Start streaming execution
|
|
@@ -268,12 +275,12 @@ Server broadcasts:
|
|
|
268
275
|
|
|
269
276
|
**WSOptimizer** (`lib/ws-optimizer.js`): Per-client priority queue. High-priority events flush immediately; normal/low batch by latency tier (16ms excellent → 200ms bad). Rate limit: 100 msg/sec — overflow is re-queued (not dropped). No `lastKey` deduplication (was removed — caused valid event drops).
|
|
270
277
|
|
|
271
|
-
### WS RPC Methods (
|
|
278
|
+
### WS RPC Methods (86 total)
|
|
272
279
|
|
|
273
280
|
**agent:** `agent.auth`, `agent.authstat`, `agent.desc`, `agent.get`, `agent.ls`, `agent.models`, `agent.search`, `agent.subagents`, `agent.update`
|
|
274
281
|
**auth:** `auth.configs`, `auth.save`
|
|
275
282
|
**codex:** `codex.complete`, `codex.relay`, `codex.start`, `codex.status`
|
|
276
|
-
**conv:** `conv.cancel`, `conv.chunks`, `conv.chunks.earlier`, `conv.del`, `conv.del.all`, `conv.export`, `conv.full`, `conv.get`, `conv.inject`, `conv.ls`, `conv.new`, `conv.prune`, `conv.run-script`, `conv.scripts`, `conv.search`, `conv.steer`, `conv.stop-script`, `conv.sync`, `conv.tags`, `conv.upd`
|
|
283
|
+
**conv:** `conv.cancel`, `conv.chunks`, `conv.chunks.earlier`, `conv.del`, `conv.del.all`, `conv.export`, `conv.full`, `conv.get`, `conv.import`, `conv.inject`, `conv.ls`, `conv.new`, `conv.prune`, `conv.run-script`, `conv.scripts`, `conv.search`, `conv.steer`, `conv.stop-script`, `conv.sync`, `conv.tags`, `conv.upd`
|
|
277
284
|
**gemini:** `gemini.complete`, `gemini.relay`, `gemini.start`, `gemini.status`
|
|
278
285
|
**git:** `git.check`, `git.push`
|
|
279
286
|
**msg:** `msg.get`, `msg.ls`, `msg.ls.earlier`, `msg.send`, `msg.stream`
|