Commit 2d0ff9b
docs(harness-view): add on-device LLM Chat workflow
The Workflow view's Core tab listed seven workflows but had no entry for
the chat flow that landed in v0.9.0 (Gemma 4 + Nemotron 3 Nano), so the
viewer's "how does this app actually do X" picture stopped at search /
graph / TUI / GUI. Adds an `on-device-llm-chat` entry with both
diagrams:
* mermaid — high-level request loop: model present? → optional
ModelDownloader → GgufReader probe → GpuEnumerator/CtxRecommender →
LlmHost load → ChatTemplateRegistry pick → AgentChatLoop's
JSON-tool-call cycle against CodeScanToolbelt (SqliteStore + FS),
terminating on `tool=done`. Forensic log path called out.
* sourceMermaid — file/class layout grouped by directory (Tui/,
Services/Llm/, Services/Llm/Tools/, Services/) showing the wiring
between ChatView and the toolchain. Annotates the two chat
templates by their distinguishing turn markers so the family
boundary is visible.
Also patches the existing `tui-flow` entry: its Home-menu diagram was
missing the Chat node entirely and its sourceMermaid only listed
TuiApp.cs, so adds the Chat node with a `see on-device-llm-chat`
back-edge to the LLamaSharp host, plus ChatView.cs and the new
StartupTracer in the source panel.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 15892da commit 2d0ff9b
1 file changed
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
31 | 38 | | |
32 | 39 | | |
33 | 40 | | |
| |||
0 commit comments