@openclaw/feishu 2026.10.5-beta.4 → 2026.10.10-beta.1

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 (277) hide show
  1. package/dist/.setup/{channel-DykAJJhn.mjs → channel-VyjzWvqm.mjs} +40 -39
  2. package/dist/.setup/{channel.runtime-CC15v8AP.mjs → channel.runtime-BjGRGNPJ.mjs} +6 -6
  3. package/dist/.setup/{chat-fC3dvxFs.mjs → chat-qj1pEIcO.mjs} +2 -2
  4. package/dist/.setup/{client-wwr8PGPH.mjs → client-BTiFlqqL.mjs} +2 -2
  5. package/dist/.setup/{doctor-contract-oIpUWtNO.mjs → doctor-contract-BNXcJcWR.mjs} +2 -2
  6. package/dist/.setup/{monitor-Cy9ofY1Q.mjs → monitor-DzmCjp4q.mjs} +3 -3
  7. package/dist/.setup/{monitor.account-UbN1RhlP.mjs → monitor.account-CpMwDf-a.mjs} +151 -367
  8. package/dist/.setup/{probe-DXnFxq5j.mjs → probe-s0hiM44D.mjs} +3 -3
  9. package/dist/.setup/{reply-delivery-result-iCCrdxE1.mjs → reply-delivery-result-DknmIzOB.mjs} +128 -18
  10. package/dist/.setup/runtime-setter-api-BrQHE03y.mjs +2 -0
  11. package/dist/.setup/secret-contract-DEyvsehF.mjs +47 -0
  12. package/dist/.setup/secret-contract-api-XhxLE0dW.mjs +2 -0
  13. package/dist/.setup/setup-api-CH41-_5S.mjs +2 -0
  14. package/dist/.setup/{subagent-hooks-CGq_-NJZ.mjs → subagent-hooks-CvVuM0O4.mjs} +2 -2
  15. package/dist/.setup/{thread-bindings-Pii2fAST.mjs → thread-bindings-BxKmOara.mjs} +24 -4
  16. package/dist/api.js +15 -20
  17. package/dist/channel-plugin-api.js +1 -2
  18. package/dist/doctor-contract-api.js +1 -2
  19. package/dist/runtime-setter-api.js +1 -2
  20. package/dist/secret-contract-api.js +1 -2
  21. package/dist/security-contract-api.js +1 -2
  22. package/dist/session-binding-contract-api.js +1 -2
  23. package/dist/session-key-api.js +1 -2
  24. package/dist/setup-api.js +1 -2
  25. package/dist/setup-entry.js +3 -3
  26. package/dist/subagent-hooks-api.js +1 -1
  27. package/node_modules/@openclaw/fs-safe/CHANGELOG.md +148 -0
  28. package/node_modules/@openclaw/fs-safe/README.md +20 -4
  29. package/node_modules/@openclaw/fs-safe/dist/advanced.d.ts +2 -1
  30. package/node_modules/@openclaw/fs-safe/dist/advanced.js +1 -0
  31. package/node_modules/@openclaw/fs-safe/dist/archive-merge.js +28 -3
  32. package/node_modules/@openclaw/fs-safe/dist/archive-parser.wasm +0 -0
  33. package/node_modules/@openclaw/fs-safe/dist/archive-read.js +11 -5
  34. package/node_modules/@openclaw/fs-safe/dist/archive-zip-loader.js +4 -2
  35. package/node_modules/@openclaw/fs-safe/dist/archive.js +2 -2
  36. package/node_modules/@openclaw/fs-safe/dist/atomic-io.js +2 -2
  37. package/node_modules/@openclaw/fs-safe/dist/bounded-read.d.ts +1 -0
  38. package/node_modules/@openclaw/fs-safe/dist/bounded-read.js +9 -2
  39. package/node_modules/@openclaw/fs-safe/dist/clone-metadata.d.ts +2 -0
  40. package/node_modules/@openclaw/fs-safe/dist/clone-metadata.js +2 -1
  41. package/node_modules/@openclaw/fs-safe/dist/config.d.ts +6 -0
  42. package/node_modules/@openclaw/fs-safe/dist/config.js +5 -0
  43. package/node_modules/@openclaw/fs-safe/dist/copy-file-input.d.ts +3 -1
  44. package/node_modules/@openclaw/fs-safe/dist/copy-file-input.js +8 -7
  45. package/node_modules/@openclaw/fs-safe/dist/copy-link.d.ts +26 -0
  46. package/node_modules/@openclaw/fs-safe/dist/copy-link.js +170 -0
  47. package/node_modules/@openclaw/fs-safe/dist/copy-metadata.d.ts +9 -0
  48. package/node_modules/@openclaw/fs-safe/dist/copy-metadata.js +39 -0
  49. package/node_modules/@openclaw/fs-safe/dist/copy-path-admission.js +11 -2
  50. package/node_modules/@openclaw/fs-safe/dist/copy-root-file-sync.d.ts +2 -4
  51. package/node_modules/@openclaw/fs-safe/dist/copy-root-file-sync.js +4 -2
  52. package/node_modules/@openclaw/fs-safe/dist/copy-tree-portable.js +3 -6
  53. package/node_modules/@openclaw/fs-safe/dist/copy.js +3 -3
  54. package/node_modules/@openclaw/fs-safe/dist/create.js +1 -1
  55. package/node_modules/@openclaw/fs-safe/dist/creation-boundary.js +7 -4
  56. package/node_modules/@openclaw/fs-safe/dist/darwin-acl.d.ts +12 -0
  57. package/node_modules/@openclaw/fs-safe/dist/darwin-acl.js +29 -0
  58. package/node_modules/@openclaw/fs-safe/dist/directory-durability.d.ts +7 -4
  59. package/node_modules/@openclaw/fs-safe/dist/directory-guard.js +20 -5
  60. package/node_modules/@openclaw/fs-safe/dist/directory-mode-node.d.ts +3 -0
  61. package/node_modules/@openclaw/fs-safe/dist/directory-mode-node.js +27 -2
  62. package/node_modules/@openclaw/fs-safe/dist/directory-receipt.d.ts +7 -7
  63. package/node_modules/@openclaw/fs-safe/dist/directory-receipt.js +9 -4
  64. package/node_modules/@openclaw/fs-safe/dist/durability.d.ts +2 -1
  65. package/node_modules/@openclaw/fs-safe/dist/entry-publication.js +2 -2
  66. package/node_modules/@openclaw/fs-safe/dist/exact-identity.d.ts +17 -0
  67. package/node_modules/@openclaw/fs-safe/dist/exact-identity.js +29 -0
  68. package/node_modules/@openclaw/fs-safe/dist/file-handle-transfer.js +4 -2
  69. package/node_modules/@openclaw/fs-safe/dist/file-hash.d.ts +1 -1
  70. package/node_modules/@openclaw/fs-safe/dist/file-hash.js +11 -9
  71. package/node_modules/@openclaw/fs-safe/dist/file-identity.d.ts +7 -1
  72. package/node_modules/@openclaw/fs-safe/dist/file-identity.js +27 -5
  73. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-admission.js +1 -2
  74. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync.js +8 -1
  75. package/node_modules/@openclaw/fs-safe/dist/file-lock.d.ts +1 -0
  76. package/node_modules/@openclaw/fs-safe/dist/file-lock.js +1 -0
  77. package/node_modules/@openclaw/fs-safe/dist/file-write-lease.d.ts +9 -0
  78. package/node_modules/@openclaw/fs-safe/dist/file-write-lease.js +42 -0
  79. package/node_modules/@openclaw/fs-safe/dist/guarded-mkdir.d.ts +1 -0
  80. package/node_modules/@openclaw/fs-safe/dist/guarded-mkdir.js +22 -15
  81. package/node_modules/@openclaw/fs-safe/dist/guest-native-python.js +3 -0
  82. package/node_modules/@openclaw/fs-safe/dist/hardlink-fallback.d.ts +1 -0
  83. package/node_modules/@openclaw/fs-safe/dist/hardlink-fallback.js +5 -0
  84. package/node_modules/@openclaw/fs-safe/dist/index.d.ts +1 -0
  85. package/node_modules/@openclaw/fs-safe/dist/index.js +1 -0
  86. package/node_modules/@openclaw/fs-safe/dist/json-durable-queue-ownership.js +16 -3
  87. package/node_modules/@openclaw/fs-safe/dist/local-file-descriptor.js +24 -13
  88. package/node_modules/@openclaw/fs-safe/dist/native-binding.d.ts +85 -18
  89. package/node_modules/@openclaw/fs-safe/dist/native-config.d.ts +5 -0
  90. package/node_modules/@openclaw/fs-safe/dist/native-config.js +11 -0
  91. package/node_modules/@openclaw/fs-safe/dist/native-directory-observation.js +6 -4
  92. package/node_modules/@openclaw/fs-safe/dist/native-fallback-warning.d.ts +2 -1
  93. package/node_modules/@openclaw/fs-safe/dist/native-fallback-warning.js +26 -2
  94. package/node_modules/@openclaw/fs-safe/dist/native-guidance.d.ts +3 -0
  95. package/node_modules/@openclaw/fs-safe/dist/native-guidance.js +21 -0
  96. package/node_modules/@openclaw/fs-safe/dist/native-move-fallback.d.ts +1 -1
  97. package/node_modules/@openclaw/fs-safe/dist/native-move-fallback.js +2 -0
  98. package/node_modules/@openclaw/fs-safe/dist/native-operations.js +8 -6
  99. package/node_modules/@openclaw/fs-safe/dist/native-parent-admission.d.ts +44 -4
  100. package/node_modules/@openclaw/fs-safe/dist/native-parent-admission.js +85 -15
  101. package/node_modules/@openclaw/fs-safe/dist/native-pinned-write-windows.d.ts +3 -3
  102. package/node_modules/@openclaw/fs-safe/dist/native-pinned-write-windows.js +33 -6
  103. package/node_modules/@openclaw/fs-safe/dist/native-pinned-write.d.ts +4 -1
  104. package/node_modules/@openclaw/fs-safe/dist/native-pinned-write.js +22 -3
  105. package/node_modules/@openclaw/fs-safe/dist/native-policy-directory-observation.js +4 -3
  106. package/node_modules/@openclaw/fs-safe/dist/native-policy-parent.d.ts +1 -1
  107. package/node_modules/@openclaw/fs-safe/dist/native-policy-parent.js +3 -0
  108. package/node_modules/@openclaw/fs-safe/dist/native-staged-file-metadata.d.ts +3 -0
  109. package/node_modules/@openclaw/fs-safe/dist/native-staged-file-metadata.js +16 -0
  110. package/node_modules/@openclaw/fs-safe/dist/native-staged-file.d.ts +1 -1
  111. package/node_modules/@openclaw/fs-safe/dist/native-staged-file.js +15 -5
  112. package/node_modules/@openclaw/fs-safe/dist/native-stat-identity.d.ts +3 -0
  113. package/node_modules/@openclaw/fs-safe/dist/native-stat-identity.js +7 -0
  114. package/node_modules/@openclaw/fs-safe/dist/native-status.d.ts +17 -0
  115. package/node_modules/@openclaw/fs-safe/dist/native-status.js +30 -0
  116. package/node_modules/@openclaw/fs-safe/dist/native.d.ts +31 -4
  117. package/node_modules/@openclaw/fs-safe/dist/native.js +107 -9
  118. package/node_modules/@openclaw/fs-safe/dist/opened-realpath.js +9 -1
  119. package/node_modules/@openclaw/fs-safe/dist/overwrite-file-handle.js +4 -1
  120. package/node_modules/@openclaw/fs-safe/dist/owner-dacl-batch.js +1 -1
  121. package/node_modules/@openclaw/fs-safe/dist/owner-dacl.js +1 -1
  122. package/node_modules/@openclaw/fs-safe/dist/permission-exec.js +9 -1
  123. package/node_modules/@openclaw/fs-safe/dist/permissions-public.d.ts +1 -0
  124. package/node_modules/@openclaw/fs-safe/dist/permissions-public.js +1 -0
  125. package/node_modules/@openclaw/fs-safe/dist/permissions-windows.js +83 -47
  126. package/node_modules/@openclaw/fs-safe/dist/pinned-open.d.ts +2 -0
  127. package/node_modules/@openclaw/fs-safe/dist/pinned-open.js +8 -3
  128. package/node_modules/@openclaw/fs-safe/dist/pinned-write-input.js +13 -0
  129. package/node_modules/@openclaw/fs-safe/dist/pinned-write-staged.js +10 -8
  130. package/node_modules/@openclaw/fs-safe/dist/pinned-write-types.d.ts +2 -1
  131. package/node_modules/@openclaw/fs-safe/dist/pinned-write.js +7 -5
  132. package/node_modules/@openclaw/fs-safe/dist/pipe.d.ts +9 -0
  133. package/node_modules/@openclaw/fs-safe/dist/pipe.js +26 -0
  134. package/node_modules/@openclaw/fs-safe/dist/private-directory.js +1 -1
  135. package/node_modules/@openclaw/fs-safe/dist/private-producer-handoff.js +2 -5
  136. package/node_modules/@openclaw/fs-safe/dist/private-temp-workspace.d.ts +3 -2
  137. package/node_modules/@openclaw/fs-safe/dist/private-temp-workspace.js +38 -10
  138. package/node_modules/@openclaw/fs-safe/dist/publish-copy-stage.js +92 -10
  139. package/node_modules/@openclaw/fs-safe/dist/publish-file-failure.d.ts +3 -0
  140. package/node_modules/@openclaw/fs-safe/dist/publish-file-failure.js +3 -0
  141. package/node_modules/@openclaw/fs-safe/dist/publish-file.d.ts +5 -3
  142. package/node_modules/@openclaw/fs-safe/dist/publish-file.js +26 -20
  143. package/node_modules/@openclaw/fs-safe/dist/read-opened-file.d.ts +2 -0
  144. package/node_modules/@openclaw/fs-safe/dist/read-opened-file.js +3 -4
  145. package/node_modules/@openclaw/fs-safe/dist/realpath.js +32 -0
  146. package/node_modules/@openclaw/fs-safe/dist/regular-file.d.ts +4 -0
  147. package/node_modules/@openclaw/fs-safe/dist/regular-file.js +11 -15
  148. package/node_modules/@openclaw/fs-safe/dist/replace-file-descriptor.js +3 -2
  149. package/node_modules/@openclaw/fs-safe/dist/root-copy.d.ts +18 -0
  150. package/node_modules/@openclaw/fs-safe/dist/root-copy.js +128 -0
  151. package/node_modules/@openclaw/fs-safe/dist/root-create-native.d.ts +8 -13
  152. package/node_modules/@openclaw/fs-safe/dist/root-create-native.js +252 -27
  153. package/node_modules/@openclaw/fs-safe/dist/root-directory-creation.js +5 -1
  154. package/node_modules/@openclaw/fs-safe/dist/root-directory-list-types.d.ts +11 -8
  155. package/node_modules/@openclaw/fs-safe/dist/root-directory-list.js +35 -13
  156. package/node_modules/@openclaw/fs-safe/dist/root-file-open-batch-sync.d.ts +8 -0
  157. package/node_modules/@openclaw/fs-safe/dist/root-file-open-batch-sync.js +108 -0
  158. package/node_modules/@openclaw/fs-safe/dist/root-file.d.ts +7 -0
  159. package/node_modules/@openclaw/fs-safe/dist/root-file.js +15 -0
  160. package/node_modules/@openclaw/fs-safe/dist/root-impl.d.ts +2 -0
  161. package/node_modules/@openclaw/fs-safe/dist/root-impl.js +154 -175
  162. package/node_modules/@openclaw/fs-safe/dist/root-mkdir-native.d.ts +2 -0
  163. package/node_modules/@openclaw/fs-safe/dist/root-mkdir-native.js +239 -0
  164. package/node_modules/@openclaw/fs-safe/dist/root-move-noreplace.js +37 -15
  165. package/node_modules/@openclaw/fs-safe/dist/root-native-creation-path.d.ts +32 -0
  166. package/node_modules/@openclaw/fs-safe/dist/root-native-creation-path.js +56 -0
  167. package/node_modules/@openclaw/fs-safe/dist/root-options.d.ts +2 -0
  168. package/node_modules/@openclaw/fs-safe/dist/root-public-types.d.ts +1 -0
  169. package/node_modules/@openclaw/fs-safe/dist/root-remove-native.js +95 -16
  170. package/node_modules/@openclaw/fs-safe/dist/root-remove.js +6 -4
  171. package/node_modules/@openclaw/fs-safe/dist/root-walk.js +23 -19
  172. package/node_modules/@openclaw/fs-safe/dist/root-write-admission.js +8 -6
  173. package/node_modules/@openclaw/fs-safe/dist/root-write-publication.js +5 -1
  174. package/node_modules/@openclaw/fs-safe/dist/secure-file-windows.js +3 -1
  175. package/node_modules/@openclaw/fs-safe/dist/secure-file.d.ts +2 -0
  176. package/node_modules/@openclaw/fs-safe/dist/secure-file.js +10 -4
  177. package/node_modules/@openclaw/fs-safe/dist/sibling-staged-file.js +1 -1
  178. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-reclaim.js +2 -2
  179. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-retained.js +1 -1
  180. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-target.js +8 -1
  181. package/node_modules/@openclaw/fs-safe/dist/staged-directory.d.ts +13 -0
  182. package/node_modules/@openclaw/fs-safe/dist/staged-directory.js +29 -0
  183. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-child-admission.js +5 -3
  184. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-descriptor.d.ts +8 -0
  185. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-descriptor.js +13 -2
  186. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-owner.js +71 -3
  187. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-ownership.d.ts +2 -1
  188. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-ownership.js +22 -0
  189. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-types.d.ts +3 -0
  190. package/node_modules/@openclaw/fs-safe/dist/test-hooks.d.ts +1 -0
  191. package/node_modules/@openclaw/fs-safe/dist/test-hooks.js +1 -0
  192. package/node_modules/@openclaw/fs-safe/dist/trash.js +2 -2
  193. package/node_modules/@openclaw/fs-safe/dist/types.d.ts +4 -0
  194. package/node_modules/@openclaw/fs-safe/dist/watch-native.js +2 -2
  195. package/node_modules/@openclaw/fs-safe/dist/windows-appcontainer.d.ts +5 -0
  196. package/node_modules/@openclaw/fs-safe/dist/windows-appcontainer.js +39 -0
  197. package/node_modules/@openclaw/fs-safe/dist/windows-owner.d.ts +1 -0
  198. package/node_modules/@openclaw/fs-safe/dist/windows-owner.js +25 -36
  199. package/node_modules/@openclaw/fs-safe/dist/windows-security-command.js +24 -5
  200. package/node_modules/@openclaw/fs-safe/dist/windows-security-facts.d.ts +2 -1
  201. package/node_modules/@openclaw/fs-safe/dist/windows-security-facts.js +4 -0
  202. package/node_modules/@openclaw/fs-safe/dist/windows-security-helper.d.ts +2 -0
  203. package/node_modules/@openclaw/fs-safe/dist/windows-security-helper.exe +0 -0
  204. package/node_modules/@openclaw/fs-safe/dist/windows-security-helper.js +7 -0
  205. package/node_modules/@openclaw/fs-safe/dist/windows-test-hooks.d.ts +16 -0
  206. package/node_modules/@openclaw/fs-safe/dist/windows-test-hooks.js +51 -0
  207. package/node_modules/@openclaw/fs-safe/dist/write-file-handle.d.ts +1 -0
  208. package/node_modules/@openclaw/fs-safe/dist/write-file-handle.js +12 -10
  209. package/node_modules/@openclaw/fs-safe/docs/advanced.md +2 -1
  210. package/node_modules/@openclaw/fs-safe/docs/archive.md +16 -0
  211. package/node_modules/@openclaw/fs-safe/docs/config.md +71 -1
  212. package/node_modules/@openclaw/fs-safe/docs/contributing.md +45 -5
  213. package/node_modules/@openclaw/fs-safe/docs/copy.md +45 -5
  214. package/node_modules/@openclaw/fs-safe/docs/durability.md +34 -7
  215. package/node_modules/@openclaw/fs-safe/docs/errors.md +8 -0
  216. package/node_modules/@openclaw/fs-safe/docs/guest.md +2 -0
  217. package/node_modules/@openclaw/fs-safe/docs/install.md +47 -27
  218. package/node_modules/@openclaw/fs-safe/docs/migrating-to-0.5.md +6 -6
  219. package/node_modules/@openclaw/fs-safe/docs/migrating-to-0.6.md +1 -1
  220. package/node_modules/@openclaw/fs-safe/docs/native-helper.md +79 -6
  221. package/node_modules/@openclaw/fs-safe/docs/native.md +279 -8
  222. package/node_modules/@openclaw/fs-safe/docs/permissions.md +64 -15
  223. package/node_modules/@openclaw/fs-safe/docs/pipe.md +81 -0
  224. package/node_modules/@openclaw/fs-safe/docs/platform-capabilities.md +63 -0
  225. package/node_modules/@openclaw/fs-safe/docs/public-api.md +10 -0
  226. package/node_modules/@openclaw/fs-safe/docs/queue-link-free-design.md +237 -0
  227. package/node_modules/@openclaw/fs-safe/docs/quickstart.md +23 -3
  228. package/node_modules/@openclaw/fs-safe/docs/reading.md +56 -2
  229. package/node_modules/@openclaw/fs-safe/docs/regular-file.md +2 -0
  230. package/node_modules/@openclaw/fs-safe/docs/secret-file.md +5 -5
  231. package/node_modules/@openclaw/fs-safe/docs/secure-file.md +1 -1
  232. package/node_modules/@openclaw/fs-safe/docs/security-model.md +35 -0
  233. package/node_modules/@openclaw/fs-safe/docs/sidecar-lock.md +31 -13
  234. package/node_modules/@openclaw/fs-safe/docs/staged-file.md +18 -0
  235. package/node_modules/@openclaw/fs-safe/docs/store.md +15 -0
  236. package/node_modules/@openclaw/fs-safe/docs/temp.md +39 -0
  237. package/node_modules/@openclaw/fs-safe/docs/testing.md +13 -0
  238. package/node_modules/@openclaw/fs-safe/docs/types.md +51 -81
  239. package/node_modules/@openclaw/fs-safe/docs/walk.md +4 -1
  240. package/node_modules/@openclaw/fs-safe/docs/watch.md +3 -2
  241. package/node_modules/@openclaw/fs-safe/docs/writing.md +121 -14
  242. package/node_modules/@openclaw/fs-safe/package.json +21 -12
  243. package/node_modules/@openclaw/fs-safe-darwin-arm64/fs-safe-native.node +0 -0
  244. package/node_modules/@openclaw/fs-safe-darwin-arm64/package.json +1 -1
  245. package/node_modules/@openclaw/fs-safe-darwin-x64/fs-safe-native.node +0 -0
  246. package/node_modules/@openclaw/fs-safe-darwin-x64/package.json +1 -1
  247. package/node_modules/@openclaw/fs-safe-freebsd-arm64/fs-safe-native.node +0 -0
  248. package/node_modules/@openclaw/fs-safe-freebsd-arm64/package.json +29 -0
  249. package/node_modules/@openclaw/fs-safe-freebsd-x64/fs-safe-native.node +0 -0
  250. package/node_modules/@openclaw/fs-safe-freebsd-x64/package.json +29 -0
  251. package/node_modules/@openclaw/fs-safe-linux-arm64-gnu/fs-safe-native.node +0 -0
  252. package/node_modules/@openclaw/fs-safe-linux-arm64-gnu/package.json +1 -1
  253. package/node_modules/@openclaw/fs-safe-linux-arm64-musl/fs-safe-native.node +0 -0
  254. package/node_modules/@openclaw/fs-safe-linux-arm64-musl/package.json +1 -1
  255. package/node_modules/@openclaw/fs-safe-linux-x64-gnu/fs-safe-native.node +0 -0
  256. package/node_modules/@openclaw/fs-safe-linux-x64-gnu/package.json +1 -1
  257. package/node_modules/@openclaw/fs-safe-linux-x64-musl/fs-safe-native.node +0 -0
  258. package/node_modules/@openclaw/fs-safe-linux-x64-musl/package.json +1 -1
  259. package/node_modules/@openclaw/fs-safe-win32-arm64-msvc/fs-safe-native.node +0 -0
  260. package/node_modules/@openclaw/fs-safe-win32-arm64-msvc/package.json +29 -0
  261. package/node_modules/@openclaw/fs-safe-win32-x64-msvc/fs-safe-native.node +0 -0
  262. package/node_modules/@openclaw/fs-safe-win32-x64-msvc/package.json +1 -1
  263. package/node_modules/mdast-util-from-markdown/dev/lib/index.js +152 -45
  264. package/node_modules/mdast-util-from-markdown/dev/lib/types.d.ts +26 -0
  265. package/node_modules/mdast-util-from-markdown/lib/index.js +133 -40
  266. package/node_modules/mdast-util-from-markdown/lib/types.d.ts +26 -0
  267. package/node_modules/mdast-util-from-markdown/package.json +6 -7
  268. package/node_modules/mdast-util-from-markdown/readme.md +15 -1
  269. package/node_modules/typebox/build/value/clean/from_object.mjs +1 -1
  270. package/node_modules/typebox/package.json +1 -1
  271. package/package.json +7 -7
  272. package/dist/.setup/runtime-setter-api-CG-RC4_r.mjs +0 -3
  273. package/dist/.setup/secret-contract-CI1wCr9i.mjs +0 -60
  274. package/dist/.setup/secret-contract-api-o4CeT4nP.mjs +0 -3
  275. package/dist/.setup/setup-api-CLonEDID.mjs +0 -3
  276. package/node_modules/@openclaw/fs-safe/dist/windows-security-bridge.cs +0 -336
  277. package/node_modules/@openclaw/fs-safe/dist/windows-security-bridge.ps1 +0 -90
@@ -1,11 +1,12 @@
1
- import { _ as __exportAll, a as FeishuChannelConfigSchema, c as normalizeFeishuExternalKey, d as listEnabledFeishuAccounts, f as listFeishuAccountIds, g as resolveFeishuRuntimeAccount, h as resolveFeishuAccount, m as resolveDefaultFeishuAccountId, n as legacyConfigRules, o as DEFAULT_FEISHU_WEBHOOK_PATH, p as mergeFeishuAccountConfig, r as normalizeCompatibilityConfig, s as normalizeFeishuWebhookPath, u as inspectFeishuCredentials, v as __reExport } from "./doctor-contract-oIpUWtNO.mjs";
1
+ import { _ as __exportAll, a as FeishuChannelConfigSchema, c as normalizeFeishuExternalKey, d as listEnabledFeishuAccounts, f as listFeishuAccountIds, g as resolveFeishuRuntimeAccount, h as resolveFeishuAccount, m as resolveDefaultFeishuAccountId, n as legacyConfigRules, o as DEFAULT_FEISHU_WEBHOOK_PATH, p as mergeFeishuAccountConfig, r as normalizeCompatibilityConfig, s as normalizeFeishuWebhookPath, u as inspectFeishuCredentials, v as __reExport } from "./doctor-contract-BNXcJcWR.mjs";
2
2
  import { a as parseFeishuTargetId, c as looksLikeFeishuId, i as parseFeishuDirectConversationId, l as normalizeFeishuTarget, n as buildFeishuModelOverrideParentCandidates, o as resolveConfiguredFeishuGroupSessionScope, r as parseFeishuConversationId, t as buildFeishuConversationId, u as resolveReceiveIdType } from "./conversation-id-D00i9uy5.mjs";
3
- import { A as sendMessageFeishu, Ct as isFeishuGroupReadEnabled, Ft as resolveFeishuChatType, G as resolveFeishuIdentityHeaderTitle, K as deliverCommentThreadText, M as toFeishuMessageSendResult, Mt as resolveFeishuGroupToolPolicy, Pt as normalizeFeishuChatType, S as sendMediaFeishu, St as isFeishuGroupReadAllowed, T as chunkFeishuCardMarkdown, Tt as resolveFeishuChatReadPreliminaryAuthorization, U as buildFeishuMediaFallbackText, _ as renderFeishuPresentationPayload, b as withinCardTableLimit, bt as canEnumerateAllFeishuGroups, c as buildFeishuPayloadCard, d as consumeFeishuPresentationFallbackMarker, et as cleanupAmbientCommentTypingReaction, f as feishuCardWithinTableLimit, ft as chunkFeishuMarkdown, g as renderFeishuPresentationFallbackText, gt as shouldUseFeishuCard, h as readNativeFeishuCard, j as sendStructuredCardFeishu, k as sendCardFeishu, kt as resolveFeishuGroupConfig, l as buildFeishuPresentationCard, lt as parseFeishuCommentTarget, m as markRenderedFeishuCard, mt as materializeFeishuPostMarkdownSoftBreaks, n as createFeishuReplyDeliveryResult, o as FEISHU_PRESENTATION_CAPABILITIES, p as isFeishuCardWithinEnvelope, pt as chunkFeishuPostMarkdown, s as assertFeishuCardWithinEnvelope, t as createFeishuPartialReplyDeliveryError, u as buildFeishuPresentationFallback, ut as readNativeFeishuCardJson, vt as assertFeishuChatReadAllowed, w as shouldSuppressFeishuTextForVoiceMedia, wt as readFeishuChatInfoWithAuthorization, xt as canEnumerateAllFeishuPeers, y as resolveFeishuRichReply, yt as authorizeFeishuChatMemberRead } from "./reply-delivery-result-iCCrdxE1.mjs";
3
+ import { A as sendMessageFeishu, At as resolveFeishuGroupConfig, Ct as isFeishuGroupReadAllowed, Et as resolveFeishuChatReadPreliminaryAuthorization, Ft as normalizeFeishuChatType, It as resolveFeishuChatType, K as resolveFeishuIdentityHeaderTitle, M as toFeishuMessageSendResult, Nt as resolveFeishuGroupToolPolicy, S as sendMediaFeishu, St as canEnumerateAllFeishuPeers, T as chunkFeishuCardMarkdown, Tt as readFeishuChatInfoWithAuthorization, W as buildFeishuMediaFallbackText, _ as renderFeishuPresentationPayload, _t as shouldUseFeishuCard, b as withinCardTableLimit, bt as authorizeFeishuChatMemberRead, c as buildFeishuPayloadCard, d as consumeFeishuPresentationFallbackMarker, dt as readNativeFeishuCardJson, f as feishuCardWithinTableLimit, g as renderFeishuPresentationFallbackText, h as readNativeFeishuCard, ht as materializeFeishuPostMarkdownSoftBreaks, j as sendStructuredCardFeishu, k as sendCardFeishu, l as buildFeishuPresentationCard, m as markRenderedFeishuCard, mt as chunkFeishuPostMarkdown, n as createFeishuReplyDeliveryResult, o as FEISHU_PRESENTATION_CAPABILITIES, p as isFeishuCardWithinEnvelope, pt as chunkFeishuMarkdown, q as deliverCommentThreadText, s as assertFeishuCardWithinEnvelope, t as createFeishuPartialReplyDeliveryError, tt as cleanupAmbientCommentTypingReaction, u as buildFeishuPresentationFallback, ut as parseFeishuCommentTarget, w as shouldSuppressFeishuTextForVoiceMedia, wt as isFeishuGroupReadEnabled, xt as canEnumerateAllFeishuGroups, y as resolveFeishuRichReply, yt as assertFeishuChatReadAllowed } from "./reply-delivery-result-DknmIzOB.mjs";
4
4
  import { t as messageActionTargetAliases } from "./message-action-contract-Bhxj8Zrf.mjs";
5
- import { l as withFeishuRequestContext, r as createFeishuClient, u as withFeishuSendContext } from "./client-wwr8PGPH.mjs";
6
- import { n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./secret-contract-CI1wCr9i.mjs";
5
+ import { l as withFeishuRequestContext, r as createFeishuClient, u as withFeishuSendContext } from "./client-BTiFlqqL.mjs";
6
+ import { n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./secret-contract-DEyvsehF.mjs";
7
7
  import { t as collectFeishuSecurityAuditFindings } from "./security-audit-b86aSgH2.mjs";
8
8
  import { t as resolveFeishuSessionConversation } from "./session-conversation-BSBNK5Mq.mjs";
9
+ import { n as getFeishuThreadBindingManager } from "./thread-bindings-BxKmOara.mjs";
9
10
  import { createLazyRuntimeNamedExport } from "openclaw/plugin-sdk/lazy-runtime";
10
11
  import { describeAccountSnapshot } from "openclaw/plugin-sdk/account-helpers";
11
12
  import { DEFAULT_ACCOUNT_ID } from "openclaw/plugin-sdk/account-resolution";
@@ -18,7 +19,6 @@ import { createAccountStatusSink, createMessageReceiptFromOutboundResults, creat
18
19
  import { createPairingPrefixStripper } from "openclaw/plugin-sdk/channel-pairing";
19
20
  import { createAllowlistProviderGroupPolicyWarningCollector, createConditionalWarningCollector } from "openclaw/plugin-sdk/channel-policy";
20
21
  import { PAIRING_APPROVED_MESSAGE } from "openclaw/plugin-sdk/channel-status";
21
- import { getSessionBindingService } from "openclaw/plugin-sdk/conversation-runtime";
22
22
  import { applyDirectoryQueryAndLimit, createChannelDirectoryAdapter, createRuntimeDirectoryLiveAdapter, listDirectoryGroupEntriesFromMapKeysAndAllowFrom, listDirectoryUserEntriesFromAllowFrom, listDirectoryUserEntriesFromAllowFromAndMapKeys } from "openclaw/plugin-sdk/directory-runtime";
23
23
  import { PlatformMessageNotDispatchedError } from "openclaw/plugin-sdk/error-runtime";
24
24
  import { resolveLegacyInteractiveTextFallback } from "openclaw/plugin-sdk/interactive-runtime";
@@ -35,7 +35,7 @@ import path from "node:path";
35
35
  import { safeStatSync } from "@openclaw/fs-safe/path";
36
36
  import { isPathStrictlyInside } from "openclaw/plugin-sdk/file-access-runtime";
37
37
  import { normalizeAgentId } from "openclaw/plugin-sdk/routing";
38
- import { deleteSessionEntry, isValidAgentHarnessSessionStoreEntry, listSessionEntries, loadTranscriptEventsSync, resolveSessionStoreBackupPaths, resolveStorePath } from "openclaw/plugin-sdk/session-store-runtime";
38
+ import { deleteSessionEntry, getSessionEntryAsync, isValidAgentHarnessSessionStoreEntry, listSessionEntriesAsync, loadTranscriptEvents, resolveSessionStoreBackupPaths, resolveStorePath } from "openclaw/plugin-sdk/session-store-runtime";
39
39
  import { resolveStateDir } from "openclaw/plugin-sdk/state-paths";
40
40
  import { resolveChunkMode, resolveTextChunkLimit } from "openclaw/plugin-sdk/reply-chunking";
41
41
  import { isChannelPartialDeliveryError } from "openclaw/plugin-sdk/channel-inbound";
@@ -531,10 +531,10 @@ function inspectSessionTranscript(params) {
531
531
  malformedLines
532
532
  });
533
533
  }
534
- function inspectCanonicalSessionTranscript(params) {
534
+ async function inspectCanonicalSessionTranscript(params) {
535
535
  let entries;
536
536
  try {
537
- entries = loadTranscriptEventsSync({
537
+ entries = await loadTranscriptEvents({
538
538
  agentId: params.agentId,
539
539
  sessionId: params.sessionId,
540
540
  sessionKey: params.sessionKey,
@@ -557,10 +557,10 @@ function inspectCanonicalSessionTranscript(params) {
557
557
  entries
558
558
  });
559
559
  }
560
- function collectFeishuSessionFindings(params) {
560
+ async function collectFeishuSessionFindings(params) {
561
561
  const sessionId = typeof params.entry.sessionId === "string" ? params.entry.sessionId.trim() : "";
562
562
  if (sessionId) {
563
- const finding = inspectCanonicalSessionTranscript({
563
+ const finding = await inspectCanonicalSessionTranscript({
564
564
  agentId: params.agentId,
565
565
  sessionId,
566
566
  sessionKey: params.sessionKey,
@@ -602,7 +602,7 @@ function collectRepairSessionEntries(inspection) {
602
602
  }
603
603
  return repairEntries.toSorted((left, right) => left.storePath.localeCompare(right.storePath) || left.key.localeCompare(right.key));
604
604
  }
605
- function inspectFeishuDoctorState(params) {
605
+ async function inspectFeishuDoctorState(params) {
606
606
  const env = params.env ?? process.env;
607
607
  const stateDir = resolveStateDir(env, os.homedir);
608
608
  const feishuStateDir = path.join(stateDir, FEISHU_STATE_DIR);
@@ -612,23 +612,26 @@ function inspectFeishuDoctorState(params) {
612
612
  cfg: params.cfg,
613
613
  env,
614
614
  stateDir
615
- })) for (const { sessionKey: key, entry } of listSessionEntries({
616
- agentId: target.agentId,
617
- storePath: target.storePath
618
- }).filter(({ sessionKey, entry: sessionEntry }) => !isValidAgentHarnessSessionStoreEntry(sessionKey, sessionEntry) && isFeishuSessionEntry(sessionKey, sessionEntry)).toSorted((left, right) => left.sessionKey.localeCompare(right.sessionKey))) {
619
- const sessionEntry = toFeishuSessionEntry(entry);
620
- sessionEntries.push({
621
- key,
622
- storePath: target.storePath,
615
+ })) {
616
+ const entries = await listSessionEntriesAsync({
623
617
  agentId: target.agentId,
624
- entry: sessionEntry
618
+ storePath: target.storePath
625
619
  });
626
- findings.push(...collectFeishuSessionFindings({
627
- sessionKey: key,
628
- storePath: target.storePath,
629
- agentId: target.agentId,
630
- entry: sessionEntry
631
- }));
620
+ for (const { sessionKey: key, entry } of entries.filter(({ sessionKey, entry: sessionEntry }) => !isValidAgentHarnessSessionStoreEntry(sessionKey, sessionEntry) && isFeishuSessionEntry(sessionKey, sessionEntry)).toSorted((left, right) => left.sessionKey.localeCompare(right.sessionKey))) {
621
+ const sessionEntry = toFeishuSessionEntry(entry);
622
+ sessionEntries.push({
623
+ key,
624
+ storePath: target.storePath,
625
+ agentId: target.agentId,
626
+ entry: sessionEntry
627
+ });
628
+ findings.push(...await collectFeishuSessionFindings({
629
+ sessionKey: key,
630
+ storePath: target.storePath,
631
+ agentId: target.agentId,
632
+ entry: sessionEntry
633
+ }));
634
+ }
632
635
  }
633
636
  return {
634
637
  stateDir,
@@ -708,7 +711,7 @@ function archiveSessionArtifacts(params) {
708
711
  async function repairFeishuDoctorState(params) {
709
712
  const env = params.env ?? process.env;
710
713
  const now = params.now ?? /* @__PURE__ */ new Date();
711
- const inspection = params.inspection ?? inspectFeishuDoctorState({
714
+ const inspection = params.inspection ?? await inspectFeishuDoctorState({
712
715
  cfg: params.cfg,
713
716
  env
714
717
  });
@@ -750,10 +753,11 @@ async function repairFeishuDoctorState(params) {
750
753
  const removedEntries = [];
751
754
  for (const entry of entries) {
752
755
  const { key } = entry;
753
- const currentEntry = listSessionEntries({
756
+ const currentEntry = await getSessionEntryAsync({
754
757
  agentId,
755
- storePath
756
- }).find((candidate) => candidate.sessionKey === key)?.entry;
758
+ storePath,
759
+ sessionKey: key
760
+ });
757
761
  if (!currentEntry || isValidAgentHarnessSessionStoreEntry(key, currentEntry)) continue;
758
762
  if (!await deleteSessionEntry({
759
763
  agentId,
@@ -819,7 +823,7 @@ function formatRepairChange(report) {
819
823
  }
820
824
  async function runFeishuDoctorSequence(params) {
821
825
  const notes = collectFeishuWebhookNotes(params);
822
- const inspection = params.cfg.channels?.feishu ? inspectFeishuDoctorState(params) : void 0;
826
+ const inspection = params.cfg.channels?.feishu ? await inspectFeishuDoctorState(params) : void 0;
823
827
  if (!inspection || inspection.findings.length === 0) return {
824
828
  changeNotes: [],
825
829
  ...notes
@@ -848,7 +852,7 @@ const feishuDoctor = {
848
852
  //#endregion
849
853
  //#region extensions/feishu/src/gateway.ts
850
854
  const feishuGatewayAdapter = { startAccount: async (ctx) => {
851
- const { monitorFeishuProvider } = await import("./monitor-Cy9ofY1Q.mjs");
855
+ const { monitorFeishuProvider } = await import("./monitor-DzmCjp4q.mjs");
852
856
  const account = resolveFeishuRuntimeAccount({
853
857
  cfg: ctx.cfg,
854
858
  accountId: ctx.accountId
@@ -1736,7 +1740,7 @@ const feishuSetupWizard = {
1736
1740
  });
1737
1741
  let probeResult = null;
1738
1742
  if (configured && account.configured) try {
1739
- const { probeFeishu } = await import("./probe-DXnFxq5j.mjs").then((n) => n.n);
1743
+ const { probeFeishu } = await import("./probe-s0hiM44D.mjs").then((n) => n.n);
1740
1744
  probeResult = await probeFeishu(account);
1741
1745
  } catch {}
1742
1746
  if (!configured) return [`Feishu: ${t("wizard.channels.statusNeedsAppCredentials")}`];
@@ -1889,7 +1893,7 @@ const meta = {
1889
1893
  order: 70,
1890
1894
  preferSessionLookupForAnnounceTarget: true
1891
1895
  };
1892
- const loadFeishuChannelRuntime = createLazyRuntimeNamedExport(() => import("./channel.runtime-CC15v8AP.mjs"), "feishuChannelRuntime");
1896
+ const loadFeishuChannelRuntime = createLazyRuntimeNamedExport(() => import("./channel.runtime-BjGRGNPJ.mjs"), "feishuChannelRuntime");
1893
1897
  async function resolveFeishuMessageSender(kind) {
1894
1898
  const unavailableMessage = `Feishu ${kind} sending is not available.`;
1895
1899
  try {
@@ -1927,7 +1931,7 @@ const feishuMessageAdapter = defineChannelMessageAdapter({
1927
1931
  }
1928
1932
  });
1929
1933
  async function createFeishuActionClient(account) {
1930
- const { createFeishuClient } = await import("./client-wwr8PGPH.mjs").then((n) => n.t);
1934
+ const { createFeishuClient } = await import("./client-BTiFlqqL.mjs").then((n) => n.t);
1931
1935
  return createFeishuClient(account);
1932
1936
  }
1933
1937
  const collectFeishuSecurityWarnings = createAllowlistProviderGroupPolicyWarningCollector({
@@ -2071,10 +2075,7 @@ function resolveFeishuSenderScopedCommandConversation(params) {
2071
2075
  });
2072
2076
  if (isSenderScopedSession) return senderScopedConversationId;
2073
2077
  if (!params.sessionKey?.trim()) return;
2074
- return getSessionBindingService().listBySession(params.sessionKey).find((binding) => {
2075
- if (binding.conversation.channel !== "feishu" || binding.conversation.accountId !== params.accountId) return false;
2076
- return binding.conversation.conversationId === senderScopedConversationId;
2077
- })?.conversation.conversationId;
2078
+ return (getFeishuThreadBindingManager(params.accountId)?.listBySessionKey(params.sessionKey).find((binding) => binding.conversationId === senderScopedConversationId))?.conversationId;
2078
2079
  }
2079
2080
  function resolveFeishuCommandConversation(params) {
2080
2081
  if (params.threadId) {
@@ -1,9 +1,9 @@
1
- import { h as resolveFeishuAccount } from "./doctor-contract-oIpUWtNO.mjs";
2
- import { d as listFeishuDirectoryPeers, o as feishuOutbound, u as listFeishuDirectoryGroups } from "./channel-DykAJJhn.mjs";
3
- import { $ as assertFeishuApiSuccess, A as sendMessageFeishu, C as sendStickerFeishu, D as getMessageFeishu, E as editMessageFeishu, H as createConfiguredFeishuClient, k as sendCardFeishu } from "./reply-delivery-result-iCCrdxE1.mjs";
4
- import { r as createFeishuClient } from "./client-wwr8PGPH.mjs";
5
- import { a as getFeishuMemberInfo, i as getChatMembers, n as buildFeishuDirectChatMembers, r as getChatInfo, t as assertFeishuChatMember } from "./chat-fC3dvxFs.mjs";
6
- import { t as probeFeishu } from "./probe-DXnFxq5j.mjs";
1
+ import { h as resolveFeishuAccount } from "./doctor-contract-BNXcJcWR.mjs";
2
+ import { d as listFeishuDirectoryPeers, o as feishuOutbound, u as listFeishuDirectoryGroups } from "./channel-VyjzWvqm.mjs";
3
+ import { A as sendMessageFeishu, C as sendStickerFeishu, D as getMessageFeishu, E as editMessageFeishu, U as createConfiguredFeishuClient, et as assertFeishuApiSuccess, k as sendCardFeishu } from "./reply-delivery-result-DknmIzOB.mjs";
4
+ import { r as createFeishuClient } from "./client-BTiFlqqL.mjs";
5
+ import { a as getFeishuMemberInfo, i as getChatMembers, n as buildFeishuDirectChatMembers, r as getChatInfo, t as assertFeishuChatMember } from "./chat-qj1pEIcO.mjs";
6
+ import { t as probeFeishu } from "./probe-s0hiM44D.mjs";
7
7
  import { normalizeLowercaseStringOrEmpty } from "openclaw/plugin-sdk/string-coerce-runtime";
8
8
  //#region extensions/feishu/src/directory.ts
9
9
  const MAX_FEISHU_DIRECTORY_PAGES = 100;
@@ -1,5 +1,5 @@
1
- import { $ as assertFeishuApiSuccess, Ft as resolveFeishuChatType, J as registerFeishuTool, Q as resolveFeishuToolAccount, Tt as resolveFeishuChatReadPreliminaryAuthorization, Y as feishuExternalToolResult, it as formatFeishuApiError, vt as assertFeishuChatReadAllowed, wt as readFeishuChatInfoWithAuthorization, yt as authorizeFeishuChatMemberRead } from "./reply-delivery-result-iCCrdxE1.mjs";
2
- import { r as createFeishuClient } from "./client-wwr8PGPH.mjs";
1
+ import { $ as resolveFeishuToolAccount, Et as resolveFeishuChatReadPreliminaryAuthorization, It as resolveFeishuChatType, Tt as readFeishuChatInfoWithAuthorization, X as feishuExternalToolResult, Y as registerFeishuTool, at as formatFeishuApiError, bt as authorizeFeishuChatMemberRead, et as assertFeishuApiSuccess, yt as assertFeishuChatReadAllowed } from "./reply-delivery-result-DknmIzOB.mjs";
2
+ import { r as createFeishuClient } from "./client-BTiFlqqL.mjs";
3
3
  import { optionalPositiveIntegerSchema } from "openclaw/plugin-sdk/channel-actions";
4
4
  import { readPositiveIntegerParam } from "openclaw/plugin-sdk/param-readers";
5
5
  import { Type } from "typebox";
@@ -1,4 +1,4 @@
1
- import { _ as __exportAll } from "./doctor-contract-oIpUWtNO.mjs";
1
+ import { _ as __exportAll } from "./doctor-contract-BNXcJcWR.mjs";
2
2
  import { createRequire } from "node:module";
3
3
  import { PlatformMessageNotDispatchedError } from "openclaw/plugin-sdk/error-runtime";
4
4
  import { asPositiveFiniteNumber, parseStrictPositiveInteger } from "openclaw/plugin-sdk/number-runtime";
@@ -171,7 +171,7 @@ async function getFeishuProxyAgent() {
171
171
  try {
172
172
  return await pending;
173
173
  } finally {
174
- if (pendingFeishuProxyAgent === pending) pendingFeishuProxyAgent = void 0;
174
+ pendingFeishuProxyAgent = void 0;
175
175
  }
176
176
  }
177
177
  const clientCache = /* @__PURE__ */ new Map();
@@ -247,7 +247,7 @@ const FeishuStickerSetsSchema = z.record(z.string().regex(canonicalTextPattern(1
247
247
  const FeishuGroupPolicySchema = z.union([GroupPolicySchema, z.literal("allowall").transform(() => "open")]);
248
248
  const FeishuDomainSchema = z.union([z.enum(["feishu", "lark"]), z.string().regex(/^[Hh][Tt][Tt][Pp][Ss]:\/\//).url()]);
249
249
  const FeishuConnectionModeSchema = z.enum(["websocket", "webhook"]);
250
- const FeishuWebhookPathSchema = z.string().refine((value) => normalizeFeishuWebhookPath(value) === value, { message: "webhookPath must be a canonical HTTP request path; run \"openclaw doctor --fix\" to repair it" });
250
+ const FeishuWebhookPathSchema = z.string().refine((value) => normalizeFeishuWebhookPath(value) === value, { message: "webhookPath must be a normalized HTTP request path; run \"openclaw doctor --fix\" to repair it" });
251
251
  const TtsOverrideSchema = z.object({
252
252
  auto: z.enum([
253
253
  "off",
@@ -805,7 +805,7 @@ const legacyConfigRules = [
805
805
  feishuStrayEntryConfigMigration.legacyConfigRule,
806
806
  {
807
807
  path: ["channels", "feishu"],
808
- message: "channels.feishu[.accounts.<id>].webhookPath must be a canonical HTTP request path; run \"openclaw doctor --fix\".",
808
+ message: "channels.feishu[.accounts.<id>].webhookPath must be a normalized HTTP request path; run \"openclaw doctor --fix\".",
809
809
  match: (value) => {
810
810
  const entry = (0, runtime_doctor_migrations_exports.asObjectRecord)(value);
811
811
  return hasLegacyWebhookPath(entry) || (0, runtime_doctor_migrations_exports.hasLegacyAccountStreamingAliases)(entry?.accounts, hasLegacyWebhookPath);
@@ -1,6 +1,6 @@
1
- import { d as listEnabledFeishuAccounts, g as resolveFeishuRuntimeAccount } from "./doctor-contract-oIpUWtNO.mjs";
1
+ import { d as listEnabledFeishuAccounts, g as resolveFeishuRuntimeAccount } from "./doctor-contract-BNXcJcWR.mjs";
2
2
  import { t as getFeishuRuntime } from "./runtime-C5JxBWZp.mjs";
3
- import { r as registerFeishuAiAgent, t as probeFeishu } from "./probe-DXnFxq5j.mjs";
3
+ import { r as registerFeishuAiAgent, t as probeFeishu } from "./probe-s0hiM44D.mjs";
4
4
  import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
5
5
  import { normalizeAccountId } from "openclaw/plugin-sdk/account-resolution";
6
6
  import { clampTimerTimeoutMs, parseStrictPositiveInteger } from "openclaw/plugin-sdk/number-runtime";
@@ -123,7 +123,7 @@ async function fetchBotIdentityForMonitor(account, options = {}) {
123
123
  }
124
124
  //#endregion
125
125
  //#region extensions/feishu/src/monitor.ts
126
- const loadMonitorAccountRuntime = createLazyRuntimeModule(() => import("./monitor.account-UbN1RhlP.mjs"));
126
+ const loadMonitorAccountRuntime = createLazyRuntimeModule(() => import("./monitor.account-CpMwDf-a.mjs"));
127
127
  async function monitorFeishuProvider(opts = {}) {
128
128
  const cfg = opts.config;
129
129
  if (!cfg) throw new Error("Config is required for Feishu monitor");