@calcit/procs 0.13.61 → 0.13.63

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.
Binary file
@@ -0,0 +1,18 @@
1
+ # Keep network work outside the caps metadata lock
2
+
3
+ ## Context
4
+
5
+ `caps` resolves independent modules in parallel. A cache miss previously acquired the global `.metadata.lock` before cloning a repository and held the lock for the entire network operation. A clone lasting longer than the lock retry window caused otherwise independent workers to fail with a misleading lock timeout.
6
+
7
+ ## Change
8
+
9
+ - Keep the first cache lookup and metadata refresh under a short lock.
10
+ - Clone a missing repository into its process-unique temporary path without holding the global lock.
11
+ - Reacquire the lock only to resolve an installation race, atomically rename the clone into the content-addressed store, and update metadata.
12
+ - Preserve validation when another process installs the same commit first.
13
+
14
+ ## Verification
15
+
16
+ - Rust tests and strict Clippy pass.
17
+ - TypeScript compilation and the 17/17 agent-interface suite pass.
18
+ - A real cold-cache `caps --strict --ci` run over calcium-workflow's dependency graph cloned concurrent modules without a metadata-lock timeout.
@@ -0,0 +1,4 @@
1
+ # Release 0.13.62
2
+
3
+ - Publish the `caps` cold-cache concurrency fix so dependency upgrades do not hold the global metadata lock during network clones.
4
+ - Keep the Cargo and npm package versions aligned at 0.13.62.
@@ -0,0 +1,19 @@
1
+ # Link native async FFI procedures in JavaScript output
2
+
3
+ ## Context
4
+
5
+ The shared core Snapshot contains typed `FfiResponse` and `FfiTask` adapters. JS
6
+ codegen therefore imports their underlying registered procedure names even in
7
+ browser programs that never call the native-only APIs. The npm runtime omitted
8
+ those exports, so bundlers diagnosed statically undefined imports.
9
+
10
+ ## Change
11
+
12
+ - Export the response resolve/reject and task cancel names through the existing
13
+ JavaScript `unavailableProc` boundary.
14
+ - Assert that all generated async FFI procedure imports are linkable from the
15
+ compiled npm runtime.
16
+
17
+ Native behavior remains unchanged. The stubs only make the shared JS module
18
+ graph complete and retain the established unsupported-procedure behavior if a
19
+ native-only API is accidentally reached on JavaScript.
@@ -0,0 +1,4 @@
1
+ # Release 0.13.63
2
+
3
+ - Publish JavaScript runtime stubs for native-only async FFI procedures so generated core modules link without undefined-import warnings.
4
+ - Keep Cargo and npm package versions aligned at 0.13.63.
@@ -356,4 +356,7 @@ export declare let macroexpand_all: () => void;
356
356
  export declare let _$n_get_calcit_running_mode: () => void;
357
357
  export declare let _$n_get_def_doc: () => void;
358
358
  export declare let _$n_get_def_schema: () => void;
359
+ export declare let _$n_ffi_response_resolve: () => void;
360
+ export declare let _$n_ffi_response_reject: () => void;
361
+ export declare let _$n_ffi_task_cancel: () => void;
359
362
  export declare let raise: () => void;
@@ -2612,5 +2612,8 @@ export let macroexpand_all = unavailableProc;
2612
2612
  export let _$n_get_calcit_running_mode = unavailableProc;
2613
2613
  export let _$n_get_def_doc = unavailableProc;
2614
2614
  export let _$n_get_def_schema = unavailableProc;
2615
+ export let _$n_ffi_response_resolve = unavailableProc;
2616
+ export let _$n_ffi_response_reject = unavailableProc;
2617
+ export let _$n_ffi_task_cancel = unavailableProc;
2615
2618
  // already handled in code emitter
2616
2619
  export let raise = unavailableProc;
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@calcit/procs",
3
- "version": "0.13.61",
3
+ "version": "0.13.63",
4
4
  "main": "./lib/calcit.procs.mjs",
5
5
  "devDependencies": {
6
6
  "@types/node": "^25.7.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@calcit/procs",
3
- "version": "0.13.61",
3
+ "version": "0.13.63",
4
4
  "main": "./lib/calcit.procs.mjs",
5
5
  "devDependencies": {
6
6
  "@types/node": "^25.7.0",
@@ -2759,6 +2759,9 @@ export let macroexpand_all = unavailableProc;
2759
2759
  export let _$n_get_calcit_running_mode = unavailableProc;
2760
2760
  export let _$n_get_def_doc = unavailableProc;
2761
2761
  export let _$n_get_def_schema = unavailableProc;
2762
+ export let _$n_ffi_response_resolve = unavailableProc;
2763
+ export let _$n_ffi_response_reject = unavailableProc;
2764
+ export let _$n_ffi_task_cancel = unavailableProc;
2762
2765
 
2763
2766
  // already handled in code emitter
2764
2767
  export let raise = unavailableProc;