@calcit/procs 0.13.27 → 0.13.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/.yarn/install-state.gz +0 -0
  2. package/README.md +34 -34
  3. package/RFCs/02-04-runtime-traits-plan.md +1 -1
  4. package/RFCs/02-17-register-platform-api-rfc.md +1 -1
  5. package/RFCs/02-18-language-theory-evolution-plan.md +3 -3
  6. package/RFCs/03-05-function-schema-dual-track-rfc.md +3 -3
  7. package/RFCs/03-18-query-def-tree-show-chunked-display-plan.md +11 -11
  8. package/RFCs/04-13-type-slot-mechanism-rfc.md +10 -10
  9. package/RFCs/05-12-program-diff-rfc.md +7 -7
  10. package/RFCs/06-15-effects-graph-rfc.md +16 -16
  11. package/RFCs/07-06-semantic-tree-navigation-rfc.md +33 -33
  12. package/RFCs/07-19-doc-knowledge-index-rfc.md +15 -15
  13. package/RFCs/07-19-type-introspection-consistency-rfc.md +3 -3
  14. package/RFCs/07-26-agent-docs-and-evaluation-rfc.md +1 -1
  15. package/RFCs/07-26-agent-machine-protocol-rfc.md +5 -5
  16. package/RFCs/07-26-safe-structured-editing-rfc.md +4 -4
  17. package/RFCs/07-26-static-semantic-analysis-rfc.md +9 -9
  18. package/RFCs/07-28-git-module-store-rfc.md +4 -4
  19. package/RFCs/07-28-persistent-tree-cursor-rfc.md +54 -54
  20. package/RFCs/08-08-cross-backend-host-ffi-contracts-rfc.md +4 -4
  21. package/RFCs/08-14-architecture-scaffold-rfc.md +7 -7
  22. package/RFCs/08-14-todo-placeholder-rfc.md +2 -2
  23. package/RFCs/08-18-calcit-typed-js-ffi-boundary-rfc.md +2 -2
  24. package/RFCs/08-21-js-ffi-runtime-contract-validation-rfc.md +295 -0
  25. package/RFCs/08-21-setup-calcit-version-and-toolchain-contract-rfc.md +241 -0
  26. package/RFCs/08-21-static-type-system-evolution-roadmap.md +315 -0
  27. package/RFCs/08-21-type-quality-ci-adoption-rfc.md +272 -0
  28. package/RFCs/README.md +7 -4
  29. package/editing-history/20260820-1704-repository-maintenance-review.md +20 -0
  30. package/editing-history/20260821-1512-type-system-ecosystem-rfcs.md +25 -0
  31. package/editing-history/20260821-1648-type-quality-and-ffi-doc-hints.md +12 -0
  32. package/editing-history/202608211958-calcit-command-alias.md +6 -0
  33. package/editing-history/202608212018-cli-review-followups.md +4 -0
  34. package/editing-history/ARCHIVE.md +45 -4
  35. package/editing-history/README.md +3 -1
  36. package/history/202608212020-release-01328.md +5 -0
  37. package/lib/package.json +11 -11
  38. package/package.json +11 -11
  39. package/profiling/README.md +3 -3
  40. package/profiling/profile-once.sh +1 -1
  41. package/profiling/samply-once.sh +4 -4
  42. package/profiling/samply-summary.py +1 -1
  43. package/editing-history/2026-07-28-1346-edit-transaction.md +0 -27
  44. package/editing-history/2026-07-28-1454-persistent-tree-cursor.md +0 -30
  45. package/editing-history/2026-07-28-1651-cursor-focus-stack-clipboard.md +0 -30
  46. package/editing-history/2026-07-28-1719-cursor-navigation-search-selection.md +0 -21
  47. package/editing-history/2026-07-28-1958-agent-rfc-split.md +0 -14
  48. package/editing-history/2026-07-28-2004-cursor-editing-docs.md +0 -14
  49. package/editing-history/2026-07-28-2132-cursor-recoverable-clipboard.md +0 -18
  50. package/editing-history/2026-07-28-2151-cursor-native-structural-editing.md +0 -20
  51. package/editing-history/2026-07-28-2158-document-cursor-native-workflows.md +0 -13
  52. package/editing-history/2026-07-29-0022-add-cursor-cli-options.md +0 -7
  53. package/editing-history/2026-07-29-0022-audit-cursor-development-scenarios.md +0 -6
  54. package/editing-history/2026-07-29-0022-complete-cursor-structural-edits.md +0 -8
  55. package/editing-history/2026-07-29-0022-document-cursor-edit-recipes.md +0 -8
  56. package/editing-history/2026-07-29-0022-edit-target-cursor-alias.md +0 -6
  57. package/editing-history/2026-07-29-0022-guide-agents-through-cursor-workflows.md +0 -7
  58. package/editing-history/2026-07-29-0022-query-from-active-cursor.md +0 -8
  59. package/editing-history/2026-07-29-0022-tree-target-cursor-alias.md +0 -5
  60. package/editing-history/202608021730-release-0.12.58.md +0 -5
  61. package/editing-history/202608021928-release-0.12.59.md +0 -5
  62. package/editing-history/202608082312-release-0.13.5.md +0 -10
  63. package/editing-history/202608090107-release-0.13.6.md +0 -10
  64. package/editing-history/202608091812-release-0.13.7.md +0 -8
  65. package/editing-history/202608101042-release-0.13.8.md +0 -6
  66. package/editing-history/202608101101-release-pr-workflow.md +0 -8
  67. package/editing-history/202608101102-release-doc-tracked-path.md +0 -5
  68. package/editing-history/202608110140-release-0.13.9.md +0 -4
  69. package/editing-history/202608111349-release-0.13.10.md +0 -13
  70. package/editing-history/202608111650-release-0.13.11.md +0 -5
  71. package/editing-history/202608121900-release-0.13.12.md +0 -5
  72. package/editing-history/202608130003-release-0.13.13.md +0 -9
  73. package/editing-history/202608131650-release-0.13.15.md +0 -10
  74. package/editing-history/20260816-0254-release-0.13.17.md +0 -5
  75. package/editing-history/20260817-0006-release-0-13-18.md +0 -6
  76. package/editing-history/202608171118-project-module-runtime-resolution.md +0 -6
  77. package/editing-history/202608171133-visible-module-versions-and-cleanup.md +0 -6
  78. package/editing-history/202608171140-module-caches-root.md +0 -5
  79. package/editing-history/202608171200-module-cache-review-follow-up.md +0 -5
  80. package/editing-history/202608171205-release-0-13-19.md +0 -4
  81. package/editing-history/202608171215-module-path-resolution-docs.md +0 -4
  82. package/editing-history/202608171409-module-cache-review-followup.md +0 -5
  83. package/editing-history/202608171427-module-cache-review-followup-locking.md +0 -5
  84. package/editing-history/202608171438-module-docs-home-lock.md +0 -4
  85. package/editing-history/202608171611-dependency-audit-review.md +0 -4
  86. package/editing-history/202608181000-release-0-13-20.md +0 -5
  87. package/editing-history/202608181930-release-0-13-21.md +0 -5
@@ -1,13 +0,0 @@
1
- # Release 0.13.10
2
-
3
- Release the agent migration convergence improvements merged in PR #333:
4
-
5
- - quoted Cirru import-list input for `cr edit imports`;
6
- - safe transaction round-tripping for quoted empty lists;
7
- - revision support for leaf examples and definition-attached tests;
8
- - a larger codegen worker stack for finite real-world module graphs;
9
- - corrected tree path help and serialized snapshot mutation guidance.
10
-
11
- The changes were validated against the Respo dependency chain without Lilac or
12
- the external `calcit-test` module, in addition to the full Calcit Rust, native,
13
- JavaScript, agent-interface, and WASM gates.
@@ -1,5 +0,0 @@
1
- ## Release 0.13.11
2
-
3
- - Bump the Cargo crate and `@calcit/procs` package together so published artifacts stay version-aligned.
4
- - This release includes trailing `Option` parameter sugar, stronger typed Option/struct handling, and the terminating JS string replacement fix from the preceding merged PRs.
5
- - Run the full repository validation before tagging and publishing the release.
@@ -1,5 +0,0 @@
1
- # Release 0.13.12
2
-
3
- - 合并类型指导与 Dynamic 审计能力,强化 Option/Result 的组合式使用建议。
4
- - 支持 `Struct :field value` 类型化构造语法,省略的 `Option<T>` 字段自动补为 `%none`。
5
- - 更新 Struct、Agent 和类型系统相关文档及回归测试。
@@ -1,9 +0,0 @@
1
- # release 0.13.13 from caps module-store branch
2
-
3
- ## Summary
4
-
5
- - Released version `0.13.13` directly from `codex/caps-project-module-store`
6
- while keeping the feature branch unmerged, as requested.
7
- - Kept the Rust crate, npm package, and workspace lockfile versions aligned.
8
- - The branch had already passed PR CI; the release update was additionally
9
- checked with formatting and the `caps` test suite.
@@ -1,10 +0,0 @@
1
- # Release Calcit 0.13.15
2
-
3
- ## Change summary
4
-
5
- - Released the merged `decode-map-as` runtime decoder and its core snapshot metadata, examples, and tests.
6
- - Kept Cargo and npm package versions synchronized at `0.13.15` for the direct-main release workflow.
7
-
8
- ## Knowledge point
9
-
10
- Version-only release changes are allowed directly on `main`; the functional implementation was merged and validated before this release commit. The release tag is created from the synchronized `main` commit so Cargo and npm publish the same version.
@@ -1,5 +0,0 @@
1
- # Release 0.13.17
2
-
3
- - PR #358 已合并到 `main`,包含嵌套 Struct 类型上下文修复、typed Struct 访问引导、项目源码迁移告警边界和 `.calcit/snippets/` 路径提示。
4
- - Cargo 与 npm 包版本同步从 `0.13.16` 升至 `0.13.17`,并执行 `cargo update --workspace` 更新 `Cargo.lock`。
5
- - 本次 release commit 位于已验证的 `main`,后续从该提交创建不带 `v` 前缀的 `0.13.17` tag 并发布 GitHub Release。
@@ -1,6 +0,0 @@
1
- # 2026-08-17 00:06 发布 0.13.18
2
-
3
- - PR #363 已合并到 `main`,修复宏展开字段告警的源码位置误判。
4
- - 将 `Cargo.toml` 与 `package.json` 版本统一升级到 `0.13.18`。
5
- - 执行 `cargo update --workspace` 同步 `Cargo.lock`,依赖版本无变化。
6
- - 后续从已同步的 `main` 创建并推送不带 `v` 前缀的 `0.13.18` tag,触发 crates.io 与 npm 发布。
@@ -1,6 +0,0 @@
1
- # Project module runtime resolution
2
-
3
- - `caps` already stores immutable dependency revisions in `~/.config/calcit/modules/.store/` and builds the project's `.calcit/modules/` link view.
4
- - Runtime loaders must consume only that project view. Retaining a global module fallback can silently run a dependency revision that was not selected by the project's dependency graph.
5
- - Centralize the project module directory calculation in `calcit::project_module_folder`, then use it for normal execution, WASM codegen, queries, configuration inspection, markdown checks, call-graph comparison, and the Cirru integration harness.
6
- - Keep explicitly relative and absolute module paths working; only package-style module paths are constrained to the project view.
@@ -1,6 +0,0 @@
1
- # Visible module versions and cache cleanup
2
-
3
- - Store immutable module revisions under `~/.config/calcit/modules/versions/` instead of a hidden `.store/` directory, retaining the owner, repository, and resolved commit in the path.
4
- - Write `metadata.txt` beside each cached revision so the requested reference remains inspectable and global cleanup can select the highest SemVer release without a network request. When one commit is observed through multiple refs, retain the highest observed SemVer ref for cleanup ordering.
5
- - Add `caps clean` as an explicit global cleanup command. It preserves one newest revision per module (SemVer takes precedence; materialization time breaks non-SemVer ties) and removes older revision directories.
6
- - Rewrite `~/.config/calcit/modules/AGENTS.md` on each `caps` invocation. The guide treats `versions/` as immutable cache data and directs dependency changes through a repository commit, new tag, dependency update, and reinstall.
@@ -1,5 +0,0 @@
1
- # Module caches root
2
-
3
- - Move the global immutable cache from the nested `modules/versions/` proposal to the clearer sibling path `~/.config/calcit/module-caches/`.
4
- - Keep `~/.config/calcit/modules/` reserved for the legacy module root and per-project link vocabulary; `module-caches/AGENTS.md` is the authoritative generated guidance for cached revisions.
5
- - Derive the cache root as a sibling of `CALCIT_MODULES_DIR`, so custom test and CI roots preserve the same `modules/` plus `module-caches/` layout.
@@ -1,5 +0,0 @@
1
- # Module cache review follow-up
2
-
3
- - Scope `cr docs` module documentation and scope discovery to the current project's `.calcit/modules/` directory, removing the final global fallback.
4
- - Register each successfully materialized project module view in `module-caches/projects/`; global cleanup preserves every cached revision that remains linked by one of those views.
5
- - When a cached commit is later resolved through a SemVer tag, refresh its metadata with the highest observed SemVer ref so cleanup ordering stays correct.
@@ -1,4 +0,0 @@
1
- # Release 0.13.19
2
-
3
- - Publish the project-scoped module resolution, visible `module-caches` store, safe cleanup, and documentation fixes from PR #364.
4
- - Keep Cargo and npm package versions synchronized at `0.13.19` for the direct PR-branch release.
@@ -1,4 +0,0 @@
1
- # Module path resolution documentation
2
-
3
- - Clarify that project-local `.calcit/modules/` links are mandatory only for package-style module paths.
4
- - Preserve the documented behavior of explicit relative paths (resolved from the snapshot) and absolute paths (resolved directly).
@@ -1,5 +0,0 @@
1
- # Module cache review follow-up
2
-
3
- - Added a shared inter-process metadata lock for cache revision metadata updates and cleanup scans, preventing concurrent `caps` processes from losing the highest observed SemVer reference.
4
- - Made project-view installation transactional across module links and `caps-state.cirru`; registration failures now restore the previous view and state before returning an error.
5
- - Added concurrency and rollback regression tests, and routed module documentation tests through project-root-aware resolver helpers so the production path is covered.
@@ -1,5 +0,0 @@
1
- # Module cache locking follow-up
2
-
3
- - Replaced removable lock files with OS-managed `fs4` locks, so ownership is released when the handle or process exits on every supported platform.
4
- - Held the cache lock across revision installation and metadata publication, and added a project-scoped lock spanning module view activation, state replacement, registration, rollback, and cleanup.
5
- - Isolated the documentation fallback regression test against the actual `$HOME/.config/calcit/modules` layout without leaking the test environment.
@@ -1,4 +0,0 @@
1
- # 2026-08-17 14:38 — Serialize documentation HOME access
2
-
3
- - Shared the documentation test HOME mutex between `TestHome` and tests that read the guidebook through the process environment.
4
- - Guarded `collect_docs_for_query_uses_guidebook_without_module` so it cannot race with tests that temporarily replace `HOME`.
@@ -1,4 +0,0 @@
1
- # Address dependency audit documentation review
2
-
3
- - Clarified that `docs check-md --entry` takes a snapshot filename, unlike named-entry selection in `config modules` and top-level `--check-only`.
4
- - Recorded Markdown validation for both changed dependency-audit documents.
@@ -1,5 +0,0 @@
1
- # Release 0.13.20
2
-
3
- - Publish the typed JavaScript FFI capability boundary and browser/Node target validation from PR #367.
4
- - Reorganize and expand the JavaScript FFI documentation, including adapter design, diagnostics, and release checks.
5
- - Keep Cargo and npm package versions synchronized at `0.13.20` for the direct PR-branch release.
@@ -1,5 +0,0 @@
1
- # Release 0.13.21
2
-
3
- - Publish the typed JavaScript FFI boundary and the related struct/enum type-resolution fixes merged from PR #367.
4
- - Improve migration diagnostics for projects moving their version field to `deps.cirru`.
5
- - Keep Cargo and npm package versions synchronized at `0.13.21`.