@archipelagolab/lobi 1.0.6 → 1.0.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 (1533) hide show
  1. package/CHANGELOG.md +164 -0
  2. package/SPEC-SUPPORT.md +116 -0
  3. package/api.ts +18 -0
  4. package/auth-presence.ts +56 -0
  5. package/channel-plugin-api.ts +3 -0
  6. package/cli-metadata.ts +11 -0
  7. package/contract-api.ts +17 -0
  8. package/helper-api.ts +3 -0
  9. package/index.test.ts +61 -0
  10. package/index.ts +51 -0
  11. package/openclaw.plugin.json +10 -10
  12. package/package.json +13 -19
  13. package/plugin-entry.handlers.runtime.ts +1 -0
  14. package/runtime-api.ts +54 -0
  15. package/runtime-heavy-api.ts +1 -0
  16. package/secret-contract-api.ts +5 -0
  17. package/setup-entry.ts +13 -0
  18. package/src/account-selection.test.ts +124 -0
  19. package/src/account-selection.ts +220 -0
  20. package/src/actions.account-propagation.test.ts +251 -0
  21. package/src/actions.test.ts +251 -0
  22. package/src/actions.ts +336 -0
  23. package/src/approval-auth.test.ts +23 -0
  24. package/src/approval-auth.ts +25 -0
  25. package/src/approval-handler.runtime.test.ts +46 -0
  26. package/src/approval-handler.runtime.ts +400 -0
  27. package/src/approval-ids.ts +6 -0
  28. package/src/approval-native.test.ts +329 -0
  29. package/src/approval-native.ts +336 -0
  30. package/src/approval-reactions.test.ts +107 -0
  31. package/src/approval-reactions.ts +158 -0
  32. package/src/auth-precedence.ts +61 -0
  33. package/src/channel-account-paths.ts +92 -0
  34. package/src/channel.account-paths.test.ts +102 -0
  35. package/src/channel.directory.test.ts +601 -0
  36. package/src/channel.resolve.test.ts +38 -0
  37. package/src/channel.runtime.ts +16 -0
  38. package/src/channel.setup.test.ts +269 -0
  39. package/src/channel.ts +570 -0
  40. package/src/cli-metadata.ts +19 -0
  41. package/src/cli.test.ts +1015 -0
  42. package/src/cli.ts +1198 -0
  43. package/src/config-adapter.ts +41 -0
  44. package/src/config-schema.test.ts +90 -0
  45. package/src/config-schema.ts +114 -0
  46. package/src/directory-live.test.ts +200 -0
  47. package/src/directory-live.ts +238 -0
  48. package/src/doctor-contract.ts +287 -0
  49. package/src/doctor.test.ts +440 -0
  50. package/src/doctor.ts +262 -0
  51. package/src/env-vars.ts +92 -0
  52. package/src/exec-approval-resolver.test.ts +68 -0
  53. package/src/exec-approval-resolver.ts +23 -0
  54. package/src/exec-approvals.test.ts +483 -0
  55. package/src/exec-approvals.ts +290 -0
  56. package/src/group-mentions.ts +41 -0
  57. package/src/legacy-crypto-inspector-availability.test.ts +81 -0
  58. package/src/legacy-crypto-inspector-availability.ts +60 -0
  59. package/src/legacy-crypto.test.ts +234 -0
  60. package/src/legacy-crypto.ts +549 -0
  61. package/src/legacy-state.test.ts +86 -0
  62. package/src/legacy-state.ts +156 -0
  63. package/src/matrix/account-config.ts +150 -0
  64. package/src/matrix/accounts.readiness.test.ts +27 -0
  65. package/src/matrix/accounts.test.ts +757 -0
  66. package/src/matrix/accounts.ts +194 -0
  67. package/src/matrix/actions/client.test.ts +215 -0
  68. package/src/matrix/actions/client.ts +31 -0
  69. package/src/matrix/actions/devices.test.ts +114 -0
  70. package/src/matrix/actions/devices.ts +34 -0
  71. package/src/matrix/actions/limits.test.ts +15 -0
  72. package/src/matrix/actions/limits.ts +6 -0
  73. package/src/matrix/actions/messages.test.ts +289 -0
  74. package/src/matrix/actions/messages.ts +123 -0
  75. package/src/matrix/actions/pins.test.ts +74 -0
  76. package/src/matrix/actions/pins.ts +64 -0
  77. package/src/matrix/actions/polls.test.ts +71 -0
  78. package/src/matrix/actions/polls.ts +109 -0
  79. package/src/matrix/actions/profile.test.ts +109 -0
  80. package/src/matrix/actions/profile.ts +37 -0
  81. package/src/matrix/actions/reactions.test.ts +135 -0
  82. package/src/matrix/actions/reactions.ts +59 -0
  83. package/src/matrix/actions/room.test.ts +79 -0
  84. package/src/matrix/actions/room.ts +71 -0
  85. package/src/matrix/actions/summary.test.ts +87 -0
  86. package/src/matrix/actions/summary.ts +88 -0
  87. package/src/matrix/actions/types.ts +82 -0
  88. package/src/matrix/actions/verification.test.ts +105 -0
  89. package/src/matrix/actions/verification.ts +237 -0
  90. package/src/matrix/actions.ts +37 -0
  91. package/src/matrix/active-client.ts +26 -0
  92. package/src/matrix/async-lock.ts +18 -0
  93. package/src/matrix/backup-health.ts +115 -0
  94. package/src/matrix/client/config-runtime-api.ts +14 -0
  95. package/src/matrix/client/config-secret-input.runtime.ts +1 -0
  96. package/src/matrix/client/config.ts +979 -0
  97. package/src/matrix/client/create-client.test.ts +115 -0
  98. package/src/matrix/client/create-client.ts +101 -0
  99. package/src/matrix/client/env-auth.ts +6 -0
  100. package/src/matrix/client/file-sync-store.test.ts +265 -0
  101. package/src/matrix/client/file-sync-store.ts +289 -0
  102. package/src/matrix/client/logging.ts +123 -0
  103. package/src/matrix/client/migration-snapshot.runtime.ts +1 -0
  104. package/src/matrix/client/private-network-host.ts +56 -0
  105. package/src/matrix/client/runtime.ts +4 -0
  106. package/src/matrix/client/shared.test.ts +344 -0
  107. package/src/matrix/client/shared.ts +306 -0
  108. package/src/matrix/client/storage.test.ts +634 -0
  109. package/src/matrix/client/storage.ts +544 -0
  110. package/src/matrix/client/types.ts +50 -0
  111. package/src/matrix/client-bootstrap.test.ts +84 -0
  112. package/src/matrix/client-bootstrap.ts +164 -0
  113. package/src/matrix/client-resolver.test-helpers.ts +147 -0
  114. package/src/matrix/client.test.ts +1521 -0
  115. package/src/matrix/client.ts +23 -0
  116. package/src/matrix/config-paths.ts +31 -0
  117. package/src/matrix/config-update.test.ts +237 -0
  118. package/src/matrix/config-update.ts +291 -0
  119. package/src/matrix/credentials-read.ts +206 -0
  120. package/src/matrix/credentials-write.runtime.ts +26 -0
  121. package/src/matrix/credentials.test.ts +501 -0
  122. package/src/matrix/credentials.ts +95 -0
  123. package/src/matrix/deps.test.ts +74 -0
  124. package/src/matrix/deps.ts +225 -0
  125. package/src/matrix/device-health.test.ts +45 -0
  126. package/src/matrix/device-health.ts +31 -0
  127. package/src/matrix/direct-management.test.ts +350 -0
  128. package/src/matrix/direct-management.ts +347 -0
  129. package/src/matrix/direct-room.test.ts +61 -0
  130. package/src/matrix/direct-room.ts +128 -0
  131. package/src/matrix/draft-stream.test.ts +406 -0
  132. package/src/matrix/draft-stream.ts +216 -0
  133. package/src/matrix/encryption-guidance.ts +27 -0
  134. package/src/matrix/errors.ts +21 -0
  135. package/src/matrix/format.test.ts +340 -0
  136. package/src/matrix/format.ts +428 -0
  137. package/src/matrix/legacy-crypto-inspector.ts +95 -0
  138. package/src/matrix/media-errors.ts +20 -0
  139. package/src/matrix/media-text.ts +169 -0
  140. package/src/matrix/monitor/access-state.test.ts +45 -0
  141. package/src/matrix/monitor/access-state.ts +77 -0
  142. package/src/matrix/monitor/ack-config.test.ts +57 -0
  143. package/src/matrix/monitor/ack-config.ts +26 -0
  144. package/src/matrix/monitor/allowlist.test.ts +45 -0
  145. package/src/matrix/monitor/allowlist.ts +94 -0
  146. package/src/matrix/monitor/auto-join.test.ts +203 -0
  147. package/src/matrix/monitor/auto-join.ts +86 -0
  148. package/src/matrix/monitor/config.test.ts +197 -0
  149. package/src/matrix/monitor/config.ts +303 -0
  150. package/src/matrix/monitor/context-summary.ts +43 -0
  151. package/src/matrix/monitor/direct.test.ts +529 -0
  152. package/src/matrix/monitor/direct.ts +270 -0
  153. package/src/matrix/monitor/events.test.ts +1524 -0
  154. package/src/matrix/monitor/events.ts +213 -0
  155. package/src/matrix/monitor/handler.body-for-agent.test.ts +396 -0
  156. package/src/matrix/monitor/handler.group-history.test.ts +648 -0
  157. package/src/matrix/monitor/handler.media-failure.test.ts +267 -0
  158. package/src/matrix/monitor/handler.test-helpers.ts +308 -0
  159. package/src/matrix/monitor/handler.test.ts +2952 -0
  160. package/src/matrix/monitor/handler.thread-root-media.test.ts +82 -0
  161. package/src/matrix/monitor/handler.ts +1679 -0
  162. package/src/matrix/monitor/inbound-dedupe.test.ts +146 -0
  163. package/src/matrix/monitor/inbound-dedupe.ts +267 -0
  164. package/src/matrix/monitor/index.test.ts +920 -0
  165. package/src/matrix/monitor/index.ts +434 -0
  166. package/src/matrix/monitor/legacy-crypto-restore.test.ts +206 -0
  167. package/src/matrix/monitor/legacy-crypto-restore.ts +139 -0
  168. package/src/matrix/monitor/location.ts +100 -0
  169. package/src/matrix/monitor/media.test.ts +159 -0
  170. package/src/matrix/monitor/media.ts +119 -0
  171. package/src/matrix/monitor/mentions.test.ts +289 -0
  172. package/src/matrix/monitor/mentions.ts +177 -0
  173. package/src/matrix/monitor/reaction-events.test.ts +326 -0
  174. package/src/matrix/monitor/reaction-events.ts +187 -0
  175. package/src/matrix/monitor/recent-invite.test.ts +92 -0
  176. package/src/matrix/monitor/recent-invite.ts +30 -0
  177. package/src/matrix/monitor/replies.test.ts +265 -0
  178. package/src/matrix/monitor/replies.ts +136 -0
  179. package/src/matrix/monitor/reply-context.test.ts +276 -0
  180. package/src/matrix/monitor/reply-context.ts +92 -0
  181. package/src/matrix/monitor/room-history.test.ts +258 -0
  182. package/src/matrix/monitor/room-history.ts +301 -0
  183. package/src/matrix/monitor/room-info.test.ts +201 -0
  184. package/src/matrix/monitor/room-info.ts +126 -0
  185. package/src/matrix/monitor/rooms.test.ts +121 -0
  186. package/src/matrix/monitor/rooms.ts +52 -0
  187. package/src/matrix/monitor/route.test.ts +255 -0
  188. package/src/matrix/monitor/route.ts +178 -0
  189. package/src/matrix/monitor/runtime-api.ts +31 -0
  190. package/src/matrix/monitor/startup-verification.test.ts +294 -0
  191. package/src/matrix/monitor/startup-verification.ts +237 -0
  192. package/src/matrix/monitor/startup.test.ts +257 -0
  193. package/src/matrix/monitor/startup.ts +218 -0
  194. package/src/matrix/monitor/status.ts +111 -0
  195. package/src/matrix/monitor/sync-lifecycle.test.ts +224 -0
  196. package/src/matrix/monitor/sync-lifecycle.ts +91 -0
  197. package/src/matrix/monitor/task-runner.ts +38 -0
  198. package/src/matrix/monitor/thread-context.test.ts +149 -0
  199. package/src/matrix/monitor/thread-context.ts +108 -0
  200. package/src/matrix/monitor/threads.test.ts +68 -0
  201. package/src/matrix/monitor/threads.ts +85 -0
  202. package/src/matrix/monitor/types.ts +30 -0
  203. package/src/matrix/monitor/verification-events.ts +627 -0
  204. package/src/matrix/monitor/verification-utils.test.ts +47 -0
  205. package/src/matrix/monitor/verification-utils.ts +46 -0
  206. package/src/matrix/outbound-media-runtime.ts +1 -0
  207. package/src/matrix/poll-summary.ts +110 -0
  208. package/src/matrix/poll-types.test.ts +205 -0
  209. package/src/matrix/poll-types.ts +433 -0
  210. package/src/matrix/probe.runtime.ts +4 -0
  211. package/src/matrix/probe.test.ts +154 -0
  212. package/src/matrix/probe.ts +96 -0
  213. package/src/matrix/profile.test.ts +154 -0
  214. package/src/matrix/profile.ts +184 -0
  215. package/src/matrix/reaction-common.test.ts +96 -0
  216. package/src/matrix/reaction-common.ts +147 -0
  217. package/src/matrix/sdk/crypto-bootstrap.test.ts +505 -0
  218. package/src/matrix/sdk/crypto-bootstrap.ts +341 -0
  219. package/src/matrix/sdk/crypto-facade.test.ts +197 -0
  220. package/src/matrix/sdk/crypto-facade.ts +207 -0
  221. package/src/matrix/sdk/crypto-node.runtime.test.ts +27 -0
  222. package/src/matrix/sdk/crypto-node.runtime.ts +9 -0
  223. package/src/matrix/sdk/crypto-runtime.ts +11 -0
  224. package/src/matrix/sdk/decrypt-bridge.ts +356 -0
  225. package/src/matrix/sdk/event-helpers.test.ts +60 -0
  226. package/src/matrix/sdk/event-helpers.ts +71 -0
  227. package/src/matrix/sdk/http-client.test.ts +134 -0
  228. package/src/matrix/sdk/http-client.ts +87 -0
  229. package/src/matrix/sdk/idb-persistence-lock.ts +51 -0
  230. package/src/matrix/sdk/idb-persistence.lock-order.test.ts +108 -0
  231. package/src/matrix/sdk/idb-persistence.test-helpers.ts +88 -0
  232. package/src/matrix/sdk/idb-persistence.test.ts +149 -0
  233. package/src/matrix/sdk/idb-persistence.ts +283 -0
  234. package/src/matrix/sdk/logger.test.ts +25 -0
  235. package/src/matrix/sdk/logger.ts +108 -0
  236. package/src/matrix/sdk/read-response-with-limit.ts +19 -0
  237. package/src/matrix/sdk/recovery-key-store.test.ts +385 -0
  238. package/src/matrix/sdk/recovery-key-store.ts +430 -0
  239. package/src/matrix/sdk/transport.test.ts +161 -0
  240. package/src/matrix/sdk/transport.ts +344 -0
  241. package/src/matrix/sdk/types.ts +236 -0
  242. package/src/matrix/sdk/verification-manager.test.ts +509 -0
  243. package/src/matrix/sdk/verification-manager.ts +694 -0
  244. package/src/matrix/sdk/verification-status.ts +23 -0
  245. package/src/matrix/sdk.test.ts +2568 -0
  246. package/src/matrix/sdk.ts +1789 -0
  247. package/src/matrix/send/client.test.ts +174 -0
  248. package/src/matrix/send/client.ts +90 -0
  249. package/src/matrix/send/formatting.ts +189 -0
  250. package/src/matrix/send/media.ts +244 -0
  251. package/src/matrix/send/targets.test.ts +254 -0
  252. package/src/matrix/send/targets.ts +104 -0
  253. package/src/matrix/send/types.ts +134 -0
  254. package/src/matrix/send.test.ts +958 -0
  255. package/src/matrix/send.ts +609 -0
  256. package/src/matrix/session-store-metadata.ts +108 -0
  257. package/src/matrix/startup-abort.ts +44 -0
  258. package/src/matrix/sync-state.ts +27 -0
  259. package/src/matrix/target-ids.ts +102 -0
  260. package/src/matrix/thread-bindings-shared.ts +201 -0
  261. package/src/matrix/thread-bindings.test.ts +673 -0
  262. package/src/matrix/thread-bindings.ts +577 -0
  263. package/src/matrix-migration.runtime.ts +9 -0
  264. package/src/migration-config.test.ts +228 -0
  265. package/src/migration-config.ts +243 -0
  266. package/src/migration-snapshot-backup.ts +117 -0
  267. package/src/migration-snapshot.test.ts +184 -0
  268. package/src/migration-snapshot.ts +55 -0
  269. package/src/onboarding.resolve.test.ts +55 -0
  270. package/src/onboarding.test-harness.ts +158 -0
  271. package/src/onboarding.test.ts +665 -0
  272. package/src/onboarding.ts +773 -0
  273. package/src/outbound.test.ts +173 -0
  274. package/src/outbound.ts +78 -0
  275. package/src/plugin-entry.runtime.js +159 -0
  276. package/src/plugin-entry.runtime.test.ts +108 -0
  277. package/src/plugin-entry.runtime.ts +68 -0
  278. package/src/profile-update.ts +68 -0
  279. package/src/record-shared.ts +3 -0
  280. package/src/resolve-targets.test.ts +178 -0
  281. package/src/resolve-targets.ts +175 -0
  282. package/src/resolver.ts +21 -0
  283. package/src/runtime-api.ts +144 -0
  284. package/src/runtime.ts +7 -0
  285. package/src/secret-contract.ts +174 -0
  286. package/src/session-route.test.ts +315 -0
  287. package/src/session-route.ts +113 -0
  288. package/src/setup-bootstrap.ts +94 -0
  289. package/src/setup-config.ts +222 -0
  290. package/src/setup-contract.ts +89 -0
  291. package/src/setup-core.test.ts +326 -0
  292. package/src/setup-core.ts +50 -0
  293. package/src/setup-surface.ts +4 -0
  294. package/src/startup-maintenance.test.ts +227 -0
  295. package/src/startup-maintenance.ts +114 -0
  296. package/src/storage-paths.ts +92 -0
  297. package/src/test-helpers.ts +42 -0
  298. package/src/test-mocks.ts +55 -0
  299. package/src/test-runtime.ts +72 -0
  300. package/src/test-support/monitor-route-test-support.ts +8 -0
  301. package/src/tool-actions.runtime.ts +1 -0
  302. package/src/tool-actions.test.ts +422 -0
  303. package/src/tool-actions.ts +498 -0
  304. package/src/types.ts +230 -0
  305. package/test-api.ts +2 -0
  306. package/thread-bindings-runtime.ts +4 -0
  307. package/tsconfig.json +16 -0
  308. package/LICENSE +0 -17
  309. package/README.md +0 -136
  310. package/dist/APEv2Parser-6EMKXRZS.js +0 -15
  311. package/dist/APEv2Parser-6EMKXRZS.js.map +0 -7
  312. package/dist/APEv2Parser-FYYGMFPI.js +0 -15
  313. package/dist/APEv2Parser-FYYGMFPI.js.map +0 -7
  314. package/dist/AiffParser-E6XWRTXM.js +0 -194
  315. package/dist/AiffParser-E6XWRTXM.js.map +0 -7
  316. package/dist/AiffParser-JHSDQA7T.js +0 -194
  317. package/dist/AiffParser-JHSDQA7T.js.map +0 -7
  318. package/dist/AsfParser-TPCQDEJB.js +0 -620
  319. package/dist/AsfParser-TPCQDEJB.js.map +0 -7
  320. package/dist/AsfParser-WSOH2JQY.js +0 -620
  321. package/dist/AsfParser-WSOH2JQY.js.map +0 -7
  322. package/dist/DsdiffParser-CGD3C3TL.js +0 -192
  323. package/dist/DsdiffParser-CGD3C3TL.js.map +0 -7
  324. package/dist/DsdiffParser-EUWJ4YAR.js +0 -192
  325. package/dist/DsdiffParser-EUWJ4YAR.js.map +0 -7
  326. package/dist/DsfParser-3UTIJVNF.js +0 -114
  327. package/dist/DsfParser-3UTIJVNF.js.map +0 -7
  328. package/dist/DsfParser-R6TPBJIY.js +0 -114
  329. package/dist/DsfParser-R6TPBJIY.js.map +0 -7
  330. package/dist/FlacParser-HLLYPJ76.js +0 -16
  331. package/dist/FlacParser-HLLYPJ76.js.map +0 -7
  332. package/dist/FlacParser-VDASGZ3E.js +0 -16
  333. package/dist/FlacParser-VDASGZ3E.js.map +0 -7
  334. package/dist/MP4Parser-64RGJLUM.js +0 -1145
  335. package/dist/MP4Parser-64RGJLUM.js.map +0 -7
  336. package/dist/MP4Parser-SM7HYL3Z.js +0 -1145
  337. package/dist/MP4Parser-SM7HYL3Z.js.map +0 -7
  338. package/dist/MatroskaParser-O6RXAKYA.js +0 -662
  339. package/dist/MatroskaParser-O6RXAKYA.js.map +0 -7
  340. package/dist/MatroskaParser-X7WRZ6D4.js +0 -662
  341. package/dist/MatroskaParser-X7WRZ6D4.js.map +0 -7
  342. package/dist/MpegParser-B6NX6DS3.js +0 -652
  343. package/dist/MpegParser-B6NX6DS3.js.map +0 -7
  344. package/dist/MpegParser-KXQEC6KD.js +0 -652
  345. package/dist/MpegParser-KXQEC6KD.js.map +0 -7
  346. package/dist/MusepackParser-NURI46TG.js +0 -331
  347. package/dist/MusepackParser-NURI46TG.js.map +0 -7
  348. package/dist/MusepackParser-WUBT63DS.js +0 -331
  349. package/dist/MusepackParser-WUBT63DS.js.map +0 -7
  350. package/dist/OggParser-5IYVBXPS.js +0 -448
  351. package/dist/OggParser-5IYVBXPS.js.map +0 -7
  352. package/dist/OggParser-ZY6E5C2P.js +0 -448
  353. package/dist/OggParser-ZY6E5C2P.js.map +0 -7
  354. package/dist/WavPackParser-5KTCSQEU.js +0 -209
  355. package/dist/WavPackParser-5KTCSQEU.js.map +0 -7
  356. package/dist/WavPackParser-RTEHKSJH.js +0 -209
  357. package/dist/WavPackParser-RTEHKSJH.js.map +0 -7
  358. package/dist/WaveParser-3R2NLXGP.js +0 -300
  359. package/dist/WaveParser-3R2NLXGP.js.map +0 -7
  360. package/dist/WaveParser-RZSHVQPZ.js +0 -300
  361. package/dist/WaveParser-RZSHVQPZ.js.map +0 -7
  362. package/dist/auth-presence.js +0 -46
  363. package/dist/auth-presence.js.map +0 -7
  364. package/dist/channel-plugin-api.js +0 -79
  365. package/dist/channel-plugin-api.js.map +0 -7
  366. package/dist/chunk-22WAAZ6I.js +0 -114
  367. package/dist/chunk-22WAAZ6I.js.map +0 -7
  368. package/dist/chunk-2A6HEFSO.js +0 -676
  369. package/dist/chunk-2A6HEFSO.js.map +0 -7
  370. package/dist/chunk-2GFROLI2.js +0 -261
  371. package/dist/chunk-2GFROLI2.js.map +0 -7
  372. package/dist/chunk-2IQWKATM.js +0 -127
  373. package/dist/chunk-2IQWKATM.js.map +0 -7
  374. package/dist/chunk-2KGHUHKU.js +0 -169
  375. package/dist/chunk-2KGHUHKU.js.map +0 -7
  376. package/dist/chunk-2NEQI4K6.js +0 -171
  377. package/dist/chunk-2NEQI4K6.js.map +0 -7
  378. package/dist/chunk-2OSJ3MTW.js +0 -175
  379. package/dist/chunk-2OSJ3MTW.js.map +0 -7
  380. package/dist/chunk-2Q626TDO.js +0 -27
  381. package/dist/chunk-2Q626TDO.js.map +0 -7
  382. package/dist/chunk-2U6OZ7N2.js +0 -155
  383. package/dist/chunk-2U6OZ7N2.js.map +0 -7
  384. package/dist/chunk-2V6Y4CAN.js +0 -25
  385. package/dist/chunk-2V6Y4CAN.js.map +0 -7
  386. package/dist/chunk-2WHRUMOM.js +0 -321
  387. package/dist/chunk-2WHRUMOM.js.map +0 -7
  388. package/dist/chunk-2Z4IOUDZ.js +0 -129
  389. package/dist/chunk-2Z4IOUDZ.js.map +0 -7
  390. package/dist/chunk-2ZEPAW7U.js +0 -154
  391. package/dist/chunk-2ZEPAW7U.js.map +0 -7
  392. package/dist/chunk-2ZI6JK5O.js +0 -63
  393. package/dist/chunk-2ZI6JK5O.js.map +0 -7
  394. package/dist/chunk-34UY6D6X.js +0 -36
  395. package/dist/chunk-34UY6D6X.js.map +0 -7
  396. package/dist/chunk-3GIK7SAA.js +0 -109
  397. package/dist/chunk-3GIK7SAA.js.map +0 -7
  398. package/dist/chunk-3JD6JSJD.js +0 -111
  399. package/dist/chunk-3JD6JSJD.js.map +0 -7
  400. package/dist/chunk-3OXOEMBS.js +0 -123
  401. package/dist/chunk-3OXOEMBS.js.map +0 -7
  402. package/dist/chunk-3R4ATE4Q.js +0 -176
  403. package/dist/chunk-3R4ATE4Q.js.map +0 -7
  404. package/dist/chunk-3TOEIHG5.js +0 -314
  405. package/dist/chunk-3TOEIHG5.js.map +0 -7
  406. package/dist/chunk-3TRKKAVT.js +0 -130
  407. package/dist/chunk-3TRKKAVT.js.map +0 -7
  408. package/dist/chunk-3UFTTK7C.js +0 -418
  409. package/dist/chunk-3UFTTK7C.js.map +0 -7
  410. package/dist/chunk-3XO6AAIC.js +0 -25
  411. package/dist/chunk-3XO6AAIC.js.map +0 -7
  412. package/dist/chunk-427SAQME.js +0 -321
  413. package/dist/chunk-427SAQME.js.map +0 -7
  414. package/dist/chunk-4CFQNJ7F.js +0 -7
  415. package/dist/chunk-4CFQNJ7F.js.map +0 -7
  416. package/dist/chunk-4COI4L2Y.js +0 -31
  417. package/dist/chunk-4COI4L2Y.js.map +0 -7
  418. package/dist/chunk-4EKKDVG3.js +0 -1662
  419. package/dist/chunk-4EKKDVG3.js.map +0 -7
  420. package/dist/chunk-4JVNTZAI.js +0 -80
  421. package/dist/chunk-4JVNTZAI.js.map +0 -7
  422. package/dist/chunk-4L2QI6AY.js +0 -71
  423. package/dist/chunk-4L2QI6AY.js.map +0 -7
  424. package/dist/chunk-4O3BEYYM.js +0 -187
  425. package/dist/chunk-4O3BEYYM.js.map +0 -7
  426. package/dist/chunk-4OXPPDV6.js +0 -676
  427. package/dist/chunk-4OXPPDV6.js.map +0 -7
  428. package/dist/chunk-4QTZHELX.js +0 -51
  429. package/dist/chunk-4QTZHELX.js.map +0 -7
  430. package/dist/chunk-4U42OJMK.js +0 -217
  431. package/dist/chunk-4U42OJMK.js.map +0 -7
  432. package/dist/chunk-4WCKVGQ5.js +0 -193
  433. package/dist/chunk-4WCKVGQ5.js.map +0 -7
  434. package/dist/chunk-4XXERLFH.js +0 -95
  435. package/dist/chunk-4XXERLFH.js.map +0 -7
  436. package/dist/chunk-4Z2N4GW6.js +0 -247
  437. package/dist/chunk-4Z2N4GW6.js.map +0 -7
  438. package/dist/chunk-4ZY2BOQ4.js +0 -123
  439. package/dist/chunk-4ZY2BOQ4.js.map +0 -7
  440. package/dist/chunk-56HN4SH6.js +0 -46
  441. package/dist/chunk-56HN4SH6.js.map +0 -7
  442. package/dist/chunk-57ROEOHB.js +0 -183
  443. package/dist/chunk-57ROEOHB.js.map +0 -7
  444. package/dist/chunk-5APBBTGW.js +0 -7
  445. package/dist/chunk-5APBBTGW.js.map +0 -7
  446. package/dist/chunk-5BQ6LLNU.js +0 -39
  447. package/dist/chunk-5BQ6LLNU.js.map +0 -7
  448. package/dist/chunk-5LNGMBWW.js +0 -93
  449. package/dist/chunk-5LNGMBWW.js.map +0 -7
  450. package/dist/chunk-5XFQSYZ4.js +0 -52
  451. package/dist/chunk-5XFQSYZ4.js.map +0 -7
  452. package/dist/chunk-62N5N4AC.js +0 -241
  453. package/dist/chunk-62N5N4AC.js.map +0 -7
  454. package/dist/chunk-63QTHDJL.js +0 -52
  455. package/dist/chunk-63QTHDJL.js.map +0 -7
  456. package/dist/chunk-65UUVZ6B.js +0 -151
  457. package/dist/chunk-65UUVZ6B.js.map +0 -7
  458. package/dist/chunk-6COVTMAO.js +0 -3586
  459. package/dist/chunk-6COVTMAO.js.map +0 -7
  460. package/dist/chunk-6EYPDJUD.js +0 -34
  461. package/dist/chunk-6EYPDJUD.js.map +0 -7
  462. package/dist/chunk-6HDYPVA4.js +0 -15
  463. package/dist/chunk-6HDYPVA4.js.map +0 -7
  464. package/dist/chunk-6HX3DEXK.js +0 -178
  465. package/dist/chunk-6HX3DEXK.js.map +0 -7
  466. package/dist/chunk-6NO5VEVV.js +0 -18
  467. package/dist/chunk-6NO5VEVV.js.map +0 -7
  468. package/dist/chunk-6OP3FK5F.js +0 -266
  469. package/dist/chunk-6OP3FK5F.js.map +0 -7
  470. package/dist/chunk-6PZGDVLR.js +0 -465
  471. package/dist/chunk-6PZGDVLR.js.map +0 -7
  472. package/dist/chunk-6RBDFNSX.js +0 -88
  473. package/dist/chunk-6RBDFNSX.js.map +0 -7
  474. package/dist/chunk-6SOGH3TW.js +0 -163
  475. package/dist/chunk-6SOGH3TW.js.map +0 -7
  476. package/dist/chunk-6TWWCETB.js +0 -70
  477. package/dist/chunk-6TWWCETB.js.map +0 -7
  478. package/dist/chunk-6WFHPMUF.js +0 -17
  479. package/dist/chunk-6WFHPMUF.js.map +0 -7
  480. package/dist/chunk-72TGY3LX.js +0 -104
  481. package/dist/chunk-72TGY3LX.js.map +0 -7
  482. package/dist/chunk-76IE55K7.js +0 -392
  483. package/dist/chunk-76IE55K7.js.map +0 -7
  484. package/dist/chunk-77BEEAPD.js +0 -86
  485. package/dist/chunk-77BEEAPD.js.map +0 -7
  486. package/dist/chunk-77JJ6QJK.js +0 -50
  487. package/dist/chunk-77JJ6QJK.js.map +0 -7
  488. package/dist/chunk-7BIUNV33.js +0 -62
  489. package/dist/chunk-7BIUNV33.js.map +0 -7
  490. package/dist/chunk-7F3242AO.js +0 -86
  491. package/dist/chunk-7F3242AO.js.map +0 -7
  492. package/dist/chunk-7FLQSTPG.js +0 -57
  493. package/dist/chunk-7FLQSTPG.js.map +0 -7
  494. package/dist/chunk-7L37R42D.js +0 -52
  495. package/dist/chunk-7L37R42D.js.map +0 -7
  496. package/dist/chunk-7MP46JBP.js +0 -177
  497. package/dist/chunk-7MP46JBP.js.map +0 -7
  498. package/dist/chunk-7MVZYR2T.js +0 -87
  499. package/dist/chunk-7MVZYR2T.js.map +0 -7
  500. package/dist/chunk-7N7ISMPG.js +0 -50
  501. package/dist/chunk-7N7ISMPG.js.map +0 -7
  502. package/dist/chunk-7S7LQQPX.js +0 -127
  503. package/dist/chunk-7S7LQQPX.js.map +0 -7
  504. package/dist/chunk-7TTNY5FK.js +0 -21
  505. package/dist/chunk-7TTNY5FK.js.map +0 -7
  506. package/dist/chunk-7W73QCTR.js +0 -244
  507. package/dist/chunk-7W73QCTR.js.map +0 -7
  508. package/dist/chunk-7XXLU33Y.js +0 -76
  509. package/dist/chunk-7XXLU33Y.js.map +0 -7
  510. package/dist/chunk-7ZP3KYVO.js +0 -104
  511. package/dist/chunk-7ZP3KYVO.js.map +0 -7
  512. package/dist/chunk-AAO7BQEV.js +0 -258
  513. package/dist/chunk-AAO7BQEV.js.map +0 -7
  514. package/dist/chunk-AH4MLRYT.js +0 -91
  515. package/dist/chunk-AH4MLRYT.js.map +0 -7
  516. package/dist/chunk-AHKR32FH.js +0 -7
  517. package/dist/chunk-AHKR32FH.js.map +0 -7
  518. package/dist/chunk-ALKRFDAW.js +0 -94
  519. package/dist/chunk-ALKRFDAW.js.map +0 -7
  520. package/dist/chunk-AQQGAE7N.js +0 -12
  521. package/dist/chunk-AQQGAE7N.js.map +0 -7
  522. package/dist/chunk-ARGF232V.js +0 -32
  523. package/dist/chunk-ARGF232V.js.map +0 -7
  524. package/dist/chunk-ATCJOK3K.js +0 -24
  525. package/dist/chunk-ATCJOK3K.js.map +0 -7
  526. package/dist/chunk-AUUABFHL.js +0 -124
  527. package/dist/chunk-AUUABFHL.js.map +0 -7
  528. package/dist/chunk-AWW3YUGJ.js +0 -193
  529. package/dist/chunk-AWW3YUGJ.js.map +0 -7
  530. package/dist/chunk-AX7VEEWJ.js +0 -158
  531. package/dist/chunk-AX7VEEWJ.js.map +0 -7
  532. package/dist/chunk-B3NTODO7.js +0 -57
  533. package/dist/chunk-B3NTODO7.js.map +0 -7
  534. package/dist/chunk-BAX7Q6GR.js +0 -55
  535. package/dist/chunk-BAX7Q6GR.js.map +0 -7
  536. package/dist/chunk-BBM6BR3Z.js +0 -28
  537. package/dist/chunk-BBM6BR3Z.js.map +0 -7
  538. package/dist/chunk-BHXZMHSX.js +0 -109
  539. package/dist/chunk-BHXZMHSX.js.map +0 -7
  540. package/dist/chunk-BIUXDLVY.js +0 -62
  541. package/dist/chunk-BIUXDLVY.js.map +0 -7
  542. package/dist/chunk-BM7J2W36.js +0 -86
  543. package/dist/chunk-BM7J2W36.js.map +0 -7
  544. package/dist/chunk-BMFZL2P4.js +0 -97
  545. package/dist/chunk-BMFZL2P4.js.map +0 -7
  546. package/dist/chunk-BQXEXK4H.js +0 -114
  547. package/dist/chunk-BQXEXK4H.js.map +0 -7
  548. package/dist/chunk-BU2CTWBG.js +0 -30
  549. package/dist/chunk-BU2CTWBG.js.map +0 -7
  550. package/dist/chunk-BVKSCLF7.js +0 -195
  551. package/dist/chunk-BVKSCLF7.js.map +0 -7
  552. package/dist/chunk-BWA3D22L.js +0 -88
  553. package/dist/chunk-BWA3D22L.js.map +0 -7
  554. package/dist/chunk-CE24RSPL.js +0 -506
  555. package/dist/chunk-CE24RSPL.js.map +0 -7
  556. package/dist/chunk-CEB5S2Z5.js +0 -127
  557. package/dist/chunk-CEB5S2Z5.js.map +0 -7
  558. package/dist/chunk-CEKNTCJD.js +0 -177
  559. package/dist/chunk-CEKNTCJD.js.map +0 -7
  560. package/dist/chunk-CETZGSCP.js +0 -71
  561. package/dist/chunk-CETZGSCP.js.map +0 -7
  562. package/dist/chunk-CGBWMONK.js +0 -412
  563. package/dist/chunk-CGBWMONK.js.map +0 -7
  564. package/dist/chunk-CGFDIH77.js +0 -94
  565. package/dist/chunk-CGFDIH77.js.map +0 -7
  566. package/dist/chunk-CPLEC5LJ.js +0 -26
  567. package/dist/chunk-CPLEC5LJ.js.map +0 -7
  568. package/dist/chunk-CPNIXMGX.js +0 -127
  569. package/dist/chunk-CPNIXMGX.js.map +0 -7
  570. package/dist/chunk-CSJO73LD.js +0 -84
  571. package/dist/chunk-CSJO73LD.js.map +0 -7
  572. package/dist/chunk-CTKBDSL6.js +0 -81
  573. package/dist/chunk-CTKBDSL6.js.map +0 -7
  574. package/dist/chunk-CY6WHUCW.js +0 -54
  575. package/dist/chunk-CY6WHUCW.js.map +0 -7
  576. package/dist/chunk-D4GYYYMW.js +0 -155
  577. package/dist/chunk-D4GYYYMW.js.map +0 -7
  578. package/dist/chunk-D64CZG54.js +0 -78
  579. package/dist/chunk-D64CZG54.js.map +0 -7
  580. package/dist/chunk-D7Q6Z74D.js +0 -123
  581. package/dist/chunk-D7Q6Z74D.js.map +0 -7
  582. package/dist/chunk-DSGPDHF2.js +0 -737
  583. package/dist/chunk-DSGPDHF2.js.map +0 -7
  584. package/dist/chunk-DZIM4OWK.js +0 -17
  585. package/dist/chunk-DZIM4OWK.js.map +0 -7
  586. package/dist/chunk-E3GC4V5V.js +0 -30
  587. package/dist/chunk-E3GC4V5V.js.map +0 -7
  588. package/dist/chunk-E5HPDHCW.js +0 -34
  589. package/dist/chunk-E5HPDHCW.js.map +0 -7
  590. package/dist/chunk-E75BJJZ2.js +0 -635
  591. package/dist/chunk-E75BJJZ2.js.map +0 -7
  592. package/dist/chunk-EBXHW7ZO.js +0 -108
  593. package/dist/chunk-EBXHW7ZO.js.map +0 -7
  594. package/dist/chunk-EE4DHUUZ.js +0 -472
  595. package/dist/chunk-EE4DHUUZ.js.map +0 -7
  596. package/dist/chunk-EHELTAAD.js +0 -198
  597. package/dist/chunk-EHELTAAD.js.map +0 -7
  598. package/dist/chunk-EKXPSI7Z.js +0 -135
  599. package/dist/chunk-EKXPSI7Z.js.map +0 -7
  600. package/dist/chunk-EO35SCFP.js +0 -7
  601. package/dist/chunk-EO35SCFP.js.map +0 -7
  602. package/dist/chunk-ER2XTD2S.js +0 -271
  603. package/dist/chunk-ER2XTD2S.js.map +0 -7
  604. package/dist/chunk-ERCH75SH.js +0 -292
  605. package/dist/chunk-ERCH75SH.js.map +0 -7
  606. package/dist/chunk-ERXO3674.js +0 -54
  607. package/dist/chunk-ERXO3674.js.map +0 -7
  608. package/dist/chunk-EVFWZGFL.js +0 -235
  609. package/dist/chunk-EVFWZGFL.js.map +0 -7
  610. package/dist/chunk-EVPBRKMZ.js +0 -45
  611. package/dist/chunk-EVPBRKMZ.js.map +0 -7
  612. package/dist/chunk-F43CC2X2.js +0 -49
  613. package/dist/chunk-F43CC2X2.js.map +0 -7
  614. package/dist/chunk-F64TXVJJ.js +0 -158
  615. package/dist/chunk-F64TXVJJ.js.map +0 -7
  616. package/dist/chunk-F6AFJHWV.js +0 -45
  617. package/dist/chunk-F6AFJHWV.js.map +0 -7
  618. package/dist/chunk-F6APWSAA.js +0 -51
  619. package/dist/chunk-F6APWSAA.js.map +0 -7
  620. package/dist/chunk-F7LNS7G3.js +0 -235
  621. package/dist/chunk-F7LNS7G3.js.map +0 -7
  622. package/dist/chunk-FCNWR7ZX.js +0 -16352
  623. package/dist/chunk-FCNWR7ZX.js.map +0 -7
  624. package/dist/chunk-FFCG5NRU.js +0 -87
  625. package/dist/chunk-FFCG5NRU.js.map +0 -7
  626. package/dist/chunk-FG4NVFKM.js +0 -455
  627. package/dist/chunk-FG4NVFKM.js.map +0 -7
  628. package/dist/chunk-FHNEN6IR.js +0 -14
  629. package/dist/chunk-FHNEN6IR.js.map +0 -7
  630. package/dist/chunk-FJFC6CRR.js +0 -446
  631. package/dist/chunk-FJFC6CRR.js.map +0 -7
  632. package/dist/chunk-FK6RGYBB.js +0 -46
  633. package/dist/chunk-FK6RGYBB.js.map +0 -7
  634. package/dist/chunk-FMY6KXK6.js +0 -251
  635. package/dist/chunk-FMY6KXK6.js.map +0 -7
  636. package/dist/chunk-FPH56SCM.js +0 -21
  637. package/dist/chunk-FPH56SCM.js.map +0 -7
  638. package/dist/chunk-FQ4R7IOX.js +0 -32
  639. package/dist/chunk-FQ4R7IOX.js.map +0 -7
  640. package/dist/chunk-FQPYAPJJ.js +0 -124
  641. package/dist/chunk-FQPYAPJJ.js.map +0 -7
  642. package/dist/chunk-FQTLJO4W.js +0 -335
  643. package/dist/chunk-FQTLJO4W.js.map +0 -7
  644. package/dist/chunk-FVLJSB2W.js +0 -124
  645. package/dist/chunk-FVLJSB2W.js.map +0 -7
  646. package/dist/chunk-FVSH4Z6T.js +0 -173
  647. package/dist/chunk-FVSH4Z6T.js.map +0 -7
  648. package/dist/chunk-FVWBLEAD.js +0 -44
  649. package/dist/chunk-FVWBLEAD.js.map +0 -7
  650. package/dist/chunk-FYRKBNTI.js +0 -18
  651. package/dist/chunk-FYRKBNTI.js.map +0 -7
  652. package/dist/chunk-FYSARMGS.js +0 -93
  653. package/dist/chunk-FYSARMGS.js.map +0 -7
  654. package/dist/chunk-FZJOJ6P4.js +0 -28
  655. package/dist/chunk-FZJOJ6P4.js.map +0 -7
  656. package/dist/chunk-G46GHNDU.js +0 -4890
  657. package/dist/chunk-G46GHNDU.js.map +0 -7
  658. package/dist/chunk-G4TIS2SC.js +0 -56
  659. package/dist/chunk-G4TIS2SC.js.map +0 -7
  660. package/dist/chunk-GD6L3SLC.js +0 -30
  661. package/dist/chunk-GD6L3SLC.js.map +0 -7
  662. package/dist/chunk-GGWS7NQP.js +0 -247
  663. package/dist/chunk-GGWS7NQP.js.map +0 -7
  664. package/dist/chunk-GI2ZANRY.js +0 -24
  665. package/dist/chunk-GI2ZANRY.js.map +0 -7
  666. package/dist/chunk-GK3XVKXT.js +0 -737
  667. package/dist/chunk-GK3XVKXT.js.map +0 -7
  668. package/dist/chunk-GKOWCDQV.js +0 -699
  669. package/dist/chunk-GKOWCDQV.js.map +0 -7
  670. package/dist/chunk-GLLRCKKE.js +0 -26
  671. package/dist/chunk-GLLRCKKE.js.map +0 -7
  672. package/dist/chunk-GNYG6I36.js +0 -175
  673. package/dist/chunk-GNYG6I36.js.map +0 -7
  674. package/dist/chunk-GRBJYAYF.js +0 -129
  675. package/dist/chunk-GRBJYAYF.js.map +0 -7
  676. package/dist/chunk-GVYGUH2V.js +0 -7
  677. package/dist/chunk-GVYGUH2V.js.map +0 -7
  678. package/dist/chunk-GXDQGBA2.js +0 -106
  679. package/dist/chunk-GXDQGBA2.js.map +0 -7
  680. package/dist/chunk-GZAGAWSU.js +0 -28
  681. package/dist/chunk-GZAGAWSU.js.map +0 -7
  682. package/dist/chunk-H23E72SB.js +0 -163
  683. package/dist/chunk-H23E72SB.js.map +0 -7
  684. package/dist/chunk-H2HY73I6.js +0 -122
  685. package/dist/chunk-H2HY73I6.js.map +0 -7
  686. package/dist/chunk-H5MLA6PA.js +0 -29
  687. package/dist/chunk-H5MLA6PA.js.map +0 -7
  688. package/dist/chunk-H6YVV7GE.js +0 -22
  689. package/dist/chunk-H6YVV7GE.js.map +0 -7
  690. package/dist/chunk-H7KAUMBC.js +0 -635
  691. package/dist/chunk-H7KAUMBC.js.map +0 -7
  692. package/dist/chunk-HDPICD3P.js +0 -4890
  693. package/dist/chunk-HDPICD3P.js.map +0 -7
  694. package/dist/chunk-HGHU3TVL.js +0 -174
  695. package/dist/chunk-HGHU3TVL.js.map +0 -7
  696. package/dist/chunk-HJ5E2JRL.js +0 -88
  697. package/dist/chunk-HJ5E2JRL.js.map +0 -7
  698. package/dist/chunk-HJW3CKZL.js +0 -94
  699. package/dist/chunk-HJW3CKZL.js.map +0 -7
  700. package/dist/chunk-HKF5EBER.js +0 -418
  701. package/dist/chunk-HKF5EBER.js.map +0 -7
  702. package/dist/chunk-HLUR35G5.js +0 -30
  703. package/dist/chunk-HLUR35G5.js.map +0 -7
  704. package/dist/chunk-HNIW2NZU.js +0 -120
  705. package/dist/chunk-HNIW2NZU.js.map +0 -7
  706. package/dist/chunk-HP5HMWOM.js +0 -123
  707. package/dist/chunk-HP5HMWOM.js.map +0 -7
  708. package/dist/chunk-HQSHS6IB.js +0 -88
  709. package/dist/chunk-HQSHS6IB.js.map +0 -7
  710. package/dist/chunk-HSXRCP25.js +0 -171
  711. package/dist/chunk-HSXRCP25.js.map +0 -7
  712. package/dist/chunk-HTV3R73W.js +0 -51
  713. package/dist/chunk-HTV3R73W.js.map +0 -7
  714. package/dist/chunk-I26OPZLO.js +0 -28
  715. package/dist/chunk-I26OPZLO.js.map +0 -7
  716. package/dist/chunk-I7JJQ4BQ.js +0 -30
  717. package/dist/chunk-I7JJQ4BQ.js.map +0 -7
  718. package/dist/chunk-IJ6Y4W7F.js +0 -392
  719. package/dist/chunk-IJ6Y4W7F.js.map +0 -7
  720. package/dist/chunk-IJCMYMZB.js +0 -239
  721. package/dist/chunk-IJCMYMZB.js.map +0 -7
  722. package/dist/chunk-IJH4NOQ4.js +0 -18
  723. package/dist/chunk-IJH4NOQ4.js.map +0 -7
  724. package/dist/chunk-IMHRZQRH.js +0 -76
  725. package/dist/chunk-IMHRZQRH.js.map +0 -7
  726. package/dist/chunk-INNENDEE.js +0 -472
  727. package/dist/chunk-INNENDEE.js.map +0 -7
  728. package/dist/chunk-IOTLSMEQ.js +0 -177
  729. package/dist/chunk-IOTLSMEQ.js.map +0 -7
  730. package/dist/chunk-IQYYEHSM.js +0 -300
  731. package/dist/chunk-IQYYEHSM.js.map +0 -7
  732. package/dist/chunk-IRA5NJ4Q.js +0 -21
  733. package/dist/chunk-IRA5NJ4Q.js.map +0 -7
  734. package/dist/chunk-IU7EXXK7.js +0 -1662
  735. package/dist/chunk-IU7EXXK7.js.map +0 -7
  736. package/dist/chunk-IUXAKDAY.js +0 -102
  737. package/dist/chunk-IUXAKDAY.js.map +0 -7
  738. package/dist/chunk-JB6ZQEVR.js +0 -465
  739. package/dist/chunk-JB6ZQEVR.js.map +0 -7
  740. package/dist/chunk-JCWNMWNY.js +0 -102
  741. package/dist/chunk-JCWNMWNY.js.map +0 -7
  742. package/dist/chunk-JGIZPU2Y.js +0 -39
  743. package/dist/chunk-JGIZPU2Y.js.map +0 -7
  744. package/dist/chunk-JIU4FXA7.js +0 -485
  745. package/dist/chunk-JIU4FXA7.js.map +0 -7
  746. package/dist/chunk-JMYIFYY5.js +0 -233
  747. package/dist/chunk-JMYIFYY5.js.map +0 -7
  748. package/dist/chunk-JSZBX2TA.js +0 -5853
  749. package/dist/chunk-JSZBX2TA.js.map +0 -7
  750. package/dist/chunk-JU2Y33DB.js +0 -60
  751. package/dist/chunk-JU2Y33DB.js.map +0 -7
  752. package/dist/chunk-JVLRI4RU.js +0 -62
  753. package/dist/chunk-JVLRI4RU.js.map +0 -7
  754. package/dist/chunk-JZ3AVNZC.js +0 -44117
  755. package/dist/chunk-JZ3AVNZC.js.map +0 -7
  756. package/dist/chunk-K3HEWOHN.js +0 -30
  757. package/dist/chunk-K3HEWOHN.js.map +0 -7
  758. package/dist/chunk-K5EK4WZV.js +0 -7
  759. package/dist/chunk-K5EK4WZV.js.map +0 -7
  760. package/dist/chunk-KAWXMSYC.js +0 -58
  761. package/dist/chunk-KAWXMSYC.js.map +0 -7
  762. package/dist/chunk-KEGPHS4C.js +0 -80
  763. package/dist/chunk-KEGPHS4C.js.map +0 -7
  764. package/dist/chunk-KHFWQ334.js +0 -138
  765. package/dist/chunk-KHFWQ334.js.map +0 -7
  766. package/dist/chunk-KJW6JLM6.js +0 -95
  767. package/dist/chunk-KJW6JLM6.js.map +0 -7
  768. package/dist/chunk-KSEANSJE.js +0 -40
  769. package/dist/chunk-KSEANSJE.js.map +0 -7
  770. package/dist/chunk-KVU54E6W.js +0 -63
  771. package/dist/chunk-KVU54E6W.js.map +0 -7
  772. package/dist/chunk-KXXVR3DC.js +0 -244
  773. package/dist/chunk-KXXVR3DC.js.map +0 -7
  774. package/dist/chunk-L5OUVMHK.js +0 -174
  775. package/dist/chunk-L5OUVMHK.js.map +0 -7
  776. package/dist/chunk-L5T6XUDP.js +0 -412
  777. package/dist/chunk-L5T6XUDP.js.map +0 -7
  778. package/dist/chunk-LIFXTQ4U.js +0 -7287
  779. package/dist/chunk-LIFXTQ4U.js.map +0 -7
  780. package/dist/chunk-LIVQ7GIO.js +0 -86
  781. package/dist/chunk-LIVQ7GIO.js.map +0 -7
  782. package/dist/chunk-LMD5UTKM.js +0 -169
  783. package/dist/chunk-LMD5UTKM.js.map +0 -7
  784. package/dist/chunk-LO4F6E3N.js +0 -163
  785. package/dist/chunk-LO4F6E3N.js.map +0 -7
  786. package/dist/chunk-LSVKDUNM.js +0 -151
  787. package/dist/chunk-LSVKDUNM.js.map +0 -7
  788. package/dist/chunk-LTXNC6JX.js +0 -27
  789. package/dist/chunk-LTXNC6JX.js.map +0 -7
  790. package/dist/chunk-LUGTGPT6.js +0 -138
  791. package/dist/chunk-LUGTGPT6.js.map +0 -7
  792. package/dist/chunk-LVMK2GPM.js +0 -18
  793. package/dist/chunk-LVMK2GPM.js.map +0 -7
  794. package/dist/chunk-LXVPETLK.js +0 -1405
  795. package/dist/chunk-LXVPETLK.js.map +0 -7
  796. package/dist/chunk-LZNW24OB.js +0 -78
  797. package/dist/chunk-LZNW24OB.js.map +0 -7
  798. package/dist/chunk-LZQFDJNW.js +0 -300
  799. package/dist/chunk-LZQFDJNW.js.map +0 -7
  800. package/dist/chunk-M4VQPIF4.js +0 -5853
  801. package/dist/chunk-M4VQPIF4.js.map +0 -7
  802. package/dist/chunk-M64QE4QC.js +0 -64
  803. package/dist/chunk-M64QE4QC.js.map +0 -7
  804. package/dist/chunk-MAF6PSCJ.js +0 -44
  805. package/dist/chunk-MAF6PSCJ.js.map +0 -7
  806. package/dist/chunk-MBIX6Z7U.js +0 -80
  807. package/dist/chunk-MBIX6Z7U.js.map +0 -7
  808. package/dist/chunk-MDLLXMC3.js +0 -183
  809. package/dist/chunk-MDLLXMC3.js.map +0 -7
  810. package/dist/chunk-MEI5HTWV.js +0 -127
  811. package/dist/chunk-MEI5HTWV.js.map +0 -7
  812. package/dist/chunk-MH74AJ3A.js +0 -82
  813. package/dist/chunk-MH74AJ3A.js.map +0 -7
  814. package/dist/chunk-MIFIM4PI.js +0 -163
  815. package/dist/chunk-MIFIM4PI.js.map +0 -7
  816. package/dist/chunk-MISZB5QJ.js +0 -22
  817. package/dist/chunk-MISZB5QJ.js.map +0 -7
  818. package/dist/chunk-MJ27XQYG.js +0 -125
  819. package/dist/chunk-MJ27XQYG.js.map +0 -7
  820. package/dist/chunk-MJ2GW6SU.js +0 -163
  821. package/dist/chunk-MJ2GW6SU.js.map +0 -7
  822. package/dist/chunk-MLQY5SKR.js +0 -52
  823. package/dist/chunk-MLQY5SKR.js.map +0 -7
  824. package/dist/chunk-MTMHGC3G.js +0 -39
  825. package/dist/chunk-MTMHGC3G.js.map +0 -7
  826. package/dist/chunk-MWBAW3YV.js +0 -244
  827. package/dist/chunk-MWBAW3YV.js.map +0 -7
  828. package/dist/chunk-MYSK3SIM.js +0 -55
  829. package/dist/chunk-MYSK3SIM.js.map +0 -7
  830. package/dist/chunk-MZGGB2YT.js +0 -50
  831. package/dist/chunk-MZGGB2YT.js.map +0 -7
  832. package/dist/chunk-N46MIZXB.js +0 -154
  833. package/dist/chunk-N46MIZXB.js.map +0 -7
  834. package/dist/chunk-N53537P6.js +0 -31
  835. package/dist/chunk-N53537P6.js.map +0 -7
  836. package/dist/chunk-N5CTFOLX.js +0 -40
  837. package/dist/chunk-N5CTFOLX.js.map +0 -7
  838. package/dist/chunk-N5SNGZJV.js +0 -217
  839. package/dist/chunk-N5SNGZJV.js.map +0 -7
  840. package/dist/chunk-NGCTBYQ3.js +0 -181
  841. package/dist/chunk-NGCTBYQ3.js.map +0 -7
  842. package/dist/chunk-NIFG55CE.js +0 -52
  843. package/dist/chunk-NIFG55CE.js.map +0 -7
  844. package/dist/chunk-NJ63ALPX.js +0 -7
  845. package/dist/chunk-NJ63ALPX.js.map +0 -7
  846. package/dist/chunk-NMUX7SGU.js +0 -676
  847. package/dist/chunk-NMUX7SGU.js.map +0 -7
  848. package/dist/chunk-NO7GMLNU.js +0 -292
  849. package/dist/chunk-NO7GMLNU.js.map +0 -7
  850. package/dist/chunk-NTOGVX2Y.js +0 -92
  851. package/dist/chunk-NTOGVX2Y.js.map +0 -7
  852. package/dist/chunk-NZVHE4IT.js +0 -3101
  853. package/dist/chunk-NZVHE4IT.js.map +0 -7
  854. package/dist/chunk-O5IVKDX7.js +0 -30
  855. package/dist/chunk-O5IVKDX7.js.map +0 -7
  856. package/dist/chunk-O7ORICEC.js +0 -82
  857. package/dist/chunk-O7ORICEC.js.map +0 -7
  858. package/dist/chunk-OBMBAM3N.js +0 -73
  859. package/dist/chunk-OBMBAM3N.js.map +0 -7
  860. package/dist/chunk-OFWMLQMU.js +0 -7287
  861. package/dist/chunk-OFWMLQMU.js.map +0 -7
  862. package/dist/chunk-OJ3ZUKBI.js +0 -73
  863. package/dist/chunk-OJ3ZUKBI.js.map +0 -7
  864. package/dist/chunk-OJJBD5K3.js +0 -45
  865. package/dist/chunk-OJJBD5K3.js.map +0 -7
  866. package/dist/chunk-OJTHE4B7.js +0 -50
  867. package/dist/chunk-OJTHE4B7.js.map +0 -7
  868. package/dist/chunk-OKDOVX4B.js +0 -699
  869. package/dist/chunk-OKDOVX4B.js.map +0 -7
  870. package/dist/chunk-OOYPYBTA.js +0 -446
  871. package/dist/chunk-OOYPYBTA.js.map +0 -7
  872. package/dist/chunk-OQP4W4AR.js +0 -105
  873. package/dist/chunk-OQP4W4AR.js.map +0 -7
  874. package/dist/chunk-OVMDMCZ5.js +0 -241
  875. package/dist/chunk-OVMDMCZ5.js.map +0 -7
  876. package/dist/chunk-OVTT2EKA.js +0 -516
  877. package/dist/chunk-OVTT2EKA.js.map +0 -7
  878. package/dist/chunk-OVU43GJK.js +0 -63
  879. package/dist/chunk-OVU43GJK.js.map +0 -7
  880. package/dist/chunk-P3TMARA6.js +0 -18
  881. package/dist/chunk-P3TMARA6.js.map +0 -7
  882. package/dist/chunk-P5N63LBS.js +0 -94
  883. package/dist/chunk-P5N63LBS.js.map +0 -7
  884. package/dist/chunk-PARITZ7F.js +0 -28
  885. package/dist/chunk-PARITZ7F.js.map +0 -7
  886. package/dist/chunk-PBQK4KY4.js +0 -195
  887. package/dist/chunk-PBQK4KY4.js.map +0 -7
  888. package/dist/chunk-PLMOTQ42.js +0 -335
  889. package/dist/chunk-PLMOTQ42.js.map +0 -7
  890. package/dist/chunk-PSL2AHIA.js +0 -27
  891. package/dist/chunk-PSL2AHIA.js.map +0 -7
  892. package/dist/chunk-Q5QT7JBM.js +0 -92
  893. package/dist/chunk-Q5QT7JBM.js.map +0 -7
  894. package/dist/chunk-Q6H5OV2R.js +0 -180
  895. package/dist/chunk-Q6H5OV2R.js.map +0 -7
  896. package/dist/chunk-Q7WA5DCR.js +0 -62
  897. package/dist/chunk-Q7WA5DCR.js.map +0 -7
  898. package/dist/chunk-QAR5POXD.js +0 -472
  899. package/dist/chunk-QAR5POXD.js.map +0 -7
  900. package/dist/chunk-QATEENP2.js +0 -7
  901. package/dist/chunk-QATEENP2.js.map +0 -7
  902. package/dist/chunk-QDT24CIA.js +0 -485
  903. package/dist/chunk-QDT24CIA.js.map +0 -7
  904. package/dist/chunk-QI3NB7D5.js +0 -455
  905. package/dist/chunk-QI3NB7D5.js.map +0 -7
  906. package/dist/chunk-QIDAVXSX.js +0 -106
  907. package/dist/chunk-QIDAVXSX.js.map +0 -7
  908. package/dist/chunk-QKIGQVP2.js +0 -104
  909. package/dist/chunk-QKIGQVP2.js.map +0 -7
  910. package/dist/chunk-QNJENPK2.js +0 -81
  911. package/dist/chunk-QNJENPK2.js.map +0 -7
  912. package/dist/chunk-R5S76YR5.js +0 -12
  913. package/dist/chunk-R5S76YR5.js.map +0 -7
  914. package/dist/chunk-R7ZBOXPS.js +0 -163
  915. package/dist/chunk-R7ZBOXPS.js.map +0 -7
  916. package/dist/chunk-RAL3KX76.js +0 -239
  917. package/dist/chunk-RAL3KX76.js.map +0 -7
  918. package/dist/chunk-REVXXWAS.js +0 -31
  919. package/dist/chunk-REVXXWAS.js.map +0 -7
  920. package/dist/chunk-RFH4HRZP.js +0 -94
  921. package/dist/chunk-RFH4HRZP.js.map +0 -7
  922. package/dist/chunk-RHITG64O.js +0 -50
  923. package/dist/chunk-RHITG64O.js.map +0 -7
  924. package/dist/chunk-RK5HZFP6.js +0 -111
  925. package/dist/chunk-RK5HZFP6.js.map +0 -7
  926. package/dist/chunk-RNGAGYCL.js +0 -49
  927. package/dist/chunk-RNGAGYCL.js.map +0 -7
  928. package/dist/chunk-RPCVN3JA.js +0 -261
  929. package/dist/chunk-RPCVN3JA.js.map +0 -7
  930. package/dist/chunk-RQ26XXFS.js +0 -45
  931. package/dist/chunk-RQ26XXFS.js.map +0 -7
  932. package/dist/chunk-RQQE5DDT.js +0 -193
  933. package/dist/chunk-RQQE5DDT.js.map +0 -7
  934. package/dist/chunk-RSA7PKZH.js +0 -187
  935. package/dist/chunk-RSA7PKZH.js.map +0 -7
  936. package/dist/chunk-RTSINQ4T.js +0 -78
  937. package/dist/chunk-RTSINQ4T.js.map +0 -7
  938. package/dist/chunk-RVOD3ESA.js +0 -38
  939. package/dist/chunk-RVOD3ESA.js.map +0 -7
  940. package/dist/chunk-SAOUP24A.js +0 -70
  941. package/dist/chunk-SAOUP24A.js.map +0 -7
  942. package/dist/chunk-SFZL2TCV.js +0 -55
  943. package/dist/chunk-SFZL2TCV.js.map +0 -7
  944. package/dist/chunk-SH6Y4CGQ.js +0 -175
  945. package/dist/chunk-SH6Y4CGQ.js.map +0 -7
  946. package/dist/chunk-SHBAAFFH.js +0 -74
  947. package/dist/chunk-SHBAAFFH.js.map +0 -7
  948. package/dist/chunk-SJPFUXBV.js +0 -45
  949. package/dist/chunk-SJPFUXBV.js.map +0 -7
  950. package/dist/chunk-SLIUQWAR.js +0 -58
  951. package/dist/chunk-SLIUQWAR.js.map +0 -7
  952. package/dist/chunk-SPNSM6SB.js +0 -36
  953. package/dist/chunk-SPNSM6SB.js.map +0 -7
  954. package/dist/chunk-SQUHLLK5.js +0 -125
  955. package/dist/chunk-SQUHLLK5.js.map +0 -7
  956. package/dist/chunk-SSEX66OL.js +0 -39
  957. package/dist/chunk-SSEX66OL.js.map +0 -7
  958. package/dist/chunk-SWWK35VQ.js +0 -84
  959. package/dist/chunk-SWWK35VQ.js.map +0 -7
  960. package/dist/chunk-SX2LOHOX.js +0 -251
  961. package/dist/chunk-SX2LOHOX.js.map +0 -7
  962. package/dist/chunk-T72EMFTX.js +0 -74
  963. package/dist/chunk-T72EMFTX.js.map +0 -7
  964. package/dist/chunk-TA2QJPPG.js +0 -169
  965. package/dist/chunk-TA2QJPPG.js.map +0 -7
  966. package/dist/chunk-TC5ZVFV6.js +0 -292
  967. package/dist/chunk-TC5ZVFV6.js.map +0 -7
  968. package/dist/chunk-TFD7ZIYD.js +0 -105
  969. package/dist/chunk-TFD7ZIYD.js.map +0 -7
  970. package/dist/chunk-TFEETDNY.js +0 -78
  971. package/dist/chunk-TFEETDNY.js.map +0 -7
  972. package/dist/chunk-TH6ONRWT.js +0 -516
  973. package/dist/chunk-TH6ONRWT.js.map +0 -7
  974. package/dist/chunk-THM2QV25.js +0 -108
  975. package/dist/chunk-THM2QV25.js.map +0 -7
  976. package/dist/chunk-TMQMQ67T.js +0 -81
  977. package/dist/chunk-TMQMQ67T.js.map +0 -7
  978. package/dist/chunk-TPYWUZOR.js +0 -178
  979. package/dist/chunk-TPYWUZOR.js.map +0 -7
  980. package/dist/chunk-TRWT2N6Z.js +0 -15
  981. package/dist/chunk-TRWT2N6Z.js.map +0 -7
  982. package/dist/chunk-TTXEM54Y.js +0 -76
  983. package/dist/chunk-TTXEM54Y.js.map +0 -7
  984. package/dist/chunk-U2O4LE6S.js +0 -22
  985. package/dist/chunk-U2O4LE6S.js.map +0 -7
  986. package/dist/chunk-U44IVNP2.js +0 -91
  987. package/dist/chunk-U44IVNP2.js.map +0 -7
  988. package/dist/chunk-U4LVIY5F.js +0 -1405
  989. package/dist/chunk-U4LVIY5F.js.map +0 -7
  990. package/dist/chunk-U767LCSG.js +0 -78
  991. package/dist/chunk-U767LCSG.js.map +0 -7
  992. package/dist/chunk-U7GKLHU6.js +0 -120
  993. package/dist/chunk-U7GKLHU6.js.map +0 -7
  994. package/dist/chunk-UAB5P5QO.js +0 -60
  995. package/dist/chunk-UAB5P5QO.js.map +0 -7
  996. package/dist/chunk-UDDWLWKZ.js +0 -82
  997. package/dist/chunk-UDDWLWKZ.js.map +0 -7
  998. package/dist/chunk-UEHPJQBL.js +0 -38
  999. package/dist/chunk-UEHPJQBL.js.map +0 -7
  1000. package/dist/chunk-UIBV6IGR.js +0 -31
  1001. package/dist/chunk-UIBV6IGR.js.map +0 -7
  1002. package/dist/chunk-UIYFRUET.js +0 -16352
  1003. package/dist/chunk-UIYFRUET.js.map +0 -7
  1004. package/dist/chunk-UJS3TIVS.js +0 -52
  1005. package/dist/chunk-UJS3TIVS.js.map +0 -7
  1006. package/dist/chunk-UMMPB6FL.js +0 -506
  1007. package/dist/chunk-UMMPB6FL.js.map +0 -7
  1008. package/dist/chunk-UP42ACP7.js +0 -27
  1009. package/dist/chunk-UP42ACP7.js.map +0 -7
  1010. package/dist/chunk-UPEF7ETP.js +0 -92
  1011. package/dist/chunk-UPEF7ETP.js.map +0 -7
  1012. package/dist/chunk-UU5PSBSI.js +0 -176
  1013. package/dist/chunk-UU5PSBSI.js.map +0 -7
  1014. package/dist/chunk-UV63XYFU.js +0 -173
  1015. package/dist/chunk-UV63XYFU.js.map +0 -7
  1016. package/dist/chunk-UWPHOAOC.js +0 -29
  1017. package/dist/chunk-UWPHOAOC.js.map +0 -7
  1018. package/dist/chunk-UXDDOSJC.js +0 -52
  1019. package/dist/chunk-UXDDOSJC.js.map +0 -7
  1020. package/dist/chunk-V3VAOMCO.js +0 -465
  1021. package/dist/chunk-V3VAOMCO.js.map +0 -7
  1022. package/dist/chunk-VA7ENH2S.js +0 -38
  1023. package/dist/chunk-VA7ENH2S.js.map +0 -7
  1024. package/dist/chunk-VBDLTKI2.js +0 -130
  1025. package/dist/chunk-VBDLTKI2.js.map +0 -7
  1026. package/dist/chunk-VCWIKEJ7.js +0 -7
  1027. package/dist/chunk-VCWIKEJ7.js.map +0 -7
  1028. package/dist/chunk-VFPDFLVE.js +0 -516
  1029. package/dist/chunk-VFPDFLVE.js.map +0 -7
  1030. package/dist/chunk-VHG4FNIJ.js +0 -93
  1031. package/dist/chunk-VHG4FNIJ.js.map +0 -7
  1032. package/dist/chunk-VKOO6MIZ.js +0 -51
  1033. package/dist/chunk-VKOO6MIZ.js.map +0 -7
  1034. package/dist/chunk-VKXKRZG7.js +0 -62
  1035. package/dist/chunk-VKXKRZG7.js.map +0 -7
  1036. package/dist/chunk-VPQICZQR.js +0 -93
  1037. package/dist/chunk-VPQICZQR.js.map +0 -7
  1038. package/dist/chunk-VRBJNFPL.js +0 -114
  1039. package/dist/chunk-VRBJNFPL.js.map +0 -7
  1040. package/dist/chunk-VUOLPEUZ.js +0 -7
  1041. package/dist/chunk-VUOLPEUZ.js.map +0 -7
  1042. package/dist/chunk-VUU5KFH3.js +0 -38
  1043. package/dist/chunk-VUU5KFH3.js.map +0 -7
  1044. package/dist/chunk-VVBL5CFF.js +0 -7
  1045. package/dist/chunk-VVBL5CFF.js.map +0 -7
  1046. package/dist/chunk-VYZEQ6KY.js +0 -22
  1047. package/dist/chunk-VYZEQ6KY.js.map +0 -7
  1048. package/dist/chunk-W6SOBS7M.js +0 -138
  1049. package/dist/chunk-W6SOBS7M.js.map +0 -7
  1050. package/dist/chunk-WBPQVWSU.js +0 -198
  1051. package/dist/chunk-WBPQVWSU.js.map +0 -7
  1052. package/dist/chunk-WDOKKRTE.js +0 -7
  1053. package/dist/chunk-WDOKKRTE.js.map +0 -7
  1054. package/dist/chunk-WGXXKFN5.js +0 -7
  1055. package/dist/chunk-WGXXKFN5.js.map +0 -7
  1056. package/dist/chunk-WHPUUP3J.js +0 -25
  1057. package/dist/chunk-WHPUUP3J.js.map +0 -7
  1058. package/dist/chunk-WS6HWBKT.js +0 -30
  1059. package/dist/chunk-WS6HWBKT.js.map +0 -7
  1060. package/dist/chunk-XF7LD6VV.js +0 -122
  1061. package/dist/chunk-XF7LD6VV.js.map +0 -7
  1062. package/dist/chunk-XFTXM3RE.js +0 -64
  1063. package/dist/chunk-XFTXM3RE.js.map +0 -7
  1064. package/dist/chunk-XJABPO2T.js +0 -235
  1065. package/dist/chunk-XJABPO2T.js.map +0 -7
  1066. package/dist/chunk-XK6VF3H7.js +0 -3586
  1067. package/dist/chunk-XK6VF3H7.js.map +0 -7
  1068. package/dist/chunk-XOZPOHLG.js +0 -233
  1069. package/dist/chunk-XOZPOHLG.js.map +0 -7
  1070. package/dist/chunk-XQYIIPOJ.js +0 -266
  1071. package/dist/chunk-XQYIIPOJ.js.map +0 -7
  1072. package/dist/chunk-XR7DPSNX.js +0 -195
  1073. package/dist/chunk-XR7DPSNX.js.map +0 -7
  1074. package/dist/chunk-XYH4JC3U.js +0 -7
  1075. package/dist/chunk-XYH4JC3U.js.map +0 -7
  1076. package/dist/chunk-XZSAN55E.js +0 -58
  1077. package/dist/chunk-XZSAN55E.js.map +0 -7
  1078. package/dist/chunk-Y3KJR4OG.js +0 -64
  1079. package/dist/chunk-Y3KJR4OG.js.map +0 -7
  1080. package/dist/chunk-Y4JKH7FF.js +0 -45
  1081. package/dist/chunk-Y4JKH7FF.js.map +0 -7
  1082. package/dist/chunk-Y6CJN4ID.js +0 -31
  1083. package/dist/chunk-Y6CJN4ID.js.map +0 -7
  1084. package/dist/chunk-YABGJU5M.js +0 -271
  1085. package/dist/chunk-YABGJU5M.js.map +0 -7
  1086. package/dist/chunk-YB5UCHLN.js +0 -314
  1087. package/dist/chunk-YB5UCHLN.js.map +0 -7
  1088. package/dist/chunk-YEJH7ZC2.js +0 -34
  1089. package/dist/chunk-YEJH7ZC2.js.map +0 -7
  1090. package/dist/chunk-YF5DYD3X.js +0 -97
  1091. package/dist/chunk-YF5DYD3X.js.map +0 -7
  1092. package/dist/chunk-YFTE4H54.js +0 -44117
  1093. package/dist/chunk-YFTE4H54.js.map +0 -7
  1094. package/dist/chunk-YGVQZCE7.js +0 -30
  1095. package/dist/chunk-YGVQZCE7.js.map +0 -7
  1096. package/dist/chunk-YNHADHHS.js +0 -138
  1097. package/dist/chunk-YNHADHHS.js.map +0 -7
  1098. package/dist/chunk-YNJYMD43.js +0 -392
  1099. package/dist/chunk-YNJYMD43.js.map +0 -7
  1100. package/dist/chunk-YNYEQGVN.js +0 -251
  1101. package/dist/chunk-YNYEQGVN.js.map +0 -7
  1102. package/dist/chunk-YOAMBAM2.js +0 -70
  1103. package/dist/chunk-YOAMBAM2.js.map +0 -7
  1104. package/dist/chunk-YUPBD27Z.js +0 -70
  1105. package/dist/chunk-YUPBD27Z.js.map +0 -7
  1106. package/dist/chunk-YWE5AQPZ.js +0 -258
  1107. package/dist/chunk-YWE5AQPZ.js.map +0 -7
  1108. package/dist/chunk-YWHH3MB6.js +0 -1405
  1109. package/dist/chunk-YWHH3MB6.js.map +0 -7
  1110. package/dist/chunk-YXJ52FD5.js +0 -271
  1111. package/dist/chunk-YXJ52FD5.js.map +0 -7
  1112. package/dist/chunk-YZ6F5N7R.js +0 -455
  1113. package/dist/chunk-YZ6F5N7R.js.map +0 -7
  1114. package/dist/chunk-YZGORRQN.js +0 -3101
  1115. package/dist/chunk-YZGORRQN.js.map +0 -7
  1116. package/dist/chunk-Z6IVJ6ZW.js +0 -30
  1117. package/dist/chunk-Z6IVJ6ZW.js.map +0 -7
  1118. package/dist/chunk-ZFC44XJJ.js +0 -86
  1119. package/dist/chunk-ZFC44XJJ.js.map +0 -7
  1120. package/dist/chunk-ZFGRQIB6.js +0 -38
  1121. package/dist/chunk-ZFGRQIB6.js.map +0 -7
  1122. package/dist/chunk-ZGAUVPAB.js +0 -14
  1123. package/dist/chunk-ZGAUVPAB.js.map +0 -7
  1124. package/dist/chunk-ZGCATLM5.js +0 -18
  1125. package/dist/chunk-ZGCATLM5.js.map +0 -7
  1126. package/dist/chunk-ZJDJC5TP.js +0 -82
  1127. package/dist/chunk-ZJDJC5TP.js.map +0 -7
  1128. package/dist/chunk-ZJGZNPDK.js +0 -171
  1129. package/dist/chunk-ZJGZNPDK.js.map +0 -7
  1130. package/dist/chunk-ZJHBJWZX.js +0 -699
  1131. package/dist/chunk-ZJHBJWZX.js.map +0 -7
  1132. package/dist/chunk-ZNOTD65D.js +0 -95
  1133. package/dist/chunk-ZNOTD65D.js.map +0 -7
  1134. package/dist/chunk-ZQ2QIFXW.js +0 -122
  1135. package/dist/chunk-ZQ2QIFXW.js.map +0 -7
  1136. package/dist/chunk-ZRMXPQGY.js +0 -241
  1137. package/dist/chunk-ZRMXPQGY.js.map +0 -7
  1138. package/dist/chunk-ZSOPE7DO.js +0 -92
  1139. package/dist/chunk-ZSOPE7DO.js.map +0 -7
  1140. package/dist/chunk-ZVEE5IDC.js +0 -3101
  1141. package/dist/chunk-ZVEE5IDC.js.map +0 -7
  1142. package/dist/chunk-ZY247PXY.js +0 -135
  1143. package/dist/chunk-ZY247PXY.js.map +0 -7
  1144. package/dist/cli-metadata.js +0 -12
  1145. package/dist/cli-metadata.js.map +0 -7
  1146. package/dist/contract-api.js +0 -104
  1147. package/dist/contract-api.js.map +0 -7
  1148. package/dist/dist-DVBXHDB4.js +0 -549
  1149. package/dist/dist-DVBXHDB4.js.map +0 -7
  1150. package/dist/dist-F3K7S5SS.js +0 -549
  1151. package/dist/dist-F3K7S5SS.js.map +0 -7
  1152. package/dist/helper-api.js +0 -51
  1153. package/dist/helper-api.js.map +0 -7
  1154. package/dist/index.js +0 -70
  1155. package/dist/index.js.map +0 -7
  1156. package/dist/magic-string.es-ITIPPYGW.js +0 -1315
  1157. package/dist/magic-string.es-ITIPPYGW.js.map +0 -7
  1158. package/dist/magic-string.es-V5NOGTUV.js +0 -1315
  1159. package/dist/magic-string.es-V5NOGTUV.js.map +0 -7
  1160. package/dist/openclaw.plugin.json +0 -23
  1161. package/dist/package.json +0 -59
  1162. package/dist/plugin-entry.handlers.runtime-JLRK5XTV.js +0 -20
  1163. package/dist/plugin-entry.handlers.runtime-JLRK5XTV.js.map +0 -7
  1164. package/dist/plugin-entry.handlers.runtime-POD4CSHM.js +0 -20
  1165. package/dist/plugin-entry.handlers.runtime-POD4CSHM.js.map +0 -7
  1166. package/dist/plugin-entry.handlers.runtime-YOSG6V6U.js +0 -20
  1167. package/dist/plugin-entry.handlers.runtime-YOSG6V6U.js.map +0 -7
  1168. package/dist/runtime-api.js +0 -104
  1169. package/dist/runtime-api.js.map +0 -7
  1170. package/dist/rust-crypto-7KS7OJ3F.js +0 -5323
  1171. package/dist/rust-crypto-7KS7OJ3F.js.map +0 -7
  1172. package/dist/rust-crypto-H35BXWUU.js +0 -5323
  1173. package/dist/rust-crypto-H35BXWUU.js.map +0 -7
  1174. package/dist/secret-contract-api.js +0 -18
  1175. package/dist/secret-contract-api.js.map +0 -7
  1176. package/dist/setup-entry.js +0 -22
  1177. package/dist/setup-entry.js.map +0 -7
  1178. package/dist/src/account-selection.js +0 -19
  1179. package/dist/src/account-selection.js.map +0 -7
  1180. package/dist/src/actions.js +0 -24
  1181. package/dist/src/actions.js.map +0 -7
  1182. package/dist/src/approval-auth.js +0 -27
  1183. package/dist/src/approval-auth.js.map +0 -7
  1184. package/dist/src/approval-handler.runtime.js +0 -378
  1185. package/dist/src/approval-handler.runtime.js.map +0 -7
  1186. package/dist/src/approval-ids.js +0 -9
  1187. package/dist/src/approval-ids.js.map +0 -7
  1188. package/dist/src/approval-native.js +0 -28
  1189. package/dist/src/approval-native.js.map +0 -7
  1190. package/dist/src/approval-reactions.js +0 -20
  1191. package/dist/src/approval-reactions.js.map +0 -7
  1192. package/dist/src/auth-precedence.js +0 -8
  1193. package/dist/src/auth-precedence.js.map +0 -7
  1194. package/dist/src/channel-account-paths.js +0 -11
  1195. package/dist/src/channel-account-paths.js.map +0 -7
  1196. package/dist/src/channel.js +0 -74
  1197. package/dist/src/channel.js.map +0 -7
  1198. package/dist/src/channel.runtime.js +0 -82
  1199. package/dist/src/channel.runtime.js.map +0 -7
  1200. package/dist/src/cli-metadata.js +0 -8
  1201. package/dist/src/cli-metadata.js.map +0 -7
  1202. package/dist/src/cli.js +0 -936
  1203. package/dist/src/cli.js.map +0 -7
  1204. package/dist/src/config-adapter.js +0 -26
  1205. package/dist/src/config-adapter.js.map +0 -7
  1206. package/dist/src/config-schema.js +0 -8
  1207. package/dist/src/config-schema.js.map +0 -7
  1208. package/dist/src/directory-live.js +0 -35
  1209. package/dist/src/directory-live.js.map +0 -7
  1210. package/dist/src/doctor-contract.js +0 -11
  1211. package/dist/src/doctor-contract.js.map +0 -7
  1212. package/dist/src/doctor.js +0 -42
  1213. package/dist/src/doctor.js.map +0 -7
  1214. package/dist/src/env-vars.js +0 -12
  1215. package/dist/src/env-vars.js.map +0 -7
  1216. package/dist/src/exec-approval-resolver.js +0 -10
  1217. package/dist/src/exec-approval-resolver.js.map +0 -7
  1218. package/dist/src/exec-approvals.js +0 -51
  1219. package/dist/src/exec-approvals.js.map +0 -7
  1220. package/dist/src/group-mentions.js +0 -28
  1221. package/dist/src/group-mentions.js.map +0 -7
  1222. package/dist/src/legacy-crypto-inspector-availability.js +0 -8
  1223. package/dist/src/legacy-crypto-inspector-availability.js.map +0 -7
  1224. package/dist/src/legacy-crypto.js +0 -26
  1225. package/dist/src/legacy-crypto.js.map +0 -7
  1226. package/dist/src/legacy-state.js +0 -24
  1227. package/dist/src/legacy-state.js.map +0 -7
  1228. package/dist/src/matrix/account-config.js +0 -16
  1229. package/dist/src/matrix/account-config.js.map +0 -7
  1230. package/dist/src/matrix/accounts.js +0 -31
  1231. package/dist/src/matrix/accounts.js.map +0 -7
  1232. package/dist/src/matrix/actions/client.js +0 -40
  1233. package/dist/src/matrix/actions/client.js.map +0 -7
  1234. package/dist/src/matrix/actions/devices.js +0 -42
  1235. package/dist/src/matrix/actions/devices.js.map +0 -7
  1236. package/dist/src/matrix/actions/limits.js +0 -8
  1237. package/dist/src/matrix/actions/limits.js.map +0 -7
  1238. package/dist/src/matrix/actions/messages.js +0 -49
  1239. package/dist/src/matrix/actions/messages.js.map +0 -7
  1240. package/dist/src/matrix/actions/pins.js +0 -46
  1241. package/dist/src/matrix/actions/pins.js.map +0 -7
  1242. package/dist/src/matrix/actions/polls.js +0 -37
  1243. package/dist/src/matrix/actions/polls.js.map +0 -7
  1244. package/dist/src/matrix/actions/profile.js +0 -38
  1245. package/dist/src/matrix/actions/profile.js.map +0 -7
  1246. package/dist/src/matrix/actions/reactions.js +0 -40
  1247. package/dist/src/matrix/actions/reactions.js.map +0 -7
  1248. package/dist/src/matrix/actions/room.js +0 -40
  1249. package/dist/src/matrix/actions/room.js.map +0 -7
  1250. package/dist/src/matrix/actions/summary.js +0 -19
  1251. package/dist/src/matrix/actions/summary.js.map +0 -7
  1252. package/dist/src/matrix/actions/types.js +0 -13
  1253. package/dist/src/matrix/actions/types.js.map +0 -7
  1254. package/dist/src/matrix/actions/verification.js +0 -77
  1255. package/dist/src/matrix/actions/verification.js.map +0 -7
  1256. package/dist/src/matrix/actions.js +0 -126
  1257. package/dist/src/matrix/actions.js.map +0 -7
  1258. package/dist/src/matrix/active-client.js +0 -10
  1259. package/dist/src/matrix/active-client.js.map +0 -7
  1260. package/dist/src/matrix/async-lock.js +0 -8
  1261. package/dist/src/matrix/async-lock.js.map +0 -7
  1262. package/dist/src/matrix/backup-health.js +0 -10
  1263. package/dist/src/matrix/backup-health.js.map +0 -7
  1264. package/dist/src/matrix/client/config-runtime-api.js +0 -24
  1265. package/dist/src/matrix/client/config-runtime-api.js.map +0 -7
  1266. package/dist/src/matrix/client/config-secret-input.runtime.js +0 -11
  1267. package/dist/src/matrix/client/config-secret-input.runtime.js.map +0 -7
  1268. package/dist/src/matrix/client/config.js +0 -42
  1269. package/dist/src/matrix/client/config.js.map +0 -7
  1270. package/dist/src/matrix/client/create-client.js +0 -20
  1271. package/dist/src/matrix/client/create-client.js.map +0 -7
  1272. package/dist/src/matrix/client/env-auth.js +0 -26
  1273. package/dist/src/matrix/client/env-auth.js.map +0 -7
  1274. package/dist/src/matrix/client/file-sync-store.js +0 -23
  1275. package/dist/src/matrix/client/file-sync-store.js.map +0 -7
  1276. package/dist/src/matrix/client/logging.js +0 -17
  1277. package/dist/src/matrix/client/logging.js.map +0 -7
  1278. package/dist/src/matrix/client/migration-snapshot.runtime.js +0 -13
  1279. package/dist/src/matrix/client/migration-snapshot.runtime.js.map +0 -7
  1280. package/dist/src/matrix/client/private-network-host.js +0 -8
  1281. package/dist/src/matrix/client/private-network-host.js.map +0 -7
  1282. package/dist/src/matrix/client/runtime.js +0 -8
  1283. package/dist/src/matrix/client/runtime.js.map +0 -7
  1284. package/dist/src/matrix/client/shared.js +0 -34
  1285. package/dist/src/matrix/client/shared.js.map +0 -7
  1286. package/dist/src/matrix/client/storage.js +0 -26
  1287. package/dist/src/matrix/client/storage.js.map +0 -7
  1288. package/dist/src/matrix/client/types.js +0 -7
  1289. package/dist/src/matrix/client/types.js.map +0 -7
  1290. package/dist/src/matrix/client-bootstrap.js +0 -15
  1291. package/dist/src/matrix/client-bootstrap.js.map +0 -7
  1292. package/dist/src/matrix/client-resolver.test-helpers.js +0 -122
  1293. package/dist/src/matrix/client-resolver.test-helpers.js.map +0 -7
  1294. package/dist/src/matrix/client.js +0 -63
  1295. package/dist/src/matrix/client.js.map +0 -7
  1296. package/dist/src/matrix/config-paths.js +0 -12
  1297. package/dist/src/matrix/config-paths.js.map +0 -7
  1298. package/dist/src/matrix/config-update.js +0 -17
  1299. package/dist/src/matrix/config-update.js.map +0 -7
  1300. package/dist/src/matrix/credentials-read.js +0 -22
  1301. package/dist/src/matrix/credentials-read.js.map +0 -7
  1302. package/dist/src/matrix/credentials-write.runtime.js +0 -24
  1303. package/dist/src/matrix/credentials-write.runtime.js.map +0 -7
  1304. package/dist/src/matrix/credentials.js +0 -90
  1305. package/dist/src/matrix/credentials.js.map +0 -7
  1306. package/dist/src/matrix/deps.js +0 -12
  1307. package/dist/src/matrix/deps.js.map +0 -7
  1308. package/dist/src/matrix/device-health.js +0 -10
  1309. package/dist/src/matrix/device-health.js.map +0 -7
  1310. package/dist/src/matrix/direct-management.js +0 -18
  1311. package/dist/src/matrix/direct-management.js.map +0 -7
  1312. package/dist/src/matrix/direct-room.js +0 -18
  1313. package/dist/src/matrix/direct-room.js.map +0 -7
  1314. package/dist/src/matrix/draft-stream.js +0 -33
  1315. package/dist/src/matrix/draft-stream.js.map +0 -7
  1316. package/dist/src/matrix/encryption-guidance.js +0 -17
  1317. package/dist/src/matrix/encryption-guidance.js.map +0 -7
  1318. package/dist/src/matrix/errors.js +0 -12
  1319. package/dist/src/matrix/errors.js.map +0 -7
  1320. package/dist/src/matrix/format.js +0 -13
  1321. package/dist/src/matrix/format.js.map +0 -7
  1322. package/dist/src/matrix/legacy-crypto-inspector.js +0 -72
  1323. package/dist/src/matrix/legacy-crypto-inspector.js.map +0 -7
  1324. package/dist/src/matrix/media-errors.js +0 -12
  1325. package/dist/src/matrix/media-errors.js.map +0 -7
  1326. package/dist/src/matrix/media-text.js +0 -22
  1327. package/dist/src/matrix/media-text.js.map +0 -7
  1328. package/dist/src/matrix/monitor/access-state.js +0 -9
  1329. package/dist/src/matrix/monitor/access-state.js.map +0 -7
  1330. package/dist/src/matrix/monitor/ack-config.js +0 -10
  1331. package/dist/src/matrix/monitor/ack-config.js.map +0 -7
  1332. package/dist/src/matrix/monitor/allowlist.js +0 -12
  1333. package/dist/src/matrix/monitor/allowlist.js.map +0 -7
  1334. package/dist/src/matrix/monitor/auto-join.js +0 -9
  1335. package/dist/src/matrix/monitor/auto-join.js.map +0 -7
  1336. package/dist/src/matrix/monitor/config.js +0 -37
  1337. package/dist/src/matrix/monitor/config.js.map +0 -7
  1338. package/dist/src/matrix/monitor/context-summary.js +0 -13
  1339. package/dist/src/matrix/monitor/context-summary.js.map +0 -7
  1340. package/dist/src/matrix/monitor/direct.js +0 -13
  1341. package/dist/src/matrix/monitor/direct.js.map +0 -7
  1342. package/dist/src/matrix/monitor/events.js +0 -20
  1343. package/dist/src/matrix/monitor/events.js.map +0 -7
  1344. package/dist/src/matrix/monitor/handler.js +0 -76
  1345. package/dist/src/matrix/monitor/handler.js.map +0 -7
  1346. package/dist/src/matrix/monitor/handler.test-helpers.js +0 -268
  1347. package/dist/src/matrix/monitor/handler.test-helpers.js.map +0 -7
  1348. package/dist/src/matrix/monitor/inbound-dedupe.js +0 -17
  1349. package/dist/src/matrix/monitor/inbound-dedupe.js.map +0 -7
  1350. package/dist/src/matrix/monitor/index.js +0 -502
  1351. package/dist/src/matrix/monitor/index.js.map +0 -7
  1352. package/dist/src/matrix/monitor/legacy-crypto-restore.js +0 -99
  1353. package/dist/src/matrix/monitor/legacy-crypto-restore.js.map +0 -7
  1354. package/dist/src/matrix/monitor/location.js +0 -11
  1355. package/dist/src/matrix/monitor/location.js.map +0 -7
  1356. package/dist/src/matrix/monitor/media.js +0 -10
  1357. package/dist/src/matrix/monitor/media.js.map +0 -7
  1358. package/dist/src/matrix/monitor/mentions.js +0 -9
  1359. package/dist/src/matrix/monitor/mentions.js.map +0 -7
  1360. package/dist/src/matrix/monitor/reaction-events.js +0 -38
  1361. package/dist/src/matrix/monitor/reaction-events.js.map +0 -7
  1362. package/dist/src/matrix/monitor/recent-invite.js +0 -10
  1363. package/dist/src/matrix/monitor/recent-invite.js.map +0 -7
  1364. package/dist/src/matrix/monitor/replies.js +0 -33
  1365. package/dist/src/matrix/monitor/replies.js.map +0 -7
  1366. package/dist/src/matrix/monitor/reply-context.js +0 -14
  1367. package/dist/src/matrix/monitor/reply-context.js.map +0 -7
  1368. package/dist/src/matrix/monitor/room-history.js +0 -10
  1369. package/dist/src/matrix/monitor/room-history.js.map +0 -7
  1370. package/dist/src/matrix/monitor/room-info.js +0 -9
  1371. package/dist/src/matrix/monitor/room-info.js.map +0 -7
  1372. package/dist/src/matrix/monitor/rooms.js +0 -9
  1373. package/dist/src/matrix/monitor/rooms.js.map +0 -7
  1374. package/dist/src/matrix/monitor/route.js +0 -12
  1375. package/dist/src/matrix/monitor/route.js.map +0 -7
  1376. package/dist/src/matrix/monitor/runtime-api.js +0 -40
  1377. package/dist/src/matrix/monitor/runtime-api.js.map +0 -7
  1378. package/dist/src/matrix/monitor/startup-verification.js +0 -174
  1379. package/dist/src/matrix/monitor/startup-verification.js.map +0 -7
  1380. package/dist/src/matrix/monitor/startup.js +0 -9
  1381. package/dist/src/matrix/monitor/startup.js.map +0 -7
  1382. package/dist/src/matrix/monitor/status.js +0 -10
  1383. package/dist/src/matrix/monitor/status.js.map +0 -7
  1384. package/dist/src/matrix/monitor/sync-lifecycle.js +0 -9
  1385. package/dist/src/matrix/monitor/sync-lifecycle.js.map +0 -7
  1386. package/dist/src/matrix/monitor/task-runner.js +0 -8
  1387. package/dist/src/matrix/monitor/task-runner.js.map +0 -7
  1388. package/dist/src/matrix/monitor/thread-context.js +0 -14
  1389. package/dist/src/matrix/monitor/thread-context.js.map +0 -7
  1390. package/dist/src/matrix/monitor/threads.js +0 -16
  1391. package/dist/src/matrix/monitor/threads.js.map +0 -7
  1392. package/dist/src/matrix/monitor/types.js +0 -11
  1393. package/dist/src/matrix/monitor/types.js.map +0 -7
  1394. package/dist/src/matrix/monitor/verification-events.js +0 -13
  1395. package/dist/src/matrix/monitor/verification-events.js.map +0 -7
  1396. package/dist/src/matrix/monitor/verification-utils.js +0 -16
  1397. package/dist/src/matrix/monitor/verification-utils.js.map +0 -7
  1398. package/dist/src/matrix/outbound-media-runtime.js +0 -9
  1399. package/dist/src/matrix/outbound-media-runtime.js.map +0 -7
  1400. package/dist/src/matrix/poll-summary.js +0 -14
  1401. package/dist/src/matrix/poll-summary.js.map +0 -7
  1402. package/dist/src/matrix/poll-types.js +0 -55
  1403. package/dist/src/matrix/poll-types.js.map +0 -7
  1404. package/dist/src/matrix/probe.js +0 -9
  1405. package/dist/src/matrix/probe.js.map +0 -7
  1406. package/dist/src/matrix/probe.runtime.js +0 -30
  1407. package/dist/src/matrix/probe.runtime.js.map +0 -7
  1408. package/dist/src/matrix/profile.js +0 -16
  1409. package/dist/src/matrix/profile.js.map +0 -7
  1410. package/dist/src/matrix/reaction-common.js +0 -26
  1411. package/dist/src/matrix/reaction-common.js.map +0 -7
  1412. package/dist/src/matrix/sdk/crypto-bootstrap.js +0 -15
  1413. package/dist/src/matrix/sdk/crypto-bootstrap.js.map +0 -7
  1414. package/dist/src/matrix/sdk/crypto-facade.js +0 -8
  1415. package/dist/src/matrix/sdk/crypto-facade.js.map +0 -7
  1416. package/dist/src/matrix/sdk/crypto-node.runtime.js +0 -14
  1417. package/dist/src/matrix/sdk/crypto-node.runtime.js.map +0 -7
  1418. package/dist/src/matrix/sdk/crypto-runtime.js +0 -84
  1419. package/dist/src/matrix/sdk/crypto-runtime.js.map +0 -7
  1420. package/dist/src/matrix/sdk/decrypt-bridge.js +0 -11
  1421. package/dist/src/matrix/sdk/decrypt-bridge.js.map +0 -7
  1422. package/dist/src/matrix/sdk/event-helpers.js +0 -12
  1423. package/dist/src/matrix/sdk/event-helpers.js.map +0 -7
  1424. package/dist/src/matrix/sdk/http-client.js +0 -13
  1425. package/dist/src/matrix/sdk/http-client.js.map +0 -7
  1426. package/dist/src/matrix/sdk/idb-persistence-lock.js +0 -12
  1427. package/dist/src/matrix/sdk/idb-persistence-lock.js.map +0 -7
  1428. package/dist/src/matrix/sdk/idb-persistence.js +0 -13
  1429. package/dist/src/matrix/sdk/idb-persistence.js.map +0 -7
  1430. package/dist/src/matrix/sdk/idb-persistence.test-helpers.js +0 -83
  1431. package/dist/src/matrix/sdk/idb-persistence.test-helpers.js.map +0 -7
  1432. package/dist/src/matrix/sdk/logger.js +0 -15
  1433. package/dist/src/matrix/sdk/logger.js.map +0 -7
  1434. package/dist/src/matrix/sdk/read-response-with-limit.js +0 -8
  1435. package/dist/src/matrix/sdk/read-response-with-limit.js.map +0 -7
  1436. package/dist/src/matrix/sdk/recovery-key-store.js +0 -14
  1437. package/dist/src/matrix/sdk/recovery-key-store.js.map +0 -7
  1438. package/dist/src/matrix/sdk/transport.js +0 -13
  1439. package/dist/src/matrix/sdk/transport.js.map +0 -7
  1440. package/dist/src/matrix/sdk/types.js +0 -7
  1441. package/dist/src/matrix/sdk/types.js.map +0 -7
  1442. package/dist/src/matrix/sdk/verification-manager.js +0 -11
  1443. package/dist/src/matrix/sdk/verification-manager.js.map +0 -7
  1444. package/dist/src/matrix/sdk/verification-status.js +0 -12
  1445. package/dist/src/matrix/sdk/verification-status.js.map +0 -7
  1446. package/dist/src/matrix/sdk.js +0 -1375
  1447. package/dist/src/matrix/sdk.js.map +0 -7
  1448. package/dist/src/matrix/send/client.js +0 -14
  1449. package/dist/src/matrix/send/client.js.map +0 -7
  1450. package/dist/src/matrix/send/formatting.js +0 -29
  1451. package/dist/src/matrix/send/formatting.js.map +0 -7
  1452. package/dist/src/matrix/send/media.js +0 -26
  1453. package/dist/src/matrix/send/media.js.map +0 -7
  1454. package/dist/src/matrix/send/targets.js +0 -15
  1455. package/dist/src/matrix/send/targets.js.map +0 -7
  1456. package/dist/src/matrix/send/types.js +0 -17
  1457. package/dist/src/matrix/send/types.js.map +0 -7
  1458. package/dist/src/matrix/send.js +0 -51
  1459. package/dist/src/matrix/send.js.map +0 -7
  1460. package/dist/src/matrix/session-store-metadata.js +0 -15
  1461. package/dist/src/matrix/session-store-metadata.js.map +0 -7
  1462. package/dist/src/matrix/startup-abort.js +0 -14
  1463. package/dist/src/matrix/startup-abort.js.map +0 -7
  1464. package/dist/src/matrix/sync-state.js +0 -12
  1465. package/dist/src/matrix/sync-state.js.map +0 -7
  1466. package/dist/src/matrix/target-ids.js +0 -20
  1467. package/dist/src/matrix/target-ids.js.map +0 -7
  1468. package/dist/src/matrix/thread-bindings-shared.js +0 -34
  1469. package/dist/src/matrix/thread-bindings-shared.js.map +0 -7
  1470. package/dist/src/matrix/thread-bindings.js +0 -49
  1471. package/dist/src/matrix/thread-bindings.js.map +0 -7
  1472. package/dist/src/matrix-migration.runtime.js +0 -45
  1473. package/dist/src/matrix-migration.runtime.js.map +0 -7
  1474. package/dist/src/migration-config.js +0 -29
  1475. package/dist/src/migration-config.js.map +0 -7
  1476. package/dist/src/migration-snapshot-backup.js +0 -12
  1477. package/dist/src/migration-snapshot-backup.js.map +0 -7
  1478. package/dist/src/migration-snapshot.js +0 -38
  1479. package/dist/src/migration-snapshot.js.map +0 -7
  1480. package/dist/src/onboarding.js +0 -43
  1481. package/dist/src/onboarding.js.map +0 -7
  1482. package/dist/src/onboarding.test-harness.js +0 -124
  1483. package/dist/src/onboarding.test-harness.js.map +0 -7
  1484. package/dist/src/outbound.js +0 -33
  1485. package/dist/src/outbound.js.map +0 -7
  1486. package/dist/src/plugin-entry.runtime.js +0 -15
  1487. package/dist/src/plugin-entry.runtime.js.map +0 -7
  1488. package/dist/src/profile-update.js +0 -41
  1489. package/dist/src/profile-update.js.map +0 -7
  1490. package/dist/src/record-shared.js +0 -8
  1491. package/dist/src/record-shared.js.map +0 -7
  1492. package/dist/src/resolve-targets.js +0 -34
  1493. package/dist/src/resolve-targets.js.map +0 -7
  1494. package/dist/src/resolver.js +0 -8
  1495. package/dist/src/resolver.js.map +0 -7
  1496. package/dist/src/runtime-api.js +0 -120
  1497. package/dist/src/runtime-api.js.map +0 -7
  1498. package/dist/src/runtime.js +0 -10
  1499. package/dist/src/runtime.js.map +0 -7
  1500. package/dist/src/secret-contract.js +0 -13
  1501. package/dist/src/secret-contract.js.map +0 -7
  1502. package/dist/src/session-route.js +0 -25
  1503. package/dist/src/session-route.js.map +0 -7
  1504. package/dist/src/setup-bootstrap.js +0 -124
  1505. package/dist/src/setup-bootstrap.js.map +0 -7
  1506. package/dist/src/setup-config.js +0 -28
  1507. package/dist/src/setup-config.js.map +0 -7
  1508. package/dist/src/setup-contract.js +0 -16
  1509. package/dist/src/setup-contract.js.map +0 -7
  1510. package/dist/src/setup-core.js +0 -25
  1511. package/dist/src/setup-core.js.map +0 -7
  1512. package/dist/src/setup-surface.js +0 -45
  1513. package/dist/src/setup-surface.js.map +0 -7
  1514. package/dist/src/startup-maintenance.js +0 -29
  1515. package/dist/src/startup-maintenance.js.map +0 -7
  1516. package/dist/src/storage-paths.js +0 -24
  1517. package/dist/src/storage-paths.js.map +0 -7
  1518. package/dist/src/test-helpers.js +0 -49
  1519. package/dist/src/test-helpers.js.map +0 -7
  1520. package/dist/src/test-mocks.js +0 -40
  1521. package/dist/src/test-mocks.js.map +0 -7
  1522. package/dist/src/test-runtime.js +0 -65
  1523. package/dist/src/test-runtime.js.map +0 -7
  1524. package/dist/src/tool-actions.js +0 -68
  1525. package/dist/src/tool-actions.js.map +0 -7
  1526. package/dist/src/tool-actions.runtime.js +0 -73
  1527. package/dist/src/tool-actions.runtime.js.map +0 -7
  1528. package/dist/src/types.js +0 -7
  1529. package/dist/src/types.js.map +0 -7
  1530. package/dist/test-api.js +0 -82
  1531. package/dist/test-api.js.map +0 -7
  1532. package/dist/thread-bindings-runtime.js +0 -15
  1533. package/dist/thread-bindings-runtime.js.map +0 -7
@@ -1,1405 +0,0 @@
1
- import {
2
- createMatrixThreadContextResolver
3
- } from "./chunk-ZSOPE7DO.js";
4
- import {
5
- deliverMatrixReplies
6
- } from "./chunk-AUUABFHL.js";
7
- import {
8
- createMatrixReplyContextResolver
9
- } from "./chunk-SHBAAFFH.js";
10
- import {
11
- createRoomHistoryTracker
12
- } from "./chunk-TPYWUZOR.js";
13
- import {
14
- resolveMatrixLocation
15
- } from "./chunk-VPQICZQR.js";
16
- import {
17
- downloadMatrixMedia
18
- } from "./chunk-SWWK35VQ.js";
19
- import {
20
- resolveMentions
21
- } from "./chunk-LUGTGPT6.js";
22
- import {
23
- handleInboundMatrixReaction
24
- } from "./chunk-LMD5UTKM.js";
25
- import {
26
- resolveMatrixInboundRoute
27
- } from "./chunk-YNHADHHS.js";
28
- import {
29
- resolveMatrixReplyToEventId,
30
- resolveMatrixThreadRootId,
31
- resolveMatrixThreadRouting
32
- } from "./chunk-JU2Y33DB.js";
33
- import {
34
- isMatrixVerificationRoomMessage
35
- } from "./chunk-FK6RGYBB.js";
36
- import {
37
- EventType,
38
- RelationType
39
- } from "./chunk-CPLEC5LJ.js";
40
- import {
41
- resolveMatrixMonitorAccessState
42
- } from "./chunk-KAWXMSYC.js";
43
- import {
44
- resolveMatrixAckReactionConfig
45
- } from "./chunk-WS6HWBKT.js";
46
- import {
47
- createMatrixDraftStream
48
- } from "./chunk-HSXRCP25.js";
49
- import {
50
- fetchMatrixPollSnapshot
51
- } from "./chunk-FFCG5NRU.js";
52
- import {
53
- formatMatrixMediaTooLargeText,
54
- formatMatrixMediaUnavailableText,
55
- formatMatrixMessageText,
56
- resolveMatrixMessageAttachment,
57
- resolveMatrixMessageBody
58
- } from "./chunk-VBDLTKI2.js";
59
- import {
60
- resolveMatrixStoredSessionMeta
61
- } from "./chunk-4L2QI6AY.js";
62
- import {
63
- resolveMatrixRoomConfig
64
- } from "./chunk-F6APWSAA.js";
65
- import {
66
- createReplyPrefixOptions,
67
- createTypingCallbacks,
68
- ensureConfiguredAcpBindingReady,
69
- formatAllowlistMatchMeta,
70
- getAgentScopedMediaLocalRoots,
71
- logInboundDrop,
72
- logTypingFailure
73
- } from "./chunk-F43CC2X2.js";
74
- import {
75
- formatMatrixErrorMessage
76
- } from "./chunk-H5MLA6PA.js";
77
- import {
78
- resolveMatrixAllowListMatch
79
- } from "./chunk-U44IVNP2.js";
80
- import {
81
- editMessageMatrix,
82
- reactMatrixMessage,
83
- sendMessageMatrix,
84
- sendReadReceiptMatrix,
85
- sendTypingMatrix
86
- } from "./chunk-QAR5POXD.js";
87
- import {
88
- MATRIX_OPENCLAW_FINALIZED_PREVIEW_KEY
89
- } from "./chunk-JGIZPU2Y.js";
90
- import {
91
- formatPollAsText,
92
- isPollEventType,
93
- isPollStartType,
94
- parsePollStartContent
95
- } from "./chunk-LZQFDJNW.js";
96
- import {
97
- isMatrixMediaSizeLimitError
98
- } from "./chunk-I7JJQ4BQ.js";
99
- import {
100
- init_shims
101
- } from "./chunk-G4TIS2SC.js";
102
-
103
- // src/matrix/monitor/handler.ts
104
- init_shims();
105
- import { resolveControlCommandGate } from "openclaw/plugin-sdk/command-auth";
106
- import {
107
- loadSessionStore,
108
- resolveChannelContextVisibilityMode,
109
- resolveSessionStoreEntry
110
- } from "openclaw/plugin-sdk/config-runtime";
111
- import { getSessionBindingService } from "openclaw/plugin-sdk/conversation-runtime";
112
- import { evaluateSupplementalContextVisibility } from "openclaw/plugin-sdk/security-runtime";
113
- import { normalizeOptionalString } from "openclaw/plugin-sdk/text-runtime";
114
- var ALLOW_FROM_STORE_CACHE_TTL_MS = 3e4;
115
- var PAIRING_REPLY_COOLDOWN_MS = 5 * 6e4;
116
- var MAX_TRACKED_PAIRING_REPLY_SENDERS = 512;
117
- var MAX_TRACKED_SHARED_DM_CONTEXT_NOTICES = 512;
118
- async function redactMatrixDraftEvent(client, roomId, draftEventId) {
119
- await client.redactEvent(roomId, draftEventId).catch(() => {
120
- });
121
- }
122
- function buildMatrixFinalizedPreviewContent() {
123
- return { [MATRIX_OPENCLAW_FINALIZED_PREVIEW_KEY]: true };
124
- }
125
- function resolveMatrixMentionPrecheckText(params) {
126
- if (params.locationText?.trim()) {
127
- return params.locationText.trim();
128
- }
129
- if (typeof params.content.body === "string" && params.content.body.trim()) {
130
- return params.content.body.trim();
131
- }
132
- if (isPollStartType(params.eventType)) {
133
- const parsed = parsePollStartContent(params.content);
134
- if (parsed) {
135
- return formatPollAsText(parsed);
136
- }
137
- }
138
- return "";
139
- }
140
- function resolveMatrixInboundBodyText(params) {
141
- if (params.mediaPlaceholder) {
142
- return params.rawBody || params.mediaPlaceholder;
143
- }
144
- if (!params.mediaDownloadFailed || !params.hadMediaUrl) {
145
- return params.rawBody;
146
- }
147
- if (params.mediaSizeLimitExceeded) {
148
- return formatMatrixMediaTooLargeText({
149
- body: params.rawBody,
150
- filename: params.filename,
151
- msgtype: params.msgtype
152
- });
153
- }
154
- return formatMatrixMediaUnavailableText({
155
- body: params.rawBody,
156
- filename: params.filename,
157
- msgtype: params.msgtype
158
- });
159
- }
160
- function markTrackedRoomIfFirst(set, roomId) {
161
- if (set.has(roomId)) {
162
- return false;
163
- }
164
- set.add(roomId);
165
- if (set.size > MAX_TRACKED_SHARED_DM_CONTEXT_NOTICES) {
166
- const oldest = set.keys().next().value;
167
- if (typeof oldest === "string") {
168
- set.delete(oldest);
169
- }
170
- }
171
- return true;
172
- }
173
- function resolveMatrixSharedDmContextNotice(params) {
174
- if ((params.dmSessionScope ?? "per-user") === "per-room") {
175
- return null;
176
- }
177
- if (params.sentRooms.has(params.roomId)) {
178
- return null;
179
- }
180
- try {
181
- const store = loadSessionStore(params.storePath);
182
- const currentSession = resolveMatrixStoredSessionMeta(
183
- resolveSessionStoreEntry({
184
- store,
185
- sessionKey: params.sessionKey
186
- }).existing
187
- );
188
- if (!currentSession) {
189
- return null;
190
- }
191
- if (currentSession.channel && currentSession.channel !== "matrix") {
192
- return null;
193
- }
194
- if (currentSession.accountId && currentSession.accountId !== params.accountId) {
195
- return null;
196
- }
197
- if (!currentSession.directUserId) {
198
- return null;
199
- }
200
- if (!currentSession.roomId || currentSession.roomId === params.roomId) {
201
- return null;
202
- }
203
- return [
204
- "This Matrix DM is sharing a session with another Matrix DM room.",
205
- "Use /focus here for a one-off isolated thread session when thread bindings are enabled, or set",
206
- "channels.lobi.dm.sessionScope to per-room to isolate each Matrix DM room."
207
- ].join(" ");
208
- } catch (err) {
209
- params.logVerboseMessage(
210
- `matrix: failed checking shared DM session notice room=${params.roomId} (${String(err)})`
211
- );
212
- return null;
213
- }
214
- }
215
- function resolveMatrixPendingHistoryText(params) {
216
- if (params.mentionPrecheckText) {
217
- return params.mentionPrecheckText;
218
- }
219
- if (!params.mediaUrl) {
220
- return "";
221
- }
222
- const body = typeof params.content.body === "string" ? params.content.body.trim() : void 0;
223
- const filename = typeof params.content.filename === "string" ? params.content.filename.trim() : void 0;
224
- const msgtype = typeof params.content.msgtype === "string" ? params.content.msgtype : void 0;
225
- return formatMatrixMessageText({
226
- body: resolveMatrixMessageBody({ body, filename, msgtype }),
227
- attachment: resolveMatrixMessageAttachment({ body, filename, msgtype })
228
- }) ?? "";
229
- }
230
- function resolveMatrixAllowBotsMode(value) {
231
- if (value === true) {
232
- return "all";
233
- }
234
- if (value === "mentions") {
235
- return "mentions";
236
- }
237
- return "off";
238
- }
239
- function createMatrixRoomMessageHandler(params) {
240
- const {
241
- client,
242
- core,
243
- cfg,
244
- accountId,
245
- runtime,
246
- logger,
247
- logVerboseMessage,
248
- allowFrom,
249
- groupAllowFrom = [],
250
- roomsConfig,
251
- accountAllowBots,
252
- configuredBotUserIds = /* @__PURE__ */ new Set(),
253
- groupPolicy,
254
- replyToMode,
255
- threadReplies,
256
- dmThreadReplies,
257
- dmSessionScope,
258
- streaming,
259
- blockStreamingEnabled,
260
- dmEnabled,
261
- dmPolicy,
262
- textLimit,
263
- mediaMaxBytes,
264
- historyLimit,
265
- startupMs,
266
- startupGraceMs,
267
- dropPreStartupMessages,
268
- inboundDeduper,
269
- directTracker,
270
- getRoomInfo,
271
- getMemberDisplayName,
272
- needsRoomAliasesForConfig
273
- } = params;
274
- const contextVisibilityMode = resolveChannelContextVisibilityMode({
275
- cfg,
276
- channel: "matrix",
277
- accountId
278
- });
279
- let cachedStoreAllowFrom = null;
280
- const pairingReplySentAtMsBySender = /* @__PURE__ */ new Map();
281
- const resolveThreadContext = createMatrixThreadContextResolver({
282
- client,
283
- getMemberDisplayName,
284
- logVerboseMessage
285
- });
286
- const resolveReplyContext = createMatrixReplyContextResolver({
287
- client,
288
- getMemberDisplayName,
289
- logVerboseMessage
290
- });
291
- const roomHistoryTracker = createRoomHistoryTracker();
292
- const roomIngressTails = /* @__PURE__ */ new Map();
293
- const sharedDmContextNoticeRooms = /* @__PURE__ */ new Set();
294
- const readStoreAllowFrom = async () => {
295
- const now = Date.now();
296
- if (cachedStoreAllowFrom && now < cachedStoreAllowFrom.expiresAtMs) {
297
- return cachedStoreAllowFrom.value;
298
- }
299
- const value = await core.channel.pairing.readAllowFromStore({
300
- channel: "matrix",
301
- env: process.env,
302
- accountId
303
- }).catch(() => []);
304
- cachedStoreAllowFrom = {
305
- value,
306
- expiresAtMs: now + ALLOW_FROM_STORE_CACHE_TTL_MS
307
- };
308
- return value;
309
- };
310
- const shouldSendPairingReply = (senderId, created) => {
311
- const now = Date.now();
312
- if (created) {
313
- pairingReplySentAtMsBySender.set(senderId, now);
314
- return true;
315
- }
316
- const lastSentAtMs = pairingReplySentAtMsBySender.get(senderId);
317
- if (typeof lastSentAtMs === "number" && now - lastSentAtMs < PAIRING_REPLY_COOLDOWN_MS) {
318
- return false;
319
- }
320
- pairingReplySentAtMsBySender.set(senderId, now);
321
- if (pairingReplySentAtMsBySender.size > MAX_TRACKED_PAIRING_REPLY_SENDERS) {
322
- const oldestSender = pairingReplySentAtMsBySender.keys().next().value;
323
- if (typeof oldestSender === "string") {
324
- pairingReplySentAtMsBySender.delete(oldestSender);
325
- }
326
- }
327
- return true;
328
- };
329
- const runRoomIngress = async (roomId, task) => {
330
- const previous = roomIngressTails.get(roomId) ?? Promise.resolve();
331
- let releaseCurrent;
332
- const current = new Promise((resolve) => {
333
- releaseCurrent = resolve;
334
- });
335
- const chain = previous.catch(() => {
336
- }).then(() => current);
337
- roomIngressTails.set(roomId, chain);
338
- await previous.catch(() => {
339
- });
340
- try {
341
- return await task();
342
- } finally {
343
- releaseCurrent();
344
- if (roomIngressTails.get(roomId) === chain) {
345
- roomIngressTails.delete(roomId);
346
- }
347
- }
348
- };
349
- return async (roomId, event) => {
350
- const eventId = typeof event.event_id === "string" ? event.event_id.trim() : "";
351
- let claimedInboundEvent = false;
352
- let draftStreamRef;
353
- let draftConsumed = false;
354
- try {
355
- const eventType = event.type;
356
- if (eventType === EventType.RoomMessageEncrypted) {
357
- return;
358
- }
359
- const isPollEvent = isPollEventType(eventType);
360
- const isReactionEvent = eventType === EventType.Reaction;
361
- const locationContent = event.content;
362
- const isLocationEvent = eventType === EventType.Location || eventType === EventType.RoomMessage && locationContent.msgtype === EventType.Location;
363
- if (eventType !== EventType.RoomMessage && !isPollEvent && !isLocationEvent && !isReactionEvent) {
364
- return;
365
- }
366
- logVerboseMessage(
367
- `matrix: inbound event room=${roomId} type=${eventType} id=${event.event_id ?? "unknown"}`
368
- );
369
- if (event.unsigned?.redacted_because) {
370
- return;
371
- }
372
- const senderId = event.sender;
373
- if (!senderId) {
374
- return;
375
- }
376
- const eventTs = event.origin_server_ts;
377
- const eventAge = event.unsigned?.age;
378
- const commitInboundEventIfClaimed = async () => {
379
- if (!claimedInboundEvent || !inboundDeduper || !eventId) {
380
- return;
381
- }
382
- await inboundDeduper.commitEvent({ roomId, eventId });
383
- claimedInboundEvent = false;
384
- };
385
- const readIngressPrefix = async () => {
386
- const selfUserId = await client.getUserId();
387
- if (senderId === selfUserId) {
388
- return void 0;
389
- }
390
- if (dropPreStartupMessages) {
391
- if (typeof eventTs === "number" && eventTs < startupMs - startupGraceMs) {
392
- return void 0;
393
- }
394
- if (typeof eventTs !== "number" && typeof eventAge === "number" && eventAge > startupGraceMs) {
395
- return void 0;
396
- }
397
- }
398
- let content = event.content;
399
- if (eventType === EventType.RoomMessage && isMatrixVerificationRoomMessage({
400
- msgtype: content.msgtype,
401
- body: content.body
402
- })) {
403
- logVerboseMessage(`matrix: skip verification/system room message room=${roomId}`);
404
- return void 0;
405
- }
406
- const locationPayload2 = resolveMatrixLocation({
407
- eventType,
408
- content
409
- });
410
- const relates = content["m.relates_to"];
411
- if (relates && "rel_type" in relates && relates.rel_type === RelationType.Replace) {
412
- return void 0;
413
- }
414
- if (eventId && inboundDeduper) {
415
- claimedInboundEvent = inboundDeduper.claimEvent({ roomId, eventId });
416
- if (!claimedInboundEvent) {
417
- logVerboseMessage(`matrix: skip duplicate inbound event room=${roomId} id=${eventId}`);
418
- return void 0;
419
- }
420
- }
421
- const isDirectMessage2 = await directTracker.isDirectMessage({
422
- roomId,
423
- senderId,
424
- selfUserId
425
- });
426
- return { content, isDirectMessage: isDirectMessage2, locationPayload: locationPayload2, selfUserId };
427
- };
428
- const continueIngress = async (params2) => {
429
- let content = params2.content;
430
- const isDirectMessage2 = params2.isDirectMessage;
431
- const isRoom2 = !isDirectMessage2;
432
- const { locationPayload: locationPayload2, selfUserId } = params2;
433
- if (isRoom2 && groupPolicy === "disabled") {
434
- await commitInboundEventIfClaimed();
435
- return void 0;
436
- }
437
- const roomInfoForConfig = isRoom2 && needsRoomAliasesForConfig ? await getRoomInfo(roomId, { includeAliases: true }) : void 0;
438
- const roomAliasesForConfig = roomInfoForConfig ? [roomInfoForConfig.canonicalAlias ?? "", ...roomInfoForConfig.altAliases].filter(
439
- Boolean
440
- ) : [];
441
- const roomConfigInfo = isRoom2 ? resolveMatrixRoomConfig({
442
- rooms: roomsConfig,
443
- roomId,
444
- aliases: roomAliasesForConfig
445
- }) : void 0;
446
- const roomConfig2 = roomConfigInfo?.config;
447
- const allowBotsMode = resolveMatrixAllowBotsMode(roomConfig2?.allowBots ?? accountAllowBots);
448
- const isConfiguredBotSender = configuredBotUserIds.has(senderId);
449
- const roomMatchMeta = roomConfigInfo ? `matchKey=${roomConfigInfo.matchKey ?? "none"} matchSource=${roomConfigInfo.matchSource ?? "none"}` : "matchKey=none matchSource=none";
450
- if (isConfiguredBotSender && allowBotsMode === "off") {
451
- logVerboseMessage(
452
- `matrix: drop configured bot sender=${senderId} (allowBots=false${isDirectMessage2 ? "" : `, ${roomMatchMeta}`})`
453
- );
454
- await commitInboundEventIfClaimed();
455
- return void 0;
456
- }
457
- if (isRoom2 && roomConfig2 && !roomConfigInfo?.allowed) {
458
- logVerboseMessage(`matrix: room disabled room=${roomId} (${roomMatchMeta})`);
459
- await commitInboundEventIfClaimed();
460
- return void 0;
461
- }
462
- if (isRoom2 && groupPolicy === "allowlist") {
463
- if (!roomConfigInfo?.allowlistConfigured) {
464
- logVerboseMessage(`matrix: drop room message (no allowlist, ${roomMatchMeta})`);
465
- await commitInboundEventIfClaimed();
466
- return void 0;
467
- }
468
- if (!roomConfig2) {
469
- logVerboseMessage(`matrix: drop room message (not in allowlist, ${roomMatchMeta})`);
470
- await commitInboundEventIfClaimed();
471
- return void 0;
472
- }
473
- }
474
- let senderNamePromise = null;
475
- const getSenderName = async () => {
476
- senderNamePromise ??= getMemberDisplayName(roomId, senderId).catch(() => senderId);
477
- return await senderNamePromise;
478
- };
479
- const storeAllowFrom = await readStoreAllowFrom();
480
- const roomUsers = roomConfig2?.users ?? [];
481
- const accessState = resolveMatrixMonitorAccessState({
482
- allowFrom,
483
- storeAllowFrom,
484
- groupAllowFrom,
485
- roomUsers,
486
- senderId,
487
- isRoom: isRoom2
488
- });
489
- const {
490
- effectiveGroupAllowFrom: effectiveGroupAllowFrom2,
491
- effectiveRoomUsers: effectiveRoomUsers2,
492
- groupAllowConfigured,
493
- directAllowMatch,
494
- roomUserMatch,
495
- groupAllowMatch,
496
- commandAuthorizers
497
- } = accessState;
498
- if (isDirectMessage2) {
499
- if (!dmEnabled || dmPolicy === "disabled") {
500
- await commitInboundEventIfClaimed();
501
- return void 0;
502
- }
503
- if (dmPolicy !== "open") {
504
- const allowMatchMeta = formatAllowlistMatchMeta(directAllowMatch);
505
- if (!directAllowMatch.allowed) {
506
- if (!isReactionEvent && dmPolicy === "pairing") {
507
- const senderName3 = await getSenderName();
508
- const { code, created } = await core.channel.pairing.upsertPairingRequest({
509
- channel: "matrix",
510
- id: senderId,
511
- accountId,
512
- meta: { name: senderName3 }
513
- });
514
- if (shouldSendPairingReply(senderId, created)) {
515
- const pairingReply = core.channel.pairing.buildPairingReply({
516
- channel: "matrix",
517
- idLine: `Your Matrix user id: ${senderId}`,
518
- code
519
- });
520
- logVerboseMessage(
521
- created ? `matrix pairing request sender=${senderId} name=${senderName3 ?? "unknown"} (${allowMatchMeta})` : `matrix pairing reminder sender=${senderId} name=${senderName3 ?? "unknown"} (${allowMatchMeta})`
522
- );
523
- try {
524
- await sendMessageMatrix(
525
- `room:${roomId}`,
526
- created ? pairingReply : `${pairingReply}
527
-
528
- Pairing request is still pending approval. Reusing existing code.`,
529
- {
530
- client,
531
- cfg,
532
- accountId
533
- }
534
- );
535
- await commitInboundEventIfClaimed();
536
- } catch (err) {
537
- logVerboseMessage(
538
- `matrix pairing reply failed for ${senderId}: ${String(err)}`
539
- );
540
- return void 0;
541
- }
542
- } else {
543
- logVerboseMessage(
544
- `matrix pairing reminder suppressed sender=${senderId} (cooldown)`
545
- );
546
- await commitInboundEventIfClaimed();
547
- }
548
- }
549
- if (isReactionEvent || dmPolicy !== "pairing") {
550
- logVerboseMessage(
551
- `matrix: blocked ${isReactionEvent ? "reaction" : "dm"} sender ${senderId} (dmPolicy=${dmPolicy}, ${allowMatchMeta})`
552
- );
553
- await commitInboundEventIfClaimed();
554
- }
555
- return void 0;
556
- }
557
- }
558
- }
559
- if (isRoom2 && roomUserMatch && !roomUserMatch.allowed) {
560
- logVerboseMessage(
561
- `matrix: blocked sender ${senderId} (room users allowlist, ${roomMatchMeta}, ${formatAllowlistMatchMeta(
562
- roomUserMatch
563
- )})`
564
- );
565
- await commitInboundEventIfClaimed();
566
- return void 0;
567
- }
568
- if (isRoom2 && groupPolicy === "allowlist" && effectiveRoomUsers2.length === 0 && groupAllowConfigured && groupAllowMatch && !groupAllowMatch.allowed) {
569
- logVerboseMessage(
570
- `matrix: blocked sender ${senderId} (groupAllowFrom, ${roomMatchMeta}, ${formatAllowlistMatchMeta(
571
- groupAllowMatch
572
- )})`
573
- );
574
- await commitInboundEventIfClaimed();
575
- return void 0;
576
- }
577
- if (isRoom2) {
578
- logVerboseMessage(`matrix: allow room ${roomId} (${roomMatchMeta})`);
579
- }
580
- if (isReactionEvent) {
581
- const senderName3 = await getSenderName();
582
- await handleInboundMatrixReaction({
583
- client,
584
- core,
585
- cfg,
586
- accountId,
587
- roomId,
588
- event,
589
- senderId,
590
- senderLabel: senderName3,
591
- selfUserId,
592
- isDirectMessage: isDirectMessage2,
593
- logVerboseMessage
594
- });
595
- await commitInboundEventIfClaimed();
596
- return void 0;
597
- }
598
- let pollSnapshotPromise = null;
599
- const getPollSnapshot = async () => {
600
- if (!isPollEvent) {
601
- return null;
602
- }
603
- pollSnapshotPromise ??= fetchMatrixPollSnapshot(client, roomId, event).catch((err) => {
604
- logVerboseMessage(
605
- `matrix: failed resolving poll snapshot room=${roomId} id=${event.event_id ?? "unknown"}: ${String(err)}`
606
- );
607
- return null;
608
- });
609
- return await pollSnapshotPromise;
610
- };
611
- const mentionPrecheckText = resolveMatrixMentionPrecheckText({
612
- eventType,
613
- content,
614
- locationText: locationPayload2?.text
615
- });
616
- const contentUrl = "url" in content && typeof content.url === "string" ? content.url : void 0;
617
- const contentFile = "file" in content && content.file && typeof content.file === "object" ? content.file : void 0;
618
- const mediaUrl = contentUrl ?? contentFile?.url;
619
- const pendingHistoryText = resolveMatrixPendingHistoryText({
620
- mentionPrecheckText,
621
- content,
622
- mediaUrl
623
- });
624
- const pendingHistoryPollText = !pendingHistoryText && isPollEvent && historyLimit > 0 ? (await getPollSnapshot())?.text : "";
625
- if (!mentionPrecheckText && !mediaUrl && !isPollEvent) {
626
- await commitInboundEventIfClaimed();
627
- return void 0;
628
- }
629
- const _messageId2 = event.event_id ?? "";
630
- const _threadRootId2 = resolveMatrixThreadRootId({ event, content });
631
- const thread2 = resolveMatrixThreadRouting({
632
- isDirectMessage: isDirectMessage2,
633
- threadReplies,
634
- dmThreadReplies,
635
- messageId: _messageId2,
636
- threadRootId: _threadRootId2
637
- });
638
- const {
639
- route: _route2,
640
- configuredBinding: _configuredBinding,
641
- runtimeBindingId: _runtimeBindingId
642
- } = resolveMatrixInboundRoute({
643
- cfg,
644
- accountId,
645
- roomId,
646
- senderId,
647
- isDirectMessage: isDirectMessage2,
648
- dmSessionScope,
649
- threadId: thread2.threadId,
650
- eventTs: eventTs ?? void 0,
651
- resolveAgentRoute: core.channel.routing.resolveAgentRoute
652
- });
653
- const hasExplicitSessionBinding2 = _configuredBinding !== null || _runtimeBindingId !== null;
654
- const agentMentionRegexes = core.channel.mentions.buildMentionRegexes(cfg, _route2.agentId);
655
- const selfDisplayName = content.formatted_body ? await getMemberDisplayName(roomId, selfUserId).catch(() => void 0) : void 0;
656
- const { wasMentioned: wasMentioned2, hasExplicitMention } = resolveMentions({
657
- content,
658
- userId: selfUserId,
659
- displayName: selfDisplayName,
660
- text: mentionPrecheckText,
661
- mentionRegexes: agentMentionRegexes
662
- });
663
- if (isConfiguredBotSender && allowBotsMode === "mentions" && !isDirectMessage2 && !wasMentioned2) {
664
- logVerboseMessage(
665
- `matrix: drop configured bot sender=${senderId} (allowBots=mentions, missing mention, ${roomMatchMeta})`
666
- );
667
- await commitInboundEventIfClaimed();
668
- return void 0;
669
- }
670
- const allowTextCommands = core.channel.commands.shouldHandleTextCommands({
671
- cfg,
672
- surface: "matrix"
673
- });
674
- const useAccessGroups = cfg.commands?.useAccessGroups !== false;
675
- const hasControlCommandInMessage = core.channel.text.hasControlCommand(
676
- mentionPrecheckText,
677
- cfg
678
- );
679
- const commandGate = resolveControlCommandGate({
680
- useAccessGroups,
681
- authorizers: commandAuthorizers,
682
- allowTextCommands,
683
- hasControlCommand: hasControlCommandInMessage
684
- });
685
- const commandAuthorized2 = commandGate.commandAuthorized;
686
- if (isRoom2 && commandGate.shouldBlock) {
687
- logInboundDrop({
688
- log: logVerboseMessage,
689
- channel: "matrix",
690
- reason: "control command (unauthorized)",
691
- target: senderId
692
- });
693
- await commitInboundEventIfClaimed();
694
- return void 0;
695
- }
696
- const shouldRequireMention2 = isRoom2 ? roomConfig2?.autoReply === true ? false : roomConfig2?.autoReply === false ? true : typeof roomConfig2?.requireMention === "boolean" ? roomConfig2?.requireMention : true : false;
697
- const shouldBypassMention2 = allowTextCommands && isRoom2 && shouldRequireMention2 && !wasMentioned2 && !hasExplicitMention && commandAuthorized2 && hasControlCommandInMessage;
698
- const canDetectMention2 = agentMentionRegexes.length > 0 || hasExplicitMention;
699
- if (isRoom2 && shouldRequireMention2 && !wasMentioned2 && !shouldBypassMention2) {
700
- const pendingHistoryBody = pendingHistoryText || pendingHistoryPollText;
701
- if (historyLimit > 0 && pendingHistoryBody) {
702
- const pendingEntry = {
703
- sender: senderId,
704
- body: pendingHistoryBody,
705
- timestamp: eventTs ?? void 0,
706
- messageId: _messageId2
707
- };
708
- roomHistoryTracker.recordPending(roomId, pendingEntry);
709
- }
710
- logger.info("skipping room message", { roomId, reason: "no-mention" });
711
- await commitInboundEventIfClaimed();
712
- return void 0;
713
- }
714
- if (isPollEvent) {
715
- const pollSnapshot = await getPollSnapshot();
716
- if (!pollSnapshot) {
717
- return void 0;
718
- }
719
- content = {
720
- msgtype: "m.text",
721
- body: pollSnapshot.text
722
- };
723
- }
724
- let media2 = null;
725
- let mediaDownloadFailed = false;
726
- let mediaSizeLimitExceeded = false;
727
- const finalContentUrl = "url" in content && typeof content.url === "string" ? content.url : void 0;
728
- const finalContentFile = "file" in content && content.file && typeof content.file === "object" ? content.file : void 0;
729
- const finalMediaUrl = finalContentUrl ?? finalContentFile?.url;
730
- const contentBody = typeof content.body === "string" ? content.body.trim() : "";
731
- const contentFilename = typeof content.filename === "string" ? content.filename.trim() : "";
732
- const originalFilename = contentFilename || contentBody || void 0;
733
- const contentInfo = "info" in content && content.info && typeof content.info === "object" ? content.info : void 0;
734
- const contentType = contentInfo?.mimetype;
735
- const contentSize = typeof contentInfo?.size === "number" ? contentInfo.size : void 0;
736
- if (finalMediaUrl?.startsWith("mxc://")) {
737
- try {
738
- media2 = await downloadMatrixMedia({
739
- client,
740
- mxcUrl: finalMediaUrl,
741
- contentType,
742
- sizeBytes: contentSize,
743
- maxBytes: mediaMaxBytes,
744
- file: finalContentFile,
745
- originalFilename
746
- });
747
- } catch (err) {
748
- mediaDownloadFailed = true;
749
- if (isMatrixMediaSizeLimitError(err)) {
750
- mediaSizeLimitExceeded = true;
751
- }
752
- const errorText = formatMatrixErrorMessage(err);
753
- logVerboseMessage(
754
- `matrix: media download failed room=${roomId} id=${event.event_id ?? "unknown"} type=${content.msgtype} error=${errorText}`
755
- );
756
- logger.warn("matrix media download failed", {
757
- roomId,
758
- eventId: event.event_id,
759
- msgtype: content.msgtype,
760
- encrypted: Boolean(finalContentFile),
761
- error: errorText
762
- });
763
- }
764
- }
765
- const rawBody = locationPayload2?.text ?? contentBody;
766
- const bodyText2 = resolveMatrixInboundBodyText({
767
- rawBody,
768
- filename: typeof content.filename === "string" ? content.filename : void 0,
769
- mediaPlaceholder: media2?.placeholder,
770
- msgtype: content.msgtype,
771
- hadMediaUrl: Boolean(finalMediaUrl),
772
- mediaDownloadFailed,
773
- mediaSizeLimitExceeded
774
- });
775
- if (!bodyText2) {
776
- await commitInboundEventIfClaimed();
777
- return void 0;
778
- }
779
- const senderName2 = await getSenderName();
780
- if (_configuredBinding) {
781
- const ensured = await ensureConfiguredAcpBindingReady({
782
- cfg,
783
- configuredBinding: _configuredBinding
784
- });
785
- if (!ensured.ok) {
786
- logInboundDrop({
787
- log: logVerboseMessage,
788
- channel: "matrix",
789
- reason: "configured ACP binding unavailable",
790
- target: _configuredBinding.spec.conversationId
791
- });
792
- return void 0;
793
- }
794
- }
795
- if (_runtimeBindingId) {
796
- getSessionBindingService().touch(_runtimeBindingId, eventTs ?? void 0);
797
- }
798
- const preparedTrigger = isRoom2 && historyLimit > 0 ? roomHistoryTracker.prepareTrigger(_route2.agentId, roomId, historyLimit, {
799
- sender: senderName2,
800
- body: bodyText2,
801
- timestamp: eventTs ?? void 0,
802
- messageId: _messageId2
803
- }) : void 0;
804
- const inboundHistory2 = preparedTrigger?.history;
805
- const triggerSnapshot2 = preparedTrigger;
806
- return {
807
- route: _route2,
808
- hasExplicitSessionBinding: hasExplicitSessionBinding2,
809
- roomConfig: roomConfig2,
810
- isDirectMessage: isDirectMessage2,
811
- isRoom: isRoom2,
812
- shouldRequireMention: shouldRequireMention2,
813
- wasMentioned: wasMentioned2,
814
- shouldBypassMention: shouldBypassMention2,
815
- canDetectMention: canDetectMention2,
816
- commandAuthorized: commandAuthorized2,
817
- inboundHistory: inboundHistory2,
818
- senderName: senderName2,
819
- bodyText: bodyText2,
820
- media: media2,
821
- locationPayload: locationPayload2,
822
- messageId: _messageId2,
823
- triggerSnapshot: triggerSnapshot2,
824
- threadRootId: _threadRootId2,
825
- thread: thread2,
826
- effectiveGroupAllowFrom: effectiveGroupAllowFrom2,
827
- effectiveRoomUsers: effectiveRoomUsers2
828
- };
829
- };
830
- const ingressResult = historyLimit > 0 ? await runRoomIngress(roomId, async () => {
831
- const prefix = await readIngressPrefix();
832
- if (!prefix) {
833
- return void 0;
834
- }
835
- if (prefix.isDirectMessage) {
836
- return { deferredPrefix: prefix };
837
- }
838
- return { ingressResult: await continueIngress(prefix) };
839
- }) : void 0;
840
- const resolvedIngressResult = historyLimit > 0 ? ingressResult?.deferredPrefix ? await continueIngress(ingressResult.deferredPrefix) : ingressResult?.ingressResult : await (async () => {
841
- const prefix = await readIngressPrefix();
842
- if (!prefix) {
843
- return void 0;
844
- }
845
- return await continueIngress(prefix);
846
- })();
847
- if (!resolvedIngressResult) {
848
- return;
849
- }
850
- const {
851
- route: _route,
852
- hasExplicitSessionBinding,
853
- roomConfig,
854
- isDirectMessage,
855
- isRoom,
856
- shouldRequireMention,
857
- wasMentioned,
858
- shouldBypassMention,
859
- canDetectMention,
860
- commandAuthorized,
861
- inboundHistory,
862
- senderName,
863
- bodyText,
864
- media,
865
- locationPayload,
866
- messageId: _messageId,
867
- triggerSnapshot,
868
- threadRootId: _threadRootId,
869
- thread,
870
- effectiveGroupAllowFrom,
871
- effectiveRoomUsers
872
- } = resolvedIngressResult;
873
- const replyToEventId = resolveMatrixReplyToEventId(event.content);
874
- const threadTarget = thread.threadId;
875
- const isRoomContextSenderAllowed = (contextSenderId) => {
876
- if (!isRoom || !contextSenderId) {
877
- return true;
878
- }
879
- if (effectiveRoomUsers.length > 0) {
880
- return resolveMatrixAllowListMatch({
881
- allowList: effectiveRoomUsers,
882
- userId: contextSenderId
883
- }).allowed;
884
- }
885
- if (groupPolicy === "allowlist" && effectiveGroupAllowFrom.length > 0) {
886
- return resolveMatrixAllowListMatch({
887
- allowList: effectiveGroupAllowFrom,
888
- userId: contextSenderId
889
- }).allowed;
890
- }
891
- return true;
892
- };
893
- const shouldIncludeRoomContextSender = (kind, contextSenderId) => evaluateSupplementalContextVisibility({
894
- mode: contextVisibilityMode,
895
- kind,
896
- senderAllowed: isRoomContextSenderAllowed(contextSenderId)
897
- }).include;
898
- let threadContext = _threadRootId ? await resolveThreadContext({ roomId, threadRootId: _threadRootId }) : void 0;
899
- let threadContextBlockedByPolicy = false;
900
- if (threadContext?.senderId && !shouldIncludeRoomContextSender("thread", threadContext.senderId)) {
901
- logVerboseMessage(`matrix: drop thread root context (mode=${contextVisibilityMode})`);
902
- threadContextBlockedByPolicy = true;
903
- threadContext = void 0;
904
- }
905
- let replyContext;
906
- if (replyToEventId && replyToEventId === _threadRootId && threadContext?.summary) {
907
- replyContext = {
908
- replyToBody: threadContext.summary,
909
- replyToSender: threadContext.senderLabel,
910
- replyToSenderId: threadContext.senderId
911
- };
912
- } else if (replyToEventId && replyToEventId === _threadRootId && threadContextBlockedByPolicy) {
913
- replyContext = await resolveReplyContext({ roomId, eventId: replyToEventId });
914
- } else {
915
- replyContext = replyToEventId ? await resolveReplyContext({ roomId, eventId: replyToEventId }) : void 0;
916
- }
917
- if (replyContext?.replyToSenderId && !shouldIncludeRoomContextSender("quote", replyContext.replyToSenderId)) {
918
- logVerboseMessage(`matrix: drop reply context (mode=${contextVisibilityMode})`);
919
- replyContext = void 0;
920
- }
921
- const roomInfo = isRoom ? await getRoomInfo(roomId) : void 0;
922
- const roomName = roomInfo?.name;
923
- const envelopeFrom = isDirectMessage ? senderName : roomName ?? roomId;
924
- const textWithId = `${bodyText}
925
- [matrix event id: ${_messageId} room: ${roomId}]`;
926
- const storePath = core.channel.session.resolveStorePath(cfg.session?.store, {
927
- agentId: _route.agentId
928
- });
929
- const envelopeOptions = core.channel.reply.resolveEnvelopeFormatOptions(cfg);
930
- const previousTimestamp = core.channel.session.readSessionUpdatedAt({
931
- storePath,
932
- sessionKey: _route.sessionKey
933
- });
934
- const sharedDmNoticeSessionKey = threadTarget ? _route.mainSessionKey || _route.sessionKey : _route.sessionKey;
935
- const sharedDmContextNotice = isDirectMessage ? hasExplicitSessionBinding ? null : resolveMatrixSharedDmContextNotice({
936
- storePath,
937
- sessionKey: sharedDmNoticeSessionKey,
938
- roomId,
939
- accountId: _route.accountId,
940
- dmSessionScope,
941
- sentRooms: sharedDmContextNoticeRooms,
942
- logVerboseMessage
943
- }) : null;
944
- const body = core.channel.reply.formatAgentEnvelope({
945
- channel: "Matrix",
946
- from: envelopeFrom,
947
- timestamp: eventTs ?? void 0,
948
- previousTimestamp,
949
- envelope: envelopeOptions,
950
- body: textWithId
951
- });
952
- const groupSystemPrompt = normalizeOptionalString(roomConfig?.systemPrompt);
953
- const ctxPayload = core.channel.reply.finalizeInboundContext({
954
- Body: body,
955
- RawBody: bodyText,
956
- CommandBody: bodyText,
957
- InboundHistory: inboundHistory && inboundHistory.length > 0 ? inboundHistory : void 0,
958
- From: isDirectMessage ? `matrix:${senderId}` : `matrix:channel:${roomId}`,
959
- To: `room:${roomId}`,
960
- SessionKey: _route.sessionKey,
961
- AccountId: _route.accountId,
962
- ChatType: isDirectMessage ? "direct" : "channel",
963
- ConversationLabel: envelopeFrom,
964
- SenderName: senderName,
965
- SenderId: senderId,
966
- SenderUsername: senderId.split(":")[0]?.replace(/^@/, ""),
967
- GroupSubject: isRoom ? roomName ?? roomId : void 0,
968
- GroupId: isRoom ? roomId : void 0,
969
- GroupSystemPrompt: isRoom ? groupSystemPrompt : void 0,
970
- Provider: "matrix",
971
- Surface: "matrix",
972
- WasMentioned: isRoom ? wasMentioned : void 0,
973
- MessageSid: _messageId,
974
- ReplyToId: threadTarget ? void 0 : replyToEventId ?? void 0,
975
- ReplyToBody: replyContext?.replyToBody,
976
- ReplyToSender: replyContext?.replyToSender,
977
- MessageThreadId: threadTarget,
978
- ThreadStarterBody: threadContext?.threadStarterBody,
979
- Timestamp: eventTs ?? void 0,
980
- MediaPath: media?.path,
981
- MediaType: media?.contentType,
982
- MediaUrl: media?.path,
983
- ...locationPayload?.context,
984
- CommandAuthorized: commandAuthorized,
985
- CommandSource: "text",
986
- NativeChannelId: roomId,
987
- NativeDirectUserId: isDirectMessage ? senderId : void 0,
988
- OriginatingChannel: "matrix",
989
- OriginatingTo: `room:${roomId}`
990
- });
991
- await core.channel.session.recordInboundSession({
992
- storePath,
993
- sessionKey: ctxPayload.SessionKey ?? _route.sessionKey,
994
- ctx: ctxPayload,
995
- updateLastRoute: isDirectMessage ? {
996
- sessionKey: _route.mainSessionKey,
997
- channel: "matrix",
998
- to: `room:${roomId}`,
999
- accountId: _route.accountId
1000
- } : void 0,
1001
- onRecordError: (err) => {
1002
- logger.warn("failed updating session meta", {
1003
- error: String(err),
1004
- storePath,
1005
- sessionKey: ctxPayload.SessionKey ?? _route.sessionKey
1006
- });
1007
- }
1008
- });
1009
- if (sharedDmContextNotice && markTrackedRoomIfFirst(sharedDmContextNoticeRooms, roomId)) {
1010
- client.sendMessage(roomId, {
1011
- msgtype: "m.notice",
1012
- body: sharedDmContextNotice
1013
- }).catch((err) => {
1014
- logVerboseMessage(
1015
- `matrix: failed sending shared DM session notice room=${roomId}: ${String(err)}`
1016
- );
1017
- });
1018
- }
1019
- const preview = bodyText.slice(0, 200).replace(/\n/g, "\\n");
1020
- logVerboseMessage(`matrix inbound: room=${roomId} from=${senderId} preview="${preview}"`);
1021
- const replyTarget = ctxPayload.To;
1022
- if (!replyTarget) {
1023
- runtime.error?.("matrix: missing reply target");
1024
- return;
1025
- }
1026
- const { ackReaction, ackReactionScope: ackScope } = resolveMatrixAckReactionConfig({
1027
- cfg,
1028
- agentId: _route.agentId,
1029
- accountId
1030
- });
1031
- const shouldAckReaction = () => Boolean(
1032
- ackReaction && core.channel.reactions.shouldAckReaction({
1033
- scope: ackScope,
1034
- isDirect: isDirectMessage,
1035
- isGroup: isRoom,
1036
- isMentionableGroup: isRoom,
1037
- requireMention: shouldRequireMention,
1038
- canDetectMention,
1039
- effectiveWasMentioned: wasMentioned || shouldBypassMention,
1040
- shouldBypassMention
1041
- })
1042
- );
1043
- if (shouldAckReaction() && _messageId) {
1044
- reactMatrixMessage(roomId, _messageId, ackReaction, client).catch((err) => {
1045
- logVerboseMessage(`matrix react failed for room ${roomId}: ${String(err)}`);
1046
- });
1047
- }
1048
- if (_messageId) {
1049
- sendReadReceiptMatrix(roomId, _messageId, client).catch((err) => {
1050
- logVerboseMessage(
1051
- `matrix: read receipt failed room=${roomId} id=${_messageId}: ${String(err)}`
1052
- );
1053
- });
1054
- }
1055
- const tableMode = core.channel.text.resolveMarkdownTableMode({
1056
- cfg,
1057
- channel: "matrix",
1058
- accountId: _route.accountId
1059
- });
1060
- const mediaLocalRoots = getAgentScopedMediaLocalRoots(cfg, _route.agentId);
1061
- let finalReplyDeliveryFailed = false;
1062
- let nonFinalReplyDeliveryFailed = false;
1063
- const { onModelSelected, ...prefixOptions } = createReplyPrefixOptions({
1064
- cfg,
1065
- agentId: _route.agentId,
1066
- channel: "matrix",
1067
- accountId: _route.accountId
1068
- });
1069
- const typingCallbacks = createTypingCallbacks({
1070
- start: () => sendTypingMatrix(roomId, true, void 0, client),
1071
- stop: () => sendTypingMatrix(roomId, false, void 0, client),
1072
- onStartError: (err) => {
1073
- logTypingFailure({
1074
- log: logVerboseMessage,
1075
- channel: "matrix",
1076
- action: "start",
1077
- target: roomId,
1078
- error: err
1079
- });
1080
- },
1081
- onStopError: (err) => {
1082
- logTypingFailure({
1083
- log: logVerboseMessage,
1084
- channel: "matrix",
1085
- action: "stop",
1086
- target: roomId,
1087
- error: err
1088
- });
1089
- }
1090
- });
1091
- const draftStreamingEnabled = streaming !== "off";
1092
- const quietDraftStreaming = streaming === "quiet";
1093
- const draftReplyToId = replyToMode !== "off" && !threadTarget ? _messageId : void 0;
1094
- const draftStream = draftStreamingEnabled ? createMatrixDraftStream({
1095
- roomId,
1096
- client,
1097
- cfg,
1098
- mode: quietDraftStreaming ? "quiet" : "partial",
1099
- threadId: threadTarget,
1100
- replyToId: draftReplyToId,
1101
- preserveReplyId: replyToMode === "all",
1102
- accountId: _route.accountId,
1103
- log: logVerboseMessage
1104
- }) : void 0;
1105
- draftStreamRef = draftStream;
1106
- let currentDraftMessageGeneration = 0;
1107
- let currentDraftBlockOffset = 0;
1108
- let latestDraftFullText = "";
1109
- const pendingDraftBoundaries = [];
1110
- const latestQueuedDraftBoundaryOffsets = /* @__PURE__ */ new Map();
1111
- let currentDraftReplyToId = draftReplyToId;
1112
- const getDisplayableDraftText = () => {
1113
- const nextDraftBoundaryOffset = pendingDraftBoundaries.find(
1114
- (boundary) => boundary.messageGeneration === currentDraftMessageGeneration
1115
- )?.endOffset;
1116
- if (nextDraftBoundaryOffset === void 0) {
1117
- return latestDraftFullText.slice(currentDraftBlockOffset);
1118
- }
1119
- return latestDraftFullText.slice(currentDraftBlockOffset, nextDraftBoundaryOffset);
1120
- };
1121
- const updateDraftFromLatestFullText = () => {
1122
- const blockText = getDisplayableDraftText();
1123
- if (blockText) {
1124
- draftStream?.update(blockText);
1125
- }
1126
- };
1127
- const queueDraftBlockBoundary = (payload, context) => {
1128
- const payloadTextLength = payload.text?.length ?? 0;
1129
- const messageGeneration = context?.assistantMessageIndex ?? currentDraftMessageGeneration;
1130
- const lastQueuedDraftBoundaryOffset = latestQueuedDraftBoundaryOffsets.get(messageGeneration) ?? 0;
1131
- const nextDraftBoundaryOffset = lastQueuedDraftBoundaryOffset + payloadTextLength;
1132
- latestQueuedDraftBoundaryOffsets.set(messageGeneration, nextDraftBoundaryOffset);
1133
- pendingDraftBoundaries.push({
1134
- messageGeneration,
1135
- endOffset: nextDraftBoundaryOffset
1136
- });
1137
- };
1138
- const advanceDraftBlockBoundary = (options) => {
1139
- const completedBoundary = pendingDraftBoundaries.shift();
1140
- if (completedBoundary) {
1141
- if (!pendingDraftBoundaries.some(
1142
- (entry) => entry.messageGeneration === completedBoundary.messageGeneration
1143
- )) {
1144
- latestQueuedDraftBoundaryOffsets.delete(completedBoundary.messageGeneration);
1145
- }
1146
- if (completedBoundary.messageGeneration === currentDraftMessageGeneration) {
1147
- currentDraftBlockOffset = completedBoundary.endOffset;
1148
- }
1149
- return;
1150
- }
1151
- if (options?.fallbackToLatestEnd) {
1152
- currentDraftBlockOffset = latestDraftFullText.length;
1153
- }
1154
- };
1155
- const resetDraftBlockOffsets = () => {
1156
- currentDraftMessageGeneration += 1;
1157
- currentDraftBlockOffset = 0;
1158
- latestDraftFullText = "";
1159
- };
1160
- const { dispatcher, replyOptions, markDispatchIdle, markRunComplete } = core.channel.reply.createReplyDispatcherWithTyping({
1161
- ...prefixOptions,
1162
- humanDelay: core.channel.reply.resolveHumanDelayConfig(cfg, _route.agentId),
1163
- deliver: async (payload, info) => {
1164
- if (draftStream && info.kind !== "tool" && !payload.isCompactionNotice) {
1165
- const hasMedia = Boolean(payload.mediaUrl) || (payload.mediaUrls?.length ?? 0) > 0;
1166
- await draftStream.stop();
1167
- const draftEventId = draftStream.eventId();
1168
- if (draftConsumed) {
1169
- await deliverMatrixReplies({
1170
- cfg,
1171
- replies: [payload],
1172
- roomId,
1173
- client,
1174
- runtime,
1175
- textLimit,
1176
- replyToMode,
1177
- threadId: threadTarget,
1178
- accountId: _route.accountId,
1179
- mediaLocalRoots,
1180
- tableMode
1181
- });
1182
- return;
1183
- }
1184
- const payloadReplyToId = normalizeOptionalString(payload.replyToId);
1185
- const payloadReplyMismatch = replyToMode !== "off" && !threadTarget && payloadReplyToId !== currentDraftReplyToId;
1186
- const mustDeliverFinalNormally = draftStream.mustDeliverFinalNormally();
1187
- if (draftEventId && payload.text && !hasMedia && !payloadReplyMismatch && !mustDeliverFinalNormally) {
1188
- try {
1189
- const requiresFinalEdit = quietDraftStreaming || !draftStream.matchesPreparedText(payload.text);
1190
- if (requiresFinalEdit) {
1191
- await editMessageMatrix(roomId, draftEventId, payload.text, {
1192
- client,
1193
- cfg,
1194
- threadId: threadTarget,
1195
- accountId: _route.accountId,
1196
- extraContent: quietDraftStreaming ? buildMatrixFinalizedPreviewContent() : void 0
1197
- });
1198
- } else if (!await draftStream.finalizeLive()) {
1199
- throw new Error("Matrix draft live finalize failed");
1200
- }
1201
- } catch {
1202
- await redactMatrixDraftEvent(client, roomId, draftEventId);
1203
- await deliverMatrixReplies({
1204
- cfg,
1205
- replies: [payload],
1206
- roomId,
1207
- client,
1208
- runtime,
1209
- textLimit,
1210
- replyToMode,
1211
- threadId: threadTarget,
1212
- accountId: _route.accountId,
1213
- mediaLocalRoots,
1214
- tableMode
1215
- });
1216
- }
1217
- draftConsumed = true;
1218
- } else if (draftEventId && hasMedia && !payloadReplyMismatch) {
1219
- let textEditOk = !mustDeliverFinalNormally;
1220
- const payloadText = payload.text;
1221
- const payloadTextMatchesDraft = typeof payloadText === "string" && draftStream.matchesPreparedText(payloadText);
1222
- const reusesDraftTextUnchanged = typeof payloadText === "string" && Boolean(payloadText.trim()) && payloadTextMatchesDraft;
1223
- const requiresFinalTextEdit = quietDraftStreaming || typeof payloadText === "string" && !payloadTextMatchesDraft;
1224
- if (textEditOk && payloadText && requiresFinalTextEdit) {
1225
- textEditOk = await editMessageMatrix(roomId, draftEventId, payloadText, {
1226
- client,
1227
- cfg,
1228
- threadId: threadTarget,
1229
- accountId: _route.accountId,
1230
- extraContent: quietDraftStreaming ? buildMatrixFinalizedPreviewContent() : void 0
1231
- }).then(
1232
- () => true,
1233
- () => false
1234
- );
1235
- } else if (textEditOk && reusesDraftTextUnchanged) {
1236
- textEditOk = await draftStream.finalizeLive();
1237
- }
1238
- const reusesDraftAsFinalText = Boolean(payload.text?.trim()) && textEditOk;
1239
- if (!reusesDraftAsFinalText) {
1240
- await redactMatrixDraftEvent(client, roomId, draftEventId);
1241
- }
1242
- await deliverMatrixReplies({
1243
- cfg,
1244
- replies: [
1245
- { ...payload, text: reusesDraftAsFinalText ? void 0 : payload.text }
1246
- ],
1247
- roomId,
1248
- client,
1249
- runtime,
1250
- textLimit,
1251
- replyToMode,
1252
- threadId: threadTarget,
1253
- accountId: _route.accountId,
1254
- mediaLocalRoots,
1255
- tableMode
1256
- });
1257
- draftConsumed = true;
1258
- } else {
1259
- const draftRedacted = Boolean(draftEventId) && (payloadReplyMismatch || mustDeliverFinalNormally);
1260
- if (draftRedacted && draftEventId) {
1261
- await redactMatrixDraftEvent(client, roomId, draftEventId);
1262
- }
1263
- const deliveredFallback = await deliverMatrixReplies({
1264
- cfg,
1265
- replies: [payload],
1266
- roomId,
1267
- client,
1268
- runtime,
1269
- textLimit,
1270
- replyToMode,
1271
- threadId: threadTarget,
1272
- accountId: _route.accountId,
1273
- mediaLocalRoots,
1274
- tableMode
1275
- });
1276
- if (draftRedacted || deliveredFallback) {
1277
- draftConsumed = true;
1278
- }
1279
- }
1280
- if (info.kind === "block") {
1281
- draftConsumed = false;
1282
- advanceDraftBlockBoundary({ fallbackToLatestEnd: true });
1283
- draftStream.reset();
1284
- currentDraftReplyToId = replyToMode === "all" ? draftReplyToId : void 0;
1285
- updateDraftFromLatestFullText();
1286
- await sendTypingMatrix(roomId, true, void 0, client).catch(() => {
1287
- });
1288
- }
1289
- } else {
1290
- await deliverMatrixReplies({
1291
- cfg,
1292
- replies: [payload],
1293
- roomId,
1294
- client,
1295
- runtime,
1296
- textLimit,
1297
- replyToMode,
1298
- threadId: threadTarget,
1299
- accountId: _route.accountId,
1300
- mediaLocalRoots,
1301
- tableMode
1302
- });
1303
- }
1304
- },
1305
- onError: (err, info) => {
1306
- if (info.kind === "final") {
1307
- finalReplyDeliveryFailed = true;
1308
- } else {
1309
- nonFinalReplyDeliveryFailed = true;
1310
- }
1311
- if (info.kind === "block") {
1312
- advanceDraftBlockBoundary({ fallbackToLatestEnd: true });
1313
- }
1314
- runtime.error?.(`matrix ${info.kind} reply failed: ${String(err)}`);
1315
- },
1316
- onReplyStart: typingCallbacks.onReplyStart,
1317
- onIdle: typingCallbacks.onIdle
1318
- });
1319
- const { queuedFinal, counts } = await core.channel.reply.withReplyDispatcher({
1320
- dispatcher,
1321
- onSettled: () => {
1322
- markDispatchIdle();
1323
- },
1324
- run: async () => {
1325
- try {
1326
- return await core.channel.reply.dispatchReplyFromConfig({
1327
- ctx: ctxPayload,
1328
- cfg,
1329
- dispatcher,
1330
- replyOptions: {
1331
- ...replyOptions,
1332
- skillFilter: roomConfig?.skills,
1333
- // Keep block streaming enabled when explicitly requested, even
1334
- // with draft previews on. The draft remains the live preview
1335
- // for the current assistant block, while block deliveries
1336
- // finalize completed blocks into their own preserved events.
1337
- disableBlockStreaming: !blockStreamingEnabled,
1338
- onPartialReply: draftStream ? (payload) => {
1339
- latestDraftFullText = payload.text ?? "";
1340
- updateDraftFromLatestFullText();
1341
- } : void 0,
1342
- onBlockReplyQueued: draftStream ? (payload, context) => {
1343
- if (payload.isCompactionNotice === true) {
1344
- return;
1345
- }
1346
- queueDraftBlockBoundary(payload, context);
1347
- } : void 0,
1348
- // Reset draft boundary bookkeeping on assistant message
1349
- // boundaries so post-tool blocks stream from a fresh
1350
- // cumulative payload (payload.text resets upstream).
1351
- onAssistantMessageStart: draftStream ? () => {
1352
- resetDraftBlockOffsets();
1353
- } : void 0,
1354
- onModelSelected
1355
- }
1356
- });
1357
- } finally {
1358
- markRunComplete();
1359
- }
1360
- }
1361
- });
1362
- if (finalReplyDeliveryFailed) {
1363
- logVerboseMessage(
1364
- `matrix: final reply delivery failed room=${roomId} id=${_messageId}; leaving event uncommitted`
1365
- );
1366
- return;
1367
- }
1368
- if (!queuedFinal && nonFinalReplyDeliveryFailed) {
1369
- logVerboseMessage(
1370
- `matrix: non-final reply delivery failed room=${roomId} id=${_messageId}; leaving event uncommitted`
1371
- );
1372
- return;
1373
- }
1374
- if (isRoom && triggerSnapshot) {
1375
- roomHistoryTracker.consumeHistory(_route.agentId, roomId, triggerSnapshot, _messageId);
1376
- }
1377
- if (!queuedFinal) {
1378
- await commitInboundEventIfClaimed();
1379
- return;
1380
- }
1381
- const finalCount = counts.final;
1382
- logVerboseMessage(
1383
- `matrix: delivered ${finalCount} reply${finalCount === 1 ? "" : "ies"} to ${replyTarget}`
1384
- );
1385
- await commitInboundEventIfClaimed();
1386
- } catch (err) {
1387
- runtime.error?.(`matrix handler failed: ${String(err)}`);
1388
- } finally {
1389
- if (draftStreamRef) {
1390
- const draftEventId = await draftStreamRef.stop().catch(() => void 0);
1391
- if (draftEventId && !draftConsumed) {
1392
- await redactMatrixDraftEvent(client, roomId, draftEventId);
1393
- }
1394
- }
1395
- if (claimedInboundEvent && inboundDeduper && eventId) {
1396
- inboundDeduper.releaseEvent({ roomId, eventId });
1397
- }
1398
- }
1399
- };
1400
- }
1401
-
1402
- export {
1403
- createMatrixRoomMessageHandler
1404
- };
1405
- //# sourceMappingURL=chunk-YWHH3MB6.js.map