推进 INI 面板 shell handoff workflow summary helper
This commit is contained in:
75
text12.txt
75
text12.txt
@@ -3024,3 +3024,78 @@ host_wasm_opfs_browser_smokes=ok
|
||||
`createIniPanelShellSessionHandoffWorkflowSummary()`),把 mount workflow、control-page mount workflow
|
||||
和 readonly status result 合并成一个稳定 summary,方便外部 shell 一次展示 handoff end-to-end 状态;
|
||||
仍保持只读,不新增控制按钮,不解析 G-code。
|
||||
|
||||
三十八、2026-06-15 继续执行记录:INI panel shell handoff workflow summary helper
|
||||
|
||||
本轮按“第一原则:加快实质性推进”继续推进 SDK/API surface 与 browser/UI workflow,为 shell
|
||||
handoff 增加 end-to-end workflow summary helper,把 mount workflow、control-page mount workflow
|
||||
和 readonly status result 合并为一个稳定 summary,方便外部 shell 一次展示 handoff 总体状态。
|
||||
|
||||
完成内容:
|
||||
|
||||
- `ui-shell.js` 新增 `createIniPanelShellSessionHandoffWorkflowSummary()`;
|
||||
- 新 helper 返回 `apiName`、`summaryVersion`、`phase`、`ready`、`statusLine`、`mountWorkflow`、
|
||||
`controlPageMountWorkflow`、`readonlyStatusResult`、`blockingReasons` 与 display rows;
|
||||
- summary helper 对 mount workflow、control-page mount workflow、readonly status result 做只读聚合,
|
||||
并把 blocked 原因稳定编码为 end-to-end `blockingReasons`;
|
||||
- `createIniPanelShellViewModel()` 暴露 `createShellSessionHandoffWorkflowSummary`;
|
||||
- `createIniPanelLaunchApiManifest().methods` 新增 `getShellSessionHandoffWorkflowSummary`,
|
||||
launch method count 更新为 33;
|
||||
- `launch.html` 的 `window.linuxCncIniPanelLaunchApi.getShellSessionHandoffWorkflowSummary()` 暴露
|
||||
真实 browser API,并提供无副作用的默认 summary 输入;
|
||||
- `ini_panel_shell_integration_workflow_smoke.html` 在真实 browser workflow 中通过 shared summary helper
|
||||
校验 ready、blocking reasons 与 end-to-end handoff 状态;
|
||||
- Node smoke 覆盖 summary helper 的 blocked/ready 路径;
|
||||
- 文档同步记录 summary helper 用法;
|
||||
- 未新增控制按钮;
|
||||
- 未解析 G-code;
|
||||
- 未解释 canonical events;
|
||||
- 未新增 JS CNC 语义;
|
||||
- 未改变 OPFS/session persistence、LinuxCNC interpreter、tool、parameter、planner 或
|
||||
LinuxCNC-owned runtime semantics。
|
||||
|
||||
验证已通过:
|
||||
|
||||
```bash
|
||||
git diff --check
|
||||
wasm-port/tests/ui/node/verify_ini_panel_ui_shell.sh
|
||||
wasm-port/tests/ui/node/verify_ini_panel_launch_api_manifest.sh
|
||||
wasm-port/tests/ui/node/verify_ini_panel_shell_integration_manifest.sh
|
||||
wasm-port/tests/ui/node/verify_ini_panel_entry_docs.sh
|
||||
wasm-port/tests/ui/node/verify_ui_node_smokes.sh
|
||||
SKIP_INI_BUILD=1 SKIP_INTERP_BUILD=1 wasm-port/tests/browser/verify_ini_panel_browser.sh
|
||||
wasm-port/tools/verify_vendor_sync.sh
|
||||
wasm-port/tools/verify_no_standalone_cnc_semantics.sh
|
||||
SKIP_INTERP_BUILD=1 wasm-port/tests/wasm/node/verify_interp_wasm.sh
|
||||
SKIP_INTERP_BUILD=1 wasm-port/tests/wasm/node/verify_sim_configs_inventory_wasm.sh
|
||||
wasm-port/tests/host/verify_host_smokes.sh
|
||||
```
|
||||
|
||||
关键输出:
|
||||
|
||||
```text
|
||||
ini_panel_ui_shell_node_smoke=ok
|
||||
ini_panel_launch_api_manifest_node_smoke=ok
|
||||
ini_panel_shell_integration_manifest_node_smoke=ok
|
||||
ini_panel_entry_docs_node_smoke=ok
|
||||
ui_node_smokes=ok
|
||||
browser_ini_opfs_smoke=ok
|
||||
browser_ini_control_page_smoke=ok
|
||||
browser_ini_launch_smoke=ok
|
||||
browser_ini_shell_integration_workflow_smoke=ok
|
||||
vendor sync up to date
|
||||
standalone CNC semantics guard complete
|
||||
interp_wasm_node_smoke=ok
|
||||
sim_configs_wasm_node_inventory_executed=28
|
||||
sim_configs_wasm_node_inventory_passed=28
|
||||
sim_configs_wasm_node_inventory_skipped=131
|
||||
sim_configs_wasm_node_inventory_unexpected_fail=0
|
||||
host_wasm_opfs_browser_smokes=ok
|
||||
```
|
||||
|
||||
下一步建议:
|
||||
|
||||
继续推进 SDK/API surface。下一批建议增加 shell handoff workflow display-model helper(例如
|
||||
`createIniPanelShellSessionHandoffWorkflowDisplayViewModel()`),把 end-to-end summary 转成稳定 title、
|
||||
statusText、detailText 和 rows,方便外部 shell 直接渲染 handoff 总览;仍保持只读,不新增控制按钮,
|
||||
不解析 G-code。
|
||||
|
||||
Reference in New Issue
Block a user