agentgui 1.0.818 → 1.0.819

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.
Files changed (2) hide show
  1. package/CLAUDE.md +7 -5
  2. package/package.json +1 -1
package/CLAUDE.md CHANGED
@@ -32,7 +32,8 @@ lib/codec.js msgpack encode/decode (pack/unpack wrappers)
32
32
  lib/db-queries.js All 88 query functions (createQueries factory, extracted from database.js)
33
33
  lib/execution-machine.js XState v5 machine per conversation: idle/streaming/draining/rate_limited states
34
34
  lib/gm-agent-configs.js GM agent configuration and spawning
35
- lib/jsonl-watcher.js Watches ~/.claude/projects for JSONL file changes
35
+ lib/jsonl-parser.js JSONL event parsing, session tracking, streaming state (extracted from jsonl-watcher.js)
36
+ lib/jsonl-watcher.js Watches ~/.claude/projects for JSONL file changes, delegates parsing to jsonl-parser.js
36
37
  lib/oauth-common.js Shared OAuth helpers (buildBaseUrl, isRemoteRequest, encodeOAuthState, result/relay pages)
37
38
  lib/oauth-gemini.js Gemini OAuth flow (credential discovery, token exchange, callback handling)
38
39
  lib/oauth-codex.js Codex CLI OAuth flow (PKCE S256, token exchange, callback handling)
@@ -42,8 +43,9 @@ lib/pm2-manager.js PM2 process management wrapper
42
43
  lib/speech.js Speech-to-text and text-to-speech via @huggingface/transformers
43
44
  lib/speech-manager.js TTS orchestration (eager TTS, voice cache, model download, broadcastModelProgress)
44
45
  lib/tool-install-machine.js XState v5 machine per tool: unchecked/checking/idle/installing/installed/updating/needs_update/failed states
45
- lib/tool-manager.js Tool facade - re-exports from tool-version, tool-spawner, tool-provisioner
46
- lib/tool-version.js Version detection for CLI tools and plugins (data-driven framework paths)
46
+ lib/tool-manager.js Tool facade - re-exports from tool-version-check, tool-version-fetch, tool-spawner, tool-provisioner
47
+ lib/tool-version-check.js Sync/local version detection: BIN_MAP, FRAMEWORK_PATHS, checkCliInstalled, getCliVersion, checkToolInstalled, compareVersions, getInstalledVersion
48
+ lib/tool-version-fetch.js Async/network version functions: getPublishedVersion, fetchPublishedVersion, clearVersionCache, checkToolViaBunx
47
49
  lib/tool-spawner.js npm/bun install/update spawn with timeout and heartbeat
48
50
  lib/tool-provisioner.js Auto-provisioning and periodic update checking
49
51
  lib/routes-speech.js Speech/TTS HTTP route handlers (stt, tts, voices, speech-status)
@@ -237,9 +239,9 @@ Current tools:
237
239
  - `cli-agent-browser`: bin=`agent-browser`, pkg=`agent-browser` — uses `-V` flag (not `--version`) for version detection
238
240
  - `gm-cc`, `gm-oc`, `gm-gc`, `gm-kilo`, `gm-codex`: plugin tools
239
241
 
240
- **BIN_MAP gotcha:** `lib/tool-version.js` has a single `BIN_MAP` constant shared by `checkCliInstalled()` and `getCliVersion()`. Any new CLI tool must be added there. `agent-browser` uses `-V` (not `--version`) — a `versionFlag` override handles this.
242
+ **BIN_MAP gotcha:** `lib/tool-version-check.js` has a single `BIN_MAP` constant shared by `checkCliInstalled()` and `getCliVersion()`. Any new CLI tool must be added there. `agent-browser` uses `-V` (not `--version`) — a `versionFlag` override handles this.
241
243
 
242
- **Framework paths:** `lib/tool-version.js` uses a `FRAMEWORK_PATHS` data table instead of per-framework if/else chains. Each framework entry defines pluginDir, versionFile, parseVersion, and optional markerFile/fallbackInstalled. Adding a new framework means adding one entry to this table.
244
+ **Framework paths:** `lib/tool-version-check.js` uses a `FRAMEWORK_PATHS` data table instead of per-framework if/else chains. Each framework entry defines pluginDir, versionFile, parseVersion, and optional markerFile/fallbackInstalled. Adding a new framework means adding one entry to this table.
243
245
 
244
246
  **Background provisioning:** `autoProvision()` runs at startup, checks/installs missing tools (~10s). `startPeriodicUpdateCheck()` runs every 6 hours in background to check for updates. Both broadcast tool status via WebSocket so UI stays in sync.
245
247
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentgui",
3
- "version": "1.0.818",
3
+ "version": "1.0.819",
4
4
  "description": "Multi-agent ACP client with real-time communication",
5
5
  "type": "module",
6
6
  "main": "electron/main.js",