feat: complete WorkBuddy parity and Windows release workflow
This commit is contained in:
1 parent
143516b3a8
commit
d5512df549
434 files changed
+54977
-1854
No files matched your search
@@ -55,11 +55,22 @@ npm run test:persistence # 实际 IPC → 会话 JSON 的顺序与终态
|
||||
npm run test:sessions # 并发读写、原子替换与冷加载
|
||||
npm run test:omp # OMP 回合终态、取消、错误与监听清理
|
||||
npm run test:omp-session # OMP 持久会话参数与进程释放(假子进程)
|
||||
npm run test:omp:bundled # 内置 OMP 资产、摘要与 --version 启动(--packaged 检查打包产物)
|
||||
```
|
||||
|
||||
## Windows 打包
|
||||
|
||||
完整发布流程见 [Windows 分发包 SOP](docs/打包流程SOP-2026-10-18.md)。
|
||||
|
||||
~~~powershell
|
||||
npm run dist:installer
|
||||
~~~
|
||||
|
||||
该命令会先校验并内置 OMP,再构建主进程/预加载/渲染进程并生成 NSIS 安装程序。当前 Windows x64 测试包未签名。
|
||||
|
||||
## 首次运行
|
||||
|
||||
1. OMP 路径通过 `YCODE_OMP_PATH` 或现有安装探测;使用 `ycode` profile。回退循环的上游地址、模型和 Key 在应用设置中配置;设置尚未同步 OMP profile。
|
||||
1. OMP 按 `YCODE_OMP_PATH` → 随包 `resources/omp/omp.exe` → 本机 Ygent 安装的顺序探测;随包版本由 `resources/omp/runtime.lock.json` 锁定,`npm run omp:vendor` 负责拉取与校验。使用 `ycode` profile。回退循环的上游地址、模型和 Key 在应用设置中配置;设置尚未同步 OMP profile。
|
||||
2. 选择**工作目录**;默认模式限制路径、写入需确认,命令执行需要明确开启完全访问。
|
||||
3. 回到对话区提问,例如「列出工作目录里有哪些文件」
|
||||
|
||||
|
||||
Reference in new issue
Block a user