@openclaw/matrix 2026.11.6 → 2026.11.7

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 (148) hide show
  1. package/dist/.setup/{approval-handler.runtime-CshxBDs7.mjs → approval-handler.runtime-LBvkygUK.mjs} +3 -3
  2. package/dist/.setup/{channel-OLndtGNE.mjs → channel-CHryi9FS.mjs} +7 -7
  3. package/dist/.setup/{channel.runtime-CFSou_MS.mjs → channel.runtime-DluXWaGb.mjs} +2 -2
  4. package/dist/.setup/{channel.setup-CqcEb6JR.mjs → channel.setup-BDbs0FLq.mjs} +2 -2
  5. package/dist/.setup/{cli-CkMedN4Y.mjs → cli-C7Jmy2x4.mjs} +6 -6
  6. package/dist/.setup/{cli-metadata-DN1E7yCf.mjs → cli-metadata-B0GHIn05.mjs} +1 -1
  7. package/dist/.setup/{client-Rlwtz1hG.mjs → client-mFRVrUt3.mjs} +1 -1
  8. package/dist/.setup/{draft-stream-DbTsJkoL.mjs → draft-stream-bVedfEB3.mjs} +1 -1
  9. package/dist/.setup/{exec-approvals-CiGrN-cV.mjs → exec-approvals-BeYF9-3o.mjs} +2 -2
  10. package/dist/.setup/{messages-DJDczJnC.mjs → messages-BqVczVlt.mjs} +2 -2
  11. package/dist/.setup/{monitor-ZDbuZRVB.mjs → monitor-BsSo3tCv.mjs} +29 -15
  12. package/dist/.setup/{onboarding-DwhMV1fp.mjs → onboarding-CoMpgTiK.mjs} +1 -1
  13. package/dist/.setup/{outbound-7iSmOloX.mjs → outbound-ntm0KOfK.mjs} +2 -2
  14. package/dist/.setup/{profile-update-Fu4u-aSC.mjs → profile-update-gC436enW.mjs} +8 -3
  15. package/dist/.setup/{reaction-events-CBltCP52.mjs → reaction-events-DTThoaJQ.mjs} +3 -3
  16. package/dist/.setup/{room-info-DFDDmkBC.mjs → room-info-CM3MKoh4.mjs} +3 -3
  17. package/dist/.setup/{send-DiS4anyi.mjs → send-DFB7JGg2.mjs} +6 -6
  18. package/dist/.setup/{setup-bootstrap-OfuocnF0.mjs → setup-bootstrap-razh2kSp.mjs} +2 -2
  19. package/dist/.setup/{setup-core-CEQJRnym.mjs → setup-core-BVbxltMM.mjs} +1 -1
  20. package/dist/.setup/setup-plugin-api-CQKySg7F.mjs +2 -0
  21. package/dist/.setup/{thread-bindings-BvoisBZE.mjs → thread-bindings-D5VJEDZV.mjs} +1 -1
  22. package/dist/.setup/{tool-actions-TYBYDIkj.mjs → tool-actions-DexlmVDf.mjs} +9 -9
  23. package/dist/.setup/{verification-BhFA9xF6.mjs → verification-B122bsH2.mjs} +1 -1
  24. package/dist/.source-module-urls/1cd4d4ff8d44e1c8b830932b44d7cf8a7f3350e09e169910e1d7a85e131b7bea.json +1 -1
  25. package/dist/api.js +4 -4
  26. package/dist/channel-plugin-api.js +1 -1
  27. package/dist/cli-metadata.js +1 -1
  28. package/dist/contract-api.js +2 -2
  29. package/dist/index.js +1 -1
  30. package/dist/plugin-entry.handlers.runtime.js +1 -1
  31. package/dist/session-binding-contract-api.js +1 -1
  32. package/dist/setup-entry.js +1 -1
  33. package/dist/setup-plugin-api.js +1 -1
  34. package/node_modules/@openclaw/fs-safe/CHANGELOG.md +45 -1
  35. package/node_modules/@openclaw/fs-safe/README.md +4 -0
  36. package/node_modules/@openclaw/fs-safe/dist/absolute-path.js +2 -2
  37. package/node_modules/@openclaw/fs-safe/dist/advanced.d.ts +2 -2
  38. package/node_modules/@openclaw/fs-safe/dist/advanced.js +2 -2
  39. package/node_modules/@openclaw/fs-safe/dist/archive-parser.wasm +0 -0
  40. package/node_modules/@openclaw/fs-safe/dist/atomic-io.d.ts +1 -0
  41. package/node_modules/@openclaw/fs-safe/dist/atomic-io.js +6 -0
  42. package/node_modules/@openclaw/fs-safe/dist/atomic.d.ts +1 -0
  43. package/node_modules/@openclaw/fs-safe/dist/directory-mode-node.d.ts +5 -0
  44. package/node_modules/@openclaw/fs-safe/dist/directory-mode-node.js +13 -0
  45. package/node_modules/@openclaw/fs-safe/dist/directory-mode-options.d.ts +3 -0
  46. package/node_modules/@openclaw/fs-safe/dist/directory-mode-options.js +6 -0
  47. package/node_modules/@openclaw/fs-safe/dist/errors.d.ts +1 -1
  48. package/node_modules/@openclaw/fs-safe/dist/errors.js +1 -0
  49. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-admission.d.ts +0 -1
  50. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-admission.js +1 -11
  51. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-acquire.js +3 -3
  52. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-stale-admission.js +2 -3
  53. package/node_modules/@openclaw/fs-safe/dist/file-store-boundary.d.ts +3 -3
  54. package/node_modules/@openclaw/fs-safe/dist/file-store-boundary.js +30 -4
  55. package/node_modules/@openclaw/fs-safe/dist/file-store-prune.d.ts +1 -1
  56. package/node_modules/@openclaw/fs-safe/dist/file-store-prune.js +7 -1
  57. package/node_modules/@openclaw/fs-safe/dist/file-store-sync-directory.d.ts +1 -1
  58. package/node_modules/@openclaw/fs-safe/dist/file-store-sync-directory.js +30 -4
  59. package/node_modules/@openclaw/fs-safe/dist/file-store-sync-write.d.ts +1 -1
  60. package/node_modules/@openclaw/fs-safe/dist/file-store-sync-write.js +2 -0
  61. package/node_modules/@openclaw/fs-safe/dist/file-store.d.ts +2 -1
  62. package/node_modules/@openclaw/fs-safe/dist/file-store.js +5 -0
  63. package/node_modules/@openclaw/fs-safe/dist/guarded-mkdir.d.ts +2 -0
  64. package/node_modules/@openclaw/fs-safe/dist/guarded-mkdir.js +9 -0
  65. package/node_modules/@openclaw/fs-safe/dist/json-store.d.ts +2 -1
  66. package/node_modules/@openclaw/fs-safe/dist/native-binding.d.ts +4 -1
  67. package/node_modules/@openclaw/fs-safe/dist/native-pinned-write.js +1 -1
  68. package/node_modules/@openclaw/fs-safe/dist/native-staged-file.d.ts +1 -1
  69. package/node_modules/@openclaw/fs-safe/dist/native-staged-file.js +19 -13
  70. package/node_modules/@openclaw/fs-safe/dist/overwrite-file-handle.d.ts +2 -0
  71. package/node_modules/@openclaw/fs-safe/dist/overwrite-file-handle.js +27 -5
  72. package/node_modules/@openclaw/fs-safe/dist/path-prefix.d.ts +1 -0
  73. package/node_modules/@openclaw/fs-safe/dist/path-prefix.js +84 -7
  74. package/node_modules/@openclaw/fs-safe/dist/pinned-write-input.js +0 -11
  75. package/node_modules/@openclaw/fs-safe/dist/prepare-directory-mode.d.ts +9 -0
  76. package/node_modules/@openclaw/fs-safe/dist/prepare-directory-mode.js +61 -0
  77. package/node_modules/@openclaw/fs-safe/dist/private-temp-workspace.js +2 -1
  78. package/node_modules/@openclaw/fs-safe/dist/realpath.d.ts +2 -0
  79. package/node_modules/@openclaw/fs-safe/dist/realpath.js +16 -0
  80. package/node_modules/@openclaw/fs-safe/dist/replace-file-descriptor.d.ts +2 -1
  81. package/node_modules/@openclaw/fs-safe/dist/replace-file-descriptor.js +8 -6
  82. package/node_modules/@openclaw/fs-safe/dist/replace-file-types.d.ts +2 -1
  83. package/node_modules/@openclaw/fs-safe/dist/replace-file.js +20 -13
  84. package/node_modules/@openclaw/fs-safe/dist/root-context.js +4 -1
  85. package/node_modules/@openclaw/fs-safe/dist/root-create-native.d.ts +1 -1
  86. package/node_modules/@openclaw/fs-safe/dist/root-create-native.js +18 -9
  87. package/node_modules/@openclaw/fs-safe/dist/root-errors.d.ts +2 -0
  88. package/node_modules/@openclaw/fs-safe/dist/root-errors.js +9 -0
  89. package/node_modules/@openclaw/fs-safe/dist/root-impl.js +4 -1
  90. package/node_modules/@openclaw/fs-safe/dist/root-mkdir-native.d.ts +1 -1
  91. package/node_modules/@openclaw/fs-safe/dist/root-mkdir-native.js +35 -16
  92. package/node_modules/@openclaw/fs-safe/dist/root-path-existing.d.ts +6 -2
  93. package/node_modules/@openclaw/fs-safe/dist/root-path-existing.js +32 -20
  94. package/node_modules/@openclaw/fs-safe/dist/root-path.js +32 -26
  95. package/node_modules/@openclaw/fs-safe/dist/root-write-admission.js +4 -1
  96. package/node_modules/@openclaw/fs-safe/dist/secret-file.d.ts +2 -1
  97. package/node_modules/@openclaw/fs-safe/dist/secret-file.js +2 -0
  98. package/node_modules/@openclaw/fs-safe/dist/sibling-temp.d.ts +2 -1
  99. package/node_modules/@openclaw/fs-safe/dist/sibling-temp.js +5 -4
  100. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-policy.d.ts +3 -2
  101. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-policy.js +8 -9
  102. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-stale-admission.js +3 -1
  103. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-types.d.ts +2 -1
  104. package/node_modules/@openclaw/fs-safe/dist/text-atomic.d.ts +2 -1
  105. package/node_modules/@openclaw/fs-safe/dist/types.d.ts +1 -0
  106. package/node_modules/@openclaw/fs-safe/dist/watch-hints.js +12 -3
  107. package/node_modules/@openclaw/fs-safe/dist/windows-security-helper.exe +0 -0
  108. package/node_modules/@openclaw/fs-safe/dist/write-file-handle.d.ts +0 -1
  109. package/node_modules/@openclaw/fs-safe/dist/write-file-handle.js +10 -12
  110. package/node_modules/@openclaw/fs-safe/docs/advanced.md +3 -3
  111. package/node_modules/@openclaw/fs-safe/docs/atomic.md +16 -3
  112. package/node_modules/@openclaw/fs-safe/docs/compiler-qualification.md +1 -1
  113. package/node_modules/@openclaw/fs-safe/docs/contributing.md +27 -18
  114. package/node_modules/@openclaw/fs-safe/docs/errors.md +3 -1
  115. package/node_modules/@openclaw/fs-safe/docs/file-store.md +14 -2
  116. package/node_modules/@openclaw/fs-safe/docs/in-place-write.md +31 -0
  117. package/node_modules/@openclaw/fs-safe/docs/install.md +1 -1
  118. package/node_modules/@openclaw/fs-safe/docs/json-store.md +6 -1
  119. package/node_modules/@openclaw/fs-safe/docs/json.md +5 -1
  120. package/node_modules/@openclaw/fs-safe/docs/path-prefix.md +14 -4
  121. package/node_modules/@openclaw/fs-safe/docs/public-api.md +4 -2
  122. package/node_modules/@openclaw/fs-safe/docs/secret-file.md +5 -1
  123. package/node_modules/@openclaw/fs-safe/docs/sidecar-lock.md +4 -0
  124. package/node_modules/@openclaw/fs-safe/docs/temp.md +9 -1
  125. package/node_modules/@openclaw/fs-safe/docs/types.md +5 -1
  126. package/node_modules/@openclaw/fs-safe/package.json +12 -12
  127. package/node_modules/@openclaw/fs-safe-darwin-arm64/fs-safe-native.node +0 -0
  128. package/node_modules/@openclaw/fs-safe-darwin-arm64/package.json +1 -1
  129. package/node_modules/@openclaw/fs-safe-darwin-x64/fs-safe-native.node +0 -0
  130. package/node_modules/@openclaw/fs-safe-darwin-x64/package.json +1 -1
  131. package/node_modules/@openclaw/fs-safe-freebsd-arm64/fs-safe-native.node +0 -0
  132. package/node_modules/@openclaw/fs-safe-freebsd-arm64/package.json +1 -1
  133. package/node_modules/@openclaw/fs-safe-freebsd-x64/fs-safe-native.node +0 -0
  134. package/node_modules/@openclaw/fs-safe-freebsd-x64/package.json +1 -1
  135. package/node_modules/@openclaw/fs-safe-linux-arm64-gnu/fs-safe-native.node +0 -0
  136. package/node_modules/@openclaw/fs-safe-linux-arm64-gnu/package.json +1 -1
  137. package/node_modules/@openclaw/fs-safe-linux-arm64-musl/fs-safe-native.node +0 -0
  138. package/node_modules/@openclaw/fs-safe-linux-arm64-musl/package.json +1 -1
  139. package/node_modules/@openclaw/fs-safe-linux-x64-gnu/fs-safe-native.node +0 -0
  140. package/node_modules/@openclaw/fs-safe-linux-x64-gnu/package.json +1 -1
  141. package/node_modules/@openclaw/fs-safe-linux-x64-musl/fs-safe-native.node +0 -0
  142. package/node_modules/@openclaw/fs-safe-linux-x64-musl/package.json +1 -1
  143. package/node_modules/@openclaw/fs-safe-win32-arm64-msvc/fs-safe-native.node +0 -0
  144. package/node_modules/@openclaw/fs-safe-win32-arm64-msvc/package.json +1 -1
  145. package/node_modules/@openclaw/fs-safe-win32-x64-msvc/fs-safe-native.node +0 -0
  146. package/node_modules/@openclaw/fs-safe-win32-x64-msvc/package.json +1 -1
  147. package/package.json +5 -5
  148. package/dist/.setup/setup-plugin-api-4hHy1k4x.mjs +0 -2
@@ -23,6 +23,16 @@ bits still require descriptor mode correction before publication.
23
23
 
24
24
  On POSIX, the parent is opened with no-follow and directory-only flags, checked against its exact pre-open device/inode identity, and mode-adjusted through that descriptor. A replacement symlink is rejected rather than followed. If the directory cannot be opened for descriptor access, the operation fails closed instead of retrying by pathname. Windows does not enforce POSIX directory modes and Node cannot consistently open directory descriptors there, so `dirMode` is passed only to `mkdir`; no pathname `chmod` fallback is attempted.
25
25
 
26
+ Pass `dirMode: "preserve"` when the parent is shared or owned by another user.
27
+ A verified existing parent is still opened and identity-checked, but no chmod
28
+ or mode-equality probe is attempted. Each directory the operation exclusively
29
+ creates finishes at `0o700`, independent of umask; a concurrent `mkdir` winner
30
+ is verified as an existing directory and left unchanged. On Windows,
31
+ `"preserve"` uses the default mkdir mode (`0o700`) without POSIX mode enforcement.
32
+ Omitted and numeric values retain their current behavior, including tightening
33
+ an existing parent to `0o700` by default. File `mode` and `preserveExistingMode`
34
+ are independent of this directory policy.
35
+
26
36
  Async replacements to the same destination are serialized inside the current process, so two overlapping `replaceFileAtomic()` calls do not interleave their temp-write/rename phases. Use a sidecar lock when multiple processes may write the same target.
27
37
 
28
38
  Relative paths retain their literal suffix so `.` and `..` keep Node's existing
@@ -51,7 +61,7 @@ await replaceFileAtomic({
51
61
  type ReplaceFileAtomicOptions = {
52
62
  filePath: string; // destination
53
63
  content: string | Uint8Array;
54
- dirMode?: number; // parent-directory mode (POSIX; default 0o700)
64
+ dirMode?: number | "preserve"; // parent policy (POSIX; default 0o700)
55
65
  mode?: number; // new-file mode (default 0o600)
56
66
  preserveExistingMode?: boolean; // inherit existing regular-file rwx bits; default false
57
67
  tempPrefix?: string; // default ".fs-safe-replace"
@@ -406,7 +416,7 @@ Options:
406
416
  ```ts
407
417
  type WriteTextAtomicOptions = {
408
418
  mode?: number; // file mode (default 0o600)
409
- dirMode?: number; // parent mode (default 0o777 masked by process umask)
419
+ dirMode?: number | "preserve"; // parent policy (default 0o777 masked by process umask)
410
420
  trailingNewline?: boolean; // append "\n" if missing; default false
411
421
  durable?: boolean; // default true; false skips temp/parent fsync
412
422
  beforeRename?: (params: { filePath: string; tempPath: string }) => Promise<void>;
@@ -424,6 +434,9 @@ separators.
424
434
  temp-file and parent-directory `fsync` calls. Use it only for reconstructible
425
435
  metadata where lower latency matters more than crash-durability.
426
436
 
437
+ `dirMode: "preserve"` has the same existing-parent and new-directory behavior
438
+ as `replaceFileAtomic`, including its `0o700` creation default.
439
+
427
440
  ## `movePathWithCopyFallback`
428
441
 
429
442
  Rename a path. If the rename fails with `EXDEV` (cross-device), or `EPERM` on
@@ -612,7 +625,7 @@ type ReplaceFileAtomicSyncFileSystem = {
612
625
  };
613
626
  ```
614
627
 
615
- The async interface already requires `open()`, whose `FileHandle` supplies `chmod()`, so injecting `node:fs` or another conforming adapter needs no new async member. The async temp owner consumes its retained handle before awaiting `close()` during publication handoff and terminal settlement: if a custom adapter releases the resource and then rejects, that rejection is reported without calling `close()` on the same retained handle again. If publication verification opened a replacement handle before the previous retained handle failed to close, the replacement receives one best-effort close attempt. On POSIX, `open()` must support no-follow directory descriptors as Node does. A custom synchronous filesystem that passes `mode`, `dirMode`, or `preserveExistingMode` must supply `fchmodSync`; omission fails before any file or directory is created and never falls back to a pathname `chmod`. Existing synchronous adapters that request none of those options may omit it; their parent is still opened and identity-checked through a no-follow directory descriptor. Injecting plain `node:fs` supports explicit file and directory modes. Copy fallback applies the file mode through its pinned destination descriptor as well, preserving exact modes despite the process umask.
628
+ The async interface already requires `open()`, whose `FileHandle` supplies `chmod()`, so injecting `node:fs` or another conforming adapter needs no new async member. The async temp owner consumes its retained handle before awaiting `close()` during publication handoff and terminal settlement: if a custom adapter releases the resource and then rejects, that rejection is reported without calling `close()` on the same retained handle again. If publication verification opened a replacement handle before the previous retained handle failed to close, the replacement receives one best-effort close attempt. On POSIX, `open()` must support no-follow directory descriptors as Node does. A custom synchronous filesystem that passes `mode`, numeric `dirMode`, or `preserveExistingMode` must supply `fchmodSync`; omission fails before any file or directory is created and never falls back to a pathname `chmod`. With `dirMode: "preserve"`, it may omit `fchmodSync` only if every parent already exists and no explicit file mode or file-mode preservation is requested; a missing parent fails before creation. Existing synchronous adapters that request none of those options may omit it; their parent is still opened and identity-checked through a no-follow directory descriptor. Injecting plain `node:fs` supports explicit file and directory modes. Copy fallback applies the file mode through its pinned destination descriptor as well, preserving exact modes despite the process umask.
616
629
 
617
630
  ## See also
618
631
 
@@ -323,7 +323,7 @@ Keep compiler adoption separate from these qualification tools.
323
323
  ## Platform and clean-output campaign
324
324
 
325
325
  `compiler-qualification.yml` runs the published tsc-ts 0.0.2 native package on
326
- Linux, macOS, and Windows with Node 24.19.0. It records npm lockfile integrity,
326
+ Linux, macOS, and Windows with Node 24.22.1. It records npm lockfile integrity,
327
327
  native executable hashes, the exact checkout commit, and toolchain versions.
328
328
  Windows uses the existing x64 CI runner; upstream 0.0.2 has no Windows ARM64
329
329
  package. The npm launcher gets a separate smoke check using its default libraries.
@@ -120,8 +120,8 @@ release addon build compile it for `aarch64-pc-windows-msvc`. Bzip2 uses
120
120
  The portable WASM build uses the checksum-pinned x64 WASI SDK under Windows
121
121
  emulation because that SDK has no Windows ARM64 host archive. Its compiler and
122
122
  archiver produce wasm32 only; the addon still uses MSVC for the selected target.
123
- Bun 1.4.2 has no Windows ARM64 artifact; the existing Windows x64 Bun lanes remain
124
- the Bun runtime proof. Native Windows ARM64 support is qualified with Node.
123
+ The existing Windows x64 Bun lanes provide the Bun runtime proof. Native Windows
124
+ ARM64 support is qualified with Node.
125
125
 
126
126
  ## Test
127
127
 
@@ -154,7 +154,7 @@ After building on Linux, `node scripts/check-pack.mjs --guest-cross-device`
154
154
  also proves an installed-package directory move from temporary storage to
155
155
  `/dev/shm`; the command requires those locations to be different filesystems.
156
156
 
157
- With Bun 1.4.2 installed, build the host addon and run the native compatibility
157
+ With Bun 1.4.4 installed, build the host addon and run the native compatibility
158
158
  lane in real Bun workers, then exercise the built package with JIT disabled:
159
159
 
160
160
  ```bash
@@ -210,7 +210,7 @@ temporary storage; session scratch trees may suppress macOS filesystem events.
210
210
  ### Optional Linux Testbox
211
211
 
212
212
  The manual `testbox-validation.yml` workflow prepares a 16-vCPU Ubuntu 24.04
213
- Blacksmith Testbox with Node 24.21.0, pnpm 12.10.1, dependencies, the Rust WASM
213
+ Blacksmith Testbox with Node 24.22.1, pnpm 12.15.0, dependencies, the Rust WASM
214
214
  target, and the pinned portable archive compiler. It leaves library builds and
215
215
  validation commands to the caller and does not replace required CI checks.
216
216
 
@@ -307,14 +307,14 @@ OS/CPU/libc selection, a native-required SHA-256 operation, and fresh-process
307
307
  optionals. Omitted-optionals installs also verify that all public subpaths can
308
308
  be imported, without implying every operation remains available.
309
309
 
310
- Host-only smoke supplies the seven foreign packages using their unchanged real
311
- manifests and clearly marked synthetic, non-executable payloads. Every foreign
310
+ Host-only smoke supplies foreign packages from the native target map using
311
+ their unchanged real manifests and clearly marked synthetic, non-executable payloads. Every foreign
312
312
  metadata/tarball endpoint is checked before installation, so a missing fixture
313
313
  cannot masquerade as successful platform filtering. These temporary fixtures
314
314
  never enter `packages/`, release artifacts, or the publish manifest. They prove
315
315
  installer filtering, not foreign native compilation or execution. Full release
316
- collection uses the actual eight collected native tarballs instead. Run it with
317
- `pnpm package:collect` after assembling all eight real bindings; missing targets
316
+ collection uses all actual collected native tarballs instead. Run it with
317
+ `pnpm package:collect` after assembling every mapped native binding; missing targets
318
318
  fail collection. `pnpm package:collect --allow-host-only` exercises the same
319
319
  lifecycle boundary locally but proves only the host. Both collection commands
320
320
  require the pnpm lifecycle CLI path; JavaScript CLIs run through Node and standalone
@@ -322,29 +322,38 @@ require the pnpm lifecycle CLI path; JavaScript CLIs run through Node and standa
322
322
  direct `node` invocation without lifecycle metadata is unsupported. Archive
323
323
  codecs and their dependencies are packed from the installed dependency graph.
324
324
 
325
- PR CI builds and executes all eight shipped bindings. The existing check names
325
+ CI's bundled-package producer runs `pnpm package:collect --allow-host-only --pack-only --output release-artifacts-package-smoke`
326
+ after building. Node 22/24 consumers use `pnpm package:smoke --packed-input <directory>`
327
+ to verify and install those same root and host tarballs. The input includes the
328
+ manifest and its clean source/host receipt; missing or mismatched input fails
329
+ without repacking. Consumer proof still goes to `--output` (default `release-artifacts`).
330
+ Both reuse modes require host-only collection; default release collection and
331
+ Windows signing continue to pack and verify their own artifacts.
332
+
333
+ PR CI builds and executes every mapped native binding. The existing check names
326
334
  stay stable; extra runner/runtime combinations add checks without changing the
327
335
  repository ruleset. Native lanes run Node 24; the GNU host lanes also exercise
328
- Bun 1.4.2 (as do macOS and Windows).
336
+ Bun 1.4.4 (as do macOS and Windows).
329
337
 
330
338
  | Lane | Runner | Architecture / libc | Runtime |
331
339
  | --- | --- | --- | --- |
332
340
  | JavaScript check | `ubuntu-latest` | x64 / glibc | Node 22, 24, 26 |
333
341
  | JavaScript check | `xcode-27` | arm64 | Node 22, 24, 26 |
334
- | JavaScript check | `fs-safe-windows-16core` (`windows-latest`) | x64 | Node 22, 24, 26 |
335
- | Native check | `ubuntu-latest` | x64 / glibc | Node 24, Bun 1.4.2 |
342
+ | JavaScript check | `windows-latest` (standard hosted) | x64 | Node 22, 24, 26 |
343
+ | Native check | `ubuntu-latest` | x64 / glibc | Node 24, Bun 1.4.4 |
336
344
  | Native check (forced no-openat2) | `ubuntu-latest` | x64 / glibc | Node 24 |
337
- | Native check | `ubuntu-24.04-arm` | arm64 / glibc | Node 24, Bun 1.4.2 |
338
- | Native check | `xcode-27` | arm64 | Node 24, Bun 1.4.2 |
339
- | Native check | `xcode-27` under Rosetta (`x64`) | x64 | Node 24, Bun 1.4.2 |
340
- | Native check | `fs-safe-windows-16core` (`windows-latest`) | x64 | Node 24, Bun 1.4.2 |
341
- | Native check | `windows-2022` (standard hosted) | x64 | Node 24, Bun 1.4.2 |
345
+ | Native check | `ubuntu-24.04-arm` | arm64 / glibc | Node 24, Bun 1.4.4 |
346
+ | Native check | `xcode-27` | arm64 | Node 24, Bun 1.4.4 |
347
+ | Native check | `xcode-27` under Rosetta (`x64`) | x64 | Node 24, Bun 1.4.4 |
348
+ | Native check | `windows-latest` (standard hosted) | x64 | Node 24, Bun 1.4.4 |
349
+ | Native check | `windows-2022` (standard hosted) | x64 | Node 24, Bun 1.4.4 |
342
350
  | Windows ARM64 host | `windows-11-arm` | arm64 native and x64 emulated | Node 24 |
343
351
  | Native check (Alpine 3.24) | `ubuntu-latest` | x64 / musl | Node 24 |
344
352
  | Native check (Alpine 3.24) | `ubuntu-24.04-arm` | arm64 / musl | Node 24 |
345
353
  | GNU glibc 2.28 build + Rocky Linux 8 load | `ubuntu-latest` | x64 / glibc | Node 24 |
346
354
  | GNU glibc 2.28 build + Rocky Linux 8 load | `ubuntu-24.04-arm` | arm64 / glibc | Node 24 |
347
- | Bundled package smoke | `ubuntu-latest`, `xcode-27`, `fs-safe-windows-16core` | host | Node 22, 24 |
355
+ | Bundled package build | `ubuntu-latest`, `xcode-27`, `windows-latest` (standard hosted) | host | Node 24 |
356
+ | Bundled package smoke (artifact consumers) | `ubuntu-latest`, `xcode-27`, `windows-latest` (standard hosted) | host | Node 22, 24 |
348
357
  | Coverage | `ubuntu-latest`, `xcode-27`, `fs-safe-windows-16core` | host | Node 22 |
349
358
 
350
359
  All macOS jobs use the arm64 `xcode-27` image. Required status-check names
@@ -102,7 +102,7 @@ filesystem boundary violation. Branch on the specific code when the distinction
102
102
  between those operational outcomes matters.
103
103
 
104
104
  The operational set is exactly `helper-failed`, `helper-unavailable`,
105
- `not-empty`, `not-found`, `not-removable`, `permission-unverified`, `read-failed`,
105
+ `not-empty`, `not-found`, `not-removable`, `permission-denied`, `permission-unverified`, `read-failed`,
106
106
  `timeout`, and `unsupported-platform`. Every other current `FsSafeErrorCode`, including
107
107
  `store-reentrant-update`, is categorized as `policy`.
108
108
 
@@ -126,6 +126,7 @@ type FsSafeErrorCode =
126
126
  | "outside-workspace"
127
127
  | "path-alias"
128
128
  | "path-mismatch"
129
+ | "permission-denied"
129
130
  | "permission-unverified"
130
131
  | "read-failed"
131
132
  | "secret-exists"
@@ -162,6 +163,7 @@ it is not an existing destination.
162
163
  | `outside-workspace` | Path resolves outside the configured root. | `..` traversal; absolute path outside the root; symlink resolved out. |
163
164
  | `path-alias` | A path alias check failed (e.g. canonical-real-path moved out of the root). | Symlink resolution lands outside the root. |
164
165
  | `path-mismatch` | Post-open identity check failed: the opened fd does not match the resolved path. | TOCTOU — something else swapped the path between resolve and open. |
166
+ | `permission-denied` | Root path resolution could not traverse or inspect a path because the OS returned `EACCES` or `EPERM`. | Check the named path and grant the process directory search/traversal access through ownership, group permissions, or ACLs; the original errno is retained as `cause`. No operation is permitted by this classification. |
165
167
  | `permission-unverified` | A secure file check could not verify required permissions. | Windows ACL inspection failed; POSIX ownership/mode was unavailable. |
166
168
  | `read-failed` | A validated file could not be read because of an operational filesystem or device failure. | I/O error, media failure, or another runtime read failure; inspect `cause`. |
167
169
  | `secret-exists` | `createSecretFileAtomic()` found an existing final path. | First-writer-wins secret creation lost a race or the credential was already initialized. |
@@ -36,7 +36,7 @@ const cache = fileStore({
36
36
  |---|---|---|
37
37
  | `rootDir` | Required | Store directory. |
38
38
  | `private` | `false` | Use the secret-file atomic path. |
39
- | `mode` / `dirMode` | `0o600` / `0o700` | File and parent-directory modes. |
39
+ | `mode` / `dirMode` | `0o600` / `0o700` | File and parent-directory modes; non-private stores also accept `dirMode: "preserve"`. |
40
40
  | `maxBytes` | Unset | Store read/write byte limit. |
41
41
  | `durable` | `true` | Sync the written file and its parent directory; see method support below. |
42
42
 
@@ -145,6 +145,18 @@ Writes use guarded sibling-temp publication: apply file and directory modes,
145
145
  then rename into place. By default, the file and parent directory are synced
146
146
  where supported by the platform and writer.
147
147
 
148
+ Non-private stores accept `dirMode: "preserve"` at construction or per write,
149
+ including streams, copies, and JSON writes. Verified existing root and parent
150
+ directories are never chmoded; each exclusively created directory finishes at
151
+ `0o700` on POSIX, including intermediate directories. Concurrent mkdir winners
152
+ are verified and preserved. The same policy applies when pruning creates a
153
+ missing store root. On Windows this uses mkdir's default handling.
154
+ Required-native stores retain handle-relative parent creation and finalize only
155
+ directories reported as exclusively created through their retained descriptors.
156
+ The TypeScript backend uses the guarded root walk with the same mode policy.
157
+ Private stores reject `"preserve"` with `FsSafeError("invalid-path")`, including
158
+ per-write overrides: their explicit permission policy must remain numeric.
159
+
148
160
  `durable: false` keeps the sibling-temp replace/rename behavior but skips the
149
161
  temp-file and parent-directory `fsync` calls. Use it only for reconstructible
150
162
  metadata where lower latency matters more than crash-durability. Per-call
@@ -265,7 +277,7 @@ it does not control the publication policy.
265
277
  ```ts
266
278
  type FileStoreWriteOptions = {
267
279
  durable?: boolean; // store default, otherwise true
268
- dirMode?: number;
280
+ dirMode?: number | "preserve";
269
281
  mode?: number;
270
282
  maxBytes?: number;
271
283
  tempPrefix?: string; // override the default "." + basename
@@ -63,6 +63,37 @@ calling `beforeWrite` again. This callback is a whole-operation admission point,
63
63
  not the per-mutation `assertBeforeMutation` callback used by Root operations.
64
64
  It must not change the file, handle, or payload. There is no cancellation option.
65
65
 
66
+ ## Awaited authority preparation
67
+
68
+ Use `overwriteFileHandleWithAuthority()` from `@openclaw/fs-safe/advanced` when
69
+ source validation requires awaited work immediately before admission:
70
+
71
+ ```ts
72
+ overwriteFileHandleWithAuthority(
73
+ handle: FileHandle,
74
+ data: Uint8Array,
75
+ prepareAuthority: () => Promise<() => void>,
76
+ ): Promise<void>;
77
+ ```
78
+
79
+ It reads handle metadata asynchronously, performs rollback-prefix preparation, then awaits
80
+ `prepareAuthority()` once. The preparer must return a synchronous assertion of
81
+ current authority. That assertion runs immediately before the first mutation,
82
+ with no intervening await. Missing assertions and Promise, thenable, or generator
83
+ assertion results reject before any write. Preparation or assertion failures
84
+ propagate unchanged. Once admitted, writing and recovery finish without another
85
+ authority check, exactly as for `overwriteFileHandle()`.
86
+
87
+ The caller owns off-thread validation: this helper does **not** move the preparer
88
+ or assertion to another worker. Use the preparer for worker-backed storage or
89
+ identity validation and the final assertion for current in-memory revocation or
90
+ revision checks. Do not call blocking storage work inside either callback and
91
+ assume that `await` offloads it. The handle, file, and payload ownership restrictions
92
+ above also apply while preparation is pending. This API does not alter Root's
93
+ per-mutation hooks or make the existing `beforeWrite` callback asynchronous.
94
+
95
+ ## Writing and recovery
96
+
66
97
  For growth, additional tail bytes are written before the existing prefix is
67
98
  touched. The prefix is then overwritten, completing partial writes. For shrinkage,
68
99
  truncation is last. If a write or truncation fails, the helper attempts to restore
@@ -33,7 +33,7 @@ node --version
33
33
 
34
34
  ## Bun runtime
35
35
 
36
- Bun 1.4.2 can run the same public APIs and load the matching native package.
36
+ Bun 1.4.4 can run the same public APIs and load the matching native package.
37
37
  On macOS and Linux, fs-safe uses its Rust N-API addon to call the system
38
38
  `realpath` implementation for native resolution. Ordinary resolution follows
39
39
  Node's component walk, including lexical normalization of expanded symlink
@@ -43,7 +43,7 @@ For ad-hoc read/write of multiple JSON files, use the standalone helpers in
43
43
  ```ts
44
44
  type JsonStoreOptions<T> = {
45
45
  filePath: string;
46
- dirMode?: number; // default 0o700
46
+ dirMode?: number | "preserve"; // default 0o700; preserve is rejected for private stores
47
47
  mode?: number; // default 0o600
48
48
  durable?: boolean; // default true
49
49
  trailingNewline?: boolean; // default true
@@ -120,6 +120,11 @@ const state = await store.readRequired();
120
120
 
121
121
  Atomic JSON write at `mode` (default `0o600`), creating parent dirs at `dirMode` (default `0o700`) if needed. When `lock: true` is set, takes the sidecar lock for the duration of the write.
122
122
 
123
+ `jsonStore` uses a private store and rejects `dirMode: "preserve"` with
124
+ `FsSafeError("invalid-path")`. Existing directories must match its numeric
125
+ permission policy. For shared directories, use `fileStore({ private: false,
126
+ dirMode: "preserve", ... }).json(...)` or standalone `writeJson`.
127
+
123
128
  ```ts
124
129
  await store.write({ ...state, lastSeen: Date.now() });
125
130
  ```
@@ -132,7 +132,7 @@ Options:
132
132
  ```ts
133
133
  type WriteJsonOptions = {
134
134
  mode?: number; // file mode (default 0o600)
135
- dirMode?: number; // mode for parent dirs created on demand
135
+ dirMode?: number | "preserve"; // parent policy; see atomic writes
136
136
  trailingNewline?: boolean; // append "\n" if missing (default false)
137
137
  durable?: boolean; // default true; false skips temp/parent fsync
138
138
  };
@@ -142,6 +142,10 @@ type WriteJsonOptions = {
142
142
  and parent-directory `fsync` calls. Use it only for reconstructible JSON state
143
143
  where lower latency matters more than crash-durability.
144
144
 
145
+ `dirMode: "preserve"` follows the [atomic parent policy](atomic.md): existing
146
+ parents are verified without chmod; new directories finish at `0o700` on POSIX.
147
+ `writeJsonSync` has no `dirMode` option and is unaffected.
148
+
145
149
  ### `writeJsonSync(pathname, data)`
146
150
 
147
151
  Synchronous variant. It pretty-prints with two spaces, appends a newline,
@@ -1,13 +1,13 @@
1
1
  # Resolving an existing path prefix
2
2
 
3
- `resolvePathPrefixSync()` follows filesystem path components until the first
3
+ `resolvePathPrefix()` and `resolvePathPrefixSync()` follow filesystem path components until the first
4
4
  missing entry. It returns a canonical existing prefix and the unprocessed
5
5
  suffix separately, including dangling symlink targets.
6
6
 
7
7
  ```ts
8
- import { resolvePathPrefixSync, type ResolvedPathPrefix } from "@openclaw/fs-safe/advanced";
8
+ import { resolvePathPrefix, type ResolvedPathPrefix } from "@openclaw/fs-safe/advanced";
9
9
 
10
- const observed: ResolvedPathPrefix = resolvePathPrefixSync("/srv/data/future/file.json");
10
+ const observed: ResolvedPathPrefix = await resolvePathPrefix("/srv/data/future/file.json");
11
11
  // When /srv/data exists but future does not:
12
12
  // observed.existingPath is the canonical spelling of /srv/data.
13
13
  // observed.unresolvedSegments is ["future", "file.json"].
@@ -63,9 +63,19 @@ suffix for every component. The fixed small-queue bound limits repeated front
63
63
  removal while retaining legacy shift-based consumption for shallow paths. This
64
64
  asymptotic bound is not a platform performance result; performance acceptance
65
65
  requires separate benchmark evidence. Callers should still apply their own
66
- input-size limits: the helper is synchronous, retains the raw suffix, and
66
+ input-size limits: both helpers retain the raw suffix and
67
67
  performs filesystem work for each non-empty existing component.
68
68
 
69
+ The async form uses asynchronous component `lstat` and `readlink`, and native
70
+ Node `realpath`. On Node POSIX, fully existing paths use a kernel `lstat` traversal
71
+ and canonicalization without separately inspecting each ancestor. A final symlink
72
+ also checks target search permissions before canonicalization. For a clean missing path, it probes parents only until the nearest existing directory.
73
+ Raw dot/separator forms, dangling links, and uncertain failures fall through to the
74
+ component walker, retaining its missing-suffix and error contract. The synchronous form retains its existing contract. Bun POSIX
75
+ canonicalization and Windows AppContainer fallback still use fs-safe's
76
+ synchronous native-realpath owner to preserve its platform guarantees; these
77
+ fallbacks are not a promise of nonblocking filesystem work on those runtimes.
78
+
69
79
  This is a read-only path observation. It neither pins files nor creates a root
70
80
  boundary, authorizes access, or guarantees a consistent snapshot during
71
81
  concurrent changes. Results can become stale immediately. Use a guarded Root
@@ -65,13 +65,15 @@ see [directory identity](directory-identity.md).
65
65
  `overwriteFileHandle` and `OverwriteFileHandleOptions` provide in-place byte
66
66
  replacement through a borrowed regular-file handle. Its once-only `beforeWrite`
67
67
  callback admits the complete write and any required best-effort rollback after
68
- prefix preparation. See [in-place writes](in-place-write.md).
68
+ prefix preparation. `overwriteFileHandleWithAuthority` instead awaits a required
69
+ authority preparer and runs its synchronous final assertion immediately before
70
+ mutation. See [in-place writes](in-place-write.md).
69
71
 
70
72
  `probePathCaseInsensitiveSync` and `ProbePathCaseOptions` are advanced exports
71
73
  for local ASCII-case observations. An unavailable answer remains `undefined`;
72
74
  the caller selects any fallback. See [path case probing](path-case.md).
73
75
 
74
- `resolvePathPrefixSync` and `ResolvedPathPrefix` separate a canonical existing
76
+ `resolvePathPrefix`, `resolvePathPrefixSync`, and `ResolvedPathPrefix` separate a canonical existing
75
77
  path prefix from its raw unresolved suffix after physical symlink traversal.
76
78
  See [resolving path prefixes](path-prefix.md).
77
79
 
@@ -196,7 +196,7 @@ type WriteSecretFileParams = {
196
196
  filePath: string; // absolute path; must be inside rootDir
197
197
  content: string | Uint8Array;
198
198
  mode?: number; // file mode for the new file (default PRIVATE_SECRET_FILE_MODE = 0o600)
199
- dirMode?: number; // mode for the root and intermediate dirs (default PRIVATE_SECRET_DIR_MODE = 0o700)
199
+ dirMode?: number | "preserve"; // numeric mode required; preserve is rejected (default 0o700)
200
200
  durable?: boolean; // default true; false skips file and parent fsync
201
201
  };
202
202
  ```
@@ -208,6 +208,10 @@ stores forward their durability policy here.
208
208
 
209
209
  The full POSIX directory mode is asserted on each component along the path: `rootDir`, then any intermediate dirs, then the parent. Existing directories, including another creator's `EEXIST` winner, must already match `dirMode` exactly or the write fails with `insecure-permissions`; they are never chmod-repaired. An explicitly requested directory mode such as `0o2750` preserves its setgid bit. Audit and adjust existing secret directories yourself. The admitted directory guards are retained through traversal and the final writer/lock handoff; a fresh pathname lookup cannot silently authorize a replacement. The caller must still trust the selected root and its owners; matching permission bits alone do not establish that trust.
210
210
 
211
+ Both `writeSecretFileAtomic` and `createSecretFileAtomic` reject
212
+ `dirMode: "preserve"` with `FsSafeError("invalid-path")`. This keeps the explicit
213
+ private-directory mode assertion intact rather than accepting shared parents.
214
+
211
215
  Directory admission and its retained guards use lossless bigint identities, including through private locks and native writes. On Windows, an unknown zero device or inode gets one reinspection that retains known components; a definite mismatch or persistent ambiguity fails with `path-mismatch` rather than authorizing a replacement.
212
216
 
213
217
  Both mode options must resolve to integers between `0o0000` and `0o7777`; invalid values fail with `invalid-path` before directory creation or file publication. Windows validates the options but does not enforce POSIX permission bits.
@@ -330,6 +330,10 @@ target-leaf symlink. Non-Root acquisition retains its existing parent-creation
330
330
  behavior.
331
331
 
332
332
  An owner can finish releasing while another async acquirer inspects its record.
333
+ Default stale detection uses the admitted record's `createdAt` or captured
334
+ modification time, without looking up its pathname again after reading it.
335
+ Retiring that record therefore does not turn a fresh lock into a stale one or
336
+ authorize recovery of its successor.
333
337
  Create-only Root writes do not open an existing record merely to inherit its
334
338
  mode. Once a pathname sample and opened descriptor agree, a failed acquisition
335
339
  snapshot can be discarded only when the original descriptor has exact identity,
@@ -323,7 +323,7 @@ Manage the lifetime with `try/finally` and inspect the cleanup result, as in the
323
323
  type TempWorkspaceOptions = {
324
324
  rootDir: string; // parent directory for workspaces
325
325
  prefix: string; // dir prefix (sanitized)
326
- dirMode?: number; // new workspace mode; default 0o700; no POSIX group/world write
326
+ dirMode?: number | "preserve"; // new workspace mode; preserve means default 0o700
327
327
  mode?: number; // file write mode; default 0o600
328
328
  cleanupSafety?: "compatible" | "require-bounded"; // default compatible
329
329
  };
@@ -561,6 +561,14 @@ still propagate; there is no pathname chmod fallback. Windows only passes the
561
561
  directory mode to `mkdir`. Pass
562
562
  `chmodDir: false` when an existing staging/output directory mode must be preserved.
563
563
 
564
+ Prefer `dirMode: "preserve"` to keep the existing parent verified without any
565
+ chmod and finalize every directory created by the operation at `0o700` on POSIX.
566
+ This explicit policy also applies with `chmodDir: false`. Concurrent mkdir
567
+ winners are verified as existing directories. Windows uses mkdir's default
568
+ handling. For `tempWorkspace`, `tempWorkspaceSync`, and their scoped wrappers,
569
+ `"preserve"` means the new workspace's default `0o700` mode; existing supplied
570
+ roots are already left untouched by these factories.
571
+
564
572
  ### `writeViaSiblingTempPath`
565
573
 
566
574
  A higher-level convenience for callback-based producers. The callback writes to
@@ -2,7 +2,11 @@
2
2
 
3
3
  The types most callers reach for. Shared data shapes are exported from `@openclaw/fs-safe/types`; method-specific option/result types live next to their subpath.
4
4
 
5
- For atomic replacement, `ReplaceFileAtomicFileSystem` and `ReplaceFileAtomicSyncFileSystem` are exported from `@openclaw/fs-safe/atomic`. Async adapters use `chmod()` on the `FileHandle` returned by their required `open()` operation. The synchronous type adds optional `fchmodSync(fd, mode)`; custom sync adapters that explicitly request `mode` or `preserveExistingMode` must implement it. See [Atomic writes](atomic.md#test-injection).
5
+ For atomic replacement, `ReplaceFileAtomicFileSystem` and `ReplaceFileAtomicSyncFileSystem` are exported from `@openclaw/fs-safe/atomic`. Async adapters use `chmod()` on the `FileHandle` returned by their required `open()` operation. The synchronous type adds optional `fchmodSync(fd, mode)`; custom sync adapters that explicitly request `mode`, numeric `dirMode`, or `preserveExistingMode` must implement it. `dirMode: "preserve"` requires it when creating directories. See [Atomic writes](atomic.md#test-injection).
6
+
7
+ `DirectoryMode = number | "preserve"` is exported from `/types` and `/atomic`.
8
+ Each accepting API documents whether preservation applies to existing parents
9
+ or is a creation-default alias. Private secret/store APIs reject `"preserve"`.
6
10
 
7
11
  `ReplaceFileAtomicDestinationState` is also exported from that subpath. It is a
8
12
  readonly union of `{ state: "removed", path }` and
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/fs-safe",
3
- "version": "0.26.13",
3
+ "version": "0.27.1",
4
4
  "description": "Capability-style filesystem roots for Node.js apps that handle untrusted relative paths.",
5
5
  "keywords": [
6
6
  "filesystem",
@@ -180,16 +180,16 @@
180
180
  "archive:producer-smoke": "node scripts/archive-producer-smoke.mjs"
181
181
  },
182
182
  "optionalDependencies": {
183
- "@openclaw/fs-safe-darwin-arm64": "0.26.13",
184
- "@openclaw/fs-safe-darwin-x64": "0.26.13",
185
- "@openclaw/fs-safe-freebsd-arm64": "0.26.13",
186
- "@openclaw/fs-safe-freebsd-x64": "0.26.13",
187
- "@openclaw/fs-safe-linux-arm64-gnu": "0.26.13",
188
- "@openclaw/fs-safe-linux-arm64-musl": "0.26.13",
189
- "@openclaw/fs-safe-linux-x64-gnu": "0.26.13",
190
- "@openclaw/fs-safe-linux-x64-musl": "0.26.13",
191
- "@openclaw/fs-safe-win32-arm64-msvc": "0.26.13",
192
- "@openclaw/fs-safe-win32-x64-msvc": "0.26.13",
183
+ "@openclaw/fs-safe-darwin-arm64": "0.27.1",
184
+ "@openclaw/fs-safe-darwin-x64": "0.27.1",
185
+ "@openclaw/fs-safe-freebsd-arm64": "0.27.1",
186
+ "@openclaw/fs-safe-freebsd-x64": "0.27.1",
187
+ "@openclaw/fs-safe-linux-arm64-gnu": "0.27.1",
188
+ "@openclaw/fs-safe-linux-arm64-musl": "0.27.1",
189
+ "@openclaw/fs-safe-linux-x64-gnu": "0.27.1",
190
+ "@openclaw/fs-safe-linux-x64-musl": "0.27.1",
191
+ "@openclaw/fs-safe-win32-arm64-msvc": "0.27.1",
192
+ "@openclaw/fs-safe-win32-x64-msvc": "0.27.1",
193
193
  "jszip": "^3.10.2"
194
194
  },
195
195
  "devDependencies": {
@@ -211,5 +211,5 @@
211
211
  "engines": {
212
212
  "node": ">=22"
213
213
  },
214
- "packageManager": "pnpm@12.10.1"
214
+ "packageManager": "pnpm@12.15.0"
215
215
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/fs-safe-darwin-arm64",
3
- "version": "0.26.13",
3
+ "version": "0.27.1",
4
4
  "description": "macOS arm64 native binding for @openclaw/fs-safe.",
5
5
  "license": "MIT",
6
6
  "author": "OpenClaw Team <dev@openclaw.ai>",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/fs-safe-darwin-x64",
3
- "version": "0.26.13",
3
+ "version": "0.27.1",
4
4
  "description": "macOS x64 native binding for @openclaw/fs-safe.",
5
5
  "license": "MIT",
6
6
  "author": "OpenClaw Team <dev@openclaw.ai>",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/fs-safe-freebsd-arm64",
3
- "version": "0.26.13",
3
+ "version": "0.27.1",
4
4
  "description": "FreeBSD 14.4+ arm64 native binding for @openclaw/fs-safe.",
5
5
  "license": "MIT",
6
6
  "author": "OpenClaw Team <dev@openclaw.ai>",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/fs-safe-freebsd-x64",
3
- "version": "0.26.13",
3
+ "version": "0.27.1",
4
4
  "description": "FreeBSD 14.4+ x64 native binding for @openclaw/fs-safe.",
5
5
  "license": "MIT",
6
6
  "author": "OpenClaw Team <dev@openclaw.ai>",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/fs-safe-linux-arm64-gnu",
3
- "version": "0.26.13",
3
+ "version": "0.27.1",
4
4
  "description": "Linux arm64 glibc native binding for @openclaw/fs-safe.",
5
5
  "license": "MIT",
6
6
  "author": "OpenClaw Team <dev@openclaw.ai>",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/fs-safe-linux-arm64-musl",
3
- "version": "0.26.13",
3
+ "version": "0.27.1",
4
4
  "description": "Linux arm64 musl native binding for @openclaw/fs-safe.",
5
5
  "license": "MIT",
6
6
  "author": "OpenClaw Team <dev@openclaw.ai>",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/fs-safe-linux-x64-gnu",
3
- "version": "0.26.13",
3
+ "version": "0.27.1",
4
4
  "description": "Linux x64 glibc native binding for @openclaw/fs-safe.",
5
5
  "license": "MIT",
6
6
  "author": "OpenClaw Team <dev@openclaw.ai>",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/fs-safe-linux-x64-musl",
3
- "version": "0.26.13",
3
+ "version": "0.27.1",
4
4
  "description": "Linux x64 musl native binding for @openclaw/fs-safe.",
5
5
  "license": "MIT",
6
6
  "author": "OpenClaw Team <dev@openclaw.ai>",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/fs-safe-win32-arm64-msvc",
3
- "version": "0.26.13",
3
+ "version": "0.27.1",
4
4
  "description": "Windows ARM64 MSVC native binding for @openclaw/fs-safe.",
5
5
  "license": "MIT",
6
6
  "author": "OpenClaw Team <dev@openclaw.ai>",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/fs-safe-win32-x64-msvc",
3
- "version": "0.26.13",
3
+ "version": "0.27.1",
4
4
  "description": "Windows x64 MSVC native binding for @openclaw/fs-safe.",
5
5
  "license": "MIT",
6
6
  "author": "OpenClaw Team <dev@openclaw.ai>",