参考所有分组,完成尽量多的内容。禁止顺手扩功能 smoke

结论:按 LinuxCNC INI TOOL_TABLE 来源扩展 switchkins/remap 配置别名和生成案例,未增加 smoke 功能行为;表校验、native、source-link 均通过。
This commit is contained in:
cnc
2026-06-03 14:53:37 +08:00
parent 4086445900
commit aff6f85d8a
9 changed files with 370 additions and 9 deletions

View File

@@ -196,6 +196,10 @@ grep -F 'subroutinePath: options.subroutinePath' web/src/wasm-core.js >/dev/null
grep -F 'subroutinepath: options.subroutinepath' web/src/wasm-core.js >/dev/null
grep -F 'subroutine_path: options.subroutine_path' web/src/wasm-core.js >/dev/null
grep -F 'SUBROUTINE_PATH: options.SUBROUTINE_PATH' web/src/wasm-core.js >/dev/null
grep -F 'toolTable: options.toolTable' web/src/wasm-core.js >/dev/null
grep -F 'tooltable: options.tooltable' web/src/wasm-core.js >/dev/null
grep -F 'tool_table: options.tool_table' web/src/wasm-core.js >/dev/null
grep -F 'TOOL_TABLE: options.TOOL_TABLE' web/src/wasm-core.js >/dev/null
grep -F 'kinematics: options.kinematics' web/src/wasm-core.js >/dev/null
grep -F 'trt: options.trt' web/src/wasm-core.js >/dev/null
grep -F 'pivotLength: options.pivotLength' web/src/wasm-core.js >/dev/null
@@ -240,6 +244,10 @@ grep -F 'subroutinePath?: string;' web/src/index.ts >/dev/null
grep -F 'subroutinepath?: string;' web/src/index.ts >/dev/null
grep -F 'subroutine_path?: string;' web/src/index.ts >/dev/null
grep -F 'SUBROUTINE_PATH?: string;' web/src/index.ts >/dev/null
grep -F 'toolTable?: string;' web/src/index.ts >/dev/null
grep -F 'tooltable?: string;' web/src/index.ts >/dev/null
grep -F 'tool_table?: string;' web/src/index.ts >/dev/null
grep -F 'TOOL_TABLE?: string;' web/src/index.ts >/dev/null
grep -F 'kinematics?: string;' web/src/index.ts >/dev/null
grep -F 'trt?: "xyzbc" | "xyzac" | string;' web/src/index.ts >/dev/null
grep -F 'pivotLength?: number;' web/src/index.ts >/dev/null
@@ -296,6 +304,10 @@ grep -F '"field":"subroutinePath"' web/public/linuxcnc_switchkins_remap_config_c
grep -F '"field":"subroutinepath"' web/public/linuxcnc_switchkins_remap_config_cases.json >/dev/null
grep -F '"field":"subroutine_path"' web/public/linuxcnc_switchkins_remap_config_cases.json >/dev/null
grep -F '"field":"SUBROUTINE_PATH"' web/public/linuxcnc_switchkins_remap_config_cases.json >/dev/null
grep -F '"field":"toolTable"' web/public/linuxcnc_switchkins_remap_config_cases.json >/dev/null
grep -F '"field":"tooltable"' web/public/linuxcnc_switchkins_remap_config_cases.json >/dev/null
grep -F '"field":"tool_table"' web/public/linuxcnc_switchkins_remap_config_cases.json >/dev/null
grep -F '"field":"TOOL_TABLE"' web/public/linuxcnc_switchkins_remap_config_cases.json >/dev/null
grep -F '{"switchkins", ' core/tests/linuxcnc_switchkins_remap_config_cases.inc >/dev/null
grep -F '{"remap", ' core/tests/linuxcnc_switchkins_remap_config_cases.inc >/dev/null
grep -F '{"machine", ' core/tests/linuxcnc_switchkins_remap_config_cases.inc >/dev/null
@@ -325,6 +337,10 @@ grep -F '{"subroutinePath", ' core/tests/linuxcnc_switchkins_remap_config_cases.
grep -F '{"subroutinepath", ' core/tests/linuxcnc_switchkins_remap_config_cases.inc >/dev/null
grep -F '{"subroutine_path", ' core/tests/linuxcnc_switchkins_remap_config_cases.inc >/dev/null
grep -F '{"SUBROUTINE_PATH", ' core/tests/linuxcnc_switchkins_remap_config_cases.inc >/dev/null
grep -F '{"toolTable", ' core/tests/linuxcnc_switchkins_remap_config_cases.inc >/dev/null
grep -F '{"tooltable", ' core/tests/linuxcnc_switchkins_remap_config_cases.inc >/dev/null
grep -F '{"tool_table", ' core/tests/linuxcnc_switchkins_remap_config_cases.inc >/dev/null
grep -F '{"TOOL_TABLE", ' core/tests/linuxcnc_switchkins_remap_config_cases.inc >/dev/null
grep -F '"moduleResolution": "Bundler"' web/tsconfig.json >/dev/null
grep -F '"include": ["src/index.ts", "src/**/*.d.ts"]' web/tsconfig.json >/dev/null
grep -F 'createWasmSimulator' test-web-wasm-node-smoke.cjs >/dev/null