a diffing library for diffview. WIP...
升级到 Calcit 和 @calcit/procs 0.42.1 后,请重新安装依赖、编译并刷新。文本输入、Run 输出、原 Map 存档和页面 HUD 继续适用。 应用操作和 Reel 控制通过 ResolvedOp union 区分。Reel 面板直接接收独立控制回调,原存档结构保持兼容。
Reel 使用 State<Op, Store>。业务更新器接收具名操作。状态路径和顶层状态键统一使用 CursorKey = Tag | String | Number,已有 Map 或 Struct 存档仍在恢复时校验。恢复成功后才注册离页保存。
正式依赖为 Respo 0.19.5、Reel 0.11.0、Markdown 0.8.2、UI 0.15.2、JS-FFI 0.2.13,传递 Router 0.12.2。
Use calcit.cirru and deps.cirru; do not restore the retired compact.cirru
or package.cirru. Generated js-out/ is not committed.
Use Node 24 and Yarn 4.18.0. Install Calcit 0.42.1 and Caps 0.1.1 separately (the latter follows the official Caps installation); Corepack/Yarn does not install Caps. Strict dependency installation and the original type/test gates are retained. Browser and production acceptance remain separate from successful compilation.
Persistence retains the Map archive format and accepts existing Map/Struct archives through the checked Store boundary. The textarea callback receives a nominal RespoEvent, checks its value, dispatches one Enum operation and returns Unit. Tag/String/Number cursor paths and state payloads are preserved; other key kinds are rejected. No new test framework or copied COS verification script is introduced.
caps --strict --ci
yarn install --immutable
caps verify --toolchain
calcit calcit.cirru --check-only
VITE_BASE_URL=https://cos-sh.tiye.me/mvc-works/text-diff/ yarn build
node --test scripts/upgrade.test.mjsCOS verification uses the action's built-in public-base-url setting at exact
formal v1.2.0. Action tags resolve to the previously reviewed commits; their
movability is accepted by the user. Production paths, server deployment
directory and shared fonts/icons are unchanged. PR paths use
mvc-works/text-diff/pr/<number>/<run-id>/<attempt>/; PR and production upload
queues are separate, and stale production commits cannot overwrite current
resources. Canonical formatting and strict public-definition checks replace
the old migration quality budget. No copied upload checker, new test framework,
or compiler fix/proof rule is introduced. The known CDN certificate/public
access problem is not bypassed; upload success is not public verification.
Workflow https://github.com/mvc-works/calcit-workflow
MIT