squidclaw 3.0.33 → 3.0.34

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 (280) hide show
  1. package/dist/{accounts-BFS_qklA.js → accounts-CB2Or0mr.js} +2 -2
  2. package/dist/{accounts-DfrJiFJJ.js → accounts-Cop2dSRo.js} +2 -2
  3. package/dist/{accounts-pMDX8iho.js → accounts-CqITV0Ga.js} +4 -4
  4. package/dist/{acp-cli-BeT7oXUu.js → acp-cli-Cgh0knV4.js} +2 -2
  5. package/dist/{active-listener-CH2vJ3EZ.js → active-listener-B6G6kmsb.js} +2 -2
  6. package/dist/{agents.config-Cav8LwTL.js → agents.config-DOZdl-eO.js} +1 -1
  7. package/dist/{api-key-rotation-DCBXT0v7.js → api-key-rotation-Da2qYrP7.js} +2 -2
  8. package/dist/{audio-preflight-WUW8KeL4.js → audio-preflight-CB33NBGY.js} +6 -6
  9. package/dist/{audio-preflight-Ckq8A2xS.js → audio-preflight-CXP7KNn_.js} +4 -4
  10. package/dist/{audio-preflight-B5XvcdFX.js → audio-preflight-yiMsGLW7.js} +30 -30
  11. package/dist/{audio-transcription-runner-Bd34S1mx.js → audio-transcription-runner-BOxTuqbS.js} +1 -1
  12. package/dist/{audio-transcription-runner-BkEXZq6_.js → audio-transcription-runner-CCZC5tJf.js} +1 -1
  13. package/dist/{audio-transcription-runner-DUC0ItDY.js → audio-transcription-runner-Mha07yP4.js} +12 -12
  14. package/dist/{audit-CL1tJbCc.js → audit-BhpEYysK.js} +6 -6
  15. package/dist/{audit-membership-runtime-czdecfjJ.js → audit-membership-runtime-By9-qSwl.js} +3 -3
  16. package/dist/{auth-choice-CbIT_f15.js → auth-choice-CW-WPa0J.js} +2 -2
  17. package/dist/{browser-cli-Bjw4bzsY.js → browser-cli-BsOTPzD6.js} +3 -3
  18. package/dist/build-info.json +3 -3
  19. package/dist/bundled/boot-md/handler.js +49 -49
  20. package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
  21. package/dist/bundled/command-logger/handler.js +1 -1
  22. package/dist/bundled/session-memory/HOOK.md +2 -1
  23. package/dist/bundled/session-memory/handler.js +142 -55
  24. package/dist/{call-BZMmsZnA.js → call-CsRvPUMG.js} +1 -1
  25. package/dist/{channel-activity-7QMEKenc.js → channel-activity-Du1kh0t3.js} +3 -3
  26. package/dist/{channel-options-ByYVebwk.js → channel-options-DiLSWw11.js} +1 -1
  27. package/dist/{channel-web-DRCZstY9.js → channel-web-B9qThdZn.js} +3 -3
  28. package/dist/{channels-cli-fZ8vLR-3.js → channels-cli-DPzzCs8D.js} +21 -21
  29. package/dist/{chrome-B3h5980A.js → chrome-AmH-OPlL.js} +8 -8
  30. package/dist/{chrome-BTwG9Gvh.js → chrome-C2CliEWR.js} +15 -15
  31. package/dist/{chrome-uzcvgAW9.js → chrome-DLZaNSqV.js} +8 -8
  32. package/dist/{clawbot-cli-Aal6iAhy.js → clawbot-cli-Y6f5RzmX.js} +4 -4
  33. package/dist/{cli-DDzqaV2x.js → cli-Cegwo5rc.js} +16 -16
  34. package/dist/{client-gy8bx9Xy.js → client-DYXM5N_N.js} +4 -4
  35. package/dist/{command-secret-targets-QzzK0cvw.js → command-secret-targets-4lxt7RD_.js} +2 -2
  36. package/dist/{commands-registry-BIi1tG__.js → commands-registry-6jWzz0mk.js} +4 -4
  37. package/dist/{completion-cli-cvF7VIAg.js → completion-cli-BLY0f3DS.js} +1 -1
  38. package/dist/{config-cli-BeARZFf8.js → config-cli-B7X83S8T.js} +1 -1
  39. package/dist/{configure-D3v5-GDg.js → configure-Hiahxtwa.js} +6 -6
  40. package/dist/{cron-cli-DjN_8kik.js → cron-cli-DIoOoMCm.js} +3 -3
  41. package/dist/{daemon-cli-D-GtS9tA.js → daemon-cli-DyGOGB4b.js} +2 -2
  42. package/dist/{deliver-KuyvhwaK.js → deliver-Baa4v4N-.js} +1 -1
  43. package/dist/{deliver-e7dtX7aI.js → deliver-DGXG0w_w.js} +1 -1
  44. package/dist/{deliver-DZCNXFM8.js → deliver-Ddw3EsOV.js} +11 -11
  45. package/dist/deliver-runtime-CF9aNwHW.js +36 -0
  46. package/dist/{deliver-runtime-CJeRn4Mi.js → deliver-runtime-Cld2SPeU.js} +5 -5
  47. package/dist/{deliver-runtime-DPjMYovi.js → deliver-runtime-Do2EXjHh.js} +3 -3
  48. package/dist/deps-send-discord.runtime-BdlL7AnG.js +26 -0
  49. package/dist/deps-send-imessage.runtime-BQx5JSa_.js +25 -0
  50. package/dist/deps-send-signal.runtime-dgrmoRN9.js +24 -0
  51. package/dist/deps-send-slack.runtime-CCOjVEQr.js +22 -0
  52. package/dist/deps-send-telegram.runtime-BgwTF5zt.js +27 -0
  53. package/dist/deps-send-whatsapp.runtime-C_zE7G9V.js +60 -0
  54. package/dist/{deps-send-whatsapp.runtime-B155kzJI.js → deps-send-whatsapp.runtime-DhuS0SeA.js} +7 -7
  55. package/dist/{deps-send-whatsapp.runtime-cpKOCWZ7.js → deps-send-whatsapp.runtime-Di849gV3.js} +18 -18
  56. package/dist/{devices-cli-CxBvKU-k.js → devices-cli-DJ5t9Awn.js} +2 -2
  57. package/dist/{diagnostic-4Dbmo6KU.js → diagnostic-B74jJPqv.js} +2 -2
  58. package/dist/{doctor-completion-BIsKBzEq.js → doctor-completion-kjDYgxZk.js} +1 -1
  59. package/dist/{errors-Dih7OXdL.js → errors-CCLnP2Fs.js} +1 -1
  60. package/dist/{exec-approvals-cli-BWJVqTGx.js → exec-approvals-cli-qbq31pxo.js} +4 -4
  61. package/dist/extensionAPI.js +6 -6
  62. package/dist/{fetch-COEkF6YP.js → fetch-OMudX6HR.js} +4 -4
  63. package/dist/{fetch-guard-CcP28UT1.js → fetch-guard-DBZ7o2IA.js} +2 -2
  64. package/dist/{frontmatter-LLGh43CC.js → frontmatter-vSrur-r-.js} +3 -3
  65. package/dist/{fs-safe-NHJJ1b9f.js → fs-safe-Dy2_iDiY.js} +3 -3
  66. package/dist/{gateway-cli-D6hF-7r8.js → gateway-cli-lvhI_G2p.js} +28 -28
  67. package/dist/{gateway-rpc-CMY4PORW.js → gateway-rpc-DXJlCFNJ.js} +1 -1
  68. package/dist/{health-B6rkscPh.js → health-TD-34Yp-.js} +3 -3
  69. package/dist/{hooks-cli-CsLbZW55.js → hooks-cli-C6DWUB-U.js} +17 -17
  70. package/dist/{image-Dkl58_nM.js → image-Ccz6ndn7.js} +1 -1
  71. package/dist/{image-COAbpp2B.js → image-CdfqhHaX.js} +6 -6
  72. package/dist/{image-CBBib8Ld.js → image-DI75geX3.js} +1 -1
  73. package/dist/{image-ops-QLLBkxzG.js → image-ops-BQmWYj-1.js} +2 -2
  74. package/dist/image-runtime-BFxy3jl0.js +29 -0
  75. package/dist/{image-runtime-BinILRte.js → image-runtime-BWARi-r4.js} +3 -3
  76. package/dist/{image-runtime-2ePySomG.js → image-runtime-Obmeae9a.js} +5 -5
  77. package/dist/index.js +21 -21
  78. package/dist/{ir-RKRKj5a9.js → ir-DEPhOdwg.js} +8 -8
  79. package/dist/{legacy-names-CR_H5NWa.js → legacy-names-CDxprteD.js} +1 -1
  80. package/dist/llm-slug-generator.js +49 -49
  81. package/dist/{logger-D20iS3B-.js → logger-onBePS9K.js} +1 -1
  82. package/dist/{login-C1_lumKW.js → login-BPzRFY6S.js} +5 -5
  83. package/dist/{login-qr-D0Gij2UC.js → login-qr-BZbSxC-5.js} +8 -8
  84. package/dist/{logs-cli-Dv4wWIJZ.js → logs-cli-C4B9RucB.js} +3 -3
  85. package/dist/{manager-B_QaG_-L.js → manager-D3ROcs7_.js} +9 -9
  86. package/dist/manager-runtime-Dup90ARI.js +18 -0
  87. package/dist/{memory-cli-CgsaxpRr.js → memory-cli-C7wo32BJ.js} +1 -1
  88. package/dist/{model-selection-Bjj4oU16.js → model-selection-Bh4BR1_K.js} +10 -10
  89. package/dist/{models-cli-Cs6QUPHJ.js → models-cli-CGWYDv56.js} +17 -17
  90. package/dist/{node-cli-QeGnYeqt.js → node-cli-DhcjrGhX.js} +5 -5
  91. package/dist/{node-command-policy-CzqB-8ah.js → node-command-policy-CPjB6YQt.js} +1 -1
  92. package/dist/{nodes-cli-u94LkIig.js → nodes-cli-CmE8JKKq.js} +3 -3
  93. package/dist/{npm-resolution-DptUU3y3.js → npm-resolution-Bwt62vuA.js} +1 -1
  94. package/dist/{onboard-CJX_C5lq.js → onboard-BP7rTtCO.js} +3 -3
  95. package/dist/{onboard-channels-CA3x3tGg.js → onboard-channels-D2p7QNyT.js} +2 -2
  96. package/dist/{onboard-helpers-DZtoPn8i.js → onboard-helpers-JS-Lbczt.js} +1 -1
  97. package/dist/{onboard-remote-BvW9CIHn.js → onboard-remote-Bf-wwh2S.js} +1 -1
  98. package/dist/{onboard-skills-D19L2KkN.js → onboard-skills-CUip0jpN.js} +1 -1
  99. package/dist/{onboarding-CvKwUVhN.js → onboarding-LbGi6oDz.js} +7 -7
  100. package/dist/{onboarding.finalize-CxclFJxn.js → onboarding.finalize-CWcaxeIO.js} +21 -21
  101. package/dist/{onboarding.gateway-config-DvYcbETj.js → onboarding.gateway-config-BfJ7jZ3-.js} +4 -4
  102. package/dist/{outbound-ChkqJkiM.js → outbound-BApjXYwN.js} +6 -6
  103. package/dist/{outbound-attachment-CRXa01xP.js → outbound-attachment-1Yd0-JW2.js} +2 -2
  104. package/dist/{path-alias-guards-DgNuZPBA.js → path-alias-guards-B63g_1Gb.js} +1 -1
  105. package/dist/{paths-7EEBmI5a.js → paths-BJWEyNJy.js} +1 -1
  106. package/dist/{pi-embedded-BULXCFPg.js → pi-embedded-BPU69pec.js} +70 -70
  107. package/dist/{pi-embedded-CLTN3qXD.js → pi-embedded-Cajbf_ri.js} +131 -131
  108. package/dist/{pi-embedded-helpers-CuiXHzQ1.js → pi-embedded-helpers-DBZo6ghW.js} +1 -1
  109. package/dist/{pi-embedded-helpers-CQJfmPVp.js → pi-embedded-helpers-u_th5KKV.js} +3 -3
  110. package/dist/{pi-embedded-helpers-1Z1aUoto.js → pi-embedded-helpers-xpgo_nwz.js} +19 -19
  111. package/dist/{pi-model-discovery-DSuyTtRM.js → pi-model-discovery-BbCPyLm5.js} +1 -1
  112. package/dist/pi-model-discovery-runtime-BeF5ldX8.js +11 -0
  113. package/dist/{pi-tools.before-tool-call.runtime-BCq4EKHD.js → pi-tools.before-tool-call.runtime-s89v8h6G.js} +7 -7
  114. package/dist/{pi-tools.policy-FpqAOqvu.js → pi-tools.policy-BYTs7z53.js} +1 -1
  115. package/dist/{plugin-registry-Cpf1qgAz.js → plugin-registry-FXXByNP3.js} +1 -1
  116. package/dist/plugin-sdk/accounts-BXFDqY90.js +288 -0
  117. package/dist/plugin-sdk/accounts-DU7Js54-.js +46 -0
  118. package/dist/plugin-sdk/accounts-DxiB_4z4.js +35 -0
  119. package/dist/plugin-sdk/active-listener-DRKcesNb.js +50 -0
  120. package/dist/plugin-sdk/api-key-rotation-k1ZNheUH.js +181 -0
  121. package/dist/plugin-sdk/audio-preflight-Be1sKsob.js +69 -0
  122. package/dist/plugin-sdk/audio-transcription-runner-jhHyCc_7.js +2176 -0
  123. package/dist/plugin-sdk/audit-membership-runtime-B9b-zRwg.js +58 -0
  124. package/dist/plugin-sdk/channel-activity-Bq1Y9RiB.js +94 -0
  125. package/dist/plugin-sdk/channel-web-AsdjtnvN.js +2256 -0
  126. package/dist/plugin-sdk/chrome-DOnBMnlx.js +2415 -0
  127. package/dist/plugin-sdk/commands-registry-D0py59pz.js +1125 -0
  128. package/dist/plugin-sdk/config-B16xKqSo.js +17912 -0
  129. package/dist/plugin-sdk/deliver-BqXXtIuw.js +1694 -0
  130. package/dist/plugin-sdk/deliver-runtime-D0xZkt8n.js +32 -0
  131. package/dist/plugin-sdk/deps-send-discord.runtime-BM6ppx2Q.js +23 -0
  132. package/dist/plugin-sdk/deps-send-imessage.runtime-3w5PhXGu.js +22 -0
  133. package/dist/plugin-sdk/deps-send-signal.runtime-yH9cQl3_.js +21 -0
  134. package/dist/plugin-sdk/deps-send-slack.runtime-Bh4gw-L5.js +19 -0
  135. package/dist/plugin-sdk/deps-send-telegram.runtime-C_CtsWgt.js +24 -0
  136. package/dist/plugin-sdk/deps-send-whatsapp.runtime-BF4vx9Ho.js +57 -0
  137. package/dist/plugin-sdk/diagnostic-DUbajFSl.js +319 -0
  138. package/dist/plugin-sdk/errors-B8oJXuCF.js +54 -0
  139. package/dist/plugin-sdk/fetch-guard-Cgyq6Jv9.js +156 -0
  140. package/dist/plugin-sdk/fs-safe-BW1ypSDS.js +352 -0
  141. package/dist/plugin-sdk/image-BPXnvxYL.js +2310 -0
  142. package/dist/plugin-sdk/image-ops-BBY2fn9x.js +584 -0
  143. package/dist/plugin-sdk/image-runtime-S-TzaJpg.js +25 -0
  144. package/dist/plugin-sdk/index.js +50 -50
  145. package/dist/plugin-sdk/ir-BJsqyZfm.js +1296 -0
  146. package/dist/plugin-sdk/local-roots-C1ETRlaC.js +186 -0
  147. package/dist/plugin-sdk/logger-DDdrdbDu.js +1163 -0
  148. package/dist/plugin-sdk/login-DtS9DDnV.js +57 -0
  149. package/dist/plugin-sdk/login-qr-B9YeeJ37.js +320 -0
  150. package/dist/plugin-sdk/manager-Dn7j3n0d.js +3917 -0
  151. package/dist/plugin-sdk/manager-runtime-UK1-iA2B.js +15 -0
  152. package/dist/plugin-sdk/outbound-B8ca8vE3.js +212 -0
  153. package/dist/plugin-sdk/outbound-attachment-BppFIMQa.js +19 -0
  154. package/dist/plugin-sdk/path-alias-guards-BX-3FprC.js +43 -0
  155. package/dist/plugin-sdk/paths-CjFcHB_C.js +166 -0
  156. package/dist/plugin-sdk/pi-embedded-helpers-BeYjP1MW.js +9627 -0
  157. package/dist/plugin-sdk/pi-model-discovery-B_qCKuSW.js +134 -0
  158. package/dist/plugin-sdk/pi-model-discovery-runtime-CZNiNFlm.js +8 -0
  159. package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-cZdrrV27.js +354 -0
  160. package/dist/plugin-sdk/plugins-rivB8KaQ.js +864 -0
  161. package/dist/{proxy-fetch-ChIxNDe3.js → plugin-sdk/proxy-fetch-ZPEvp58f.js} +1 -1
  162. package/dist/plugin-sdk/pw-ai-qaWZD0yx.js +1938 -0
  163. package/dist/plugin-sdk/qmd-manager-izn0N9V3.js +1448 -0
  164. package/dist/plugin-sdk/query-expansion-C1Nx0XAb.js +1011 -0
  165. package/dist/{redact-BSwbgwaV.js → plugin-sdk/redact-BoNEjbpF.js} +1 -1
  166. package/dist/plugin-sdk/reply-DNSpho0-.js +98763 -0
  167. package/dist/plugin-sdk/resolve-outbound-target-YiPIGXVN.js +40 -0
  168. package/dist/plugin-sdk/run-with-concurrency-vfuRiXdY.js +2023 -0
  169. package/dist/plugin-sdk/runtime-whatsapp-login.runtime-BgwMJs4X.js +10 -0
  170. package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-Y7maoii7.js +19 -0
  171. package/dist/plugin-sdk/send-BSD6Pkrk.js +414 -0
  172. package/dist/plugin-sdk/send-C4KxEJe1.js +503 -0
  173. package/dist/plugin-sdk/send-D3XVKGvq.js +540 -0
  174. package/dist/plugin-sdk/send-DFrnRiWm.js +3135 -0
  175. package/dist/plugin-sdk/send-Dh1f5xjE.js +2587 -0
  176. package/dist/plugin-sdk/session-D5c0BIEo.js +169 -0
  177. package/dist/plugin-sdk/signal.js +2 -2
  178. package/dist/plugin-sdk/skill-commands-CnqkEfhS.js +342 -0
  179. package/dist/plugin-sdk/skills-DSbDUvmU.js +1428 -0
  180. package/dist/plugin-sdk/slack.js +2 -2
  181. package/dist/plugin-sdk/slash-commands.runtime-Dbtq7ppF.js +13 -0
  182. package/dist/plugin-sdk/slash-dispatch.runtime-BhAks953.js +52 -0
  183. package/dist/plugin-sdk/slash-skill-commands.runtime-QGNWVO9S.js +16 -0
  184. package/dist/plugin-sdk/ssrf-DvsjfpC2.js +202 -0
  185. package/dist/plugin-sdk/store-DG90hxe6.js +81 -0
  186. package/dist/plugin-sdk/subagent-registry-runtime-Db83OZ3_.js +52 -0
  187. package/dist/plugin-sdk/tables-DNlQ8oQ3.js +55 -0
  188. package/dist/{target-errors-BMTA5KVE.js → plugin-sdk/target-errors-BlVYPwVC.js} +2 -2
  189. package/dist/plugin-sdk/thinking-DT2ZR60x.js +1206 -0
  190. package/dist/{tokens-Cdk21tF_.js → plugin-sdk/tokens-CTIYTLWu.js} +1 -1
  191. package/dist/plugin-sdk/tool-images-DroS1EaM.js +274 -0
  192. package/dist/plugin-sdk/web-42d5VBZj.js +56 -0
  193. package/dist/plugin-sdk/whatsapp-actions-DR2aYq5f.js +80 -0
  194. package/dist/{plugins-D-K4oUXz.js → plugins-D8QbEQB8.js} +6 -6
  195. package/dist/{plugins-cli-DWmGTrQi.js → plugins-cli-BmfpsKs2.js} +17 -17
  196. package/dist/{program-context-CIEsO7ba.js → program-context-Cc5-MG37.js} +34 -34
  197. package/dist/{prompt-select-styled-4uvdkCmK.js → prompt-select-styled-BmJHQFIe.js} +10 -10
  198. package/dist/{provider-auth-helpers-Ds4co7pd.js → provider-auth-helpers-BrYxePGn.js} +1 -1
  199. package/dist/{proxy-env-D9oPe73i.js → proxy-env-DS2YEWWX.js} +1 -1
  200. package/dist/proxy-fetch-08-dhqxn.js +38 -0
  201. package/dist/{push-apns-wyGqUoCL.js → push-apns-BH6u2jeD.js} +1 -1
  202. package/dist/{pw-ai-DS32O9Ei.js → pw-ai-Bxj7Voze.js} +1 -1
  203. package/dist/{pw-ai-DXis1Gal.js → pw-ai-Do8UJz-Y.js} +1 -1
  204. package/dist/{pw-ai-4QFtj-s9.js → pw-ai-rD2G8OP-.js} +12 -12
  205. package/dist/{qmd-manager-CIcyVJmI.js → qmd-manager-B9vC7u4w.js} +9 -9
  206. package/dist/{qr-cli-DhqLEdBe.js → qr-cli-t7wb_tRQ.js} +1 -1
  207. package/dist/{query-expansion-BMExPdLO.js → query-expansion-o9Ib6_Rk.js} +4 -4
  208. package/dist/redact-rnJm_Z5E.js +319 -0
  209. package/dist/{register.agent-IRNp0fr-.js → register.agent-eYMqq7DM.js} +21 -21
  210. package/dist/{register.configure-D4ecAwAg.js → register.configure-5ZU_WG0B.js} +24 -24
  211. package/dist/{register.maintenance-YOZ3sMNS.js → register.maintenance-Di-_iCcy.js} +22 -22
  212. package/dist/{register.message-ozARKUco.js → register.message-BJEQ0tWj.js} +17 -17
  213. package/dist/{register.onboard-BtzGW6wy.js → register.onboard-D8V8BiRf.js} +5 -5
  214. package/dist/{register.setup-CaZETnfd.js → register.setup-CuD_ucSh.js} +5 -5
  215. package/dist/{register.status-health-sessions-qS3pe6Kw.js → register.status-health-sessions-CfcRluvS.js} +20 -20
  216. package/dist/{reply-d12k6JyN.js → reply-DM6COks_.js} +30 -30
  217. package/dist/{rpc-BnWL4MCX.js → rpc-BAWL8_DO.js} +1 -1
  218. package/dist/{run-with-concurrency-hJFK7PcO.js → run-with-concurrency-C3dKaL_j.js} +3 -3
  219. package/dist/runtime-whatsapp-login.runtime-BVm0A03Y.js +13 -0
  220. package/dist/runtime-whatsapp-outbound.runtime-d8oRCgsW.js +22 -0
  221. package/dist/{sandbox-cli-CO9AcpuP.js → sandbox-cli-B_c94l3B.js} +3 -3
  222. package/dist/{sandbox-4_YzlsBa.js → sandbox-dnsTApLp.js} +2 -2
  223. package/dist/{secrets-cli-CE_fukZS.js → secrets-cli-ES-9H2pj.js} +3 -3
  224. package/dist/{security-cli-D-jh37Iy.js → security-cli-B5H4tjcT.js} +8 -8
  225. package/dist/{send-DySBiOxg.js → send-6s7HVGcN.js} +7 -7
  226. package/dist/{send-BMtxl7vL.js → send-BdQyKIzE.js} +5 -5
  227. package/dist/{send-DJcNRhf_.js → send-CAzswJK6.js} +8 -8
  228. package/dist/{send-CNzGOCHa.js → send-DKB7vlw3.js} +6 -6
  229. package/dist/{send-pUHxPU20.js → send-Q5SBsGfY.js} +14 -14
  230. package/dist/{server-COF4C6UQ.js → server-DWce8-ko.js} +4 -4
  231. package/dist/{server-context-DWRUW3Oc.js → server-context-CYPsJeRg.js} +3 -3
  232. package/dist/{server-lifecycle-DSRW9YyS.js → server-lifecycle-CL57-qY-.js} +2 -2
  233. package/dist/{server-node-events-DcI3BKLU.js → server-node-events-CM2wrNgk.js} +17 -17
  234. package/dist/{session-DOFapRIv.js → session-D2CiV8TN.js} +4 -4
  235. package/dist/{skill-commands-yvTkQtnt.js → skill-commands-CgJiKg3Q.js} +5 -5
  236. package/dist/{skills-BjHeDO5V.js → skills-DNyMj13y.js} +7 -7
  237. package/dist/slash-commands.runtime-Cvnjq5gh.js +16 -0
  238. package/dist/{slash-dispatch.runtime-CnIrfAgj.js → slash-dispatch.runtime-9OkfqjfK.js} +16 -16
  239. package/dist/{slash-dispatch.runtime-DidWtkRY.js → slash-dispatch.runtime-UHClfKIh.js} +6 -6
  240. package/dist/slash-dispatch.runtime-YGQtou1U.js +56 -0
  241. package/dist/slash-skill-commands.runtime-BbZPUdhN.js +20 -0
  242. package/dist/{status-Cxc7ROTK.js → status-DLXPWgfm.js} +7 -7
  243. package/dist/{store-C3iBzr-_.js → store-Bdm7wypS.js} +2 -2
  244. package/dist/{subagent-registry-runtime-Dup_yrOH.js → subagent-registry-runtime-BYDycq2m.js} +6 -6
  245. package/dist/{subagent-registry-runtime-DqbU91-h.js → subagent-registry-runtime-CQR_M6WF.js} +16 -16
  246. package/dist/subagent-registry-runtime-DoZWJdY9.js +56 -0
  247. package/dist/{subsystem-CWsKV5VU.js → subsystem-BJ89YjCN.js} +2 -2
  248. package/dist/{system-cli-B0wBc7tJ.js → system-cli-CUOkjFj4.js} +3 -3
  249. package/dist/{tables-Bv8tJ0qC.js → tables-MEAoO_QC.js} +1 -1
  250. package/dist/target-errors-qetEoXTB.js +195 -0
  251. package/dist/{thinking-BB_GM390.js → thinking-CaLooOu4.js} +7 -7
  252. package/dist/tokens-9NF8L9Uh.js +52 -0
  253. package/dist/{tool-images-HRwkh81U.js → tool-images-CkmNQqHm.js} +2 -2
  254. package/dist/{tui-BNyyikcb.js → tui-ChZP3wJ7.js} +3 -3
  255. package/dist/{tui-cli-DsuDwgRG.js → tui-cli-nXP__ZM8.js} +7 -7
  256. package/dist/{update-cli-CqGNnerP.js → update-cli-XGRmAcuW.js} +23 -23
  257. package/dist/{update-runner-BGYtEI5Z.js → update-runner-7klqnWFq.js} +1 -1
  258. package/dist/{web-BQbhCFGN.js → web-6kCngkSg.js} +17 -17
  259. package/dist/{web-Cp2nm6U4.js → web-CGbFuIR9.js} +6 -6
  260. package/dist/{web-BbpOMti_.js → web-ajuJjPrA.js} +53 -53
  261. package/dist/{whatsapp-actions-CuLcPfQ9.js → whatsapp-actions-DuJpyhRe.js} +19 -19
  262. package/dist/{with-timeout-DINiEgLx.js → with-timeout-CtjR5hW9.js} +2 -2
  263. package/dist/{workspace-MO4aE903.js → workspace-CkozFUzc.js} +2 -2
  264. package/package.json +2 -2
  265. package/dist/deliver-runtime-BJoBkkm_.js +0 -36
  266. package/dist/deps-send-discord.runtime-Dlb1pOSn.js +0 -26
  267. package/dist/deps-send-imessage.runtime-DmVvqFTt.js +0 -25
  268. package/dist/deps-send-signal.runtime-DPX_GcJK.js +0 -24
  269. package/dist/deps-send-slack.runtime-s7wb1ssP.js +0 -22
  270. package/dist/deps-send-telegram.runtime-DcIT4v5p.js +0 -27
  271. package/dist/deps-send-whatsapp.runtime-DfAhniLS.js +0 -60
  272. package/dist/image-runtime-Dkwf1-U3.js +0 -29
  273. package/dist/manager-runtime-DPiPNTWB.js +0 -18
  274. package/dist/pi-model-discovery-runtime-CRif8A8F.js +0 -11
  275. package/dist/runtime-whatsapp-login.runtime-DTnmQLV1.js +0 -13
  276. package/dist/runtime-whatsapp-outbound.runtime-Da-07rzo.js +0 -22
  277. package/dist/slash-commands.runtime-FS9JZ9BW.js +0 -16
  278. package/dist/slash-dispatch.runtime-BZw5XlvY.js +0 -56
  279. package/dist/slash-skill-commands.runtime-BZIbPU6x.js +0 -20
  280. package/dist/subagent-registry-runtime-Blx4zbr0.js +0 -56
@@ -10,15 +10,15 @@ import { a as logWebSelfId, h as resolveAccountEntry, i as getWebAuthAgeMs, m as
10
10
  import { a as resolveSlackWebClientOptions, c as buildSlackBlocksFallbackText, i as createSlackWebClient, l as parseSlackTarget, n as markdownToSlackMrkdwnChunks, o as parseSlackBlocksInput, r as normalizeSlackOutboundText, s as validateSlackBlocksArray, t as sendMessageSlack, u as resolveSlackChannelId } from "./send-BeyF6W_n.js";
11
11
  import { $ as stripUndefinedFields, A as unpinMessageDiscord, At as resolveChannelEntryMatchWithFallback, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as resolveDiscordSystemLocation, D as pinMessageDiscord, Dt as applyChannelMatchMeta, E as listThreadsDiscord, Et as fetchDiscord, F as fetchMemberInfoDiscord, G as uploadStickerDiscord, H as timeoutMemberDiscord, I as fetchRoleInfoDiscord, J as editChannelDiscord, K as createChannelDiscord, L as fetchVoiceStatusDiscord, M as banMemberDiscord, N as createScheduledEventDiscord, O as readMessagesDiscord, Ot as buildChannelKeyCandidates, P as fetchChannelInfoDiscord, Q as sendDiscordText, R as kickMemberDiscord, S as deleteMessageDiscord, St as formatDiscordUserTag, T as listPinsDiscord, Tt as DiscordApiError, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendStickerDiscord, _t as resolveDiscordOwnerAllowFrom, a as sendDiscordComponentMessage, at as parseDiscordTarget, b as formatMention, bt as shouldEmitDiscordReactionNotification, c as parseDiscordComponentCustomId, ct as listDiscordDirectoryPeersLive, d as parseDiscordModalCustomIdForCarbon, dt as normalizeDiscordSlug, et as fetchChannelPermissionsDiscord, f as readDiscordComponentSpec, ft as resolveDiscordAllowListMatch, g as sendPollDiscord, gt as resolveDiscordOwnerAccess, h as sendMessageDiscord, ht as resolveDiscordMemberAccessState, i as removeReactionDiscord, it as createDiscordRestClient, j as addRoleDiscord, k as searchMessagesDiscord, kt as normalizeChannelSlug, l as parseDiscordComponentCustomIdForCarbon, lt as isDiscordGroupAllowedByPolicy, m as resolveDiscordModalEntry, mt as resolveDiscordGuildEntry, n as reactMessageDiscord, nt as chunkDiscordTextWithMode, o as createDiscordFormModal, ot as resolveDiscordChannelId, p as resolveDiscordComponentEntry, pt as resolveDiscordChannelConfigWithFallback, q as deleteChannelDiscord, r as removeOwnReactionsDiscord, rt as createDiscordClient, s as formatDiscordComponentEventText, st as listDiscordDirectoryGroupsLive, t as fetchReactionsDiscord, tt as hasAnyGuildPermissionDiscord, u as parseDiscordModalCustomId, ut as normalizeDiscordAllowList, v as sendVoiceMessageDiscord, vt as resolveDiscordShouldRequireMention, w as fetchMessageDiscord, wt as resolveTimestampMs, x as createThreadDiscord, xt as formatDiscordReactionEmoji, y as sendWebhookMessageDiscord, yt as resolveGroupDmAllow, z as listGuildChannelsDiscord } from "./send-DqgWqDyz.js";
12
12
  import { n as generateSecureUuid, t as generateSecureToken } from "./secure-random-D68-1Hhs.js";
13
- import { C as createReplyToModeFilterForChannel, D as normalizeTargetForProvider, E as normalizeChannelTargetInput, O as getGlobalHookRunner, S as shouldSuppressReasoningPayload, T as buildTargetResolverSignature, _ as applyReplyThreading, a as normalizeReplyPayloadsForDelivery, b as isRenderablePayload, c as splitMediaFromOutput, d as toInternalMessageReceivedContext, f as toInternalMessageTranscribedContext, g as applyReplyTagsToPayload, h as fireAndForgetHook, i as normalizeOutboundPayloadsForJson, k as initializeGlobalHookRunner, l as deriveInboundMessageHookContext, m as toPluginMessageReceivedEvent, n as formatOutboundPayloadLog, o as throwIfAborted, p as toPluginMessageContext, r as normalizeOutboundPayloads, s as parseReplyDirectives, t as deliverOutboundPayloads, u as toInternalMessagePreprocessedContext, v as filterMessagingToolDuplicates, w as resolveReplyToMode, x as shouldSuppressMessagingToolReplies, y as filterMessagingToolMediaDuplicates } from "./deliver-KuyvhwaK.js";
13
+ import { C as createReplyToModeFilterForChannel, D as normalizeTargetForProvider, E as normalizeChannelTargetInput, O as getGlobalHookRunner, S as shouldSuppressReasoningPayload, T as buildTargetResolverSignature, _ as applyReplyThreading, a as normalizeReplyPayloadsForDelivery, b as isRenderablePayload, c as splitMediaFromOutput, d as toInternalMessageReceivedContext, f as toInternalMessageTranscribedContext, g as applyReplyTagsToPayload, h as fireAndForgetHook, i as normalizeOutboundPayloadsForJson, k as initializeGlobalHookRunner, l as deriveInboundMessageHookContext, m as toPluginMessageReceivedEvent, n as formatOutboundPayloadLog, o as throwIfAborted, p as toPluginMessageContext, r as normalizeOutboundPayloads, s as parseReplyDirectives, t as deliverOutboundPayloads, u as toInternalMessagePreprocessedContext, v as filterMessagingToolDuplicates, w as resolveReplyToMode, x as shouldSuppressMessagingToolReplies, y as filterMessagingToolMediaDuplicates } from "./deliver-Baa4v4N-.js";
14
14
  import { a as logMessageQueued, c as logWebhookError, d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, h as isDiagnosticsEnabled, i as logMessageProcessed, l as logWebhookProcessed, m as emitDiagnosticEvent, n as logLaneDequeue, o as logSessionStateChange, p as getDiagnosticSessionState, r as logLaneEnqueue, t as diag, u as logWebhookReceived } from "./diagnostic-Bkx-XrQ-.js";
15
15
  import { n as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-M-PDXeZS.js";
16
16
  import { i as resolveTelegramTargetChatType, r as parseTelegramTarget } from "./targets-D1wBrTyc.js";
17
17
  import { A as mediaKindFromMime, C as imageMimeFromFormat, E as kindFromMime, O as MAX_IMAGE_BYTES, T as isGifMedia, _ as GATEWAY_CLIENT_IDS, b as detectMime, c as INTERNAL_MESSAGE_CHANNEL, d as isInternalMessageChannel, f as isMarkdownCapableMessageChannel, g as resolveMessageChannel, h as resolveGatewayMessageChannel, i as getImageMetadata, l as isDeliverableMessageChannel, m as normalizeMessageChannel, p as listDeliverableMessageChannels, s as resizeToJpeg, u as isGatewayMessageChannel, v as GATEWAY_CLIENT_MODES, w as isAudioFileName, x as extensionForMime, y as GATEWAY_CLIENT_NAMES } from "./image-ops-kjt4AS_Q.js";
18
18
  import { $ as removeChannelAllowFromStoreEntry, A as expandTextLinks, B as resolveTelegramThreadSpec, C as buildSenderName, D as buildTelegramThreadParams, E as buildTelegramParentPeer, F as resolveTelegramForumThreadId, G as firstDefined$1, H as normalizeAllowFrom$2, I as resolveTelegramGroupAllowFromContext, J as resolveGroupAllowFromSources, K as isSenderIdAllowed, L as resolveTelegramMediaPlaceholder, M as hasBotMention, N as normalizeForwardedContext, O as buildTypingThreadParams, P as resolveTelegramDirectPeerId, Q as readChannelAllowFromStore, R as resolveTelegramReplyId, S as buildSenderLabel, T as buildTelegramGroupPeerId, U as normalizeDmAllowFromWithStore$1, V as isSenderAllowed$1, W as resolveSenderAllowMatch$1, X as toLocationContext, Y as formatLocationText, Z as addChannelAllowFromStoreEntry, _ as splitTelegramCaption, a as reactMessageTelegram, at as isVoiceCompatibleAudio, b as resolveCronStorePath, c as sendStickerTelegram, d as isRecoverableTelegramNetworkError, et as upsertChannelPairingRequest, f as markdownToTelegramChunks, g as resolveTelegramFetch, h as wrapFileReferencesInHtml, i as editMessageTelegram, it as listPairingChannels, j as extractTelegramLocation, k as describeReplyTarget, l as resolveTelegramVoiceSend, m as renderTelegramHtmlText, n as createForumTopicTelegram, nt as writeJsonFileAtomically, o as sendMessageTelegram, p as markdownToTelegramHtml, q as mergeDmAllowFromSources, r as deleteMessageTelegram, rt as getPairingAdapter, s as sendPollTelegram, t as buildInlineKeyboard, tt as readJsonFileWithFallback, u as wasSentByBot, v as withTelegramApiErrorLogging, w as buildTelegramGroupFrom, x as buildGroupLabel, y as loadCronStore, z as resolveTelegramStreamMode } from "./send-9u8kftSc.js";
19
19
  import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-DFKBIBxp.js";
20
- import { $ as deliveryContextFromSession, $t as matchesAnyGlobPattern, A as isTransientHttpError, At as resolveGroupSessionKey, B as parseSessionThreadInfo, Bt as resolveGatewayCredentialsFromConfig, C as isCompactionFailureError, Ct as resolveFreshSessionTotalTokens, D as isLikelyContextOverflowError, Dt as resolveMainSessionKey, E as isFailoverErrorMessage, Et as resolveExplicitAgentSessionKey, F as isTimeoutErrorMessage, Ft as resolveBrowserConfig, G as readSessionUpdatedAt, Gt as collectExplicitAllowlist, Ht as resolveSandboxConfigForAgent, I as ensureSandboxWorkspaceForSession, It as resolveProfile, J as updateLastRoute, Jt as stripPluginOnlyAllowlist, K as recordSessionMetaFromInbound, Kt as expandPolicyWithPluginGroups, L as resolveSandboxContext, Lt as getBridgeAuthForPort, M as parseImageSizeError, Mt as resolveSessionLockMaxHoldFromTimeout, N as sanitizeUserFacingText, Nt as createBrowserRouteContext, O as isRateLimitAssistantError, Ot as deriveSessionMetaPatch, P as isAuthPermanentErrorMessage, Pt as registerBrowserRoutes, Q as resolveCacheTtlMs$1, Qt as compileGlobPatterns, R as resolveSandboxRuntimeStatus, Rt as ensureBrowserControlAuth, S as isCloudCodeAssistFormatError, St as mergeSessionEntry, T as isFailoverAssistantError, Tt as canonicalizeMainSessionAlias, U as resolveAndPersistSessionFile, Ut as applyOwnerOnlyToolPolicy, V as appendAssistantMessageToSessionTranscript, Vt as trimToUndefined$1, W as loadSessionStore, Wt as buildPluginToolGroups, X as updateSessionStoreEntry, Xt as normalizeToolName, Y as updateSessionStore, Yt as expandToolGroups, Z as isCacheEnabled, Zt as resolveToolProfilePolicy, _ as formatBillingErrorMessage, _t as resolveChannelResetConfig, a as isMessagingToolDuplicateNormalized, an as sanitizeGoogleTurnOrdering, at as archiveSessionTranscripts, b as isAuthAssistantError, bt as resolveThreadFlag, c as extractToolCallsFromAssistant, ct as extractToolCallNames, d as downgradeOpenAIFunctionCallReasoningPairs, dt as applyInputProvenanceToUserMessage, en as buildBootstrapContextFiles, et as deliveryContextKey, f as downgradeOpenAIReasoningBlocks, ft as hasInterSessionUserProvenance, g as formatAssistantErrorText, gt as evaluateSessionFreshness, h as classifyFailoverReason, ht as resolveSessionKey, in as resolveBootstrapTotalMaxChars, it as normalizeAccountId$3, j as parseImageDimensionError, jt as acquireSessionWriteLock, k as isRawApiErrorPayload, kt as resolveConversationLabel, l as extractToolResultId, lt as parseInlineDirectives$1, m as BILLING_ERROR_USER_MESSAGE, mt as jsonUtf8Bytes, n as validateGeminiTurns, nn as resolveBootstrapMaxChars, nt as normalizeDeliveryContext, o as normalizeTextForComparison, ot as capArrayByJsonBytes, p as isGoogleModelApi, pt as normalizeInputProvenance, qt as mergeAlsoAllowPolicy, r as pickFallbackThinkingLevel, rn as resolveBootstrapPromptTruncationWarningMode, rt as normalizeSessionDeliveryFields, s as sanitizeSessionMessagesImages, st as countToolResults, t as validateAnthropicTurns, tn as ensureSessionHeader, tt as mergeDeliveryContext, u as sanitizeToolCallIdsForCloudCodeAssist, ut as INPUT_PROVENANCE_KIND_VALUES, v as formatRawAssistantErrorForUi, vt as resolveSessionResetPolicy, w as isContextOverflowError, wt as setSessionRuntimeModel, x as isBillingAssistantError, xt as DEFAULT_RESET_TRIGGERS, y as getApiErrorPayloadFingerprint, yt as resolveSessionResetType, z as extractDeliveryInfo, zt as resolveBrowserControlAuth } from "./pi-embedded-helpers-CQJfmPVp.js";
21
- import { A as rawDataToString, B as isSecureWebSocketUrl, C as ensureChromeExtensionRelayServer, N as DEFAULT_UPLOAD_DIR, P as resolveExistingPathsWithinRoot, U as DEFAULT_AI_SNAPSHOT_MAX_CHARS, s as resolveLsofCommandSync, z as isLoopbackHost } from "./chrome-B3h5980A.js";
20
+ import { $ as deliveryContextFromSession, $t as matchesAnyGlobPattern, A as isTransientHttpError, At as resolveGroupSessionKey, B as parseSessionThreadInfo, Bt as resolveGatewayCredentialsFromConfig, C as isCompactionFailureError, Ct as resolveFreshSessionTotalTokens, D as isLikelyContextOverflowError, Dt as resolveMainSessionKey, E as isFailoverErrorMessage, Et as resolveExplicitAgentSessionKey, F as isTimeoutErrorMessage, Ft as resolveBrowserConfig, G as readSessionUpdatedAt, Gt as collectExplicitAllowlist, Ht as resolveSandboxConfigForAgent, I as ensureSandboxWorkspaceForSession, It as resolveProfile, J as updateLastRoute, Jt as stripPluginOnlyAllowlist, K as recordSessionMetaFromInbound, Kt as expandPolicyWithPluginGroups, L as resolveSandboxContext, Lt as getBridgeAuthForPort, M as parseImageSizeError, Mt as resolveSessionLockMaxHoldFromTimeout, N as sanitizeUserFacingText, Nt as createBrowserRouteContext, O as isRateLimitAssistantError, Ot as deriveSessionMetaPatch, P as isAuthPermanentErrorMessage, Pt as registerBrowserRoutes, Q as resolveCacheTtlMs$1, Qt as compileGlobPatterns, R as resolveSandboxRuntimeStatus, Rt as ensureBrowserControlAuth, S as isCloudCodeAssistFormatError, St as mergeSessionEntry, T as isFailoverAssistantError, Tt as canonicalizeMainSessionAlias, U as resolveAndPersistSessionFile, Ut as applyOwnerOnlyToolPolicy, V as appendAssistantMessageToSessionTranscript, Vt as trimToUndefined$1, W as loadSessionStore, Wt as buildPluginToolGroups, X as updateSessionStoreEntry, Xt as normalizeToolName, Y as updateSessionStore, Yt as expandToolGroups, Z as isCacheEnabled, Zt as resolveToolProfilePolicy, _ as formatBillingErrorMessage, _t as resolveChannelResetConfig, a as isMessagingToolDuplicateNormalized, an as sanitizeGoogleTurnOrdering, at as archiveSessionTranscripts, b as isAuthAssistantError, bt as resolveThreadFlag, c as extractToolCallsFromAssistant, ct as extractToolCallNames, d as downgradeOpenAIFunctionCallReasoningPairs, dt as applyInputProvenanceToUserMessage, en as buildBootstrapContextFiles, et as deliveryContextKey, f as downgradeOpenAIReasoningBlocks, ft as hasInterSessionUserProvenance, g as formatAssistantErrorText, gt as evaluateSessionFreshness, h as classifyFailoverReason, ht as resolveSessionKey, in as resolveBootstrapTotalMaxChars, it as normalizeAccountId$3, j as parseImageDimensionError, jt as acquireSessionWriteLock, k as isRawApiErrorPayload, kt as resolveConversationLabel, l as extractToolResultId, lt as parseInlineDirectives$1, m as BILLING_ERROR_USER_MESSAGE, mt as jsonUtf8Bytes, n as validateGeminiTurns, nn as resolveBootstrapMaxChars, nt as normalizeDeliveryContext, o as normalizeTextForComparison, ot as capArrayByJsonBytes, p as isGoogleModelApi, pt as normalizeInputProvenance, qt as mergeAlsoAllowPolicy, r as pickFallbackThinkingLevel, rn as resolveBootstrapPromptTruncationWarningMode, rt as normalizeSessionDeliveryFields, s as sanitizeSessionMessagesImages, st as countToolResults, t as validateAnthropicTurns, tn as ensureSessionHeader, tt as mergeDeliveryContext, u as sanitizeToolCallIdsForCloudCodeAssist, ut as INPUT_PROVENANCE_KIND_VALUES, v as formatRawAssistantErrorForUi, vt as resolveSessionResetPolicy, w as isContextOverflowError, wt as setSessionRuntimeModel, x as isBillingAssistantError, xt as DEFAULT_RESET_TRIGGERS, y as getApiErrorPayloadFingerprint, yt as resolveSessionResetType, z as extractDeliveryInfo, zt as resolveBrowserControlAuth } from "./pi-embedded-helpers-u_th5KKV.js";
21
+ import { A as rawDataToString, B as isSecureWebSocketUrl, C as ensureChromeExtensionRelayServer, N as DEFAULT_UPLOAD_DIR, P as resolveExistingPathsWithinRoot, U as DEFAULT_AI_SNAPSHOT_MAX_CHARS, s as resolveLsofCommandSync, z as isLoopbackHost } from "./chrome-AmH-OPlL.js";
22
22
  import { c as assertSandboxPath, d as resolveSandboxedMediaSource, f as applySkillEnvOverrides, i as resolveSkillsPromptForRun, l as resolveSandboxInputPath, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverridesFromSnapshot, r as loadWorkspaceSkillEntries, s as assertMediaNotDataUrl } from "./skills-D-yc7joe.js";
23
23
  import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-CkoY5PBF.js";
24
24
  import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-kK-uDSQK.js";
@@ -31,8 +31,8 @@ import { t as resolveIMessageAccount } from "./accounts-CBw88Ct9.js";
31
31
  import { i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as resolveSessionTranscriptsDirForAgent, r as resolveSessionFilePathOptions, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-DX1_VIk-.js";
32
32
  import { n as onSessionTranscriptUpdate, t as emitSessionTranscriptUpdate } from "./transcript-events-UAKcGiUQ.js";
33
33
  import { a as canonicalizeBase64, i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, o as estimateBase64DecodedBytes, r as sanitizeToolResultImages } from "./tool-images-CYIFgCQb.js";
34
- import { C as minimaxUnderstandImage, S as extractTextFromChatContent, _ as formatToolSummary, a as resolveProviderVisionModelFromConfig, b as findCodeRegions, c as extractThinkingFromTaggedStream, d as inferToolMetaFromArgs, f as isAssistantMessage, g as stripThinkingTagsFromText, h as stripMinimaxToolCallXml, i as decodeDataUrl, l as extractThinkingFromTaggedText, m as stripDowngradedToolCallText, n as coerceImageAssistantText, o as extractAssistantText$1, p as promoteThinkingTagsToBlocks, r as coerceImageModelConfig, s as extractAssistantThinking, u as formatReasoningMessage, v as resolveToolDisplay, w as ensureSquidClawModelsJson, x as isInsideCode, y as stripReasoningTagsFromText } from "./image-CBBib8Ld.js";
35
- import { _ as resolveAttachmentKind, a as resolveAutoImageModel, b as modelSupportsVision, c as applyTemplate, d as normalizeMediaUnderstandingChatType, f as resolveMediaUnderstandingScope, h as registerUnhandledRejectionHandler, i as normalizeMediaAttachments, l as resolveConcurrency, m as buildRandomTempFilePath, n as buildProviderRegistry, o as resolveMediaAttachmentLocalRoots, p as CLI_OUTPUT_MAX_BUFFER, r as createMediaAttachmentCache, s as runCapability, t as runAudioTranscription, u as resolveTimeoutMs$2, v as findModelInCatalog, y as loadModelCatalog } from "./audio-transcription-runner-Bd34S1mx.js";
34
+ import { C as minimaxUnderstandImage, S as extractTextFromChatContent, _ as formatToolSummary, a as resolveProviderVisionModelFromConfig, b as findCodeRegions, c as extractThinkingFromTaggedStream, d as inferToolMetaFromArgs, f as isAssistantMessage, g as stripThinkingTagsFromText, h as stripMinimaxToolCallXml, i as decodeDataUrl, l as extractThinkingFromTaggedText, m as stripDowngradedToolCallText, n as coerceImageAssistantText, o as extractAssistantText$1, p as promoteThinkingTagsToBlocks, r as coerceImageModelConfig, s as extractAssistantThinking, u as formatReasoningMessage, v as resolveToolDisplay, w as ensureSquidClawModelsJson, x as isInsideCode, y as stripReasoningTagsFromText } from "./image-DI75geX3.js";
35
+ import { _ as resolveAttachmentKind, a as resolveAutoImageModel, b as modelSupportsVision, c as applyTemplate, d as normalizeMediaUnderstandingChatType, f as resolveMediaUnderstandingScope, h as registerUnhandledRejectionHandler, i as normalizeMediaAttachments, l as resolveConcurrency, m as buildRandomTempFilePath, n as buildProviderRegistry, o as resolveMediaAttachmentLocalRoots, p as CLI_OUTPUT_MAX_BUFFER, r as createMediaAttachmentCache, s as runCapability, t as runAudioTranscription, u as resolveTimeoutMs$2, v as findModelInCatalog, y as loadModelCatalog } from "./audio-transcription-runner-BOxTuqbS.js";
36
36
  import { a as getDefaultMediaLocalRoots, i as getAgentScopedMediaLocalRoots, n as fetchRemoteMedia, r as readResponseWithLimit, t as MediaFetchError } from "./fetch-C6LwQYOf.js";
37
37
  import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-B_Wivh-n.js";
38
38
  import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-B1gqp9Cu.js";
@@ -69,7 +69,7 @@ import { CURRENT_SESSION_VERSION, DefaultResourceLoader, SessionManager, Setting
69
69
  import { EdgeTTS } from "node-edge-tts";
70
70
  import { createServer } from "node:http";
71
71
  import { ProxyAgent, fetch as fetch$1 } from "undici";
72
- import WebSocket, { WebSocket as WebSocket$1 } from "ws";
72
+ import WebSocket$1, { WebSocket } from "ws";
73
73
  import { Buffer as Buffer$1 } from "node:buffer";
74
74
  import { createJiti } from "jiti";
75
75
  import AjvPkg from "ajv";
@@ -8230,7 +8230,7 @@ var GatewayClient = class {
8230
8230
  if (fingerprint !== expected) return /* @__PURE__ */ new Error("gateway tls fingerprint mismatch");
8231
8231
  });
8232
8232
  }
8233
- this.ws = new WebSocket$1(url, wsOptions);
8233
+ this.ws = new WebSocket(url, wsOptions);
8234
8234
  this.ws.on("open", () => {
8235
8235
  if (url.startsWith("wss://") && this.opts.tlsFingerprint) {
8236
8236
  const tlsError = this.validateTlsFingerprint();
@@ -8426,7 +8426,7 @@ var GatewayClient = class {
8426
8426
  const connectChallengeTimeoutMs = typeof rawConnectDelayMs === "number" && Number.isFinite(rawConnectDelayMs) ? Math.max(250, Math.min(1e4, rawConnectDelayMs)) : 2e3;
8427
8427
  if (this.connectTimer) clearTimeout(this.connectTimer);
8428
8428
  this.connectTimer = setTimeout(() => {
8429
- if (this.connectSent || this.ws?.readyState !== WebSocket$1.OPEN) return;
8429
+ if (this.connectSent || this.ws?.readyState !== WebSocket.OPEN) return;
8430
8430
  this.opts.onConnectError?.(/* @__PURE__ */ new Error("gateway connect challenge timeout"));
8431
8431
  this.ws?.close(1008, "connect challenge timeout");
8432
8432
  }, connectChallengeTimeoutMs);
@@ -8468,7 +8468,7 @@ var GatewayClient = class {
8468
8468
  return null;
8469
8469
  }
8470
8470
  async request(method, params, opts) {
8471
- if (!this.ws || this.ws.readyState !== WebSocket$1.OPEN) throw new Error("gateway not connected");
8471
+ if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error("gateway not connected");
8472
8472
  const id = randomUUID();
8473
8473
  const frame = {
8474
8474
  type: "req",
@@ -9890,7 +9890,7 @@ function normalizeReplyPayload(payload, opts = {}) {
9890
9890
  */
9891
9891
  let deliverRuntimePromise$2 = null;
9892
9892
  function loadDeliverRuntime$2() {
9893
- deliverRuntimePromise$2 ??= import("./deliver-runtime-DPjMYovi.js");
9893
+ deliverRuntimePromise$2 ??= import("./deliver-runtime-Do2EXjHh.js");
9894
9894
  return deliverRuntimePromise$2;
9895
9895
  }
9896
9896
  /**
@@ -11178,7 +11178,7 @@ const DEFAULT_SUBAGENT_ANNOUNCE_TIMEOUT_MS = 6e4;
11178
11178
  const MAX_TIMER_SAFE_TIMEOUT_MS = 2147e6;
11179
11179
  let subagentRegistryRuntimePromise = null;
11180
11180
  function loadSubagentRegistryRuntime() {
11181
- subagentRegistryRuntimePromise ??= import("./subagent-registry-runtime-Dup_yrOH.js");
11181
+ subagentRegistryRuntimePromise ??= import("./subagent-registry-runtime-BYDycq2m.js");
11182
11182
  return subagentRegistryRuntimePromise;
11183
11183
  }
11184
11184
  const DIRECT_ANNOUNCE_TRANSIENT_RETRY_DELAYS_MS = FAST_TEST_MODE ? [
@@ -14532,7 +14532,7 @@ async function runWithConcurrency(tasks, limit) {
14532
14532
  //#region src/media-understanding/echo-transcript.ts
14533
14533
  let deliverRuntimePromise$1 = null;
14534
14534
  function loadDeliverRuntime$1() {
14535
- deliverRuntimePromise$1 ??= import("./deliver-runtime-DPjMYovi.js");
14535
+ deliverRuntimePromise$1 ??= import("./deliver-runtime-Do2EXjHh.js");
14536
14536
  return deliverRuntimePromise$1;
14537
14537
  }
14538
14538
  const DEFAULT_ECHO_TRANSCRIPT_FORMAT = "📝 \"{transcript}\"";
@@ -22191,6 +22191,52 @@ const handleBashCommand = async (params, allowTextCommands) => {
22191
22191
  };
22192
22192
  };
22193
22193
 
22194
+ //#endregion
22195
+ //#region src/agents/agent-tier.ts
22196
+ /**
22197
+ * Resolve the fallback flag file path.
22198
+ */
22199
+ function resolveFallbackFlagPath() {
22200
+ const dir = process.env.SQUIDCLAW_DIR || path.join(process.env.HOME || "/root", ".squidclaw");
22201
+ return path.join(dir, "fallback-active.json");
22202
+ }
22203
+ /**
22204
+ * Read the fallback flag file. Returns null if not present or invalid.
22205
+ */
22206
+ function readFallbackFlag() {
22207
+ try {
22208
+ const flagPath = resolveFallbackFlagPath();
22209
+ if (!syncFs.existsSync(flagPath)) return null;
22210
+ const data = JSON.parse(syncFs.readFileSync(flagPath, "utf8"));
22211
+ if (data && data.active) return data;
22212
+ return null;
22213
+ } catch {
22214
+ return null;
22215
+ }
22216
+ }
22217
+ /**
22218
+ * Write the fallback flag file when primary model fails.
22219
+ */
22220
+ function writeFallbackFlag(data) {
22221
+ try {
22222
+ const flagPath = resolveFallbackFlagPath();
22223
+ syncFs.writeFileSync(flagPath, JSON.stringify({
22224
+ active: true,
22225
+ ...data,
22226
+ since: Date.now()
22227
+ }));
22228
+ } catch {}
22229
+ }
22230
+ /**
22231
+ * Clear the fallback flag file when primary model recovers.
22232
+ */
22233
+ function clearFallbackFlag() {
22234
+ try {
22235
+ const flagPath = resolveFallbackFlagPath();
22236
+ if (syncFs.existsSync(flagPath)) syncFs.unlinkSync(flagPath);
22237
+ } catch {}
22238
+ }
22239
+
22194
22240
  //#endregion
22195
22241
  //#region src/infra/backoff.ts
22196
22242
  function computeBackoff(policy, attempt) {
@@ -22361,52 +22407,6 @@ function resolveContextTokensForModel(params) {
22361
22407
  return lookupContextTokens(params.model) ?? params.fallbackContextTokens;
22362
22408
  }
22363
22409
 
22364
- //#endregion
22365
- //#region src/agents/agent-tier.ts
22366
- /**
22367
- * Resolve the fallback flag file path.
22368
- */
22369
- function resolveFallbackFlagPath() {
22370
- const dir = process.env.SQUIDCLAW_DIR || path.join(process.env.HOME || "/root", ".squidclaw");
22371
- return path.join(dir, "fallback-active.json");
22372
- }
22373
- /**
22374
- * Read the fallback flag file. Returns null if not present or invalid.
22375
- */
22376
- function readFallbackFlag() {
22377
- try {
22378
- const flagPath = resolveFallbackFlagPath();
22379
- if (!syncFs.existsSync(flagPath)) return null;
22380
- const data = JSON.parse(syncFs.readFileSync(flagPath, "utf8"));
22381
- if (data && data.active) return data;
22382
- return null;
22383
- } catch {
22384
- return null;
22385
- }
22386
- }
22387
- /**
22388
- * Write the fallback flag file when primary model fails.
22389
- */
22390
- function writeFallbackFlag(data) {
22391
- try {
22392
- const flagPath = resolveFallbackFlagPath();
22393
- syncFs.writeFileSync(flagPath, JSON.stringify({
22394
- active: true,
22395
- ...data,
22396
- since: Date.now()
22397
- }));
22398
- } catch {}
22399
- }
22400
- /**
22401
- * Clear the fallback flag file when primary model recovers.
22402
- */
22403
- function clearFallbackFlag() {
22404
- try {
22405
- const flagPath = resolveFallbackFlagPath();
22406
- if (syncFs.existsSync(flagPath)) syncFs.unlinkSync(flagPath);
22407
- } catch {}
22408
- }
22409
-
22410
22410
  //#endregion
22411
22411
  //#region src/agents/usage.ts
22412
22412
  function makeZeroUsageSnapshot() {
@@ -51467,7 +51467,7 @@ const warnedContexts = /* @__PURE__ */ new Map();
51467
51467
  const log$10 = createSubsystemLogger("session-maintenance-warning");
51468
51468
  let deliverRuntimePromise = null;
51469
51469
  function loadDeliverRuntime() {
51470
- deliverRuntimePromise ??= import("./deliver-runtime-DPjMYovi.js");
51470
+ deliverRuntimePromise ??= import("./deliver-runtime-Do2EXjHh.js");
51471
51471
  return deliverRuntimePromise;
51472
51472
  }
51473
51473
  function shouldSendWarning() {
@@ -56444,7 +56444,7 @@ const VISION_PROVIDERS = [
56444
56444
  ];
56445
56445
  let imageRuntimePromise = null;
56446
56446
  function loadImageRuntime() {
56447
- imageRuntimePromise ??= import("./image-runtime-BinILRte.js");
56447
+ imageRuntimePromise ??= import("./image-runtime-BWARi-r4.js");
56448
56448
  return imageRuntimePromise;
56449
56449
  }
56450
56450
  /**
@@ -58505,7 +58505,7 @@ async function resolveDiscordPreflightAudioMentionContext(params) {
58505
58505
  hasTypedText
58506
58506
  };
58507
58507
  try {
58508
- const { transcribeFirstAudio } = await import("./audio-preflight-Ckq8A2xS.js");
58508
+ const { transcribeFirstAudio } = await import("./audio-preflight-CXP7KNn_.js");
58509
58509
  if (params.abortSignal?.aborted) return {
58510
58510
  hasAudioAttachment,
58511
58511
  hasTypedText
@@ -65899,7 +65899,7 @@ let slackSenderRuntimePromise = null;
65899
65899
  let signalSenderRuntimePromise = null;
65900
65900
  let imessageSenderRuntimePromise = null;
65901
65901
  function loadWhatsAppSenderRuntime() {
65902
- whatsappSenderRuntimePromise ??= import("./deps-send-whatsapp.runtime-B155kzJI.js");
65902
+ whatsappSenderRuntimePromise ??= import("./deps-send-whatsapp.runtime-DhuS0SeA.js");
65903
65903
  return whatsappSenderRuntimePromise;
65904
65904
  }
65905
65905
  function loadTelegramSenderRuntime() {
@@ -69603,7 +69603,7 @@ function createDiscordGatewayPlugin(params) {
69603
69603
  return super.registerClient(client);
69604
69604
  }
69605
69605
  createWebSocket(url) {
69606
- return new WebSocket(url, { agent: wsAgent });
69606
+ return new WebSocket$1(url, { agent: wsAgent });
69607
69607
  }
69608
69608
  }
69609
69609
  return new ProxyGatewayPlugin();
@@ -78754,7 +78754,7 @@ function loadSlashCommandsRuntime() {
78754
78754
  return slashCommandsRuntimePromise;
78755
78755
  }
78756
78756
  function loadSlashDispatchRuntime() {
78757
- slashDispatchRuntimePromise ??= import("./slash-dispatch.runtime-DidWtkRY.js");
78757
+ slashDispatchRuntimePromise ??= import("./slash-dispatch.runtime-UHClfKIh.js");
78758
78758
  return slashDispatchRuntimePromise;
78759
78759
  }
78760
78760
  function loadSlashSkillCommandsRuntime() {
@@ -82123,7 +82123,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, replyMedia =
82123
82123
  const disableAudioPreflight = firstDefined$1(topicConfig?.disableAudioPreflight, groupConfig?.disableAudioPreflight) === true;
82124
82124
  let preflightTranscript;
82125
82125
  if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0 && !disableAudioPreflight) try {
82126
- const { transcribeFirstAudio } = await import("./audio-preflight-Ckq8A2xS.js");
82126
+ const { transcribeFirstAudio } = await import("./audio-preflight-CXP7KNn_.js");
82127
82127
  preflightTranscript = await transcribeFirstAudio({
82128
82128
  ctx: {
82129
82129
  MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
@@ -85049,7 +85049,7 @@ function loadWebLoginQr() {
85049
85049
  return webLoginQrPromise;
85050
85050
  }
85051
85051
  function loadWebChannel() {
85052
- webChannelPromise ??= import("./web-Cp2nm6U4.js");
85052
+ webChannelPromise ??= import("./web-CGbFuIR9.js");
85053
85053
  return webChannelPromise;
85054
85054
  }
85055
85055
  function loadWhatsAppActions() {
@@ -93312,7 +93312,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
93312
93312
  * Throws if the connection is not open.
93313
93313
  */
93314
93314
  send(event) {
93315
- if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error(`OpenAIWebSocketManager: cannot send — connection is not open (readyState=${this.ws?.readyState ?? "no socket"})`);
93315
+ if (!this.ws || this.ws.readyState !== WebSocket$1.OPEN) throw new Error(`OpenAIWebSocketManager: cannot send — connection is not open (readyState=${this.ws?.readyState ?? "no socket"})`);
93316
93316
  this.ws.send(JSON.stringify(event));
93317
93317
  }
93318
93318
  /**
@@ -93329,7 +93329,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
93329
93329
  * Returns true if the WebSocket is currently open and ready to send.
93330
93330
  */
93331
93331
  isConnected() {
93332
- return this.ws !== null && this.ws.readyState === WebSocket.OPEN;
93332
+ return this.ws !== null && this.ws.readyState === WebSocket$1.OPEN;
93333
93333
  }
93334
93334
  /**
93335
93335
  * Permanently closes the WebSocket connection and disables auto-reconnect.
@@ -93339,7 +93339,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
93339
93339
  this._cancelRetryTimer();
93340
93340
  if (this.ws) {
93341
93341
  this.ws.removeAllListeners();
93342
- if (this.ws.readyState === WebSocket.OPEN || this.ws.readyState === WebSocket.CONNECTING) this.ws.close(1e3, "Client closed");
93342
+ if (this.ws.readyState === WebSocket$1.OPEN || this.ws.readyState === WebSocket$1.CONNECTING) this.ws.close(1e3, "Client closed");
93343
93343
  this.ws = null;
93344
93344
  }
93345
93345
  }
@@ -93349,7 +93349,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
93349
93349
  reject(/* @__PURE__ */ new Error("OpenAIWebSocketManager: apiKey is required before connecting."));
93350
93350
  return;
93351
93351
  }
93352
- const socket = new WebSocket(this.wsUrl, { headers: {
93352
+ const socket = new WebSocket$1(this.wsUrl, { headers: {
93353
93353
  Authorization: `Bearer ${this.apiKey}`,
93354
93354
  "OpenAI-Beta": "responses-websocket=v1"
93355
93355
  } });