@openclaw/feishu 2026.9.6 → 2026.9.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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
@@ -0,0 +1,3490 @@
1
+ import { o as normalizeFeishuExternalKey } from "./doctor-contract-3XC0vbIw.mjs";
2
+ import { c as resolveFeishuRuntimeAccount, i as listFeishuAccountIds, o as resolveDefaultFeishuAccountId, r as listEnabledFeishuAccounts, s as resolveFeishuAccount } from "./accounts-wRqItHug.mjs";
3
+ import { l as normalizeFeishuTarget, s as detectIdType, u as resolveReceiveIdType } from "./conversation-id-C1ofUfU8.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-BYG-_IZl.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, normalizeTrimmedStringList, 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 { 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(params).message({
212
+ subject: createFeishuIngressSubject({
213
+ primaryId: params.senderOpenId,
214
+ alternateIds: [params.senderUserId]
215
+ }),
216
+ conversation: {
217
+ kind: "direct",
218
+ id: params.conversationId
219
+ },
220
+ ...params.contextBinding ? { contextBinding: params.contextBinding } : {},
221
+ event: { mayPair: params.mayPair },
222
+ dmPolicy: normalizeFeishuDmPolicy(params.dmPolicy),
223
+ groupPolicy: "disabled",
224
+ allowFrom: params.allowFrom ?? [],
225
+ ...params.command ? { command: params.command } : {}
226
+ });
227
+ }
228
+ async function resolveFeishuGroupConversationIngressAccess(params) {
229
+ const groupPolicy = normalizeFeishuGroupPolicy(params.groupPolicy);
230
+ const groupAllowFrom = groupPolicy === "allowlist" && params.groupExplicitlyConfigured ? [...params.groupAllowFrom ?? [], params.chatId] : params.groupAllowFrom ?? [];
231
+ return await createFeishuIngressResolver(params).message({
232
+ subject: createFeishuIngressSubject({ primaryId: params.chatId }),
233
+ conversation: {
234
+ kind: "group",
235
+ id: params.chatId,
236
+ threadId: params.threadId
237
+ },
238
+ ...params.contextBinding ? { contextBinding: params.contextBinding } : {},
239
+ dmPolicy: "disabled",
240
+ groupPolicy,
241
+ groupAllowFrom
242
+ });
243
+ }
244
+ async function resolveFeishuGroupSenderActivationIngressAccess(params) {
245
+ const groupAllowFrom = params.allowFrom ?? [];
246
+ return await createFeishuIngressResolver(params).message({
247
+ subject: createFeishuIngressSubject({
248
+ primaryId: params.senderOpenId,
249
+ alternateIds: [params.senderUserId]
250
+ }),
251
+ conversation: {
252
+ kind: "group",
253
+ id: params.chatId,
254
+ threadId: params.threadId
255
+ },
256
+ ...params.contextBinding ? { contextBinding: params.contextBinding } : {},
257
+ dmPolicy: "disabled",
258
+ groupPolicy: groupAllowFrom.length > 0 ? "allowlist" : "open",
259
+ groupAllowFrom,
260
+ mentionFacts: {
261
+ canDetectMention: true,
262
+ wasMentioned: params.mentionedBot
263
+ },
264
+ policy: { activation: {
265
+ requireMention: params.requireMention,
266
+ allowTextCommands: false
267
+ } },
268
+ ...params.command ? { command: params.command } : {}
269
+ });
270
+ }
271
+ function resolveFeishuExplicitGroupConfigKey(params) {
272
+ const groups = params.cfg?.groups ?? {};
273
+ const groupId = params.groupId?.trim();
274
+ if (!groupId || groupId === "*") return;
275
+ if (Object.hasOwn(groups, groupId)) return groupId;
276
+ const lowered = normalizeOptionalLowercaseString(groupId) ?? "";
277
+ return Object.keys(groups).find((key) => key !== "*" && normalizeOptionalLowercaseString(key) === lowered);
278
+ }
279
+ function resolveFeishuGroupConfig(params) {
280
+ if (!params.groupId?.trim()) return;
281
+ const groups = params.cfg?.groups ?? {};
282
+ const key = resolveFeishuExplicitGroupConfigKey(params);
283
+ return key ? groups[key] : groups["*"];
284
+ }
285
+ function hasExplicitFeishuGroupConfig(params) {
286
+ return resolveFeishuExplicitGroupConfigKey(params) !== void 0;
287
+ }
288
+ function resolveFeishuGroupToolPolicy(params) {
289
+ return resolveFeishuGroupConfig({
290
+ cfg: params.cfg.channels?.feishu,
291
+ groupId: params.groupId
292
+ })?.tools;
293
+ }
294
+ function resolveFeishuReplyPolicy(params) {
295
+ if (params.isDirectMessage) return { requireMention: false };
296
+ const feishuCfg = params.cfg.channels?.feishu;
297
+ const resolvedCfg = resolveMergedAccountConfig({
298
+ channelConfig: feishuCfg,
299
+ accounts: feishuCfg?.accounts,
300
+ accountId: normalizeAccountId(params.accountId),
301
+ normalizeAccountId,
302
+ omitKeys: ["defaultAccount"]
303
+ });
304
+ const groupRequireMention = resolveFeishuGroupConfig({
305
+ cfg: resolvedCfg,
306
+ groupId: params.groupId
307
+ })?.requireMention;
308
+ return { requireMention: typeof groupRequireMention === "boolean" ? groupRequireMention : typeof resolvedCfg.requireMention === "boolean" ? resolvedCfg.requireMention : params.groupPolicy !== "open" };
309
+ }
310
+ //#endregion
311
+ //#region extensions/feishu/src/read-policy.ts
312
+ function isActionContext(ctx) {
313
+ return "toolContext" in ctx;
314
+ }
315
+ function normalizeChatId(raw) {
316
+ if (!raw) return "";
317
+ return normalizeFeishuTarget(raw) ?? raw.trim();
318
+ }
319
+ function normalizeFeishuAllowlist(entries) {
320
+ return (entries ?? []).map((entry) => normalizeFeishuAllowEntry(String(entry))).filter(Boolean);
321
+ }
322
+ function readContextFields(ctx) {
323
+ if (isActionContext(ctx)) return {
324
+ accountId: normalizeOptionalString(ctx.accountId),
325
+ currentChannelId: normalizeOptionalString(ctx.toolContext?.currentChannelId),
326
+ currentProvider: normalizeOptionalString(ctx.toolContext?.currentChannelProvider),
327
+ requesterAccountId: normalizeOptionalString(ctx.requesterAccountId),
328
+ requesterSenderId: normalizeOptionalString(ctx.requesterSenderId),
329
+ directOperator: ctx.conversationReadOrigin === "direct-operator"
330
+ };
331
+ return {
332
+ accountId: normalizeOptionalString(ctx.agentAccountId),
333
+ currentChannelId: normalizeOptionalString(ctx.nativeChannelId),
334
+ currentProvider: normalizeOptionalString(ctx.messageChannel ?? ctx.deliveryContext?.channel),
335
+ requesterAccountId: normalizeOptionalString(ctx.deliveryContext?.accountId),
336
+ requesterSenderId: normalizeOptionalString(ctx.requesterSenderId),
337
+ directOperator: ctx.conversationReadOrigin === "direct-operator"
338
+ };
339
+ }
340
+ function isCurrentChat(params) {
341
+ const context = readContextFields(params.ctx);
342
+ return context.currentProvider?.toLowerCase() === "feishu" && context.requesterAccountId === params.account.accountId && (context.accountId ?? params.account.accountId) === params.account.accountId && normalizeChatId(context.currentChannelId) === normalizeChatId(params.chatId);
343
+ }
344
+ function resolveFeishuReadGroupPolicy(cfg, account) {
345
+ return resolveOpenProviderRuntimeGroupPolicy({
346
+ providerConfigPresent: cfg.channels?.feishu !== void 0,
347
+ groupPolicy: account.config.groupPolicy,
348
+ defaultGroupPolicy: resolveDefaultGroupPolicy(cfg)
349
+ }).groupPolicy;
350
+ }
351
+ function isFeishuGroupReadAllowed(cfg, account, chatId, current) {
352
+ const policy = resolveFeishuReadGroupPolicy(cfg, account);
353
+ if (policy === "disabled") return false;
354
+ if (resolveFeishuGroupConfig({
355
+ cfg: account.config,
356
+ groupId: chatId
357
+ })?.enabled === false) return false;
358
+ if (current || policy === "open") return true;
359
+ const explicitlyConfigured = hasExplicitFeishuGroupConfig({
360
+ cfg: account.config,
361
+ groupId: chatId
362
+ });
363
+ const normalizedChatId = normalizeFeishuAllowEntry(chatId);
364
+ return explicitlyConfigured || resolveAllowlistMatchByCandidates({
365
+ allowList: normalizeFeishuAllowlist(account.config.groupAllowFrom),
366
+ candidates: [{
367
+ value: normalizedChatId,
368
+ source: "id"
369
+ }]
370
+ }).allowed;
371
+ }
372
+ function isFeishuGroupReadEnabled(cfg, account, chatId) {
373
+ if (resolveFeishuReadGroupPolicy(cfg, account) === "disabled") return false;
374
+ return resolveFeishuGroupConfig({
375
+ cfg: account.config,
376
+ groupId: chatId
377
+ })?.enabled !== false;
378
+ }
379
+ function isDmUniversallyAllowed(account) {
380
+ return compileAllowlist(normalizeFeishuAllowlist(account.config.allowFrom)).wildcard;
381
+ }
382
+ function assertFeishuChatReadAllowed(params) {
383
+ const authorization = resolveFeishuChatReadPreliminaryAuthorization(params);
384
+ if (authorization.decision !== "allow") throw new ToolAuthorizationError("Feishu read target is not allowed.");
385
+ return authorization.chatId;
386
+ }
387
+ function resolveFeishuChatReadPreliminaryAuthorization(params) {
388
+ const chatId = normalizeChatId(params.chatId);
389
+ const resolvedChatType = normalizeFeishuChatType(params.chatType);
390
+ const knownGroup = resolvedChatType === "group" || params.chatType === void 0 && hasExplicitFeishuGroupConfig({
391
+ cfg: params.account.config,
392
+ groupId: chatId
393
+ });
394
+ const knownDm = resolvedChatType === "p2p";
395
+ const current = isCurrentChat({
396
+ account: params.account,
397
+ chatId,
398
+ ctx: params.ctx
399
+ });
400
+ const directOperator = readContextFields(params.ctx).directOperator;
401
+ const groupAllowed = directOperator ? isFeishuGroupReadEnabled(params.cfg, params.account, chatId) : isFeishuGroupReadAllowed(params.cfg, params.account, chatId, current);
402
+ const dmAllowed = directOperator || current || isDmUniversallyAllowed(params.account);
403
+ if (knownGroup) return {
404
+ chatId,
405
+ decision: groupAllowed ? "allow" : "deny"
406
+ };
407
+ if (knownDm) return {
408
+ chatId,
409
+ decision: dmAllowed ? "allow" : "deny"
410
+ };
411
+ if (groupAllowed === dmAllowed) return {
412
+ chatId,
413
+ decision: groupAllowed ? "allow" : "deny"
414
+ };
415
+ return {
416
+ chatId,
417
+ decision: "needs-metadata"
418
+ };
419
+ }
420
+ async function readFeishuChatInfoWithAuthorization(params, readChatInfo) {
421
+ let chat;
422
+ try {
423
+ chat = await readChatInfo(params.preliminary.chatId);
424
+ } catch (error) {
425
+ if (params.preliminary.decision === "needs-metadata") assertFeishuChatReadAllowed({
426
+ cfg: params.cfg,
427
+ account: params.account,
428
+ chatId: params.preliminary.chatId,
429
+ ctx: params.ctx
430
+ });
431
+ throw error;
432
+ }
433
+ assertFeishuChatReadAllowed({
434
+ cfg: params.cfg,
435
+ account: params.account,
436
+ chatId: params.preliminary.chatId,
437
+ chatType: resolveFeishuChatType(chat),
438
+ ctx: params.ctx
439
+ });
440
+ return chat;
441
+ }
442
+ function authorizeFeishuChatMemberRead(params) {
443
+ const chatId = assertFeishuChatReadAllowed(params);
444
+ const chatType = normalizeFeishuChatType(params.chatType);
445
+ if (chatType === "group") return {
446
+ kind: "group",
447
+ chatId
448
+ };
449
+ if (chatType !== "p2p") throw new ToolAuthorizationError("Feishu chat member reads require a known chat type.");
450
+ if (!isCurrentChat({
451
+ account: params.account,
452
+ chatId,
453
+ ctx: params.ctx
454
+ })) throw new ToolAuthorizationError("Feishu direct-chat member reads require the current conversation.");
455
+ const requesterSenderId = normalizeChatId(readContextFields(params.ctx).requesterSenderId);
456
+ if (!requesterSenderId) throw new ToolAuthorizationError("Feishu direct-chat member identity is unavailable.");
457
+ const requesterSenderIdType = detectIdType(requesterSenderId);
458
+ if (requesterSenderIdType !== "open_id" && requesterSenderIdType !== "user_id") throw new ToolAuthorizationError("Feishu direct-chat member identity type is unavailable.");
459
+ if (params.memberIdType && params.memberIdType !== requesterSenderIdType) throw new ToolAuthorizationError("Feishu direct-chat member identifier type must match the current sender.");
460
+ if (params.memberId && normalizeChatId(params.memberId) !== requesterSenderId) throw new ToolAuthorizationError("Feishu direct-chat member reads are limited to the current sender.");
461
+ return {
462
+ kind: "direct",
463
+ chatId,
464
+ memberId: requesterSenderId,
465
+ memberIdType: requesterSenderIdType
466
+ };
467
+ }
468
+ function canEnumerateAllFeishuGroups(cfg, account) {
469
+ const policy = resolveFeishuReadGroupPolicy(cfg, account);
470
+ return policy === "open" || policy === "allowlist" && compileAllowlist(normalizeFeishuAllowlist(account.config.groupAllowFrom)).wildcard;
471
+ }
472
+ function canEnumerateAllFeishuPeers(account) {
473
+ return isDmUniversallyAllowed(account);
474
+ }
475
+ //#endregion
476
+ //#region extensions/feishu/src/markdown.ts
477
+ const FEISHU_POST_MAX_BYTES = 30720;
478
+ function shouldUseFeishuCard(text) {
479
+ return /```[\s\S]*?```/.test(text) || /\|.+\|[\r\n]+\|[-:| ]+\|/.test(text);
480
+ }
481
+ /** One parser contract for Feishu message and document Markdown decisions. */
482
+ function parseFeishuMarkdown(text) {
483
+ return fromMarkdown(text, {
484
+ extensions: [gfmTable()],
485
+ mdastExtensions: [gfmTableFromMarkdown()]
486
+ });
487
+ }
488
+ function buildFeishuPostMentionElements(mentions) {
489
+ if (!mentions?.length) return [];
490
+ const elements = [];
491
+ for (const mention of mentions) {
492
+ const userId = mention.openId.trim();
493
+ if (!userId) continue;
494
+ const userName = mention.name.trim();
495
+ elements.push({
496
+ tag: "at",
497
+ user_id: userId,
498
+ ...userName ? { user_name: userName } : {}
499
+ });
500
+ }
501
+ return elements;
502
+ }
503
+ function buildFeishuPostMessageContent(params) {
504
+ const content = [...buildFeishuPostMentionElements(params.mentions), {
505
+ tag: "md",
506
+ text: params.messageText
507
+ }];
508
+ return JSON.stringify({ zh_cn: { content: [content] } });
509
+ }
510
+ function assertFeishuPostWithinEnvelope(content, label) {
511
+ if (Buffer.byteLength(content, "utf8") > FEISHU_POST_MAX_BYTES) throw new Error(`${label} exceeds the 30 KB rich-post API limit`);
512
+ }
513
+ function collectSoftBreakOffsets(text) {
514
+ const root = parseFeishuMarkdown(text);
515
+ const offsets = [];
516
+ const pending = [root];
517
+ while (pending.length > 0) {
518
+ const node = pending.pop();
519
+ if (!node) continue;
520
+ if (node.children) pending.push(...node.children);
521
+ if (node.type !== "text") continue;
522
+ const start = node.position?.start.offset;
523
+ const end = node.position?.end.offset;
524
+ if (start === void 0 || end === void 0) continue;
525
+ for (let offset = start; offset < end; offset += 1) {
526
+ const char = text[offset];
527
+ if (char === "\n") {
528
+ if (text[offset - 1] !== "\r") offsets.push(offset);
529
+ continue;
530
+ }
531
+ if (char === "\r") {
532
+ offsets.push(offset);
533
+ if (text[offset + 1] === "\n") offset += 1;
534
+ }
535
+ }
536
+ }
537
+ return offsets.toSorted((left, right) => left - right);
538
+ }
539
+ /**
540
+ * Materialize CommonMark soft breaks for Feishu post `md` rendering.
541
+ *
542
+ * The parser identifies only soft breaks, then upgrades them to CommonMark
543
+ * hard breaks. Structural line endings and code, HTML, definitions, setext
544
+ * headings, and existing hard breaks retain their source bytes.
545
+ */
546
+ function materializeFeishuPostMarkdownSoftBreaks(text) {
547
+ if (!text.includes("\n") && !text.includes("\r")) return text;
548
+ const softBreakOffsets = collectSoftBreakOffsets(text);
549
+ if (softBreakOffsets.length === 0) return text;
550
+ const parts = [];
551
+ let cursor = 0;
552
+ for (const offset of softBreakOffsets) {
553
+ const lineEnding = text[offset] === "\r" ? text[offset + 1] === "\n" ? "\r\n" : "\r" : "\n";
554
+ parts.push(text.slice(cursor, offset), " ", lineEnding);
555
+ cursor = offset + lineEnding.length;
556
+ }
557
+ parts.push(text.slice(cursor));
558
+ return parts.join("");
559
+ }
560
+ /** Keep every platform chunk independently valid Markdown, including fences. */
561
+ function chunkFeishuMarkdown(text, limit) {
562
+ return chunkMarkdownTextWithMode(text, limit, "length");
563
+ }
564
+ function postContentBytes(messageText, mentions) {
565
+ return Buffer.byteLength(buildFeishuPostMessageContent({
566
+ messageText,
567
+ mentions
568
+ }), "utf8");
569
+ }
570
+ function chunkFeishuPostMarkdown(params) {
571
+ return chunkFeishuMarkdownByEnvelope({
572
+ ...params,
573
+ contentBytes: (text, isFirst) => postContentBytes(text, [...params.chunkMentions ?? [], ...isFirst ? params.firstChunkMentions ?? [] : []])
574
+ });
575
+ }
576
+ /** Measure the actual transport envelope, including UTF-8, JSON escapes and fence wrappers. */
577
+ function chunkFeishuMarkdownByEnvelope(params) {
578
+ const { text } = params;
579
+ if (!text) return [];
580
+ const requestedLimit = Number.isFinite(params.limit) && params.limit > 0 ? Math.floor(params.limit) : text.length;
581
+ const initialChunks = params.initialChunks ?? chunkMarkdownTextWithMode(text, requestedLimit, params.mode ?? "length");
582
+ const output = [];
583
+ for (const initialChunk of initialChunks) {
584
+ if (params.contentBytes(initialChunk, output.length === 0) <= FEISHU_POST_MAX_BYTES) {
585
+ output.push(initialChunk);
586
+ continue;
587
+ }
588
+ let adaptiveLimit = Math.max(1, Math.min(requestedLimit, initialChunk.length));
589
+ while (true) {
590
+ const chunks = chunkMarkdownTextWithMode(initialChunk, adaptiveLimit, params.mode ?? "length");
591
+ let largestContentBytes = 0;
592
+ let oversizedChunk;
593
+ for (const [index, chunk] of chunks.entries()) {
594
+ const contentBytes = params.contentBytes(chunk, output.length === 0 && index === 0);
595
+ largestContentBytes = Math.max(largestContentBytes, contentBytes);
596
+ if (contentBytes > FEISHU_POST_MAX_BYTES && oversizedChunk === void 0) oversizedChunk = chunk;
597
+ }
598
+ if (oversizedChunk === void 0) {
599
+ output.push(...chunks);
600
+ break;
601
+ }
602
+ if (adaptiveLimit === 1) throw new Error("Feishu Markdown chunk exceeds the 30 KB API limit");
603
+ adaptiveLimit = Math.max(1, Math.min(adaptiveLimit - 1, Math.floor(adaptiveLimit * FEISHU_POST_MAX_BYTES / largestContentBytes) - 1));
604
+ }
605
+ }
606
+ return output;
607
+ }
608
+ //#endregion
609
+ //#region extensions/feishu/src/native-card.ts
610
+ const FEISHU_CARD_TEMPLATES = /* @__PURE__ */ new Set([
611
+ "blue",
612
+ "green",
613
+ "red",
614
+ "orange",
615
+ "purple",
616
+ "indigo",
617
+ "wathet",
618
+ "turquoise",
619
+ "yellow",
620
+ "grey",
621
+ "carmine",
622
+ "violet",
623
+ "lime"
624
+ ]);
625
+ function resolveFeishuCardTemplate(template) {
626
+ const normalized = normalizeOptionalLowercaseString(template);
627
+ if (!normalized || !FEISHU_CARD_TEMPLATES.has(normalized)) return;
628
+ return normalized;
629
+ }
630
+ function escapeFeishuCardMarkdownText(text) {
631
+ return text.replace(/[&<>]/g, (char) => {
632
+ switch (char) {
633
+ case "&": return "&amp;";
634
+ case "<": return "&lt;";
635
+ case ">": return "&gt;";
636
+ default: return char;
637
+ }
638
+ });
639
+ }
640
+ function escapeFeishuCardPlainText(text) {
641
+ return escapeFeishuCardMarkdownText(text).replace(/([\\`*_{}[\]()#+\-!|>~])/g, "\\$1");
642
+ }
643
+ function resolveSafeFeishuButtonUrl(url) {
644
+ const trimmed = typeof url === "string" ? url.trim() : "";
645
+ if (!trimmed) return;
646
+ try {
647
+ const parsed = new URL(trimmed);
648
+ return parsed.protocol === "https:" || parsed.protocol === "http:" ? trimmed : void 0;
649
+ } catch {
650
+ return;
651
+ }
652
+ }
653
+ function sanitizeNativeFeishuButtonBehavior(behavior) {
654
+ if (!isRecord(behavior)) return;
655
+ if (behavior.type === "open_url") {
656
+ const safeUrl = resolveSafeFeishuButtonUrl(behavior.default_url) ?? resolveSafeFeishuButtonUrl(behavior.url);
657
+ return safeUrl ? {
658
+ type: "open_url",
659
+ default_url: safeUrl
660
+ } : void 0;
661
+ }
662
+ if (behavior.type === "callback" && isRecord(behavior.value) && behavior.value.oc === "ocf1") return {
663
+ type: "callback",
664
+ value: behavior.value
665
+ };
666
+ }
667
+ function sanitizeNativeFeishuCardButton(button) {
668
+ if (!isRecord(button)) return;
669
+ const text = isRecord(button.text) && typeof button.text.content === "string" ? button.text.content : void 0;
670
+ if (!text?.trim()) return;
671
+ const style = button.type === "danger" ? "danger" : button.type === "primary" || button.type === "success" ? "primary" : void 0;
672
+ const behaviors = Array.isArray(button.behaviors) ? button.behaviors.map(sanitizeNativeFeishuButtonBehavior).filter((behavior) => Boolean(behavior)) : [];
673
+ const rootSafeUrl = resolveSafeFeishuButtonUrl(button.url);
674
+ if (rootSafeUrl) behaviors.push({
675
+ type: "open_url",
676
+ default_url: rootSafeUrl
677
+ });
678
+ if (isRecord(button.value) && button.value.oc === "ocf1") behaviors.push({
679
+ type: "callback",
680
+ value: button.value
681
+ });
682
+ if (behaviors.length === 0) return;
683
+ return {
684
+ tag: "button",
685
+ text: {
686
+ tag: "plain_text",
687
+ content: text
688
+ },
689
+ type: style ?? "default",
690
+ behaviors
691
+ };
692
+ }
693
+ function sanitizeNativeFeishuCardElements(element) {
694
+ if (!isRecord(element) || typeof element.tag !== "string") return [];
695
+ if (element.tag === "hr") return [{ tag: "hr" }];
696
+ if (element.tag === "markdown" && typeof element.content === "string") return [{
697
+ tag: "markdown",
698
+ content: escapeFeishuCardMarkdownText(element.content)
699
+ }];
700
+ if (element.tag === "div" && isRecord(element.text)) {
701
+ const text = element.text;
702
+ if ((text.tag === "lark_md" || text.tag === "plain_text") && typeof text.content === "string") return [{
703
+ tag: "markdown",
704
+ content: (text.tag === "plain_text" ? escapeFeishuCardPlainText : escapeFeishuCardMarkdownText)(text.content)
705
+ }];
706
+ return [];
707
+ }
708
+ if (element.tag === "button") {
709
+ const button = sanitizeNativeFeishuCardButton(element);
710
+ return button ? [button] : [];
711
+ }
712
+ if (element.tag === "action" && Array.isArray(element.actions)) return element.actions.map(sanitizeNativeFeishuCardButton).filter((action) => Boolean(action));
713
+ return [];
714
+ }
715
+ function sanitizeNativeFeishuCard(card) {
716
+ const normalizedCard = card.type === "interactive" && isRecord(card.card) ? card.card : card;
717
+ const body = isRecord(normalizedCard.body) ? normalizedCard.body : void 0;
718
+ const elements = (Array.isArray(body?.elements) ? body.elements : Array.isArray(normalizedCard.elements) ? normalizedCard.elements : []).flatMap(sanitizeNativeFeishuCardElements);
719
+ if (elements.length === 0) return;
720
+ const header = isRecord(normalizedCard.header) ? normalizedCard.header : void 0;
721
+ const title = isRecord(header?.title) && typeof header.title.content === "string" ? header.title.content : void 0;
722
+ return {
723
+ schema: "2.0",
724
+ config: { width_mode: "fill" },
725
+ ...title?.trim() ? { header: {
726
+ title: {
727
+ tag: "plain_text",
728
+ content: title
729
+ },
730
+ template: resolveFeishuCardTemplate(typeof header?.template === "string" ? header.template : void 0) ?? "blue"
731
+ } } : {},
732
+ body: { elements }
733
+ };
734
+ }
735
+ function readNativeFeishuCardJson(text, options) {
736
+ let trimmed = text?.trim();
737
+ const responsePrefix = options?.responsePrefix;
738
+ if (trimmed && responsePrefix && trimmed.startsWith(responsePrefix)) {
739
+ const suffix = trimmed.slice(responsePrefix.length);
740
+ if (/^\s+\{/.test(suffix)) trimmed = suffix.trimStart();
741
+ }
742
+ if (!trimmed?.startsWith("{") || !trimmed.endsWith("}")) return;
743
+ try {
744
+ const parsed = JSON.parse(trimmed);
745
+ return isRecord(parsed) ? sanitizeNativeFeishuCard(parsed) : void 0;
746
+ } catch {
747
+ return;
748
+ }
749
+ }
750
+ //#endregion
751
+ //#region extensions/feishu/src/comment-target.ts
752
+ const FEISHU_COMMENT_FILE_TYPES = [
753
+ "doc",
754
+ "docx",
755
+ "file",
756
+ "sheet",
757
+ "slides"
758
+ ];
759
+ function normalizeCommentFileType(value) {
760
+ return typeof value === "string" && FEISHU_COMMENT_FILE_TYPES.includes(value) ? value : void 0;
761
+ }
762
+ function buildFeishuCommentTarget(params) {
763
+ return `comment:${params.fileType}:${params.fileToken}:${params.commentId}`;
764
+ }
765
+ function parseFeishuCommentTarget(raw) {
766
+ const trimmed = raw?.trim();
767
+ if (!trimmed?.startsWith("comment:")) return null;
768
+ const parts = trimmed.split(":");
769
+ if (parts.length !== 4) return null;
770
+ const fileType = normalizeCommentFileType(parts[1]);
771
+ const fileToken = parts[2]?.trim();
772
+ const commentId = parts[3]?.trim();
773
+ if (!fileType || !fileToken || !commentId) return null;
774
+ return {
775
+ fileType,
776
+ fileToken,
777
+ commentId
778
+ };
779
+ }
780
+ //#endregion
781
+ //#region extensions/feishu/src/send-rate-limit.ts
782
+ const FEISHU_SEND_RATE_LIMIT_CODES = /* @__PURE__ */ new Set([230020, 11232]);
783
+ function getFeishuSendRateLimitCode(error) {
784
+ if (!isRecord(error)) return;
785
+ const response = isRecord(error.response) ? error.response : void 0;
786
+ if (response?.status === 429) return 429;
787
+ const code = (isRecord(response?.data) ? response.data : void 0)?.code;
788
+ return typeof code === "number" && FEISHU_SEND_RATE_LIMIT_CODES.has(code) ? code : void 0;
789
+ }
790
+ function getFeishuSendRateLimitCodeFromResponse(response) {
791
+ if (!isRecord(response)) return;
792
+ const code = response.code;
793
+ return typeof code === "number" && FEISHU_SEND_RATE_LIMIT_CODES.has(code) ? code : void 0;
794
+ }
795
+ //#endregion
796
+ //#region extensions/feishu/src/comment-shared.ts
797
+ var FeishuReplyCommentError = class extends Error {
798
+ constructor(params) {
799
+ super(params.message);
800
+ this.name = "FeishuReplyCommentError";
801
+ this.httpStatus = params.httpStatus;
802
+ this.feishuCode = params.feishuCode;
803
+ this.feishuMsg = params.feishuMsg;
804
+ this.feishuLogId = params.feishuLogId;
805
+ }
806
+ };
807
+ function encodeQuery(params) {
808
+ const query = new URLSearchParams();
809
+ for (const [key, value] of Object.entries(params)) {
810
+ const trimmed = value?.trim();
811
+ if (trimmed) query.set(key, trimmed);
812
+ }
813
+ const queryString = query.toString();
814
+ return queryString ? `?${queryString}` : "";
815
+ }
816
+ function formatFeishuApiError(error, options = {}) {
817
+ if (!isRecord(error)) return typeof error === "string" ? error : JSON.stringify(error);
818
+ const config = isRecord(error.config) ? error.config : void 0;
819
+ const response = isRecord(error.response) ? error.response : void 0;
820
+ const responseData = isRecord(response?.data) ? response?.data : void 0;
821
+ const feishuLogId = readStringValue(responseData?.log_id) || (options.includeNestedErrorLogId ? readStringValue(isRecord(responseData?.error) ? responseData.error.log_id : void 0) : void 0);
822
+ const nestedError = isRecord(responseData?.error) ? responseData.error : void 0;
823
+ return JSON.stringify({
824
+ message: typeof error.message === "string" ? error.message : JSON.stringify(error),
825
+ code: readStringValue(error.code),
826
+ method: readStringValue(config?.method),
827
+ url: readStringValue(config?.url),
828
+ ...options.includeConfigParams ? { params: config?.params } : {},
829
+ http_status: typeof response?.status === "number" ? response.status : void 0,
830
+ feishu_code: typeof responseData?.code === "number" ? responseData.code : readStringValue(responseData?.code),
831
+ feishu_msg: readStringValue(responseData?.msg),
832
+ feishu_log_id: feishuLogId,
833
+ feishu_troubleshooter: readStringValue(responseData?.troubleshooter) || readStringValue(nestedError?.troubleshooter)
834
+ });
835
+ }
836
+ const FEISHU_SEND_RETRY_BASE_MS = 500;
837
+ async function requestFeishuApi(request, errorPrefix, options = {}) {
838
+ const assertSendAuthority = captureFeishuSendAuthority();
839
+ try {
840
+ return await retryAsync(async () => {
841
+ assertSendAuthority?.();
842
+ const result = await request();
843
+ const fulfilledRateLimit = getFeishuSendRateLimitCodeFromResponse(result);
844
+ if (fulfilledRateLimit !== void 0) throw Object.assign(/* @__PURE__ */ new Error(`Request fulfilled with rate-limit code ${fulfilledRateLimit}`), { response: {
845
+ status: 200,
846
+ data: result
847
+ } });
848
+ return result;
849
+ }, {
850
+ attempts: 3,
851
+ minDelayMs: FEISHU_SEND_RETRY_BASE_MS,
852
+ shouldRetry: (error) => getFeishuSendRateLimitCode(error) !== void 0
853
+ });
854
+ } catch (error) {
855
+ const details = formatFeishuApiError(error, options);
856
+ throw new Error(`${errorPrefix}: ${details || "unknown error"}`, { cause: error });
857
+ }
858
+ }
859
+ function readDocsLinkUrl(element) {
860
+ const docsLink = isRecord(element.docs_link) ? element.docs_link : void 0;
861
+ return normalizeOptionalString(docsLink?.url) || normalizeOptionalString(docsLink?.link) || normalizeOptionalString(element.url) || normalizeOptionalString(element.link) || void 0;
862
+ }
863
+ function readMentionUserId(element) {
864
+ const mention = isRecord(element.mention) ? element.mention : void 0;
865
+ const person = isRecord(element.person) ? element.person : void 0;
866
+ return normalizeOptionalString(person?.user_id) || normalizeOptionalString(mention?.user_id) || normalizeOptionalString(mention?.open_id) || normalizeOptionalString(element.mention_user) || normalizeOptionalString(element.user_id) || void 0;
867
+ }
868
+ function readMentionDisplayText(element, userId) {
869
+ const mention = isRecord(element.mention) ? element.mention : void 0;
870
+ const mentionName = normalizeOptionalString(mention?.name) || normalizeOptionalString(mention?.display_name) || normalizeOptionalString(element.name);
871
+ return mentionName ? `@${mentionName}` : `@${userId}`;
872
+ }
873
+ function readElementTextPreservingWhitespace(element) {
874
+ 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;
875
+ }
876
+ const FEISHU_LINK_TOKEN_MIN_LENGTH = 22;
877
+ const FEISHU_LINK_TOKEN_MAX_LENGTH = 28;
878
+ const COMMENT_LINK_KIND_ALIASES = /* @__PURE__ */ new Map([
879
+ ["doc", "doc"],
880
+ ["docs", "doc"],
881
+ ["docx", "docx"],
882
+ ["sheet", "sheet"],
883
+ ["sheets", "sheet"],
884
+ ["slide", "slides"],
885
+ ["slides", "slides"],
886
+ ["file", "file"],
887
+ ["files", "file"],
888
+ ["wiki", "wiki"],
889
+ ["mindnote", "mindnote"],
890
+ ["mindnotes", "mindnote"],
891
+ ["bitable", "bitable"],
892
+ ["base", "base"]
893
+ ]);
894
+ function isReasonableFeishuLinkToken(token) {
895
+ return typeof token === "string" && token.length >= FEISHU_LINK_TOKEN_MIN_LENGTH && token.length <= FEISHU_LINK_TOKEN_MAX_LENGTH;
896
+ }
897
+ function parseCommentLinkedDocumentPath(pathname) {
898
+ const segments = normalizeStringEntries(pathname.split("/"));
899
+ const offset = segments[0]?.toLowerCase() === "space" ? 1 : 0;
900
+ const kind = COMMENT_LINK_KIND_ALIASES.get(segments[offset]?.toLowerCase() ?? "");
901
+ const token = normalizeOptionalString(segments[offset + 1]);
902
+ if (!kind || !isReasonableFeishuLinkToken(token)) return null;
903
+ return {
904
+ urlKind: kind,
905
+ token
906
+ };
907
+ }
908
+ function hasResolvedLinkedDocumentReference(link) {
909
+ return link.urlKind !== "unknown" && (Boolean(link.resolvedObjToken) || Boolean(link.wikiNodeToken));
910
+ }
911
+ function resolveCommentLinkedDocumentFromUrl(params) {
912
+ const link = {
913
+ rawUrl: params.rawUrl,
914
+ urlKind: "unknown"
915
+ };
916
+ try {
917
+ const parsedPath = parseCommentLinkedDocumentPath(new URL(params.rawUrl).pathname);
918
+ if (!parsedPath) return link;
919
+ const { urlKind, token } = parsedPath;
920
+ link.urlKind = urlKind;
921
+ if (urlKind === "wiki") link.wikiNodeToken = token;
922
+ else {
923
+ link.resolvedObjType = urlKind;
924
+ link.resolvedObjToken = token;
925
+ }
926
+ if (link.resolvedObjType && link.resolvedObjToken && normalizeCommentFileType(link.resolvedObjType)) link.isCurrentDocument = params.currentDocument?.fileType === link.resolvedObjType && params.currentDocument.fileToken === link.resolvedObjToken;
927
+ } catch {
928
+ return link;
929
+ }
930
+ return link;
931
+ }
932
+ function parseCommentContentElements(params) {
933
+ const elements = Array.isArray(params.elements) ? params.elements : [];
934
+ const plainTextParts = [];
935
+ const semanticTextParts = [];
936
+ const mentions = [];
937
+ const linkedDocuments = [];
938
+ const botIds = new Set(normalizeTrimmedStringList(Array.from(params.botOpenIds ?? [])));
939
+ const linkedDocumentKeys = /* @__PURE__ */ new Set();
940
+ let botMentioned = false;
941
+ for (const rawElement of elements) {
942
+ if (!isRecord(rawElement)) continue;
943
+ const element = rawElement;
944
+ const type = normalizeOptionalString(element.type);
945
+ if (type === "mention" || type === "mention_user" || type === "person") {
946
+ const userId = readMentionUserId(element);
947
+ if (userId) {
948
+ const displayText = readMentionDisplayText(element, userId);
949
+ const isBotMention = botIds.has(userId);
950
+ mentions.push({
951
+ userId,
952
+ displayText,
953
+ isBotMention
954
+ });
955
+ plainTextParts.push(displayText);
956
+ if (!isBotMention) semanticTextParts.push(displayText);
957
+ else botMentioned = true;
958
+ continue;
959
+ }
960
+ }
961
+ if (type === "docs_link" || type === "link") {
962
+ const rawUrl = readDocsLinkUrl(element);
963
+ if (rawUrl) {
964
+ plainTextParts.push(rawUrl);
965
+ semanticTextParts.push(rawUrl);
966
+ const linkedDocument = resolveCommentLinkedDocumentFromUrl({
967
+ rawUrl,
968
+ currentDocument: params.currentDocument
969
+ });
970
+ if (hasResolvedLinkedDocumentReference(linkedDocument)) {
971
+ const key = [
972
+ linkedDocument.rawUrl,
973
+ linkedDocument.urlKind,
974
+ linkedDocument.resolvedObjType,
975
+ linkedDocument.resolvedObjToken,
976
+ linkedDocument.wikiNodeToken
977
+ ].join(":");
978
+ if (!linkedDocumentKeys.has(key)) {
979
+ linkedDocumentKeys.add(key);
980
+ linkedDocuments.push(linkedDocument);
981
+ }
982
+ }
983
+ continue;
984
+ }
985
+ }
986
+ const text = readElementTextPreservingWhitespace(element);
987
+ if (text) {
988
+ plainTextParts.push(text);
989
+ semanticTextParts.push(text);
990
+ }
991
+ }
992
+ return {
993
+ plainText: normalizeOptionalString(plainTextParts.join("")),
994
+ semanticText: normalizeOptionalString(semanticTextParts.join("").replace(/\s+/g, " ")),
995
+ mentions,
996
+ linkedDocuments,
997
+ botMentioned
998
+ };
999
+ }
1000
+ function extractReplyText(reply) {
1001
+ if (!reply || !isRecord(reply.content)) return;
1002
+ return parseCommentContentElements({ elements: Array.isArray(reply.content.elements) ? reply.content.elements : [] }).plainText;
1003
+ }
1004
+ //#endregion
1005
+ //#region extensions/feishu/src/comment-reaction.ts
1006
+ const COMMENT_TYPING_REACTION_TYPE = "Typing";
1007
+ const COMMENT_REACTION_TIMEOUT_MS = 3e4;
1008
+ const commentTypingReactionState = /* @__PURE__ */ new Map();
1009
+ function buildCommentTypingReactionKey(params) {
1010
+ return `${params.fileType}:${params.fileToken}:${params.replyId}`;
1011
+ }
1012
+ function ensureCommentTypingReactionState(key) {
1013
+ const existing = commentTypingReactionState.get(key);
1014
+ if (existing) return existing;
1015
+ const created = {
1016
+ active: false,
1017
+ cleaned: false,
1018
+ cleanupPromise: void 0
1019
+ };
1020
+ commentTypingReactionState.set(key, created);
1021
+ return created;
1022
+ }
1023
+ async function requestCommentTypingReactionWithClient(params) {
1024
+ try {
1025
+ const response = await params.client.request({
1026
+ method: "POST",
1027
+ url: `/open-apis/drive/v2/files/${encodeURIComponent(params.fileToken)}/comments/reaction` + encodeQuery({ file_type: params.fileType }),
1028
+ data: {
1029
+ action: params.action,
1030
+ reply_id: params.replyId,
1031
+ reaction_type: COMMENT_TYPING_REACTION_TYPE
1032
+ },
1033
+ timeout: COMMENT_REACTION_TIMEOUT_MS
1034
+ });
1035
+ if (response.code === 0) return true;
1036
+ 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"}`);
1037
+ } catch (error) {
1038
+ params.runtime?.log?.(`${params.logPrefix ?? "[feishu]"}: comment typing reaction ${params.action} threw reply=${params.replyId} file=${params.fileType}:${params.fileToken} error=${formatFeishuApiError(error, { includeNestedErrorLogId: true })}`);
1039
+ }
1040
+ return false;
1041
+ }
1042
+ async function requestCommentTypingReaction(params) {
1043
+ const account = resolveFeishuRuntimeAccount({
1044
+ cfg: params.cfg,
1045
+ accountId: params.accountId
1046
+ });
1047
+ if (!account.configured || !(account.config.typingIndicator ?? true)) return false;
1048
+ return requestCommentTypingReactionWithClient({
1049
+ client: createFeishuClient(account),
1050
+ fileToken: params.fileToken,
1051
+ fileType: params.fileType,
1052
+ replyId: params.replyId,
1053
+ action: params.action,
1054
+ runtime: params.runtime,
1055
+ logPrefix: `feishu[${account.accountId}]`
1056
+ });
1057
+ }
1058
+ async function cleanupCommentTypingReactionByKey(params) {
1059
+ const state = ensureCommentTypingReactionState(params.key);
1060
+ if (state.cleaned) return false;
1061
+ if (state.cleanupPromise) return await state.cleanupPromise;
1062
+ const cleanupPromise = (async () => {
1063
+ if (!state.active) {
1064
+ state.cleaned = true;
1065
+ return false;
1066
+ }
1067
+ const deleted = await params.performDelete();
1068
+ if (deleted) {
1069
+ state.cleaned = true;
1070
+ state.active = false;
1071
+ }
1072
+ return deleted;
1073
+ })();
1074
+ state.cleanupPromise = cleanupPromise;
1075
+ try {
1076
+ return await cleanupPromise;
1077
+ } finally {
1078
+ state.cleanupPromise = void 0;
1079
+ if (state.cleaned) {
1080
+ state.active = false;
1081
+ commentTypingReactionState.delete(params.key);
1082
+ }
1083
+ }
1084
+ }
1085
+ async function cleanupAmbientCommentTypingReaction(params) {
1086
+ const deliveryContext = params.deliveryContext;
1087
+ if (deliveryContext?.channel && deliveryContext.channel !== "feishu" && deliveryContext.channel !== "feishu-comment") return false;
1088
+ const target = parseFeishuCommentTarget(deliveryContext?.to);
1089
+ const replyId = typeof deliveryContext?.threadId === "string" || typeof deliveryContext?.threadId === "number" ? String(deliveryContext.threadId).trim() : "";
1090
+ if (!target || !replyId) return false;
1091
+ return cleanupCommentTypingReactionByKey({
1092
+ key: buildCommentTypingReactionKey({
1093
+ ...target,
1094
+ replyId
1095
+ }),
1096
+ performDelete: () => requestCommentTypingReactionWithClient({
1097
+ ...target,
1098
+ client: params.client,
1099
+ replyId,
1100
+ action: "delete",
1101
+ runtime: params.runtime,
1102
+ logPrefix: "[feishu]"
1103
+ })
1104
+ });
1105
+ }
1106
+ function createCommentTypingReactionLifecycle(params) {
1107
+ const key = params.replyId?.trim() ? buildCommentTypingReactionKey({
1108
+ ...params,
1109
+ replyId: params.replyId.trim()
1110
+ }) : void 0;
1111
+ const state = key ? ensureCommentTypingReactionState(key) : void 0;
1112
+ return {
1113
+ start: async () => {
1114
+ const replyId = params.replyId?.trim();
1115
+ if (!state || state.cleaned || state.active || !replyId) return;
1116
+ state.active = await requestCommentTypingReaction({
1117
+ ...params,
1118
+ replyId,
1119
+ action: "add"
1120
+ });
1121
+ },
1122
+ cleanup: async () => {
1123
+ const replyId = params.replyId?.trim();
1124
+ if (!key || !replyId) return;
1125
+ await cleanupCommentTypingReactionByKey({
1126
+ key,
1127
+ performDelete: () => requestCommentTypingReaction({
1128
+ ...params,
1129
+ replyId,
1130
+ action: "delete"
1131
+ })
1132
+ });
1133
+ }
1134
+ };
1135
+ }
1136
+ //#endregion
1137
+ //#region extensions/feishu/src/api-response.ts
1138
+ function assertFeishuApiSuccess(response, errorPrefix) {
1139
+ if (response.code !== 0) throw new Error(errorPrefix === void 0 ? response.msg : `${errorPrefix}: ${response.msg || `code ${response.code}`}`);
1140
+ }
1141
+ //#endregion
1142
+ //#region extensions/feishu/src/drive-schema.ts
1143
+ const FileType = Type.Union([
1144
+ Type.Literal("doc"),
1145
+ Type.Literal("docx"),
1146
+ Type.Literal("sheet"),
1147
+ Type.Literal("bitable"),
1148
+ Type.Literal("folder"),
1149
+ Type.Literal("file"),
1150
+ Type.Literal("mindnote"),
1151
+ Type.Literal("shortcut")
1152
+ ]);
1153
+ const CommentFileType = Type.Union([
1154
+ Type.Literal("doc"),
1155
+ Type.Literal("docx"),
1156
+ Type.Literal("sheet"),
1157
+ Type.Literal("file"),
1158
+ Type.Literal("slides")
1159
+ ]);
1160
+ const FeishuDriveSchema = Type.Union([
1161
+ Type.Object({
1162
+ action: Type.Literal("list"),
1163
+ folder_token: Type.Optional(Type.String({ description: "Folder token (optional, omit for root directory)" })),
1164
+ page_size: Type.Optional(Type.Integer({
1165
+ minimum: 1,
1166
+ maximum: 200,
1167
+ description: "Items per folder page (1-200; requires folder_token)"
1168
+ })),
1169
+ page_token: Type.Optional(Type.String({ description: "Continuation token from a prior list result (requires the same folder_token)" }))
1170
+ }),
1171
+ Type.Object({
1172
+ action: Type.Literal("info"),
1173
+ file_token: Type.String({ description: "File or folder token" }),
1174
+ type: FileType
1175
+ }),
1176
+ Type.Object({
1177
+ action: Type.Literal("create_folder"),
1178
+ name: Type.String({ description: "Folder name" }),
1179
+ folder_token: Type.Optional(Type.String({ description: "Parent folder token (optional, omit for root)" }))
1180
+ }),
1181
+ Type.Object({
1182
+ action: Type.Literal("move"),
1183
+ file_token: Type.String({ description: "File token to move" }),
1184
+ type: FileType,
1185
+ folder_token: Type.String({ description: "Target folder token" })
1186
+ }),
1187
+ Type.Object({
1188
+ action: Type.Literal("delete"),
1189
+ file_token: Type.String({ description: "File token to delete" }),
1190
+ type: FileType
1191
+ }),
1192
+ Type.Object({
1193
+ action: Type.Literal("list_comments"),
1194
+ file_token: Type.String({ description: "Document token" }),
1195
+ file_type: Type.Optional(CommentFileType),
1196
+ page_size: Type.Optional(Type.Integer({
1197
+ minimum: 1,
1198
+ maximum: 100,
1199
+ description: "Page size"
1200
+ })),
1201
+ page_token: Type.Optional(Type.String({ description: "Comment page token" }))
1202
+ }),
1203
+ Type.Object({
1204
+ action: Type.Literal("list_comment_replies"),
1205
+ file_token: Type.String({ description: "Document token" }),
1206
+ file_type: Type.Optional(CommentFileType),
1207
+ comment_id: Type.String({ description: "Comment id" }),
1208
+ page_size: Type.Optional(Type.Integer({
1209
+ minimum: 1,
1210
+ maximum: 100,
1211
+ description: "Page size"
1212
+ })),
1213
+ page_token: Type.Optional(Type.String({ description: "Reply page token" }))
1214
+ }),
1215
+ Type.Object({
1216
+ action: Type.Literal("add_comment"),
1217
+ file_token: Type.String({ description: "Document token" }),
1218
+ file_type: Type.Optional(Type.Union([Type.Literal("doc"), Type.Literal("docx")], { description: "Document type. Defaults to docx when omitted." })),
1219
+ content: Type.String({ description: "Comment text content" }),
1220
+ block_id: Type.Optional(Type.String({ description: "Optional docx block id for a local comment. Omit to create a full-document comment." }))
1221
+ }),
1222
+ Type.Object({
1223
+ action: Type.Literal("reply_comment"),
1224
+ file_token: Type.String({ description: "Document token" }),
1225
+ file_type: Type.Optional(CommentFileType),
1226
+ comment_id: Type.String({ description: "Comment id" }),
1227
+ content: Type.String({ description: "Reply text content" })
1228
+ })
1229
+ ]);
1230
+ //#endregion
1231
+ //#region extensions/feishu/src/tools-config.ts
1232
+ /**
1233
+ * Default tool configuration.
1234
+ * - doc, chat, wiki, drive, scopes, bitable: enabled by default
1235
+ * - perm: disabled by default (sensitive operation)
1236
+ */
1237
+ const DEFAULT_TOOLS_CONFIG = {
1238
+ doc: true,
1239
+ chat: true,
1240
+ wiki: true,
1241
+ drive: true,
1242
+ perm: false,
1243
+ scopes: true,
1244
+ bitable: true
1245
+ };
1246
+ /** Resolve tools config with defaults. */
1247
+ function resolveToolsConfig(cfg) {
1248
+ return {
1249
+ ...DEFAULT_TOOLS_CONFIG,
1250
+ ...cfg
1251
+ };
1252
+ }
1253
+ //#endregion
1254
+ //#region extensions/feishu/src/tool-account.ts
1255
+ function resolveImplicitToolAccountId(params) {
1256
+ const explicitAccountId = normalizeOptionalString(params.executeParams?.accountId);
1257
+ if (explicitAccountId) {
1258
+ const normalizedAccountId = normalizeOptionalAccountId(explicitAccountId);
1259
+ if (!normalizedAccountId) throw new Error(`Invalid Feishu account ID "${explicitAccountId}"`);
1260
+ const listedAccountId = listFeishuAccountIds(params.cfg).find((accountId) => normalizeOptionalAccountId(accountId) === normalizedAccountId) ?? (() => {
1261
+ const defaultAccountId = resolveDefaultFeishuAccountId(params.cfg);
1262
+ return normalizeOptionalAccountId(defaultAccountId) === normalizedAccountId ? defaultAccountId : void 0;
1263
+ })();
1264
+ if (!listedAccountId) throw new Error(`Unknown Feishu account "${explicitAccountId}"`);
1265
+ if (!resolveFeishuAccount({
1266
+ cfg: params.cfg,
1267
+ accountId: normalizedAccountId
1268
+ }).enabled) throw new Error(`Feishu account "${listedAccountId}" is disabled`);
1269
+ return normalizedAccountId;
1270
+ }
1271
+ const contextualAccountId = normalizeOptionalAccountId(params.defaultAccountId);
1272
+ if (contextualAccountId !== void 0 && listFeishuAccountIds(params.cfg).some((accountId) => normalizeOptionalAccountId(accountId) === contextualAccountId)) {
1273
+ if (resolveFeishuAccount({
1274
+ cfg: params.cfg,
1275
+ accountId: contextualAccountId
1276
+ }).enabled) return contextualAccountId;
1277
+ }
1278
+ const configuredDefaultAccountId = normalizeOptionalString((params.cfg.channels?.feishu)?.defaultAccount);
1279
+ if (configuredDefaultAccountId && resolveFeishuAccount({
1280
+ cfg: params.cfg,
1281
+ accountId: configuredDefaultAccountId
1282
+ }).enabled) return configuredDefaultAccountId;
1283
+ for (const accountId of listFeishuAccountIds(params.cfg)) {
1284
+ const account = resolveFeishuAccount({
1285
+ cfg: params.cfg,
1286
+ accountId
1287
+ });
1288
+ if (account.enabled && account.configured && resolveToolsConfig(account.config.tools)[params.requiredTool.family]) return accountId;
1289
+ }
1290
+ throw new Error(`No usable Feishu account has ${params.requiredTool.label} tools enabled`);
1291
+ }
1292
+ function resolveFeishuToolAccount(params) {
1293
+ const account = resolveFeishuRuntimeAccount({
1294
+ cfg: params.cfg,
1295
+ accountId: resolveImplicitToolAccountId(params)
1296
+ });
1297
+ if (!resolveToolsConfig(account.config.tools)[params.requiredTool.family]) throw new Error(`Feishu ${params.requiredTool.label} tools are disabled for account "${account.accountId}"`);
1298
+ return account;
1299
+ }
1300
+ function createFeishuToolClient(params) {
1301
+ return createFeishuClient(resolveFeishuToolAccount(params));
1302
+ }
1303
+ function resolveAnyEnabledFeishuToolsConfig(config) {
1304
+ const accounts = listEnabledFeishuAccounts(config);
1305
+ const merged = {
1306
+ doc: false,
1307
+ chat: false,
1308
+ wiki: false,
1309
+ drive: false,
1310
+ perm: false,
1311
+ scopes: false,
1312
+ bitable: false
1313
+ };
1314
+ for (const account of accounts) {
1315
+ const cfg = resolveToolsConfig(account.config.tools);
1316
+ merged.doc = merged.doc || cfg.doc;
1317
+ merged.chat = merged.chat || cfg.chat;
1318
+ merged.wiki = merged.wiki || cfg.wiki;
1319
+ merged.drive = merged.drive || cfg.drive;
1320
+ merged.perm = merged.perm || cfg.perm;
1321
+ merged.scopes = merged.scopes || cfg.scopes;
1322
+ merged.bitable = merged.bitable || cfg.bitable;
1323
+ }
1324
+ return merged;
1325
+ }
1326
+ //#endregion
1327
+ //#region extensions/feishu/src/tool-result.ts
1328
+ function feishuExternalToolResult(details) {
1329
+ return {
1330
+ content: [{
1331
+ type: "text",
1332
+ text: wrapExternalContent(JSON.stringify(details, null, 2), {
1333
+ source: "api",
1334
+ includeWarning: false
1335
+ })
1336
+ }],
1337
+ details
1338
+ };
1339
+ }
1340
+ function unknownToolActionResult(action) {
1341
+ return jsonResult({ error: `Unknown action: ${String(action)}` });
1342
+ }
1343
+ function toolExecutionErrorResult(error) {
1344
+ return feishuExternalToolResult({ error: formatErrorMessage(error) });
1345
+ }
1346
+ //#endregion
1347
+ //#region extensions/feishu/src/tool-registration.ts
1348
+ function registerFeishuTool(api, tool) {
1349
+ api.registerTool((ctx) => {
1350
+ const cfg = ctx.runtimeConfig ?? ctx.config ?? api.config;
1351
+ if (!cfg || !resolveAnyEnabledFeishuToolsConfig(cfg)[tool.family]) return null;
1352
+ const execute = tool.createExecute(ctx, cfg);
1353
+ return {
1354
+ name: tool.name,
1355
+ label: tool.label,
1356
+ description: tool.description,
1357
+ parameters: tool.parameters,
1358
+ resultContentSource: "network",
1359
+ async execute(_toolCallId, params) {
1360
+ try {
1361
+ return await execute(params);
1362
+ } catch (error) {
1363
+ return (tool.onError ?? toolExecutionErrorResult)(error);
1364
+ }
1365
+ }
1366
+ };
1367
+ }, { name: tool.name });
1368
+ }
1369
+ //#endregion
1370
+ //#region extensions/feishu/src/drive.ts
1371
+ const FEISHU_DRIVE_REQUEST_TIMEOUT_MS = 3e4;
1372
+ function getDriveInternalClient(client) {
1373
+ return client;
1374
+ }
1375
+ async function requestDriveApi(params) {
1376
+ return await getDriveInternalClient(params.client).request({
1377
+ method: params.method,
1378
+ url: params.url,
1379
+ params: params.query ?? {},
1380
+ data: params.data ?? {},
1381
+ timeout: FEISHU_DRIVE_REQUEST_TIMEOUT_MS
1382
+ });
1383
+ }
1384
+ function assertDriveApiSuccess(response) {
1385
+ if (response.code !== 0) throw new Error(response.msg ?? "Feishu Drive API request failed");
1386
+ return response;
1387
+ }
1388
+ function normalizeCommentReply(reply) {
1389
+ return {
1390
+ reply_id: reply.reply_id,
1391
+ user_id: reply.user_id,
1392
+ create_time: reply.create_time,
1393
+ update_time: reply.update_time,
1394
+ text: extractReplyText(reply)
1395
+ };
1396
+ }
1397
+ function normalizeCommentCard(comment) {
1398
+ const replies = comment.reply_list?.replies ?? [];
1399
+ const rootReply = replies[0];
1400
+ return {
1401
+ comment_id: comment.comment_id,
1402
+ user_id: comment.user_id,
1403
+ create_time: comment.create_time,
1404
+ update_time: comment.update_time,
1405
+ is_solved: comment.is_solved,
1406
+ is_whole: comment.is_whole,
1407
+ quote: comment.quote,
1408
+ text: extractReplyText(rootReply),
1409
+ has_more_replies: comment.has_more,
1410
+ replies_page_token: comment.page_token,
1411
+ replies: replies.slice(1).map(normalizeCommentReply)
1412
+ };
1413
+ }
1414
+ function normalizeCommentPageSize(pageSize) {
1415
+ if (typeof pageSize !== "number" || !Number.isFinite(pageSize)) return;
1416
+ return String(Math.min(Math.max(Math.floor(pageSize), 1), 100));
1417
+ }
1418
+ function resolveAmbientCommentTarget(context) {
1419
+ const deliveryContext = context?.deliveryContext;
1420
+ if (deliveryContext?.channel && deliveryContext.channel !== "feishu") return null;
1421
+ return parseFeishuCommentTarget(deliveryContext?.to);
1422
+ }
1423
+ function resolveDriveCommentParams(params, context, action) {
1424
+ const ambient = resolveAmbientCommentTarget(context);
1425
+ let resolved = params;
1426
+ if (ambient && (action !== "add_comment" || ambient.fileType === "doc" || ambient.fileType === "docx")) resolved = {
1427
+ ...params,
1428
+ file_token: params.file_token?.trim() || ambient.fileToken,
1429
+ file_type: params.file_type ?? ambient.fileType,
1430
+ ...action !== "add_comment" && { comment_id: params.comment_id?.trim() || ambient.commentId }
1431
+ };
1432
+ const fileType = resolved.file_type ?? "docx";
1433
+ if (!resolved.file_type) console.info(`[feishu_drive] ${action} missing file_type; defaulting to docx file_token=${resolved.file_token ?? "unknown"}`);
1434
+ return {
1435
+ ...resolved,
1436
+ file_type: fileType
1437
+ };
1438
+ }
1439
+ function extractDriveApiErrorMeta(error) {
1440
+ if (!isRecord(error)) return { message: typeof error === "string" ? error : JSON.stringify(error) };
1441
+ const response = isRecord(error.response) ? error.response : void 0;
1442
+ const responseData = isRecord(response?.data) ? response?.data : void 0;
1443
+ return {
1444
+ message: typeof error.message === "string" ? error.message : JSON.stringify(error),
1445
+ httpStatus: typeof response?.status === "number" ? response.status : void 0,
1446
+ feishuCode: typeof responseData?.code === "number" ? responseData.code : readStringValue(responseData?.code),
1447
+ feishuMsg: readStringValue(responseData?.msg),
1448
+ feishuLogId: readStringValue(responseData?.log_id)
1449
+ };
1450
+ }
1451
+ async function getRootFolderToken(client) {
1452
+ const internalClient = getDriveInternalClient(client);
1453
+ const domain = internalClient.domain ?? "https://open.feishu.cn";
1454
+ const res = await internalClient.httpInstance.get(`${domain}/open-apis/drive/explorer/v2/root_folder/meta`);
1455
+ if (res.code !== 0) throw new Error(res.msg ?? "Failed to get root folder");
1456
+ const token = res.data?.token;
1457
+ if (!token) throw new Error("Root folder token not found");
1458
+ return token;
1459
+ }
1460
+ async function listFolder(client, params = {}) {
1461
+ const folderToken = typeof params.folder_token === "string" ? params.folder_token.trim() : void 0;
1462
+ const validFolderToken = folderToken && folderToken !== "0" ? folderToken : void 0;
1463
+ const pageSize = readPositiveIntegerParam(params, "page_size", {
1464
+ max: 200,
1465
+ message: "page_size must be a positive integer between 1 and 200"
1466
+ });
1467
+ const pageToken = typeof params.page_token === "string" ? params.page_token.trim() : void 0;
1468
+ const listParams = validFolderToken ? {
1469
+ folder_token: validFolderToken,
1470
+ ...pageSize ? { page_size: pageSize } : {},
1471
+ ...pageToken ? { page_token: pageToken } : {}
1472
+ } : {};
1473
+ const res = await client.drive.file.list({ params: listParams });
1474
+ assertFeishuApiSuccess(res);
1475
+ return {
1476
+ files: res.data?.files?.map((f) => ({
1477
+ token: f.token,
1478
+ name: f.name,
1479
+ type: f.type,
1480
+ url: f.url,
1481
+ created_time: f.created_time,
1482
+ modified_time: f.modified_time,
1483
+ owner_id: f.owner_id
1484
+ })) ?? [],
1485
+ next_page_token: res.data?.next_page_token
1486
+ };
1487
+ }
1488
+ async function getRootFileInfo(client, fileToken) {
1489
+ const { files } = await listFolder(client);
1490
+ const file = files.find((candidate) => candidate.token === fileToken);
1491
+ if (!file) throw new Error(`File not found: ${fileToken}`);
1492
+ return file;
1493
+ }
1494
+ async function getFileInfo(client, fileToken, type) {
1495
+ if (type === "shortcut") return getRootFileInfo(client, fileToken);
1496
+ let res;
1497
+ try {
1498
+ res = await client.drive.meta.batchQuery({ data: {
1499
+ request_docs: [{
1500
+ doc_token: fileToken,
1501
+ doc_type: type
1502
+ }],
1503
+ with_url: true
1504
+ } });
1505
+ } catch (error) {
1506
+ if (extractDriveApiErrorMeta(error).feishuCode === 99991672) return getRootFileInfo(client, fileToken);
1507
+ throw error;
1508
+ }
1509
+ if (res.code === 99991672) return getRootFileInfo(client, fileToken);
1510
+ assertFeishuApiSuccess(res);
1511
+ const file = res.data?.metas?.find((meta) => meta.doc_token === fileToken || meta.request_doc_info?.doc_token === fileToken);
1512
+ if (!file) throw new Error(`File not found: ${fileToken}`);
1513
+ return {
1514
+ token: file.doc_token,
1515
+ name: file.title,
1516
+ type: file.doc_type,
1517
+ url: file.url,
1518
+ created_time: file.create_time,
1519
+ modified_time: file.latest_modify_time,
1520
+ owner_id: file.owner_id
1521
+ };
1522
+ }
1523
+ async function createFolder(client, name, folderToken) {
1524
+ let effectiveToken = folderToken && folderToken !== "0" ? folderToken : "0";
1525
+ if (effectiveToken === "0") try {
1526
+ effectiveToken = await getRootFolderToken(client);
1527
+ } catch {}
1528
+ const res = await client.drive.file.createFolder({ data: {
1529
+ name,
1530
+ folder_token: effectiveToken
1531
+ } });
1532
+ assertFeishuApiSuccess(res);
1533
+ return {
1534
+ token: res.data?.token,
1535
+ url: res.data?.url
1536
+ };
1537
+ }
1538
+ async function moveFile(client, fileToken, type, folderToken) {
1539
+ const res = await client.drive.file.move({
1540
+ path: { file_token: fileToken },
1541
+ data: {
1542
+ type,
1543
+ folder_token: folderToken
1544
+ }
1545
+ });
1546
+ assertFeishuApiSuccess(res);
1547
+ return {
1548
+ success: true,
1549
+ task_id: res.data?.task_id
1550
+ };
1551
+ }
1552
+ async function deleteFile(client, fileToken, type) {
1553
+ const res = await client.drive.file.delete({
1554
+ path: { file_token: fileToken },
1555
+ params: { type }
1556
+ });
1557
+ assertFeishuApiSuccess(res);
1558
+ return {
1559
+ success: true,
1560
+ task_id: res.data?.task_id
1561
+ };
1562
+ }
1563
+ async function listDriveCommentPage(client, params) {
1564
+ const filePath = `/open-apis/drive/v1/files/${encodeURIComponent(params.file_token)}/comments`;
1565
+ const isReplies = params.action === "list_comment_replies";
1566
+ const response = assertDriveApiSuccess(await requestDriveApi({
1567
+ client,
1568
+ method: "GET",
1569
+ url: (isReplies ? `${filePath}/${encodeURIComponent(params.comment_id)}/replies` : filePath) + encodeQuery({
1570
+ file_type: params.file_type,
1571
+ page_size: normalizeCommentPageSize(params.page_size),
1572
+ page_token: params.page_token,
1573
+ user_id_type: "open_id"
1574
+ })
1575
+ }));
1576
+ return {
1577
+ has_more: response.data?.has_more ?? false,
1578
+ page_token: response.data?.page_token,
1579
+ ...isReplies ? { replies: (response.data?.items ?? []).map(normalizeCommentReply) } : { comments: (response.data?.items ?? []).map(normalizeCommentCard) }
1580
+ };
1581
+ }
1582
+ async function addComment(client, params) {
1583
+ if (params.block_id?.trim() && params.file_type !== "docx") throw new Error("block_id is only supported for docx comments");
1584
+ return {
1585
+ success: true,
1586
+ ...assertDriveApiSuccess(await withFeishuMessageDispatch(() => requestDriveApi({
1587
+ client,
1588
+ method: "POST",
1589
+ url: `/open-apis/drive/v1/files/${encodeURIComponent(params.file_token)}/new_comments`,
1590
+ data: {
1591
+ file_type: params.file_type,
1592
+ reply_elements: [{
1593
+ type: "text",
1594
+ text: params.content
1595
+ }],
1596
+ ...params.block_id?.trim() ? { anchor: { block_id: params.block_id.trim() } } : {}
1597
+ }
1598
+ }))).data
1599
+ };
1600
+ }
1601
+ async function queryCommentById(client, params) {
1602
+ return assertDriveApiSuccess(await requestDriveApi({
1603
+ client,
1604
+ method: "POST",
1605
+ url: `/open-apis/drive/v1/files/${encodeURIComponent(params.file_token)}/comments/batch_query` + encodeQuery({
1606
+ file_type: params.file_type,
1607
+ user_id_type: "open_id"
1608
+ }),
1609
+ data: { comment_ids: [params.comment_id] }
1610
+ })).data?.items?.find((comment) => comment.comment_id?.trim() === params.comment_id);
1611
+ }
1612
+ async function replyComment(client, params) {
1613
+ const url = `/open-apis/drive/v1/files/${encodeURIComponent(params.file_token)}/comments/${encodeURIComponent(params.comment_id)}/replies`;
1614
+ const query = { file_type: params.file_type };
1615
+ try {
1616
+ const response = await withFeishuMessageDispatch(() => requestDriveApi({
1617
+ client,
1618
+ method: "POST",
1619
+ url,
1620
+ query,
1621
+ data: { content: { elements: [{
1622
+ type: "text_run",
1623
+ text_run: { text: params.content }
1624
+ }] } }
1625
+ }));
1626
+ if (response.code === 0) return {
1627
+ success: true,
1628
+ ...response.data
1629
+ };
1630
+ 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"}`);
1631
+ throw new FeishuReplyCommentError({
1632
+ message: response.msg ?? "Feishu Drive reply comment failed",
1633
+ feishuCode: response.code,
1634
+ feishuMsg: response.msg,
1635
+ feishuLogId: response.log_id
1636
+ });
1637
+ } catch (error) {
1638
+ if (error instanceof FeishuReplyCommentError || error instanceof PlatformMessageNotDispatchedError) throw error;
1639
+ const meta = extractDriveApiErrorMeta(error);
1640
+ console.warn(`[feishu_drive] replyComment threw comment=${params.comment_id} file_type=${params.file_type} error=${formatFeishuApiError(error, { includeConfigParams: true })}`);
1641
+ throw new FeishuReplyCommentError(meta);
1642
+ }
1643
+ }
1644
+ async function deliverCommentThreadText(client, params) {
1645
+ let isWholeComment = params.is_whole_comment;
1646
+ if (isWholeComment === void 0) try {
1647
+ isWholeComment = (await queryCommentById(client, params))?.is_whole === true;
1648
+ } catch (error) {
1649
+ console.warn(`[feishu_drive] comment metadata preflight failed comment=${params.comment_id} file_type=${params.file_type} error=${formatErrorMessage(error)}`);
1650
+ isWholeComment = false;
1651
+ }
1652
+ if (isWholeComment) {
1653
+ 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})`);
1654
+ console.info(`[feishu_drive] whole-comment compatibility path comment=${params.comment_id} file_type=${params.file_type} mode=add_comment`);
1655
+ return {
1656
+ delivery_mode: "add_comment",
1657
+ ...await addComment(client, {
1658
+ file_token: params.file_token,
1659
+ file_type: params.file_type,
1660
+ content: params.content
1661
+ })
1662
+ };
1663
+ }
1664
+ try {
1665
+ return {
1666
+ delivery_mode: "reply_comment",
1667
+ ...await replyComment(client, params)
1668
+ };
1669
+ } catch (error) {
1670
+ if (error instanceof FeishuReplyCommentError && error.feishuCode === 1069302) {
1671
+ if (params.file_type !== "doc" && params.file_type !== "docx") throw error;
1672
+ 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"}`);
1673
+ return {
1674
+ delivery_mode: "add_comment",
1675
+ ...await addComment(client, {
1676
+ file_token: params.file_token,
1677
+ file_type: params.file_type,
1678
+ content: params.content
1679
+ })
1680
+ };
1681
+ }
1682
+ throw error;
1683
+ }
1684
+ }
1685
+ function registerFeishuDriveTools(api) {
1686
+ registerFeishuTool(api, {
1687
+ family: "drive",
1688
+ name: "feishu_drive",
1689
+ label: "Feishu Drive",
1690
+ description: "Feishu cloud storage operations. Actions: list, info, create_folder, move, delete, list_comments, list_comment_replies, add_comment, reply_comment",
1691
+ parameters: FeishuDriveSchema,
1692
+ createExecute(ctx, cfg) {
1693
+ const defaultAccountId = ctx.agentAccountId;
1694
+ return async (p) => {
1695
+ const client = createFeishuToolClient({
1696
+ cfg,
1697
+ executeParams: p,
1698
+ defaultAccountId,
1699
+ requiredTool: {
1700
+ family: "drive",
1701
+ label: "Drive"
1702
+ }
1703
+ });
1704
+ switch (p.action) {
1705
+ case "list": return feishuExternalToolResult(await listFolder(client, p));
1706
+ case "info": return feishuExternalToolResult(await getFileInfo(client, p.file_token, p.type));
1707
+ case "create_folder": return feishuExternalToolResult(await createFolder(client, p.name, p.folder_token));
1708
+ case "move": return feishuExternalToolResult(await moveFile(client, p.file_token, p.type, p.folder_token));
1709
+ case "delete": return feishuExternalToolResult(await deleteFile(client, p.file_token, p.type));
1710
+ case "list_comments":
1711
+ case "list_comment_replies": return feishuExternalToolResult(await listDriveCommentPage(client, resolveDriveCommentParams(p, ctx, p.action)));
1712
+ case "add_comment":
1713
+ case "reply_comment": {
1714
+ const resolved = resolveDriveCommentParams(p, ctx, p.action);
1715
+ try {
1716
+ return feishuExternalToolResult(await (resolved.action === "add_comment" ? addComment(client, resolved) : deliverCommentThreadText(client, resolved)));
1717
+ } finally {
1718
+ cleanupAmbientCommentTypingReaction({
1719
+ client: getDriveInternalClient(client),
1720
+ deliveryContext: ctx.deliveryContext
1721
+ });
1722
+ }
1723
+ }
1724
+ default: return unknownToolActionResult(p.action);
1725
+ }
1726
+ };
1727
+ }
1728
+ });
1729
+ }
1730
+ //#endregion
1731
+ //#region extensions/feishu/src/identity-header.ts
1732
+ const emojiSegmenter = typeof Intl !== "undefined" && "Segmenter" in Intl ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null;
1733
+ const keycapEmojiPattern = /^[0-9#*]\uFE0F?\u20E3$/u;
1734
+ const emojiLikeSegmentPattern = /[\p{Emoji_Presentation}\p{Extended_Pictographic}\p{Regional_Indicator}]/u;
1735
+ function splitGraphemes(input) {
1736
+ if (!emojiSegmenter) return Array.from(input);
1737
+ return Array.from(emojiSegmenter.segment(input), (segment) => segment.segment);
1738
+ }
1739
+ function isEmojiSegment(segment) {
1740
+ return keycapEmojiPattern.test(segment) || emojiLikeSegmentPattern.test(segment);
1741
+ }
1742
+ function resolveFeishuIdentityEmoji(raw) {
1743
+ const trimmed = raw?.trim();
1744
+ if (!trimmed) return;
1745
+ return splitGraphemes(trimmed).filter(isEmojiSegment).join("") || void 0;
1746
+ }
1747
+ function resolveFeishuIdentityHeaderTitle(identity) {
1748
+ if (!identity) return "";
1749
+ const name = identity.name?.trim() ?? "";
1750
+ const emoji = resolveFeishuIdentityEmoji(identity.emoji);
1751
+ return (emoji ? `${emoji} ${name}` : name).trim();
1752
+ }
1753
+ //#endregion
1754
+ //#region extensions/feishu/src/media-fallback.ts
1755
+ const FEISHU_MEDIA_UPLOAD_FAILURE_FALLBACK_TEXT = "Media upload failed. Please try again.";
1756
+ function hasAsciiControlCharacter(value) {
1757
+ return Array.from(value).some((character) => {
1758
+ const code = character.charCodeAt(0);
1759
+ return code <= 31 || code === 127;
1760
+ });
1761
+ }
1762
+ async function resolvePublicFeishuMediaReference(value) {
1763
+ const raw = value?.trim();
1764
+ if (!raw || hasAsciiControlCharacter(raw)) return;
1765
+ try {
1766
+ const parsed = new URL(raw);
1767
+ if (parsed.protocol !== "https:" && parsed.protocol !== "http:") return;
1768
+ if (parsed.username || parsed.password || isBlockedHostnameOrIp(parsed.hostname)) return;
1769
+ await resolvePinnedHostnameWithPolicy(parsed.hostname);
1770
+ return parsed.href;
1771
+ } catch {
1772
+ return;
1773
+ }
1774
+ }
1775
+ async function buildFeishuMediaFallbackText(params) {
1776
+ const mediaUrl = await resolvePublicFeishuMediaReference(params.mediaUrl);
1777
+ const attachmentText = mediaUrl ? `${params.mediaLinkStyle === "plain" ? "" : "📎 "}${mediaUrl}` : FEISHU_MEDIA_UPLOAD_FAILURE_FALLBACK_TEXT;
1778
+ return [params.text?.trim(), attachmentText].filter(Boolean).join("\n\n");
1779
+ }
1780
+ //#endregion
1781
+ //#region extensions/feishu/src/media-chunk-idle.ts
1782
+ var FeishuInboundMediaTimeoutError = class extends Error {
1783
+ constructor(chunkTimeoutMs) {
1784
+ super(`Feishu media download stalled: no data received for ${chunkTimeoutMs}ms`);
1785
+ this.name = "FeishuInboundMediaTimeoutError";
1786
+ this.chunkTimeoutMs = chunkTimeoutMs;
1787
+ }
1788
+ };
1789
+ function destroySource(source) {
1790
+ const s = source;
1791
+ if (typeof s.destroy === "function") s.destroy();
1792
+ }
1793
+ function withChunkIdleTimeout(source, chunkTimeoutMs, teardownSource) {
1794
+ return { async *[Symbol.asyncIterator]() {
1795
+ const iterator = source[Symbol.asyncIterator]();
1796
+ let exhausted = false;
1797
+ try {
1798
+ while (true) {
1799
+ const nextPromise = iterator.next();
1800
+ let timeoutHandle;
1801
+ const timeoutPromise = new Promise((_, reject) => {
1802
+ timeoutHandle = setTimeout(() => {
1803
+ reject(new FeishuInboundMediaTimeoutError(chunkTimeoutMs));
1804
+ teardownSource();
1805
+ }, chunkTimeoutMs);
1806
+ });
1807
+ let result;
1808
+ try {
1809
+ result = await Promise.race([nextPromise, timeoutPromise]);
1810
+ } finally {
1811
+ if (timeoutHandle !== void 0) clearTimeout(timeoutHandle);
1812
+ }
1813
+ if (result.done) {
1814
+ exhausted = true;
1815
+ return;
1816
+ }
1817
+ yield result.value;
1818
+ }
1819
+ } finally {
1820
+ if (!exhausted && typeof iterator.return === "function") iterator.return().catch(() => void 0);
1821
+ }
1822
+ } };
1823
+ }
1824
+ async function saveMediaStreamWithIdleTimeout(stream, contentType, maxBytes, fileName, chunkTimeoutMs) {
1825
+ let teardownAttempted = false;
1826
+ const teardownSource = () => {
1827
+ if (teardownAttempted) return;
1828
+ teardownAttempted = true;
1829
+ try {
1830
+ destroySource(stream);
1831
+ } catch {}
1832
+ };
1833
+ try {
1834
+ return await saveMediaStream(withChunkIdleTimeout(stream, chunkTimeoutMs, teardownSource), contentType, "inbound", maxBytes, fileName);
1835
+ } catch (error) {
1836
+ teardownSource();
1837
+ throw error;
1838
+ }
1839
+ }
1840
+ //#endregion
1841
+ //#region extensions/feishu/src/configured-client.ts
1842
+ function createConfiguredFeishuClient(params) {
1843
+ const account = resolveFeishuRuntimeAccount(params);
1844
+ if (!account.configured) throw new Error(`Feishu account "${account.accountId}" not configured`);
1845
+ return createFeishuClient(account);
1846
+ }
1847
+ //#endregion
1848
+ //#region extensions/feishu/src/send-target.ts
1849
+ function resolveFeishuSendTarget(params) {
1850
+ const target = params.to.trim();
1851
+ const client = createConfiguredFeishuClient(params);
1852
+ const receiveId = normalizeFeishuTarget(target);
1853
+ if (!receiveId) throw new Error(`Invalid Feishu target: ${params.to}`);
1854
+ const withoutProviderPrefix = target.replace(/^(feishu|lark):/i, "");
1855
+ return {
1856
+ client,
1857
+ receiveId,
1858
+ receiveIdType: resolveReceiveIdType(withoutProviderPrefix)
1859
+ };
1860
+ }
1861
+ //#endregion
1862
+ //#region extensions/feishu/src/post.ts
1863
+ const FALLBACK_POST_TEXT = "[Rich text message]";
1864
+ const MARKDOWN_SPECIAL_CHARS = /([\\`*_{}[\]()#+\-!|>~])/g;
1865
+ function toStringOrEmpty(value) {
1866
+ return typeof value === "string" ? value : "";
1867
+ }
1868
+ function escapeMarkdownText(text) {
1869
+ return text.replace(MARKDOWN_SPECIAL_CHARS, "\\$1");
1870
+ }
1871
+ function wrapInlineCode(text) {
1872
+ const maxRun = Math.max(0, ...(text.match(/`+/g) ?? []).map((run) => run.length));
1873
+ const fence = "`".repeat(maxRun + 1);
1874
+ return `${fence}${text.startsWith("`") || text.endsWith("`") ? ` ${text} ` : text}${fence}`;
1875
+ }
1876
+ function sanitizeFenceLanguage(language) {
1877
+ return language.trim().replace(/[^A-Za-z0-9_+#.-]/g, "");
1878
+ }
1879
+ function applyInlineStyles(text, style) {
1880
+ const content = text.trim();
1881
+ if (!content || !Array.isArray(style)) return text;
1882
+ let rendered = content;
1883
+ if (style.includes("bold")) rendered = `**${rendered}**`;
1884
+ if (style.includes("italic")) rendered = `*${rendered}*`;
1885
+ if (style.includes("underline")) rendered = `<u>${rendered}</u>`;
1886
+ if (style.includes("lineThrough")) rendered = `~~${rendered}~~`;
1887
+ return text.replace(content, () => rendered);
1888
+ }
1889
+ function renderLinkElement(element) {
1890
+ const href = toStringOrEmpty(element.href).trim();
1891
+ const text = toStringOrEmpty(element.text) || href;
1892
+ if (!text) return "";
1893
+ if (!href) return escapeMarkdownText(text);
1894
+ return `[${escapeMarkdownText(text)}](${href})`;
1895
+ }
1896
+ function renderMentionElement(element) {
1897
+ const mention = toStringOrEmpty(element.user_name) || toStringOrEmpty(element.user_id) || toStringOrEmpty(element.open_id);
1898
+ if (!mention) return "";
1899
+ return `@${escapeMarkdownText(mention)}`;
1900
+ }
1901
+ function renderEmotionElement(element) {
1902
+ return escapeMarkdownText(toStringOrEmpty(element.emoji) || toStringOrEmpty(element.text) || toStringOrEmpty(element.emoji_type));
1903
+ }
1904
+ function renderCodeBlockElement(element) {
1905
+ const language = sanitizeFenceLanguage(toStringOrEmpty(element.language) || toStringOrEmpty(element.lang));
1906
+ const code = (toStringOrEmpty(element.text) || toStringOrEmpty(element.content)).replace(/\r\n/g, "\n");
1907
+ return `\`\`\`${language}\n${code}${code.endsWith("\n") ? "" : "\n"}\`\`\``;
1908
+ }
1909
+ function renderElement(element, attachments, mentionedOpenIds, renderMediaPlaceholders) {
1910
+ if (!isRecord(element)) return escapeMarkdownText(toStringOrEmpty(element));
1911
+ switch (normalizeLowercaseStringOrEmpty(toStringOrEmpty(element.tag))) {
1912
+ case "text": return applyInlineStyles(escapeMarkdownText(toStringOrEmpty(element.text)), element.style);
1913
+ case "a": return applyInlineStyles(renderLinkElement(element), element.style);
1914
+ case "at":
1915
+ {
1916
+ const mentioned = toStringOrEmpty(element.open_id) || toStringOrEmpty(element.user_id);
1917
+ const normalizedMention = normalizeFeishuExternalKey(mentioned);
1918
+ if (normalizedMention) mentionedOpenIds.push(normalizedMention);
1919
+ }
1920
+ return applyInlineStyles(renderMentionElement(element), element.style);
1921
+ case "img": {
1922
+ const imageKey = normalizeFeishuExternalKey(toStringOrEmpty(element.image_key));
1923
+ if (imageKey) attachments.push({
1924
+ kind: "image",
1925
+ key: imageKey
1926
+ });
1927
+ return renderMediaPlaceholders ? "![image]" : "";
1928
+ }
1929
+ case "media": {
1930
+ const fileKey = normalizeFeishuExternalKey(toStringOrEmpty(element.file_key));
1931
+ if (fileKey) {
1932
+ const fileName = toStringOrEmpty(element.file_name) || void 0;
1933
+ attachments.push({
1934
+ kind: "file",
1935
+ key: fileKey,
1936
+ ...fileName ? { fileName } : {}
1937
+ });
1938
+ }
1939
+ return renderMediaPlaceholders ? "[media]" : "";
1940
+ }
1941
+ case "emotion": return renderEmotionElement(element);
1942
+ case "md":
1943
+ case "lark_md": return toStringOrEmpty(element.text) || toStringOrEmpty(element.content);
1944
+ case "br": return "\n";
1945
+ case "hr": return "\n\n---\n\n";
1946
+ case "code": {
1947
+ const code = toStringOrEmpty(element.text) || toStringOrEmpty(element.content);
1948
+ return code ? wrapInlineCode(code) : "";
1949
+ }
1950
+ case "code_block":
1951
+ case "pre": return renderCodeBlockElement(element);
1952
+ default: return escapeMarkdownText(toStringOrEmpty(element.text));
1953
+ }
1954
+ }
1955
+ function toPostPayload(candidate) {
1956
+ if (!isRecord(candidate) || !Array.isArray(candidate.content)) return null;
1957
+ return {
1958
+ title: toStringOrEmpty(candidate.title),
1959
+ content: candidate.content
1960
+ };
1961
+ }
1962
+ function resolveLocalePayload(candidate) {
1963
+ const direct = toPostPayload(candidate);
1964
+ if (direct) return direct;
1965
+ if (!isRecord(candidate)) return null;
1966
+ for (const value of Object.values(candidate)) {
1967
+ const localePayload = toPostPayload(value);
1968
+ if (localePayload) return localePayload;
1969
+ }
1970
+ return null;
1971
+ }
1972
+ function resolvePostPayload(parsed) {
1973
+ const direct = toPostPayload(parsed);
1974
+ if (direct) return direct;
1975
+ if (!isRecord(parsed)) return null;
1976
+ const wrappedPost = resolveLocalePayload(parsed.post);
1977
+ if (wrappedPost) return wrappedPost;
1978
+ return resolveLocalePayload(parsed);
1979
+ }
1980
+ function parsePostContent(content, options = {}) {
1981
+ try {
1982
+ return renderPostContent(JSON.parse(content), options);
1983
+ } catch {
1984
+ return {
1985
+ textContent: FALLBACK_POST_TEXT,
1986
+ attachments: [],
1987
+ mentionedOpenIds: []
1988
+ };
1989
+ }
1990
+ }
1991
+ function renderPostContent(parsed, options = {}) {
1992
+ try {
1993
+ const payload = resolvePostPayload(parsed);
1994
+ if (!payload) return {
1995
+ textContent: FALLBACK_POST_TEXT,
1996
+ attachments: [],
1997
+ mentionedOpenIds: []
1998
+ };
1999
+ const attachments = [];
2000
+ const mentionedOpenIds = [];
2001
+ const paragraphs = [];
2002
+ for (const paragraph of payload.content) {
2003
+ if (!Array.isArray(paragraph)) continue;
2004
+ let renderedParagraph = "";
2005
+ for (const element of paragraph) renderedParagraph += renderElement(element, attachments, mentionedOpenIds, options.renderMediaPlaceholders !== false);
2006
+ paragraphs.push(renderedParagraph);
2007
+ }
2008
+ return {
2009
+ textContent: [escapeMarkdownText(payload.title.trim()), paragraphs.join("\n").trim()].filter(Boolean).join("\n\n").trim() || (options.emptyTextFallback ?? FALLBACK_POST_TEXT),
2010
+ attachments,
2011
+ mentionedOpenIds
2012
+ };
2013
+ } catch {
2014
+ return {
2015
+ textContent: FALLBACK_POST_TEXT,
2016
+ attachments: [],
2017
+ mentionedOpenIds: []
2018
+ };
2019
+ }
2020
+ }
2021
+ //#endregion
2022
+ //#region extensions/feishu/src/interactive-message-content.ts
2023
+ const INTERACTIVE_CARD_FALLBACK_TEXT = "[Interactive Card]";
2024
+ const POST_FALLBACK_TEXT = "[Rich text message]";
2025
+ function normalizeCardTemplateVariable(value) {
2026
+ if (typeof value === "string") return value;
2027
+ if (typeof value === "number" || typeof value === "boolean" || typeof value === "bigint") return String(value);
2028
+ }
2029
+ function readCardTemplateVariables(parsed) {
2030
+ const variables = /* @__PURE__ */ new Map();
2031
+ for (const source of [parsed.template_variable, parsed.template_variables]) {
2032
+ if (!isRecord(source)) continue;
2033
+ for (const [key, value] of Object.entries(source)) {
2034
+ const normalized = normalizeCardTemplateVariable(value);
2035
+ if (normalized !== void 0) variables.set(key, normalized);
2036
+ }
2037
+ }
2038
+ return variables;
2039
+ }
2040
+ function applyCardTemplateVariables(text, variables) {
2041
+ if (variables.size === 0) return text;
2042
+ return text.replace(/\$\{([A-Za-z0-9_.-]+)\}|\{\{\s*([A-Za-z0-9_.-]+)\s*\}\}/g, (match, a, b) => {
2043
+ const variableName = typeof a === "string" ? a : b;
2044
+ return variables.get(variableName) ?? match;
2045
+ });
2046
+ }
2047
+ function normalizeInteractiveValue(value, variables) {
2048
+ const scalar = normalizeCardTemplateVariable(value);
2049
+ if (scalar !== void 0) return applyCardTemplateVariables(scalar, variables);
2050
+ if (Array.isArray(value)) return value.map((entry) => normalizeInteractiveValue(entry, variables)).filter(Boolean).join(", ");
2051
+ if (!isRecord(value)) return "";
2052
+ for (const key of [
2053
+ "content",
2054
+ "text",
2055
+ "label",
2056
+ "name",
2057
+ "display_name",
2058
+ "user_name",
2059
+ "user_id",
2060
+ "open_id",
2061
+ "id",
2062
+ "value"
2063
+ ]) {
2064
+ const text = normalizeInteractiveValue(value[key], variables);
2065
+ if (text) return text;
2066
+ }
2067
+ return "";
2068
+ }
2069
+ function extractInteractiveTableText(element, variables) {
2070
+ if (!Array.isArray(element.columns) || !Array.isArray(element.rows)) return;
2071
+ const columns = element.columns.flatMap((column) => {
2072
+ if (!isRecord(column) || typeof column.name !== "string") return [];
2073
+ return [{
2074
+ name: column.name,
2075
+ title: typeof column.display_name === "string" ? column.display_name : column.name
2076
+ }];
2077
+ });
2078
+ if (columns.length === 0) return;
2079
+ const lines = [columns.map((column) => applyCardTemplateVariables(column.title, variables)).join(" | ")];
2080
+ for (const row of element.rows) {
2081
+ if (!isRecord(row)) continue;
2082
+ const cells = columns.map((column) => normalizeInteractiveValue(row[column.name], variables));
2083
+ if (cells.some(Boolean)) lines.push(cells.join(" | "));
2084
+ }
2085
+ return lines.join("\n");
2086
+ }
2087
+ function extractInteractiveElementText(element, variables) {
2088
+ if (!isRecord(element)) return;
2089
+ const tag = typeof element.tag === "string" ? element.tag : "";
2090
+ const text = isRecord(element.text) ? element.text : void 0;
2091
+ if (tag === "div") {
2092
+ const parts = [normalizeInteractiveValue(element.text, variables)];
2093
+ if (Array.isArray(element.fields)) parts.push(extractInteractiveElementsText(element.fields, variables));
2094
+ return parts.filter(Boolean).join("\n") || void 0;
2095
+ }
2096
+ if ((tag === "markdown" || tag === "lark_md") && typeof element.content === "string") return applyCardTemplateVariables(element.content, variables);
2097
+ if ((tag === "text" || tag === "a" || tag === "button") && element.text !== void 0) return normalizeInteractiveValue(element.text, variables) || void 0;
2098
+ if (tag === "at") {
2099
+ const mention = normalizeInteractiveValue(element.user_name ?? element.user_id, variables);
2100
+ return mention ? mention.startsWith("@") ? mention : `@${mention}` : void 0;
2101
+ }
2102
+ if (tag === "plain_text" && typeof element.content === "string") return applyCardTemplateVariables(element.content, variables);
2103
+ if (tag === "table") return extractInteractiveTableText(element, variables);
2104
+ return [
2105
+ element.elements,
2106
+ element.columns,
2107
+ element.children,
2108
+ element.fields,
2109
+ element.actions
2110
+ ].filter(Array.isArray).map((children) => extractInteractiveElementsText(children, variables)).filter(Boolean).join("\n") || (typeof text?.content === "string" ? text.content : void 0);
2111
+ }
2112
+ function extractInteractiveElementsText(elements, variables) {
2113
+ const texts = [];
2114
+ for (const element of elements) {
2115
+ if (Array.isArray(element)) {
2116
+ const row = element.map((part) => extractInteractiveElementText(part, variables)).filter((part) => Boolean(part)).join(" ").trim();
2117
+ if (row) texts.push(row);
2118
+ continue;
2119
+ }
2120
+ const text = extractInteractiveElementText(element, variables);
2121
+ if (text !== void 0) texts.push(text);
2122
+ }
2123
+ return texts.join("\n").trim();
2124
+ }
2125
+ function readInteractiveElementArrays(parsed) {
2126
+ const body = isRecord(parsed.body) ? parsed.body : void 0;
2127
+ const elementArrays = [];
2128
+ for (const candidate of [parsed.elements, body?.elements]) if (Array.isArray(candidate)) elementArrays.push(candidate);
2129
+ for (const candidate of [parsed.i18n_elements, body?.i18n_elements]) {
2130
+ if (!isRecord(candidate)) continue;
2131
+ for (const localeElements of Object.values(candidate)) if (Array.isArray(localeElements)) elementArrays.push(localeElements);
2132
+ }
2133
+ return elementArrays;
2134
+ }
2135
+ function readInteractiveCardTitle(parsed, variables) {
2136
+ if (typeof parsed.title === "string") return applyCardTemplateVariables(parsed.title, variables).trim();
2137
+ const header = isRecord(parsed.header) ? parsed.header : void 0;
2138
+ const title = isRecord(header?.title) ? header.title : void 0;
2139
+ return typeof title?.content === "string" ? applyCardTemplateVariables(title.content, variables).trim() : "";
2140
+ }
2141
+ function parseInteractiveCardContent(parsed) {
2142
+ if (!isRecord(parsed)) return INTERACTIVE_CARD_FALLBACK_TEXT;
2143
+ const variables = readCardTemplateVariables(parsed);
2144
+ const title = readInteractiveCardTitle(parsed, variables);
2145
+ for (const elements of readInteractiveElementArrays(parsed)) {
2146
+ const text = extractInteractiveElementsText(elements, variables);
2147
+ if (text) return title ? `${title}\n${text}` : text;
2148
+ }
2149
+ const postText = renderPostContent(parsed).textContent.trim();
2150
+ if (postText && postText !== POST_FALLBACK_TEXT) return postText;
2151
+ return title || INTERACTIVE_CARD_FALLBACK_TEXT;
2152
+ }
2153
+ //#endregion
2154
+ //#region extensions/feishu/src/types.ts
2155
+ function normalizeFeishuEventChatType(value) {
2156
+ return value === "group" || value === "topic_group" || value === "private" || value === "p2p" ? value : void 0;
2157
+ }
2158
+ function isFeishuGroupChatType(chatType) {
2159
+ return chatType === "group" || chatType === "topic_group";
2160
+ }
2161
+ //#endregion
2162
+ //#region extensions/feishu/src/mention.ts
2163
+ function isFeishuBroadcastMention(mention) {
2164
+ const normalizedKey = mention.key?.trim().toLowerCase();
2165
+ if (normalizedKey === "@all" || normalizedKey === "@_all") return true;
2166
+ return [
2167
+ mention.id?.open_id,
2168
+ mention.id?.user_id,
2169
+ mention.id?.union_id
2170
+ ].some((id) => id?.trim().toLowerCase() === "all");
2171
+ }
2172
+ /**
2173
+ * Extract mention targets from message event (excluding the bot itself)
2174
+ */
2175
+ function extractMentionTargets(event, botOpenId) {
2176
+ return (event.message.mentions ?? []).filter((m) => !isFeishuBroadcastMention(m) && m.id.open_id !== botOpenId && Boolean(m.id.open_id)).map((m) => ({
2177
+ openId: m.id.open_id,
2178
+ name: m.name,
2179
+ key: m.key
2180
+ }));
2181
+ }
2182
+ /**
2183
+ * Check if message is a mention forward request
2184
+ * Rules:
2185
+ * - Group: message mentions bot + at least one other user
2186
+ * - DM: message mentions any user (no need to mention bot)
2187
+ */
2188
+ function isMentionForwardRequest(event, botOpenId) {
2189
+ const mentions = event.message.mentions ?? [];
2190
+ if (mentions.length === 0) return false;
2191
+ const normalizedBotOpenId = botOpenId?.trim();
2192
+ if (!normalizedBotOpenId) return false;
2193
+ const isDirectMessage = !isFeishuGroupChatType(event.message.chat_type);
2194
+ const userMentions = mentions.filter((m) => !isFeishuBroadcastMention(m));
2195
+ const hasOtherMention = userMentions.some((m) => m.id.open_id !== normalizedBotOpenId);
2196
+ if (isDirectMessage) return hasOtherMention;
2197
+ return userMentions.some((m) => m.id.open_id === normalizedBotOpenId) && hasOtherMention;
2198
+ }
2199
+ function buildMentionedCardContent(targets, message) {
2200
+ if (targets.length === 0) return message;
2201
+ return `${targets.map((target) => `<at id=${target.openId}></at>`).join(" ")} ${message}`;
2202
+ }
2203
+ //#endregion
2204
+ //#region extensions/feishu/src/message-content.ts
2205
+ function formatFeishuMediaContent(parsed, messageType) {
2206
+ if (messageType === "sticker") {
2207
+ const fileKey = normalizeFeishuExternalKey(parsed?.file_key);
2208
+ return fileKey ? `<sticker key="${escapeHtml(fileKey)}"/>` : "[Sticker]";
2209
+ }
2210
+ const speechToText = messageType === "audio" && typeof parsed.speech_to_text === "string" ? parsed.speech_to_text.trim() : "";
2211
+ if (speechToText) return speechToText;
2212
+ return "";
2213
+ }
2214
+ function formatSubMessageContent(content, contentType) {
2215
+ try {
2216
+ const parsed = JSON.parse(content);
2217
+ switch (contentType) {
2218
+ case "text": return parsed.text || content;
2219
+ case "post": return renderPostContent(parsed).textContent;
2220
+ case "interactive": return parseInteractiveCardContent(parsed);
2221
+ case "image": return "[Image]";
2222
+ case "file": return `[File: ${parsed.file_name || "unknown"}]`;
2223
+ case "audio": return "[Audio]";
2224
+ case "video": return "[Video]";
2225
+ case "sticker": return formatFeishuMediaContent(parsed, contentType);
2226
+ case "merge_forward": return "[Nested Merged Forward]";
2227
+ default: return `[${contentType}]`;
2228
+ }
2229
+ } catch {
2230
+ return content;
2231
+ }
2232
+ }
2233
+ function parseMergeForwardContent(items) {
2234
+ const maxMessages = 50;
2235
+ if (items.length === 0) return "[Merged and Forwarded Message - no sub-messages]";
2236
+ const container = items.find((item) => item.msg_type === "merge_forward" && !item.upper_message_id);
2237
+ const subMessages = container ? items.filter((item) => item !== container) : items.filter((item) => item.upper_message_id);
2238
+ if (subMessages.length === 0) return "[Merged and Forwarded Message - no sub-messages found]";
2239
+ subMessages.sort((a, b) => (parseStrictNonNegativeInteger(a.create_time) ?? 0) - (parseStrictNonNegativeInteger(b.create_time) ?? 0));
2240
+ const lines = ["[Merged and Forwarded Messages]"];
2241
+ for (const item of subMessages.slice(0, maxMessages)) lines.push(`- ${formatSubMessageContent(item.body?.content || "", item.msg_type || "text")}`);
2242
+ if (subMessages.length > maxMessages) lines.push(`... and ${subMessages.length - maxMessages} more messages`);
2243
+ const rendered = lines.join("\n");
2244
+ return rendered.length <= 2e4 ? rendered : `${truncateUtf16Safe(rendered, 19961).trimEnd()}
2245
+ ... [Merged-forward content truncated]`;
2246
+ }
2247
+ //#endregion
2248
+ //#region extensions/feishu/src/send-result.ts
2249
+ function resolveFeishuReceiptKind(msgType) {
2250
+ switch (msgType) {
2251
+ case "audio": return "voice";
2252
+ case "image":
2253
+ case "media":
2254
+ case "file":
2255
+ case "sticker": return "media";
2256
+ case "interactive": return "card";
2257
+ case "post":
2258
+ case "text": return "text";
2259
+ default: return "unknown";
2260
+ }
2261
+ }
2262
+ function createFeishuSendReceipt(params) {
2263
+ const messageId = params.messageId?.trim();
2264
+ const chatId = params.chatId.trim();
2265
+ return createMessageReceiptFromOutboundResults({
2266
+ results: messageId ? [{
2267
+ channel: "feishu",
2268
+ messageId,
2269
+ chatId,
2270
+ conversationId: chatId
2271
+ }] : [],
2272
+ ...params.replyToId?.trim() ? { replyToId: params.replyToId.trim() } : {},
2273
+ kind: params.kind ?? "unknown"
2274
+ });
2275
+ }
2276
+ function toFeishuSendResult(response, chatId, kind, errorPrefix = "Feishu send failed", replyToId) {
2277
+ const messageId = response.data?.message_id?.trim();
2278
+ if (!messageId) throw createChannelPartialDeliveryError(/* @__PURE__ */ new Error(`${errorPrefix}: no message_id returned`), {
2279
+ messageIds: [],
2280
+ visibleReplySent: true
2281
+ });
2282
+ return {
2283
+ messageId,
2284
+ chatId,
2285
+ receipt: createFeishuSendReceipt({
2286
+ messageId,
2287
+ chatId,
2288
+ kind,
2289
+ replyToId
2290
+ })
2291
+ };
2292
+ }
2293
+ function toFeishuMessageSendResult(result, kind) {
2294
+ const receipt = result.receipt ?? createFeishuSendReceipt({
2295
+ messageId: result.messageId,
2296
+ chatId: result.chatId ?? "",
2297
+ kind
2298
+ });
2299
+ return {
2300
+ messageId: result.messageId || receipt.primaryPlatformMessageId,
2301
+ receipt
2302
+ };
2303
+ }
2304
+ //#endregion
2305
+ //#region extensions/feishu/src/send.ts
2306
+ const WITHDRAWN_REPLY_ERROR_CODES = /* @__PURE__ */ new Set([230011, 231003]);
2307
+ function shouldFallbackFromReplyTarget(response) {
2308
+ if (response.code !== void 0 && WITHDRAWN_REPLY_ERROR_CODES.has(response.code)) return true;
2309
+ const msg = normalizeLowercaseStringOrEmpty(response.msg);
2310
+ return msg.includes("withdrawn") || msg.includes("not found");
2311
+ }
2312
+ /** Check whether a thrown error indicates a withdrawn/not-found reply target. */
2313
+ function isWithdrawnReplyError(err) {
2314
+ if (typeof err !== "object" || err === null) return false;
2315
+ const code = err.code;
2316
+ if (typeof code === "number" && WITHDRAWN_REPLY_ERROR_CODES.has(code)) return true;
2317
+ const response = err.response;
2318
+ if (typeof response?.data?.code === "number" && WITHDRAWN_REPLY_ERROR_CODES.has(response.data.code)) return true;
2319
+ const cause = err.cause;
2320
+ if (cause && cause !== err) return isWithdrawnReplyError(cause);
2321
+ return false;
2322
+ }
2323
+ /** Send a direct message as a fallback when a reply target is unavailable. */
2324
+ async function sendFallbackDirect(client, params, errorPrefix) {
2325
+ const response = await requestFeishuApi(() => withFeishuMessageDispatch(() => client.im.message.create({
2326
+ params: { receive_id_type: params.receiveIdType },
2327
+ data: {
2328
+ receive_id: params.receiveId,
2329
+ content: params.content,
2330
+ msg_type: params.msgType
2331
+ }
2332
+ })), errorPrefix, { includeNestedErrorLogId: true });
2333
+ assertFeishuApiSuccess(response, errorPrefix);
2334
+ return toFeishuSendResult(response, params.receiveId, resolveFeishuReceiptKind(params.msgType), errorPrefix);
2335
+ }
2336
+ async function sendReplyOrFallbackDirect(client, params) {
2337
+ if (!params.replyToMessageId) return sendFallbackDirect(client, params.directParams, params.directErrorPrefix);
2338
+ 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;
2339
+ let response;
2340
+ try {
2341
+ response = await requestFeishuApi(() => withFeishuMessageDispatch(() => client.im.message.reply({
2342
+ path: { message_id: params.replyToMessageId },
2343
+ data: {
2344
+ content: params.content,
2345
+ msg_type: params.msgType,
2346
+ ...params.replyInThread ? { reply_in_thread: true } : {}
2347
+ }
2348
+ })), params.replyErrorPrefix, { includeNestedErrorLogId: true });
2349
+ } catch (err) {
2350
+ if (!isWithdrawnReplyError(err)) throw err;
2351
+ if (replyTargetFallbackError) throw replyTargetFallbackError;
2352
+ return sendFallbackDirect(client, params.directParams, params.directErrorPrefix);
2353
+ }
2354
+ if (shouldFallbackFromReplyTarget(response)) {
2355
+ if (replyTargetFallbackError) throw replyTargetFallbackError;
2356
+ return sendFallbackDirect(client, params.directParams, params.directErrorPrefix);
2357
+ }
2358
+ assertFeishuApiSuccess(response, params.replyErrorPrefix);
2359
+ return toFeishuSendResult(response, params.directParams.receiveId, resolveFeishuReceiptKind(params.msgType), params.replyErrorPrefix, params.replyToMessageId);
2360
+ }
2361
+ function parseFeishuMessageContent(rawContent, msgType, messageId) {
2362
+ if (!rawContent) return "";
2363
+ let parsed;
2364
+ try {
2365
+ parsed = JSON.parse(rawContent);
2366
+ } catch {
2367
+ const safeId = messageId ? ` (id: ${messageId})` : "";
2368
+ logVerbose(`feishu message content parse failed for ${msgType} message${safeId}`);
2369
+ return rawContent;
2370
+ }
2371
+ if (msgType === "text") {
2372
+ const text = parsed?.text;
2373
+ return typeof text === "string" ? text : "[Text message]";
2374
+ }
2375
+ if (msgType === "post") return renderPostContent(parsed).textContent;
2376
+ if (msgType === "interactive") return parseInteractiveCardContent(parsed);
2377
+ if (typeof parsed === "string") return parsed;
2378
+ const genericText = parsed?.text;
2379
+ if (typeof genericText === "string" && genericText.trim()) return genericText;
2380
+ const genericTitle = parsed?.title;
2381
+ if (typeof genericTitle === "string" && genericTitle.trim()) return genericTitle;
2382
+ return `[${msgType || "unknown"} message]`;
2383
+ }
2384
+ function parseFeishuMessageItem(item, fallbackMessageId) {
2385
+ const msgType = item.msg_type ?? "text";
2386
+ const rawContent = item.body?.content ?? "";
2387
+ return {
2388
+ messageId: item.message_id ?? fallbackMessageId ?? "",
2389
+ chatId: item.chat_id ?? "",
2390
+ chatType: normalizeFeishuEventChatType(item.chat_type),
2391
+ senderId: item.sender?.id,
2392
+ senderOpenId: item.sender?.id_type === "open_id" ? item.sender?.id : void 0,
2393
+ senderType: item.sender?.sender_type,
2394
+ content: parseFeishuMessageContent(rawContent, msgType, item.message_id),
2395
+ contentType: msgType,
2396
+ createTime: parseStrictNonNegativeInteger(item.create_time),
2397
+ ...item.root_id ? { rootId: item.root_id } : {},
2398
+ threadId: item.thread_id || void 0
2399
+ };
2400
+ }
2401
+ /**
2402
+ * Get a message by its ID.
2403
+ * Useful for fetching quoted/replied message content.
2404
+ */
2405
+ async function getMessageFeishu(params) {
2406
+ const { cfg, messageId, accountId } = params;
2407
+ const client = createConfiguredFeishuClient({
2408
+ cfg,
2409
+ accountId
2410
+ });
2411
+ try {
2412
+ const response = await client.im.message.get({
2413
+ params: { card_msg_content_type: "user_card_content" },
2414
+ path: { message_id: messageId }
2415
+ });
2416
+ if (response.code !== 0) return null;
2417
+ const responseItems = response.data?.items;
2418
+ const rawItem = responseItems?.find((item) => item.msg_type === "merge_forward" && !item.upper_message_id) ?? responseItems?.[0] ?? response.data;
2419
+ const item = rawItem && (rawItem.body !== void 0 || rawItem.message_id !== void 0) ? rawItem : null;
2420
+ if (!item) return null;
2421
+ const parsedItem = parseFeishuMessageItem(item, messageId);
2422
+ if (parsedItem.contentType === "merge_forward" && responseItems) return {
2423
+ ...parsedItem,
2424
+ content: parseMergeForwardContent(responseItems)
2425
+ };
2426
+ return parsedItem;
2427
+ } catch {
2428
+ return null;
2429
+ }
2430
+ }
2431
+ /**
2432
+ * List messages in a Feishu thread (topic).
2433
+ * Uses container_id_type=thread to directly query thread messages,
2434
+ * which includes both the root message and all replies (including bot replies).
2435
+ */
2436
+ async function listFeishuThreadMessages(params) {
2437
+ const { cfg, threadId, currentMessageId, rootMessageId, limit = 20, accountId } = params;
2438
+ const client = createConfiguredFeishuClient({
2439
+ cfg,
2440
+ accountId
2441
+ });
2442
+ const results = [];
2443
+ const seenMessageIds = /* @__PURE__ */ new Set();
2444
+ const seenPageTokens = /* @__PURE__ */ new Set();
2445
+ let pageToken;
2446
+ while (results.length < limit) {
2447
+ const response = await client.im.message.list({ params: {
2448
+ container_id_type: "thread",
2449
+ container_id: threadId,
2450
+ sort_type: "ByCreateTimeDesc",
2451
+ page_size: Math.min(limit + 1, 50),
2452
+ ...pageToken ? { page_token: pageToken } : {},
2453
+ card_msg_content_type: "user_card_content"
2454
+ } });
2455
+ if (response.code !== 0) throw new Error(`Feishu thread list failed: code=${response.code} msg=${response.msg ?? "unknown"}`);
2456
+ for (const item of response.data?.items ?? []) {
2457
+ if (currentMessageId && item.message_id === currentMessageId || rootMessageId && item.message_id === rootMessageId || item.message_id && seenMessageIds.has(item.message_id)) continue;
2458
+ const parsed = parseFeishuMessageItem(item);
2459
+ if (parsed.messageId) seenMessageIds.add(parsed.messageId);
2460
+ results.push({
2461
+ messageId: parsed.messageId,
2462
+ senderId: parsed.senderId,
2463
+ senderType: parsed.senderType,
2464
+ content: parsed.content,
2465
+ contentType: parsed.contentType,
2466
+ createTime: parsed.createTime
2467
+ });
2468
+ if (results.length >= limit) break;
2469
+ }
2470
+ if (results.length >= limit || response.data?.has_more !== true) break;
2471
+ const nextPageToken = response.data.page_token?.trim();
2472
+ if (!nextPageToken || seenPageTokens.has(nextPageToken)) throw new Error(`Feishu thread history pagination returned a ${nextPageToken ? "repeated" : "missing"} page token`);
2473
+ seenPageTokens.add(nextPageToken);
2474
+ pageToken = nextPageToken;
2475
+ }
2476
+ results.reverse();
2477
+ return results;
2478
+ }
2479
+ async function sendMessageFeishu(params) {
2480
+ const { cfg, to, text, preparedPostText, replyToMessageId, replyInThread, allowTopLevelReplyFallback, mentions, accountId } = params;
2481
+ const { client, receiveId, receiveIdType } = resolveFeishuSendTarget({
2482
+ cfg,
2483
+ to,
2484
+ accountId
2485
+ });
2486
+ let messageText = text;
2487
+ if (!preparedPostText) {
2488
+ const tableMode = resolveMarkdownTableMode({
2489
+ cfg,
2490
+ channel: "feishu"
2491
+ });
2492
+ messageText = materializeFeishuPostMarkdownSoftBreaks(convertMarkdownTables(text ?? "", tableMode));
2493
+ }
2494
+ const content = buildFeishuPostMessageContent({
2495
+ messageText,
2496
+ mentions
2497
+ });
2498
+ const msgType = "post";
2499
+ assertFeishuPostWithinEnvelope(content, "Feishu post");
2500
+ return sendReplyOrFallbackDirect(client, {
2501
+ replyToMessageId,
2502
+ replyInThread,
2503
+ allowTopLevelReplyFallback,
2504
+ content,
2505
+ msgType,
2506
+ directParams: {
2507
+ receiveId,
2508
+ receiveIdType,
2509
+ content,
2510
+ msgType
2511
+ },
2512
+ directErrorPrefix: "Feishu send failed",
2513
+ replyErrorPrefix: "Feishu reply failed"
2514
+ });
2515
+ }
2516
+ async function sendCardFeishu(params) {
2517
+ const { cfg, to, card, replyToMessageId, replyInThread, allowTopLevelReplyFallback, accountId } = params;
2518
+ const { client, receiveId, receiveIdType } = resolveFeishuSendTarget({
2519
+ cfg,
2520
+ to,
2521
+ accountId
2522
+ });
2523
+ const content = JSON.stringify(card);
2524
+ return sendReplyOrFallbackDirect(client, {
2525
+ replyToMessageId,
2526
+ replyInThread,
2527
+ allowTopLevelReplyFallback,
2528
+ content,
2529
+ msgType: "interactive",
2530
+ directParams: {
2531
+ receiveId,
2532
+ receiveIdType,
2533
+ content,
2534
+ msgType: "interactive"
2535
+ },
2536
+ directErrorPrefix: "Feishu card send failed",
2537
+ replyErrorPrefix: "Feishu card reply failed"
2538
+ });
2539
+ }
2540
+ async function editMessageFeishu(params) {
2541
+ const { cfg, messageId, text, card, accountId } = params;
2542
+ const account = resolveFeishuRuntimeAccount({
2543
+ cfg,
2544
+ accountId
2545
+ });
2546
+ if (!account.configured) throw new Error(`Feishu account "${account.accountId}" not configured`);
2547
+ if ((typeof text === "string" && text.trim().length > 0) === Boolean(card)) throw new Error("Feishu edit requires exactly one of text or card.");
2548
+ const client = createFeishuClient(account);
2549
+ if (card) {
2550
+ const content = JSON.stringify(card);
2551
+ assertFeishuApiSuccess(await client.im.message.patch({
2552
+ path: { message_id: messageId },
2553
+ data: { content }
2554
+ }), "Feishu message edit failed");
2555
+ return {
2556
+ messageId,
2557
+ contentType: "interactive"
2558
+ };
2559
+ }
2560
+ const tableMode = resolveMarkdownTableMode({
2561
+ cfg,
2562
+ channel: "feishu"
2563
+ });
2564
+ const content = buildFeishuPostMessageContent({ messageText: materializeFeishuPostMarkdownSoftBreaks(convertMarkdownTables(text, tableMode)) });
2565
+ assertFeishuPostWithinEnvelope(content, "Feishu message edit");
2566
+ assertFeishuApiSuccess(await client.im.message.update({
2567
+ path: { message_id: messageId },
2568
+ data: {
2569
+ msg_type: "post",
2570
+ content
2571
+ }
2572
+ }), "Feishu message edit failed");
2573
+ return {
2574
+ messageId,
2575
+ contentType: "post"
2576
+ };
2577
+ }
2578
+ /**
2579
+ * Build a Feishu interactive card with optional header and note footer.
2580
+ */
2581
+ function buildStructuredCard(text, options) {
2582
+ const elements = [{
2583
+ tag: "markdown",
2584
+ content: options?.mentions?.length ? buildMentionedCardContent(options.mentions, text) : text
2585
+ }];
2586
+ if (options?.note) {
2587
+ elements.push({ tag: "hr" });
2588
+ elements.push({
2589
+ tag: "markdown",
2590
+ content: `<font color='grey'>${options.note}</font>`
2591
+ });
2592
+ }
2593
+ const card = {
2594
+ schema: "2.0",
2595
+ config: { width_mode: "fill" },
2596
+ body: { elements }
2597
+ };
2598
+ if (options?.header) card.header = {
2599
+ title: {
2600
+ tag: "plain_text",
2601
+ content: options.header.title
2602
+ },
2603
+ template: resolveFeishuCardTemplate(options.header.template) ?? "blue"
2604
+ };
2605
+ return card;
2606
+ }
2607
+ function chunkFeishuCardMarkdown(params) {
2608
+ return chunkFeishuMarkdownByEnvelope({
2609
+ ...params,
2610
+ contentBytes: (text, isFirst) => Buffer.byteLength(JSON.stringify(buildStructuredCard(text, {
2611
+ header: params.header,
2612
+ note: params.note,
2613
+ mentions: [...params.chunkMentions ?? [], ...isFirst ? params.firstChunkMentions ?? [] : []]
2614
+ })), "utf8")
2615
+ });
2616
+ }
2617
+ /**
2618
+ * Send a message as a structured card with optional header and note.
2619
+ */
2620
+ async function sendStructuredCardFeishu(params) {
2621
+ return sendCardFeishu({
2622
+ ...params,
2623
+ card: buildStructuredCard(params.text, params)
2624
+ });
2625
+ }
2626
+ //#endregion
2627
+ //#region extensions/feishu/src/media.ts
2628
+ const FEISHU_MEDIA_HTTP_TIMEOUT_MS = 12e4;
2629
+ const FEISHU_MAX_FILE_UPLOAD_BYTES = 31457280;
2630
+ const FEISHU_MAX_IMAGE_UPLOAD_BYTES = 10485760;
2631
+ const FEISHU_VOICE_FILE_NAME = "voice.ogg";
2632
+ const FEISHU_VOICE_SAMPLE_RATE_HZ = 48e3;
2633
+ const FEISHU_VOICE_BITRATE = "64k";
2634
+ const FEISHU_SUPPORTED_IMAGE_CONTENT_TYPES = /* @__PURE__ */ new Set([
2635
+ "image/jpeg",
2636
+ "image/jpg",
2637
+ "image/png",
2638
+ "image/gif",
2639
+ "image/webp",
2640
+ "image/bmp",
2641
+ "image/x-ms-bmp",
2642
+ "image/tiff",
2643
+ "image/tif",
2644
+ "image/heic",
2645
+ "image/x-icon",
2646
+ "image/ico",
2647
+ "image/vnd.microsoft.icon"
2648
+ ]);
2649
+ const FEISHU_TRANSCODABLE_AUDIO_EXTS = /* @__PURE__ */ new Set([
2650
+ ".aac",
2651
+ ".aiff",
2652
+ ".alac",
2653
+ ".amr",
2654
+ ".caf",
2655
+ ".flac",
2656
+ ".m4a",
2657
+ ".mp3",
2658
+ ".oga",
2659
+ ".wav",
2660
+ ".webm",
2661
+ ".wma"
2662
+ ]);
2663
+ function createConfiguredFeishuMediaClient(params) {
2664
+ const account = resolveFeishuRuntimeAccount({
2665
+ cfg: params.cfg,
2666
+ accountId: params.accountId
2667
+ });
2668
+ if (!account.configured) throw new Error(`Feishu account "${account.accountId}" not configured`);
2669
+ return {
2670
+ account,
2671
+ client: createFeishuClient({
2672
+ ...account,
2673
+ httpTimeoutMs: FEISHU_MEDIA_HTTP_TIMEOUT_MS
2674
+ })
2675
+ };
2676
+ }
2677
+ function asHeaderMap(value) {
2678
+ if (!value) return;
2679
+ const entries = Object.entries(value);
2680
+ if (entries.every(([, entry]) => typeof entry === "string" || Array.isArray(entry))) return Object.fromEntries(entries);
2681
+ }
2682
+ function extractFeishuUploadKey(response, params) {
2683
+ if (!response) throw new Error(`${params.errorPrefix}: empty response`);
2684
+ const wrappedResponse = response;
2685
+ if (wrappedResponse.code !== void 0 && wrappedResponse.code !== 0) throw new Error(`${params.errorPrefix}: ${wrappedResponse.msg || `code ${wrappedResponse.code}`}`);
2686
+ const key = wrappedResponse[params.key] ?? wrappedResponse.data?.[params.key];
2687
+ if (!key) throw new Error(`${params.errorPrefix}: no ${params.key} returned`);
2688
+ return key;
2689
+ }
2690
+ function readHeaderValue(headers, name) {
2691
+ if (!headers) return;
2692
+ for (const [key, value] of Object.entries(headers)) {
2693
+ if (normalizeLowercaseStringOrEmpty(key) !== normalizeLowercaseStringOrEmpty(name)) continue;
2694
+ if (typeof value === "string" && value.trim()) return value.trim();
2695
+ if (Array.isArray(value)) {
2696
+ const first = value.find((entry) => typeof entry === "string" && entry.trim());
2697
+ if (typeof first === "string") return first.trim();
2698
+ }
2699
+ }
2700
+ }
2701
+ function readHttpStatusFromError(error) {
2702
+ if (!error || typeof error !== "object") return;
2703
+ const response = error.response;
2704
+ if (response && typeof response === "object") {
2705
+ const status = response.status;
2706
+ if (typeof status === "number") return status;
2707
+ }
2708
+ const status = error.status;
2709
+ return typeof status === "number" ? status : void 0;
2710
+ }
2711
+ function containsEastAsianScript(value) {
2712
+ return /[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}]/u.test(value);
2713
+ }
2714
+ function recoverUtf8FileNameFromLatin1Header(value) {
2715
+ const recovered = Buffer.from(value, "latin1").toString("utf8");
2716
+ if (recovered !== value && !recovered.includes("�") && containsEastAsianScript(recovered)) return recovered;
2717
+ return value;
2718
+ }
2719
+ function decodeDispositionFileName(value) {
2720
+ const utf8Match = value.match(/filename\*=UTF-8''([^;]+)/i);
2721
+ if (utf8Match?.[1]) try {
2722
+ return decodeURIComponent(utf8Match[1].trim().replace(/^"(.*)"$/, "$1"));
2723
+ } catch {
2724
+ return utf8Match[1].trim().replace(/^"(.*)"$/, "$1");
2725
+ }
2726
+ const plainFileName = value.match(/filename="?([^";]+)"?/i)?.[1]?.trim();
2727
+ return plainFileName ? recoverUtf8FileNameFromLatin1Header(plainFileName) : void 0;
2728
+ }
2729
+ function extractFeishuDownloadMetadata(response) {
2730
+ const responseWithOptionalFields = response;
2731
+ const headers = asHeaderMap(responseWithOptionalFields.headers) ?? asHeaderMap(responseWithOptionalFields.header);
2732
+ const contentType = readHeaderValue(headers, "content-type") ?? responseWithOptionalFields.contentType ?? responseWithOptionalFields.mime_type ?? responseWithOptionalFields.data?.contentType ?? responseWithOptionalFields.data?.mime_type;
2733
+ const disposition = readHeaderValue(headers, "content-disposition");
2734
+ return {
2735
+ contentType,
2736
+ fileName: (disposition ? decodeDispositionFileName(disposition) : void 0) ?? responseWithOptionalFields.file_name ?? responseWithOptionalFields.fileName ?? responseWithOptionalFields.data?.file_name ?? responseWithOptionalFields.data?.fileName
2737
+ };
2738
+ }
2739
+ function mediaLimitError(maxBytes) {
2740
+ return /* @__PURE__ */ new Error(`Media exceeds ${Math.round(maxBytes / 1048576)}MB limit`);
2741
+ }
2742
+ async function saveFeishuResponseMedia(params) {
2743
+ const { response, maxBytes, contentType, fileName } = params;
2744
+ if (Buffer.isBuffer(response)) return saveMediaBuffer(response, contentType, "inbound", maxBytes, fileName);
2745
+ if (response instanceof ArrayBuffer) return saveMediaBuffer(Buffer.from(response), contentType, "inbound", maxBytes, fileName);
2746
+ const responseWithOptionalFields = response;
2747
+ if (responseWithOptionalFields.code !== void 0 && responseWithOptionalFields.code !== 0) throw new Error(`${params.errorPrefix}: ${responseWithOptionalFields.msg || `code ${responseWithOptionalFields.code}`}`);
2748
+ const data = responseWithOptionalFields.data;
2749
+ if (Buffer.isBuffer(data) || data instanceof ArrayBuffer) return saveMediaBuffer(Buffer.isBuffer(data) ? data : Buffer.from(data), contentType, "inbound", maxBytes, fileName);
2750
+ const save = (stream) => saveMediaStreamWithIdleTimeout(stream, contentType, maxBytes, fileName, FEISHU_MEDIA_HTTP_TIMEOUT_MS);
2751
+ if (typeof response.getReadableStream === "function") return save(response.getReadableStream());
2752
+ if (typeof response.writeFile === "function") return await withTempDownloadPath({ prefix: params.tmpDirPrefix }, async (tmpPath) => {
2753
+ await response.writeFile(tmpPath);
2754
+ if ((await fs.promises.stat(tmpPath)).size > maxBytes) throw mediaLimitError(maxBytes);
2755
+ return await save(fs.createReadStream(tmpPath));
2756
+ });
2757
+ if (responseWithOptionalFields[Symbol.asyncIterator]) return save(responseWithOptionalFields);
2758
+ if (response instanceof Readable) return save(response);
2759
+ const keys = Object.keys(response);
2760
+ throw new Error(`${params.errorPrefix}: unexpected response format. Keys: [${keys.join(", ")}]`);
2761
+ }
2762
+ async function saveMessageResourceWithType(params) {
2763
+ const response = await params.client.im.messageResource.get({
2764
+ path: {
2765
+ message_id: params.messageId,
2766
+ file_key: params.fileKey
2767
+ },
2768
+ params: { type: params.type }
2769
+ });
2770
+ const meta = extractFeishuDownloadMetadata(response);
2771
+ return {
2772
+ saved: await saveFeishuResponseMedia({
2773
+ response,
2774
+ tmpDirPrefix: "openclaw-feishu-resource-",
2775
+ errorPrefix: "Feishu message resource download failed",
2776
+ maxBytes: params.maxBytes,
2777
+ contentType: meta.contentType,
2778
+ fileName: meta.fileName ?? (params.originalFilename ? recoverUtf8FileNameFromLatin1Header(params.originalFilename) : void 0)
2779
+ }),
2780
+ ...meta
2781
+ };
2782
+ }
2783
+ async function saveMessageResourceFeishu(params) {
2784
+ const { cfg, messageId, fileKey, type, accountId, maxBytes, originalFilename } = params;
2785
+ const normalizedFileKey = normalizeFeishuExternalKey(fileKey);
2786
+ if (!normalizedFileKey) throw new Error("Feishu message resource download failed: invalid file_key");
2787
+ const { client } = createConfiguredFeishuMediaClient({
2788
+ cfg,
2789
+ accountId
2790
+ });
2791
+ const request = {
2792
+ client,
2793
+ messageId,
2794
+ fileKey: normalizedFileKey,
2795
+ type,
2796
+ maxBytes,
2797
+ originalFilename
2798
+ };
2799
+ try {
2800
+ return await saveMessageResourceWithType(request);
2801
+ } catch (err) {
2802
+ if (type !== "file" || readHttpStatusFromError(err) !== 502) throw err;
2803
+ try {
2804
+ return await saveMessageResourceWithType({
2805
+ ...request,
2806
+ type: "media"
2807
+ });
2808
+ } catch {
2809
+ throw err;
2810
+ }
2811
+ }
2812
+ }
2813
+ async function uploadImageFeishu(params) {
2814
+ const { cfg, image, accountId } = params;
2815
+ const { client } = createConfiguredFeishuMediaClient({
2816
+ cfg,
2817
+ accountId
2818
+ });
2819
+ return extractFeishuUploadKey(await requestFeishuApi(() => client.im.image.create({ data: {
2820
+ image_type: "message",
2821
+ image
2822
+ } }), "Feishu image upload failed", { includeNestedErrorLogId: true }), {
2823
+ key: "image_key",
2824
+ errorPrefix: "Feishu image upload failed"
2825
+ });
2826
+ }
2827
+ /**
2828
+ * Sanitize a filename for safe use in Feishu multipart/form-data uploads.
2829
+ * Strips control characters and multipart-injection vectors (CWE-93) while
2830
+ * preserving the original UTF-8 display name (Chinese, emoji, etc.).
2831
+ *
2832
+ * Previous versions percent-encoded non-ASCII characters, but the Feishu
2833
+ * `im.file.create` API uses `file_name` as a literal display name — it does
2834
+ * NOT decode percent-encoding — so encoded filenames appeared as garbled text
2835
+ * in chat (regression in v2026.3.2).
2836
+ */
2837
+ function sanitizeFileNameForUpload(fileName) {
2838
+ return fileName.replace(/[\p{Cc}"\\]/gu, "_");
2839
+ }
2840
+ async function uploadFileFeishu(params) {
2841
+ const { cfg, file, fileName, fileType, duration, accountId } = params;
2842
+ const { client } = createConfiguredFeishuMediaClient({
2843
+ cfg,
2844
+ accountId
2845
+ });
2846
+ const safeFileName = sanitizeFileNameForUpload(fileName);
2847
+ return extractFeishuUploadKey(await requestFeishuApi(() => client.im.file.create({ data: {
2848
+ file_type: fileType,
2849
+ file_name: safeFileName,
2850
+ file,
2851
+ ...duration !== void 0 ? { duration } : {}
2852
+ } }), "Feishu file upload failed", { includeNestedErrorLogId: true }), {
2853
+ key: "file_key",
2854
+ errorPrefix: "Feishu file upload failed"
2855
+ });
2856
+ }
2857
+ async function sendUploadedMediaFeishu(params, media, msgType) {
2858
+ const { client, receiveId, receiveIdType } = resolveFeishuSendTarget(params);
2859
+ const content = JSON.stringify(media);
2860
+ const label = msgType === "image" ? "image" : "file";
2861
+ return sendReplyOrFallbackDirect(client, {
2862
+ replyToMessageId: params.replyToMessageId,
2863
+ replyInThread: params.replyInThread,
2864
+ allowTopLevelReplyFallback: params.allowTopLevelReplyFallback,
2865
+ content,
2866
+ msgType,
2867
+ directParams: {
2868
+ receiveId,
2869
+ receiveIdType,
2870
+ content,
2871
+ msgType
2872
+ },
2873
+ directErrorPrefix: `Feishu ${label} send failed`,
2874
+ replyErrorPrefix: `Feishu ${label} reply failed`
2875
+ });
2876
+ }
2877
+ function sendStickerFeishu(params) {
2878
+ return sendUploadedMediaFeishu(params, { file_key: params.fileKey }, "sticker");
2879
+ }
2880
+ function detectFileType(fileName) {
2881
+ switch (normalizeLowercaseStringOrEmpty(path.extname(fileName))) {
2882
+ case ".opus":
2883
+ case ".ogg": return "opus";
2884
+ case ".mp4":
2885
+ case ".mov":
2886
+ case ".avi": return "mp4";
2887
+ case ".pdf": return "pdf";
2888
+ case ".doc":
2889
+ case ".docx": return "doc";
2890
+ case ".xls":
2891
+ case ".xlsx": return "xls";
2892
+ case ".ppt":
2893
+ case ".pptx": return "ppt";
2894
+ default: return "stream";
2895
+ }
2896
+ }
2897
+ async function resolveFeishuOutboundMediaKind(params) {
2898
+ const { buffer, fileName, contentType } = params;
2899
+ const ext = normalizeLowercaseStringOrEmpty(path.extname(fileName));
2900
+ const detectedContentType = await detectMime({ buffer }) ?? "";
2901
+ if (FEISHU_SUPPORTED_IMAGE_CONTENT_TYPES.has(detectedContentType)) return { msgType: "image" };
2902
+ if (ext === ".opus" || ext === ".ogg" || contentType === "audio/ogg" || contentType === "audio/opus") return {
2903
+ fileType: "opus",
2904
+ msgType: "audio"
2905
+ };
2906
+ if ([
2907
+ ".mp4",
2908
+ ".mov",
2909
+ ".avi"
2910
+ ].includes(ext) || contentType === "video/mp4" || contentType === "video/quicktime" || contentType === "video/x-msvideo") return {
2911
+ fileType: "mp4",
2912
+ msgType: "media"
2913
+ };
2914
+ return {
2915
+ fileType: detectFileType(fileName),
2916
+ msgType: "file"
2917
+ };
2918
+ }
2919
+ function assertFeishuUploadWithinEnvelope(params) {
2920
+ if (params.buffer.byteLength === 0) throw new Error("Feishu attachments cannot be empty");
2921
+ const maxBytes = params.msgType === "image" ? Math.min(params.mediaMaxBytes, FEISHU_MAX_IMAGE_UPLOAD_BYTES) : params.mediaMaxBytes;
2922
+ if (params.buffer.byteLength > maxBytes) {
2923
+ const label = params.msgType === "image" ? "image" : "file";
2924
+ throw new Error(`Feishu ${label} exceeds its ${String(maxBytes)}-byte upload limit`);
2925
+ }
2926
+ }
2927
+ function isFeishuNativeVoiceAudio(params) {
2928
+ const ext = normalizeLowercaseStringOrEmpty(path.extname(params.fileName));
2929
+ const contentType = normalizeLowercaseStringOrEmpty(params.contentType);
2930
+ return ext === ".opus" || ext === ".ogg" || contentType === "audio/ogg" || contentType === "audio/opus";
2931
+ }
2932
+ function normalizeMediaNameForExtension(raw) {
2933
+ try {
2934
+ return new URL(raw).pathname;
2935
+ } catch {
2936
+ return raw.split(/[?#]/, 1)[0] ?? raw;
2937
+ }
2938
+ }
2939
+ function shouldSuppressFeishuTextForVoiceMedia(params) {
2940
+ if (params.ttsSupplement) return params.ttsSupplement.visibleTextAlreadyDelivered === true;
2941
+ if (params.audioAsVoice === true) return true;
2942
+ if (params.fileName && isFeishuNativeVoiceAudio({
2943
+ fileName: params.fileName,
2944
+ contentType: params.contentType
2945
+ })) return true;
2946
+ if (!params.mediaUrl) return false;
2947
+ return isFeishuNativeVoiceAudio({
2948
+ fileName: normalizeMediaNameForExtension(params.mediaUrl),
2949
+ contentType: params.contentType
2950
+ });
2951
+ }
2952
+ function isLikelyTranscodableAudio(params) {
2953
+ const ext = normalizeLowercaseStringOrEmpty(path.extname(params.fileName));
2954
+ const contentType = normalizeLowercaseStringOrEmpty(params.contentType);
2955
+ return FEISHU_TRANSCODABLE_AUDIO_EXTS.has(ext) || mediaKindFromMime(contentType) === "audio";
2956
+ }
2957
+ async function transcodeToFeishuVoiceOpus(params) {
2958
+ return await withTempWorkspace({
2959
+ rootDir: resolvePreferredOpenClawTmpDir(),
2960
+ prefix: "feishu-voice-"
2961
+ }, async (workspace) => {
2962
+ const ext = normalizeLowercaseStringOrEmpty(path.extname(params.fileName));
2963
+ const inputExt = ext && ext.length <= 12 ? ext : ".audio";
2964
+ const inputPath = await workspace.write(`input${inputExt}`, params.buffer);
2965
+ await writeExternalFileWithinRoot({
2966
+ rootDir: workspace.dir,
2967
+ path: FEISHU_VOICE_FILE_NAME,
2968
+ write: async (outputPath) => {
2969
+ await runFfmpeg([
2970
+ "-hide_banner",
2971
+ "-loglevel",
2972
+ "error",
2973
+ "-y",
2974
+ "-i",
2975
+ inputPath,
2976
+ "-vn",
2977
+ "-sn",
2978
+ "-dn",
2979
+ "-t",
2980
+ String(MEDIA_FFMPEG_MAX_AUDIO_DURATION_SECS),
2981
+ "-ar",
2982
+ String(FEISHU_VOICE_SAMPLE_RATE_HZ),
2983
+ "-ac",
2984
+ "1",
2985
+ "-c:a",
2986
+ "libopus",
2987
+ "-b:a",
2988
+ FEISHU_VOICE_BITRATE,
2989
+ "-f",
2990
+ "ogg",
2991
+ outputPath
2992
+ ]);
2993
+ }
2994
+ });
2995
+ return {
2996
+ buffer: await workspace.read(FEISHU_VOICE_FILE_NAME),
2997
+ fileName: FEISHU_VOICE_FILE_NAME,
2998
+ contentType: "audio/ogg"
2999
+ };
3000
+ });
3001
+ }
3002
+ async function prepareFeishuVoiceMedia(params) {
3003
+ if (isFeishuNativeVoiceAudio(params)) return params;
3004
+ if (params.audioAsVoice !== true || !isLikelyTranscodableAudio(params)) return params;
3005
+ try {
3006
+ return await transcodeToFeishuVoiceOpus(params);
3007
+ } catch (err) {
3008
+ console.warn(`[feishu] audioAsVoice transcode failed; sending ${params.fileName} as a file attachment:`, err);
3009
+ return params;
3010
+ }
3011
+ }
3012
+ async function probeMediaDurationMs(params) {
3013
+ try {
3014
+ return await withTempWorkspace({
3015
+ rootDir: resolvePreferredOpenClawTmpDir(),
3016
+ prefix: "feishu-media-probe-"
3017
+ }, async (workspace) => {
3018
+ const ext = normalizeLowercaseStringOrEmpty(path.extname(params.fileName));
3019
+ const inferredExt = ext && ext.length <= 12 ? ext : mediaKindFromMime(params.contentType) === "video" ? ".mp4" : ".ogg";
3020
+ const inputPath = await workspace.write(`input${inferredExt}`, params.buffer);
3021
+ const stdout = await runFfprobe([
3022
+ "-v",
3023
+ "error",
3024
+ "-show_entries",
3025
+ "format=duration",
3026
+ "-of",
3027
+ "csv=p=0",
3028
+ inputPath
3029
+ ], { timeoutMs: 5e3 });
3030
+ const seconds = Number.parseFloat(stdout.trim());
3031
+ if (!Number.isFinite(seconds) || seconds <= 0) return;
3032
+ return Math.max(1, Math.round(seconds * 1e3));
3033
+ });
3034
+ } catch (err) {
3035
+ console.warn("[feishu] failed to probe media duration; upload will omit it:", err);
3036
+ return;
3037
+ }
3038
+ }
3039
+ /**
3040
+ * Upload and send media (image or file) from URL, local path, or buffer.
3041
+ * Local paths require host-owned mediaAccess or approved legacy roots/readers.
3042
+ */
3043
+ async function sendMediaFeishu(params) {
3044
+ const { cfg, mediaUrl, mediaBuffer, fileName, accountId, mediaLocalRoots, audioAsVoice } = params;
3045
+ const account = await runBeforeFeishuMessageDispatch(() => {
3046
+ const resolved = resolveFeishuRuntimeAccount({
3047
+ cfg,
3048
+ accountId
3049
+ });
3050
+ if (!resolved.configured) throw new Error(`Feishu account "${resolved.accountId}" not configured`);
3051
+ return resolved;
3052
+ });
3053
+ const mediaMaxBytes = Math.min((account.config?.mediaMaxMb ?? 30) * 1024 * 1024, FEISHU_MAX_FILE_UPLOAD_BYTES);
3054
+ const loaded = await runBeforeFeishuMessageDispatch(async () => {
3055
+ if (mediaBuffer) return {
3056
+ buffer: mediaBuffer,
3057
+ fileName: fileName ?? "file",
3058
+ contentType: void 0
3059
+ };
3060
+ if (mediaUrl) {
3061
+ const media = await getFeishuRuntime().media.loadWebMedia(mediaUrl, buildOutboundMediaLoadOptions({
3062
+ maxBytes: mediaMaxBytes,
3063
+ mediaAccess: params.mediaAccess,
3064
+ mediaLocalRoots,
3065
+ mediaReadFile: params.mediaReadFile,
3066
+ optimizeImages: false
3067
+ }));
3068
+ return {
3069
+ buffer: media.buffer,
3070
+ fileName: fileName ?? media.fileName ?? "file",
3071
+ contentType: media.contentType
3072
+ };
3073
+ }
3074
+ throw new Error("Either mediaUrl or mediaBuffer must be provided");
3075
+ });
3076
+ const loadedRouting = await runBeforeFeishuMessageDispatch(() => resolveFeishuOutboundMediaKind(loaded));
3077
+ await runBeforeFeishuMessageDispatch(() => assertFeishuUploadWithinEnvelope({
3078
+ buffer: loaded.buffer,
3079
+ mediaMaxBytes,
3080
+ msgType: loadedRouting.msgType
3081
+ }));
3082
+ const prepared = await runBeforeFeishuMessageDispatch(() => prepareFeishuVoiceMedia({
3083
+ ...loaded,
3084
+ audioAsVoice
3085
+ }));
3086
+ const { buffer, fileName: name, contentType } = prepared;
3087
+ const routing = prepared.buffer === loaded.buffer && prepared.fileName === loaded.fileName && prepared.contentType === loaded.contentType ? loadedRouting : await runBeforeFeishuMessageDispatch(() => resolveFeishuOutboundMediaKind({
3088
+ buffer,
3089
+ fileName: name,
3090
+ contentType
3091
+ }));
3092
+ const voiceIntentDegradedToFile = routing.msgType !== "audio" && shouldSuppressFeishuTextForVoiceMedia({
3093
+ mediaUrl,
3094
+ audioAsVoice
3095
+ });
3096
+ await runBeforeFeishuMessageDispatch(() => assertFeishuUploadWithinEnvelope({
3097
+ buffer,
3098
+ mediaMaxBytes,
3099
+ msgType: routing.msgType
3100
+ }));
3101
+ if (routing.msgType === "image") return {
3102
+ ...await sendUploadedMediaFeishu(params, { image_key: await runBeforeFeishuMessageDispatch(() => uploadImageFeishu({
3103
+ cfg,
3104
+ image: buffer,
3105
+ accountId
3106
+ })) }, "image"),
3107
+ ...voiceIntentDegradedToFile ? { voiceIntentDegradedToFile: true } : {}
3108
+ };
3109
+ const durationMs = routing.msgType === "audio" || routing.msgType === "media" ? await probeMediaDurationMs({
3110
+ buffer,
3111
+ fileName: name,
3112
+ contentType
3113
+ }) : void 0;
3114
+ return {
3115
+ ...await sendUploadedMediaFeishu(params, { file_key: await runBeforeFeishuMessageDispatch(() => uploadFileFeishu({
3116
+ cfg,
3117
+ file: buffer,
3118
+ fileName: name,
3119
+ fileType: routing.fileType ?? "stream",
3120
+ ...durationMs !== void 0 ? { duration: durationMs } : {},
3121
+ accountId
3122
+ })) }, routing.msgType),
3123
+ ...voiceIntentDegradedToFile ? { voiceIntentDegradedToFile: true } : {}
3124
+ };
3125
+ }
3126
+ //#endregion
3127
+ //#region extensions/feishu/src/presentation-card.ts
3128
+ const RENDERED_FEISHU_CARD = Symbol("openclaw.renderedFeishuCard");
3129
+ const FEISHU_PRESENTATION_FALLBACK_MARKER = "__openclawPresentationFallback";
3130
+ const FEISHU_PRESENTATION_CAPABILITIES = {
3131
+ supported: true,
3132
+ buttons: true,
3133
+ selects: false,
3134
+ context: true,
3135
+ divider: true,
3136
+ limits: {
3137
+ actions: {
3138
+ maxActions: 20,
3139
+ maxActionsPerRow: 5,
3140
+ maxLabelLength: 40,
3141
+ maxValueBytes: 1024
3142
+ },
3143
+ text: {
3144
+ maxLength: 4e3,
3145
+ encoding: "characters",
3146
+ markdownDialect: "markdown"
3147
+ }
3148
+ }
3149
+ };
3150
+ const FEISHU_CARD_MAX_BYTES = 30720;
3151
+ const FEISHU_CARD_MAX_ELEMENTS = 200;
3152
+ function resolveFeishuRichReply(payload) {
3153
+ const interactive = normalizeLegacyInteractiveReply(payload.interactive);
3154
+ return {
3155
+ interactive,
3156
+ presentation: normalizeMessagePresentation(payload.presentation) ?? (interactive ? legacyInteractiveReplyToPresentation(interactive) : void 0)
3157
+ };
3158
+ }
3159
+ function buildFeishuPresentationFallback(params) {
3160
+ const fallbackText = renderFeishuPresentationFallbackText(params, params.textFormat);
3161
+ 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;
3162
+ return {
3163
+ fallbackText,
3164
+ fallbackHasCommand,
3165
+ commentText: fallbackHasCommand ? `${fallbackText}\n\n> Interactive buttons are unavailable in Feishu document comments. You can type the command shown above manually.` : fallbackText
3166
+ };
3167
+ }
3168
+ function countFeishuCardElements(value, ancestors = /* @__PURE__ */ new Set()) {
3169
+ if (Array.isArray(value)) return value.reduce((count, entry) => count + countFeishuCardElements(entry, ancestors), 0);
3170
+ if (!isRecord(value)) return 0;
3171
+ if (ancestors.has(value)) return 201;
3172
+ ancestors.add(value);
3173
+ let count = typeof value.tag === "string" ? 1 : 0;
3174
+ for (const entry of Object.values(value)) {
3175
+ count += countFeishuCardElements(entry, ancestors);
3176
+ if (count > FEISHU_CARD_MAX_ELEMENTS) break;
3177
+ }
3178
+ ancestors.delete(value);
3179
+ return count;
3180
+ }
3181
+ function isFeishuCardWithinEnvelope(card) {
3182
+ try {
3183
+ return Buffer.byteLength(JSON.stringify(card), "utf8") <= FEISHU_CARD_MAX_BYTES && countFeishuCardElements(card) <= FEISHU_CARD_MAX_ELEMENTS;
3184
+ } catch {
3185
+ return false;
3186
+ }
3187
+ }
3188
+ function assertFeishuCardWithinEnvelope(card, label = "Feishu card") {
3189
+ if (!isFeishuCardWithinEnvelope(card)) throw new Error(`${label} exceeds the 30 KB or 200-element API limit.`);
3190
+ }
3191
+ /** Feishu allows at most five table components per static interactive card. */
3192
+ const FEISHU_CARD_TABLE_LIMIT = 5;
3193
+ function countMarkdownTables(text) {
3194
+ return text.includes("|") ? markdownToIRWithMeta(text, { tableMode: "block" }).tables.length : 0;
3195
+ }
3196
+ function withinCardTableLimit(text) {
3197
+ return countMarkdownTables(text) <= FEISHU_CARD_TABLE_LIMIT;
3198
+ }
3199
+ function feishuCardWithinTableLimit(card) {
3200
+ let remaining = FEISHU_CARD_TABLE_LIMIT;
3201
+ const visit = (value) => {
3202
+ if (Array.isArray(value)) return value.every(visit);
3203
+ if (!isRecord(value)) return true;
3204
+ if (value.tag === "markdown" && typeof value.content === "string") remaining -= countMarkdownTables(value.content);
3205
+ return remaining >= 0 && Object.values(value).every(visit);
3206
+ };
3207
+ return visit(card);
3208
+ }
3209
+ function resolveFeishuButtonUrl(button) {
3210
+ if (button.action?.type === "url" || button.action?.type === "web-app") return button.action.url;
3211
+ if (button.action) return;
3212
+ return button.url ?? button.webApp?.url ?? button.web_app?.url;
3213
+ }
3214
+ function resolveFeishuCommandButtonValue(button) {
3215
+ if (button.action?.type === "command") return button.action.command;
3216
+ if (button.action) return;
3217
+ return button.value;
3218
+ }
3219
+ function renderFeishuPresentationFallbackText(params, textFormat = "plain") {
3220
+ const presentation = params.presentation;
3221
+ return renderMessagePresentationFallbackText({
3222
+ ...params,
3223
+ presentation: presentation && {
3224
+ ...presentation,
3225
+ blocks: presentation.blocks.map((block) => block.type === "buttons" ? {
3226
+ type: block.type,
3227
+ buttons: block.buttons.map((button) => {
3228
+ const url = resolveFeishuButtonUrl(button);
3229
+ return {
3230
+ ...button,
3231
+ ...textFormat === "markdown" ? { label: escapeFeishuCardPlainText(button.label) } : {},
3232
+ ...url && !resolveSafeFeishuButtonUrl(url) ? { disabled: true } : {}
3233
+ };
3234
+ })
3235
+ } : block)
3236
+ }
3237
+ });
3238
+ }
3239
+ function mapFeishuButtonType(style) {
3240
+ if (style === "primary" || style === "success") return "primary";
3241
+ if (style === "danger") return "danger";
3242
+ return "default";
3243
+ }
3244
+ function buildFeishuPayloadButton(button) {
3245
+ const url = resolveSafeFeishuButtonUrl(resolveFeishuButtonUrl(button));
3246
+ const value = resolveFeishuCommandButtonValue(button);
3247
+ if (button.disabled || !url && !value) return {
3248
+ tag: "markdown",
3249
+ content: `- ${escapeFeishuCardPlainText(button.label)}`
3250
+ };
3251
+ const behaviors = [];
3252
+ if (url) behaviors.push({
3253
+ type: "open_url",
3254
+ default_url: url
3255
+ });
3256
+ if (value) behaviors.push({
3257
+ type: "callback",
3258
+ value: createFeishuCardInteractionEnvelope({
3259
+ k: "quick",
3260
+ a: "feishu.payload.button",
3261
+ q: value
3262
+ })
3263
+ });
3264
+ return {
3265
+ tag: "button",
3266
+ text: {
3267
+ tag: "plain_text",
3268
+ content: button.label
3269
+ },
3270
+ type: mapFeishuButtonType(button.style),
3271
+ behaviors
3272
+ };
3273
+ }
3274
+ function buildFeishuCardElementsForBlock(block) {
3275
+ if (block.type === "divider") return [{ tag: "hr" }];
3276
+ if (block.type === "buttons") return block.buttons.map(buildFeishuPayloadButton);
3277
+ let text;
3278
+ switch (block.type) {
3279
+ case "text":
3280
+ case "context":
3281
+ text = block.text;
3282
+ break;
3283
+ case "chart":
3284
+ text = renderMessagePresentationChartFallbackText(block);
3285
+ break;
3286
+ case "table":
3287
+ text = renderMessagePresentationTableFallbackText(block);
3288
+ break;
3289
+ default: text = renderMessagePresentationFallbackText({ presentation: { blocks: [block] } });
3290
+ }
3291
+ const content = escapeFeishuCardMarkdownText(text);
3292
+ return [{
3293
+ tag: "markdown",
3294
+ content: block.type === "context" ? `<font color='grey'>${content}</font>` : content
3295
+ }];
3296
+ }
3297
+ function resolvePresentationHeaderTemplate(tone) {
3298
+ if (tone === "danger") return "red";
3299
+ if (tone === "warning") return "orange";
3300
+ if (tone === "success") return "green";
3301
+ return "blue";
3302
+ }
3303
+ function buildFeishuPresentationCardElements(params) {
3304
+ const elements = [];
3305
+ const fallbackText = params.fallbackText?.trim();
3306
+ if (fallbackText) elements.push({
3307
+ tag: "markdown",
3308
+ content: escapeFeishuCardMarkdownText(fallbackText)
3309
+ });
3310
+ for (const block of params.presentation.blocks) elements.push(...buildFeishuCardElementsForBlock(block));
3311
+ if (elements.length > 0) return elements;
3312
+ return [{
3313
+ tag: "markdown",
3314
+ content: ""
3315
+ }];
3316
+ }
3317
+ function buildFeishuPresentationCard(params) {
3318
+ return {
3319
+ schema: "2.0",
3320
+ config: { width_mode: "fill" },
3321
+ ...params.presentation.title ? { header: {
3322
+ title: {
3323
+ tag: "plain_text",
3324
+ content: params.presentation.title
3325
+ },
3326
+ template: resolvePresentationHeaderTemplate(params.presentation.tone)
3327
+ } } : {},
3328
+ body: { elements: buildFeishuPresentationCardElements(params) }
3329
+ };
3330
+ }
3331
+ function markRenderedFeishuCard(card) {
3332
+ Object.defineProperty(card, RENDERED_FEISHU_CARD, {
3333
+ value: true,
3334
+ enumerable: false
3335
+ });
3336
+ return card;
3337
+ }
3338
+ function readNativeFeishuCard(payload) {
3339
+ const feishuData = payload.channelData?.feishu;
3340
+ if (!isRecord(feishuData)) return;
3341
+ const card = feishuData.card ?? feishuData.interactiveCard;
3342
+ if (!isRecord(card)) return;
3343
+ const rendered = card;
3344
+ if (rendered[RENDERED_FEISHU_CARD] === true) return rendered;
3345
+ const sanitizedCard = sanitizeNativeFeishuCard(card);
3346
+ return sanitizedCard ? markRenderedFeishuCard(sanitizedCard) : void 0;
3347
+ }
3348
+ function consumeFeishuPresentationFallbackMarker(payload) {
3349
+ const feishuData = isRecord(payload.channelData?.feishu) ? payload.channelData.feishu : void 0;
3350
+ const presentationFallback = feishuData?.[FEISHU_PRESENTATION_FALLBACK_MARKER];
3351
+ if (!isRecord(presentationFallback) || typeof presentationFallback.hasVisibleContent !== "boolean") return { payload };
3352
+ const nextFeishuData = { ...feishuData };
3353
+ delete nextFeishuData[FEISHU_PRESENTATION_FALLBACK_MARKER];
3354
+ const nextChannelData = { ...payload.channelData };
3355
+ if (Object.keys(nextFeishuData).length > 0) nextChannelData.feishu = nextFeishuData;
3356
+ else delete nextChannelData.feishu;
3357
+ return {
3358
+ payload: {
3359
+ ...payload,
3360
+ channelData: Object.keys(nextChannelData).length > 0 ? nextChannelData : void 0
3361
+ },
3362
+ presentationFallback: { hasVisibleContent: presentationFallback.hasVisibleContent }
3363
+ };
3364
+ }
3365
+ function buildFeishuPayloadCard(params) {
3366
+ const nativeCard = readNativeFeishuCard(params.payload);
3367
+ const rawText = params.text ?? params.payload.text;
3368
+ const textCard = readNativeFeishuCardJson(rawText);
3369
+ const { interactive, presentation } = resolveFeishuRichReply(params.payload);
3370
+ let card = nativeCard ?? (!presentation ? textCard : void 0);
3371
+ const isNativeCard = card !== void 0;
3372
+ if (!card && presentation) card = buildFeishuPresentationCard({
3373
+ presentation: {
3374
+ ...presentation,
3375
+ title: presentation.title ?? resolveFeishuIdentityHeaderTitle(params.identity)
3376
+ },
3377
+ fallbackText: textCard ? void 0 : resolveLegacyInteractiveTextFallback({
3378
+ text: rawText,
3379
+ interactive
3380
+ })
3381
+ });
3382
+ if (!card) return;
3383
+ if (params.mentions?.length) card = {
3384
+ ...card,
3385
+ body: {
3386
+ ...card.body,
3387
+ elements: [{
3388
+ tag: "markdown",
3389
+ content: buildMentionedCardContent(params.mentions, "").trimEnd()
3390
+ }, ...card.body.elements]
3391
+ }
3392
+ };
3393
+ if (isNativeCard) {
3394
+ assertFeishuCardWithinEnvelope(card, "Feishu native card");
3395
+ return markRenderedFeishuCard(card);
3396
+ }
3397
+ return isFeishuCardWithinEnvelope(card) && feishuCardWithinTableLimit(card) ? markRenderedFeishuCard(card) : void 0;
3398
+ }
3399
+ function renderFeishuPresentationPayload({ payload, presentation, sourcePresentation, ctx }) {
3400
+ const card = buildFeishuPayloadCard({
3401
+ payload,
3402
+ text: payload.text,
3403
+ identity: ctx.identity,
3404
+ mentions: ctx.mentions
3405
+ });
3406
+ const isComment = Boolean(parseFeishuCommentTarget(ctx.to));
3407
+ const fallbackPresentation = !card || isComment ? sourcePresentation ?? presentation : presentation;
3408
+ const { fallbackText, fallbackHasCommand } = buildFeishuPresentationFallback({
3409
+ text: readNativeFeishuCardJson(payload.text) ? void 0 : payload.text,
3410
+ presentation: fallbackPresentation,
3411
+ textFormat: isComment ? "plain" : "markdown"
3412
+ });
3413
+ const existingFeishuData = isRecord(payload.channelData?.feishu) ? payload.channelData.feishu : void 0;
3414
+ return {
3415
+ ...payload,
3416
+ text: fallbackText,
3417
+ channelData: {
3418
+ ...payload.channelData,
3419
+ feishu: {
3420
+ ...existingFeishuData,
3421
+ ...card ? { card } : { [FEISHU_PRESENTATION_FALLBACK_MARKER]: { hasVisibleContent: Boolean(renderFeishuPresentationFallbackText({ presentation: fallbackPresentation }).trim()) } },
3422
+ ...fallbackHasCommand ? { fallbackHasCommand: true } : {}
3423
+ }
3424
+ }
3425
+ };
3426
+ }
3427
+ async function renderFeishuReplyPayload(payload, ctx) {
3428
+ const { presentation } = resolveFeishuRichReply(payload);
3429
+ if (!presentation) return { payload };
3430
+ const { interactive: _interactive, ...withoutInteractive } = await renderPresentationForDelivery({
3431
+ presentationCapabilities: FEISHU_PRESENTATION_CAPABILITIES,
3432
+ renderPresentation: (adapted, sourcePresentation) => renderFeishuPresentationPayload({
3433
+ payload: adapted,
3434
+ presentation: adapted.presentation,
3435
+ sourcePresentation,
3436
+ ctx
3437
+ })
3438
+ }, {
3439
+ ...payload,
3440
+ presentation
3441
+ });
3442
+ return {
3443
+ payload: withoutInteractive,
3444
+ card: readNativeFeishuCard(withoutInteractive)
3445
+ };
3446
+ }
3447
+ //#endregion
3448
+ //#region extensions/feishu/src/reply-delivery-result.ts
3449
+ const noVisibleFeishuReplyDelivery = { visibleReplySent: false };
3450
+ function shouldSendNoVisibleReplyFallback(dispatchResult) {
3451
+ const emptyEligibleDispatch = dispatchResult.noVisibleReplyFallbackEligible === true && dispatchResult.settledReceipt?.anyVisibleDelivered !== true;
3452
+ const finalFailedBeforeSend = (dispatchResult.settledReceipt?.counts.final.failedBeforeSend ?? 0) > 0;
3453
+ return dispatchResult.sendPolicyDenied !== true && dispatchResult.sourceReplyDeliveryMode !== "message_tool_only" && (emptyEligibleDispatch || finalFailedBeforeSend);
3454
+ }
3455
+ function hasProviderIdentity(result) {
3456
+ return Boolean(result && (result.messageId?.trim() || result.receipt?.primaryPlatformMessageId?.trim() || result.receipt?.platformMessageIds.length));
3457
+ }
3458
+ /** Normalizes every physical Lark send behind one logical reply payload. */
3459
+ function createFeishuReplyDeliveryResult(params) {
3460
+ const results = params.visibleReplySent ? (params.results ?? []).filter(hasProviderIdentity) : [];
3461
+ if (results.length === 0) return {
3462
+ visibleReplySent: params.visibleReplySent,
3463
+ ...params.content === void 0 ? {} : { content: params.content }
3464
+ };
3465
+ return createAcceptedChannelDeliveryResult({
3466
+ results,
3467
+ kind: params.kind,
3468
+ content: params.content
3469
+ });
3470
+ }
3471
+ /** Preserves the first result's provider identity while retaining supplemental ids. */
3472
+ function mergeFeishuReplyDeliveryResults(results, content) {
3473
+ const visible = results.filter((result) => result.visibleReplySent === true);
3474
+ const acceptedContent = visible.flatMap((result) => result.content === void 0 ? [] : [result.content]);
3475
+ return createFeishuReplyDeliveryResult({
3476
+ results: visible,
3477
+ visibleReplySent: visible.length > 0,
3478
+ content: content === void 0 ? acceptedContent.length > 0 ? acceptedContent.join("\n\n") : void 0 : content
3479
+ });
3480
+ }
3481
+ /** Keeps a failed outcome while exposing the provider-visible subset to core lifecycle hooks. */
3482
+ function createFeishuPartialReplyDeliveryError(cause, result) {
3483
+ if (result.visibleReplySent !== true) return cause instanceof Error ? cause : new Error(formatErrorMessage(cause), { cause });
3484
+ return createChannelPartialDeliveryError(cause, {
3485
+ ...result,
3486
+ visibleReplySent: true
3487
+ });
3488
+ }
3489
+ //#endregion
3490
+ export { cleanupAmbientCommentTypingReaction as $, sendMessageFeishu as A, resolveFeishuGroupToolPolicy as At, parsePostContent as B, sendStickerFeishu as C, resolveFeishuChatReadPreliminaryAuthorization as Ct, getMessageFeishu as D, resolveFeishuGroupConfig as Dt, editMessageFeishu as E, resolveFeishuDmIngressAccess as Et, isFeishuBroadcastMention as F, buildFeishuCardActionTextFallback as Ft, deliverCommentThreadText as G, buildFeishuMediaFallbackText as H, isMentionForwardRequest as I, createFeishuCardInteractionEnvelope as It, feishuExternalToolResult as J, registerFeishuDriveTools as K, isFeishuGroupChatType as L, decodeFeishuCardAction as Lt, toFeishuMessageSendResult as M, normalizeFeishuChatType as Mt, formatFeishuMediaContent as N, resolveFeishuChatType as Nt, listFeishuThreadMessages as O, resolveFeishuGroupConversationIngressAccess as Ot, extractMentionTargets as P, FEISHU_CARD_INTERACTION_VERSION as Pt, assertFeishuApiSuccess as Q, normalizeFeishuEventChatType as R, sendMediaFeishu as S, readFeishuChatInfoWithAuthorization as St, chunkFeishuCardMarkdown as T, normalizeFeishuAllowEntry as Tt, resolveFeishuIdentityEmoji as U, createConfiguredFeishuClient as V, resolveFeishuIdentityHeaderTitle as W, createFeishuToolClient as X, unknownToolActionResult as Y, resolveFeishuToolAccount as Z, renderFeishuPresentationPayload as _, authorizeFeishuChatMemberRead as _t, shouldSendNoVisibleReplyFallback as a, requestFeishuApi as at, withinCardTableLimit as b, isFeishuGroupReadAllowed 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, assertFeishuChatReadAllowed as gt, readNativeFeishuCard as h, shouldUseFeishuCard as ht, noVisibleFeishuReplyDelivery as i, parseCommentContentElements as it, sendStructuredCardFeishu as j, resolveFeishuReplyPolicy as jt, sendCardFeishu as k, resolveFeishuGroupSenderActivationIngressAccess 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, registerFeishuTool 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, canEnumerateAllFeishuGroups as vt, shouldSuppressFeishuTextForVoiceMedia as w, hasExplicitFeishuGroupConfig as wt, saveMessageResourceFeishu as x, isFeishuGroupReadEnabled as xt, resolveFeishuRichReply as y, canEnumerateAllFeishuPeers as yt, parseInteractiveCardContent as z };