Skip to content

Commit b60b90e

Browse files
authored
Merge pull request #4002 from wgqqqqq/wgq/flowchat-visualize
feat(flowchat): render verified inline visualizations
2 parents 2e97e51 + 802ac4b commit b60b90e

275 files changed

Lines changed: 33241 additions & 14029 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.gitattributes‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,6 @@ Dockerfile.* text eol=lf
6161
docker-compose.yml text eol=lf
6262
docker-compose.*.yml text eol=lf
6363
Caddyfile text eol=lf
64+
65+
# Pinned guest scripts and map datasets are verified byte-for-byte.
66+
third_party/visualize/** -text -diff

‎.gitignore‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,3 +148,9 @@ external/
148148
/docs/superpowers/
149149

150150
AGENTS.override.md
151+
152+
# Locally imported, version-verified Codex Visualize distribution.
153+
/src/crates/assembly/core/builtin_skills/visualize/upstream/
154+
/src/crates/assembly/core/builtin_skills/visualize/authoring/
155+
156+
/.visualize-runtime/

‎THIRD_PARTY_NOTICES.md‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,18 @@ OpenBitFun redistributes selected material and links libraries from the followin
44
third-party projects. These notices are included with OpenBitFun's Desktop and CLI
55
release packages.
66

7+
## Apache ECharts and zrender
8+
9+
OpenBitFun uses Apache ECharts 6.0.0 and zrender 6.0.0 for inline charts.
10+
ECharts is distributed under the Apache License 2.0 and includes portions of
11+
d3.js under the BSD 3-Clause license. zrender uses the BSD 3-Clause license.
12+
The frontend includes the upstream notices and license texts in
13+
`third-party/visualize-NOTICES.txt`.
14+
15+
## D3 geographic projections
16+
17+
The offline map renderer includes d3-geo 3.1.0 and 3.1.1, and d3-array 3.2.4. Their copyright and license notices are included in `third-party/visualize-NOTICES.txt`.
18+
719
## HarmonyOS Sans Fonts
820

921
- Project: HarmonyOS Sans Fonts
@@ -310,3 +322,5 @@ The complete upstream Apache-2.0 license follows:
310322
See the License for the specific language governing permissions and
311323
limitations under the License.
312324
```
325+
326+
The FlowChat figure guest also bundles D3, TopoJSON Client, US Atlas, Lucide and Floating UI. Their notices accompany the built frontend in `third-party/visualize-NOTICES.txt`. The release source includes Natural Earth regional map layers and records their upstream and distributed SHA-256 hashes in `scripts/visualize-regional-atlas.json`.

‎docs/architecture/generative-ui-architecture.md‎

Lines changed: 45 additions & 169 deletions
Large diffs are not rendered by default.
156 KB
Loading

‎docs/interactive-capabilities/README.md‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<!-- generated by scripts/generate-interactive-capabilities.mjs; do not edit -->
22
# OpenBitFun 功能与设置目录 / OpenBitFun Features & Settings
33

4-
OpenBitFun Playbook 当前包含 **24 个功能**和 **23 个设置页**,共 **47 个**用户可理解的条目、**369 项**有源码证据的子能力。每个条目有独立 Markdown,并直接服务于说明书网站、OpenBitFun 全局搜索和 `OpenBitFunControl` 智能体工具。
4+
OpenBitFun Playbook 当前包含 **24 个功能**和 **23 个设置页**,共 **47 个**用户可理解的条目、**368 项**有源码证据的子能力。每个条目有独立 Markdown,并直接服务于说明书网站、OpenBitFun 全局搜索和 `OpenBitFunControl` 智能体工具。
55

6-
OpenBitFun Playbook currently contains **24 features**, **23 settings pages**, and **369** source-backed sub-capabilities across **47** user-facing entries. Every entry has its own Markdown page and directly powers the website, in-app global search, and the `OpenBitFunControl` agent tool.
6+
OpenBitFun Playbook currently contains **24 features**, **23 settings pages**, and **368** source-backed sub-capabilities across **47** user-facing entries. Every entry has its own Markdown page and directly powers the website, in-app global search, and the `OpenBitFunControl` agent tool.
77

88
## 唯一事实源 / Single source of truth
99

@@ -27,20 +27,20 @@ OpenBitFun Playbook currently contains **24 features**, **23 settings pages**, a
2727
- Generated per-item interaction audit: `docs/interactive-capabilities/technical/product-control-open-audit.json`
2828
- Generated low-level audit map: `docs/interactive-capabilities/technical/tauri-command-map.json`
2929

30-
说明书、网站、搜索和智能体只看“功能 + 设置 + 子能力”。每项子能力都必须引用已注册 Tauri Command 或可解析的源码标记;这些证据不会进入公开目录。当前 **702** 个 Tauri 命令只用于实现覆盖审计。产品 UI 交互源码会在生成和检查时扫描并校验,但不会保存成随普通 UI 改动频繁变化的版本化快照。
30+
说明书、网站、搜索和智能体只看“功能 + 设置 + 子能力”。每项子能力都必须引用已注册 Tauri Command 或可解析的源码标记;这些证据不会进入公开目录。当前 **701** 个 Tauri 命令只用于实现覆盖审计。产品 UI 交互源码会在生成和检查时扫描并校验,但不会保存成随普通 UI 改动频繁变化的版本化快照。
3131

32-
Docs, website, search, and agents see only features, settings, and documented sub-capabilities. Every sub-capability must reference a registered Tauri command or a resolvable source marker; evidence is stripped from public projections. The **702** Tauri commands remain implementation-audit evidence only. Product UI interaction sources are scanned and validated during generation and checks, but are not stored as a versioned snapshot that churns with ordinary UI changes.
32+
Docs, website, search, and agents see only features, settings, and documented sub-capabilities. Every sub-capability must reference a registered Tauri command or a resolvable source marker; evidence is stripped from public projections. The **701** Tauri commands remain implementation-audit evidence only. Product UI interaction sources are scanned and validated during generation and checks, but are not stored as a versioned snapshot that churns with ordinary UI changes.
3333

3434
## 控制边界 / Control boundary
3535

36-
- 每个子能力都明确标记为直接控制、委托给专用智能体工具、需交互打开或不支持;“打开页面”不会再被统计成“智能体已控制”。当前覆盖:直接 **64**、委托 **74**、需交互 **231**、不支持 **0**。
36+
- 每个子能力都明确标记为直接控制、委托给专用智能体工具、需交互打开或不支持;“打开页面”不会再被统计成“智能体已控制”。当前覆盖:直接 **63**、委托 **74**、需交互 **231**、不支持 **0**。
3737
- 稳定行为声明为带 JSON 输入契约的 `operations` 或 `options`,并绑定原生产品控制 Provider;智能体不接触原始 Tauri Command。
38-
- `OpenBitFunControl list` 和 `search` 都返回带 `nextCursor` 的精简分页结果;目录可持续增长,不靠固定总量上限。完整目录和 369 项子能力都不会写入 system prompt。
38+
- `OpenBitFunControl list` 和 `search` 都返回带 `nextCursor` 的精简分页结果;目录可持续增长,不靠固定总量上限。完整目录和 368 项子能力都不会写入 system prompt。
3939
- 目录发现与契约读取不依赖 React 或可见窗口。普通配置型 option 统一由 Product Assembly 的共享 ConfigService 执行器读、写并回读,因此 Desktop、CLI 与 Headless 表面走同一份实现;只有宿主原生 operation/provider option 和界面导航按表面注册适配器,缺失时必须明确返回不可用,禁止静默回退本机。只读智能体只能发现和读取目录。
4040

41-
- Every documented item is classified as direct control, delegated Agent control, interactive opening, or unsupported; opening a page is never counted as direct control. Current coverage is **64 direct**, **74 delegated**, **231 interactive**, and **0 unsupported**.
41+
- Every documented item is classified as direct control, delegated Agent control, interactive opening, or unsupported; opening a page is never counted as direct control. Current coverage is **63 direct**, **74 delegated**, **231 interactive**, and **0 unsupported**.
4242
- Stable behavior becomes a typed `operation` or `option` with a JSON input contract and a native product-control provider. Agents never receive raw Tauri commands.
43-
- `OpenBitFunControl list` and `search` return compact pages with a `nextCursor`; the catalog can grow without a fixed total-size ceiling. Neither the full catalog nor its 369 documented items enters the system prompt.
43+
- `OpenBitFunControl list` and `search` return compact pages with a `nextCursor`; the catalog can grow without a fixed total-size ceiling. Neither the full catalog nor its 368 documented items enters the system prompt.
4444
- Discovery and contract lookup do not depend on React or a visible window. Ordinary config-backed options are read, written, and read back by one Product Assembly ConfigService executor shared by Desktop, CLI, and headless surfaces. Only host-native operations/provider options and presentation routes install surface adapters; missing adapters return explicit unavailability without local fallback. Read-only agents may only discover and inspect entries.
4545

4646
## 防腐化门禁 / Anti-drift gates

0 commit comments

Comments
 (0)