stableclaw 2026.5.0 → 2026.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2903) hide show
  1. package/dist/.buildstamp +1 -1
  2. package/dist/abort-DbOWfk1R.js +192 -0
  3. package/dist/abort-cutoff.runtime-ZDeu_mNv.js +20 -0
  4. package/dist/abort-cutoff.runtime.js +1 -1
  5. package/dist/abort.runtime-DzSEcqwd.js +2 -0
  6. package/dist/abort.runtime.js +1 -1
  7. package/dist/access-control-ChkJvEGP.js +152 -0
  8. package/dist/account-inspect-DCKRZRny.js +158 -0
  9. package/dist/accounts-BGTN7cr-.js +102 -0
  10. package/dist/accounts-CinolZTU.js +107 -0
  11. package/dist/accounts-CkhyYlS6.js +137 -0
  12. package/dist/accounts-D219ghr6.js +57 -0
  13. package/dist/accounts-DrggbKcd.js +2 -0
  14. package/dist/acp-runtime-_pYPcJEH.js +8 -0
  15. package/dist/acp-stateful-target-driver-BEIUsg83.js +60 -0
  16. package/dist/action-runtime-CJhBKfDC.js +318 -0
  17. package/dist/action-runtime-NLKQbAQA.js +72 -0
  18. package/dist/action-runtime-api-YzbQ4Qy6.js +1028 -0
  19. package/dist/actions-BrAcUNm-.js +531 -0
  20. package/dist/actions.runtime-BwB4CvxW.js +2 -0
  21. package/dist/actions.runtime-CiYUOMp1.js +18 -0
  22. package/dist/actions.runtime-SFl3LXbz.js +5 -0
  23. package/dist/actions.runtime.js +1 -1
  24. package/dist/agent-CdYMZ9fr.js +2 -0
  25. package/dist/agent-command-wY0aEiLZ.js +1457 -0
  26. package/dist/agent-runner.runtime-BJYxz_AG.js +2241 -0
  27. package/dist/agent-runner.runtime.js +1 -1
  28. package/dist/agent-runtime-Cm6WYH1X.js +142 -0
  29. package/dist/agent-tools-login-Bd1V75kh.js +57 -0
  30. package/dist/agents-IbQmK8Yn.js +888 -0
  31. package/dist/agents-MrSC-Up6.js +5 -0
  32. package/dist/api-BQHk-t06.js +5 -0
  33. package/dist/api-Bmx0BK0F.js +5 -0
  34. package/dist/api-CJIpnZrc.js +10 -0
  35. package/dist/api-CRhMGxLB.js +6 -0
  36. package/dist/api-CdYIiak82.js +322 -0
  37. package/dist/api-DOdPShPk.js +2 -0
  38. package/dist/api-jI3BtiNB.js +2 -0
  39. package/dist/apply-Cbt003x7.js +485 -0
  40. package/dist/apply.runtime-CY47EbzA.js +2 -0
  41. package/dist/apply.runtime.js +1 -1
  42. package/dist/approval-native-B4HJRa55.js +79 -0
  43. package/dist/approval-runtime-B6PXavdQ.js +262 -0
  44. package/dist/assistant-identity-CeKI09AJ.js +74 -0
  45. package/dist/attachment-normalize-BZdNI2So.js +921 -0
  46. package/dist/audit-BLq9P3oA.js +86 -0
  47. package/dist/audit-DtlsDuaM.js +892 -0
  48. package/dist/audit-channel.allow-from.runtime.js +1 -1
  49. package/dist/audit-channel.collect.runtime-CTutyCbl.js +528 -0
  50. package/dist/audit-channel.collect.runtime.js +1 -1
  51. package/dist/audit-channel.discord.runtime.js +1 -1
  52. package/dist/audit-channel.telegram.runtime-DgjqHj_y.js +8 -0
  53. package/dist/audit-channel.telegram.runtime.js +1 -1
  54. package/dist/audit-channel.zalouser.runtime.js +1 -1
  55. package/dist/audit-extra.async-azTwi9Ii.js +820 -0
  56. package/dist/audit.deep.runtime-DczMVmZl.js +2 -0
  57. package/dist/audit.deep.runtime.js +1 -1
  58. package/dist/audit.nondeep.runtime-C0-gevdg.js +831 -0
  59. package/dist/audit.nondeep.runtime.js +1 -1
  60. package/dist/audit.runtime-CjmP-IVf.js +7 -0
  61. package/dist/audit.runtime.js +1 -1
  62. package/dist/auth-D9R9vTdP.js +181 -0
  63. package/dist/auth-choice-ASVf3uqH.js +3 -0
  64. package/dist/auth-choice-CUGc7jRT.js +341 -0
  65. package/dist/auth-choice-TdFpgqf8.js +69 -0
  66. package/dist/binding-targets-BB736PNg.js +99 -0
  67. package/dist/bot-i7rkFnoU.js +4268 -0
  68. package/dist/bot-message-context-NjuZxwNf.js +2 -0
  69. package/dist/bot-message-context-SFoFcMU0.js +1175 -0
  70. package/dist/bot-message-context.runtime-BuHjCi1s.js +7 -0
  71. package/dist/bot-message-context.runtime.js +1 -1
  72. package/dist/bot-message-context.session.runtime-BOjKvTjg.js +12 -0
  73. package/dist/bot-message-context.session.runtime.js +1 -1
  74. package/dist/bot-native-commands.delivery.runtime-CMVcyVfr.js +3 -0
  75. package/dist/bot-native-commands.delivery.runtime.js +1 -1
  76. package/dist/bot-native-commands.runtime-DPXiZ-g-.js +11 -0
  77. package/dist/bot-native-commands.runtime.js +1 -1
  78. package/dist/bundled/boot-md/handler.js +3 -3
  79. package/dist/bundled/session-memory/handler.js +1 -1
  80. package/dist/channel-6JSPqz3S.js +599 -0
  81. package/dist/channel-8fxnaoxA.js +1135 -0
  82. package/dist/channel-BGr4lB_p.js +208 -0
  83. package/dist/channel-BRZOhpO-.js +1217 -0
  84. package/dist/channel-BTaI9Vsm.js +454 -0
  85. package/dist/channel-BuvbHCUl.js +800 -0
  86. package/dist/channel-C0kxZQ7E.js +883 -0
  87. package/dist/channel-CJgXhuIs.js +698 -0
  88. package/dist/channel-DQWDH71E.js +337 -0
  89. package/dist/channel-DqywfjHt.js +361 -0
  90. package/dist/channel-inbound-BbIwjinv.js +30 -0
  91. package/dist/channel-o7dERoVP.js +1129 -0
  92. package/dist/channel-ouAyZmKb.js +788 -0
  93. package/dist/channel-pGQXHihG.js +783 -0
  94. package/dist/channel-plugin-resolution-E1W_efdm.js +144 -0
  95. package/dist/channel-qw2GU-78.js +1661 -0
  96. package/dist/channel-shared-DsqgfMVz.js +58 -0
  97. package/dist/channel-x8EJXY-p.js +4976 -0
  98. package/dist/channel.runtime-9U-FzlTX.js +22252 -0
  99. package/dist/channel.runtime-CDRgtalS.js +309 -0
  100. package/dist/channel.runtime-CrTb-acp.js +373 -0
  101. package/dist/channel.runtime-CvUJhEWE.js +14 -0
  102. package/dist/channel.runtime-D86obE0J.js +108 -0
  103. package/dist/channel.runtime-DR14R1qn.js +125 -0
  104. package/dist/channel.runtime-DY-t80Mq.js +335 -0
  105. package/dist/channel.runtime-Db6-JgiT.js +80 -0
  106. package/dist/channel.setup-5ccX1E-a.js +279 -0
  107. package/dist/channels-CU1r9oWn.js +1134 -0
  108. package/dist/channels-cli-H6kLKRCJ.js +246 -0
  109. package/dist/clawhub-CicQAK3Q.js +163 -0
  110. package/dist/cli/daemon-cli.js +3 -9
  111. package/dist/cli-BeJobAfz.js +695 -0
  112. package/dist/cli-Bw_QTHCD.js +152 -0
  113. package/dist/cli-migration-DBUl9wOM.js +100 -0
  114. package/dist/cli-runner-CNdeXILj.js +1014 -0
  115. package/dist/client-C7KrfnR_.js +5 -0
  116. package/dist/client-D1IMuN2R.js +7 -0
  117. package/dist/client-bootstrap-BRL3IJbX.js +2 -0
  118. package/dist/client-bootstrap-BnU_fgOa.js +121 -0
  119. package/dist/code-execution-Dy3oNAvz.js +142 -0
  120. package/dist/command-auth-BoH1IkmW.js +64 -0
  121. package/dist/command-registry-CFUnlk3Y.js +199 -0
  122. package/dist/command-registry-Dy7lErHE.js +3 -0
  123. package/dist/commands-P7L4abaE.js +4 -0
  124. package/dist/commands-acp-CRBC84-r.js +990 -0
  125. package/dist/commands-core-DfVd-xq7.js +241 -0
  126. package/dist/commands-core.runtime-CCF1BiL7.js +2 -0
  127. package/dist/commands-core.runtime.js +1 -1
  128. package/dist/commands-handlers.runtime-BWoNwBZE.js +3708 -0
  129. package/dist/commands-handlers.runtime.js +1 -1
  130. package/dist/commands-info-CSt3aoRZ.js +651 -0
  131. package/dist/commands-models-FgUB1hGv.js +395 -0
  132. package/dist/commands-status.runtime-jcqPwtM3.js +2 -0
  133. package/dist/commands-status.runtime.js +1 -1
  134. package/dist/commands.runtime-CIbt20JL.js +4 -0
  135. package/dist/commands.runtime.js +1 -1
  136. package/dist/compact.runtime-DKdAjeMZ.js +7 -0
  137. package/dist/compact.runtime.js +1 -1
  138. package/dist/completion-cli-7xXpXxID.js +2 -0
  139. package/dist/completion-cli-Csbpl09N.js +466 -0
  140. package/dist/config-BGW2qyLw.js +475 -0
  141. package/dist/config-cli--4OexF6J.js +945 -0
  142. package/dist/config-guard-V5IAh_mF.js +113 -0
  143. package/dist/config-runtime-D208l2BL.js +13 -0
  144. package/dist/config-secret-input.runtime-BF9IBBeM.js +3 -0
  145. package/dist/config-secret-input.runtime.js +1 -1
  146. package/dist/config-update-BBzrkxal.js +127 -0
  147. package/dist/config-update-DrtP_s0Y.js +3 -0
  148. package/dist/configure-B5cJf26V.js +2 -0
  149. package/dist/configure-Ts01pF4g.js +1140 -0
  150. package/dist/context-DeDQINVq.js +227 -0
  151. package/dist/control-ui-C9vPgc9L.js +388 -0
  152. package/dist/conversation-bindings-CwHBn1fl.js +210 -0
  153. package/dist/conversation-id-BOk-dTsl.js +168 -0
  154. package/dist/conversation-runtime-DvoDx5Lp.js +85 -0
  155. package/dist/core-_nKe7lGV.js +195 -0
  156. package/dist/create-client-BenzpBNt.js +2 -0
  157. package/dist/create-client-CGt4-gcv.js +58 -0
  158. package/dist/credentials-7IVnN_TF.js +22 -0
  159. package/dist/credentials-write.runtime-D1VXZncp.js +9 -0
  160. package/dist/credentials-write.runtime.js +1 -1
  161. package/dist/crypto-runtime-Y20cyTTx.js +3495 -0
  162. package/dist/daemon-cli-DvP7I-Uu.js +383 -0
  163. package/dist/daemon-install-CVIbxBN5.js +63 -0
  164. package/dist/delegate-VctUvdru.js +43 -0
  165. package/dist/deliver-DTfKSC4Q.js +954 -0
  166. package/dist/deliver-LbQQnhR5.js +3 -0
  167. package/dist/deliver-reply-18sWD8M4.js +238 -0
  168. package/dist/deliver-runtime-Qg81IeZu.js +2 -0
  169. package/dist/delivery-D8E92dmQ.js +834 -0
  170. package/dist/delivery-info-Cls9iWRl.js +40 -0
  171. package/dist/direct-dm-Dg-rhCG0.js +139 -0
  172. package/dist/direct-management-CaI85_dA.js +2 -0
  173. package/dist/direct-management-DjdwL-F4.js +300 -0
  174. package/dist/directive-handling.fast-lane-3sGyxlH_.js +64 -0
  175. package/dist/directive-handling.fast-lane-CKe_S3fo.js +2 -0
  176. package/dist/directive-handling.impl-C1D-MGbp.js +2 -0
  177. package/dist/directive-handling.impl-Dk6oRN3H.js +672 -0
  178. package/dist/directive-handling.parse-ni5LIlSW.js +375 -0
  179. package/dist/directive-handling.persist-DSyJG2Kq.js +133 -0
  180. package/dist/directive-handling.persist.runtime-WEeAbhJ8.js +2 -0
  181. package/dist/directive-handling.persist.runtime.js +1 -1
  182. package/dist/directive-handling.shared-DPXk9T6l.js +158 -0
  183. package/dist/directory-cli-CL6UudXS.js +238 -0
  184. package/dist/directory.static-BX7RI4Aq.js +45 -0
  185. package/dist/discovery-DhEDepjw.js +171 -0
  186. package/dist/dispatch-acp.runtime-DHUc4MMQ.js +884 -0
  187. package/dist/dispatch-acp.runtime.js +1 -1
  188. package/dist/dispatch-au2t5HsH.js +858 -0
  189. package/dist/doctor-completion-fD570xvd.js +90 -0
  190. package/dist/doctor-config-preflight-B0C_HTWN.js +2 -0
  191. package/dist/doctor-config-preflight-OMEufm7U.js +148 -0
  192. package/dist/doctor-state-migrations-BJ5M0r8a.js +2 -0
  193. package/dist/doctor-state-migrations-CPG_ii-i.js +3 -0
  194. package/dist/embedding-provider-vb6JoF5D.js +129 -0
  195. package/dist/encryption-guidance-BRY-GWVy.js +33 -0
  196. package/dist/entry.js +2 -2
  197. package/dist/error-text-CM5bR2qT.js +24 -0
  198. package/dist/exec-approval-session-target-Ci45mXNL.js +159 -0
  199. package/dist/exec-approvals-D9wFcLn9.js +121 -0
  200. package/dist/extensionAPI.js +3 -3
  201. package/dist/extensions/acpx/index.js +3 -3
  202. package/dist/extensions/acpx/runtime-api.js +2 -2
  203. package/dist/extensions/amazon-bedrock/api.js +2 -2
  204. package/dist/extensions/amazon-bedrock/discovery.js +1 -1
  205. package/dist/extensions/amazon-bedrock/index.js +2 -2
  206. package/dist/extensions/anthropic/cli-migration.js +1 -1
  207. package/dist/extensions/anthropic/index.js +5 -5
  208. package/dist/extensions/anthropic/media-understanding-provider.js +1 -1
  209. package/dist/extensions/bluebubbles/api.js +2 -2
  210. package/dist/extensions/bluebubbles/index.js +2 -2
  211. package/dist/extensions/bluebubbles/setup-entry.js +1 -1
  212. package/dist/extensions/browser/test-support.js +1 -1
  213. package/dist/extensions/byteplus/index.js +2 -2
  214. package/dist/extensions/chutes/index.js +4 -4
  215. package/dist/extensions/cloudflare-ai-gateway/index.js +1 -1
  216. package/dist/extensions/deepseek/index.js +1 -1
  217. package/dist/extensions/device-pair/api.js +2 -2
  218. package/dist/extensions/device-pair/index.js +3 -3
  219. package/dist/extensions/device-pair/notify.js +1 -1
  220. package/dist/extensions/device-pair/qr-image.js +2 -2
  221. package/dist/extensions/diffs/index.js +1 -1
  222. package/dist/extensions/discord/action-runtime-api.js +1 -1
  223. package/dist/extensions/discord/api.js +4 -4
  224. package/dist/extensions/discord/index.js +9 -9
  225. package/dist/extensions/discord/runtime-api.js +10 -10
  226. package/dist/extensions/discord/setup-entry.js +2 -2
  227. package/dist/extensions/discord/test-api.js +3 -3
  228. package/dist/extensions/fal/index.js +2 -2
  229. package/dist/extensions/feishu/api.js +2 -2
  230. package/dist/extensions/feishu/index.js +7 -7
  231. package/dist/extensions/feishu/setup-api.js +1 -1
  232. package/dist/extensions/feishu/setup-entry.js +2 -2
  233. package/dist/extensions/github-copilot/api.js +1 -1
  234. package/dist/extensions/github-copilot/index.js +2 -2
  235. package/dist/extensions/github-copilot/login.js +1 -1
  236. package/dist/extensions/google/index.js +2 -2
  237. package/dist/extensions/google/media-understanding-provider.js +2 -2
  238. package/dist/extensions/googlechat/api.js +1 -1
  239. package/dist/extensions/googlechat/index.js +2 -2
  240. package/dist/extensions/googlechat/setup-entry.js +2 -2
  241. package/dist/extensions/googlechat/test-api.js +1 -1
  242. package/dist/extensions/groq/index.js +1 -1
  243. package/dist/extensions/groq/media-understanding-provider.js +1 -1
  244. package/dist/extensions/huggingface/index.js +2 -2
  245. package/dist/extensions/imessage/api.js +2 -2
  246. package/dist/extensions/imessage/index.js +7 -7
  247. package/dist/extensions/imessage/runtime-api.js +2 -2
  248. package/dist/extensions/imessage/setup-entry.js +3 -3
  249. package/dist/extensions/irc/api.js +1 -1
  250. package/dist/extensions/irc/index.js +2 -2
  251. package/dist/extensions/irc/setup-entry.js +2 -2
  252. package/dist/extensions/kilocode/index.js +1 -1
  253. package/dist/extensions/kimi-coding/index.js +2 -2
  254. package/dist/extensions/line/api.js +4 -4
  255. package/dist/extensions/line/index.js +5 -5
  256. package/dist/extensions/line/runtime-api.js +2 -2
  257. package/dist/extensions/line/setup-api.js +2 -2
  258. package/dist/extensions/line/setup-entry.js +3 -3
  259. package/dist/extensions/litellm/index.js +1 -1
  260. package/dist/extensions/lobster/index.js +1 -1
  261. package/dist/extensions/lobster/runtime-api.js +1 -1
  262. package/dist/extensions/matrix/api.js +3 -3
  263. package/dist/extensions/matrix/index.js +3 -3
  264. package/dist/extensions/matrix/plugin-entry.handlers.runtime.js +3 -3
  265. package/dist/extensions/matrix/setup-entry.js +2 -2
  266. package/dist/extensions/matrix/test-api.js +1 -1
  267. package/dist/extensions/mattermost/api.js +1 -1
  268. package/dist/extensions/mattermost/index.js +2 -2
  269. package/dist/extensions/mattermost/runtime-api.js +4 -4
  270. package/dist/extensions/mattermost/setup-entry.js +2 -2
  271. package/dist/extensions/media-understanding-core/runtime-api.js +2 -2
  272. package/dist/extensions/microsoft/index.js +1 -1
  273. package/dist/extensions/microsoft/speech-provider.js +1 -1
  274. package/dist/extensions/microsoft/test-api.js +1 -1
  275. package/dist/extensions/microsoft-foundry/auth.js +1 -1
  276. package/dist/extensions/microsoft-foundry/cli.js +1 -1
  277. package/dist/extensions/microsoft-foundry/index.js +1 -1
  278. package/dist/extensions/microsoft-foundry/onboard.js +2 -2
  279. package/dist/extensions/microsoft-foundry/provider.js +1 -1
  280. package/dist/extensions/microsoft-foundry/runtime.js +1 -1
  281. package/dist/extensions/microsoft-foundry/shared-runtime.js +2 -2
  282. package/dist/extensions/microsoft-foundry/shared.js +1 -1
  283. package/dist/extensions/minimax/index.js +4 -4
  284. package/dist/extensions/minimax/media-understanding-provider.js +1 -1
  285. package/dist/extensions/minimax/oauth.js +1 -1
  286. package/dist/extensions/minimax/oauth.runtime.js +1 -1
  287. package/dist/extensions/mistral/index.js +2 -2
  288. package/dist/extensions/mistral/media-understanding-provider.js +1 -1
  289. package/dist/extensions/modelstudio/index.js +1 -1
  290. package/dist/extensions/moonshot/index.js +2 -2
  291. package/dist/extensions/moonshot/media-understanding-provider.js +1 -1
  292. package/dist/extensions/msteams/api.js +1 -1
  293. package/dist/extensions/msteams/index.js +3 -3
  294. package/dist/extensions/msteams/runtime-api.js +4 -4
  295. package/dist/extensions/msteams/setup-entry.js +2 -2
  296. package/dist/extensions/msteams/test-api.js +1 -1
  297. package/dist/extensions/nextcloud-talk/api.js +1 -1
  298. package/dist/extensions/nextcloud-talk/index.js +2 -2
  299. package/dist/extensions/nextcloud-talk/runtime-api.js +2 -2
  300. package/dist/extensions/nextcloud-talk/setup-entry.js +2 -2
  301. package/dist/extensions/nostr/api.js +3 -3
  302. package/dist/extensions/nostr/index.js +4 -4
  303. package/dist/extensions/nostr/runtime-api.js +3 -3
  304. package/dist/extensions/nostr/setup-api.js +1 -1
  305. package/dist/extensions/nostr/setup-entry.js +2 -2
  306. package/dist/extensions/nostr/test-api.js +1 -1
  307. package/dist/extensions/nvidia/index.js +1 -1
  308. package/dist/extensions/ollama/api.js +2 -2
  309. package/dist/extensions/ollama/index.js +3 -3
  310. package/dist/extensions/ollama/runtime-api.js +2 -2
  311. package/dist/extensions/openai/api.js +1 -1
  312. package/dist/extensions/openai/index.js +3 -3
  313. package/dist/extensions/openai/media-understanding-provider.js +1 -1
  314. package/dist/extensions/openai/openai-codex-provider.js +1 -1
  315. package/dist/extensions/openai/openai-provider.js +1 -1
  316. package/dist/extensions/openai/test-api.js +1 -1
  317. package/dist/extensions/opencode/index.js +2 -2
  318. package/dist/extensions/opencode-go/index.js +2 -2
  319. package/dist/extensions/openrouter/index.js +3 -3
  320. package/dist/extensions/openrouter/media-understanding-provider.js +1 -1
  321. package/dist/extensions/openshell/index.js +1 -1
  322. package/dist/extensions/qianfan/index.js +1 -1
  323. package/dist/extensions/qqbot/index.js +2 -2
  324. package/dist/extensions/qqbot/setup-entry.js +2 -2
  325. package/dist/extensions/signal/api.js +4 -4
  326. package/dist/extensions/signal/index.js +9 -9
  327. package/dist/extensions/signal/reaction-runtime-api.js +1 -1
  328. package/dist/extensions/signal/runtime-api.js +4 -4
  329. package/dist/extensions/signal/setup-entry.js +2 -2
  330. package/dist/extensions/signal/test-api.js +4 -4
  331. package/dist/extensions/slack/api.js +6 -6
  332. package/dist/extensions/slack/index.js +2 -2
  333. package/dist/extensions/slack/runtime-api.js +6 -6
  334. package/dist/extensions/slack/setup-entry.js +2 -2
  335. package/dist/extensions/slack/test-api.js +4 -4
  336. package/dist/extensions/stepfun/index.js +2 -2
  337. package/dist/extensions/synology-chat/index.js +2 -2
  338. package/dist/extensions/synology-chat/setup-api.js +1 -1
  339. package/dist/extensions/synology-chat/setup-entry.js +2 -2
  340. package/dist/extensions/synthetic/index.js +1 -1
  341. package/dist/extensions/talk-voice/index.js +1 -1
  342. package/dist/extensions/telegram/api.js +8 -8
  343. package/dist/extensions/telegram/index.js +2 -2
  344. package/dist/extensions/telegram/runtime-api.js +8 -8
  345. package/dist/extensions/telegram/setup-entry.js +3 -3
  346. package/dist/extensions/telegram/test-api.js +7 -7
  347. package/dist/extensions/telegram/test-support.js +4 -4
  348. package/dist/extensions/tlon/index.js +2 -2
  349. package/dist/extensions/tlon/setup-entry.js +2 -2
  350. package/dist/extensions/tlon/test-api.js +1 -1
  351. package/dist/extensions/together/index.js +1 -1
  352. package/dist/extensions/twitch/index.js +1 -1
  353. package/dist/extensions/venice/index.js +1 -1
  354. package/dist/extensions/vercel-ai-gateway/index.js +1 -1
  355. package/dist/extensions/volcengine/index.js +2 -2
  356. package/dist/extensions/whatsapp/action-runtime-api.js +1 -1
  357. package/dist/extensions/whatsapp/action-runtime.runtime.js +1 -1
  358. package/dist/extensions/whatsapp/api.js +2 -2
  359. package/dist/extensions/whatsapp/index.js +2 -2
  360. package/dist/extensions/whatsapp/light-runtime-api.js +1 -1
  361. package/dist/extensions/whatsapp/login-qr-api.js +1 -1
  362. package/dist/extensions/whatsapp/runtime-api.js +13 -13
  363. package/dist/extensions/whatsapp/setup-entry.js +3 -3
  364. package/dist/extensions/whatsapp/test-api.js +6 -6
  365. package/dist/extensions/xai/code-execution.js +1 -1
  366. package/dist/extensions/xai/index.js +4 -4
  367. package/dist/extensions/xai/x-search.js +1 -1
  368. package/dist/extensions/xiaomi/index.js +1 -1
  369. package/dist/extensions/zai/index.js +2 -2
  370. package/dist/extensions/zai/media-understanding-provider.js +1 -1
  371. package/dist/extensions/zalo/api.js +2 -2
  372. package/dist/extensions/zalo/index.js +2 -2
  373. package/dist/extensions/zalo/runtime-api.js +2 -2
  374. package/dist/extensions/zalo/setup-entry.js +2 -2
  375. package/dist/extensions/zalo/test-api.js +1 -1
  376. package/dist/extensions/zalouser/api.js +1 -1
  377. package/dist/extensions/zalouser/index.js +10 -10
  378. package/dist/extensions/zalouser/runtime-api.js +3 -3
  379. package/dist/extensions/zalouser/setup-entry.js +3 -3
  380. package/dist/extensions/zalouser/test-api.js +4 -4
  381. package/dist/format-BN8tV56q.js +817 -0
  382. package/dist/gateway-CK0mVyJH.js +2575 -0
  383. package/dist/gateway-cli-BIGurgdT.js +1596 -0
  384. package/dist/gateway-install-token-CnLiX_Zd.js +230 -0
  385. package/dist/get-reply-from-config.runtime-DHVxBB-O.js +2 -0
  386. package/dist/get-reply-from-config.runtime.js +1 -1
  387. package/dist/gmail-watcher-lifecycle-BOSlI4iv.js +2 -0
  388. package/dist/graph-users-CceVBSPZ.js +918 -0
  389. package/dist/group-access-Cwl8gW8B.js +32 -0
  390. package/dist/group-access-DHoGAQFt.js +119 -0
  391. package/dist/handle-action-BmBnXGdV.js +500 -0
  392. package/dist/health-CkL8pqV8.js +2 -0
  393. package/dist/health-DhHzqohg.js +577 -0
  394. package/dist/heartbeat-runner-N3rkIDfo.js +995 -0
  395. package/dist/hooks-cli-LfG_KZSu.js +353 -0
  396. package/dist/http-client-lTUwUVkV.js +294 -0
  397. package/dist/image-BZJoriob.js +152 -0
  398. package/dist/image-runtime-V0FuCGlj.js +7 -0
  399. package/dist/inbound-reply-dispatch-C8za1uEq.js +73 -0
  400. package/dist/inbound.runtime-BYJ118rE.js +3 -0
  401. package/dist/inbound.runtime.js +1 -1
  402. package/dist/index.js +2 -2
  403. package/dist/infra-runtime-C9fJenAY.js +22 -0
  404. package/dist/install-BKR6ckWd.js +590 -0
  405. package/dist/install-security-scan-BWWG9NEd.js +22 -0
  406. package/dist/install-security-scan.runtime-CNFIn93M.js +299 -0
  407. package/dist/install-security-scan.runtime.js +1 -1
  408. package/dist/install.runtime-BKwzESsg.js +11 -0
  409. package/dist/install.runtime-DrieSb_M.js +27 -0
  410. package/dist/install.runtime.js +1 -1
  411. package/dist/irc-DRWT3CQf.js +14 -0
  412. package/dist/legacy-crypto-restore-CZycrxha.js +85 -0
  413. package/dist/library-CVZUhyOq.js +44 -0
  414. package/dist/llm-slug-generator-B79ECeWZ.js +68 -0
  415. package/dist/llm-slug-generator.js +1 -1
  416. package/dist/loader-BJO8z2ig.js +2 -0
  417. package/dist/login-Cs2tMFcs.js +2332 -0
  418. package/dist/login-GAWpWfxh.js +108 -0
  419. package/dist/login-qr-CUosF6JZ.js +211 -0
  420. package/dist/login-qr-api-W1NF3gA_.js +16 -0
  421. package/dist/manager.runtime-Dmq8R0mb.js +670 -0
  422. package/dist/manager.runtime.js +1 -1
  423. package/dist/matrix-DrH1M_Sr.js +351 -0
  424. package/dist/matrix-runtime-heavy-C6fkT2VX.js +4 -0
  425. package/dist/mattermost-B9327zl5.js +18 -0
  426. package/dist/media-CIdwV3Lu.js +1691 -0
  427. package/dist/media-runtime-QMgMQ3WZ.js +295 -0
  428. package/dist/media-understanding-C66pUC4U.js +51 -0
  429. package/dist/media-understanding-provider-BRzfmJfY.js +86 -0
  430. package/dist/media-understanding-provider-Bd8aZtsH.js +11 -0
  431. package/dist/media-understanding-provider-By1hanjB.js +16 -0
  432. package/dist/media-understanding-provider-C6SiAxyT.js +11 -0
  433. package/dist/media-understanding-provider-DGKwGu0P.js +16 -0
  434. package/dist/media-understanding-provider-Jlh0zs2Z.js +17 -0
  435. package/dist/media-understanding-provider-SRUeyQqG.js +28 -0
  436. package/dist/media-understanding-provider-wimL3kdC.js +11 -0
  437. package/dist/media-understanding.runtime-BPtAeqrg.js +7 -0
  438. package/dist/media-understanding.runtime.js +1 -1
  439. package/dist/message-CzGnK5F3.js +206 -0
  440. package/dist/message-action-runner-BZ8x9K7O.js +1330 -0
  441. package/dist/message-handler-gpYZEW_K.js +1771 -0
  442. package/dist/messages-Xy50Pa2j.js +270 -0
  443. package/dist/migration-snapshot.runtime-jCZaBq39.js +3 -0
  444. package/dist/migration-snapshot.runtime.js +1 -1
  445. package/dist/model-catalog-sx4GaLTc.js +216 -0
  446. package/dist/model-catalog.runtime-DDSdoGE4.js +2 -0
  447. package/dist/model-catalog.runtime.js +1 -1
  448. package/dist/model-picker-CDs8bq1G.js +3 -0
  449. package/dist/model-picker-bY3x3ppH.js +439 -0
  450. package/dist/model-runtime-BiWDK2-B.js +1772 -0
  451. package/dist/model-selection-rJYfkbE0.js +407 -0
  452. package/dist/models-D5u4cqP1.js +3 -0
  453. package/dist/models-Xs8Qafsh.js +2550 -0
  454. package/dist/models-cli-6McdkNo9.js +197 -0
  455. package/dist/models-config-CAPHcyO2.js +1106 -0
  456. package/dist/models-config-DABSjBBO.js +2 -0
  457. package/dist/models-config.runtime-B4-0SSTG.js +2 -0
  458. package/dist/models-config.runtime.js +1 -1
  459. package/dist/models-provider-runtime-C0oxGm-e.js +2 -0
  460. package/dist/monitor-B1P5ei52.js +3622 -0
  461. package/dist/monitor-B8Q7rxtC.js +666 -0
  462. package/dist/monitor-B9o5AegX.js +3660 -0
  463. package/dist/monitor-BSMPXJ97.js +676 -0
  464. package/dist/monitor-BgD5Jrad.js +4067 -0
  465. package/dist/monitor-Bzvaap7m.js +1525 -0
  466. package/dist/monitor-DOHgeQjB.js +687 -0
  467. package/dist/monitor-auth-3ZkW5CEr.js +192 -0
  468. package/dist/monitor-polling.runtime-Bs9-PKyv.js +307 -0
  469. package/dist/monitor-polling.runtime.js +1 -1
  470. package/dist/monitor-provider-BhVxiO1J.js +1782 -0
  471. package/dist/monitor-webhook.runtime-DtF-7o03.js +297 -0
  472. package/dist/monitor-webhook.runtime.js +1 -1
  473. package/dist/msteams-BIcHfY4o.js +33 -0
  474. package/dist/nextcloud-talk-Csx58yBv.js +18 -0
  475. package/dist/nostr-CMrgscuJ.js +19 -0
  476. package/dist/notify-DSCFVe6i.js +298 -0
  477. package/dist/oauth-CthjG7hQ.js +152 -0
  478. package/dist/onboard-C-jsaHwd.js +307 -0
  479. package/dist/onboard-channels-I98y7NZ8.js +2 -0
  480. package/dist/onboard-channels-NS1vMCQr.js +705 -0
  481. package/dist/onboard-custom-BMQ33xqX.js +2 -0
  482. package/dist/onboard-custom-Dz1DOCJM.js +646 -0
  483. package/dist/onboard-helpers-BnxgMgMT.js +228 -0
  484. package/dist/onboard-helpers-DEn4dg5k.js +4 -0
  485. package/dist/onboard-oYw6GJEA.js +591 -0
  486. package/dist/onboard-remote-CMmcPmsN.js +2 -0
  487. package/dist/onboard-remote-uiiE3QnY.js +193 -0
  488. package/dist/onboard-skills-CttSUeZa.js +2 -0
  489. package/dist/onboard-skills-DbUk33Ct.js +134 -0
  490. package/dist/openai-codex-provider-DZN_1A31.js +254 -0
  491. package/dist/openai-provider-CxBasM1Z.js +272 -0
  492. package/dist/openclaw-tools.runtime-nwmrOrNY.js +2 -0
  493. package/dist/openclaw-tools.runtime.js +1 -1
  494. package/dist/outbound-adapter-DfYvjhM_.js +183 -0
  495. package/dist/outbound-session-BTLOycg4.js +41 -0
  496. package/dist/persistent-bindings.lifecycle-CR9WhqMq.js +159 -0
  497. package/dist/pi-embedded-T_JLa73v.js +40738 -0
  498. package/dist/pi-embedded.runtime-Bn2DltTS.js +4 -0
  499. package/dist/pi-embedded.runtime.js +1 -1
  500. package/dist/plugin-install-BQ6Yfbir.js +230 -0
  501. package/dist/plugin-install-config-policy-Dr_wjNho.js +93 -0
  502. package/dist/plugin-install-lmnNJcpj.js +2 -0
  503. package/dist/plugin-install-plan-BysT2Zgt.js +50 -0
  504. package/dist/plugin-sdk/acp-runtime.js +2 -2
  505. package/dist/plugin-sdk/agent-runtime.js +4 -4
  506. package/dist/plugin-sdk/approval-runtime.js +2 -2
  507. package/dist/plugin-sdk/channel-inbound.js +3 -3
  508. package/dist/plugin-sdk/command-auth.js +6 -6
  509. package/dist/plugin-sdk/compat.js +1 -1
  510. package/dist/plugin-sdk/config-runtime.js +4 -4
  511. package/dist/plugin-sdk/conversation-runtime.js +3 -3
  512. package/dist/plugin-sdk/core.js +2 -2
  513. package/dist/plugin-sdk/direct-dm.js +1 -1
  514. package/dist/plugin-sdk/index.js +1 -1
  515. package/dist/plugin-sdk/infra-runtime.js +2 -2
  516. package/dist/plugin-sdk/irc.js +2 -2
  517. package/dist/plugin-sdk/matrix-runtime-heavy.js +3 -3
  518. package/dist/plugin-sdk/mattermost.js +4 -4
  519. package/dist/plugin-sdk/media-runtime.js +3 -3
  520. package/dist/plugin-sdk/media-understanding.js +2 -2
  521. package/dist/plugin-sdk/models-provider-runtime.js +2 -2
  522. package/dist/plugin-sdk/msteams.js +3 -3
  523. package/dist/plugin-sdk/nextcloud-talk.js +2 -2
  524. package/dist/plugin-sdk/nostr.js +2 -2
  525. package/dist/plugin-sdk/provider-auth-api-key.js +2 -2
  526. package/dist/plugin-sdk/provider-auth-login.js +1 -1
  527. package/dist/plugin-sdk/provider-auth.js +2 -2
  528. package/dist/plugin-sdk/provider-entry.js +1 -1
  529. package/dist/plugin-sdk/reply-dispatch-runtime.js +2 -2
  530. package/dist/plugin-sdk/reply-runtime.js +4 -4
  531. package/dist/plugin-sdk/session-store-runtime.js +2 -2
  532. package/dist/plugin-sdk/testing.js +3 -3
  533. package/dist/plugin-sdk/webhook-path.js +2 -29
  534. package/dist/plugin-sdk/zalo.js +2 -2
  535. package/dist/plugin-sdk/zalouser.js +2 -2
  536. package/dist/plugins/runtime/index.js +1 -1
  537. package/dist/plugins-cli-QKhcgiO8.js +561 -0
  538. package/dist/plugins-command-helpers-DhvJn5jI.js +116 -0
  539. package/dist/plugins-install-persist-Qeas2eSh.js +121 -0
  540. package/dist/plugins-update-command-BKJEivnf.js +974 -0
  541. package/dist/policy-Oilx4qmu.js +147 -0
  542. package/dist/preflight-audio-BmL4gGyL.js +48 -0
  543. package/dist/preflight-audio.runtime-CAepz41v.js +7 -0
  544. package/dist/preflight-audio.runtime.js +1 -1
  545. package/dist/prepare-8M63vDxs.js +1301 -0
  546. package/dist/probe-Btp49F9p.js +170 -0
  547. package/dist/probe-CAA_bibg.js +349 -0
  548. package/dist/probe-CcT1Zjlx.js +431 -0
  549. package/dist/probe-zQeRFb2K.js +1868 -0
  550. package/dist/profile-update-P49WNZII.js +67 -0
  551. package/dist/program-Kb8jcb5x.js +158 -0
  552. package/dist/prompt-select-styled-G8WwN-L7.js +6434 -0
  553. package/dist/provider-B2yqefja.js +3685 -0
  554. package/dist/provider-CzbklD1X.js +70 -0
  555. package/dist/provider-DIIdFC34.js +18901 -0
  556. package/dist/provider-api-key-auth-BliP73d_.js +109 -0
  557. package/dist/provider-api-key-auth.runtime.js +1 -1
  558. package/dist/provider-auth-DxViiapc.js +43 -0
  559. package/dist/provider-auth-api-key-BlF9OozZ.js +5 -0
  560. package/dist/provider-auth-login-DAhr6tMx.js +8 -0
  561. package/dist/provider-auth-login.runtime.js +1 -1
  562. package/dist/provider-discovery.runtime.js +1 -1
  563. package/dist/provider-dispatcher-BEZOvNvI.js +22 -0
  564. package/dist/provider-entry-CSq-QYSf.js +86 -0
  565. package/dist/provider-session.runtime-D3rfVYR5.js +7 -0
  566. package/dist/provider-session.runtime.js +1 -1
  567. package/dist/provider.runtime-Bbi0dGrm.js +2 -0
  568. package/dist/provider.runtime.js +1 -1
  569. package/dist/qr-image-IXoz2Bw3.js +2 -0
  570. package/dist/queue-Ca31F-8a.js +663 -0
  571. package/dist/reaction-runtime-api-CZLmJ_WX.js +114 -0
  572. package/dist/reactions-D-WSon-m.js +258 -0
  573. package/dist/read-only-account-inspect.telegram-MmNQAAZr.js +202 -0
  574. package/dist/register.agent-B7D4sSrd.js +240 -0
  575. package/dist/register.configure-BgQOxerG.js +15 -0
  576. package/dist/register.maintenance-CiTThGcR.js +449 -0
  577. package/dist/register.message-CReL6dlw.js +644 -0
  578. package/dist/register.onboard-DHhhEg9U.js +79 -0
  579. package/dist/register.setup-COczC1It.js +183 -0
  580. package/dist/register.status-health-sessions-DRX2aQSL.js +1206 -0
  581. package/dist/register.subclis-DXBjIEu_.js +3 -0
  582. package/dist/register.subclis-DokJMw3i.js +295 -0
  583. package/dist/replies-DuTJPPK4.js +118 -0
  584. package/dist/reply-CU8qGvKT.js +3192 -0
  585. package/dist/reply-blocks-BpVJG1en.js +103 -0
  586. package/dist/reply-dispatch-runtime-DxUm7xv8.js +3 -0
  587. package/dist/reply-runtime-CvaF7P6-.js +123 -0
  588. package/dist/reply.runtime-BfN6C1_l.js +2 -0
  589. package/dist/reply.runtime.js +1 -1
  590. package/dist/resolve-allowlist-C_Y8enFH.js +147 -0
  591. package/dist/resolve-targets-gk4hti4C.js +280 -0
  592. package/dist/rooms-Can12aFd.js +325 -0
  593. package/dist/route-reply-BxhqzhSe.js +133 -0
  594. package/dist/route-reply.runtime-BuSWcdvc.js +2 -0
  595. package/dist/route-reply.runtime.js +1 -1
  596. package/dist/route-resolution-DSj60ZbR.js +461 -0
  597. package/dist/rpc-context-a4f1uaqq.js +155 -0
  598. package/dist/run-main-CvRWW8mV.js +425 -0
  599. package/dist/runner-D_uJ9v3f.js +1479 -0
  600. package/dist/runtime-8Mw5wFou.js +68 -0
  601. package/dist/runtime-DQ8O9TLG.js +1175 -0
  602. package/dist/runtime-api-2l7jjGPw.js +3 -0
  603. package/dist/runtime-api-3_TNQnpI.js +81 -0
  604. package/dist/runtime-api-B6vjGOFJ.js +2 -0
  605. package/dist/runtime-api-BVjd5QC5.js +2 -0
  606. package/dist/runtime-api-BcMW34og.js +14 -0
  607. package/dist/runtime-api-Bih0haVa.js +2 -0
  608. package/dist/runtime-api-CZBqKHRi.js +2 -0
  609. package/dist/runtime-api-CnP_Jrha.js +2 -0
  610. package/dist/runtime-api-CnS87iaj.js +2 -0
  611. package/dist/runtime-api-DOLRVoZD.js +29 -0
  612. package/dist/runtime-api-R7oPeDFN.js +3676 -0
  613. package/dist/runtime-api-SP4kFvYZ.js +2 -0
  614. package/dist/runtime-api-y4jBsmod.js +2 -0
  615. package/dist/runtime-discord-ops.runtime.js +1 -1
  616. package/dist/runtime-embedded-pi.runtime-eHP2DunP.js +2 -0
  617. package/dist/runtime-embedded-pi.runtime.js +1 -1
  618. package/dist/runtime-media-understanding.runtime.js +1 -1
  619. package/dist/runtime-model-auth.runtime.js +1 -1
  620. package/dist/runtime-slack-ops.runtime.js +1 -1
  621. package/dist/runtime-tts.runtime.js +1 -1
  622. package/dist/sandbox-cli-DT2znKIY.js +443 -0
  623. package/dist/sdk-V8yEikk_.js +1108 -0
  624. package/dist/security-cli-DYR5zC6Y.js +477 -0
  625. package/dist/send-B-Z8V4Cq.js +532 -0
  626. package/dist/send-Bqywq3tg.js +3 -0
  627. package/dist/send-BxvA6SmF.js +100 -0
  628. package/dist/send-ChbtrSVp.js +2 -0
  629. package/dist/send-CzWEW9Zb.js +856 -0
  630. package/dist/send-DIfvOzDT.js +318 -0
  631. package/dist/send-DLHztqfo.js +442 -0
  632. package/dist/send-DYtTIT9n.js +178 -0
  633. package/dist/send-DiOk2E98.js +1076 -0
  634. package/dist/send.components-6LOUmhSy.js +2 -0
  635. package/dist/send.components-D75OT62r.js +942 -0
  636. package/dist/server-BNNkiKsj.js +9741 -0
  637. package/dist/server-cron-DuTAwT4O.js +4173 -0
  638. package/dist/server-cron-dsNWt3Xk.js +2 -0
  639. package/dist/server-lite-COJ3scXX.js +830 -0
  640. package/dist/server-maintenance-B1miba9h.js +542 -0
  641. package/dist/server-maintenance-Bc6xlNTK.js +2 -0
  642. package/dist/server-node-events-C8B10rlc.js +454 -0
  643. package/dist/server-node-subscriptions-BbcfGfam.js +2 -0
  644. package/dist/server-plugins-40fdRywj.js +10354 -0
  645. package/dist/server-plugins-D2LGejil.js +2 -0
  646. package/dist/server-startup-memory-BSth6DJB.js +2 -0
  647. package/dist/server-tailscale-Bwmz6UuQ.js +2 -0
  648. package/dist/services-CdVUH8cK.js +2 -0
  649. package/dist/session-DifMNh_t.js +50 -0
  650. package/dist/session-archive.runtime-EJGWbu-k.js +2 -0
  651. package/dist/session-archive.runtime.js +1 -1
  652. package/dist/session-envelope-Cc5bPuvN.js +18 -0
  653. package/dist/session-file-C6zGg-sn.js +120 -0
  654. package/dist/session-key-DPKf0dWL.js +52 -0
  655. package/dist/session-override-Cd7zBl0i.js +100 -0
  656. package/dist/session-reset-model.runtime-D_iAW4sx.js +119 -0
  657. package/dist/session-reset-model.runtime.js +1 -1
  658. package/dist/session-route-USlsJP9v.js +91 -0
  659. package/dist/session-store-runtime-Bac-IfWa.js +2 -0
  660. package/dist/session-subagent-reactivation.runtime-BrSBT1dK.js +2 -0
  661. package/dist/session-subagent-reactivation.runtime.js +1 -1
  662. package/dist/session-transcript-files.fs-D2Mq9mp7.js +149 -0
  663. package/dist/session-updates-RRq3LS7F.js +222 -0
  664. package/dist/session-updates.runtime-DlCqhR2y.js +2 -0
  665. package/dist/session-updates.runtime.js +1 -1
  666. package/dist/session-utils-B6yctVT6.js +1743 -0
  667. package/dist/sessions-BDZF0KSB.js +224 -0
  668. package/dist/sessions-Di_GACQe.js +2 -0
  669. package/dist/sessions-xeX9HpAZ.js +443 -0
  670. package/dist/setup-Du8OSH3g.js +427 -0
  671. package/dist/setup-api-ALaLEpZD.js +2 -0
  672. package/dist/setup-bootstrap-Dzdz67yA.js +54 -0
  673. package/dist/setup-core-CljP-9Aw.js +256 -0
  674. package/dist/setup-core-mlfG8i3t.js +146 -0
  675. package/dist/setup-surface-8NjprfQ4.js +261 -0
  676. package/dist/setup-surface-BBhpO_bO.js +304 -0
  677. package/dist/setup-surface-BpJACnBD.js +450 -0
  678. package/dist/setup-surface-C3-Jx6vF.js +272 -0
  679. package/dist/setup-surface-CzMh5yAL.js +656 -0
  680. package/dist/setup-surface-CzzVm3hE.js +353 -0
  681. package/dist/setup-surface-D6yTgwHY.js +346 -0
  682. package/dist/setup-surface-DjJE20Ud.js +484 -0
  683. package/dist/setup-surface-DpqfELkE.js +261 -0
  684. package/dist/setup-surface-VdCxFOLw.js +237 -0
  685. package/dist/setup-surface-fuNIOdUY.js +8848 -0
  686. package/dist/setup-surface-v155bftZ.js +333 -0
  687. package/dist/setup.finalize-iyzp5VAT.js +458 -0
  688. package/dist/setup.gateway-config-CU0y8lbT.js +247 -0
  689. package/dist/shared-Blh_fJTo.js +64 -0
  690. package/dist/shared-CBnUPRHA.js +180 -0
  691. package/dist/shared-CM5Gt0l4.js +198 -0
  692. package/dist/shared-CaqlRGF3.js +160 -0
  693. package/dist/shared-Cf75swpz.js +144 -0
  694. package/dist/shared-DL7by7Wd.js +2 -0
  695. package/dist/shared-DSx0wubR.js +72 -0
  696. package/dist/shared-DykGaEWS.js +94 -0
  697. package/dist/shared-azg27y31.js +78 -0
  698. package/dist/shared-runtime-Bt4waeX3.js +7 -0
  699. package/dist/skills-install-ByDR1-M6.js +819 -0
  700. package/dist/slash-commands-DG50c1a2.js +672 -0
  701. package/dist/slash-commands.runtime-CVcxhZ8u.js +20 -0
  702. package/dist/slash-commands.runtime.js +1 -1
  703. package/dist/slash-dispatch.runtime-C_YtFTUx.js +38 -0
  704. package/dist/slash-dispatch.runtime.js +1 -1
  705. package/dist/slash-skill-commands.runtime-Bj_cUvfb.js +8 -0
  706. package/dist/slash-skill-commands.runtime.js +1 -1
  707. package/dist/speech-provider-CC-UZuqH.js +190 -0
  708. package/dist/src-CAL53FNb.js +2739 -0
  709. package/dist/startup-verification-BpSIv6hV.js +131 -0
  710. package/dist/state-migrations-BZk1lezo.js +845 -0
  711. package/dist/status-8IelSped.js +650 -0
  712. package/dist/status-BVcZIA1F.js +3 -0
  713. package/dist/status-Bf-qPLzv.js +608 -0
  714. package/dist/status-BviySeE3.js +2 -0
  715. package/dist/status-all-Cmj7Gw5o.js +798 -0
  716. package/dist/status-issues--arI8w_g.js +187 -0
  717. package/dist/status-issues-byw_R8T_.js +336 -0
  718. package/dist/status-json-CKuOdeh3.js +86 -0
  719. package/dist/status.command.text-runtime-B3Z2fUDH.js +18 -0
  720. package/dist/status.scan-boBZeJmL.js +264 -0
  721. package/dist/status.scan.fast-json-AJppC2D5.js +97 -0
  722. package/dist/status.scan.fast-json-shj4aBtI.js +2 -0
  723. package/dist/status.scan.json-core-BpHhaewp.js +254 -0
  724. package/dist/status.summary-C4itGbbW.js +210 -0
  725. package/dist/status.summary-zSPMfFai.js +2 -0
  726. package/dist/sticker-cache-BN_g5-an.js +1573 -0
  727. package/dist/sticker-vision.runtime-DC2hIjcl.js +16 -0
  728. package/dist/sticker-vision.runtime.js +1 -1
  729. package/dist/storage-YrOCuZuJ.js +234 -0
  730. package/dist/store-DJaTq2_f.js +1343 -0
  731. package/dist/store.runtime-B05zX98d.js +2 -0
  732. package/dist/store.runtime.js +1 -1
  733. package/dist/stream-D5aKuhrW.js +633 -0
  734. package/dist/subagent-orphan-recovery-vUbckcfb.js +206 -0
  735. package/dist/subagent-registry-runtime-BE_luJ3B.js +2 -0
  736. package/dist/supervisor-log.runtime.js +1 -1
  737. package/dist/targets-BG8dKyny.js +748 -0
  738. package/dist/task-registry-delivery-runtime-B-oO-IGC.js +2 -0
  739. package/dist/task-registry.audit-BCghpxrn.js +320 -0
  740. package/dist/task-registry.maintenance-B55J7Hf8.js +2 -0
  741. package/dist/telegram/token.js +1 -1
  742. package/dist/test-api-BBW7IReU.js +47 -0
  743. package/dist/testing-fkQ9XFkv.js +677 -0
  744. package/dist/thread-bindings-B0ugWuKq.js +534 -0
  745. package/dist/thread-bindings-Dx2arldI.js +778 -0
  746. package/dist/thread-bindings-iFF5pMFx.js +219 -0
  747. package/dist/thread-bindings-lTuhY3On.js +352 -0
  748. package/dist/thread-bindings.discord-api-iGyDtjBI.js +487 -0
  749. package/dist/threading-7EMTgTsu.js +832 -0
  750. package/dist/threading-BkydE-cL.js +2 -0
  751. package/dist/threading-tool-context-C3JbrV_5.js +157 -0
  752. package/dist/token-wT6DwKaB.js +82 -0
  753. package/dist/tool-actions.runtime-B5mERIej.js +532 -0
  754. package/dist/tool-actions.runtime.js +1 -1
  755. package/dist/tools-effective-inventory-DWXkEygO.js +148 -0
  756. package/dist/tts.runtime.js +1 -1
  757. package/dist/ui-CC9JMpg4.js +212 -0
  758. package/dist/update-BjW3w9eI.js +1253 -0
  759. package/dist/update-cli-B27tZquO.js +1447 -0
  760. package/dist/update-runner-BMiyTW62.js +1195 -0
  761. package/dist/verification-C_ZgAv5v.js +130 -0
  762. package/dist/verification-DCQ1M0pg.js +2 -0
  763. package/dist/x-search-Btj7UfUg.js +166 -0
  764. package/dist/zalo-CnU0tzBl.js +13 -0
  765. package/dist/zalo-js-InpiWFuE.js +1156 -0
  766. package/dist/zalouser-CuRMbL4r.js +22 -0
  767. package/package.json +4 -1
  768. package/dist/abort-CuFxEr2t.js +0 -192
  769. package/dist/abort-cutoff.runtime-CU97Q3Ef.js +0 -20
  770. package/dist/abort.runtime-CZflOJv6.js +0 -2
  771. package/dist/access-control-CLswIHY1.js +0 -152
  772. package/dist/account-inspect-DiDpXY0-.js +0 -158
  773. package/dist/accounts-BwSkt2tm.js +0 -57
  774. package/dist/accounts-C8c90Uek.js +0 -2
  775. package/dist/accounts-CiFhbmdr.js +0 -107
  776. package/dist/accounts-D9Qnnbfl.js +0 -102
  777. package/dist/accounts-DKwfzzAC.js +0 -137
  778. package/dist/acp-runtime-CwGef6ZP.js +0 -8
  779. package/dist/acp-stateful-target-driver-p0EDW10u.js +0 -60
  780. package/dist/action-runtime-BWY3HXxf.js +0 -318
  781. package/dist/action-runtime-DNi9yizU.js +0 -72
  782. package/dist/action-runtime-api-BSPlMrO-.js +0 -1028
  783. package/dist/actions-MNvlds_S.js +0 -531
  784. package/dist/actions.runtime--mEwSSNe.js +0 -18
  785. package/dist/actions.runtime-B1HzEE8Z.js +0 -5
  786. package/dist/actions.runtime-BG6xvov3.js +0 -2
  787. package/dist/agent-CGwFOztX.js +0 -2
  788. package/dist/agent-command-IPMBbUVI.js +0 -1457
  789. package/dist/agent-runner.runtime-Bzf0jJA9.js +0 -2241
  790. package/dist/agent-runtime-oVxaAl9G.js +0 -142
  791. package/dist/agent-tools-login-BIEsXGSl.js +0 -57
  792. package/dist/agents-CYexVjSC.js +0 -888
  793. package/dist/agents-DpXXlVMm.js +0 -5
  794. package/dist/api-B5hYfONF2.js +0 -322
  795. package/dist/api-CWf7SD_r.js +0 -2
  796. package/dist/api-CoVu8JQC.js +0 -6
  797. package/dist/api-D1zC-04H.js +0 -2
  798. package/dist/api-DAJXC6Eh.js +0 -5
  799. package/dist/api-DIBiOiU5.js +0 -5
  800. package/dist/api-DNiO8MKu.js +0 -10
  801. package/dist/apply-T4gGjbIw.js +0 -485
  802. package/dist/apply.runtime-BIKyTMdb.js +0 -2
  803. package/dist/approval-native-PdTPYbWz.js +0 -79
  804. package/dist/approval-runtime-DQds_bzO.js +0 -262
  805. package/dist/attachment-normalize-KVBm83XJ.js +0 -921
  806. package/dist/audit-ClUk-eTw.js +0 -892
  807. package/dist/audit-NQngcqbL.js +0 -86
  808. package/dist/audit-channel.collect.runtime-BJlZ1Tqv.js +0 -528
  809. package/dist/audit-channel.telegram.runtime-CoLwvFcv.js +0 -8
  810. package/dist/audit-extra.async-B3ODYISl.js +0 -820
  811. package/dist/audit.deep.runtime-BaiMFfPv.js +0 -2
  812. package/dist/audit.nondeep.runtime-Cvt1jVHR.js +0 -831
  813. package/dist/audit.runtime-BOuTTKD4.js +0 -7
  814. package/dist/auth-BuSqMfLL.js +0 -181
  815. package/dist/auth-choice-B69NsSNK.js +0 -69
  816. package/dist/auth-choice-C7dAbZYQ.js +0 -3
  817. package/dist/auth-choice-ChlvsxHZ.js +0 -341
  818. package/dist/binding-targets-i1Phu9Ml.js +0 -99
  819. package/dist/bot-DA6nZ125.js +0 -4268
  820. package/dist/bot-message-context-4RzAPTiL.js +0 -2
  821. package/dist/bot-message-context-Bd0CyeDw.js +0 -1175
  822. package/dist/bot-message-context.runtime-CwPXKJUK.js +0 -7
  823. package/dist/bot-message-context.session.runtime-C9Qk9RJ2.js +0 -12
  824. package/dist/bot-native-commands.delivery.runtime-DP3bmRQI.js +0 -3
  825. package/dist/bot-native-commands.runtime-CIprmHSX.js +0 -11
  826. package/dist/build-info.json +0 -5
  827. package/dist/bundled/boot-md/HOOK.md +0 -20
  828. package/dist/bundled/bootstrap-extra-files/HOOK.md +0 -53
  829. package/dist/bundled/command-logger/HOOK.md +0 -122
  830. package/dist/bundled/session-memory/HOOK.md +0 -108
  831. package/dist/bundled/workflow-summary/HOOK.md +0 -123
  832. package/dist/canvas-host/a2ui/.bundle.hash +0 -1
  833. package/dist/canvas-host/a2ui/a2ui.bundle.js +0 -14896
  834. package/dist/canvas-host/a2ui/index.html +0 -307
  835. package/dist/channel-5dQinNdH.js +0 -783
  836. package/dist/channel-7CzQF9TT.js +0 -1135
  837. package/dist/channel-B4fvHRK-.js +0 -698
  838. package/dist/channel-B_TyijiN.js +0 -454
  839. package/dist/channel-Bcj7dCz-.js +0 -208
  840. package/dist/channel-CAPp1zv2.js +0 -599
  841. package/dist/channel-CSFDlAzr.js +0 -337
  842. package/dist/channel-CYMfBONo.js +0 -4976
  843. package/dist/channel-CkvHjmWG.js +0 -883
  844. package/dist/channel-CoWCft7t.js +0 -1217
  845. package/dist/channel-DNTrg5rc.js +0 -1661
  846. package/dist/channel-Dw5L6ZCL.js +0 -1129
  847. package/dist/channel-DzPVCd5F.js +0 -361
  848. package/dist/channel-GiLFmQxZ.js +0 -800
  849. package/dist/channel-XFvR7Dxh.js +0 -788
  850. package/dist/channel-inbound-bfoCnYI3.js +0 -30
  851. package/dist/channel-plugin-resolution-BMT07Y4B.js +0 -144
  852. package/dist/channel-shared-BNnyz1wC.js +0 -58
  853. package/dist/channel.runtime-B_dMxh1q.js +0 -125
  854. package/dist/channel.runtime-B_fR3JCp.js +0 -335
  855. package/dist/channel.runtime-BhQ_73jj.js +0 -14
  856. package/dist/channel.runtime-CDgrnVP6.js +0 -108
  857. package/dist/channel.runtime-DPFtjm6K.js +0 -309
  858. package/dist/channel.runtime-DigoZ45U.js +0 -80
  859. package/dist/channel.runtime-IHt2hi0h.js +0 -22252
  860. package/dist/channel.runtime-M3E3w35V.js +0 -373
  861. package/dist/channel.setup-CQIfV874.js +0 -279
  862. package/dist/channels-PlRayWHp.js +0 -1134
  863. package/dist/channels-cli-B4MObWHe.js +0 -246
  864. package/dist/clawhub-UfARocx9.js +0 -163
  865. package/dist/cli-B7qV90_y.js +0 -152
  866. package/dist/cli-DoYOPf2E.js +0 -695
  867. package/dist/cli-migration-7qu0VuUR.js +0 -100
  868. package/dist/cli-runner-C1qdQ4P5.js +0 -1014
  869. package/dist/cli-startup-metadata.json +0 -14
  870. package/dist/client-bootstrap-Bf-VJF8o.js +0 -2
  871. package/dist/client-bootstrap-BtDC_ghW.js +0 -121
  872. package/dist/client-c8NPFdV6.js +0 -7
  873. package/dist/client-xBBbf9T_.js +0 -5
  874. package/dist/code-execution-IwkUcM9K.js +0 -142
  875. package/dist/command-auth-CDvEQqI-.js +0 -64
  876. package/dist/command-registry-1pRI9W0V.js +0 -3
  877. package/dist/command-registry-Dr8xswzu.js +0 -199
  878. package/dist/commands-B7zoPsaq.js +0 -4
  879. package/dist/commands-acp-_0Jt7bpI.js +0 -990
  880. package/dist/commands-core-B2PxYebU.js +0 -241
  881. package/dist/commands-core.runtime-Bk-kMe8I.js +0 -2
  882. package/dist/commands-handlers.runtime-Dp-fdvyC.js +0 -3708
  883. package/dist/commands-info-CM-kPvq5.js +0 -651
  884. package/dist/commands-models-B_KkCnYQ.js +0 -395
  885. package/dist/commands-status.runtime-B7xG5l06.js +0 -2
  886. package/dist/commands.runtime-DTcg2ygT.js +0 -4
  887. package/dist/compact.runtime-C-TOc6On.js +0 -7
  888. package/dist/completion-cli-DYyVmY2G.js +0 -466
  889. package/dist/completion-cli-IsVueMzq.js +0 -2
  890. package/dist/config-DgES7wDO.js +0 -475
  891. package/dist/config-cli-B-FLvmji.js +0 -945
  892. package/dist/config-guard-DolG9Hb3.js +0 -113
  893. package/dist/config-runtime-DOU6nuit.js +0 -13
  894. package/dist/config-secret-input.runtime-D8uisXyK.js +0 -3
  895. package/dist/config-update-6NzLhzi0.js +0 -3
  896. package/dist/config-update-DvNp6OTj.js +0 -127
  897. package/dist/configure-BMLNn-t4.js +0 -1140
  898. package/dist/configure-Ce061vUB.js +0 -2
  899. package/dist/context-B_IskqEg.js +0 -227
  900. package/dist/control-ui/apple-touch-icon.png +0 -0
  901. package/dist/control-ui/assets/agents-CouEImnJ.js +0 -813
  902. package/dist/control-ui/assets/anthropic-D2gWjM8y.js +0 -37
  903. package/dist/control-ui/assets/azure-openai-responses-rSA0t6IS.js +0 -2
  904. package/dist/control-ui/assets/channel-config-extras-DNCeHtEf.js +0 -2
  905. package/dist/control-ui/assets/channels-BgJBIl8z.js +0 -349
  906. package/dist/control-ui/assets/cron-CESIxOYW.js +0 -928
  907. package/dist/control-ui/assets/de-DU-XmSEb.js +0 -2
  908. package/dist/control-ui/assets/debug-BAZT8Cur.js +0 -94
  909. package/dist/control-ui/assets/directive-C6NBp6xJ.js +0 -2
  910. package/dist/control-ui/assets/dist-D8DZLmCF.js +0 -18
  911. package/dist/control-ui/assets/es-Be891ZDf.js +0 -2
  912. package/dist/control-ui/assets/event-stream-B8X6sYaV.js +0 -2
  913. package/dist/control-ui/assets/format-nUIQxx1z.js +0 -2
  914. package/dist/control-ui/assets/github-copilot-headers-CrI0CIJ7.js +0 -2
  915. package/dist/control-ui/assets/google-B2pGWEiN.js +0 -2
  916. package/dist/control-ui/assets/google-gemini-cli-BpxbH95Q.js +0 -3
  917. package/dist/control-ui/assets/google-shared-CbPHVnPr.js +0 -12
  918. package/dist/control-ui/assets/google-vertex-lQwbjEII.js +0 -2
  919. package/dist/control-ui/assets/hash-Bt1aVMQ3.js +0 -2
  920. package/dist/control-ui/assets/index-C0UxQzEn.js +0 -4813
  921. package/dist/control-ui/assets/index-DOMg2RvO.css +0 -1
  922. package/dist/control-ui/assets/instances-ClbVvaQy.js +0 -57
  923. package/dist/control-ui/assets/lit-zdTgzAJI.js +0 -3
  924. package/dist/control-ui/assets/logs-vVeVJ0CI.js +0 -74
  925. package/dist/control-ui/assets/mistral-imHzDZ_7.js +0 -8
  926. package/dist/control-ui/assets/nodes-CeaJKODa.js +0 -430
  927. package/dist/control-ui/assets/openai-Cn7eGqwa.js +0 -17
  928. package/dist/control-ui/assets/openai-codex-responses-DRaOkrRO.js +0 -8
  929. package/dist/control-ui/assets/openai-completions-0yOZERna.js +0 -6
  930. package/dist/control-ui/assets/openai-responses-8vqADgIw.js +0 -2
  931. package/dist/control-ui/assets/openai-responses-shared-Q7jopnLp.js +0 -11
  932. package/dist/control-ui/assets/preload-helper-xBbMyY7u.js +0 -1
  933. package/dist/control-ui/assets/pt-BR-RqwUvKTB.js +0 -2
  934. package/dist/control-ui/assets/sessions-CiBN6LBg.js +0 -236
  935. package/dist/control-ui/assets/skills-shared-DJsJP4-4.js +0 -11
  936. package/dist/control-ui/assets/skills-yhlO3Ote.js +0 -216
  937. package/dist/control-ui/assets/transform-messages-XKqwKV3D.js +0 -2
  938. package/dist/control-ui/assets/zh-CN-CUzhgfRs.js +0 -2
  939. package/dist/control-ui/assets/zh-TW-CCgwa2eS.js +0 -2
  940. package/dist/control-ui/favicon-32.png +0 -0
  941. package/dist/control-ui/favicon.ico +0 -0
  942. package/dist/control-ui/favicon.svg +0 -66
  943. package/dist/control-ui/index.html +0 -75
  944. package/dist/conversation-bindings-BWn8Eq0t.js +0 -210
  945. package/dist/conversation-id-CIpyn-VD.js +0 -168
  946. package/dist/conversation-runtime-BpJdJqei.js +0 -85
  947. package/dist/core-BsdZRsb0.js +0 -195
  948. package/dist/create-client-HZBJ7-Fl.js +0 -2
  949. package/dist/create-client-WqOz1ro_.js +0 -58
  950. package/dist/credentials-5vTiF-oK.js +0 -22
  951. package/dist/credentials-write.runtime-3bouyp8U.js +0 -9
  952. package/dist/crypto-runtime-DirRLBDM.js +0 -3495
  953. package/dist/daemon-cli-AJpZY4sn.js +0 -383
  954. package/dist/daemon-install-FZTHcBaU.js +0 -63
  955. package/dist/delegate-BaC3I_I2.js +0 -43
  956. package/dist/deliver-BaDjGKa4.js +0 -3
  957. package/dist/deliver-CWBM3uFK.js +0 -954
  958. package/dist/deliver-reply-B1lULS4T.js +0 -238
  959. package/dist/deliver-runtime-C9wPhPVo.js +0 -2
  960. package/dist/delivery-info-UablM7m8.js +0 -40
  961. package/dist/delivery-jNAx1UXj.js +0 -834
  962. package/dist/direct-dm-BOWirToy.js +0 -139
  963. package/dist/direct-management-D7iGx6GI.js +0 -300
  964. package/dist/direct-management-DmQUf3My.js +0 -2
  965. package/dist/directive-handling.fast-lane-BgUe6rBZ.js +0 -64
  966. package/dist/directive-handling.fast-lane-C__EV2OZ.js +0 -2
  967. package/dist/directive-handling.impl-D466FFH9.js +0 -672
  968. package/dist/directive-handling.impl-tl3nNkjQ.js +0 -2
  969. package/dist/directive-handling.parse-H-NqZbGQ.js +0 -375
  970. package/dist/directive-handling.persist-D-TH7X00.js +0 -133
  971. package/dist/directive-handling.persist.runtime-CKzh0FFl.js +0 -2
  972. package/dist/directive-handling.shared-CMdDhj2s.js +0 -158
  973. package/dist/directory-cli-BkFOqvau.js +0 -238
  974. package/dist/directory.static-CWHw_6bd.js +0 -45
  975. package/dist/discovery-CmDmBzyt.js +0 -171
  976. package/dist/dispatch-5P8XNY-z.js +0 -858
  977. package/dist/dispatch-acp.runtime-BXLlUo6a.js +0 -884
  978. package/dist/doctor-completion-C-PtqnX4.js +0 -90
  979. package/dist/doctor-config-preflight--G_zFI_P.js +0 -148
  980. package/dist/doctor-config-preflight-Cgmj0J2d.js +0 -2
  981. package/dist/doctor-state-migrations-B4vgkpe8.js +0 -3
  982. package/dist/doctor-state-migrations-R3EnGfXE.js +0 -2
  983. package/dist/embedding-provider-DllEP1OZ.js +0 -129
  984. package/dist/encryption-guidance-DDwXFxqS.js +0 -33
  985. package/dist/error-text-C4BdRT0b.js +0 -24
  986. package/dist/exec-approval-session-target-BpHDdAt6.js +0 -159
  987. package/dist/exec-approvals-Lpud2QXU.js +0 -121
  988. package/dist/export-html/template.css +0 -1060
  989. package/dist/export-html/template.html +0 -88
  990. package/dist/export-html/template.js +0 -1875
  991. package/dist/export-html/vendor/highlight.min.js +0 -1213
  992. package/dist/export-html/vendor/marked.min.js +0 -6
  993. package/dist/format-CerBTToC.js +0 -817
  994. package/dist/gateway-BuNsK2ll.js +0 -2575
  995. package/dist/gateway-cli-WL9O_amN.js +0 -1596
  996. package/dist/gateway-install-token-DBjV7vuQ.js +0 -230
  997. package/dist/get-reply-from-config.runtime-Ci2UvY3-.js +0 -2
  998. package/dist/gmail-watcher-lifecycle-BE_4dMST.js +0 -2
  999. package/dist/graph-users-CGePGfzI.js +0 -918
  1000. package/dist/group-access-D9zxJ9Eg.js +0 -119
  1001. package/dist/group-access-qaCYNF5W.js +0 -32
  1002. package/dist/handle-action-CqjxOWwH.js +0 -500
  1003. package/dist/health-Ckh-98zt.js +0 -577
  1004. package/dist/health-Dte2hwwy.js +0 -2
  1005. package/dist/heartbeat-runner-BSkqJHkl.js +0 -995
  1006. package/dist/hooks-cli-5qH5guhQ.js +0 -353
  1007. package/dist/http-client-E-AK0hBj.js +0 -294
  1008. package/dist/image-Dflgshq4.js +0 -152
  1009. package/dist/image-runtime-C8N4pHiL.js +0 -7
  1010. package/dist/inbound-reply-dispatch-DnSGPONh.js +0 -73
  1011. package/dist/inbound.runtime-CSV1NzQc.js +0 -3
  1012. package/dist/infra-runtime-B0CHuzrJ.js +0 -22
  1013. package/dist/install-security-scan-pEC-BNIh.js +0 -22
  1014. package/dist/install-security-scan.runtime-KtCBz8Ms.js +0 -299
  1015. package/dist/install-slQpgebI.js +0 -590
  1016. package/dist/install.runtime-BDKuVJIa.js +0 -27
  1017. package/dist/install.runtime-Cdb5F3uW.js +0 -11
  1018. package/dist/irc-CWidrqqa.js +0 -14
  1019. package/dist/legacy-crypto-restore-DrVtd4-4.js +0 -85
  1020. package/dist/library-CmpBsnzV.js +0 -44
  1021. package/dist/llm-slug-generator-5ztca3GP.js +0 -68
  1022. package/dist/loader-BOVnpEv5.js +0 -2
  1023. package/dist/login-I8HWXek2.js +0 -108
  1024. package/dist/login-Xx8YN-Ut.js +0 -2332
  1025. package/dist/login-qr-AEmAM7Qe.js +0 -211
  1026. package/dist/login-qr-api-BSW8Ta-A.js +0 -16
  1027. package/dist/manager.runtime-DpPqh8fu.js +0 -670
  1028. package/dist/matrix-CVj94cvn.js +0 -351
  1029. package/dist/matrix-runtime-heavy-n2o8hviY.js +0 -4
  1030. package/dist/mattermost-D0PPzHDR.js +0 -18
  1031. package/dist/media-CS8BGM6_.js +0 -1691
  1032. package/dist/media-runtime-CzcnSxHP.js +0 -295
  1033. package/dist/media-understanding-6pmWMadX.js +0 -51
  1034. package/dist/media-understanding-provider--2czf2Xl.js +0 -16
  1035. package/dist/media-understanding-provider-1v3aAmph.js +0 -17
  1036. package/dist/media-understanding-provider-Bo02B0WG.js +0 -16
  1037. package/dist/media-understanding-provider-C1e568I5.js +0 -86
  1038. package/dist/media-understanding-provider-DftOn7qM.js +0 -28
  1039. package/dist/media-understanding-provider-JfEcvB6a.js +0 -11
  1040. package/dist/media-understanding-provider-Zvb9Fi0L.js +0 -11
  1041. package/dist/media-understanding-provider-fpeKUYrh.js +0 -11
  1042. package/dist/media-understanding.runtime-CBg9Myvx.js +0 -7
  1043. package/dist/message-DTcLbUjJ.js +0 -206
  1044. package/dist/message-action-runner-Nkrb1psP.js +0 -1330
  1045. package/dist/message-handler-ozmV6rws.js +0 -1771
  1046. package/dist/messages-W3Tl9C55.js +0 -270
  1047. package/dist/migration-snapshot.runtime-CBx6_nXj.js +0 -3
  1048. package/dist/model-catalog-BdRYqKL1.js +0 -216
  1049. package/dist/model-catalog.runtime--yFOIYWV.js +0 -2
  1050. package/dist/model-picker-Cgjw3ytp.js +0 -3
  1051. package/dist/model-picker-jZueDrUL.js +0 -439
  1052. package/dist/model-runtime-51DWArDE.js +0 -1772
  1053. package/dist/model-selection-BohZPMIS.js +0 -407
  1054. package/dist/models-By72Z6_k.js +0 -2550
  1055. package/dist/models-Dgkh71VB.js +0 -3
  1056. package/dist/models-cli-6ZWkpdCu.js +0 -197
  1057. package/dist/models-config-C4DcwiKp.js +0 -2
  1058. package/dist/models-config-CMbP7C_L.js +0 -1106
  1059. package/dist/models-config.runtime-Chha_CyE.js +0 -2
  1060. package/dist/models-provider-runtime-Bu0Agcak.js +0 -2
  1061. package/dist/monitor-B7gDwViK.js +0 -3622
  1062. package/dist/monitor-BE6u7xIu.js +0 -1525
  1063. package/dist/monitor-BRMbIrFT.js +0 -3660
  1064. package/dist/monitor-COLTfgXl.js +0 -676
  1065. package/dist/monitor-CvHGVZmI.js +0 -4067
  1066. package/dist/monitor-DB9RduAn.js +0 -687
  1067. package/dist/monitor-DL7WkrAh.js +0 -666
  1068. package/dist/monitor-auth-EM0izKiw.js +0 -192
  1069. package/dist/monitor-polling.runtime-DFWDyq0r.js +0 -307
  1070. package/dist/monitor-provider-BCduxzuC.js +0 -1782
  1071. package/dist/monitor-webhook.runtime-66MaZoy1.js +0 -297
  1072. package/dist/msteams-DfVsNAAv.js +0 -33
  1073. package/dist/nextcloud-talk-DzdSPp33.js +0 -18
  1074. package/dist/nostr-CA9Nyz3w.js +0 -19
  1075. package/dist/notify-C6g-CT-E.js +0 -298
  1076. package/dist/oauth-0jEycYdH.js +0 -152
  1077. package/dist/onboard-BBY0wtI-.js +0 -591
  1078. package/dist/onboard-BJZUne8W.js +0 -307
  1079. package/dist/onboard-channels-2M_l-yYq.js +0 -705
  1080. package/dist/onboard-channels-B8fOn_J8.js +0 -2
  1081. package/dist/onboard-custom-BQxH-LlD.js +0 -646
  1082. package/dist/onboard-custom-BXJFm5tv.js +0 -2
  1083. package/dist/onboard-helpers-DAmUY5cA.js +0 -228
  1084. package/dist/onboard-helpers-DalDwXjg.js +0 -4
  1085. package/dist/onboard-remote-CAS2F09D.js +0 -2
  1086. package/dist/onboard-remote-nfFOhKzl.js +0 -193
  1087. package/dist/onboard-skills-CH4ZsJr7.js +0 -2
  1088. package/dist/onboard-skills-DSYZC5D0.js +0 -134
  1089. package/dist/openai-codex-provider-B_8TNnmh.js +0 -254
  1090. package/dist/openai-provider-CwnYhA5Q.js +0 -272
  1091. package/dist/openclaw-tools.runtime-1mX4RgUb.js +0 -2
  1092. package/dist/outbound-adapter-DDaf1Qmt.js +0 -183
  1093. package/dist/outbound-session-XCEG44pM.js +0 -41
  1094. package/dist/persistent-bindings.lifecycle-CC1LNlZw.js +0 -159
  1095. package/dist/pi-embedded-B2zIKehU.js +0 -40738
  1096. package/dist/pi-embedded.runtime-tIoF88cE.js +0 -4
  1097. package/dist/plugin-install-CqzqZMog.js +0 -230
  1098. package/dist/plugin-install-P8ACZKV4.js +0 -2
  1099. package/dist/plugin-install-config-policy-CWxlz2Uf.js +0 -93
  1100. package/dist/plugin-install-plan-D2X3sbgg.js +0 -50
  1101. package/dist/plugin-sdk/account-core.d.ts +0 -1
  1102. package/dist/plugin-sdk/account-helpers.d.ts +0 -1
  1103. package/dist/plugin-sdk/account-id.d.ts +0 -1
  1104. package/dist/plugin-sdk/account-resolution.d.ts +0 -1
  1105. package/dist/plugin-sdk/acp-runtime.d.ts +0 -1
  1106. package/dist/plugin-sdk/agent-config-primitives.d.ts +0 -1
  1107. package/dist/plugin-sdk/agent-runtime.d.ts +0 -1
  1108. package/dist/plugin-sdk/allow-from.d.ts +0 -1
  1109. package/dist/plugin-sdk/allowlist-config-edit.d.ts +0 -1
  1110. package/dist/plugin-sdk/amazon-bedrock.d.ts +0 -1
  1111. package/dist/plugin-sdk/anthropic-vertex.d.ts +0 -1
  1112. package/dist/plugin-sdk/approval-runtime.d.ts +0 -1
  1113. package/dist/plugin-sdk/bluebubbles-policy.d.ts +0 -1
  1114. package/dist/plugin-sdk/bluebubbles.d.ts +0 -1
  1115. package/dist/plugin-sdk/boolean-param.d.ts +0 -1
  1116. package/dist/plugin-sdk/browser-runtime.d.ts +0 -1
  1117. package/dist/plugin-sdk/browser-support.d.ts +0 -1
  1118. package/dist/plugin-sdk/browser.d.ts +0 -1
  1119. package/dist/plugin-sdk/byteplus.d.ts +0 -1
  1120. package/dist/plugin-sdk/channel-actions.d.ts +0 -1
  1121. package/dist/plugin-sdk/channel-config-helpers.d.ts +0 -1
  1122. package/dist/plugin-sdk/channel-config-primitives.d.ts +0 -1
  1123. package/dist/plugin-sdk/channel-config-schema.d.ts +0 -1
  1124. package/dist/plugin-sdk/channel-config-writes.d.ts +0 -1
  1125. package/dist/plugin-sdk/channel-contract.d.ts +0 -1
  1126. package/dist/plugin-sdk/channel-feedback.d.ts +0 -1
  1127. package/dist/plugin-sdk/channel-inbound.d.ts +0 -1
  1128. package/dist/plugin-sdk/channel-lifecycle.d.ts +0 -1
  1129. package/dist/plugin-sdk/channel-pairing.d.ts +0 -1
  1130. package/dist/plugin-sdk/channel-policy.d.ts +0 -1
  1131. package/dist/plugin-sdk/channel-reply-pipeline.d.ts +0 -1
  1132. package/dist/plugin-sdk/channel-runtime.d.ts +0 -1
  1133. package/dist/plugin-sdk/channel-send-result.d.ts +0 -1
  1134. package/dist/plugin-sdk/channel-setup.d.ts +0 -1
  1135. package/dist/plugin-sdk/channel-status.d.ts +0 -1
  1136. package/dist/plugin-sdk/channel-targets.d.ts +0 -1
  1137. package/dist/plugin-sdk/chutes.d.ts +0 -1
  1138. package/dist/plugin-sdk/cli-backend.d.ts +0 -1
  1139. package/dist/plugin-sdk/cli-runtime.d.ts +0 -1
  1140. package/dist/plugin-sdk/cloudflare-ai-gateway.d.ts +0 -1
  1141. package/dist/plugin-sdk/collection-runtime.d.ts +0 -1
  1142. package/dist/plugin-sdk/command-auth-native.d.ts +0 -1
  1143. package/dist/plugin-sdk/command-auth.d.ts +0 -1
  1144. package/dist/plugin-sdk/command-detection.d.ts +0 -1
  1145. package/dist/plugin-sdk/command-surface.d.ts +0 -1
  1146. package/dist/plugin-sdk/compat.d.ts +0 -1
  1147. package/dist/plugin-sdk/config-runtime.d.ts +0 -1
  1148. package/dist/plugin-sdk/conversation-runtime.d.ts +0 -1
  1149. package/dist/plugin-sdk/core.d.ts +0 -1
  1150. package/dist/plugin-sdk/dangerous-name-runtime.d.ts +0 -1
  1151. package/dist/plugin-sdk/deepseek.d.ts +0 -1
  1152. package/dist/plugin-sdk/device-bootstrap.d.ts +0 -1
  1153. package/dist/plugin-sdk/diagnostic-runtime.d.ts +0 -1
  1154. package/dist/plugin-sdk/diagnostics-otel.d.ts +0 -1
  1155. package/dist/plugin-sdk/diffs.d.ts +0 -1
  1156. package/dist/plugin-sdk/direct-dm.d.ts +0 -1
  1157. package/dist/plugin-sdk/directory-runtime.d.ts +0 -1
  1158. package/dist/plugin-sdk/discord-account.d.ts +0 -1
  1159. package/dist/plugin-sdk/discord-core.d.ts +0 -1
  1160. package/dist/plugin-sdk/discord-runtime-surface.d.ts +0 -1
  1161. package/dist/plugin-sdk/discord-session-key.d.ts +0 -1
  1162. package/dist/plugin-sdk/discord-surface.d.ts +0 -1
  1163. package/dist/plugin-sdk/discord-thread-bindings.d.ts +0 -1
  1164. package/dist/plugin-sdk/discord-timeouts.d.ts +0 -1
  1165. package/dist/plugin-sdk/discord.d.ts +0 -1
  1166. package/dist/plugin-sdk/error-runtime.d.ts +0 -1
  1167. package/dist/plugin-sdk/extension-shared.d.ts +0 -1
  1168. package/dist/plugin-sdk/extensions/anthropic/api.d.ts +0 -2
  1169. package/dist/plugin-sdk/extensions/anthropic/cli-shared.d.ts +0 -8
  1170. package/dist/plugin-sdk/extensions/anthropic/stream-wrappers.d.ts +0 -12
  1171. package/dist/plugin-sdk/extensions/bluebubbles/api.d.ts +0 -5
  1172. package/dist/plugin-sdk/extensions/bluebubbles/src/account-resolve.d.ts +0 -13
  1173. package/dist/plugin-sdk/extensions/bluebubbles/src/accounts.d.ts +0 -17
  1174. package/dist/plugin-sdk/extensions/bluebubbles/src/actions.d.ts +0 -2
  1175. package/dist/plugin-sdk/extensions/bluebubbles/src/actions.runtime.d.ts +0 -19
  1176. package/dist/plugin-sdk/extensions/bluebubbles/src/attachments.d.ts +0 -34
  1177. package/dist/plugin-sdk/extensions/bluebubbles/src/channel-shared.d.ts +0 -49
  1178. package/dist/plugin-sdk/extensions/bluebubbles/src/channel.d.ts +0 -4
  1179. package/dist/plugin-sdk/extensions/bluebubbles/src/channel.runtime.d.ts +0 -13
  1180. package/dist/plugin-sdk/extensions/bluebubbles/src/chat.d.ts +0 -48
  1181. package/dist/plugin-sdk/extensions/bluebubbles/src/config-apply.d.ts +0 -15
  1182. package/dist/plugin-sdk/extensions/bluebubbles/src/config-schema.d.ts +0 -76
  1183. package/dist/plugin-sdk/extensions/bluebubbles/src/config-ui-hints.d.ts +0 -10
  1184. package/dist/plugin-sdk/extensions/bluebubbles/src/conversation-bindings.d.ts +0 -37
  1185. package/dist/plugin-sdk/extensions/bluebubbles/src/conversation-id.d.ts +0 -18
  1186. package/dist/plugin-sdk/extensions/bluebubbles/src/conversation-route.d.ts +0 -12
  1187. package/dist/plugin-sdk/extensions/bluebubbles/src/group-policy.d.ts +0 -14
  1188. package/dist/plugin-sdk/extensions/bluebubbles/src/history.d.ts +0 -40
  1189. package/dist/plugin-sdk/extensions/bluebubbles/src/local-file-access.d.ts +0 -2
  1190. package/dist/plugin-sdk/extensions/bluebubbles/src/media-send.d.ts +0 -14
  1191. package/dist/plugin-sdk/extensions/bluebubbles/src/monitor-debounce.d.ts +0 -22
  1192. package/dist/plugin-sdk/extensions/bluebubbles/src/monitor-normalize.d.ts +0 -77
  1193. package/dist/plugin-sdk/extensions/bluebubbles/src/monitor-processing.d.ts +0 -5
  1194. package/dist/plugin-sdk/extensions/bluebubbles/src/monitor-reply-cache.d.ts +0 -36
  1195. package/dist/plugin-sdk/extensions/bluebubbles/src/monitor-self-chat-cache.d.ts +0 -15
  1196. package/dist/plugin-sdk/extensions/bluebubbles/src/monitor-shared.d.ts +0 -31
  1197. package/dist/plugin-sdk/extensions/bluebubbles/src/monitor.d.ts +0 -8
  1198. package/dist/plugin-sdk/extensions/bluebubbles/src/multipart.d.ts +0 -10
  1199. package/dist/plugin-sdk/extensions/bluebubbles/src/participant-contact-names.d.ts +0 -28
  1200. package/dist/plugin-sdk/extensions/bluebubbles/src/probe.d.ts +0 -53
  1201. package/dist/plugin-sdk/extensions/bluebubbles/src/reactions.d.ts +0 -17
  1202. package/dist/plugin-sdk/extensions/bluebubbles/src/request-url.d.ts +0 -1
  1203. package/dist/plugin-sdk/extensions/bluebubbles/src/runtime-api.d.ts +0 -28
  1204. package/dist/plugin-sdk/extensions/bluebubbles/src/runtime.d.ts +0 -6
  1205. package/dist/plugin-sdk/extensions/bluebubbles/src/secret-input.d.ts +0 -1
  1206. package/dist/plugin-sdk/extensions/bluebubbles/src/send-helpers.d.ts +0 -3
  1207. package/dist/plugin-sdk/extensions/bluebubbles/src/send.d.ts +0 -45
  1208. package/dist/plugin-sdk/extensions/bluebubbles/src/session-route.d.ts +0 -2
  1209. package/dist/plugin-sdk/extensions/bluebubbles/src/setup-core.d.ts +0 -4
  1210. package/dist/plugin-sdk/extensions/bluebubbles/src/setup-surface.d.ts +0 -4
  1211. package/dist/plugin-sdk/extensions/bluebubbles/src/targets.d.ts +0 -45
  1212. package/dist/plugin-sdk/extensions/bluebubbles/src/types.d.ts +0 -121
  1213. package/dist/plugin-sdk/extensions/bluebubbles/src/webhook-shared.d.ts +0 -5
  1214. package/dist/plugin-sdk/extensions/browser/runtime-api.d.ts +0 -7
  1215. package/dist/plugin-sdk/extensions/browser/src/browser/bridge-auth-registry.d.ts +0 -8
  1216. package/dist/plugin-sdk/extensions/browser/src/browser/bridge-server.d.ts +0 -24
  1217. package/dist/plugin-sdk/extensions/browser/src/browser/cdp-proxy-bypass.d.ts +0 -31
  1218. package/dist/plugin-sdk/extensions/browser/src/browser/cdp-timeouts.d.ts +0 -28
  1219. package/dist/plugin-sdk/extensions/browser/src/browser/cdp.d.ts +0 -125
  1220. package/dist/plugin-sdk/extensions/browser/src/browser/cdp.helpers.d.ts +0 -29
  1221. package/dist/plugin-sdk/extensions/browser/src/browser/chrome-mcp.d.ts +0 -127
  1222. package/dist/plugin-sdk/extensions/browser/src/browser/chrome-mcp.snapshot.d.ts +0 -26
  1223. package/dist/plugin-sdk/extensions/browser/src/browser/chrome.d.ts +0 -26
  1224. package/dist/plugin-sdk/extensions/browser/src/browser/chrome.executables.d.ts +0 -15
  1225. package/dist/plugin-sdk/extensions/browser/src/browser/chrome.profile-decoration.d.ts +0 -10
  1226. package/dist/plugin-sdk/extensions/browser/src/browser/client-actions-core.d.ts +0 -159
  1227. package/dist/plugin-sdk/extensions/browser/src/browser/client-actions-observe.d.ts +0 -68
  1228. package/dist/plugin-sdk/extensions/browser/src/browser/client-actions-state.d.ts +0 -93
  1229. package/dist/plugin-sdk/extensions/browser/src/browser/client-actions-types.d.ts +0 -18
  1230. package/dist/plugin-sdk/extensions/browser/src/browser/client-actions-url.d.ts +0 -2
  1231. package/dist/plugin-sdk/extensions/browser/src/browser/client-actions.d.ts +0 -4
  1232. package/dist/plugin-sdk/extensions/browser/src/browser/client-fetch.d.ts +0 -21
  1233. package/dist/plugin-sdk/extensions/browser/src/browser/client.d.ts +0 -157
  1234. package/dist/plugin-sdk/extensions/browser/src/browser/config-refresh-source.d.ts +0 -2
  1235. package/dist/plugin-sdk/extensions/browser/src/browser/config.d.ts +0 -46
  1236. package/dist/plugin-sdk/extensions/browser/src/browser/constants.d.ts +0 -8
  1237. package/dist/plugin-sdk/extensions/browser/src/browser/control-auth.d.ts +0 -13
  1238. package/dist/plugin-sdk/extensions/browser/src/browser/control-service.d.ts +0 -1
  1239. package/dist/plugin-sdk/extensions/browser/src/browser/csrf.d.ts +0 -8
  1240. package/dist/plugin-sdk/extensions/browser/src/browser/errors.d.ts +0 -35
  1241. package/dist/plugin-sdk/extensions/browser/src/browser/form-fields.d.ts +0 -8
  1242. package/dist/plugin-sdk/extensions/browser/src/browser/http-auth.d.ts +0 -5
  1243. package/dist/plugin-sdk/extensions/browser/src/browser/navigation-guard.d.ts +0 -30
  1244. package/dist/plugin-sdk/extensions/browser/src/browser/output-atomic.d.ts +0 -5
  1245. package/dist/plugin-sdk/extensions/browser/src/browser/paths.d.ts +0 -61
  1246. package/dist/plugin-sdk/extensions/browser/src/browser/profile-capabilities.d.ts +0 -30
  1247. package/dist/plugin-sdk/extensions/browser/src/browser/profiles-service.d.ts +0 -28
  1248. package/dist/plugin-sdk/extensions/browser/src/browser/profiles.d.ts +0 -30
  1249. package/dist/plugin-sdk/extensions/browser/src/browser/proxy-files.d.ts +0 -7
  1250. package/dist/plugin-sdk/extensions/browser/src/browser/pw-ai-module.d.ts +0 -6
  1251. package/dist/plugin-sdk/extensions/browser/src/browser/pw-ai-state.d.ts +0 -2
  1252. package/dist/plugin-sdk/extensions/browser/src/browser/pw-ai.d.ts +0 -2
  1253. package/dist/plugin-sdk/extensions/browser/src/browser/pw-role-snapshot.d.ts +0 -35
  1254. package/dist/plugin-sdk/extensions/browser/src/browser/pw-session.d.ts +0 -182
  1255. package/dist/plugin-sdk/extensions/browser/src/browser/pw-session.page-cdp.d.ts +0 -9
  1256. package/dist/plugin-sdk/extensions/browser/src/browser/pw-tools-core.activity.d.ts +0 -21
  1257. package/dist/plugin-sdk/extensions/browser/src/browser/pw-tools-core.d.ts +0 -8
  1258. package/dist/plugin-sdk/extensions/browser/src/browser/pw-tools-core.downloads.d.ts +0 -34
  1259. package/dist/plugin-sdk/extensions/browser/src/browser/pw-tools-core.interactions.d.ts +0 -135
  1260. package/dist/plugin-sdk/extensions/browser/src/browser/pw-tools-core.responses.d.ts +0 -13
  1261. package/dist/plugin-sdk/extensions/browser/src/browser/pw-tools-core.shared.d.ts +0 -10
  1262. package/dist/plugin-sdk/extensions/browser/src/browser/pw-tools-core.snapshot.d.ts +0 -66
  1263. package/dist/plugin-sdk/extensions/browser/src/browser/pw-tools-core.state.d.ts +0 -46
  1264. package/dist/plugin-sdk/extensions/browser/src/browser/pw-tools-core.storage.d.ts +0 -47
  1265. package/dist/plugin-sdk/extensions/browser/src/browser/pw-tools-core.trace.d.ts +0 -12
  1266. package/dist/plugin-sdk/extensions/browser/src/browser/request-policy.d.ts +0 -9
  1267. package/dist/plugin-sdk/extensions/browser/src/browser/resolved-config-refresh.d.ts +0 -12
  1268. package/dist/plugin-sdk/extensions/browser/src/browser/routes/agent.act.d.ts +0 -3
  1269. package/dist/plugin-sdk/extensions/browser/src/browser/routes/agent.act.download.d.ts +0 -3
  1270. package/dist/plugin-sdk/extensions/browser/src/browser/routes/agent.act.hooks.d.ts +0 -3
  1271. package/dist/plugin-sdk/extensions/browser/src/browser/routes/agent.act.shared.d.ts +0 -10
  1272. package/dist/plugin-sdk/extensions/browser/src/browser/routes/agent.d.ts +0 -3
  1273. package/dist/plugin-sdk/extensions/browser/src/browser/routes/agent.debug.d.ts +0 -3
  1274. package/dist/plugin-sdk/extensions/browser/src/browser/routes/agent.shared.d.ts +0 -37
  1275. package/dist/plugin-sdk/extensions/browser/src/browser/routes/agent.snapshot.d.ts +0 -12
  1276. package/dist/plugin-sdk/extensions/browser/src/browser/routes/agent.snapshot.plan.d.ts +0 -22
  1277. package/dist/plugin-sdk/extensions/browser/src/browser/routes/agent.storage.d.ts +0 -14
  1278. package/dist/plugin-sdk/extensions/browser/src/browser/routes/basic.d.ts +0 -3
  1279. package/dist/plugin-sdk/extensions/browser/src/browser/routes/dispatcher.d.ts +0 -16
  1280. package/dist/plugin-sdk/extensions/browser/src/browser/routes/index.d.ts +0 -3
  1281. package/dist/plugin-sdk/extensions/browser/src/browser/routes/output-paths.d.ts +0 -10
  1282. package/dist/plugin-sdk/extensions/browser/src/browser/routes/path-output.d.ts +0 -1
  1283. package/dist/plugin-sdk/extensions/browser/src/browser/routes/tabs.d.ts +0 -3
  1284. package/dist/plugin-sdk/extensions/browser/src/browser/routes/types.d.ts +0 -20
  1285. package/dist/plugin-sdk/extensions/browser/src/browser/routes/utils.d.ts +0 -15
  1286. package/dist/plugin-sdk/extensions/browser/src/browser/runtime-lifecycle.d.ts +0 -15
  1287. package/dist/plugin-sdk/extensions/browser/src/browser/safe-filename.d.ts +0 -1
  1288. package/dist/plugin-sdk/extensions/browser/src/browser/screenshot.d.ts +0 -9
  1289. package/dist/plugin-sdk/extensions/browser/src/browser/server-context.availability.d.ts +0 -19
  1290. package/dist/plugin-sdk/extensions/browser/src/browser/server-context.constants.d.ts +0 -7
  1291. package/dist/plugin-sdk/extensions/browser/src/browser/server-context.d.ts +0 -4
  1292. package/dist/plugin-sdk/extensions/browser/src/browser/server-context.reset.d.ts +0 -20
  1293. package/dist/plugin-sdk/extensions/browser/src/browser/server-context.selection.d.ts +0 -16
  1294. package/dist/plugin-sdk/extensions/browser/src/browser/server-context.tab-ops.d.ts +0 -13
  1295. package/dist/plugin-sdk/extensions/browser/src/browser/server-context.types.d.ts +0 -74
  1296. package/dist/plugin-sdk/extensions/browser/src/browser/server-lifecycle.d.ts +0 -10
  1297. package/dist/plugin-sdk/extensions/browser/src/browser/server-middleware.d.ts +0 -6
  1298. package/dist/plugin-sdk/extensions/browser/src/browser/session-tab-registry.d.ts +0 -30
  1299. package/dist/plugin-sdk/extensions/browser/src/browser/snapshot-roles.d.ts +0 -11
  1300. package/dist/plugin-sdk/extensions/browser/src/browser/target-id.d.ts +0 -11
  1301. package/dist/plugin-sdk/extensions/browser/src/browser/trash.d.ts +0 -1
  1302. package/dist/plugin-sdk/extensions/browser/src/browser/url-pattern.d.ts +0 -1
  1303. package/dist/plugin-sdk/extensions/browser/src/browser-runtime.d.ts +0 -28
  1304. package/dist/plugin-sdk/extensions/browser/src/browser-tool.actions.d.ts +0 -44
  1305. package/dist/plugin-sdk/extensions/browser/src/browser-tool.d.ts +0 -30
  1306. package/dist/plugin-sdk/extensions/browser/src/browser-tool.schema.d.ts +0 -75
  1307. package/dist/plugin-sdk/extensions/browser/src/cli/browser-cli-actions-input/register.d.ts +0 -3
  1308. package/dist/plugin-sdk/extensions/browser/src/cli/browser-cli-actions-input/register.element.d.ts +0 -3
  1309. package/dist/plugin-sdk/extensions/browser/src/cli/browser-cli-actions-input/register.files-downloads.d.ts +0 -3
  1310. package/dist/plugin-sdk/extensions/browser/src/cli/browser-cli-actions-input/register.form-wait-eval.d.ts +0 -3
  1311. package/dist/plugin-sdk/extensions/browser/src/cli/browser-cli-actions-input/register.navigation.d.ts +0 -3
  1312. package/dist/plugin-sdk/extensions/browser/src/cli/browser-cli-actions-input/shared.d.ts +0 -20
  1313. package/dist/plugin-sdk/extensions/browser/src/cli/browser-cli-actions-input.d.ts +0 -1
  1314. package/dist/plugin-sdk/extensions/browser/src/cli/browser-cli-actions-observe.d.ts +0 -3
  1315. package/dist/plugin-sdk/extensions/browser/src/cli/browser-cli-debug.d.ts +0 -3
  1316. package/dist/plugin-sdk/extensions/browser/src/cli/browser-cli-examples.d.ts +0 -2
  1317. package/dist/plugin-sdk/extensions/browser/src/cli/browser-cli-inspect.d.ts +0 -3
  1318. package/dist/plugin-sdk/extensions/browser/src/cli/browser-cli-manage.d.ts +0 -3
  1319. package/dist/plugin-sdk/extensions/browser/src/cli/browser-cli-resize.d.ts +0 -10
  1320. package/dist/plugin-sdk/extensions/browser/src/cli/browser-cli-shared.d.ts +0 -24
  1321. package/dist/plugin-sdk/extensions/browser/src/cli/browser-cli-state.cookies-storage.d.ts +0 -3
  1322. package/dist/plugin-sdk/extensions/browser/src/cli/browser-cli-state.d.ts +0 -3
  1323. package/dist/plugin-sdk/extensions/browser/src/cli/browser-cli.d.ts +0 -2
  1324. package/dist/plugin-sdk/extensions/browser/src/cli/command-format.d.ts +0 -1
  1325. package/dist/plugin-sdk/extensions/browser/src/cli/core-api.d.ts +0 -1
  1326. package/dist/plugin-sdk/extensions/browser/src/config/config.d.ts +0 -1
  1327. package/dist/plugin-sdk/extensions/browser/src/config/paths.d.ts +0 -1
  1328. package/dist/plugin-sdk/extensions/browser/src/config/port-defaults.d.ts +0 -1
  1329. package/dist/plugin-sdk/extensions/browser/src/control-service.d.ts +0 -5
  1330. package/dist/plugin-sdk/extensions/browser/src/core-api.d.ts +0 -4
  1331. package/dist/plugin-sdk/extensions/browser/src/gateway/auth.d.ts +0 -1
  1332. package/dist/plugin-sdk/extensions/browser/src/gateway/browser-request.d.ts +0 -3
  1333. package/dist/plugin-sdk/extensions/browser/src/gateway/net.d.ts +0 -1
  1334. package/dist/plugin-sdk/extensions/browser/src/gateway/startup-auth.d.ts +0 -1
  1335. package/dist/plugin-sdk/extensions/browser/src/infra/errors.d.ts +0 -1
  1336. package/dist/plugin-sdk/extensions/browser/src/infra/fs-safe.d.ts +0 -1
  1337. package/dist/plugin-sdk/extensions/browser/src/infra/net/proxy-env.d.ts +0 -1
  1338. package/dist/plugin-sdk/extensions/browser/src/infra/net/ssrf.d.ts +0 -1
  1339. package/dist/plugin-sdk/extensions/browser/src/infra/path-guards.d.ts +0 -1
  1340. package/dist/plugin-sdk/extensions/browser/src/infra/ports.d.ts +0 -1
  1341. package/dist/plugin-sdk/extensions/browser/src/infra/secure-random.d.ts +0 -1
  1342. package/dist/plugin-sdk/extensions/browser/src/infra/tmp-openclaw-dir.d.ts +0 -1
  1343. package/dist/plugin-sdk/extensions/browser/src/infra/ws.d.ts +0 -1
  1344. package/dist/plugin-sdk/extensions/browser/src/logging/redact.d.ts +0 -1
  1345. package/dist/plugin-sdk/extensions/browser/src/logging/subsystem.d.ts +0 -1
  1346. package/dist/plugin-sdk/extensions/browser/src/media/image-ops.d.ts +0 -1
  1347. package/dist/plugin-sdk/extensions/browser/src/media/store.d.ts +0 -1
  1348. package/dist/plugin-sdk/extensions/browser/src/node-host/invoke-browser.d.ts +0 -1
  1349. package/dist/plugin-sdk/extensions/browser/src/plugin-enabled.d.ts +0 -2
  1350. package/dist/plugin-sdk/extensions/browser/src/plugin-service.d.ts +0 -2
  1351. package/dist/plugin-sdk/extensions/browser/src/process/exec.d.ts +0 -1
  1352. package/dist/plugin-sdk/extensions/browser/src/security/secret-equal.d.ts +0 -1
  1353. package/dist/plugin-sdk/extensions/browser/src/server.d.ts +0 -3
  1354. package/dist/plugin-sdk/extensions/browser/src/utils/boolean.d.ts +0 -1
  1355. package/dist/plugin-sdk/extensions/browser/src/utils.d.ts +0 -1
  1356. package/dist/plugin-sdk/extensions/byteplus/api.d.ts +0 -2
  1357. package/dist/plugin-sdk/extensions/byteplus/models.d.ts +0 -73
  1358. package/dist/plugin-sdk/extensions/byteplus/provider-catalog.d.ts +0 -3
  1359. package/dist/plugin-sdk/extensions/chutes/api.d.ts +0 -3
  1360. package/dist/plugin-sdk/extensions/chutes/models.d.ts +0 -7
  1361. package/dist/plugin-sdk/extensions/chutes/onboard.d.ts +0 -13
  1362. package/dist/plugin-sdk/extensions/chutes/provider-catalog.d.ts +0 -7
  1363. package/dist/plugin-sdk/extensions/cloudflare-ai-gateway/api.d.ts +0 -2
  1364. package/dist/plugin-sdk/extensions/cloudflare-ai-gateway/models.d.ts +0 -14
  1365. package/dist/plugin-sdk/extensions/cloudflare-ai-gateway/onboard.d.ts +0 -32
  1366. package/dist/plugin-sdk/extensions/deepseek/api.d.ts +0 -2
  1367. package/dist/plugin-sdk/extensions/deepseek/models.d.ts +0 -4
  1368. package/dist/plugin-sdk/extensions/deepseek/provider-catalog.d.ts +0 -2
  1369. package/dist/plugin-sdk/extensions/discord/action-runtime-api.d.ts +0 -1
  1370. package/dist/plugin-sdk/extensions/discord/api.d.ts +0 -19
  1371. package/dist/plugin-sdk/extensions/discord/runtime-api.d.ts +0 -18
  1372. package/dist/plugin-sdk/extensions/discord/session-key-api.d.ts +0 -1
  1373. package/dist/plugin-sdk/extensions/discord/src/actions/handle-action.d.ts +0 -3
  1374. package/dist/plugin-sdk/extensions/discord/src/actions/handle-action.guild-admin.d.ts +0 -9
  1375. package/dist/plugin-sdk/extensions/discord/src/actions/runtime.d.ts +0 -5
  1376. package/dist/plugin-sdk/extensions/discord/src/actions/runtime.guild.d.ts +0 -24
  1377. package/dist/plugin-sdk/extensions/discord/src/actions/runtime.messaging.d.ts +0 -33
  1378. package/dist/plugin-sdk/extensions/discord/src/actions/runtime.moderation-shared.d.ts +0 -13
  1379. package/dist/plugin-sdk/extensions/discord/src/actions/runtime.moderation.d.ts +0 -10
  1380. package/dist/plugin-sdk/extensions/discord/src/actions/runtime.presence.d.ts +0 -3
  1381. package/dist/plugin-sdk/extensions/discord/src/actions/runtime.shared.d.ts +0 -1
  1382. package/dist/plugin-sdk/extensions/discord/src/approval-native.d.ts +0 -31
  1383. package/dist/plugin-sdk/extensions/discord/src/audit.d.ts +0 -29
  1384. package/dist/plugin-sdk/extensions/discord/src/channel-actions.d.ts +0 -2
  1385. package/dist/plugin-sdk/extensions/discord/src/chunk.d.ts +0 -20
  1386. package/dist/plugin-sdk/extensions/discord/src/client.d.ts +0 -23
  1387. package/dist/plugin-sdk/extensions/discord/src/component-custom-id.d.ts +0 -15
  1388. package/dist/plugin-sdk/extensions/discord/src/components-registry.d.ts +0 -16
  1389. package/dist/plugin-sdk/extensions/discord/src/components.d.ts +0 -195
  1390. package/dist/plugin-sdk/extensions/discord/src/directory-config.d.ts +0 -3
  1391. package/dist/plugin-sdk/extensions/discord/src/draft-chunking.d.ts +0 -6
  1392. package/dist/plugin-sdk/extensions/discord/src/draft-stream.d.ts +0 -21
  1393. package/dist/plugin-sdk/extensions/discord/src/exec-approvals.d.ts +0 -24
  1394. package/dist/plugin-sdk/extensions/discord/src/gateway-logging.d.ts +0 -8
  1395. package/dist/plugin-sdk/extensions/discord/src/group-policy.d.ts +0 -4
  1396. package/dist/plugin-sdk/extensions/discord/src/guilds.d.ts +0 -6
  1397. package/dist/plugin-sdk/extensions/discord/src/mentions.d.ts +0 -8
  1398. package/dist/plugin-sdk/extensions/discord/src/message-tool-schema.d.ts +0 -96
  1399. package/dist/plugin-sdk/extensions/discord/src/monitor/agent-components-helpers.d.ts +0 -160
  1400. package/dist/plugin-sdk/extensions/discord/src/monitor/agent-components.d.ts +0 -28
  1401. package/dist/plugin-sdk/extensions/discord/src/monitor/auto-presence.d.ts +0 -59
  1402. package/dist/plugin-sdk/extensions/discord/src/monitor/commands.d.ts +0 -2
  1403. package/dist/plugin-sdk/extensions/discord/src/monitor/dm-command-auth.d.ts +0 -24
  1404. package/dist/plugin-sdk/extensions/discord/src/monitor/dm-command-decision.d.ts +0 -14
  1405. package/dist/plugin-sdk/extensions/discord/src/monitor/exec-approvals.d.ts +0 -54
  1406. package/dist/plugin-sdk/extensions/discord/src/monitor/gateway-handle.d.ts +0 -28
  1407. package/dist/plugin-sdk/extensions/discord/src/monitor/gateway-plugin.d.ts +0 -22
  1408. package/dist/plugin-sdk/extensions/discord/src/monitor/gateway-registry.d.ts +0 -9
  1409. package/dist/plugin-sdk/extensions/discord/src/monitor/gateway-supervisor.d.ts +0 -25
  1410. package/dist/plugin-sdk/extensions/discord/src/monitor/inbound-context.d.ts +0 -36
  1411. package/dist/plugin-sdk/extensions/discord/src/monitor/inbound-job.d.ts +0 -13
  1412. package/dist/plugin-sdk/extensions/discord/src/monitor/inbound-worker.d.ts +0 -22
  1413. package/dist/plugin-sdk/extensions/discord/src/monitor/listeners.d.ts +0 -67
  1414. package/dist/plugin-sdk/extensions/discord/src/monitor/message-handler.d.ts +0 -19
  1415. package/dist/plugin-sdk/extensions/discord/src/monitor/message-handler.preflight.d.ts +0 -14
  1416. package/dist/plugin-sdk/extensions/discord/src/monitor/message-handler.preflight.types.d.ts +0 -88
  1417. package/dist/plugin-sdk/extensions/discord/src/monitor/message-handler.process.d.ts +0 -11
  1418. package/dist/plugin-sdk/extensions/discord/src/monitor/message-utils.d.ts +0 -53
  1419. package/dist/plugin-sdk/extensions/discord/src/monitor/model-picker-preferences.d.ts +0 -18
  1420. package/dist/plugin-sdk/extensions/discord/src/monitor/model-picker.d.ts +0 -117
  1421. package/dist/plugin-sdk/extensions/discord/src/monitor/native-command-context.d.ts +0 -68
  1422. package/dist/plugin-sdk/extensions/discord/src/monitor/native-command-route.d.ts +0 -28
  1423. package/dist/plugin-sdk/extensions/discord/src/monitor/native-command-ui.d.ts +0 -106
  1424. package/dist/plugin-sdk/extensions/discord/src/monitor/native-command.d.ts +0 -28
  1425. package/dist/plugin-sdk/extensions/discord/src/monitor/preflight-audio.d.ts +0 -21
  1426. package/dist/plugin-sdk/extensions/discord/src/monitor/preflight-audio.runtime.d.ts +0 -3
  1427. package/dist/plugin-sdk/extensions/discord/src/monitor/presence.d.ts +0 -5
  1428. package/dist/plugin-sdk/extensions/discord/src/monitor/provider-session.runtime.d.ts +0 -4
  1429. package/dist/plugin-sdk/extensions/discord/src/monitor/provider.allowlist.d.ts +0 -14
  1430. package/dist/plugin-sdk/extensions/discord/src/monitor/provider.d.ts +0 -61
  1431. package/dist/plugin-sdk/extensions/discord/src/monitor/provider.lifecycle.d.ts +0 -27
  1432. package/dist/plugin-sdk/extensions/discord/src/monitor/provider.startup.d.ts +0 -82
  1433. package/dist/plugin-sdk/extensions/discord/src/monitor/reply-context.d.ts +0 -21
  1434. package/dist/plugin-sdk/extensions/discord/src/monitor/reply-delivery.d.ts +0 -40
  1435. package/dist/plugin-sdk/extensions/discord/src/monitor/rest-fetch.d.ts +0 -2
  1436. package/dist/plugin-sdk/extensions/discord/src/monitor/route-resolution.d.ts +0 -40
  1437. package/dist/plugin-sdk/extensions/discord/src/monitor/sender-identity.d.ts +0 -31
  1438. package/dist/plugin-sdk/extensions/discord/src/monitor/startup-status.d.ts +0 -4
  1439. package/dist/plugin-sdk/extensions/discord/src/monitor/status.d.ts +0 -17
  1440. package/dist/plugin-sdk/extensions/discord/src/monitor/system-events.d.ts +0 -2
  1441. package/dist/plugin-sdk/extensions/discord/src/monitor/thread-bindings.config.d.ts +0 -11
  1442. package/dist/plugin-sdk/extensions/discord/src/monitor/thread-bindings.d.ts +0 -8
  1443. package/dist/plugin-sdk/extensions/discord/src/monitor/thread-bindings.discord-api.d.ts +0 -41
  1444. package/dist/plugin-sdk/extensions/discord/src/monitor/thread-bindings.lifecycle.d.ts +0 -60
  1445. package/dist/plugin-sdk/extensions/discord/src/monitor/thread-bindings.manager.d.ts +0 -21
  1446. package/dist/plugin-sdk/extensions/discord/src/monitor/thread-bindings.messages.d.ts +0 -1
  1447. package/dist/plugin-sdk/extensions/discord/src/monitor/thread-bindings.persona.d.ts +0 -6
  1448. package/dist/plugin-sdk/extensions/discord/src/monitor/thread-bindings.state.d.ts +0 -79
  1449. package/dist/plugin-sdk/extensions/discord/src/monitor/thread-bindings.types.d.ts +0 -79
  1450. package/dist/plugin-sdk/extensions/discord/src/monitor/thread-session-close.d.ts +0 -15
  1451. package/dist/plugin-sdk/extensions/discord/src/monitor/thread-title.d.ts +0 -11
  1452. package/dist/plugin-sdk/extensions/discord/src/monitor/threading.d.ts +0 -108
  1453. package/dist/plugin-sdk/extensions/discord/src/monitor/timeouts.d.ts +0 -16
  1454. package/dist/plugin-sdk/extensions/discord/src/monitor/typing.d.ts +0 -5
  1455. package/dist/plugin-sdk/extensions/discord/src/monitor.d.ts +0 -10
  1456. package/dist/plugin-sdk/extensions/discord/src/monitor.gateway.d.ts +0 -12
  1457. package/dist/plugin-sdk/extensions/discord/src/normalize.d.ts +0 -14
  1458. package/dist/plugin-sdk/extensions/discord/src/outbound-adapter.d.ts +0 -3
  1459. package/dist/plugin-sdk/extensions/discord/src/pluralkit.d.ts +0 -26
  1460. package/dist/plugin-sdk/extensions/discord/src/probe.d.ts +0 -37
  1461. package/dist/plugin-sdk/extensions/discord/src/resolve-allowlist-common.d.ts +0 -11
  1462. package/dist/plugin-sdk/extensions/discord/src/resolve-channels.d.ts +0 -15
  1463. package/dist/plugin-sdk/extensions/discord/src/resolve-users.d.ts +0 -14
  1464. package/dist/plugin-sdk/extensions/discord/src/retry.d.ts +0 -12
  1465. package/dist/plugin-sdk/extensions/discord/src/send.channels.d.ts +0 -17
  1466. package/dist/plugin-sdk/extensions/discord/src/send.components.d.ts +0 -29
  1467. package/dist/plugin-sdk/extensions/discord/src/send.d.ts +0 -11
  1468. package/dist/plugin-sdk/extensions/discord/src/send.emojis-stickers.d.ts +0 -4
  1469. package/dist/plugin-sdk/extensions/discord/src/send.guild.d.ts +0 -24
  1470. package/dist/plugin-sdk/extensions/discord/src/send.messages.d.ts +0 -20
  1471. package/dist/plugin-sdk/extensions/discord/src/send.outbound.d.ts +0 -67
  1472. package/dist/plugin-sdk/extensions/discord/src/send.permissions.d.ts +0 -20
  1473. package/dist/plugin-sdk/extensions/discord/src/send.reactions.d.ts +0 -15
  1474. package/dist/plugin-sdk/extensions/discord/src/send.shared.d.ts +0 -86
  1475. package/dist/plugin-sdk/extensions/discord/src/send.types.d.ts +0 -148
  1476. package/dist/plugin-sdk/extensions/discord/src/send.typing.d.ts +0 -5
  1477. package/dist/plugin-sdk/extensions/discord/src/session-key-normalization.d.ts +0 -7
  1478. package/dist/plugin-sdk/extensions/discord/src/shared-interactive.d.ts +0 -3
  1479. package/dist/plugin-sdk/extensions/discord/src/status-issues.d.ts +0 -2
  1480. package/dist/plugin-sdk/extensions/discord/src/ui.d.ts +0 -19
  1481. package/dist/plugin-sdk/extensions/discord/src/voice/access.d.ts +0 -31
  1482. package/dist/plugin-sdk/extensions/discord/src/voice/command.d.ts +0 -15
  1483. package/dist/plugin-sdk/extensions/discord/src/voice/manager.d.ts +0 -59
  1484. package/dist/plugin-sdk/extensions/discord/src/voice/manager.runtime.d.ts +0 -5
  1485. package/dist/plugin-sdk/extensions/discord/src/voice/sdk-runtime.d.ts +0 -3
  1486. package/dist/plugin-sdk/extensions/discord/src/voice-message.d.ts +0 -50
  1487. package/dist/plugin-sdk/extensions/discord/timeouts.d.ts +0 -1
  1488. package/dist/plugin-sdk/extensions/feishu/api.d.ts +0 -6
  1489. package/dist/plugin-sdk/extensions/feishu/runtime-api.d.ts +0 -4
  1490. package/dist/plugin-sdk/extensions/feishu/src/accounts.d.ts +0 -72
  1491. package/dist/plugin-sdk/extensions/feishu/src/async.d.ts +0 -13
  1492. package/dist/plugin-sdk/extensions/feishu/src/bot-content.d.ts +0 -85
  1493. package/dist/plugin-sdk/extensions/feishu/src/bot-sender-name.d.ts +0 -19
  1494. package/dist/plugin-sdk/extensions/feishu/src/bot.d.ts +0 -70
  1495. package/dist/plugin-sdk/extensions/feishu/src/client.d.ts +0 -47
  1496. package/dist/plugin-sdk/extensions/feishu/src/config-schema.d.ts +0 -550
  1497. package/dist/plugin-sdk/extensions/feishu/src/conversation-id.d.ts +0 -19
  1498. package/dist/plugin-sdk/extensions/feishu/src/dedup.d.ts +0 -19
  1499. package/dist/plugin-sdk/extensions/feishu/src/dynamic-agent.d.ts +0 -18
  1500. package/dist/plugin-sdk/extensions/feishu/src/external-keys.d.ts +0 -1
  1501. package/dist/plugin-sdk/extensions/feishu/src/media.d.ts +0 -118
  1502. package/dist/plugin-sdk/extensions/feishu/src/mention.d.ts +0 -52
  1503. package/dist/plugin-sdk/extensions/feishu/src/policy.d.ts +0 -36
  1504. package/dist/plugin-sdk/extensions/feishu/src/post.d.ts +0 -11
  1505. package/dist/plugin-sdk/extensions/feishu/src/probe.d.ts +0 -10
  1506. package/dist/plugin-sdk/extensions/feishu/src/reply-dispatcher.d.ts +0 -35
  1507. package/dist/plugin-sdk/extensions/feishu/src/runtime.d.ts +0 -3
  1508. package/dist/plugin-sdk/extensions/feishu/src/secret-input.d.ts +0 -1
  1509. package/dist/plugin-sdk/extensions/feishu/src/send-result.d.ts +0 -12
  1510. package/dist/plugin-sdk/extensions/feishu/src/send-target.d.ts +0 -10
  1511. package/dist/plugin-sdk/extensions/feishu/src/send.d.ts +0 -131
  1512. package/dist/plugin-sdk/extensions/feishu/src/setup-core.d.ts +0 -3
  1513. package/dist/plugin-sdk/extensions/feishu/src/setup-surface.d.ts +0 -3
  1514. package/dist/plugin-sdk/extensions/feishu/src/streaming-card.d.ts +0 -55
  1515. package/dist/plugin-sdk/extensions/feishu/src/targets.d.ts +0 -6
  1516. package/dist/plugin-sdk/extensions/feishu/src/thread-bindings.d.ts +0 -42
  1517. package/dist/plugin-sdk/extensions/feishu/src/types.d.ts +0 -84
  1518. package/dist/plugin-sdk/extensions/feishu/src/typing.d.ts +0 -57
  1519. package/dist/plugin-sdk/extensions/github-copilot/api.d.ts +0 -1
  1520. package/dist/plugin-sdk/extensions/github-copilot/login.d.ts +0 -5
  1521. package/dist/plugin-sdk/extensions/google/api.d.ts +0 -33
  1522. package/dist/plugin-sdk/extensions/google/model-id.d.ts +0 -2
  1523. package/dist/plugin-sdk/extensions/huggingface/api.d.ts +0 -3
  1524. package/dist/plugin-sdk/extensions/huggingface/models.d.ts +0 -7
  1525. package/dist/plugin-sdk/extensions/huggingface/onboard.d.ts +0 -4
  1526. package/dist/plugin-sdk/extensions/huggingface/provider-catalog.d.ts +0 -3
  1527. package/dist/plugin-sdk/extensions/image-generation-core/api.d.ts +0 -1
  1528. package/dist/plugin-sdk/extensions/image-generation-core/runtime-api.d.ts +0 -1
  1529. package/dist/plugin-sdk/extensions/image-generation-core/src/runtime.d.ts +0 -24
  1530. package/dist/plugin-sdk/extensions/irc/api.d.ts +0 -2
  1531. package/dist/plugin-sdk/extensions/irc/src/accounts.d.ts +0 -23
  1532. package/dist/plugin-sdk/extensions/irc/src/control-chars.d.ts +0 -3
  1533. package/dist/plugin-sdk/extensions/irc/src/normalize.d.ts +0 -18
  1534. package/dist/plugin-sdk/extensions/irc/src/runtime-api.d.ts +0 -2
  1535. package/dist/plugin-sdk/extensions/irc/src/setup-core.d.ts +0 -10
  1536. package/dist/plugin-sdk/extensions/irc/src/setup-surface.d.ts +0 -4
  1537. package/dist/plugin-sdk/extensions/irc/src/types.d.ts +0 -83
  1538. package/dist/plugin-sdk/extensions/kilocode/api.d.ts +0 -2
  1539. package/dist/plugin-sdk/extensions/kilocode/provider-catalog.d.ts +0 -3
  1540. package/dist/plugin-sdk/extensions/kilocode/provider-models.d.ts +0 -18
  1541. package/dist/plugin-sdk/extensions/kimi-coding/api.d.ts +0 -2
  1542. package/dist/plugin-sdk/extensions/kimi-coding/onboard.d.ts +0 -5
  1543. package/dist/plugin-sdk/extensions/kimi-coding/provider-catalog.d.ts +0 -10
  1544. package/dist/plugin-sdk/extensions/line/runtime-api.d.ts +0 -36
  1545. package/dist/plugin-sdk/extensions/line/src/accounts.d.ts +0 -10
  1546. package/dist/plugin-sdk/extensions/line/src/actions.d.ts +0 -22
  1547. package/dist/plugin-sdk/extensions/line/src/auto-reply-delivery.d.ts +0 -38
  1548. package/dist/plugin-sdk/extensions/line/src/bot-access.d.ts +0 -17
  1549. package/dist/plugin-sdk/extensions/line/src/bot-handlers.d.ts +0 -23
  1550. package/dist/plugin-sdk/extensions/line/src/bot-message-context.d.ts +0 -129
  1551. package/dist/plugin-sdk/extensions/line/src/bot.d.ts +0 -24
  1552. package/dist/plugin-sdk/extensions/line/src/channel-access-token.d.ts +0 -4
  1553. package/dist/plugin-sdk/extensions/line/src/config-schema.d.ts +0 -80
  1554. package/dist/plugin-sdk/extensions/line/src/download.d.ts +0 -7
  1555. package/dist/plugin-sdk/extensions/line/src/flex-templates/basic-cards.d.ts +0 -46
  1556. package/dist/plugin-sdk/extensions/line/src/flex-templates/common.d.ts +0 -2
  1557. package/dist/plugin-sdk/extensions/line/src/flex-templates/media-control-cards.d.ts +0 -73
  1558. package/dist/plugin-sdk/extensions/line/src/flex-templates/message.d.ts +0 -6
  1559. package/dist/plugin-sdk/extensions/line/src/flex-templates/schedule-cards.d.ts +0 -55
  1560. package/dist/plugin-sdk/extensions/line/src/flex-templates/types.d.ts +0 -19
  1561. package/dist/plugin-sdk/extensions/line/src/flex-templates.d.ts +0 -5
  1562. package/dist/plugin-sdk/extensions/line/src/group-keys.d.ts +0 -17
  1563. package/dist/plugin-sdk/extensions/line/src/markdown-to-line.d.ts +0 -67
  1564. package/dist/plugin-sdk/extensions/line/src/monitor.d.ts +0 -28
  1565. package/dist/plugin-sdk/extensions/line/src/probe.d.ts +0 -2
  1566. package/dist/plugin-sdk/extensions/line/src/reply-chunks.d.ts +0 -24
  1567. package/dist/plugin-sdk/extensions/line/src/rich-menu.d.ts +0 -50
  1568. package/dist/plugin-sdk/extensions/line/src/send.d.ts +0 -73
  1569. package/dist/plugin-sdk/extensions/line/src/signature.d.ts +0 -1
  1570. package/dist/plugin-sdk/extensions/line/src/template-messages.d.ts +0 -100
  1571. package/dist/plugin-sdk/extensions/line/src/types.d.ts +0 -120
  1572. package/dist/plugin-sdk/extensions/line/src/webhook-node.d.ts +0 -16
  1573. package/dist/plugin-sdk/extensions/line/src/webhook-utils.d.ts +0 -3
  1574. package/dist/plugin-sdk/extensions/line/src/webhook.d.ts +0 -19
  1575. package/dist/plugin-sdk/extensions/litellm/api.d.ts +0 -1
  1576. package/dist/plugin-sdk/extensions/litellm/onboard.d.ts +0 -7
  1577. package/dist/plugin-sdk/extensions/matrix/api.d.ts +0 -9
  1578. package/dist/plugin-sdk/extensions/matrix/runtime-api.d.ts +0 -12
  1579. package/dist/plugin-sdk/extensions/matrix/src/account-selection.d.ts +0 -6
  1580. package/dist/plugin-sdk/extensions/matrix/src/auth-precedence.d.ts +0 -11
  1581. package/dist/plugin-sdk/extensions/matrix/src/directory-live.d.ts +0 -10
  1582. package/dist/plugin-sdk/extensions/matrix/src/env-vars.d.ts +0 -10
  1583. package/dist/plugin-sdk/extensions/matrix/src/matrix/account-config.d.ts +0 -10
  1584. package/dist/plugin-sdk/extensions/matrix/src/matrix/accounts.d.ts +0 -23
  1585. package/dist/plugin-sdk/extensions/matrix/src/matrix/actions/client.d.ts +0 -6
  1586. package/dist/plugin-sdk/extensions/matrix/src/matrix/actions/types.d.ts +0 -68
  1587. package/dist/plugin-sdk/extensions/matrix/src/matrix/actions/verification.d.ts +0 -78
  1588. package/dist/plugin-sdk/extensions/matrix/src/matrix/active-client.d.ts +0 -3
  1589. package/dist/plugin-sdk/extensions/matrix/src/matrix/async-lock.d.ts +0 -2
  1590. package/dist/plugin-sdk/extensions/matrix/src/matrix/backup-health.d.ts +0 -19
  1591. package/dist/plugin-sdk/extensions/matrix/src/matrix/client/config-runtime-api.d.ts +0 -3
  1592. package/dist/plugin-sdk/extensions/matrix/src/matrix/client/config-secret-input.runtime.d.ts +0 -1
  1593. package/dist/plugin-sdk/extensions/matrix/src/matrix/client/config.d.ts +0 -55
  1594. package/dist/plugin-sdk/extensions/matrix/src/matrix/client/create-client.d.ts +0 -18
  1595. package/dist/plugin-sdk/extensions/matrix/src/matrix/client/env-auth.d.ts +0 -23
  1596. package/dist/plugin-sdk/extensions/matrix/src/matrix/client/file-sync-store.d.ts +0 -29
  1597. package/dist/plugin-sdk/extensions/matrix/src/matrix/client/logging.d.ts +0 -13
  1598. package/dist/plugin-sdk/extensions/matrix/src/matrix/client/migration-snapshot.runtime.d.ts +0 -1
  1599. package/dist/plugin-sdk/extensions/matrix/src/matrix/client/private-network-host.d.ts +0 -1
  1600. package/dist/plugin-sdk/extensions/matrix/src/matrix/client/runtime.d.ts +0 -1
  1601. package/dist/plugin-sdk/extensions/matrix/src/matrix/client/shared.d.ts +0 -24
  1602. package/dist/plugin-sdk/extensions/matrix/src/matrix/client/storage.d.ts +0 -30
  1603. package/dist/plugin-sdk/extensions/matrix/src/matrix/client/types.d.ts +0 -47
  1604. package/dist/plugin-sdk/extensions/matrix/src/matrix/client-bootstrap.d.ts +0 -25
  1605. package/dist/plugin-sdk/extensions/matrix/src/matrix/client.d.ts +0 -6
  1606. package/dist/plugin-sdk/extensions/matrix/src/matrix/config-paths.d.ts +0 -4
  1607. package/dist/plugin-sdk/extensions/matrix/src/matrix/config-update.d.ts +0 -24
  1608. package/dist/plugin-sdk/extensions/matrix/src/matrix/credentials-read.d.ts +0 -17
  1609. package/dist/plugin-sdk/extensions/matrix/src/matrix/credentials-write.runtime.d.ts +0 -3
  1610. package/dist/plugin-sdk/extensions/matrix/src/matrix/credentials.d.ts +0 -5
  1611. package/dist/plugin-sdk/extensions/matrix/src/matrix/deps.d.ts +0 -25
  1612. package/dist/plugin-sdk/extensions/matrix/src/matrix/direct-management.d.ts +0 -53
  1613. package/dist/plugin-sdk/extensions/matrix/src/matrix/direct-room.d.ts +0 -27
  1614. package/dist/plugin-sdk/extensions/matrix/src/matrix/encryption-guidance.d.ts +0 -4
  1615. package/dist/plugin-sdk/extensions/matrix/src/matrix/errors.d.ts +0 -1
  1616. package/dist/plugin-sdk/extensions/matrix/src/matrix/format.d.ts +0 -17
  1617. package/dist/plugin-sdk/extensions/matrix/src/matrix/outbound-media-runtime.d.ts +0 -1
  1618. package/dist/plugin-sdk/extensions/matrix/src/matrix/poll-types.d.ts +0 -114
  1619. package/dist/plugin-sdk/extensions/matrix/src/matrix/reaction-common.d.ts +0 -32
  1620. package/dist/plugin-sdk/extensions/matrix/src/matrix/sdk/crypto-bootstrap.d.ts +0 -34
  1621. package/dist/plugin-sdk/extensions/matrix/src/matrix/sdk/crypto-facade.d.ts +0 -67
  1622. package/dist/plugin-sdk/extensions/matrix/src/matrix/sdk/crypto-node.runtime.d.ts +0 -2
  1623. package/dist/plugin-sdk/extensions/matrix/src/matrix/sdk/crypto-runtime.d.ts +0 -10
  1624. package/dist/plugin-sdk/extensions/matrix/src/matrix/sdk/decrypt-bridge.d.ts +0 -45
  1625. package/dist/plugin-sdk/extensions/matrix/src/matrix/sdk/event-helpers.d.ts +0 -10
  1626. package/dist/plugin-sdk/extensions/matrix/src/matrix/sdk/http-client.d.ts +0 -34
  1627. package/dist/plugin-sdk/extensions/matrix/src/matrix/sdk/idb-persistence-lock.d.ts +0 -4
  1628. package/dist/plugin-sdk/extensions/matrix/src/matrix/sdk/idb-persistence.d.ts +0 -5
  1629. package/dist/plugin-sdk/extensions/matrix/src/matrix/sdk/logger.d.ts +0 -25
  1630. package/dist/plugin-sdk/extensions/matrix/src/matrix/sdk/read-response-with-limit.d.ts +0 -11
  1631. package/dist/plugin-sdk/extensions/matrix/src/matrix/sdk/recovery-key-store.d.ts +0 -48
  1632. package/dist/plugin-sdk/extensions/matrix/src/matrix/sdk/transport.d.ts +0 -29
  1633. package/dist/plugin-sdk/extensions/matrix/src/matrix/sdk/types.d.ts +0 -186
  1634. package/dist/plugin-sdk/extensions/matrix/src/matrix/sdk/verification-manager.d.ts +0 -127
  1635. package/dist/plugin-sdk/extensions/matrix/src/matrix/sdk/verification-status.d.ts +0 -4
  1636. package/dist/plugin-sdk/extensions/matrix/src/matrix/sdk.d.ts +0 -212
  1637. package/dist/plugin-sdk/extensions/matrix/src/matrix/send/client.d.ts +0 -15
  1638. package/dist/plugin-sdk/extensions/matrix/src/matrix/send/formatting.d.ts +0 -25
  1639. package/dist/plugin-sdk/extensions/matrix/src/matrix/send/media.d.ts +0 -42
  1640. package/dist/plugin-sdk/extensions/matrix/src/matrix/send/targets.d.ts +0 -3
  1641. package/dist/plugin-sdk/extensions/matrix/src/matrix/send/types.d.ts +0 -80
  1642. package/dist/plugin-sdk/extensions/matrix/src/matrix/send.d.ts +0 -54
  1643. package/dist/plugin-sdk/extensions/matrix/src/matrix/target-ids.d.ts +0 -19
  1644. package/dist/plugin-sdk/extensions/matrix/src/matrix/thread-bindings-shared.d.ts +0 -77
  1645. package/dist/plugin-sdk/extensions/matrix/src/matrix/thread-bindings.d.ts +0 -15
  1646. package/dist/plugin-sdk/extensions/matrix/src/onboarding.d.ts +0 -2
  1647. package/dist/plugin-sdk/extensions/matrix/src/resolve-targets.d.ts +0 -8
  1648. package/dist/plugin-sdk/extensions/matrix/src/runtime-api.d.ts +0 -11
  1649. package/dist/plugin-sdk/extensions/matrix/src/runtime.d.ts +0 -3
  1650. package/dist/plugin-sdk/extensions/matrix/src/setup-bootstrap.d.ts +0 -20
  1651. package/dist/plugin-sdk/extensions/matrix/src/setup-config.d.ts +0 -12
  1652. package/dist/plugin-sdk/extensions/matrix/src/setup-core.d.ts +0 -2
  1653. package/dist/plugin-sdk/extensions/matrix/src/setup-surface.d.ts +0 -1
  1654. package/dist/plugin-sdk/extensions/matrix/src/storage-paths.d.ts +0 -26
  1655. package/dist/plugin-sdk/extensions/matrix/src/types.d.ts +0 -202
  1656. package/dist/plugin-sdk/extensions/mattermost/api.d.ts +0 -1
  1657. package/dist/plugin-sdk/extensions/mattermost/runtime-api.d.ts +0 -1
  1658. package/dist/plugin-sdk/extensions/mattermost/src/mattermost/accounts.d.ts +0 -33
  1659. package/dist/plugin-sdk/extensions/mattermost/src/mattermost/client.d.ts +0 -103
  1660. package/dist/plugin-sdk/extensions/mattermost/src/mattermost/monitor-auth.d.ts +0 -51
  1661. package/dist/plugin-sdk/extensions/mattermost/src/mattermost/runtime-api.d.ts +0 -1
  1662. package/dist/plugin-sdk/extensions/mattermost/src/runtime-api.d.ts +0 -1
  1663. package/dist/plugin-sdk/extensions/mattermost/src/secret-input.d.ts +0 -2
  1664. package/dist/plugin-sdk/extensions/mattermost/src/types.d.ts +0 -105
  1665. package/dist/plugin-sdk/extensions/media-understanding-core/runtime-api.d.ts +0 -1
  1666. package/dist/plugin-sdk/extensions/media-understanding-core/src/runtime.d.ts +0 -54
  1667. package/dist/plugin-sdk/extensions/memory-core/runtime-api.d.ts +0 -3
  1668. package/dist/plugin-sdk/extensions/memory-core/src/memory/embeddings.d.ts +0 -21
  1669. package/dist/plugin-sdk/extensions/memory-core/src/memory/hybrid.d.ts +0 -45
  1670. package/dist/plugin-sdk/extensions/memory-core/src/memory/index.d.ts +0 -3
  1671. package/dist/plugin-sdk/extensions/memory-core/src/memory/manager-embedding-ops.d.ts +0 -47
  1672. package/dist/plugin-sdk/extensions/memory-core/src/memory/manager-runtime.d.ts +0 -1
  1673. package/dist/plugin-sdk/extensions/memory-core/src/memory/manager-search.d.ts +0 -61
  1674. package/dist/plugin-sdk/extensions/memory-core/src/memory/manager-sync-ops.d.ts +0 -142
  1675. package/dist/plugin-sdk/extensions/memory-core/src/memory/manager.d.ts +0 -155
  1676. package/dist/plugin-sdk/extensions/memory-core/src/memory/mmr.d.ts +0 -67
  1677. package/dist/plugin-sdk/extensions/memory-core/src/memory/provider-adapters.d.ts +0 -19
  1678. package/dist/plugin-sdk/extensions/memory-core/src/memory/qmd-manager.d.ts +0 -191
  1679. package/dist/plugin-sdk/extensions/memory-core/src/memory/search-manager.d.ts +0 -12
  1680. package/dist/plugin-sdk/extensions/memory-core/src/memory/temporal-decay.d.ts +0 -25
  1681. package/dist/plugin-sdk/extensions/minimax/api.d.ts +0 -4
  1682. package/dist/plugin-sdk/extensions/minimax/model-definitions.d.ts +0 -35
  1683. package/dist/plugin-sdk/extensions/minimax/onboard.d.ts +0 -5
  1684. package/dist/plugin-sdk/extensions/minimax/provider-catalog.d.ts +0 -3
  1685. package/dist/plugin-sdk/extensions/minimax/provider-models.d.ts +0 -15
  1686. package/dist/plugin-sdk/extensions/mistral/api.d.ts +0 -11
  1687. package/dist/plugin-sdk/extensions/mistral/model-definitions.d.ts +0 -14
  1688. package/dist/plugin-sdk/extensions/mistral/onboard.d.ts +0 -4
  1689. package/dist/plugin-sdk/extensions/mistral/provider-catalog.d.ts +0 -2
  1690. package/dist/plugin-sdk/extensions/modelstudio/api.d.ts +0 -2
  1691. package/dist/plugin-sdk/extensions/modelstudio/models.d.ts +0 -27
  1692. package/dist/plugin-sdk/extensions/modelstudio/provider-catalog.d.ts +0 -2
  1693. package/dist/plugin-sdk/extensions/moonshot/api.d.ts +0 -2
  1694. package/dist/plugin-sdk/extensions/moonshot/onboard.d.ts +0 -6
  1695. package/dist/plugin-sdk/extensions/moonshot/provider-catalog.d.ts +0 -7
  1696. package/dist/plugin-sdk/extensions/nvidia/api.d.ts +0 -1
  1697. package/dist/plugin-sdk/extensions/nvidia/provider-catalog.d.ts +0 -2
  1698. package/dist/plugin-sdk/extensions/ollama/api.d.ts +0 -4
  1699. package/dist/plugin-sdk/extensions/ollama/runtime-api.d.ts +0 -2
  1700. package/dist/plugin-sdk/extensions/ollama/src/defaults.d.ts +0 -11
  1701. package/dist/plugin-sdk/extensions/ollama/src/embedding-provider.d.ts +0 -37
  1702. package/dist/plugin-sdk/extensions/ollama/src/provider-models.d.ts +0 -31
  1703. package/dist/plugin-sdk/extensions/ollama/src/setup.d.ts +0 -36
  1704. package/dist/plugin-sdk/extensions/ollama/src/stream.d.ts +0 -104
  1705. package/dist/plugin-sdk/extensions/openai/api.d.ts +0 -3
  1706. package/dist/plugin-sdk/extensions/openai/default-models.d.ts +0 -10
  1707. package/dist/plugin-sdk/extensions/openai/openai-codex-catalog.d.ts +0 -3
  1708. package/dist/plugin-sdk/extensions/openai/openai-provider.d.ts +0 -2
  1709. package/dist/plugin-sdk/extensions/openai/shared.d.ts +0 -5
  1710. package/dist/plugin-sdk/extensions/opencode/api.d.ts +0 -6
  1711. package/dist/plugin-sdk/extensions/opencode/onboard.d.ts +0 -4
  1712. package/dist/plugin-sdk/extensions/opencode-go/api.d.ts +0 -5
  1713. package/dist/plugin-sdk/extensions/opencode-go/onboard.d.ts +0 -4
  1714. package/dist/plugin-sdk/extensions/openrouter/api.d.ts +0 -2
  1715. package/dist/plugin-sdk/extensions/openrouter/onboard.d.ts +0 -4
  1716. package/dist/plugin-sdk/extensions/openrouter/provider-catalog.d.ts +0 -2
  1717. package/dist/plugin-sdk/extensions/qianfan/api.d.ts +0 -2
  1718. package/dist/plugin-sdk/extensions/qianfan/onboard.d.ts +0 -4
  1719. package/dist/plugin-sdk/extensions/qianfan/provider-catalog.d.ts +0 -4
  1720. package/dist/plugin-sdk/extensions/sglang/api.d.ts +0 -2
  1721. package/dist/plugin-sdk/extensions/sglang/defaults.d.ts +0 -4
  1722. package/dist/plugin-sdk/extensions/sglang/models.d.ts +0 -8
  1723. package/dist/plugin-sdk/extensions/signal/api.d.ts +0 -11
  1724. package/dist/plugin-sdk/extensions/signal/reaction-runtime-api.d.ts +0 -1
  1725. package/dist/plugin-sdk/extensions/signal/src/accounts.d.ts +0 -17
  1726. package/dist/plugin-sdk/extensions/signal/src/client.d.ts +0 -32
  1727. package/dist/plugin-sdk/extensions/signal/src/daemon.d.ts +0 -26
  1728. package/dist/plugin-sdk/extensions/signal/src/format.d.ts +0 -17
  1729. package/dist/plugin-sdk/extensions/signal/src/identity.d.ts +0 -25
  1730. package/dist/plugin-sdk/extensions/signal/src/message-actions.d.ts +0 -2
  1731. package/dist/plugin-sdk/extensions/signal/src/monitor/access-policy.d.ts +0 -40
  1732. package/dist/plugin-sdk/extensions/signal/src/monitor/event-handler.d.ts +0 -5
  1733. package/dist/plugin-sdk/extensions/signal/src/monitor/event-handler.types.d.ts +0 -128
  1734. package/dist/plugin-sdk/extensions/signal/src/monitor/inbound-context.d.ts +0 -17
  1735. package/dist/plugin-sdk/extensions/signal/src/monitor/mentions.d.ts +0 -2
  1736. package/dist/plugin-sdk/extensions/signal/src/monitor.d.ts +0 -26
  1737. package/dist/plugin-sdk/extensions/signal/src/normalize.d.ts +0 -2
  1738. package/dist/plugin-sdk/extensions/signal/src/outbound-session.d.ts +0 -8
  1739. package/dist/plugin-sdk/extensions/signal/src/probe.d.ts +0 -7
  1740. package/dist/plugin-sdk/extensions/signal/src/reaction-level.d.ts +0 -17
  1741. package/dist/plugin-sdk/extensions/signal/src/rpc-context.d.ts +0 -9
  1742. package/dist/plugin-sdk/extensions/signal/src/runtime-api.d.ts +0 -25
  1743. package/dist/plugin-sdk/extensions/signal/src/send-reactions.d.ts +0 -34
  1744. package/dist/plugin-sdk/extensions/signal/src/send.d.ts +0 -32
  1745. package/dist/plugin-sdk/extensions/signal/src/setup-core.d.ts +0 -20
  1746. package/dist/plugin-sdk/extensions/signal/src/sse-reconnect.d.ts +0 -12
  1747. package/dist/plugin-sdk/extensions/slack/api.d.ts +0 -19
  1748. package/dist/plugin-sdk/extensions/slack/runtime-api.d.ts +0 -5
  1749. package/dist/plugin-sdk/extensions/slack/src/account-inspect.d.ts +0 -32
  1750. package/dist/plugin-sdk/extensions/slack/src/account-surface-fields.d.ts +0 -14
  1751. package/dist/plugin-sdk/extensions/slack/src/accounts.d.ts +0 -25
  1752. package/dist/plugin-sdk/extensions/slack/src/accounts.runtime.d.ts +0 -1
  1753. package/dist/plugin-sdk/extensions/slack/src/action-runtime.d.ts +0 -38
  1754. package/dist/plugin-sdk/extensions/slack/src/action-threading.d.ts +0 -11
  1755. package/dist/plugin-sdk/extensions/slack/src/actions.d.ts +0 -81
  1756. package/dist/plugin-sdk/extensions/slack/src/actions.runtime.d.ts +0 -1
  1757. package/dist/plugin-sdk/extensions/slack/src/approval-auth.d.ts +0 -25
  1758. package/dist/plugin-sdk/extensions/slack/src/approval-native.d.ts +0 -10
  1759. package/dist/plugin-sdk/extensions/slack/src/blocks-fallback.d.ts +0 -2
  1760. package/dist/plugin-sdk/extensions/slack/src/blocks-input.d.ts +0 -4
  1761. package/dist/plugin-sdk/extensions/slack/src/blocks-render.d.ts +0 -6
  1762. package/dist/plugin-sdk/extensions/slack/src/channel-actions.d.ts +0 -7
  1763. package/dist/plugin-sdk/extensions/slack/src/channel-migration.d.ts +0 -20
  1764. package/dist/plugin-sdk/extensions/slack/src/channel-type.d.ts +0 -6
  1765. package/dist/plugin-sdk/extensions/slack/src/channel.d.ts +0 -4
  1766. package/dist/plugin-sdk/extensions/slack/src/client.d.ts +0 -7
  1767. package/dist/plugin-sdk/extensions/slack/src/config-schema.d.ts +0 -1
  1768. package/dist/plugin-sdk/extensions/slack/src/config-ui-hints.d.ts +0 -98
  1769. package/dist/plugin-sdk/extensions/slack/src/directory-config.d.ts +0 -3
  1770. package/dist/plugin-sdk/extensions/slack/src/directory-live.d.ts +0 -3
  1771. package/dist/plugin-sdk/extensions/slack/src/draft-stream.d.ts +0 -25
  1772. package/dist/plugin-sdk/extensions/slack/src/exec-approvals.d.ts +0 -43
  1773. package/dist/plugin-sdk/extensions/slack/src/format.d.ts +0 -8
  1774. package/dist/plugin-sdk/extensions/slack/src/group-policy.d.ts +0 -4
  1775. package/dist/plugin-sdk/extensions/slack/src/http/index.d.ts +0 -1
  1776. package/dist/plugin-sdk/extensions/slack/src/http/registry.d.ts +0 -12
  1777. package/dist/plugin-sdk/extensions/slack/src/index.d.ts +0 -7
  1778. package/dist/plugin-sdk/extensions/slack/src/interactive-replies.d.ts +0 -5
  1779. package/dist/plugin-sdk/extensions/slack/src/limits.d.ts +0 -1
  1780. package/dist/plugin-sdk/extensions/slack/src/message-action-dispatch.d.ts +0 -12
  1781. package/dist/plugin-sdk/extensions/slack/src/message-actions.d.ts +0 -5
  1782. package/dist/plugin-sdk/extensions/slack/src/message-tool-schema.d.ts +0 -1
  1783. package/dist/plugin-sdk/extensions/slack/src/modal-metadata.d.ts +0 -8
  1784. package/dist/plugin-sdk/extensions/slack/src/monitor/allow-list.d.ts +0 -24
  1785. package/dist/plugin-sdk/extensions/slack/src/monitor/auth.d.ts +0 -29
  1786. package/dist/plugin-sdk/extensions/slack/src/monitor/channel-config.d.ts +0 -45
  1787. package/dist/plugin-sdk/extensions/slack/src/monitor/channel-type.d.ts +0 -3
  1788. package/dist/plugin-sdk/extensions/slack/src/monitor/commands.d.ts +0 -9
  1789. package/dist/plugin-sdk/extensions/slack/src/monitor/context.d.ts +0 -107
  1790. package/dist/plugin-sdk/extensions/slack/src/monitor/dm-auth.d.ts +0 -17
  1791. package/dist/plugin-sdk/extensions/slack/src/monitor/events/channels.d.ts +0 -5
  1792. package/dist/plugin-sdk/extensions/slack/src/monitor/events/interactions.block-actions.d.ts +0 -49
  1793. package/dist/plugin-sdk/extensions/slack/src/monitor/events/interactions.d.ts +0 -4
  1794. package/dist/plugin-sdk/extensions/slack/src/monitor/events/interactions.modal.d.ts +0 -68
  1795. package/dist/plugin-sdk/extensions/slack/src/monitor/events/members.d.ts +0 -5
  1796. package/dist/plugin-sdk/extensions/slack/src/monitor/events/message-subtype-handlers.d.ts +0 -13
  1797. package/dist/plugin-sdk/extensions/slack/src/monitor/events/messages.d.ts +0 -6
  1798. package/dist/plugin-sdk/extensions/slack/src/monitor/events/pins.d.ts +0 -5
  1799. package/dist/plugin-sdk/extensions/slack/src/monitor/events/reactions.d.ts +0 -5
  1800. package/dist/plugin-sdk/extensions/slack/src/monitor/events/system-event-context.d.ts +0 -12
  1801. package/dist/plugin-sdk/extensions/slack/src/monitor/events.d.ts +0 -10
  1802. package/dist/plugin-sdk/extensions/slack/src/monitor/exec-approvals.d.ts +0 -26
  1803. package/dist/plugin-sdk/extensions/slack/src/monitor/external-arg-menu-store.d.ts +0 -18
  1804. package/dist/plugin-sdk/extensions/slack/src/monitor/media.d.ts +0 -67
  1805. package/dist/plugin-sdk/extensions/slack/src/monitor/message-handler/dispatch.d.ts +0 -21
  1806. package/dist/plugin-sdk/extensions/slack/src/monitor/message-handler/prepare-content.d.ts +0 -14
  1807. package/dist/plugin-sdk/extensions/slack/src/monitor/message-handler/prepare-thread-context.d.ts +0 -28
  1808. package/dist/plugin-sdk/extensions/slack/src/monitor/message-handler/prepare.d.ts +0 -13
  1809. package/dist/plugin-sdk/extensions/slack/src/monitor/message-handler/prepare.test-helpers.d.ts +0 -12
  1810. package/dist/plugin-sdk/extensions/slack/src/monitor/message-handler/preview-finalize.d.ts +0 -44
  1811. package/dist/plugin-sdk/extensions/slack/src/monitor/message-handler/types.d.ts +0 -23
  1812. package/dist/plugin-sdk/extensions/slack/src/monitor/message-handler.d.ts +0 -22
  1813. package/dist/plugin-sdk/extensions/slack/src/monitor/mrkdwn.d.ts +0 -1
  1814. package/dist/plugin-sdk/extensions/slack/src/monitor/policy.d.ts +0 -5
  1815. package/dist/plugin-sdk/extensions/slack/src/monitor/provider.d.ts +0 -33
  1816. package/dist/plugin-sdk/extensions/slack/src/monitor/reconnect-policy.d.ts +0 -25
  1817. package/dist/plugin-sdk/extensions/slack/src/monitor/replies.d.ts +0 -56
  1818. package/dist/plugin-sdk/extensions/slack/src/monitor/room-context.d.ts +0 -14
  1819. package/dist/plugin-sdk/extensions/slack/src/monitor/slash-commands.runtime.d.ts +0 -11
  1820. package/dist/plugin-sdk/extensions/slack/src/monitor/slash-dispatch.runtime.d.ts +0 -17
  1821. package/dist/plugin-sdk/extensions/slack/src/monitor/slash-skill-commands.runtime.d.ts +0 -3
  1822. package/dist/plugin-sdk/extensions/slack/src/monitor/slash.d.ts +0 -6
  1823. package/dist/plugin-sdk/extensions/slack/src/monitor/thread-resolution.d.ts +0 -12
  1824. package/dist/plugin-sdk/extensions/slack/src/monitor/types.d.ts +0 -113
  1825. package/dist/plugin-sdk/extensions/slack/src/monitor.d.ts +0 -5
  1826. package/dist/plugin-sdk/extensions/slack/src/outbound-adapter.d.ts +0 -2
  1827. package/dist/plugin-sdk/extensions/slack/src/probe.d.ts +0 -14
  1828. package/dist/plugin-sdk/extensions/slack/src/reply-blocks.d.ts +0 -3
  1829. package/dist/plugin-sdk/extensions/slack/src/resolve-allowlist-common.d.ts +0 -29
  1830. package/dist/plugin-sdk/extensions/slack/src/resolve-channels.d.ts +0 -19
  1831. package/dist/plugin-sdk/extensions/slack/src/resolve-users.d.ts +0 -26
  1832. package/dist/plugin-sdk/extensions/slack/src/runtime-api.d.ts +0 -6
  1833. package/dist/plugin-sdk/extensions/slack/src/runtime.d.ts +0 -3
  1834. package/dist/plugin-sdk/extensions/slack/src/scopes.d.ts +0 -7
  1835. package/dist/plugin-sdk/extensions/slack/src/send.d.ts +0 -32
  1836. package/dist/plugin-sdk/extensions/slack/src/sent-thread-cache.d.ts +0 -3
  1837. package/dist/plugin-sdk/extensions/slack/src/setup-core.d.ts +0 -80
  1838. package/dist/plugin-sdk/extensions/slack/src/setup-surface.d.ts +0 -2
  1839. package/dist/plugin-sdk/extensions/slack/src/shared.d.ts +0 -39
  1840. package/dist/plugin-sdk/extensions/slack/src/stream-mode.d.ts +0 -23
  1841. package/dist/plugin-sdk/extensions/slack/src/streaming.d.ts +0 -72
  1842. package/dist/plugin-sdk/extensions/slack/src/targets.d.ts +0 -9
  1843. package/dist/plugin-sdk/extensions/slack/src/threading-tool-context.d.ts +0 -10
  1844. package/dist/plugin-sdk/extensions/slack/src/threading.d.ts +0 -29
  1845. package/dist/plugin-sdk/extensions/slack/src/token.d.ts +0 -4
  1846. package/dist/plugin-sdk/extensions/slack/src/truncate.d.ts +0 -1
  1847. package/dist/plugin-sdk/extensions/slack/src/types.d.ts +0 -58
  1848. package/dist/plugin-sdk/extensions/slack/test-api.d.ts +0 -9
  1849. package/dist/plugin-sdk/extensions/speech-core/api.d.ts +0 -1
  1850. package/dist/plugin-sdk/extensions/speech-core/runtime-api.d.ts +0 -1
  1851. package/dist/plugin-sdk/extensions/speech-core/src/tts.d.ts +0 -145
  1852. package/dist/plugin-sdk/extensions/synthetic/api.d.ts +0 -3
  1853. package/dist/plugin-sdk/extensions/synthetic/models.d.ts +0 -160
  1854. package/dist/plugin-sdk/extensions/synthetic/onboard.d.ts +0 -5
  1855. package/dist/plugin-sdk/extensions/synthetic/provider-catalog.d.ts +0 -2
  1856. package/dist/plugin-sdk/extensions/together/api.d.ts +0 -3
  1857. package/dist/plugin-sdk/extensions/together/models.d.ts +0 -4
  1858. package/dist/plugin-sdk/extensions/together/onboard.d.ts +0 -4
  1859. package/dist/plugin-sdk/extensions/together/provider-catalog.d.ts +0 -2
  1860. package/dist/plugin-sdk/extensions/venice/api.d.ts +0 -2
  1861. package/dist/plugin-sdk/extensions/venice/models.d.ts +0 -345
  1862. package/dist/plugin-sdk/extensions/venice/provider-catalog.d.ts +0 -2
  1863. package/dist/plugin-sdk/extensions/vercel-ai-gateway/api.d.ts +0 -3
  1864. package/dist/plugin-sdk/extensions/vercel-ai-gateway/models.d.ts +0 -15
  1865. package/dist/plugin-sdk/extensions/vercel-ai-gateway/onboard.d.ts +0 -4
  1866. package/dist/plugin-sdk/extensions/vercel-ai-gateway/provider-catalog.d.ts +0 -2
  1867. package/dist/plugin-sdk/extensions/vllm/api.d.ts +0 -2
  1868. package/dist/plugin-sdk/extensions/vllm/defaults.d.ts +0 -4
  1869. package/dist/plugin-sdk/extensions/vllm/models.d.ts +0 -8
  1870. package/dist/plugin-sdk/extensions/volcengine/api.d.ts +0 -2
  1871. package/dist/plugin-sdk/extensions/volcengine/models.d.ts +0 -94
  1872. package/dist/plugin-sdk/extensions/volcengine/provider-catalog.d.ts +0 -3
  1873. package/dist/plugin-sdk/extensions/whatsapp/api.d.ts +0 -10
  1874. package/dist/plugin-sdk/extensions/whatsapp/constants.d.ts +0 -1
  1875. package/dist/plugin-sdk/extensions/whatsapp/light-runtime-api.d.ts +0 -4
  1876. package/dist/plugin-sdk/extensions/whatsapp/login-qr-api.d.ts +0 -5
  1877. package/dist/plugin-sdk/extensions/whatsapp/runtime-api.d.ts +0 -14
  1878. package/dist/plugin-sdk/extensions/whatsapp/src/account-config.d.ts +0 -8
  1879. package/dist/plugin-sdk/extensions/whatsapp/src/accounts.d.ts +0 -43
  1880. package/dist/plugin-sdk/extensions/whatsapp/src/action-runtime-target-auth.d.ts +0 -10
  1881. package/dist/plugin-sdk/extensions/whatsapp/src/action-runtime.d.ts +0 -9
  1882. package/dist/plugin-sdk/extensions/whatsapp/src/agent-tools-login.d.ts +0 -2
  1883. package/dist/plugin-sdk/extensions/whatsapp/src/auth-store.d.ts +0 -31
  1884. package/dist/plugin-sdk/extensions/whatsapp/src/auto-reply/constants.d.ts +0 -1
  1885. package/dist/plugin-sdk/extensions/whatsapp/src/auto-reply/deliver-reply.d.ts +0 -19
  1886. package/dist/plugin-sdk/extensions/whatsapp/src/auto-reply/heartbeat-runner.d.ts +0 -20
  1887. package/dist/plugin-sdk/extensions/whatsapp/src/auto-reply/loggers.d.ts +0 -4
  1888. package/dist/plugin-sdk/extensions/whatsapp/src/auto-reply/mentions.d.ts +0 -19
  1889. package/dist/plugin-sdk/extensions/whatsapp/src/auto-reply/monitor/ack-reaction.d.ts +0 -13
  1890. package/dist/plugin-sdk/extensions/whatsapp/src/auto-reply/monitor/broadcast.d.ts +0 -16
  1891. package/dist/plugin-sdk/extensions/whatsapp/src/auto-reply/monitor/commands.d.ts +0 -2
  1892. package/dist/plugin-sdk/extensions/whatsapp/src/auto-reply/monitor/echo.d.ts +0 -17
  1893. package/dist/plugin-sdk/extensions/whatsapp/src/auto-reply/monitor/group-activation.d.ts +0 -9
  1894. package/dist/plugin-sdk/extensions/whatsapp/src/auto-reply/monitor/group-gating.d.ts +0 -33
  1895. package/dist/plugin-sdk/extensions/whatsapp/src/auto-reply/monitor/group-members.d.ts +0 -6
  1896. package/dist/plugin-sdk/extensions/whatsapp/src/auto-reply/monitor/inbound-context.d.ts +0 -28
  1897. package/dist/plugin-sdk/extensions/whatsapp/src/auto-reply/monitor/inbound-dispatch.d.ts +0 -140
  1898. package/dist/plugin-sdk/extensions/whatsapp/src/auto-reply/monitor/last-route.d.ts +0 -15
  1899. package/dist/plugin-sdk/extensions/whatsapp/src/auto-reply/monitor/message-line.d.ts +0 -11
  1900. package/dist/plugin-sdk/extensions/whatsapp/src/auto-reply/monitor/on-message.d.ts +0 -24
  1901. package/dist/plugin-sdk/extensions/whatsapp/src/auto-reply/monitor/peer.d.ts +0 -2
  1902. package/dist/plugin-sdk/extensions/whatsapp/src/auto-reply/monitor/process-message.d.ts +0 -31
  1903. package/dist/plugin-sdk/extensions/whatsapp/src/auto-reply/monitor/runtime-api.d.ts +0 -14
  1904. package/dist/plugin-sdk/extensions/whatsapp/src/auto-reply/monitor-state.d.ts +0 -18
  1905. package/dist/plugin-sdk/extensions/whatsapp/src/auto-reply/monitor.d.ts +0 -5
  1906. package/dist/plugin-sdk/extensions/whatsapp/src/auto-reply/session-snapshot.d.ts +0 -17
  1907. package/dist/plugin-sdk/extensions/whatsapp/src/auto-reply/types.d.ts +0 -33
  1908. package/dist/plugin-sdk/extensions/whatsapp/src/auto-reply/util.d.ts +0 -2
  1909. package/dist/plugin-sdk/extensions/whatsapp/src/auto-reply.d.ts +0 -1
  1910. package/dist/plugin-sdk/extensions/whatsapp/src/auto-reply.impl.d.ts +0 -6
  1911. package/dist/plugin-sdk/extensions/whatsapp/src/channel.runtime.d.ts +0 -23
  1912. package/dist/plugin-sdk/extensions/whatsapp/src/creds-files.d.ts +0 -3
  1913. package/dist/plugin-sdk/extensions/whatsapp/src/directory-config.d.ts +0 -3
  1914. package/dist/plugin-sdk/extensions/whatsapp/src/group-policy.d.ts +0 -14
  1915. package/dist/plugin-sdk/extensions/whatsapp/src/identity.d.ts +0 -52
  1916. package/dist/plugin-sdk/extensions/whatsapp/src/inbound/access-control.d.ts +0 -36
  1917. package/dist/plugin-sdk/extensions/whatsapp/src/inbound/dedupe.d.ts +0 -12
  1918. package/dist/plugin-sdk/extensions/whatsapp/src/inbound/extract.d.ts +0 -8
  1919. package/dist/plugin-sdk/extensions/whatsapp/src/inbound/lifecycle.d.ts +0 -14
  1920. package/dist/plugin-sdk/extensions/whatsapp/src/inbound/media.d.ts +0 -7
  1921. package/dist/plugin-sdk/extensions/whatsapp/src/inbound/monitor.d.ts +0 -32
  1922. package/dist/plugin-sdk/extensions/whatsapp/src/inbound/send-api.d.ts +0 -22
  1923. package/dist/plugin-sdk/extensions/whatsapp/src/inbound/types.d.ts +0 -48
  1924. package/dist/plugin-sdk/extensions/whatsapp/src/inbound.d.ts +0 -4
  1925. package/dist/plugin-sdk/extensions/whatsapp/src/login-qr.d.ts +0 -19
  1926. package/dist/plugin-sdk/extensions/whatsapp/src/login.d.ts +0 -3
  1927. package/dist/plugin-sdk/extensions/whatsapp/src/media.d.ts +0 -2
  1928. package/dist/plugin-sdk/extensions/whatsapp/src/normalize-target.d.ts +0 -3
  1929. package/dist/plugin-sdk/extensions/whatsapp/src/normalize.d.ts +0 -2
  1930. package/dist/plugin-sdk/extensions/whatsapp/src/qr-image.d.ts +0 -1
  1931. package/dist/plugin-sdk/extensions/whatsapp/src/reaction-level.d.ts +0 -9
  1932. package/dist/plugin-sdk/extensions/whatsapp/src/reconnect.d.ts +0 -11
  1933. package/dist/plugin-sdk/extensions/whatsapp/src/resolve-outbound-target.d.ts +0 -12
  1934. package/dist/plugin-sdk/extensions/whatsapp/src/runtime-api.d.ts +0 -16
  1935. package/dist/plugin-sdk/extensions/whatsapp/src/send.d.ts +0 -32
  1936. package/dist/plugin-sdk/extensions/whatsapp/src/session-errors.d.ts +0 -2
  1937. package/dist/plugin-sdk/extensions/whatsapp/src/session.d.ts +0 -17
  1938. package/dist/plugin-sdk/extensions/whatsapp/src/setup-core.d.ts +0 -2
  1939. package/dist/plugin-sdk/extensions/whatsapp/src/setup-surface.d.ts +0 -2
  1940. package/dist/plugin-sdk/extensions/whatsapp/src/vcard.d.ts +0 -6
  1941. package/dist/plugin-sdk/extensions/xai/api.d.ts +0 -27
  1942. package/dist/plugin-sdk/extensions/xai/model-definitions.d.ts +0 -13
  1943. package/dist/plugin-sdk/extensions/xai/model-id.d.ts +0 -1
  1944. package/dist/plugin-sdk/extensions/xai/onboard.d.ts +0 -5
  1945. package/dist/plugin-sdk/extensions/xai/provider-catalog.d.ts +0 -2
  1946. package/dist/plugin-sdk/extensions/xai/provider-models.d.ts +0 -6
  1947. package/dist/plugin-sdk/extensions/xiaomi/api.d.ts +0 -2
  1948. package/dist/plugin-sdk/extensions/xiaomi/onboard.d.ts +0 -4
  1949. package/dist/plugin-sdk/extensions/xiaomi/provider-catalog.d.ts +0 -3
  1950. package/dist/plugin-sdk/extensions/zai/api.d.ts +0 -2
  1951. package/dist/plugin-sdk/extensions/zai/model-definitions.d.ts +0 -23
  1952. package/dist/plugin-sdk/extensions/zai/onboard.d.ts +0 -10
  1953. package/dist/plugin-sdk/extensions/zalo/api.d.ts +0 -3
  1954. package/dist/plugin-sdk/extensions/zalo/runtime-api.d.ts +0 -1
  1955. package/dist/plugin-sdk/extensions/zalo/src/accounts.d.ts +0 -11
  1956. package/dist/plugin-sdk/extensions/zalo/src/group-access.d.ts +0 -17
  1957. package/dist/plugin-sdk/extensions/zalo/src/runtime-api.d.ts +0 -1
  1958. package/dist/plugin-sdk/extensions/zalo/src/secret-input.d.ts +0 -1
  1959. package/dist/plugin-sdk/extensions/zalo/src/setup-core.d.ts +0 -1
  1960. package/dist/plugin-sdk/extensions/zalo/src/setup-surface.d.ts +0 -3
  1961. package/dist/plugin-sdk/extensions/zalo/src/token.d.ts +0 -8
  1962. package/dist/plugin-sdk/extensions/zalo/src/types.d.ts +0 -46
  1963. package/dist/plugin-sdk/feishu-conversation.d.ts +0 -1
  1964. package/dist/plugin-sdk/feishu-setup.d.ts +0 -1
  1965. package/dist/plugin-sdk/feishu.d.ts +0 -1
  1966. package/dist/plugin-sdk/fetch-runtime.d.ts +0 -1
  1967. package/dist/plugin-sdk/file-lock.d.ts +0 -1
  1968. package/dist/plugin-sdk/gateway-runtime.d.ts +0 -1
  1969. package/dist/plugin-sdk/github-copilot-login.d.ts +0 -1
  1970. package/dist/plugin-sdk/github-copilot-token.d.ts +0 -1
  1971. package/dist/plugin-sdk/global-singleton.d.ts +0 -1
  1972. package/dist/plugin-sdk/google.d.ts +0 -1
  1973. package/dist/plugin-sdk/googlechat.d.ts +0 -1
  1974. package/dist/plugin-sdk/group-access.d.ts +0 -1
  1975. package/dist/plugin-sdk/hook-runtime.d.ts +0 -1
  1976. package/dist/plugin-sdk/host-runtime.d.ts +0 -1
  1977. package/dist/plugin-sdk/huggingface.d.ts +0 -1
  1978. package/dist/plugin-sdk/image-generation-core.d.ts +0 -1
  1979. package/dist/plugin-sdk/image-generation.d.ts +0 -1
  1980. package/dist/plugin-sdk/index.d.ts +0 -1
  1981. package/dist/plugin-sdk/infra-runtime.d.ts +0 -1
  1982. package/dist/plugin-sdk/interactive-runtime.d.ts +0 -1
  1983. package/dist/plugin-sdk/irc-surface.d.ts +0 -1
  1984. package/dist/plugin-sdk/irc.d.ts +0 -1
  1985. package/dist/plugin-sdk/json-store.d.ts +0 -1
  1986. package/dist/plugin-sdk/keyed-async-queue.d.ts +0 -1
  1987. package/dist/plugin-sdk/kilocode.d.ts +0 -1
  1988. package/dist/plugin-sdk/kimi-coding.d.ts +0 -1
  1989. package/dist/plugin-sdk/lazy-runtime.d.ts +0 -1
  1990. package/dist/plugin-sdk/line-core.d.ts +0 -1
  1991. package/dist/plugin-sdk/line-runtime.d.ts +0 -1
  1992. package/dist/plugin-sdk/line-surface.d.ts +0 -1
  1993. package/dist/plugin-sdk/line.d.ts +0 -1
  1994. package/dist/plugin-sdk/llm-task.d.ts +0 -1
  1995. package/dist/plugin-sdk/logging-core.d.ts +0 -1
  1996. package/dist/plugin-sdk/markdown-table-runtime.d.ts +0 -1
  1997. package/dist/plugin-sdk/matrix-helper.d.ts +0 -1
  1998. package/dist/plugin-sdk/matrix-runtime-heavy.d.ts +0 -1
  1999. package/dist/plugin-sdk/matrix-runtime-shared.d.ts +0 -1
  2000. package/dist/plugin-sdk/matrix-runtime-surface.d.ts +0 -1
  2001. package/dist/plugin-sdk/matrix-surface.d.ts +0 -1
  2002. package/dist/plugin-sdk/matrix-thread-bindings.d.ts +0 -1
  2003. package/dist/plugin-sdk/matrix.d.ts +0 -1
  2004. package/dist/plugin-sdk/mattermost-policy.d.ts +0 -1
  2005. package/dist/plugin-sdk/mattermost.d.ts +0 -1
  2006. package/dist/plugin-sdk/media-runtime.d.ts +0 -1
  2007. package/dist/plugin-sdk/media-understanding-runtime.d.ts +0 -1
  2008. package/dist/plugin-sdk/media-understanding.d.ts +0 -1
  2009. package/dist/plugin-sdk/memory-core-engine-runtime.d.ts +0 -1
  2010. package/dist/plugin-sdk/memory-core-host-engine-embeddings.d.ts +0 -1
  2011. package/dist/plugin-sdk/memory-core-host-engine-foundation.d.ts +0 -1
  2012. package/dist/plugin-sdk/memory-core-host-engine-qmd.d.ts +0 -1
  2013. package/dist/plugin-sdk/memory-core-host-engine-storage.d.ts +0 -1
  2014. package/dist/plugin-sdk/memory-core-host-multimodal.d.ts +0 -1
  2015. package/dist/plugin-sdk/memory-core-host-query.d.ts +0 -1
  2016. package/dist/plugin-sdk/memory-core-host-runtime-cli.d.ts +0 -1
  2017. package/dist/plugin-sdk/memory-core-host-runtime-core.d.ts +0 -1
  2018. package/dist/plugin-sdk/memory-core-host-runtime-files.d.ts +0 -1
  2019. package/dist/plugin-sdk/memory-core-host-secret.d.ts +0 -1
  2020. package/dist/plugin-sdk/memory-core-host-status.d.ts +0 -1
  2021. package/dist/plugin-sdk/memory-core.d.ts +0 -1
  2022. package/dist/plugin-sdk/memory-lancedb.d.ts +0 -1
  2023. package/dist/plugin-sdk/minimax.d.ts +0 -1
  2024. package/dist/plugin-sdk/mistral.d.ts +0 -1
  2025. package/dist/plugin-sdk/models-provider-runtime.d.ts +0 -1
  2026. package/dist/plugin-sdk/modelstudio-definitions.d.ts +0 -1
  2027. package/dist/plugin-sdk/modelstudio.d.ts +0 -1
  2028. package/dist/plugin-sdk/moonshot.d.ts +0 -1
  2029. package/dist/plugin-sdk/msteams.d.ts +0 -1
  2030. package/dist/plugin-sdk/native-command-registry.d.ts +0 -1
  2031. package/dist/plugin-sdk/nextcloud-talk.d.ts +0 -1
  2032. package/dist/plugin-sdk/nostr.d.ts +0 -1
  2033. package/dist/plugin-sdk/nvidia.d.ts +0 -1
  2034. package/dist/plugin-sdk/ollama-surface.d.ts +0 -1
  2035. package/dist/plugin-sdk/ollama.d.ts +0 -1
  2036. package/dist/plugin-sdk/openai.d.ts +0 -1
  2037. package/dist/plugin-sdk/opencode-go.d.ts +0 -1
  2038. package/dist/plugin-sdk/opencode.d.ts +0 -1
  2039. package/dist/plugin-sdk/outbound-runtime.d.ts +0 -1
  2040. package/dist/plugin-sdk/packages/memory-host-sdk/src/engine-embeddings.d.ts +0 -16
  2041. package/dist/plugin-sdk/packages/memory-host-sdk/src/engine-foundation.d.ts +0 -20
  2042. package/dist/plugin-sdk/packages/memory-host-sdk/src/engine-qmd.d.ts +0 -5
  2043. package/dist/plugin-sdk/packages/memory-host-sdk/src/engine.d.ts +0 -4
  2044. package/dist/plugin-sdk/packages/memory-host-sdk/src/host/batch-embedding-common.d.ts +0 -9
  2045. package/dist/plugin-sdk/packages/memory-host-sdk/src/host/batch-error-utils.d.ts +0 -15
  2046. package/dist/plugin-sdk/packages/memory-host-sdk/src/host/batch-gemini.d.ts +0 -46
  2047. package/dist/plugin-sdk/packages/memory-host-sdk/src/host/batch-http.d.ts +0 -8
  2048. package/dist/plugin-sdk/packages/memory-host-sdk/src/host/batch-openai.d.ts +0 -19
  2049. package/dist/plugin-sdk/packages/memory-host-sdk/src/host/batch-output.d.ts +0 -23
  2050. package/dist/plugin-sdk/packages/memory-host-sdk/src/host/batch-provider-common.d.ts +0 -9
  2051. package/dist/plugin-sdk/packages/memory-host-sdk/src/host/batch-runner.d.ts +0 -38
  2052. package/dist/plugin-sdk/packages/memory-host-sdk/src/host/batch-status.d.ts +0 -27
  2053. package/dist/plugin-sdk/packages/memory-host-sdk/src/host/batch-upload.d.ts +0 -6
  2054. package/dist/plugin-sdk/packages/memory-host-sdk/src/host/batch-utils.d.ts +0 -11
  2055. package/dist/plugin-sdk/packages/memory-host-sdk/src/host/batch-voyage.d.ts +0 -29
  2056. package/dist/plugin-sdk/packages/memory-host-sdk/src/host/embedding-chunk-limits.d.ts +0 -3
  2057. package/dist/plugin-sdk/packages/memory-host-sdk/src/host/embedding-model-limits.d.ts +0 -2
  2058. package/dist/plugin-sdk/packages/memory-host-sdk/src/host/embedding-vectors.d.ts +0 -1
  2059. package/dist/plugin-sdk/packages/memory-host-sdk/src/host/embeddings-debug.d.ts +0 -1
  2060. package/dist/plugin-sdk/packages/memory-host-sdk/src/host/embeddings-gemini.d.ts +0 -63
  2061. package/dist/plugin-sdk/packages/memory-host-sdk/src/host/embeddings-mistral.d.ts +0 -15
  2062. package/dist/plugin-sdk/packages/memory-host-sdk/src/host/embeddings-model-normalize.d.ts +0 -5
  2063. package/dist/plugin-sdk/packages/memory-host-sdk/src/host/embeddings-ollama.d.ts +0 -2
  2064. package/dist/plugin-sdk/packages/memory-host-sdk/src/host/embeddings-openai.d.ts +0 -15
  2065. package/dist/plugin-sdk/packages/memory-host-sdk/src/host/embeddings-remote-client.d.ts +0 -12
  2066. package/dist/plugin-sdk/packages/memory-host-sdk/src/host/embeddings-remote-fetch.d.ts +0 -8
  2067. package/dist/plugin-sdk/packages/memory-host-sdk/src/host/embeddings-remote-provider.d.ts +0 -21
  2068. package/dist/plugin-sdk/packages/memory-host-sdk/src/host/embeddings-voyage.d.ts +0 -15
  2069. package/dist/plugin-sdk/packages/memory-host-sdk/src/host/embeddings.d.ts +0 -59
  2070. package/dist/plugin-sdk/packages/memory-host-sdk/src/host/node-llama.d.ts +0 -8
  2071. package/dist/plugin-sdk/packages/memory-host-sdk/src/host/post-json.d.ts +0 -10
  2072. package/dist/plugin-sdk/packages/memory-host-sdk/src/host/qmd-process.d.ts +0 -34
  2073. package/dist/plugin-sdk/packages/memory-host-sdk/src/host/qmd-query-parser.d.ts +0 -11
  2074. package/dist/plugin-sdk/packages/memory-host-sdk/src/host/qmd-scope.d.ts +0 -4
  2075. package/dist/plugin-sdk/packages/memory-host-sdk/src/host/remote-http.d.ts +0 -9
  2076. package/dist/plugin-sdk/packages/memory-host-sdk/src/host/secret-input.d.ts +0 -5
  2077. package/dist/plugin-sdk/packages/memory-host-sdk/src/host/session-files.d.ts +0 -14
  2078. package/dist/plugin-sdk/packages/memory-host-sdk/src/host/status-format.d.ts +0 -28
  2079. package/dist/plugin-sdk/packages/memory-host-sdk/src/host/test-helpers/ssrf.d.ts +0 -2
  2080. package/dist/plugin-sdk/packages/memory-host-sdk/src/runtime-cli.d.ts +0 -9
  2081. package/dist/plugin-sdk/packages/memory-host-sdk/src/runtime-core.d.ts +0 -17
  2082. package/dist/plugin-sdk/packages/memory-host-sdk/src/runtime-files.d.ts +0 -4
  2083. package/dist/plugin-sdk/packages/memory-host-sdk/src/runtime.d.ts +0 -3
  2084. package/dist/plugin-sdk/packages/memory-host-sdk/src/secret.d.ts +0 -1
  2085. package/dist/plugin-sdk/packages/memory-host-sdk/src/status.d.ts +0 -1
  2086. package/dist/plugin-sdk/param-readers.d.ts +0 -1
  2087. package/dist/plugin-sdk/plugin-entry.d.ts +0 -1
  2088. package/dist/plugin-sdk/plugin-runtime.d.ts +0 -1
  2089. package/dist/plugin-sdk/process-runtime.d.ts +0 -1
  2090. package/dist/plugin-sdk/provider-auth-api-key.d.ts +0 -1
  2091. package/dist/plugin-sdk/provider-auth-login.d.ts +0 -1
  2092. package/dist/plugin-sdk/provider-auth-result.d.ts +0 -1
  2093. package/dist/plugin-sdk/provider-auth-runtime.d.ts +0 -1
  2094. package/dist/plugin-sdk/provider-auth.d.ts +0 -1
  2095. package/dist/plugin-sdk/provider-catalog-shared.d.ts +0 -1
  2096. package/dist/plugin-sdk/provider-entry.d.ts +0 -1
  2097. package/dist/plugin-sdk/provider-env-vars.d.ts +0 -1
  2098. package/dist/plugin-sdk/provider-http.d.ts +0 -1
  2099. package/dist/plugin-sdk/provider-model-shared.d.ts +0 -1
  2100. package/dist/plugin-sdk/provider-moonshot.d.ts +0 -1
  2101. package/dist/plugin-sdk/provider-onboard.d.ts +0 -1
  2102. package/dist/plugin-sdk/provider-setup.d.ts +0 -1
  2103. package/dist/plugin-sdk/provider-stream.d.ts +0 -1
  2104. package/dist/plugin-sdk/provider-tools.d.ts +0 -1
  2105. package/dist/plugin-sdk/provider-usage.d.ts +0 -1
  2106. package/dist/plugin-sdk/provider-web-fetch.d.ts +0 -1
  2107. package/dist/plugin-sdk/provider-web-search.d.ts +0 -1
  2108. package/dist/plugin-sdk/provider-zai-endpoint.d.ts +0 -1
  2109. package/dist/plugin-sdk/qianfan.d.ts +0 -1
  2110. package/dist/plugin-sdk/reply-chunking.d.ts +0 -1
  2111. package/dist/plugin-sdk/reply-dispatch-runtime.d.ts +0 -1
  2112. package/dist/plugin-sdk/reply-history.d.ts +0 -1
  2113. package/dist/plugin-sdk/reply-payload.d.ts +0 -1
  2114. package/dist/plugin-sdk/reply-runtime.d.ts +0 -1
  2115. package/dist/plugin-sdk/request-url.d.ts +0 -1
  2116. package/dist/plugin-sdk/retry-runtime.d.ts +0 -1
  2117. package/dist/plugin-sdk/routing.d.ts +0 -1
  2118. package/dist/plugin-sdk/runtime-config-snapshot.d.ts +0 -1
  2119. package/dist/plugin-sdk/runtime-env.d.ts +0 -1
  2120. package/dist/plugin-sdk/runtime-group-policy.d.ts +0 -1
  2121. package/dist/plugin-sdk/runtime-store.d.ts +0 -1
  2122. package/dist/plugin-sdk/runtime.d.ts +0 -1
  2123. package/dist/plugin-sdk/sandbox.d.ts +0 -1
  2124. package/dist/plugin-sdk/scripts/lib/plugin-sdk-doc-metadata.d.ts +0 -64
  2125. package/dist/plugin-sdk/secret-input.d.ts +0 -1
  2126. package/dist/plugin-sdk/security-runtime.d.ts +0 -1
  2127. package/dist/plugin-sdk/self-hosted-provider-setup.d.ts +0 -1
  2128. package/dist/plugin-sdk/session-store-runtime.d.ts +0 -1
  2129. package/dist/plugin-sdk/setup-adapter-runtime.d.ts +0 -1
  2130. package/dist/plugin-sdk/setup-runtime.d.ts +0 -1
  2131. package/dist/plugin-sdk/setup-tools.d.ts +0 -1
  2132. package/dist/plugin-sdk/setup.d.ts +0 -1
  2133. package/dist/plugin-sdk/sglang.d.ts +0 -1
  2134. package/dist/plugin-sdk/signal-account.d.ts +0 -1
  2135. package/dist/plugin-sdk/signal-surface.d.ts +0 -1
  2136. package/dist/plugin-sdk/signal.d.ts +0 -1
  2137. package/dist/plugin-sdk/skill-commands-runtime.d.ts +0 -1
  2138. package/dist/plugin-sdk/slack-account.d.ts +0 -1
  2139. package/dist/plugin-sdk/slack-core.d.ts +0 -1
  2140. package/dist/plugin-sdk/slack-runtime-surface.d.ts +0 -1
  2141. package/dist/plugin-sdk/slack-surface.d.ts +0 -1
  2142. package/dist/plugin-sdk/slack-target-parser.d.ts +0 -1
  2143. package/dist/plugin-sdk/slack-targets.d.ts +0 -1
  2144. package/dist/plugin-sdk/slack.d.ts +0 -1
  2145. package/dist/plugin-sdk/speech-core.d.ts +0 -1
  2146. package/dist/plugin-sdk/speech-runtime.d.ts +0 -1
  2147. package/dist/plugin-sdk/speech.d.ts +0 -1
  2148. package/dist/plugin-sdk/src/acp/runtime/adapter-contract.testkit.d.ts +0 -14
  2149. package/dist/plugin-sdk/src/agents/auth-profiles/upsert-with-lock.d.ts +0 -6
  2150. package/dist/plugin-sdk/src/agents/live-test-helpers.d.ts +0 -12
  2151. package/dist/plugin-sdk/src/agents/model-allowlist-ref.d.ts +0 -1
  2152. package/dist/plugin-sdk/src/agents/model-catalog.d.ts +0 -35
  2153. package/dist/plugin-sdk/src/agents/model-suppression.runtime.d.ts +0 -3
  2154. package/dist/plugin-sdk/src/agents/openclaw-tools.runtime.d.ts +0 -1
  2155. package/dist/plugin-sdk/src/agents/pi-embedded-runner/openrouter-model-capabilities.d.ts +0 -53
  2156. package/dist/plugin-sdk/src/agents/pi-embedded-runner/proxy-stream-wrappers.d.ts +0 -6
  2157. package/dist/plugin-sdk/src/agents/pi-embedded-runner/zai-stream-wrappers.d.ts +0 -7
  2158. package/dist/plugin-sdk/src/agents/pi-embedded.runtime.d.ts +0 -1
  2159. package/dist/plugin-sdk/src/agents/sandbox/test-fixtures.d.ts +0 -5
  2160. package/dist/plugin-sdk/src/agents/self-hosted-provider-defaults.d.ts +0 -8
  2161. package/dist/plugin-sdk/src/agents/simple-completion-transport.d.ts +0 -6
  2162. package/dist/plugin-sdk/src/agents/skills.e2e-test-helpers.d.ts +0 -8
  2163. package/dist/plugin-sdk/src/auto-reply/chunk.d.ts +0 -45
  2164. package/dist/plugin-sdk/src/auto-reply/dispatch.d.ts +0 -32
  2165. package/dist/plugin-sdk/src/auto-reply/heartbeat-reply-payload.d.ts +0 -2
  2166. package/dist/plugin-sdk/src/auto-reply/media-note.d.ts +0 -2
  2167. package/dist/plugin-sdk/src/auto-reply/reply/abort-cutoff.runtime.d.ts +0 -7
  2168. package/dist/plugin-sdk/src/auto-reply/reply/abort.d.ts +0 -40
  2169. package/dist/plugin-sdk/src/auto-reply/reply/abort.runtime.d.ts +0 -1
  2170. package/dist/plugin-sdk/src/auto-reply/reply/acp-projector.d.ts +0 -21
  2171. package/dist/plugin-sdk/src/auto-reply/reply/acp-stream-settings.d.ts +0 -24
  2172. package/dist/plugin-sdk/src/auto-reply/reply/agent-runner-helpers.d.ts +0 -15
  2173. package/dist/plugin-sdk/src/auto-reply/reply/agent-runner-memory.d.ts +0 -42
  2174. package/dist/plugin-sdk/src/auto-reply/reply/agent-runner-payloads.d.ts +0 -29
  2175. package/dist/plugin-sdk/src/auto-reply/reply/agent-runner-reminder-guard.d.ts +0 -13
  2176. package/dist/plugin-sdk/src/auto-reply/reply/agent-runner-usage-line.d.ts +0 -17
  2177. package/dist/plugin-sdk/src/auto-reply/reply/agent-runner.d.ts +0 -39
  2178. package/dist/plugin-sdk/src/auto-reply/reply/agent-runner.runtime.d.ts +0 -1
  2179. package/dist/plugin-sdk/src/auto-reply/reply/auto-topic-label-config.d.ts +0 -14
  2180. package/dist/plugin-sdk/src/auto-reply/reply/auto-topic-label.d.ts +0 -26
  2181. package/dist/plugin-sdk/src/auto-reply/reply/body.d.ts +0 -10
  2182. package/dist/plugin-sdk/src/auto-reply/reply/commands-core.d.ts +0 -13
  2183. package/dist/plugin-sdk/src/auto-reply/reply/commands-core.runtime.d.ts +0 -1
  2184. package/dist/plugin-sdk/src/auto-reply/reply/commands-handlers.runtime.d.ts +0 -2
  2185. package/dist/plugin-sdk/src/auto-reply/reply/commands-session-abort.d.ts +0 -3
  2186. package/dist/plugin-sdk/src/auto-reply/reply/commands-session-store.d.ts +0 -13
  2187. package/dist/plugin-sdk/src/auto-reply/reply/commands-session.d.ts +0 -9
  2188. package/dist/plugin-sdk/src/auto-reply/reply/commands-spawn.test-harness.d.ts +0 -3
  2189. package/dist/plugin-sdk/src/auto-reply/reply/commands-subagents/action-agents.d.ts +0 -3
  2190. package/dist/plugin-sdk/src/auto-reply/reply/commands-subagents/action-focus.d.ts +0 -3
  2191. package/dist/plugin-sdk/src/auto-reply/reply/commands-subagents/action-help.d.ts +0 -2
  2192. package/dist/plugin-sdk/src/auto-reply/reply/commands-subagents/action-info.d.ts +0 -3
  2193. package/dist/plugin-sdk/src/auto-reply/reply/commands-subagents/action-kill.d.ts +0 -3
  2194. package/dist/plugin-sdk/src/auto-reply/reply/commands-subagents/action-list.d.ts +0 -3
  2195. package/dist/plugin-sdk/src/auto-reply/reply/commands-subagents/action-log.d.ts +0 -3
  2196. package/dist/plugin-sdk/src/auto-reply/reply/commands-subagents/action-send.d.ts +0 -3
  2197. package/dist/plugin-sdk/src/auto-reply/reply/commands-subagents/action-spawn.d.ts +0 -3
  2198. package/dist/plugin-sdk/src/auto-reply/reply/commands-subagents/action-unfocus.d.ts +0 -3
  2199. package/dist/plugin-sdk/src/auto-reply/reply/commands-subagents.d.ts +0 -4
  2200. package/dist/plugin-sdk/src/auto-reply/reply/commands-tasks.d.ts +0 -8
  2201. package/dist/plugin-sdk/src/auto-reply/reply/commands-tts.d.ts +0 -2
  2202. package/dist/plugin-sdk/src/auto-reply/reply/commands.d.ts +0 -4
  2203. package/dist/plugin-sdk/src/auto-reply/reply/commands.runtime.d.ts +0 -1
  2204. package/dist/plugin-sdk/src/auto-reply/reply/commands.test-harness.d.ts +0 -6
  2205. package/dist/plugin-sdk/src/auto-reply/reply/dispatch-acp-delivery.d.ts +0 -35
  2206. package/dist/plugin-sdk/src/auto-reply/reply/dispatch-acp.d.ts +0 -34
  2207. package/dist/plugin-sdk/src/auto-reply/reply/dispatch-acp.runtime.d.ts +0 -1
  2208. package/dist/plugin-sdk/src/auto-reply/reply/dispatch-from-config.d.ts +0 -17
  2209. package/dist/plugin-sdk/src/auto-reply/reply/exec.d.ts +0 -1
  2210. package/dist/plugin-sdk/src/auto-reply/reply/followup-runner.d.ts +0 -16
  2211. package/dist/plugin-sdk/src/auto-reply/reply/get-reply-from-config.runtime.d.ts +0 -1
  2212. package/dist/plugin-sdk/src/auto-reply/reply/get-reply-inline-actions.d.ts +0 -62
  2213. package/dist/plugin-sdk/src/auto-reply/reply/get-reply-run.d.ts +0 -69
  2214. package/dist/plugin-sdk/src/auto-reply/reply/get-reply.d.ts +0 -4
  2215. package/dist/plugin-sdk/src/auto-reply/reply/history.d.ts +0 -72
  2216. package/dist/plugin-sdk/src/auto-reply/reply/inbound-meta.d.ts +0 -4
  2217. package/dist/plugin-sdk/src/auto-reply/reply/matrix-context.d.ts +0 -13
  2218. package/dist/plugin-sdk/src/auto-reply/reply/memory-flush.d.ts +0 -48
  2219. package/dist/plugin-sdk/src/auto-reply/reply/message-preprocess-hooks.d.ts +0 -7
  2220. package/dist/plugin-sdk/src/auto-reply/reply/queue-policy.d.ts +0 -8
  2221. package/dist/plugin-sdk/src/auto-reply/reply/reply-payloads-dedupe.runtime.d.ts +0 -1
  2222. package/dist/plugin-sdk/src/auto-reply/reply/reply-reference.d.ts +0 -20
  2223. package/dist/plugin-sdk/src/auto-reply/reply/session-delivery.d.ts +0 -30
  2224. package/dist/plugin-sdk/src/auto-reply/reply/session-fork.d.ts +0 -11
  2225. package/dist/plugin-sdk/src/auto-reply/reply/session-fork.runtime.d.ts +0 -9
  2226. package/dist/plugin-sdk/src/auto-reply/reply/session-reset-model.d.ts +0 -27
  2227. package/dist/plugin-sdk/src/auto-reply/reply/session-reset-model.runtime.d.ts +0 -1
  2228. package/dist/plugin-sdk/src/auto-reply/reply/session-reset-prompt.d.ts +0 -9
  2229. package/dist/plugin-sdk/src/auto-reply/reply/session-run-accounting.d.ts +0 -15
  2230. package/dist/plugin-sdk/src/auto-reply/reply/session-updates.runtime.d.ts +0 -1
  2231. package/dist/plugin-sdk/src/auto-reply/reply/session-usage.d.ts +0 -25
  2232. package/dist/plugin-sdk/src/auto-reply/reply/session.d.ts +0 -26
  2233. package/dist/plugin-sdk/src/auto-reply/reply/stage-sandbox-media.d.ts +0 -9
  2234. package/dist/plugin-sdk/src/auto-reply/reply/stage-sandbox-media.runtime.d.ts +0 -1
  2235. package/dist/plugin-sdk/src/auto-reply/reply/untrusted-context.d.ts +0 -1
  2236. package/dist/plugin-sdk/src/auto-reply/reply.d.ts +0 -6
  2237. package/dist/plugin-sdk/src/auto-reply/send-policy.d.ts +0 -6
  2238. package/dist/plugin-sdk/src/channel-web.d.ts +0 -5
  2239. package/dist/plugin-sdk/src/channels/draft-stream-controls.d.ts +0 -54
  2240. package/dist/plugin-sdk/src/channels/draft-stream-loop.d.ts +0 -13
  2241. package/dist/plugin-sdk/src/channels/native-command-session-targets.d.ts +0 -12
  2242. package/dist/plugin-sdk/src/channels/plugins/actions/reaction-message-id.d.ts +0 -8
  2243. package/dist/plugin-sdk/src/channels/plugins/actions/shared.d.ts +0 -7
  2244. package/dist/plugin-sdk/src/channels/plugins/bluebubbles-actions.d.ts +0 -48
  2245. package/dist/plugin-sdk/src/channels/plugins/bundled.d.ts +0 -7
  2246. package/dist/plugin-sdk/src/channels/plugins/contracts/inbound-testkit.d.ts +0 -70
  2247. package/dist/plugin-sdk/src/channels/plugins/contracts/suites.d.ts +0 -129
  2248. package/dist/plugin-sdk/src/channels/plugins/pairing-adapters.d.ts +0 -13
  2249. package/dist/plugin-sdk/src/channels/plugins/setup-registry.d.ts +0 -3
  2250. package/dist/plugin-sdk/src/channels/plugins/status-issues/bluebubbles.d.ts +0 -2
  2251. package/dist/plugin-sdk/src/channels/plugins/types.adapters.d.ts +0 -694
  2252. package/dist/plugin-sdk/src/channels/plugins/types.d.ts +0 -8
  2253. package/dist/plugin-sdk/src/channels/plugins/whatsapp-shared.d.ts +0 -44
  2254. package/dist/plugin-sdk/src/channels/registry.d.ts +0 -13
  2255. package/dist/plugin-sdk/src/channels/run-state-machine.d.ts +0 -19
  2256. package/dist/plugin-sdk/src/channels/sender-identity.d.ts +0 -2
  2257. package/dist/plugin-sdk/src/channels/status-reactions.d.ts +0 -66
  2258. package/dist/plugin-sdk/src/channels/transport/stall-watchdog.d.ts +0 -20
  2259. package/dist/plugin-sdk/src/cli/cli-utils.d.ts +0 -19
  2260. package/dist/plugin-sdk/src/cli/command-options.d.ts +0 -3
  2261. package/dist/plugin-sdk/src/cli/deps.d.ts +0 -10
  2262. package/dist/plugin-sdk/src/cli/gateway-rpc.d.ts +0 -13
  2263. package/dist/plugin-sdk/src/cli/help-format.d.ts +0 -5
  2264. package/dist/plugin-sdk/src/cli/progress.d.ts +0 -24
  2265. package/dist/plugin-sdk/src/cli/send-runtime/discord.d.ts +0 -3
  2266. package/dist/plugin-sdk/src/cli/send-runtime/imessage.d.ts +0 -12
  2267. package/dist/plugin-sdk/src/cli/send-runtime/signal.d.ts +0 -3
  2268. package/dist/plugin-sdk/src/cli/send-runtime/slack.d.ts +0 -3
  2269. package/dist/plugin-sdk/src/cli/send-runtime/telegram.d.ts +0 -16
  2270. package/dist/plugin-sdk/src/cli/send-runtime/whatsapp.d.ts +0 -4
  2271. package/dist/plugin-sdk/src/cli/test-runtime-capture.d.ts +0 -31
  2272. package/dist/plugin-sdk/src/commands/backup-shared.d.ts +0 -32
  2273. package/dist/plugin-sdk/src/commands/channel-setup/registry.d.ts +0 -6
  2274. package/dist/plugin-sdk/src/commands/channel-setup/types.d.ts +0 -1
  2275. package/dist/plugin-sdk/src/commands/channel-test-helpers.d.ts +0 -7
  2276. package/dist/plugin-sdk/src/commands/chutes-oauth.d.ts +0 -21
  2277. package/dist/plugin-sdk/src/commands/cleanup-utils.d.ts +0 -36
  2278. package/dist/plugin-sdk/src/commands/daemon-runtime.d.ts +0 -8
  2279. package/dist/plugin-sdk/src/commands/health.d.ts +0 -63
  2280. package/dist/plugin-sdk/src/commands/onboard-types.d.ts +0 -95
  2281. package/dist/plugin-sdk/src/config/backup-rotation.d.ts +0 -58
  2282. package/dist/plugin-sdk/src/config/config.d.ts +0 -8
  2283. package/dist/plugin-sdk/src/config/env-preserve.d.ts +0 -10
  2284. package/dist/plugin-sdk/src/config/includes.d.ts +0 -43
  2285. package/dist/plugin-sdk/src/config/io.d.ts +0 -93
  2286. package/dist/plugin-sdk/src/config/paths.d.ts +0 -58
  2287. package/dist/plugin-sdk/src/config/types.agent-defaults.d.ts +0 -377
  2288. package/dist/plugin-sdk/src/config/types.channel-messaging-common.d.ts +0 -53
  2289. package/dist/plugin-sdk/src/config/types.d.ts +0 -34
  2290. package/dist/plugin-sdk/src/config/types.googlechat.d.ts +0 -120
  2291. package/dist/plugin-sdk/src/config/types.imessage.d.ts +0 -88
  2292. package/dist/plugin-sdk/src/config/types.irc.d.ts +0 -61
  2293. package/dist/plugin-sdk/src/config/types.msteams.d.ts +0 -132
  2294. package/dist/plugin-sdk/src/config/types.signal.d.ts +0 -65
  2295. package/dist/plugin-sdk/src/context-engine/registry.d.ts +0 -47
  2296. package/dist/plugin-sdk/src/cron/delivery.d.ts +0 -33
  2297. package/dist/plugin-sdk/src/cron/isolated-agent/delivery-target.d.ts +0 -27
  2298. package/dist/plugin-sdk/src/cron/isolated-agent/session.d.ts +0 -15
  2299. package/dist/plugin-sdk/src/cron/schedule.d.ts +0 -6
  2300. package/dist/plugin-sdk/src/cron/service/initial-delivery.d.ts +0 -2
  2301. package/dist/plugin-sdk/src/cron/service/jobs.d.ts +0 -33
  2302. package/dist/plugin-sdk/src/cron/service/locked.d.ts +0 -2
  2303. package/dist/plugin-sdk/src/cron/service/ops.d.ts +0 -84
  2304. package/dist/plugin-sdk/src/cron/service/state.d.ts +0 -158
  2305. package/dist/plugin-sdk/src/cron/service/store.d.ts +0 -11
  2306. package/dist/plugin-sdk/src/cron/service/timeout-policy.d.ts +0 -13
  2307. package/dist/plugin-sdk/src/cron/service/timer.d.ts +0 -46
  2308. package/dist/plugin-sdk/src/cron/service.d.ts +0 -69
  2309. package/dist/plugin-sdk/src/cron/session-reaper.d.ts +0 -35
  2310. package/dist/plugin-sdk/src/gateway/auth-mode-policy.d.ts +0 -4
  2311. package/dist/plugin-sdk/src/gateway/channel-status-patches.d.ts +0 -6
  2312. package/dist/plugin-sdk/src/gateway/chat-abort.d.ts +0 -47
  2313. package/dist/plugin-sdk/src/gateway/exec-approval-manager.d.ts +0 -47
  2314. package/dist/plugin-sdk/src/gateway/node-command-policy.d.ts +0 -18
  2315. package/dist/plugin-sdk/src/gateway/security-path.d.ts +0 -20
  2316. package/dist/plugin-sdk/src/gateway/server-broadcast.d.ts +0 -17
  2317. package/dist/plugin-sdk/src/gateway/server-channels.d.ts +0 -78
  2318. package/dist/plugin-sdk/src/gateway/server-constants.d.ts +0 -9
  2319. package/dist/plugin-sdk/src/gateway/server-methods/nodes.helpers.d.ts +0 -20
  2320. package/dist/plugin-sdk/src/gateway/server-methods/types.d.ts +0 -108
  2321. package/dist/plugin-sdk/src/gateway/server-shared.d.ts +0 -7
  2322. package/dist/plugin-sdk/src/gateway/startup-auth.d.ts +0 -21
  2323. package/dist/plugin-sdk/src/gateway/ws-log.d.ts +0 -5
  2324. package/dist/plugin-sdk/src/gateway/ws-logging.d.ts +0 -4
  2325. package/dist/plugin-sdk/src/generated/plugin-sdk-facade-type-map.generated.d.ts +0 -769
  2326. package/dist/plugin-sdk/src/hooks/types.d.ts +0 -62
  2327. package/dist/plugin-sdk/src/image-generation/provider-registry.d.ts +0 -4
  2328. package/dist/plugin-sdk/src/infra/backup-create.d.ts +0 -29
  2329. package/dist/plugin-sdk/src/infra/device-bootstrap.d.ts +0 -46
  2330. package/dist/plugin-sdk/src/infra/device-pairing.d.ts +0 -122
  2331. package/dist/plugin-sdk/src/infra/dotenv.d.ts +0 -9
  2332. package/dist/plugin-sdk/src/infra/gemini-auth.d.ts +0 -16
  2333. package/dist/plugin-sdk/src/infra/google-api-base-url.d.ts +0 -2
  2334. package/dist/plugin-sdk/src/infra/heartbeat-active-hours.d.ts +0 -5
  2335. package/dist/plugin-sdk/src/infra/heartbeat-events-filter.d.ts +0 -8
  2336. package/dist/plugin-sdk/src/infra/heartbeat-runner.d.ts +0 -35
  2337. package/dist/plugin-sdk/src/infra/heartbeat-summary.d.ts +0 -16
  2338. package/dist/plugin-sdk/src/infra/http-body.d.ts +0 -46
  2339. package/dist/plugin-sdk/src/infra/matrix-legacy-crypto.d.ts +0 -41
  2340. package/dist/plugin-sdk/src/infra/matrix-legacy-state.d.ts +0 -30
  2341. package/dist/plugin-sdk/src/infra/matrix-migration-config.d.ts +0 -48
  2342. package/dist/plugin-sdk/src/infra/matrix-migration-snapshot.d.ts +0 -25
  2343. package/dist/plugin-sdk/src/infra/matrix-plugin-helper.d.ts +0 -29
  2344. package/dist/plugin-sdk/src/infra/outbound/deliver.d.ts +0 -50
  2345. package/dist/plugin-sdk/src/infra/outbound/delivery-queue-recovery.d.ts +0 -41
  2346. package/dist/plugin-sdk/src/infra/outbound/delivery-queue-storage.d.ts +0 -50
  2347. package/dist/plugin-sdk/src/infra/outbound/delivery-queue.d.ts +0 -4
  2348. package/dist/plugin-sdk/src/infra/outbound/sanitize-text.d.ts +0 -23
  2349. package/dist/plugin-sdk/src/infra/session-maintenance-warning.d.ts +0 -15
  2350. package/dist/plugin-sdk/src/link-understanding/apply.d.ts +0 -10
  2351. package/dist/plugin-sdk/src/link-understanding/apply.runtime.d.ts +0 -1
  2352. package/dist/plugin-sdk/src/link-understanding/defaults.d.ts +0 -2
  2353. package/dist/plugin-sdk/src/link-understanding/detect.d.ts +0 -3
  2354. package/dist/plugin-sdk/src/link-understanding/format.d.ts +0 -4
  2355. package/dist/plugin-sdk/src/link-understanding/runner.d.ts +0 -11
  2356. package/dist/plugin-sdk/src/media/file-context.d.ts +0 -7
  2357. package/dist/plugin-sdk/src/media/input-files.d.ts +0 -99
  2358. package/dist/plugin-sdk/src/media-understanding/apply.d.ts +0 -19
  2359. package/dist/plugin-sdk/src/media-understanding/apply.runtime.d.ts +0 -1
  2360. package/dist/plugin-sdk/src/media-understanding/audio.test-helpers.d.ts +0 -27
  2361. package/dist/plugin-sdk/src/media-understanding/concurrency.d.ts +0 -1
  2362. package/dist/plugin-sdk/src/media-understanding/echo-transcript.d.ts +0 -13
  2363. package/dist/plugin-sdk/src/media-understanding/format.d.ts +0 -7
  2364. package/dist/plugin-sdk/src/media-understanding/runtime.d.ts +0 -1
  2365. package/dist/plugin-sdk/src/media-understanding/transcribe-audio.d.ts +0 -1
  2366. package/dist/plugin-sdk/src/plugin-sdk/account-core.d.ts +0 -20
  2367. package/dist/plugin-sdk/src/plugin-sdk/account-resolution.d.ts +0 -24
  2368. package/dist/plugin-sdk/src/plugin-sdk/acp-runtime.d.ts +0 -16
  2369. package/dist/plugin-sdk/src/plugin-sdk/acpx.d.ts +0 -8
  2370. package/dist/plugin-sdk/src/plugin-sdk/agent-config-primitives.d.ts +0 -3
  2371. package/dist/plugin-sdk/src/plugin-sdk/allowlist-config-edit.d.ts +0 -99
  2372. package/dist/plugin-sdk/src/plugin-sdk/amazon-bedrock.d.ts +0 -9
  2373. package/dist/plugin-sdk/src/plugin-sdk/api-baseline.d.ts +0 -43
  2374. package/dist/plugin-sdk/src/plugin-sdk/bluebubbles-policy.d.ts +0 -7
  2375. package/dist/plugin-sdk/src/plugin-sdk/bluebubbles.d.ts +0 -62
  2376. package/dist/plugin-sdk/src/plugin-sdk/browser-support.d.ts +0 -54
  2377. package/dist/plugin-sdk/src/plugin-sdk/browser.d.ts +0 -9
  2378. package/dist/plugin-sdk/src/plugin-sdk/byteplus.d.ts +0 -11
  2379. package/dist/plugin-sdk/src/plugin-sdk/channel-actions.d.ts +0 -8
  2380. package/dist/plugin-sdk/src/plugin-sdk/channel-config-primitives.d.ts +0 -3
  2381. package/dist/plugin-sdk/src/plugin-sdk/channel-config-schema.d.ts +0 -6
  2382. package/dist/plugin-sdk/src/plugin-sdk/channel-config-writes.d.ts +0 -2
  2383. package/dist/plugin-sdk/src/plugin-sdk/channel-feedback.d.ts +0 -4
  2384. package/dist/plugin-sdk/src/plugin-sdk/channel-lifecycle.d.ts +0 -5
  2385. package/dist/plugin-sdk/src/plugin-sdk/channel-pairing.d.ts +0 -24
  2386. package/dist/plugin-sdk/src/plugin-sdk/channel-plugin-common.d.ts +0 -12
  2387. package/dist/plugin-sdk/src/plugin-sdk/channel-setup.d.ts +0 -21
  2388. package/dist/plugin-sdk/src/plugin-sdk/chutes.d.ts +0 -14
  2389. package/dist/plugin-sdk/src/plugin-sdk/cli-backend.d.ts +0 -3
  2390. package/dist/plugin-sdk/src/plugin-sdk/cloudflare-ai-gateway.d.ts +0 -12
  2391. package/dist/plugin-sdk/src/plugin-sdk/collection-runtime.d.ts +0 -1
  2392. package/dist/plugin-sdk/src/plugin-sdk/command-auth-native.d.ts +0 -5
  2393. package/dist/plugin-sdk/src/plugin-sdk/command-auth.d.ts +0 -65
  2394. package/dist/plugin-sdk/src/plugin-sdk/command-detection.d.ts +0 -1
  2395. package/dist/plugin-sdk/src/plugin-sdk/command-surface.d.ts +0 -1
  2396. package/dist/plugin-sdk/src/plugin-sdk/compat.d.ts +0 -17
  2397. package/dist/plugin-sdk/src/plugin-sdk/config-paths.d.ts +0 -7
  2398. package/dist/plugin-sdk/src/plugin-sdk/copilot-proxy.d.ts +0 -2
  2399. package/dist/plugin-sdk/src/plugin-sdk/dangerous-name-runtime.d.ts +0 -1
  2400. package/dist/plugin-sdk/src/plugin-sdk/deepseek.d.ts +0 -8
  2401. package/dist/plugin-sdk/src/plugin-sdk/device-bootstrap.d.ts +0 -3
  2402. package/dist/plugin-sdk/src/plugin-sdk/diagnostics-otel.d.ts +0 -6
  2403. package/dist/plugin-sdk/src/plugin-sdk/diffs.d.ts +0 -4
  2404. package/dist/plugin-sdk/src/plugin-sdk/discord-account.d.ts +0 -6
  2405. package/dist/plugin-sdk/src/plugin-sdk/discord-runtime-surface.d.ts +0 -61
  2406. package/dist/plugin-sdk/src/plugin-sdk/discord-send.d.ts +0 -36
  2407. package/dist/plugin-sdk/src/plugin-sdk/entrypoints.d.ts +0 -17
  2408. package/dist/plugin-sdk/src/plugin-sdk/extension-shared.d.ts +0 -67
  2409. package/dist/plugin-sdk/src/plugin-sdk/feishu-conversation.d.ts +0 -11
  2410. package/dist/plugin-sdk/src/plugin-sdk/feishu-setup.d.ts +0 -6
  2411. package/dist/plugin-sdk/src/plugin-sdk/feishu.d.ts +0 -45
  2412. package/dist/plugin-sdk/src/plugin-sdk/fetch-auth.d.ts +0 -14
  2413. package/dist/plugin-sdk/src/plugin-sdk/gateway-runtime.d.ts +0 -4
  2414. package/dist/plugin-sdk/src/plugin-sdk/github-copilot-login.d.ts +0 -5
  2415. package/dist/plugin-sdk/src/plugin-sdk/github-copilot-token.d.ts +0 -1
  2416. package/dist/plugin-sdk/src/plugin-sdk/global-singleton.d.ts +0 -2
  2417. package/dist/plugin-sdk/src/plugin-sdk/google.d.ts +0 -18
  2418. package/dist/plugin-sdk/src/plugin-sdk/googlechat.d.ts +0 -49
  2419. package/dist/plugin-sdk/src/plugin-sdk/hook-runtime.d.ts +0 -3
  2420. package/dist/plugin-sdk/src/plugin-sdk/host-runtime.d.ts +0 -2
  2421. package/dist/plugin-sdk/src/plugin-sdk/huggingface.d.ts +0 -12
  2422. package/dist/plugin-sdk/src/plugin-sdk/image-generation-core.d.ts +0 -15
  2423. package/dist/plugin-sdk/src/plugin-sdk/image-generation.d.ts +0 -1
  2424. package/dist/plugin-sdk/src/plugin-sdk/index.d.ts +0 -28
  2425. package/dist/plugin-sdk/src/plugin-sdk/infra-runtime.d.ts +0 -47
  2426. package/dist/plugin-sdk/src/plugin-sdk/irc-surface.d.ts +0 -9
  2427. package/dist/plugin-sdk/src/plugin-sdk/irc.d.ts +0 -38
  2428. package/dist/plugin-sdk/src/plugin-sdk/kilocode.d.ts +0 -17
  2429. package/dist/plugin-sdk/src/plugin-sdk/kimi-coding.d.ts +0 -5
  2430. package/dist/plugin-sdk/src/plugin-sdk/lazy-runtime.d.ts +0 -1
  2431. package/dist/plugin-sdk/src/plugin-sdk/line-core.d.ts +0 -11
  2432. package/dist/plugin-sdk/src/plugin-sdk/line-runtime.d.ts +0 -75
  2433. package/dist/plugin-sdk/src/plugin-sdk/litellm.d.ts +0 -10
  2434. package/dist/plugin-sdk/src/plugin-sdk/llm-task.d.ts +0 -4
  2435. package/dist/plugin-sdk/src/plugin-sdk/lobster.d.ts +0 -3
  2436. package/dist/plugin-sdk/src/plugin-sdk/logging-core.d.ts +0 -3
  2437. package/dist/plugin-sdk/src/plugin-sdk/markdown-table-runtime.d.ts +0 -2
  2438. package/dist/plugin-sdk/src/plugin-sdk/matrix-helper.d.ts +0 -14
  2439. package/dist/plugin-sdk/src/plugin-sdk/matrix-runtime-heavy.d.ts +0 -4
  2440. package/dist/plugin-sdk/src/plugin-sdk/matrix-runtime-shared.d.ts +0 -6
  2441. package/dist/plugin-sdk/src/plugin-sdk/matrix-runtime-surface.d.ts +0 -6
  2442. package/dist/plugin-sdk/src/plugin-sdk/matrix-surface.d.ts +0 -7
  2443. package/dist/plugin-sdk/src/plugin-sdk/matrix-thread-bindings.d.ts +0 -6
  2444. package/dist/plugin-sdk/src/plugin-sdk/matrix.d.ts +0 -72
  2445. package/dist/plugin-sdk/src/plugin-sdk/mattermost-policy.d.ts +0 -5
  2446. package/dist/plugin-sdk/src/plugin-sdk/mattermost.d.ts +0 -50
  2447. package/dist/plugin-sdk/src/plugin-sdk/memory-core-engine-runtime.d.ts +0 -9
  2448. package/dist/plugin-sdk/src/plugin-sdk/memory-core-host-engine-embeddings.d.ts +0 -1
  2449. package/dist/plugin-sdk/src/plugin-sdk/memory-core-host-engine-foundation.d.ts +0 -1
  2450. package/dist/plugin-sdk/src/plugin-sdk/memory-core-host-engine-qmd.d.ts +0 -1
  2451. package/dist/plugin-sdk/src/plugin-sdk/memory-core-host-runtime-cli.d.ts +0 -1
  2452. package/dist/plugin-sdk/src/plugin-sdk/memory-core-host-runtime-core.d.ts +0 -1
  2453. package/dist/plugin-sdk/src/plugin-sdk/memory-core-host-runtime-files.d.ts +0 -1
  2454. package/dist/plugin-sdk/src/plugin-sdk/memory-core-host-secret.d.ts +0 -1
  2455. package/dist/plugin-sdk/src/plugin-sdk/memory-core-host-status.d.ts +0 -1
  2456. package/dist/plugin-sdk/src/plugin-sdk/memory-core.d.ts +0 -6
  2457. package/dist/plugin-sdk/src/plugin-sdk/memory-lancedb.d.ts +0 -3
  2458. package/dist/plugin-sdk/src/plugin-sdk/minimax.d.ts +0 -18
  2459. package/dist/plugin-sdk/src/plugin-sdk/mistral.d.ts +0 -11
  2460. package/dist/plugin-sdk/src/plugin-sdk/models-provider-runtime.d.ts +0 -2
  2461. package/dist/plugin-sdk/src/plugin-sdk/modelstudio-definitions.d.ts +0 -13
  2462. package/dist/plugin-sdk/src/plugin-sdk/modelstudio.d.ts +0 -18
  2463. package/dist/plugin-sdk/src/plugin-sdk/moonshot.d.ts +0 -11
  2464. package/dist/plugin-sdk/src/plugin-sdk/msteams.d.ts +0 -60
  2465. package/dist/plugin-sdk/src/plugin-sdk/native-command-registry.d.ts +0 -2
  2466. package/dist/plugin-sdk/src/plugin-sdk/nextcloud-talk.d.ts +0 -45
  2467. package/dist/plugin-sdk/src/plugin-sdk/nostr.d.ts +0 -20
  2468. package/dist/plugin-sdk/src/plugin-sdk/nvidia.d.ts +0 -5
  2469. package/dist/plugin-sdk/src/plugin-sdk/ollama-surface.d.ts +0 -21
  2470. package/dist/plugin-sdk/src/plugin-sdk/open-prose.d.ts +0 -2
  2471. package/dist/plugin-sdk/src/plugin-sdk/openai.d.ts +0 -15
  2472. package/dist/plugin-sdk/src/plugin-sdk/opencode-go.d.ts +0 -8
  2473. package/dist/plugin-sdk/src/plugin-sdk/opencode.d.ts +0 -9
  2474. package/dist/plugin-sdk/src/plugin-sdk/openrouter.d.ts +0 -8
  2475. package/dist/plugin-sdk/src/plugin-sdk/optional-channel-setup.d.ts +0 -11
  2476. package/dist/plugin-sdk/src/plugin-sdk/pairing-access.d.ts +0 -19
  2477. package/dist/plugin-sdk/src/plugin-sdk/param-readers.d.ts +0 -1
  2478. package/dist/plugin-sdk/src/plugin-sdk/persistent-dedupe.d.ts +0 -22
  2479. package/dist/plugin-sdk/src/plugin-sdk/phone-control.d.ts +0 -2
  2480. package/dist/plugin-sdk/src/plugin-sdk/plugin-runtime.d.ts +0 -8
  2481. package/dist/plugin-sdk/src/plugin-sdk/process-runtime.d.ts +0 -1
  2482. package/dist/plugin-sdk/src/plugin-sdk/provider-auth-api-key.d.ts +0 -7
  2483. package/dist/plugin-sdk/src/plugin-sdk/provider-auth-login.d.ts +0 -27
  2484. package/dist/plugin-sdk/src/plugin-sdk/provider-auth-login.runtime.d.ts +0 -3
  2485. package/dist/plugin-sdk/src/plugin-sdk/provider-catalog-shared.d.ts +0 -2
  2486. package/dist/plugin-sdk/src/plugin-sdk/provider-entry.d.ts +0 -38
  2487. package/dist/plugin-sdk/src/plugin-sdk/provider-env-vars.d.ts +0 -1
  2488. package/dist/plugin-sdk/src/plugin-sdk/provider-moonshot.d.ts +0 -1
  2489. package/dist/plugin-sdk/src/plugin-sdk/provider-onboard.d.ts +0 -85
  2490. package/dist/plugin-sdk/src/plugin-sdk/provider-reasoning.d.ts +0 -5
  2491. package/dist/plugin-sdk/src/plugin-sdk/provider-setup.d.ts +0 -2
  2492. package/dist/plugin-sdk/src/plugin-sdk/provider-stream.d.ts +0 -8
  2493. package/dist/plugin-sdk/src/plugin-sdk/provider-usage.d.ts +0 -4
  2494. package/dist/plugin-sdk/src/plugin-sdk/provider-web-fetch.d.ts +0 -8
  2495. package/dist/plugin-sdk/src/plugin-sdk/provider-zai-endpoint.d.ts +0 -1
  2496. package/dist/plugin-sdk/src/plugin-sdk/qianfan.d.ts +0 -7
  2497. package/dist/plugin-sdk/src/plugin-sdk/reply-chunking.d.ts +0 -4
  2498. package/dist/plugin-sdk/src/plugin-sdk/reply-dispatch-runtime.d.ts +0 -4
  2499. package/dist/plugin-sdk/src/plugin-sdk/reply-history.d.ts +0 -3
  2500. package/dist/plugin-sdk/src/plugin-sdk/reply-runtime.d.ts +0 -21
  2501. package/dist/plugin-sdk/src/plugin-sdk/request-url.d.ts +0 -2
  2502. package/dist/plugin-sdk/src/plugin-sdk/resolution-notes.d.ts +0 -5
  2503. package/dist/plugin-sdk/src/plugin-sdk/run-command.d.ts +0 -13
  2504. package/dist/plugin-sdk/src/plugin-sdk/runtime-config-snapshot.d.ts +0 -2
  2505. package/dist/plugin-sdk/src/plugin-sdk/runtime-group-policy.d.ts +0 -1
  2506. package/dist/plugin-sdk/src/plugin-sdk/runtime-store.d.ts +0 -8
  2507. package/dist/plugin-sdk/src/plugin-sdk/runtime.d.ts +0 -39
  2508. package/dist/plugin-sdk/src/plugin-sdk/sandbox.d.ts +0 -5
  2509. package/dist/plugin-sdk/src/plugin-sdk/secret-input-runtime.d.ts +0 -1
  2510. package/dist/plugin-sdk/src/plugin-sdk/security-runtime.d.ts +0 -5
  2511. package/dist/plugin-sdk/src/plugin-sdk/self-hosted-provider-setup.d.ts +0 -2
  2512. package/dist/plugin-sdk/src/plugin-sdk/session-store-runtime.d.ts +0 -1
  2513. package/dist/plugin-sdk/src/plugin-sdk/setup-adapter-runtime.d.ts +0 -1
  2514. package/dist/plugin-sdk/src/plugin-sdk/setup-runtime.d.ts +0 -11
  2515. package/dist/plugin-sdk/src/plugin-sdk/setup-tools.d.ts +0 -4
  2516. package/dist/plugin-sdk/src/plugin-sdk/setup.d.ts +0 -22
  2517. package/dist/plugin-sdk/src/plugin-sdk/sglang.d.ts +0 -9
  2518. package/dist/plugin-sdk/src/plugin-sdk/signal-account.d.ts +0 -6
  2519. package/dist/plugin-sdk/src/plugin-sdk/signal-core.d.ts +0 -8
  2520. package/dist/plugin-sdk/src/plugin-sdk/skill-commands-runtime.d.ts +0 -1
  2521. package/dist/plugin-sdk/src/plugin-sdk/slack-account.d.ts +0 -6
  2522. package/dist/plugin-sdk/src/plugin-sdk/slack-core.d.ts +0 -6
  2523. package/dist/plugin-sdk/src/plugin-sdk/speech-core.d.ts +0 -6
  2524. package/dist/plugin-sdk/src/plugin-sdk/speech.d.ts +0 -7
  2525. package/dist/plugin-sdk/src/plugin-sdk/string-normalization-runtime.d.ts +0 -1
  2526. package/dist/plugin-sdk/src/plugin-sdk/synthetic.d.ts +0 -11
  2527. package/dist/plugin-sdk/src/plugin-sdk/talk-voice.d.ts +0 -2
  2528. package/dist/plugin-sdk/src/plugin-sdk/telegram-account.d.ts +0 -6
  2529. package/dist/plugin-sdk/src/plugin-sdk/telegram-allow-from.d.ts +0 -6
  2530. package/dist/plugin-sdk/src/plugin-sdk/telegram-command-config.d.ts +0 -1
  2531. package/dist/plugin-sdk/src/plugin-sdk/telegram-surface.d.ts +0 -44
  2532. package/dist/plugin-sdk/src/plugin-sdk/test-utils.d.ts +0 -1
  2533. package/dist/plugin-sdk/src/plugin-sdk/testing.d.ts +0 -53
  2534. package/dist/plugin-sdk/src/plugin-sdk/text-chunking.d.ts +0 -2
  2535. package/dist/plugin-sdk/src/plugin-sdk/thread-bindings-runtime.d.ts +0 -4
  2536. package/dist/plugin-sdk/src/plugin-sdk/thread-ownership.d.ts +0 -5
  2537. package/dist/plugin-sdk/src/plugin-sdk/tlon.d.ts +0 -22
  2538. package/dist/plugin-sdk/src/plugin-sdk/together.d.ts +0 -10
  2539. package/dist/plugin-sdk/src/plugin-sdk/tool-send.d.ts +0 -7
  2540. package/dist/plugin-sdk/src/plugin-sdk/twitch.d.ts +0 -18
  2541. package/dist/plugin-sdk/src/plugin-sdk/venice.d.ts +0 -10
  2542. package/dist/plugin-sdk/src/plugin-sdk/vercel-ai-gateway.d.ts +0 -14
  2543. package/dist/plugin-sdk/src/plugin-sdk/vllm.d.ts +0 -9
  2544. package/dist/plugin-sdk/src/plugin-sdk/voice-call.d.ts +0 -8
  2545. package/dist/plugin-sdk/src/plugin-sdk/volcengine.d.ts +0 -11
  2546. package/dist/plugin-sdk/src/plugin-sdk/webhook-ingress.d.ts +0 -6
  2547. package/dist/plugin-sdk/src/plugin-sdk/webhook-memory-guards.d.ts +0 -52
  2548. package/dist/plugin-sdk/src/plugin-sdk/webhook-path.d.ts +0 -8
  2549. package/dist/plugin-sdk/src/plugin-sdk/webhook-request-guards.d.ts +0 -89
  2550. package/dist/plugin-sdk/src/plugin-sdk/webhook-targets.d.ts +0 -97
  2551. package/dist/plugin-sdk/src/plugin-sdk/whatsapp-action-runtime.d.ts +0 -1
  2552. package/dist/plugin-sdk/src/plugin-sdk/whatsapp-core.d.ts +0 -10
  2553. package/dist/plugin-sdk/src/plugin-sdk/whatsapp-login-qr.d.ts +0 -1
  2554. package/dist/plugin-sdk/src/plugin-sdk/whatsapp-shared.d.ts +0 -5
  2555. package/dist/plugin-sdk/src/plugin-sdk/whatsapp-surface.d.ts +0 -19
  2556. package/dist/plugin-sdk/src/plugin-sdk/whatsapp.d.ts +0 -32
  2557. package/dist/plugin-sdk/src/plugin-sdk/xai.d.ts +0 -21
  2558. package/dist/plugin-sdk/src/plugin-sdk/xiaomi.d.ts +0 -9
  2559. package/dist/plugin-sdk/src/plugin-sdk/zai.d.ts +0 -12
  2560. package/dist/plugin-sdk/src/plugin-sdk/zalo-setup.d.ts +0 -8
  2561. package/dist/plugin-sdk/src/plugin-sdk/zalo.d.ts +0 -47
  2562. package/dist/plugin-sdk/src/plugin-sdk/zalouser.d.ts +0 -39
  2563. package/dist/plugin-sdk/src/plugin-sdk/zod.d.ts +0 -1
  2564. package/dist/plugin-sdk/src/plugins/bundled-compat.d.ts +0 -14
  2565. package/dist/plugin-sdk/src/plugins/http-path.d.ts +0 -1
  2566. package/dist/plugin-sdk/src/plugins/http-registry.d.ts +0 -16
  2567. package/dist/plugin-sdk/src/plugins/http-route-overlap.d.ts +0 -11
  2568. package/dist/plugin-sdk/src/plugins/interactive-dispatch-adapters.d.ts +0 -44
  2569. package/dist/plugin-sdk/src/plugins/interactive.d.ts +0 -60
  2570. package/dist/plugin-sdk/src/plugins/lazy-service-module.d.ts +0 -13
  2571. package/dist/plugin-sdk/src/plugins/loader.d.ts +0 -74
  2572. package/dist/plugin-sdk/src/plugins/plugin-error-handler.d.ts +0 -130
  2573. package/dist/plugin-sdk/src/plugins/provider-auth-choice.runtime.d.ts +0 -7
  2574. package/dist/plugin-sdk/src/plugins/provider-catalog.d.ts +0 -24
  2575. package/dist/plugin-sdk/src/plugins/provider-model-allowlist.d.ts +0 -6
  2576. package/dist/plugin-sdk/src/plugins/provider-model-defaults.d.ts +0 -26
  2577. package/dist/plugin-sdk/src/plugins/provider-oauth-flow.d.ts +0 -20
  2578. package/dist/plugin-sdk/src/plugins/provider-openai-codex-oauth-tls.d.ts +0 -22
  2579. package/dist/plugin-sdk/src/plugins/provider-openai-codex-oauth.d.ts +0 -10
  2580. package/dist/plugin-sdk/src/plugins/provider-runtime.d.ts +0 -271
  2581. package/dist/plugin-sdk/src/plugins/provider-runtime.runtime.d.ts +0 -14
  2582. package/dist/plugin-sdk/src/plugins/provider-self-hosted-setup.d.ts +0 -60
  2583. package/dist/plugin-sdk/src/plugins/provider-validation.d.ts +0 -7
  2584. package/dist/plugin-sdk/src/plugins/provider-wizard.d.ts +0 -45
  2585. package/dist/plugin-sdk/src/plugins/provider-zai-endpoint.d.ts +0 -16
  2586. package/dist/plugin-sdk/src/plugins/providers.d.ts +0 -39
  2587. package/dist/plugin-sdk/src/plugins/registry-empty.d.ts +0 -2
  2588. package/dist/plugin-sdk/src/plugins/registry.d.ts +0 -217
  2589. package/dist/plugin-sdk/src/plugins/runtime/gateway-request-scope.d.ts +0 -19
  2590. package/dist/plugin-sdk/src/plugins/runtime/index.d.ts +0 -19
  2591. package/dist/plugin-sdk/src/plugins/runtime/native-deps.d.ts +0 -8
  2592. package/dist/plugin-sdk/src/plugins/runtime/runtime-channel.d.ts +0 -2
  2593. package/dist/plugin-sdk/src/plugins/runtime/runtime-config.d.ts +0 -2
  2594. package/dist/plugin-sdk/src/plugins/runtime/runtime-events.d.ts +0 -2
  2595. package/dist/plugin-sdk/src/plugins/runtime/runtime-logging.d.ts +0 -2
  2596. package/dist/plugin-sdk/src/plugins/runtime/runtime-media-understanding.runtime.d.ts +0 -1
  2597. package/dist/plugin-sdk/src/plugins/runtime/runtime-media.d.ts +0 -2
  2598. package/dist/plugin-sdk/src/plugins/runtime/runtime-slack-ops.runtime.d.ts +0 -10
  2599. package/dist/plugin-sdk/src/plugins/runtime/runtime-slack.d.ts +0 -2
  2600. package/dist/plugin-sdk/src/plugins/runtime/runtime-system.d.ts +0 -2
  2601. package/dist/plugin-sdk/src/plugins/runtime/runtime-tts.runtime.d.ts +0 -1
  2602. package/dist/plugin-sdk/src/plugins/runtime/runtime-whatsapp-boundary.d.ts +0 -35
  2603. package/dist/plugin-sdk/src/plugins/runtime/types-channel.d.ts +0 -200
  2604. package/dist/plugin-sdk/src/plugins/runtime/types-core.d.ts +0 -123
  2605. package/dist/plugin-sdk/src/plugins/runtime/types.d.ts +0 -51
  2606. package/dist/plugin-sdk/src/plugins/runtime.d.ts +0 -39
  2607. package/dist/plugin-sdk/src/plugins/slots.d.ts +0 -36
  2608. package/dist/plugin-sdk/src/plugins/types.d.ts +0 -2287
  2609. package/dist/plugin-sdk/src/security/channel-metadata.d.ts +0 -6
  2610. package/dist/plugin-sdk/src/security/context-visibility.d.ts +0 -26
  2611. package/dist/plugin-sdk/src/shared/device-bootstrap-profile.d.ts +0 -10
  2612. package/dist/plugin-sdk/src/terminal/health-style.d.ts +0 -1
  2613. package/dist/plugin-sdk/src/terminal/note.d.ts +0 -5
  2614. package/dist/plugin-sdk/src/test-helpers/http.d.ts +0 -3
  2615. package/dist/plugin-sdk/src/test-helpers/ssrf.d.ts +0 -2
  2616. package/dist/plugin-sdk/src/test-helpers/state-dir-env.d.ts +0 -9
  2617. package/dist/plugin-sdk/src/test-helpers/whatsapp-outbound.d.ts +0 -22
  2618. package/dist/plugin-sdk/src/test-utils/bundled-plugin-public-surface.d.ts +0 -10
  2619. package/dist/plugin-sdk/src/test-utils/channel-plugins.d.ts +0 -40
  2620. package/dist/plugin-sdk/src/test-utils/env.d.ts +0 -10
  2621. package/dist/plugin-sdk/src/test-utils/fetch-mock.d.ts +0 -13
  2622. package/dist/plugin-sdk/src/test-utils/session-state-cleanup.d.ts +0 -10
  2623. package/dist/plugin-sdk/src/test-utils/vitest-mock-fn.d.ts +0 -1
  2624. package/dist/plugin-sdk/src/tts/directives.d.ts +0 -10
  2625. package/dist/plugin-sdk/src/tts/provider-error-utils.d.ts +0 -4
  2626. package/dist/plugin-sdk/src/tts/provider-registry.d.ts +0 -7
  2627. package/dist/plugin-sdk/src/tts/provider-types.d.ts +0 -100
  2628. package/dist/plugin-sdk/src/tts/tts-core.d.ts +0 -32
  2629. package/dist/plugin-sdk/src/tts/tts.runtime.d.ts +0 -1
  2630. package/dist/plugin-sdk/src/utils/message-channel.d.ts +0 -29
  2631. package/dist/plugin-sdk/src/utils.d.ts +0 -58
  2632. package/dist/plugin-sdk/src/wizard/session.d.ts +0 -42
  2633. package/dist/plugin-sdk/ssrf-runtime.d.ts +0 -1
  2634. package/dist/plugin-sdk/state-paths.d.ts +0 -1
  2635. package/dist/plugin-sdk/status-helpers.d.ts +0 -1
  2636. package/dist/plugin-sdk/string-normalization-runtime.d.ts +0 -1
  2637. package/dist/plugin-sdk/synthetic.d.ts +0 -1
  2638. package/dist/plugin-sdk/telegram-account.d.ts +0 -1
  2639. package/dist/plugin-sdk/telegram-allow-from.d.ts +0 -1
  2640. package/dist/plugin-sdk/telegram-command-config.d.ts +0 -1
  2641. package/dist/plugin-sdk/telegram-core.d.ts +0 -1
  2642. package/dist/plugin-sdk/telegram-surface.d.ts +0 -1
  2643. package/dist/plugin-sdk/temp-path.d.ts +0 -1
  2644. package/dist/plugin-sdk/testing.d.ts +0 -1
  2645. package/dist/plugin-sdk/text-runtime.d.ts +0 -1
  2646. package/dist/plugin-sdk/thread-bindings-runtime.d.ts +0 -1
  2647. package/dist/plugin-sdk/thread-ownership.d.ts +0 -1
  2648. package/dist/plugin-sdk/tlon.d.ts +0 -1
  2649. package/dist/plugin-sdk/together.d.ts +0 -1
  2650. package/dist/plugin-sdk/tool-send.d.ts +0 -1
  2651. package/dist/plugin-sdk/twitch.d.ts +0 -1
  2652. package/dist/plugin-sdk/venice.d.ts +0 -1
  2653. package/dist/plugin-sdk/vllm.d.ts +0 -1
  2654. package/dist/plugin-sdk/voice-call.d.ts +0 -1
  2655. package/dist/plugin-sdk/volcengine.d.ts +0 -1
  2656. package/dist/plugin-sdk/web-media.d.ts +0 -1
  2657. package/dist/plugin-sdk/webhook-ingress.d.ts +0 -1
  2658. package/dist/plugin-sdk/webhook-path.d.ts +0 -1
  2659. package/dist/plugin-sdk/webhook-request-guards.d.ts +0 -1
  2660. package/dist/plugin-sdk/whatsapp-auth-presence.d.ts +0 -1
  2661. package/dist/plugin-sdk/whatsapp-core.d.ts +0 -1
  2662. package/dist/plugin-sdk/whatsapp-shared.d.ts +0 -1
  2663. package/dist/plugin-sdk/whatsapp-surface.d.ts +0 -1
  2664. package/dist/plugin-sdk/whatsapp-targets.d.ts +0 -1
  2665. package/dist/plugin-sdk/windows-spawn.d.ts +0 -1
  2666. package/dist/plugin-sdk/xai.d.ts +0 -1
  2667. package/dist/plugin-sdk/zalo-setup.d.ts +0 -1
  2668. package/dist/plugin-sdk/zalo.d.ts +0 -1
  2669. package/dist/plugin-sdk/zalouser.d.ts +0 -1
  2670. package/dist/plugin-sdk/zod.d.ts +0 -1
  2671. package/dist/plugins-cli-BuRzZElZ.js +0 -561
  2672. package/dist/plugins-command-helpers-2uhVdnBb.js +0 -116
  2673. package/dist/plugins-install-persist-BVZkrB2-.js +0 -121
  2674. package/dist/plugins-update-command-CWl-U7Wy.js +0 -974
  2675. package/dist/policy-CBLebx7K.js +0 -147
  2676. package/dist/preflight-audio-RQNk7yfw.js +0 -48
  2677. package/dist/preflight-audio.runtime-BKLaDdXh.js +0 -7
  2678. package/dist/prepare-BdWIhg02.js +0 -1301
  2679. package/dist/probe-7PmWRQdg.js +0 -1868
  2680. package/dist/probe-DBGVRz02.js +0 -170
  2681. package/dist/probe-DtN67E1D.js +0 -349
  2682. package/dist/probe-F0974SeN.js +0 -431
  2683. package/dist/profile-update-B98rJ-pB.js +0 -67
  2684. package/dist/program-CCSYcbNv.js +0 -158
  2685. package/dist/prompt-select-styled-QezSJIFt.js +0 -6434
  2686. package/dist/provider-CvWQLyt5.js +0 -18901
  2687. package/dist/provider-Cvp1QQuM.js +0 -70
  2688. package/dist/provider-IEIXFsBr.js +0 -3685
  2689. package/dist/provider-api-key-auth-BjgG22Cp.js +0 -109
  2690. package/dist/provider-auth-Dlfypk2e.js +0 -43
  2691. package/dist/provider-auth-api-key-DPeAD4Wh.js +0 -5
  2692. package/dist/provider-auth-login-eRYV4NRi.js +0 -8
  2693. package/dist/provider-dispatcher-D2OJ5CNa.js +0 -22
  2694. package/dist/provider-entry-D8rVAPy0.js +0 -86
  2695. package/dist/provider-session.runtime-GQeUwL4B.js +0 -7
  2696. package/dist/provider.runtime-BokN-cp6.js +0 -2
  2697. package/dist/qr-image-CNXmqHBd.js +0 -2
  2698. package/dist/queue-eLL6EbrW.js +0 -663
  2699. package/dist/reaction-runtime-api-DwLFcfeo.js +0 -114
  2700. package/dist/reactions-K9RuCuhE.js +0 -258
  2701. package/dist/read-only-account-inspect.telegram-BoATG5TP.js +0 -202
  2702. package/dist/register.agent-DdFsdgdX.js +0 -240
  2703. package/dist/register.configure-BTVikzNj.js +0 -15
  2704. package/dist/register.maintenance-CDt8_LBs.js +0 -449
  2705. package/dist/register.message-C_Wf261e.js +0 -644
  2706. package/dist/register.onboard-FL6Mny10.js +0 -79
  2707. package/dist/register.setup-BeW8HY0P.js +0 -183
  2708. package/dist/register.status-health-sessions-Bl0-x2Ok.js +0 -1206
  2709. package/dist/register.subclis-DUBZB3bR.js +0 -295
  2710. package/dist/register.subclis-Db9Qegv7.js +0 -3
  2711. package/dist/replies-CWZyv0g5.js +0 -118
  2712. package/dist/reply-DMsC03Iw.js +0 -3192
  2713. package/dist/reply-blocks-DuXsQojy.js +0 -103
  2714. package/dist/reply-dispatch-runtime-D_8J_oEP.js +0 -3
  2715. package/dist/reply-runtime-TZcIYAGQ.js +0 -123
  2716. package/dist/reply.runtime-Bht7FBbJ.js +0 -2
  2717. package/dist/resolve-allowlist-Bnvzjka0.js +0 -147
  2718. package/dist/resolve-targets-D3K5Z5gf.js +0 -280
  2719. package/dist/rooms-mp7F7lsA.js +0 -325
  2720. package/dist/route-reply-DKoNoGml.js +0 -133
  2721. package/dist/route-reply.runtime-ByCsyDjS.js +0 -2
  2722. package/dist/route-resolution-CshIQw9s.js +0 -461
  2723. package/dist/rpc-context-DQ0FBc41.js +0 -155
  2724. package/dist/run-main-BzIbww9g.js +0 -425
  2725. package/dist/runner-IAThb076.js +0 -1479
  2726. package/dist/runtime-C4nQKohR.js +0 -68
  2727. package/dist/runtime-DpQadrfd.js +0 -1175
  2728. package/dist/runtime-api-B-n73E_A.js +0 -2
  2729. package/dist/runtime-api-B0TzzMRA.js +0 -2
  2730. package/dist/runtime-api-B2g4aFI0.js +0 -2
  2731. package/dist/runtime-api-Bjn-vYvi.js +0 -3676
  2732. package/dist/runtime-api-Ckw6TKHu.js +0 -2
  2733. package/dist/runtime-api-CqpkXWTZ.js +0 -14
  2734. package/dist/runtime-api-DLcWBYBn.js +0 -2
  2735. package/dist/runtime-api-DTkksxUA.js +0 -2
  2736. package/dist/runtime-api-Dqjul0s_.js +0 -3
  2737. package/dist/runtime-api-Dt4a5hxH.js +0 -81
  2738. package/dist/runtime-api-exjXBw5x.js +0 -2
  2739. package/dist/runtime-api-iiaetepr.js +0 -29
  2740. package/dist/runtime-api-uq8PFObQ.js +0 -2
  2741. package/dist/runtime-embedded-pi.runtime-C_VTO5Hb.js +0 -2
  2742. package/dist/sandbox-cli-DCBzqdRP.js +0 -443
  2743. package/dist/sdk-xNF3YVy5.js +0 -1108
  2744. package/dist/security-cli-BRQ9l5SH.js +0 -477
  2745. package/dist/send-BR9WsDjK.js +0 -532
  2746. package/dist/send-BYZ6LXaA.js +0 -856
  2747. package/dist/send-C9XFbxrx.js +0 -2
  2748. package/dist/send-CP6xLBgu.js +0 -100
  2749. package/dist/send-CevSHBU3.js +0 -442
  2750. package/dist/send-CiU0wWHJ.js +0 -178
  2751. package/dist/send-CzZHXvb0.js +0 -318
  2752. package/dist/send-D8Q38WQW.js +0 -1076
  2753. package/dist/send-DSrMDTx6.js +0 -3
  2754. package/dist/send.components-CSiMYa_k.js +0 -2
  2755. package/dist/send.components-DuCC5xXW.js +0 -942
  2756. package/dist/server-cron-CnWsiroT.js +0 -2
  2757. package/dist/server-cron-pXTPca6M.js +0 -4173
  2758. package/dist/server-hfFKzOMa.js +0 -10120
  2759. package/dist/server-lite-CpD0TAwt.js +0 -831
  2760. package/dist/server-maintenance-CSzGshfI.js +0 -542
  2761. package/dist/server-maintenance-m-ekNAYN.js +0 -2
  2762. package/dist/server-node-events-o25FUhFi.js +0 -454
  2763. package/dist/server-node-subscriptions-D1cnZtZz.js +0 -2
  2764. package/dist/server-plugins-BYGRllKK.js +0 -10423
  2765. package/dist/server-plugins-D-GLUOyL.js +0 -2
  2766. package/dist/server-startup-memory-CwdtRW65.js +0 -2
  2767. package/dist/server-tailscale-BurW9eR4.js +0 -2
  2768. package/dist/services-B4WpjjQk.js +0 -2
  2769. package/dist/session-BZC_ExXj.js +0 -50
  2770. package/dist/session-archive.runtime-CpJ_-vMn.js +0 -2
  2771. package/dist/session-envelope-D53bqIsw.js +0 -18
  2772. package/dist/session-file-L8H_0oIY.js +0 -120
  2773. package/dist/session-key-DlGku_2P.js +0 -52
  2774. package/dist/session-override-BwLTMvlR.js +0 -100
  2775. package/dist/session-reset-model.runtime-B-f6UyAY.js +0 -119
  2776. package/dist/session-route-CWWuYCWY.js +0 -91
  2777. package/dist/session-store-runtime-DbJ_acdU.js +0 -2
  2778. package/dist/session-subagent-reactivation.runtime-DQP-UkdA.js +0 -2
  2779. package/dist/session-transcript-files.fs-BRLPQRBN.js +0 -149
  2780. package/dist/session-updates-BiofcJQ9.js +0 -222
  2781. package/dist/session-updates.runtime-B5YxiezL.js +0 -2
  2782. package/dist/session-utils-BsLMe4R0.js +0 -1743
  2783. package/dist/sessions-BGky6-U4.js +0 -224
  2784. package/dist/sessions-CizZS4Rb.js +0 -2
  2785. package/dist/sessions-CnolLDg0.js +0 -443
  2786. package/dist/setup-BPkdGC8C.js +0 -427
  2787. package/dist/setup-api-Bd-qaaRg.js +0 -2
  2788. package/dist/setup-bootstrap-BUPymwJl.js +0 -54
  2789. package/dist/setup-core-CE5GuYaV.js +0 -256
  2790. package/dist/setup-core-tvt7DN1q.js +0 -146
  2791. package/dist/setup-surface-BbOvAxU6.js +0 -484
  2792. package/dist/setup-surface-BlIvCltJ.js +0 -450
  2793. package/dist/setup-surface-BoJI-ftG.js +0 -237
  2794. package/dist/setup-surface-C6yPqLIS.js +0 -261
  2795. package/dist/setup-surface-CNFczxjl.js +0 -656
  2796. package/dist/setup-surface-D5hZFXlx.js +0 -8848
  2797. package/dist/setup-surface-DMOex3oo.js +0 -346
  2798. package/dist/setup-surface-DRmn71vw.js +0 -333
  2799. package/dist/setup-surface-DUodX6wM.js +0 -353
  2800. package/dist/setup-surface-DVnka34A.js +0 -272
  2801. package/dist/setup-surface-DrFSCD5A.js +0 -304
  2802. package/dist/setup-surface-WtMan1x2.js +0 -261
  2803. package/dist/setup.finalize-BcpxSMo5.js +0 -458
  2804. package/dist/setup.gateway-config-BHvGYGOD.js +0 -247
  2805. package/dist/shared-1r1qYN6z.js +0 -198
  2806. package/dist/shared-BXz6HKLm.js +0 -180
  2807. package/dist/shared-Bg7yDHOE.js +0 -94
  2808. package/dist/shared-DBX8qPP6.js +0 -144
  2809. package/dist/shared-DHFHItFt.js +0 -160
  2810. package/dist/shared-DJV3Mmv8.js +0 -72
  2811. package/dist/shared-ZeWcr3rG.js +0 -2
  2812. package/dist/shared-nCJ3kgXi.js +0 -78
  2813. package/dist/shared-rKEs-OIg.js +0 -64
  2814. package/dist/shared-runtime-CTD5ywGR.js +0 -7
  2815. package/dist/skills-install-CoUJk9aZ.js +0 -819
  2816. package/dist/slash-commands-CKUKTwMa.js +0 -672
  2817. package/dist/slash-commands.runtime-BrfELsEA.js +0 -20
  2818. package/dist/slash-dispatch.runtime-CfjHhQmx.js +0 -38
  2819. package/dist/slash-skill-commands.runtime-Bxm-652_.js +0 -8
  2820. package/dist/speech-provider-BjDZhOzO.js +0 -190
  2821. package/dist/src-BscJ0OyQ.js +0 -2739
  2822. package/dist/startup-verification-Bwer6SPQ.js +0 -131
  2823. package/dist/state-migrations-Dh5gaxn0.js +0 -845
  2824. package/dist/status-CxiD9-L2.js +0 -2
  2825. package/dist/status-all-CteZuvg_.js +0 -798
  2826. package/dist/status-hLuTMJgT.js +0 -650
  2827. package/dist/status-issues-CZdlgUVQ.js +0 -187
  2828. package/dist/status-issues-Dx4xsUU6.js +0 -336
  2829. package/dist/status-json-CU_sqXwN.js +0 -86
  2830. package/dist/status-l8LyDb-X.js +0 -608
  2831. package/dist/status-mpmZALQx.js +0 -3
  2832. package/dist/status.command.text-runtime-Ck9abrv4.js +0 -18
  2833. package/dist/status.scan-N2AgYo5y.js +0 -264
  2834. package/dist/status.scan.fast-json-B8TmllqQ.js +0 -97
  2835. package/dist/status.scan.fast-json-CiJfPteF.js +0 -2
  2836. package/dist/status.scan.json-core-Bqw5Ethf.js +0 -254
  2837. package/dist/status.summary-CN0kS8iw.js +0 -2
  2838. package/dist/status.summary-joaOukPU.js +0 -210
  2839. package/dist/sticker-cache-DXLBnGCi.js +0 -1573
  2840. package/dist/sticker-vision.runtime-DP1NsaCZ.js +0 -16
  2841. package/dist/storage-BRnLX4P7.js +0 -234
  2842. package/dist/store-BvP1FWCI.js +0 -1343
  2843. package/dist/store.runtime-NoYeZeac.js +0 -2
  2844. package/dist/stream-BJ4HYVwA.js +0 -633
  2845. package/dist/subagent-orphan-recovery-hTBxfwY4.js +0 -206
  2846. package/dist/subagent-registry-runtime-3PIBzuDd.js +0 -2
  2847. package/dist/targets-BAsektUE.js +0 -748
  2848. package/dist/task-registry-delivery-runtime-CkJ71rwb.js +0 -2
  2849. package/dist/task-registry.audit-gdULOiFp.js +0 -320
  2850. package/dist/task-registry.maintenance-DhI_cx5O.js +0 -2
  2851. package/dist/test-api-B4g2UUbw.js +0 -47
  2852. package/dist/testing-DFnq00vr.js +0 -677
  2853. package/dist/thread-bindings-CEuvQ0a5.js +0 -219
  2854. package/dist/thread-bindings-CzFRpuy7.js +0 -534
  2855. package/dist/thread-bindings-D-QA8SBh.js +0 -352
  2856. package/dist/thread-bindings-EP9pAodb.js +0 -778
  2857. package/dist/thread-bindings.discord-api-DKSgmJf_.js +0 -487
  2858. package/dist/threading-CLq9AwSD.js +0 -832
  2859. package/dist/threading-CQM3vrch.js +0 -2
  2860. package/dist/threading-tool-context-DN0TQ-o6.js +0 -157
  2861. package/dist/token-Bs7YIYbI.js +0 -82
  2862. package/dist/tool-actions.runtime-mxezUV4D.js +0 -532
  2863. package/dist/tools-effective-inventory-Dz6tWQxy.js +0 -148
  2864. package/dist/ui-Cmeq4ZXg.js +0 -212
  2865. package/dist/update-CADy3L5e.js +0 -1253
  2866. package/dist/update-cli-B61EQsEl.js +0 -1447
  2867. package/dist/update-runner--BEMGokU.js +0 -1195
  2868. package/dist/verification-C5PYFyB0.js +0 -130
  2869. package/dist/verification-CzP234iv.js +0 -2
  2870. package/dist/x-search-ToCIaz7t.js +0 -166
  2871. package/dist/zalo-BCF4thCG.js +0 -13
  2872. package/dist/zalo-js-C4A7Gxjy.js +0 -1156
  2873. package/dist/zalouser-CO0W9KZf.js +0 -22
  2874. /package/dist/{apply.runtime-DBsSkbq5.js → apply.runtime-eSa-O_F2.js} +0 -0
  2875. /package/dist/{audit-channel.allow-from.runtime-BE3PpHCg.js → audit-channel.allow-from.runtime-DNte8cmH.js} +0 -0
  2876. /package/dist/{audit-channel.discord.runtime-CKQwUTue.js → audit-channel.discord.runtime-BWLuLCE0.js} +0 -0
  2877. /package/dist/{audit-channel.zalouser.runtime-DvOclP53.js → audit-channel.zalouser.runtime-D_nIX7hv.js} +0 -0
  2878. /package/dist/{gaxios-fetch-compat-DSrL7y2X.js → gaxios-fetch-compat-Dsb6Dess.js} +0 -0
  2879. /package/dist/{gmail-watcher-lifecycle-CnbN1EfN.js → gmail-watcher-lifecycle-D6jhzjD2.js} +0 -0
  2880. /package/dist/{hooks-policy-BjyPwwpQ.js → hooks-policy-BS7eSxPm.js} +0 -0
  2881. /package/dist/{install-target-BXHZSfie.js → install-target-DunBxcXd.js} +0 -0
  2882. /package/dist/{loader-_QerU742.js → loader-DrwewZGF.js} +0 -0
  2883. /package/dist/{plugin-error-boundary-Ze95TniC.js → plugin-error-boundary-BkeWnWCG.js} +0 -0
  2884. /package/dist/{plugin-health-checker-BdL9iBvs.js → plugin-health-checker--ObpW5TZ.js} +0 -0
  2885. /package/dist/{plugin-hot-reload-t-fD3k4-.js → plugin-hot-reload-uBgB89Et.js} +0 -0
  2886. /package/dist/{provider-api-key-auth.runtime-PWOshlD_.js → provider-api-key-auth.runtime-s-qWJDKg.js} +0 -0
  2887. /package/dist/{provider-auth-login.runtime-B8ZroIz0.js → provider-auth-login.runtime-BJ3_RYVu.js} +0 -0
  2888. /package/dist/{provider-discovery.runtime-C9i7ZYfW.js → provider-discovery.runtime-hzNrePTv.js} +0 -0
  2889. /package/dist/{runtime-discord-ops.runtime-DD-5fh_t.js → runtime-discord-ops.runtime-DXnkkrxh.js} +0 -0
  2890. /package/dist/{runtime-media-understanding.runtime-BnpKjL7w.js → runtime-media-understanding.runtime-CqkE-xQD.js} +0 -0
  2891. /package/dist/{runtime-model-auth.runtime-BJVutp59.js → runtime-model-auth.runtime-Eceghr0K.js} +0 -0
  2892. /package/dist/{runtime-slack-ops.runtime-BHlRr1Yr.js → runtime-slack-ops.runtime-BiNFnBIK.js} +0 -0
  2893. /package/dist/{runtime-tts.runtime-CraALy-I.js → runtime-tts.runtime-DucSlAZ7.js} +0 -0
  2894. /package/dist/{server-constants-DYaJmd0J.js → server-constants-DygisMJm.js} +0 -0
  2895. /package/dist/{server-node-subscriptions-B0IJt_Ut.js → server-node-subscriptions-k9pzvFjc.js} +0 -0
  2896. /package/dist/{server-startup-memory-DVUV59tb.js → server-startup-memory-BF7b6hV-.js} +0 -0
  2897. /package/dist/{server-tailscale-YNZLPwK0.js → server-tailscale-C4_57iBM.js} +0 -0
  2898. /package/dist/{services-D-LPmYY2.js → services-DGh2Nlk1.js} +0 -0
  2899. /package/dist/{skill-scanner-CiGO-i2b.js → skill-scanner-CQOOKx41.js} +0 -0
  2900. /package/dist/{ssh-config-BeNW3BFI.js → ssh-config-C0OJnSro.js} +0 -0
  2901. /package/dist/{supervisor-log.runtime-C5wGw6pn.js → supervisor-log.runtime-C7jNH-kn.js} +0 -0
  2902. /package/dist/{system-presence-Dllq5OiL.js → system-presence-Ctj0G23x.js} +0 -0
  2903. /package/dist/{tts.runtime-DmgJozN5.js → tts.runtime-BmZyMwz6.js} +0 -0
@@ -0,0 +1,3495 @@
1
+ import { i as withFileLock } from "./file-lock-CH0V9dhL.js";
2
+ import "./infra-runtime-C9fJenAY.js";
3
+ import { n as LogService, r as noop } from "./logger-C9zPuoXE.js";
4
+ import { i as MATRIX_IDB_SNAPSHOT_LOCK_OPTIONS, n as isRepairableSecretStorageAccessError } from "./recovery-key-store-DvBOWenA.js";
5
+ import fsSync from "node:fs";
6
+ import path from "node:path";
7
+ import { MatrixEventEvent } from "matrix-js-sdk/lib/matrix.js";
8
+ import { VerificationMethod } from "matrix-js-sdk/lib/types.js";
9
+ import { CryptoEvent } from "matrix-js-sdk/lib/crypto-api/CryptoEvent.js";
10
+ import { VerificationPhase, VerificationRequestEvent, VerifierEvent } from "matrix-js-sdk/lib/crypto-api/verification.js";
11
+ //#region node_modules/.pnpm/fake-indexeddb@6.2.5/node_modules/fake-indexeddb/build/esm/lib/errors.js
12
+ const messages = {
13
+ AbortError: "A request was aborted, for example through a call to IDBTransaction.abort.",
14
+ ConstraintError: "A mutation operation in the transaction failed because a constraint was not satisfied. For example, an object such as an object store or index already exists and a request attempted to create a new one.",
15
+ DataCloneError: "The data being stored could not be cloned by the internal structured cloning algorithm.",
16
+ DataError: "Data provided to an operation does not meet requirements.",
17
+ InvalidAccessError: "An invalid operation was performed on an object. For example transaction creation attempt was made, but an empty scope was provided.",
18
+ InvalidStateError: "An operation was called on an object on which it is not allowed or at a time when it is not allowed. Also occurs if a request is made on a source object that has been deleted or removed. Use TransactionInactiveError or ReadOnlyError when possible, as they are more specific variations of InvalidStateError.",
19
+ NotFoundError: "The operation failed because the requested database object could not be found. For example, an object store did not exist but was being opened.",
20
+ ReadOnlyError: "The mutating operation was attempted in a \"readonly\" transaction.",
21
+ TransactionInactiveError: "A request was placed against a transaction which is currently not active, or which is finished.",
22
+ SyntaxError: "The keypath argument contains an invalid key path",
23
+ VersionError: "An attempt was made to open a database using a lower version than the existing version."
24
+ };
25
+ const setErrorCode = (error, value) => {
26
+ Object.defineProperty(error, "code", {
27
+ value,
28
+ writable: false,
29
+ enumerable: true,
30
+ configurable: false
31
+ });
32
+ };
33
+ var AbortError = class extends DOMException {
34
+ constructor(message = messages.AbortError) {
35
+ super(message, "AbortError");
36
+ }
37
+ };
38
+ var ConstraintError = class extends DOMException {
39
+ constructor(message = messages.ConstraintError) {
40
+ super(message, "ConstraintError");
41
+ }
42
+ };
43
+ var DataError = class extends DOMException {
44
+ constructor(message = messages.DataError) {
45
+ super(message, "DataError");
46
+ setErrorCode(this, 0);
47
+ }
48
+ };
49
+ var InvalidAccessError = class extends DOMException {
50
+ constructor(message = messages.InvalidAccessError) {
51
+ super(message, "InvalidAccessError");
52
+ }
53
+ };
54
+ var InvalidStateError = class extends DOMException {
55
+ constructor(message = messages.InvalidStateError) {
56
+ super(message, "InvalidStateError");
57
+ setErrorCode(this, 11);
58
+ }
59
+ };
60
+ var NotFoundError = class extends DOMException {
61
+ constructor(message = messages.NotFoundError) {
62
+ super(message, "NotFoundError");
63
+ }
64
+ };
65
+ var ReadOnlyError = class extends DOMException {
66
+ constructor(message = messages.ReadOnlyError) {
67
+ super(message, "ReadOnlyError");
68
+ }
69
+ };
70
+ var SyntaxError = class extends DOMException {
71
+ constructor(message = messages.VersionError) {
72
+ super(message, "SyntaxError");
73
+ setErrorCode(this, 12);
74
+ }
75
+ };
76
+ var TransactionInactiveError = class extends DOMException {
77
+ constructor(message = messages.TransactionInactiveError) {
78
+ super(message, "TransactionInactiveError");
79
+ setErrorCode(this, 0);
80
+ }
81
+ };
82
+ var VersionError = class extends DOMException {
83
+ constructor(message = messages.VersionError) {
84
+ super(message, "VersionError");
85
+ }
86
+ };
87
+ //#endregion
88
+ //#region node_modules/.pnpm/fake-indexeddb@6.2.5/node_modules/fake-indexeddb/build/esm/lib/isSharedArrayBuffer.js
89
+ function isSharedArrayBuffer(input) {
90
+ return typeof SharedArrayBuffer !== "undefined" && input instanceof SharedArrayBuffer;
91
+ }
92
+ //#endregion
93
+ //#region node_modules/.pnpm/fake-indexeddb@6.2.5/node_modules/fake-indexeddb/build/esm/lib/valueToKeyWithoutThrowing.js
94
+ const INVALID_TYPE = Symbol("INVALID_TYPE");
95
+ const INVALID_VALUE = Symbol("INVALID_VALUE");
96
+ const valueToKeyWithoutThrowing = (input, seen) => {
97
+ if (typeof input === "number") {
98
+ if (isNaN(input)) return INVALID_VALUE;
99
+ return input;
100
+ } else if (Object.prototype.toString.call(input) === "[object Date]") {
101
+ const ms = input.valueOf();
102
+ if (isNaN(ms)) return INVALID_VALUE;
103
+ return new Date(ms);
104
+ } else if (typeof input === "string") return input;
105
+ else if (input instanceof ArrayBuffer || isSharedArrayBuffer(input) || typeof ArrayBuffer !== "undefined" && ArrayBuffer.isView && ArrayBuffer.isView(input)) {
106
+ if ("detached" in input ? input.detached : input.byteLength === 0) return INVALID_VALUE;
107
+ let arrayBuffer;
108
+ let offset = 0;
109
+ let length = 0;
110
+ if (input instanceof ArrayBuffer || isSharedArrayBuffer(input)) {
111
+ arrayBuffer = input;
112
+ length = input.byteLength;
113
+ } else {
114
+ arrayBuffer = input.buffer;
115
+ offset = input.byteOffset;
116
+ length = input.byteLength;
117
+ }
118
+ return arrayBuffer.slice(offset, offset + length);
119
+ } else if (Array.isArray(input)) {
120
+ if (seen === void 0) seen = /* @__PURE__ */ new Set();
121
+ else if (seen.has(input)) return INVALID_VALUE;
122
+ seen.add(input);
123
+ let hasInvalid = false;
124
+ const keys = Array.from({ length: input.length }, (_, i) => {
125
+ if (hasInvalid) return;
126
+ if (!Object.hasOwn(input, i)) {
127
+ hasInvalid = true;
128
+ return;
129
+ }
130
+ const entry = input[i];
131
+ const key = valueToKeyWithoutThrowing(entry, seen);
132
+ if (key === INVALID_VALUE || key === INVALID_TYPE) {
133
+ hasInvalid = true;
134
+ return;
135
+ }
136
+ return key;
137
+ });
138
+ if (hasInvalid) return INVALID_VALUE;
139
+ return keys;
140
+ } else return INVALID_TYPE;
141
+ };
142
+ //#endregion
143
+ //#region node_modules/.pnpm/fake-indexeddb@6.2.5/node_modules/fake-indexeddb/build/esm/lib/valueToKey.js
144
+ const valueToKey = (input, seen) => {
145
+ const result = valueToKeyWithoutThrowing(input, seen);
146
+ if (result === INVALID_VALUE || result === INVALID_TYPE) throw new DataError();
147
+ return result;
148
+ };
149
+ //#endregion
150
+ //#region node_modules/.pnpm/fake-indexeddb@6.2.5/node_modules/fake-indexeddb/build/esm/lib/cmp.js
151
+ const getType = (x) => {
152
+ if (typeof x === "number") return "Number";
153
+ if (Object.prototype.toString.call(x) === "[object Date]") return "Date";
154
+ if (Array.isArray(x)) return "Array";
155
+ if (typeof x === "string") return "String";
156
+ if (x instanceof ArrayBuffer) return "Binary";
157
+ throw new DataError();
158
+ };
159
+ const cmp = (first, second) => {
160
+ if (second === void 0) throw new TypeError();
161
+ first = valueToKey(first);
162
+ second = valueToKey(second);
163
+ const t1 = getType(first);
164
+ const t2 = getType(second);
165
+ if (t1 !== t2) {
166
+ if (t1 === "Array") return 1;
167
+ if (t1 === "Binary" && (t2 === "String" || t2 === "Date" || t2 === "Number")) return 1;
168
+ if (t1 === "String" && (t2 === "Date" || t2 === "Number")) return 1;
169
+ if (t1 === "Date" && t2 === "Number") return 1;
170
+ return -1;
171
+ }
172
+ if (t1 === "Binary") {
173
+ first = new Uint8Array(first);
174
+ second = new Uint8Array(second);
175
+ }
176
+ if (t1 === "Array" || t1 === "Binary") {
177
+ const length = Math.min(first.length, second.length);
178
+ for (let i = 0; i < length; i++) {
179
+ const result = cmp(first[i], second[i]);
180
+ if (result !== 0) return result;
181
+ }
182
+ if (first.length > second.length) return 1;
183
+ if (first.length < second.length) return -1;
184
+ return 0;
185
+ }
186
+ if (t1 === "Date") {
187
+ if (first.getTime() === second.getTime()) return 0;
188
+ } else if (first === second) return 0;
189
+ return first > second ? 1 : -1;
190
+ };
191
+ //#endregion
192
+ //#region node_modules/.pnpm/fake-indexeddb@6.2.5/node_modules/fake-indexeddb/build/esm/FDBKeyRange.js
193
+ var FDBKeyRange = class FDBKeyRange {
194
+ static only(value) {
195
+ if (arguments.length === 0) throw new TypeError();
196
+ value = valueToKey(value);
197
+ return new FDBKeyRange(value, value, false, false);
198
+ }
199
+ static lowerBound(lower, open = false) {
200
+ if (arguments.length === 0) throw new TypeError();
201
+ lower = valueToKey(lower);
202
+ return new FDBKeyRange(lower, void 0, open, true);
203
+ }
204
+ static upperBound(upper, open = false) {
205
+ if (arguments.length === 0) throw new TypeError();
206
+ upper = valueToKey(upper);
207
+ return new FDBKeyRange(void 0, upper, true, open);
208
+ }
209
+ static bound(lower, upper, lowerOpen = false, upperOpen = false) {
210
+ if (arguments.length < 2) throw new TypeError();
211
+ const cmpResult = cmp(lower, upper);
212
+ if (cmpResult === 1 || cmpResult === 0 && (lowerOpen || upperOpen)) throw new DataError();
213
+ lower = valueToKey(lower);
214
+ upper = valueToKey(upper);
215
+ return new FDBKeyRange(lower, upper, lowerOpen, upperOpen);
216
+ }
217
+ constructor(lower, upper, lowerOpen, upperOpen) {
218
+ this.lower = lower;
219
+ this.upper = upper;
220
+ this.lowerOpen = lowerOpen;
221
+ this.upperOpen = upperOpen;
222
+ }
223
+ includes(key) {
224
+ if (arguments.length === 0) throw new TypeError();
225
+ key = valueToKey(key);
226
+ if (this.lower !== void 0) {
227
+ const cmpResult = cmp(this.lower, key);
228
+ if (cmpResult === 1 || cmpResult === 0 && this.lowerOpen) return false;
229
+ }
230
+ if (this.upper !== void 0) {
231
+ const cmpResult = cmp(this.upper, key);
232
+ if (cmpResult === -1 || cmpResult === 0 && this.upperOpen) return false;
233
+ }
234
+ return true;
235
+ }
236
+ get [Symbol.toStringTag]() {
237
+ return "IDBKeyRange";
238
+ }
239
+ };
240
+ //#endregion
241
+ //#region node_modules/.pnpm/fake-indexeddb@6.2.5/node_modules/fake-indexeddb/build/esm/lib/extractKey.js
242
+ const extractKey = (keyPath, value) => {
243
+ if (Array.isArray(keyPath)) {
244
+ const result = [];
245
+ for (let item of keyPath) {
246
+ if (item !== void 0 && item !== null && typeof item !== "string" && item.toString) item = item.toString();
247
+ const key = extractKey(item, value).key;
248
+ result.push(valueToKey(key));
249
+ }
250
+ return {
251
+ type: "found",
252
+ key: result
253
+ };
254
+ }
255
+ if (keyPath === "") return {
256
+ type: "found",
257
+ key: value
258
+ };
259
+ let remainingKeyPath = keyPath;
260
+ let object = value;
261
+ while (remainingKeyPath !== null) {
262
+ let identifier;
263
+ const i = remainingKeyPath.indexOf(".");
264
+ if (i >= 0) {
265
+ identifier = remainingKeyPath.slice(0, i);
266
+ remainingKeyPath = remainingKeyPath.slice(i + 1);
267
+ } else {
268
+ identifier = remainingKeyPath;
269
+ remainingKeyPath = null;
270
+ }
271
+ if (!(identifier === "length" && (typeof object === "string" || Array.isArray(object)) || (identifier === "size" || identifier === "type") && typeof Blob !== "undefined" && object instanceof Blob || (identifier === "name" || identifier === "lastModified") && typeof File !== "undefined" && object instanceof File) && (typeof object !== "object" || object === null || !Object.hasOwn(object, identifier))) return { type: "notFound" };
272
+ object = object[identifier];
273
+ }
274
+ return {
275
+ type: "found",
276
+ key: object
277
+ };
278
+ };
279
+ //#endregion
280
+ //#region node_modules/.pnpm/fake-indexeddb@6.2.5/node_modules/fake-indexeddb/build/esm/lib/cloneValueForInsertion.js
281
+ function cloneValueForInsertion(value, transaction) {
282
+ if (transaction._state !== "active") throw new Error("Assert: transaction state is active");
283
+ transaction._state = "inactive";
284
+ try {
285
+ return structuredClone(value);
286
+ } finally {
287
+ transaction._state = "active";
288
+ }
289
+ }
290
+ //#endregion
291
+ //#region node_modules/.pnpm/fake-indexeddb@6.2.5/node_modules/fake-indexeddb/build/esm/FDBCursor.js
292
+ const getEffectiveObjectStore = (cursor) => {
293
+ if (cursor.source instanceof FDBObjectStore) return cursor.source;
294
+ return cursor.source.objectStore;
295
+ };
296
+ const makeKeyRange = (range, lowers, uppers) => {
297
+ let lower = range !== void 0 ? range.lower : void 0;
298
+ let upper = range !== void 0 ? range.upper : void 0;
299
+ for (const lowerTemp of lowers) {
300
+ if (lowerTemp === void 0) continue;
301
+ if (lower === void 0 || cmp(lower, lowerTemp) === 1) lower = lowerTemp;
302
+ }
303
+ for (const upperTemp of uppers) {
304
+ if (upperTemp === void 0) continue;
305
+ if (upper === void 0 || cmp(upper, upperTemp) === -1) upper = upperTemp;
306
+ }
307
+ if (lower !== void 0 && upper !== void 0) return FDBKeyRange.bound(lower, upper);
308
+ if (lower !== void 0) return FDBKeyRange.lowerBound(lower);
309
+ if (upper !== void 0) return FDBKeyRange.upperBound(upper);
310
+ };
311
+ var FDBCursor = class {
312
+ _gotValue = false;
313
+ _position = void 0;
314
+ _objectStorePosition = void 0;
315
+ _keyOnly = false;
316
+ _key = void 0;
317
+ _primaryKey = void 0;
318
+ constructor(source, range, direction = "next", request, keyOnly = false) {
319
+ this._range = range;
320
+ this._source = source;
321
+ this._direction = direction;
322
+ this._request = request;
323
+ this._keyOnly = keyOnly;
324
+ }
325
+ get source() {
326
+ return this._source;
327
+ }
328
+ set source(val) {}
329
+ get request() {
330
+ return this._request;
331
+ }
332
+ set request(val) {}
333
+ get direction() {
334
+ return this._direction;
335
+ }
336
+ set direction(val) {}
337
+ get key() {
338
+ return this._key;
339
+ }
340
+ set key(val) {}
341
+ get primaryKey() {
342
+ return this._primaryKey;
343
+ }
344
+ set primaryKey(val) {}
345
+ _iterate(key, primaryKey) {
346
+ const sourceIsObjectStore = this.source instanceof FDBObjectStore;
347
+ const records = this.source instanceof FDBObjectStore ? this.source._rawObjectStore.records : this.source._rawIndex.records;
348
+ let foundRecord;
349
+ if (this.direction === "next") {
350
+ const range = makeKeyRange(this._range, [key, this._position], []);
351
+ for (const record of records.values(range)) {
352
+ const cmpResultKey = key !== void 0 ? cmp(record.key, key) : void 0;
353
+ const cmpResultPosition = this._position !== void 0 ? cmp(record.key, this._position) : void 0;
354
+ if (key !== void 0) {
355
+ if (cmpResultKey === -1) continue;
356
+ }
357
+ if (primaryKey !== void 0) {
358
+ if (cmpResultKey === -1) continue;
359
+ const cmpResultPrimaryKey = cmp(record.value, primaryKey);
360
+ if (cmpResultKey === 0 && cmpResultPrimaryKey === -1) continue;
361
+ }
362
+ if (this._position !== void 0 && sourceIsObjectStore) {
363
+ if (cmpResultPosition !== 1) continue;
364
+ }
365
+ if (this._position !== void 0 && !sourceIsObjectStore) {
366
+ if (cmpResultPosition === -1) continue;
367
+ if (cmpResultPosition === 0 && cmp(record.value, this._objectStorePosition) !== 1) continue;
368
+ }
369
+ if (this._range !== void 0) {
370
+ if (!this._range.includes(record.key)) continue;
371
+ }
372
+ foundRecord = record;
373
+ break;
374
+ }
375
+ } else if (this.direction === "nextunique") {
376
+ const range = makeKeyRange(this._range, [key, this._position], []);
377
+ for (const record of records.values(range)) {
378
+ if (key !== void 0) {
379
+ if (cmp(record.key, key) === -1) continue;
380
+ }
381
+ if (this._position !== void 0) {
382
+ if (cmp(record.key, this._position) !== 1) continue;
383
+ }
384
+ if (this._range !== void 0) {
385
+ if (!this._range.includes(record.key)) continue;
386
+ }
387
+ foundRecord = record;
388
+ break;
389
+ }
390
+ } else if (this.direction === "prev") {
391
+ const range = makeKeyRange(this._range, [], [key, this._position]);
392
+ for (const record of records.values(range, "prev")) {
393
+ const cmpResultKey = key !== void 0 ? cmp(record.key, key) : void 0;
394
+ const cmpResultPosition = this._position !== void 0 ? cmp(record.key, this._position) : void 0;
395
+ if (key !== void 0) {
396
+ if (cmpResultKey === 1) continue;
397
+ }
398
+ if (primaryKey !== void 0) {
399
+ if (cmpResultKey === 1) continue;
400
+ const cmpResultPrimaryKey = cmp(record.value, primaryKey);
401
+ if (cmpResultKey === 0 && cmpResultPrimaryKey === 1) continue;
402
+ }
403
+ if (this._position !== void 0 && sourceIsObjectStore) {
404
+ if (cmpResultPosition !== -1) continue;
405
+ }
406
+ if (this._position !== void 0 && !sourceIsObjectStore) {
407
+ if (cmpResultPosition === 1) continue;
408
+ if (cmpResultPosition === 0 && cmp(record.value, this._objectStorePosition) !== -1) continue;
409
+ }
410
+ if (this._range !== void 0) {
411
+ if (!this._range.includes(record.key)) continue;
412
+ }
413
+ foundRecord = record;
414
+ break;
415
+ }
416
+ } else if (this.direction === "prevunique") {
417
+ let tempRecord;
418
+ const range = makeKeyRange(this._range, [], [key, this._position]);
419
+ for (const record of records.values(range, "prev")) {
420
+ if (key !== void 0) {
421
+ if (cmp(record.key, key) === 1) continue;
422
+ }
423
+ if (this._position !== void 0) {
424
+ if (cmp(record.key, this._position) !== -1) continue;
425
+ }
426
+ if (this._range !== void 0) {
427
+ if (!this._range.includes(record.key)) continue;
428
+ }
429
+ tempRecord = record;
430
+ break;
431
+ }
432
+ if (tempRecord) foundRecord = records.get(tempRecord.key);
433
+ }
434
+ let result;
435
+ if (!foundRecord) {
436
+ this._key = void 0;
437
+ if (!sourceIsObjectStore) this._objectStorePosition = void 0;
438
+ if (!this._keyOnly && this.toString() === "[object IDBCursorWithValue]") this.value = void 0;
439
+ result = null;
440
+ } else {
441
+ this._position = foundRecord.key;
442
+ if (!sourceIsObjectStore) this._objectStorePosition = foundRecord.value;
443
+ this._key = foundRecord.key;
444
+ if (sourceIsObjectStore) {
445
+ this._primaryKey = structuredClone(foundRecord.key);
446
+ if (!this._keyOnly && this.toString() === "[object IDBCursorWithValue]") this.value = structuredClone(foundRecord.value);
447
+ } else {
448
+ this._primaryKey = structuredClone(foundRecord.value);
449
+ if (!this._keyOnly && this.toString() === "[object IDBCursorWithValue]") {
450
+ if (this.source instanceof FDBObjectStore) throw new Error("This should never happen");
451
+ const value = this.source.objectStore._rawObjectStore.getValue(foundRecord.value);
452
+ this.value = structuredClone(value);
453
+ }
454
+ }
455
+ this._gotValue = true;
456
+ result = this;
457
+ }
458
+ return result;
459
+ }
460
+ update(value) {
461
+ if (value === void 0) throw new TypeError();
462
+ const effectiveObjectStore = getEffectiveObjectStore(this);
463
+ const effectiveKey = Object.hasOwn(this.source, "_rawIndex") ? this.primaryKey : this._position;
464
+ const transaction = effectiveObjectStore.transaction;
465
+ if (transaction._state !== "active") throw new TransactionInactiveError();
466
+ if (transaction.mode === "readonly") throw new ReadOnlyError();
467
+ if (effectiveObjectStore._rawObjectStore.deleted) throw new InvalidStateError();
468
+ if (!(this.source instanceof FDBObjectStore) && this.source._rawIndex.deleted) throw new InvalidStateError();
469
+ if (!this._gotValue || !Object.hasOwn(this, "value")) throw new InvalidStateError();
470
+ const clone = cloneValueForInsertion(value, transaction);
471
+ if (effectiveObjectStore.keyPath !== null) {
472
+ let tempKey;
473
+ try {
474
+ tempKey = extractKey(effectiveObjectStore.keyPath, clone).key;
475
+ } catch (err) {}
476
+ if (cmp(tempKey, effectiveKey) !== 0) throw new DataError();
477
+ }
478
+ const record = {
479
+ key: effectiveKey,
480
+ value: clone
481
+ };
482
+ return transaction._execRequestAsync({
483
+ operation: effectiveObjectStore._rawObjectStore.storeRecord.bind(effectiveObjectStore._rawObjectStore, record, false, transaction._rollbackLog),
484
+ source: this
485
+ });
486
+ }
487
+ advance(count) {
488
+ if (!Number.isInteger(count) || count <= 0) throw new TypeError();
489
+ const effectiveObjectStore = getEffectiveObjectStore(this);
490
+ const transaction = effectiveObjectStore.transaction;
491
+ if (transaction._state !== "active") throw new TransactionInactiveError();
492
+ if (effectiveObjectStore._rawObjectStore.deleted) throw new InvalidStateError();
493
+ if (!(this.source instanceof FDBObjectStore) && this.source._rawIndex.deleted) throw new InvalidStateError();
494
+ if (!this._gotValue) throw new InvalidStateError();
495
+ if (this._request) this._request.readyState = "pending";
496
+ transaction._execRequestAsync({
497
+ operation: () => {
498
+ let result;
499
+ for (let i = 0; i < count; i++) {
500
+ result = this._iterate();
501
+ if (!result) break;
502
+ }
503
+ return result;
504
+ },
505
+ request: this._request,
506
+ source: this.source
507
+ });
508
+ this._gotValue = false;
509
+ }
510
+ continue(key) {
511
+ const effectiveObjectStore = getEffectiveObjectStore(this);
512
+ const transaction = effectiveObjectStore.transaction;
513
+ if (transaction._state !== "active") throw new TransactionInactiveError();
514
+ if (effectiveObjectStore._rawObjectStore.deleted) throw new InvalidStateError();
515
+ if (!(this.source instanceof FDBObjectStore) && this.source._rawIndex.deleted) throw new InvalidStateError();
516
+ if (!this._gotValue) throw new InvalidStateError();
517
+ if (key !== void 0) {
518
+ key = valueToKey(key);
519
+ const cmpResult = cmp(key, this._position);
520
+ if (cmpResult <= 0 && (this.direction === "next" || this.direction === "nextunique") || cmpResult >= 0 && (this.direction === "prev" || this.direction === "prevunique")) throw new DataError();
521
+ }
522
+ if (this._request) this._request.readyState = "pending";
523
+ transaction._execRequestAsync({
524
+ operation: this._iterate.bind(this, key),
525
+ request: this._request,
526
+ source: this.source
527
+ });
528
+ this._gotValue = false;
529
+ }
530
+ continuePrimaryKey(key, primaryKey) {
531
+ const effectiveObjectStore = getEffectiveObjectStore(this);
532
+ const transaction = effectiveObjectStore.transaction;
533
+ if (transaction._state !== "active") throw new TransactionInactiveError();
534
+ if (effectiveObjectStore._rawObjectStore.deleted) throw new InvalidStateError();
535
+ if (!(this.source instanceof FDBObjectStore) && this.source._rawIndex.deleted) throw new InvalidStateError();
536
+ if (this.source instanceof FDBObjectStore || this.direction !== "next" && this.direction !== "prev") throw new InvalidAccessError();
537
+ if (!this._gotValue) throw new InvalidStateError();
538
+ if (key === void 0 || primaryKey === void 0) throw new DataError();
539
+ key = valueToKey(key);
540
+ const cmpResult = cmp(key, this._position);
541
+ if (cmpResult === -1 && this.direction === "next" || cmpResult === 1 && this.direction === "prev") throw new DataError();
542
+ const cmpResult2 = cmp(primaryKey, this._objectStorePosition);
543
+ if (cmpResult === 0) {
544
+ if (cmpResult2 <= 0 && this.direction === "next" || cmpResult2 >= 0 && this.direction === "prev") throw new DataError();
545
+ }
546
+ if (this._request) this._request.readyState = "pending";
547
+ transaction._execRequestAsync({
548
+ operation: this._iterate.bind(this, key, primaryKey),
549
+ request: this._request,
550
+ source: this.source
551
+ });
552
+ this._gotValue = false;
553
+ }
554
+ delete() {
555
+ const effectiveObjectStore = getEffectiveObjectStore(this);
556
+ const effectiveKey = Object.hasOwn(this.source, "_rawIndex") ? this.primaryKey : this._position;
557
+ const transaction = effectiveObjectStore.transaction;
558
+ if (transaction._state !== "active") throw new TransactionInactiveError();
559
+ if (transaction.mode === "readonly") throw new ReadOnlyError();
560
+ if (effectiveObjectStore._rawObjectStore.deleted) throw new InvalidStateError();
561
+ if (!(this.source instanceof FDBObjectStore) && this.source._rawIndex.deleted) throw new InvalidStateError();
562
+ if (!this._gotValue || !Object.hasOwn(this, "value")) throw new InvalidStateError();
563
+ return transaction._execRequestAsync({
564
+ operation: effectiveObjectStore._rawObjectStore.deleteRecord.bind(effectiveObjectStore._rawObjectStore, effectiveKey, transaction._rollbackLog),
565
+ source: this
566
+ });
567
+ }
568
+ get [Symbol.toStringTag]() {
569
+ return "IDBCursor";
570
+ }
571
+ };
572
+ //#endregion
573
+ //#region node_modules/.pnpm/fake-indexeddb@6.2.5/node_modules/fake-indexeddb/build/esm/FDBCursorWithValue.js
574
+ var FDBCursorWithValue = class extends FDBCursor {
575
+ value = void 0;
576
+ constructor(source, range, direction, request) {
577
+ super(source, range, direction, request);
578
+ }
579
+ get [Symbol.toStringTag]() {
580
+ return "IDBCursorWithValue";
581
+ }
582
+ };
583
+ //#endregion
584
+ //#region node_modules/.pnpm/fake-indexeddb@6.2.5/node_modules/fake-indexeddb/build/esm/lib/FakeEventTarget.js
585
+ const stopped = (event, listener) => {
586
+ return event.immediatePropagationStopped || event.eventPhase === event.CAPTURING_PHASE && listener.capture === false || event.eventPhase === event.BUBBLING_PHASE && listener.capture === true;
587
+ };
588
+ const invokeEventListeners = (event, obj) => {
589
+ event.currentTarget = obj;
590
+ const errors = [];
591
+ const invoke = (callbackOrObject) => {
592
+ try {
593
+ (typeof callbackOrObject === "function" ? callbackOrObject : callbackOrObject.handleEvent).call(event.currentTarget, event);
594
+ } catch (err) {
595
+ errors.push(err);
596
+ }
597
+ };
598
+ for (const listener of obj.listeners.slice()) {
599
+ if (event.type !== listener.type || stopped(event, listener)) continue;
600
+ invoke(listener.callback);
601
+ }
602
+ const prop = {
603
+ abort: "onabort",
604
+ blocked: "onblocked",
605
+ close: "onclose",
606
+ complete: "oncomplete",
607
+ error: "onerror",
608
+ success: "onsuccess",
609
+ upgradeneeded: "onupgradeneeded",
610
+ versionchange: "onversionchange"
611
+ }[event.type];
612
+ if (prop === void 0) throw new Error(`Unknown event type: "${event.type}"`);
613
+ const callback = event.currentTarget[prop];
614
+ if (callback) {
615
+ const listener = {
616
+ callback,
617
+ capture: false,
618
+ type: event.type
619
+ };
620
+ if (!stopped(event, listener)) invoke(listener.callback);
621
+ }
622
+ if (errors.length) throw new AggregateError(errors);
623
+ };
624
+ var FakeEventTarget = class {
625
+ listeners = [];
626
+ addEventListener(type, callback, options) {
627
+ const capture = !!(typeof options === "object" && options ? options.capture : options);
628
+ this.listeners.push({
629
+ callback,
630
+ capture,
631
+ type
632
+ });
633
+ }
634
+ removeEventListener(type, callback, options) {
635
+ const capture = !!(typeof options === "object" && options ? options.capture : options);
636
+ const i = this.listeners.findIndex((listener) => {
637
+ return listener.type === type && listener.callback === callback && listener.capture === capture;
638
+ });
639
+ this.listeners.splice(i, 1);
640
+ }
641
+ dispatchEvent(event) {
642
+ if (event.dispatched || !event.initialized) throw new InvalidStateError("The object is in an invalid state.");
643
+ event.isTrusted = false;
644
+ event.dispatched = true;
645
+ event.target = this;
646
+ event.eventPhase = event.CAPTURING_PHASE;
647
+ for (const obj of event.eventPath) if (!event.propagationStopped) invokeEventListeners(event, obj);
648
+ event.eventPhase = event.AT_TARGET;
649
+ if (!event.propagationStopped) invokeEventListeners(event, event.target);
650
+ if (event.bubbles) {
651
+ event.eventPath.reverse();
652
+ event.eventPhase = event.BUBBLING_PHASE;
653
+ for (const obj of event.eventPath) if (!event.propagationStopped) invokeEventListeners(event, obj);
654
+ }
655
+ event.dispatched = false;
656
+ event.eventPhase = event.NONE;
657
+ event.currentTarget = null;
658
+ if (event.canceled) return false;
659
+ return true;
660
+ }
661
+ };
662
+ //#endregion
663
+ //#region node_modules/.pnpm/fake-indexeddb@6.2.5/node_modules/fake-indexeddb/build/esm/FDBRequest.js
664
+ var FDBRequest = class extends FakeEventTarget {
665
+ _result = null;
666
+ _error = null;
667
+ source = null;
668
+ transaction = null;
669
+ readyState = "pending";
670
+ onsuccess = null;
671
+ onerror = null;
672
+ get error() {
673
+ if (this.readyState === "pending") throw new InvalidStateError();
674
+ return this._error;
675
+ }
676
+ set error(value) {
677
+ this._error = value;
678
+ }
679
+ get result() {
680
+ if (this.readyState === "pending") throw new InvalidStateError();
681
+ return this._result;
682
+ }
683
+ set result(value) {
684
+ this._result = value;
685
+ }
686
+ get [Symbol.toStringTag]() {
687
+ return "IDBRequest";
688
+ }
689
+ };
690
+ //#endregion
691
+ //#region node_modules/.pnpm/fake-indexeddb@6.2.5/node_modules/fake-indexeddb/build/esm/lib/FakeDOMStringList.js
692
+ var FakeDOMStringList = class {
693
+ constructor(...values) {
694
+ this._values = values;
695
+ for (let i = 0; i < values.length; i++) this[i] = values[i];
696
+ }
697
+ contains(value) {
698
+ return this._values.includes(value);
699
+ }
700
+ item(i) {
701
+ if (i < 0 || i >= this._values.length) return null;
702
+ return this._values[i];
703
+ }
704
+ get length() {
705
+ return this._values.length;
706
+ }
707
+ [Symbol.iterator]() {
708
+ return this._values[Symbol.iterator]();
709
+ }
710
+ _push(...values) {
711
+ for (let i = 0; i < values.length; i++) this[this._values.length + i] = values[i];
712
+ this._values.push(...values);
713
+ }
714
+ _sort(...values) {
715
+ this._values.sort(...values);
716
+ for (let i = 0; i < this._values.length; i++) this[i] = this._values[i];
717
+ return this;
718
+ }
719
+ };
720
+ //#endregion
721
+ //#region node_modules/.pnpm/fake-indexeddb@6.2.5/node_modules/fake-indexeddb/build/esm/lib/valueToKeyRange.js
722
+ const valueToKeyRange = (value, nullDisallowedFlag = false) => {
723
+ if (value instanceof FDBKeyRange) return value;
724
+ if (value === null || value === void 0) {
725
+ if (nullDisallowedFlag) throw new DataError();
726
+ return new FDBKeyRange(void 0, void 0, false, false);
727
+ }
728
+ const key = valueToKey(value);
729
+ return FDBKeyRange.only(key);
730
+ };
731
+ //#endregion
732
+ //#region node_modules/.pnpm/fake-indexeddb@6.2.5/node_modules/fake-indexeddb/build/esm/lib/getKeyPath.js
733
+ const convertKey = (key) => typeof key === "object" && key ? key + "" : key;
734
+ function getKeyPath(keyPath) {
735
+ return Array.isArray(keyPath) ? keyPath.map(convertKey) : convertKey(keyPath);
736
+ }
737
+ //#endregion
738
+ //#region node_modules/.pnpm/fake-indexeddb@6.2.5/node_modules/fake-indexeddb/build/esm/lib/isPotentiallyValidKeyRange.js
739
+ const isPotentiallyValidKeyRange = (value) => {
740
+ if (value instanceof FDBKeyRange) return true;
741
+ return valueToKeyWithoutThrowing(value) !== INVALID_TYPE;
742
+ };
743
+ //#endregion
744
+ //#region node_modules/.pnpm/fake-indexeddb@6.2.5/node_modules/fake-indexeddb/build/esm/lib/enforceRange.js
745
+ const enforceRange = (num, type) => {
746
+ if (isNaN(num) || num < 0 || num > (type === "unsigned long" ? 4294967295 : 9007199254740991)) throw new TypeError();
747
+ if (num >= 0) return Math.floor(num);
748
+ };
749
+ //#endregion
750
+ //#region node_modules/.pnpm/fake-indexeddb@6.2.5/node_modules/fake-indexeddb/build/esm/lib/extractGetAllOptions.js
751
+ const extractGetAllOptions = (queryOrOptions, count, numArguments) => {
752
+ let query;
753
+ let direction;
754
+ if (queryOrOptions === void 0 || queryOrOptions === null || isPotentiallyValidKeyRange(queryOrOptions)) {
755
+ query = queryOrOptions;
756
+ if (numArguments > 1 && count !== void 0) count = enforceRange(count, "unsigned long");
757
+ } else {
758
+ const getAllOptions = queryOrOptions;
759
+ if (getAllOptions.query !== void 0) query = getAllOptions.query;
760
+ if (getAllOptions.count !== void 0) count = enforceRange(getAllOptions.count, "unsigned long");
761
+ if (getAllOptions.direction !== void 0) direction = getAllOptions.direction;
762
+ }
763
+ return {
764
+ query,
765
+ count,
766
+ direction
767
+ };
768
+ };
769
+ //#endregion
770
+ //#region node_modules/.pnpm/fake-indexeddb@6.2.5/node_modules/fake-indexeddb/build/esm/FDBIndex.js
771
+ const confirmActiveTransaction$1 = (index) => {
772
+ if (index._rawIndex.deleted || index.objectStore._rawObjectStore.deleted) throw new InvalidStateError();
773
+ if (index.objectStore.transaction._state !== "active") throw new TransactionInactiveError();
774
+ };
775
+ var FDBIndex = class {
776
+ constructor(objectStore, rawIndex) {
777
+ this._rawIndex = rawIndex;
778
+ this._name = rawIndex.name;
779
+ this.objectStore = objectStore;
780
+ this.keyPath = getKeyPath(rawIndex.keyPath);
781
+ this.multiEntry = rawIndex.multiEntry;
782
+ this.unique = rawIndex.unique;
783
+ }
784
+ get name() {
785
+ return this._name;
786
+ }
787
+ set name(name) {
788
+ const transaction = this.objectStore.transaction;
789
+ if (!transaction.db._runningVersionchangeTransaction) throw transaction._state === "active" ? new InvalidStateError() : new TransactionInactiveError();
790
+ if (transaction._state !== "active") throw new TransactionInactiveError();
791
+ if (this._rawIndex.deleted || this.objectStore._rawObjectStore.deleted) throw new InvalidStateError();
792
+ name = String(name);
793
+ if (name === this._name) return;
794
+ if (this.objectStore.indexNames.contains(name)) throw new ConstraintError();
795
+ const oldName = this._name;
796
+ const oldIndexNames = [...this.objectStore.indexNames];
797
+ this._name = name;
798
+ this._rawIndex.name = name;
799
+ this.objectStore._indexesCache.delete(oldName);
800
+ this.objectStore._indexesCache.set(name, this);
801
+ this.objectStore._rawObjectStore.rawIndexes.delete(oldName);
802
+ this.objectStore._rawObjectStore.rawIndexes.set(name, this._rawIndex);
803
+ this.objectStore.indexNames = new FakeDOMStringList(...Array.from(this.objectStore._rawObjectStore.rawIndexes.keys()).filter((indexName) => {
804
+ const index = this.objectStore._rawObjectStore.rawIndexes.get(indexName);
805
+ return index && !index.deleted;
806
+ }).sort());
807
+ if (!this.objectStore.transaction._createdIndexes.has(this._rawIndex)) transaction._rollbackLog.push(() => {
808
+ this._name = oldName;
809
+ this._rawIndex.name = oldName;
810
+ this.objectStore._indexesCache.delete(name);
811
+ this.objectStore._indexesCache.set(oldName, this);
812
+ this.objectStore._rawObjectStore.rawIndexes.delete(name);
813
+ this.objectStore._rawObjectStore.rawIndexes.set(oldName, this._rawIndex);
814
+ this.objectStore.indexNames = new FakeDOMStringList(...oldIndexNames);
815
+ });
816
+ }
817
+ openCursor(range, direction) {
818
+ confirmActiveTransaction$1(this);
819
+ if (range === null) range = void 0;
820
+ if (range !== void 0 && !(range instanceof FDBKeyRange)) range = FDBKeyRange.only(valueToKey(range));
821
+ const request = new FDBRequest();
822
+ request.source = this;
823
+ request.transaction = this.objectStore.transaction;
824
+ const cursor = new FDBCursorWithValue(this, range, direction, request);
825
+ return this.objectStore.transaction._execRequestAsync({
826
+ operation: cursor._iterate.bind(cursor),
827
+ request,
828
+ source: this
829
+ });
830
+ }
831
+ openKeyCursor(range, direction) {
832
+ confirmActiveTransaction$1(this);
833
+ if (range === null) range = void 0;
834
+ if (range !== void 0 && !(range instanceof FDBKeyRange)) range = FDBKeyRange.only(valueToKey(range));
835
+ const request = new FDBRequest();
836
+ request.source = this;
837
+ request.transaction = this.objectStore.transaction;
838
+ const cursor = new FDBCursor(this, range, direction, request, true);
839
+ return this.objectStore.transaction._execRequestAsync({
840
+ operation: cursor._iterate.bind(cursor),
841
+ request,
842
+ source: this
843
+ });
844
+ }
845
+ get(key) {
846
+ confirmActiveTransaction$1(this);
847
+ if (!(key instanceof FDBKeyRange)) key = valueToKey(key);
848
+ return this.objectStore.transaction._execRequestAsync({
849
+ operation: this._rawIndex.getValue.bind(this._rawIndex, key),
850
+ source: this
851
+ });
852
+ }
853
+ getAll(queryOrOptions, count) {
854
+ const options = extractGetAllOptions(queryOrOptions, count, arguments.length);
855
+ confirmActiveTransaction$1(this);
856
+ const range = valueToKeyRange(options.query);
857
+ return this.objectStore.transaction._execRequestAsync({
858
+ operation: this._rawIndex.getAllValues.bind(this._rawIndex, range, options.count, options.direction),
859
+ source: this
860
+ });
861
+ }
862
+ getKey(key) {
863
+ confirmActiveTransaction$1(this);
864
+ if (!(key instanceof FDBKeyRange)) key = valueToKey(key);
865
+ return this.objectStore.transaction._execRequestAsync({
866
+ operation: this._rawIndex.getKey.bind(this._rawIndex, key),
867
+ source: this
868
+ });
869
+ }
870
+ getAllKeys(queryOrOptions, count) {
871
+ const options = extractGetAllOptions(queryOrOptions, count, arguments.length);
872
+ confirmActiveTransaction$1(this);
873
+ const range = valueToKeyRange(options.query);
874
+ return this.objectStore.transaction._execRequestAsync({
875
+ operation: this._rawIndex.getAllKeys.bind(this._rawIndex, range, options.count, options.direction),
876
+ source: this
877
+ });
878
+ }
879
+ getAllRecords(options) {
880
+ let query;
881
+ let count;
882
+ let direction;
883
+ if (options !== void 0) {
884
+ if (options.query !== void 0) query = options.query;
885
+ if (options.count !== void 0) count = enforceRange(options.count, "unsigned long");
886
+ if (options.direction !== void 0) direction = options.direction;
887
+ }
888
+ confirmActiveTransaction$1(this);
889
+ const range = valueToKeyRange(query);
890
+ return this.objectStore.transaction._execRequestAsync({
891
+ operation: this._rawIndex.getAllRecords.bind(this._rawIndex, range, count, direction),
892
+ source: this
893
+ });
894
+ }
895
+ count(key) {
896
+ confirmActiveTransaction$1(this);
897
+ if (key === null) key = void 0;
898
+ if (key !== void 0 && !(key instanceof FDBKeyRange)) key = FDBKeyRange.only(valueToKey(key));
899
+ return this.objectStore.transaction._execRequestAsync({
900
+ operation: () => {
901
+ return this._rawIndex.count(key);
902
+ },
903
+ source: this
904
+ });
905
+ }
906
+ get [Symbol.toStringTag]() {
907
+ return "IDBIndex";
908
+ }
909
+ };
910
+ //#endregion
911
+ //#region node_modules/.pnpm/fake-indexeddb@6.2.5/node_modules/fake-indexeddb/build/esm/lib/canInjectKey.js
912
+ const canInjectKey = (keyPath, value) => {
913
+ if (Array.isArray(keyPath)) throw new Error("The key paths used in this section are always strings and never sequences, since it is not possible to create a object store which has a key generator and also has a key path that is a sequence.");
914
+ const identifiers = keyPath.split(".");
915
+ if (identifiers.length === 0) throw new Error("Assert: identifiers is not empty");
916
+ identifiers.pop();
917
+ for (const identifier of identifiers) {
918
+ if (typeof value !== "object" && !Array.isArray(value)) return false;
919
+ if (!Object.hasOwn(value, identifier)) return true;
920
+ value = value[identifier];
921
+ }
922
+ return typeof value === "object" || Array.isArray(value);
923
+ };
924
+ //#endregion
925
+ //#region node_modules/.pnpm/fake-indexeddb@6.2.5/node_modules/fake-indexeddb/build/esm/FDBRecord.js
926
+ var FDBRecord = class {
927
+ constructor(key, primaryKey, value) {
928
+ this._key = key;
929
+ this._primaryKey = primaryKey;
930
+ this._value = value;
931
+ }
932
+ get key() {
933
+ return this._key;
934
+ }
935
+ set key(_) {}
936
+ get primaryKey() {
937
+ return this._primaryKey;
938
+ }
939
+ set primaryKey(_) {}
940
+ get value() {
941
+ return this._value;
942
+ }
943
+ set value(_) {}
944
+ get [Symbol.toStringTag]() {
945
+ return "IDBRecord";
946
+ }
947
+ };
948
+ //#endregion
949
+ //#region node_modules/.pnpm/fake-indexeddb@6.2.5/node_modules/fake-indexeddb/build/esm/lib/binarySearchTree.js
950
+ const MAX_TOMBSTONE_FACTOR = 2 / 3;
951
+ const EVERYTHING_KEY_RANGE = new FDBKeyRange(void 0, void 0, false, false);
952
+ /**
953
+ * Simple red-black binary tree with some aspects of a scapegoat tree. The main goal here is simplicity of
954
+ * implementation, tailored to the needs of IndexedDB.
955
+ *
956
+ * Basically this implements a [red-black tree][1] for insertions, but uses the much simpler [scapegoat tree][2]
957
+ * strategy for deletions. Deletions are a simple matter of rebuilding the tree from scratch if more than 2/3 of the
958
+ * tree is full of deleted (tombstone) markers.
959
+ *
960
+ * [1]: https://en.wikipedia.org/wiki/Red%E2%80%93black_tree
961
+ * [2]: https://en.wikipedia.org/wiki/Scapegoat_tree
962
+ */
963
+ var BinarySearchTree = class {
964
+ _numTombstones = 0;
965
+ _numNodes = 0;
966
+ /**
967
+ *
968
+ * @param keysAreUnique - whether keys can be unique, and thus whether we cn skip checking `record.value` when
969
+ * comparing. This is basically used to distinguish ObjectStores (where the value is the entire object, not used
970
+ * as a key) from non-unique Indexes (where both the key and the value are meaningful keys used for sorting)
971
+ */
972
+ constructor(keysAreUnique) {
973
+ this._keysAreUnique = !!keysAreUnique;
974
+ }
975
+ size() {
976
+ return this._numNodes - this._numTombstones;
977
+ }
978
+ get(record) {
979
+ return this._getByComparator(this._root, (otherRecord) => this._compare(record, otherRecord));
980
+ }
981
+ contains(record) {
982
+ return !!this.get(record);
983
+ }
984
+ _compare(a, b) {
985
+ const keyComparison = cmp(a.key, b.key);
986
+ if (keyComparison !== 0) return keyComparison;
987
+ return this._keysAreUnique ? 0 : cmp(a.value, b.value);
988
+ }
989
+ _getByComparator(node, comparator) {
990
+ let current = node;
991
+ while (current) {
992
+ const comparison = comparator(current.record);
993
+ if (comparison < 0) current = current.left;
994
+ else if (comparison > 0) current = current.right;
995
+ else return current.record;
996
+ }
997
+ }
998
+ /**
999
+ * Put a new record, and return the overwritten record if an overwrite occurred.
1000
+ * @param record
1001
+ * @param noOverwrite - throw a ConstraintError in case of overwrite
1002
+ */
1003
+ put(record, noOverwrite = false) {
1004
+ if (!this._root) {
1005
+ this._root = {
1006
+ record,
1007
+ left: void 0,
1008
+ right: void 0,
1009
+ parent: void 0,
1010
+ deleted: false,
1011
+ red: false
1012
+ };
1013
+ this._numNodes++;
1014
+ return;
1015
+ }
1016
+ return this._put(this._root, record, noOverwrite);
1017
+ }
1018
+ _put(node, record, noOverwrite) {
1019
+ const comparison = this._compare(record, node.record);
1020
+ if (comparison < 0) if (node.left) return this._put(node.left, record, noOverwrite);
1021
+ else {
1022
+ node.left = {
1023
+ record,
1024
+ left: void 0,
1025
+ right: void 0,
1026
+ parent: node,
1027
+ deleted: false,
1028
+ red: true
1029
+ };
1030
+ this._onNewNodeInserted(node.left);
1031
+ }
1032
+ else if (comparison > 0) if (node.right) return this._put(node.right, record, noOverwrite);
1033
+ else {
1034
+ node.right = {
1035
+ record,
1036
+ left: void 0,
1037
+ right: void 0,
1038
+ parent: node,
1039
+ deleted: false,
1040
+ red: true
1041
+ };
1042
+ this._onNewNodeInserted(node.right);
1043
+ }
1044
+ else if (node.deleted) {
1045
+ node.deleted = false;
1046
+ node.record = record;
1047
+ this._numTombstones--;
1048
+ } else if (noOverwrite) throw new ConstraintError();
1049
+ else {
1050
+ const overwrittenRecord = node.record;
1051
+ node.record = record;
1052
+ return overwrittenRecord;
1053
+ }
1054
+ }
1055
+ delete(record) {
1056
+ if (!this._root) return;
1057
+ this._delete(this._root, record);
1058
+ if (this._numTombstones > this._numNodes * MAX_TOMBSTONE_FACTOR) {
1059
+ const records = [...this.getAllRecords()];
1060
+ this._root = this._rebuild(records, void 0, false);
1061
+ this._numNodes = records.length;
1062
+ this._numTombstones = 0;
1063
+ }
1064
+ }
1065
+ _delete(node, record) {
1066
+ if (!node) return;
1067
+ const comparison = this._compare(record, node.record);
1068
+ if (comparison < 0) this._delete(node.left, record);
1069
+ else if (comparison > 0) this._delete(node.right, record);
1070
+ else if (!node.deleted) {
1071
+ this._numTombstones++;
1072
+ node.deleted = true;
1073
+ }
1074
+ }
1075
+ *getAllRecords(descending = false) {
1076
+ yield* this.getRecords(EVERYTHING_KEY_RANGE, descending);
1077
+ }
1078
+ *getRecords(keyRange, descending = false) {
1079
+ yield* this._getRecordsForNode(this._root, keyRange, descending);
1080
+ }
1081
+ *_getRecordsForNode(node, keyRange, descending = false) {
1082
+ if (!node) return;
1083
+ yield* this._findRecords(node, keyRange, descending);
1084
+ }
1085
+ *_findRecords(node, keyRange, descending = false) {
1086
+ const { lower, upper, lowerOpen, upperOpen } = keyRange;
1087
+ const { record: { key } } = node;
1088
+ const lowerComparison = lower === void 0 ? -1 : cmp(lower, key);
1089
+ const upperComparison = upper === void 0 ? 1 : cmp(upper, key);
1090
+ const moreLeft = this._keysAreUnique ? lowerComparison < 0 : lowerComparison <= 0;
1091
+ const moreRight = this._keysAreUnique ? upperComparison > 0 : upperComparison >= 0;
1092
+ const moreStart = descending ? moreRight : moreLeft;
1093
+ const moreEnd = descending ? moreLeft : moreRight;
1094
+ const start = descending ? "right" : "left";
1095
+ const end = descending ? "left" : "right";
1096
+ const lowerMatches = lowerOpen ? lowerComparison < 0 : lowerComparison <= 0;
1097
+ const upperMatches = upperOpen ? upperComparison > 0 : upperComparison >= 0;
1098
+ if (moreStart && node[start]) yield* this._findRecords(node[start], keyRange, descending);
1099
+ if (lowerMatches && upperMatches && !node.deleted) yield node.record;
1100
+ if (moreEnd && node[end]) yield* this._findRecords(node[end], keyRange, descending);
1101
+ }
1102
+ _onNewNodeInserted(newNode) {
1103
+ this._numNodes++;
1104
+ this._rebalanceTree(newNode);
1105
+ }
1106
+ _rebalanceTree(node) {
1107
+ let parent = node.parent;
1108
+ do {
1109
+ if (!parent.red) return;
1110
+ const grandparent = parent.parent;
1111
+ if (!grandparent) {
1112
+ parent.red = false;
1113
+ return;
1114
+ }
1115
+ const parentIsRightChild = parent === grandparent.right;
1116
+ const uncle = parentIsRightChild ? grandparent.left : grandparent.right;
1117
+ if (!uncle || !uncle.red) {
1118
+ if (node === (parentIsRightChild ? parent.left : parent.right)) {
1119
+ this._rotateSubtree(parent, parentIsRightChild);
1120
+ node = parent;
1121
+ parent = parentIsRightChild ? grandparent.right : grandparent.left;
1122
+ }
1123
+ this._rotateSubtree(grandparent, !parentIsRightChild);
1124
+ parent.red = false;
1125
+ grandparent.red = true;
1126
+ return;
1127
+ }
1128
+ parent.red = false;
1129
+ uncle.red = false;
1130
+ grandparent.red = true;
1131
+ node = grandparent;
1132
+ } while (node.parent ? parent = node.parent : false);
1133
+ }
1134
+ _rotateSubtree(node, right) {
1135
+ const parent = node.parent;
1136
+ const newRoot = right ? node.left : node.right;
1137
+ const newChild = right ? newRoot.right : newRoot.left;
1138
+ node[right ? "left" : "right"] = newChild;
1139
+ if (newChild) newChild.parent = node;
1140
+ newRoot[right ? "right" : "left"] = node;
1141
+ newRoot.parent = parent;
1142
+ node.parent = newRoot;
1143
+ if (parent) parent[node === parent.right ? "right" : "left"] = newRoot;
1144
+ else this._root = newRoot;
1145
+ return newRoot;
1146
+ }
1147
+ _rebuild(records, parent, red) {
1148
+ const { length } = records;
1149
+ if (!length) return;
1150
+ const mid = length >>> 1;
1151
+ const node = {
1152
+ record: records[mid],
1153
+ left: void 0,
1154
+ right: void 0,
1155
+ parent,
1156
+ deleted: false,
1157
+ red
1158
+ };
1159
+ const left = this._rebuild(records.slice(0, mid), node, !red);
1160
+ const right = this._rebuild(records.slice(mid + 1), node, !red);
1161
+ node.left = left;
1162
+ node.right = right;
1163
+ return node;
1164
+ }
1165
+ };
1166
+ //#endregion
1167
+ //#region node_modules/.pnpm/fake-indexeddb@6.2.5/node_modules/fake-indexeddb/build/esm/lib/RecordStore.js
1168
+ var RecordStore = class {
1169
+ constructor(keysAreUnique) {
1170
+ this.keysAreUnique = keysAreUnique;
1171
+ this.records = new BinarySearchTree(this.keysAreUnique);
1172
+ }
1173
+ get(key) {
1174
+ const range = key instanceof FDBKeyRange ? key : FDBKeyRange.only(key);
1175
+ return this.records.getRecords(range).next().value;
1176
+ }
1177
+ /**
1178
+ * Put a new record, and return the overwritten record if an overwrite occurred.
1179
+ * @param newRecord
1180
+ * @param noOverwrite - throw a ConstraintError in case of overwrite
1181
+ */
1182
+ put(newRecord, noOverwrite = false) {
1183
+ return this.records.put(newRecord, noOverwrite);
1184
+ }
1185
+ delete(key) {
1186
+ const range = key instanceof FDBKeyRange ? key : FDBKeyRange.only(key);
1187
+ const deletedRecords = [...this.records.getRecords(range)];
1188
+ for (const record of deletedRecords) this.records.delete(record);
1189
+ return deletedRecords;
1190
+ }
1191
+ deleteByValue(key) {
1192
+ const range = key instanceof FDBKeyRange ? key : FDBKeyRange.only(key);
1193
+ const deletedRecords = [];
1194
+ for (const record of this.records.getAllRecords()) if (range.includes(record.value)) {
1195
+ this.records.delete(record);
1196
+ deletedRecords.push(record);
1197
+ }
1198
+ return deletedRecords;
1199
+ }
1200
+ clear() {
1201
+ const deletedRecords = [...this.records.getAllRecords()];
1202
+ this.records = new BinarySearchTree(this.keysAreUnique);
1203
+ return deletedRecords;
1204
+ }
1205
+ values(range, direction = "next") {
1206
+ const descending = direction === "prev" || direction === "prevunique";
1207
+ const records = range ? this.records.getRecords(range, descending) : this.records.getAllRecords(descending);
1208
+ return { [Symbol.iterator]: () => {
1209
+ const next = () => {
1210
+ return records.next();
1211
+ };
1212
+ if (direction === "next" || direction === "prev") return { next };
1213
+ if (direction === "nextunique") {
1214
+ let previousValue = void 0;
1215
+ return { next: () => {
1216
+ let current = next();
1217
+ while (!current.done && previousValue !== void 0 && cmp(previousValue.key, current.value.key) === 0) current = next();
1218
+ previousValue = current.value;
1219
+ return current;
1220
+ } };
1221
+ }
1222
+ let current = next();
1223
+ let nextResult = next();
1224
+ return { next: () => {
1225
+ while (!nextResult.done && cmp(current.value.key, nextResult.value.key) === 0) {
1226
+ current = nextResult;
1227
+ nextResult = next();
1228
+ }
1229
+ const result = current;
1230
+ current = nextResult;
1231
+ nextResult = next();
1232
+ return result;
1233
+ } };
1234
+ } };
1235
+ }
1236
+ size() {
1237
+ return this.records.size();
1238
+ }
1239
+ };
1240
+ //#endregion
1241
+ //#region node_modules/.pnpm/fake-indexeddb@6.2.5/node_modules/fake-indexeddb/build/esm/lib/Index.js
1242
+ var Index = class {
1243
+ deleted = false;
1244
+ initialized = false;
1245
+ constructor(rawObjectStore, name, keyPath, multiEntry, unique) {
1246
+ this.rawObjectStore = rawObjectStore;
1247
+ this.name = name;
1248
+ this.keyPath = keyPath;
1249
+ this.multiEntry = multiEntry;
1250
+ this.unique = unique;
1251
+ this.records = new RecordStore(unique);
1252
+ }
1253
+ getKey(key) {
1254
+ const record = this.records.get(key);
1255
+ return record !== void 0 ? record.value : void 0;
1256
+ }
1257
+ getAllKeys(range, count, direction) {
1258
+ if (count === void 0 || count === 0) count = Infinity;
1259
+ const records = [];
1260
+ for (const record of this.records.values(range, direction)) {
1261
+ records.push(structuredClone(record.value));
1262
+ if (records.length >= count) break;
1263
+ }
1264
+ return records;
1265
+ }
1266
+ getValue(key) {
1267
+ const record = this.records.get(key);
1268
+ return record !== void 0 ? this.rawObjectStore.getValue(record.value) : void 0;
1269
+ }
1270
+ getAllValues(range, count, direction) {
1271
+ if (count === void 0 || count === 0) count = Infinity;
1272
+ const records = [];
1273
+ for (const record of this.records.values(range, direction)) {
1274
+ records.push(this.rawObjectStore.getValue(record.value));
1275
+ if (records.length >= count) break;
1276
+ }
1277
+ return records;
1278
+ }
1279
+ getAllRecords(range, count, direction) {
1280
+ if (count === void 0 || count === 0) count = Infinity;
1281
+ const records = [];
1282
+ for (const record of this.records.values(range, direction)) {
1283
+ records.push(new FDBRecord(structuredClone(record.key), structuredClone(this.rawObjectStore.getKey(record.value)), this.rawObjectStore.getValue(record.value)));
1284
+ if (records.length >= count) break;
1285
+ }
1286
+ return records;
1287
+ }
1288
+ storeRecord(newRecord) {
1289
+ let indexKey;
1290
+ try {
1291
+ indexKey = extractKey(this.keyPath, newRecord.value).key;
1292
+ } catch (err) {
1293
+ if (err.name === "DataError") return;
1294
+ throw err;
1295
+ }
1296
+ if (!this.multiEntry || !Array.isArray(indexKey)) try {
1297
+ valueToKey(indexKey);
1298
+ } catch (e) {
1299
+ return;
1300
+ }
1301
+ else {
1302
+ const keep = [];
1303
+ for (const part of indexKey) if (keep.indexOf(part) < 0) try {
1304
+ keep.push(valueToKey(part));
1305
+ } catch (err) {}
1306
+ indexKey = keep;
1307
+ }
1308
+ if (!this.multiEntry || !Array.isArray(indexKey)) {
1309
+ if (this.unique) {
1310
+ if (this.records.get(indexKey)) throw new ConstraintError();
1311
+ }
1312
+ } else if (this.unique) {
1313
+ for (const individualIndexKey of indexKey) if (this.records.get(individualIndexKey)) throw new ConstraintError();
1314
+ }
1315
+ if (!this.multiEntry || !Array.isArray(indexKey)) this.records.put({
1316
+ key: indexKey,
1317
+ value: newRecord.key
1318
+ });
1319
+ else for (const individualIndexKey of indexKey) this.records.put({
1320
+ key: individualIndexKey,
1321
+ value: newRecord.key
1322
+ });
1323
+ }
1324
+ initialize(transaction) {
1325
+ if (this.initialized) throw new Error("Index already initialized");
1326
+ transaction._execRequestAsync({
1327
+ operation: () => {
1328
+ try {
1329
+ for (const record of this.rawObjectStore.records.values()) this.storeRecord(record);
1330
+ this.initialized = true;
1331
+ } catch (err) {
1332
+ transaction._abort(err.name);
1333
+ }
1334
+ },
1335
+ source: null
1336
+ });
1337
+ }
1338
+ count(range) {
1339
+ let count = 0;
1340
+ for (const record of this.records.values(range)) count += 1;
1341
+ return count;
1342
+ }
1343
+ };
1344
+ //#endregion
1345
+ //#region node_modules/.pnpm/fake-indexeddb@6.2.5/node_modules/fake-indexeddb/build/esm/lib/validateKeyPath.js
1346
+ const validateKeyPath = (keyPath, parent) => {
1347
+ if (keyPath !== void 0 && keyPath !== null && typeof keyPath !== "string" && keyPath.toString && (parent === "array" || !Array.isArray(keyPath))) keyPath = keyPath.toString();
1348
+ if (typeof keyPath === "string") {
1349
+ if (keyPath === "" && parent !== "string") return;
1350
+ try {
1351
+ if (keyPath.length >= 1 && /^(?:[$A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B2\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA7AD\uA7B0\uA7B1\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB5F\uAB64\uAB65\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC])(?:[$0-9A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B2\u08E4-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA69D\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA7AD\uA7B0\uA7B1\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB5F\uAB64\uAB65\uABC0-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2D\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC])*$/.test(keyPath)) return;
1352
+ } catch (err) {
1353
+ throw new SyntaxError(err.message);
1354
+ }
1355
+ if (keyPath.indexOf(" ") >= 0) throw new SyntaxError("The keypath argument contains an invalid key path (no spaces allowed).");
1356
+ }
1357
+ if (Array.isArray(keyPath) && keyPath.length > 0) {
1358
+ if (parent) throw new SyntaxError("The keypath argument contains an invalid key path (nested arrays).");
1359
+ for (const part of keyPath) validateKeyPath(part, "array");
1360
+ return;
1361
+ } else if (typeof keyPath === "string" && keyPath.indexOf(".") >= 0) {
1362
+ keyPath = keyPath.split(".");
1363
+ for (const part of keyPath) validateKeyPath(part, "string");
1364
+ return;
1365
+ }
1366
+ throw new SyntaxError();
1367
+ };
1368
+ //#endregion
1369
+ //#region node_modules/.pnpm/fake-indexeddb@6.2.5/node_modules/fake-indexeddb/build/esm/FDBObjectStore.js
1370
+ const confirmActiveTransaction = (objectStore) => {
1371
+ if (objectStore._rawObjectStore.deleted) throw new InvalidStateError();
1372
+ if (objectStore.transaction._state !== "active") throw new TransactionInactiveError();
1373
+ };
1374
+ const buildRecordAddPut = (objectStore, value, key) => {
1375
+ confirmActiveTransaction(objectStore);
1376
+ if (objectStore.transaction.mode === "readonly") throw new ReadOnlyError();
1377
+ if (objectStore.keyPath !== null) {
1378
+ if (key !== void 0) throw new DataError();
1379
+ }
1380
+ const clone = cloneValueForInsertion(value, objectStore.transaction);
1381
+ if (objectStore.keyPath !== null) {
1382
+ const tempKey = extractKey(objectStore.keyPath, clone);
1383
+ if (tempKey.type === "found") valueToKey(tempKey.key);
1384
+ else if (!objectStore._rawObjectStore.keyGenerator) throw new DataError();
1385
+ else if (!canInjectKey(objectStore.keyPath, clone)) throw new DataError();
1386
+ }
1387
+ if (objectStore.keyPath === null && objectStore._rawObjectStore.keyGenerator === null && key === void 0) throw new DataError();
1388
+ if (key !== void 0) key = valueToKey(key);
1389
+ return {
1390
+ key,
1391
+ value: clone
1392
+ };
1393
+ };
1394
+ var FDBObjectStore = class {
1395
+ _indexesCache = /* @__PURE__ */ new Map();
1396
+ constructor(transaction, rawObjectStore) {
1397
+ this._rawObjectStore = rawObjectStore;
1398
+ this._name = rawObjectStore.name;
1399
+ this.keyPath = getKeyPath(rawObjectStore.keyPath);
1400
+ this.autoIncrement = rawObjectStore.autoIncrement;
1401
+ this.transaction = transaction;
1402
+ this.indexNames = new FakeDOMStringList(...Array.from(rawObjectStore.rawIndexes.keys()).sort());
1403
+ }
1404
+ get name() {
1405
+ return this._name;
1406
+ }
1407
+ set name(name) {
1408
+ const transaction = this.transaction;
1409
+ if (!transaction.db._runningVersionchangeTransaction) throw transaction._state === "active" ? new InvalidStateError() : new TransactionInactiveError();
1410
+ confirmActiveTransaction(this);
1411
+ name = String(name);
1412
+ if (name === this._name) return;
1413
+ if (this._rawObjectStore.rawDatabase.rawObjectStores.has(name)) throw new ConstraintError();
1414
+ const oldName = this._name;
1415
+ const oldObjectStoreNames = [...transaction.db.objectStoreNames];
1416
+ this._name = name;
1417
+ this._rawObjectStore.name = name;
1418
+ this.transaction._objectStoresCache.delete(oldName);
1419
+ this.transaction._objectStoresCache.set(name, this);
1420
+ this._rawObjectStore.rawDatabase.rawObjectStores.delete(oldName);
1421
+ this._rawObjectStore.rawDatabase.rawObjectStores.set(name, this._rawObjectStore);
1422
+ transaction.db.objectStoreNames = new FakeDOMStringList(...Array.from(this._rawObjectStore.rawDatabase.rawObjectStores.keys()).filter((objectStoreName) => {
1423
+ const objectStore = this._rawObjectStore.rawDatabase.rawObjectStores.get(objectStoreName);
1424
+ return objectStore && !objectStore.deleted;
1425
+ }).sort());
1426
+ const oldScope = new Set(transaction._scope);
1427
+ const oldTransactionObjectStoreNames = [...transaction.objectStoreNames];
1428
+ this.transaction._scope.delete(oldName);
1429
+ transaction._scope.add(name);
1430
+ transaction.objectStoreNames = new FakeDOMStringList(...Array.from(transaction._scope).sort());
1431
+ if (!this.transaction._createdObjectStores.has(this._rawObjectStore)) transaction._rollbackLog.push(() => {
1432
+ this._name = oldName;
1433
+ this._rawObjectStore.name = oldName;
1434
+ this.transaction._objectStoresCache.delete(name);
1435
+ this.transaction._objectStoresCache.set(oldName, this);
1436
+ this._rawObjectStore.rawDatabase.rawObjectStores.delete(name);
1437
+ this._rawObjectStore.rawDatabase.rawObjectStores.set(oldName, this._rawObjectStore);
1438
+ transaction.db.objectStoreNames = new FakeDOMStringList(...oldObjectStoreNames);
1439
+ transaction._scope = oldScope;
1440
+ transaction.objectStoreNames = new FakeDOMStringList(...oldTransactionObjectStoreNames);
1441
+ });
1442
+ }
1443
+ put(value, key) {
1444
+ if (arguments.length === 0) throw new TypeError();
1445
+ const record = buildRecordAddPut(this, value, key);
1446
+ return this.transaction._execRequestAsync({
1447
+ operation: this._rawObjectStore.storeRecord.bind(this._rawObjectStore, record, false, this.transaction._rollbackLog),
1448
+ source: this
1449
+ });
1450
+ }
1451
+ add(value, key) {
1452
+ if (arguments.length === 0) throw new TypeError();
1453
+ const record = buildRecordAddPut(this, value, key);
1454
+ return this.transaction._execRequestAsync({
1455
+ operation: this._rawObjectStore.storeRecord.bind(this._rawObjectStore, record, true, this.transaction._rollbackLog),
1456
+ source: this
1457
+ });
1458
+ }
1459
+ delete(key) {
1460
+ if (arguments.length === 0) throw new TypeError();
1461
+ confirmActiveTransaction(this);
1462
+ if (this.transaction.mode === "readonly") throw new ReadOnlyError();
1463
+ if (!(key instanceof FDBKeyRange)) key = valueToKey(key);
1464
+ return this.transaction._execRequestAsync({
1465
+ operation: this._rawObjectStore.deleteRecord.bind(this._rawObjectStore, key, this.transaction._rollbackLog),
1466
+ source: this
1467
+ });
1468
+ }
1469
+ get(key) {
1470
+ if (arguments.length === 0) throw new TypeError();
1471
+ confirmActiveTransaction(this);
1472
+ if (!(key instanceof FDBKeyRange)) key = valueToKey(key);
1473
+ return this.transaction._execRequestAsync({
1474
+ operation: this._rawObjectStore.getValue.bind(this._rawObjectStore, key),
1475
+ source: this
1476
+ });
1477
+ }
1478
+ getAll(queryOrOptions, count) {
1479
+ const options = extractGetAllOptions(queryOrOptions, count, arguments.length);
1480
+ confirmActiveTransaction(this);
1481
+ const range = valueToKeyRange(options.query);
1482
+ return this.transaction._execRequestAsync({
1483
+ operation: this._rawObjectStore.getAllValues.bind(this._rawObjectStore, range, options.count, options.direction),
1484
+ source: this
1485
+ });
1486
+ }
1487
+ getKey(key) {
1488
+ if (arguments.length === 0) throw new TypeError();
1489
+ confirmActiveTransaction(this);
1490
+ if (!(key instanceof FDBKeyRange)) key = valueToKey(key);
1491
+ return this.transaction._execRequestAsync({
1492
+ operation: this._rawObjectStore.getKey.bind(this._rawObjectStore, key),
1493
+ source: this
1494
+ });
1495
+ }
1496
+ getAllKeys(queryOrOptions, count) {
1497
+ const options = extractGetAllOptions(queryOrOptions, count, arguments.length);
1498
+ confirmActiveTransaction(this);
1499
+ const range = valueToKeyRange(options.query);
1500
+ return this.transaction._execRequestAsync({
1501
+ operation: this._rawObjectStore.getAllKeys.bind(this._rawObjectStore, range, options.count, options.direction),
1502
+ source: this
1503
+ });
1504
+ }
1505
+ getAllRecords(options) {
1506
+ let query;
1507
+ let count;
1508
+ let direction;
1509
+ if (options !== void 0) {
1510
+ if (options.query !== void 0) query = options.query;
1511
+ if (options.count !== void 0) count = enforceRange(options.count, "unsigned long");
1512
+ if (options.direction !== void 0) direction = options.direction;
1513
+ }
1514
+ confirmActiveTransaction(this);
1515
+ const range = valueToKeyRange(query);
1516
+ return this.transaction._execRequestAsync({
1517
+ operation: this._rawObjectStore.getAllRecords.bind(this._rawObjectStore, range, count, direction),
1518
+ source: this
1519
+ });
1520
+ }
1521
+ clear() {
1522
+ confirmActiveTransaction(this);
1523
+ if (this.transaction.mode === "readonly") throw new ReadOnlyError();
1524
+ return this.transaction._execRequestAsync({
1525
+ operation: this._rawObjectStore.clear.bind(this._rawObjectStore, this.transaction._rollbackLog),
1526
+ source: this
1527
+ });
1528
+ }
1529
+ openCursor(range, direction) {
1530
+ confirmActiveTransaction(this);
1531
+ if (range === null) range = void 0;
1532
+ if (range !== void 0 && !(range instanceof FDBKeyRange)) range = FDBKeyRange.only(valueToKey(range));
1533
+ const request = new FDBRequest();
1534
+ request.source = this;
1535
+ request.transaction = this.transaction;
1536
+ const cursor = new FDBCursorWithValue(this, range, direction, request);
1537
+ return this.transaction._execRequestAsync({
1538
+ operation: cursor._iterate.bind(cursor),
1539
+ request,
1540
+ source: this
1541
+ });
1542
+ }
1543
+ openKeyCursor(range, direction) {
1544
+ confirmActiveTransaction(this);
1545
+ if (range === null) range = void 0;
1546
+ if (range !== void 0 && !(range instanceof FDBKeyRange)) range = FDBKeyRange.only(valueToKey(range));
1547
+ const request = new FDBRequest();
1548
+ request.source = this;
1549
+ request.transaction = this.transaction;
1550
+ const cursor = new FDBCursor(this, range, direction, request, true);
1551
+ return this.transaction._execRequestAsync({
1552
+ operation: cursor._iterate.bind(cursor),
1553
+ request,
1554
+ source: this
1555
+ });
1556
+ }
1557
+ createIndex(name, keyPath, optionalParameters = {}) {
1558
+ if (arguments.length < 2) throw new TypeError();
1559
+ const multiEntry = optionalParameters.multiEntry !== void 0 ? optionalParameters.multiEntry : false;
1560
+ const unique = optionalParameters.unique !== void 0 ? optionalParameters.unique : false;
1561
+ if (this.transaction.mode !== "versionchange") throw new InvalidStateError();
1562
+ confirmActiveTransaction(this);
1563
+ if (this.indexNames.contains(name)) throw new ConstraintError();
1564
+ validateKeyPath(keyPath);
1565
+ if (Array.isArray(keyPath) && multiEntry) throw new InvalidAccessError();
1566
+ const indexNames = [...this.indexNames];
1567
+ const index = new Index(this._rawObjectStore, name, keyPath, multiEntry, unique);
1568
+ this.indexNames._push(name);
1569
+ this.indexNames._sort();
1570
+ this.transaction._createdIndexes.add(index);
1571
+ this._rawObjectStore.rawIndexes.set(name, index);
1572
+ index.initialize(this.transaction);
1573
+ this.transaction._rollbackLog.push(() => {
1574
+ index.deleted = true;
1575
+ this.indexNames = new FakeDOMStringList(...indexNames);
1576
+ this._rawObjectStore.rawIndexes.delete(index.name);
1577
+ });
1578
+ return new FDBIndex(this, index);
1579
+ }
1580
+ index(name) {
1581
+ if (arguments.length === 0) throw new TypeError();
1582
+ if (this._rawObjectStore.deleted || this.transaction._state === "finished") throw new InvalidStateError();
1583
+ const index = this._indexesCache.get(name);
1584
+ if (index !== void 0) return index;
1585
+ const rawIndex = this._rawObjectStore.rawIndexes.get(name);
1586
+ if (!this.indexNames.contains(name) || rawIndex === void 0) throw new NotFoundError();
1587
+ const index2 = new FDBIndex(this, rawIndex);
1588
+ this._indexesCache.set(name, index2);
1589
+ return index2;
1590
+ }
1591
+ deleteIndex(name) {
1592
+ if (arguments.length === 0) throw new TypeError();
1593
+ if (this.transaction.mode !== "versionchange") throw new InvalidStateError();
1594
+ confirmActiveTransaction(this);
1595
+ const rawIndex = this._rawObjectStore.rawIndexes.get(name);
1596
+ if (rawIndex === void 0) throw new NotFoundError();
1597
+ this.transaction._rollbackLog.push(() => {
1598
+ rawIndex.deleted = false;
1599
+ this._rawObjectStore.rawIndexes.set(rawIndex.name, rawIndex);
1600
+ this.indexNames._push(rawIndex.name);
1601
+ this.indexNames._sort();
1602
+ });
1603
+ this.indexNames = new FakeDOMStringList(...Array.from(this.indexNames).filter((indexName) => {
1604
+ return indexName !== name;
1605
+ }));
1606
+ rawIndex.deleted = true;
1607
+ this.transaction._execRequestAsync({
1608
+ operation: () => {
1609
+ if (rawIndex === this._rawObjectStore.rawIndexes.get(name)) this._rawObjectStore.rawIndexes.delete(name);
1610
+ },
1611
+ source: this
1612
+ });
1613
+ }
1614
+ count(key) {
1615
+ confirmActiveTransaction(this);
1616
+ if (key === null) key = void 0;
1617
+ if (key !== void 0 && !(key instanceof FDBKeyRange)) key = FDBKeyRange.only(valueToKey(key));
1618
+ return this.transaction._execRequestAsync({
1619
+ operation: () => {
1620
+ return this._rawObjectStore.count(key);
1621
+ },
1622
+ source: this
1623
+ });
1624
+ }
1625
+ get [Symbol.toStringTag]() {
1626
+ return "IDBObjectStore";
1627
+ }
1628
+ };
1629
+ //#endregion
1630
+ //#region node_modules/.pnpm/fake-indexeddb@6.2.5/node_modules/fake-indexeddb/build/esm/lib/FakeEvent.js
1631
+ var Event = class {
1632
+ eventPath = [];
1633
+ NONE = 0;
1634
+ CAPTURING_PHASE = 1;
1635
+ AT_TARGET = 2;
1636
+ BUBBLING_PHASE = 3;
1637
+ propagationStopped = false;
1638
+ immediatePropagationStopped = false;
1639
+ canceled = false;
1640
+ initialized = true;
1641
+ dispatched = false;
1642
+ target = null;
1643
+ currentTarget = null;
1644
+ eventPhase = 0;
1645
+ defaultPrevented = false;
1646
+ isTrusted = false;
1647
+ timeStamp = Date.now();
1648
+ constructor(type, eventInitDict = {}) {
1649
+ this.type = type;
1650
+ this.bubbles = eventInitDict.bubbles !== void 0 ? eventInitDict.bubbles : false;
1651
+ this.cancelable = eventInitDict.cancelable !== void 0 ? eventInitDict.cancelable : false;
1652
+ }
1653
+ preventDefault() {
1654
+ if (this.cancelable) this.canceled = true;
1655
+ }
1656
+ stopPropagation() {
1657
+ this.propagationStopped = true;
1658
+ }
1659
+ stopImmediatePropagation() {
1660
+ this.propagationStopped = true;
1661
+ this.immediatePropagationStopped = true;
1662
+ }
1663
+ };
1664
+ //#endregion
1665
+ //#region node_modules/.pnpm/fake-indexeddb@6.2.5/node_modules/fake-indexeddb/build/esm/lib/scheduling.js
1666
+ function getSetImmediateFromJsdom() {
1667
+ if (typeof navigator !== "undefined" && /jsdom/.test(navigator.userAgent)) {
1668
+ const outerRealmFunctionConstructor = Node.constructor;
1669
+ return new outerRealmFunctionConstructor("return setImmediate")();
1670
+ } else return;
1671
+ }
1672
+ const schedulerPostTask = typeof scheduler !== "undefined" && ((fn) => scheduler.postTask(fn));
1673
+ const doSetTimeout = (fn) => setTimeout(fn, 0);
1674
+ const queueTask = (fn) => {
1675
+ (globalThis.setImmediate || getSetImmediateFromJsdom() || schedulerPostTask || doSetTimeout)(fn);
1676
+ };
1677
+ //#endregion
1678
+ //#region node_modules/.pnpm/fake-indexeddb@6.2.5/node_modules/fake-indexeddb/build/esm/FDBTransaction.js
1679
+ const prioritizedListenerTypes = [
1680
+ "error",
1681
+ "abort",
1682
+ "complete"
1683
+ ];
1684
+ var FDBTransaction = class extends FakeEventTarget {
1685
+ _state = "active";
1686
+ _started = false;
1687
+ _rollbackLog = [];
1688
+ _objectStoresCache = /* @__PURE__ */ new Map();
1689
+ _openRequest = null;
1690
+ error = null;
1691
+ onabort = null;
1692
+ oncomplete = null;
1693
+ onerror = null;
1694
+ _prioritizedListeners = /* @__PURE__ */ new Map();
1695
+ _requests = [];
1696
+ _createdIndexes = /* @__PURE__ */ new Set();
1697
+ _createdObjectStores = /* @__PURE__ */ new Set();
1698
+ constructor(storeNames, mode, durability, db) {
1699
+ super();
1700
+ this._scope = new Set(storeNames);
1701
+ this.mode = mode;
1702
+ this.durability = durability;
1703
+ this.db = db;
1704
+ this.objectStoreNames = new FakeDOMStringList(...Array.from(this._scope).sort());
1705
+ for (const type of prioritizedListenerTypes) this.addEventListener(type, () => {
1706
+ this._prioritizedListeners.get(type)?.();
1707
+ });
1708
+ }
1709
+ _abort(errName) {
1710
+ for (const f of this._rollbackLog.reverse()) f();
1711
+ if (errName !== null) this.error = new DOMException(void 0, errName);
1712
+ for (const { request } of this._requests) if (request.readyState !== "done") {
1713
+ request.readyState = "done";
1714
+ if (request.source) queueTask(() => {
1715
+ request.result = void 0;
1716
+ request.error = new AbortError();
1717
+ const event = new Event("error", {
1718
+ bubbles: true,
1719
+ cancelable: true
1720
+ });
1721
+ event.eventPath = [this.db, this];
1722
+ try {
1723
+ request.dispatchEvent(event);
1724
+ } catch (_err) {
1725
+ if (this._state === "active") this._abort("AbortError");
1726
+ }
1727
+ });
1728
+ }
1729
+ queueTask(() => {
1730
+ const isUpgradeTransaction = this.mode === "versionchange";
1731
+ if (isUpgradeTransaction) this.db._rawDatabase.connections = this.db._rawDatabase.connections.filter((connection) => !connection._rawDatabase.transactions.includes(this));
1732
+ const event = new Event("abort", {
1733
+ bubbles: true,
1734
+ cancelable: false
1735
+ });
1736
+ event.eventPath = [this.db];
1737
+ this.dispatchEvent(event);
1738
+ if (isUpgradeTransaction) {
1739
+ const request = this._openRequest;
1740
+ request.transaction = null;
1741
+ request.result = void 0;
1742
+ }
1743
+ });
1744
+ this._state = "finished";
1745
+ }
1746
+ abort() {
1747
+ if (this._state === "committing" || this._state === "finished") throw new InvalidStateError();
1748
+ this._state = "active";
1749
+ this._abort(null);
1750
+ }
1751
+ objectStore(name) {
1752
+ if (this._state !== "active") throw new InvalidStateError();
1753
+ const objectStore = this._objectStoresCache.get(name);
1754
+ if (objectStore !== void 0) return objectStore;
1755
+ const rawObjectStore = this.db._rawDatabase.rawObjectStores.get(name);
1756
+ if (!this._scope.has(name) || rawObjectStore === void 0) throw new NotFoundError();
1757
+ const objectStore2 = new FDBObjectStore(this, rawObjectStore);
1758
+ this._objectStoresCache.set(name, objectStore2);
1759
+ return objectStore2;
1760
+ }
1761
+ _execRequestAsync(obj) {
1762
+ const source = obj.source;
1763
+ const operation = obj.operation;
1764
+ let request = Object.hasOwn(obj, "request") ? obj.request : null;
1765
+ if (this._state !== "active") throw new TransactionInactiveError();
1766
+ if (!request) if (!source) request = new FDBRequest();
1767
+ else {
1768
+ request = new FDBRequest();
1769
+ request.source = source;
1770
+ request.transaction = source.transaction;
1771
+ }
1772
+ this._requests.push({
1773
+ operation,
1774
+ request
1775
+ });
1776
+ return request;
1777
+ }
1778
+ _start() {
1779
+ this._started = true;
1780
+ let operation;
1781
+ let request;
1782
+ while (this._requests.length > 0) {
1783
+ const r = this._requests.shift();
1784
+ if (r && r.request.readyState !== "done") {
1785
+ request = r.request;
1786
+ operation = r.operation;
1787
+ break;
1788
+ }
1789
+ }
1790
+ if (request && operation) {
1791
+ if (!request.source) operation();
1792
+ else {
1793
+ let defaultAction;
1794
+ let event;
1795
+ try {
1796
+ const result = operation();
1797
+ request.readyState = "done";
1798
+ request.result = result;
1799
+ request.error = void 0;
1800
+ if (this._state === "inactive") this._state = "active";
1801
+ event = new Event("success", {
1802
+ bubbles: false,
1803
+ cancelable: false
1804
+ });
1805
+ } catch (err) {
1806
+ request.readyState = "done";
1807
+ request.result = void 0;
1808
+ request.error = err;
1809
+ if (this._state === "inactive") this._state = "active";
1810
+ event = new Event("error", {
1811
+ bubbles: true,
1812
+ cancelable: true
1813
+ });
1814
+ defaultAction = this._abort.bind(this, err.name);
1815
+ }
1816
+ try {
1817
+ event.eventPath = [this.db, this];
1818
+ request.dispatchEvent(event);
1819
+ } catch (_err) {
1820
+ if (this._state === "active") {
1821
+ this._abort("AbortError");
1822
+ defaultAction = void 0;
1823
+ }
1824
+ }
1825
+ if (!event.canceled) {
1826
+ if (defaultAction) defaultAction();
1827
+ }
1828
+ }
1829
+ queueTask(this._start.bind(this));
1830
+ return;
1831
+ }
1832
+ if (this._state !== "finished") {
1833
+ this._state = "finished";
1834
+ if (!this.error) {
1835
+ const event = new Event("complete");
1836
+ this.dispatchEvent(event);
1837
+ }
1838
+ }
1839
+ }
1840
+ commit() {
1841
+ if (this._state !== "active") throw new InvalidStateError();
1842
+ this._state = "committing";
1843
+ }
1844
+ get [Symbol.toStringTag]() {
1845
+ return "IDBTransaction";
1846
+ }
1847
+ };
1848
+ //#endregion
1849
+ //#region node_modules/.pnpm/fake-indexeddb@6.2.5/node_modules/fake-indexeddb/build/esm/lib/KeyGenerator.js
1850
+ const MAX_KEY = 9007199254740992;
1851
+ var KeyGenerator = class {
1852
+ num = 0;
1853
+ next() {
1854
+ if (this.num >= MAX_KEY) throw new ConstraintError();
1855
+ this.num += 1;
1856
+ return this.num;
1857
+ }
1858
+ setIfLarger(num) {
1859
+ const value = Math.floor(Math.min(num, MAX_KEY)) - 1;
1860
+ if (value >= this.num) this.num = value + 1;
1861
+ }
1862
+ };
1863
+ //#endregion
1864
+ //#region node_modules/.pnpm/fake-indexeddb@6.2.5/node_modules/fake-indexeddb/build/esm/lib/ObjectStore.js
1865
+ var ObjectStore = class {
1866
+ deleted = false;
1867
+ records = new RecordStore(true);
1868
+ rawIndexes = /* @__PURE__ */ new Map();
1869
+ constructor(rawDatabase, name, keyPath, autoIncrement) {
1870
+ this.rawDatabase = rawDatabase;
1871
+ this.keyGenerator = autoIncrement === true ? new KeyGenerator() : null;
1872
+ this.deleted = false;
1873
+ this.name = name;
1874
+ this.keyPath = keyPath;
1875
+ this.autoIncrement = autoIncrement;
1876
+ }
1877
+ getKey(key) {
1878
+ const record = this.records.get(key);
1879
+ return record !== void 0 ? structuredClone(record.key) : void 0;
1880
+ }
1881
+ getAllKeys(range, count, direction) {
1882
+ if (count === void 0 || count === 0) count = Infinity;
1883
+ const records = [];
1884
+ for (const record of this.records.values(range, direction)) {
1885
+ records.push(structuredClone(record.key));
1886
+ if (records.length >= count) break;
1887
+ }
1888
+ return records;
1889
+ }
1890
+ getValue(key) {
1891
+ const record = this.records.get(key);
1892
+ return record !== void 0 ? structuredClone(record.value) : void 0;
1893
+ }
1894
+ getAllValues(range, count, direction) {
1895
+ if (count === void 0 || count === 0) count = Infinity;
1896
+ const records = [];
1897
+ for (const record of this.records.values(range, direction)) {
1898
+ records.push(structuredClone(record.value));
1899
+ if (records.length >= count) break;
1900
+ }
1901
+ return records;
1902
+ }
1903
+ getAllRecords(range, count, direction) {
1904
+ if (count === void 0 || count === 0) count = Infinity;
1905
+ const records = [];
1906
+ for (const record of this.records.values(range, direction)) {
1907
+ records.push(new FDBRecord(structuredClone(record.key), structuredClone(record.key), structuredClone(record.value)));
1908
+ if (records.length >= count) break;
1909
+ }
1910
+ return records;
1911
+ }
1912
+ storeRecord(newRecord, noOverwrite, rollbackLog) {
1913
+ if (this.keyPath !== null) {
1914
+ const key = extractKey(this.keyPath, newRecord.value).key;
1915
+ if (key !== void 0) newRecord.key = key;
1916
+ }
1917
+ const rollbackLogForThisOperation = [];
1918
+ if (this.keyGenerator !== null && newRecord.key === void 0) {
1919
+ let rolledBack = false;
1920
+ const keyGeneratorBefore = this.keyGenerator.num;
1921
+ const rollbackKeyGenerator = () => {
1922
+ if (rolledBack) return;
1923
+ rolledBack = true;
1924
+ if (this.keyGenerator) this.keyGenerator.num = keyGeneratorBefore;
1925
+ };
1926
+ rollbackLogForThisOperation.push(rollbackKeyGenerator);
1927
+ if (rollbackLog) rollbackLog.push(rollbackKeyGenerator);
1928
+ newRecord.key = this.keyGenerator.next();
1929
+ if (this.keyPath !== null) {
1930
+ if (Array.isArray(this.keyPath)) throw new Error("Cannot have an array key path in an object store with a key generator");
1931
+ let remainingKeyPath = this.keyPath;
1932
+ let object = newRecord.value;
1933
+ let identifier;
1934
+ let i = 0;
1935
+ while (i >= 0) {
1936
+ if (typeof object !== "object") throw new DataError();
1937
+ i = remainingKeyPath.indexOf(".");
1938
+ if (i >= 0) {
1939
+ identifier = remainingKeyPath.slice(0, i);
1940
+ remainingKeyPath = remainingKeyPath.slice(i + 1);
1941
+ if (!Object.hasOwn(object, identifier)) Object.defineProperty(object, identifier, {
1942
+ configurable: true,
1943
+ enumerable: true,
1944
+ writable: true,
1945
+ value: {}
1946
+ });
1947
+ object = object[identifier];
1948
+ }
1949
+ }
1950
+ identifier = remainingKeyPath;
1951
+ Object.defineProperty(object, identifier, {
1952
+ configurable: true,
1953
+ enumerable: true,
1954
+ writable: true,
1955
+ value: newRecord.key
1956
+ });
1957
+ }
1958
+ } else if (this.keyGenerator !== null && typeof newRecord.key === "number") this.keyGenerator.setIfLarger(newRecord.key);
1959
+ const existingRecord = this.records.put(newRecord, noOverwrite);
1960
+ let rolledBack = false;
1961
+ const rollbackStoreRecord = () => {
1962
+ if (rolledBack) return;
1963
+ rolledBack = true;
1964
+ if (existingRecord) this.storeRecord(existingRecord, false);
1965
+ else this.deleteRecord(newRecord.key);
1966
+ };
1967
+ rollbackLogForThisOperation.push(rollbackStoreRecord);
1968
+ if (rollbackLog) rollbackLog.push(rollbackStoreRecord);
1969
+ if (existingRecord) for (const rawIndex of this.rawIndexes.values()) rawIndex.records.deleteByValue(newRecord.key);
1970
+ try {
1971
+ for (const rawIndex of this.rawIndexes.values()) if (rawIndex.initialized) rawIndex.storeRecord(newRecord);
1972
+ } catch (err) {
1973
+ if (err.name === "ConstraintError") for (const rollback of rollbackLogForThisOperation) rollback();
1974
+ throw err;
1975
+ }
1976
+ return newRecord.key;
1977
+ }
1978
+ deleteRecord(key, rollbackLog) {
1979
+ const deletedRecords = this.records.delete(key);
1980
+ if (rollbackLog) for (const record of deletedRecords) rollbackLog.push(() => {
1981
+ this.storeRecord(record, true);
1982
+ });
1983
+ for (const rawIndex of this.rawIndexes.values()) rawIndex.records.deleteByValue(key);
1984
+ }
1985
+ clear(rollbackLog) {
1986
+ const deletedRecords = this.records.clear();
1987
+ if (rollbackLog) for (const record of deletedRecords) rollbackLog.push(() => {
1988
+ this.storeRecord(record, true);
1989
+ });
1990
+ for (const rawIndex of this.rawIndexes.values()) rawIndex.records.clear();
1991
+ }
1992
+ count(range) {
1993
+ if (range === void 0 || range.lower === void 0 && range.upper === void 0) return this.records.size();
1994
+ let count = 0;
1995
+ for (const record of this.records.values(range)) count += 1;
1996
+ return count;
1997
+ }
1998
+ };
1999
+ //#endregion
2000
+ //#region node_modules/.pnpm/fake-indexeddb@6.2.5/node_modules/fake-indexeddb/build/esm/lib/closeConnection.js
2001
+ const closeConnection = (connection, forced = false) => {
2002
+ connection._closePending = true;
2003
+ if (connection._rawDatabase.transactions.every((transaction) => {
2004
+ return transaction._state === "finished";
2005
+ })) {
2006
+ connection._closed = true;
2007
+ connection._rawDatabase.connections = connection._rawDatabase.connections.filter((otherConnection) => {
2008
+ return connection !== otherConnection;
2009
+ });
2010
+ if (forced) {
2011
+ const event = new Event("close", {
2012
+ bubbles: false,
2013
+ cancelable: false
2014
+ });
2015
+ event.eventPath = [];
2016
+ connection.dispatchEvent(event);
2017
+ }
2018
+ } else queueTask(() => {
2019
+ closeConnection(connection, forced);
2020
+ });
2021
+ };
2022
+ //#endregion
2023
+ //#region node_modules/.pnpm/fake-indexeddb@6.2.5/node_modules/fake-indexeddb/build/esm/FDBDatabase.js
2024
+ const confirmActiveVersionchangeTransaction = (database) => {
2025
+ let transaction;
2026
+ if (database._runningVersionchangeTransaction) transaction = database._rawDatabase.transactions.findLast((tx) => {
2027
+ return tx.mode === "versionchange";
2028
+ });
2029
+ if (!transaction) throw new InvalidStateError();
2030
+ if (transaction._state !== "active") throw new TransactionInactiveError();
2031
+ return transaction;
2032
+ };
2033
+ var FDBDatabase = class extends FakeEventTarget {
2034
+ _closePending = false;
2035
+ _closed = false;
2036
+ _runningVersionchangeTransaction = false;
2037
+ constructor(rawDatabase) {
2038
+ super();
2039
+ this._rawDatabase = rawDatabase;
2040
+ this._rawDatabase.connections.push(this);
2041
+ this.name = rawDatabase.name;
2042
+ this.version = rawDatabase.version;
2043
+ this.objectStoreNames = new FakeDOMStringList(...Array.from(rawDatabase.rawObjectStores.keys()).sort());
2044
+ }
2045
+ createObjectStore(name, options = {}) {
2046
+ if (name === void 0) throw new TypeError();
2047
+ const transaction = confirmActiveVersionchangeTransaction(this);
2048
+ const keyPath = options !== null && options.keyPath !== void 0 ? options.keyPath : null;
2049
+ const autoIncrement = options !== null && options.autoIncrement !== void 0 ? options.autoIncrement : false;
2050
+ if (keyPath !== null) validateKeyPath(keyPath);
2051
+ if (this._rawDatabase.rawObjectStores.has(name)) throw new ConstraintError();
2052
+ if (autoIncrement && (keyPath === "" || Array.isArray(keyPath))) throw new InvalidAccessError();
2053
+ const objectStoreNames = [...this.objectStoreNames];
2054
+ const transactionObjectStoreNames = [...transaction.objectStoreNames];
2055
+ const rawObjectStore = new ObjectStore(this._rawDatabase, name, keyPath, autoIncrement);
2056
+ this.objectStoreNames._push(name);
2057
+ this.objectStoreNames._sort();
2058
+ transaction._scope.add(name);
2059
+ transaction._createdObjectStores.add(rawObjectStore);
2060
+ this._rawDatabase.rawObjectStores.set(name, rawObjectStore);
2061
+ transaction.objectStoreNames = new FakeDOMStringList(...this.objectStoreNames);
2062
+ transaction._rollbackLog.push(() => {
2063
+ rawObjectStore.deleted = true;
2064
+ this.objectStoreNames = new FakeDOMStringList(...objectStoreNames);
2065
+ transaction.objectStoreNames = new FakeDOMStringList(...transactionObjectStoreNames);
2066
+ transaction._scope.delete(rawObjectStore.name);
2067
+ this._rawDatabase.rawObjectStores.delete(rawObjectStore.name);
2068
+ });
2069
+ return transaction.objectStore(name);
2070
+ }
2071
+ deleteObjectStore(name) {
2072
+ if (name === void 0) throw new TypeError();
2073
+ const transaction = confirmActiveVersionchangeTransaction(this);
2074
+ const store = this._rawDatabase.rawObjectStores.get(name);
2075
+ if (store === void 0) throw new NotFoundError();
2076
+ this.objectStoreNames = new FakeDOMStringList(...Array.from(this.objectStoreNames).filter((objectStoreName) => {
2077
+ return objectStoreName !== name;
2078
+ }));
2079
+ transaction.objectStoreNames = new FakeDOMStringList(...this.objectStoreNames);
2080
+ const objectStore = transaction._objectStoresCache.get(name);
2081
+ let prevIndexNames;
2082
+ if (objectStore) {
2083
+ prevIndexNames = [...objectStore.indexNames];
2084
+ objectStore.indexNames = new FakeDOMStringList();
2085
+ }
2086
+ transaction._rollbackLog.push(() => {
2087
+ store.deleted = false;
2088
+ this._rawDatabase.rawObjectStores.set(store.name, store);
2089
+ this.objectStoreNames._push(store.name);
2090
+ transaction.objectStoreNames._push(store.name);
2091
+ this.objectStoreNames._sort();
2092
+ if (objectStore && prevIndexNames) objectStore.indexNames = new FakeDOMStringList(...prevIndexNames);
2093
+ });
2094
+ store.deleted = true;
2095
+ this._rawDatabase.rawObjectStores.delete(name);
2096
+ transaction._objectStoresCache.delete(name);
2097
+ }
2098
+ transaction(storeNames, mode, options) {
2099
+ mode = mode !== void 0 ? mode : "readonly";
2100
+ if (mode !== "readonly" && mode !== "readwrite" && mode !== "versionchange") throw new TypeError("Invalid mode: " + mode);
2101
+ if (this._rawDatabase.transactions.some((transaction) => {
2102
+ return transaction._state === "active" && transaction.mode === "versionchange" && transaction.db === this;
2103
+ })) throw new InvalidStateError();
2104
+ if (this._closePending) throw new InvalidStateError();
2105
+ if (!Array.isArray(storeNames)) storeNames = [storeNames];
2106
+ if (storeNames.length === 0 && mode !== "versionchange") throw new InvalidAccessError();
2107
+ for (const storeName of storeNames) if (!this.objectStoreNames.contains(storeName)) throw new NotFoundError("No objectStore named " + storeName + " in this database");
2108
+ const durability = options?.durability ?? "default";
2109
+ if (durability !== "default" && durability !== "strict" && durability !== "relaxed") throw new TypeError(`'${durability}' (value of 'durability' member of IDBTransactionOptions) is not a valid value for enumeration IDBTransactionDurability`);
2110
+ const tx = new FDBTransaction(storeNames, mode, durability, this);
2111
+ this._rawDatabase.transactions.push(tx);
2112
+ this._rawDatabase.processTransactions();
2113
+ return tx;
2114
+ }
2115
+ close() {
2116
+ closeConnection(this);
2117
+ }
2118
+ get [Symbol.toStringTag]() {
2119
+ return "IDBDatabase";
2120
+ }
2121
+ };
2122
+ //#endregion
2123
+ //#region node_modules/.pnpm/fake-indexeddb@6.2.5/node_modules/fake-indexeddb/build/esm/FDBOpenDBRequest.js
2124
+ var FDBOpenDBRequest = class extends FDBRequest {
2125
+ onupgradeneeded = null;
2126
+ onblocked = null;
2127
+ get [Symbol.toStringTag]() {
2128
+ return "IDBOpenDBRequest";
2129
+ }
2130
+ };
2131
+ //#endregion
2132
+ //#region node_modules/.pnpm/fake-indexeddb@6.2.5/node_modules/fake-indexeddb/build/esm/FDBVersionChangeEvent.js
2133
+ var FDBVersionChangeEvent = class extends Event {
2134
+ constructor(type, parameters = {}) {
2135
+ super(type);
2136
+ this.newVersion = parameters.newVersion !== void 0 ? parameters.newVersion : null;
2137
+ this.oldVersion = parameters.oldVersion !== void 0 ? parameters.oldVersion : 0;
2138
+ }
2139
+ get [Symbol.toStringTag]() {
2140
+ return "IDBVersionChangeEvent";
2141
+ }
2142
+ };
2143
+ //#endregion
2144
+ //#region node_modules/.pnpm/fake-indexeddb@6.2.5/node_modules/fake-indexeddb/build/esm/lib/intersection.js
2145
+ /**
2146
+ * Minimal polyfill of `Set.prototype.intersection`, available in Node 22+.
2147
+ * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set/intersection
2148
+ * @param set1
2149
+ * @param set2
2150
+ */
2151
+ function intersection(set1, set2) {
2152
+ if ("intersection" in set1) return set1.intersection(set2);
2153
+ return new Set([...set1].filter((item) => set2.has(item)));
2154
+ }
2155
+ //#endregion
2156
+ //#region node_modules/.pnpm/fake-indexeddb@6.2.5/node_modules/fake-indexeddb/build/esm/lib/Database.js
2157
+ var Database = class {
2158
+ transactions = [];
2159
+ rawObjectStores = /* @__PURE__ */ new Map();
2160
+ connections = [];
2161
+ constructor(name, version) {
2162
+ this.name = name;
2163
+ this.version = version;
2164
+ this.processTransactions = this.processTransactions.bind(this);
2165
+ }
2166
+ processTransactions() {
2167
+ queueTask(() => {
2168
+ const running = this.transactions.filter((transaction) => transaction._started && transaction._state !== "finished");
2169
+ const waiting = this.transactions.filter((transaction) => !transaction._started && transaction._state !== "finished");
2170
+ const next = waiting.find((transaction, i) => {
2171
+ if (running.some((other) => !(transaction.mode === "readonly" && other.mode === "readonly") && intersection(other._scope, transaction._scope).size > 0)) return false;
2172
+ return !waiting.slice(0, i).some((other) => intersection(other._scope, transaction._scope).size > 0);
2173
+ });
2174
+ if (next) {
2175
+ next.addEventListener("complete", this.processTransactions);
2176
+ next.addEventListener("abort", this.processTransactions);
2177
+ next._start();
2178
+ }
2179
+ });
2180
+ }
2181
+ };
2182
+ //#endregion
2183
+ //#region node_modules/.pnpm/fake-indexeddb@6.2.5/node_modules/fake-indexeddb/build/esm/lib/validateRequiredArguments.js
2184
+ function validateRequiredArguments(numArguments, expectedNumArguments, methodName) {
2185
+ if (numArguments < expectedNumArguments) throw new TypeError(`${methodName}: At least ${expectedNumArguments} ${expectedNumArguments === 1 ? "argument" : "arguments"} required, but only ${arguments.length} passed`);
2186
+ }
2187
+ //#endregion
2188
+ //#region node_modules/.pnpm/fake-indexeddb@6.2.5/node_modules/fake-indexeddb/build/esm/FDBFactory.js
2189
+ const runTaskInConnectionQueue = (connectionQueues, name, task) => {
2190
+ const queue = connectionQueues.get(name) ?? Promise.resolve();
2191
+ connectionQueues.set(name, queue.then(task));
2192
+ };
2193
+ const waitForOthersClosedDelete = (databases, name, openDatabases, cb) => {
2194
+ if (openDatabases.some((openDatabase2) => {
2195
+ return !openDatabase2._closed && !openDatabase2._closePending;
2196
+ })) {
2197
+ queueTask(() => waitForOthersClosedDelete(databases, name, openDatabases, cb));
2198
+ return;
2199
+ }
2200
+ databases.delete(name);
2201
+ cb(null);
2202
+ };
2203
+ const deleteDatabase = (databases, connectionQueues, name, request, cb) => {
2204
+ const deleteDBTask = () => {
2205
+ return new Promise((resolve) => {
2206
+ const db = databases.get(name);
2207
+ const oldVersion = db !== void 0 ? db.version : 0;
2208
+ const onComplete = (err) => {
2209
+ try {
2210
+ if (err) cb(err);
2211
+ else cb(null, oldVersion);
2212
+ } finally {
2213
+ resolve();
2214
+ }
2215
+ };
2216
+ try {
2217
+ const db = databases.get(name);
2218
+ if (db === void 0) {
2219
+ onComplete(null);
2220
+ return;
2221
+ }
2222
+ const openConnections = db.connections.filter((connection) => {
2223
+ return !connection._closed;
2224
+ });
2225
+ for (const openDatabase2 of openConnections) if (!openDatabase2._closePending) queueTask(() => {
2226
+ const event = new FDBVersionChangeEvent("versionchange", {
2227
+ newVersion: null,
2228
+ oldVersion: db.version
2229
+ });
2230
+ openDatabase2.dispatchEvent(event);
2231
+ });
2232
+ queueTask(() => {
2233
+ if (openConnections.some((openDatabase3) => {
2234
+ return !openDatabase3._closed && !openDatabase3._closePending;
2235
+ })) queueTask(() => {
2236
+ const event = new FDBVersionChangeEvent("blocked", {
2237
+ newVersion: null,
2238
+ oldVersion: db.version
2239
+ });
2240
+ request.dispatchEvent(event);
2241
+ });
2242
+ waitForOthersClosedDelete(databases, name, openConnections, onComplete);
2243
+ });
2244
+ } catch (err) {
2245
+ onComplete(err);
2246
+ }
2247
+ });
2248
+ };
2249
+ runTaskInConnectionQueue(connectionQueues, name, deleteDBTask);
2250
+ };
2251
+ const runVersionchangeTransaction = (connection, version, request, cb) => {
2252
+ connection._runningVersionchangeTransaction = true;
2253
+ const oldVersion = connection._oldVersion = connection.version;
2254
+ const openConnections = connection._rawDatabase.connections.filter((otherDatabase) => {
2255
+ return connection !== otherDatabase;
2256
+ });
2257
+ for (const openDatabase2 of openConnections) if (!openDatabase2._closed && !openDatabase2._closePending) queueTask(() => {
2258
+ const event = new FDBVersionChangeEvent("versionchange", {
2259
+ newVersion: version,
2260
+ oldVersion
2261
+ });
2262
+ openDatabase2.dispatchEvent(event);
2263
+ });
2264
+ queueTask(() => {
2265
+ if (openConnections.some((openDatabase3) => {
2266
+ return !openDatabase3._closed && !openDatabase3._closePending;
2267
+ })) queueTask(() => {
2268
+ const event = new FDBVersionChangeEvent("blocked", {
2269
+ newVersion: version,
2270
+ oldVersion
2271
+ });
2272
+ request.dispatchEvent(event);
2273
+ });
2274
+ const waitForOthersClosed = () => {
2275
+ if (openConnections.some((openDatabase2) => {
2276
+ return !openDatabase2._closed && !openDatabase2._closePending;
2277
+ })) {
2278
+ queueTask(waitForOthersClosed);
2279
+ return;
2280
+ }
2281
+ connection._rawDatabase.version = version;
2282
+ connection.version = version;
2283
+ const transaction = connection.transaction(Array.from(connection.objectStoreNames), "versionchange");
2284
+ transaction._openRequest = request;
2285
+ request.result = connection;
2286
+ request.readyState = "done";
2287
+ request.transaction = transaction;
2288
+ transaction._rollbackLog.push(() => {
2289
+ connection._rawDatabase.version = oldVersion;
2290
+ connection.version = oldVersion;
2291
+ });
2292
+ transaction._state = "active";
2293
+ const event = new FDBVersionChangeEvent("upgradeneeded", {
2294
+ newVersion: version,
2295
+ oldVersion
2296
+ });
2297
+ let didThrow = false;
2298
+ try {
2299
+ request.dispatchEvent(event);
2300
+ } catch (_err) {
2301
+ didThrow = true;
2302
+ }
2303
+ const concludeUpgrade = () => {
2304
+ if (transaction._state === "active") {
2305
+ transaction._state = "inactive";
2306
+ if (didThrow) transaction._abort("AbortError");
2307
+ }
2308
+ };
2309
+ if (didThrow) concludeUpgrade();
2310
+ else queueTask(concludeUpgrade);
2311
+ transaction._prioritizedListeners.set("error", () => {
2312
+ connection._runningVersionchangeTransaction = false;
2313
+ connection._oldVersion = void 0;
2314
+ });
2315
+ transaction._prioritizedListeners.set("abort", () => {
2316
+ connection._runningVersionchangeTransaction = false;
2317
+ connection._oldVersion = void 0;
2318
+ queueTask(() => {
2319
+ request.transaction = null;
2320
+ cb(new AbortError());
2321
+ });
2322
+ });
2323
+ transaction._prioritizedListeners.set("complete", () => {
2324
+ connection._runningVersionchangeTransaction = false;
2325
+ connection._oldVersion = void 0;
2326
+ queueTask(() => {
2327
+ request.transaction = null;
2328
+ if (connection._closePending) cb(new AbortError());
2329
+ else cb(null);
2330
+ });
2331
+ });
2332
+ };
2333
+ waitForOthersClosed();
2334
+ });
2335
+ };
2336
+ const openDatabase = (databases, connectionQueues, name, version, request, cb) => {
2337
+ const openDBTask = () => {
2338
+ return new Promise((resolve) => {
2339
+ const onComplete = (err) => {
2340
+ try {
2341
+ if (err) cb(err);
2342
+ else cb(null, connection);
2343
+ } finally {
2344
+ resolve();
2345
+ }
2346
+ };
2347
+ let db = databases.get(name);
2348
+ if (db === void 0) {
2349
+ db = new Database(name, 0);
2350
+ databases.set(name, db);
2351
+ }
2352
+ if (version === void 0) version = db.version !== 0 ? db.version : 1;
2353
+ if (db.version > version) return onComplete(new VersionError());
2354
+ const connection = new FDBDatabase(db);
2355
+ if (db.version < version) runVersionchangeTransaction(connection, version, request, (err) => {
2356
+ onComplete(err);
2357
+ });
2358
+ else onComplete(null);
2359
+ });
2360
+ };
2361
+ runTaskInConnectionQueue(connectionQueues, name, openDBTask);
2362
+ };
2363
+ var FDBFactory = class {
2364
+ _databases = /* @__PURE__ */ new Map();
2365
+ _connectionQueues = /* @__PURE__ */ new Map();
2366
+ cmp(first, second) {
2367
+ validateRequiredArguments(arguments.length, 2, "IDBFactory.cmp");
2368
+ return cmp(first, second);
2369
+ }
2370
+ deleteDatabase(name) {
2371
+ validateRequiredArguments(arguments.length, 1, "IDBFactory.deleteDatabase");
2372
+ const request = new FDBOpenDBRequest();
2373
+ request.source = null;
2374
+ queueTask(() => {
2375
+ deleteDatabase(this._databases, this._connectionQueues, name, request, (err, oldVersion) => {
2376
+ if (err) {
2377
+ request.error = new DOMException(err.message, err.name);
2378
+ request.readyState = "done";
2379
+ const event = new Event("error", {
2380
+ bubbles: true,
2381
+ cancelable: true
2382
+ });
2383
+ event.eventPath = [];
2384
+ request.dispatchEvent(event);
2385
+ return;
2386
+ }
2387
+ request.result = void 0;
2388
+ request.readyState = "done";
2389
+ const event2 = new FDBVersionChangeEvent("success", {
2390
+ newVersion: null,
2391
+ oldVersion
2392
+ });
2393
+ request.dispatchEvent(event2);
2394
+ });
2395
+ });
2396
+ return request;
2397
+ }
2398
+ open(name, version) {
2399
+ validateRequiredArguments(arguments.length, 1, "IDBFactory.open");
2400
+ if (arguments.length > 1 && version !== void 0) version = enforceRange(version, "MAX_SAFE_INTEGER");
2401
+ if (version === 0) throw new TypeError("Database version cannot be 0");
2402
+ const request = new FDBOpenDBRequest();
2403
+ request.source = null;
2404
+ queueTask(() => {
2405
+ openDatabase(this._databases, this._connectionQueues, name, version, request, (err, connection) => {
2406
+ if (err) {
2407
+ request.result = void 0;
2408
+ request.readyState = "done";
2409
+ request.error = new DOMException(err.message, err.name);
2410
+ const event = new Event("error", {
2411
+ bubbles: true,
2412
+ cancelable: true
2413
+ });
2414
+ event.eventPath = [];
2415
+ request.dispatchEvent(event);
2416
+ return;
2417
+ }
2418
+ request.result = connection;
2419
+ request.readyState = "done";
2420
+ const event2 = new Event("success");
2421
+ event2.eventPath = [];
2422
+ request.dispatchEvent(event2);
2423
+ });
2424
+ });
2425
+ return request;
2426
+ }
2427
+ databases() {
2428
+ return Promise.resolve(Array.from(this._databases.entries(), ([name, database]) => {
2429
+ const activeVersionChangeConnection = database.connections.find((connection) => connection._runningVersionchangeTransaction);
2430
+ return {
2431
+ name,
2432
+ version: activeVersionChangeConnection ? activeVersionChangeConnection._oldVersion : database.version
2433
+ };
2434
+ }).filter(({ version }) => {
2435
+ return version > 0;
2436
+ }));
2437
+ }
2438
+ get [Symbol.toStringTag]() {
2439
+ return "IDBFactory";
2440
+ }
2441
+ };
2442
+ //#endregion
2443
+ //#region node_modules/.pnpm/fake-indexeddb@6.2.5/node_modules/fake-indexeddb/build/esm/fakeIndexedDB.js
2444
+ const fakeIndexedDB = new FDBFactory();
2445
+ //#endregion
2446
+ //#region node_modules/.pnpm/fake-indexeddb@6.2.5/node_modules/fake-indexeddb/auto/index.mjs
2447
+ var globalVar = typeof window !== "undefined" ? window : typeof WorkerGlobalScope !== "undefined" ? self : typeof global !== "undefined" ? global : Function("return this;")();
2448
+ const createPropertyDescriptor = (value) => {
2449
+ return {
2450
+ value,
2451
+ enumerable: false,
2452
+ configurable: true,
2453
+ writable: true
2454
+ };
2455
+ };
2456
+ Object.defineProperties(globalVar, {
2457
+ indexedDB: createPropertyDescriptor(fakeIndexedDB),
2458
+ IDBCursor: createPropertyDescriptor(FDBCursor),
2459
+ IDBCursorWithValue: createPropertyDescriptor(FDBCursorWithValue),
2460
+ IDBDatabase: createPropertyDescriptor(FDBDatabase),
2461
+ IDBFactory: createPropertyDescriptor(FDBFactory),
2462
+ IDBIndex: createPropertyDescriptor(FDBIndex),
2463
+ IDBKeyRange: createPropertyDescriptor(FDBKeyRange),
2464
+ IDBObjectStore: createPropertyDescriptor(FDBObjectStore),
2465
+ IDBOpenDBRequest: createPropertyDescriptor(FDBOpenDBRequest),
2466
+ IDBRecord: createPropertyDescriptor(FDBRecord),
2467
+ IDBRequest: createPropertyDescriptor(FDBRequest),
2468
+ IDBTransaction: createPropertyDescriptor(FDBTransaction),
2469
+ IDBVersionChangeEvent: createPropertyDescriptor(FDBVersionChangeEvent)
2470
+ });
2471
+ //#endregion
2472
+ //#region extensions/matrix/src/matrix/sdk/verification-status.ts
2473
+ function isMatrixDeviceOwnerVerified(status) {
2474
+ return status?.crossSigningVerified === true || status?.signedByOwner === true;
2475
+ }
2476
+ //#endregion
2477
+ //#region extensions/matrix/src/matrix/sdk/crypto-bootstrap.ts
2478
+ var MatrixCryptoBootstrapper = class {
2479
+ constructor(deps) {
2480
+ this.deps = deps;
2481
+ this.verificationHandlerRegistered = false;
2482
+ }
2483
+ async bootstrap(crypto, options = {}) {
2484
+ const strict = options.strict === true;
2485
+ this.registerVerificationRequestHandler(crypto);
2486
+ await this.bootstrapSecretStorage(crypto, {
2487
+ strict,
2488
+ allowSecretStorageRecreateWithoutRecoveryKey: options.allowSecretStorageRecreateWithoutRecoveryKey === true
2489
+ });
2490
+ const crossSigning = await this.bootstrapCrossSigning(crypto, {
2491
+ forceResetCrossSigning: options.forceResetCrossSigning === true,
2492
+ allowAutomaticCrossSigningReset: options.allowAutomaticCrossSigningReset !== false,
2493
+ allowSecretStorageRecreateWithoutRecoveryKey: options.allowSecretStorageRecreateWithoutRecoveryKey === true,
2494
+ strict
2495
+ });
2496
+ await this.bootstrapSecretStorage(crypto, {
2497
+ strict,
2498
+ allowSecretStorageRecreateWithoutRecoveryKey: options.allowSecretStorageRecreateWithoutRecoveryKey === true
2499
+ });
2500
+ const ownDeviceVerified = await this.ensureOwnDeviceTrust(crypto, strict);
2501
+ return {
2502
+ crossSigningReady: crossSigning.ready,
2503
+ crossSigningPublished: crossSigning.published,
2504
+ ownDeviceVerified
2505
+ };
2506
+ }
2507
+ createSigningKeysUiAuthCallback(params) {
2508
+ return async (makeRequest) => {
2509
+ try {
2510
+ return await makeRequest(null);
2511
+ } catch {
2512
+ try {
2513
+ return await makeRequest({ type: "m.login.dummy" });
2514
+ } catch {
2515
+ if (!params.password?.trim()) throw new Error("Matrix cross-signing key upload requires UIA; provide matrix.password for m.login.password fallback");
2516
+ return await makeRequest({
2517
+ type: "m.login.password",
2518
+ identifier: {
2519
+ type: "m.id.user",
2520
+ user: params.userId
2521
+ },
2522
+ password: params.password
2523
+ });
2524
+ }
2525
+ }
2526
+ };
2527
+ }
2528
+ async bootstrapCrossSigning(crypto, options) {
2529
+ const userId = await this.deps.getUserId();
2530
+ const authUploadDeviceSigningKeys = this.createSigningKeysUiAuthCallback({
2531
+ userId,
2532
+ password: this.deps.getPassword?.()
2533
+ });
2534
+ const hasPublishedCrossSigningKeys = async () => {
2535
+ if (typeof crypto.userHasCrossSigningKeys !== "function") return true;
2536
+ try {
2537
+ return await crypto.userHasCrossSigningKeys(userId, true);
2538
+ } catch {
2539
+ return false;
2540
+ }
2541
+ };
2542
+ const isCrossSigningReady = async () => {
2543
+ if (typeof crypto.isCrossSigningReady !== "function") return true;
2544
+ try {
2545
+ return await crypto.isCrossSigningReady();
2546
+ } catch {
2547
+ return false;
2548
+ }
2549
+ };
2550
+ const finalize = async () => {
2551
+ const ready = await isCrossSigningReady();
2552
+ const published = await hasPublishedCrossSigningKeys();
2553
+ if (ready && published) {
2554
+ LogService.info("MatrixClientLite", "Cross-signing bootstrap complete");
2555
+ return {
2556
+ ready,
2557
+ published
2558
+ };
2559
+ }
2560
+ const message = "Cross-signing bootstrap finished but server keys are still not published";
2561
+ LogService.warn("MatrixClientLite", message);
2562
+ if (options.strict) throw new Error(message);
2563
+ return {
2564
+ ready,
2565
+ published
2566
+ };
2567
+ };
2568
+ if (options.forceResetCrossSigning) {
2569
+ try {
2570
+ await crypto.bootstrapCrossSigning({
2571
+ setupNewCrossSigning: true,
2572
+ authUploadDeviceSigningKeys
2573
+ });
2574
+ } catch (err) {
2575
+ LogService.warn("MatrixClientLite", "Forced cross-signing reset failed:", err);
2576
+ if (options.strict) throw err instanceof Error ? err : new Error(String(err));
2577
+ return {
2578
+ ready: false,
2579
+ published: false
2580
+ };
2581
+ }
2582
+ return await finalize();
2583
+ }
2584
+ try {
2585
+ await crypto.bootstrapCrossSigning({ authUploadDeviceSigningKeys });
2586
+ } catch (err) {
2587
+ if (options.allowSecretStorageRecreateWithoutRecoveryKey && isRepairableSecretStorageAccessError(err)) {
2588
+ LogService.warn("MatrixClientLite", "Cross-signing bootstrap could not unlock secret storage; recreating secret storage during explicit bootstrap and retrying.");
2589
+ await this.deps.recoveryKeyStore.bootstrapSecretStorageWithRecoveryKey(crypto, {
2590
+ allowSecretStorageRecreateWithoutRecoveryKey: true,
2591
+ forceNewSecretStorage: true
2592
+ });
2593
+ await crypto.bootstrapCrossSigning({ authUploadDeviceSigningKeys });
2594
+ } else if (!options.allowAutomaticCrossSigningReset) {
2595
+ LogService.warn("MatrixClientLite", "Initial cross-signing bootstrap failed and automatic reset is disabled:", err);
2596
+ return {
2597
+ ready: false,
2598
+ published: false
2599
+ };
2600
+ } else {
2601
+ LogService.warn("MatrixClientLite", "Initial cross-signing bootstrap failed, trying reset:", err);
2602
+ try {
2603
+ await crypto.bootstrapCrossSigning({
2604
+ setupNewCrossSigning: true,
2605
+ authUploadDeviceSigningKeys
2606
+ });
2607
+ } catch (resetErr) {
2608
+ LogService.warn("MatrixClientLite", "Failed to bootstrap cross-signing:", resetErr);
2609
+ if (options.strict) throw resetErr instanceof Error ? resetErr : new Error(String(resetErr));
2610
+ return {
2611
+ ready: false,
2612
+ published: false
2613
+ };
2614
+ }
2615
+ }
2616
+ }
2617
+ const firstPassReady = await isCrossSigningReady();
2618
+ const firstPassPublished = await hasPublishedCrossSigningKeys();
2619
+ if (firstPassReady && firstPassPublished) {
2620
+ LogService.info("MatrixClientLite", "Cross-signing bootstrap complete");
2621
+ return {
2622
+ ready: true,
2623
+ published: true
2624
+ };
2625
+ }
2626
+ if (!options.allowAutomaticCrossSigningReset) return {
2627
+ ready: firstPassReady,
2628
+ published: firstPassPublished
2629
+ };
2630
+ try {
2631
+ await crypto.bootstrapCrossSigning({
2632
+ setupNewCrossSigning: true,
2633
+ authUploadDeviceSigningKeys
2634
+ });
2635
+ } catch (err) {
2636
+ LogService.warn("MatrixClientLite", "Fallback cross-signing bootstrap failed:", err);
2637
+ if (options.strict) throw err instanceof Error ? err : new Error(String(err));
2638
+ return {
2639
+ ready: false,
2640
+ published: false
2641
+ };
2642
+ }
2643
+ return await finalize();
2644
+ }
2645
+ async bootstrapSecretStorage(crypto, options) {
2646
+ try {
2647
+ await this.deps.recoveryKeyStore.bootstrapSecretStorageWithRecoveryKey(crypto, { allowSecretStorageRecreateWithoutRecoveryKey: options.allowSecretStorageRecreateWithoutRecoveryKey });
2648
+ LogService.info("MatrixClientLite", "Secret storage bootstrap complete");
2649
+ } catch (err) {
2650
+ LogService.warn("MatrixClientLite", "Failed to bootstrap secret storage:", err);
2651
+ if (options.strict) throw err instanceof Error ? err : new Error(String(err));
2652
+ }
2653
+ }
2654
+ registerVerificationRequestHandler(crypto) {
2655
+ if (this.verificationHandlerRegistered) return;
2656
+ this.verificationHandlerRegistered = true;
2657
+ crypto.on(CryptoEvent.VerificationRequestReceived, async (request) => {
2658
+ const verificationRequest = request;
2659
+ try {
2660
+ this.deps.verificationManager.trackVerificationRequest(verificationRequest);
2661
+ } catch (err) {
2662
+ LogService.warn("MatrixClientLite", `Failed to track verification request from ${verificationRequest.otherUserId}:`, err);
2663
+ }
2664
+ });
2665
+ this.deps.decryptBridge.bindCryptoRetrySignals(crypto);
2666
+ LogService.info("MatrixClientLite", "Verification request handler registered");
2667
+ }
2668
+ async ensureOwnDeviceTrust(crypto, strict = false) {
2669
+ const deviceId = this.deps.getDeviceId()?.trim();
2670
+ if (!deviceId) return null;
2671
+ const userId = await this.deps.getUserId();
2672
+ if (isMatrixDeviceOwnerVerified(typeof crypto.getDeviceVerificationStatus === "function" ? await crypto.getDeviceVerificationStatus(userId, deviceId).catch(() => null) : null)) return true;
2673
+ if (typeof crypto.setDeviceVerified === "function") await crypto.setDeviceVerified(userId, deviceId, true);
2674
+ if (typeof crypto.crossSignDevice === "function") {
2675
+ if (typeof crypto.isCrossSigningReady === "function" ? await crypto.isCrossSigningReady() : true) await crypto.crossSignDevice(deviceId);
2676
+ }
2677
+ const verified = isMatrixDeviceOwnerVerified(typeof crypto.getDeviceVerificationStatus === "function" ? await crypto.getDeviceVerificationStatus(userId, deviceId).catch(() => null) : null);
2678
+ if (!verified && strict) throw new Error(`Matrix own device ${deviceId} is not verified by its owner after bootstrap`);
2679
+ return verified;
2680
+ }
2681
+ };
2682
+ //#endregion
2683
+ //#region extensions/matrix/src/matrix/sdk/crypto-facade.ts
2684
+ let matrixCryptoNodeRuntimePromise = null;
2685
+ async function loadMatrixCryptoNodeRuntime() {
2686
+ matrixCryptoNodeRuntimePromise ??= import("./crypto-node.runtime-HW8NGmxc.js");
2687
+ return await matrixCryptoNodeRuntimePromise;
2688
+ }
2689
+ function createMatrixCryptoFacade(deps) {
2690
+ return {
2691
+ prepare: async (_joinedRooms) => {},
2692
+ updateSyncData: async (_toDeviceMessages, _otkCounts, _unusedFallbackKeyAlgs, _changedDeviceLists, _leftDeviceLists) => {},
2693
+ isRoomEncrypted: async (roomId) => {
2694
+ if (deps.client.getRoom(roomId)?.hasEncryptionStateEvent()) return true;
2695
+ try {
2696
+ const event = await deps.getRoomStateEvent(roomId, "m.room.encryption", "");
2697
+ return typeof event.algorithm === "string" && event.algorithm.length > 0;
2698
+ } catch {
2699
+ return false;
2700
+ }
2701
+ },
2702
+ requestOwnUserVerification: async () => {
2703
+ const crypto = deps.client.getCrypto();
2704
+ return await deps.verificationManager.requestOwnUserVerification(crypto);
2705
+ },
2706
+ encryptMedia: async (buffer) => {
2707
+ const { Attachment } = await loadMatrixCryptoNodeRuntime();
2708
+ const encrypted = Attachment.encrypt(new Uint8Array(buffer));
2709
+ const mediaInfoJson = encrypted.mediaEncryptionInfo;
2710
+ if (!mediaInfoJson) throw new Error("Matrix media encryption failed: missing media encryption info");
2711
+ const parsed = JSON.parse(mediaInfoJson);
2712
+ return {
2713
+ buffer: Buffer.from(encrypted.encryptedData),
2714
+ file: {
2715
+ key: parsed.key,
2716
+ iv: parsed.iv,
2717
+ hashes: parsed.hashes,
2718
+ v: parsed.v
2719
+ }
2720
+ };
2721
+ },
2722
+ decryptMedia: async (file, opts) => {
2723
+ const { Attachment, EncryptedAttachment } = await loadMatrixCryptoNodeRuntime();
2724
+ const encrypted = await deps.downloadContent(file.url, opts);
2725
+ const metadata = {
2726
+ url: file.url,
2727
+ key: file.key,
2728
+ iv: file.iv,
2729
+ hashes: file.hashes,
2730
+ v: file.v
2731
+ };
2732
+ const attachment = new EncryptedAttachment(new Uint8Array(encrypted), JSON.stringify(metadata));
2733
+ const decrypted = Attachment.decrypt(attachment);
2734
+ return Buffer.from(decrypted);
2735
+ },
2736
+ getRecoveryKey: async () => {
2737
+ return deps.recoveryKeyStore.getRecoveryKeySummary();
2738
+ },
2739
+ listVerifications: async () => {
2740
+ return deps.verificationManager.listVerifications();
2741
+ },
2742
+ ensureVerificationDmTracked: async ({ roomId, userId }) => {
2743
+ const crypto = deps.client.getCrypto();
2744
+ const request = typeof crypto?.findVerificationRequestDMInProgress === "function" ? crypto.findVerificationRequestDMInProgress(roomId, userId) : void 0;
2745
+ if (!request) return null;
2746
+ return deps.verificationManager.trackVerificationRequest(request);
2747
+ },
2748
+ requestVerification: async (params) => {
2749
+ const crypto = deps.client.getCrypto();
2750
+ return await deps.verificationManager.requestVerification(crypto, params);
2751
+ },
2752
+ acceptVerification: async (id) => {
2753
+ return await deps.verificationManager.acceptVerification(id);
2754
+ },
2755
+ cancelVerification: async (id, params) => {
2756
+ return await deps.verificationManager.cancelVerification(id, params);
2757
+ },
2758
+ startVerification: async (id, method = "sas") => {
2759
+ return await deps.verificationManager.startVerification(id, method);
2760
+ },
2761
+ generateVerificationQr: async (id) => {
2762
+ return await deps.verificationManager.generateVerificationQr(id);
2763
+ },
2764
+ scanVerificationQr: async (id, qrDataBase64) => {
2765
+ return await deps.verificationManager.scanVerificationQr(id, qrDataBase64);
2766
+ },
2767
+ confirmVerificationSas: async (id) => {
2768
+ return await deps.verificationManager.confirmVerificationSas(id);
2769
+ },
2770
+ mismatchVerificationSas: async (id) => {
2771
+ return deps.verificationManager.mismatchVerificationSas(id);
2772
+ },
2773
+ confirmVerificationReciprocateQr: async (id) => {
2774
+ return deps.verificationManager.confirmVerificationReciprocateQr(id);
2775
+ },
2776
+ getVerificationSas: async (id) => {
2777
+ return deps.verificationManager.getVerificationSas(id);
2778
+ }
2779
+ };
2780
+ }
2781
+ //#endregion
2782
+ //#region extensions/matrix/src/matrix/sdk/decrypt-bridge.ts
2783
+ const MATRIX_DECRYPT_RETRY_BASE_DELAY_MS = 1500;
2784
+ const MATRIX_DECRYPT_RETRY_MAX_DELAY_MS = 3e4;
2785
+ const MATRIX_DECRYPT_RETRY_MAX_ATTEMPTS = 8;
2786
+ function resolveDecryptRetryKey(roomId, eventId) {
2787
+ if (!roomId || !eventId) return null;
2788
+ return `${roomId}|${eventId}`;
2789
+ }
2790
+ function isDecryptionFailure(event) {
2791
+ return typeof event.isDecryptionFailure === "function" && event.isDecryptionFailure();
2792
+ }
2793
+ var MatrixDecryptBridge = class {
2794
+ constructor(deps) {
2795
+ this.deps = deps;
2796
+ this.trackedEncryptedEvents = /* @__PURE__ */ new WeakSet();
2797
+ this.decryptedMessageDedupe = /* @__PURE__ */ new Map();
2798
+ this.decryptRetries = /* @__PURE__ */ new Map();
2799
+ this.failedDecryptionsNotified = /* @__PURE__ */ new Set();
2800
+ this.activeRetryRuns = 0;
2801
+ this.retryIdleResolvers = /* @__PURE__ */ new Set();
2802
+ this.cryptoRetrySignalsBound = false;
2803
+ }
2804
+ shouldEmitUnencryptedMessage(roomId, eventId) {
2805
+ if (!eventId) return true;
2806
+ const key = `${roomId}|${eventId}`;
2807
+ if (this.decryptedMessageDedupe.get(key) === void 0) return true;
2808
+ this.decryptedMessageDedupe.delete(key);
2809
+ return false;
2810
+ }
2811
+ attachEncryptedEvent(event, roomId) {
2812
+ if (this.trackedEncryptedEvents.has(event)) return;
2813
+ this.trackedEncryptedEvents.add(event);
2814
+ event.on(MatrixEventEvent.Decrypted, (decryptedEvent, err) => {
2815
+ this.handleEncryptedEventDecrypted({
2816
+ roomId,
2817
+ encryptedEvent: event,
2818
+ decryptedEvent,
2819
+ err
2820
+ });
2821
+ });
2822
+ }
2823
+ retryPendingNow(reason) {
2824
+ const pending = Array.from(this.decryptRetries.entries());
2825
+ if (pending.length === 0) return;
2826
+ LogService.debug("MatrixClientLite", `Retrying pending decryptions due to ${reason}`);
2827
+ for (const [retryKey, state] of pending) {
2828
+ if (state.timer) {
2829
+ clearTimeout(state.timer);
2830
+ state.timer = null;
2831
+ }
2832
+ if (state.inFlight) continue;
2833
+ this.runDecryptRetry(retryKey).catch(noop);
2834
+ }
2835
+ }
2836
+ bindCryptoRetrySignals(crypto) {
2837
+ if (!crypto || this.cryptoRetrySignalsBound) return;
2838
+ this.cryptoRetrySignalsBound = true;
2839
+ const trigger = (reason) => {
2840
+ this.retryPendingNow(reason);
2841
+ };
2842
+ crypto.on(CryptoEvent.KeyBackupDecryptionKeyCached, () => {
2843
+ trigger("crypto.keyBackupDecryptionKeyCached");
2844
+ });
2845
+ crypto.on(CryptoEvent.RehydrationCompleted, () => {
2846
+ trigger("dehydration.RehydrationCompleted");
2847
+ });
2848
+ crypto.on(CryptoEvent.DevicesUpdated, () => {
2849
+ trigger("crypto.devicesUpdated");
2850
+ });
2851
+ crypto.on(CryptoEvent.KeysChanged, () => {
2852
+ trigger("crossSigning.keysChanged");
2853
+ });
2854
+ }
2855
+ stop() {
2856
+ for (const retryKey of this.decryptRetries.keys()) this.clearDecryptRetry(retryKey);
2857
+ }
2858
+ async drainPendingDecryptions(reason) {
2859
+ for (let attempts = 0; attempts < MATRIX_DECRYPT_RETRY_MAX_ATTEMPTS; attempts += 1) {
2860
+ if (this.decryptRetries.size === 0) return;
2861
+ this.retryPendingNow(reason);
2862
+ await this.waitForActiveRetryRunsToFinish();
2863
+ if (!Array.from(this.decryptRetries.values()).some((state) => state.timer || state.inFlight)) return;
2864
+ }
2865
+ }
2866
+ handleEncryptedEventDecrypted(params) {
2867
+ const decryptedRoomId = params.decryptedEvent.getRoomId() || params.roomId;
2868
+ const decryptedRaw = this.deps.toRaw(params.decryptedEvent);
2869
+ const retryEventId = decryptedRaw.event_id || params.encryptedEvent.getId() || "";
2870
+ const retryKey = resolveDecryptRetryKey(decryptedRoomId, retryEventId);
2871
+ if (params.err) {
2872
+ this.emitFailedDecryptionOnce(retryKey, decryptedRoomId, decryptedRaw, params.err);
2873
+ this.scheduleDecryptRetry({
2874
+ event: params.encryptedEvent,
2875
+ roomId: decryptedRoomId,
2876
+ eventId: retryEventId
2877
+ });
2878
+ return;
2879
+ }
2880
+ if (isDecryptionFailure(params.decryptedEvent)) {
2881
+ this.emitFailedDecryptionOnce(retryKey, decryptedRoomId, decryptedRaw, /* @__PURE__ */ new Error("Matrix event failed to decrypt"));
2882
+ this.scheduleDecryptRetry({
2883
+ event: params.encryptedEvent,
2884
+ roomId: decryptedRoomId,
2885
+ eventId: retryEventId
2886
+ });
2887
+ return;
2888
+ }
2889
+ if (retryKey) this.clearDecryptRetry(retryKey);
2890
+ this.rememberDecryptedMessage(decryptedRoomId, decryptedRaw.event_id);
2891
+ this.deps.emitDecryptedEvent(decryptedRoomId, decryptedRaw);
2892
+ this.deps.emitMessage(decryptedRoomId, decryptedRaw);
2893
+ }
2894
+ emitFailedDecryptionOnce(retryKey, roomId, event, error) {
2895
+ if (retryKey) {
2896
+ if (this.failedDecryptionsNotified.has(retryKey)) return;
2897
+ this.failedDecryptionsNotified.add(retryKey);
2898
+ }
2899
+ this.deps.emitFailedDecryption(roomId, event, error);
2900
+ }
2901
+ scheduleDecryptRetry(params) {
2902
+ const retryKey = resolveDecryptRetryKey(params.roomId, params.eventId);
2903
+ if (!retryKey) return;
2904
+ const existing = this.decryptRetries.get(retryKey);
2905
+ if (existing?.timer || existing?.inFlight) return;
2906
+ const attempts = (existing?.attempts ?? 0) + 1;
2907
+ if (attempts > MATRIX_DECRYPT_RETRY_MAX_ATTEMPTS) {
2908
+ this.clearDecryptRetry(retryKey);
2909
+ LogService.debug("MatrixClientLite", `Giving up decryption retry for ${params.eventId} in ${params.roomId} after ${attempts - 1} attempts`);
2910
+ return;
2911
+ }
2912
+ const delayMs = Math.min(MATRIX_DECRYPT_RETRY_BASE_DELAY_MS * 2 ** (attempts - 1), MATRIX_DECRYPT_RETRY_MAX_DELAY_MS);
2913
+ const next = {
2914
+ event: params.event,
2915
+ roomId: params.roomId,
2916
+ eventId: params.eventId,
2917
+ attempts,
2918
+ inFlight: false,
2919
+ timer: null
2920
+ };
2921
+ next.timer = setTimeout(() => {
2922
+ this.runDecryptRetry(retryKey).catch(noop);
2923
+ }, delayMs);
2924
+ this.decryptRetries.set(retryKey, next);
2925
+ }
2926
+ async runDecryptRetry(retryKey) {
2927
+ const state = this.decryptRetries.get(retryKey);
2928
+ if (!state || state.inFlight) return;
2929
+ state.inFlight = true;
2930
+ state.timer = null;
2931
+ this.activeRetryRuns += 1;
2932
+ if (!(typeof this.deps.client.decryptEventIfNeeded === "function")) {
2933
+ this.clearDecryptRetry(retryKey);
2934
+ this.activeRetryRuns = Math.max(0, this.activeRetryRuns - 1);
2935
+ this.resolveRetryIdleIfNeeded();
2936
+ return;
2937
+ }
2938
+ try {
2939
+ await this.deps.client.decryptEventIfNeeded?.(state.event, { isRetry: true });
2940
+ } catch {} finally {
2941
+ state.inFlight = false;
2942
+ this.activeRetryRuns = Math.max(0, this.activeRetryRuns - 1);
2943
+ this.resolveRetryIdleIfNeeded();
2944
+ }
2945
+ if (this.decryptRetries.get(retryKey) !== state) return;
2946
+ if (isDecryptionFailure(state.event)) {
2947
+ this.scheduleDecryptRetry(state);
2948
+ return;
2949
+ }
2950
+ this.clearDecryptRetry(retryKey);
2951
+ }
2952
+ clearDecryptRetry(retryKey) {
2953
+ const state = this.decryptRetries.get(retryKey);
2954
+ if (state?.timer) clearTimeout(state.timer);
2955
+ this.decryptRetries.delete(retryKey);
2956
+ this.failedDecryptionsNotified.delete(retryKey);
2957
+ }
2958
+ rememberDecryptedMessage(roomId, eventId) {
2959
+ if (!eventId) return;
2960
+ const now = Date.now();
2961
+ this.pruneDecryptedMessageDedupe(now);
2962
+ this.decryptedMessageDedupe.set(`${roomId}|${eventId}`, now);
2963
+ }
2964
+ pruneDecryptedMessageDedupe(now) {
2965
+ const ttlMs = 3e4;
2966
+ for (const [key, createdAt] of this.decryptedMessageDedupe) if (now - createdAt > ttlMs) this.decryptedMessageDedupe.delete(key);
2967
+ const maxEntries = 2048;
2968
+ while (this.decryptedMessageDedupe.size > maxEntries) {
2969
+ const oldest = this.decryptedMessageDedupe.keys().next().value;
2970
+ if (oldest === void 0) break;
2971
+ this.decryptedMessageDedupe.delete(oldest);
2972
+ }
2973
+ }
2974
+ async waitForActiveRetryRunsToFinish() {
2975
+ if (this.activeRetryRuns === 0) return;
2976
+ await new Promise((resolve) => {
2977
+ this.retryIdleResolvers.add(resolve);
2978
+ if (this.activeRetryRuns === 0) {
2979
+ this.retryIdleResolvers.delete(resolve);
2980
+ resolve();
2981
+ }
2982
+ });
2983
+ }
2984
+ resolveRetryIdleIfNeeded() {
2985
+ if (this.activeRetryRuns !== 0) return;
2986
+ for (const resolve of this.retryIdleResolvers) resolve();
2987
+ this.retryIdleResolvers.clear();
2988
+ }
2989
+ };
2990
+ //#endregion
2991
+ //#region extensions/matrix/src/matrix/sdk/idb-persistence.ts
2992
+ function isValidIdbIndexSnapshot(value) {
2993
+ if (!value || typeof value !== "object") return false;
2994
+ const candidate = value;
2995
+ return typeof candidate.name === "string" && (typeof candidate.keyPath === "string" || Array.isArray(candidate.keyPath) && candidate.keyPath.every((entry) => typeof entry === "string")) && typeof candidate.multiEntry === "boolean" && typeof candidate.unique === "boolean";
2996
+ }
2997
+ function isValidIdbRecordSnapshot(value) {
2998
+ if (!value || typeof value !== "object") return false;
2999
+ return "key" in value && "value" in value;
3000
+ }
3001
+ function isValidIdbStoreSnapshot(value) {
3002
+ if (!value || typeof value !== "object") return false;
3003
+ const candidate = value;
3004
+ const validKeyPath = candidate.keyPath === null || typeof candidate.keyPath === "string" || Array.isArray(candidate.keyPath) && candidate.keyPath.every((entry) => typeof entry === "string");
3005
+ return typeof candidate.name === "string" && validKeyPath && typeof candidate.autoIncrement === "boolean" && Array.isArray(candidate.indexes) && candidate.indexes.every((entry) => isValidIdbIndexSnapshot(entry)) && Array.isArray(candidate.records) && candidate.records.every((entry) => isValidIdbRecordSnapshot(entry));
3006
+ }
3007
+ function isValidIdbDatabaseSnapshot(value) {
3008
+ if (!value || typeof value !== "object") return false;
3009
+ const candidate = value;
3010
+ return typeof candidate.name === "string" && typeof candidate.version === "number" && Number.isFinite(candidate.version) && candidate.version > 0 && Array.isArray(candidate.stores) && candidate.stores.every((entry) => isValidIdbStoreSnapshot(entry));
3011
+ }
3012
+ function parseSnapshotPayload(data) {
3013
+ const parsed = JSON.parse(data);
3014
+ if (!Array.isArray(parsed) || parsed.length === 0) return null;
3015
+ if (!parsed.every((entry) => isValidIdbDatabaseSnapshot(entry))) throw new Error("Malformed IndexedDB snapshot payload");
3016
+ return parsed;
3017
+ }
3018
+ function idbReq(req) {
3019
+ return new Promise((resolve, reject) => {
3020
+ req.onsuccess = () => resolve(req.result);
3021
+ req.onerror = () => reject(req.error);
3022
+ });
3023
+ }
3024
+ async function dumpIndexedDatabases(databasePrefix) {
3025
+ const idb = fakeIndexedDB;
3026
+ const dbList = await idb.databases();
3027
+ const snapshot = [];
3028
+ const expectedPrefix = databasePrefix ? `${databasePrefix}::` : null;
3029
+ for (const { name, version } of dbList) {
3030
+ if (!name || !version) continue;
3031
+ if (expectedPrefix && !name.startsWith(expectedPrefix)) continue;
3032
+ const db = await new Promise((resolve, reject) => {
3033
+ const r = idb.open(name, version);
3034
+ r.onsuccess = () => resolve(r.result);
3035
+ r.onerror = () => reject(r.error);
3036
+ });
3037
+ const stores = [];
3038
+ for (const storeName of db.objectStoreNames) {
3039
+ const store = db.transaction(storeName, "readonly").objectStore(storeName);
3040
+ const storeInfo = {
3041
+ name: storeName,
3042
+ keyPath: store.keyPath,
3043
+ autoIncrement: store.autoIncrement,
3044
+ indexes: [],
3045
+ records: []
3046
+ };
3047
+ for (const idxName of store.indexNames) {
3048
+ const idx = store.index(idxName);
3049
+ storeInfo.indexes.push({
3050
+ name: idxName,
3051
+ keyPath: idx.keyPath,
3052
+ multiEntry: idx.multiEntry,
3053
+ unique: idx.unique
3054
+ });
3055
+ }
3056
+ const keys = await idbReq(store.getAllKeys());
3057
+ const values = await idbReq(store.getAll());
3058
+ storeInfo.records = keys.map((k, i) => ({
3059
+ key: k,
3060
+ value: values[i]
3061
+ }));
3062
+ stores.push(storeInfo);
3063
+ }
3064
+ snapshot.push({
3065
+ name,
3066
+ version,
3067
+ stores
3068
+ });
3069
+ db.close();
3070
+ }
3071
+ return snapshot;
3072
+ }
3073
+ async function restoreIndexedDatabases(snapshot) {
3074
+ const idb = fakeIndexedDB;
3075
+ for (const dbSnap of snapshot) await new Promise((resolve, reject) => {
3076
+ const r = idb.open(dbSnap.name, dbSnap.version);
3077
+ r.onupgradeneeded = () => {
3078
+ const db = r.result;
3079
+ for (const storeSnap of dbSnap.stores) {
3080
+ const opts = {};
3081
+ if (storeSnap.keyPath !== null) opts.keyPath = storeSnap.keyPath;
3082
+ if (storeSnap.autoIncrement) opts.autoIncrement = true;
3083
+ const store = db.createObjectStore(storeSnap.name, opts);
3084
+ for (const idx of storeSnap.indexes) store.createIndex(idx.name, idx.keyPath, {
3085
+ unique: idx.unique,
3086
+ multiEntry: idx.multiEntry
3087
+ });
3088
+ }
3089
+ };
3090
+ r.onsuccess = async () => {
3091
+ try {
3092
+ const db = r.result;
3093
+ for (const storeSnap of dbSnap.stores) {
3094
+ if (storeSnap.records.length === 0) continue;
3095
+ const tx = db.transaction(storeSnap.name, "readwrite");
3096
+ const store = tx.objectStore(storeSnap.name);
3097
+ for (const rec of storeSnap.records) if (storeSnap.keyPath !== null) store.put(rec.value);
3098
+ else store.put(rec.value, rec.key);
3099
+ await new Promise((res) => {
3100
+ tx.oncomplete = () => res();
3101
+ });
3102
+ }
3103
+ db.close();
3104
+ resolve();
3105
+ } catch (err) {
3106
+ reject(err);
3107
+ }
3108
+ };
3109
+ r.onerror = () => reject(r.error);
3110
+ });
3111
+ }
3112
+ function resolveDefaultIdbSnapshotPath() {
3113
+ const stateDir = process.env.OPENCLAW_STATE_DIR || path.join(process.env.HOME || "/tmp", ".openclaw");
3114
+ return path.join(stateDir, "matrix", "crypto-idb-snapshot.json");
3115
+ }
3116
+ async function restoreIdbFromDisk(snapshotPath) {
3117
+ const candidatePaths = snapshotPath ? [snapshotPath] : [resolveDefaultIdbSnapshotPath()];
3118
+ for (const resolvedPath of candidatePaths) try {
3119
+ if (await withFileLock(resolvedPath, MATRIX_IDB_SNAPSHOT_LOCK_OPTIONS, async () => {
3120
+ const snapshot = parseSnapshotPayload(fsSync.readFileSync(resolvedPath, "utf8"));
3121
+ if (!snapshot) return false;
3122
+ await restoreIndexedDatabases(snapshot);
3123
+ LogService.info("IdbPersistence", `Restored ${snapshot.length} IndexedDB database(s) from ${resolvedPath}`);
3124
+ return true;
3125
+ })) return true;
3126
+ } catch (err) {
3127
+ LogService.warn("IdbPersistence", `Failed to restore IndexedDB snapshot from ${resolvedPath}:`, err);
3128
+ continue;
3129
+ }
3130
+ return false;
3131
+ }
3132
+ async function persistIdbToDisk(params) {
3133
+ const snapshotPath = params?.snapshotPath ?? resolveDefaultIdbSnapshotPath();
3134
+ try {
3135
+ fsSync.mkdirSync(path.dirname(snapshotPath), { recursive: true });
3136
+ const persistedCount = await withFileLock(snapshotPath, MATRIX_IDB_SNAPSHOT_LOCK_OPTIONS, async () => {
3137
+ const snapshot = await dumpIndexedDatabases(params?.databasePrefix);
3138
+ if (snapshot.length === 0) return 0;
3139
+ fsSync.writeFileSync(snapshotPath, JSON.stringify(snapshot));
3140
+ fsSync.chmodSync(snapshotPath, 384);
3141
+ return snapshot.length;
3142
+ });
3143
+ if (persistedCount === 0) return;
3144
+ LogService.debug("IdbPersistence", `Persisted ${persistedCount} IndexedDB database(s) to ${snapshotPath}`);
3145
+ } catch (err) {
3146
+ LogService.warn("IdbPersistence", "Failed to persist IndexedDB snapshot:", err);
3147
+ }
3148
+ }
3149
+ //#endregion
3150
+ //#region extensions/matrix/src/matrix/sdk/verification-manager.ts
3151
+ const MAX_TRACKED_VERIFICATION_SESSIONS = 256;
3152
+ const TERMINAL_SESSION_RETENTION_MS = 1440 * 60 * 1e3;
3153
+ const SAS_AUTO_CONFIRM_DELAY_MS = 3e4;
3154
+ var MatrixVerificationManager = class {
3155
+ constructor() {
3156
+ this.verificationSessions = /* @__PURE__ */ new Map();
3157
+ this.verificationSessionCounter = 0;
3158
+ this.trackedVerificationRequests = /* @__PURE__ */ new WeakSet();
3159
+ this.trackedVerificationVerifiers = /* @__PURE__ */ new WeakSet();
3160
+ this.summaryListeners = /* @__PURE__ */ new Set();
3161
+ }
3162
+ readRequestValue(request, reader, fallback) {
3163
+ try {
3164
+ return reader();
3165
+ } catch {
3166
+ return fallback;
3167
+ }
3168
+ }
3169
+ pruneVerificationSessions(nowMs) {
3170
+ for (const [id, session] of this.verificationSessions) {
3171
+ const phase = this.readRequestValue(session.request, () => session.request.phase, -1);
3172
+ if ((phase === VerificationPhase.Done || phase === VerificationPhase.Cancelled) && nowMs - session.updatedAtMs > TERMINAL_SESSION_RETENTION_MS) this.verificationSessions.delete(id);
3173
+ }
3174
+ if (this.verificationSessions.size <= MAX_TRACKED_VERIFICATION_SESSIONS) return;
3175
+ const sortedByAge = Array.from(this.verificationSessions.entries()).sort((a, b) => a[1].updatedAtMs - b[1].updatedAtMs);
3176
+ const overflow = this.verificationSessions.size - MAX_TRACKED_VERIFICATION_SESSIONS;
3177
+ for (let i = 0; i < overflow; i += 1) {
3178
+ const entry = sortedByAge[i];
3179
+ if (entry) this.verificationSessions.delete(entry[0]);
3180
+ }
3181
+ }
3182
+ getVerificationPhaseName(phase) {
3183
+ switch (phase) {
3184
+ case VerificationPhase.Unsent: return "unsent";
3185
+ case VerificationPhase.Requested: return "requested";
3186
+ case VerificationPhase.Ready: return "ready";
3187
+ case VerificationPhase.Started: return "started";
3188
+ case VerificationPhase.Cancelled: return "cancelled";
3189
+ case VerificationPhase.Done: return "done";
3190
+ default: return `unknown(${phase})`;
3191
+ }
3192
+ }
3193
+ emitVerificationSummary(session) {
3194
+ const summary = this.buildVerificationSummary(session);
3195
+ for (const listener of this.summaryListeners) listener(summary);
3196
+ }
3197
+ touchVerificationSession(session) {
3198
+ session.updatedAtMs = Date.now();
3199
+ this.emitVerificationSummary(session);
3200
+ }
3201
+ clearSasAutoConfirmTimer(session) {
3202
+ if (!session.sasAutoConfirmTimer) return;
3203
+ clearTimeout(session.sasAutoConfirmTimer);
3204
+ session.sasAutoConfirmTimer = void 0;
3205
+ }
3206
+ buildVerificationSummary(session) {
3207
+ const request = session.request;
3208
+ const phase = this.readRequestValue(request, () => request.phase, VerificationPhase.Requested);
3209
+ const accepting = this.readRequestValue(request, () => request.accepting, false);
3210
+ const declining = this.readRequestValue(request, () => request.declining, false);
3211
+ const pending = this.readRequestValue(request, () => request.pending, false);
3212
+ const methodsRaw = this.readRequestValue(request, () => request.methods, []);
3213
+ const methods = Array.isArray(methodsRaw) ? methodsRaw.filter((entry) => typeof entry === "string") : [];
3214
+ const sasCallbacks = session.sasCallbacks ?? session.activeVerifier?.getShowSasCallbacks();
3215
+ if (sasCallbacks) session.sasCallbacks = sasCallbacks;
3216
+ const canAccept = phase < VerificationPhase.Ready && !accepting && !declining;
3217
+ return {
3218
+ id: session.id,
3219
+ transactionId: this.readRequestValue(request, () => request.transactionId, void 0),
3220
+ roomId: this.readRequestValue(request, () => request.roomId, void 0),
3221
+ otherUserId: this.readRequestValue(request, () => request.otherUserId, "unknown"),
3222
+ otherDeviceId: this.readRequestValue(request, () => request.otherDeviceId, void 0),
3223
+ isSelfVerification: this.readRequestValue(request, () => request.isSelfVerification, false),
3224
+ initiatedByMe: this.readRequestValue(request, () => request.initiatedByMe, false),
3225
+ phase,
3226
+ phaseName: this.getVerificationPhaseName(phase),
3227
+ pending,
3228
+ methods,
3229
+ chosenMethod: this.readRequestValue(request, () => request.chosenMethod ?? null, null),
3230
+ canAccept,
3231
+ hasSas: Boolean(sasCallbacks),
3232
+ sas: sasCallbacks ? {
3233
+ decimal: sasCallbacks.sas.decimal,
3234
+ emoji: sasCallbacks.sas.emoji
3235
+ } : void 0,
3236
+ hasReciprocateQr: Boolean(session.reciprocateQrCallbacks),
3237
+ completed: phase === VerificationPhase.Done,
3238
+ error: session.error,
3239
+ createdAt: new Date(session.createdAtMs).toISOString(),
3240
+ updatedAt: new Date(session.updatedAtMs).toISOString()
3241
+ };
3242
+ }
3243
+ findVerificationSession(id) {
3244
+ const direct = this.verificationSessions.get(id);
3245
+ if (direct) return direct;
3246
+ for (const session of this.verificationSessions.values()) if (this.readRequestValue(session.request, () => session.request.transactionId, "") === id) return session;
3247
+ throw new Error(`Matrix verification request not found: ${id}`);
3248
+ }
3249
+ ensureVerificationRequestTracked(session) {
3250
+ const requestObj = session.request;
3251
+ if (this.trackedVerificationRequests.has(requestObj)) return;
3252
+ this.trackedVerificationRequests.add(requestObj);
3253
+ session.request.on(VerificationRequestEvent.Change, () => {
3254
+ this.touchVerificationSession(session);
3255
+ this.maybeAutoAcceptInboundRequest(session);
3256
+ const verifier = this.readRequestValue(session.request, () => session.request.verifier, null);
3257
+ if (verifier) this.attachVerifierToVerificationSession(session, verifier);
3258
+ this.maybeAutoStartInboundSas(session);
3259
+ });
3260
+ }
3261
+ maybeAutoAcceptInboundRequest(session) {
3262
+ if (session.acceptRequested) return;
3263
+ const request = session.request;
3264
+ const isSelfVerification = this.readRequestValue(request, () => request.isSelfVerification, false);
3265
+ const initiatedByMe = this.readRequestValue(request, () => request.initiatedByMe, false);
3266
+ const phase = this.readRequestValue(request, () => request.phase, VerificationPhase.Requested);
3267
+ const accepting = this.readRequestValue(request, () => request.accepting, false);
3268
+ const declining = this.readRequestValue(request, () => request.declining, false);
3269
+ if (isSelfVerification || initiatedByMe) return;
3270
+ if (phase !== VerificationPhase.Requested || accepting || declining) return;
3271
+ session.acceptRequested = true;
3272
+ request.accept().then(() => {
3273
+ this.touchVerificationSession(session);
3274
+ }).catch((err) => {
3275
+ session.acceptRequested = false;
3276
+ session.error = err instanceof Error ? err.message : String(err);
3277
+ this.touchVerificationSession(session);
3278
+ });
3279
+ }
3280
+ maybeAutoStartInboundSas(session) {
3281
+ if (session.activeVerifier || session.verifyStarted || session.startRequested) return;
3282
+ if (this.readRequestValue(session.request, () => session.request.initiatedByMe, true)) return;
3283
+ if (!this.readRequestValue(session.request, () => session.request.isSelfVerification, false)) return;
3284
+ const phase = this.readRequestValue(session.request, () => session.request.phase, VerificationPhase.Requested);
3285
+ if (phase < VerificationPhase.Ready || phase >= VerificationPhase.Cancelled) return;
3286
+ const methodsRaw = this.readRequestValue(session.request, () => session.request.methods, []);
3287
+ const methods = Array.isArray(methodsRaw) ? methodsRaw.filter((entry) => typeof entry === "string") : [];
3288
+ const chosenMethod = this.readRequestValue(session.request, () => session.request.chosenMethod, null);
3289
+ if (!(methods.includes(VerificationMethod.Sas) || chosenMethod === VerificationMethod.Sas)) return;
3290
+ session.startRequested = true;
3291
+ session.request.startVerification(VerificationMethod.Sas).then((verifier) => {
3292
+ this.attachVerifierToVerificationSession(session, verifier);
3293
+ this.touchVerificationSession(session);
3294
+ }).catch(() => {
3295
+ session.startRequested = false;
3296
+ });
3297
+ }
3298
+ attachVerifierToVerificationSession(session, verifier) {
3299
+ session.activeVerifier = verifier;
3300
+ this.touchVerificationSession(session);
3301
+ const maybeSas = verifier.getShowSasCallbacks();
3302
+ if (maybeSas) {
3303
+ session.sasCallbacks = maybeSas;
3304
+ this.maybeAutoConfirmSas(session);
3305
+ }
3306
+ const maybeReciprocateQr = verifier.getReciprocateQrCodeCallbacks();
3307
+ if (maybeReciprocateQr) session.reciprocateQrCallbacks = maybeReciprocateQr;
3308
+ const verifierObj = verifier;
3309
+ if (this.trackedVerificationVerifiers.has(verifierObj)) {
3310
+ this.ensureVerificationStarted(session);
3311
+ return;
3312
+ }
3313
+ this.trackedVerificationVerifiers.add(verifierObj);
3314
+ verifier.on(VerifierEvent.ShowSas, (sas) => {
3315
+ session.sasCallbacks = sas;
3316
+ this.touchVerificationSession(session);
3317
+ this.maybeAutoConfirmSas(session);
3318
+ });
3319
+ verifier.on(VerifierEvent.ShowReciprocateQr, (qr) => {
3320
+ session.reciprocateQrCallbacks = qr;
3321
+ this.touchVerificationSession(session);
3322
+ });
3323
+ verifier.on(VerifierEvent.Cancel, (err) => {
3324
+ this.clearSasAutoConfirmTimer(session);
3325
+ session.error = err instanceof Error ? err.message : String(err);
3326
+ this.touchVerificationSession(session);
3327
+ });
3328
+ this.ensureVerificationStarted(session);
3329
+ }
3330
+ maybeAutoConfirmSas(session) {
3331
+ if (session.sasAutoConfirmStarted || session.sasAutoConfirmTimer) return;
3332
+ if (this.readRequestValue(session.request, () => session.request.initiatedByMe, true)) return;
3333
+ const callbacks = session.sasCallbacks ?? session.activeVerifier?.getShowSasCallbacks();
3334
+ if (!callbacks) return;
3335
+ session.sasCallbacks = callbacks;
3336
+ session.sasAutoConfirmTimer = setTimeout(() => {
3337
+ session.sasAutoConfirmTimer = void 0;
3338
+ if (this.readRequestValue(session.request, () => session.request.phase, VerificationPhase.Requested) >= VerificationPhase.Cancelled) return;
3339
+ session.sasAutoConfirmStarted = true;
3340
+ callbacks.confirm().then(() => {
3341
+ this.touchVerificationSession(session);
3342
+ }).catch((err) => {
3343
+ session.error = err instanceof Error ? err.message : String(err);
3344
+ this.touchVerificationSession(session);
3345
+ });
3346
+ }, SAS_AUTO_CONFIRM_DELAY_MS);
3347
+ }
3348
+ ensureVerificationStarted(session) {
3349
+ if (!session.activeVerifier || session.verifyStarted) return;
3350
+ session.verifyStarted = true;
3351
+ session.verifyPromise = session.activeVerifier.verify().then(() => {
3352
+ this.touchVerificationSession(session);
3353
+ }).catch((err) => {
3354
+ session.error = err instanceof Error ? err.message : String(err);
3355
+ this.touchVerificationSession(session);
3356
+ });
3357
+ }
3358
+ onSummaryChanged(listener) {
3359
+ this.summaryListeners.add(listener);
3360
+ return () => {
3361
+ this.summaryListeners.delete(listener);
3362
+ };
3363
+ }
3364
+ trackVerificationRequest(request) {
3365
+ this.pruneVerificationSessions(Date.now());
3366
+ const txId = this.readRequestValue(request, () => request.transactionId?.trim(), "");
3367
+ if (txId) {
3368
+ for (const existing of this.verificationSessions.values()) if (this.readRequestValue(existing.request, () => existing.request.transactionId, "") === txId) {
3369
+ existing.request = request;
3370
+ this.ensureVerificationRequestTracked(existing);
3371
+ const verifier = this.readRequestValue(request, () => request.verifier, null);
3372
+ if (verifier) this.attachVerifierToVerificationSession(existing, verifier);
3373
+ this.touchVerificationSession(existing);
3374
+ return this.buildVerificationSummary(existing);
3375
+ }
3376
+ }
3377
+ const now = Date.now();
3378
+ const session = {
3379
+ id: `verification-${++this.verificationSessionCounter}`,
3380
+ request,
3381
+ createdAtMs: now,
3382
+ updatedAtMs: now,
3383
+ verifyStarted: false,
3384
+ startRequested: false,
3385
+ acceptRequested: false,
3386
+ sasAutoConfirmStarted: false
3387
+ };
3388
+ this.verificationSessions.set(session.id, session);
3389
+ this.ensureVerificationRequestTracked(session);
3390
+ this.maybeAutoAcceptInboundRequest(session);
3391
+ const verifier = this.readRequestValue(request, () => request.verifier, null);
3392
+ if (verifier) this.attachVerifierToVerificationSession(session, verifier);
3393
+ this.maybeAutoStartInboundSas(session);
3394
+ this.emitVerificationSummary(session);
3395
+ return this.buildVerificationSummary(session);
3396
+ }
3397
+ async requestOwnUserVerification(crypto) {
3398
+ if (!crypto) return null;
3399
+ const request = await crypto.requestOwnUserVerification();
3400
+ if (!request) return null;
3401
+ return this.trackVerificationRequest(request);
3402
+ }
3403
+ listVerifications() {
3404
+ this.pruneVerificationSessions(Date.now());
3405
+ return Array.from(this.verificationSessions.values()).map((session) => this.buildVerificationSummary(session)).sort((a, b) => b.updatedAt.localeCompare(a.updatedAt));
3406
+ }
3407
+ async requestVerification(crypto, params) {
3408
+ if (!crypto) throw new Error("Matrix crypto is not available");
3409
+ let request = null;
3410
+ if (params.ownUser) request = await crypto.requestOwnUserVerification();
3411
+ else if (params.userId && params.deviceId && crypto.requestDeviceVerification) request = await crypto.requestDeviceVerification(params.userId, params.deviceId);
3412
+ else if (params.userId && params.roomId && crypto.requestVerificationDM) request = await crypto.requestVerificationDM(params.userId, params.roomId);
3413
+ else throw new Error("Matrix verification request requires one of: ownUser, userId+deviceId, or userId+roomId");
3414
+ if (!request) throw new Error("Matrix verification request could not be created");
3415
+ return this.trackVerificationRequest(request);
3416
+ }
3417
+ async acceptVerification(id) {
3418
+ const session = this.findVerificationSession(id);
3419
+ await session.request.accept();
3420
+ this.touchVerificationSession(session);
3421
+ return this.buildVerificationSummary(session);
3422
+ }
3423
+ async cancelVerification(id, params) {
3424
+ const session = this.findVerificationSession(id);
3425
+ await session.request.cancel(params);
3426
+ this.touchVerificationSession(session);
3427
+ return this.buildVerificationSummary(session);
3428
+ }
3429
+ async startVerification(id, method = "sas") {
3430
+ const session = this.findVerificationSession(id);
3431
+ if (method !== "sas") throw new Error("Matrix startVerification currently supports only SAS directly");
3432
+ const verifier = await session.request.startVerification(VerificationMethod.Sas);
3433
+ this.attachVerifierToVerificationSession(session, verifier);
3434
+ this.ensureVerificationStarted(session);
3435
+ return this.buildVerificationSummary(session);
3436
+ }
3437
+ async generateVerificationQr(id) {
3438
+ const qr = await this.findVerificationSession(id).request.generateQRCode();
3439
+ if (!qr) throw new Error("Matrix verification QR data is not available yet");
3440
+ return { qrDataBase64: Buffer.from(qr).toString("base64") };
3441
+ }
3442
+ async scanVerificationQr(id, qrDataBase64) {
3443
+ const session = this.findVerificationSession(id);
3444
+ const trimmed = qrDataBase64.trim();
3445
+ if (!trimmed) throw new Error("Matrix verification QR payload is required");
3446
+ const qrBytes = Buffer.from(trimmed, "base64");
3447
+ if (qrBytes.length === 0) throw new Error("Matrix verification QR payload is invalid base64");
3448
+ const verifier = await session.request.scanQRCode(new Uint8ClampedArray(qrBytes));
3449
+ this.attachVerifierToVerificationSession(session, verifier);
3450
+ this.ensureVerificationStarted(session);
3451
+ return this.buildVerificationSummary(session);
3452
+ }
3453
+ async confirmVerificationSas(id) {
3454
+ const session = this.findVerificationSession(id);
3455
+ const callbacks = session.sasCallbacks ?? session.activeVerifier?.getShowSasCallbacks();
3456
+ if (!callbacks) throw new Error("Matrix SAS confirmation is not available for this verification request");
3457
+ this.clearSasAutoConfirmTimer(session);
3458
+ session.sasCallbacks = callbacks;
3459
+ session.sasAutoConfirmStarted = true;
3460
+ await callbacks.confirm();
3461
+ this.touchVerificationSession(session);
3462
+ return this.buildVerificationSummary(session);
3463
+ }
3464
+ mismatchVerificationSas(id) {
3465
+ const session = this.findVerificationSession(id);
3466
+ const callbacks = session.sasCallbacks ?? session.activeVerifier?.getShowSasCallbacks();
3467
+ if (!callbacks) throw new Error("Matrix SAS mismatch is not available for this verification request");
3468
+ this.clearSasAutoConfirmTimer(session);
3469
+ session.sasCallbacks = callbacks;
3470
+ callbacks.mismatch();
3471
+ this.touchVerificationSession(session);
3472
+ return this.buildVerificationSummary(session);
3473
+ }
3474
+ confirmVerificationReciprocateQr(id) {
3475
+ const session = this.findVerificationSession(id);
3476
+ const callbacks = session.reciprocateQrCallbacks ?? session.activeVerifier?.getReciprocateQrCodeCallbacks();
3477
+ if (!callbacks) throw new Error("Matrix reciprocate-QR confirmation is not available for this verification request");
3478
+ session.reciprocateQrCallbacks = callbacks;
3479
+ callbacks.confirm();
3480
+ this.touchVerificationSession(session);
3481
+ return this.buildVerificationSummary(session);
3482
+ }
3483
+ getVerificationSas(id) {
3484
+ const session = this.findVerificationSession(id);
3485
+ const callbacks = session.sasCallbacks ?? session.activeVerifier?.getShowSasCallbacks();
3486
+ if (!callbacks) throw new Error("Matrix SAS data is not available for this verification request");
3487
+ session.sasCallbacks = callbacks;
3488
+ return {
3489
+ decimal: callbacks.sas.decimal,
3490
+ emoji: callbacks.sas.emoji
3491
+ };
3492
+ }
3493
+ };
3494
+ //#endregion
3495
+ export { MatrixCryptoBootstrapper, MatrixDecryptBridge, MatrixVerificationManager, createMatrixCryptoFacade, isMatrixDeviceOwnerVerified, persistIdbToDisk, restoreIdbFromDisk };