@calcit/procs 0.9.18 → 0.9.20

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.
package/README.md CHANGED
@@ -94,6 +94,32 @@ Read more in [Minimal Calcit](https://github.com/calcit-lang/minimal-calcit/blob
94
94
 
95
95
  Read more in [Respo Calcit Workflow](https://github.com/calcit-lang/respo-calcit-workflow) to learn to create an MVC webpage with [Respo](http://respo-mvc.org/).
96
96
 
97
+ ### MCP (Model Context Protocol) Support
98
+
99
+ Calcit provides MCP server functionality for integration with AI assistants and development tools. The MCP server offers tools for:
100
+
101
+ - **Code Management**: Read, write, and modify Calcit namespaces and definitions
102
+ - **Project Operations**: Manage modules, dependencies, and configurations
103
+ - **Calcit Runner**: Start/stop background runner processes with incremental updates
104
+ - **Documentation**: Query API docs, reference materials, and dependency documentation
105
+
106
+ #### Incremental File Processing
107
+
108
+ When using the Calcit Runner through MCP:
109
+
110
+ 1. **Start Runner**: Use `start_calcit_runner` to launch the background process. This automatically:
111
+ - Creates a `.calcit-tmp/` directory
112
+ - Copies the current `compact.cirru` as a temporary baseline
113
+
114
+ 2. **Generate Incremental Updates**: After making changes to your code, use `generate_calcit_incremental` to:
115
+ - Compare current `compact.cirru` with the temporary baseline
116
+ - Generate a `.compact-inc.cirru` file with only the changes
117
+ - Apply incremental updates to the running process
118
+
119
+ 3. **Check Results**: After generating the incremental file, always check the runner logs using `grab_calcit_runner_logs` to verify that updates were applied successfully.
120
+
121
+ This workflow enables efficient hot-reloading during development without restarting the entire application.
122
+
97
123
  ### Modules
98
124
 
99
125
  `deps.cirru` declares dependencies that need to download, which correspond to repositories on GitHub. Specify a branch or a tag:
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@calcit/procs",
3
- "version": "0.9.18",
3
+ "version": "0.9.20",
4
4
  "main": "./lib/calcit.procs.mjs",
5
5
  "devDependencies": {
6
6
  "@types/node": "^24.1.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@calcit/procs",
3
- "version": "0.9.18",
3
+ "version": "0.9.20",
4
4
  "main": "./lib/calcit.procs.mjs",
5
5
  "devDependencies": {
6
6
  "@types/node": "^24.1.0",