From d898586181063989ea09f09aa2177ffa4da457f7 Mon Sep 17 00:00:00 2001 From: Hibryda Date: Tue, 10 Mar 2026 04:03:52 +0100 Subject: [PATCH] docs: update meta files for AST and graph views --- CHANGELOG.md | 2 ++ docs/v3-progress.md | 3 +++ 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 918b27c..ea0369f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,6 +30,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Rust `read_file_content` command: FileContent tagged union (Text/Binary/TooLarge), 30+ language mappings (lib.rs) - Frontend `files-bridge.ts` adapter: DirEntry and FileContent TypeScript types + IPC wrappers - ContextTab: LLM context window visualization with stats bar (tokens, cost, turns, duration), segmented token meter (color-coded by message type), file references tree (extracted from tool calls), and collapsible turn breakdown — replaces old ContextPane ctx database viewer (ContextTab.svelte) +- ContextTab AST view: per-turn SVG conversation trees showing hierarchical message flow (Turn → Thinking/Response/Tool Calls → File operations), with bezier edges, color-coded nodes, token counts, and detail tooltips (ContextTab.svelte) +- ContextTab Graph view: bipartite tool→file DAG with tools on left (color-coded by type) and files on right, curved SVG edges showing which tools touched which files, count badges on both sides (ContextTab.svelte) ### Changed - AgentPane UI redesign: sans-serif root font (system-ui), tool calls paired with results in collapsible `
` groups, hook messages collapsed into compact labels, context window usage meter in status strip, cost bar made minimal (no background), session summary with translucent background, two-phase scroll anchoring, tool-aware output truncation (Bash 500/Read 50/Glob 20 lines), colors softened via `color-mix()`, responsive margins via container queries (AgentPane.svelte) diff --git a/docs/v3-progress.md b/docs/v3-progress.md index 8be3f9f..f8220be 100644 --- a/docs/v3-progress.md +++ b/docs/v3-progress.md @@ -480,6 +480,9 @@ All editor themes map to the same `--ctp-*` CSS custom property names (26 vars). - [x] Turn breakdown: collapsible message groups by user prompt - [x] Token estimation via ~4 chars/token heuristic - [x] Wired into ProjectBox (replaces ContextPane, passes sessionId) +- [x] Sub-tab navigation: Overview | AST | Graph +- [x] AST tab: per-turn SVG conversation trees (Thinking/Response/ToolCall/File nodes, bezier edges, token counts) +- [x] Graph tab: bipartite tool→file DAG (tools left, files right, curved edges, count badges) #### FilesTab Fixes & CodeMirror Editor - [x] Fixed HTML nesting error: `