Add React task frame bridge for manifest commands

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
2026-11-13 16:46:09 +08:00
parent 452f0b976f
commit 4a45ffaf47
4 changed files with 35 additions and 32 deletions

View File

@@ -45,9 +45,10 @@
- 选中 BIM 后菜单显示 2D Drafting / 3D/BIM / Annotation / Manage / Flamingo /
Fasteners / Utils;截图 `BIM-web-menu.png`;
- Part 回归审计仍 0 错误/0 溢出。
- 非 Part 菜单命令已接 `DesktopCommandDispatcher`:按 `command-matrix` 找记录、
用空参数执行,状态栏显示 running/executed/error;20 秒超时提示改用工作台任务。
BIM_TogglePanels 实测进入 running(该命令需要面板任务,尚需专用 React 桥)。
- 非 Part 菜单命令改为打开 **React TaskFrame 模态**(`web/src/shell/task-frame.tsx`),
iframe 复用 `/workbench.html?module=<id>&command=<id>` 的现有任务面板;
BIM_TogglePanels 实测弹出 "Bottom panels" 任务并可点按钮,0 pageError;
截图 `BIM-task-frame.png`。统一执行/文档共享仍待 P2 的原生任务桥。
- Python InitGui 解析改为位置感知变量解析(`self.*`、重赋值、`+` 拼接),
菜单命令 513、工具栏命令 362,gui-missing 降至 623。
- 说明:preview 页仅渲染清单与命令回调;统一执行路由尚待 P2/P3。