Repository navigation
feat(flowchat): render verified inline visualizations - #4002
Merged
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
FlowChat can now show interactive figures directly in an assistant reply. The producing desktop opens a private, sandboxed frame to check the submitted figure. A successful publication seals that revision into the turn so reopening the conversation shows the checked figure. Requests for a standalone webpage still produce a project file.
Regional city maps use a packaged Natural Earth atlas. The model supplies city names or coordinates, and the host produces a self-contained SVG with coastlines, water, boundaries and city markers. Ordinary maps can be published with one figure write. Chat typography and skin changes carry through to the figure.
The change retires the legacy GenerativeUI generation tool and its library picker. Older recorded messages keep their read-only renderer.
Build and release impact
A standard checkout contains the OpenBitFun authoring skill, sandbox bridge, design controls, Apache ECharts, projection worker and seven regional atlas layers. Desktop and Web CI build these through their ordinary entry points. Every Web build verifies the pinned guest libraries and atlas hashes locally. CI and end users can build and draw standard figures without installing Codex or preparing a runtime cache.
The optional Codex reference kit identifies itself as proprietary. Its distribution and reference guides are available through an explicit local import for compatibility testing. Older figures that import kit-specific hosted widgets may still need those published URLs or a prepared compatibility cache. Maps and the built-in chart path run offline.
Verification
OpenBitFun.appwith Xcode 26.3 andpnpm run desktop:build --bundles app -- --profile release-fast --features devtools. The embedded WebDriver was enabled for inspection. Neither the optional kit nor its cache was present, and no Visualize preparation step ran.bundled-0ef875ae036ba521). A loopback model submitted only the city names via the actual Skill and Write tools. FlowChat checked and saved a 23,296-byte SVG, displayed Shanghai, Suzhou and Hangzhou with land, lakes, rivers and boundaries, and showed zero file-tool cards. History replay passed after shutting down the model fixture.cargo test --locked -p openbitfun-core --no-default-features --features agent-runtime,tools-basic,tools-agent-control --lib visual_artifact. All three tests passed, including session-owned local/SSH writes, exact revision sealing, and legacy edit replay.pnpm run check:web,pnpm run capabilities:check, repository hygiene, core boundaries, i18n, and the Git object-size check. Remote control, peer-device operation and detached dispatch were not exercised end to end.AI-assisted implementation and testing.