@openclaw/feishu 2026.7.1-beta.1 → 2026.7.1-beta.4

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 (461) hide show
  1. package/dist/{accounts-Cfzht2Hc.js → accounts-Bs5uJ4h0.js} +4 -3
  2. package/dist/api.js +56 -65
  3. package/dist/{app-registration-DapxBG7t.js → app-registration-BwQ-aGTe.js} +23 -15
  4. package/dist/{channel-C1Uun9zo.js → channel-DwCydAeD.js} +77 -58
  5. package/dist/channel-plugin-api.js +1 -1
  6. package/dist/{channel.runtime-Cjc4wDNg.js → channel.runtime-COT2fcCf.js} +96 -149
  7. package/dist/contract-api.js +1 -1
  8. package/dist/{conversation-id-DuL575sn.js → conversation-id-CdLdoot3.js} +5 -1
  9. package/dist/{drive-djUl8IRC.js → drive-BupYOoHa.js} +46 -42
  10. package/dist/json-response-CheljwGr.js +9 -0
  11. package/dist/{monitor-CQo4C7q9.js → monitor-5gbbXIO-.js} +3 -6
  12. package/dist/{monitor.account-08br3nkU.js → monitor.account-lMwQ5v1Q.js} +149 -67
  13. package/dist/runtime-api.js +1 -1
  14. package/dist/{send-BcPh0I15.js → send-DzLGqjEt.js} +33 -40
  15. package/dist/send-result-BMQw-YhV.js +287 -0
  16. package/dist/{session-conversation-CZSMgac-.js → session-conversation-BYuoVJwl.js} +1 -1
  17. package/dist/session-key-api.js +1 -1
  18. package/dist/setup-api.js +1 -1
  19. package/dist/{subagent-hooks-1pqt5tAA.js → subagent-hooks-B2iWPYJ1.js} +1 -1
  20. package/dist/subagent-hooks-api.js +2 -5
  21. package/node_modules/@larksuiteoapi/node-sdk/README.md +40 -0
  22. package/node_modules/@larksuiteoapi/node-sdk/README.zh.md +38 -0
  23. package/node_modules/@larksuiteoapi/node-sdk/es/index.js +183 -24
  24. package/node_modules/@larksuiteoapi/node-sdk/lib/index.js +186 -23
  25. package/node_modules/@larksuiteoapi/node-sdk/package.json +1 -72
  26. package/node_modules/@larksuiteoapi/node-sdk/types/index.d.ts +105 -1
  27. package/node_modules/@types/node/README.md +1 -1
  28. package/node_modules/@types/node/assert/strict.d.ts +10 -1
  29. package/node_modules/@types/node/assert.d.ts +144 -17
  30. package/node_modules/@types/node/async_hooks.d.ts +9 -9
  31. package/node_modules/@types/node/buffer.d.ts +64 -30
  32. package/node_modules/@types/node/child_process.d.ts +17 -21
  33. package/node_modules/@types/node/cluster.d.ts +13 -13
  34. package/node_modules/@types/node/console.d.ts +1 -1
  35. package/node_modules/@types/node/crypto.d.ts +471 -575
  36. package/node_modules/@types/node/diagnostics_channel.d.ts +274 -32
  37. package/node_modules/@types/node/dns.d.ts +15 -15
  38. package/node_modules/@types/node/events.d.ts +3 -3
  39. package/node_modules/@types/node/ffi.d.ts +486 -0
  40. package/node_modules/@types/node/fs/promises.d.ts +7 -4
  41. package/node_modules/@types/node/fs.d.ts +24 -18
  42. package/node_modules/@types/node/globals.d.ts +4 -4
  43. package/node_modules/@types/node/http.d.ts +30 -5
  44. package/node_modules/@types/node/http2.d.ts +5 -1
  45. package/node_modules/@types/node/index.d.ts +1 -3
  46. package/node_modules/@types/node/inspector.d.ts +1 -1
  47. package/node_modules/@types/node/module.d.ts +16 -45
  48. package/node_modules/@types/node/net.d.ts +1 -1
  49. package/node_modules/@types/node/os.d.ts +2 -2
  50. package/node_modules/@types/node/package.json +4 -4
  51. package/node_modules/@types/node/perf_hooks.d.ts +1 -9
  52. package/node_modules/@types/node/process.d.ts +25 -12
  53. package/node_modules/@types/node/quic.d.ts +92 -11
  54. package/node_modules/@types/node/readline.d.ts +12 -11
  55. package/node_modules/@types/node/repl.d.ts +10 -10
  56. package/node_modules/@types/node/sqlite.d.ts +56 -1
  57. package/node_modules/@types/node/stream/iter.d.ts +150 -0
  58. package/node_modules/@types/node/stream/promises.d.ts +2 -2
  59. package/node_modules/@types/node/stream/web.d.ts +1 -1
  60. package/node_modules/@types/node/stream.d.ts +37 -5
  61. package/node_modules/@types/node/test/reporters.d.ts +1 -1
  62. package/node_modules/@types/node/test.d.ts +120 -10
  63. package/node_modules/@types/node/tls.d.ts +1 -1
  64. package/node_modules/@types/node/ts5.6/index.d.ts +2 -4
  65. package/node_modules/@types/node/ts5.7/index.d.ts +1 -3
  66. package/node_modules/@types/node/url.d.ts +3 -3
  67. package/node_modules/@types/node/util/types.d.ts +1 -1
  68. package/node_modules/@types/node/util.d.ts +22 -22
  69. package/node_modules/@types/node/v8.d.ts +85 -3
  70. package/node_modules/@types/node/vm.d.ts +9 -9
  71. package/node_modules/@types/node/web-globals/domexception.d.ts +15 -0
  72. package/node_modules/@types/node/worker_threads.d.ts +10 -12
  73. package/node_modules/@types/node/zlib.d.ts +3 -3
  74. package/node_modules/side-channel/CHANGELOG.md +10 -0
  75. package/node_modules/side-channel/README.md +1 -1
  76. package/node_modules/side-channel/index.js +5 -2
  77. package/node_modules/side-channel/package.json +10 -10
  78. package/node_modules/side-channel/test/index.js +16 -0
  79. package/node_modules/typebox/build/compile/validator.d.mts +2 -7
  80. package/node_modules/typebox/build/compile/validator.mjs +6 -36
  81. package/node_modules/typebox/build/error/errors.d.mts +1 -7
  82. package/node_modules/typebox/build/format/_idna.mjs +36 -6
  83. package/node_modules/typebox/build/format/_puny.mjs +4 -1
  84. package/node_modules/typebox/build/format/uuid.d.mts +2 -2
  85. package/node_modules/typebox/build/format/uuid.mjs +3 -3
  86. package/node_modules/typebox/build/guard/emit.d.mts +0 -4
  87. package/node_modules/typebox/build/guard/emit.mjs +0 -8
  88. package/node_modules/typebox/build/guard/guard.d.mts +4 -8
  89. package/node_modules/typebox/build/guard/guard.mjs +5 -13
  90. package/node_modules/typebox/build/schema/engine/boolean.d.mts +3 -3
  91. package/node_modules/typebox/build/schema/engine/boolean.mjs +4 -4
  92. package/node_modules/typebox/build/schema/engine/index.d.mts +0 -1
  93. package/node_modules/typebox/build/schema/engine/index.mjs +0 -1
  94. package/node_modules/typebox/build/schema/engine/schema.mjs +5 -10
  95. package/node_modules/typebox/build/schema/engine/type.mjs +14 -18
  96. package/node_modules/typebox/build/schema/types/dependencies.mjs +1 -1
  97. package/node_modules/typebox/build/schema/types/index.d.mts +0 -1
  98. package/node_modules/typebox/build/schema/types/index.mjs +0 -1
  99. package/node_modules/typebox/build/schema/types/schema.d.mts +1 -1
  100. package/node_modules/typebox/build/schema/types/schema.mjs +2 -2
  101. package/node_modules/typebox/build/system/locale/ar_001.mjs +0 -1
  102. package/node_modules/typebox/build/system/locale/bn_BD.mjs +0 -1
  103. package/node_modules/typebox/build/system/locale/cs_CZ.mjs +0 -1
  104. package/node_modules/typebox/build/system/locale/de_DE.mjs +0 -1
  105. package/node_modules/typebox/build/system/locale/el_GR.mjs +0 -1
  106. package/node_modules/typebox/build/system/locale/en_US.mjs +0 -1
  107. package/node_modules/typebox/build/system/locale/es_419.mjs +0 -1
  108. package/node_modules/typebox/build/system/locale/es_AR.mjs +0 -1
  109. package/node_modules/typebox/build/system/locale/es_ES.mjs +0 -1
  110. package/node_modules/typebox/build/system/locale/es_MX.mjs +0 -1
  111. package/node_modules/typebox/build/system/locale/fa_IR.mjs +0 -1
  112. package/node_modules/typebox/build/system/locale/fil_PH.mjs +0 -1
  113. package/node_modules/typebox/build/system/locale/fr_CA.mjs +0 -1
  114. package/node_modules/typebox/build/system/locale/fr_FR.mjs +0 -1
  115. package/node_modules/typebox/build/system/locale/ha_NG.mjs +0 -1
  116. package/node_modules/typebox/build/system/locale/hi_IN.mjs +0 -1
  117. package/node_modules/typebox/build/system/locale/hu_HU.mjs +0 -1
  118. package/node_modules/typebox/build/system/locale/id_ID.mjs +0 -1
  119. package/node_modules/typebox/build/system/locale/it_IT.mjs +0 -1
  120. package/node_modules/typebox/build/system/locale/ja_JP.mjs +0 -1
  121. package/node_modules/typebox/build/system/locale/ko_KR.mjs +0 -1
  122. package/node_modules/typebox/build/system/locale/ms_MY.mjs +0 -1
  123. package/node_modules/typebox/build/system/locale/nl_NL.mjs +0 -1
  124. package/node_modules/typebox/build/system/locale/pl_PL.mjs +0 -1
  125. package/node_modules/typebox/build/system/locale/pt_BR.mjs +0 -1
  126. package/node_modules/typebox/build/system/locale/pt_PT.mjs +0 -1
  127. package/node_modules/typebox/build/system/locale/ro_RO.mjs +0 -1
  128. package/node_modules/typebox/build/system/locale/ru_RU.mjs +0 -1
  129. package/node_modules/typebox/build/system/locale/sv_SE.mjs +0 -1
  130. package/node_modules/typebox/build/system/locale/sw_TZ.mjs +0 -1
  131. package/node_modules/typebox/build/system/locale/th_TH.mjs +0 -1
  132. package/node_modules/typebox/build/system/locale/tr_TR.mjs +0 -1
  133. package/node_modules/typebox/build/system/locale/uk_UA.mjs +0 -1
  134. package/node_modules/typebox/build/system/locale/ur_PK.mjs +0 -1
  135. package/node_modules/typebox/build/system/locale/vi_VN.mjs +0 -1
  136. package/node_modules/typebox/build/system/locale/yo_NG.mjs +0 -1
  137. package/node_modules/typebox/build/system/locale/zh_Hans.mjs +0 -1
  138. package/node_modules/typebox/build/system/locale/zh_Hant.mjs +0 -1
  139. package/node_modules/typebox/build/system/memory/clone.d.mts +2 -3
  140. package/node_modules/typebox/build/system/memory/clone.mjs +73 -26
  141. package/node_modules/typebox/build/system/settings/settings.d.mts +15 -0
  142. package/node_modules/typebox/build/system/settings/settings.mjs +3 -1
  143. package/node_modules/typebox/build/type/action/_add_immutable.d.mts +11 -0
  144. package/node_modules/typebox/build/type/action/_add_immutable.mjs +11 -0
  145. package/node_modules/typebox/build/type/action/_add_optional.d.mts +11 -0
  146. package/node_modules/typebox/build/type/action/_add_optional.mjs +11 -0
  147. package/node_modules/typebox/build/type/action/_add_readonly.d.mts +11 -0
  148. package/node_modules/typebox/build/type/action/_add_readonly.mjs +11 -0
  149. package/node_modules/typebox/build/type/action/_remove_immutable.d.mts +11 -0
  150. package/node_modules/typebox/build/type/action/_remove_immutable.mjs +11 -0
  151. package/node_modules/typebox/build/type/action/_remove_optional.d.mts +11 -0
  152. package/node_modules/typebox/build/type/action/_remove_optional.mjs +11 -0
  153. package/node_modules/typebox/build/type/action/_remove_readonly.d.mts +11 -0
  154. package/node_modules/typebox/build/type/action/_remove_readonly.mjs +11 -0
  155. package/node_modules/typebox/build/type/action/conditional.d.mts +2 -3
  156. package/node_modules/typebox/build/type/action/conditional.mjs +2 -1
  157. package/node_modules/typebox/build/type/action/index.d.mts +7 -4
  158. package/node_modules/typebox/build/type/action/index.mjs +7 -4
  159. package/node_modules/typebox/build/type/action/mapped.d.mts +2 -3
  160. package/node_modules/typebox/build/type/action/mapped.mjs +2 -1
  161. package/node_modules/typebox/build/type/action/module.d.mts +8 -7
  162. package/node_modules/typebox/build/type/action/module.mjs +7 -6
  163. package/node_modules/typebox/build/type/action/readonly_object.d.mts +0 -5
  164. package/node_modules/typebox/build/type/action/readonly_object.mjs +0 -5
  165. package/node_modules/typebox/build/type/action/with.d.mts +11 -0
  166. package/node_modules/typebox/build/type/action/with.mjs +11 -0
  167. package/node_modules/typebox/build/type/engine/call/distribute_arguments.mjs +1 -1
  168. package/node_modules/typebox/build/type/engine/call/instantiate.d.mts +1 -3
  169. package/node_modules/typebox/build/type/engine/call/instantiate.mjs +3 -2
  170. package/node_modules/typebox/build/type/engine/call/resolve_arguments.mjs +2 -2
  171. package/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.d.mts +3 -4
  172. package/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.mjs +2 -1
  173. package/node_modules/typebox/build/type/engine/cyclic/candidates.d.mts +2 -3
  174. package/node_modules/typebox/build/type/engine/cyclic/candidates.mjs +3 -6
  175. package/node_modules/typebox/build/type/engine/cyclic/check.d.mts +6 -9
  176. package/node_modules/typebox/build/type/engine/cyclic/check.mjs +10 -16
  177. package/node_modules/typebox/build/type/engine/cyclic/dependencies.d.mts +1 -4
  178. package/node_modules/typebox/build/type/engine/cyclic/dependencies.mjs +9 -15
  179. package/node_modules/typebox/build/type/engine/cyclic/extends.d.mts +1 -4
  180. package/node_modules/typebox/build/type/engine/cyclic/extends.mjs +8 -14
  181. package/node_modules/typebox/build/type/engine/cyclic/instantiate.d.mts +2 -5
  182. package/node_modules/typebox/build/type/engine/cyclic/instantiate.mjs +3 -2
  183. package/node_modules/typebox/build/type/engine/enum/index.d.mts +0 -1
  184. package/node_modules/typebox/build/type/engine/enum/index.mjs +0 -1
  185. package/node_modules/typebox/build/type/engine/evaluate/broaden.d.mts +1 -2
  186. package/node_modules/typebox/build/type/engine/evaluate/broaden.mjs +2 -6
  187. package/node_modules/typebox/build/type/engine/evaluate/composite.d.mts +10 -6
  188. package/node_modules/typebox/build/type/engine/evaluate/composite.mjs +10 -6
  189. package/node_modules/typebox/build/type/engine/evaluate/distribute.d.mts +2 -1
  190. package/node_modules/typebox/build/type/engine/evaluate/distribute.mjs +3 -3
  191. package/node_modules/typebox/build/type/engine/evaluate/evaluate.d.mts +17 -5
  192. package/node_modules/typebox/build/type/engine/evaluate/evaluate.mjs +34 -8
  193. package/node_modules/typebox/build/type/engine/exclude/operation.d.mts +5 -6
  194. package/node_modules/typebox/build/type/engine/exclude/operation.mjs +11 -12
  195. package/node_modules/typebox/build/type/engine/extract/operation.d.mts +5 -6
  196. package/node_modules/typebox/build/type/engine/extract/operation.mjs +11 -12
  197. package/node_modules/typebox/build/type/engine/immutable/instantiate_add.d.mts +10 -0
  198. package/node_modules/typebox/build/type/engine/immutable/instantiate_add.mjs +14 -0
  199. package/node_modules/typebox/build/type/engine/immutable/instantiate_remove.d.mts +10 -0
  200. package/node_modules/typebox/build/type/engine/immutable/instantiate_remove.mjs +14 -0
  201. package/node_modules/typebox/build/type/engine/index.d.mts +2 -2
  202. package/node_modules/typebox/build/type/engine/index.mjs +2 -2
  203. package/node_modules/typebox/build/type/engine/indexable/from_dependent.d.mts +5 -0
  204. package/node_modules/typebox/build/type/engine/indexable/from_dependent.mjs +8 -0
  205. package/node_modules/typebox/build/type/engine/indexable/from_enum.d.mts +3 -3
  206. package/node_modules/typebox/build/type/engine/indexable/from_enum.mjs +4 -4
  207. package/node_modules/typebox/build/type/engine/indexable/from_template_literal.d.mts +2 -2
  208. package/node_modules/typebox/build/type/engine/indexable/from_template_literal.mjs +3 -3
  209. package/node_modules/typebox/build/type/engine/indexable/from_type.d.mts +3 -1
  210. package/node_modules/typebox/build/type/engine/indexable/from_type.mjs +9 -6
  211. package/node_modules/typebox/build/type/engine/indexed/instantiate.d.mts +2 -1
  212. package/node_modules/typebox/build/type/engine/indexed/instantiate.mjs +5 -2
  213. package/node_modules/typebox/build/type/engine/instantiate.d.mts +44 -31
  214. package/node_modules/typebox/build/type/engine/instantiate.mjs +82 -83
  215. package/node_modules/typebox/build/type/engine/interface/instantiate.d.mts +3 -6
  216. package/node_modules/typebox/build/type/engine/intrinsics/from_template_literal.d.mts +2 -2
  217. package/node_modules/typebox/build/type/engine/intrinsics/from_template_literal.mjs +3 -3
  218. package/node_modules/typebox/build/type/engine/keyof/instantiate.d.mts +2 -1
  219. package/node_modules/typebox/build/type/engine/keyof/instantiate.mjs +5 -1
  220. package/node_modules/typebox/build/type/engine/mapped/mapped_operation.d.mts +4 -4
  221. package/node_modules/typebox/build/type/engine/mapped/mapped_operation.mjs +3 -3
  222. package/node_modules/typebox/build/type/engine/mapped/mapped_variants.d.mts +5 -4
  223. package/node_modules/typebox/build/type/engine/mapped/mapped_variants.mjs +10 -5
  224. package/node_modules/typebox/build/type/engine/module/instantiate.d.mts +7 -9
  225. package/node_modules/typebox/build/type/engine/module/instantiate.mjs +17 -15
  226. package/node_modules/typebox/build/type/engine/object/from_dependent.d.mts +5 -0
  227. package/node_modules/typebox/build/type/engine/object/from_dependent.mjs +8 -0
  228. package/node_modules/typebox/build/type/engine/object/from_type.d.mts +3 -1
  229. package/node_modules/typebox/build/type/engine/object/from_type.mjs +8 -5
  230. package/node_modules/typebox/build/type/engine/object/from_union.mjs +2 -2
  231. package/node_modules/typebox/build/type/engine/optional/instantiate_add.d.mts +10 -0
  232. package/node_modules/typebox/build/type/engine/optional/instantiate_add.mjs +14 -0
  233. package/node_modules/typebox/build/type/engine/optional/instantiate_remove.d.mts +10 -0
  234. package/node_modules/typebox/build/type/engine/optional/instantiate_remove.mjs +14 -0
  235. package/node_modules/typebox/build/type/engine/parameters/instantiate.d.mts +3 -4
  236. package/node_modules/typebox/build/type/engine/parameters/instantiate.mjs +2 -1
  237. package/node_modules/typebox/build/type/engine/partial/from_dependent.d.mts +5 -0
  238. package/node_modules/typebox/build/type/engine/partial/from_dependent.mjs +8 -0
  239. package/node_modules/typebox/build/type/engine/partial/from_intersect.d.mts +1 -1
  240. package/node_modules/typebox/build/type/engine/partial/from_intersect.mjs +3 -2
  241. package/node_modules/typebox/build/type/engine/partial/from_object.d.mts +2 -2
  242. package/node_modules/typebox/build/type/engine/partial/from_object.mjs +2 -2
  243. package/node_modules/typebox/build/type/engine/partial/from_type.d.mts +3 -1
  244. package/node_modules/typebox/build/type/engine/partial/from_type.mjs +7 -4
  245. package/node_modules/typebox/build/type/engine/priority/index.d.mts +1 -0
  246. package/node_modules/typebox/build/type/engine/priority/index.mjs +1 -0
  247. package/node_modules/typebox/build/type/engine/priority/priority.d.mts +20 -0
  248. package/node_modules/typebox/build/type/engine/priority/priority.mjs +28 -0
  249. package/node_modules/typebox/build/type/engine/readonly/instantiate_add.d.mts +10 -0
  250. package/node_modules/typebox/build/type/engine/readonly/instantiate_add.mjs +14 -0
  251. package/node_modules/typebox/build/type/engine/readonly/instantiate_remove.d.mts +10 -0
  252. package/node_modules/typebox/build/type/engine/readonly/instantiate_remove.mjs +14 -0
  253. package/node_modules/typebox/build/type/engine/readonly_object/from_array.d.mts +2 -2
  254. package/node_modules/typebox/build/type/engine/readonly_object/from_array.mjs +2 -2
  255. package/node_modules/typebox/build/type/engine/readonly_object/from_dependent.d.mts +5 -0
  256. package/node_modules/typebox/build/type/engine/readonly_object/from_dependent.mjs +8 -0
  257. package/node_modules/typebox/build/type/engine/readonly_object/from_intersect.d.mts +1 -1
  258. package/node_modules/typebox/build/type/engine/readonly_object/from_intersect.mjs +3 -2
  259. package/node_modules/typebox/build/type/engine/readonly_object/from_object.d.mts +2 -2
  260. package/node_modules/typebox/build/type/engine/readonly_object/from_object.mjs +2 -2
  261. package/node_modules/typebox/build/type/engine/readonly_object/from_tuple.d.mts +2 -2
  262. package/node_modules/typebox/build/type/engine/readonly_object/from_tuple.mjs +2 -2
  263. package/node_modules/typebox/build/type/engine/readonly_object/from_type.d.mts +3 -1
  264. package/node_modules/typebox/build/type/engine/readonly_object/from_type.mjs +8 -5
  265. package/node_modules/typebox/build/type/engine/record/from_key_enum.d.mts +2 -2
  266. package/node_modules/typebox/build/type/engine/record/from_key_enum.mjs +2 -2
  267. package/node_modules/typebox/build/type/engine/record/from_key_template_literal.d.mts +2 -2
  268. package/node_modules/typebox/build/type/engine/record/from_key_template_literal.mjs +2 -2
  269. package/node_modules/typebox/build/type/engine/ref/instantiate.d.mts +3 -3
  270. package/node_modules/typebox/build/type/engine/ref/instantiate.mjs +6 -6
  271. package/node_modules/typebox/build/type/engine/required/from_dependent.d.mts +5 -0
  272. package/node_modules/typebox/build/type/engine/required/from_dependent.mjs +8 -0
  273. package/node_modules/typebox/build/type/engine/required/from_intersect.d.mts +1 -1
  274. package/node_modules/typebox/build/type/engine/required/from_intersect.mjs +3 -2
  275. package/node_modules/typebox/build/type/engine/required/from_object.d.mts +2 -2
  276. package/node_modules/typebox/build/type/engine/required/from_object.mjs +2 -2
  277. package/node_modules/typebox/build/type/engine/required/from_type.d.mts +3 -1
  278. package/node_modules/typebox/build/type/engine/required/from_type.mjs +7 -4
  279. package/node_modules/typebox/build/type/engine/template_literal/decode.mjs +3 -3
  280. package/node_modules/typebox/build/type/engine/template_literal/encode.d.mts +2 -2
  281. package/node_modules/typebox/build/type/engine/template_literal/encode.mjs +6 -6
  282. package/node_modules/typebox/build/type/engine/template_literal/is_finite.mjs +1 -1
  283. package/node_modules/typebox/build/type/engine/template_literal/is_pattern.mjs +1 -0
  284. package/node_modules/typebox/build/type/engine/this/expand_this.d.mts +1 -4
  285. package/node_modules/typebox/build/type/engine/this/expand_this.mjs +7 -13
  286. package/node_modules/typebox/build/type/engine/with/instantiate.d.mts +8 -0
  287. package/node_modules/typebox/build/type/engine/{options → with}/instantiate.mjs +5 -5
  288. package/node_modules/typebox/build/type/extends/dependent.d.mts +6 -0
  289. package/node_modules/typebox/build/type/extends/dependent.mjs +6 -0
  290. package/node_modules/typebox/build/type/extends/enum.d.mts +4 -4
  291. package/node_modules/typebox/build/type/extends/enum.mjs +3 -2
  292. package/node_modules/typebox/build/type/extends/extends_left.d.mts +5 -7
  293. package/node_modules/typebox/build/type/extends/extends_left.mjs +24 -27
  294. package/node_modules/typebox/build/type/extends/extends_right.d.mts +7 -5
  295. package/node_modules/typebox/build/type/extends/extends_right.mjs +20 -15
  296. package/node_modules/typebox/build/type/extends/inference.mjs +1 -1
  297. package/node_modules/typebox/build/type/extends/object.d.mts +8 -1
  298. package/node_modules/typebox/build/type/extends/object.mjs +25 -3
  299. package/node_modules/typebox/build/type/extends/parameters.mjs +2 -2
  300. package/node_modules/typebox/build/type/extends/record.d.mts +13 -0
  301. package/node_modules/typebox/build/type/extends/record.mjs +23 -0
  302. package/node_modules/typebox/build/type/extends/template_literal.d.mts +3 -3
  303. package/node_modules/typebox/build/type/extends/template_literal.mjs +3 -3
  304. package/node_modules/typebox/build/type/extends/tuple.d.mts +3 -6
  305. package/node_modules/typebox/build/type/extends/tuple.mjs +6 -5
  306. package/node_modules/typebox/build/type/extends/union.mjs +2 -2
  307. package/node_modules/typebox/build/type/script/mapping.d.mts +84 -99
  308. package/node_modules/typebox/build/type/script/mapping.mjs +81 -85
  309. package/node_modules/typebox/build/type/script/parser.d.mts +40 -40
  310. package/node_modules/typebox/build/type/script/parser.mjs +22 -22
  311. package/node_modules/typebox/build/type/script/script.d.mts +3 -4
  312. package/node_modules/typebox/build/type/script/script.mjs +3 -2
  313. package/node_modules/typebox/build/type/script/token/internal/guard.d.mts +1 -1
  314. package/node_modules/typebox/build/type/script/token/internal/guard.mjs +1 -1
  315. package/node_modules/typebox/build/type/script/token/internal/take.mjs +1 -1
  316. package/node_modules/typebox/build/type/script/token/until.mjs +2 -2
  317. package/node_modules/typebox/build/type/types/_codec.d.mts +12 -12
  318. package/node_modules/typebox/build/type/types/_codec.mjs +0 -1
  319. package/node_modules/typebox/build/type/types/_immutable.d.mts +2 -9
  320. package/node_modules/typebox/build/type/types/_immutable.mjs +2 -10
  321. package/node_modules/typebox/build/type/types/_optional.d.mts +2 -9
  322. package/node_modules/typebox/build/type/types/_optional.mjs +2 -11
  323. package/node_modules/typebox/build/type/types/_readonly.d.mts +2 -9
  324. package/node_modules/typebox/build/type/types/_readonly.mjs +2 -10
  325. package/node_modules/typebox/build/type/types/_refine.d.mts +8 -10
  326. package/node_modules/typebox/build/type/types/_refine.mjs +1 -2
  327. package/node_modules/typebox/build/type/types/call.d.mts +3 -3
  328. package/node_modules/typebox/build/type/types/call.mjs +3 -2
  329. package/node_modules/typebox/build/type/types/deferred.d.mts +1 -0
  330. package/node_modules/typebox/build/type/types/deferred.mjs +1 -1
  331. package/node_modules/typebox/build/type/types/dependent.d.mts +17 -0
  332. package/node_modules/typebox/build/type/types/dependent.mjs +24 -0
  333. package/node_modules/typebox/build/type/types/enum.d.mts +3 -1
  334. package/node_modules/typebox/build/type/types/enum.mjs +5 -0
  335. package/node_modules/typebox/build/type/types/index.d.mts +1 -4
  336. package/node_modules/typebox/build/type/types/index.mjs +1 -4
  337. package/node_modules/typebox/build/type/types/number.d.mts +1 -1
  338. package/node_modules/typebox/build/type/types/number.mjs +1 -1
  339. package/node_modules/typebox/build/type/types/record.d.mts +13 -7
  340. package/node_modules/typebox/build/type/types/record.mjs +15 -9
  341. package/node_modules/typebox/build/type/types/static.d.mts +2 -5
  342. package/node_modules/typebox/build/typebox.d.mts +4 -8
  343. package/node_modules/typebox/build/typebox.mjs +4 -8
  344. package/node_modules/typebox/build/value/clean/clean.mjs +4 -2
  345. package/node_modules/typebox/build/value/clean/from_intersect.mjs +2 -2
  346. package/node_modules/typebox/build/value/clean/from_type.mjs +8 -10
  347. package/node_modules/typebox/build/value/clean/from_union.d.mts +1 -1
  348. package/node_modules/typebox/build/value/clean/from_union.mjs +1 -2
  349. package/node_modules/typebox/build/value/clone/clone.mjs +2 -73
  350. package/node_modules/typebox/build/value/codec/decode.mjs +4 -2
  351. package/node_modules/typebox/build/value/codec/encode.mjs +4 -2
  352. package/node_modules/typebox/build/value/codec/from_array.mjs +1 -4
  353. package/node_modules/typebox/build/value/codec/from_object.mjs +1 -4
  354. package/node_modules/typebox/build/value/codec/from_record.mjs +2 -7
  355. package/node_modules/typebox/build/value/codec/from_tuple.mjs +1 -4
  356. package/node_modules/typebox/build/value/codec/from_union.mjs +2 -3
  357. package/node_modules/typebox/build/value/convert/from_enum.mjs +3 -4
  358. package/node_modules/typebox/build/value/convert/from_template_literal.d.mts +1 -1
  359. package/node_modules/typebox/build/value/convert/from_template_literal.mjs +2 -3
  360. package/node_modules/typebox/build/value/convert/from_type.mjs +19 -21
  361. package/node_modules/typebox/build/value/create/from_enum.mjs +2 -2
  362. package/node_modules/typebox/build/value/create/from_type.mjs +23 -31
  363. package/node_modules/typebox/build/value/default/from_object.mjs +1 -1
  364. package/node_modules/typebox/build/value/default/from_type.mjs +8 -10
  365. package/node_modules/typebox/build/value/index.d.mts +0 -1
  366. package/node_modules/typebox/build/value/index.mjs +0 -1
  367. package/node_modules/typebox/build/value/repair/from_enum.mjs +2 -3
  368. package/node_modules/typebox/build/value/repair/from_type.mjs +24 -22
  369. package/node_modules/typebox/build/value/shared/union_priority_sort.d.mts +6 -2
  370. package/node_modules/typebox/build/value/shared/union_priority_sort.mjs +62 -26
  371. package/node_modules/typebox/build/value/value.d.mts +0 -1
  372. package/node_modules/typebox/build/value/value.mjs +0 -1
  373. package/node_modules/typebox/package.json +25 -25
  374. package/node_modules/typebox/readme.md +97 -80
  375. package/node_modules/undici-types/agent.d.ts +0 -2
  376. package/node_modules/undici-types/client.d.ts +25 -19
  377. package/node_modules/undici-types/dispatcher.d.ts +7 -33
  378. package/node_modules/undici-types/dispatcher1-wrapper.d.ts +7 -0
  379. package/node_modules/undici-types/fetch.d.ts +24 -4
  380. package/node_modules/undici-types/h2c-client.d.ts +6 -6
  381. package/node_modules/undici-types/handlers.d.ts +1 -2
  382. package/node_modules/undici-types/header.d.ts +5 -0
  383. package/node_modules/undici-types/index.d.ts +3 -1
  384. package/node_modules/undici-types/interceptors.d.ts +1 -1
  385. package/node_modules/undici-types/package.json +1 -1
  386. package/node_modules/undici-types/pool.d.ts +0 -2
  387. package/node_modules/undici-types/proxy-agent.d.ts +2 -2
  388. package/node_modules/undici-types/round-robin-pool.d.ts +0 -2
  389. package/node_modules/undici-types/snapshot-agent.d.ts +4 -0
  390. package/node_modules/undici-types/socks5-proxy-agent.d.ts +2 -2
  391. package/node_modules/undici-types/webidl.d.ts +0 -1
  392. package/npm-shrinkwrap.json +23 -23
  393. package/package.json +6 -6
  394. package/skills/feishu-drive/SKILL.md +17 -3
  395. package/dist/send-result-DSsIa4-p.js +0 -140
  396. package/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
  397. package/node_modules/typebox/build/schema/engine/_guard.d.mts +0 -6
  398. package/node_modules/typebox/build/schema/engine/_guard.mjs +0 -26
  399. package/node_modules/typebox/build/schema/types/_guard.d.mts +0 -10
  400. package/node_modules/typebox/build/schema/types/_guard.mjs +0 -16
  401. package/node_modules/typebox/build/type/action/_optional.d.mts +0 -19
  402. package/node_modules/typebox/build/type/action/_optional.mjs +0 -40
  403. package/node_modules/typebox/build/type/action/_readonly.d.mts +0 -19
  404. package/node_modules/typebox/build/type/action/_readonly.mjs +0 -40
  405. package/node_modules/typebox/build/type/action/awaited.d.mts +0 -15
  406. package/node_modules/typebox/build/type/action/awaited.mjs +0 -15
  407. package/node_modules/typebox/build/type/action/options.d.mts +0 -11
  408. package/node_modules/typebox/build/type/action/options.mjs +0 -11
  409. package/node_modules/typebox/build/type/engine/awaited/instantiate.d.mts +0 -11
  410. package/node_modules/typebox/build/type/engine/awaited/instantiate.mjs +0 -20
  411. package/node_modules/typebox/build/type/engine/enum/enum_to_union.d.mts +0 -14
  412. package/node_modules/typebox/build/type/engine/enum/enum_to_union.mjs +0 -24
  413. package/node_modules/typebox/build/type/engine/options/index.d.mts +0 -1
  414. package/node_modules/typebox/build/type/engine/options/index.mjs +0 -1
  415. package/node_modules/typebox/build/type/engine/options/instantiate.d.mts +0 -8
  416. package/node_modules/typebox/build/type/extends/async_iterator.d.mts +0 -7
  417. package/node_modules/typebox/build/type/extends/async_iterator.mjs +0 -9
  418. package/node_modules/typebox/build/type/extends/iterator.d.mts +0 -7
  419. package/node_modules/typebox/build/type/extends/iterator.mjs +0 -9
  420. package/node_modules/typebox/build/type/extends/promise.d.mts +0 -7
  421. package/node_modules/typebox/build/type/extends/promise.mjs +0 -9
  422. package/node_modules/typebox/build/type/types/async_iterator.d.mts +0 -20
  423. package/node_modules/typebox/build/type/types/async_iterator.mjs +0 -28
  424. package/node_modules/typebox/build/type/types/base.d.mts +0 -50
  425. package/node_modules/typebox/build/type/types/base.mjs +0 -84
  426. package/node_modules/typebox/build/type/types/iterator.d.mts +0 -20
  427. package/node_modules/typebox/build/type/types/iterator.mjs +0 -28
  428. package/node_modules/typebox/build/type/types/promise.d.mts +0 -21
  429. package/node_modules/typebox/build/type/types/promise.mjs +0 -29
  430. package/node_modules/typebox/build/value/clean/from_base.d.mts +0 -2
  431. package/node_modules/typebox/build/value/clean/from_base.mjs +0 -4
  432. package/node_modules/typebox/build/value/convert/from_base.d.mts +0 -2
  433. package/node_modules/typebox/build/value/convert/from_base.mjs +0 -4
  434. package/node_modules/typebox/build/value/create/from_async_iterator.d.mts +0 -2
  435. package/node_modules/typebox/build/value/create/from_async_iterator.mjs +0 -5
  436. package/node_modules/typebox/build/value/create/from_base.d.mts +0 -2
  437. package/node_modules/typebox/build/value/create/from_base.mjs +0 -4
  438. package/node_modules/typebox/build/value/create/from_iterator.d.mts +0 -2
  439. package/node_modules/typebox/build/value/create/from_iterator.mjs +0 -5
  440. package/node_modules/typebox/build/value/create/from_promise.d.mts +0 -2
  441. package/node_modules/typebox/build/value/create/from_promise.mjs +0 -5
  442. package/node_modules/typebox/build/value/default/from_base.d.mts +0 -2
  443. package/node_modules/typebox/build/value/default/from_base.mjs +0 -5
  444. package/node_modules/typebox/build/value/mutate/error.d.mts +0 -3
  445. package/node_modules/typebox/build/value/mutate/error.mjs +0 -6
  446. package/node_modules/typebox/build/value/mutate/from_array.d.mts +0 -2
  447. package/node_modules/typebox/build/value/mutate/from_array.mjs +0 -16
  448. package/node_modules/typebox/build/value/mutate/from_object.d.mts +0 -2
  449. package/node_modules/typebox/build/value/mutate/from_object.mjs +0 -40
  450. package/node_modules/typebox/build/value/mutate/from_unknown.d.mts +0 -2
  451. package/node_modules/typebox/build/value/mutate/from_unknown.mjs +0 -7
  452. package/node_modules/typebox/build/value/mutate/from_value.d.mts +0 -2
  453. package/node_modules/typebox/build/value/mutate/from_value.mjs +0 -12
  454. package/node_modules/typebox/build/value/mutate/index.d.mts +0 -1
  455. package/node_modules/typebox/build/value/mutate/index.mjs +0 -1
  456. package/node_modules/typebox/build/value/mutate/mutate.d.mts +0 -11
  457. package/node_modules/typebox/build/value/mutate/mutate.mjs +0 -41
  458. package/node_modules/typebox/build/value/repair/from_base.d.mts +0 -2
  459. package/node_modules/typebox/build/value/repair/from_base.mjs +0 -8
  460. /package/node_modules/typebox/build/type/engine/{awaited → with}/index.d.mts +0 -0
  461. /package/node_modules/typebox/build/type/engine/{awaited → with}/index.mjs +0 -0
@@ -35,7 +35,5 @@ declare namespace RoundRobinPool {
35
35
  connections?: number | null;
36
36
  /** The amount of time before a client is removed from the pool and closed. `null` if no time limit. Default `null` */
37
37
  clientTtl?: number | null;
38
-
39
- interceptors?: { RoundRobinPool?: readonly Dispatcher.DispatchInterceptor[] } & Client.Options['interceptors']
40
38
  }
41
39
  }
@@ -30,7 +30,9 @@ declare namespace SnapshotRecorder {
30
30
  ignoreHeaders?: string[]
31
31
  excludeHeaders?: string[]
32
32
  matchBody?: boolean
33
+ normalizeBody?: (body: string | Buffer | null | undefined) => string
33
34
  matchQuery?: boolean
35
+ normalizeQuery?: (query: URLSearchParams) => string
34
36
  caseSensitive?: boolean
35
37
  shouldRecord?: (requestOpts: any) => boolean
36
38
  shouldPlayback?: (requestOpts: any) => boolean
@@ -98,7 +100,9 @@ declare namespace SnapshotAgent {
98
100
  ignoreHeaders?: string[]
99
101
  excludeHeaders?: string[]
100
102
  matchBody?: boolean
103
+ normalizeBody?: (body: string | Buffer | null | undefined) => string
101
104
  matchQuery?: boolean
105
+ normalizeQuery?: (query: URLSearchParams) => string
102
106
  caseSensitive?: boolean
103
107
  shouldRecord?: (requestOpts: any) => boolean
104
108
  shouldPlayback?: (requestOpts: any) => boolean
@@ -1,6 +1,6 @@
1
1
  import Dispatcher from './dispatcher'
2
2
  import buildConnector from './connector'
3
- import { IncomingHttpHeaders } from './header'
3
+ import { OutgoingHttpHeaders } from './header'
4
4
  import Pool from './pool'
5
5
 
6
6
  export default Socks5ProxyAgent
@@ -12,7 +12,7 @@ declare class Socks5ProxyAgent extends Dispatcher {
12
12
  declare namespace Socks5ProxyAgent {
13
13
  export interface Options extends Pool.Options {
14
14
  /** Additional headers to send with the proxy connection */
15
- headers?: IncomingHttpHeaders;
15
+ headers?: OutgoingHttpHeaders;
16
16
  /** SOCKS5 proxy username for authentication */
17
17
  username?: string;
18
18
  /** SOCKS5 proxy password for authentication */
@@ -87,7 +87,6 @@ interface WebidlUtil {
87
87
 
88
88
  /**
89
89
  * Mark a value as uncloneable for Node.js.
90
- * This is only effective in some newer Node.js versions.
91
90
  */
92
91
  markAsUncloneable (V: any): void
93
92
 
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "@openclaw/feishu",
3
- "version": "2026.7.1-beta.1",
3
+ "version": "2026.7.1-beta.4",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@openclaw/feishu",
9
- "version": "2026.7.1-beta.1",
9
+ "version": "2026.7.1-beta.4",
10
10
  "dependencies": {
11
- "@larksuiteoapi/node-sdk": "1.66.0",
12
- "typebox": "1.1.39",
11
+ "@larksuiteoapi/node-sdk": "1.68.0",
12
+ "typebox": "1.3.3",
13
13
  "zod": "4.4.3"
14
14
  },
15
15
  "peerDependencies": {
16
- "openclaw": ">=2026.7.1-beta.1"
16
+ "openclaw": ">=2026.7.1-beta.4"
17
17
  },
18
18
  "peerDependenciesMeta": {
19
19
  "openclaw": {
@@ -22,9 +22,9 @@
22
22
  }
23
23
  },
24
24
  "node_modules/@larksuiteoapi/node-sdk": {
25
- "version": "1.66.0",
26
- "resolved": "https://registry.npmjs.org/@larksuiteoapi/node-sdk/-/node-sdk-1.66.0.tgz",
27
- "integrity": "sha512-ueKbbdvmVGVie3KvKbvHZqvDC/gg3M0rRDeyQanQWK+i2bQgiiTpIfpqVWvxuTgprV31yqV7HPMjN6KegWSCfA==",
25
+ "version": "1.68.0",
26
+ "resolved": "https://registry.npmjs.org/@larksuiteoapi/node-sdk/-/node-sdk-1.68.0.tgz",
27
+ "integrity": "sha512-ip14+pWAv2La3bss4oDDtee2P5xBLDXuvmzhTvkxQMcPA5jCffFsler1TvNt4MyW6pexscj72AEWektyZwU9Yw==",
28
28
  "license": "MIT",
29
29
  "dependencies": {
30
30
  "axios": "~1.13.3",
@@ -100,12 +100,12 @@
100
100
  "license": "BSD-3-Clause"
101
101
  },
102
102
  "node_modules/@types/node": {
103
- "version": "25.9.1",
104
- "resolved": "https://registry.npmjs.org/@types/node/-/node-25.9.1.tgz",
105
- "integrity": "sha512-xfrlY7UD5rMJk3ZVJP8BNzS28J36YJg+xp+LPXV1TdWxr8uMH5A860QNxYDGQe/ylDSgjxE52Q9VnO7p75tJxg==",
103
+ "version": "26.1.0",
104
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-26.1.0.tgz",
105
+ "integrity": "sha512-O0A1G3xPGy4w7AgQdAQYUlQ+BKk2Oovw8eRpofyp5KdBZULnbe+WqaOVNrm705SHphCiG4XHsACrSmPu1f+Kgw==",
106
106
  "license": "MIT",
107
107
  "dependencies": {
108
- "undici-types": ">=7.24.0 <7.24.7"
108
+ "undici-types": "~8.3.0"
109
109
  }
110
110
  },
111
111
  "node_modules/asynckit": {
@@ -503,14 +503,14 @@
503
503
  "license": "MIT"
504
504
  },
505
505
  "node_modules/side-channel": {
506
- "version": "1.1.0",
507
- "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz",
508
- "integrity": "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==",
506
+ "version": "1.1.1",
507
+ "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.1.tgz",
508
+ "integrity": "sha512-6x6dK6zJdpTzF4sQeNYxwtvBzf6Eg4GtlesS94HOvTudUeyK2WXAaIfmDgsyslYrRBeFIlsi54AYsFGUuhmvrQ==",
509
509
  "license": "MIT",
510
510
  "dependencies": {
511
511
  "es-errors": "^1.3.0",
512
- "object-inspect": "^1.13.3",
513
- "side-channel-list": "^1.0.0",
512
+ "object-inspect": "^1.13.4",
513
+ "side-channel-list": "^1.0.1",
514
514
  "side-channel-map": "^1.0.1",
515
515
  "side-channel-weakmap": "^1.0.2"
516
516
  },
@@ -575,15 +575,15 @@
575
575
  }
576
576
  },
577
577
  "node_modules/typebox": {
578
- "version": "1.1.39",
579
- "resolved": "https://registry.npmjs.org/typebox/-/typebox-1.1.39.tgz",
580
- "integrity": "sha512-vj0afVtOfLQvv0GR0VxVagYxsXN64btL7Z9XoaG0ZggH3mruMMkOO6hXdgMsjCY3shZgEvooAWVeznQVs5c43w==",
578
+ "version": "1.3.3",
579
+ "resolved": "https://registry.npmjs.org/typebox/-/typebox-1.3.3.tgz",
580
+ "integrity": "sha512-URXGUE31PJDQC+PtRMJeLdF4kmmOdFoVPikPCtV2oOIhUpNpppEdIz7W8bH8cFYPYHdDpaRvqwdegMTmHliudg==",
581
581
  "license": "MIT"
582
582
  },
583
583
  "node_modules/undici-types": {
584
- "version": "7.24.6",
585
- "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.24.6.tgz",
586
- "integrity": "sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg==",
584
+ "version": "8.3.0",
585
+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-8.3.0.tgz",
586
+ "integrity": "sha512-j375ScV60dom+YkPFIfTLcOiPxkN/buHz5GobjLhixFuANaNs3C9l4GmrWqejgXWJ7BbJcFYpTEUkS1Ge8bpZQ==",
587
587
  "license": "MIT"
588
588
  },
589
589
  "node_modules/ws": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/feishu",
3
- "version": "2026.7.1-beta.1",
3
+ "version": "2026.7.1-beta.4",
4
4
  "description": "OpenClaw Feishu/Lark channel plugin for chats and workplace tools (community maintained by @m1heng).",
5
5
  "repository": {
6
6
  "type": "git",
@@ -8,12 +8,12 @@
8
8
  },
9
9
  "type": "module",
10
10
  "dependencies": {
11
- "@larksuiteoapi/node-sdk": "1.66.0",
12
- "typebox": "1.1.39",
11
+ "@larksuiteoapi/node-sdk": "1.68.0",
12
+ "typebox": "1.3.3",
13
13
  "zod": "4.4.3"
14
14
  },
15
15
  "peerDependencies": {
16
- "openclaw": ">=2026.7.1-beta.1"
16
+ "openclaw": ">=2026.7.1-beta.4"
17
17
  },
18
18
  "peerDependenciesMeta": {
19
19
  "openclaw": {
@@ -47,10 +47,10 @@
47
47
  "minHostVersion": ">=2026.5.29"
48
48
  },
49
49
  "compat": {
50
- "pluginApi": ">=2026.7.1-beta.1"
50
+ "pluginApi": ">=2026.7.1-beta.4"
51
51
  },
52
52
  "build": {
53
- "openclawVersion": "2026.7.1-beta.1"
53
+ "openclawVersion": "2026.7.1-beta.4"
54
54
  },
55
55
  "release": {
56
56
  "publishToClawHub": true,
@@ -20,13 +20,27 @@ From URL `https://xxx.feishu.cn/drive/folder/ABC123` → `folder_token` = `ABC12
20
20
  { "action": "list" }
21
21
  ```
22
22
 
23
- Root directory (no folder_token).
23
+ Requests the account root (no `folder_token`). Bot credentials normally have no root folder, so
24
+ use a folder that has been shared with the bot instead.
24
25
 
25
26
  ```json
26
- { "action": "list", "folder_token": "fldcnXXX" }
27
+ { "action": "list", "folder_token": "fldcnXXX", "page_size": 100 }
27
28
  ```
28
29
 
29
- Returns: files with token, name, type, url, timestamps.
30
+ Returns one page of files with token, name, type, url, timestamps, and `next_page_token` when
31
+ another page is available. To continue, pass the returned token with the same folder token:
32
+
33
+ ```json
34
+ {
35
+ "action": "list",
36
+ "folder_token": "fldcnXXX",
37
+ "page_size": 100,
38
+ "page_token": "next-page-token"
39
+ }
40
+ ```
41
+
42
+ `page_size` must be between 1 and 200. Pagination requires a concrete shared `folder_token`;
43
+ root-list cursors are not forwarded.
30
44
 
31
45
  ### Get File Info
32
46
 
@@ -1,140 +0,0 @@
1
- import { d as isRecord } from "./accounts-Cfzht2Hc.js";
2
- import { createMessageReceiptFromOutboundResults } from "openclaw/plugin-sdk/channel-outbound";
3
- //#region extensions/feishu/src/card-interaction.ts
4
- const FEISHU_CARD_INTERACTION_VERSION = "ocf1";
5
- function isInteractionKind(value) {
6
- return value === "button" || value === "quick" || value === "meta";
7
- }
8
- function isMetadataValue(value) {
9
- return value === null || value === void 0 || typeof value === "string" || typeof value === "number" || typeof value === "boolean";
10
- }
11
- function createFeishuCardInteractionEnvelope(envelope) {
12
- return {
13
- oc: FEISHU_CARD_INTERACTION_VERSION,
14
- ...envelope
15
- };
16
- }
17
- function buildFeishuCardActionTextFallback(event) {
18
- const actionValue = event.action.value;
19
- if (isRecord(actionValue)) {
20
- if (typeof actionValue.text === "string") return actionValue.text;
21
- if (typeof actionValue.command === "string") return actionValue.command;
22
- return JSON.stringify(actionValue);
23
- }
24
- return String(actionValue);
25
- }
26
- function decodeFeishuCardAction(params) {
27
- const { event, now = Date.now() } = params;
28
- const actionValue = event.action.value;
29
- if (!isRecord(actionValue) || actionValue.oc !== "ocf1") return {
30
- kind: "legacy",
31
- text: buildFeishuCardActionTextFallback(event)
32
- };
33
- if (!isInteractionKind(actionValue.k) || typeof actionValue.a !== "string" || !actionValue.a) return {
34
- kind: "invalid",
35
- reason: "malformed"
36
- };
37
- if (actionValue.q !== void 0 && typeof actionValue.q !== "string") return {
38
- kind: "invalid",
39
- reason: "malformed"
40
- };
41
- if (actionValue.m !== void 0) {
42
- if (!isRecord(actionValue.m)) return {
43
- kind: "invalid",
44
- reason: "malformed"
45
- };
46
- for (const value of Object.values(actionValue.m)) if (!isMetadataValue(value)) return {
47
- kind: "invalid",
48
- reason: "malformed"
49
- };
50
- }
51
- if (actionValue.c !== void 0) {
52
- if (!isRecord(actionValue.c)) return {
53
- kind: "invalid",
54
- reason: "malformed"
55
- };
56
- if (actionValue.c.u !== void 0 && typeof actionValue.c.u !== "string") return {
57
- kind: "invalid",
58
- reason: "malformed"
59
- };
60
- if (actionValue.c.h !== void 0 && typeof actionValue.c.h !== "string") return {
61
- kind: "invalid",
62
- reason: "malformed"
63
- };
64
- if (actionValue.c.s !== void 0 && typeof actionValue.c.s !== "string") return {
65
- kind: "invalid",
66
- reason: "malformed"
67
- };
68
- if (actionValue.c.e !== void 0 && !Number.isFinite(actionValue.c.e)) return {
69
- kind: "invalid",
70
- reason: "malformed"
71
- };
72
- if (actionValue.c.t !== void 0 && actionValue.c.t !== "p2p" && actionValue.c.t !== "group") return {
73
- kind: "invalid",
74
- reason: "malformed"
75
- };
76
- if (typeof actionValue.c.e === "number" && actionValue.c.e < now) return {
77
- kind: "invalid",
78
- reason: "stale"
79
- };
80
- const expectedUser = actionValue.c.u?.trim();
81
- if (expectedUser && expectedUser !== (event.operator.open_id ?? "").trim()) return {
82
- kind: "invalid",
83
- reason: "wrong_user"
84
- };
85
- const expectedChat = actionValue.c.h?.trim();
86
- if (expectedChat && expectedChat !== (event.context.chat_id ?? "").trim()) return {
87
- kind: "invalid",
88
- reason: "wrong_conversation"
89
- };
90
- }
91
- return {
92
- kind: "structured",
93
- envelope: actionValue
94
- };
95
- }
96
- //#endregion
97
- //#region extensions/feishu/src/send-result.ts
98
- function resolveFeishuReceiptKind(msgType) {
99
- switch (msgType) {
100
- case "audio": return "voice";
101
- case "image":
102
- case "media":
103
- case "file": return "media";
104
- case "interactive": return "card";
105
- case "post":
106
- case "text": return "text";
107
- default: return "unknown";
108
- }
109
- }
110
- function createFeishuSendReceipt(params) {
111
- const messageId = params.messageId?.trim();
112
- const chatId = params.chatId.trim();
113
- return createMessageReceiptFromOutboundResults({
114
- results: messageId ? [{
115
- channel: "feishu",
116
- messageId,
117
- chatId,
118
- conversationId: chatId
119
- }] : [],
120
- ...chatId ? { threadId: chatId } : {},
121
- kind: params.kind ?? "unknown"
122
- });
123
- }
124
- function assertFeishuMessageApiSuccess(response, errorPrefix) {
125
- if (response.code !== 0) throw new Error(`${errorPrefix}: ${response.msg || `code ${response.code}`}`);
126
- }
127
- function toFeishuSendResult(response, chatId, kind) {
128
- const messageId = response.data?.message_id ?? "unknown";
129
- return {
130
- messageId,
131
- chatId,
132
- receipt: createFeishuSendReceipt({
133
- messageId,
134
- chatId,
135
- kind
136
- })
137
- };
138
- }
139
- //#endregion
140
- export { FEISHU_CARD_INTERACTION_VERSION as a, decodeFeishuCardAction as c, toFeishuSendResult as i, createFeishuSendReceipt as n, buildFeishuCardActionTextFallback as o, resolveFeishuReceiptKind as r, createFeishuCardInteractionEnvelope as s, assertFeishuMessageApiSuccess as t };
@@ -1,21 +0,0 @@
1
- // Backwards-compatible iterator interfaces, augmented with iterator helper methods by lib.esnext.iterator in TypeScript 5.6.
2
- // The IterableIterator interface does not contain these methods, which creates assignability issues in places where IteratorObjects
3
- // are expected (eg. DOM-compatible APIs) if lib.esnext.iterator is loaded.
4
- // Also ensures that iterators returned by the Node API, which inherit from Iterator.prototype, correctly expose the iterator helper methods
5
- // if lib.esnext.iterator is loaded.
6
- // TODO: remove once this package no longer supports TS 5.5, and replace NodeJS.BuiltinIteratorReturn with BuiltinIteratorReturn.
7
-
8
- // Placeholders for TS <5.6
9
- interface IteratorObject<T, TReturn, TNext> {}
10
- interface AsyncIteratorObject<T, TReturn, TNext> {}
11
-
12
- declare namespace NodeJS {
13
- // Populate iterator methods for TS <5.6
14
- interface Iterator<T, TReturn, TNext> extends globalThis.Iterator<T, TReturn, TNext> {}
15
- interface AsyncIterator<T, TReturn, TNext> extends globalThis.AsyncIterator<T, TReturn, TNext> {}
16
-
17
- // Polyfill for TS 5.6's instrinsic BuiltinIteratorReturn type, required for DOM-compatible iterators
18
- type BuiltinIteratorReturn = ReturnType<any[][typeof Symbol.iterator]> extends
19
- globalThis.Iterator<any, infer TReturn> ? TReturn
20
- : any;
21
- }
@@ -1,6 +0,0 @@
1
- import * as Schema from '../types/index.mjs';
2
- import { Stack } from './_stack.mjs';
3
- import { BuildContext, CheckContext, ErrorContext } from './_context.mjs';
4
- export declare function BuildGuard(_stack: Stack, _context: BuildContext, schema: Schema.XGuard, value: string): string;
5
- export declare function CheckGuard(_stack: Stack, _context: CheckContext, schema: Schema.XGuard, value: unknown): boolean;
6
- export declare function ErrorGuard(_stack: Stack, context: ErrorContext, schemaPath: string, instancePath: string, schema: Schema.XGuard, value: unknown): boolean;
@@ -1,26 +0,0 @@
1
- // deno-fmt-ignore-file
2
- import * as Externals from './_externals.mjs';
3
- import { EmitGuard as E } from '../../guard/index.mjs';
4
- // ------------------------------------------------------------------
5
- // Build
6
- // ------------------------------------------------------------------
7
- export function BuildGuard(_stack, _context, schema, value) {
8
- return E.Call(E.Member(E.Member(Externals.CreateVariable(schema), '~guard'), 'check'), [value]);
9
- }
10
- // ------------------------------------------------------------------
11
- // Check
12
- // ------------------------------------------------------------------
13
- export function CheckGuard(_stack, _context, schema, value) {
14
- return schema['~guard'].check(value);
15
- }
16
- // ------------------------------------------------------------------
17
- // Error
18
- // ------------------------------------------------------------------
19
- export function ErrorGuard(_stack, context, schemaPath, instancePath, schema, value) {
20
- return schema['~guard'].check(value) || context.AddError({
21
- keyword: '~guard',
22
- schemaPath,
23
- instancePath,
24
- params: { errors: schema['~guard'].errors(value) },
25
- });
26
- }
@@ -1,10 +0,0 @@
1
- import type { XSchemaObject } from './schema.mjs';
2
- export interface XGuardInterface<Value extends unknown = unknown> {
3
- check(value: unknown): value is Value;
4
- errors(value: unknown): object[];
5
- }
6
- export interface XGuard<Value extends unknown = unknown> {
7
- '~guard': XGuardInterface<Value>;
8
- }
9
- export declare function IsGuardInterface(value: unknown): value is XGuardInterface;
10
- export declare function IsGuard(value: XSchemaObject): value is XGuard;
@@ -1,16 +0,0 @@
1
- // deno-fmt-ignore-file
2
- import { Guard } from '../../guard/index.mjs';
3
- // ------------------------------------------------------------------
4
- // Guard
5
- // ------------------------------------------------------------------
6
- export function IsGuardInterface(value) {
7
- return Guard.IsObject(value)
8
- && Guard.HasPropertyKey(value, 'check')
9
- && Guard.HasPropertyKey(value, 'errors')
10
- && Guard.IsFunction(value.check)
11
- && Guard.IsFunction(value.errors);
12
- }
13
- export function IsGuard(value) {
14
- return Guard.HasPropertyKey(value, '~guard')
15
- && IsGuardInterface(value['~guard']);
16
- }
@@ -1,19 +0,0 @@
1
- import { type TSchema } from '../types/schema.mjs';
2
- /** Represents a operation to apply Optional to a property */
3
- export interface TOptionalAddAction<Type extends TSchema = TSchema> extends TSchema {
4
- '~kind': 'OptionalAddAction';
5
- type: Type;
6
- }
7
- /** Creates an OptionalAddAction. */
8
- export declare function OptionalAddAction<Type extends TSchema>(type: Type): TOptionalAddAction<Type>;
9
- /** Returns true if this value is a OptionalAddAction. */
10
- export declare function IsOptionalAddAction(value: unknown): value is TOptionalAddAction;
11
- /** Represents a operation to remove Optional from a property */
12
- export interface TOptionalRemoveAction<Type extends TSchema = TSchema> extends TSchema {
13
- '~kind': 'OptionalRemoveAction';
14
- type: Type;
15
- }
16
- /** Creates a OptionalRemoveAction. */
17
- export declare function OptionalRemoveAction<Type extends TSchema>(type: Type): TOptionalRemoveAction<Type>;
18
- /** Returns true if this value is a OptionalRemoveAction. */
19
- export declare function IsOptionalRemoveAction(value: unknown): value is TOptionalRemoveAction;
@@ -1,40 +0,0 @@
1
- // deno-fmt-ignore-file
2
- import { Memory } from '../../system/memory/index.mjs';
3
- import { Guard } from '../../guard/index.mjs';
4
- import { IsSchema } from '../types/schema.mjs';
5
- // ------------------------------------------------------------------
6
- // Action
7
- // ------------------------------------------------------------------
8
- /** Creates an OptionalAddAction. */
9
- export function OptionalAddAction(type) {
10
- return Memory.Create({ ['~kind']: 'OptionalAddAction' }, { type }, {});
11
- }
12
- // ------------------------------------------------------------------
13
- // Guard
14
- // ------------------------------------------------------------------
15
- /** Returns true if this value is a OptionalAddAction. */
16
- export function IsOptionalAddAction(value) {
17
- return Guard.IsObject(value)
18
- && Guard.HasPropertyKey(value, '~kind')
19
- && Guard.HasPropertyKey(value, 'type')
20
- && Guard.IsEqual(value['~kind'], 'OptionalAddAction')
21
- && IsSchema(value.type);
22
- }
23
- // ------------------------------------------------------------------
24
- // Factory
25
- // ------------------------------------------------------------------
26
- /** Creates a OptionalRemoveAction. */
27
- export function OptionalRemoveAction(type) {
28
- return Memory.Create({ ['~kind']: 'OptionalRemoveAction' }, { type }, {});
29
- }
30
- // ------------------------------------------------------------------
31
- // Guard
32
- // ------------------------------------------------------------------
33
- /** Returns true if this value is a OptionalRemoveAction. */
34
- export function IsOptionalRemoveAction(value) {
35
- return Guard.IsObject(value)
36
- && Guard.HasPropertyKey(value, '~kind')
37
- && Guard.HasPropertyKey(value, 'type')
38
- && Guard.IsEqual(value['~kind'], 'OptionalRemoveAction')
39
- && IsSchema(value.type);
40
- }
@@ -1,19 +0,0 @@
1
- import { type TSchema } from '../types/schema.mjs';
2
- /** Represents an operation to apply Readonly to a property. */
3
- export interface TReadonlyAddAction<Type extends TSchema = TSchema> extends TSchema {
4
- '~kind': 'ReadonlyAddAction';
5
- type: Type;
6
- }
7
- /** Creates a ReadonlyAddAction. */
8
- export declare function ReadonlyAddAction<Type extends TSchema>(type: Type): TReadonlyAddAction<Type>;
9
- /** Returns true if this value is a ReadonlyAddAction. */
10
- export declare function IsReadonlyAddAction(value: unknown): value is TReadonlyAddAction;
11
- /** Represents an action to remove Readonly from a property. */
12
- export interface TReadonlyRemoveAction<Type extends TSchema = TSchema> extends TSchema {
13
- '~kind': 'ReadonlyRemoveAction';
14
- type: Type;
15
- }
16
- /** Creates a ReadonlyRemoveAction. */
17
- export declare function ReadonlyRemoveAction<Type extends TSchema>(type: Type): TReadonlyRemoveAction<Type>;
18
- /** Returns true if this value is a ReadonlyRemoveAction. */
19
- export declare function IsReadonlyRemoveAction(value: unknown): value is TReadonlyRemoveAction;
@@ -1,40 +0,0 @@
1
- // deno-fmt-ignore-file
2
- import { Memory } from '../../system/memory/index.mjs';
3
- import { Guard } from '../../guard/index.mjs';
4
- import { IsSchema } from '../types/schema.mjs';
5
- // ------------------------------------------------------------------
6
- // Action
7
- // ------------------------------------------------------------------
8
- /** Creates a ReadonlyAddAction. */
9
- export function ReadonlyAddAction(type) {
10
- return Memory.Create({ ['~kind']: 'ReadonlyAddAction' }, { type }, {});
11
- }
12
- // ------------------------------------------------------------------
13
- // Guard
14
- // ------------------------------------------------------------------
15
- /** Returns true if this value is a ReadonlyAddAction. */
16
- export function IsReadonlyAddAction(value) {
17
- return Guard.IsObject(value)
18
- && Guard.HasPropertyKey(value, '~kind')
19
- && Guard.HasPropertyKey(value, 'type')
20
- && Guard.IsEqual(value['~kind'], 'ReadonlyAddAction')
21
- && IsSchema(value.type);
22
- }
23
- // ------------------------------------------------------------------
24
- // Factory
25
- // ------------------------------------------------------------------
26
- /** Creates a ReadonlyRemoveAction. */
27
- export function ReadonlyRemoveAction(type) {
28
- return Memory.Create({ ['~kind']: 'ReadonlyRemoveAction' }, { type }, {});
29
- }
30
- // ------------------------------------------------------------------
31
- // Guard
32
- // ------------------------------------------------------------------
33
- /** Returns true if this value is a ReadonlyRemoveAction. */
34
- export function IsReadonlyRemoveAction(value) {
35
- return Guard.IsObject(value)
36
- && Guard.HasPropertyKey(value, '~kind')
37
- && Guard.HasPropertyKey(value, 'type')
38
- && Guard.IsEqual(value['~kind'], 'ReadonlyRemoveAction')
39
- && IsSchema(value.type);
40
- }
@@ -1,15 +0,0 @@
1
- import { type TSchema, type TSchemaOptions } from '../types/schema.mjs';
2
- import { type TDeferred } from '../types/deferred.mjs';
3
- import { type TAwaitedAction } from '../engine/awaited/instantiate.mjs';
4
- /** Creates a deferred Awaited action. */
5
- export type TAwaitedDeferred<Type extends TSchema> = (TDeferred<'Awaited', [Type]>);
6
- /** Creates a deferred Awaited action. */
7
- export declare function AwaitedDeferred<Type extends TSchema>(type: Type, options?: TSchemaOptions): TAwaitedDeferred<Type>;
8
- /** Applies an Awaited action to a type. */
9
- export type TAwaited<Type extends TSchema> = (TAwaitedAction<Type>);
10
- /**
11
- * Applies an Awaited action to a type.
12
- *
13
- * @deprecated This action is being removed in the next version of TypeBox.
14
- */
15
- export declare function Awaited<Type extends TSchema>(type: Type, options?: TSchemaOptions): TAwaited<Type>;
@@ -1,15 +0,0 @@
1
- // deno-fmt-ignore-file
2
- import { Deferred } from '../types/deferred.mjs';
3
- import { AwaitedAction } from '../engine/awaited/instantiate.mjs';
4
- /** Creates a deferred Awaited action. */
5
- export function AwaitedDeferred(type, options = {}) {
6
- return Deferred('Awaited', [type], options);
7
- }
8
- /**
9
- * Applies an Awaited action to a type.
10
- *
11
- * @deprecated This action is being removed in the next version of TypeBox.
12
- */
13
- export function Awaited(type, options = {}) {
14
- return AwaitedAction(type, options);
15
- }
@@ -1,11 +0,0 @@
1
- import { type TSchema } from '../types/schema.mjs';
2
- import { type TDeferred } from '../types/deferred.mjs';
3
- import { type TOptionsAction } from '../engine/options/instantiate.mjs';
4
- /** Creates a deferred Options action. */
5
- export type TOptionsDeferred<Type extends TSchema, Options extends TSchema> = (TDeferred<'Options', [Type, Options]>);
6
- /** Creates a deferred Options action. */
7
- export declare function OptionsDeferred<Type extends TSchema, Options extends TSchema>(type: Type, options: Options): TOptionsDeferred<Type, Options>;
8
- /** Applies an immediate Options action to the given type. */
9
- export type TOptions<Type extends TSchema, Options extends TSchema> = (Type & Options);
10
- /** Applies an immediate Options action to the given type. */
11
- export declare function Options<Type extends TSchema, const Options extends TSchema>(type: Type, options: Options): TOptionsAction<Type, Options>;
@@ -1,11 +0,0 @@
1
- // deno-fmt-ignore-file
2
- import { Deferred } from '../types/deferred.mjs';
3
- import { OptionsAction } from '../engine/options/instantiate.mjs';
4
- /** Creates a deferred Options action. */
5
- export function OptionsDeferred(type, options) {
6
- return Deferred('Options', [type, options], {});
7
- }
8
- /** Applies an immediate Options action to the given type. */
9
- export function Options(type, options) {
10
- return OptionsAction(type, options);
11
- }
@@ -1,11 +0,0 @@
1
- import { type TSchema, type TSchemaOptions } from '../../types/schema.mjs';
2
- import { type TProperties } from '../../types/properties.mjs';
3
- import { type TPromise } from '../../types/promise.mjs';
4
- import { type TAwaitedDeferred } from '../../action/awaited.mjs';
5
- import { type TState, type TInstantiateType, type TCanInstantiate } from '../instantiate.mjs';
6
- type TAwaitedOperation<Type extends TSchema> = (Type extends TPromise<infer Type extends TSchema> ? TAwaitedOperation<Type> : Type);
7
- export type TAwaitedAction<Type extends TSchema, Result extends TSchema = TCanInstantiate<[Type]> extends true ? TAwaitedOperation<Type> : TAwaitedDeferred<Type>> = Result;
8
- export declare function AwaitedAction<Type extends TSchema>(type: Type, options: TSchemaOptions): TAwaitedAction<Type>;
9
- export type TAwaitedInstantiate<Context extends TProperties, State extends TState, Type extends TSchema, InstantiateType extends TSchema = TInstantiateType<Context, State, Type>> = TAwaitedAction<InstantiateType>;
10
- export declare function AwaitedInstantiate<Context extends TProperties, State extends TState, Type extends TSchema>(context: Context, state: State, type: Type, options: TSchemaOptions): TAwaitedInstantiate<Context, State, Type>;
11
- export {};