@openclaw/feishu 2026.9.6 → 2026.9.8

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 (2408) hide show
  1. package/assets/icon.png +0 -0
  2. package/dist/.setup/accounts-wRqItHug.mjs +206 -0
  3. package/dist/.setup/app-registration-BB6TubaW.mjs +194 -0
  4. package/dist/.setup/channel-DV4hM2Uf.mjs +3042 -0
  5. package/dist/.setup/channel.runtime-CXQcH5zZ.mjs +230 -0
  6. package/dist/.setup/chat-D8MlFAZi.mjs +224 -0
  7. package/dist/.setup/client-BYG-_IZl.mjs +351 -0
  8. package/dist/.setup/conversation-id-C1ofUfU8.mjs +133 -0
  9. package/dist/.setup/doctor-contract-3XC0vbIw.mjs +661 -0
  10. package/dist/.setup/message-action-contract-Bhxj8Zrf.mjs +22 -0
  11. package/dist/.setup/monitor-D_rsHBZ6.mjs +204 -0
  12. package/dist/.setup/monitor.account-DvvY7i6k.mjs +6905 -0
  13. package/dist/.setup/probe-_ViqSi0j.mjs +208 -0
  14. package/dist/.setup/reply-delivery-result-COAjaukc.mjs +3490 -0
  15. package/dist/.setup/secret-contract-CI1wCr9i.mjs +60 -0
  16. package/dist/.setup/secret-contract-api-o4CeT4nP.mjs +3 -0
  17. package/dist/.setup/security-audit-b86aSgH2.mjs +34 -0
  18. package/dist/.setup/session-conversation-C53IEUWt.mjs +27 -0
  19. package/dist/.setup/setup-api-C4S5I3ac.mjs +3 -0
  20. package/dist/.setup/subagent-hooks-BaFoMu8W.mjs +129 -0
  21. package/dist/.setup/thread-bindings-EdLXPXzw.mjs +229 -0
  22. package/dist/api.js +401 -732
  23. package/dist/channel-plugin-api.js +1 -1
  24. package/dist/contract-api.js +3 -3
  25. package/dist/doctor-contract-api.js +1 -1
  26. package/dist/runtime-api.js +2 -10
  27. package/dist/secret-contract-api.js +1 -1
  28. package/dist/security-contract-api.js +1 -1
  29. package/dist/session-binding-contract-api.js +1 -1
  30. package/dist/session-key-api.js +1 -1
  31. package/dist/setup-api.js +1 -1
  32. package/dist/setup-entry.js +2 -2
  33. package/dist/subagent-hooks-api.js +1 -1
  34. package/node_modules/@larksuiteoapi/node-sdk/README.md +20 -0
  35. package/node_modules/@larksuiteoapi/node-sdk/README.zh.md +20 -0
  36. package/node_modules/@larksuiteoapi/node-sdk/es/index.js +33 -1
  37. package/node_modules/@larksuiteoapi/node-sdk/lib/index.js +33 -1
  38. package/node_modules/@larksuiteoapi/node-sdk/package.json +1 -1
  39. package/node_modules/@larksuiteoapi/node-sdk/types/index.d.ts +17 -0
  40. package/node_modules/@openclaw/fs-safe/CHANGELOG.md +1289 -0
  41. package/node_modules/@openclaw/fs-safe/LICENSE +22 -0
  42. package/node_modules/@openclaw/fs-safe/README.md +672 -0
  43. package/node_modules/@openclaw/fs-safe/SECURITY.md +45 -0
  44. package/node_modules/@openclaw/fs-safe/dist/absolute-path.d.ts +32 -0
  45. package/node_modules/@openclaw/fs-safe/dist/absolute-path.js +323 -0
  46. package/node_modules/@openclaw/fs-safe/dist/advanced.d.ts +41 -0
  47. package/node_modules/@openclaw/fs-safe/dist/advanced.js +40 -0
  48. package/node_modules/@openclaw/fs-safe/dist/archive-crc32.d.ts +1 -0
  49. package/node_modules/@openclaw/fs-safe/dist/archive-crc32.js +19 -0
  50. package/node_modules/@openclaw/fs-safe/dist/archive-deadline.d.ts +11 -0
  51. package/node_modules/@openclaw/fs-safe/dist/archive-deadline.js +101 -0
  52. package/node_modules/@openclaw/fs-safe/dist/archive-durability.d.ts +23 -0
  53. package/node_modules/@openclaw/fs-safe/dist/archive-durability.js +180 -0
  54. package/node_modules/@openclaw/fs-safe/dist/archive-entry.d.ts +13 -0
  55. package/node_modules/@openclaw/fs-safe/dist/archive-entry.js +85 -0
  56. package/node_modules/@openclaw/fs-safe/dist/archive-errors.d.ts +12 -0
  57. package/node_modules/@openclaw/fs-safe/dist/archive-errors.js +23 -0
  58. package/node_modules/@openclaw/fs-safe/dist/archive-gzip-tail.d.ts +20 -0
  59. package/node_modules/@openclaw/fs-safe/dist/archive-gzip-tail.js +99 -0
  60. package/node_modules/@openclaw/fs-safe/dist/archive-input.d.ts +18 -0
  61. package/node_modules/@openclaw/fs-safe/dist/archive-input.js +98 -0
  62. package/node_modules/@openclaw/fs-safe/dist/archive-kind.d.ts +7 -0
  63. package/node_modules/@openclaw/fs-safe/dist/archive-kind.js +71 -0
  64. package/node_modules/@openclaw/fs-safe/dist/archive-limits.d.ts +56 -0
  65. package/node_modules/@openclaw/fs-safe/dist/archive-limits.js +131 -0
  66. package/node_modules/@openclaw/fs-safe/dist/archive-merge.d.ts +22 -0
  67. package/node_modules/@openclaw/fs-safe/dist/archive-merge.js +282 -0
  68. package/node_modules/@openclaw/fs-safe/dist/archive-parser-errors.d.ts +1 -0
  69. package/node_modules/@openclaw/fs-safe/dist/archive-parser-errors.js +12 -0
  70. package/node_modules/@openclaw/fs-safe/dist/archive-parser.wasm +0 -0
  71. package/node_modules/@openclaw/fs-safe/dist/archive-plan.d.ts +85 -0
  72. package/node_modules/@openclaw/fs-safe/dist/archive-plan.js +119 -0
  73. package/node_modules/@openclaw/fs-safe/dist/archive-read.d.ts +5 -0
  74. package/node_modules/@openclaw/fs-safe/dist/archive-read.js +234 -0
  75. package/node_modules/@openclaw/fs-safe/dist/archive-staging.d.ts +32 -0
  76. package/node_modules/@openclaw/fs-safe/dist/archive-staging.js +308 -0
  77. package/node_modules/@openclaw/fs-safe/dist/archive-tar-stream.d.ts +27 -0
  78. package/node_modules/@openclaw/fs-safe/dist/archive-tar-stream.js +127 -0
  79. package/node_modules/@openclaw/fs-safe/dist/archive-tar-wasm.d.ts +29 -0
  80. package/node_modules/@openclaw/fs-safe/dist/archive-tar-wasm.js +203 -0
  81. package/node_modules/@openclaw/fs-safe/dist/archive-zip-admission.d.ts +7 -0
  82. package/node_modules/@openclaw/fs-safe/dist/archive-zip-admission.js +96 -0
  83. package/node_modules/@openclaw/fs-safe/dist/archive-zip-count.d.ts +1 -0
  84. package/node_modules/@openclaw/fs-safe/dist/archive-zip-count.js +160 -0
  85. package/node_modules/@openclaw/fs-safe/dist/archive-zip-directory.d.ts +21 -0
  86. package/node_modules/@openclaw/fs-safe/dist/archive-zip-directory.js +267 -0
  87. package/node_modules/@openclaw/fs-safe/dist/archive-zip-entry.d.ts +24 -0
  88. package/node_modules/@openclaw/fs-safe/dist/archive-zip-entry.js +10 -0
  89. package/node_modules/@openclaw/fs-safe/dist/archive-zip-integrity.d.ts +4 -0
  90. package/node_modules/@openclaw/fs-safe/dist/archive-zip-integrity.js +30 -0
  91. package/node_modules/@openclaw/fs-safe/dist/archive-zip-loader.d.ts +12 -0
  92. package/node_modules/@openclaw/fs-safe/dist/archive-zip-loader.js +150 -0
  93. package/node_modules/@openclaw/fs-safe/dist/archive-zip-manifest.d.ts +4 -0
  94. package/node_modules/@openclaw/fs-safe/dist/archive-zip-manifest.js +24 -0
  95. package/node_modules/@openclaw/fs-safe/dist/archive-zip-names.d.ts +17 -0
  96. package/node_modules/@openclaw/fs-safe/dist/archive-zip-names.js +149 -0
  97. package/node_modules/@openclaw/fs-safe/dist/archive-zip-preflight.d.ts +4 -0
  98. package/node_modules/@openclaw/fs-safe/dist/archive-zip-preflight.js +21 -0
  99. package/node_modules/@openclaw/fs-safe/dist/archive.d.ts +20 -0
  100. package/node_modules/@openclaw/fs-safe/dist/archive.js +332 -0
  101. package/node_modules/@openclaw/fs-safe/dist/async-lock.d.ts +1 -0
  102. package/node_modules/@openclaw/fs-safe/dist/async-lock.js +17 -0
  103. package/node_modules/@openclaw/fs-safe/dist/atomic.d.ts +6 -0
  104. package/node_modules/@openclaw/fs-safe/dist/atomic.js +4 -0
  105. package/node_modules/@openclaw/fs-safe/dist/bounded-read-stream.d.ts +2 -0
  106. package/node_modules/@openclaw/fs-safe/dist/bounded-read-stream.js +15 -0
  107. package/node_modules/@openclaw/fs-safe/dist/bounded-read.d.ts +25 -0
  108. package/node_modules/@openclaw/fs-safe/dist/bounded-read.js +143 -0
  109. package/node_modules/@openclaw/fs-safe/dist/byte-budget.d.ts +3 -0
  110. package/node_modules/@openclaw/fs-safe/dist/byte-budget.js +9 -0
  111. package/node_modules/@openclaw/fs-safe/dist/byte-view.d.ts +2 -0
  112. package/node_modules/@openclaw/fs-safe/dist/byte-view.js +13 -0
  113. package/node_modules/@openclaw/fs-safe/dist/clone-metadata.d.ts +19 -0
  114. package/node_modules/@openclaw/fs-safe/dist/clone-metadata.js +36 -0
  115. package/node_modules/@openclaw/fs-safe/dist/config.d.ts +2 -0
  116. package/node_modules/@openclaw/fs-safe/dist/config.js +2 -0
  117. package/node_modules/@openclaw/fs-safe/dist/containment.d.ts +1 -0
  118. package/node_modules/@openclaw/fs-safe/dist/containment.js +1 -0
  119. package/node_modules/@openclaw/fs-safe/dist/copy-file-input.d.ts +21 -0
  120. package/node_modules/@openclaw/fs-safe/dist/copy-file-input.js +71 -0
  121. package/node_modules/@openclaw/fs-safe/dist/copy-policy.d.ts +2 -0
  122. package/node_modules/@openclaw/fs-safe/dist/copy-policy.js +8 -0
  123. package/node_modules/@openclaw/fs-safe/dist/copy-publication.d.ts +18 -0
  124. package/node_modules/@openclaw/fs-safe/dist/copy-publication.js +29 -0
  125. package/node_modules/@openclaw/fs-safe/dist/copy-tree-portable.d.ts +8 -0
  126. package/node_modules/@openclaw/fs-safe/dist/copy-tree-portable.js +245 -0
  127. package/node_modules/@openclaw/fs-safe/dist/copy.d.ts +15 -0
  128. package/node_modules/@openclaw/fs-safe/dist/copy.js +143 -0
  129. package/node_modules/@openclaw/fs-safe/dist/create-owned-file.d.ts +7 -0
  130. package/node_modules/@openclaw/fs-safe/dist/create-owned-file.js +16 -0
  131. package/node_modules/@openclaw/fs-safe/dist/create.d.ts +17 -0
  132. package/node_modules/@openclaw/fs-safe/dist/create.js +388 -0
  133. package/node_modules/@openclaw/fs-safe/dist/creation-boundary.d.ts +60 -0
  134. package/node_modules/@openclaw/fs-safe/dist/creation-boundary.js +371 -0
  135. package/node_modules/@openclaw/fs-safe/dist/deny-mutation-match.d.ts +2 -0
  136. package/node_modules/@openclaw/fs-safe/dist/deny-mutation-match.js +71 -0
  137. package/node_modules/@openclaw/fs-safe/dist/deny-mutations.d.ts +11 -0
  138. package/node_modules/@openclaw/fs-safe/dist/deny-mutations.js +96 -0
  139. package/node_modules/@openclaw/fs-safe/dist/device-path.d.ts +14 -0
  140. package/node_modules/@openclaw/fs-safe/dist/device-path.js +139 -0
  141. package/node_modules/@openclaw/fs-safe/dist/directory-durability.d.ts +43 -0
  142. package/node_modules/@openclaw/fs-safe/dist/directory-durability.js +286 -0
  143. package/node_modules/@openclaw/fs-safe/dist/directory-entry-path.d.ts +2 -0
  144. package/node_modules/@openclaw/fs-safe/dist/directory-entry-path.js +21 -0
  145. package/node_modules/@openclaw/fs-safe/dist/directory-guard.d.ts +54 -0
  146. package/node_modules/@openclaw/fs-safe/dist/directory-guard.js +176 -0
  147. package/node_modules/@openclaw/fs-safe/dist/directory-mode-node.d.ts +39 -0
  148. package/node_modules/@openclaw/fs-safe/dist/directory-mode-node.js +285 -0
  149. package/node_modules/@openclaw/fs-safe/dist/directory-receipt.d.ts +23 -0
  150. package/node_modules/@openclaw/fs-safe/dist/directory-receipt.js +121 -0
  151. package/node_modules/@openclaw/fs-safe/dist/durability.d.ts +4 -0
  152. package/node_modules/@openclaw/fs-safe/dist/durability.js +3 -0
  153. package/node_modules/@openclaw/fs-safe/dist/effective-uid.d.ts +1 -0
  154. package/node_modules/@openclaw/fs-safe/dist/effective-uid.js +22 -0
  155. package/node_modules/@openclaw/fs-safe/dist/error-detail.d.ts +2 -0
  156. package/node_modules/@openclaw/fs-safe/dist/error-detail.js +13 -0
  157. package/node_modules/@openclaw/fs-safe/dist/errors.d.ts +15 -0
  158. package/node_modules/@openclaw/fs-safe/dist/errors.js +27 -0
  159. package/node_modules/@openclaw/fs-safe/dist/file-cleanup.d.ts +19 -0
  160. package/node_modules/@openclaw/fs-safe/dist/file-cleanup.js +81 -0
  161. package/node_modules/@openclaw/fs-safe/dist/file-contents.d.ts +5 -0
  162. package/node_modules/@openclaw/fs-safe/dist/file-contents.js +40 -0
  163. package/node_modules/@openclaw/fs-safe/dist/file-handle-transfer.d.ts +15 -0
  164. package/node_modules/@openclaw/fs-safe/dist/file-handle-transfer.js +190 -0
  165. package/node_modules/@openclaw/fs-safe/dist/file-hash.d.ts +16 -0
  166. package/node_modules/@openclaw/fs-safe/dist/file-hash.js +296 -0
  167. package/node_modules/@openclaw/fs-safe/dist/file-identity.d.ts +7 -0
  168. package/node_modules/@openclaw/fs-safe/dist/file-identity.js +56 -0
  169. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-acquisition.d.ts +22 -0
  170. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-acquisition.js +98 -0
  171. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-admission.d.ts +17 -0
  172. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-admission.js +58 -0
  173. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-acquire.d.ts +3 -0
  174. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-acquire.js +303 -0
  175. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-arbitration.d.ts +17 -0
  176. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-arbitration.js +66 -0
  177. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-held.d.ts +25 -0
  178. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-held.js +392 -0
  179. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-io.d.ts +40 -0
  180. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-io.js +209 -0
  181. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-mutation.d.ts +16 -0
  182. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-mutation.js +275 -0
  183. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-options.d.ts +11 -0
  184. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-options.js +58 -0
  185. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-registration.d.ts +1 -0
  186. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-registration.js +90 -0
  187. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root.d.ts +34 -0
  188. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root.js +288 -0
  189. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-stale-admission.d.ts +19 -0
  190. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-stale-admission.js +199 -0
  191. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync.d.ts +17 -0
  192. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync.js +341 -0
  193. package/node_modules/@openclaw/fs-safe/dist/file-lock.d.ts +23 -0
  194. package/node_modules/@openclaw/fs-safe/dist/file-lock.js +66 -0
  195. package/node_modules/@openclaw/fs-safe/dist/file-observation.d.ts +8 -0
  196. package/node_modules/@openclaw/fs-safe/dist/file-observation.js +22 -0
  197. package/node_modules/@openclaw/fs-safe/dist/file-store-boundary.d.ts +34 -0
  198. package/node_modules/@openclaw/fs-safe/dist/file-store-boundary.js +174 -0
  199. package/node_modules/@openclaw/fs-safe/dist/file-store-prune.d.ts +11 -0
  200. package/node_modules/@openclaw/fs-safe/dist/file-store-prune.js +110 -0
  201. package/node_modules/@openclaw/fs-safe/dist/file-store-sync-directory.d.ts +15 -0
  202. package/node_modules/@openclaw/fs-safe/dist/file-store-sync-directory.js +319 -0
  203. package/node_modules/@openclaw/fs-safe/dist/file-store-sync-write.d.ts +9 -0
  204. package/node_modules/@openclaw/fs-safe/dist/file-store-sync-write.js +128 -0
  205. package/node_modules/@openclaw/fs-safe/dist/file-store.d.ts +62 -0
  206. package/node_modules/@openclaw/fs-safe/dist/file-store.js +360 -0
  207. package/node_modules/@openclaw/fs-safe/dist/file-sync.d.ts +4 -0
  208. package/node_modules/@openclaw/fs-safe/dist/file-sync.js +19 -0
  209. package/node_modules/@openclaw/fs-safe/dist/filename.d.ts +8 -0
  210. package/node_modules/@openclaw/fs-safe/dist/filename.js +138 -0
  211. package/node_modules/@openclaw/fs-safe/dist/fs.d.ts +12 -0
  212. package/node_modules/@openclaw/fs-safe/dist/fs.js +30 -0
  213. package/node_modules/@openclaw/fs-safe/dist/guarded-mkdir.d.ts +25 -0
  214. package/node_modules/@openclaw/fs-safe/dist/guarded-mkdir.js +281 -0
  215. package/node_modules/@openclaw/fs-safe/dist/guarded-mutation.d.ts +32 -0
  216. package/node_modules/@openclaw/fs-safe/dist/guarded-mutation.js +81 -0
  217. package/node_modules/@openclaw/fs-safe/dist/guest-dispatch-python.d.ts +1 -0
  218. package/node_modules/@openclaw/fs-safe/dist/guest-dispatch-python.js +68 -0
  219. package/node_modules/@openclaw/fs-safe/dist/guest-native-python.d.ts +3 -0
  220. package/node_modules/@openclaw/fs-safe/dist/guest-native-python.js +127 -0
  221. package/node_modules/@openclaw/fs-safe/dist/guest.d.ts +8 -0
  222. package/node_modules/@openclaw/fs-safe/dist/guest.js +433 -0
  223. package/node_modules/@openclaw/fs-safe/dist/home-dir.d.ts +11 -0
  224. package/node_modules/@openclaw/fs-safe/dist/home-dir.js +149 -0
  225. package/node_modules/@openclaw/fs-safe/dist/index.d.ts +9 -0
  226. package/node_modules/@openclaw/fs-safe/dist/index.js +5 -0
  227. package/node_modules/@openclaw/fs-safe/dist/install-path.d.ts +25 -0
  228. package/node_modules/@openclaw/fs-safe/dist/install-path.js +136 -0
  229. package/node_modules/@openclaw/fs-safe/dist/json-document-store.d.ts +32 -0
  230. package/node_modules/@openclaw/fs-safe/dist/json-document-store.js +105 -0
  231. package/node_modules/@openclaw/fs-safe/dist/json-durable-queue-directory.d.ts +14 -0
  232. package/node_modules/@openclaw/fs-safe/dist/json-durable-queue-directory.js +154 -0
  233. package/node_modules/@openclaw/fs-safe/dist/json-durable-queue-ownership.d.ts +19 -0
  234. package/node_modules/@openclaw/fs-safe/dist/json-durable-queue-ownership.js +355 -0
  235. package/node_modules/@openclaw/fs-safe/dist/json-durable-queue-read.d.ts +5 -0
  236. package/node_modules/@openclaw/fs-safe/dist/json-durable-queue-read.js +65 -0
  237. package/node_modules/@openclaw/fs-safe/dist/json-durable-queue.d.ts +44 -0
  238. package/node_modules/@openclaw/fs-safe/dist/json-durable-queue.js +210 -0
  239. package/node_modules/@openclaw/fs-safe/dist/json-store.d.ts +8 -0
  240. package/node_modules/@openclaw/fs-safe/dist/json-store.js +15 -0
  241. package/node_modules/@openclaw/fs-safe/dist/json-stringify.d.ts +1 -0
  242. package/node_modules/@openclaw/fs-safe/dist/json-stringify.js +7 -0
  243. package/node_modules/@openclaw/fs-safe/dist/json.d.ts +49 -0
  244. package/node_modules/@openclaw/fs-safe/dist/json.js +323 -0
  245. package/node_modules/@openclaw/fs-safe/dist/local-file-access.d.ts +8 -0
  246. package/node_modules/@openclaw/fs-safe/dist/local-file-access.js +81 -0
  247. package/node_modules/@openclaw/fs-safe/dist/local-file-descriptor.d.ts +13 -0
  248. package/node_modules/@openclaw/fs-safe/dist/local-file-descriptor.js +84 -0
  249. package/node_modules/@openclaw/fs-safe/dist/local-roots.d.ts +20 -0
  250. package/node_modules/@openclaw/fs-safe/dist/local-roots.js +160 -0
  251. package/node_modules/@openclaw/fs-safe/dist/lock-config.d.ts +9 -0
  252. package/node_modules/@openclaw/fs-safe/dist/lock-config.js +12 -0
  253. package/node_modules/@openclaw/fs-safe/dist/move-path-cleanup.d.ts +30 -0
  254. package/node_modules/@openclaw/fs-safe/dist/move-path-cleanup.js +224 -0
  255. package/node_modules/@openclaw/fs-safe/dist/move-path-stage.d.ts +7 -0
  256. package/node_modules/@openclaw/fs-safe/dist/move-path-stage.js +56 -0
  257. package/node_modules/@openclaw/fs-safe/dist/move-path.d.ts +20 -0
  258. package/node_modules/@openclaw/fs-safe/dist/move-path.js +390 -0
  259. package/node_modules/@openclaw/fs-safe/dist/mutation-authority.d.ts +8 -0
  260. package/node_modules/@openclaw/fs-safe/dist/mutation-authority.js +41 -0
  261. package/node_modules/@openclaw/fs-safe/dist/native-binding.d.ts +199 -0
  262. package/node_modules/@openclaw/fs-safe/dist/native-binding.js +8 -0
  263. package/node_modules/@openclaw/fs-safe/dist/native-config.d.ts +16 -0
  264. package/node_modules/@openclaw/fs-safe/dist/native-config.js +71 -0
  265. package/node_modules/@openclaw/fs-safe/dist/native-directory-observation.d.ts +16 -0
  266. package/node_modules/@openclaw/fs-safe/dist/native-directory-observation.js +37 -0
  267. package/node_modules/@openclaw/fs-safe/dist/native-fallback-warning.d.ts +3 -0
  268. package/node_modules/@openclaw/fs-safe/dist/native-fallback-warning.js +11 -0
  269. package/node_modules/@openclaw/fs-safe/dist/native-operations.d.ts +15 -0
  270. package/node_modules/@openclaw/fs-safe/dist/native-operations.js +111 -0
  271. package/node_modules/@openclaw/fs-safe/dist/native-parent-admission.d.ts +34 -0
  272. package/node_modules/@openclaw/fs-safe/dist/native-parent-admission.js +147 -0
  273. package/node_modules/@openclaw/fs-safe/dist/native-pinned-write-windows.d.ts +6 -0
  274. package/node_modules/@openclaw/fs-safe/dist/native-pinned-write-windows.js +252 -0
  275. package/node_modules/@openclaw/fs-safe/dist/native-pinned-write.d.ts +4 -0
  276. package/node_modules/@openclaw/fs-safe/dist/native-pinned-write.js +478 -0
  277. package/node_modules/@openclaw/fs-safe/dist/native-policy-directory-observation.d.ts +11 -0
  278. package/node_modules/@openclaw/fs-safe/dist/native-policy-directory-observation.js +61 -0
  279. package/node_modules/@openclaw/fs-safe/dist/native-policy-parent-windows.d.ts +13 -0
  280. package/node_modules/@openclaw/fs-safe/dist/native-policy-parent-windows.js +209 -0
  281. package/node_modules/@openclaw/fs-safe/dist/native-rename-outcome.d.ts +3 -0
  282. package/node_modules/@openclaw/fs-safe/dist/native-rename-outcome.js +8 -0
  283. package/node_modules/@openclaw/fs-safe/dist/native-staged-file.d.ts +45 -0
  284. package/node_modules/@openclaw/fs-safe/dist/native-staged-file.js +442 -0
  285. package/node_modules/@openclaw/fs-safe/dist/native-staged-symlink.d.ts +13 -0
  286. package/node_modules/@openclaw/fs-safe/dist/native-staged-symlink.js +303 -0
  287. package/node_modules/@openclaw/fs-safe/dist/native.d.ts +13 -0
  288. package/node_modules/@openclaw/fs-safe/dist/native.js +209 -0
  289. package/node_modules/@openclaw/fs-safe/dist/opened-file-failure.d.ts +7 -0
  290. package/node_modules/@openclaw/fs-safe/dist/opened-file-failure.js +46 -0
  291. package/node_modules/@openclaw/fs-safe/dist/opened-realpath.d.ts +15 -0
  292. package/node_modules/@openclaw/fs-safe/dist/opened-realpath.js +102 -0
  293. package/node_modules/@openclaw/fs-safe/dist/output.d.ts +16 -0
  294. package/node_modules/@openclaw/fs-safe/dist/output.js +139 -0
  295. package/node_modules/@openclaw/fs-safe/dist/overwrite-file-handle.d.ts +7 -0
  296. package/node_modules/@openclaw/fs-safe/dist/overwrite-file-handle.js +46 -0
  297. package/node_modules/@openclaw/fs-safe/dist/owner-dacl-batch-worker.d.ts +1 -0
  298. package/node_modules/@openclaw/fs-safe/dist/owner-dacl-batch-worker.js +54 -0
  299. package/node_modules/@openclaw/fs-safe/dist/owner-dacl-batch.d.ts +5 -0
  300. package/node_modules/@openclaw/fs-safe/dist/owner-dacl-batch.js +64 -0
  301. package/node_modules/@openclaw/fs-safe/dist/owner-dacl.d.ts +32 -0
  302. package/node_modules/@openclaw/fs-safe/dist/owner-dacl.js +39 -0
  303. package/node_modules/@openclaw/fs-safe/dist/path-case.d.ts +6 -0
  304. package/node_modules/@openclaw/fs-safe/dist/path-case.js +136 -0
  305. package/node_modules/@openclaw/fs-safe/dist/path-policy.d.ts +24 -0
  306. package/node_modules/@openclaw/fs-safe/dist/path-policy.js +49 -0
  307. package/node_modules/@openclaw/fs-safe/dist/path-prefix.d.ts +6 -0
  308. package/node_modules/@openclaw/fs-safe/dist/path-prefix.js +104 -0
  309. package/node_modules/@openclaw/fs-safe/dist/path-scope-lexical.d.ts +13 -0
  310. package/node_modules/@openclaw/fs-safe/dist/path-scope-lexical.js +37 -0
  311. package/node_modules/@openclaw/fs-safe/dist/path-segment-route.d.ts +6 -0
  312. package/node_modules/@openclaw/fs-safe/dist/path-segment-route.js +24 -0
  313. package/node_modules/@openclaw/fs-safe/dist/path-suffix-aliases.d.ts +11 -0
  314. package/node_modules/@openclaw/fs-safe/dist/path-suffix-aliases.js +394 -0
  315. package/node_modules/@openclaw/fs-safe/dist/path.d.ts +20 -0
  316. package/node_modules/@openclaw/fs-safe/dist/path.js +185 -0
  317. package/node_modules/@openclaw/fs-safe/dist/permission-exec.d.ts +32 -0
  318. package/node_modules/@openclaw/fs-safe/dist/permission-exec.js +194 -0
  319. package/node_modules/@openclaw/fs-safe/dist/permissions-public.d.ts +5 -0
  320. package/node_modules/@openclaw/fs-safe/dist/permissions-public.js +4 -0
  321. package/node_modules/@openclaw/fs-safe/dist/permissions-windows.d.ts +48 -0
  322. package/node_modules/@openclaw/fs-safe/dist/permissions-windows.js +319 -0
  323. package/node_modules/@openclaw/fs-safe/dist/permissions.d.ts +52 -0
  324. package/node_modules/@openclaw/fs-safe/dist/permissions.js +131 -0
  325. package/node_modules/@openclaw/fs-safe/dist/pinned-mutation-admission.d.ts +23 -0
  326. package/node_modules/@openclaw/fs-safe/dist/pinned-mutation-admission.js +421 -0
  327. package/node_modules/@openclaw/fs-safe/dist/pinned-mutation-observation.d.ts +38 -0
  328. package/node_modules/@openclaw/fs-safe/dist/pinned-mutation-observation.js +205 -0
  329. package/node_modules/@openclaw/fs-safe/dist/pinned-mutation-shared-route.d.ts +18 -0
  330. package/node_modules/@openclaw/fs-safe/dist/pinned-mutation-shared-route.js +70 -0
  331. package/node_modules/@openclaw/fs-safe/dist/pinned-open.d.ts +30 -0
  332. package/node_modules/@openclaw/fs-safe/dist/pinned-open.js +98 -0
  333. package/node_modules/@openclaw/fs-safe/dist/pinned-operation.d.ts +1 -0
  334. package/node_modules/@openclaw/fs-safe/dist/pinned-operation.js +22 -0
  335. package/node_modules/@openclaw/fs-safe/dist/pinned-write-input.d.ts +3 -0
  336. package/node_modules/@openclaw/fs-safe/dist/pinned-write-input.js +35 -0
  337. package/node_modules/@openclaw/fs-safe/dist/pinned-write-mode.d.ts +4 -0
  338. package/node_modules/@openclaw/fs-safe/dist/pinned-write-mode.js +31 -0
  339. package/node_modules/@openclaw/fs-safe/dist/pinned-write-staged.d.ts +5 -0
  340. package/node_modules/@openclaw/fs-safe/dist/pinned-write-staged.js +185 -0
  341. package/node_modules/@openclaw/fs-safe/dist/pinned-write-types.d.ts +68 -0
  342. package/node_modules/@openclaw/fs-safe/dist/pinned-write-types.js +1 -0
  343. package/node_modules/@openclaw/fs-safe/dist/pinned-write.d.ts +12 -0
  344. package/node_modules/@openclaw/fs-safe/dist/pinned-write.js +300 -0
  345. package/node_modules/@openclaw/fs-safe/dist/positional-read.d.ts +8 -0
  346. package/node_modules/@openclaw/fs-safe/dist/positional-read.js +36 -0
  347. package/node_modules/@openclaw/fs-safe/dist/private-directory.d.ts +4 -0
  348. package/node_modules/@openclaw/fs-safe/dist/private-directory.js +30 -0
  349. package/node_modules/@openclaw/fs-safe/dist/private-producer-handoff-sync.d.ts +3 -0
  350. package/node_modules/@openclaw/fs-safe/dist/private-producer-handoff-sync.js +72 -0
  351. package/node_modules/@openclaw/fs-safe/dist/private-producer-handoff.d.ts +53 -0
  352. package/node_modules/@openclaw/fs-safe/dist/private-producer-handoff.js +358 -0
  353. package/node_modules/@openclaw/fs-safe/dist/private-temp-workspace.d.ts +7 -0
  354. package/node_modules/@openclaw/fs-safe/dist/private-temp-workspace.js +341 -0
  355. package/node_modules/@openclaw/fs-safe/dist/publish-copy-stage.d.ts +13 -0
  356. package/node_modules/@openclaw/fs-safe/dist/publish-copy-stage.js +60 -0
  357. package/node_modules/@openclaw/fs-safe/dist/publish-file-failure.d.ts +27 -0
  358. package/node_modules/@openclaw/fs-safe/dist/publish-file-failure.js +22 -0
  359. package/node_modules/@openclaw/fs-safe/dist/publish-file.d.ts +19 -0
  360. package/node_modules/@openclaw/fs-safe/dist/publish-file.js +332 -0
  361. package/node_modules/@openclaw/fs-safe/dist/read-open-flags.d.ts +7 -0
  362. package/node_modules/@openclaw/fs-safe/dist/read-open-flags.js +13 -0
  363. package/node_modules/@openclaw/fs-safe/dist/read-opened-file.d.ts +17 -0
  364. package/node_modules/@openclaw/fs-safe/dist/read-opened-file.js +18 -0
  365. package/node_modules/@openclaw/fs-safe/dist/realpath.d.ts +3 -0
  366. package/node_modules/@openclaw/fs-safe/dist/realpath.js +43 -0
  367. package/node_modules/@openclaw/fs-safe/dist/recursive-mkdir-path.d.ts +2 -0
  368. package/node_modules/@openclaw/fs-safe/dist/recursive-mkdir-path.js +8 -0
  369. package/node_modules/@openclaw/fs-safe/dist/regular-file.d.ts +37 -0
  370. package/node_modules/@openclaw/fs-safe/dist/regular-file.js +317 -0
  371. package/node_modules/@openclaw/fs-safe/dist/replace-directory.d.ts +6 -0
  372. package/node_modules/@openclaw/fs-safe/dist/replace-directory.js +275 -0
  373. package/node_modules/@openclaw/fs-safe/dist/replace-file-buffer.d.ts +4 -0
  374. package/node_modules/@openclaw/fs-safe/dist/replace-file-buffer.js +36 -0
  375. package/node_modules/@openclaw/fs-safe/dist/replace-file-copy-fallback.d.ts +32 -0
  376. package/node_modules/@openclaw/fs-safe/dist/replace-file-copy-fallback.js +369 -0
  377. package/node_modules/@openclaw/fs-safe/dist/replace-file-copy-source.d.ts +20 -0
  378. package/node_modules/@openclaw/fs-safe/dist/replace-file-copy-source.js +101 -0
  379. package/node_modules/@openclaw/fs-safe/dist/replace-file-descriptor.d.ts +46 -0
  380. package/node_modules/@openclaw/fs-safe/dist/replace-file-descriptor.js +168 -0
  381. package/node_modules/@openclaw/fs-safe/dist/replace-file-destination.d.ts +21 -0
  382. package/node_modules/@openclaw/fs-safe/dist/replace-file-destination.js +123 -0
  383. package/node_modules/@openclaw/fs-safe/dist/replace-file-mode.d.ts +2 -0
  384. package/node_modules/@openclaw/fs-safe/dist/replace-file-mode.js +10 -0
  385. package/node_modules/@openclaw/fs-safe/dist/replace-file-mutation.d.ts +26 -0
  386. package/node_modules/@openclaw/fs-safe/dist/replace-file-mutation.js +47 -0
  387. package/node_modules/@openclaw/fs-safe/dist/replace-file-rename-policy.d.ts +5 -0
  388. package/node_modules/@openclaw/fs-safe/dist/replace-file-rename-policy.js +30 -0
  389. package/node_modules/@openclaw/fs-safe/dist/replace-file-temp-owner.d.ts +49 -0
  390. package/node_modules/@openclaw/fs-safe/dist/replace-file-temp-owner.js +368 -0
  391. package/node_modules/@openclaw/fs-safe/dist/replace-file-types.d.ts +55 -0
  392. package/node_modules/@openclaw/fs-safe/dist/replace-file-types.js +1 -0
  393. package/node_modules/@openclaw/fs-safe/dist/replace-file.d.ts +6 -0
  394. package/node_modules/@openclaw/fs-safe/dist/replace-file.js +356 -0
  395. package/node_modules/@openclaw/fs-safe/dist/retained-directory-replacement.d.ts +26 -0
  396. package/node_modules/@openclaw/fs-safe/dist/retained-directory-replacement.js +193 -0
  397. package/node_modules/@openclaw/fs-safe/dist/retained-file-types.d.ts +50 -0
  398. package/node_modules/@openclaw/fs-safe/dist/retained-file-types.js +1 -0
  399. package/node_modules/@openclaw/fs-safe/dist/retained-file.d.ts +3 -0
  400. package/node_modules/@openclaw/fs-safe/dist/retained-file.js +121 -0
  401. package/node_modules/@openclaw/fs-safe/dist/root-boundary.d.ts +29 -0
  402. package/node_modules/@openclaw/fs-safe/dist/root-boundary.js +186 -0
  403. package/node_modules/@openclaw/fs-safe/dist/root-context.d.ts +43 -0
  404. package/node_modules/@openclaw/fs-safe/dist/root-context.js +233 -0
  405. package/node_modules/@openclaw/fs-safe/dist/root-create-input.d.ts +16 -0
  406. package/node_modules/@openclaw/fs-safe/dist/root-create-input.js +93 -0
  407. package/node_modules/@openclaw/fs-safe/dist/root-directory-creation.d.ts +12 -0
  408. package/node_modules/@openclaw/fs-safe/dist/root-directory-creation.js +225 -0
  409. package/node_modules/@openclaw/fs-safe/dist/root-directory-entry.d.ts +9 -0
  410. package/node_modules/@openclaw/fs-safe/dist/root-directory-entry.js +28 -0
  411. package/node_modules/@openclaw/fs-safe/dist/root-directory-list.d.ts +46 -0
  412. package/node_modules/@openclaw/fs-safe/dist/root-directory-list.js +433 -0
  413. package/node_modules/@openclaw/fs-safe/dist/root-directory.d.ts +22 -0
  414. package/node_modules/@openclaw/fs-safe/dist/root-directory.js +141 -0
  415. package/node_modules/@openclaw/fs-safe/dist/root-entries.d.ts +10 -0
  416. package/node_modules/@openclaw/fs-safe/dist/root-entries.js +61 -0
  417. package/node_modules/@openclaw/fs-safe/dist/root-errors.d.ts +16 -0
  418. package/node_modules/@openclaw/fs-safe/dist/root-errors.js +92 -0
  419. package/node_modules/@openclaw/fs-safe/dist/root-file-final-admission.d.ts +20 -0
  420. package/node_modules/@openclaw/fs-safe/dist/root-file-final-admission.js +81 -0
  421. package/node_modules/@openclaw/fs-safe/dist/root-file.d.ts +46 -0
  422. package/node_modules/@openclaw/fs-safe/dist/root-file.js +205 -0
  423. package/node_modules/@openclaw/fs-safe/dist/root-handle-context.d.ts +4 -0
  424. package/node_modules/@openclaw/fs-safe/dist/root-handle-context.js +12 -0
  425. package/node_modules/@openclaw/fs-safe/dist/root-impl.d.ts +117 -0
  426. package/node_modules/@openclaw/fs-safe/dist/root-impl.js +1446 -0
  427. package/node_modules/@openclaw/fs-safe/dist/root-move-noreplace.d.ts +10 -0
  428. package/node_modules/@openclaw/fs-safe/dist/root-move-noreplace.js +205 -0
  429. package/node_modules/@openclaw/fs-safe/dist/root-move-preflight.d.ts +7 -0
  430. package/node_modules/@openclaw/fs-safe/dist/root-move-preflight.js +16 -0
  431. package/node_modules/@openclaw/fs-safe/dist/root-observed-path.d.ts +7 -0
  432. package/node_modules/@openclaw/fs-safe/dist/root-observed-path.js +90 -0
  433. package/node_modules/@openclaw/fs-safe/dist/root-options.d.ts +84 -0
  434. package/node_modules/@openclaw/fs-safe/dist/root-options.js +18 -0
  435. package/node_modules/@openclaw/fs-safe/dist/root-path-errors.d.ts +12 -0
  436. package/node_modules/@openclaw/fs-safe/dist/root-path-errors.js +22 -0
  437. package/node_modules/@openclaw/fs-safe/dist/root-path-existing.d.ts +12 -0
  438. package/node_modules/@openclaw/fs-safe/dist/root-path-existing.js +160 -0
  439. package/node_modules/@openclaw/fs-safe/dist/root-path-observation.d.ts +55 -0
  440. package/node_modules/@openclaw/fs-safe/dist/root-path-observation.js +180 -0
  441. package/node_modules/@openclaw/fs-safe/dist/root-path-stat.d.ts +4 -0
  442. package/node_modules/@openclaw/fs-safe/dist/root-path-stat.js +151 -0
  443. package/node_modules/@openclaw/fs-safe/dist/root-path.d.ts +53 -0
  444. package/node_modules/@openclaw/fs-safe/dist/root-path.js +440 -0
  445. package/node_modules/@openclaw/fs-safe/dist/root-paths-lexical.d.ts +8 -0
  446. package/node_modules/@openclaw/fs-safe/dist/root-paths-lexical.js +22 -0
  447. package/node_modules/@openclaw/fs-safe/dist/root-paths.d.ts +58 -0
  448. package/node_modules/@openclaw/fs-safe/dist/root-paths.js +296 -0
  449. package/node_modules/@openclaw/fs-safe/dist/root-public-types.d.ts +11 -0
  450. package/node_modules/@openclaw/fs-safe/dist/root-public-types.js +1 -0
  451. package/node_modules/@openclaw/fs-safe/dist/root-read-admission.d.ts +25 -0
  452. package/node_modules/@openclaw/fs-safe/dist/root-read-admission.js +86 -0
  453. package/node_modules/@openclaw/fs-safe/dist/root-remove-identity.d.ts +12 -0
  454. package/node_modules/@openclaw/fs-safe/dist/root-remove-identity.js +87 -0
  455. package/node_modules/@openclaw/fs-safe/dist/root-remove-receipt.d.ts +16 -0
  456. package/node_modules/@openclaw/fs-safe/dist/root-remove-receipt.js +37 -0
  457. package/node_modules/@openclaw/fs-safe/dist/root-remove.d.ts +6 -0
  458. package/node_modules/@openclaw/fs-safe/dist/root-remove.js +464 -0
  459. package/node_modules/@openclaw/fs-safe/dist/root-symlink-policy.d.ts +13 -0
  460. package/node_modules/@openclaw/fs-safe/dist/root-symlink-policy.js +34 -0
  461. package/node_modules/@openclaw/fs-safe/dist/root-walk.d.ts +48 -0
  462. package/node_modules/@openclaw/fs-safe/dist/root-walk.js +234 -0
  463. package/node_modules/@openclaw/fs-safe/dist/root-write-admission.d.ts +65 -0
  464. package/node_modules/@openclaw/fs-safe/dist/root-write-admission.js +299 -0
  465. package/node_modules/@openclaw/fs-safe/dist/root-write-compatibility.d.ts +11 -0
  466. package/node_modules/@openclaw/fs-safe/dist/root-write-compatibility.js +23 -0
  467. package/node_modules/@openclaw/fs-safe/dist/root-write-complete-parent.d.ts +43 -0
  468. package/node_modules/@openclaw/fs-safe/dist/root-write-complete-parent.js +180 -0
  469. package/node_modules/@openclaw/fs-safe/dist/root-write-lock-binding.d.ts +14 -0
  470. package/node_modules/@openclaw/fs-safe/dist/root-write-lock-binding.js +162 -0
  471. package/node_modules/@openclaw/fs-safe/dist/root-write-mode.d.ts +7 -0
  472. package/node_modules/@openclaw/fs-safe/dist/root-write-mode.js +72 -0
  473. package/node_modules/@openclaw/fs-safe/dist/root-write-publication.d.ts +23 -0
  474. package/node_modules/@openclaw/fs-safe/dist/root-write-publication.js +85 -0
  475. package/node_modules/@openclaw/fs-safe/dist/root-write-verification.d.ts +11 -0
  476. package/node_modules/@openclaw/fs-safe/dist/root-write-verification.js +95 -0
  477. package/node_modules/@openclaw/fs-safe/dist/root.d.ts +2 -0
  478. package/node_modules/@openclaw/fs-safe/dist/root.js +1 -0
  479. package/node_modules/@openclaw/fs-safe/dist/safe-path-segment.d.ts +12 -0
  480. package/node_modules/@openclaw/fs-safe/dist/safe-path-segment.js +80 -0
  481. package/node_modules/@openclaw/fs-safe/dist/secret-file.d.ts +29 -0
  482. package/node_modules/@openclaw/fs-safe/dist/secret-file.js +333 -0
  483. package/node_modules/@openclaw/fs-safe/dist/secret-read-async.d.ts +3 -0
  484. package/node_modules/@openclaw/fs-safe/dist/secret-read-async.js +58 -0
  485. package/node_modules/@openclaw/fs-safe/dist/secret-read-policy.d.ts +20 -0
  486. package/node_modules/@openclaw/fs-safe/dist/secret-read-policy.js +68 -0
  487. package/node_modules/@openclaw/fs-safe/dist/secret.d.ts +3 -0
  488. package/node_modules/@openclaw/fs-safe/dist/secret.js +3 -0
  489. package/node_modules/@openclaw/fs-safe/dist/secure-file-windows.d.ts +10 -0
  490. package/node_modules/@openclaw/fs-safe/dist/secure-file-windows.js +79 -0
  491. package/node_modules/@openclaw/fs-safe/dist/secure-file.d.ts +31 -0
  492. package/node_modules/@openclaw/fs-safe/dist/secure-file.js +298 -0
  493. package/node_modules/@openclaw/fs-safe/dist/secure-temp-dir.d.ts +29 -0
  494. package/node_modules/@openclaw/fs-safe/dist/secure-temp-dir.js +176 -0
  495. package/node_modules/@openclaw/fs-safe/dist/secure-temp-repair.d.ts +34 -0
  496. package/node_modules/@openclaw/fs-safe/dist/secure-temp-repair.js +110 -0
  497. package/node_modules/@openclaw/fs-safe/dist/sibling-staged-file.d.ts +17 -0
  498. package/node_modules/@openclaw/fs-safe/dist/sibling-staged-file.js +301 -0
  499. package/node_modules/@openclaw/fs-safe/dist/sibling-temp.d.ts +28 -0
  500. package/node_modules/@openclaw/fs-safe/dist/sibling-temp.js +132 -0
  501. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-acquire.d.ts +4 -0
  502. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-acquire.js +442 -0
  503. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-admission-context.d.ts +18 -0
  504. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-admission-context.js +60 -0
  505. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-admission-parser.d.ts +41 -0
  506. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-admission-parser.js +113 -0
  507. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-admission.d.ts +31 -0
  508. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-admission.js +1 -0
  509. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-handle.d.ts +20 -0
  510. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-handle.js +48 -0
  511. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-policy.d.ts +14 -0
  512. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-policy.js +113 -0
  513. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-reclaim.d.ts +67 -0
  514. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-reclaim.js +374 -0
  515. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-registration.d.ts +13 -0
  516. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-registration.js +47 -0
  517. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-root.d.ts +2 -0
  518. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-root.js +79 -0
  519. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-stale-admission.d.ts +34 -0
  520. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-stale-admission.js +228 -0
  521. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-target.d.ts +7 -0
  522. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-target.js +55 -0
  523. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-types.d.ts +68 -0
  524. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-types.js +1 -0
  525. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock.d.ts +13 -0
  526. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock.js +282 -0
  527. package/node_modules/@openclaw/fs-safe/dist/staged-directory.d.ts +27 -0
  528. package/node_modules/@openclaw/fs-safe/dist/staged-directory.js +148 -0
  529. package/node_modules/@openclaw/fs-safe/dist/staged-file-settlement.d.ts +16 -0
  530. package/node_modules/@openclaw/fs-safe/dist/staged-file-settlement.js +57 -0
  531. package/node_modules/@openclaw/fs-safe/dist/staged-file-types.d.ts +55 -0
  532. package/node_modules/@openclaw/fs-safe/dist/staged-file-types.js +1 -0
  533. package/node_modules/@openclaw/fs-safe/dist/staged-symlink-types.d.ts +39 -0
  534. package/node_modules/@openclaw/fs-safe/dist/staged-symlink-types.js +1 -0
  535. package/node_modules/@openclaw/fs-safe/dist/stat-observation.d.ts +10 -0
  536. package/node_modules/@openclaw/fs-safe/dist/stat-observation.js +57 -0
  537. package/node_modules/@openclaw/fs-safe/dist/store.d.ts +3 -0
  538. package/node_modules/@openclaw/fs-safe/dist/store.js +3 -0
  539. package/node_modules/@openclaw/fs-safe/dist/strict-file-identity.d.ts +7 -0
  540. package/node_modules/@openclaw/fs-safe/dist/strict-file-identity.js +88 -0
  541. package/node_modules/@openclaw/fs-safe/dist/string-coerce.d.ts +4 -0
  542. package/node_modules/@openclaw/fs-safe/dist/string-coerce.js +16 -0
  543. package/node_modules/@openclaw/fs-safe/dist/suppressed-error.d.ts +5 -0
  544. package/node_modules/@openclaw/fs-safe/dist/suppressed-error.js +15 -0
  545. package/node_modules/@openclaw/fs-safe/dist/symlink-parents.d.ts +11 -0
  546. package/node_modules/@openclaw/fs-safe/dist/symlink-parents.js +109 -0
  547. package/node_modules/@openclaw/fs-safe/dist/temp-cleanup.d.ts +13 -0
  548. package/node_modules/@openclaw/fs-safe/dist/temp-cleanup.js +88 -0
  549. package/node_modules/@openclaw/fs-safe/dist/temp-target.d.ts +31 -0
  550. package/node_modules/@openclaw/fs-safe/dist/temp-target.js +236 -0
  551. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-admission.d.ts +14 -0
  552. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-admission.js +387 -0
  553. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-child-admission.d.ts +23 -0
  554. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-child-admission.js +150 -0
  555. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-descriptor.d.ts +42 -0
  556. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-descriptor.js +341 -0
  557. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-owner.d.ts +24 -0
  558. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-owner.js +398 -0
  559. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-ownership.d.ts +8 -0
  560. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-ownership.js +52 -0
  561. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-types.d.ts +39 -0
  562. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-types.js +1 -0
  563. package/node_modules/@openclaw/fs-safe/dist/temp.d.ts +3 -0
  564. package/node_modules/@openclaw/fs-safe/dist/temp.js +2 -0
  565. package/node_modules/@openclaw/fs-safe/dist/test-hooks.d.ts +35 -0
  566. package/node_modules/@openclaw/fs-safe/dist/test-hooks.js +13 -0
  567. package/node_modules/@openclaw/fs-safe/dist/text-atomic.d.ts +14 -0
  568. package/node_modules/@openclaw/fs-safe/dist/text-atomic.js +18 -0
  569. package/node_modules/@openclaw/fs-safe/dist/timing.d.ts +8 -0
  570. package/node_modules/@openclaw/fs-safe/dist/timing.js +59 -0
  571. package/node_modules/@openclaw/fs-safe/dist/trash.d.ts +4 -0
  572. package/node_modules/@openclaw/fs-safe/dist/trash.js +245 -0
  573. package/node_modules/@openclaw/fs-safe/dist/types.d.ts +22 -0
  574. package/node_modules/@openclaw/fs-safe/dist/types.js +1 -0
  575. package/node_modules/@openclaw/fs-safe/dist/unicode-path.d.ts +2 -0
  576. package/node_modules/@openclaw/fs-safe/dist/unicode-path.js +16 -0
  577. package/node_modules/@openclaw/fs-safe/dist/walk.d.ts +37 -0
  578. package/node_modules/@openclaw/fs-safe/dist/walk.js +207 -0
  579. package/node_modules/@openclaw/fs-safe/dist/watch-alias.d.ts +6 -0
  580. package/node_modules/@openclaw/fs-safe/dist/watch-alias.js +88 -0
  581. package/node_modules/@openclaw/fs-safe/dist/watch-hints.d.ts +9 -0
  582. package/node_modules/@openclaw/fs-safe/dist/watch-hints.js +93 -0
  583. package/node_modules/@openclaw/fs-safe/dist/watch-native.d.ts +36 -0
  584. package/node_modules/@openclaw/fs-safe/dist/watch-native.js +73 -0
  585. package/node_modules/@openclaw/fs-safe/dist/watch-scan.d.ts +28 -0
  586. package/node_modules/@openclaw/fs-safe/dist/watch-scan.js +300 -0
  587. package/node_modules/@openclaw/fs-safe/dist/watch-stream.d.ts +8 -0
  588. package/node_modules/@openclaw/fs-safe/dist/watch-stream.js +32 -0
  589. package/node_modules/@openclaw/fs-safe/dist/watch-types.d.ts +60 -0
  590. package/node_modules/@openclaw/fs-safe/dist/watch-types.js +1 -0
  591. package/node_modules/@openclaw/fs-safe/dist/watch.d.ts +5 -0
  592. package/node_modules/@openclaw/fs-safe/dist/watch.js +530 -0
  593. package/node_modules/@openclaw/fs-safe/dist/windows-command.d.ts +1 -0
  594. package/node_modules/@openclaw/fs-safe/dist/windows-command.js +34 -0
  595. package/node_modules/@openclaw/fs-safe/dist/windows-owner.d.ts +24 -0
  596. package/node_modules/@openclaw/fs-safe/dist/windows-owner.js +100 -0
  597. package/node_modules/@openclaw/fs-safe/dist/windows-path-alias.d.ts +39 -0
  598. package/node_modules/@openclaw/fs-safe/dist/windows-path-alias.js +122 -0
  599. package/node_modules/@openclaw/fs-safe/dist/windows-path-syntax.d.ts +5 -0
  600. package/node_modules/@openclaw/fs-safe/dist/windows-path-syntax.js +21 -0
  601. package/node_modules/@openclaw/fs-safe/dist/windows-security-bridge.cs +336 -0
  602. package/node_modules/@openclaw/fs-safe/dist/windows-security-bridge.ps1 +90 -0
  603. package/node_modules/@openclaw/fs-safe/dist/windows-security-command.d.ts +33 -0
  604. package/node_modules/@openclaw/fs-safe/dist/windows-security-command.js +414 -0
  605. package/node_modules/@openclaw/fs-safe/dist/windows-security-facts.d.ts +9 -0
  606. package/node_modules/@openclaw/fs-safe/dist/windows-security-facts.js +112 -0
  607. package/node_modules/@openclaw/fs-safe/dist/write-file-handle.d.ts +13 -0
  608. package/node_modules/@openclaw/fs-safe/dist/write-file-handle.js +49 -0
  609. package/node_modules/@openclaw/fs-safe/dist/write-open-flags.d.ts +4 -0
  610. package/node_modules/@openclaw/fs-safe/dist/write-open-flags.js +27 -0
  611. package/node_modules/@openclaw/fs-safe/dist/write-queue.d.ts +1 -0
  612. package/node_modules/@openclaw/fs-safe/dist/write-queue.js +15 -0
  613. package/node_modules/@openclaw/fs-safe/docs/advanced.md +271 -0
  614. package/node_modules/@openclaw/fs-safe/docs/archive.md +859 -0
  615. package/node_modules/@openclaw/fs-safe/docs/assets/readme-banner.jpg +0 -0
  616. package/node_modules/@openclaw/fs-safe/docs/atomic.md +611 -0
  617. package/node_modules/@openclaw/fs-safe/docs/config.md +136 -0
  618. package/node_modules/@openclaw/fs-safe/docs/contributing.md +360 -0
  619. package/node_modules/@openclaw/fs-safe/docs/copy.md +199 -0
  620. package/node_modules/@openclaw/fs-safe/docs/creation.md +132 -0
  621. package/node_modules/@openclaw/fs-safe/docs/directory-identity.md +85 -0
  622. package/node_modules/@openclaw/fs-safe/docs/durability.md +445 -0
  623. package/node_modules/@openclaw/fs-safe/docs/entries.md +109 -0
  624. package/node_modules/@openclaw/fs-safe/docs/errors.md +240 -0
  625. package/node_modules/@openclaw/fs-safe/docs/file-contents.md +68 -0
  626. package/node_modules/@openclaw/fs-safe/docs/file-store.md +369 -0
  627. package/node_modules/@openclaw/fs-safe/docs/filename.md +110 -0
  628. package/node_modules/@openclaw/fs-safe/docs/guest.md +152 -0
  629. package/node_modules/@openclaw/fs-safe/docs/in-place-write.md +81 -0
  630. package/node_modules/@openclaw/fs-safe/docs/index.md +87 -0
  631. package/node_modules/@openclaw/fs-safe/docs/install-path.md +216 -0
  632. package/node_modules/@openclaw/fs-safe/docs/install.md +252 -0
  633. package/node_modules/@openclaw/fs-safe/docs/json-store.md +240 -0
  634. package/node_modules/@openclaw/fs-safe/docs/json.md +225 -0
  635. package/node_modules/@openclaw/fs-safe/docs/local-roots.md +150 -0
  636. package/node_modules/@openclaw/fs-safe/docs/migrating-to-0.5.md +205 -0
  637. package/node_modules/@openclaw/fs-safe/docs/migrating-to-0.6.md +48 -0
  638. package/node_modules/@openclaw/fs-safe/docs/mutation-policy-proof.md +69 -0
  639. package/node_modules/@openclaw/fs-safe/docs/native-helper.md +193 -0
  640. package/node_modules/@openclaw/fs-safe/docs/native.md +351 -0
  641. package/node_modules/@openclaw/fs-safe/docs/output.md +193 -0
  642. package/node_modules/@openclaw/fs-safe/docs/path-case.md +64 -0
  643. package/node_modules/@openclaw/fs-safe/docs/path-prefix.md +74 -0
  644. package/node_modules/@openclaw/fs-safe/docs/path-scope.md +159 -0
  645. package/node_modules/@openclaw/fs-safe/docs/path-suffix-aliases.md +204 -0
  646. package/node_modules/@openclaw/fs-safe/docs/path.md +219 -0
  647. package/node_modules/@openclaw/fs-safe/docs/permissions.md +352 -0
  648. package/node_modules/@openclaw/fs-safe/docs/positional-read.md +63 -0
  649. package/node_modules/@openclaw/fs-safe/docs/private-file-store.md +68 -0
  650. package/node_modules/@openclaw/fs-safe/docs/public-api.md +188 -0
  651. package/node_modules/@openclaw/fs-safe/docs/quickstart.md +154 -0
  652. package/node_modules/@openclaw/fs-safe/docs/reading.md +196 -0
  653. package/node_modules/@openclaw/fs-safe/docs/regular-file.md +193 -0
  654. package/node_modules/@openclaw/fs-safe/docs/retained-file.md +115 -0
  655. package/node_modules/@openclaw/fs-safe/docs/root.md +571 -0
  656. package/node_modules/@openclaw/fs-safe/docs/secret-file.md +318 -0
  657. package/node_modules/@openclaw/fs-safe/docs/secure-file.md +112 -0
  658. package/node_modules/@openclaw/fs-safe/docs/security-model.md +272 -0
  659. package/node_modules/@openclaw/fs-safe/docs/sidecar-lock.md +599 -0
  660. package/node_modules/@openclaw/fs-safe/docs/staged-file.md +192 -0
  661. package/node_modules/@openclaw/fs-safe/docs/staged-symlink.md +124 -0
  662. package/node_modules/@openclaw/fs-safe/docs/store.md +129 -0
  663. package/node_modules/@openclaw/fs-safe/docs/temp.md +780 -0
  664. package/node_modules/@openclaw/fs-safe/docs/test-hooks.md +110 -0
  665. package/node_modules/@openclaw/fs-safe/docs/testing.md +399 -0
  666. package/node_modules/@openclaw/fs-safe/docs/timing.md +123 -0
  667. package/node_modules/@openclaw/fs-safe/docs/types.md +217 -0
  668. package/node_modules/@openclaw/fs-safe/docs/walk.md +283 -0
  669. package/node_modules/@openclaw/fs-safe/docs/watch.md +251 -0
  670. package/node_modules/@openclaw/fs-safe/docs/writing.md +662 -0
  671. package/node_modules/@openclaw/fs-safe/package.json +204 -0
  672. package/node_modules/@openclaw/fs-safe-darwin-arm64/fs-safe-native.node +0 -0
  673. package/node_modules/@openclaw/fs-safe-darwin-arm64/package.json +29 -0
  674. package/node_modules/@openclaw/fs-safe-darwin-x64/fs-safe-native.node +0 -0
  675. package/node_modules/@openclaw/fs-safe-darwin-x64/package.json +29 -0
  676. package/node_modules/@openclaw/fs-safe-linux-arm64-gnu/fs-safe-native.node +0 -0
  677. package/node_modules/@openclaw/fs-safe-linux-arm64-gnu/package.json +32 -0
  678. package/node_modules/@openclaw/fs-safe-linux-arm64-musl/fs-safe-native.node +0 -0
  679. package/node_modules/@openclaw/fs-safe-linux-arm64-musl/package.json +32 -0
  680. package/node_modules/@openclaw/fs-safe-linux-x64-gnu/fs-safe-native.node +0 -0
  681. package/node_modules/@openclaw/fs-safe-linux-x64-gnu/package.json +32 -0
  682. package/node_modules/@openclaw/fs-safe-linux-x64-musl/fs-safe-native.node +0 -0
  683. package/node_modules/@openclaw/fs-safe-linux-x64-musl/package.json +32 -0
  684. package/node_modules/@openclaw/fs-safe-win32-x64-msvc/fs-safe-native.node +0 -0
  685. package/node_modules/@openclaw/fs-safe-win32-x64-msvc/package.json +29 -0
  686. package/node_modules/core-util-is/LICENSE +19 -0
  687. package/node_modules/core-util-is/README.md +3 -0
  688. package/node_modules/core-util-is/lib/util.js +107 -0
  689. package/node_modules/core-util-is/package.json +38 -0
  690. package/node_modules/immediate/LICENSE.txt +20 -0
  691. package/node_modules/immediate/README.md +93 -0
  692. package/node_modules/immediate/dist/immediate.js +75 -0
  693. package/node_modules/immediate/dist/immediate.min.js +1 -0
  694. package/node_modules/immediate/lib/browser.js +69 -0
  695. package/node_modules/immediate/lib/index.js +73 -0
  696. package/node_modules/immediate/package.json +42 -0
  697. package/node_modules/inherits/LICENSE +16 -0
  698. package/node_modules/inherits/README.md +42 -0
  699. package/node_modules/inherits/inherits.js +9 -0
  700. package/node_modules/inherits/inherits_browser.js +27 -0
  701. package/node_modules/inherits/package.json +29 -0
  702. package/node_modules/isarray/.npmignore +1 -0
  703. package/node_modules/isarray/.travis.yml +4 -0
  704. package/node_modules/isarray/Makefile +6 -0
  705. package/node_modules/isarray/README.md +60 -0
  706. package/node_modules/isarray/component.json +19 -0
  707. package/node_modules/isarray/index.js +5 -0
  708. package/node_modules/isarray/package.json +45 -0
  709. package/node_modules/isarray/test.js +20 -0
  710. package/node_modules/jszip/.codeclimate.yml +16 -0
  711. package/node_modules/jszip/.editorconfig +8 -0
  712. package/node_modules/jszip/.eslintrc.js +43 -0
  713. package/node_modules/jszip/.github/FUNDING.yml +1 -0
  714. package/node_modules/jszip/.github/actions/setup/action.yml +23 -0
  715. package/node_modules/jszip/.github/workflows/benchmark.yml +38 -0
  716. package/node_modules/jszip/.github/workflows/main.yml +55 -0
  717. package/node_modules/jszip/CHANGES.md +210 -0
  718. package/node_modules/jszip/LICENSE.markdown +651 -0
  719. package/node_modules/jszip/README.markdown +33 -0
  720. package/node_modules/jszip/dist/jszip.js +11586 -0
  721. package/node_modules/jszip/dist/jszip.min.js +13 -0
  722. package/node_modules/jszip/index.d.ts +344 -0
  723. package/node_modules/jszip/lib/base64.js +106 -0
  724. package/node_modules/jszip/lib/compressedObject.js +74 -0
  725. package/node_modules/jszip/lib/compressions.js +14 -0
  726. package/node_modules/jszip/lib/crc32.js +77 -0
  727. package/node_modules/jszip/lib/defaults.js +11 -0
  728. package/node_modules/jszip/lib/external.js +18 -0
  729. package/node_modules/jszip/lib/flate.js +85 -0
  730. package/node_modules/jszip/lib/generate/ZipFileWorker.js +539 -0
  731. package/node_modules/jszip/lib/generate/index.js +57 -0
  732. package/node_modules/jszip/lib/index.js +55 -0
  733. package/node_modules/jszip/lib/license_header.js +11 -0
  734. package/node_modules/jszip/lib/load.js +88 -0
  735. package/node_modules/jszip/lib/nodejs/NodejsStreamInputAdapter.js +74 -0
  736. package/node_modules/jszip/lib/nodejs/NodejsStreamOutputAdapter.js +42 -0
  737. package/node_modules/jszip/lib/nodejsUtils.js +57 -0
  738. package/node_modules/jszip/lib/object.js +384 -0
  739. package/node_modules/jszip/lib/readable-stream-browser.js +10 -0
  740. package/node_modules/jszip/lib/reader/ArrayReader.js +57 -0
  741. package/node_modules/jszip/lib/reader/DataReader.js +116 -0
  742. package/node_modules/jszip/lib/reader/NodeBufferReader.js +19 -0
  743. package/node_modules/jszip/lib/reader/StringReader.js +38 -0
  744. package/node_modules/jszip/lib/reader/Uint8ArrayReader.js +22 -0
  745. package/node_modules/jszip/lib/reader/readerFor.js +28 -0
  746. package/node_modules/jszip/lib/signature.js +7 -0
  747. package/node_modules/jszip/lib/stream/ConvertWorker.js +26 -0
  748. package/node_modules/jszip/lib/stream/Crc32Probe.js +24 -0
  749. package/node_modules/jszip/lib/stream/DataLengthProbe.js +29 -0
  750. package/node_modules/jszip/lib/stream/DataWorker.js +116 -0
  751. package/node_modules/jszip/lib/stream/GenericWorker.js +263 -0
  752. package/node_modules/jszip/lib/stream/StreamHelper.js +214 -0
  753. package/node_modules/jszip/lib/support.js +38 -0
  754. package/node_modules/jszip/lib/utf8.js +275 -0
  755. package/node_modules/jszip/lib/utils.js +510 -0
  756. package/node_modules/jszip/lib/zipEntries.js +261 -0
  757. package/node_modules/jszip/lib/zipEntry.js +293 -0
  758. package/node_modules/jszip/lib/zipObject.js +133 -0
  759. package/node_modules/jszip/package.json +67 -0
  760. package/node_modules/jszip/sponsors.md +21 -0
  761. package/node_modules/jszip/tsconfig.json +101 -0
  762. package/node_modules/jszip/vendor/FileSaver.js +247 -0
  763. package/node_modules/lie/README.md +62 -0
  764. package/node_modules/lie/dist/lie.js +350 -0
  765. package/node_modules/lie/dist/lie.min.js +1 -0
  766. package/node_modules/lie/dist/lie.polyfill.js +358 -0
  767. package/node_modules/lie/dist/lie.polyfill.min.js +1 -0
  768. package/node_modules/lie/lib/browser.js +273 -0
  769. package/node_modules/lie/lib/index.js +298 -0
  770. package/node_modules/lie/license.md +7 -0
  771. package/node_modules/lie/lie.d.ts +244 -0
  772. package/node_modules/lie/package.json +69 -0
  773. package/node_modules/lie/polyfill.js +4 -0
  774. package/node_modules/pako/CHANGELOG.md +164 -0
  775. package/node_modules/pako/LICENSE +21 -0
  776. package/node_modules/pako/README.md +191 -0
  777. package/node_modules/pako/dist/pako.js +6818 -0
  778. package/node_modules/pako/dist/pako.min.js +1 -0
  779. package/node_modules/pako/dist/pako_deflate.js +3997 -0
  780. package/node_modules/pako/dist/pako_deflate.min.js +1 -0
  781. package/node_modules/pako/dist/pako_inflate.js +3300 -0
  782. package/node_modules/pako/dist/pako_inflate.min.js +1 -0
  783. package/node_modules/pako/index.js +14 -0
  784. package/node_modules/pako/lib/deflate.js +400 -0
  785. package/node_modules/pako/lib/inflate.js +423 -0
  786. package/node_modules/pako/lib/utils/common.js +105 -0
  787. package/node_modules/pako/lib/utils/strings.js +187 -0
  788. package/node_modules/pako/lib/zlib/README +59 -0
  789. package/node_modules/pako/lib/zlib/adler32.js +51 -0
  790. package/node_modules/pako/lib/zlib/constants.js +68 -0
  791. package/node_modules/pako/lib/zlib/crc32.js +59 -0
  792. package/node_modules/pako/lib/zlib/deflate.js +1874 -0
  793. package/node_modules/pako/lib/zlib/gzheader.js +58 -0
  794. package/node_modules/pako/lib/zlib/inffast.js +345 -0
  795. package/node_modules/pako/lib/zlib/inflate.js +1556 -0
  796. package/node_modules/pako/lib/zlib/inftrees.js +343 -0
  797. package/node_modules/pako/lib/zlib/messages.js +32 -0
  798. package/node_modules/pako/lib/zlib/trees.js +1222 -0
  799. package/node_modules/pako/lib/zlib/zstream.js +47 -0
  800. package/node_modules/pako/package.json +44 -0
  801. package/node_modules/process-nextick-args/index.js +45 -0
  802. package/node_modules/process-nextick-args/license.md +19 -0
  803. package/node_modules/process-nextick-args/package.json +25 -0
  804. package/node_modules/process-nextick-args/readme.md +18 -0
  805. package/node_modules/readable-stream/.travis.yml +34 -0
  806. package/node_modules/readable-stream/CONTRIBUTING.md +38 -0
  807. package/node_modules/readable-stream/GOVERNANCE.md +136 -0
  808. package/node_modules/readable-stream/LICENSE +47 -0
  809. package/node_modules/readable-stream/README.md +58 -0
  810. package/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +60 -0
  811. package/node_modules/readable-stream/duplex-browser.js +1 -0
  812. package/node_modules/readable-stream/duplex.js +1 -0
  813. package/node_modules/readable-stream/lib/_stream_duplex.js +131 -0
  814. package/node_modules/readable-stream/lib/_stream_passthrough.js +47 -0
  815. package/node_modules/readable-stream/lib/_stream_readable.js +1019 -0
  816. package/node_modules/readable-stream/lib/_stream_transform.js +214 -0
  817. package/node_modules/readable-stream/lib/_stream_writable.js +685 -0
  818. package/node_modules/readable-stream/lib/internal/streams/BufferList.js +78 -0
  819. package/node_modules/readable-stream/lib/internal/streams/destroy.js +84 -0
  820. package/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
  821. package/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
  822. package/node_modules/readable-stream/package.json +52 -0
  823. package/node_modules/readable-stream/passthrough.js +1 -0
  824. package/node_modules/readable-stream/readable-browser.js +7 -0
  825. package/node_modules/readable-stream/readable.js +19 -0
  826. package/node_modules/readable-stream/transform.js +1 -0
  827. package/node_modules/readable-stream/writable-browser.js +1 -0
  828. package/node_modules/readable-stream/writable.js +8 -0
  829. package/node_modules/safe-buffer/LICENSE +21 -0
  830. package/node_modules/safe-buffer/README.md +584 -0
  831. package/node_modules/safe-buffer/index.d.ts +187 -0
  832. package/node_modules/safe-buffer/index.js +62 -0
  833. package/node_modules/safe-buffer/package.json +37 -0
  834. package/node_modules/setimmediate/LICENSE.txt +20 -0
  835. package/node_modules/setimmediate/package.json +30 -0
  836. package/node_modules/setimmediate/setImmediate.js +186 -0
  837. package/node_modules/string_decoder/.travis.yml +50 -0
  838. package/node_modules/string_decoder/LICENSE +48 -0
  839. package/node_modules/string_decoder/README.md +47 -0
  840. package/node_modules/string_decoder/lib/string_decoder.js +296 -0
  841. package/node_modules/string_decoder/package.json +31 -0
  842. package/node_modules/typebox/build/compile/code.mjs +1 -2
  843. package/node_modules/typebox/build/compile/validator.mjs +5 -1
  844. package/node_modules/typebox/build/format/iri.mjs +16 -9
  845. package/node_modules/typebox/build/guard/emit.mjs +2 -2
  846. package/node_modules/typebox/build/guard/guard.d.mts +7 -5
  847. package/node_modules/typebox/build/guard/guard.mjs +14 -9
  848. package/node_modules/typebox/build/guard/index.mjs +6 -0
  849. package/node_modules/typebox/build/guard/unicode/unicode.d.mts +6 -0
  850. package/node_modules/typebox/build/guard/unicode/unicode.mjs +35 -0
  851. package/node_modules/typebox/build/guard/unicode/unicode_segment.mjs +165 -0
  852. package/node_modules/typebox/build/schema/build.mjs +2 -3
  853. package/node_modules/typebox/build/schema/engine/_pathing.d.mts +1 -0
  854. package/node_modules/typebox/build/schema/engine/_pathing.mjs +11 -0
  855. package/node_modules/typebox/build/schema/engine/_refine.mjs +13 -5
  856. package/node_modules/typebox/build/schema/engine/additionalProperties.mjs +2 -1
  857. package/node_modules/typebox/build/schema/engine/dependencies.mjs +2 -1
  858. package/node_modules/typebox/build/schema/engine/dependentSchemas.mjs +2 -1
  859. package/node_modules/typebox/build/schema/engine/dynamicRef.d.mts +1 -1
  860. package/node_modules/typebox/build/schema/engine/dynamicRef.mjs +2 -2
  861. package/node_modules/typebox/build/schema/engine/format.mjs +9 -2
  862. package/node_modules/typebox/build/schema/engine/patternProperties.mjs +3 -2
  863. package/node_modules/typebox/build/schema/engine/properties.mjs +3 -2
  864. package/node_modules/typebox/build/schema/engine/propertyNames.mjs +2 -1
  865. package/node_modules/typebox/build/schema/engine/recursiveRef.d.mts +1 -1
  866. package/node_modules/typebox/build/schema/engine/recursiveRef.mjs +2 -2
  867. package/node_modules/typebox/build/schema/engine/ref.d.mts +1 -1
  868. package/node_modules/typebox/build/schema/engine/ref.mjs +2 -2
  869. package/node_modules/typebox/build/schema/engine/schema.mjs +24 -24
  870. package/node_modules/typebox/build/schema/parse.mjs +3 -0
  871. package/node_modules/typebox/build/schema/pointer/pointer.d.mts +1 -6
  872. package/node_modules/typebox/build/schema/pointer/pointer.mjs +47 -64
  873. package/node_modules/typebox/build/system/settings/internal.d.mts +2 -0
  874. package/node_modules/typebox/build/system/settings/internal.mjs +20 -0
  875. package/node_modules/typebox/build/system/settings/settings.d.mts +11 -0
  876. package/node_modules/typebox/build/system/settings/settings.mjs +14 -0
  877. package/node_modules/typebox/build/type/extends/inference.d.mts +1 -1
  878. package/node_modules/typebox/build/type/extends/inference.mjs +15 -2
  879. package/node_modules/typebox/build/type/extends/tuple.d.mts +2 -1
  880. package/node_modules/typebox/build/type/extends/tuple.mjs +21 -1
  881. package/node_modules/typebox/build/value/parse/parse.mjs +10 -4
  882. package/node_modules/typebox/package.json +1 -1
  883. package/node_modules/typebox/readme.md +3 -1
  884. package/node_modules/util-deprecate/History.md +16 -0
  885. package/node_modules/util-deprecate/LICENSE +24 -0
  886. package/node_modules/util-deprecate/README.md +53 -0
  887. package/node_modules/util-deprecate/browser.js +67 -0
  888. package/node_modules/util-deprecate/node.js +6 -0
  889. package/node_modules/util-deprecate/package.json +27 -0
  890. package/openclaw.plugin.json +64 -14
  891. package/package.json +8 -6
  892. package/dist/.setup/accounts-DmU0xYPx.mjs +0 -211
  893. package/dist/.setup/app-registration-Bv4mvauR.mjs +0 -204
  894. package/dist/.setup/audio-preflight.runtime-BBfC9elv.mjs +0 -7
  895. package/dist/.setup/channel-DsndN1sp.mjs +0 -3094
  896. package/dist/.setup/channel.runtime-tihKUwVI.mjs +0 -250
  897. package/dist/.setup/chat-BlvUjdN9.mjs +0 -285
  898. package/dist/.setup/client-DCwNVFZg.mjs +0 -373
  899. package/dist/.setup/conversation-id-H-lUayji.mjs +0 -177
  900. package/dist/.setup/doctor-contract-w6FpMypv.mjs +0 -465
  901. package/dist/.setup/monitor-OTT7VckU.mjs +0 -204
  902. package/dist/.setup/monitor.account-D5j6WomE.mjs +0 -7313
  903. package/dist/.setup/probe-bdidyhAn.mjs +0 -219
  904. package/dist/.setup/reply-delivery-result-CRIHpSze.mjs +0 -3668
  905. package/dist/.setup/rolldown-runtime-8H4AJuhK.mjs +0 -14
  906. package/dist/.setup/secret-contract-BCpDLdg9.mjs +0 -73
  907. package/dist/.setup/secret-contract-api-jmCkqVLc.mjs +0 -3
  908. package/dist/.setup/security-audit-CmiKKfU-.mjs +0 -23
  909. package/dist/.setup/security-audit-shared-CK5rVR-1.mjs +0 -34
  910. package/dist/.setup/session-conversation-ZC6TC1zk.mjs +0 -27
  911. package/dist/.setup/setup-api-VAUkwtTi.mjs +0 -3
  912. package/dist/.setup/subagent-hooks-BBfF1hZk.mjs +0 -160
  913. package/dist/.setup/thread-bindings-BiL1wGqK.mjs +0 -229
  914. package/node_modules/mdast-util-from-markdown/node_modules/debug/LICENSE +0 -20
  915. package/node_modules/mdast-util-from-markdown/node_modules/debug/README.md +0 -481
  916. package/node_modules/mdast-util-from-markdown/node_modules/debug/package.json +0 -64
  917. package/node_modules/mdast-util-from-markdown/node_modules/debug/src/browser.js +0 -272
  918. package/node_modules/mdast-util-from-markdown/node_modules/debug/src/common.js +0 -292
  919. package/node_modules/mdast-util-from-markdown/node_modules/debug/src/index.js +0 -10
  920. package/node_modules/mdast-util-from-markdown/node_modules/debug/src/node.js +0 -263
  921. package/node_modules/mdast-util-from-markdown/node_modules/ms/index.js +0 -162
  922. package/node_modules/mdast-util-from-markdown/node_modules/ms/license.md +0 -21
  923. package/node_modules/mdast-util-from-markdown/node_modules/ms/package.json +0 -38
  924. package/node_modules/mdast-util-from-markdown/node_modules/ms/readme.md +0 -59
  925. package/node_modules/mdast-util-gfm-table/node_modules/@types/mdast/LICENSE +0 -21
  926. package/node_modules/mdast-util-gfm-table/node_modules/@types/mdast/README.md +0 -15
  927. package/node_modules/mdast-util-gfm-table/node_modules/@types/mdast/index.d.ts +0 -1123
  928. package/node_modules/mdast-util-gfm-table/node_modules/@types/mdast/package.json +0 -47
  929. package/node_modules/mdast-util-gfm-table/node_modules/@types/unist/LICENSE +0 -21
  930. package/node_modules/mdast-util-gfm-table/node_modules/@types/unist/README.md +0 -15
  931. package/node_modules/mdast-util-gfm-table/node_modules/@types/unist/index.d.ts +0 -119
  932. package/node_modules/mdast-util-gfm-table/node_modules/@types/unist/package.json +0 -60
  933. package/node_modules/mdast-util-gfm-table/node_modules/character-entities/index.d.ts +0 -6
  934. package/node_modules/mdast-util-gfm-table/node_modules/character-entities/index.js +0 -2132
  935. package/node_modules/mdast-util-gfm-table/node_modules/character-entities/package.json +0 -78
  936. package/node_modules/mdast-util-gfm-table/node_modules/character-entities/readme.md +0 -152
  937. package/node_modules/mdast-util-gfm-table/node_modules/decode-named-character-reference/index.d.ts +0 -13
  938. package/node_modules/mdast-util-gfm-table/node_modules/decode-named-character-reference/index.d.ts.map +0 -1
  939. package/node_modules/mdast-util-gfm-table/node_modules/decode-named-character-reference/index.dom.d.ts +0 -6
  940. package/node_modules/mdast-util-gfm-table/node_modules/decode-named-character-reference/index.dom.d.ts.map +0 -1
  941. package/node_modules/mdast-util-gfm-table/node_modules/decode-named-character-reference/index.dom.js +0 -32
  942. package/node_modules/mdast-util-gfm-table/node_modules/decode-named-character-reference/index.js +0 -19
  943. package/node_modules/mdast-util-gfm-table/node_modules/decode-named-character-reference/package.json +0 -90
  944. package/node_modules/mdast-util-gfm-table/node_modules/decode-named-character-reference/readme.md +0 -136
  945. package/node_modules/mdast-util-gfm-table/node_modules/dequal/dist/index.js +0 -86
  946. package/node_modules/mdast-util-gfm-table/node_modules/dequal/dist/index.min.js +0 -1
  947. package/node_modules/mdast-util-gfm-table/node_modules/dequal/dist/index.mjs +0 -84
  948. package/node_modules/mdast-util-gfm-table/node_modules/dequal/index.d.ts +0 -1
  949. package/node_modules/mdast-util-gfm-table/node_modules/dequal/license +0 -21
  950. package/node_modules/mdast-util-gfm-table/node_modules/dequal/lite/index.d.ts +0 -1
  951. package/node_modules/mdast-util-gfm-table/node_modules/dequal/lite/index.js +0 -31
  952. package/node_modules/mdast-util-gfm-table/node_modules/dequal/lite/index.min.js +0 -1
  953. package/node_modules/mdast-util-gfm-table/node_modules/dequal/lite/index.mjs +0 -29
  954. package/node_modules/mdast-util-gfm-table/node_modules/dequal/package.json +0 -57
  955. package/node_modules/mdast-util-gfm-table/node_modules/dequal/readme.md +0 -112
  956. package/node_modules/mdast-util-gfm-table/node_modules/devlop/lib/default.js +0 -9
  957. package/node_modules/mdast-util-gfm-table/node_modules/devlop/lib/development.d.ts +0 -84
  958. package/node_modules/mdast-util-gfm-table/node_modules/devlop/lib/development.js +0 -238
  959. package/node_modules/mdast-util-gfm-table/node_modules/devlop/license +0 -22
  960. package/node_modules/mdast-util-gfm-table/node_modules/devlop/package.json +0 -80
  961. package/node_modules/mdast-util-gfm-table/node_modules/devlop/readme.md +0 -360
  962. package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/license +0 -22
  963. package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-string/index.d.ts +0 -2
  964. package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-string/index.js +0 -5
  965. package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-string/lib/index.d.ts +0 -31
  966. package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-string/lib/index.js +0 -108
  967. package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-string/license +0 -22
  968. package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-string/package.json +0 -78
  969. package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-string/readme.md +0 -218
  970. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-character/dev/index.d.ts +0 -195
  971. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-character/dev/index.d.ts.map +0 -1
  972. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-character/dev/index.js +0 -252
  973. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-character/index.d.ts +0 -195
  974. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-character/index.d.ts.map +0 -1
  975. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-character/index.js +0 -246
  976. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-character/license +0 -22
  977. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-character/package.json +0 -57
  978. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-character/readme.md +0 -446
  979. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-classify-character/dev/index.d.ts +0 -18
  980. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-classify-character/dev/index.d.ts.map +0 -1
  981. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-classify-character/dev/index.js +0 -38
  982. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-classify-character/index.d.ts +0 -18
  983. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-classify-character/index.d.ts.map +0 -1
  984. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-classify-character/index.js +0 -27
  985. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-classify-character/license +0 -22
  986. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-classify-character/package.json +0 -59
  987. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-classify-character/readme.md +0 -205
  988. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-numeric-character-reference/dev/index.d.ts +0 -16
  989. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-numeric-character-reference/dev/index.d.ts.map +0 -1
  990. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-numeric-character-reference/dev/index.js +0 -42
  991. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-numeric-character-reference/index.d.ts +0 -16
  992. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-numeric-character-reference/index.d.ts.map +0 -1
  993. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-numeric-character-reference/index.js +0 -32
  994. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-numeric-character-reference/license +0 -22
  995. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-numeric-character-reference/package.json +0 -59
  996. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-numeric-character-reference/readme.md +0 -184
  997. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-string/dev/index.d.ts +0 -14
  998. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-string/dev/index.d.ts.map +0 -1
  999. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-string/dev/index.js +0 -53
  1000. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-string/index.d.ts +0 -14
  1001. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-string/index.d.ts.map +0 -1
  1002. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-string/index.js +0 -45
  1003. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-string/license +0 -22
  1004. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-string/package.json +0 -63
  1005. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-string/readme.md +0 -179
  1006. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/codes.d.ts +0 -139
  1007. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/codes.d.ts.map +0 -1
  1008. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/codes.js +0 -158
  1009. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/constants.d.ts +0 -37
  1010. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/constants.d.ts.map +0 -1
  1011. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/constants.js +0 -44
  1012. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/default.d.ts +0 -5
  1013. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/default.d.ts.map +0 -1
  1014. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/default.js +0 -4
  1015. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/types.d.ts +0 -106
  1016. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/types.d.ts.map +0 -1
  1017. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/types.js +0 -453
  1018. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/values.d.ts +0 -102
  1019. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/values.d.ts.map +0 -1
  1020. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/values.js +0 -109
  1021. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/license +0 -22
  1022. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/package.json +0 -43
  1023. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/readme.md +0 -168
  1024. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-types/index.d.ts +0 -1312
  1025. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-types/index.js +0 -2
  1026. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-types/license +0 -22
  1027. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-types/package.json +0 -71
  1028. package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-types/readme.md +0 -151
  1029. package/node_modules/mdast-util-gfm-table/node_modules/unist-util-visit/license +0 -22
  1030. package/node_modules/micromark-extension-gfm-table/node_modules/dequal/dist/index.js +0 -86
  1031. package/node_modules/micromark-extension-gfm-table/node_modules/dequal/dist/index.min.js +0 -1
  1032. package/node_modules/micromark-extension-gfm-table/node_modules/dequal/dist/index.mjs +0 -84
  1033. package/node_modules/micromark-extension-gfm-table/node_modules/dequal/index.d.ts +0 -1
  1034. package/node_modules/micromark-extension-gfm-table/node_modules/dequal/license +0 -21
  1035. package/node_modules/micromark-extension-gfm-table/node_modules/dequal/lite/index.d.ts +0 -1
  1036. package/node_modules/micromark-extension-gfm-table/node_modules/dequal/lite/index.js +0 -31
  1037. package/node_modules/micromark-extension-gfm-table/node_modules/dequal/lite/index.min.js +0 -1
  1038. package/node_modules/micromark-extension-gfm-table/node_modules/dequal/lite/index.mjs +0 -29
  1039. package/node_modules/micromark-extension-gfm-table/node_modules/dequal/package.json +0 -57
  1040. package/node_modules/micromark-extension-gfm-table/node_modules/dequal/readme.md +0 -112
  1041. package/node_modules/micromark-extension-gfm-table/node_modules/devlop/lib/default.js +0 -9
  1042. package/node_modules/micromark-extension-gfm-table/node_modules/devlop/lib/development.d.ts +0 -84
  1043. package/node_modules/micromark-extension-gfm-table/node_modules/devlop/lib/development.js +0 -238
  1044. package/node_modules/micromark-extension-gfm-table/node_modules/devlop/license +0 -22
  1045. package/node_modules/micromark-extension-gfm-table/node_modules/devlop/package.json +0 -80
  1046. package/node_modules/micromark-extension-gfm-table/node_modules/devlop/readme.md +0 -360
  1047. package/node_modules/micromark-extension-gfm-table/node_modules/micromark-factory-space/dev/index.d.ts +0 -37
  1048. package/node_modules/micromark-extension-gfm-table/node_modules/micromark-factory-space/dev/index.d.ts.map +0 -1
  1049. package/node_modules/micromark-extension-gfm-table/node_modules/micromark-factory-space/dev/index.js +0 -67
  1050. package/node_modules/micromark-extension-gfm-table/node_modules/micromark-factory-space/index.d.ts +0 -37
  1051. package/node_modules/micromark-extension-gfm-table/node_modules/micromark-factory-space/index.d.ts.map +0 -1
  1052. package/node_modules/micromark-extension-gfm-table/node_modules/micromark-factory-space/index.js +0 -64
  1053. package/node_modules/micromark-extension-gfm-table/node_modules/micromark-factory-space/license +0 -22
  1054. package/node_modules/micromark-extension-gfm-table/node_modules/micromark-factory-space/package.json +0 -55
  1055. package/node_modules/micromark-extension-gfm-table/node_modules/micromark-factory-space/readme.md +0 -225
  1056. package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-character/dev/index.d.ts +0 -195
  1057. package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-character/dev/index.d.ts.map +0 -1
  1058. package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-character/dev/index.js +0 -252
  1059. package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-character/index.d.ts +0 -195
  1060. package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-character/index.d.ts.map +0 -1
  1061. package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-character/index.js +0 -246
  1062. package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-character/license +0 -22
  1063. package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-character/package.json +0 -57
  1064. package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-character/readme.md +0 -446
  1065. package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/codes.d.ts +0 -139
  1066. package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/codes.d.ts.map +0 -1
  1067. package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/codes.js +0 -158
  1068. package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/constants.d.ts +0 -37
  1069. package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/constants.d.ts.map +0 -1
  1070. package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/constants.js +0 -44
  1071. package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/default.d.ts +0 -5
  1072. package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/default.d.ts.map +0 -1
  1073. package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/default.js +0 -4
  1074. package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/types.d.ts +0 -106
  1075. package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/types.d.ts.map +0 -1
  1076. package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/types.js +0 -453
  1077. package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/values.d.ts +0 -102
  1078. package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/values.d.ts.map +0 -1
  1079. package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/values.js +0 -109
  1080. package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/license +0 -22
  1081. package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/package.json +0 -43
  1082. package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/readme.md +0 -168
  1083. package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-types/index.d.ts +0 -1312
  1084. package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-types/index.js +0 -2
  1085. package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-types/license +0 -22
  1086. package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-types/package.json +0 -71
  1087. package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-types/readme.md +0 -151
  1088. package/node_modules/typebox/build/guard/string.mjs +0 -168
  1089. /package/node_modules/{mdast-util-from-markdown/node_modules/@types → @types}/debug/LICENSE +0 -0
  1090. /package/node_modules/{mdast-util-from-markdown/node_modules/@types → @types}/debug/README.md +0 -0
  1091. /package/node_modules/{mdast-util-from-markdown/node_modules/@types → @types}/debug/index.d.ts +0 -0
  1092. /package/node_modules/{mdast-util-from-markdown/node_modules/@types → @types}/debug/package.json +0 -0
  1093. /package/node_modules/{mdast-util-from-markdown/node_modules/@types → @types}/mdast/LICENSE +0 -0
  1094. /package/node_modules/{mdast-util-from-markdown/node_modules/@types → @types}/mdast/README.md +0 -0
  1095. /package/node_modules/{mdast-util-from-markdown/node_modules/@types → @types}/mdast/index.d.ts +0 -0
  1096. /package/node_modules/{mdast-util-from-markdown/node_modules/@types → @types}/mdast/package.json +0 -0
  1097. /package/node_modules/{mdast-util-from-markdown/node_modules/@types → @types}/ms/LICENSE +0 -0
  1098. /package/node_modules/{mdast-util-from-markdown/node_modules/@types → @types}/ms/README.md +0 -0
  1099. /package/node_modules/{mdast-util-from-markdown/node_modules/@types → @types}/ms/index.d.ts +0 -0
  1100. /package/node_modules/{mdast-util-from-markdown/node_modules/@types → @types}/ms/package.json +0 -0
  1101. /package/node_modules/{mdast-util-from-markdown/node_modules/@types → @types}/unist/LICENSE +0 -0
  1102. /package/node_modules/{mdast-util-from-markdown/node_modules/@types → @types}/unist/README.md +0 -0
  1103. /package/node_modules/{mdast-util-from-markdown/node_modules/@types → @types}/unist/index.d.ts +0 -0
  1104. /package/node_modules/{mdast-util-from-markdown/node_modules/@types → @types}/unist/package.json +0 -0
  1105. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/agent-base → agent-base}/README.md +0 -0
  1106. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/agent-base → agent-base}/dist/src/index.d.ts +0 -0
  1107. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/agent-base → agent-base}/dist/src/index.js +0 -0
  1108. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/agent-base → agent-base}/dist/src/index.js.map +0 -0
  1109. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/agent-base → agent-base}/dist/src/promisify.d.ts +0 -0
  1110. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/agent-base → agent-base}/dist/src/promisify.js +0 -0
  1111. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/agent-base → agent-base}/dist/src/promisify.js.map +0 -0
  1112. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/agent-base → agent-base}/package.json +0 -0
  1113. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/agent-base → agent-base}/src/index.ts +0 -0
  1114. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/agent-base → agent-base}/src/promisify.ts +0 -0
  1115. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/asynckit → asynckit}/LICENSE +0 -0
  1116. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/asynckit → asynckit}/README.md +0 -0
  1117. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/asynckit → asynckit}/bench.js +0 -0
  1118. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/asynckit → asynckit}/index.js +0 -0
  1119. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/asynckit → asynckit}/lib/abort.js +0 -0
  1120. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/asynckit → asynckit}/lib/async.js +0 -0
  1121. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/asynckit → asynckit}/lib/defer.js +0 -0
  1122. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/asynckit → asynckit}/lib/iterate.js +0 -0
  1123. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/asynckit → asynckit}/lib/readable_asynckit.js +0 -0
  1124. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/asynckit → asynckit}/lib/readable_parallel.js +0 -0
  1125. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/asynckit → asynckit}/lib/readable_serial.js +0 -0
  1126. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/asynckit → asynckit}/lib/readable_serial_ordered.js +0 -0
  1127. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/asynckit → asynckit}/lib/state.js +0 -0
  1128. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/asynckit → asynckit}/lib/streamify.js +0 -0
  1129. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/asynckit → asynckit}/lib/terminator.js +0 -0
  1130. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/asynckit → asynckit}/package.json +0 -0
  1131. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/asynckit → asynckit}/parallel.js +0 -0
  1132. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/asynckit → asynckit}/serial.js +0 -0
  1133. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/asynckit → asynckit}/serialOrdered.js +0 -0
  1134. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/asynckit → asynckit}/stream.js +0 -0
  1135. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/CHANGELOG.md +0 -0
  1136. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/LICENSE +0 -0
  1137. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/MIGRATION_GUIDE.md +0 -0
  1138. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/README.md +0 -0
  1139. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/dist/axios.js +0 -0
  1140. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/dist/axios.min.js +0 -0
  1141. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/dist/axios.min.js.map +0 -0
  1142. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/dist/browser/axios.cjs +0 -0
  1143. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/dist/esm/axios.js +0 -0
  1144. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/dist/esm/axios.min.js +0 -0
  1145. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/dist/esm/axios.min.js.map +0 -0
  1146. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/dist/node/axios.cjs +0 -0
  1147. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/index.d.cts +0 -0
  1148. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/index.d.ts +0 -0
  1149. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/index.js +0 -0
  1150. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/adapters/README.md +0 -0
  1151. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/adapters/adapters.js +0 -0
  1152. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/adapters/fetch.js +0 -0
  1153. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/adapters/http.js +0 -0
  1154. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/adapters/xhr.js +0 -0
  1155. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/axios.js +0 -0
  1156. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/cancel/CancelToken.js +0 -0
  1157. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/cancel/CanceledError.js +0 -0
  1158. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/cancel/isCancel.js +0 -0
  1159. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/core/Axios.js +0 -0
  1160. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/core/AxiosError.js +0 -0
  1161. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/core/AxiosHeaders.js +0 -0
  1162. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/core/InterceptorManager.js +0 -0
  1163. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/core/README.md +0 -0
  1164. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/core/buildFullPath.js +0 -0
  1165. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/core/dispatchRequest.js +0 -0
  1166. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/core/mergeConfig.js +0 -0
  1167. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/core/methodList.js +0 -0
  1168. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/core/setFormDataHeaders.js +0 -0
  1169. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/core/settle.js +0 -0
  1170. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/core/transformData.js +0 -0
  1171. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/defaults/index.js +0 -0
  1172. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/defaults/transitional.js +0 -0
  1173. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/env/README.md +0 -0
  1174. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/env/classes/FormData.js +0 -0
  1175. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/env/data.js +0 -0
  1176. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/AxiosTransformStream.js +0 -0
  1177. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/AxiosURLSearchParams.js +0 -0
  1178. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/Http2Sessions.js +0 -0
  1179. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/HttpStatusCode.js +0 -0
  1180. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/README.md +0 -0
  1181. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/ZlibHeaderTransformStream.js +0 -0
  1182. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/bind.js +0 -0
  1183. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/buildURL.js +0 -0
  1184. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/callbackify.js +0 -0
  1185. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/combineURLs.js +0 -0
  1186. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/composeSignals.js +0 -0
  1187. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/cookies.js +0 -0
  1188. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/deprecatedMethod.js +0 -0
  1189. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/estimateDataURLDecodedBytes.js +0 -0
  1190. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/formDataToJSON.js +0 -0
  1191. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/formDataToStream.js +0 -0
  1192. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/fromDataURI.js +0 -0
  1193. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/isAbsoluteURL.js +0 -0
  1194. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/isAxiosError.js +0 -0
  1195. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/isURLSameOrigin.js +0 -0
  1196. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/normalizeURLForProtocolCheck.js +0 -0
  1197. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/null.js +0 -0
  1198. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/parseHeaders.js +0 -0
  1199. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/parseProtocol.js +0 -0
  1200. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/progressEventReducer.js +0 -0
  1201. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/readBlob.js +0 -0
  1202. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/resolveConfig.js +0 -0
  1203. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/sanitizeHeaderValue.js +0 -0
  1204. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/shouldBypassProxy.js +0 -0
  1205. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/speedometer.js +0 -0
  1206. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/spread.js +0 -0
  1207. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/throttle.js +0 -0
  1208. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/toFormData.js +0 -0
  1209. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/toURLEncodedForm.js +0 -0
  1210. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/trackStream.js +0 -0
  1211. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/validator.js +0 -0
  1212. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/platform/browser/classes/Blob.js +0 -0
  1213. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/platform/browser/classes/FormData.js +0 -0
  1214. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/platform/browser/classes/URLSearchParams.js +0 -0
  1215. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/platform/browser/index.js +0 -0
  1216. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/platform/common/utils.js +0 -0
  1217. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/platform/index.js +0 -0
  1218. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/platform/node/classes/Buffer.js +0 -0
  1219. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/platform/node/classes/FormData.js +0 -0
  1220. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/platform/node/classes/URLSearchParams.js +0 -0
  1221. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/platform/node/index.js +0 -0
  1222. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/utils.js +0 -0
  1223. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/package.json +0 -0
  1224. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/.eslintrc +0 -0
  1225. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/.github/FUNDING.yml +0 -0
  1226. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/.nycrc +0 -0
  1227. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/CHANGELOG.md +0 -0
  1228. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/LICENSE +0 -0
  1229. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/README.md +0 -0
  1230. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/actualApply.d.ts +0 -0
  1231. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/actualApply.js +0 -0
  1232. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/applyBind.d.ts +0 -0
  1233. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/applyBind.js +0 -0
  1234. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/functionApply.d.ts +0 -0
  1235. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/functionApply.js +0 -0
  1236. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/functionCall.d.ts +0 -0
  1237. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/functionCall.js +0 -0
  1238. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/index.d.ts +0 -0
  1239. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/index.js +0 -0
  1240. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/package.json +0 -0
  1241. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/reflectApply.d.ts +0 -0
  1242. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/reflectApply.js +0 -0
  1243. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/test/index.js +0 -0
  1244. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/tsconfig.json +0 -0
  1245. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bound → call-bound}/.eslintrc +0 -0
  1246. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bound → call-bound}/.github/FUNDING.yml +0 -0
  1247. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bound → call-bound}/.nycrc +0 -0
  1248. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bound → call-bound}/CHANGELOG.md +0 -0
  1249. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bound → call-bound}/LICENSE +0 -0
  1250. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bound → call-bound}/README.md +0 -0
  1251. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bound → call-bound}/index.d.ts +0 -0
  1252. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bound → call-bound}/index.js +0 -0
  1253. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bound → call-bound}/package.json +0 -0
  1254. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bound → call-bound}/test/index.js +0 -0
  1255. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bound → call-bound}/tsconfig.json +0 -0
  1256. /package/node_modules/{mdast-util-from-markdown/node_modules/character-entities → character-entities}/index.d.ts +0 -0
  1257. /package/node_modules/{mdast-util-from-markdown/node_modules/character-entities → character-entities}/index.js +0 -0
  1258. /package/node_modules/{mdast-util-from-markdown/node_modules/character-entities → character-entities}/license +0 -0
  1259. /package/node_modules/{mdast-util-from-markdown/node_modules/character-entities → character-entities}/package.json +0 -0
  1260. /package/node_modules/{mdast-util-from-markdown/node_modules/character-entities → character-entities}/readme.md +0 -0
  1261. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/combined-stream → combined-stream}/License +0 -0
  1262. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/combined-stream → combined-stream}/Readme.md +0 -0
  1263. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/combined-stream → combined-stream}/lib/combined_stream.js +0 -0
  1264. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/combined-stream → combined-stream}/package.json +0 -0
  1265. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/debug → debug}/LICENSE +0 -0
  1266. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/debug → debug}/README.md +0 -0
  1267. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/debug → debug}/package.json +0 -0
  1268. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/debug → debug}/src/browser.js +0 -0
  1269. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/debug → debug}/src/common.js +0 -0
  1270. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/debug → debug}/src/index.js +0 -0
  1271. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/debug → debug}/src/node.js +0 -0
  1272. /package/node_modules/{mdast-util-from-markdown/node_modules/decode-named-character-reference → decode-named-character-reference}/index.d.ts +0 -0
  1273. /package/node_modules/{mdast-util-from-markdown/node_modules/decode-named-character-reference → decode-named-character-reference}/index.d.ts.map +0 -0
  1274. /package/node_modules/{mdast-util-from-markdown/node_modules/decode-named-character-reference → decode-named-character-reference}/index.dom.d.ts +0 -0
  1275. /package/node_modules/{mdast-util-from-markdown/node_modules/decode-named-character-reference → decode-named-character-reference}/index.dom.d.ts.map +0 -0
  1276. /package/node_modules/{mdast-util-from-markdown/node_modules/decode-named-character-reference → decode-named-character-reference}/index.dom.js +0 -0
  1277. /package/node_modules/{mdast-util-from-markdown/node_modules/decode-named-character-reference → decode-named-character-reference}/index.js +0 -0
  1278. /package/node_modules/{mdast-util-from-markdown/node_modules/decode-named-character-reference → decode-named-character-reference}/license +0 -0
  1279. /package/node_modules/{mdast-util-from-markdown/node_modules/decode-named-character-reference → decode-named-character-reference}/package.json +0 -0
  1280. /package/node_modules/{mdast-util-from-markdown/node_modules/decode-named-character-reference → decode-named-character-reference}/readme.md +0 -0
  1281. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/delayed-stream → delayed-stream}/.npmignore +0 -0
  1282. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/delayed-stream → delayed-stream}/License +0 -0
  1283. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/delayed-stream → delayed-stream}/Makefile +0 -0
  1284. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/delayed-stream → delayed-stream}/Readme.md +0 -0
  1285. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/delayed-stream → delayed-stream}/lib/delayed_stream.js +0 -0
  1286. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/delayed-stream → delayed-stream}/package.json +0 -0
  1287. /package/node_modules/{mdast-util-from-markdown/node_modules/dequal → dequal}/dist/index.js +0 -0
  1288. /package/node_modules/{mdast-util-from-markdown/node_modules/dequal → dequal}/dist/index.min.js +0 -0
  1289. /package/node_modules/{mdast-util-from-markdown/node_modules/dequal → dequal}/dist/index.mjs +0 -0
  1290. /package/node_modules/{mdast-util-from-markdown/node_modules/dequal → dequal}/index.d.ts +0 -0
  1291. /package/node_modules/{mdast-util-from-markdown/node_modules/dequal → dequal}/license +0 -0
  1292. /package/node_modules/{mdast-util-from-markdown/node_modules/dequal → dequal}/lite/index.d.ts +0 -0
  1293. /package/node_modules/{mdast-util-from-markdown/node_modules/dequal → dequal}/lite/index.js +0 -0
  1294. /package/node_modules/{mdast-util-from-markdown/node_modules/dequal → dequal}/lite/index.min.js +0 -0
  1295. /package/node_modules/{mdast-util-from-markdown/node_modules/dequal → dequal}/lite/index.mjs +0 -0
  1296. /package/node_modules/{mdast-util-from-markdown/node_modules/dequal → dequal}/package.json +0 -0
  1297. /package/node_modules/{mdast-util-from-markdown/node_modules/dequal → dequal}/readme.md +0 -0
  1298. /package/node_modules/{mdast-util-from-markdown/node_modules/devlop → devlop}/lib/default.js +0 -0
  1299. /package/node_modules/{mdast-util-from-markdown/node_modules/devlop → devlop}/lib/development.d.ts +0 -0
  1300. /package/node_modules/{mdast-util-from-markdown/node_modules/devlop → devlop}/lib/development.js +0 -0
  1301. /package/node_modules/{mdast-util-from-markdown/node_modules/devlop → devlop}/license +0 -0
  1302. /package/node_modules/{mdast-util-from-markdown/node_modules/devlop → devlop}/package.json +0 -0
  1303. /package/node_modules/{mdast-util-from-markdown/node_modules/devlop → devlop}/readme.md +0 -0
  1304. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/dunder-proto → dunder-proto}/.eslintrc +0 -0
  1305. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/dunder-proto → dunder-proto}/.github/FUNDING.yml +0 -0
  1306. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/dunder-proto → dunder-proto}/.nycrc +0 -0
  1307. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/dunder-proto → dunder-proto}/CHANGELOG.md +0 -0
  1308. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/dunder-proto → dunder-proto}/LICENSE +0 -0
  1309. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/dunder-proto → dunder-proto}/README.md +0 -0
  1310. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/dunder-proto → dunder-proto}/get.d.ts +0 -0
  1311. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/dunder-proto → dunder-proto}/get.js +0 -0
  1312. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/dunder-proto → dunder-proto}/package.json +0 -0
  1313. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/dunder-proto → dunder-proto}/set.d.ts +0 -0
  1314. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/dunder-proto → dunder-proto}/set.js +0 -0
  1315. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/dunder-proto → dunder-proto}/test/get.js +0 -0
  1316. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/dunder-proto → dunder-proto}/test/index.js +0 -0
  1317. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/dunder-proto → dunder-proto}/test/set.js +0 -0
  1318. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/dunder-proto → dunder-proto}/tsconfig.json +0 -0
  1319. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-define-property → es-define-property}/.eslintrc +0 -0
  1320. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-define-property → es-define-property}/.github/FUNDING.yml +0 -0
  1321. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-define-property → es-define-property}/.nycrc +0 -0
  1322. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-define-property → es-define-property}/CHANGELOG.md +0 -0
  1323. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-define-property → es-define-property}/LICENSE +0 -0
  1324. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-define-property → es-define-property}/README.md +0 -0
  1325. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-define-property → es-define-property}/index.d.ts +0 -0
  1326. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-define-property → es-define-property}/index.js +0 -0
  1327. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-define-property → es-define-property}/package.json +0 -0
  1328. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-define-property → es-define-property}/test/index.js +0 -0
  1329. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-define-property → es-define-property}/tsconfig.json +0 -0
  1330. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-errors → es-errors}/.eslintrc +0 -0
  1331. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-errors → es-errors}/.github/FUNDING.yml +0 -0
  1332. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-errors → es-errors}/CHANGELOG.md +0 -0
  1333. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-errors → es-errors}/LICENSE +0 -0
  1334. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-errors → es-errors}/README.md +0 -0
  1335. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-errors → es-errors}/eval.d.ts +0 -0
  1336. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-errors → es-errors}/eval.js +0 -0
  1337. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-errors → es-errors}/index.d.ts +0 -0
  1338. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-errors → es-errors}/index.js +0 -0
  1339. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-errors → es-errors}/package.json +0 -0
  1340. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-errors → es-errors}/range.d.ts +0 -0
  1341. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-errors → es-errors}/range.js +0 -0
  1342. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-errors → es-errors}/ref.d.ts +0 -0
  1343. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-errors → es-errors}/ref.js +0 -0
  1344. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-errors → es-errors}/syntax.d.ts +0 -0
  1345. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-errors → es-errors}/syntax.js +0 -0
  1346. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-errors → es-errors}/test/index.js +0 -0
  1347. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-errors → es-errors}/tsconfig.json +0 -0
  1348. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-errors → es-errors}/type.d.ts +0 -0
  1349. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-errors → es-errors}/type.js +0 -0
  1350. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-errors → es-errors}/uri.d.ts +0 -0
  1351. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-errors → es-errors}/uri.js +0 -0
  1352. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-object-atoms → es-object-atoms}/.eslintrc +0 -0
  1353. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-object-atoms → es-object-atoms}/.github/FUNDING.yml +0 -0
  1354. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-object-atoms → es-object-atoms}/CHANGELOG.md +0 -0
  1355. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-object-atoms → es-object-atoms}/LICENSE +0 -0
  1356. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-object-atoms → es-object-atoms}/README.md +0 -0
  1357. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-object-atoms → es-object-atoms}/RequireObjectCoercible.d.ts +0 -0
  1358. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-object-atoms → es-object-atoms}/RequireObjectCoercible.js +0 -0
  1359. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-object-atoms → es-object-atoms}/ToObject.d.ts +0 -0
  1360. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-object-atoms → es-object-atoms}/ToObject.js +0 -0
  1361. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-object-atoms → es-object-atoms}/index.d.ts +0 -0
  1362. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-object-atoms → es-object-atoms}/index.js +0 -0
  1363. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-object-atoms → es-object-atoms}/isObject.d.ts +0 -0
  1364. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-object-atoms → es-object-atoms}/isObject.js +0 -0
  1365. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-object-atoms → es-object-atoms}/package.json +0 -0
  1366. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-object-atoms → es-object-atoms}/test/index.js +0 -0
  1367. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-object-atoms → es-object-atoms}/tsconfig.json +0 -0
  1368. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-set-tostringtag → es-set-tostringtag}/.eslintrc +0 -0
  1369. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-set-tostringtag → es-set-tostringtag}/.nycrc +0 -0
  1370. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-set-tostringtag → es-set-tostringtag}/CHANGELOG.md +0 -0
  1371. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-set-tostringtag → es-set-tostringtag}/LICENSE +0 -0
  1372. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-set-tostringtag → es-set-tostringtag}/README.md +0 -0
  1373. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-set-tostringtag → es-set-tostringtag}/index.d.ts +0 -0
  1374. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-set-tostringtag → es-set-tostringtag}/index.js +0 -0
  1375. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-set-tostringtag → es-set-tostringtag}/package.json +0 -0
  1376. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-set-tostringtag → es-set-tostringtag}/test/index.js +0 -0
  1377. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-set-tostringtag → es-set-tostringtag}/tsconfig.json +0 -0
  1378. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/follow-redirects → follow-redirects}/LICENSE +0 -0
  1379. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/follow-redirects → follow-redirects}/README.md +0 -0
  1380. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/follow-redirects → follow-redirects}/debug.js +0 -0
  1381. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/follow-redirects → follow-redirects}/http.js +0 -0
  1382. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/follow-redirects → follow-redirects}/https.js +0 -0
  1383. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/follow-redirects → follow-redirects}/index.js +0 -0
  1384. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/follow-redirects → follow-redirects}/package.json +0 -0
  1385. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/form-data → form-data}/CHANGELOG.md +0 -0
  1386. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/form-data → form-data}/License +0 -0
  1387. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/form-data → form-data}/README.md +0 -0
  1388. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/form-data → form-data}/index.d.ts +0 -0
  1389. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/form-data → form-data}/lib/browser.js +0 -0
  1390. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/form-data → form-data}/lib/form_data.js +0 -0
  1391. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/form-data → form-data}/lib/populate.js +0 -0
  1392. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/form-data → form-data}/package.json +0 -0
  1393. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/function-bind → function-bind}/.eslintrc +0 -0
  1394. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/function-bind → function-bind}/.github/FUNDING.yml +0 -0
  1395. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/function-bind → function-bind}/.github/SECURITY.md +0 -0
  1396. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/function-bind → function-bind}/.nycrc +0 -0
  1397. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/function-bind → function-bind}/CHANGELOG.md +0 -0
  1398. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/function-bind → function-bind}/LICENSE +0 -0
  1399. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/function-bind → function-bind}/README.md +0 -0
  1400. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/function-bind → function-bind}/implementation.js +0 -0
  1401. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/function-bind → function-bind}/index.js +0 -0
  1402. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/function-bind → function-bind}/package.json +0 -0
  1403. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/function-bind → function-bind}/test/.eslintrc +0 -0
  1404. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/function-bind → function-bind}/test/index.js +0 -0
  1405. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/get-intrinsic → get-intrinsic}/.eslintrc +0 -0
  1406. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/get-intrinsic → get-intrinsic}/.github/FUNDING.yml +0 -0
  1407. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/get-intrinsic → get-intrinsic}/.nycrc +0 -0
  1408. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/get-intrinsic → get-intrinsic}/CHANGELOG.md +0 -0
  1409. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/get-intrinsic → get-intrinsic}/LICENSE +0 -0
  1410. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/get-intrinsic → get-intrinsic}/README.md +0 -0
  1411. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/get-intrinsic → get-intrinsic}/index.js +0 -0
  1412. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/get-intrinsic → get-intrinsic}/package.json +0 -0
  1413. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/get-intrinsic → get-intrinsic}/test/GetIntrinsic.js +0 -0
  1414. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/get-proto → get-proto}/.eslintrc +0 -0
  1415. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/get-proto → get-proto}/.github/FUNDING.yml +0 -0
  1416. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/get-proto → get-proto}/.nycrc +0 -0
  1417. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/get-proto → get-proto}/CHANGELOG.md +0 -0
  1418. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/get-proto → get-proto}/LICENSE +0 -0
  1419. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/get-proto → get-proto}/Object.getPrototypeOf.d.ts +0 -0
  1420. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/get-proto → get-proto}/Object.getPrototypeOf.js +0 -0
  1421. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/get-proto → get-proto}/README.md +0 -0
  1422. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/get-proto → get-proto}/Reflect.getPrototypeOf.d.ts +0 -0
  1423. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/get-proto → get-proto}/Reflect.getPrototypeOf.js +0 -0
  1424. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/get-proto → get-proto}/index.d.ts +0 -0
  1425. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/get-proto → get-proto}/index.js +0 -0
  1426. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/get-proto → get-proto}/package.json +0 -0
  1427. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/get-proto → get-proto}/test/index.js +0 -0
  1428. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/get-proto → get-proto}/tsconfig.json +0 -0
  1429. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/gopd → gopd}/.eslintrc +0 -0
  1430. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/gopd → gopd}/.github/FUNDING.yml +0 -0
  1431. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/gopd → gopd}/CHANGELOG.md +0 -0
  1432. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/gopd → gopd}/LICENSE +0 -0
  1433. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/gopd → gopd}/README.md +0 -0
  1434. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/gopd → gopd}/gOPD.d.ts +0 -0
  1435. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/gopd → gopd}/gOPD.js +0 -0
  1436. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/gopd → gopd}/index.d.ts +0 -0
  1437. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/gopd → gopd}/index.js +0 -0
  1438. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/gopd → gopd}/package.json +0 -0
  1439. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/gopd → gopd}/test/index.js +0 -0
  1440. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/gopd → gopd}/tsconfig.json +0 -0
  1441. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-symbols → has-symbols}/.eslintrc +0 -0
  1442. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-symbols → has-symbols}/.github/FUNDING.yml +0 -0
  1443. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-symbols → has-symbols}/.nycrc +0 -0
  1444. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-symbols → has-symbols}/CHANGELOG.md +0 -0
  1445. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-symbols → has-symbols}/LICENSE +0 -0
  1446. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-symbols → has-symbols}/README.md +0 -0
  1447. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-symbols → has-symbols}/index.d.ts +0 -0
  1448. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-symbols → has-symbols}/index.js +0 -0
  1449. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-symbols → has-symbols}/package.json +0 -0
  1450. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-symbols → has-symbols}/shams.d.ts +0 -0
  1451. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-symbols → has-symbols}/shams.js +0 -0
  1452. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-symbols → has-symbols}/test/index.js +0 -0
  1453. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-symbols → has-symbols}/test/shams/core-js.js +0 -0
  1454. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-symbols → has-symbols}/test/shams/get-own-property-symbols.js +0 -0
  1455. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-symbols → has-symbols}/test/tests.js +0 -0
  1456. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-symbols → has-symbols}/tsconfig.json +0 -0
  1457. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-tostringtag → has-tostringtag}/.eslintrc +0 -0
  1458. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-tostringtag → has-tostringtag}/.github/FUNDING.yml +0 -0
  1459. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-tostringtag → has-tostringtag}/.nycrc +0 -0
  1460. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-tostringtag → has-tostringtag}/CHANGELOG.md +0 -0
  1461. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-tostringtag → has-tostringtag}/LICENSE +0 -0
  1462. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-tostringtag → has-tostringtag}/README.md +0 -0
  1463. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-tostringtag → has-tostringtag}/index.d.ts +0 -0
  1464. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-tostringtag → has-tostringtag}/index.js +0 -0
  1465. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-tostringtag → has-tostringtag}/package.json +0 -0
  1466. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-tostringtag → has-tostringtag}/shams.d.ts +0 -0
  1467. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-tostringtag → has-tostringtag}/shams.js +0 -0
  1468. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-tostringtag → has-tostringtag}/test/index.js +0 -0
  1469. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-tostringtag → has-tostringtag}/test/shams/core-js.js +0 -0
  1470. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-tostringtag → has-tostringtag}/test/shams/get-own-property-symbols.js +0 -0
  1471. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-tostringtag → has-tostringtag}/test/tests.js +0 -0
  1472. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-tostringtag → has-tostringtag}/tsconfig.json +0 -0
  1473. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/hasown → hasown}/.github/FUNDING.yml +0 -0
  1474. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/hasown → hasown}/.nycrc +0 -0
  1475. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/hasown → hasown}/CHANGELOG.md +0 -0
  1476. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/hasown → hasown}/LICENSE +0 -0
  1477. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/hasown → hasown}/README.md +0 -0
  1478. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/hasown → hasown}/eslint.config.mjs +0 -0
  1479. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/hasown → hasown}/index.d.ts +0 -0
  1480. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/hasown → hasown}/index.js +0 -0
  1481. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/hasown → hasown}/package.json +0 -0
  1482. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/hasown → hasown}/tsconfig.json +0 -0
  1483. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/https-proxy-agent → https-proxy-agent}/README.md +0 -0
  1484. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/https-proxy-agent → https-proxy-agent}/dist/agent.d.ts +0 -0
  1485. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/https-proxy-agent → https-proxy-agent}/dist/agent.js +0 -0
  1486. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/https-proxy-agent → https-proxy-agent}/dist/agent.js.map +0 -0
  1487. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/https-proxy-agent → https-proxy-agent}/dist/index.d.ts +0 -0
  1488. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/https-proxy-agent → https-proxy-agent}/dist/index.js +0 -0
  1489. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/https-proxy-agent → https-proxy-agent}/dist/index.js.map +0 -0
  1490. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/https-proxy-agent → https-proxy-agent}/dist/parse-proxy-response.d.ts +0 -0
  1491. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/https-proxy-agent → https-proxy-agent}/dist/parse-proxy-response.js +0 -0
  1492. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/https-proxy-agent → https-proxy-agent}/dist/parse-proxy-response.js.map +0 -0
  1493. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/https-proxy-agent → https-proxy-agent}/package.json +0 -0
  1494. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/lodash.identity → lodash.identity}/LICENSE.txt +0 -0
  1495. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/lodash.identity → lodash.identity}/README.md +0 -0
  1496. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/lodash.identity → lodash.identity}/index.js +0 -0
  1497. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/lodash.identity → lodash.identity}/package.json +0 -0
  1498. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/lodash.merge → lodash.merge}/LICENSE +0 -0
  1499. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/lodash.merge → lodash.merge}/README.md +0 -0
  1500. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/lodash.merge → lodash.merge}/index.js +0 -0
  1501. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/lodash.merge → lodash.merge}/package.json +0 -0
  1502. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/lodash.pickby → lodash.pickby}/LICENSE +0 -0
  1503. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/lodash.pickby → lodash.pickby}/README.md +0 -0
  1504. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/lodash.pickby → lodash.pickby}/index.js +0 -0
  1505. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/lodash.pickby → lodash.pickby}/package.json +0 -0
  1506. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/long → long}/LICENSE +0 -0
  1507. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/long → long}/README.md +0 -0
  1508. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/long → long}/index.d.ts +0 -0
  1509. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/long → long}/index.js +0 -0
  1510. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/long → long}/package.json +0 -0
  1511. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/long → long}/types.d.ts +0 -0
  1512. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/long → long}/umd/index.d.ts +0 -0
  1513. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/long → long}/umd/index.js +0 -0
  1514. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/long → long}/umd/package.json +0 -0
  1515. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/long → long}/umd/types.d.ts +0 -0
  1516. /package/node_modules/{mdast-util-gfm-table/node_modules/longest-streak → longest-streak}/index.d.ts +0 -0
  1517. /package/node_modules/{mdast-util-gfm-table/node_modules/longest-streak → longest-streak}/index.js +0 -0
  1518. /package/node_modules/{mdast-util-gfm-table/node_modules/longest-streak → longest-streak}/license +0 -0
  1519. /package/node_modules/{mdast-util-gfm-table/node_modules/longest-streak → longest-streak}/package.json +0 -0
  1520. /package/node_modules/{mdast-util-gfm-table/node_modules/longest-streak → longest-streak}/readme.md +0 -0
  1521. /package/node_modules/{mdast-util-gfm-table/node_modules/markdown-table → markdown-table}/index.d.ts +0 -0
  1522. /package/node_modules/{mdast-util-gfm-table/node_modules/markdown-table → markdown-table}/index.d.ts.map +0 -0
  1523. /package/node_modules/{mdast-util-gfm-table/node_modules/markdown-table → markdown-table}/index.js +0 -0
  1524. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → markdown-table}/license +0 -0
  1525. /package/node_modules/{mdast-util-gfm-table/node_modules/markdown-table → markdown-table}/package.json +0 -0
  1526. /package/node_modules/{mdast-util-gfm-table/node_modules/markdown-table → markdown-table}/readme.md +0 -0
  1527. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/.eslintrc +0 -0
  1528. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/.github/FUNDING.yml +0 -0
  1529. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/CHANGELOG.md +0 -0
  1530. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/LICENSE +0 -0
  1531. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/README.md +0 -0
  1532. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/abs.d.ts +0 -0
  1533. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/abs.js +0 -0
  1534. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/constants/maxArrayLength.d.ts +0 -0
  1535. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/constants/maxArrayLength.js +0 -0
  1536. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/constants/maxSafeInteger.d.ts +0 -0
  1537. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/constants/maxSafeInteger.js +0 -0
  1538. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/constants/maxValue.d.ts +0 -0
  1539. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/constants/maxValue.js +0 -0
  1540. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/floor.d.ts +0 -0
  1541. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/floor.js +0 -0
  1542. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/isFinite.d.ts +0 -0
  1543. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/isFinite.js +0 -0
  1544. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/isInteger.d.ts +0 -0
  1545. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/isInteger.js +0 -0
  1546. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/isNaN.d.ts +0 -0
  1547. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/isNaN.js +0 -0
  1548. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/isNegativeZero.d.ts +0 -0
  1549. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/isNegativeZero.js +0 -0
  1550. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/max.d.ts +0 -0
  1551. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/max.js +0 -0
  1552. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/min.d.ts +0 -0
  1553. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/min.js +0 -0
  1554. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/mod.d.ts +0 -0
  1555. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/mod.js +0 -0
  1556. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/package.json +0 -0
  1557. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/pow.d.ts +0 -0
  1558. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/pow.js +0 -0
  1559. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/round.d.ts +0 -0
  1560. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/round.js +0 -0
  1561. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/sign.d.ts +0 -0
  1562. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/sign.js +0 -0
  1563. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/test/index.js +0 -0
  1564. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/tsconfig.json +0 -0
  1565. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-phrasing → mdast-util-phrasing}/index.d.ts +0 -0
  1566. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-phrasing → mdast-util-phrasing}/index.js +0 -0
  1567. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-phrasing → mdast-util-phrasing}/lib/index.d.ts +0 -0
  1568. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-phrasing → mdast-util-phrasing}/lib/index.js +0 -0
  1569. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-phrasing → mdast-util-phrasing}/license +0 -0
  1570. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-phrasing → mdast-util-phrasing}/package.json +0 -0
  1571. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-phrasing → mdast-util-phrasing}/readme.md +0 -0
  1572. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/index.d.ts +0 -0
  1573. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/index.js +0 -0
  1574. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/configure.d.ts +0 -0
  1575. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/configure.d.ts.map +0 -0
  1576. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/configure.js +0 -0
  1577. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/blockquote.d.ts +0 -0
  1578. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/blockquote.d.ts.map +0 -0
  1579. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/blockquote.js +0 -0
  1580. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/break.d.ts +0 -0
  1581. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/break.d.ts.map +0 -0
  1582. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/break.js +0 -0
  1583. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/code.d.ts +0 -0
  1584. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/code.d.ts.map +0 -0
  1585. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/code.js +0 -0
  1586. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/definition.d.ts +0 -0
  1587. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/definition.d.ts.map +0 -0
  1588. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/definition.js +0 -0
  1589. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/emphasis.d.ts +0 -0
  1590. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/emphasis.d.ts.map +0 -0
  1591. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/emphasis.js +0 -0
  1592. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/heading.d.ts +0 -0
  1593. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/heading.d.ts.map +0 -0
  1594. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/heading.js +0 -0
  1595. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/html.d.ts +0 -0
  1596. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/html.d.ts.map +0 -0
  1597. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/html.js +0 -0
  1598. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/image-reference.d.ts +0 -0
  1599. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/image-reference.d.ts.map +0 -0
  1600. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/image-reference.js +0 -0
  1601. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/image.d.ts +0 -0
  1602. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/image.d.ts.map +0 -0
  1603. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/image.js +0 -0
  1604. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/index.d.ts +0 -0
  1605. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/index.d.ts.map +0 -0
  1606. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/index.js +0 -0
  1607. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/inline-code.d.ts +0 -0
  1608. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/inline-code.d.ts.map +0 -0
  1609. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/inline-code.js +0 -0
  1610. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/link-reference.d.ts +0 -0
  1611. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/link-reference.d.ts.map +0 -0
  1612. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/link-reference.js +0 -0
  1613. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/link.d.ts +0 -0
  1614. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/link.d.ts.map +0 -0
  1615. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/link.js +0 -0
  1616. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/list-item.d.ts +0 -0
  1617. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/list-item.d.ts.map +0 -0
  1618. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/list-item.js +0 -0
  1619. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/list.d.ts +0 -0
  1620. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/list.d.ts.map +0 -0
  1621. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/list.js +0 -0
  1622. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/paragraph.d.ts +0 -0
  1623. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/paragraph.d.ts.map +0 -0
  1624. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/paragraph.js +0 -0
  1625. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/root.d.ts +0 -0
  1626. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/root.d.ts.map +0 -0
  1627. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/root.js +0 -0
  1628. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/strong.d.ts +0 -0
  1629. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/strong.d.ts.map +0 -0
  1630. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/strong.js +0 -0
  1631. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/text.d.ts +0 -0
  1632. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/text.d.ts.map +0 -0
  1633. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/text.js +0 -0
  1634. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/thematic-break.d.ts +0 -0
  1635. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/thematic-break.d.ts.map +0 -0
  1636. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/thematic-break.js +0 -0
  1637. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/index.d.ts +0 -0
  1638. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/index.d.ts.map +0 -0
  1639. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/index.js +0 -0
  1640. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/join.d.ts +0 -0
  1641. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/join.d.ts.map +0 -0
  1642. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/join.js +0 -0
  1643. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/types.d.ts +0 -0
  1644. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/types.js +0 -0
  1645. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/unsafe.d.ts +0 -0
  1646. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/unsafe.d.ts.map +0 -0
  1647. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/unsafe.js +0 -0
  1648. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/association.d.ts +0 -0
  1649. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/association.d.ts.map +0 -0
  1650. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/association.js +0 -0
  1651. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-bullet-ordered.d.ts +0 -0
  1652. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-bullet-ordered.d.ts.map +0 -0
  1653. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-bullet-ordered.js +0 -0
  1654. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-bullet-other.d.ts +0 -0
  1655. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-bullet-other.d.ts.map +0 -0
  1656. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-bullet-other.js +0 -0
  1657. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-bullet.d.ts +0 -0
  1658. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-bullet.d.ts.map +0 -0
  1659. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-bullet.js +0 -0
  1660. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-emphasis.d.ts +0 -0
  1661. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-emphasis.d.ts.map +0 -0
  1662. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-emphasis.js +0 -0
  1663. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-fence.d.ts +0 -0
  1664. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-fence.d.ts.map +0 -0
  1665. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-fence.js +0 -0
  1666. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-list-item-indent.d.ts +0 -0
  1667. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-list-item-indent.d.ts.map +0 -0
  1668. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-list-item-indent.js +0 -0
  1669. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-quote.d.ts +0 -0
  1670. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-quote.d.ts.map +0 -0
  1671. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-quote.js +0 -0
  1672. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-rule-repetition.d.ts +0 -0
  1673. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-rule-repetition.d.ts.map +0 -0
  1674. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-rule-repetition.js +0 -0
  1675. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-rule.d.ts +0 -0
  1676. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-rule.d.ts.map +0 -0
  1677. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-rule.js +0 -0
  1678. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-strong.d.ts +0 -0
  1679. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-strong.d.ts.map +0 -0
  1680. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-strong.js +0 -0
  1681. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/compile-pattern.d.ts +0 -0
  1682. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/compile-pattern.d.ts.map +0 -0
  1683. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/compile-pattern.js +0 -0
  1684. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/container-flow.d.ts +0 -0
  1685. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/container-flow.d.ts.map +0 -0
  1686. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/container-flow.js +0 -0
  1687. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/container-phrasing.d.ts +0 -0
  1688. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/container-phrasing.d.ts.map +0 -0
  1689. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/container-phrasing.js +0 -0
  1690. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/emphasis-strong-marker.d.ts +0 -0
  1691. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/emphasis-strong-marker.d.ts.map +0 -0
  1692. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/encode-character-reference.d.ts +0 -0
  1693. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/encode-character-reference.d.ts.map +0 -0
  1694. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/encode-character-reference.js +0 -0
  1695. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/encode-info.d.ts +0 -0
  1696. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/encode-info.d.ts.map +0 -0
  1697. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/encode-info.js +0 -0
  1698. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/format-code-as-indented.d.ts +0 -0
  1699. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/format-code-as-indented.d.ts.map +0 -0
  1700. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/format-code-as-indented.js +0 -0
  1701. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/format-heading-as-setext.d.ts +0 -0
  1702. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/format-heading-as-setext.d.ts.map +0 -0
  1703. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/format-heading-as-setext.js +0 -0
  1704. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/format-link-as-autolink.d.ts +0 -0
  1705. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/format-link-as-autolink.d.ts.map +0 -0
  1706. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/format-link-as-autolink.js +0 -0
  1707. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/indent-lines.d.ts +0 -0
  1708. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/indent-lines.d.ts.map +0 -0
  1709. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/indent-lines.js +0 -0
  1710. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/pattern-in-scope.d.ts +0 -0
  1711. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/pattern-in-scope.d.ts.map +0 -0
  1712. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/pattern-in-scope.js +0 -0
  1713. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/safe.d.ts +0 -0
  1714. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/safe.d.ts.map +0 -0
  1715. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/safe.js +0 -0
  1716. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/track.d.ts +0 -0
  1717. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/track.d.ts.map +0 -0
  1718. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/track.js +0 -0
  1719. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-destination → mdast-util-to-markdown}/license +0 -0
  1720. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/package.json +0 -0
  1721. /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/readme.md +0 -0
  1722. /package/node_modules/{mdast-util-from-markdown/node_modules/mdast-util-to-string → mdast-util-to-string}/index.d.ts +0 -0
  1723. /package/node_modules/{mdast-util-from-markdown/node_modules/mdast-util-to-string → mdast-util-to-string}/index.js +0 -0
  1724. /package/node_modules/{mdast-util-from-markdown/node_modules/mdast-util-to-string → mdast-util-to-string}/lib/index.d.ts +0 -0
  1725. /package/node_modules/{mdast-util-from-markdown/node_modules/mdast-util-to-string → mdast-util-to-string}/lib/index.js +0 -0
  1726. /package/node_modules/{mdast-util-from-markdown/node_modules/mdast-util-to-string → mdast-util-to-string}/license +0 -0
  1727. /package/node_modules/{mdast-util-from-markdown/node_modules/mdast-util-to-string → mdast-util-to-string}/package.json +0 -0
  1728. /package/node_modules/{mdast-util-from-markdown/node_modules/mdast-util-to-string → mdast-util-to-string}/readme.md +0 -0
  1729. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/index.d.ts +0 -0
  1730. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/index.d.ts.map +0 -0
  1731. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/index.js +0 -0
  1732. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/compile.d.ts +0 -0
  1733. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/compile.d.ts.map +0 -0
  1734. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/compile.js +0 -0
  1735. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/constructs.d.ts +0 -0
  1736. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/constructs.d.ts.map +0 -0
  1737. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/constructs.js +0 -0
  1738. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/create-tokenizer.d.ts +0 -0
  1739. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/create-tokenizer.d.ts.map +0 -0
  1740. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/create-tokenizer.js +0 -0
  1741. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/initialize/content.d.ts +0 -0
  1742. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/initialize/content.d.ts.map +0 -0
  1743. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/initialize/content.js +0 -0
  1744. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/initialize/document.d.ts +0 -0
  1745. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/initialize/document.d.ts.map +0 -0
  1746. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/initialize/document.js +0 -0
  1747. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/initialize/flow.d.ts +0 -0
  1748. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/initialize/flow.d.ts.map +0 -0
  1749. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/initialize/flow.js +0 -0
  1750. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/initialize/text.d.ts +0 -0
  1751. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/initialize/text.d.ts.map +0 -0
  1752. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/initialize/text.js +0 -0
  1753. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/parse.d.ts +0 -0
  1754. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/parse.d.ts.map +0 -0
  1755. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/parse.js +0 -0
  1756. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/postprocess.d.ts +0 -0
  1757. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/postprocess.d.ts.map +0 -0
  1758. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/postprocess.js +0 -0
  1759. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/preprocess.d.ts +0 -0
  1760. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/preprocess.d.ts.map +0 -0
  1761. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/preprocess.js +0 -0
  1762. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/stream.d.ts +0 -0
  1763. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/stream.d.ts.map +0 -0
  1764. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/stream.js +0 -0
  1765. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/index.d.ts +0 -0
  1766. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/index.d.ts.map +0 -0
  1767. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/index.js +0 -0
  1768. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/compile.d.ts +0 -0
  1769. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/compile.d.ts.map +0 -0
  1770. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/compile.js +0 -0
  1771. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/constructs.d.ts +0 -0
  1772. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/constructs.d.ts.map +0 -0
  1773. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/constructs.js +0 -0
  1774. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/create-tokenizer.d.ts +0 -0
  1775. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/create-tokenizer.d.ts.map +0 -0
  1776. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/create-tokenizer.js +0 -0
  1777. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/initialize/content.d.ts +0 -0
  1778. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/initialize/content.d.ts.map +0 -0
  1779. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/initialize/content.js +0 -0
  1780. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/initialize/document.d.ts +0 -0
  1781. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/initialize/document.d.ts.map +0 -0
  1782. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/initialize/document.js +0 -0
  1783. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/initialize/flow.d.ts +0 -0
  1784. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/initialize/flow.d.ts.map +0 -0
  1785. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/initialize/flow.js +0 -0
  1786. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/initialize/text.d.ts +0 -0
  1787. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/initialize/text.d.ts.map +0 -0
  1788. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/initialize/text.js +0 -0
  1789. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/parse.d.ts +0 -0
  1790. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/parse.d.ts.map +0 -0
  1791. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/parse.js +0 -0
  1792. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/postprocess.d.ts +0 -0
  1793. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/postprocess.d.ts.map +0 -0
  1794. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/postprocess.js +0 -0
  1795. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/preprocess.d.ts +0 -0
  1796. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/preprocess.d.ts.map +0 -0
  1797. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/preprocess.js +0 -0
  1798. /package/node_modules/{mdast-util-gfm-table/node_modules/markdown-table → micromark}/license +0 -0
  1799. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/package.json +0 -0
  1800. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/readme.md +0 -0
  1801. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/stream.d.ts +0 -0
  1802. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/stream.d.ts.map +0 -0
  1803. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/stream.js +0 -0
  1804. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/index.d.ts +0 -0
  1805. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/index.d.ts.map +0 -0
  1806. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/index.js +0 -0
  1807. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/attention.d.ts +0 -0
  1808. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/attention.d.ts.map +0 -0
  1809. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/attention.js +0 -0
  1810. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/autolink.d.ts +0 -0
  1811. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/autolink.d.ts.map +0 -0
  1812. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/autolink.js +0 -0
  1813. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/blank-line.d.ts +0 -0
  1814. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/blank-line.d.ts.map +0 -0
  1815. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/blank-line.js +0 -0
  1816. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/block-quote.d.ts +0 -0
  1817. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/block-quote.d.ts.map +0 -0
  1818. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/block-quote.js +0 -0
  1819. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/character-escape.d.ts +0 -0
  1820. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/character-escape.d.ts.map +0 -0
  1821. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/character-escape.js +0 -0
  1822. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/character-reference.d.ts +0 -0
  1823. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/character-reference.d.ts.map +0 -0
  1824. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/character-reference.js +0 -0
  1825. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/code-fenced.d.ts +0 -0
  1826. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/code-fenced.d.ts.map +0 -0
  1827. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/code-fenced.js +0 -0
  1828. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/code-indented.d.ts +0 -0
  1829. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/code-indented.d.ts.map +0 -0
  1830. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/code-indented.js +0 -0
  1831. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/code-text.d.ts +0 -0
  1832. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/code-text.d.ts.map +0 -0
  1833. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/code-text.js +0 -0
  1834. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/content.d.ts +0 -0
  1835. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/content.d.ts.map +0 -0
  1836. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/content.js +0 -0
  1837. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/definition.d.ts +0 -0
  1838. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/definition.d.ts.map +0 -0
  1839. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/definition.js +0 -0
  1840. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/hard-break-escape.d.ts +0 -0
  1841. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/hard-break-escape.d.ts.map +0 -0
  1842. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/hard-break-escape.js +0 -0
  1843. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/heading-atx.d.ts +0 -0
  1844. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/heading-atx.d.ts.map +0 -0
  1845. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/heading-atx.js +0 -0
  1846. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/html-flow.d.ts +0 -0
  1847. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/html-flow.d.ts.map +0 -0
  1848. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/html-flow.js +0 -0
  1849. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/html-text.d.ts +0 -0
  1850. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/html-text.d.ts.map +0 -0
  1851. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/html-text.js +0 -0
  1852. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/label-end.d.ts +0 -0
  1853. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/label-end.d.ts.map +0 -0
  1854. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/label-end.js +0 -0
  1855. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/label-start-image.d.ts +0 -0
  1856. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/label-start-image.d.ts.map +0 -0
  1857. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/label-start-image.js +0 -0
  1858. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/label-start-link.d.ts +0 -0
  1859. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/label-start-link.d.ts.map +0 -0
  1860. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/label-start-link.js +0 -0
  1861. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/line-ending.d.ts +0 -0
  1862. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/line-ending.d.ts.map +0 -0
  1863. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/line-ending.js +0 -0
  1864. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/list.d.ts +0 -0
  1865. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/list.d.ts.map +0 -0
  1866. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/list.js +0 -0
  1867. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/setext-underline.d.ts +0 -0
  1868. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/setext-underline.d.ts.map +0 -0
  1869. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/setext-underline.js +0 -0
  1870. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/thematic-break.d.ts +0 -0
  1871. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/thematic-break.d.ts.map +0 -0
  1872. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/thematic-break.js +0 -0
  1873. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/index.d.ts +0 -0
  1874. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/index.d.ts.map +0 -0
  1875. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/index.js +0 -0
  1876. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/attention.d.ts +0 -0
  1877. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/attention.d.ts.map +0 -0
  1878. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/attention.js +0 -0
  1879. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/autolink.d.ts +0 -0
  1880. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/autolink.d.ts.map +0 -0
  1881. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/autolink.js +0 -0
  1882. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/blank-line.d.ts +0 -0
  1883. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/blank-line.d.ts.map +0 -0
  1884. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/blank-line.js +0 -0
  1885. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/block-quote.d.ts +0 -0
  1886. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/block-quote.d.ts.map +0 -0
  1887. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/block-quote.js +0 -0
  1888. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/character-escape.d.ts +0 -0
  1889. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/character-escape.d.ts.map +0 -0
  1890. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/character-escape.js +0 -0
  1891. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/character-reference.d.ts +0 -0
  1892. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/character-reference.d.ts.map +0 -0
  1893. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/character-reference.js +0 -0
  1894. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/code-fenced.d.ts +0 -0
  1895. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/code-fenced.d.ts.map +0 -0
  1896. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/code-fenced.js +0 -0
  1897. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/code-indented.d.ts +0 -0
  1898. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/code-indented.d.ts.map +0 -0
  1899. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/code-indented.js +0 -0
  1900. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/code-text.d.ts +0 -0
  1901. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/code-text.d.ts.map +0 -0
  1902. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/code-text.js +0 -0
  1903. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/content.d.ts +0 -0
  1904. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/content.d.ts.map +0 -0
  1905. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/content.js +0 -0
  1906. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/definition.d.ts +0 -0
  1907. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/definition.d.ts.map +0 -0
  1908. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/definition.js +0 -0
  1909. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/hard-break-escape.d.ts +0 -0
  1910. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/hard-break-escape.d.ts.map +0 -0
  1911. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/hard-break-escape.js +0 -0
  1912. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/heading-atx.d.ts +0 -0
  1913. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/heading-atx.d.ts.map +0 -0
  1914. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/heading-atx.js +0 -0
  1915. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/html-flow.d.ts +0 -0
  1916. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/html-flow.d.ts.map +0 -0
  1917. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/html-flow.js +0 -0
  1918. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/html-text.d.ts +0 -0
  1919. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/html-text.d.ts.map +0 -0
  1920. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/html-text.js +0 -0
  1921. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/label-end.d.ts +0 -0
  1922. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/label-end.d.ts.map +0 -0
  1923. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/label-end.js +0 -0
  1924. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/label-start-image.d.ts +0 -0
  1925. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/label-start-image.d.ts.map +0 -0
  1926. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/label-start-image.js +0 -0
  1927. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/label-start-link.d.ts +0 -0
  1928. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/label-start-link.d.ts.map +0 -0
  1929. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/label-start-link.js +0 -0
  1930. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/line-ending.d.ts +0 -0
  1931. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/line-ending.d.ts.map +0 -0
  1932. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/line-ending.js +0 -0
  1933. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/list.d.ts +0 -0
  1934. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/list.d.ts.map +0 -0
  1935. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/list.js +0 -0
  1936. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/setext-underline.d.ts +0 -0
  1937. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/setext-underline.d.ts.map +0 -0
  1938. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/setext-underline.js +0 -0
  1939. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/thematic-break.d.ts +0 -0
  1940. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/thematic-break.d.ts.map +0 -0
  1941. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/thematic-break.js +0 -0
  1942. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-label → micromark-core-commonmark}/license +0 -0
  1943. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/package.json +0 -0
  1944. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/readme.md +0 -0
  1945. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-destination → micromark-factory-destination}/dev/index.d.ts +0 -0
  1946. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-destination → micromark-factory-destination}/dev/index.d.ts.map +0 -0
  1947. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-destination → micromark-factory-destination}/dev/index.js +0 -0
  1948. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-destination → micromark-factory-destination}/index.d.ts +0 -0
  1949. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-destination → micromark-factory-destination}/index.d.ts.map +0 -0
  1950. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-destination → micromark-factory-destination}/index.js +0 -0
  1951. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-space → micromark-factory-destination}/license +0 -0
  1952. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-destination → micromark-factory-destination}/package.json +0 -0
  1953. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-destination → micromark-factory-destination}/readme.md +0 -0
  1954. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-label → micromark-factory-label}/dev/index.d.ts +0 -0
  1955. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-label → micromark-factory-label}/dev/index.d.ts.map +0 -0
  1956. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-label → micromark-factory-label}/dev/index.js +0 -0
  1957. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-label → micromark-factory-label}/index.d.ts +0 -0
  1958. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-label → micromark-factory-label}/index.d.ts.map +0 -0
  1959. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-label → micromark-factory-label}/index.js +0 -0
  1960. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-title → micromark-factory-label}/license +0 -0
  1961. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-label → micromark-factory-label}/package.json +0 -0
  1962. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-label → micromark-factory-label}/readme.md +0 -0
  1963. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-space → micromark-factory-space}/dev/index.d.ts +0 -0
  1964. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-space → micromark-factory-space}/dev/index.d.ts.map +0 -0
  1965. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-space → micromark-factory-space}/dev/index.js +0 -0
  1966. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-space → micromark-factory-space}/index.d.ts +0 -0
  1967. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-space → micromark-factory-space}/index.d.ts.map +0 -0
  1968. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-space → micromark-factory-space}/index.js +0 -0
  1969. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-whitespace → micromark-factory-space}/license +0 -0
  1970. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-space → micromark-factory-space}/package.json +0 -0
  1971. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-space → micromark-factory-space}/readme.md +0 -0
  1972. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-title → micromark-factory-title}/dev/index.d.ts +0 -0
  1973. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-title → micromark-factory-title}/dev/index.d.ts.map +0 -0
  1974. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-title → micromark-factory-title}/dev/index.js +0 -0
  1975. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-title → micromark-factory-title}/index.d.ts +0 -0
  1976. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-title → micromark-factory-title}/index.d.ts.map +0 -0
  1977. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-title → micromark-factory-title}/index.js +0 -0
  1978. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-character → micromark-factory-title}/license +0 -0
  1979. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-title → micromark-factory-title}/package.json +0 -0
  1980. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-title → micromark-factory-title}/readme.md +0 -0
  1981. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-whitespace → micromark-factory-whitespace}/dev/index.d.ts +0 -0
  1982. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-whitespace → micromark-factory-whitespace}/dev/index.d.ts.map +0 -0
  1983. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-whitespace → micromark-factory-whitespace}/dev/index.js +0 -0
  1984. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-whitespace → micromark-factory-whitespace}/index.d.ts +0 -0
  1985. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-whitespace → micromark-factory-whitespace}/index.d.ts.map +0 -0
  1986. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-whitespace → micromark-factory-whitespace}/index.js +0 -0
  1987. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-chunked → micromark-factory-whitespace}/license +0 -0
  1988. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-whitespace → micromark-factory-whitespace}/package.json +0 -0
  1989. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-whitespace → micromark-factory-whitespace}/readme.md +0 -0
  1990. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-character → micromark-util-character}/dev/index.d.ts +0 -0
  1991. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-character → micromark-util-character}/dev/index.d.ts.map +0 -0
  1992. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-character → micromark-util-character}/dev/index.js +0 -0
  1993. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-character → micromark-util-character}/index.d.ts +0 -0
  1994. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-character → micromark-util-character}/index.d.ts.map +0 -0
  1995. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-character → micromark-util-character}/index.js +0 -0
  1996. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-classify-character → micromark-util-character}/license +0 -0
  1997. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-character → micromark-util-character}/package.json +0 -0
  1998. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-character → micromark-util-character}/readme.md +0 -0
  1999. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-chunked → micromark-util-chunked}/dev/index.d.ts +0 -0
  2000. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-chunked → micromark-util-chunked}/dev/index.d.ts.map +0 -0
  2001. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-chunked → micromark-util-chunked}/dev/index.js +0 -0
  2002. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-chunked → micromark-util-chunked}/index.d.ts +0 -0
  2003. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-chunked → micromark-util-chunked}/index.d.ts.map +0 -0
  2004. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-chunked → micromark-util-chunked}/index.js +0 -0
  2005. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-combine-extensions → micromark-util-chunked}/license +0 -0
  2006. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-chunked → micromark-util-chunked}/package.json +0 -0
  2007. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-chunked → micromark-util-chunked}/readme.md +0 -0
  2008. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-classify-character → micromark-util-classify-character}/dev/index.d.ts +0 -0
  2009. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-classify-character → micromark-util-classify-character}/dev/index.d.ts.map +0 -0
  2010. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-classify-character → micromark-util-classify-character}/dev/index.js +0 -0
  2011. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-classify-character → micromark-util-classify-character}/index.d.ts +0 -0
  2012. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-classify-character → micromark-util-classify-character}/index.d.ts.map +0 -0
  2013. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-classify-character → micromark-util-classify-character}/index.js +0 -0
  2014. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference → micromark-util-classify-character}/license +0 -0
  2015. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-classify-character → micromark-util-classify-character}/package.json +0 -0
  2016. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-classify-character → micromark-util-classify-character}/readme.md +0 -0
  2017. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-combine-extensions → micromark-util-combine-extensions}/index.d.ts +0 -0
  2018. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-combine-extensions → micromark-util-combine-extensions}/index.d.ts.map +0 -0
  2019. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-combine-extensions → micromark-util-combine-extensions}/index.js +0 -0
  2020. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-string → micromark-util-combine-extensions}/license +0 -0
  2021. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-combine-extensions → micromark-util-combine-extensions}/package.json +0 -0
  2022. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-combine-extensions → micromark-util-combine-extensions}/readme.md +0 -0
  2023. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference → micromark-util-decode-numeric-character-reference}/dev/index.d.ts +0 -0
  2024. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference → micromark-util-decode-numeric-character-reference}/dev/index.d.ts.map +0 -0
  2025. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference → micromark-util-decode-numeric-character-reference}/dev/index.js +0 -0
  2026. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference → micromark-util-decode-numeric-character-reference}/index.d.ts +0 -0
  2027. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference → micromark-util-decode-numeric-character-reference}/index.d.ts.map +0 -0
  2028. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference → micromark-util-decode-numeric-character-reference}/index.js +0 -0
  2029. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-encode → micromark-util-decode-numeric-character-reference}/license +0 -0
  2030. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference → micromark-util-decode-numeric-character-reference}/package.json +0 -0
  2031. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference → micromark-util-decode-numeric-character-reference}/readme.md +0 -0
  2032. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-string → micromark-util-decode-string}/dev/index.d.ts +0 -0
  2033. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-string → micromark-util-decode-string}/dev/index.d.ts.map +0 -0
  2034. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-string → micromark-util-decode-string}/dev/index.js +0 -0
  2035. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-string → micromark-util-decode-string}/index.d.ts +0 -0
  2036. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-string → micromark-util-decode-string}/index.d.ts.map +0 -0
  2037. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-string → micromark-util-decode-string}/index.js +0 -0
  2038. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-html-tag-name → micromark-util-decode-string}/license +0 -0
  2039. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-string → micromark-util-decode-string}/package.json +0 -0
  2040. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-string → micromark-util-decode-string}/readme.md +0 -0
  2041. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-encode → micromark-util-encode}/index.d.ts +0 -0
  2042. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-encode → micromark-util-encode}/index.d.ts.map +0 -0
  2043. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-encode → micromark-util-encode}/index.js +0 -0
  2044. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier → micromark-util-encode}/license +0 -0
  2045. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-encode → micromark-util-encode}/package.json +0 -0
  2046. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-encode → micromark-util-encode}/readme.md +0 -0
  2047. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-html-tag-name → micromark-util-html-tag-name}/index.d.ts +0 -0
  2048. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-html-tag-name → micromark-util-html-tag-name}/index.d.ts.map +0 -0
  2049. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-html-tag-name → micromark-util-html-tag-name}/index.js +0 -0
  2050. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-resolve-all → micromark-util-html-tag-name}/license +0 -0
  2051. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-html-tag-name → micromark-util-html-tag-name}/package.json +0 -0
  2052. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-html-tag-name → micromark-util-html-tag-name}/readme.md +0 -0
  2053. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier → micromark-util-normalize-identifier}/dev/index.d.ts +0 -0
  2054. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier → micromark-util-normalize-identifier}/dev/index.d.ts.map +0 -0
  2055. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier → micromark-util-normalize-identifier}/dev/index.js +0 -0
  2056. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier → micromark-util-normalize-identifier}/index.d.ts +0 -0
  2057. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier → micromark-util-normalize-identifier}/index.d.ts.map +0 -0
  2058. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier → micromark-util-normalize-identifier}/index.js +0 -0
  2059. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri → micromark-util-normalize-identifier}/license +0 -0
  2060. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier → micromark-util-normalize-identifier}/package.json +0 -0
  2061. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier → micromark-util-normalize-identifier}/readme.md +0 -0
  2062. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-resolve-all → micromark-util-resolve-all}/index.d.ts +0 -0
  2063. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-resolve-all → micromark-util-resolve-all}/index.d.ts.map +0 -0
  2064. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-resolve-all → micromark-util-resolve-all}/index.js +0 -0
  2065. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-subtokenize → micromark-util-resolve-all}/license +0 -0
  2066. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-resolve-all → micromark-util-resolve-all}/package.json +0 -0
  2067. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-resolve-all → micromark-util-resolve-all}/readme.md +0 -0
  2068. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri → micromark-util-sanitize-uri}/dev/index.d.ts +0 -0
  2069. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri → micromark-util-sanitize-uri}/dev/index.d.ts.map +0 -0
  2070. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri → micromark-util-sanitize-uri}/dev/index.js +0 -0
  2071. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri → micromark-util-sanitize-uri}/index.d.ts +0 -0
  2072. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri → micromark-util-sanitize-uri}/index.d.ts.map +0 -0
  2073. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri → micromark-util-sanitize-uri}/index.js +0 -0
  2074. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-sanitize-uri}/license +0 -0
  2075. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri → micromark-util-sanitize-uri}/package.json +0 -0
  2076. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri → micromark-util-sanitize-uri}/readme.md +0 -0
  2077. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-subtokenize → micromark-util-subtokenize}/dev/index.d.ts +0 -0
  2078. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-subtokenize → micromark-util-subtokenize}/dev/index.d.ts.map +0 -0
  2079. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-subtokenize → micromark-util-subtokenize}/dev/index.js +0 -0
  2080. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-subtokenize → micromark-util-subtokenize}/dev/lib/splice-buffer.d.ts +0 -0
  2081. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-subtokenize → micromark-util-subtokenize}/dev/lib/splice-buffer.d.ts.map +0 -0
  2082. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-subtokenize → micromark-util-subtokenize}/dev/lib/splice-buffer.js +0 -0
  2083. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-subtokenize → micromark-util-subtokenize}/index.d.ts +0 -0
  2084. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-subtokenize → micromark-util-subtokenize}/index.d.ts.map +0 -0
  2085. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-subtokenize → micromark-util-subtokenize}/index.js +0 -0
  2086. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-subtokenize → micromark-util-subtokenize}/lib/splice-buffer.d.ts +0 -0
  2087. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-subtokenize → micromark-util-subtokenize}/lib/splice-buffer.d.ts.map +0 -0
  2088. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-subtokenize → micromark-util-subtokenize}/lib/splice-buffer.js +0 -0
  2089. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-types → micromark-util-subtokenize}/license +0 -0
  2090. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-subtokenize → micromark-util-subtokenize}/package.json +0 -0
  2091. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-subtokenize → micromark-util-subtokenize}/readme.md +0 -0
  2092. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/lib/codes.d.ts +0 -0
  2093. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/lib/codes.d.ts.map +0 -0
  2094. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/lib/codes.js +0 -0
  2095. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/lib/constants.d.ts +0 -0
  2096. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/lib/constants.d.ts.map +0 -0
  2097. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/lib/constants.js +0 -0
  2098. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/lib/default.d.ts +0 -0
  2099. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/lib/default.d.ts.map +0 -0
  2100. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/lib/default.js +0 -0
  2101. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/lib/types.d.ts +0 -0
  2102. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/lib/types.d.ts.map +0 -0
  2103. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/lib/types.js +0 -0
  2104. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/lib/values.d.ts +0 -0
  2105. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/lib/values.d.ts.map +0 -0
  2106. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/lib/values.js +0 -0
  2107. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark-util-symbol}/license +0 -0
  2108. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/package.json +0 -0
  2109. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/readme.md +0 -0
  2110. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-types → micromark-util-types}/index.d.ts +0 -0
  2111. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-types → micromark-util-types}/index.js +0 -0
  2112. /package/node_modules/{mdast-util-gfm-table/node_modules/decode-named-character-reference → micromark-util-types}/license +0 -0
  2113. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-types → micromark-util-types}/package.json +0 -0
  2114. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-types → micromark-util-types}/readme.md +0 -0
  2115. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/mime-db → mime-db}/HISTORY.md +0 -0
  2116. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/mime-db → mime-db}/LICENSE +0 -0
  2117. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/mime-db → mime-db}/README.md +0 -0
  2118. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/mime-db → mime-db}/db.json +0 -0
  2119. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/mime-db → mime-db}/index.js +0 -0
  2120. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/mime-db → mime-db}/package.json +0 -0
  2121. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/mime-types → mime-types}/HISTORY.md +0 -0
  2122. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/mime-types → mime-types}/LICENSE +0 -0
  2123. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/mime-types → mime-types}/README.md +0 -0
  2124. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/mime-types → mime-types}/index.js +0 -0
  2125. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/mime-types → mime-types}/package.json +0 -0
  2126. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/ms → ms}/index.js +0 -0
  2127. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/ms → ms}/license.md +0 -0
  2128. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/ms → ms}/package.json +0 -0
  2129. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/ms → ms}/readme.md +0 -0
  2130. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/.eslintrc +0 -0
  2131. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/.github/FUNDING.yml +0 -0
  2132. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/.nycrc +0 -0
  2133. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/CHANGELOG.md +0 -0
  2134. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/LICENSE +0 -0
  2135. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/example/all.js +0 -0
  2136. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/example/circular.js +0 -0
  2137. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/example/fn.js +0 -0
  2138. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/example/inspect.js +0 -0
  2139. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/index.js +0 -0
  2140. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/package-support.json +0 -0
  2141. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/package.json +0 -0
  2142. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/readme.markdown +0 -0
  2143. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/test/bigint.js +0 -0
  2144. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/test/browser/dom.js +0 -0
  2145. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/test/circular.js +0 -0
  2146. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/test/deep.js +0 -0
  2147. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/test/element.js +0 -0
  2148. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/test/err.js +0 -0
  2149. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/test/fakes.js +0 -0
  2150. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/test/fn.js +0 -0
  2151. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/test/global.js +0 -0
  2152. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/test/has.js +0 -0
  2153. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/test/holes.js +0 -0
  2154. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/test/indent-option.js +0 -0
  2155. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/test/inspect.js +0 -0
  2156. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/test/lowbyte.js +0 -0
  2157. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/test/number.js +0 -0
  2158. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/test/quoteStyle.js +0 -0
  2159. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/test/toStringTag.js +0 -0
  2160. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/test/undef.js +0 -0
  2161. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/test/values.js +0 -0
  2162. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/test-core-js.js +0 -0
  2163. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/util.inspect.js +0 -0
  2164. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/LICENSE +0 -0
  2165. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/README.md +0 -0
  2166. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/dist/light/protobuf.js +0 -0
  2167. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/dist/light/protobuf.js.map +0 -0
  2168. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/dist/light/protobuf.min.js +0 -0
  2169. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/dist/light/protobuf.min.js.map +0 -0
  2170. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/dist/minimal/protobuf.js +0 -0
  2171. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/dist/minimal/protobuf.js.map +0 -0
  2172. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/dist/minimal/protobuf.min.js +0 -0
  2173. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/dist/minimal/protobuf.min.js.map +0 -0
  2174. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/dist/protobuf.js +0 -0
  2175. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/dist/protobuf.js.map +0 -0
  2176. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/dist/protobuf.min.js +0 -0
  2177. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/dist/protobuf.min.js.map +0 -0
  2178. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/ext/README.md +0 -0
  2179. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/ext/debug/README.md +0 -0
  2180. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/ext/debug/index.js +0 -0
  2181. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/ext/descriptor/README.md +0 -0
  2182. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/ext/descriptor/index.d.ts +0 -0
  2183. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/ext/descriptor/index.js +0 -0
  2184. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/ext/descriptor.d.ts +0 -0
  2185. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/ext/descriptor.generated.d.ts +0 -0
  2186. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/ext/descriptor.js +0 -0
  2187. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/ext/protojson.LICENSE +0 -0
  2188. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/ext/protojson.d.ts +0 -0
  2189. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/ext/protojson.generated.d.ts +0 -0
  2190. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/ext/protojson.js +0 -0
  2191. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/ext/textformat.d.ts +0 -0
  2192. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/ext/textformat.generated.d.ts +0 -0
  2193. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/ext/textformat.js +0 -0
  2194. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/google/LICENSE +0 -0
  2195. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/google/README.md +0 -0
  2196. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/google/api/annotations.json +0 -0
  2197. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/google/api/annotations.proto +0 -0
  2198. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/google/api/http.json +0 -0
  2199. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/google/api/http.proto +0 -0
  2200. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/google/protobuf/api.json +0 -0
  2201. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/google/protobuf/api.proto +0 -0
  2202. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/google/protobuf/compiler/plugin.json +0 -0
  2203. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/google/protobuf/compiler/plugin.proto +0 -0
  2204. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/google/protobuf/descriptor.json +0 -0
  2205. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/google/protobuf/descriptor.proto +0 -0
  2206. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/google/protobuf/source_context.json +0 -0
  2207. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/google/protobuf/source_context.proto +0 -0
  2208. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/google/protobuf/type.json +0 -0
  2209. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/google/protobuf/type.proto +0 -0
  2210. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/index.d.ts +0 -0
  2211. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/index.js +0 -0
  2212. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/light.d.ts +0 -0
  2213. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/light.js +0 -0
  2214. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/minimal.d.ts +0 -0
  2215. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/minimal.js +0 -0
  2216. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/package.json +0 -0
  2217. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/common.js +0 -0
  2218. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/converter.js +0 -0
  2219. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/decoder.js +0 -0
  2220. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/encoder.js +0 -0
  2221. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/enum.js +0 -0
  2222. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/field.js +0 -0
  2223. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/index-light.js +0 -0
  2224. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/index-minimal.js +0 -0
  2225. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/index.js +0 -0
  2226. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/mapfield.js +0 -0
  2227. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/message.js +0 -0
  2228. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/method.js +0 -0
  2229. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/namespace.js +0 -0
  2230. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/object.js +0 -0
  2231. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/oneof.js +0 -0
  2232. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/parse.js +0 -0
  2233. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/reader.js +0 -0
  2234. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/reader_buffer.js +0 -0
  2235. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/root.js +0 -0
  2236. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/roots.js +0 -0
  2237. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/rpc/service.js +0 -0
  2238. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/rpc.js +0 -0
  2239. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/service.js +0 -0
  2240. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/tokenize.js +0 -0
  2241. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/type.js +0 -0
  2242. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/types.js +0 -0
  2243. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/typescript.js +0 -0
  2244. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/util/aspromise.d.ts +0 -0
  2245. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/util/aspromise.js +0 -0
  2246. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/util/base64.d.ts +0 -0
  2247. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/util/base64.js +0 -0
  2248. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/util/codegen.d.ts +0 -0
  2249. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/util/codegen.js +0 -0
  2250. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/util/eventemitter.d.ts +0 -0
  2251. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/util/eventemitter.js +0 -0
  2252. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/util/fetch.d.ts +0 -0
  2253. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/util/fetch.js +0 -0
  2254. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/util/float.d.ts +0 -0
  2255. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/util/float.js +0 -0
  2256. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/util/fs.js +0 -0
  2257. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/util/longbits.js +0 -0
  2258. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/util/minimal.js +0 -0
  2259. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/util/path.d.ts +0 -0
  2260. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/util/path.js +0 -0
  2261. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/util/patterns.js +0 -0
  2262. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/util/pool.d.ts +0 -0
  2263. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/util/pool.js +0 -0
  2264. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/util/utf8.d.ts +0 -0
  2265. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/util/utf8.js +0 -0
  2266. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/util.js +0 -0
  2267. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/verifier.js +0 -0
  2268. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/wrappers.js +0 -0
  2269. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/writer.js +0 -0
  2270. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/writer_buffer.js +0 -0
  2271. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/tsconfig.json +0 -0
  2272. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/proxy-from-env → proxy-from-env}/LICENSE +0 -0
  2273. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/proxy-from-env → proxy-from-env}/README.md +0 -0
  2274. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/proxy-from-env → proxy-from-env}/index.cjs +0 -0
  2275. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/proxy-from-env → proxy-from-env}/index.js +0 -0
  2276. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/proxy-from-env → proxy-from-env}/package.json +0 -0
  2277. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/qs → qs}/.editorconfig +0 -0
  2278. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/qs → qs}/.github/FUNDING.yml +0 -0
  2279. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/qs → qs}/.github/SECURITY.md +0 -0
  2280. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/qs → qs}/.github/THREAT_MODEL.md +0 -0
  2281. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/qs → qs}/.nycrc +0 -0
  2282. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/qs → qs}/CHANGELOG.md +0 -0
  2283. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/qs → qs}/LICENSE.md +0 -0
  2284. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/qs → qs}/README.md +0 -0
  2285. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/qs → qs}/dist/qs.js +0 -0
  2286. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/qs → qs}/eslint.config.mjs +0 -0
  2287. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/qs → qs}/lib/formats.js +0 -0
  2288. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/qs → qs}/lib/index.js +0 -0
  2289. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/qs → qs}/lib/parse.js +0 -0
  2290. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/qs → qs}/lib/stringify.js +0 -0
  2291. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/qs → qs}/lib/utils.js +0 -0
  2292. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/qs → qs}/package.json +0 -0
  2293. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/qs → qs}/test/empty-keys-cases.js +0 -0
  2294. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/qs → qs}/test/parse.js +0 -0
  2295. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/qs → qs}/test/stringify.js +0 -0
  2296. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/qs → qs}/test/utils.js +0 -0
  2297. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel → side-channel}/.editorconfig +0 -0
  2298. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel → side-channel}/.eslintrc +0 -0
  2299. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel → side-channel}/.github/FUNDING.yml +0 -0
  2300. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel → side-channel}/.nycrc +0 -0
  2301. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel → side-channel}/CHANGELOG.md +0 -0
  2302. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel → side-channel}/LICENSE +0 -0
  2303. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel → side-channel}/README.md +0 -0
  2304. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel → side-channel}/index.d.ts +0 -0
  2305. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel → side-channel}/index.js +0 -0
  2306. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel → side-channel}/package.json +0 -0
  2307. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel → side-channel}/test/index.js +0 -0
  2308. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel → side-channel}/tsconfig.json +0 -0
  2309. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-list → side-channel-list}/.editorconfig +0 -0
  2310. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-list → side-channel-list}/.eslintrc +0 -0
  2311. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-list → side-channel-list}/.github/FUNDING.yml +0 -0
  2312. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-list → side-channel-list}/.nycrc +0 -0
  2313. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-list → side-channel-list}/CHANGELOG.md +0 -0
  2314. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-list → side-channel-list}/LICENSE +0 -0
  2315. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-list → side-channel-list}/README.md +0 -0
  2316. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-list → side-channel-list}/index.d.ts +0 -0
  2317. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-list → side-channel-list}/index.js +0 -0
  2318. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-list → side-channel-list}/list.d.ts +0 -0
  2319. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-list → side-channel-list}/package.json +0 -0
  2320. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-list → side-channel-list}/test/index.js +0 -0
  2321. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-list → side-channel-list}/tsconfig.json +0 -0
  2322. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-map → side-channel-map}/.editorconfig +0 -0
  2323. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-map → side-channel-map}/.eslintrc +0 -0
  2324. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-map → side-channel-map}/.github/FUNDING.yml +0 -0
  2325. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-map → side-channel-map}/.nycrc +0 -0
  2326. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-map → side-channel-map}/CHANGELOG.md +0 -0
  2327. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-map → side-channel-map}/LICENSE +0 -0
  2328. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-map → side-channel-map}/README.md +0 -0
  2329. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-map → side-channel-map}/index.d.ts +0 -0
  2330. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-map → side-channel-map}/index.js +0 -0
  2331. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-map → side-channel-map}/package.json +0 -0
  2332. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-map → side-channel-map}/test/index.js +0 -0
  2333. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-map → side-channel-map}/tsconfig.json +0 -0
  2334. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-weakmap → side-channel-weakmap}/.editorconfig +0 -0
  2335. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-weakmap → side-channel-weakmap}/.eslintrc +0 -0
  2336. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-weakmap → side-channel-weakmap}/.github/FUNDING.yml +0 -0
  2337. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-weakmap → side-channel-weakmap}/.nycrc +0 -0
  2338. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-weakmap → side-channel-weakmap}/CHANGELOG.md +0 -0
  2339. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-weakmap → side-channel-weakmap}/LICENSE +0 -0
  2340. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-weakmap → side-channel-weakmap}/README.md +0 -0
  2341. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-weakmap → side-channel-weakmap}/index.d.ts +0 -0
  2342. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-weakmap → side-channel-weakmap}/index.js +0 -0
  2343. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-weakmap → side-channel-weakmap}/package.json +0 -0
  2344. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-weakmap → side-channel-weakmap}/test/index.js +0 -0
  2345. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-weakmap → side-channel-weakmap}/tsconfig.json +0 -0
  2346. /package/node_modules/typebox/build/guard/{string.d.mts → unicode/unicode_segment.d.mts} +0 -0
  2347. /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-is → unist-util-is}/index.d.ts +0 -0
  2348. /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-is → unist-util-is}/index.d.ts.map +0 -0
  2349. /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-is → unist-util-is}/index.js +0 -0
  2350. /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-is → unist-util-is}/lib/index.d.ts +0 -0
  2351. /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-is → unist-util-is}/lib/index.d.ts.map +0 -0
  2352. /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-is → unist-util-is}/lib/index.js +0 -0
  2353. /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-is → unist-util-is}/license +0 -0
  2354. /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-is → unist-util-is}/package.json +0 -0
  2355. /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-is → unist-util-is}/readme.md +0 -0
  2356. /package/node_modules/{mdast-util-from-markdown/node_modules/unist-util-stringify-position → unist-util-stringify-position}/index.d.ts +0 -0
  2357. /package/node_modules/{mdast-util-from-markdown/node_modules/unist-util-stringify-position → unist-util-stringify-position}/index.js +0 -0
  2358. /package/node_modules/{mdast-util-from-markdown/node_modules/unist-util-stringify-position → unist-util-stringify-position}/lib/index.d.ts +0 -0
  2359. /package/node_modules/{mdast-util-from-markdown/node_modules/unist-util-stringify-position → unist-util-stringify-position}/lib/index.js +0 -0
  2360. /package/node_modules/{mdast-util-from-markdown/node_modules/unist-util-stringify-position → unist-util-stringify-position}/license +0 -0
  2361. /package/node_modules/{mdast-util-from-markdown/node_modules/unist-util-stringify-position → unist-util-stringify-position}/package.json +0 -0
  2362. /package/node_modules/{mdast-util-from-markdown/node_modules/unist-util-stringify-position → unist-util-stringify-position}/readme.md +0 -0
  2363. /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-visit → unist-util-visit}/index.d.ts +0 -0
  2364. /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-visit → unist-util-visit}/index.js +0 -0
  2365. /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-visit → unist-util-visit}/lib/index.d.ts +0 -0
  2366. /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-visit → unist-util-visit}/lib/index.d.ts.map +0 -0
  2367. /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-visit → unist-util-visit}/lib/index.js +0 -0
  2368. /package/node_modules/{mdast-util-gfm-table/node_modules/character-entities → unist-util-visit}/license +0 -0
  2369. /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-visit → unist-util-visit}/package.json +0 -0
  2370. /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-visit → unist-util-visit}/readme.md +0 -0
  2371. /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-visit-parents → unist-util-visit-parents}/index.d.ts +0 -0
  2372. /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-visit-parents → unist-util-visit-parents}/index.js +0 -0
  2373. /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-visit-parents → unist-util-visit-parents}/lib/color.d.ts +0 -0
  2374. /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-visit-parents → unist-util-visit-parents}/lib/color.d.ts.map +0 -0
  2375. /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-visit-parents → unist-util-visit-parents}/lib/color.js +0 -0
  2376. /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-visit-parents → unist-util-visit-parents}/lib/color.node.d.ts +0 -0
  2377. /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-visit-parents → unist-util-visit-parents}/lib/color.node.d.ts.map +0 -0
  2378. /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-visit-parents → unist-util-visit-parents}/lib/color.node.js +0 -0
  2379. /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-visit-parents → unist-util-visit-parents}/lib/index.d.ts +0 -0
  2380. /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-visit-parents → unist-util-visit-parents}/lib/index.d.ts.map +0 -0
  2381. /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-visit-parents → unist-util-visit-parents}/lib/index.js +0 -0
  2382. /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-visit-parents → unist-util-visit-parents}/license +0 -0
  2383. /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-visit-parents → unist-util-visit-parents}/package.json +0 -0
  2384. /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-visit-parents → unist-util-visit-parents}/readme.md +0 -0
  2385. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/ws → ws}/LICENSE +0 -0
  2386. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/ws → ws}/README.md +0 -0
  2387. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/ws → ws}/browser.js +0 -0
  2388. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/ws → ws}/index.js +0 -0
  2389. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/ws → ws}/lib/buffer-util.js +0 -0
  2390. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/ws → ws}/lib/constants.js +0 -0
  2391. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/ws → ws}/lib/event-target.js +0 -0
  2392. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/ws → ws}/lib/extension.js +0 -0
  2393. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/ws → ws}/lib/limiter.js +0 -0
  2394. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/ws → ws}/lib/permessage-deflate.js +0 -0
  2395. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/ws → ws}/lib/receiver.js +0 -0
  2396. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/ws → ws}/lib/sender.js +0 -0
  2397. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/ws → ws}/lib/stream.js +0 -0
  2398. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/ws → ws}/lib/subprotocol.js +0 -0
  2399. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/ws → ws}/lib/validation.js +0 -0
  2400. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/ws → ws}/lib/websocket-server.js +0 -0
  2401. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/ws → ws}/lib/websocket.js +0 -0
  2402. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/ws → ws}/package.json +0 -0
  2403. /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/ws → ws}/wrapper.mjs +0 -0
  2404. /package/node_modules/{mdast-util-gfm-table/node_modules/zwitch → zwitch}/index.d.ts +0 -0
  2405. /package/node_modules/{mdast-util-gfm-table/node_modules/zwitch → zwitch}/index.js +0 -0
  2406. /package/node_modules/{mdast-util-gfm-table/node_modules/zwitch → zwitch}/license +0 -0
  2407. /package/node_modules/{mdast-util-gfm-table/node_modules/zwitch → zwitch}/package.json +0 -0
  2408. /package/node_modules/{mdast-util-gfm-table/node_modules/zwitch → zwitch}/readme.md +0 -0
@@ -1,3668 +0,0 @@
1
- import { a as resolveDefaultFeishuAccountId, i as listFeishuAccountIds, o as resolveFeishuAccount, r as listEnabledFeishuAccounts, s as resolveFeishuRuntimeAccount } from "./accounts-DmU0xYPx.mjs";
2
- import { l as normalizeFeishuTarget, s as detectIdType, u as resolveReceiveIdType } from "./conversation-id-H-lUayji.mjs";
3
- import { o as normalizeFeishuExternalKey } from "./doctor-contract-w6FpMypv.mjs";
4
- import { t as getFeishuRuntime } from "./runtime-C5JxBWZp.mjs";
5
- import { c as withFeishuMessageDispatch, o as captureFeishuSendAuthority, r as createFeishuClient, s as runBeforeFeishuMessageDispatch } from "./client-DCwNVFZg.mjs";
6
- import { normalizeAccountId, normalizeOptionalAccountId, resolveMergedAccountConfig } from "openclaw/plugin-sdk/account-resolution";
7
- import { compileAllowlist, resolveAllowlistMatchByCandidates } from "openclaw/plugin-sdk/allow-from";
8
- import { ToolAuthorizationError } from "openclaw/plugin-sdk/channel-actions";
9
- import { createMessageReceiptFromOutboundResults } from "openclaw/plugin-sdk/channel-outbound";
10
- import { PlatformMessageNotDispatchedError, formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
11
- import { legacyInteractiveReplyToPresentation, normalizeLegacyInteractiveReply, normalizeMessagePresentation, renderMessagePresentationChartFallbackText, renderMessagePresentationFallbackText, renderMessagePresentationTableFallbackText, renderPresentationForDelivery, resolveLegacyInteractiveTextFallback } from "openclaw/plugin-sdk/interactive-runtime";
12
- import { parseStrictNonNegativeInteger } from "openclaw/plugin-sdk/number-runtime";
13
- import { isRecord, normalizeLowercaseStringOrEmpty, normalizeOptionalLowercaseString, normalizeOptionalString, normalizeStringEntries, readStringValue } from "openclaw/plugin-sdk/string-coerce-runtime";
14
- import { convertMarkdownTables, markdownToIRWithMeta } from "openclaw/plugin-sdk/text-chunking";
15
- import { resolveDefaultGroupPolicy, resolveOpenProviderRuntimeGroupPolicy } from "openclaw/plugin-sdk/runtime-group-policy";
16
- import { defineStableChannelIngressIdentity } from "openclaw/plugin-sdk/channel-ingress-runtime";
17
- import fs from "node:fs";
18
- import path from "node:path";
19
- import { fromMarkdown } from "mdast-util-from-markdown";
20
- import { gfmTableFromMarkdown } from "mdast-util-gfm-table";
21
- import { gfmTable } from "micromark-extension-gfm-table";
22
- import { chunkMarkdownTextWithMode } from "openclaw/plugin-sdk/reply-chunking";
23
- import { createAcceptedChannelDeliveryResult, createChannelPartialDeliveryError } from "openclaw/plugin-sdk/channel-inbound";
24
- import { resolveMarkdownTableMode } from "openclaw/plugin-sdk/markdown-table-runtime";
25
- import { readRegularFile, wrapExternalContent, writeExternalFileWithinRoot } from "openclaw/plugin-sdk/security-runtime";
26
- import { retryAsync } from "openclaw/plugin-sdk/retry-runtime";
27
- import { readPositiveIntegerParam } from "openclaw/plugin-sdk/param-readers";
28
- import { Type } from "typebox";
29
- import { jsonResult } from "openclaw/plugin-sdk/tool-results";
30
- import { isBlockedHostnameOrIp, resolvePinnedHostnameWithPolicy } from "openclaw/plugin-sdk/ssrf-runtime";
31
- import { Readable } from "node:stream";
32
- import { detectMime, mediaKindFromMime } from "openclaw/plugin-sdk/media-mime";
33
- import { MEDIA_FFMPEG_MAX_AUDIO_DURATION_SECS, buildOutboundMediaLoadOptions, runFfmpeg, runFfprobe } from "openclaw/plugin-sdk/media-runtime";
34
- import { saveMediaBuffer, saveMediaStream } from "openclaw/plugin-sdk/media-store";
35
- import { resolvePreferredOpenClawTmpDir, withTempDownloadPath, withTempWorkspace } from "openclaw/plugin-sdk/temp-path";
36
- import { logVerbose } from "openclaw/plugin-sdk/runtime-env";
37
- import { escapeHtml, truncateUtf16Safe } from "openclaw/plugin-sdk/text-utility-runtime";
38
- //#region extensions/feishu/src/card-interaction.ts
39
- const FEISHU_CARD_INTERACTION_VERSION = "ocf1";
40
- function isInteractionKind(value) {
41
- return value === "button" || value === "quick" || value === "meta";
42
- }
43
- function isMetadataValue(value) {
44
- return value === null || value === void 0 || typeof value === "string" || typeof value === "number" || typeof value === "boolean";
45
- }
46
- function createFeishuCardInteractionEnvelope(envelope) {
47
- return {
48
- oc: FEISHU_CARD_INTERACTION_VERSION,
49
- ...envelope
50
- };
51
- }
52
- function buildFeishuCardActionTextFallback(event) {
53
- const actionValue = event.action.value;
54
- if (isRecord(actionValue)) {
55
- if (typeof actionValue.text === "string") return actionValue.text;
56
- if (typeof actionValue.command === "string") return actionValue.command;
57
- return JSON.stringify(actionValue);
58
- }
59
- return String(actionValue);
60
- }
61
- function decodeFeishuCardAction(params) {
62
- const { event, now = Date.now() } = params;
63
- const actionValue = event.action.value;
64
- if (!isRecord(actionValue) || actionValue.oc !== "ocf1") return {
65
- kind: "legacy",
66
- text: buildFeishuCardActionTextFallback(event)
67
- };
68
- if (!isInteractionKind(actionValue.k) || typeof actionValue.a !== "string" || !actionValue.a) return {
69
- kind: "invalid",
70
- reason: "malformed"
71
- };
72
- if (actionValue.q !== void 0 && typeof actionValue.q !== "string") return {
73
- kind: "invalid",
74
- reason: "malformed"
75
- };
76
- if (actionValue.m !== void 0) {
77
- if (!isRecord(actionValue.m)) return {
78
- kind: "invalid",
79
- reason: "malformed"
80
- };
81
- for (const value of Object.values(actionValue.m)) if (!isMetadataValue(value)) return {
82
- kind: "invalid",
83
- reason: "malformed"
84
- };
85
- }
86
- if (actionValue.c !== void 0) {
87
- if (!isRecord(actionValue.c)) return {
88
- kind: "invalid",
89
- reason: "malformed"
90
- };
91
- if (actionValue.c.u !== void 0 && typeof actionValue.c.u !== "string") return {
92
- kind: "invalid",
93
- reason: "malformed"
94
- };
95
- if (actionValue.c.h !== void 0 && typeof actionValue.c.h !== "string") return {
96
- kind: "invalid",
97
- reason: "malformed"
98
- };
99
- if (actionValue.c.s !== void 0 && typeof actionValue.c.s !== "string") return {
100
- kind: "invalid",
101
- reason: "malformed"
102
- };
103
- if (actionValue.c.e !== void 0 && !Number.isFinite(actionValue.c.e)) return {
104
- kind: "invalid",
105
- reason: "malformed"
106
- };
107
- if (actionValue.c.t !== void 0 && actionValue.c.t !== "p2p" && actionValue.c.t !== "group") return {
108
- kind: "invalid",
109
- reason: "malformed"
110
- };
111
- if (typeof actionValue.c.e === "number" && actionValue.c.e < now) return {
112
- kind: "invalid",
113
- reason: "stale"
114
- };
115
- const expectedUser = actionValue.c.u?.trim();
116
- if (expectedUser && expectedUser !== (event.operator.open_id ?? "").trim()) return {
117
- kind: "invalid",
118
- reason: "wrong_user"
119
- };
120
- const expectedChat = actionValue.c.h?.trim();
121
- if (expectedChat && expectedChat !== (event.context.chat_id ?? "").trim()) return {
122
- kind: "invalid",
123
- reason: "wrong_conversation"
124
- };
125
- }
126
- return {
127
- kind: "structured",
128
- envelope: actionValue
129
- };
130
- }
131
- //#endregion
132
- //#region extensions/feishu/src/chat-type.ts
133
- function normalizeFeishuChatType(value) {
134
- if (value === "group" || value === "topic_group") return "group";
135
- if (value === "p2p") return "p2p";
136
- }
137
- function normalizeFeishuChatMode(value) {
138
- if (value === "group" || value === "topic" || value === "topic_group") return "group";
139
- return value === "p2p" ? "p2p" : void 0;
140
- }
141
- function resolveFeishuChatType(chat) {
142
- return normalizeFeishuChatMode(chat.chat_mode) ?? normalizeFeishuChatType(chat.chat_type);
143
- }
144
- //#endregion
145
- //#region extensions/feishu/src/policy.ts
146
- const FEISHU_PROVIDER_PREFIX_RE = /^(feishu|lark):/i;
147
- const FEISHU_TYPED_PREFIX_RE = /^(chat|group|channel|user|dm|open_id):/i;
148
- const FEISHU_ID_KIND = "plugin:feishu-id";
149
- const feishuIngressIdentity = defineStableChannelIngressIdentity({
150
- key: "feishu-id",
151
- kind: FEISHU_ID_KIND,
152
- normalize: normalizeFeishuAllowEntry,
153
- sensitivity: "pii",
154
- aliases: [{
155
- key: "feishu-alt-id",
156
- kind: FEISHU_ID_KIND,
157
- normalizeEntry: normalizeFeishuAllowEntry,
158
- normalizeSubject: normalizeFeishuAllowEntry,
159
- sensitivity: "pii"
160
- }],
161
- isWildcardEntry: (entry) => normalizeFeishuAllowEntry(entry) === "*",
162
- resolveEntryId: ({ entryIndex }) => `feishu-entry-${entryIndex + 1}`
163
- });
164
- function normalizeFeishuAllowEntry(raw) {
165
- const trimmed = raw.trim();
166
- if (!trimmed) return "";
167
- if (trimmed === "*") return "*";
168
- let withoutProviderPrefix = trimmed;
169
- while (FEISHU_PROVIDER_PREFIX_RE.test(withoutProviderPrefix)) withoutProviderPrefix = withoutProviderPrefix.replace(FEISHU_PROVIDER_PREFIX_RE, "").trim();
170
- if (withoutProviderPrefix === "*") return "*";
171
- const lowered = normalizeOptionalLowercaseString(withoutProviderPrefix) ?? "";
172
- if (!lowered) return "";
173
- const prefixed = lowered.match(FEISHU_TYPED_PREFIX_RE);
174
- if (prefixed?.[1]) {
175
- const kind = [
176
- "chat",
177
- "group",
178
- "channel"
179
- ].includes(prefixed[1]) ? "chat" : "user";
180
- const value = withoutProviderPrefix.slice(prefixed[0].length).trim();
181
- return value === "*" ? "*" : value ? `${kind}:${value}` : "";
182
- }
183
- const detectedType = detectIdType(withoutProviderPrefix);
184
- if (detectedType === "chat_id") return `chat:${withoutProviderPrefix}`;
185
- if (detectedType === "open_id" || detectedType === "user_id") return `user:${withoutProviderPrefix}`;
186
- return "";
187
- }
188
- function normalizeFeishuDmPolicy(policy) {
189
- return policy === "open" || policy === "pairing" || policy === "allowlist" || policy === "disabled" ? policy : "pairing";
190
- }
191
- function normalizeFeishuGroupPolicy(policy) {
192
- return policy === "allowall" ? "open" : policy;
193
- }
194
- function createFeishuIngressSubject(params) {
195
- const ids = [params.primaryId, ...params.alternateIds ?? []].map((value) => value?.trim()).filter((value) => Boolean(value));
196
- return {
197
- stableId: ids[0],
198
- aliases: { "feishu-alt-id": ids[1] }
199
- };
200
- }
201
- function createFeishuIngressResolver(params) {
202
- return getFeishuRuntime().channel.inbound.ingress.createResolver({
203
- channelId: "feishu",
204
- accountId: normalizeAccountId(params.accountId) ?? "default",
205
- identity: feishuIngressIdentity,
206
- cfg: params.cfg,
207
- ...params.readAllowFromStore ? { readStoreAllowFrom: params.readAllowFromStore } : {}
208
- });
209
- }
210
- async function resolveFeishuDmIngressAccess(params) {
211
- return await createFeishuIngressResolver({
212
- cfg: params.cfg,
213
- accountId: params.accountId,
214
- readAllowFromStore: params.readAllowFromStore
215
- }).message({
216
- subject: createFeishuIngressSubject({
217
- primaryId: params.senderOpenId,
218
- alternateIds: [params.senderUserId]
219
- }),
220
- conversation: {
221
- kind: "direct",
222
- id: params.conversationId
223
- },
224
- ...params.contextBinding ? { contextBinding: params.contextBinding } : {},
225
- event: { mayPair: params.mayPair },
226
- dmPolicy: normalizeFeishuDmPolicy(params.dmPolicy),
227
- groupPolicy: "disabled",
228
- allowFrom: params.allowFrom ?? [],
229
- ...params.command ? { command: params.command } : {}
230
- });
231
- }
232
- async function resolveFeishuGroupConversationIngressAccess(params) {
233
- const groupPolicy = normalizeFeishuGroupPolicy(params.groupPolicy);
234
- const groupAllowFrom = groupPolicy === "allowlist" && params.groupExplicitlyConfigured ? [...params.groupAllowFrom ?? [], params.chatId] : params.groupAllowFrom ?? [];
235
- return await createFeishuIngressResolver({
236
- cfg: params.cfg,
237
- accountId: params.accountId
238
- }).message({
239
- subject: createFeishuIngressSubject({ primaryId: params.chatId }),
240
- conversation: {
241
- kind: "group",
242
- id: params.chatId,
243
- threadId: params.threadId
244
- },
245
- ...params.contextBinding ? { contextBinding: params.contextBinding } : {},
246
- dmPolicy: "disabled",
247
- groupPolicy,
248
- groupAllowFrom
249
- });
250
- }
251
- async function resolveFeishuGroupSenderActivationIngressAccess(params) {
252
- const groupAllowFrom = params.allowFrom ?? [];
253
- return await createFeishuIngressResolver({
254
- cfg: params.cfg,
255
- accountId: params.accountId
256
- }).message({
257
- subject: createFeishuIngressSubject({
258
- primaryId: params.senderOpenId,
259
- alternateIds: [params.senderUserId]
260
- }),
261
- conversation: {
262
- kind: "group",
263
- id: params.chatId,
264
- threadId: params.threadId
265
- },
266
- ...params.contextBinding ? { contextBinding: params.contextBinding } : {},
267
- dmPolicy: "disabled",
268
- groupPolicy: groupAllowFrom.length > 0 ? "allowlist" : "open",
269
- groupAllowFrom,
270
- mentionFacts: {
271
- canDetectMention: true,
272
- wasMentioned: params.mentionedBot
273
- },
274
- policy: { activation: {
275
- requireMention: params.requireMention,
276
- allowTextCommands: false
277
- } },
278
- ...params.command ? { command: params.command } : {}
279
- });
280
- }
281
- function resolveFeishuExplicitGroupConfigKey(params) {
282
- const groups = params.cfg?.groups ?? {};
283
- const groupId = params.groupId?.trim();
284
- if (!groupId || groupId === "*") return;
285
- if (Object.hasOwn(groups, groupId)) return groupId;
286
- const lowered = normalizeOptionalLowercaseString(groupId) ?? "";
287
- return Object.keys(groups).find((key) => key !== "*" && normalizeOptionalLowercaseString(key) === lowered);
288
- }
289
- function resolveFeishuGroupConfig(params) {
290
- if (!params.groupId?.trim()) return;
291
- const groups = params.cfg?.groups ?? {};
292
- const key = resolveFeishuExplicitGroupConfigKey(params);
293
- return key ? groups[key] : groups["*"];
294
- }
295
- function hasExplicitFeishuGroupConfig(params) {
296
- return resolveFeishuExplicitGroupConfigKey(params) !== void 0;
297
- }
298
- function resolveFeishuGroupToolPolicy(params) {
299
- return resolveFeishuGroupConfig({
300
- cfg: params.cfg.channels?.feishu,
301
- groupId: params.groupId
302
- })?.tools;
303
- }
304
- function resolveFeishuReplyPolicy(params) {
305
- if (params.isDirectMessage) return { requireMention: false };
306
- const feishuCfg = params.cfg.channels?.feishu;
307
- const resolvedCfg = resolveMergedAccountConfig({
308
- channelConfig: feishuCfg,
309
- accounts: feishuCfg?.accounts,
310
- accountId: normalizeAccountId(params.accountId),
311
- normalizeAccountId,
312
- omitKeys: ["defaultAccount"]
313
- });
314
- const groupRequireMention = resolveFeishuGroupConfig({
315
- cfg: resolvedCfg,
316
- groupId: params.groupId
317
- })?.requireMention;
318
- return { requireMention: typeof groupRequireMention === "boolean" ? groupRequireMention : typeof resolvedCfg.requireMention === "boolean" ? resolvedCfg.requireMention : params.groupPolicy !== "open" };
319
- }
320
- //#endregion
321
- //#region extensions/feishu/src/read-policy.ts
322
- function isActionContext(ctx) {
323
- return "toolContext" in ctx;
324
- }
325
- function normalizeChatId(raw) {
326
- if (!raw) return "";
327
- return normalizeFeishuTarget(raw) ?? raw.trim();
328
- }
329
- function normalizeFeishuAllowlist(entries) {
330
- return (entries ?? []).map((entry) => normalizeFeishuAllowEntry(String(entry))).filter(Boolean);
331
- }
332
- function readContextFields(ctx) {
333
- if (isActionContext(ctx)) return {
334
- accountId: normalizeOptionalString(ctx.accountId),
335
- currentChannelId: normalizeOptionalString(ctx.toolContext?.currentChannelId),
336
- currentProvider: normalizeOptionalString(ctx.toolContext?.currentChannelProvider),
337
- requesterAccountId: normalizeOptionalString(ctx.requesterAccountId),
338
- requesterSenderId: normalizeOptionalString(ctx.requesterSenderId),
339
- directOperator: ctx.conversationReadOrigin === "direct-operator"
340
- };
341
- return {
342
- accountId: normalizeOptionalString(ctx.agentAccountId),
343
- currentChannelId: normalizeOptionalString(ctx.nativeChannelId),
344
- currentProvider: normalizeOptionalString(ctx.messageChannel ?? ctx.deliveryContext?.channel),
345
- requesterAccountId: normalizeOptionalString(ctx.deliveryContext?.accountId),
346
- requesterSenderId: normalizeOptionalString(ctx.requesterSenderId),
347
- directOperator: ctx.conversationReadOrigin === "direct-operator"
348
- };
349
- }
350
- function isCurrentChat(params) {
351
- const context = readContextFields(params.ctx);
352
- return context.currentProvider?.toLowerCase() === "feishu" && context.requesterAccountId === params.account.accountId && (context.accountId ?? params.account.accountId) === params.account.accountId && normalizeChatId(context.currentChannelId) === normalizeChatId(params.chatId);
353
- }
354
- function resolveFeishuReadGroupPolicy(cfg, account) {
355
- return resolveOpenProviderRuntimeGroupPolicy({
356
- providerConfigPresent: cfg.channels?.feishu !== void 0,
357
- groupPolicy: account.config.groupPolicy,
358
- defaultGroupPolicy: resolveDefaultGroupPolicy(cfg)
359
- }).groupPolicy;
360
- }
361
- function isFeishuGroupReadAllowed(cfg, account, chatId, current) {
362
- const policy = resolveFeishuReadGroupPolicy(cfg, account);
363
- if (policy === "disabled") return false;
364
- if (resolveFeishuGroupConfig({
365
- cfg: account.config,
366
- groupId: chatId
367
- })?.enabled === false) return false;
368
- if (current) return true;
369
- if (policy === "open") return true;
370
- const explicitlyConfigured = hasExplicitFeishuGroupConfig({
371
- cfg: account.config,
372
- groupId: chatId
373
- });
374
- const normalizedChatId = normalizeFeishuAllowEntry(chatId);
375
- return explicitlyConfigured || resolveAllowlistMatchByCandidates({
376
- allowList: normalizeFeishuAllowlist(account.config.groupAllowFrom),
377
- candidates: [{
378
- value: normalizedChatId,
379
- source: "id"
380
- }]
381
- }).allowed;
382
- }
383
- function isFeishuGroupReadEnabled(cfg, account, chatId) {
384
- if (resolveFeishuReadGroupPolicy(cfg, account) === "disabled") return false;
385
- return resolveFeishuGroupConfig({
386
- cfg: account.config,
387
- groupId: chatId
388
- })?.enabled !== false;
389
- }
390
- function isDmUniversallyAllowed(account) {
391
- return compileAllowlist(normalizeFeishuAllowlist(account.config.allowFrom)).wildcard;
392
- }
393
- function assertFeishuChatReadAllowed(params) {
394
- const authorization = resolveFeishuChatReadPreliminaryAuthorization(params);
395
- if (authorization.decision !== "allow") throw new ToolAuthorizationError("Feishu read target is not allowed.");
396
- return authorization.chatId;
397
- }
398
- function resolveFeishuChatReadPreliminaryAuthorization(params) {
399
- const chatId = normalizeChatId(params.chatId);
400
- const resolvedChatType = normalizeFeishuChatType(params.chatType);
401
- const knownGroup = resolvedChatType === "group" || params.chatType === void 0 && hasExplicitFeishuGroupConfig({
402
- cfg: params.account.config,
403
- groupId: chatId
404
- });
405
- const knownDm = resolvedChatType === "p2p";
406
- const current = isCurrentChat({
407
- account: params.account,
408
- chatId,
409
- ctx: params.ctx
410
- });
411
- const directOperator = readContextFields(params.ctx).directOperator;
412
- const groupAllowed = directOperator ? isFeishuGroupReadEnabled(params.cfg, params.account, chatId) : isFeishuGroupReadAllowed(params.cfg, params.account, chatId, current);
413
- const dmAllowed = directOperator || current || isDmUniversallyAllowed(params.account);
414
- if (knownGroup) return {
415
- chatId,
416
- decision: groupAllowed ? "allow" : "deny"
417
- };
418
- if (knownDm) return {
419
- chatId,
420
- decision: dmAllowed ? "allow" : "deny"
421
- };
422
- if (groupAllowed === dmAllowed) return {
423
- chatId,
424
- decision: groupAllowed ? "allow" : "deny"
425
- };
426
- return {
427
- chatId,
428
- decision: "needs-metadata"
429
- };
430
- }
431
- function authorizeFeishuChatMemberRead(params) {
432
- const chatId = assertFeishuChatReadAllowed(params);
433
- const chatType = normalizeFeishuChatType(params.chatType);
434
- if (chatType === "group") return {
435
- kind: "group",
436
- chatId
437
- };
438
- if (chatType !== "p2p") throw new ToolAuthorizationError("Feishu chat member reads require a known chat type.");
439
- if (!isCurrentChat({
440
- account: params.account,
441
- chatId,
442
- ctx: params.ctx
443
- })) throw new ToolAuthorizationError("Feishu direct-chat member reads require the current conversation.");
444
- const requesterSenderId = normalizeChatId(readContextFields(params.ctx).requesterSenderId);
445
- if (!requesterSenderId) throw new ToolAuthorizationError("Feishu direct-chat member identity is unavailable.");
446
- const requesterSenderIdType = detectIdType(requesterSenderId);
447
- if (requesterSenderIdType !== "open_id" && requesterSenderIdType !== "user_id") throw new ToolAuthorizationError("Feishu direct-chat member identity type is unavailable.");
448
- if (params.memberIdType && params.memberIdType !== requesterSenderIdType) throw new ToolAuthorizationError("Feishu direct-chat member identifier type must match the current sender.");
449
- if (params.memberId && normalizeChatId(params.memberId) !== requesterSenderId) throw new ToolAuthorizationError("Feishu direct-chat member reads are limited to the current sender.");
450
- return {
451
- kind: "direct",
452
- chatId,
453
- memberId: requesterSenderId,
454
- memberIdType: requesterSenderIdType
455
- };
456
- }
457
- function canEnumerateAllFeishuGroups(cfg, account) {
458
- const policy = resolveFeishuReadGroupPolicy(cfg, account);
459
- return policy === "open" || policy === "allowlist" && compileAllowlist(normalizeFeishuAllowlist(account.config.groupAllowFrom)).wildcard;
460
- }
461
- function canEnumerateAllFeishuPeers(account) {
462
- return isDmUniversallyAllowed(account);
463
- }
464
- //#endregion
465
- //#region extensions/feishu/src/markdown.ts
466
- const FEISHU_POST_MAX_BYTES = 30720;
467
- /** One parser contract for Feishu message and document Markdown decisions. */
468
- function parseFeishuMarkdown(text) {
469
- return fromMarkdown(text, {
470
- extensions: [gfmTable()],
471
- mdastExtensions: [gfmTableFromMarkdown()]
472
- });
473
- }
474
- function buildFeishuPostMentionElements(mentions) {
475
- if (!mentions?.length) return [];
476
- const elements = [];
477
- for (const mention of mentions) {
478
- const userId = mention.openId.trim();
479
- if (!userId) continue;
480
- const userName = mention.name.trim();
481
- elements.push({
482
- tag: "at",
483
- user_id: userId,
484
- ...userName ? { user_name: userName } : {}
485
- });
486
- }
487
- return elements;
488
- }
489
- function buildFeishuPostMessageContent(params) {
490
- const content = [...buildFeishuPostMentionElements(params.mentions), {
491
- tag: "md",
492
- text: params.messageText
493
- }];
494
- return JSON.stringify({ zh_cn: { content: [content] } });
495
- }
496
- function assertFeishuPostWithinEnvelope(content, label) {
497
- if (Buffer.byteLength(content, "utf8") > FEISHU_POST_MAX_BYTES) throw new Error(`${label} exceeds the 30 KB rich-post API limit`);
498
- }
499
- function collectSoftBreakOffsets(text) {
500
- const root = parseFeishuMarkdown(text);
501
- const offsets = [];
502
- const pending = [root];
503
- while (pending.length > 0) {
504
- const node = pending.pop();
505
- if (!node) continue;
506
- if (node.children) pending.push(...node.children);
507
- if (node.type !== "text") continue;
508
- const start = node.position?.start.offset;
509
- const end = node.position?.end.offset;
510
- if (start === void 0 || end === void 0) continue;
511
- for (let offset = start; offset < end; offset += 1) {
512
- const char = text[offset];
513
- if (char === "\n") {
514
- if (text[offset - 1] !== "\r") offsets.push(offset);
515
- continue;
516
- }
517
- if (char === "\r") {
518
- offsets.push(offset);
519
- if (text[offset + 1] === "\n") offset += 1;
520
- }
521
- }
522
- }
523
- return offsets.toSorted((left, right) => left - right);
524
- }
525
- /**
526
- * Materialize CommonMark soft breaks for Feishu post `md` rendering.
527
- *
528
- * The parser identifies only soft breaks, then upgrades them to CommonMark
529
- * hard breaks. Structural line endings and code, HTML, definitions, setext
530
- * headings, and existing hard breaks retain their source bytes.
531
- */
532
- function materializeFeishuPostMarkdownSoftBreaks(text) {
533
- if (!text.includes("\n") && !text.includes("\r")) return text;
534
- const softBreakOffsets = collectSoftBreakOffsets(text);
535
- if (softBreakOffsets.length === 0) return text;
536
- const parts = [];
537
- let cursor = 0;
538
- for (const offset of softBreakOffsets) {
539
- const lineEnding = text[offset] === "\r" ? text[offset + 1] === "\n" ? "\r\n" : "\r" : "\n";
540
- parts.push(text.slice(cursor, offset), " ", lineEnding);
541
- cursor = offset + lineEnding.length;
542
- }
543
- parts.push(text.slice(cursor));
544
- return parts.join("");
545
- }
546
- function chunkFeishuMarkdownWithMode(text, limit, mode) {
547
- return chunkMarkdownTextWithMode(text, limit, mode);
548
- }
549
- /** Keep every platform chunk independently valid Markdown, including fences. */
550
- function chunkFeishuMarkdown(text, limit) {
551
- return chunkFeishuMarkdownWithMode(text, limit, "length");
552
- }
553
- function postContentBytes(messageText, mentions) {
554
- return Buffer.byteLength(buildFeishuPostMessageContent({
555
- messageText,
556
- mentions
557
- }), "utf8");
558
- }
559
- function chunkFeishuPostMarkdown(params) {
560
- return chunkFeishuMarkdownByEnvelope({
561
- ...params,
562
- contentBytes: (text, isFirst) => postContentBytes(text, [...params.chunkMentions ?? [], ...isFirst ? params.firstChunkMentions ?? [] : []])
563
- });
564
- }
565
- /** Measure the actual transport envelope, including UTF-8, JSON escapes and fence wrappers. */
566
- function chunkFeishuMarkdownByEnvelope(params) {
567
- const { text } = params;
568
- if (!text) return [];
569
- const requestedLimit = Number.isFinite(params.limit) && params.limit > 0 ? Math.floor(params.limit) : text.length;
570
- const initialChunks = params.initialChunks ?? chunkFeishuMarkdownWithMode(text, requestedLimit, params.mode ?? "length");
571
- const output = [];
572
- for (const initialChunk of initialChunks) {
573
- if (params.contentBytes(initialChunk, output.length === 0) <= FEISHU_POST_MAX_BYTES) {
574
- output.push(initialChunk);
575
- continue;
576
- }
577
- let adaptiveLimit = Math.max(1, Math.min(requestedLimit, initialChunk.length));
578
- while (true) {
579
- const chunks = chunkFeishuMarkdownWithMode(initialChunk, adaptiveLimit, params.mode ?? "length");
580
- let largestContentBytes = 0;
581
- let oversizedChunk;
582
- for (const [index, chunk] of chunks.entries()) {
583
- const contentBytes = params.contentBytes(chunk, output.length === 0 && index === 0);
584
- largestContentBytes = Math.max(largestContentBytes, contentBytes);
585
- if (contentBytes > FEISHU_POST_MAX_BYTES && oversizedChunk === void 0) oversizedChunk = chunk;
586
- }
587
- if (oversizedChunk === void 0) {
588
- output.push(...chunks);
589
- break;
590
- }
591
- if (adaptiveLimit === 1) throw new Error("Feishu Markdown chunk exceeds the 30 KB API limit");
592
- adaptiveLimit = Math.max(1, Math.min(adaptiveLimit - 1, Math.floor(adaptiveLimit * FEISHU_POST_MAX_BYTES / largestContentBytes) - 1));
593
- }
594
- }
595
- return output;
596
- }
597
- //#endregion
598
- //#region extensions/feishu/src/native-card.ts
599
- const FEISHU_CARD_TEMPLATES = /* @__PURE__ */ new Set([
600
- "blue",
601
- "green",
602
- "red",
603
- "orange",
604
- "purple",
605
- "indigo",
606
- "wathet",
607
- "turquoise",
608
- "yellow",
609
- "grey",
610
- "carmine",
611
- "violet",
612
- "lime"
613
- ]);
614
- function resolveFeishuCardTemplate(template) {
615
- const normalized = normalizeOptionalLowercaseString(template);
616
- if (!normalized || !FEISHU_CARD_TEMPLATES.has(normalized)) return;
617
- return normalized;
618
- }
619
- function escapeFeishuCardMarkdownText(text) {
620
- return text.replace(/[&<>]/g, (char) => {
621
- switch (char) {
622
- case "&": return "&amp;";
623
- case "<": return "&lt;";
624
- case ">": return "&gt;";
625
- default: return char;
626
- }
627
- });
628
- }
629
- function escapeFeishuCardPlainText(text) {
630
- return escapeFeishuCardMarkdownText(text).replace(/([\\`*_{}[\]()#+\-!|>~])/g, "\\$1");
631
- }
632
- function resolveSafeFeishuButtonUrl(url) {
633
- const trimmed = typeof url === "string" ? url.trim() : "";
634
- if (!trimmed) return;
635
- try {
636
- const parsed = new URL(trimmed);
637
- return parsed.protocol === "https:" || parsed.protocol === "http:" ? trimmed : void 0;
638
- } catch {
639
- return;
640
- }
641
- }
642
- function sanitizeNativeFeishuButtonBehavior(behavior) {
643
- if (!isRecord(behavior)) return;
644
- if (behavior.type === "open_url") {
645
- const safeUrl = resolveSafeFeishuButtonUrl(behavior.default_url) ?? resolveSafeFeishuButtonUrl(behavior.url);
646
- return safeUrl ? {
647
- type: "open_url",
648
- default_url: safeUrl
649
- } : void 0;
650
- }
651
- if (behavior.type === "callback" && isRecord(behavior.value) && behavior.value.oc === "ocf1") return {
652
- type: "callback",
653
- value: behavior.value
654
- };
655
- }
656
- function sanitizeNativeFeishuCardButton(button) {
657
- if (!isRecord(button)) return;
658
- const text = isRecord(button.text) && typeof button.text.content === "string" ? button.text.content : void 0;
659
- if (!text?.trim()) return;
660
- const style = button.type === "danger" ? "danger" : button.type === "primary" || button.type === "success" ? "primary" : void 0;
661
- const behaviors = Array.isArray(button.behaviors) ? button.behaviors.map((behavior) => sanitizeNativeFeishuButtonBehavior(behavior)).filter((behavior) => Boolean(behavior)) : [];
662
- const rootSafeUrl = resolveSafeFeishuButtonUrl(button.url);
663
- if (rootSafeUrl) behaviors.push({
664
- type: "open_url",
665
- default_url: rootSafeUrl
666
- });
667
- if (isRecord(button.value) && button.value.oc === "ocf1") behaviors.push({
668
- type: "callback",
669
- value: button.value
670
- });
671
- if (behaviors.length === 0) return;
672
- return {
673
- tag: "button",
674
- text: {
675
- tag: "plain_text",
676
- content: text
677
- },
678
- type: style === "danger" ? "danger" : style === "primary" ? "primary" : "default",
679
- behaviors
680
- };
681
- }
682
- function sanitizeNativeFeishuCardElements(element) {
683
- if (!isRecord(element) || typeof element.tag !== "string") return [];
684
- if (element.tag === "hr") return [{ tag: "hr" }];
685
- if (element.tag === "markdown" && typeof element.content === "string") return [{
686
- tag: "markdown",
687
- content: escapeFeishuCardMarkdownText(element.content)
688
- }];
689
- if (element.tag === "div" && isRecord(element.text)) {
690
- const text = element.text;
691
- if (text.tag === "lark_md" && typeof text.content === "string") return [{
692
- tag: "markdown",
693
- content: escapeFeishuCardMarkdownText(text.content)
694
- }];
695
- if (text.tag === "plain_text" && typeof text.content === "string") return [{
696
- tag: "markdown",
697
- content: escapeFeishuCardPlainText(text.content)
698
- }];
699
- return [];
700
- }
701
- if (element.tag === "button") {
702
- const button = sanitizeNativeFeishuCardButton(element);
703
- return button ? [button] : [];
704
- }
705
- if (element.tag === "action" && Array.isArray(element.actions)) return element.actions.map((action) => sanitizeNativeFeishuCardButton(action)).filter((action) => Boolean(action));
706
- return [];
707
- }
708
- function sanitizeNativeFeishuCard(card) {
709
- const normalizedCard = card.type === "interactive" && isRecord(card.card) ? card.card : card;
710
- const body = isRecord(normalizedCard.body) ? normalizedCard.body : void 0;
711
- const elements = (Array.isArray(body?.elements) ? body.elements : Array.isArray(normalizedCard.elements) ? normalizedCard.elements : []).flatMap((element) => sanitizeNativeFeishuCardElements(element)).filter((element) => Boolean(element));
712
- if (elements.length === 0) return;
713
- const header = isRecord(normalizedCard.header) ? normalizedCard.header : void 0;
714
- const title = isRecord(header?.title) && typeof header.title.content === "string" ? header.title.content : void 0;
715
- return {
716
- schema: "2.0",
717
- config: { width_mode: "fill" },
718
- ...title?.trim() ? { header: {
719
- title: {
720
- tag: "plain_text",
721
- content: title
722
- },
723
- template: resolveFeishuCardTemplate(typeof header?.template === "string" ? header.template : void 0) ?? "blue"
724
- } } : {},
725
- body: { elements }
726
- };
727
- }
728
- function readNativeFeishuCardJson(text, options) {
729
- let trimmed = text?.trim();
730
- const responsePrefix = options?.responsePrefix;
731
- if (trimmed && responsePrefix && trimmed.startsWith(responsePrefix)) {
732
- const suffix = trimmed.slice(responsePrefix.length);
733
- if (/^\s+\{/.test(suffix)) trimmed = suffix.trimStart();
734
- }
735
- if (!trimmed?.startsWith("{") || !trimmed.endsWith("}")) return;
736
- try {
737
- const parsed = JSON.parse(trimmed);
738
- return isRecord(parsed) ? sanitizeNativeFeishuCard(parsed) : void 0;
739
- } catch {
740
- return;
741
- }
742
- }
743
- //#endregion
744
- //#region extensions/feishu/src/comment-target.ts
745
- const FEISHU_COMMENT_FILE_TYPES = [
746
- "doc",
747
- "docx",
748
- "file",
749
- "sheet",
750
- "slides"
751
- ];
752
- function normalizeCommentFileType(value) {
753
- return typeof value === "string" && FEISHU_COMMENT_FILE_TYPES.includes(value) ? value : void 0;
754
- }
755
- function buildFeishuCommentTarget(params) {
756
- return `comment:${params.fileType}:${params.fileToken}:${params.commentId}`;
757
- }
758
- function parseFeishuCommentTarget(raw) {
759
- const trimmed = raw?.trim();
760
- if (!trimmed?.startsWith("comment:")) return null;
761
- const parts = trimmed.split(":");
762
- if (parts.length !== 4) return null;
763
- const fileType = normalizeCommentFileType(parts[1]);
764
- const fileToken = parts[2]?.trim();
765
- const commentId = parts[3]?.trim();
766
- if (!fileType || !fileToken || !commentId) return null;
767
- return {
768
- fileType,
769
- fileToken,
770
- commentId
771
- };
772
- }
773
- //#endregion
774
- //#region extensions/feishu/src/send-rate-limit.ts
775
- const FEISHU_SEND_RATE_LIMIT_CODES = /* @__PURE__ */ new Set([230020, 11232]);
776
- function getFeishuSendRateLimitCode(error) {
777
- if (!isRecord(error)) return;
778
- const response = isRecord(error.response) ? error.response : void 0;
779
- if (response?.status === 429) return 429;
780
- const code = (isRecord(response?.data) ? response.data : void 0)?.code;
781
- return typeof code === "number" && FEISHU_SEND_RATE_LIMIT_CODES.has(code) ? code : void 0;
782
- }
783
- function getFeishuSendRateLimitCodeFromResponse(response) {
784
- if (!isRecord(response)) return;
785
- const code = response.code;
786
- return typeof code === "number" && FEISHU_SEND_RATE_LIMIT_CODES.has(code) ? code : void 0;
787
- }
788
- //#endregion
789
- //#region extensions/feishu/src/comment-shared.ts
790
- var FeishuReplyCommentError = class extends Error {
791
- constructor(params) {
792
- super(params.message);
793
- this.name = "FeishuReplyCommentError";
794
- this.httpStatus = params.httpStatus;
795
- this.feishuCode = params.feishuCode;
796
- this.feishuMsg = params.feishuMsg;
797
- this.feishuLogId = params.feishuLogId;
798
- }
799
- };
800
- function encodeQuery(params) {
801
- const query = new URLSearchParams();
802
- for (const [key, value] of Object.entries(params)) {
803
- const trimmed = value?.trim();
804
- if (trimmed) query.set(key, trimmed);
805
- }
806
- const queryString = query.toString();
807
- return queryString ? `?${queryString}` : "";
808
- }
809
- function formatFeishuApiError(error, options = {}) {
810
- if (!isRecord(error)) return typeof error === "string" ? error : JSON.stringify(error);
811
- const config = isRecord(error.config) ? error.config : void 0;
812
- const response = isRecord(error.response) ? error.response : void 0;
813
- const responseData = isRecord(response?.data) ? response?.data : void 0;
814
- const feishuLogId = readStringValue(responseData?.log_id) || (options.includeNestedErrorLogId ? readStringValue(isRecord(responseData?.error) ? responseData.error.log_id : void 0) : void 0);
815
- const nestedError = isRecord(responseData?.error) ? responseData.error : void 0;
816
- return JSON.stringify({
817
- message: typeof error.message === "string" ? error.message : typeof error === "string" ? error : JSON.stringify(error),
818
- code: readStringValue(error.code),
819
- method: readStringValue(config?.method),
820
- url: readStringValue(config?.url),
821
- ...options.includeConfigParams ? { params: config?.params } : {},
822
- http_status: typeof response?.status === "number" ? response.status : void 0,
823
- feishu_code: typeof responseData?.code === "number" ? responseData.code : readStringValue(responseData?.code),
824
- feishu_msg: readStringValue(responseData?.msg),
825
- feishu_log_id: feishuLogId,
826
- feishu_troubleshooter: readStringValue(responseData?.troubleshooter) || readStringValue(nestedError?.troubleshooter)
827
- });
828
- }
829
- function formatFeishuApiFailure(error, errorPrefix, options = {}) {
830
- return `${errorPrefix}: ${formatFeishuApiError(error, options) || "unknown error"}`;
831
- }
832
- function createFeishuApiError(error, errorPrefix, options = {}) {
833
- return new Error(formatFeishuApiFailure(error, errorPrefix, options), { cause: error });
834
- }
835
- const FEISHU_SEND_RETRY_BASE_MS = 500;
836
- async function requestFeishuApi(request, errorPrefix, options = {}) {
837
- const assertSendAuthority = captureFeishuSendAuthority();
838
- try {
839
- return await retryAsync(async () => {
840
- assertSendAuthority?.();
841
- const result = await request();
842
- const fulfilledRateLimit = getFeishuSendRateLimitCodeFromResponse(result);
843
- if (fulfilledRateLimit !== void 0) throw Object.assign(/* @__PURE__ */ new Error(`Request fulfilled with rate-limit code ${fulfilledRateLimit}`), { response: {
844
- status: 200,
845
- data: result
846
- } });
847
- return result;
848
- }, {
849
- attempts: 3,
850
- minDelayMs: FEISHU_SEND_RETRY_BASE_MS,
851
- shouldRetry: (error) => getFeishuSendRateLimitCode(error) !== void 0
852
- });
853
- } catch (error) {
854
- throw createFeishuApiError(error, errorPrefix, options);
855
- }
856
- }
857
- function readDocsLinkUrl(element) {
858
- const docsLink = isRecord(element.docs_link) ? element.docs_link : void 0;
859
- return normalizeOptionalString(docsLink?.url) || normalizeOptionalString(docsLink?.link) || normalizeOptionalString(element.url) || normalizeOptionalString(element.link) || void 0;
860
- }
861
- function readMentionUserId(element) {
862
- const mention = isRecord(element.mention) ? element.mention : void 0;
863
- const person = isRecord(element.person) ? element.person : void 0;
864
- return normalizeOptionalString(person?.user_id) || normalizeOptionalString(mention?.user_id) || normalizeOptionalString(mention?.open_id) || normalizeOptionalString(element.mention_user) || normalizeOptionalString(element.user_id) || void 0;
865
- }
866
- function readMentionDisplayText(element, userId) {
867
- const mention = isRecord(element.mention) ? element.mention : void 0;
868
- const mentionName = normalizeOptionalString(mention?.name) || normalizeOptionalString(mention?.display_name) || normalizeOptionalString(element.name);
869
- return mentionName ? `@${mentionName}` : `@${userId}`;
870
- }
871
- function normalizeCommentText(parts) {
872
- return parts.join("").trim() || void 0;
873
- }
874
- function normalizeCommentSemanticText(parts) {
875
- return parts.join("").replace(/\s+/g, " ").trim() || void 0;
876
- }
877
- function readElementTextPreservingWhitespace(element) {
878
- return (isRecord(element.text_run) ? readStringValue(element.text_run.content) || readStringValue(element.text_run.text) : void 0) || readStringValue(element.text) || readStringValue(element.content) || readStringValue(element.name) || void 0;
879
- }
880
- const FEISHU_LINK_TOKEN_MIN_LENGTH = 22;
881
- const FEISHU_LINK_TOKEN_MAX_LENGTH = 28;
882
- const COMMENT_LINK_KIND_ALIASES = /* @__PURE__ */ new Map([
883
- ["doc", "doc"],
884
- ["docs", "doc"],
885
- ["docx", "docx"],
886
- ["sheet", "sheet"],
887
- ["sheets", "sheet"],
888
- ["slide", "slides"],
889
- ["slides", "slides"],
890
- ["file", "file"],
891
- ["files", "file"],
892
- ["wiki", "wiki"],
893
- ["mindnote", "mindnote"],
894
- ["mindnotes", "mindnote"],
895
- ["bitable", "bitable"],
896
- ["base", "base"]
897
- ]);
898
- function isCommentFileType(value) {
899
- return typeof value === "string" && FEISHU_COMMENT_FILE_TYPES.includes(value);
900
- }
901
- function isReasonableFeishuLinkToken(token) {
902
- return typeof token === "string" && token.length >= FEISHU_LINK_TOKEN_MIN_LENGTH && token.length <= FEISHU_LINK_TOKEN_MAX_LENGTH;
903
- }
904
- function parseCommentLinkedDocumentPath(pathname) {
905
- const segments = normalizeStringEntries(pathname.split("/"));
906
- const offset = segments[0]?.toLowerCase() === "space" ? 1 : 0;
907
- const kind = COMMENT_LINK_KIND_ALIASES.get(segments[offset]?.toLowerCase() ?? "");
908
- const token = normalizeOptionalString(segments[offset + 1]);
909
- if (!kind || !isReasonableFeishuLinkToken(token)) return null;
910
- return {
911
- urlKind: kind,
912
- token
913
- };
914
- }
915
- function hasResolvedLinkedDocumentReference(link) {
916
- return link.urlKind !== "unknown" && (Boolean(link.resolvedObjToken) || Boolean(link.wikiNodeToken));
917
- }
918
- function resolveCommentLinkedDocumentFromUrl(params) {
919
- const link = {
920
- rawUrl: params.rawUrl,
921
- urlKind: "unknown"
922
- };
923
- try {
924
- const parsedPath = parseCommentLinkedDocumentPath(new URL(params.rawUrl).pathname);
925
- if (!parsedPath) return link;
926
- const { urlKind, token } = parsedPath;
927
- link.urlKind = urlKind;
928
- if (urlKind === "wiki") {
929
- link.urlKind = "wiki";
930
- link.wikiNodeToken = token;
931
- } else {
932
- link.resolvedObjType = urlKind;
933
- link.resolvedObjToken = token;
934
- }
935
- if (link.resolvedObjType && link.resolvedObjToken && isCommentFileType(link.resolvedObjType) && params.currentDocument?.fileType === link.resolvedObjType && params.currentDocument.fileToken === link.resolvedObjToken) link.isCurrentDocument = true;
936
- else if (link.resolvedObjType && link.resolvedObjToken && isCommentFileType(link.resolvedObjType)) link.isCurrentDocument = false;
937
- } catch {
938
- return link;
939
- }
940
- return link;
941
- }
942
- function parseCommentContentElements(params) {
943
- const elements = Array.isArray(params.elements) ? params.elements : [];
944
- const plainTextParts = [];
945
- const semanticTextParts = [];
946
- const mentions = [];
947
- const linkedDocuments = [];
948
- const botIds = new Set(Array.from(params.botOpenIds ?? []).map((value) => normalizeOptionalString(value)).filter((value) => Boolean(value)));
949
- const linkedDocumentKeys = /* @__PURE__ */ new Set();
950
- let botMentioned = false;
951
- for (const rawElement of elements) {
952
- if (!isRecord(rawElement)) continue;
953
- const element = rawElement;
954
- const type = normalizeOptionalString(element.type);
955
- const text = (type === "text_run" ? readElementTextPreservingWhitespace(element) : void 0) || (type === "text" ? readElementTextPreservingWhitespace(element) : void 0) || (type === "docs_link" || type === "link" ? readDocsLinkUrl(element) : void 0) || (type === "mention" || type === "mention_user" || type === "person" ? (() => {
956
- const userId = readMentionUserId(element);
957
- return userId ? readMentionDisplayText(element, userId) : void 0;
958
- })() : void 0) || readElementTextPreservingWhitespace(element) || void 0;
959
- if (type === "mention" || type === "mention_user" || type === "person") {
960
- const userId = readMentionUserId(element);
961
- if (userId) {
962
- const displayText = readMentionDisplayText(element, userId);
963
- const isBotMention = botIds.has(userId);
964
- mentions.push({
965
- userId,
966
- displayText,
967
- isBotMention
968
- });
969
- plainTextParts.push(displayText);
970
- if (!isBotMention) semanticTextParts.push(displayText);
971
- else botMentioned = true;
972
- continue;
973
- }
974
- }
975
- if (type === "docs_link" || type === "link") {
976
- const rawUrl = readDocsLinkUrl(element);
977
- if (rawUrl) {
978
- plainTextParts.push(rawUrl);
979
- semanticTextParts.push(rawUrl);
980
- const linkedDocument = resolveCommentLinkedDocumentFromUrl({
981
- rawUrl,
982
- currentDocument: params.currentDocument
983
- });
984
- if (hasResolvedLinkedDocumentReference(linkedDocument)) {
985
- const key = [
986
- linkedDocument.rawUrl,
987
- linkedDocument.urlKind,
988
- linkedDocument.resolvedObjType,
989
- linkedDocument.resolvedObjToken,
990
- linkedDocument.wikiNodeToken
991
- ].join(":");
992
- if (!linkedDocumentKeys.has(key)) {
993
- linkedDocumentKeys.add(key);
994
- linkedDocuments.push(linkedDocument);
995
- }
996
- }
997
- continue;
998
- }
999
- }
1000
- if (text) {
1001
- plainTextParts.push(text);
1002
- semanticTextParts.push(text);
1003
- }
1004
- }
1005
- return {
1006
- plainText: normalizeCommentText(plainTextParts),
1007
- semanticText: normalizeCommentSemanticText(semanticTextParts),
1008
- mentions,
1009
- linkedDocuments,
1010
- botMentioned
1011
- };
1012
- }
1013
- function extractReplyText(reply) {
1014
- if (!reply || !isRecord(reply.content)) return;
1015
- return parseCommentContentElements({ elements: Array.isArray(reply.content.elements) ? reply.content.elements : [] }).plainText;
1016
- }
1017
- //#endregion
1018
- //#region extensions/feishu/src/comment-reaction.ts
1019
- const COMMENT_TYPING_REACTION_TYPE = "Typing";
1020
- const COMMENT_REACTION_TIMEOUT_MS = 3e4;
1021
- const commentTypingReactionState = /* @__PURE__ */ new Map();
1022
- function buildCommentTypingReactionKey(params) {
1023
- return `${params.fileType}:${params.fileToken}:${params.replyId}`;
1024
- }
1025
- function ensureCommentTypingReactionState(key) {
1026
- const existing = commentTypingReactionState.get(key);
1027
- if (existing) return existing;
1028
- const created = {
1029
- active: false,
1030
- cleaned: false,
1031
- cleanupPromise: void 0
1032
- };
1033
- commentTypingReactionState.set(key, created);
1034
- return created;
1035
- }
1036
- async function requestCommentTypingReactionWithClient(params) {
1037
- try {
1038
- const response = await params.client.request({
1039
- method: "POST",
1040
- url: `/open-apis/drive/v2/files/${encodeURIComponent(params.fileToken)}/comments/reaction` + encodeQuery({ file_type: params.fileType }),
1041
- data: {
1042
- action: params.action,
1043
- reply_id: params.replyId,
1044
- reaction_type: COMMENT_TYPING_REACTION_TYPE
1045
- },
1046
- timeout: COMMENT_REACTION_TIMEOUT_MS
1047
- });
1048
- if (response.code === 0) return true;
1049
- params.runtime?.log?.(`${params.logPrefix ?? "[feishu]"}: comment typing reaction ${params.action} failed reply=${params.replyId} file=${params.fileType}:${params.fileToken} code=${response.code ?? "unknown"} msg=${response.msg ?? "unknown"} log_id=${response.log_id ?? response.error?.log_id ?? "unknown"}`);
1050
- } catch (error) {
1051
- params.runtime?.log?.(`${params.logPrefix ?? "[feishu]"}: comment typing reaction ${params.action} threw reply=${params.replyId} file=${params.fileType}:${params.fileToken} error=${formatCommentReactionFailure(error)}`);
1052
- }
1053
- return false;
1054
- }
1055
- function formatCommentReactionFailure(error) {
1056
- return formatFeishuApiError(error, { includeNestedErrorLogId: true });
1057
- }
1058
- async function requestCommentTypingReaction(params) {
1059
- const account = resolveFeishuRuntimeAccount({
1060
- cfg: params.cfg,
1061
- accountId: params.accountId
1062
- });
1063
- if (!account.configured || !(account.config.typingIndicator ?? true)) return false;
1064
- return requestCommentTypingReactionWithClient({
1065
- client: createFeishuClient(account),
1066
- fileToken: params.fileToken,
1067
- fileType: params.fileType,
1068
- replyId: params.replyId,
1069
- action: params.action,
1070
- runtime: params.runtime,
1071
- logPrefix: `feishu[${account.accountId}]`
1072
- });
1073
- }
1074
- async function cleanupCommentTypingReactionByKey(params) {
1075
- const state = ensureCommentTypingReactionState(params.key);
1076
- if (state.cleaned) return false;
1077
- if (state.cleanupPromise) return await state.cleanupPromise;
1078
- const cleanupPromise = (async () => {
1079
- if (!state.active) {
1080
- state.cleaned = true;
1081
- return false;
1082
- }
1083
- const deleted = await params.performDelete();
1084
- if (deleted) {
1085
- state.cleaned = true;
1086
- state.active = false;
1087
- }
1088
- return deleted;
1089
- })();
1090
- state.cleanupPromise = cleanupPromise;
1091
- try {
1092
- return await cleanupPromise;
1093
- } finally {
1094
- state.cleanupPromise = void 0;
1095
- if (state.cleaned) {
1096
- state.active = false;
1097
- commentTypingReactionState.delete(params.key);
1098
- }
1099
- }
1100
- }
1101
- async function cleanupAmbientCommentTypingReaction(params) {
1102
- const deliveryContext = params.deliveryContext;
1103
- if (deliveryContext?.channel && deliveryContext.channel !== "feishu" && deliveryContext.channel !== "feishu-comment") return false;
1104
- const target = parseFeishuCommentTarget(deliveryContext?.to);
1105
- const replyId = typeof deliveryContext?.threadId === "string" || typeof deliveryContext?.threadId === "number" ? String(deliveryContext.threadId).trim() : "";
1106
- if (!target || !replyId) return false;
1107
- return cleanupCommentTypingReactionByKey({
1108
- key: buildCommentTypingReactionKey({
1109
- fileToken: target.fileToken,
1110
- fileType: target.fileType,
1111
- replyId
1112
- }),
1113
- performDelete: () => requestCommentTypingReactionWithClient({
1114
- client: params.client,
1115
- fileToken: target.fileToken,
1116
- fileType: target.fileType,
1117
- replyId,
1118
- action: "delete",
1119
- runtime: params.runtime,
1120
- logPrefix: "[feishu]"
1121
- })
1122
- });
1123
- }
1124
- function createCommentTypingReactionLifecycle(params) {
1125
- const key = params.replyId?.trim() ? buildCommentTypingReactionKey({
1126
- fileToken: params.fileToken,
1127
- fileType: params.fileType,
1128
- replyId: params.replyId.trim()
1129
- }) : void 0;
1130
- const state = key ? ensureCommentTypingReactionState(key) : void 0;
1131
- return {
1132
- start: async () => {
1133
- const replyId = params.replyId?.trim();
1134
- if (!state || state.cleaned || state.active || !replyId) return;
1135
- state.active = await requestCommentTypingReaction({
1136
- cfg: params.cfg,
1137
- fileToken: params.fileToken,
1138
- fileType: params.fileType,
1139
- replyId,
1140
- action: "add",
1141
- accountId: params.accountId,
1142
- runtime: params.runtime
1143
- });
1144
- },
1145
- cleanup: async () => {
1146
- const replyId = params.replyId?.trim();
1147
- if (!key || !replyId) return;
1148
- await cleanupCommentTypingReactionByKey({
1149
- key,
1150
- performDelete: () => requestCommentTypingReaction({
1151
- cfg: params.cfg,
1152
- fileToken: params.fileToken,
1153
- fileType: params.fileType,
1154
- replyId,
1155
- action: "delete",
1156
- accountId: params.accountId,
1157
- runtime: params.runtime
1158
- })
1159
- });
1160
- }
1161
- };
1162
- }
1163
- //#endregion
1164
- //#region extensions/feishu/src/drive-schema.ts
1165
- const FileType = Type.Union([
1166
- Type.Literal("doc"),
1167
- Type.Literal("docx"),
1168
- Type.Literal("sheet"),
1169
- Type.Literal("bitable"),
1170
- Type.Literal("folder"),
1171
- Type.Literal("file"),
1172
- Type.Literal("mindnote"),
1173
- Type.Literal("shortcut")
1174
- ]);
1175
- const CommentFileType = Type.Union([
1176
- Type.Literal("doc"),
1177
- Type.Literal("docx"),
1178
- Type.Literal("sheet"),
1179
- Type.Literal("file"),
1180
- Type.Literal("slides")
1181
- ]);
1182
- const FeishuDriveSchema = Type.Union([
1183
- Type.Object({
1184
- action: Type.Literal("list"),
1185
- folder_token: Type.Optional(Type.String({ description: "Folder token (optional, omit for root directory)" })),
1186
- page_size: Type.Optional(Type.Integer({
1187
- minimum: 1,
1188
- maximum: 200,
1189
- description: "Items per folder page (1-200; requires folder_token)"
1190
- })),
1191
- page_token: Type.Optional(Type.String({ description: "Continuation token from a prior list result (requires the same folder_token)" }))
1192
- }),
1193
- Type.Object({
1194
- action: Type.Literal("info"),
1195
- file_token: Type.String({ description: "File or folder token" }),
1196
- type: FileType
1197
- }),
1198
- Type.Object({
1199
- action: Type.Literal("create_folder"),
1200
- name: Type.String({ description: "Folder name" }),
1201
- folder_token: Type.Optional(Type.String({ description: "Parent folder token (optional, omit for root)" }))
1202
- }),
1203
- Type.Object({
1204
- action: Type.Literal("move"),
1205
- file_token: Type.String({ description: "File token to move" }),
1206
- type: FileType,
1207
- folder_token: Type.String({ description: "Target folder token" })
1208
- }),
1209
- Type.Object({
1210
- action: Type.Literal("delete"),
1211
- file_token: Type.String({ description: "File token to delete" }),
1212
- type: FileType
1213
- }),
1214
- Type.Object({
1215
- action: Type.Literal("list_comments"),
1216
- file_token: Type.String({ description: "Document token" }),
1217
- file_type: Type.Optional(CommentFileType),
1218
- page_size: Type.Optional(Type.Integer({
1219
- minimum: 1,
1220
- maximum: 100,
1221
- description: "Page size"
1222
- })),
1223
- page_token: Type.Optional(Type.String({ description: "Comment page token" }))
1224
- }),
1225
- Type.Object({
1226
- action: Type.Literal("list_comment_replies"),
1227
- file_token: Type.String({ description: "Document token" }),
1228
- file_type: Type.Optional(CommentFileType),
1229
- comment_id: Type.String({ description: "Comment id" }),
1230
- page_size: Type.Optional(Type.Integer({
1231
- minimum: 1,
1232
- maximum: 100,
1233
- description: "Page size"
1234
- })),
1235
- page_token: Type.Optional(Type.String({ description: "Reply page token" }))
1236
- }),
1237
- Type.Object({
1238
- action: Type.Literal("add_comment"),
1239
- file_token: Type.String({ description: "Document token" }),
1240
- file_type: Type.Optional(Type.Union([Type.Literal("doc"), Type.Literal("docx")], { description: "Document type. Defaults to docx when omitted." })),
1241
- content: Type.String({ description: "Comment text content" }),
1242
- block_id: Type.Optional(Type.String({ description: "Optional docx block id for a local comment. Omit to create a full-document comment." }))
1243
- }),
1244
- Type.Object({
1245
- action: Type.Literal("reply_comment"),
1246
- file_token: Type.String({ description: "Document token" }),
1247
- file_type: Type.Optional(CommentFileType),
1248
- comment_id: Type.String({ description: "Comment id" }),
1249
- content: Type.String({ description: "Reply text content" })
1250
- })
1251
- ]);
1252
- //#endregion
1253
- //#region extensions/feishu/src/tools-config.ts
1254
- /**
1255
- * Default tool configuration.
1256
- * - doc, chat, wiki, drive, scopes, bitable: enabled by default
1257
- * - perm: disabled by default (sensitive operation)
1258
- */
1259
- const DEFAULT_TOOLS_CONFIG = {
1260
- doc: true,
1261
- chat: true,
1262
- wiki: true,
1263
- drive: true,
1264
- perm: false,
1265
- scopes: true,
1266
- bitable: true
1267
- };
1268
- /** Resolve tools config with defaults. */
1269
- function resolveToolsConfig(cfg) {
1270
- return {
1271
- ...DEFAULT_TOOLS_CONFIG,
1272
- ...cfg
1273
- };
1274
- }
1275
- //#endregion
1276
- //#region extensions/feishu/src/tool-account.ts
1277
- function resolveImplicitToolAccountId(params) {
1278
- const explicitAccountId = normalizeOptionalString(params.executeParams?.accountId);
1279
- if (explicitAccountId) {
1280
- const normalizedAccountId = normalizeOptionalAccountId(explicitAccountId);
1281
- if (!normalizedAccountId) throw new Error(`Invalid Feishu account ID "${explicitAccountId}"`);
1282
- const listedAccountId = listFeishuAccountIds(params.cfg).find((accountId) => normalizeOptionalAccountId(accountId) === normalizedAccountId) ?? (() => {
1283
- const defaultAccountId = resolveDefaultFeishuAccountId(params.cfg);
1284
- return normalizeOptionalAccountId(defaultAccountId) === normalizedAccountId ? defaultAccountId : void 0;
1285
- })();
1286
- if (!listedAccountId) throw new Error(`Unknown Feishu account "${explicitAccountId}"`);
1287
- if (!resolveFeishuAccount({
1288
- cfg: params.cfg,
1289
- accountId: normalizedAccountId
1290
- }).enabled) throw new Error(`Feishu account "${listedAccountId}" is disabled`);
1291
- return normalizedAccountId;
1292
- }
1293
- const contextualAccountId = normalizeOptionalAccountId(params.defaultAccountId);
1294
- if (contextualAccountId !== void 0 && listFeishuAccountIds(params.cfg).some((accountId) => normalizeOptionalAccountId(accountId) === contextualAccountId)) {
1295
- if (resolveFeishuAccount({
1296
- cfg: params.cfg,
1297
- accountId: contextualAccountId
1298
- }).enabled) return contextualAccountId;
1299
- }
1300
- const configuredDefaultAccountId = normalizeOptionalString((params.cfg.channels?.feishu)?.defaultAccount);
1301
- if (configuredDefaultAccountId && resolveFeishuAccount({
1302
- cfg: params.cfg,
1303
- accountId: configuredDefaultAccountId
1304
- }).enabled) return configuredDefaultAccountId;
1305
- for (const accountId of listFeishuAccountIds(params.cfg)) {
1306
- const account = resolveFeishuAccount({
1307
- cfg: params.cfg,
1308
- accountId
1309
- });
1310
- if (account.enabled && account.configured && resolveToolsConfig(account.config.tools)[params.requiredTool.family]) return accountId;
1311
- }
1312
- throw new Error(`No usable Feishu account has ${params.requiredTool.label} tools enabled`);
1313
- }
1314
- function resolveFeishuToolAccount(params) {
1315
- const account = resolveFeishuRuntimeAccount({
1316
- cfg: params.cfg,
1317
- accountId: resolveImplicitToolAccountId(params)
1318
- });
1319
- if (!resolveToolsConfig(account.config.tools)[params.requiredTool.family]) throw new Error(`Feishu ${params.requiredTool.label} tools are disabled for account "${account.accountId}"`);
1320
- return account;
1321
- }
1322
- function createFeishuToolClient(params) {
1323
- return createFeishuClient(resolveFeishuToolAccount(params));
1324
- }
1325
- function resolveAnyEnabledFeishuToolsConfig(config) {
1326
- const accounts = listEnabledFeishuAccounts(config);
1327
- const merged = {
1328
- doc: false,
1329
- chat: false,
1330
- wiki: false,
1331
- drive: false,
1332
- perm: false,
1333
- scopes: false,
1334
- bitable: false
1335
- };
1336
- for (const account of accounts) {
1337
- const cfg = resolveToolsConfig(account.config.tools);
1338
- merged.doc = merged.doc || cfg.doc;
1339
- merged.chat = merged.chat || cfg.chat;
1340
- merged.wiki = merged.wiki || cfg.wiki;
1341
- merged.drive = merged.drive || cfg.drive;
1342
- merged.perm = merged.perm || cfg.perm;
1343
- merged.scopes = merged.scopes || cfg.scopes;
1344
- merged.bitable = merged.bitable || cfg.bitable;
1345
- }
1346
- return merged;
1347
- }
1348
- //#endregion
1349
- //#region extensions/feishu/src/tool-result.ts
1350
- function feishuExternalToolResult(details) {
1351
- return {
1352
- content: [{
1353
- type: "text",
1354
- text: wrapExternalContent(JSON.stringify(details, null, 2), {
1355
- source: "api",
1356
- includeWarning: false
1357
- })
1358
- }],
1359
- details
1360
- };
1361
- }
1362
- function unknownToolActionResult(action) {
1363
- return jsonResult({ error: `Unknown action: ${String(action)}` });
1364
- }
1365
- function toolExecutionErrorResult(error) {
1366
- return feishuExternalToolResult({ error: formatErrorMessage(error) });
1367
- }
1368
- //#endregion
1369
- //#region extensions/feishu/src/drive.ts
1370
- const FEISHU_DRIVE_REQUEST_TIMEOUT_MS = 3e4;
1371
- function getDriveInternalClient(client) {
1372
- return client;
1373
- }
1374
- function buildReplyElements(content) {
1375
- return [{
1376
- type: "text",
1377
- text: content
1378
- }];
1379
- }
1380
- async function requestDriveApi(params) {
1381
- return await getDriveInternalClient(params.client).request({
1382
- method: params.method,
1383
- url: params.url,
1384
- params: params.query ?? {},
1385
- data: params.data ?? {},
1386
- timeout: FEISHU_DRIVE_REQUEST_TIMEOUT_MS
1387
- });
1388
- }
1389
- function assertDriveApiSuccess(response) {
1390
- if (response.code !== 0) throw new Error(response.msg ?? "Feishu Drive API request failed");
1391
- return response;
1392
- }
1393
- function normalizeCommentReply(reply) {
1394
- return {
1395
- reply_id: reply.reply_id,
1396
- user_id: reply.user_id,
1397
- create_time: reply.create_time,
1398
- update_time: reply.update_time,
1399
- text: extractReplyText(reply)
1400
- };
1401
- }
1402
- function normalizeCommentCard(comment) {
1403
- const replies = comment.reply_list?.replies ?? [];
1404
- const rootReply = replies[0];
1405
- return {
1406
- comment_id: comment.comment_id,
1407
- user_id: comment.user_id,
1408
- create_time: comment.create_time,
1409
- update_time: comment.update_time,
1410
- is_solved: comment.is_solved,
1411
- is_whole: comment.is_whole,
1412
- quote: comment.quote,
1413
- text: extractReplyText(rootReply),
1414
- has_more_replies: comment.has_more,
1415
- replies_page_token: comment.page_token,
1416
- replies: replies.slice(1).map(normalizeCommentReply)
1417
- };
1418
- }
1419
- function normalizeCommentPageSize(pageSize) {
1420
- if (typeof pageSize !== "number" || !Number.isFinite(pageSize)) return;
1421
- return String(Math.min(Math.max(Math.floor(pageSize), 1), 100));
1422
- }
1423
- function resolveAmbientCommentTarget(context) {
1424
- const deliveryContext = context?.deliveryContext;
1425
- if (deliveryContext?.channel && deliveryContext.channel !== "feishu") return null;
1426
- return parseFeishuCommentTarget(deliveryContext?.to);
1427
- }
1428
- function resolveDriveCommentParams(params, context, action) {
1429
- const ambient = resolveAmbientCommentTarget(context);
1430
- let resolved = params;
1431
- if (ambient && (action !== "add_comment" || ambient.fileType === "doc" || ambient.fileType === "docx")) resolved = {
1432
- ...params,
1433
- file_token: params.file_token?.trim() || ambient.fileToken,
1434
- file_type: params.file_type ?? ambient.fileType,
1435
- ...action !== "add_comment" && { comment_id: params.comment_id?.trim() || ambient.commentId }
1436
- };
1437
- const fileType = resolved.file_type ?? "docx";
1438
- if (!resolved.file_type) console.info(`[feishu_drive] ${action} missing file_type; defaulting to docx file_token=${resolved.file_token ?? "unknown"}`);
1439
- return {
1440
- ...resolved,
1441
- file_type: fileType
1442
- };
1443
- }
1444
- function formatDriveApiError(error) {
1445
- return formatFeishuApiError(error, { includeConfigParams: true });
1446
- }
1447
- function extractDriveApiErrorMeta(error) {
1448
- if (!isRecord(error)) return { message: typeof error === "string" ? error : JSON.stringify(error) };
1449
- const response = isRecord(error.response) ? error.response : void 0;
1450
- const responseData = isRecord(response?.data) ? response?.data : void 0;
1451
- return {
1452
- message: typeof error.message === "string" ? error.message : typeof error === "string" ? error : JSON.stringify(error),
1453
- httpStatus: typeof response?.status === "number" ? response.status : void 0,
1454
- feishuCode: typeof responseData?.code === "number" ? responseData.code : readStringValue(responseData?.code),
1455
- feishuMsg: readStringValue(responseData?.msg),
1456
- feishuLogId: readStringValue(responseData?.log_id)
1457
- };
1458
- }
1459
- function isReplyNotAllowedError(error) {
1460
- if (!(error instanceof FeishuReplyCommentError)) return false;
1461
- return error.feishuCode === 1069302;
1462
- }
1463
- async function getRootFolderToken(client) {
1464
- const internalClient = getDriveInternalClient(client);
1465
- const domain = internalClient.domain ?? "https://open.feishu.cn";
1466
- const res = await internalClient.httpInstance.get(`${domain}/open-apis/drive/explorer/v2/root_folder/meta`);
1467
- if (res.code !== 0) throw new Error(res.msg ?? "Failed to get root folder");
1468
- const token = res.data?.token;
1469
- if (!token) throw new Error("Root folder token not found");
1470
- return token;
1471
- }
1472
- async function listFolder(client, params = {}) {
1473
- const folderToken = typeof params.folder_token === "string" ? params.folder_token.trim() : void 0;
1474
- const validFolderToken = folderToken && folderToken !== "0" ? folderToken : void 0;
1475
- const pageSize = readPositiveIntegerParam(params, "page_size", {
1476
- max: 200,
1477
- message: "page_size must be a positive integer between 1 and 200"
1478
- });
1479
- const pageToken = typeof params.page_token === "string" ? params.page_token.trim() : void 0;
1480
- const listParams = validFolderToken ? {
1481
- folder_token: validFolderToken,
1482
- ...pageSize ? { page_size: pageSize } : {},
1483
- ...pageToken ? { page_token: pageToken } : {}
1484
- } : {};
1485
- const res = await client.drive.file.list({ params: listParams });
1486
- if (res.code !== 0) throw new Error(res.msg);
1487
- return {
1488
- files: res.data?.files?.map((f) => ({
1489
- token: f.token,
1490
- name: f.name,
1491
- type: f.type,
1492
- url: f.url,
1493
- created_time: f.created_time,
1494
- modified_time: f.modified_time,
1495
- owner_id: f.owner_id
1496
- })) ?? [],
1497
- next_page_token: res.data?.next_page_token
1498
- };
1499
- }
1500
- async function getRootFileInfo(client, fileToken) {
1501
- const res = await client.drive.file.list({ params: {} });
1502
- if (res.code !== 0) throw new Error(res.msg);
1503
- const file = res.data?.files?.find((candidate) => candidate.token === fileToken);
1504
- if (!file) throw new Error(`File not found: ${fileToken}`);
1505
- return {
1506
- token: file.token,
1507
- name: file.name,
1508
- type: file.type,
1509
- url: file.url,
1510
- created_time: file.created_time,
1511
- modified_time: file.modified_time,
1512
- owner_id: file.owner_id
1513
- };
1514
- }
1515
- async function getFileInfo(client, fileToken, type) {
1516
- if (type === "shortcut") return getRootFileInfo(client, fileToken);
1517
- let res;
1518
- try {
1519
- res = await client.drive.meta.batchQuery({ data: {
1520
- request_docs: [{
1521
- doc_token: fileToken,
1522
- doc_type: type
1523
- }],
1524
- with_url: true
1525
- } });
1526
- } catch (error) {
1527
- if (extractDriveApiErrorMeta(error).feishuCode === 99991672) return getRootFileInfo(client, fileToken);
1528
- throw error;
1529
- }
1530
- if (res.code === 99991672) return getRootFileInfo(client, fileToken);
1531
- if (res.code !== 0) throw new Error(res.msg);
1532
- const file = res.data?.metas?.find((meta) => meta.doc_token === fileToken || meta.request_doc_info?.doc_token === fileToken);
1533
- if (!file) throw new Error(`File not found: ${fileToken}`);
1534
- return {
1535
- token: file.doc_token,
1536
- name: file.title,
1537
- type: file.doc_type,
1538
- url: file.url,
1539
- created_time: file.create_time,
1540
- modified_time: file.latest_modify_time,
1541
- owner_id: file.owner_id
1542
- };
1543
- }
1544
- async function createFolder(client, name, folderToken) {
1545
- let effectiveToken = folderToken && folderToken !== "0" ? folderToken : "0";
1546
- if (effectiveToken === "0") try {
1547
- effectiveToken = await getRootFolderToken(client);
1548
- } catch {}
1549
- const res = await client.drive.file.createFolder({ data: {
1550
- name,
1551
- folder_token: effectiveToken
1552
- } });
1553
- if (res.code !== 0) throw new Error(res.msg);
1554
- return {
1555
- token: res.data?.token,
1556
- url: res.data?.url
1557
- };
1558
- }
1559
- async function moveFile(client, fileToken, type, folderToken) {
1560
- const res = await client.drive.file.move({
1561
- path: { file_token: fileToken },
1562
- data: {
1563
- type,
1564
- folder_token: folderToken
1565
- }
1566
- });
1567
- if (res.code !== 0) throw new Error(res.msg);
1568
- return {
1569
- success: true,
1570
- task_id: res.data?.task_id
1571
- };
1572
- }
1573
- async function deleteFile(client, fileToken, type) {
1574
- const res = await client.drive.file.delete({
1575
- path: { file_token: fileToken },
1576
- params: { type }
1577
- });
1578
- if (res.code !== 0) throw new Error(res.msg);
1579
- return {
1580
- success: true,
1581
- task_id: res.data?.task_id
1582
- };
1583
- }
1584
- async function listDriveCommentPage(client, params) {
1585
- const filePath = `/open-apis/drive/v1/files/${encodeURIComponent(params.file_token)}/comments`;
1586
- const isReplies = params.action === "list_comment_replies";
1587
- const response = assertDriveApiSuccess(await requestDriveApi({
1588
- client,
1589
- method: "GET",
1590
- url: (isReplies ? `${filePath}/${encodeURIComponent(params.comment_id)}/replies` : filePath) + encodeQuery({
1591
- file_type: params.file_type,
1592
- page_size: normalizeCommentPageSize(params.page_size),
1593
- page_token: params.page_token,
1594
- user_id_type: "open_id"
1595
- })
1596
- }));
1597
- return {
1598
- has_more: response.data?.has_more ?? false,
1599
- page_token: response.data?.page_token,
1600
- ...isReplies ? { replies: (response.data?.items ?? []).map(normalizeCommentReply) } : { comments: (response.data?.items ?? []).map(normalizeCommentCard) }
1601
- };
1602
- }
1603
- async function addComment(client, params) {
1604
- if (params.block_id?.trim() && params.file_type !== "docx") throw new Error("block_id is only supported for docx comments");
1605
- return {
1606
- success: true,
1607
- ...assertDriveApiSuccess(await withFeishuMessageDispatch(() => requestDriveApi({
1608
- client,
1609
- method: "POST",
1610
- url: `/open-apis/drive/v1/files/${encodeURIComponent(params.file_token)}/new_comments`,
1611
- data: {
1612
- file_type: params.file_type,
1613
- reply_elements: buildReplyElements(params.content),
1614
- ...params.block_id?.trim() ? { anchor: { block_id: params.block_id.trim() } } : {}
1615
- }
1616
- }))).data
1617
- };
1618
- }
1619
- async function queryCommentById(client, params) {
1620
- return assertDriveApiSuccess(await requestDriveApi({
1621
- client,
1622
- method: "POST",
1623
- url: `/open-apis/drive/v1/files/${encodeURIComponent(params.file_token)}/comments/batch_query` + encodeQuery({
1624
- file_type: params.file_type,
1625
- user_id_type: "open_id"
1626
- }),
1627
- data: { comment_ids: [params.comment_id] }
1628
- })).data?.items?.find((comment) => comment.comment_id?.trim() === params.comment_id);
1629
- }
1630
- async function replyComment(client, params) {
1631
- const url = `/open-apis/drive/v1/files/${encodeURIComponent(params.file_token)}/comments/${encodeURIComponent(params.comment_id)}/replies`;
1632
- const query = { file_type: params.file_type };
1633
- try {
1634
- const response = await withFeishuMessageDispatch(() => requestDriveApi({
1635
- client,
1636
- method: "POST",
1637
- url,
1638
- query,
1639
- data: { content: { elements: [{
1640
- type: "text_run",
1641
- text_run: { text: params.content }
1642
- }] } }
1643
- }));
1644
- if (response.code === 0) return {
1645
- success: true,
1646
- ...response.data
1647
- };
1648
- console.warn(`[feishu_drive] replyComment failed comment=${params.comment_id} file_type=${params.file_type} code=${response.code ?? "unknown"} msg=${response.msg ?? "unknown"} log_id=${response.log_id ?? "unknown"}`);
1649
- throw new FeishuReplyCommentError({
1650
- message: response.msg ?? "Feishu Drive reply comment failed",
1651
- feishuCode: response.code,
1652
- feishuMsg: response.msg,
1653
- feishuLogId: response.log_id
1654
- });
1655
- } catch (error) {
1656
- if (error instanceof FeishuReplyCommentError || error instanceof PlatformMessageNotDispatchedError) throw error;
1657
- const meta = extractDriveApiErrorMeta(error);
1658
- console.warn(`[feishu_drive] replyComment threw comment=${params.comment_id} file_type=${params.file_type} error=${formatDriveApiError(error)}`);
1659
- throw new FeishuReplyCommentError({
1660
- message: meta.message,
1661
- httpStatus: meta.httpStatus,
1662
- feishuCode: meta.feishuCode,
1663
- feishuMsg: meta.feishuMsg,
1664
- feishuLogId: meta.feishuLogId
1665
- });
1666
- }
1667
- }
1668
- async function deliverCommentThreadText(client, params) {
1669
- let isWholeComment = params.is_whole_comment;
1670
- if (isWholeComment === void 0) try {
1671
- isWholeComment = (await queryCommentById(client, params))?.is_whole === true;
1672
- } catch (error) {
1673
- console.warn(`[feishu_drive] comment metadata preflight failed comment=${params.comment_id} file_type=${params.file_type} error=${formatErrorMessage(error)}`);
1674
- isWholeComment = false;
1675
- }
1676
- if (isWholeComment) {
1677
- if (params.file_type !== "doc" && params.file_type !== "docx") throw new Error(`Whole-document comment follow-ups are only supported for doc/docx (got ${params.file_type})`);
1678
- const wholeCommentFileType = params.file_type;
1679
- console.info(`[feishu_drive] whole-comment compatibility path comment=${params.comment_id} file_type=${params.file_type} mode=add_comment`);
1680
- return {
1681
- delivery_mode: "add_comment",
1682
- ...await addComment(client, {
1683
- file_token: params.file_token,
1684
- file_type: wholeCommentFileType,
1685
- content: params.content
1686
- })
1687
- };
1688
- }
1689
- try {
1690
- return {
1691
- delivery_mode: "reply_comment",
1692
- ...await replyComment(client, params)
1693
- };
1694
- } catch (error) {
1695
- if (error instanceof FeishuReplyCommentError && isReplyNotAllowedError(error)) {
1696
- if (params.file_type !== "doc" && params.file_type !== "docx") throw error;
1697
- const fallbackFileType = params.file_type;
1698
- console.info(`[feishu_drive] reply-not-allowed compatibility path comment=${params.comment_id} file_type=${params.file_type} mode=add_comment log_id=${error.feishuLogId ?? "unknown"}`);
1699
- return {
1700
- delivery_mode: "add_comment",
1701
- ...await addComment(client, {
1702
- file_token: params.file_token,
1703
- file_type: fallbackFileType,
1704
- content: params.content
1705
- })
1706
- };
1707
- }
1708
- throw error;
1709
- }
1710
- }
1711
- function registerFeishuDriveTools(api) {
1712
- api.registerTool((ctx) => {
1713
- const cfg = ctx.runtimeConfig ?? ctx.config ?? api.config;
1714
- if (!cfg || !resolveAnyEnabledFeishuToolsConfig(cfg).drive) return null;
1715
- const defaultAccountId = ctx.agentAccountId;
1716
- return {
1717
- name: "feishu_drive",
1718
- resultContentSource: "network",
1719
- label: "Feishu Drive",
1720
- description: "Feishu cloud storage operations. Actions: list, info, create_folder, move, delete, list_comments, list_comment_replies, add_comment, reply_comment",
1721
- parameters: FeishuDriveSchema,
1722
- async execute(_toolCallId, params) {
1723
- const p = params;
1724
- try {
1725
- const client = createFeishuToolClient({
1726
- cfg,
1727
- executeParams: p,
1728
- defaultAccountId,
1729
- requiredTool: {
1730
- family: "drive",
1731
- label: "Drive"
1732
- }
1733
- });
1734
- switch (p.action) {
1735
- case "list": return feishuExternalToolResult(await listFolder(client, {
1736
- folder_token: p.folder_token,
1737
- page_size: p.page_size,
1738
- page_token: p.page_token
1739
- }));
1740
- case "info": return feishuExternalToolResult(await getFileInfo(client, p.file_token, p.type));
1741
- case "create_folder": return feishuExternalToolResult(await createFolder(client, p.name, p.folder_token));
1742
- case "move": return feishuExternalToolResult(await moveFile(client, p.file_token, p.type, p.folder_token));
1743
- case "delete": return feishuExternalToolResult(await deleteFile(client, p.file_token, p.type));
1744
- case "list_comments":
1745
- case "list_comment_replies": return feishuExternalToolResult(await listDriveCommentPage(client, resolveDriveCommentParams(p, ctx, p.action)));
1746
- case "add_comment":
1747
- case "reply_comment": {
1748
- const resolved = resolveDriveCommentParams(p, ctx, p.action);
1749
- try {
1750
- return feishuExternalToolResult(await (resolved.action === "add_comment" ? addComment(client, resolved) : deliverCommentThreadText(client, resolved)));
1751
- } finally {
1752
- cleanupAmbientCommentTypingReaction({
1753
- client: getDriveInternalClient(client),
1754
- deliveryContext: ctx.deliveryContext
1755
- });
1756
- }
1757
- }
1758
- default: return unknownToolActionResult(p.action);
1759
- }
1760
- } catch (err) {
1761
- return toolExecutionErrorResult(err);
1762
- }
1763
- }
1764
- };
1765
- }, { name: "feishu_drive" });
1766
- }
1767
- //#endregion
1768
- //#region extensions/feishu/src/identity-header.ts
1769
- const emojiSegmenter = typeof Intl !== "undefined" && "Segmenter" in Intl ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null;
1770
- const keycapEmojiPattern = /^[0-9#*]\uFE0F?\u20E3$/u;
1771
- const emojiLikeSegmentPattern = /[\p{Emoji_Presentation}\p{Extended_Pictographic}\p{Regional_Indicator}]/u;
1772
- function splitGraphemes(input) {
1773
- if (!emojiSegmenter) return Array.from(input);
1774
- return Array.from(emojiSegmenter.segment(input), (segment) => segment.segment);
1775
- }
1776
- function isEmojiSegment(segment) {
1777
- return keycapEmojiPattern.test(segment) || emojiLikeSegmentPattern.test(segment);
1778
- }
1779
- function resolveFeishuIdentityEmoji(raw) {
1780
- const trimmed = raw?.trim();
1781
- if (!trimmed) return;
1782
- return splitGraphemes(trimmed).filter(isEmojiSegment).join("") || void 0;
1783
- }
1784
- function resolveFeishuIdentityHeaderTitle(identity) {
1785
- if (!identity) return "";
1786
- const name = identity.name?.trim() ?? "";
1787
- const emoji = resolveFeishuIdentityEmoji(identity.emoji);
1788
- return (emoji ? `${emoji} ${name}` : name).trim();
1789
- }
1790
- //#endregion
1791
- //#region extensions/feishu/src/media-fallback.ts
1792
- const FEISHU_MEDIA_UPLOAD_FAILURE_FALLBACK_TEXT = "Media upload failed. Please try again.";
1793
- function hasAsciiControlCharacter(value) {
1794
- return Array.from(value).some((character) => {
1795
- const code = character.charCodeAt(0);
1796
- return code <= 31 || code === 127;
1797
- });
1798
- }
1799
- async function resolvePublicFeishuMediaReference(value) {
1800
- const raw = value?.trim();
1801
- if (!raw || hasAsciiControlCharacter(raw)) return;
1802
- try {
1803
- const parsed = new URL(raw);
1804
- if (parsed.protocol !== "https:" && parsed.protocol !== "http:") return;
1805
- if (parsed.username || parsed.password || isBlockedHostnameOrIp(parsed.hostname)) return;
1806
- await resolvePinnedHostnameWithPolicy(parsed.hostname);
1807
- return parsed.href;
1808
- } catch {
1809
- return;
1810
- }
1811
- }
1812
- async function buildFeishuMediaFallbackText(params) {
1813
- const mediaUrl = await resolvePublicFeishuMediaReference(params.mediaUrl);
1814
- const attachmentText = mediaUrl ? `${params.mediaLinkStyle === "plain" ? "" : "📎 "}${mediaUrl}` : FEISHU_MEDIA_UPLOAD_FAILURE_FALLBACK_TEXT;
1815
- return [params.text?.trim(), attachmentText].filter(Boolean).join("\n\n");
1816
- }
1817
- //#endregion
1818
- //#region extensions/feishu/src/media-chunk-idle.ts
1819
- var FeishuInboundMediaTimeoutError = class extends Error {
1820
- constructor(chunkTimeoutMs) {
1821
- super(`Feishu media download stalled: no data received for ${chunkTimeoutMs}ms`);
1822
- this.name = "FeishuInboundMediaTimeoutError";
1823
- this.chunkTimeoutMs = chunkTimeoutMs;
1824
- }
1825
- };
1826
- function destroySource(source) {
1827
- const s = source;
1828
- if (typeof s.destroy === "function") s.destroy();
1829
- }
1830
- function withChunkIdleTimeout(source, chunkTimeoutMs, teardownSource) {
1831
- return { async *[Symbol.asyncIterator]() {
1832
- const iterator = source[Symbol.asyncIterator]();
1833
- let exhausted = false;
1834
- try {
1835
- while (true) {
1836
- const nextPromise = iterator.next();
1837
- let timeoutHandle;
1838
- const timeoutPromise = new Promise((_, reject) => {
1839
- timeoutHandle = setTimeout(() => {
1840
- reject(new FeishuInboundMediaTimeoutError(chunkTimeoutMs));
1841
- teardownSource();
1842
- }, chunkTimeoutMs);
1843
- });
1844
- let result;
1845
- try {
1846
- result = await Promise.race([nextPromise, timeoutPromise]);
1847
- } finally {
1848
- if (timeoutHandle !== void 0) clearTimeout(timeoutHandle);
1849
- }
1850
- if (result.done) {
1851
- exhausted = true;
1852
- return;
1853
- }
1854
- yield result.value;
1855
- }
1856
- } finally {
1857
- if (!exhausted && typeof iterator.return === "function") iterator.return().catch(() => void 0);
1858
- }
1859
- } };
1860
- }
1861
- async function saveMediaStreamWithIdleTimeout(stream, contentType, maxBytes, fileName, chunkTimeoutMs) {
1862
- let teardownAttempted = false;
1863
- const teardownSource = () => {
1864
- if (teardownAttempted) return;
1865
- teardownAttempted = true;
1866
- try {
1867
- destroySource(stream);
1868
- } catch {}
1869
- };
1870
- try {
1871
- return await saveMediaStream(withChunkIdleTimeout(stream, chunkTimeoutMs, teardownSource), contentType, "inbound", maxBytes, fileName);
1872
- } catch (error) {
1873
- teardownSource();
1874
- throw error;
1875
- }
1876
- }
1877
- //#endregion
1878
- //#region extensions/feishu/src/send-target.ts
1879
- function resolveFeishuSendTarget(params) {
1880
- const target = params.to.trim();
1881
- const account = resolveFeishuRuntimeAccount({
1882
- cfg: params.cfg,
1883
- accountId: params.accountId
1884
- });
1885
- if (!account.configured) throw new Error(`Feishu account "${account.accountId}" not configured`);
1886
- const client = createFeishuClient(account);
1887
- const receiveId = normalizeFeishuTarget(target);
1888
- if (!receiveId) throw new Error(`Invalid Feishu target: ${params.to}`);
1889
- const withoutProviderPrefix = target.replace(/^(feishu|lark):/i, "");
1890
- return {
1891
- client,
1892
- receiveId,
1893
- receiveIdType: resolveReceiveIdType(withoutProviderPrefix)
1894
- };
1895
- }
1896
- //#endregion
1897
- //#region extensions/feishu/src/api-response.ts
1898
- function assertFeishuApiSuccess(response, errorPrefix) {
1899
- if (response.code !== 0) throw new Error(`${errorPrefix}: ${response.msg || `code ${response.code}`}`);
1900
- }
1901
- //#endregion
1902
- //#region extensions/feishu/src/post.ts
1903
- const FALLBACK_POST_TEXT = "[Rich text message]";
1904
- const MARKDOWN_SPECIAL_CHARS = /([\\`*_{}[\]()#+\-!|>~])/g;
1905
- function toStringOrEmpty(value) {
1906
- return typeof value === "string" ? value : "";
1907
- }
1908
- function escapeMarkdownText(text) {
1909
- return text.replace(MARKDOWN_SPECIAL_CHARS, "\\$1");
1910
- }
1911
- function wrapInlineCode(text) {
1912
- const maxRun = Math.max(0, ...(text.match(/`+/g) ?? []).map((run) => run.length));
1913
- const fence = "`".repeat(maxRun + 1);
1914
- return `${fence}${text.startsWith("`") || text.endsWith("`") ? ` ${text} ` : text}${fence}`;
1915
- }
1916
- function sanitizeFenceLanguage(language) {
1917
- return language.trim().replace(/[^A-Za-z0-9_+#.-]/g, "");
1918
- }
1919
- function applyInlineStyles(text, style) {
1920
- const content = text.trim();
1921
- if (!content || !Array.isArray(style)) return text;
1922
- let rendered = content;
1923
- if (style.includes("bold")) rendered = `**${rendered}**`;
1924
- if (style.includes("italic")) rendered = `*${rendered}*`;
1925
- if (style.includes("underline")) rendered = `<u>${rendered}</u>`;
1926
- if (style.includes("lineThrough")) rendered = `~~${rendered}~~`;
1927
- return text.replace(content, () => rendered);
1928
- }
1929
- function renderLinkElement(element) {
1930
- const href = toStringOrEmpty(element.href).trim();
1931
- const text = toStringOrEmpty(element.text) || href;
1932
- if (!text) return "";
1933
- if (!href) return escapeMarkdownText(text);
1934
- return `[${escapeMarkdownText(text)}](${href})`;
1935
- }
1936
- function renderMentionElement(element) {
1937
- const mention = toStringOrEmpty(element.user_name) || toStringOrEmpty(element.user_id) || toStringOrEmpty(element.open_id);
1938
- if (!mention) return "";
1939
- return `@${escapeMarkdownText(mention)}`;
1940
- }
1941
- function renderEmotionElement(element) {
1942
- return escapeMarkdownText(toStringOrEmpty(element.emoji) || toStringOrEmpty(element.text) || toStringOrEmpty(element.emoji_type));
1943
- }
1944
- function renderCodeBlockElement(element) {
1945
- const language = sanitizeFenceLanguage(toStringOrEmpty(element.language) || toStringOrEmpty(element.lang));
1946
- const code = (toStringOrEmpty(element.text) || toStringOrEmpty(element.content)).replace(/\r\n/g, "\n");
1947
- return `\`\`\`${language}\n${code}${code.endsWith("\n") ? "" : "\n"}\`\`\``;
1948
- }
1949
- function renderElement(element, attachments, mentionedOpenIds, renderMediaPlaceholders) {
1950
- if (!isRecord(element)) return escapeMarkdownText(toStringOrEmpty(element));
1951
- switch (normalizeLowercaseStringOrEmpty(toStringOrEmpty(element.tag))) {
1952
- case "text": return applyInlineStyles(escapeMarkdownText(toStringOrEmpty(element.text)), element.style);
1953
- case "a": return applyInlineStyles(renderLinkElement(element), element.style);
1954
- case "at":
1955
- {
1956
- const mentioned = toStringOrEmpty(element.open_id) || toStringOrEmpty(element.user_id);
1957
- const normalizedMention = normalizeFeishuExternalKey(mentioned);
1958
- if (normalizedMention) mentionedOpenIds.push(normalizedMention);
1959
- }
1960
- return applyInlineStyles(renderMentionElement(element), element.style);
1961
- case "img": {
1962
- const imageKey = normalizeFeishuExternalKey(toStringOrEmpty(element.image_key));
1963
- if (imageKey) attachments.push({
1964
- kind: "image",
1965
- key: imageKey
1966
- });
1967
- return renderMediaPlaceholders ? "![image]" : "";
1968
- }
1969
- case "media": {
1970
- const fileKey = normalizeFeishuExternalKey(toStringOrEmpty(element.file_key));
1971
- if (fileKey) {
1972
- const fileName = toStringOrEmpty(element.file_name) || void 0;
1973
- attachments.push({
1974
- kind: "file",
1975
- key: fileKey,
1976
- ...fileName ? { fileName } : {}
1977
- });
1978
- }
1979
- return renderMediaPlaceholders ? "[media]" : "";
1980
- }
1981
- case "emotion": return renderEmotionElement(element);
1982
- case "md":
1983
- case "lark_md": return toStringOrEmpty(element.text) || toStringOrEmpty(element.content);
1984
- case "br": return "\n";
1985
- case "hr": return "\n\n---\n\n";
1986
- case "code": {
1987
- const code = toStringOrEmpty(element.text) || toStringOrEmpty(element.content);
1988
- return code ? wrapInlineCode(code) : "";
1989
- }
1990
- case "code_block":
1991
- case "pre": return renderCodeBlockElement(element);
1992
- default: return escapeMarkdownText(toStringOrEmpty(element.text));
1993
- }
1994
- }
1995
- function toPostPayload(candidate) {
1996
- if (!isRecord(candidate) || !Array.isArray(candidate.content)) return null;
1997
- return {
1998
- title: toStringOrEmpty(candidate.title),
1999
- content: candidate.content
2000
- };
2001
- }
2002
- function resolveLocalePayload(candidate) {
2003
- const direct = toPostPayload(candidate);
2004
- if (direct) return direct;
2005
- if (!isRecord(candidate)) return null;
2006
- for (const value of Object.values(candidate)) {
2007
- const localePayload = toPostPayload(value);
2008
- if (localePayload) return localePayload;
2009
- }
2010
- return null;
2011
- }
2012
- function resolvePostPayload(parsed) {
2013
- const direct = toPostPayload(parsed);
2014
- if (direct) return direct;
2015
- if (!isRecord(parsed)) return null;
2016
- const wrappedPost = resolveLocalePayload(parsed.post);
2017
- if (wrappedPost) return wrappedPost;
2018
- return resolveLocalePayload(parsed);
2019
- }
2020
- function parsePostContent(content, options = {}) {
2021
- try {
2022
- return renderPostContent(JSON.parse(content), options);
2023
- } catch {
2024
- return {
2025
- textContent: FALLBACK_POST_TEXT,
2026
- attachments: [],
2027
- mentionedOpenIds: []
2028
- };
2029
- }
2030
- }
2031
- function renderPostContent(parsed, options = {}) {
2032
- try {
2033
- const payload = resolvePostPayload(parsed);
2034
- if (!payload) return {
2035
- textContent: FALLBACK_POST_TEXT,
2036
- attachments: [],
2037
- mentionedOpenIds: []
2038
- };
2039
- const attachments = [];
2040
- const mentionedOpenIds = [];
2041
- const paragraphs = [];
2042
- for (const paragraph of payload.content) {
2043
- if (!Array.isArray(paragraph)) continue;
2044
- let renderedParagraph = "";
2045
- for (const element of paragraph) renderedParagraph += renderElement(element, attachments, mentionedOpenIds, options.renderMediaPlaceholders !== false);
2046
- paragraphs.push(renderedParagraph);
2047
- }
2048
- return {
2049
- textContent: [escapeMarkdownText(payload.title.trim()), paragraphs.join("\n").trim()].filter(Boolean).join("\n\n").trim() || (options.emptyTextFallback ?? FALLBACK_POST_TEXT),
2050
- attachments,
2051
- mentionedOpenIds
2052
- };
2053
- } catch {
2054
- return {
2055
- textContent: FALLBACK_POST_TEXT,
2056
- attachments: [],
2057
- mentionedOpenIds: []
2058
- };
2059
- }
2060
- }
2061
- //#endregion
2062
- //#region extensions/feishu/src/interactive-message-content.ts
2063
- const INTERACTIVE_CARD_FALLBACK_TEXT = "[Interactive Card]";
2064
- const POST_FALLBACK_TEXT = "[Rich text message]";
2065
- function normalizeCardTemplateVariable(value) {
2066
- if (typeof value === "string") return value;
2067
- if (typeof value === "number" || typeof value === "boolean" || typeof value === "bigint") return String(value);
2068
- }
2069
- function readCardTemplateVariables(parsed) {
2070
- const variables = /* @__PURE__ */ new Map();
2071
- for (const source of [parsed.template_variable, parsed.template_variables]) {
2072
- if (!isRecord(source)) continue;
2073
- for (const [key, value] of Object.entries(source)) {
2074
- const normalized = normalizeCardTemplateVariable(value);
2075
- if (normalized !== void 0) variables.set(key, normalized);
2076
- }
2077
- }
2078
- return variables;
2079
- }
2080
- function applyCardTemplateVariables(text, variables) {
2081
- if (variables.size === 0) return text;
2082
- return text.replace(/\$\{([A-Za-z0-9_.-]+)\}|\{\{\s*([A-Za-z0-9_.-]+)\s*\}\}/g, (match, a, b) => {
2083
- const variableName = typeof a === "string" ? a : b;
2084
- return variables.get(variableName) ?? match;
2085
- });
2086
- }
2087
- function normalizeInteractiveValue(value, variables) {
2088
- const scalar = normalizeCardTemplateVariable(value);
2089
- if (scalar !== void 0) return applyCardTemplateVariables(scalar, variables);
2090
- if (Array.isArray(value)) return value.map((entry) => normalizeInteractiveValue(entry, variables)).filter(Boolean).join(", ");
2091
- if (!isRecord(value)) return "";
2092
- for (const key of [
2093
- "content",
2094
- "text",
2095
- "label",
2096
- "name",
2097
- "display_name",
2098
- "user_name",
2099
- "user_id",
2100
- "open_id",
2101
- "id",
2102
- "value"
2103
- ]) {
2104
- const text = normalizeInteractiveValue(value[key], variables);
2105
- if (text) return text;
2106
- }
2107
- return "";
2108
- }
2109
- function extractInteractiveTableText(element, variables) {
2110
- if (!Array.isArray(element.columns) || !Array.isArray(element.rows)) return;
2111
- const columns = element.columns.flatMap((column) => {
2112
- if (!isRecord(column) || typeof column.name !== "string") return [];
2113
- return [{
2114
- name: column.name,
2115
- title: typeof column.display_name === "string" ? column.display_name : column.name
2116
- }];
2117
- });
2118
- if (columns.length === 0) return;
2119
- const lines = [columns.map((column) => applyCardTemplateVariables(column.title, variables)).join(" | ")];
2120
- for (const row of element.rows) {
2121
- if (!isRecord(row)) continue;
2122
- const cells = columns.map((column) => normalizeInteractiveValue(row[column.name], variables));
2123
- if (cells.some(Boolean)) lines.push(cells.join(" | "));
2124
- }
2125
- return lines.join("\n");
2126
- }
2127
- function extractInteractiveElementText(element, variables) {
2128
- if (!isRecord(element)) return;
2129
- const tag = typeof element.tag === "string" ? element.tag : "";
2130
- const text = isRecord(element.text) ? element.text : void 0;
2131
- if (tag === "div") {
2132
- const parts = [normalizeInteractiveValue(element.text, variables)];
2133
- if (Array.isArray(element.fields)) parts.push(extractInteractiveElementsText(element.fields, variables));
2134
- return parts.filter(Boolean).join("\n") || void 0;
2135
- }
2136
- if ((tag === "markdown" || tag === "lark_md") && typeof element.content === "string") return applyCardTemplateVariables(element.content, variables);
2137
- if ((tag === "text" || tag === "a" || tag === "button") && element.text !== void 0) return normalizeInteractiveValue(element.text, variables) || void 0;
2138
- if (tag === "at") {
2139
- const mention = normalizeInteractiveValue(element.user_name ?? element.user_id, variables);
2140
- return mention ? mention.startsWith("@") ? mention : `@${mention}` : void 0;
2141
- }
2142
- if (tag === "plain_text" && typeof element.content === "string") return applyCardTemplateVariables(element.content, variables);
2143
- if (tag === "table") return extractInteractiveTableText(element, variables);
2144
- return [
2145
- element.elements,
2146
- element.columns,
2147
- element.children,
2148
- element.fields,
2149
- element.actions
2150
- ].filter(Array.isArray).map((children) => extractInteractiveElementsText(children, variables)).filter(Boolean).join("\n") || (typeof text?.content === "string" ? text.content : void 0);
2151
- }
2152
- function extractInteractiveElementsText(elements, variables) {
2153
- const texts = [];
2154
- for (const element of elements) {
2155
- if (Array.isArray(element)) {
2156
- const row = element.map((part) => extractInteractiveElementText(part, variables)).filter((part) => Boolean(part)).join(" ").trim();
2157
- if (row) texts.push(row);
2158
- continue;
2159
- }
2160
- const text = extractInteractiveElementText(element, variables);
2161
- if (text !== void 0) texts.push(text);
2162
- }
2163
- return texts.join("\n").trim();
2164
- }
2165
- function readInteractiveElementArrays(parsed) {
2166
- const body = isRecord(parsed.body) ? parsed.body : void 0;
2167
- const elementArrays = [];
2168
- for (const candidate of [parsed.elements, body?.elements]) if (Array.isArray(candidate)) elementArrays.push(candidate);
2169
- for (const candidate of [parsed.i18n_elements, body?.i18n_elements]) {
2170
- if (!isRecord(candidate)) continue;
2171
- for (const localeElements of Object.values(candidate)) if (Array.isArray(localeElements)) elementArrays.push(localeElements);
2172
- }
2173
- return elementArrays;
2174
- }
2175
- function readInteractiveCardTitle(parsed, variables) {
2176
- if (typeof parsed.title === "string") return applyCardTemplateVariables(parsed.title, variables).trim();
2177
- const header = isRecord(parsed.header) ? parsed.header : void 0;
2178
- const title = isRecord(header?.title) ? header.title : void 0;
2179
- return typeof title?.content === "string" ? applyCardTemplateVariables(title.content, variables).trim() : "";
2180
- }
2181
- function parseInteractiveCardContent(parsed) {
2182
- if (!isRecord(parsed)) return INTERACTIVE_CARD_FALLBACK_TEXT;
2183
- const variables = readCardTemplateVariables(parsed);
2184
- const title = readInteractiveCardTitle(parsed, variables);
2185
- for (const elements of readInteractiveElementArrays(parsed)) {
2186
- const text = extractInteractiveElementsText(elements, variables);
2187
- if (text) return title ? `${title}\n${text}` : text;
2188
- }
2189
- const postText = renderPostContent(parsed).textContent.trim();
2190
- if (postText && postText !== POST_FALLBACK_TEXT) return postText;
2191
- return title || INTERACTIVE_CARD_FALLBACK_TEXT;
2192
- }
2193
- //#endregion
2194
- //#region extensions/feishu/src/types.ts
2195
- function normalizeFeishuEventChatType(value) {
2196
- return value === "group" || value === "topic_group" || value === "private" || value === "p2p" ? value : void 0;
2197
- }
2198
- function isFeishuGroupChatType(chatType) {
2199
- return chatType === "group" || chatType === "topic_group";
2200
- }
2201
- //#endregion
2202
- //#region extensions/feishu/src/mention.ts
2203
- function isFeishuBroadcastMention(mention) {
2204
- const normalizedKey = mention.key?.trim().toLowerCase();
2205
- if (normalizedKey === "@all" || normalizedKey === "@_all") return true;
2206
- return [
2207
- mention.id?.open_id,
2208
- mention.id?.user_id,
2209
- mention.id?.union_id
2210
- ].some((id) => id?.trim().toLowerCase() === "all");
2211
- }
2212
- /**
2213
- * Extract mention targets from message event (excluding the bot itself)
2214
- */
2215
- function extractMentionTargets(event, botOpenId) {
2216
- return (event.message.mentions ?? []).filter((m) => {
2217
- if (isFeishuBroadcastMention(m)) return false;
2218
- if (m.id.open_id === botOpenId) return false;
2219
- return Boolean(m.id.open_id);
2220
- }).map((m) => ({
2221
- openId: m.id.open_id,
2222
- name: m.name,
2223
- key: m.key
2224
- }));
2225
- }
2226
- /**
2227
- * Check if message is a mention forward request
2228
- * Rules:
2229
- * - Group: message mentions bot + at least one other user
2230
- * - DM: message mentions any user (no need to mention bot)
2231
- */
2232
- function isMentionForwardRequest(event, botOpenId) {
2233
- const mentions = event.message.mentions ?? [];
2234
- if (mentions.length === 0) return false;
2235
- const normalizedBotOpenId = botOpenId?.trim();
2236
- if (!normalizedBotOpenId) return false;
2237
- const isDirectMessage = !isFeishuGroupChatType(event.message.chat_type);
2238
- const userMentions = mentions.filter((m) => !isFeishuBroadcastMention(m));
2239
- const hasOtherMention = userMentions.some((m) => m.id.open_id !== normalizedBotOpenId);
2240
- if (isDirectMessage) return hasOtherMention;
2241
- return userMentions.some((m) => m.id.open_id === normalizedBotOpenId) && hasOtherMention;
2242
- }
2243
- /**
2244
- * Format @mention for card message (lark_md)
2245
- */
2246
- function formatMentionForCard(target) {
2247
- return `<at id=${target.openId}></at>`;
2248
- }
2249
- /**
2250
- * Build card content with @mentions (Markdown format)
2251
- */
2252
- function buildMentionedCardContent(targets, message) {
2253
- if (targets.length === 0) return message;
2254
- return `${targets.map((t) => formatMentionForCard(t)).join(" ")} ${message}`;
2255
- }
2256
- //#endregion
2257
- //#region extensions/feishu/src/message-content.ts
2258
- function formatFeishuMediaContent(parsed, messageType) {
2259
- if (messageType === "sticker") {
2260
- const fileKey = normalizeFeishuExternalKey(parsed?.file_key);
2261
- return fileKey ? `<sticker key="${escapeHtml(fileKey)}"/>` : "[Sticker]";
2262
- }
2263
- const speechToText = messageType === "audio" && typeof parsed.speech_to_text === "string" ? parsed.speech_to_text.trim() : "";
2264
- if (speechToText) return speechToText;
2265
- return "";
2266
- }
2267
- function formatSubMessageContent(content, contentType) {
2268
- try {
2269
- const parsed = JSON.parse(content);
2270
- switch (contentType) {
2271
- case "text": return parsed.text || content;
2272
- case "post": return renderPostContent(parsed).textContent;
2273
- case "interactive": return parseInteractiveCardContent(parsed);
2274
- case "image": return "[Image]";
2275
- case "file": return `[File: ${parsed.file_name || "unknown"}]`;
2276
- case "audio": return "[Audio]";
2277
- case "video": return "[Video]";
2278
- case "sticker": return formatFeishuMediaContent(parsed, contentType);
2279
- case "merge_forward": return "[Nested Merged Forward]";
2280
- default: return `[${contentType}]`;
2281
- }
2282
- } catch {
2283
- return content;
2284
- }
2285
- }
2286
- function parseMergeForwardContent(items) {
2287
- const maxMessages = 50;
2288
- if (items.length === 0) return "[Merged and Forwarded Message - no sub-messages]";
2289
- const container = items.find((item) => item.msg_type === "merge_forward" && !item.upper_message_id);
2290
- const subMessages = container ? items.filter((item) => item !== container) : items.filter((item) => item.upper_message_id);
2291
- if (subMessages.length === 0) return "[Merged and Forwarded Message - no sub-messages found]";
2292
- subMessages.sort((a, b) => (parseStrictNonNegativeInteger(a.create_time) ?? 0) - (parseStrictNonNegativeInteger(b.create_time) ?? 0));
2293
- const lines = ["[Merged and Forwarded Messages]"];
2294
- for (const item of subMessages.slice(0, maxMessages)) lines.push(`- ${formatSubMessageContent(item.body?.content || "", item.msg_type || "text")}`);
2295
- if (subMessages.length > maxMessages) lines.push(`... and ${subMessages.length - maxMessages} more messages`);
2296
- const rendered = lines.join("\n");
2297
- return rendered.length <= 2e4 ? rendered : `${truncateUtf16Safe(rendered, 19961).trimEnd()}
2298
- ... [Merged-forward content truncated]`;
2299
- }
2300
- //#endregion
2301
- //#region extensions/feishu/src/send-result.ts
2302
- function resolveFeishuReceiptKind(msgType) {
2303
- switch (msgType) {
2304
- case "audio": return "voice";
2305
- case "image":
2306
- case "media":
2307
- case "file":
2308
- case "sticker": return "media";
2309
- case "interactive": return "card";
2310
- case "post":
2311
- case "text": return "text";
2312
- default: return "unknown";
2313
- }
2314
- }
2315
- function createFeishuSendReceipt(params) {
2316
- const messageId = params.messageId?.trim();
2317
- const chatId = params.chatId.trim();
2318
- return createMessageReceiptFromOutboundResults({
2319
- results: messageId ? [{
2320
- channel: "feishu",
2321
- messageId,
2322
- chatId,
2323
- conversationId: chatId
2324
- }] : [],
2325
- ...params.replyToId?.trim() ? { replyToId: params.replyToId.trim() } : {},
2326
- kind: params.kind ?? "unknown"
2327
- });
2328
- }
2329
- function toFeishuSendResult(response, chatId, kind, errorPrefix = "Feishu send failed", replyToId) {
2330
- const messageId = response.data?.message_id?.trim();
2331
- if (!messageId) throw createChannelPartialDeliveryError(/* @__PURE__ */ new Error(`${errorPrefix}: no message_id returned`), {
2332
- messageIds: [],
2333
- visibleReplySent: true
2334
- });
2335
- return {
2336
- messageId,
2337
- chatId,
2338
- receipt: createFeishuSendReceipt({
2339
- messageId,
2340
- chatId,
2341
- kind,
2342
- replyToId
2343
- })
2344
- };
2345
- }
2346
- function toFeishuMessageSendResult(result, kind) {
2347
- const receipt = result.receipt ?? createFeishuSendReceipt({
2348
- messageId: result.messageId,
2349
- chatId: result.chatId ?? "",
2350
- kind
2351
- });
2352
- return {
2353
- messageId: result.messageId || receipt.primaryPlatformMessageId,
2354
- receipt
2355
- };
2356
- }
2357
- //#endregion
2358
- //#region extensions/feishu/src/send.ts
2359
- const WITHDRAWN_REPLY_ERROR_CODES = /* @__PURE__ */ new Set([230011, 231003]);
2360
- function shouldFallbackFromReplyTarget(response) {
2361
- if (response.code !== void 0 && WITHDRAWN_REPLY_ERROR_CODES.has(response.code)) return true;
2362
- const msg = normalizeLowercaseStringOrEmpty(response.msg);
2363
- return msg.includes("withdrawn") || msg.includes("not found");
2364
- }
2365
- /** Check whether a thrown error indicates a withdrawn/not-found reply target. */
2366
- function isWithdrawnReplyError(err) {
2367
- if (typeof err !== "object" || err === null) return false;
2368
- const code = err.code;
2369
- if (typeof code === "number" && WITHDRAWN_REPLY_ERROR_CODES.has(code)) return true;
2370
- const response = err.response;
2371
- if (typeof response?.data?.code === "number" && WITHDRAWN_REPLY_ERROR_CODES.has(response.data.code)) return true;
2372
- const cause = err.cause;
2373
- if (cause && cause !== err) return isWithdrawnReplyError(cause);
2374
- return false;
2375
- }
2376
- /** Send a direct message as a fallback when a reply target is unavailable. */
2377
- async function sendFallbackDirect(client, params, errorPrefix) {
2378
- const response = await requestFeishuApi(() => withFeishuMessageDispatch(() => client.im.message.create({
2379
- params: { receive_id_type: params.receiveIdType },
2380
- data: {
2381
- receive_id: params.receiveId,
2382
- content: params.content,
2383
- msg_type: params.msgType
2384
- }
2385
- })), errorPrefix, { includeNestedErrorLogId: true });
2386
- assertFeishuApiSuccess(response, errorPrefix);
2387
- return toFeishuSendResult(response, params.receiveId, resolveFeishuReceiptKind(params.msgType), errorPrefix);
2388
- }
2389
- async function sendReplyOrFallbackDirect(client, params) {
2390
- if (!params.replyToMessageId) return sendFallbackDirect(client, params.directParams, params.directErrorPrefix);
2391
- const replyTargetFallbackError = params.replyInThread && params.allowTopLevelReplyFallback !== true ? /* @__PURE__ */ new Error("Feishu thread reply failed: reply target is unavailable and cannot safely fall back to a top-level send.") : null;
2392
- let response;
2393
- try {
2394
- response = await requestFeishuApi(() => withFeishuMessageDispatch(() => client.im.message.reply({
2395
- path: { message_id: params.replyToMessageId },
2396
- data: {
2397
- content: params.content,
2398
- msg_type: params.msgType,
2399
- ...params.replyInThread ? { reply_in_thread: true } : {}
2400
- }
2401
- })), params.replyErrorPrefix, { includeNestedErrorLogId: true });
2402
- } catch (err) {
2403
- if (!isWithdrawnReplyError(err)) throw err;
2404
- if (replyTargetFallbackError) throw replyTargetFallbackError;
2405
- return sendFallbackDirect(client, params.directParams, params.directErrorPrefix);
2406
- }
2407
- if (shouldFallbackFromReplyTarget(response)) {
2408
- if (replyTargetFallbackError) throw replyTargetFallbackError;
2409
- return sendFallbackDirect(client, params.directParams, params.directErrorPrefix);
2410
- }
2411
- assertFeishuApiSuccess(response, params.replyErrorPrefix);
2412
- return toFeishuSendResult(response, params.directParams.receiveId, resolveFeishuReceiptKind(params.msgType), params.replyErrorPrefix, params.replyToMessageId);
2413
- }
2414
- function parseFeishuMessageContent(rawContent, msgType, messageId) {
2415
- if (!rawContent) return "";
2416
- let parsed;
2417
- try {
2418
- parsed = JSON.parse(rawContent);
2419
- } catch {
2420
- const safeId = messageId ? ` (id: ${messageId})` : "";
2421
- logVerbose(`feishu message content parse failed for ${msgType} message${safeId}`);
2422
- return rawContent;
2423
- }
2424
- if (msgType === "text") {
2425
- const text = parsed?.text;
2426
- return typeof text === "string" ? text : "[Text message]";
2427
- }
2428
- if (msgType === "post") return renderPostContent(parsed).textContent;
2429
- if (msgType === "interactive") return parseInteractiveCardContent(parsed);
2430
- if (typeof parsed === "string") return parsed;
2431
- const genericText = parsed?.text;
2432
- if (typeof genericText === "string" && genericText.trim()) return genericText;
2433
- const genericTitle = parsed?.title;
2434
- if (typeof genericTitle === "string" && genericTitle.trim()) return genericTitle;
2435
- return `[${msgType || "unknown"} message]`;
2436
- }
2437
- function parseFeishuMessageItem(item, fallbackMessageId) {
2438
- const msgType = item.msg_type ?? "text";
2439
- const rawContent = item.body?.content ?? "";
2440
- return {
2441
- messageId: item.message_id ?? fallbackMessageId ?? "",
2442
- chatId: item.chat_id ?? "",
2443
- chatType: item.chat_type === "group" || item.chat_type === "topic_group" || item.chat_type === "private" || item.chat_type === "p2p" ? item.chat_type : void 0,
2444
- senderId: item.sender?.id,
2445
- senderOpenId: item.sender?.id_type === "open_id" ? item.sender?.id : void 0,
2446
- senderType: item.sender?.sender_type,
2447
- content: parseFeishuMessageContent(rawContent, msgType, item.message_id),
2448
- contentType: msgType,
2449
- createTime: parseStrictNonNegativeInteger(item.create_time),
2450
- ...item.root_id ? { rootId: item.root_id } : {},
2451
- threadId: item.thread_id || void 0
2452
- };
2453
- }
2454
- /**
2455
- * Get a message by its ID.
2456
- * Useful for fetching quoted/replied message content.
2457
- */
2458
- async function getMessageFeishu(params) {
2459
- const { cfg, messageId, accountId } = params;
2460
- const account = resolveFeishuRuntimeAccount({
2461
- cfg,
2462
- accountId
2463
- });
2464
- if (!account.configured) throw new Error(`Feishu account "${account.accountId}" not configured`);
2465
- const client = createFeishuClient(account);
2466
- try {
2467
- const response = await client.im.message.get({
2468
- params: { card_msg_content_type: "user_card_content" },
2469
- path: { message_id: messageId }
2470
- });
2471
- if (response.code !== 0) return null;
2472
- const responseItems = response.data?.items;
2473
- const rawItem = responseItems?.find((item) => item.msg_type === "merge_forward" && !item.upper_message_id) ?? responseItems?.[0] ?? response.data;
2474
- const item = rawItem && (rawItem.body !== void 0 || rawItem.message_id !== void 0) ? rawItem : null;
2475
- if (!item) return null;
2476
- const parsedItem = parseFeishuMessageItem(item, messageId);
2477
- if (parsedItem.contentType === "merge_forward" && responseItems) return {
2478
- ...parsedItem,
2479
- content: parseMergeForwardContent(responseItems)
2480
- };
2481
- return parsedItem;
2482
- } catch {
2483
- return null;
2484
- }
2485
- }
2486
- /**
2487
- * List messages in a Feishu thread (topic).
2488
- * Uses container_id_type=thread to directly query thread messages,
2489
- * which includes both the root message and all replies (including bot replies).
2490
- */
2491
- async function listFeishuThreadMessages(params) {
2492
- const { cfg, threadId, currentMessageId, rootMessageId, limit = 20, accountId } = params;
2493
- const account = resolveFeishuRuntimeAccount({
2494
- cfg,
2495
- accountId
2496
- });
2497
- if (!account.configured) throw new Error(`Feishu account "${account.accountId}" not configured`);
2498
- const client = createFeishuClient(account);
2499
- const results = [];
2500
- const seenMessageIds = /* @__PURE__ */ new Set();
2501
- const seenPageTokens = /* @__PURE__ */ new Set();
2502
- let pageToken;
2503
- while (results.length < limit) {
2504
- const response = await client.im.message.list({ params: {
2505
- container_id_type: "thread",
2506
- container_id: threadId,
2507
- sort_type: "ByCreateTimeDesc",
2508
- page_size: Math.min(limit + 1, 50),
2509
- ...pageToken ? { page_token: pageToken } : {},
2510
- card_msg_content_type: "user_card_content"
2511
- } });
2512
- if (response.code !== 0) throw new Error(`Feishu thread list failed: code=${response.code} msg=${response.msg ?? "unknown"}`);
2513
- for (const item of response.data?.items ?? []) {
2514
- if (currentMessageId && item.message_id === currentMessageId || rootMessageId && item.message_id === rootMessageId || item.message_id && seenMessageIds.has(item.message_id)) continue;
2515
- const parsed = parseFeishuMessageItem(item);
2516
- if (parsed.messageId) seenMessageIds.add(parsed.messageId);
2517
- results.push({
2518
- messageId: parsed.messageId,
2519
- senderId: parsed.senderId,
2520
- senderType: parsed.senderType,
2521
- content: parsed.content,
2522
- contentType: parsed.contentType,
2523
- createTime: parsed.createTime
2524
- });
2525
- if (results.length >= limit) break;
2526
- }
2527
- if (results.length >= limit || response.data?.has_more !== true) break;
2528
- const nextPageToken = response.data.page_token?.trim();
2529
- if (!nextPageToken || seenPageTokens.has(nextPageToken)) throw new Error(`Feishu thread history pagination returned a ${nextPageToken ? "repeated" : "missing"} page token`);
2530
- seenPageTokens.add(nextPageToken);
2531
- pageToken = nextPageToken;
2532
- }
2533
- results.reverse();
2534
- return results;
2535
- }
2536
- async function sendMessageFeishu(params) {
2537
- const { cfg, to, text, preparedPostText, replyToMessageId, replyInThread, allowTopLevelReplyFallback, mentions, accountId } = params;
2538
- const { client, receiveId, receiveIdType } = resolveFeishuSendTarget({
2539
- cfg,
2540
- to,
2541
- accountId
2542
- });
2543
- let messageText = text;
2544
- if (!preparedPostText) {
2545
- const tableMode = resolveMarkdownTableMode({
2546
- cfg,
2547
- channel: "feishu"
2548
- });
2549
- messageText = materializeFeishuPostMarkdownSoftBreaks(convertMarkdownTables(text ?? "", tableMode));
2550
- }
2551
- const content = buildFeishuPostMessageContent({
2552
- messageText,
2553
- mentions
2554
- });
2555
- const msgType = "post";
2556
- assertFeishuPostWithinEnvelope(content, "Feishu post");
2557
- return sendReplyOrFallbackDirect(client, {
2558
- replyToMessageId,
2559
- replyInThread,
2560
- allowTopLevelReplyFallback,
2561
- content,
2562
- msgType,
2563
- directParams: {
2564
- receiveId,
2565
- receiveIdType,
2566
- content,
2567
- msgType
2568
- },
2569
- directErrorPrefix: "Feishu send failed",
2570
- replyErrorPrefix: "Feishu reply failed"
2571
- });
2572
- }
2573
- async function sendCardFeishu(params) {
2574
- const { cfg, to, card, replyToMessageId, replyInThread, allowTopLevelReplyFallback, accountId } = params;
2575
- const { client, receiveId, receiveIdType } = resolveFeishuSendTarget({
2576
- cfg,
2577
- to,
2578
- accountId
2579
- });
2580
- const content = JSON.stringify(card);
2581
- return sendReplyOrFallbackDirect(client, {
2582
- replyToMessageId,
2583
- replyInThread,
2584
- allowTopLevelReplyFallback,
2585
- content,
2586
- msgType: "interactive",
2587
- directParams: {
2588
- receiveId,
2589
- receiveIdType,
2590
- content,
2591
- msgType: "interactive"
2592
- },
2593
- directErrorPrefix: "Feishu card send failed",
2594
- replyErrorPrefix: "Feishu card reply failed"
2595
- });
2596
- }
2597
- async function editMessageFeishu(params) {
2598
- const { cfg, messageId, text, card, accountId } = params;
2599
- const account = resolveFeishuRuntimeAccount({
2600
- cfg,
2601
- accountId
2602
- });
2603
- if (!account.configured) throw new Error(`Feishu account "${account.accountId}" not configured`);
2604
- if ((typeof text === "string" && text.trim().length > 0) === Boolean(card)) throw new Error("Feishu edit requires exactly one of text or card.");
2605
- const client = createFeishuClient(account);
2606
- if (card) {
2607
- const content = JSON.stringify(card);
2608
- assertFeishuApiSuccess(await client.im.message.patch({
2609
- path: { message_id: messageId },
2610
- data: { content }
2611
- }), "Feishu message edit failed");
2612
- return {
2613
- messageId,
2614
- contentType: "interactive"
2615
- };
2616
- }
2617
- const tableMode = resolveMarkdownTableMode({
2618
- cfg,
2619
- channel: "feishu"
2620
- });
2621
- const content = buildFeishuPostMessageContent({ messageText: materializeFeishuPostMarkdownSoftBreaks(convertMarkdownTables(text, tableMode)) });
2622
- assertFeishuPostWithinEnvelope(content, "Feishu message edit");
2623
- assertFeishuApiSuccess(await client.im.message.update({
2624
- path: { message_id: messageId },
2625
- data: {
2626
- msg_type: "post",
2627
- content
2628
- }
2629
- }), "Feishu message edit failed");
2630
- return {
2631
- messageId,
2632
- contentType: "post"
2633
- };
2634
- }
2635
- /**
2636
- * Build a Feishu interactive card with optional header and note footer.
2637
- */
2638
- function buildStructuredCard(text, options) {
2639
- const elements = [{
2640
- tag: "markdown",
2641
- content: options?.mentions?.length ? buildMentionedCardContent(options.mentions, text) : text
2642
- }];
2643
- if (options?.note) {
2644
- elements.push({ tag: "hr" });
2645
- elements.push({
2646
- tag: "markdown",
2647
- content: `<font color='grey'>${options.note}</font>`
2648
- });
2649
- }
2650
- const card = {
2651
- schema: "2.0",
2652
- config: { width_mode: "fill" },
2653
- body: { elements }
2654
- };
2655
- if (options?.header) card.header = {
2656
- title: {
2657
- tag: "plain_text",
2658
- content: options.header.title
2659
- },
2660
- template: resolveFeishuCardTemplate(options.header.template) ?? "blue"
2661
- };
2662
- return card;
2663
- }
2664
- function chunkFeishuCardMarkdown(params) {
2665
- return chunkFeishuMarkdownByEnvelope({
2666
- ...params,
2667
- contentBytes: (text, isFirst) => Buffer.byteLength(JSON.stringify(buildStructuredCard(text, {
2668
- header: params.header,
2669
- note: params.note,
2670
- mentions: [...params.chunkMentions ?? [], ...isFirst ? params.firstChunkMentions ?? [] : []]
2671
- })), "utf8")
2672
- });
2673
- }
2674
- /**
2675
- * Send a message as a structured card with optional header and note.
2676
- */
2677
- async function sendStructuredCardFeishu(params) {
2678
- const { cfg, to, text, replyToMessageId, replyInThread, allowTopLevelReplyFallback, mentions, accountId, header, note } = params;
2679
- return sendCardFeishu({
2680
- cfg,
2681
- to,
2682
- card: buildStructuredCard(text, {
2683
- header,
2684
- note,
2685
- mentions
2686
- }),
2687
- replyToMessageId,
2688
- replyInThread,
2689
- allowTopLevelReplyFallback,
2690
- accountId
2691
- });
2692
- }
2693
- //#endregion
2694
- //#region extensions/feishu/src/media.ts
2695
- const FEISHU_MEDIA_HTTP_TIMEOUT_MS = 12e4;
2696
- const FEISHU_MAX_FILE_UPLOAD_BYTES = 31457280;
2697
- const FEISHU_MAX_IMAGE_UPLOAD_BYTES = 10485760;
2698
- const FEISHU_VOICE_FILE_NAME = "voice.ogg";
2699
- const FEISHU_VOICE_SAMPLE_RATE_HZ = 48e3;
2700
- const FEISHU_VOICE_BITRATE = "64k";
2701
- const FEISHU_SUPPORTED_IMAGE_CONTENT_TYPES = /* @__PURE__ */ new Set([
2702
- "image/jpeg",
2703
- "image/jpg",
2704
- "image/png",
2705
- "image/gif",
2706
- "image/webp",
2707
- "image/bmp",
2708
- "image/x-ms-bmp",
2709
- "image/tiff",
2710
- "image/tif",
2711
- "image/heic",
2712
- "image/x-icon",
2713
- "image/ico",
2714
- "image/vnd.microsoft.icon"
2715
- ]);
2716
- const FEISHU_TRANSCODABLE_AUDIO_EXTS = /* @__PURE__ */ new Set([
2717
- ".aac",
2718
- ".aiff",
2719
- ".alac",
2720
- ".amr",
2721
- ".caf",
2722
- ".flac",
2723
- ".m4a",
2724
- ".mp3",
2725
- ".oga",
2726
- ".wav",
2727
- ".webm",
2728
- ".wma"
2729
- ]);
2730
- function createConfiguredFeishuMediaClient(params) {
2731
- const account = resolveFeishuRuntimeAccount({
2732
- cfg: params.cfg,
2733
- accountId: params.accountId
2734
- });
2735
- if (!account.configured) throw new Error(`Feishu account "${account.accountId}" not configured`);
2736
- return {
2737
- account,
2738
- client: createFeishuClient({
2739
- ...account,
2740
- httpTimeoutMs: FEISHU_MEDIA_HTTP_TIMEOUT_MS
2741
- })
2742
- };
2743
- }
2744
- function asHeaderMap(value) {
2745
- if (!value) return;
2746
- const entries = Object.entries(value);
2747
- if (entries.every(([, entry]) => typeof entry === "string" || Array.isArray(entry))) return Object.fromEntries(entries);
2748
- }
2749
- function extractFeishuUploadKey(response, params) {
2750
- if (!response) throw new Error(`${params.errorPrefix}: empty response`);
2751
- const wrappedResponse = response;
2752
- if (wrappedResponse.code !== void 0 && wrappedResponse.code !== 0) throw new Error(`${params.errorPrefix}: ${wrappedResponse.msg || `code ${wrappedResponse.code}`}`);
2753
- const key = params.key === "image_key" ? wrappedResponse.image_key ?? wrappedResponse.data?.image_key : wrappedResponse.file_key ?? wrappedResponse.data?.file_key;
2754
- if (!key) throw new Error(`${params.errorPrefix}: no ${params.key} returned`);
2755
- return key;
2756
- }
2757
- function readHeaderValue(headers, name) {
2758
- if (!headers) return;
2759
- for (const [key, value] of Object.entries(headers)) {
2760
- if (normalizeLowercaseStringOrEmpty(key) !== normalizeLowercaseStringOrEmpty(name)) continue;
2761
- if (typeof value === "string" && value.trim()) return value.trim();
2762
- if (Array.isArray(value)) {
2763
- const first = value.find((entry) => typeof entry === "string" && entry.trim());
2764
- if (typeof first === "string") return first.trim();
2765
- }
2766
- }
2767
- }
2768
- function readHttpStatusFromError(error) {
2769
- if (!error || typeof error !== "object") return;
2770
- const response = error.response;
2771
- if (response && typeof response === "object") {
2772
- const status = response.status;
2773
- if (typeof status === "number") return status;
2774
- }
2775
- const status = error.status;
2776
- return typeof status === "number" ? status : void 0;
2777
- }
2778
- function isHttpStatusError(error, status) {
2779
- return readHttpStatusFromError(error) === status;
2780
- }
2781
- function containsEastAsianScript(value) {
2782
- return /[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}]/u.test(value);
2783
- }
2784
- function recoverUtf8FileNameFromLatin1Header(value) {
2785
- const recovered = Buffer.from(value, "latin1").toString("utf8");
2786
- if (recovered !== value && !recovered.includes("�") && containsEastAsianScript(recovered)) return recovered;
2787
- return value;
2788
- }
2789
- function decodeDispositionFileName(value) {
2790
- const utf8Match = value.match(/filename\*=UTF-8''([^;]+)/i);
2791
- if (utf8Match?.[1]) try {
2792
- return decodeURIComponent(utf8Match[1].trim().replace(/^"(.*)"$/, "$1"));
2793
- } catch {
2794
- return utf8Match[1].trim().replace(/^"(.*)"$/, "$1");
2795
- }
2796
- const plainFileName = value.match(/filename="?([^";]+)"?/i)?.[1]?.trim();
2797
- return plainFileName ? recoverUtf8FileNameFromLatin1Header(plainFileName) : void 0;
2798
- }
2799
- function extractFeishuDownloadMetadata(response) {
2800
- const responseWithOptionalFields = response;
2801
- const headers = asHeaderMap(responseWithOptionalFields.headers) ?? asHeaderMap(responseWithOptionalFields.header);
2802
- const contentType = readHeaderValue(headers, "content-type") ?? responseWithOptionalFields.contentType ?? responseWithOptionalFields.mime_type ?? responseWithOptionalFields.data?.contentType ?? responseWithOptionalFields.data?.mime_type;
2803
- const disposition = readHeaderValue(headers, "content-disposition");
2804
- return {
2805
- contentType,
2806
- fileName: (disposition ? decodeDispositionFileName(disposition) : void 0) ?? responseWithOptionalFields.file_name ?? responseWithOptionalFields.fileName ?? responseWithOptionalFields.data?.file_name ?? responseWithOptionalFields.data?.fileName
2807
- };
2808
- }
2809
- function mediaLimitError(maxBytes) {
2810
- return /* @__PURE__ */ new Error(`Media exceeds ${Math.round(maxBytes / 1048576)}MB limit`);
2811
- }
2812
- async function saveFeishuResponseMedia(params) {
2813
- const { response, maxBytes, contentType, fileName } = params;
2814
- if (Buffer.isBuffer(response)) return saveMediaBuffer(response, contentType, "inbound", maxBytes, fileName);
2815
- if (response instanceof ArrayBuffer) return saveMediaBuffer(Buffer.from(response), contentType, "inbound", maxBytes, fileName);
2816
- const responseWithOptionalFields = response;
2817
- if (responseWithOptionalFields.code !== void 0 && responseWithOptionalFields.code !== 0) throw new Error(`${params.errorPrefix}: ${responseWithOptionalFields.msg || `code ${responseWithOptionalFields.code}`}`);
2818
- if (responseWithOptionalFields.data && Buffer.isBuffer(responseWithOptionalFields.data)) return saveMediaBuffer(responseWithOptionalFields.data, contentType, "inbound", maxBytes, fileName);
2819
- if (responseWithOptionalFields.data instanceof ArrayBuffer) return saveMediaBuffer(Buffer.from(responseWithOptionalFields.data), contentType, "inbound", maxBytes, fileName);
2820
- const save = (stream, ct = contentType, mb = maxBytes, fn = fileName) => saveMediaStreamWithIdleTimeout(stream, ct, mb, fn, FEISHU_MEDIA_HTTP_TIMEOUT_MS);
2821
- if (typeof response.getReadableStream === "function") return save(response.getReadableStream());
2822
- if (typeof response.writeFile === "function") return await withTempDownloadPath({ prefix: params.tmpDirPrefix }, async (tmpPath) => {
2823
- await response.writeFile(tmpPath);
2824
- if ((await fs.promises.stat(tmpPath)).size > maxBytes) throw mediaLimitError(maxBytes);
2825
- return await save(fs.createReadStream(tmpPath));
2826
- });
2827
- if (responseWithOptionalFields[Symbol.asyncIterator]) return save(responseWithOptionalFields);
2828
- if (response instanceof Readable) return save(response);
2829
- const keys = Object.keys(response);
2830
- throw new Error(`${params.errorPrefix}: unexpected response format. Keys: [${keys.join(", ")}]`);
2831
- }
2832
- async function saveMessageResourceWithType(params) {
2833
- const response = await params.client.im.messageResource.get({
2834
- path: {
2835
- message_id: params.messageId,
2836
- file_key: params.fileKey
2837
- },
2838
- params: { type: params.type }
2839
- });
2840
- const meta = extractFeishuDownloadMetadata(response);
2841
- return {
2842
- saved: await saveFeishuResponseMedia({
2843
- response,
2844
- tmpDirPrefix: "openclaw-feishu-resource-",
2845
- errorPrefix: "Feishu message resource download failed",
2846
- maxBytes: params.maxBytes,
2847
- contentType: meta.contentType,
2848
- fileName: meta.fileName ?? (params.originalFilename ? recoverUtf8FileNameFromLatin1Header(params.originalFilename) : void 0)
2849
- }),
2850
- ...meta
2851
- };
2852
- }
2853
- async function saveMessageResourceFeishu(params) {
2854
- const { cfg, messageId, fileKey, type, accountId, maxBytes, originalFilename } = params;
2855
- const normalizedFileKey = normalizeFeishuExternalKey(fileKey);
2856
- if (!normalizedFileKey) throw new Error("Feishu message resource download failed: invalid file_key");
2857
- const { client } = createConfiguredFeishuMediaClient({
2858
- cfg,
2859
- accountId
2860
- });
2861
- try {
2862
- return await saveMessageResourceWithType({
2863
- client,
2864
- messageId,
2865
- fileKey: normalizedFileKey,
2866
- type,
2867
- maxBytes,
2868
- originalFilename
2869
- });
2870
- } catch (err) {
2871
- if (type !== "file" || !isHttpStatusError(err, 502)) throw err;
2872
- try {
2873
- return await saveMessageResourceWithType({
2874
- client,
2875
- messageId,
2876
- fileKey: normalizedFileKey,
2877
- type: "media",
2878
- maxBytes,
2879
- originalFilename
2880
- });
2881
- } catch {
2882
- throw err;
2883
- }
2884
- }
2885
- }
2886
- /**
2887
- * Upload an image to Feishu and get an image_key for sending.
2888
- * Supports: JPEG, PNG, WEBP, GIF, TIFF, BMP, ICO
2889
- */
2890
- async function uploadImageFeishu(params) {
2891
- const { cfg, image, imageType = "message", accountId } = params;
2892
- const { client } = createConfiguredFeishuMediaClient({
2893
- cfg,
2894
- accountId
2895
- });
2896
- const imageData = typeof image === "string" ? (await readRegularFile({ filePath: image })).buffer : image;
2897
- return { imageKey: extractFeishuUploadKey(await requestFeishuApi(() => client.im.image.create({ data: {
2898
- image_type: imageType,
2899
- image: imageData
2900
- } }), "Feishu image upload failed", { includeNestedErrorLogId: true }), {
2901
- key: "image_key",
2902
- errorPrefix: "Feishu image upload failed"
2903
- }) };
2904
- }
2905
- /**
2906
- * Sanitize a filename for safe use in Feishu multipart/form-data uploads.
2907
- * Strips control characters and multipart-injection vectors (CWE-93) while
2908
- * preserving the original UTF-8 display name (Chinese, emoji, etc.).
2909
- *
2910
- * Previous versions percent-encoded non-ASCII characters, but the Feishu
2911
- * `im.file.create` API uses `file_name` as a literal display name — it does
2912
- * NOT decode percent-encoding — so encoded filenames appeared as garbled text
2913
- * in chat (regression in v2026.3.2).
2914
- */
2915
- function sanitizeFileNameForUpload(fileName) {
2916
- return fileName.replace(/[\p{Cc}"\\]/gu, "_");
2917
- }
2918
- /**
2919
- * Upload a file to Feishu and get a file_key for sending.
2920
- * Max file size: 30MB
2921
- */
2922
- async function uploadFileFeishu(params) {
2923
- const { cfg, file, fileName, fileType, duration, accountId } = params;
2924
- const { client } = createConfiguredFeishuMediaClient({
2925
- cfg,
2926
- accountId
2927
- });
2928
- const fileData = typeof file === "string" ? (await readRegularFile({ filePath: file })).buffer : file;
2929
- const safeFileName = sanitizeFileNameForUpload(fileName);
2930
- return { fileKey: extractFeishuUploadKey(await requestFeishuApi(() => client.im.file.create({ data: {
2931
- file_type: fileType,
2932
- file_name: safeFileName,
2933
- file: fileData,
2934
- ...duration !== void 0 ? { duration } : {}
2935
- } }), "Feishu file upload failed", { includeNestedErrorLogId: true }), {
2936
- key: "file_key",
2937
- errorPrefix: "Feishu file upload failed"
2938
- }) };
2939
- }
2940
- /**
2941
- * Send an image message using an image_key
2942
- */
2943
- async function sendImageFeishu(params) {
2944
- const { cfg, to, imageKey, replyToMessageId, replyInThread, allowTopLevelReplyFallback, accountId } = params;
2945
- const { client, receiveId, receiveIdType } = resolveFeishuSendTarget({
2946
- cfg,
2947
- to,
2948
- accountId
2949
- });
2950
- const content = JSON.stringify({ image_key: imageKey });
2951
- return sendReplyOrFallbackDirect(client, {
2952
- replyToMessageId,
2953
- replyInThread,
2954
- allowTopLevelReplyFallback,
2955
- content,
2956
- msgType: "image",
2957
- directParams: {
2958
- receiveId,
2959
- receiveIdType,
2960
- content,
2961
- msgType: "image"
2962
- },
2963
- directErrorPrefix: "Feishu image send failed",
2964
- replyErrorPrefix: "Feishu image reply failed"
2965
- });
2966
- }
2967
- /**
2968
- * Send a file message using a file_key
2969
- */
2970
- async function sendFileFeishu(params) {
2971
- const { cfg, to, fileKey, replyToMessageId, replyInThread, allowTopLevelReplyFallback, accountId } = params;
2972
- const msgType = params.msgType ?? "file";
2973
- const { client, receiveId, receiveIdType } = resolveFeishuSendTarget({
2974
- cfg,
2975
- to,
2976
- accountId
2977
- });
2978
- const content = JSON.stringify({ file_key: fileKey });
2979
- return sendReplyOrFallbackDirect(client, {
2980
- replyToMessageId,
2981
- replyInThread,
2982
- allowTopLevelReplyFallback,
2983
- content,
2984
- msgType,
2985
- directParams: {
2986
- receiveId,
2987
- receiveIdType,
2988
- content,
2989
- msgType
2990
- },
2991
- directErrorPrefix: "Feishu file send failed",
2992
- replyErrorPrefix: "Feishu file reply failed"
2993
- });
2994
- }
2995
- function sendStickerFeishu(params) {
2996
- return sendFileFeishu({
2997
- ...params,
2998
- msgType: "sticker"
2999
- });
3000
- }
3001
- /**
3002
- * Helper to detect file type from extension
3003
- */
3004
- function detectFileType(fileName) {
3005
- switch (normalizeLowercaseStringOrEmpty(path.extname(fileName))) {
3006
- case ".opus":
3007
- case ".ogg": return "opus";
3008
- case ".mp4":
3009
- case ".mov":
3010
- case ".avi": return "mp4";
3011
- case ".pdf": return "pdf";
3012
- case ".doc":
3013
- case ".docx": return "doc";
3014
- case ".xls":
3015
- case ".xlsx": return "xls";
3016
- case ".ppt":
3017
- case ".pptx": return "ppt";
3018
- default: return "stream";
3019
- }
3020
- }
3021
- async function resolveFeishuOutboundMediaKind(params) {
3022
- const { buffer, fileName, contentType } = params;
3023
- const ext = normalizeLowercaseStringOrEmpty(path.extname(fileName));
3024
- const detectedContentType = await detectMime({ buffer }) ?? "";
3025
- if (FEISHU_SUPPORTED_IMAGE_CONTENT_TYPES.has(detectedContentType)) return { msgType: "image" };
3026
- if (ext === ".opus" || ext === ".ogg" || contentType === "audio/ogg" || contentType === "audio/opus") return {
3027
- fileType: "opus",
3028
- msgType: "audio"
3029
- };
3030
- if ([
3031
- ".mp4",
3032
- ".mov",
3033
- ".avi"
3034
- ].includes(ext) || contentType === "video/mp4" || contentType === "video/quicktime" || contentType === "video/x-msvideo") return {
3035
- fileType: "mp4",
3036
- msgType: "media"
3037
- };
3038
- const fileType = detectFileType(fileName);
3039
- return {
3040
- fileType,
3041
- msgType: fileType === "stream" ? "file" : fileType === "opus" ? "audio" : fileType === "mp4" ? "media" : "file"
3042
- };
3043
- }
3044
- function assertFeishuUploadWithinEnvelope(params) {
3045
- if (params.buffer.byteLength === 0) throw new Error("Feishu attachments cannot be empty");
3046
- const maxBytes = params.msgType === "image" ? Math.min(params.mediaMaxBytes, FEISHU_MAX_IMAGE_UPLOAD_BYTES) : params.mediaMaxBytes;
3047
- if (params.buffer.byteLength > maxBytes) {
3048
- const label = params.msgType === "image" ? "image" : "file";
3049
- throw new Error(`Feishu ${label} exceeds its ${String(maxBytes)}-byte upload limit`);
3050
- }
3051
- }
3052
- function isFeishuNativeVoiceAudio(params) {
3053
- const ext = normalizeLowercaseStringOrEmpty(path.extname(params.fileName));
3054
- const contentType = normalizeLowercaseStringOrEmpty(params.contentType);
3055
- return ext === ".opus" || ext === ".ogg" || contentType === "audio/ogg" || contentType === "audio/opus";
3056
- }
3057
- function normalizeMediaNameForExtension(raw) {
3058
- try {
3059
- return new URL(raw).pathname;
3060
- } catch {
3061
- return raw.split(/[?#]/, 1)[0] ?? raw;
3062
- }
3063
- }
3064
- function shouldSuppressFeishuTextForVoiceMedia(params) {
3065
- if (params.ttsSupplement) return params.ttsSupplement.visibleTextAlreadyDelivered === true;
3066
- if (params.audioAsVoice === true) return true;
3067
- if (params.fileName && isFeishuNativeVoiceAudio({
3068
- fileName: params.fileName,
3069
- contentType: params.contentType
3070
- })) return true;
3071
- if (!params.mediaUrl) return false;
3072
- return isFeishuNativeVoiceAudio({
3073
- fileName: normalizeMediaNameForExtension(params.mediaUrl),
3074
- contentType: params.contentType
3075
- });
3076
- }
3077
- function isLikelyTranscodableAudio(params) {
3078
- const ext = normalizeLowercaseStringOrEmpty(path.extname(params.fileName));
3079
- const contentType = normalizeLowercaseStringOrEmpty(params.contentType);
3080
- return FEISHU_TRANSCODABLE_AUDIO_EXTS.has(ext) || mediaKindFromMime(contentType) === "audio";
3081
- }
3082
- async function transcodeToFeishuVoiceOpus(params) {
3083
- return await withTempWorkspace({
3084
- rootDir: resolvePreferredOpenClawTmpDir(),
3085
- prefix: "feishu-voice-"
3086
- }, async (workspace) => {
3087
- const ext = normalizeLowercaseStringOrEmpty(path.extname(params.fileName));
3088
- const inputExt = ext && ext.length <= 12 ? ext : ".audio";
3089
- const inputPath = await workspace.write(`input${inputExt}`, params.buffer);
3090
- await writeExternalFileWithinRoot({
3091
- rootDir: workspace.dir,
3092
- path: FEISHU_VOICE_FILE_NAME,
3093
- write: async (outputPath) => {
3094
- await runFfmpeg([
3095
- "-hide_banner",
3096
- "-loglevel",
3097
- "error",
3098
- "-y",
3099
- "-i",
3100
- inputPath,
3101
- "-vn",
3102
- "-sn",
3103
- "-dn",
3104
- "-t",
3105
- String(MEDIA_FFMPEG_MAX_AUDIO_DURATION_SECS),
3106
- "-ar",
3107
- String(FEISHU_VOICE_SAMPLE_RATE_HZ),
3108
- "-ac",
3109
- "1",
3110
- "-c:a",
3111
- "libopus",
3112
- "-b:a",
3113
- FEISHU_VOICE_BITRATE,
3114
- "-f",
3115
- "ogg",
3116
- outputPath
3117
- ]);
3118
- }
3119
- });
3120
- return {
3121
- buffer: await workspace.read(FEISHU_VOICE_FILE_NAME),
3122
- fileName: FEISHU_VOICE_FILE_NAME,
3123
- contentType: "audio/ogg"
3124
- };
3125
- });
3126
- }
3127
- async function prepareFeishuVoiceMedia(params) {
3128
- if (isFeishuNativeVoiceAudio(params)) return params;
3129
- if (params.audioAsVoice !== true || !isLikelyTranscodableAudio(params)) return params;
3130
- try {
3131
- return await transcodeToFeishuVoiceOpus(params);
3132
- } catch (err) {
3133
- console.warn(`[feishu] audioAsVoice transcode failed; sending ${params.fileName} as a file attachment:`, err);
3134
- return params;
3135
- }
3136
- }
3137
- async function probeMediaDurationMs(params) {
3138
- try {
3139
- return await withTempWorkspace({
3140
- rootDir: resolvePreferredOpenClawTmpDir(),
3141
- prefix: "feishu-media-probe-"
3142
- }, async (workspace) => {
3143
- const ext = normalizeLowercaseStringOrEmpty(path.extname(params.fileName));
3144
- const inferredExt = ext && ext.length <= 12 ? ext : mediaKindFromMime(params.contentType) === "video" ? ".mp4" : ".ogg";
3145
- const inputPath = await workspace.write(`input${inferredExt}`, params.buffer);
3146
- const stdout = await runFfprobe([
3147
- "-v",
3148
- "error",
3149
- "-show_entries",
3150
- "format=duration",
3151
- "-of",
3152
- "csv=p=0",
3153
- inputPath
3154
- ], { timeoutMs: 5e3 });
3155
- const seconds = Number.parseFloat(stdout.trim());
3156
- if (!Number.isFinite(seconds) || seconds <= 0) return;
3157
- return Math.max(1, Math.round(seconds * 1e3));
3158
- });
3159
- } catch (err) {
3160
- console.warn("[feishu] failed to probe media duration; upload will omit it:", err);
3161
- return;
3162
- }
3163
- }
3164
- async function maybeProbeUploadDurationMs(params) {
3165
- if (params.msgType !== "audio" && params.msgType !== "media") return;
3166
- return await probeMediaDurationMs(params);
3167
- }
3168
- /**
3169
- * Upload and send media (image or file) from URL, local path, or buffer.
3170
- * Local paths require host-owned mediaAccess or approved legacy roots/readers.
3171
- */
3172
- async function sendMediaFeishu(params) {
3173
- const { cfg, to, mediaUrl, mediaBuffer, fileName, replyToMessageId, replyInThread, allowTopLevelReplyFallback, accountId, mediaLocalRoots, audioAsVoice } = params;
3174
- const account = await runBeforeFeishuMessageDispatch(() => {
3175
- const resolved = resolveFeishuRuntimeAccount({
3176
- cfg,
3177
- accountId
3178
- });
3179
- if (!resolved.configured) throw new Error(`Feishu account "${resolved.accountId}" not configured`);
3180
- return resolved;
3181
- });
3182
- const mediaMaxBytes = Math.min((account.config?.mediaMaxMb ?? 30) * 1024 * 1024, FEISHU_MAX_FILE_UPLOAD_BYTES);
3183
- let buffer;
3184
- let name;
3185
- let contentType;
3186
- const loaded = await runBeforeFeishuMessageDispatch(async () => {
3187
- if (mediaBuffer) return {
3188
- buffer: mediaBuffer,
3189
- name: fileName ?? "file",
3190
- contentType: void 0
3191
- };
3192
- if (mediaUrl) {
3193
- const media = await getFeishuRuntime().media.loadWebMedia(mediaUrl, buildOutboundMediaLoadOptions({
3194
- maxBytes: mediaMaxBytes,
3195
- mediaAccess: params.mediaAccess,
3196
- mediaLocalRoots,
3197
- mediaReadFile: params.mediaReadFile,
3198
- optimizeImages: false
3199
- }));
3200
- return {
3201
- buffer: media.buffer,
3202
- name: fileName ?? media.fileName ?? "file",
3203
- contentType: media.contentType
3204
- };
3205
- }
3206
- throw new Error("Either mediaUrl or mediaBuffer must be provided");
3207
- });
3208
- buffer = loaded.buffer;
3209
- name = loaded.name;
3210
- contentType = loaded.contentType;
3211
- const loadedRouting = await runBeforeFeishuMessageDispatch(() => resolveFeishuOutboundMediaKind({
3212
- buffer,
3213
- fileName: name,
3214
- contentType
3215
- }));
3216
- await runBeforeFeishuMessageDispatch(() => assertFeishuUploadWithinEnvelope({
3217
- buffer,
3218
- mediaMaxBytes,
3219
- msgType: loadedRouting.msgType
3220
- }));
3221
- const prepared = await runBeforeFeishuMessageDispatch(() => prepareFeishuVoiceMedia({
3222
- buffer,
3223
- fileName: name,
3224
- contentType,
3225
- audioAsVoice
3226
- }));
3227
- buffer = prepared.buffer;
3228
- name = prepared.fileName;
3229
- contentType = prepared.contentType;
3230
- const routing = prepared.buffer === loaded.buffer && prepared.fileName === loaded.name && prepared.contentType === loaded.contentType ? loadedRouting : await runBeforeFeishuMessageDispatch(() => resolveFeishuOutboundMediaKind({
3231
- buffer,
3232
- fileName: name,
3233
- contentType
3234
- }));
3235
- const voiceIntentDegradedToFile = routing.msgType !== "audio" && shouldSuppressFeishuTextForVoiceMedia({
3236
- mediaUrl,
3237
- audioAsVoice
3238
- });
3239
- await runBeforeFeishuMessageDispatch(() => assertFeishuUploadWithinEnvelope({
3240
- buffer,
3241
- mediaMaxBytes,
3242
- msgType: routing.msgType
3243
- }));
3244
- if (routing.msgType === "image") {
3245
- const { imageKey } = await runBeforeFeishuMessageDispatch(() => uploadImageFeishu({
3246
- cfg,
3247
- image: buffer,
3248
- accountId
3249
- }));
3250
- return {
3251
- ...await sendImageFeishu({
3252
- cfg,
3253
- to,
3254
- imageKey,
3255
- replyToMessageId,
3256
- replyInThread,
3257
- allowTopLevelReplyFallback,
3258
- accountId
3259
- }),
3260
- ...voiceIntentDegradedToFile ? { voiceIntentDegradedToFile: true } : {}
3261
- };
3262
- }
3263
- const durationMs = await maybeProbeUploadDurationMs({
3264
- buffer,
3265
- fileName: name,
3266
- contentType,
3267
- msgType: routing.msgType
3268
- });
3269
- const { fileKey } = await runBeforeFeishuMessageDispatch(() => uploadFileFeishu({
3270
- cfg,
3271
- file: buffer,
3272
- fileName: name,
3273
- fileType: routing.fileType ?? "stream",
3274
- ...durationMs !== void 0 ? { duration: durationMs } : {},
3275
- accountId
3276
- }));
3277
- return {
3278
- ...await sendFileFeishu({
3279
- cfg,
3280
- to,
3281
- fileKey,
3282
- msgType: routing.msgType,
3283
- replyToMessageId,
3284
- replyInThread,
3285
- allowTopLevelReplyFallback,
3286
- accountId
3287
- }),
3288
- ...voiceIntentDegradedToFile ? { voiceIntentDegradedToFile: true } : {}
3289
- };
3290
- }
3291
- //#endregion
3292
- //#region extensions/feishu/src/presentation-card.ts
3293
- const RENDERED_FEISHU_CARD = Symbol("openclaw.renderedFeishuCard");
3294
- const FEISHU_PRESENTATION_FALLBACK_MARKER = "__openclawPresentationFallback";
3295
- const FEISHU_PRESENTATION_CAPABILITIES = {
3296
- supported: true,
3297
- buttons: true,
3298
- selects: false,
3299
- context: true,
3300
- divider: true,
3301
- limits: {
3302
- actions: {
3303
- maxActions: 20,
3304
- maxActionsPerRow: 5,
3305
- maxLabelLength: 40,
3306
- maxValueBytes: 1024
3307
- },
3308
- text: {
3309
- maxLength: 4e3,
3310
- encoding: "characters",
3311
- markdownDialect: "markdown"
3312
- }
3313
- }
3314
- };
3315
- const FEISHU_CARD_MAX_BYTES = 30720;
3316
- const FEISHU_CARD_MAX_ELEMENTS = 200;
3317
- function resolveFeishuRichReply(payload) {
3318
- const interactive = normalizeLegacyInteractiveReply(payload.interactive);
3319
- return {
3320
- interactive,
3321
- presentation: normalizeMessagePresentation(payload.presentation) ?? (interactive ? legacyInteractiveReplyToPresentation(interactive) : void 0)
3322
- };
3323
- }
3324
- function buildFeishuPresentationFallback(params) {
3325
- const fallbackText = renderFeishuPresentationFallbackText(params, params.textFormat);
3326
- const fallbackHasCommand = params.fallbackHasCommand === true || params.presentation?.blocks.some((block) => block.type === "select" ? block.options.some(({ action }) => action?.type === "command") : block.type === "buttons" && block.buttons.some(({ action, disabled }) => !disabled && action?.type === "command")) === true;
3327
- return {
3328
- fallbackText,
3329
- fallbackHasCommand,
3330
- commentText: fallbackHasCommand ? `${fallbackText}\n\n> Interactive buttons are unavailable in Feishu document comments. You can type the command shown above manually.` : fallbackText
3331
- };
3332
- }
3333
- function countFeishuCardElements(value, ancestors = /* @__PURE__ */ new Set()) {
3334
- if (Array.isArray(value)) return value.reduce((count, entry) => count + countFeishuCardElements(entry, ancestors), 0);
3335
- if (!isRecord(value)) return 0;
3336
- if (ancestors.has(value)) return 201;
3337
- ancestors.add(value);
3338
- let count = typeof value.tag === "string" ? 1 : 0;
3339
- for (const entry of Object.values(value)) {
3340
- count += countFeishuCardElements(entry, ancestors);
3341
- if (count > FEISHU_CARD_MAX_ELEMENTS) break;
3342
- }
3343
- ancestors.delete(value);
3344
- return count;
3345
- }
3346
- function isFeishuCardWithinEnvelope(card) {
3347
- try {
3348
- return Buffer.byteLength(JSON.stringify(card), "utf8") <= FEISHU_CARD_MAX_BYTES && countFeishuCardElements(card) <= FEISHU_CARD_MAX_ELEMENTS;
3349
- } catch {
3350
- return false;
3351
- }
3352
- }
3353
- function assertFeishuCardWithinEnvelope(card, label = "Feishu card") {
3354
- if (!isFeishuCardWithinEnvelope(card)) throw new Error(`${label} exceeds the 30 KB or 200-element API limit.`);
3355
- }
3356
- /** Feishu allows at most five table components per static interactive card. */
3357
- const FEISHU_CARD_TABLE_LIMIT = 5;
3358
- function countMarkdownTables(text) {
3359
- return text.includes("|") ? markdownToIRWithMeta(text, { tableMode: "block" }).tables.length : 0;
3360
- }
3361
- function withinCardTableLimit(text) {
3362
- return countMarkdownTables(text) <= FEISHU_CARD_TABLE_LIMIT;
3363
- }
3364
- function feishuCardWithinTableLimit(card) {
3365
- let remaining = FEISHU_CARD_TABLE_LIMIT;
3366
- const visit = (value) => {
3367
- if (Array.isArray(value)) return value.every(visit);
3368
- if (!isRecord(value)) return true;
3369
- if (value.tag === "markdown" && typeof value.content === "string") remaining -= countMarkdownTables(value.content);
3370
- return remaining >= 0 && Object.values(value).every(visit);
3371
- };
3372
- return visit(card);
3373
- }
3374
- function resolveFeishuButtonUrl(button) {
3375
- if (button.action?.type === "url" || button.action?.type === "web-app") return button.action.url;
3376
- if (button.action) return;
3377
- return button.url ?? button.webApp?.url ?? button.web_app?.url;
3378
- }
3379
- function resolveFeishuCommandButtonValue(button) {
3380
- if (button.action?.type === "command") return button.action.command;
3381
- if (button.action) return;
3382
- return button.value;
3383
- }
3384
- function renderFeishuPresentationFallbackText(params, textFormat = "plain") {
3385
- const presentation = params.presentation;
3386
- return renderMessagePresentationFallbackText({
3387
- ...params,
3388
- presentation: presentation && {
3389
- ...presentation,
3390
- blocks: presentation.blocks.map((block) => block.type === "buttons" ? {
3391
- type: block.type,
3392
- buttons: block.buttons.map((button) => {
3393
- const url = resolveFeishuButtonUrl(button);
3394
- return {
3395
- ...button,
3396
- ...textFormat === "markdown" ? { label: escapeFeishuCardPlainText(button.label) } : {},
3397
- ...url && !resolveSafeFeishuButtonUrl(url) ? { disabled: true } : {}
3398
- };
3399
- })
3400
- } : block)
3401
- }
3402
- });
3403
- }
3404
- function mapFeishuButtonType(style) {
3405
- if (style === "primary" || style === "success") return "primary";
3406
- if (style === "danger") return "danger";
3407
- return "default";
3408
- }
3409
- function buildFeishuPayloadButton(button) {
3410
- const url = resolveSafeFeishuButtonUrl(resolveFeishuButtonUrl(button));
3411
- const value = resolveFeishuCommandButtonValue(button);
3412
- if (button.disabled || !url && !value) return {
3413
- tag: "markdown",
3414
- content: `- ${escapeFeishuCardPlainText(button.label)}`
3415
- };
3416
- const behaviors = [];
3417
- if (url) behaviors.push({
3418
- type: "open_url",
3419
- default_url: url
3420
- });
3421
- if (value) behaviors.push({
3422
- type: "callback",
3423
- value: createFeishuCardInteractionEnvelope({
3424
- k: "quick",
3425
- a: "feishu.payload.button",
3426
- q: value
3427
- })
3428
- });
3429
- return {
3430
- tag: "button",
3431
- text: {
3432
- tag: "plain_text",
3433
- content: button.label
3434
- },
3435
- type: mapFeishuButtonType(button.style),
3436
- behaviors
3437
- };
3438
- }
3439
- function buildFeishuCardElementsForBlock(block) {
3440
- if (block.type === "text") return [{
3441
- tag: "markdown",
3442
- content: escapeFeishuCardMarkdownText(block.text)
3443
- }];
3444
- if (block.type === "context") return [{
3445
- tag: "markdown",
3446
- content: `<font color='grey'>${escapeFeishuCardMarkdownText(block.text)}</font>`
3447
- }];
3448
- if (block.type === "divider") return [{ tag: "hr" }];
3449
- if (block.type === "buttons") return block.buttons.map(buildFeishuPayloadButton);
3450
- if (block.type === "chart") return [{
3451
- tag: "markdown",
3452
- content: escapeFeishuCardMarkdownText(renderMessagePresentationChartFallbackText(block))
3453
- }];
3454
- if (block.type === "table") return [{
3455
- tag: "markdown",
3456
- content: escapeFeishuCardMarkdownText(renderMessagePresentationTableFallbackText(block))
3457
- }];
3458
- return [{
3459
- tag: "markdown",
3460
- content: escapeFeishuCardMarkdownText(renderMessagePresentationFallbackText({ presentation: { blocks: [block] } }))
3461
- }];
3462
- }
3463
- function resolvePresentationHeaderTemplate(tone) {
3464
- if (tone === "danger") return "red";
3465
- if (tone === "warning") return "orange";
3466
- if (tone === "success") return "green";
3467
- return "blue";
3468
- }
3469
- function buildFeishuPresentationCardElements(params) {
3470
- const elements = [];
3471
- const fallbackText = params.fallbackText?.trim();
3472
- if (fallbackText) elements.push({
3473
- tag: "markdown",
3474
- content: escapeFeishuCardMarkdownText(fallbackText)
3475
- });
3476
- for (const block of params.presentation.blocks) for (const element of buildFeishuCardElementsForBlock(block)) elements.push(element);
3477
- if (elements.length > 0) return elements;
3478
- return [{
3479
- tag: "markdown",
3480
- content: ""
3481
- }];
3482
- }
3483
- function buildFeishuPresentationCard(params) {
3484
- return {
3485
- schema: "2.0",
3486
- config: { width_mode: "fill" },
3487
- ...params.presentation.title ? { header: {
3488
- title: {
3489
- tag: "plain_text",
3490
- content: params.presentation.title
3491
- },
3492
- template: resolvePresentationHeaderTemplate(params.presentation.tone)
3493
- } } : {},
3494
- body: { elements: buildFeishuPresentationCardElements(params) }
3495
- };
3496
- }
3497
- function markRenderedFeishuCard(card) {
3498
- Object.defineProperty(card, RENDERED_FEISHU_CARD, {
3499
- value: true,
3500
- enumerable: false
3501
- });
3502
- return card;
3503
- }
3504
- function readNativeFeishuCard(payload) {
3505
- const feishuData = payload.channelData?.feishu;
3506
- if (!isRecord(feishuData)) return;
3507
- const card = feishuData.card ?? feishuData.interactiveCard;
3508
- if (!isRecord(card)) return;
3509
- const rendered = card;
3510
- if (rendered[RENDERED_FEISHU_CARD] === true) return rendered;
3511
- const sanitizedCard = sanitizeNativeFeishuCard(card);
3512
- return sanitizedCard ? markRenderedFeishuCard(sanitizedCard) : void 0;
3513
- }
3514
- function consumeFeishuPresentationFallbackMarker(payload) {
3515
- const feishuData = isRecord(payload.channelData?.feishu) ? payload.channelData.feishu : void 0;
3516
- const presentationFallback = feishuData?.[FEISHU_PRESENTATION_FALLBACK_MARKER];
3517
- if (!isRecord(presentationFallback) || typeof presentationFallback.hasVisibleContent !== "boolean") return { payload };
3518
- const nextFeishuData = { ...feishuData };
3519
- delete nextFeishuData[FEISHU_PRESENTATION_FALLBACK_MARKER];
3520
- const nextChannelData = { ...payload.channelData };
3521
- if (Object.keys(nextFeishuData).length > 0) nextChannelData.feishu = nextFeishuData;
3522
- else delete nextChannelData.feishu;
3523
- return {
3524
- payload: {
3525
- ...payload,
3526
- channelData: Object.keys(nextChannelData).length > 0 ? nextChannelData : void 0
3527
- },
3528
- presentationFallback: { hasVisibleContent: presentationFallback.hasVisibleContent }
3529
- };
3530
- }
3531
- function buildFeishuPayloadCard(params) {
3532
- const nativeCard = readNativeFeishuCard(params.payload);
3533
- const rawText = params.text ?? params.payload.text;
3534
- const textCard = readNativeFeishuCardJson(rawText);
3535
- const { interactive, presentation } = resolveFeishuRichReply(params.payload);
3536
- let card = nativeCard ?? (!presentation ? textCard : void 0);
3537
- const isNativeCard = card !== void 0;
3538
- if (!card && presentation) card = buildFeishuPresentationCard({
3539
- presentation: {
3540
- ...presentation,
3541
- title: presentation.title ?? resolveFeishuIdentityHeaderTitle(params.identity)
3542
- },
3543
- fallbackText: textCard ? void 0 : resolveLegacyInteractiveTextFallback({
3544
- text: rawText,
3545
- interactive
3546
- })
3547
- });
3548
- if (!card) return;
3549
- if (params.mentions?.length) card = {
3550
- ...card,
3551
- body: {
3552
- ...card.body,
3553
- elements: [{
3554
- tag: "markdown",
3555
- content: buildMentionedCardContent(params.mentions, "").trimEnd()
3556
- }, ...card.body.elements]
3557
- }
3558
- };
3559
- if (isNativeCard) {
3560
- assertFeishuCardWithinEnvelope(card, "Feishu native card");
3561
- return markRenderedFeishuCard(card);
3562
- }
3563
- return isFeishuCardWithinEnvelope(card) && feishuCardWithinTableLimit(card) ? markRenderedFeishuCard(card) : void 0;
3564
- }
3565
- function renderFeishuPresentationPayload({ payload, presentation, sourcePresentation, ctx }) {
3566
- const card = buildFeishuPayloadCard({
3567
- payload,
3568
- text: payload.text,
3569
- identity: ctx.identity,
3570
- mentions: ctx.mentions
3571
- });
3572
- const isComment = Boolean(parseFeishuCommentTarget(ctx.to));
3573
- const fallbackPresentation = !card || isComment ? sourcePresentation ?? presentation : presentation;
3574
- const { fallbackText, fallbackHasCommand } = buildFeishuPresentationFallback({
3575
- text: readNativeFeishuCardJson(payload.text) ? void 0 : payload.text,
3576
- presentation: fallbackPresentation,
3577
- textFormat: isComment ? "plain" : "markdown"
3578
- });
3579
- const existingFeishuData = isRecord(payload.channelData?.feishu) ? payload.channelData.feishu : void 0;
3580
- if (!card) return {
3581
- ...payload,
3582
- text: fallbackText,
3583
- channelData: {
3584
- ...payload.channelData,
3585
- feishu: {
3586
- ...existingFeishuData,
3587
- [FEISHU_PRESENTATION_FALLBACK_MARKER]: { hasVisibleContent: Boolean(renderFeishuPresentationFallbackText({ presentation: fallbackPresentation }).trim()) },
3588
- ...fallbackHasCommand ? { fallbackHasCommand: true } : {}
3589
- }
3590
- }
3591
- };
3592
- return {
3593
- ...payload,
3594
- text: fallbackText,
3595
- channelData: {
3596
- ...payload.channelData,
3597
- feishu: {
3598
- ...existingFeishuData,
3599
- card,
3600
- ...fallbackHasCommand ? { fallbackHasCommand: true } : {}
3601
- }
3602
- }
3603
- };
3604
- }
3605
- async function renderFeishuReplyPayload(payload, ctx) {
3606
- const { presentation } = resolveFeishuRichReply(payload);
3607
- if (!presentation) return { payload };
3608
- const { interactive: _interactive, ...withoutInteractive } = await renderPresentationForDelivery({
3609
- presentationCapabilities: FEISHU_PRESENTATION_CAPABILITIES,
3610
- renderPresentation: (adapted, sourcePresentation) => renderFeishuPresentationPayload({
3611
- payload: adapted,
3612
- presentation: adapted.presentation,
3613
- sourcePresentation,
3614
- ctx
3615
- })
3616
- }, {
3617
- ...payload,
3618
- presentation
3619
- });
3620
- return {
3621
- payload: withoutInteractive,
3622
- card: readNativeFeishuCard(withoutInteractive)
3623
- };
3624
- }
3625
- //#endregion
3626
- //#region extensions/feishu/src/reply-delivery-result.ts
3627
- const noVisibleFeishuReplyDelivery = { visibleReplySent: false };
3628
- function shouldSendNoVisibleReplyFallback(dispatchResult) {
3629
- const emptyEligibleDispatch = dispatchResult.noVisibleReplyFallbackEligible === true && dispatchResult.settledReceipt?.anyVisibleDelivered !== true;
3630
- const finalFailedBeforeSend = (dispatchResult.settledReceipt?.counts.final.failedBeforeSend ?? 0) > 0;
3631
- return dispatchResult.sendPolicyDenied !== true && dispatchResult.sourceReplyDeliveryMode !== "message_tool_only" && (emptyEligibleDispatch || finalFailedBeforeSend);
3632
- }
3633
- function hasProviderIdentity(result) {
3634
- return Boolean(result && (result.messageId?.trim() || result.receipt?.primaryPlatformMessageId?.trim() || result.receipt?.platformMessageIds.length));
3635
- }
3636
- /** Normalizes every physical Lark send behind one logical reply payload. */
3637
- function createFeishuReplyDeliveryResult(params) {
3638
- const results = params.visibleReplySent ? (params.results ?? []).filter(hasProviderIdentity) : [];
3639
- if (results.length === 0) return {
3640
- visibleReplySent: params.visibleReplySent,
3641
- ...params.content === void 0 ? {} : { content: params.content }
3642
- };
3643
- return createAcceptedChannelDeliveryResult({
3644
- results,
3645
- kind: params.kind,
3646
- content: params.content
3647
- });
3648
- }
3649
- /** Preserves the first result's provider identity while retaining supplemental ids. */
3650
- function mergeFeishuReplyDeliveryResults(results, content) {
3651
- const visible = results.filter((result) => result.visibleReplySent === true);
3652
- const acceptedContent = visible.flatMap((result) => result.content === void 0 ? [] : [result.content]);
3653
- return createFeishuReplyDeliveryResult({
3654
- results: visible,
3655
- visibleReplySent: visible.length > 0,
3656
- content: content === void 0 ? acceptedContent.length > 0 ? acceptedContent.join("\n\n") : void 0 : content
3657
- });
3658
- }
3659
- /** Keeps a failed outcome while exposing the provider-visible subset to core lifecycle hooks. */
3660
- function createFeishuPartialReplyDeliveryError(cause, result) {
3661
- if (result.visibleReplySent !== true) return cause instanceof Error ? cause : new Error(formatErrorMessage(cause), { cause });
3662
- return createChannelPartialDeliveryError(cause, {
3663
- ...result,
3664
- visibleReplySent: true
3665
- });
3666
- }
3667
- //#endregion
3668
- export { cleanupAmbientCommentTypingReaction as $, sendMessageFeishu as A, normalizeFeishuChatType as At, parsePostContent as B, sendStickerFeishu as C, normalizeFeishuAllowEntry as Ct, getMessageFeishu as D, resolveFeishuGroupSenderActivationIngressAccess as Dt, editMessageFeishu as E, resolveFeishuGroupConversationIngressAccess as Et, isFeishuBroadcastMention as F, decodeFeishuCardAction as Ft, deliverCommentThreadText as G, buildFeishuMediaFallbackText as H, isMentionForwardRequest as I, toolExecutionErrorResult as J, registerFeishuDriveTools as K, isFeishuGroupChatType as L, toFeishuMessageSendResult as M, FEISHU_CARD_INTERACTION_VERSION as Mt, formatFeishuMediaContent as N, buildFeishuCardActionTextFallback as Nt, listFeishuThreadMessages as O, resolveFeishuGroupToolPolicy as Ot, extractMentionTargets as P, createFeishuCardInteractionEnvelope as Pt, resolveFeishuToolAccount as Q, normalizeFeishuEventChatType as R, sendMediaFeishu as S, hasExplicitFeishuGroupConfig as St, chunkFeishuCardMarkdown as T, resolveFeishuGroupConfig as Tt, resolveFeishuIdentityEmoji as U, assertFeishuApiSuccess as V, resolveFeishuIdentityHeaderTitle as W, createFeishuToolClient as X, unknownToolActionResult as Y, resolveAnyEnabledFeishuToolsConfig as Z, renderFeishuPresentationPayload as _, canEnumerateAllFeishuGroups as _t, shouldSendNoVisibleReplyFallback as a, requestFeishuApi as at, withinCardTableLimit as b, isFeishuGroupReadEnabled as bt, buildFeishuPayloadCard as c, parseFeishuCommentTarget as ct, consumeFeishuPresentationFallbackMarker as d, chunkFeishuMarkdown as dt, createCommentTypingReactionLifecycle as et, feishuCardWithinTableLimit as f, chunkFeishuPostMarkdown as ft, renderFeishuPresentationFallbackText as g, authorizeFeishuChatMemberRead as gt, readNativeFeishuCard as h, assertFeishuChatReadAllowed as ht, noVisibleFeishuReplyDelivery as i, parseCommentContentElements as it, sendStructuredCardFeishu as j, resolveFeishuChatType as jt, sendCardFeishu as k, resolveFeishuReplyPolicy as kt, buildFeishuPresentationCard as l, readNativeFeishuCardJson as lt, markRenderedFeishuCard as m, parseFeishuMarkdown as mt, createFeishuReplyDeliveryResult as n, extractReplyText as nt, FEISHU_PRESENTATION_CAPABILITIES as o, buildFeishuCommentTarget as ot, isFeishuCardWithinEnvelope as p, materializeFeishuPostMarkdownSoftBreaks as pt, feishuExternalToolResult as q, mergeFeishuReplyDeliveryResults as r, formatFeishuApiError as rt, assertFeishuCardWithinEnvelope as s, normalizeCommentFileType as st, createFeishuPartialReplyDeliveryError as t, encodeQuery as tt, buildFeishuPresentationFallback as u, resolveFeishuCardTemplate as ut, renderFeishuReplyPayload as v, canEnumerateAllFeishuPeers as vt, shouldSuppressFeishuTextForVoiceMedia as w, resolveFeishuDmIngressAccess as wt, saveMessageResourceFeishu as x, resolveFeishuChatReadPreliminaryAuthorization as xt, resolveFeishuRichReply as y, isFeishuGroupReadAllowed as yt, parseInteractiveCardContent as z };