Repository navigation
feat(flowchat): improve diagram delivery and itinerary street maps - #4024
Merged
wgqqqqq merged 7 commits intoNov 20, 2026
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
When readers ask for a project architecture diagram, FlowChat can render the relationships directly from a Mermaid block. The bundled skill previously also instructed the model to build architecture diagrams with HTML/SVG. This change resolves that conflict and keeps inline HTML available when the reader needs to change an input or explore a spatial view.
skillandcommandwhen invoking a skill. Hooks, permission evaluation and execution see the same name. FlowChat history and CLI tool cards can display it from either wire format.Type and areas
FlowChat feature and regression fixes across the built-in skill, figure host, agent tool execution and tool-card presentation. Follow-up to #4002.
Verification
On this branch, based on upstream
main:pnpm --dir src/web-ui exec vitest run src/tools/visualize src/flow_chat/grouping/activityGrouping.test.ts src/flow_chat/tool-cards/SkillDisplay.test.tsxpassed all 105 tests.pnpm --dir src/web-ui exec tsc --noEmit --pretty falseandpnpm run theme:color-audit:allpassed.node scripts/verify-visualize-bundle.mjsandnode scripts/import-visualize.mjs --checkpassed. The second command checks a locally installed optional reference kit.node scripts/test-visualize-host.mjspassed in Chromium, including offline regional map rendering, saved bindings, theme changes, calendar interactions and all 13 chart families.Before moving these six commits onto current main, the same patches also passed 18 Rust skill-tool tests, the hook-input/history regression and the CLI tool-card regression. Local macOS desktop sessions with GPT-6.1 Terra exercised these cases:
Review follow-up
The desktop timeout and legacy snapshot round-trip tests passed. Chromium covered mixed deliveries, conceptual maps, icon-bearing stop lists, deferred inspection, consent, offline replay and revision changes using fixture vector tiles. A desktop web build with the optional kit installed confirmed the emitted chunks exclude the kit and local reference cache. Debug and release skill staging produced matching hashes. An isolated import exercised successful upgrade and rollback. These tests simulate deferred producers. Live SSH, relay, peer and detached hosts were not exercised for this follow-up.
Reviewer notes
New street maps of public places require network access for lookup and tile acquisition. Replay uses the captured geometry. Regional maps use the bundled atlas. Remote workspace skill loading has unit coverage. Remote Control, Peer Device and Detached Dispatch have not been tested end to end for this PR.
AI-assisted implementation and verification. Local coverage is targeted; platform builds run in CI.