Requires the published Calcit/procs 0.30.1-alpha.4 pair (prerelease, not stable 0.30.1), Node.js 24+, and Yarn 4.18.0.
主要组件已迁移为单 Enum 回调,并复用正式剪贴板和存储接口。完整 strict、客户端 75 个公开定义、 服务端 47 个公开定义、原 HTTP/WebSocket smoke 和删除片段回归通过。人工数据的真实浏览器联调 覆盖登录、创建、删除确认、Profile、退出及刷新后保持退出;同时修复空 FileList 粘贴和残留登录凭据。 上传/下载函数通过人工文件及 Axios mock 验证,不调用生产上传接口。四个闲置 FFI 声明已退役。 Axios callable 导出限制记录于 Calcit #2153;小型 JS 委托对象保留其已绑定方法和既有配置,不用 unsafe 绕过。
这是前后端工具链配套迁移,部署前须准备匹配的 Calcit、正式 native 模块及 Node 环境;本地验收 不能替代 CI/COS 或生产验收。存储键、协议地址、上传地址和既有服务器路径不变,不自动重写旧存储。 开放数据库 Map、混合 UI 游标等 Dynamic 边界仍保留,strict 通过不代表全部数据已变为闭合类型。
caps --ci
yarn install --immutable
yarn checkStart the native WebSocket/HTTP backend, then compile and serve the browser client in two more terminals:
yarn server
yarn watch-page
yarn devOpen the browser client at http://localhost:5173/?mode=dev&host=localhost&port=11006. The port query parameter selects the WebSocket service; preview data from storage.cirru is loaded separately through HTTP port 11030.
客户端与原生服务使用默认严格类型诊断,当前脚本不启用 --compat-types。
命名入口不继承 default 的模块配置,必须分别验证;开放 Map 边界仍保留并需逐项审阅,
不以强转或扩大 Dynamic 消除诊断。
The server smoke test starts the native backend, verifies HTTP and WebSocket responses, and checks that the last snippet in storage.cirru is present in the HTTP payload:
yarn smoke-server在无真实数据的隔离工作树执行 smoke:它会读取已有 storage.cirru,服务退出也可能写入。 迁移前先备份真实存储,本次不自动重写旧文件。 旧文档中的 app.server/migrate-storage! 已无对应定义,不再作为可用迁移命令。
https://github.com/Cumulo/calcium-workflow
前端 COS 上传使用正式 action v1.2.0,由 public-base-url 启用内置逐文件校验,
不增加上传验证脚本。PR CDN 资源按 PR/run/attempt 隔离,同组任务排队执行。
生产 COS 前缀、网页 rsync 路径和 /servers/copyboard/ 服务部署路径保持不变;
COS 仅接收前端 dist,不会上传服务代码。
MIT