@openclaw/feishu 2026.10.2 → 2026.10.5-beta.2

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 (325) hide show
  1. package/dist/.setup/{app-registration-BB6TubaW.mjs → app-registration-DQOq5urV.mjs} +13 -32
  2. package/dist/.setup/{channel-DZakdZ3r.mjs → channel-CjGGyrdx.mjs} +87 -174
  3. package/dist/.setup/{channel.runtime-rXFuQXLL.mjs → channel.runtime-SaC_uTPM.mjs} +57 -74
  4. package/dist/.setup/{chat-mTBvMMvx.mjs → chat-fC3dvxFs.mjs} +16 -28
  5. package/dist/.setup/{client-CcxmEkoy.mjs → client-wwr8PGPH.mjs} +24 -30
  6. package/dist/.setup/{conversation-id-C1ofUfU8.mjs → conversation-id-D00i9uy5.mjs} +5 -10
  7. package/dist/.setup/{doctor-contract-DyOo8NvC.mjs → doctor-contract-oIpUWtNO.mjs} +8 -15
  8. package/dist/.setup/{monitor-CXaFHMmi.mjs → monitor-Yt__BUki.mjs} +33 -54
  9. package/dist/.setup/{monitor.account-cJ8gavqv.mjs → monitor.account-CVz16781.mjs} +359 -658
  10. package/dist/.setup/{probe-BjSykXB8.mjs → probe-DXnFxq5j.mjs} +14 -17
  11. package/dist/.setup/{reply-delivery-result-laBNOmBu.mjs → reply-delivery-result-iCCrdxE1.mjs} +153 -181
  12. package/dist/.setup/{session-conversation-C53IEUWt.mjs → session-conversation-BSBNK5Mq.mjs} +1 -1
  13. package/dist/.setup/{setup-api-fZcYXGxe.mjs → setup-api-B_LFQQ-Q.mjs} +1 -1
  14. package/dist/.setup/{subagent-hooks-C8Z_x3KJ.mjs → subagent-hooks-9Pc1-k37.mjs} +7 -17
  15. package/dist/.setup/{thread-bindings-jW2x5VuN.mjs → thread-bindings-DdNLxoL3.mjs} +21 -44
  16. package/dist/api.js +218 -326
  17. package/dist/channel-plugin-api.js +1 -1
  18. package/dist/contract-api.js +1 -1
  19. package/dist/doctor-contract-api.js +1 -1
  20. package/dist/session-binding-contract-api.js +1 -1
  21. package/dist/session-key-api.js +1 -1
  22. package/dist/setup-api.js +1 -1
  23. package/dist/setup-entry.js +1 -1
  24. package/dist/subagent-hooks-api.js +1 -1
  25. package/node_modules/@openclaw/fs-safe/CHANGELOG.md +35 -0
  26. package/node_modules/@openclaw/fs-safe/README.md +1 -1
  27. package/node_modules/@openclaw/fs-safe/dist/advanced.d.ts +1 -1
  28. package/node_modules/@openclaw/fs-safe/dist/advanced.js +1 -1
  29. package/node_modules/@openclaw/fs-safe/dist/archive-durability.js +1 -1
  30. package/node_modules/@openclaw/fs-safe/dist/archive-merge.js +4 -4
  31. package/node_modules/@openclaw/fs-safe/dist/archive-parser.wasm +0 -0
  32. package/node_modules/@openclaw/fs-safe/dist/archive-read.js +5 -4
  33. package/node_modules/@openclaw/fs-safe/dist/archive-staging.d.ts +1 -1
  34. package/node_modules/@openclaw/fs-safe/dist/archive-staging.js +22 -38
  35. package/node_modules/@openclaw/fs-safe/dist/copy-path-admission.d.ts +17 -0
  36. package/node_modules/@openclaw/fs-safe/dist/copy-path-admission.js +117 -0
  37. package/node_modules/@openclaw/fs-safe/dist/copy-root-file-sync.d.ts +8 -5
  38. package/node_modules/@openclaw/fs-safe/dist/copy-root-file-sync.js +27 -50
  39. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-acquire.d.ts +3 -0
  40. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-acquire.js +57 -11
  41. package/node_modules/@openclaw/fs-safe/dist/guarded-mutation.js +5 -5
  42. package/node_modules/@openclaw/fs-safe/dist/guest-native-python.js +52 -5
  43. package/node_modules/@openclaw/fs-safe/dist/guest.js +1 -1
  44. package/node_modules/@openclaw/fs-safe/dist/native-binding.d.ts +1 -0
  45. package/node_modules/@openclaw/fs-safe/dist/native-operations.d.ts +0 -1
  46. package/node_modules/@openclaw/fs-safe/dist/native-operations.js +22 -26
  47. package/node_modules/@openclaw/fs-safe/dist/native-pinned-write-windows.js +5 -1
  48. package/node_modules/@openclaw/fs-safe/dist/native-staged-file.js +4 -1
  49. package/node_modules/@openclaw/fs-safe/dist/permission-exec.js +2 -1
  50. package/node_modules/@openclaw/fs-safe/dist/pinned-write-types.d.ts +6 -1
  51. package/node_modules/@openclaw/fs-safe/dist/private-temp-workspace.js +2 -2
  52. package/node_modules/@openclaw/fs-safe/dist/publish-file.js +34 -7
  53. package/node_modules/@openclaw/fs-safe/dist/replace-file-copy-fallback.js +1 -4
  54. package/node_modules/@openclaw/fs-safe/dist/replace-file-descriptor.js +6 -0
  55. package/node_modules/@openclaw/fs-safe/dist/root-create-input.d.ts +15 -1
  56. package/node_modules/@openclaw/fs-safe/dist/root-create-input.js +4 -0
  57. package/node_modules/@openclaw/fs-safe/dist/root-directory-entry.js +1 -1
  58. package/node_modules/@openclaw/fs-safe/dist/root-directory-list.d.ts +0 -1
  59. package/node_modules/@openclaw/fs-safe/dist/root-directory-list.js +6 -12
  60. package/node_modules/@openclaw/fs-safe/dist/root-impl.js +15 -15
  61. package/node_modules/@openclaw/fs-safe/dist/root-paths.js +1 -1
  62. package/node_modules/@openclaw/fs-safe/dist/root-walk.js +4 -4
  63. package/node_modules/@openclaw/fs-safe/dist/root-write-verification.d.ts +10 -1
  64. package/node_modules/@openclaw/fs-safe/dist/root-write-verification.js +20 -0
  65. package/node_modules/@openclaw/fs-safe/dist/secure-temp-dir.js +19 -7
  66. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-acquire.js +25 -3
  67. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-admission.d.ts +2 -0
  68. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-retained.d.ts +14 -0
  69. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-retained.js +187 -0
  70. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock.js +15 -1
  71. package/node_modules/@openclaw/fs-safe/dist/temp-directory-diagnostics.d.ts +10 -0
  72. package/node_modules/@openclaw/fs-safe/dist/temp-directory-diagnostics.js +29 -0
  73. package/node_modules/@openclaw/fs-safe/dist/temp-target.js +1 -1
  74. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-admission.js +6 -6
  75. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-child-admission.d.ts +4 -4
  76. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-child-admission.js +17 -16
  77. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-descriptor.js +20 -28
  78. package/node_modules/@openclaw/fs-safe/dist/walk.js +2 -13
  79. package/node_modules/@openclaw/fs-safe/dist/watch-native.d.ts +2 -2
  80. package/node_modules/@openclaw/fs-safe/dist/watch-native.js +3 -1
  81. package/node_modules/@openclaw/fs-safe/dist/watch-rescan.js +3 -9
  82. package/node_modules/@openclaw/fs-safe/dist/watch.js +2 -3
  83. package/node_modules/@openclaw/fs-safe/docs/advanced.md +1 -1
  84. package/node_modules/@openclaw/fs-safe/docs/archive.md +3 -0
  85. package/node_modules/@openclaw/fs-safe/docs/atomic.md +11 -3
  86. package/node_modules/@openclaw/fs-safe/docs/contributing.md +1 -1
  87. package/node_modules/@openclaw/fs-safe/docs/copy.md +48 -0
  88. package/node_modules/@openclaw/fs-safe/docs/guest.md +21 -4
  89. package/node_modules/@openclaw/fs-safe/docs/path-scope.md +4 -0
  90. package/node_modules/@openclaw/fs-safe/docs/sidecar-lock.md +46 -8
  91. package/node_modules/@openclaw/fs-safe/docs/temp.md +12 -0
  92. package/node_modules/@openclaw/fs-safe/docs/watch.md +3 -2
  93. package/node_modules/@openclaw/fs-safe/package.json +15 -15
  94. package/node_modules/@openclaw/fs-safe-darwin-arm64/fs-safe-native.node +0 -0
  95. package/node_modules/@openclaw/fs-safe-darwin-arm64/package.json +1 -1
  96. package/node_modules/@openclaw/fs-safe-darwin-x64/fs-safe-native.node +0 -0
  97. package/node_modules/@openclaw/fs-safe-darwin-x64/package.json +1 -1
  98. package/node_modules/@openclaw/fs-safe-linux-arm64-gnu/fs-safe-native.node +0 -0
  99. package/node_modules/@openclaw/fs-safe-linux-arm64-gnu/package.json +1 -1
  100. package/node_modules/@openclaw/fs-safe-linux-arm64-musl/fs-safe-native.node +0 -0
  101. package/node_modules/@openclaw/fs-safe-linux-arm64-musl/package.json +1 -1
  102. package/node_modules/@openclaw/fs-safe-linux-x64-gnu/fs-safe-native.node +0 -0
  103. package/node_modules/@openclaw/fs-safe-linux-x64-gnu/package.json +1 -1
  104. package/node_modules/@openclaw/fs-safe-linux-x64-musl/fs-safe-native.node +0 -0
  105. package/node_modules/@openclaw/fs-safe-linux-x64-musl/package.json +1 -1
  106. package/node_modules/@openclaw/fs-safe-win32-x64-msvc/fs-safe-native.node +0 -0
  107. package/node_modules/@openclaw/fs-safe-win32-x64-msvc/package.json +1 -1
  108. package/node_modules/follow-redirects/index.js +10 -1
  109. package/node_modules/follow-redirects/package.json +1 -1
  110. package/node_modules/mdast-util-to-markdown/index.d.ts +2 -0
  111. package/node_modules/mdast-util-to-markdown/lib/configure.d.ts +5 -0
  112. package/node_modules/mdast-util-to-markdown/lib/configure.d.ts.map +1 -1
  113. package/node_modules/mdast-util-to-markdown/lib/configure.js +19 -0
  114. package/node_modules/mdast-util-to-markdown/lib/handle/blockquote.d.ts +7 -0
  115. package/node_modules/mdast-util-to-markdown/lib/handle/blockquote.d.ts.map +1 -1
  116. package/node_modules/mdast-util-to-markdown/lib/handle/blockquote.js +12 -1
  117. package/node_modules/mdast-util-to-markdown/lib/handle/break.d.ts +7 -0
  118. package/node_modules/mdast-util-to-markdown/lib/handle/break.d.ts.map +1 -1
  119. package/node_modules/mdast-util-to-markdown/lib/handle/break.js +16 -5
  120. package/node_modules/mdast-util-to-markdown/lib/handle/code.d.ts +7 -0
  121. package/node_modules/mdast-util-to-markdown/lib/handle/code.d.ts.map +1 -1
  122. package/node_modules/mdast-util-to-markdown/lib/handle/code.js +13 -2
  123. package/node_modules/mdast-util-to-markdown/lib/handle/definition.d.ts +7 -0
  124. package/node_modules/mdast-util-to-markdown/lib/handle/definition.d.ts.map +1 -1
  125. package/node_modules/mdast-util-to-markdown/lib/handle/definition.js +7 -0
  126. package/node_modules/mdast-util-to-markdown/lib/handle/emphasis.d.ts +30 -2
  127. package/node_modules/mdast-util-to-markdown/lib/handle/emphasis.d.ts.map +1 -1
  128. package/node_modules/mdast-util-to-markdown/lib/handle/emphasis.js +39 -41
  129. package/node_modules/mdast-util-to-markdown/lib/handle/heading.d.ts +7 -0
  130. package/node_modules/mdast-util-to-markdown/lib/handle/heading.d.ts.map +1 -1
  131. package/node_modules/mdast-util-to-markdown/lib/handle/heading.js +11 -2
  132. package/node_modules/mdast-util-to-markdown/lib/handle/html.d.ts +7 -0
  133. package/node_modules/mdast-util-to-markdown/lib/handle/html.d.ts.map +1 -1
  134. package/node_modules/mdast-util-to-markdown/lib/handle/html.js +7 -0
  135. package/node_modules/mdast-util-to-markdown/lib/handle/image-reference.d.ts +10 -0
  136. package/node_modules/mdast-util-to-markdown/lib/handle/image-reference.d.ts.map +1 -1
  137. package/node_modules/mdast-util-to-markdown/lib/handle/image-reference.js +17 -2
  138. package/node_modules/mdast-util-to-markdown/lib/handle/image.d.ts +10 -0
  139. package/node_modules/mdast-util-to-markdown/lib/handle/image.d.ts.map +1 -1
  140. package/node_modules/mdast-util-to-markdown/lib/handle/image.js +10 -0
  141. package/node_modules/mdast-util-to-markdown/lib/handle/inline-code.d.ts +9 -0
  142. package/node_modules/mdast-util-to-markdown/lib/handle/inline-code.d.ts.map +1 -1
  143. package/node_modules/mdast-util-to-markdown/lib/handle/inline-code.js +14 -4
  144. package/node_modules/mdast-util-to-markdown/lib/handle/link-reference.d.ts +10 -0
  145. package/node_modules/mdast-util-to-markdown/lib/handle/link-reference.d.ts.map +1 -1
  146. package/node_modules/mdast-util-to-markdown/lib/handle/link-reference.js +17 -2
  147. package/node_modules/mdast-util-to-markdown/lib/handle/link.d.ts +13 -0
  148. package/node_modules/mdast-util-to-markdown/lib/handle/link.d.ts.map +1 -1
  149. package/node_modules/mdast-util-to-markdown/lib/handle/link.js +24 -9
  150. package/node_modules/mdast-util-to-markdown/lib/handle/list-item.d.ts +7 -0
  151. package/node_modules/mdast-util-to-markdown/lib/handle/list-item.d.ts.map +1 -1
  152. package/node_modules/mdast-util-to-markdown/lib/handle/list-item.js +12 -1
  153. package/node_modules/mdast-util-to-markdown/lib/handle/list.d.ts +7 -0
  154. package/node_modules/mdast-util-to-markdown/lib/handle/list.d.ts.map +1 -1
  155. package/node_modules/mdast-util-to-markdown/lib/handle/list.js +7 -0
  156. package/node_modules/mdast-util-to-markdown/lib/handle/paragraph.d.ts +7 -0
  157. package/node_modules/mdast-util-to-markdown/lib/handle/paragraph.d.ts.map +1 -1
  158. package/node_modules/mdast-util-to-markdown/lib/handle/paragraph.js +7 -0
  159. package/node_modules/mdast-util-to-markdown/lib/handle/root.d.ts +7 -0
  160. package/node_modules/mdast-util-to-markdown/lib/handle/root.d.ts.map +1 -1
  161. package/node_modules/mdast-util-to-markdown/lib/handle/root.js +13 -2
  162. package/node_modules/mdast-util-to-markdown/lib/handle/strong.d.ts +30 -2
  163. package/node_modules/mdast-util-to-markdown/lib/handle/strong.d.ts.map +1 -1
  164. package/node_modules/mdast-util-to-markdown/lib/handle/strong.js +39 -41
  165. package/node_modules/mdast-util-to-markdown/lib/handle/text.d.ts +7 -0
  166. package/node_modules/mdast-util-to-markdown/lib/handle/text.d.ts.map +1 -1
  167. package/node_modules/mdast-util-to-markdown/lib/handle/text.js +7 -0
  168. package/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.d.ts +6 -0
  169. package/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.d.ts.map +1 -1
  170. package/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js +6 -0
  171. package/node_modules/mdast-util-to-markdown/lib/index.d.ts.map +1 -1
  172. package/node_modules/mdast-util-to-markdown/lib/index.js +34 -8
  173. package/node_modules/mdast-util-to-markdown/lib/join.d.ts.map +1 -1
  174. package/node_modules/mdast-util-to-markdown/lib/join.js +18 -1
  175. package/node_modules/mdast-util-to-markdown/lib/types.d.ts +50 -30
  176. package/node_modules/mdast-util-to-markdown/lib/unsafe.d.ts.map +1 -1
  177. package/node_modules/mdast-util-to-markdown/lib/unsafe.js +15 -1
  178. package/node_modules/mdast-util-to-markdown/lib/util/character.d.ts +23 -0
  179. package/node_modules/mdast-util-to-markdown/lib/util/character.d.ts.map +1 -0
  180. package/node_modules/mdast-util-to-markdown/lib/util/character.js +32 -0
  181. package/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.d.ts +4 -0
  182. package/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.d.ts.map +1 -1
  183. package/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.js +4 -0
  184. package/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.d.ts +4 -0
  185. package/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.d.ts.map +1 -1
  186. package/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js +4 -0
  187. package/node_modules/mdast-util-to-markdown/lib/util/check-bullet.d.ts +4 -0
  188. package/node_modules/mdast-util-to-markdown/lib/util/check-bullet.d.ts.map +1 -1
  189. package/node_modules/mdast-util-to-markdown/lib/util/check-bullet.js +4 -0
  190. package/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.d.ts +4 -0
  191. package/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.d.ts.map +1 -1
  192. package/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js +4 -0
  193. package/node_modules/mdast-util-to-markdown/lib/util/check-fence.d.ts +4 -0
  194. package/node_modules/mdast-util-to-markdown/lib/util/check-fence.d.ts.map +1 -1
  195. package/node_modules/mdast-util-to-markdown/lib/util/check-fence.js +4 -0
  196. package/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.d.ts +4 -0
  197. package/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.d.ts.map +1 -1
  198. package/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js +4 -0
  199. package/node_modules/mdast-util-to-markdown/lib/util/check-quote.d.ts +4 -0
  200. package/node_modules/mdast-util-to-markdown/lib/util/check-quote.d.ts.map +1 -1
  201. package/node_modules/mdast-util-to-markdown/lib/util/check-quote.js +4 -0
  202. package/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.d.ts +4 -0
  203. package/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.d.ts.map +1 -1
  204. package/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js +4 -0
  205. package/node_modules/mdast-util-to-markdown/lib/util/check-rule.d.ts +4 -0
  206. package/node_modules/mdast-util-to-markdown/lib/util/check-rule.d.ts.map +1 -1
  207. package/node_modules/mdast-util-to-markdown/lib/util/check-rule.js +4 -0
  208. package/node_modules/mdast-util-to-markdown/lib/util/check-strong.d.ts +4 -0
  209. package/node_modules/mdast-util-to-markdown/lib/util/check-strong.d.ts.map +1 -1
  210. package/node_modules/mdast-util-to-markdown/lib/util/check-strong.js +4 -0
  211. package/node_modules/mdast-util-to-markdown/lib/util/compile-pattern.js +3 -1
  212. package/node_modules/mdast-util-to-markdown/lib/util/container-flow.d.ts +2 -0
  213. package/node_modules/mdast-util-to-markdown/lib/util/container-flow.d.ts.map +1 -1
  214. package/node_modules/mdast-util-to-markdown/lib/util/container-flow.js +9 -0
  215. package/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.d.ts +95 -4
  216. package/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.d.ts.map +1 -1
  217. package/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.js +636 -57
  218. package/node_modules/mdast-util-to-markdown/lib/util/encode-info.d.ts +2 -2
  219. package/node_modules/mdast-util-to-markdown/lib/util/encode-info.d.ts.map +1 -1
  220. package/node_modules/mdast-util-to-markdown/lib/util/encode-info.js +1 -1
  221. package/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.d.ts +5 -0
  222. package/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.d.ts.map +1 -1
  223. package/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.js +12 -7
  224. package/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.d.ts +5 -0
  225. package/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.d.ts.map +1 -1
  226. package/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.js +7 -2
  227. package/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.d.ts +5 -0
  228. package/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.d.ts.map +1 -1
  229. package/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js +20 -15
  230. package/node_modules/mdast-util-to-markdown/lib/util/html-kind.d.ts +31 -0
  231. package/node_modules/mdast-util-to-markdown/lib/util/html-kind.d.ts.map +1 -0
  232. package/node_modules/mdast-util-to-markdown/lib/util/html-kind.js +63 -0
  233. package/node_modules/mdast-util-to-markdown/lib/util/indent-lines.js +5 -0
  234. package/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.d.ts +5 -0
  235. package/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.d.ts.map +1 -1
  236. package/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js +11 -0
  237. package/node_modules/mdast-util-to-markdown/lib/util/safe.d.ts +2 -2
  238. package/node_modules/mdast-util-to-markdown/lib/util/safe.d.ts.map +1 -1
  239. package/node_modules/mdast-util-to-markdown/lib/util/safe.js +71 -7
  240. package/node_modules/mdast-util-to-markdown/package.json +13 -57
  241. package/node_modules/mdast-util-to-markdown/readme.md +139 -84
  242. package/node_modules/micromark/dev/lib/compile.d.ts.map +1 -1
  243. package/node_modules/micromark/dev/lib/compile.js +14 -4
  244. package/node_modules/micromark/dev/lib/create-tokenizer.d.ts.map +1 -1
  245. package/node_modules/micromark/dev/lib/create-tokenizer.js +7 -6
  246. package/node_modules/micromark/dev/lib/initialize/document.js +25 -21
  247. package/node_modules/micromark/dev/lib/initialize/text.d.ts.map +1 -1
  248. package/node_modules/micromark/dev/lib/initialize/text.js +10 -6
  249. package/node_modules/micromark/dev/lib/preprocess.d.ts.map +1 -1
  250. package/node_modules/micromark/dev/lib/preprocess.js +19 -21
  251. package/node_modules/micromark/lib/compile.d.ts.map +1 -1
  252. package/node_modules/micromark/lib/compile.js +37 -29
  253. package/node_modules/micromark/lib/create-tokenizer.d.ts.map +1 -1
  254. package/node_modules/micromark/lib/create-tokenizer.js +37 -35
  255. package/node_modules/micromark/lib/initialize/document.js +21 -13
  256. package/node_modules/micromark/lib/initialize/text.d.ts.map +1 -1
  257. package/node_modules/micromark/lib/initialize/text.js +7 -3
  258. package/node_modules/micromark/lib/preprocess.d.ts.map +1 -1
  259. package/node_modules/micromark/lib/preprocess.js +16 -19
  260. package/node_modules/micromark/package.json +2 -15
  261. package/node_modules/micromark-core-commonmark/dev/lib/attention.js +18 -24
  262. package/node_modules/micromark-core-commonmark/dev/lib/code-fenced.d.ts.map +1 -1
  263. package/node_modules/micromark-core-commonmark/dev/lib/code-fenced.js +1 -43
  264. package/node_modules/micromark-core-commonmark/dev/lib/code-indented.js +19 -43
  265. package/node_modules/micromark-core-commonmark/dev/lib/heading-atx.js +2 -6
  266. package/node_modules/micromark-core-commonmark/dev/lib/html-flow.d.ts.map +1 -1
  267. package/node_modules/micromark-core-commonmark/dev/lib/html-flow.js +2 -53
  268. package/node_modules/micromark-core-commonmark/dev/lib/label-end.js +14 -12
  269. package/node_modules/micromark-core-commonmark/dev/lib/label-start-image.d.ts.map +1 -1
  270. package/node_modules/micromark-core-commonmark/dev/lib/label-start-image.js +14 -5
  271. package/node_modules/micromark-core-commonmark/dev/lib/label-start-link.d.ts.map +1 -1
  272. package/node_modules/micromark-core-commonmark/dev/lib/label-start-link.js +14 -5
  273. package/node_modules/micromark-core-commonmark/dev/lib/partial-non-lazy-continuation.d.ts +4 -0
  274. package/node_modules/micromark-core-commonmark/dev/lib/partial-non-lazy-continuation.d.ts.map +1 -0
  275. package/node_modules/micromark-core-commonmark/dev/lib/partial-non-lazy-continuation.js +67 -0
  276. package/node_modules/micromark-core-commonmark/dev/lib/setext-underline.d.ts.map +1 -1
  277. package/node_modules/micromark-core-commonmark/dev/lib/setext-underline.js +8 -5
  278. package/node_modules/micromark-core-commonmark/lib/attention.js +14 -24
  279. package/node_modules/micromark-core-commonmark/lib/code-fenced.d.ts.map +1 -1
  280. package/node_modules/micromark-core-commonmark/lib/code-fenced.js +1 -39
  281. package/node_modules/micromark-core-commonmark/lib/code-indented.js +11 -29
  282. package/node_modules/micromark-core-commonmark/lib/heading-atx.js +2 -6
  283. package/node_modules/micromark-core-commonmark/lib/html-flow.d.ts.map +1 -1
  284. package/node_modules/micromark-core-commonmark/lib/html-flow.js +2 -51
  285. package/node_modules/micromark-core-commonmark/lib/label-end.js +11 -10
  286. package/node_modules/micromark-core-commonmark/lib/label-start-image.d.ts.map +1 -1
  287. package/node_modules/micromark-core-commonmark/lib/label-start-image.js +11 -3
  288. package/node_modules/micromark-core-commonmark/lib/label-start-link.d.ts.map +1 -1
  289. package/node_modules/micromark-core-commonmark/lib/label-start-link.js +11 -3
  290. package/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.d.ts +4 -0
  291. package/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.d.ts.map +1 -0
  292. package/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.js +61 -0
  293. package/node_modules/micromark-core-commonmark/lib/setext-underline.d.ts.map +1 -1
  294. package/node_modules/micromark-core-commonmark/lib/setext-underline.js +7 -5
  295. package/node_modules/micromark-core-commonmark/package.json +4 -16
  296. package/node_modules/micromark-factory-space/dev/index.d.ts +24 -1
  297. package/node_modules/micromark-factory-space/dev/index.d.ts.map +1 -1
  298. package/node_modules/micromark-factory-space/dev/index.js +58 -3
  299. package/node_modules/micromark-factory-space/index.d.ts +24 -1
  300. package/node_modules/micromark-factory-space/index.d.ts.map +1 -1
  301. package/node_modules/micromark-factory-space/index.js +55 -3
  302. package/node_modules/micromark-factory-space/package.json +1 -10
  303. package/node_modules/micromark-factory-space/readme.md +25 -25
  304. package/node_modules/micromark-util-edit-map/dev/index.d.ts +78 -0
  305. package/node_modules/micromark-util-edit-map/dev/index.d.ts.map +1 -0
  306. package/node_modules/micromark-util-edit-map/dev/index.js +237 -0
  307. package/node_modules/micromark-util-edit-map/index.d.ts +78 -0
  308. package/node_modules/micromark-util-edit-map/index.d.ts.map +1 -0
  309. package/node_modules/micromark-util-edit-map/index.js +225 -0
  310. package/node_modules/micromark-util-edit-map/license +22 -0
  311. package/node_modules/micromark-util-edit-map/package.json +48 -0
  312. package/node_modules/micromark-util-edit-map/readme.md +234 -0
  313. package/node_modules/micromark-util-types/index.d.ts +6 -3
  314. package/node_modules/micromark-util-types/package.json +2 -36
  315. package/node_modules/ws/lib/websocket.js +17 -3
  316. package/node_modules/ws/package.json +1 -1
  317. package/package.json +5 -5
  318. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-arbitration.d.ts +0 -17
  319. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-arbitration.js +0 -66
  320. package/node_modules/@openclaw/fs-safe/dist/publish-file-native.d.ts +0 -4
  321. package/node_modules/@openclaw/fs-safe/dist/publish-file-native.js +0 -35
  322. package/node_modules/@openclaw/fs-safe/dist/root-move-preflight.d.ts +0 -7
  323. package/node_modules/@openclaw/fs-safe/dist/root-move-preflight.js +0 -16
  324. package/node_modules/mdast-util-to-markdown/lib/util/emphasis-strong-marker.d.ts +0 -7
  325. package/node_modules/mdast-util-to-markdown/lib/util/emphasis-strong-marker.d.ts.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/feishu",
3
- "version": "2026.10.2",
3
+ "version": "2026.10.5-beta.2",
4
4
  "description": "OpenClaw Feishu/Lark channel plugin for chats and workplace tools (community maintained by @m1heng).",
5
5
  "repository": {
6
6
  "type": "git",
@@ -9,7 +9,7 @@
9
9
  "type": "module",
10
10
  "dependencies": {
11
11
  "@larksuiteoapi/node-sdk": "1.74.0",
12
- "@openclaw/fs-safe": "0.24.2",
12
+ "@openclaw/fs-safe": "0.25.0",
13
13
  "mdast-util-from-markdown": "2.0.3",
14
14
  "mdast-util-gfm-table": "2.0.0",
15
15
  "micromark-extension-gfm-table": "2.1.2",
@@ -17,7 +17,7 @@
17
17
  "zod": "4.6.5"
18
18
  },
19
19
  "peerDependencies": {
20
- "openclaw": ">=2026.10.2"
20
+ "openclaw": ">=2026.10.5-beta.2"
21
21
  },
22
22
  "peerDependenciesMeta": {
23
23
  "openclaw": {
@@ -64,11 +64,11 @@
64
64
  "minHostVersion": ">=2026.5.29"
65
65
  },
66
66
  "compat": {
67
- "pluginApi": ">=2026.10.2"
67
+ "pluginApi": ">=2026.10.5-beta.2"
68
68
  },
69
69
  "build": {
70
70
  "bundledDist": false,
71
- "openclawVersion": "2026.10.2"
71
+ "openclawVersion": "2026.10.5-beta.2"
72
72
  },
73
73
  "release": {
74
74
  "publishToClawHub": true,
@@ -1,17 +0,0 @@
1
- import { FsSafeError } from "./errors.js";
2
- import type { FileLockSyncHandle } from "./file-lock-sync.js";
3
- import { type FileLockSyncRootAuthority, type FileLockSyncRootPath } from "./file-lock-sync-root.js";
4
- import type { FileLockSyncRootFileReceipt } from "./file-lock-sync-root-io.js";
5
- import { type RootSyncHeldLock } from "./file-lock-sync-root-held.js";
6
- export declare class FileLockSyncRootArbitrationCollision extends FsSafeError {
7
- constructor();
8
- }
9
- export type FileLockSyncRootArbitration = Readonly<{
10
- authority: FileLockSyncRootAuthority;
11
- heldLocks: Map<string, RootSyncHeldLock>;
12
- lockRootPath: FileLockSyncRootPath;
13
- normalizedTargetPath: string;
14
- reentrantOwner?: string;
15
- }>;
16
- export declare function tryReuseCurrentRootSyncHeldLock(arbitration: FileLockSyncRootArbitration): FileLockSyncHandle | undefined;
17
- export declare function cleanupCreatedRootSyncLock(lockRootPath: FileLockSyncRootPath, fd: number, receipt: FileLockSyncRootFileReceipt, timer?: NodeJS.Timeout): void;
@@ -1,66 +0,0 @@
1
- import fs from "node:fs";
2
- import { foreignSyncHeldLock } from "./file-lock-sync-admission.js";
3
- import path from "node:path";
4
- import { FsSafeError } from "./errors.js";
5
- import {} from "./file-lock-sync-root.js";
6
- import { removeFileLockSyncRootFile } from "./file-lock-sync-root-mutation.js";
7
- import { createSuppressedError } from "./suppressed-error.js";
8
- import { createRootSyncHeldLockHandle, verifyRootSyncHeldLock, } from "./file-lock-sync-root-held.js";
9
- export class FileLockSyncRootArbitrationCollision extends FsSafeError {
10
- constructor() {
11
- super("path-mismatch", "file lock arbitration changed during local creation");
12
- }
13
- }
14
- function sameRootLockPath(left, right) {
15
- return left.relativePath === right.relativePath && path.relative(left.path, right.path) === "";
16
- }
17
- export function tryReuseCurrentRootSyncHeldLock(arbitration) {
18
- const held = arbitration.heldLocks.get(arbitration.normalizedTargetPath);
19
- const reusable = held && !foreignSyncHeldLock("root", arbitration.normalizedTargetPath) &&
20
- arbitration.reentrantOwner !== undefined &&
21
- held.reentrantOwner !== undefined &&
22
- arbitration.reentrantOwner === held.reentrantOwner &&
23
- arbitration.authority.adapter === held.rootAuthority.adapter &&
24
- sameRootLockPath(arbitration.lockRootPath, held.rootPath) &&
25
- held.releaseState !== "released";
26
- if (!reusable)
27
- return undefined;
28
- if (!verifyRootSyncHeldLock(held)) {
29
- throw new FsSafeError("path-mismatch", "held sidecar lock changed before reentrant reuse");
30
- }
31
- // Verification can invoke a custom parser. Re-fetch the exact entry before
32
- // granting a reference, while retaining supported releasing/exit states.
33
- if (arbitration.heldLocks.get(arbitration.normalizedTargetPath) !== held ||
34
- held.releaseState === "released" || foreignSyncHeldLock("root", arbitration.normalizedTargetPath)) {
35
- throw new FsSafeError("path-mismatch", "held sidecar lock changed during reentrant reuse");
36
- }
37
- held.refCount += 1;
38
- held.revision += 1;
39
- return createRootSyncHeldLockHandle(held);
40
- }
41
- export function cleanupCreatedRootSyncLock(lockRootPath, fd, receipt, timer) {
42
- let timerCleanupFailed = false;
43
- let timerCleanupError;
44
- try {
45
- if (timer)
46
- clearInterval(timer);
47
- }
48
- catch (error) {
49
- timerCleanupFailed = true;
50
- timerCleanupError = error;
51
- }
52
- try {
53
- fs.closeSync(fd);
54
- if (!removeFileLockSyncRootFile(lockRootPath, receipt)) {
55
- throw new FsSafeError("path-mismatch", "created sidecar lock changed before cleanup");
56
- }
57
- }
58
- catch (fileCleanupError) {
59
- if (timerCleanupFailed) {
60
- throw createSuppressedError(timerCleanupError, fileCleanupError, "unpublished lock timer and file cleanup both failed");
61
- }
62
- throw fileCleanupError;
63
- }
64
- if (timerCleanupFailed)
65
- throw timerCleanupError;
66
- }
@@ -1,4 +0,0 @@
1
- import type { BigIntStats } from "node:fs";
2
- import type { NativeBinding } from "./native-binding.js";
3
- import { type PublishFailureState } from "./publish-file-failure.js";
4
- export declare function publishFileNoReplaceNative(binding: NativeBinding, paths: Parameters<NativeBinding["renameNoReplace"]>, expected: BigIntStats, failure: PublishFailureState): "link-unlink" | undefined;
@@ -1,35 +0,0 @@
1
- import { FsSafeError } from "./errors.js";
2
- import { getFsSafeNativeConfig } from "./native-config.js";
3
- import { nativeMoveNoReplace } from "./native-move-fallback.js";
4
- import { rememberCreatedTarget } from "./publish-file-failure.js";
5
- export function publishFileNoReplaceNative(binding, paths, expected, failure) {
6
- try {
7
- const fallback = nativeMoveNoReplace(binding, paths, expected, getFsSafeNativeConfig().mode === "auto", "file publication");
8
- if (fallback) {
9
- failure.fallback = fallback;
10
- failure.sourceRemoval = "removed";
11
- }
12
- return fallback;
13
- }
14
- catch (error) {
15
- if (error instanceof FsSafeError && error.details?.publication === "published") {
16
- failure.targetCreated = true;
17
- failure.preserveTarget = true;
18
- failure.phase = "rename-verify";
19
- failure.fallback = "link-unlink";
20
- failure.sourceRemoval = error.details.sourceRemoval;
21
- // Changed/unverified pairs cannot establish which inode was published.
22
- if (failure.sourceRemoval === "still-linked")
23
- rememberCreatedTarget(failure, expected, "rename-verify");
24
- }
25
- if (error instanceof FsSafeError)
26
- throw error;
27
- const code = error?.code;
28
- if (code === "path-mismatch" || code === "hardlink") {
29
- throw new FsSafeError(code, "publication source changed before fallback", { cause: error });
30
- }
31
- if (code === "ELOOP")
32
- throw new FsSafeError("symlink", "publication source became a symlink", { cause: error });
33
- throw error;
34
- }
35
- }
@@ -1,7 +0,0 @@
1
- import { type DenyMutationPolicy } from "./deny-mutations.js";
2
- import { type RootContext } from "./root-context.js";
3
- export declare function assertMoveMutationAllowed(root: RootContext, params: {
4
- fromRelative: string;
5
- toRelative: string;
6
- denyMutations?: DenyMutationPolicy;
7
- }): Promise<void>;
@@ -1,16 +0,0 @@
1
- import { assertMutationNotDenied, } from "./deny-mutations.js";
2
- import { resolvePathInRoot } from "./root-context.js";
3
- export async function assertMoveMutationAllowed(root, params) {
4
- // Keep this preflight separate from the pinned resolutions in movePathFallback:
5
- // mutation denials must take precedence over source alias or identity failures.
6
- const source = await resolvePathInRoot(root, params.fromRelative, {
7
- aliasErrorCode: "path-alias",
8
- allowFinalSymlink: true,
9
- });
10
- await assertMutationNotDenied(source.resolved, params.denyMutations, { protectAncestors: true });
11
- const target = await resolvePathInRoot(root, params.toRelative, {
12
- aliasErrorCode: "path-alias",
13
- allowFinalSymlink: true,
14
- });
15
- await assertMutationNotDenied(target.resolved, params.denyMutations, { protectAncestors: true });
16
- }
@@ -1,7 +0,0 @@
1
- /**
2
- * @this {State}
3
- * @returns {'*' | '_'}
4
- */
5
- export function emphasisStrongMarker(this: State): "*" | "_";
6
- import type { State } from '../types.js';
7
- //# sourceMappingURL=emphasis-strong-marker.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"emphasis-strong-marker.d.ts","sourceRoot":"","sources":["emphasis-strong-marker.js"],"names":[],"mappings":"AAOA;;;GAGG;AACH,mDAFa,GAAG,GAAG,GAAG,CAqBrB;2BA7BuB,aAAa"}