CI 失败根因(本地已复现确认):`tauri-build`(build.rs) 会在**编译期校验** `tauri.conf.json` 的 `bundle.resources` 声明文件是否存在。 我之前声明了两项:`sidecar.mjs`(CI 未生成)+ `resources/node`(Node 运行时未下载) → build.rs 直接失败("failed to run custom build command")。 修复: - `tauri.conf.json` 的 resources **只留 sidecar.mjs**,并写明为何不能声明未就绪的文件 - `rust.yml` 在 clippy/test **之前**加「构建 sidecar」步骤(`pnpm --filter nodeagent-console sidecar:build`) - console-plan.md:⑤ 不再把 node 记为已完成(未验证的不写成做完), 补「已知待办」(Node 运行时随包分发 + GUI 端到端人工验证)与「构建约束」说明 本地复现验证:删掉 `sidecar/dist/` → `cargo check` 复现同一错误;恢复 → 通过 ✓
Tauri + Vue + TypeScript
This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.