agentgui 1.0.824 → 1.0.825

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/CHANGELOG.md +16 -50
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,51 +1,17 @@
1
1
  ## 2026-04-11
2
- - refactor: replace jsonl-watcher.js with @lanmower/cc-tail npm package (subclass CCTailWatcher, override _line() to route via JsonlParser); remove custom file-watching logic
3
- - refactor: split syntax-highlighter.js (216L) into syntax-highlighter.js (132L) + syntax-highlighter-render.js (73L, highlight/createHighlightedElement/highlightElement via prototype extension)
4
- - refactor: split dialogs.js (268L) into dialogs.js (54L, helpers + window._dialogCore) + dialogs-types.js (112L, window.UIDialog via window._dialogCore)
5
- - chore: add @lanmower/cc-tail dependency to package.json
6
-
7
- ## [Unreleased]
8
-
9
- ### Refactor
10
- - Split `conversations.js` (737L) into 4 files: conversations.js (117L), conv-sidebar-actions.js (185L), conv-sidebar-clone.js (92L), conv-list-renderer.js (198L)
11
- - Split `websocket-manager.js` (643L) into 3 files: ws-core.js (163L), ws-latency.js (89L), websocket-manager.js (108L)
12
- - Split `ui-components.js` (370L) into 2 files: ui-components.js (89L), ui-components-rendering.js (63L)
13
- - Split `agent-auth.js` into agent-auth.js (147L) and agent-auth-oauth.js (160L)
14
- - Deleted dead code: event-filter.js (zero external references)
15
- - Updated index.html script load order for all new split files
16
-
17
- ## 2026-04-11
18
- - refactor: split conversations.js (742L→116L) into conv-sidebar-actions.js (prototype extension: drag/drop, bulk actions, folder browser), conv-list-renderer.js (loadConversations, render, vnode), conv-sidebar-clone.js (clone UI, delete-all); all ≤200 lines
19
- - refactor: split websocket-manager.js (643L) into ws-core.js (class constructor, connect, onOpen, onMessage, reconnect), websocket-manager.js (sendMessage, subscriptions, state); ws-latency/connection/heartbeat empty stubs deleted
20
- - refactor: split event-filter.js into event-filter.js + event-filter-config.js (window export/CSV/Markdown helpers)
21
- - refactor: split agent-auth.js into agent-auth.js + agent-auth-oauth.js (IIFE, OAuth modal flows)
22
- - refactor: fix index.html script load order — ws-core.js before websocket-manager.js; remove empty stub script tags (ws-connection, ws-latency, ws-heartbeat)
23
-
24
- ## 2026-04-11
25
- - refactor: split jsonl-watcher.js parse/event logic into jsonl-parser.js; watcher retains file watching/polling only
26
- - refactor: split tool-version.js into tool-version-check.js (sync) and tool-version-fetch.js (async/network)
27
- - refactor: split ui-components.js into core class (createModal/createTabs/createAlert/createSpinner/escapeHtml) and ui-components-rendering.js (createProgressBar/createCollapsible/createInput/createSelect/createButtonGroup/createBadge/copyToClipboard/downloadFile); both ≤200 lines
28
-
29
- ## [Unreleased]
30
- ### Refactor
31
- - Strip all standalone comment lines (// and /* */ block lines) from 14 static JS files: event-filter.js, image-loader.js, syntax-highlighter.js, client.js, streaming-renderer.js, ui-components.js, conversations.js, websocket-manager.js, conv-machine.js, ws-machine.js, ws-client.js, state-barrier.js, script-runner.js, theme.js. Total 781 comment lines removed. All files syntax-verified.
32
-
33
- ## [Unreleased]
34
-
35
- ### Changed
36
- - Remove GMGUIApp dead code from app.js; strip 900+ lines, keep 5 live IIFEs
37
- - Add app.js and app-shortcuts.js to index.html script loading (previously unreferenced)
38
- - Remove unused BASE_URL declaration from app-shortcuts.js
39
- - Extend window.__debug.getSyncState() with promptMachineState, toolInstallMachineStates, voiceMachineState, convListMachineState
40
-
41
-
42
- ### Fixed
43
- - Thinking blocks now use theme-aware CSS vars for light/dark backgrounds (`--color-thinking-bg`)
44
- - All code blocks (renderBlockCode, renderCodeWithHighlight, renderFileRead, renderCommand) now use CSS vars instead of hardcoded dark hex colors
45
- - Removed hardcoded `#1e293b`, `#e2e8f0`, `#d1d5db` from all inline styles in streaming-renderer.js
46
- - tool-result-pre text color now adapts to theme via `--color-code-text`
47
- - Added CSS vars to :root (light) and html.dark for --color-bg-code, --color-code-text, --color-code-border, --color-thinking-bg
48
- - Thinking block content now renders full markdown (headers, lists, blockquotes, bold, italic, inline code, links)
49
- - parseAndRenderMarkdown() extended with headers (##/###), ul/ol lists, blockquotes (>), horizontal rules (---)
50
- - Thinking content dark mode text color set to #c4b5fd (readable purple)
51
-
2
+ - refactor: replace jsonl-watcher.js with @lanmower/cc-tail npm package (subclass CCTailWatcher, override _line() via JsonlParser); remove custom file-watching logic
3
+ - refactor: split syntax-highlighter.js (216L) into syntax-highlighter.js (132L) + syntax-highlighter-render.js (73L)
4
+ - refactor: split dialogs.js (268L) into dialogs.js (54L) + dialogs-types.js (112L, window.UIDialog)
5
+ - refactor: split image-loader.js (221L) into image-loader.js (147L) + image-loader-element.js (77L)
6
+ - refactor: split conversations.js (742L) into conversations.js (116L) + conv-sidebar-actions.js (185L) + conv-list-renderer.js (198L) + conv-sidebar-clone.js (92L)
7
+ - refactor: split websocket-manager.js (643L) into ws-core.js (163L) + websocket-manager.js (108L) + ws-latency.js (89L)
8
+ - refactor: split ui-components.js into ui-components.js (89L) + ui-components-rendering.js (63L)
9
+ - refactor: split agent-auth.js into agent-auth.js (147L) + agent-auth-oauth.js (160L)
10
+ - refactor: split event-filter.js into event-filter-config.js (37L); delete event-filter.js dead code (zero external refs)
11
+ - refactor: split jsonl-watcher.js parse logic into jsonl-parser.js (180L); watcher retains file watching only
12
+ - refactor: split tool-version.js into tool-version-check.js + tool-version-fetch.js
13
+ - refactor: fix index.html script load order for all new split files
14
+ - fix: thinking blocks use theme-aware CSS vars for light/dark backgrounds
15
+ - fix: all code blocks use CSS vars instead of hardcoded dark hex colors
16
+ - fix: remove GMGUIApp dead code from app.js; add app.js and app-shortcuts.js to index.html
17
+ - fix: extend window.__debug.getSyncState() with all XState machine snapshots
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentgui",
3
- "version": "1.0.824",
3
+ "version": "1.0.825",
4
4
  "description": "Multi-agent ACP client with real-time communication",
5
5
  "type": "module",
6
6
  "main": "electron/main.js",