@calcit/procs 0.12.53 → 0.12.55

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 (48) hide show
  1. package/.yarn/install-state.gz +0 -0
  2. package/README.md +12 -12
  3. package/RFCs/04-13-type-slot-mechanism-rfc.md +519 -115
  4. package/RFCs/04-16-wasm-data-structures.md +1 -1
  5. package/RFCs/07-26-agent-docs-and-evaluation-rfc.md +33 -0
  6. package/RFCs/07-26-agent-machine-protocol-rfc.md +102 -0
  7. package/RFCs/07-26-safe-structured-editing-rfc.md +66 -0
  8. package/RFCs/07-26-static-semantic-analysis-rfc.md +105 -0
  9. package/RFCs/07-28-git-module-store-rfc.md +59 -0
  10. package/RFCs/07-28-persistent-tree-cursor-rfc.md +287 -0
  11. package/RFCs/README.md +9 -3
  12. package/build.rs +89 -7
  13. package/editing-history/2026-07-28-1346-edit-transaction.md +27 -0
  14. package/editing-history/2026-07-28-1454-persistent-tree-cursor.md +30 -0
  15. package/editing-history/2026-07-28-1651-cursor-focus-stack-clipboard.md +30 -0
  16. package/editing-history/2026-07-28-1719-cursor-navigation-search-selection.md +21 -0
  17. package/editing-history/2026-07-28-1958-agent-rfc-split.md +14 -0
  18. package/editing-history/2026-07-28-2004-cursor-editing-docs.md +14 -0
  19. package/editing-history/2026-07-28-2132-cursor-recoverable-clipboard.md +18 -0
  20. package/editing-history/2026-07-28-2151-cursor-native-structural-editing.md +20 -0
  21. package/editing-history/2026-07-28-2158-document-cursor-native-workflows.md +13 -0
  22. package/editing-history/2026-07-29-0022-add-cursor-cli-options.md +7 -0
  23. package/editing-history/2026-07-29-0022-audit-cursor-development-scenarios.md +6 -0
  24. package/editing-history/2026-07-29-0022-complete-cursor-structural-edits.md +8 -0
  25. package/editing-history/2026-07-29-0022-document-cursor-edit-recipes.md +8 -0
  26. package/editing-history/2026-07-29-0022-echo-cursor-commands.md +6 -0
  27. package/editing-history/2026-07-29-0022-edit-target-cursor-alias.md +6 -0
  28. package/editing-history/2026-07-29-0022-guide-agents-through-cursor-workflows.md +7 -0
  29. package/editing-history/2026-07-29-0022-query-from-active-cursor.md +8 -0
  30. package/editing-history/2026-07-29-0022-tree-target-cursor-alias.md +5 -0
  31. package/editing-history/2026-07-29-1242-agent-guide-cold-start-validation.md +15 -0
  32. package/editing-history/2026-07-29-1242-cirru-quote-input-errors.md +13 -0
  33. package/editing-history/2026-07-29-1242-internal-wasm-doc-boundary.md +13 -0
  34. package/editing-history/2026-07-30-1130-pr-281-review-fixes.md +5 -0
  35. package/editing-history/20260729-1421-consolidate-local-state-and-cursor-tools.md +22 -0
  36. package/editing-history/20260729-1422-document-calcit-local-state.md +15 -0
  37. package/editing-history/20260729-1952-strengthen-polymorphism-diagnostics.md +21 -0
  38. package/editing-history/202607301429-entry-type-slots.md +29 -0
  39. package/editing-history/202607301435-release-0.12.54.md +22 -0
  40. package/editing-history/202607301620-program-diff-type-slots.md +6 -0
  41. package/editing-history/202607301959-unify-snapshot-entries.md +7 -0
  42. package/editing-history/202607310027-entry-description.md +7 -0
  43. package/editing-history/202607310032-initialize-entry-descriptions.md +6 -0
  44. package/editing-history/202607310041-entry-functions-as-symbols.md +7 -0
  45. package/editing-history/202607310052-release-0.12.55.md +5 -0
  46. package/lib/package.json +1 -1
  47. package/package.json +1 -1
  48. package/RFCs/07-26-agent-semantic-interface-roadmap-rfc.md +0 -793
Binary file
package/README.md CHANGED
@@ -31,20 +31,19 @@ Build and install with Rust:
31
31
  # get Rust
32
32
  curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
33
33
 
34
- # get Calcit
35
- cargo install calcit
34
+ # get Calcit user-facing tools
35
+ cargo install calcit --bin cr --bin caps
36
36
  ```
37
37
 
38
38
  Installed binaries:
39
39
 
40
- - `calcit`, the runtime and js compiler
41
- - `cr-wasm`, standalone WASM codegen tool
40
+ - `cr`, the runtime and JS compiler
42
41
  - `caps`, for downloading dependencies declared in `deps.cirru`
43
42
 
44
- When installing from source, explicitly include both runners:
43
+ When installing from source, install the same public tools:
45
44
 
46
45
  ```bash
47
- cargo install --path . --bin cr --bin cr-wasm --bin caps
46
+ cargo install --path . --bin cr --bin caps
48
47
  ```
49
48
 
50
49
  To use Calcit in GitHub Actions, try [setup-cr](https://github.com/calcit-lang/setup-cr).
@@ -140,8 +139,9 @@ Run `caps` to download. Sources are downloaded into `~/.config/calcit/modules/`.
140
139
  To load modules, use `:modules` configuration and the runtime snapshot file `calcit.cirru` (legacy: `compact.cirru`):
141
140
 
142
141
  ```cirru
143
- :configs $ {}
144
- :modules $ [] |memof/calcit.cirru |lilac/
142
+ :entries $ {}
143
+ :default $ {}
144
+ :modules $ [] |memof/calcit.cirru |lilac/
145
145
  ```
146
146
 
147
147
  Paths defined in `:modules` field are just loaded as files from `~/.config/calcit/modules/`,
@@ -163,9 +163,9 @@ cargo run --bin cr -- calcit/test.cirru js && yarn try-js
163
163
  # run snippet
164
164
  cargo run --bin cr -- eval 'range 100'
165
165
 
166
- cr calcit.cirru ir # compiles intermediate representation into program-ir.cirru
167
-
168
- cr-wasm calcit/test-wasm.cirru # compile standalone wasm target to js-out/program.wasm
166
+ # internal compiler/WASM validation when working on this repository
167
+ cargo run --bin cr -- calcit/test.cirru ir
168
+ yarn try-wasm
169
169
  ```
170
170
 
171
171
  For repository development, the usual validation flow is:
@@ -184,7 +184,7 @@ yarn check-all
184
184
 
185
185
  Other tools:
186
186
 
187
- - [Error Viewer](https://github.com/calcit-lang/calcit-error-viewer) for displaying `.calcit-error.cirru`
187
+ - [Error Viewer](https://github.com/calcit-lang/calcit-error-viewer) for displaying `.calcit/error.cirru`
188
188
  - [IR Viewer](https://github.com/calcit-lang/calcit-ir-viewer) for rendering `program-ir.cirru`
189
189
 
190
190
  Some resources: