agentgui 1.0.812 → 1.0.813
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 -0
- package/package.json +1 -1
package/CLAUDE.md
CHANGED
|
@@ -404,6 +404,16 @@ OpenAI Codex CLI uses PKCE authorization code flow against `https://auth.openai.
|
|
|
404
404
|
- **@agentclientprotocol/sdk** (`^0.4.1`) added to dependencies
|
|
405
405
|
- Full integration (replacing custom WS protocol) is optional/incremental — current WS already gives logical multiplexing via concurrent async handlers
|
|
406
406
|
|
|
407
|
+
## Theme-Aware Rendering
|
|
408
|
+
|
|
409
|
+
CSS custom properties for code/thinking blocks live in `static/css/main.css`:
|
|
410
|
+
- `--color-bg-code`, `--color-code-text`, `--color-code-border` — light values in `:root`, dark overrides in `html.dark`
|
|
411
|
+
- `--color-thinking-bg` — light value in `:root` (`#f5f3ff`), dark override in `html.dark` (`.block-thinking`) set to `#1e1a2e`
|
|
412
|
+
|
|
413
|
+
`static/js/streaming-renderer.js` uses `var(--color-bg-code)` etc. in inline styles — no hardcoded `#1e293b`/`#e2e8f0`/`#d1d5db` hex values. Remaining hardcoded hex in the renderer are **intentional semantic colors** (blue links, amber warnings, red errors, purple thinking accents) and must not be replaced with CSS vars.
|
|
414
|
+
|
|
415
|
+
`parseAndRenderMarkdown()` in `streaming-renderer.js` handles: `##`/`###` headers, `-`/`*` ul lists, `1.` ol lists, `>` blockquotes, `---` hr, inline bold/italic/code/links via `_mdInline()`. Thinking block content is rendered through this function.
|
|
416
|
+
|
|
407
417
|
## Known Gotchas
|
|
408
418
|
|
|
409
419
|
- **`agent-browser --version`** prints help, not version. Use `-V` flag.
|