Pause parity work: handoff, parameter sync, Python console scaffold

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
2026-11-14 06:10:38 +08:00
parent f3e4365530
commit 00e0097969
5 changed files with 112 additions and 15 deletions

View File

@@ -113,6 +113,22 @@
- TemplatePyMod 选择后 workbenchValue 为空(特殊工作台);
- 证据:`desktop-parity-evidence/<workbench>-web{,-audit}.png/json`。
## 最新增量(2026-11-14,暂停前)
- **PartDesign/Sketcher ownership handoff 已实现(真实动作)**:Part 文档切换到
PartDesign/Sketcher 时不再只报错,而是调用 `launchSpecialized("ParametricBody")`
创建 PartDesign 拥有的新文档。实测选择 PartDesign 后 `workbench=PartDesign`,
状态栏 “PartDesign document created for PartDesign ownership handoff”。
- **原生参数同步**:Preferences `onApply` 通过 `requestOwnerParameters` 写入
`BaseApp/Preferences/General/UnitSchema` 与 `View/NavigationStyle`;
后台验证因 5181 导航前置失败(exit 1)未完成,属于前置未满足。
- **Python 控制台**:`shell/python-console.tsx` 已加入底停靠 Python tab,
使用 `python-runtime.worker.ts`;首次冒烟返回 `ready` 错误包,**尚未验证成功执行**。
- **浮动/全屏停靠**:BottomDock 增加“浮动/停靠”“全屏”按钮;尚未截图验收。
- **Measure/MassProperties 原生桥**:命令面板/快捷键命中时直接打开原生任务,
实测 `Std_MassProperties` 状态为 “opened native measure task”。
- **命令面板**:默认包含 Web/Std/Show/Measure/Material,`Std_MassProperties` 可检索。
## 真实残余
- 统一桌面壳尚未实现:project-shell 仍只支持 9 个 workbench、菜单仅 Start/File/Edit/View/Part;