squidclaw 3.0.2 → 3.0.3

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 (388) hide show
  1. package/dist/{accounts-LA308FHj.js → accounts-CK_sHUyT.js} +2 -2
  2. package/dist/{accounts-CL_NXliB.js → accounts-CkF7YwoF.js} +17 -17
  3. package/dist/{accounts-F7tGwezI.js → accounts-DbloMfwT.js} +2 -2
  4. package/dist/{active-listener-DJv1FZqf.js → active-listener-AepfNSUY.js} +2 -2
  5. package/dist/{agents-DdixSPs3.js → agents-JnnOlm2G.js} +5 -5
  6. package/dist/{agents.config-Cn_vTN1v.js → agents.config-BeGeS2jv.js} +1 -1
  7. package/dist/{agents.config-C6KTwnde.js → agents.config-DHJBQ7uA.js} +1 -1
  8. package/dist/{plugin-sdk/api-key-rotation-DE4gr5YM.js → api-key-rotation-BHFJiYbw.js} +2 -2
  9. package/dist/{audio-preflight-AEM744TY.js → audio-preflight-BTYxAJjy.js} +32 -32
  10. package/dist/{audio-preflight-DpCWFB4z.js → audio-preflight-Dkl6Z32z.js} +4 -4
  11. package/dist/{audio-transcription-runner-CItniQDZ.js → audio-transcription-runner-DBkDgluo.js} +12 -12
  12. package/dist/{audio-transcription-runner-B2BdTEps.js → audio-transcription-runner-Gi_h5HEE.js} +1 -1
  13. package/dist/{audit-membership-runtime-w23FnNAN.js → audit-membership-runtime-DyLj-uhz.js} +4 -4
  14. package/dist/{auth-choice-7WVhiM9J.js → auth-choice-DQbCl-4F.js} +2 -2
  15. package/dist/{auth-choice-17U1cGPH.js → auth-choice-xwYK6txn.js} +2 -2
  16. package/dist/{banner-CJTrU-HC.js → banner-BxibaqUz.js} +1 -1
  17. package/dist/build-info.json +3 -3
  18. package/dist/bundled/boot-md/handler.js +51 -51
  19. package/dist/bundled/bootstrap-extra-files/handler.js +6 -6
  20. package/dist/bundled/command-logger/handler.js +2 -2
  21. package/dist/bundled/session-memory/handler.js +51 -51
  22. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  23. package/dist/{channel-activity-DPrXawu4.js → channel-activity-C5kTj83_.js} +3 -3
  24. package/dist/{channel-options-x47KAgAV.js → channel-options-BKsCYdHu.js} +1 -1
  25. package/dist/{channel-options-BM7IEY5X.js → channel-options-FdCN4cFo.js} +1 -1
  26. package/dist/{channel-web-B48pVgke.js → channel-web-BFUPrpIe.js} +1 -1
  27. package/dist/{channel-web-HM1q5FP_.js → channel-web-BkYtM8H5.js} +1 -1
  28. package/dist/{channels-cli-iPiD6449.js → channels-cli-BxhfVD-R.js} +7 -7
  29. package/dist/{channels-cli-y66ZCzYf.js → channels-cli-CZzGaGvG.js} +7 -7
  30. package/dist/{chrome-BQDCalPp.js → chrome-CAd6FQEn.js} +8 -8
  31. package/dist/{chrome-BFfAGQtd.js → chrome-pBkBuWci.js} +26 -26
  32. package/dist/cli/daemon-cli.js +1 -1
  33. package/dist/{cli-C-neGkM4.js → cli-GSev2Q95.js} +2 -2
  34. package/dist/{cli-BzpBs_KI.js → cli-bXiYaLre.js} +2 -2
  35. package/dist/{command-registry-BL80-JCV.js → command-registry-CvgCFxfY.js} +9 -9
  36. package/dist/{commands-registry-C2t2bcZ6.js → commands-registry-D6ZOTo1C.js} +4 -4
  37. package/dist/{completion-cli-CJ_L_gYr.js → completion-cli-BGM1V6EN.js} +2 -2
  38. package/dist/{completion-cli-Bi2s1mq8.js → completion-cli-OrgUDc2S.js} +1 -1
  39. package/dist/{config-cli-FhKX7MOY.js → config-cli-DbBvjvpS.js} +1 -1
  40. package/dist/{config-cli-BVpzzhoY.js → config-cli-uIP4r17f.js} +1 -1
  41. package/dist/{configure-ChiLGQo6.js → configure-BGvoAfbs.js} +6 -6
  42. package/dist/{configure-t9fm4x9H.js → configure-BOsTXjBw.js} +6 -6
  43. package/dist/{daemon-cli-DK8fQgAw.js → daemon-cli-CNi-QjEX.js} +1 -1
  44. package/dist/{daemon-cli-CO09shIt.js → daemon-cli-DN2TnjHQ.js} +1 -1
  45. package/dist/{deliver-aL8yOYS1.js → deliver-BJuiq0GS.js} +1 -1
  46. package/dist/{deliver-neVJ7AU9.js → deliver-DBXe-ZmL.js} +21 -21
  47. package/dist/{deliver-runtime-ChVR6sR3.js → deliver-runtime-DHKcNQzq.js} +3 -3
  48. package/dist/deliver-runtime-GlnBJNCj.js +36 -0
  49. package/dist/deps-send-discord.runtime-BRE0s2nz.js +26 -0
  50. package/dist/deps-send-imessage.runtime-DbIRBnmD.js +25 -0
  51. package/dist/deps-send-signal.runtime-B4h6X3o4.js +24 -0
  52. package/dist/deps-send-slack.runtime-BWXOnOxS.js +22 -0
  53. package/dist/deps-send-telegram.runtime-YvauJtgv.js +27 -0
  54. package/dist/{deps-send-whatsapp.runtime-WND2o1Mr.js → deps-send-whatsapp.runtime-BcxCalPD.js} +4 -4
  55. package/dist/deps-send-whatsapp.runtime-CslTuV47.js +60 -0
  56. package/dist/{deps-send-whatsapp.runtime-CZj97m5A.js → deps-send-whatsapp.runtime-DdxKewuy.js} +7 -7
  57. package/dist/{deps-send-whatsapp.runtime-DSbrPzxG.js → deps-send-whatsapp.runtime-Dl4ro-Df.js} +4 -4
  58. package/dist/{diagnostic-DoguEiWW.js → diagnostic-ySwZga6c.js} +2 -2
  59. package/dist/{doctor-completion-CKaQEebJ.js → doctor-completion-42wcUATu.js} +1 -1
  60. package/dist/{doctor-completion-Ctqsu6Y2.js → doctor-completion-D6RGDBD5.js} +1 -1
  61. package/dist/entry.js +2 -2
  62. package/dist/{plugin-sdk/errors-9oVz7reJ.js → errors-kkRuS2Cs.js} +1 -1
  63. package/dist/extensionAPI.js +6 -6
  64. package/dist/{fetch-DdiB5_OX.js → fetch-BLS7EMnx.js} +5 -5
  65. package/dist/{fetch-guard-CEV5qBHc.js → fetch-guard-D0fXNJls.js} +2 -2
  66. package/dist/{frontmatter-CjKtFduT.js → frontmatter-Cq1TcIQ2.js} +3 -3
  67. package/dist/{fs-safe-CwHbZdFH.js → fs-safe-BoB4X3GD.js} +4 -4
  68. package/dist/{gateway-cli-CSIyrhFg.js → gateway-cli-BbPfLLT6.js} +10 -10
  69. package/dist/{gateway-cli-xX1CTw9n.js → gateway-cli-CG3mshpO.js} +10 -10
  70. package/dist/{github-copilot-token-Cw3tAXM9.js → github-copilot-token-B5cPlwaz.js} +7 -7
  71. package/dist/{health-D9Pie2kF.js → health-CJgEuWuG.js} +1 -1
  72. package/dist/{health-D7mPTab_.js → health-dZqyhpdR.js} +1 -1
  73. package/dist/{hooks-cli-C6aI9HU7.js → hooks-cli-BD4Ww1dF.js} +3 -3
  74. package/dist/{hooks-cli-_1zdKcZA.js → hooks-cli-C0wWJOBW.js} +3 -3
  75. package/dist/{image-ecaECpjT.js → image-j_UomzVG.js} +6 -6
  76. package/dist/{image-ops-bdrMTILs.js → image-ops-CdgypS_g.js} +2 -2
  77. package/dist/image-runtime-BNh3IfMj.js +29 -0
  78. package/dist/{image-runtime-poRypm-b.js → image-runtime-SUtf9jqh.js} +3 -3
  79. package/dist/{image-DKZCmkET.js → image-sRW3RpTY.js} +1 -1
  80. package/dist/index.js +7 -7
  81. package/dist/{ir-D_GD01cg.js → ir-BvisJWXv.js} +8 -8
  82. package/dist/{legacy-names-B0wgIP0Q.js → legacy-names-aGJJuzM_.js} +1 -1
  83. package/dist/llm-slug-generator.js +51 -51
  84. package/dist/{logger-oGKcCLZ5.js → logger-CnTSBL7T.js} +7 -7
  85. package/dist/{login-gJWPqN66.js → login-BMeLPUiO.js} +5 -5
  86. package/dist/{login-qr-CgmlF7zK.js → login-qr-B2B67qqQ.js} +10 -10
  87. package/dist/{manager-CD69uguS.js → manager-DdxMYEDd.js} +13 -13
  88. package/dist/manager-runtime-BMygJEz3.js +18 -0
  89. package/dist/{model-selection-DMjtmGZP.js → model-selection-ag9BmVct.js} +43 -43
  90. package/dist/{models-BviRe-_7.js → models-BXT0s4KJ.js} +3 -3
  91. package/dist/{models-cli-BM5yo_mo.js → models-cli-BtLc9uPC.js} +3 -3
  92. package/dist/{models-cli-pvYVl1i-.js → models-cli-BwPFxWK2.js} +4 -4
  93. package/dist/{npm-resolution-DMM9Hopy.js → npm-resolution-DWpNPsBF.js} +1 -1
  94. package/dist/{npm-resolution-BTFMooVS.js → npm-resolution-Djbuzx6o.js} +1 -1
  95. package/dist/{onboard-DVuhj8ub.js → onboard-1KfKwvMR.js} +3 -3
  96. package/dist/{onboard-DTsgFKIa.js → onboard-ChxvwUze.js} +3 -3
  97. package/dist/{onboard-channels-W9UHiBQg.js → onboard-channels-CHrtFmhi.js} +2 -2
  98. package/dist/{onboard-channels-B1D9LqV_.js → onboard-channels-CXjnFvP1.js} +2 -2
  99. package/dist/{onboard-helpers-DVaF21TE.js → onboard-helpers-Bvpkyuwm.js} +6 -6
  100. package/dist/{onboard-helpers-PRhg7ZY5.js → onboard-helpers-ByttGRIZ.js} +6 -6
  101. package/dist/{onboard-remote-h-aHSDJ1.js → onboard-remote-Cfx2v9OI.js} +1 -1
  102. package/dist/{onboard-remote-DkIrV4Hx.js → onboard-remote-DxBaaS6o.js} +1 -1
  103. package/dist/{onboard-skills-fFSuiv21.js → onboard-skills-B7pHg1lN.js} +1 -1
  104. package/dist/{onboard-skills-fgrVmjJP.js → onboard-skills-PCnCZ6Od.js} +1 -1
  105. package/dist/{onboarding-D1nCnc_t.js → onboarding-D6kMb3yv.js} +7 -7
  106. package/dist/{onboarding-CYWs766P.js → onboarding-DuUMPrqA.js} +7 -7
  107. package/dist/{onboarding.finalize-Bcan6_vA.js → onboarding.finalize-KTOhO1-l.js} +7 -7
  108. package/dist/{onboarding.finalize-bAiXf9D6.js → onboarding.finalize-bphDUwZy.js} +6 -6
  109. package/dist/{onboarding.gateway-config-61E9xXYF.js → onboarding.gateway-config-DDdX0W74.js} +1 -1
  110. package/dist/{onboarding.gateway-config-Dyaqc_M7.js → onboarding.gateway-config-DNUJ0seU.js} +1 -1
  111. package/dist/{outbound-Cboz5UyH.js → outbound-DHDBvGLA.js} +6 -6
  112. package/dist/{outbound-attachment-PwEbEhAL.js → outbound-attachment-CqXiWbKN.js} +2 -2
  113. package/dist/{path-alias-guards-Cpsiv2KL.js → path-alias-guards-DORgbZ1w.js} +1 -1
  114. package/dist/{paths-CSdAWKDO.js → paths-DA5srn0U.js} +5 -5
  115. package/dist/{paths-CXClY8zC.js → paths-DSd911Oe.js} +4 -4
  116. package/dist/{pi-embedded-MktS4l8v.js → pi-embedded-BGz_qdCc.js} +24 -24
  117. package/dist/{pi-embedded-CkTlmTq8.js → pi-embedded-BP2UlUm_.js} +171 -171
  118. package/dist/{pi-embedded-helpers-DYWYzEOC.js → pi-embedded-helpers-BruaFB5l.js} +3 -3
  119. package/dist/{pi-embedded-helpers-Bfm_CvEb.js → pi-embedded-helpers-CmLnmKlb.js} +52 -52
  120. package/dist/{pi-model-discovery-DEps5Exd.js → pi-model-discovery-DAzuqPoG.js} +7 -7
  121. package/dist/pi-model-discovery-runtime-Dpu7Jm2L.js +11 -0
  122. package/dist/{pi-tools.before-tool-call.runtime-4wPdP7Br.js → pi-tools.before-tool-call.runtime-2Sp1jmlg.js} +9 -9
  123. package/dist/{plugin-registry-CvMvSI8O.js → plugin-registry-CLEhrKYA.js} +1 -1
  124. package/dist/{plugin-registry-DL2ClHLQ.js → plugin-registry-DtuxmgWx.js} +1 -1
  125. package/dist/plugin-sdk/{accounts-kr-Gz1hk.js → accounts-DghIDNk2.js} +2 -2
  126. package/dist/plugin-sdk/{accounts-CxUSDHsT.js → accounts-YTdQYQFr.js} +3 -3
  127. package/dist/plugin-sdk/{accounts-PSzw-z3S.js → accounts-h__dTrLK.js} +2 -2
  128. package/dist/plugin-sdk/{active-listener-BQNrTcR3.js → active-listener-_PRYjtJv.js} +2 -2
  129. package/dist/plugin-sdk/{api-key-rotation-Bhck7wki.js → api-key-rotation-mVDSAkKQ.js} +2 -2
  130. package/dist/plugin-sdk/{audio-preflight-_xgGaeho.js → audio-preflight-BZlQM-qX.js} +26 -26
  131. package/dist/plugin-sdk/{audio-transcription-runner-Dwc0Eh-B.js → audio-transcription-runner-CrYTX8py.js} +11 -11
  132. package/dist/plugin-sdk/{audit-membership-runtime-DHQDvH4u.js → audit-membership-runtime-Xl20kCBe.js} +2 -2
  133. package/dist/plugin-sdk/{channel-activity-XajEg_DL.js → channel-activity-gwxRn4wF.js} +3 -3
  134. package/dist/plugin-sdk/{channel-web-KtqCp4mz.js → channel-web-1WF-Nabe.js} +18 -18
  135. package/dist/plugin-sdk/{chrome-diV5m81I.js → chrome-BXbYwXRH.js} +6 -6
  136. package/dist/plugin-sdk/{commands-registry-DwZAJuut.js → commands-registry-0w-aZenK.js} +4 -4
  137. package/dist/plugin-sdk/{common-CqnO92P8.js → common-DBOCt6Yv.js} +2 -2
  138. package/dist/plugin-sdk/{config-DYbtdrsT.js → config-pRtEoVyZ.js} +7 -7
  139. package/dist/plugin-sdk/{deliver-DG_7Uagn.js → deliver-FjlJrtZk.js} +10 -10
  140. package/dist/plugin-sdk/deliver-runtime-DEzvpBW1.js +32 -0
  141. package/dist/plugin-sdk/deps-send-discord.runtime-Bhusa_Hi.js +23 -0
  142. package/dist/plugin-sdk/deps-send-imessage.runtime-bmakPm5f.js +22 -0
  143. package/dist/plugin-sdk/deps-send-signal.runtime-n00sfFto.js +21 -0
  144. package/dist/plugin-sdk/deps-send-slack.runtime-BvM3Z-Mr.js +19 -0
  145. package/dist/plugin-sdk/deps-send-telegram.runtime-CPuMkcmo.js +24 -0
  146. package/dist/plugin-sdk/deps-send-whatsapp.runtime-BzO6S-KX.js +57 -0
  147. package/dist/plugin-sdk/{diagnostic-CT7v_kM2.js → diagnostic-Dt2i3afe.js} +2 -2
  148. package/dist/plugin-sdk/{errors-B8oJXuCF.js → errors-CgRPdp3o.js} +1 -1
  149. package/dist/plugin-sdk/{fetch-guard-Or5BCq0E.js → fetch-guard-DyPZh8r2.js} +2 -2
  150. package/dist/plugin-sdk/{fs-safe-DFbwq9CS.js → fs-safe-DqCO1D4C.js} +3 -3
  151. package/dist/plugin-sdk/{image-rycGCqJO.js → image-CQ9TZ9vq.js} +6 -6
  152. package/dist/plugin-sdk/{image-ops-CMsocOob.js → image-ops-sw0uZ0GN.js} +2 -2
  153. package/dist/plugin-sdk/image-runtime-17_mTqsy.js +25 -0
  154. package/dist/plugin-sdk/index.js +50 -50
  155. package/dist/plugin-sdk/{ir-DihI2SIz.js → ir-BVZ5kUMb.js} +7 -7
  156. package/dist/plugin-sdk/{local-roots-1xVosTZ4.js → local-roots-fO3ZgW3G.js} +4 -4
  157. package/dist/plugin-sdk/{logger-Bg4vIUJn.js → logger-DIb2cGHp.js} +2 -2
  158. package/dist/plugin-sdk/{login-YhFrVUWo.js → login-Dg5cxB_3.js} +4 -4
  159. package/dist/plugin-sdk/{login-qr-SpUTuwYv.js → login-qr-C3Vn30cq.js} +5 -5
  160. package/dist/plugin-sdk/{manager-DrzOPeMD.js → manager-BR-TwWTH.js} +8 -8
  161. package/dist/plugin-sdk/manager-runtime-CvI9wF8N.js +15 -0
  162. package/dist/plugin-sdk/{outbound-Cc4cUn9K.js → outbound-1a3Z_QJ2.js} +5 -5
  163. package/dist/plugin-sdk/{outbound-attachment-Dtp3hQgc.js → outbound-attachment-BTQjD4YE.js} +2 -2
  164. package/dist/plugin-sdk/{path-alias-guards-DA0MhfkG.js → path-alias-guards-TnxupPQC.js} +1 -1
  165. package/dist/plugin-sdk/{paths-CP67O8eN.js → paths-B7_75Pdr.js} +1 -1
  166. package/dist/plugin-sdk/{pi-embedded-helpers-BDJ_4Plh.js → pi-embedded-helpers-DZRNadD8.js} +16 -16
  167. package/dist/plugin-sdk/{pi-model-discovery-Mk0GTDJl.js → pi-model-discovery-DGh6xekX.js} +1 -1
  168. package/dist/plugin-sdk/pi-model-discovery-runtime-DjjBdPYt.js +8 -0
  169. package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-DV72wTDb.js → pi-tools.before-tool-call.runtime-BZ9XgG_x.js} +4 -4
  170. package/dist/plugin-sdk/{plugins-DSs2-fnK.js → plugins-B8pWVYug.js} +4 -4
  171. package/dist/plugin-sdk/{proxy-env-Ib4-LUh-.js → proxy-env-BOlkiW1-.js} +1 -1
  172. package/dist/plugin-sdk/{proxy-fetch-ZPEvp58f.js → proxy-fetch-Dt5BedH8.js} +1 -1
  173. package/dist/plugin-sdk/{pw-ai-DIx2wpkY.js → pw-ai-C17A1o4w.js} +9 -9
  174. package/dist/plugin-sdk/{qmd-manager-Ov9ElEfG.js → qmd-manager-Bei6TaFq.js} +7 -7
  175. package/dist/plugin-sdk/{query-expansion-CzjwW461.js → query-expansion-POz2za8a.js} +4 -4
  176. package/dist/plugin-sdk/{redact-BoNEjbpF.js → redact-9WsNyb7S.js} +1 -1
  177. package/dist/plugin-sdk/{reply-CWWUd_JS.js → reply-BFbijn6_.js} +73 -73
  178. package/dist/plugin-sdk/{resolve-outbound-target-BOkvxZtM.js → resolve-outbound-target-B9iFEh0y.js} +2 -2
  179. package/dist/plugin-sdk/{run-with-concurrency-kVooFCVo.js → run-with-concurrency-DmTrN5JG.js} +1 -1
  180. package/dist/plugin-sdk/runtime-whatsapp-login.runtime-DzhkSmLi.js +10 -0
  181. package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-DyILWezU.js +19 -0
  182. package/dist/plugin-sdk/{send-BP1fSEBR.js → send-BGZo6HW1.js} +5 -5
  183. package/dist/plugin-sdk/{send-D9CSOGul.js → send-BisREGBZ.js} +6 -6
  184. package/dist/plugin-sdk/{send-BeLBlAsQ.js → send-BqkUDZed.js} +13 -13
  185. package/dist/plugin-sdk/{send-DLKxJJYV.js → send-D6_nNvi0.js} +8 -8
  186. package/dist/plugin-sdk/{send-XZ6IXCtL.js → send-Dj7XEcZN.js} +7 -7
  187. package/dist/plugin-sdk/{session-DtLUYWvY.js → session-D4KDs7Hq.js} +3 -3
  188. package/dist/plugin-sdk/{skill-commands-Bv7EZypt.js → skill-commands-D_xeseiI.js} +4 -4
  189. package/dist/plugin-sdk/{skills-BzXN4uev.js → skills-Bs2b3JfV.js} +6 -6
  190. package/dist/plugin-sdk/slash-commands.runtime-CUb5sqqf.js +13 -0
  191. package/dist/plugin-sdk/slash-dispatch.runtime-DCB6bGjB.js +52 -0
  192. package/dist/plugin-sdk/slash-skill-commands.runtime-BqEweE4K.js +16 -0
  193. package/dist/plugin-sdk/{store-DnJhFFW5.js → store-B7ESm9_L.js} +2 -2
  194. package/dist/plugin-sdk/subagent-registry-runtime-CCUW4SbM.js +52 -0
  195. package/dist/plugin-sdk/{tables-CpmqssLF.js → tables-1vhBJPK_.js} +1 -1
  196. package/dist/plugin-sdk/{thinking-1UCPuD9d.js → thinking-DjaClmzi.js} +7 -7
  197. package/dist/plugin-sdk/{tokens-DAL_5WHL.js → tokens-CLE20fRI.js} +1 -1
  198. package/dist/plugin-sdk/{tool-images-RX4QTMnt.js → tool-images-B95xcwiR.js} +2 -2
  199. package/dist/plugin-sdk/web-DeRmHQ4_.js +56 -0
  200. package/dist/plugin-sdk/{whatsapp-actions-BF6ih4Gi.js → whatsapp-actions-BYpcWkTN.js} +17 -17
  201. package/dist/plugin-sdk/whatsapp.js +50 -50
  202. package/dist/{plugins-CmdmAU0K.js → plugins-DXkm70nK.js} +11 -11
  203. package/dist/{plugins-cli-DBtLtIsQ.js → plugins-cli-Cs3UUJew.js} +3 -3
  204. package/dist/{plugins-cli-BMPvpwSo.js → plugins-cli-KPz6APX0.js} +3 -3
  205. package/dist/{program-context-KSeqVkRM.js → program-context-J_FyEsaS.js} +18 -18
  206. package/dist/{program-C6sTShRB.js → program-xNEHPhT8.js} +8 -8
  207. package/dist/{prompt-select-styled-Ba5fC0g1.js → prompt-select-styled-B1LjjgQ0.js} +5 -5
  208. package/dist/{prompt-select-styled-DFhJPiqx.js → prompt-select-styled-BRiogP_P.js} +5 -5
  209. package/dist/{provider-auth-helpers-S2rdI85T.js → provider-auth-helpers-CxUWqt95.js} +1 -1
  210. package/dist/{provider-auth-helpers-BPvZ8xkJ.js → provider-auth-helpers-hhFVhZdv.js} +1 -1
  211. package/dist/{proxy-env-QUJz9VEJ.js → proxy-env-D75CWSOo.js} +1 -1
  212. package/dist/{proxy-fetch-C2v-Utgg.js → proxy-fetch-lH6RsRTE.js} +1 -1
  213. package/dist/{push-apns-BQEPMPtG.js → push-apns-BBkpZyNR.js} +1 -1
  214. package/dist/{push-apns-CGibQhps.js → push-apns-BQjV_93G.js} +1 -1
  215. package/dist/{pw-ai-SYjuzbV6.js → pw-ai-7kHgUGj0.js} +14 -14
  216. package/dist/{pw-ai-zFPBSxaL.js → pw-ai-BmGrTicP.js} +1 -1
  217. package/dist/{qmd-manager-CO-shcLU.js → qmd-manager-BN0siR2Z.js} +10 -10
  218. package/dist/{query-expansion-DlQOkf-g.js → query-expansion-Dzxt6kXo.js} +6 -6
  219. package/dist/{redact-NmPEVjIo.js → redact-DvzicBMu.js} +1 -1
  220. package/dist/{register.agent-DP_2xCaO.js → register.agent-DYq06QHS.js} +8 -8
  221. package/dist/{register.agent-BwhWwpRX.js → register.agent-reU63wQ5.js} +7 -7
  222. package/dist/{register.configure-D8TE-yQn.js → register.configure-C4p9ad2q.js} +10 -10
  223. package/dist/{register.configure-C5i661J4.js → register.configure-DezZ4Q1p.js} +10 -10
  224. package/dist/{register.maintenance-BS2i3S5V.js → register.maintenance-CTvFmkAm.js} +9 -9
  225. package/dist/{register.maintenance-BA4UOg2_.js → register.maintenance-CzMKTC2a.js} +8 -8
  226. package/dist/{register.message-oFI2Mzrd.js → register.message-BmsovYS6.js} +3 -3
  227. package/dist/{register.message-D9hVI5b6.js → register.message-Bp4SDXWk.js} +3 -3
  228. package/dist/{register.onboard-D6wqijOl.js → register.onboard-C39xhpv1.js} +3 -3
  229. package/dist/{register.onboard-OaKr3SnU.js → register.onboard-DZt2kSAg.js} +3 -3
  230. package/dist/{register.setup-DsK_7zih.js → register.setup-04L_8wfA.js} +3 -3
  231. package/dist/{register.setup-Dygx-glo.js → register.setup-DWctFmOd.js} +3 -3
  232. package/dist/{register.status-health-sessions-C6VfEhho.js → register.status-health-sessions-CBPZoj51.js} +4 -4
  233. package/dist/{register.status-health-sessions-BmWcbWPR.js → register.status-health-sessions-N6SFc-UY.js} +4 -4
  234. package/dist/{register.subclis-CLf32krW.js → register.subclis-C3TphbCF.js} +10 -10
  235. package/dist/{reply-ZWkzBiSb.js → reply-CB1p166g.js} +5 -5
  236. package/dist/{run-main-asKkGUqy.js → run-main-7tknx04F.js} +15 -15
  237. package/dist/{run-with-concurrency-FczpX8ng.js → run-with-concurrency-BFR3ReeF.js} +4 -4
  238. package/dist/runtime-whatsapp-login.runtime-DSR-m0FW.js +13 -0
  239. package/dist/runtime-whatsapp-outbound.runtime-Blywd_bv.js +22 -0
  240. package/dist/{send-oS3t6gE6.js → send-C98RfcAb.js} +5 -5
  241. package/dist/{send-DX_O1OHH.js → send-Co5Bqwuo.js} +6 -6
  242. package/dist/{send-BNsV-D2Y.js → send-DjL7KlMV.js} +8 -8
  243. package/dist/{send-C-jb8X9I.js → send-Do7hKDL9.js} +7 -7
  244. package/dist/{send-D-Rnbdzz.js → send-bW7jDv8D.js} +26 -26
  245. package/dist/{server-node-events-DV2yeAp-.js → server-node-events-Ctjzvlem.js} +3 -3
  246. package/dist/{server-node-events-BHv7a_ll.js → server-node-events-DrCKK0J4.js} +3 -3
  247. package/dist/{session-DRyURckG.js → session-QSn69XeJ.js} +8 -8
  248. package/dist/{skill-commands-BrlAf_CG.js → skill-commands-Bi_jchJn.js} +9 -9
  249. package/dist/{skills-DWrRJwa-.js → skills-CTV78w4q.js} +22 -22
  250. package/dist/slash-commands.runtime-63MUmCBt.js +16 -0
  251. package/dist/{slash-dispatch.runtime-DkcAYuyK.js → slash-dispatch.runtime-BL3qA1O3.js} +6 -6
  252. package/dist/{slash-dispatch.runtime-BJOuQOeN.js → slash-dispatch.runtime-DRGqAgwa.js} +2 -2
  253. package/dist/slash-dispatch.runtime-Dh2L_3Tg.js +56 -0
  254. package/dist/{slash-dispatch.runtime-CEAbkOCI.js → slash-dispatch.runtime-uqWhoI6q.js} +2 -2
  255. package/dist/slash-skill-commands.runtime-B3MSSAQ-.js +20 -0
  256. package/dist/{status-Ck8-aQIF.js → status-BkfSGlOi.js} +3 -3
  257. package/dist/{status-CMhW6nGs.js → status-DdW571-j.js} +3 -3
  258. package/dist/{store-BFNH5fXG.js → store-B89Hj8Ub.js} +2 -2
  259. package/dist/{subagent-registry-DQpeidFk.js → subagent-registry-DGrfQVN3.js} +5 -5
  260. package/dist/subagent-registry-runtime-BRNDawlJ.js +56 -0
  261. package/dist/{subagent-registry-runtime-C-jjppV6.js → subagent-registry-runtime-DatTO2LD.js} +2 -2
  262. package/dist/{subagent-registry-runtime-tRRyFZL8.js → subagent-registry-runtime-Dsrz3yIh.js} +2 -2
  263. package/dist/{subagent-registry-runtime-BlRAnw80.js → subagent-registry-runtime-MtjBCcgn.js} +6 -6
  264. package/dist/{subsystem-BaLYRf7D.js → subsystem-6v7sWnAD.js} +14 -14
  265. package/dist/{tables-CnlmCLb3.js → tables-DGHzaXQz.js} +1 -1
  266. package/dist/{target-errors-Df1wB-I7.js → target-errors-CweAa7L9.js} +2 -2
  267. package/dist/{thinking-CTpcVnlx.js → thinking-SdNGqtJE.js} +7 -7
  268. package/dist/{tokens-D2XhLqIz.js → tokens-DfbMVF9y.js} +1 -1
  269. package/dist/{tool-images-CElPu2en.js → tool-images-8BKrL7Bn.js} +2 -2
  270. package/dist/{update-cli-5KzuA6pa.js → update-cli-0UiUaT3q.js} +10 -10
  271. package/dist/{update-cli-CEghYBNP.js → update-cli-C-uyQcFS.js} +9 -9
  272. package/dist/{update-runner-C5XgCwj2.js → update-runner-CT9YRLtn.js} +1 -1
  273. package/dist/{update-runner-C0q8aGFd.js → update-runner-CqVLeGYA.js} +1 -1
  274. package/dist/{web-DBm_uXOl.js → web-B2qXyOb9.js} +3 -3
  275. package/dist/{web-DdrUn13G.js → web-B7kbCskR.js} +55 -55
  276. package/dist/{web-DddJa7ZT.js → web-D1ZoRVB0.js} +6 -6
  277. package/dist/{web-O2WkG3cH.js → web-FqoNMI-k.js} +3 -3
  278. package/dist/{whatsapp-actions-DPszRJ8b.js → whatsapp-actions-BDkbnZVH.js} +21 -21
  279. package/dist/{workspace-TqfVSQuO.js → workspace-kVMIaBrV.js} +20 -20
  280. package/package.json +1 -1
  281. package/dist/api-key-rotation-Dzvqp3Dc.js +0 -181
  282. package/dist/deliver-runtime-BdUlqV9E.js +0 -36
  283. package/dist/deps-send-discord.runtime-R8jUd_2I.js +0 -26
  284. package/dist/deps-send-imessage.runtime-Die0aWtU.js +0 -25
  285. package/dist/deps-send-signal.runtime-Biux_4v4.js +0 -24
  286. package/dist/deps-send-slack.runtime-CkUST2Ky.js +0 -22
  287. package/dist/deps-send-telegram.runtime-CIN5ILBe.js +0 -27
  288. package/dist/deps-send-whatsapp.runtime-DUff9bWS.js +0 -60
  289. package/dist/errors-DfgAh2Ml.js +0 -54
  290. package/dist/image-runtime-irHu11-U.js +0 -29
  291. package/dist/manager-runtime-BISxj7HK.js +0 -18
  292. package/dist/pi-model-discovery-runtime-bzJViQLK.js +0 -11
  293. package/dist/plugin-sdk/accounts-BNuRM3rG.js +0 -288
  294. package/dist/plugin-sdk/accounts-CGTYP7Rh.js +0 -46
  295. package/dist/plugin-sdk/accounts-CcS9IAhD.js +0 -35
  296. package/dist/plugin-sdk/active-listener-CTsLn1AX.js +0 -50
  297. package/dist/plugin-sdk/audio-preflight-CRGLqp-g.js +0 -69
  298. package/dist/plugin-sdk/audio-transcription-runner-RXsskMMk.js +0 -2176
  299. package/dist/plugin-sdk/audit-membership-runtime-B9b-zRwg.js +0 -58
  300. package/dist/plugin-sdk/channel-activity-gPvD1D7S.js +0 -94
  301. package/dist/plugin-sdk/channel-web-LGl1zPJt.js +0 -2256
  302. package/dist/plugin-sdk/chrome-9Y_LcUg1.js +0 -2415
  303. package/dist/plugin-sdk/commands-registry-CcdEPxVg.js +0 -1125
  304. package/dist/plugin-sdk/config-CrQ5bCrw.js +0 -17912
  305. package/dist/plugin-sdk/deliver-D3xr5AkB.js +0 -1694
  306. package/dist/plugin-sdk/deliver-runtime-B79ZQu69.js +0 -32
  307. package/dist/plugin-sdk/deliver-runtime-BdTC7uKE.js +0 -32
  308. package/dist/plugin-sdk/deps-send-discord.runtime-BOQZIqC8.js +0 -23
  309. package/dist/plugin-sdk/deps-send-discord.runtime-CObCNMt3.js +0 -23
  310. package/dist/plugin-sdk/deps-send-imessage.runtime-CuHOc9Ka.js +0 -22
  311. package/dist/plugin-sdk/deps-send-imessage.runtime-DlWgi2DH.js +0 -22
  312. package/dist/plugin-sdk/deps-send-signal.runtime-Cz7FT8J8.js +0 -21
  313. package/dist/plugin-sdk/deps-send-signal.runtime-iPynghkE.js +0 -21
  314. package/dist/plugin-sdk/deps-send-slack.runtime-D4vDoRsg.js +0 -19
  315. package/dist/plugin-sdk/deps-send-slack.runtime-DNTbE5jS.js +0 -19
  316. package/dist/plugin-sdk/deps-send-telegram.runtime-7CR-xtCF.js +0 -24
  317. package/dist/plugin-sdk/deps-send-telegram.runtime-DjTVED_m.js +0 -24
  318. package/dist/plugin-sdk/deps-send-whatsapp.runtime-CRWOIKRC.js +0 -57
  319. package/dist/plugin-sdk/deps-send-whatsapp.runtime-bUi8kghi.js +0 -57
  320. package/dist/plugin-sdk/diagnostic-BXkLYs_9.js +0 -319
  321. package/dist/plugin-sdk/fetch-guard-C55uvn27.js +0 -156
  322. package/dist/plugin-sdk/fs-safe-Dqmpk-Fr.js +0 -352
  323. package/dist/plugin-sdk/image-3xW7IJdq.js +0 -2310
  324. package/dist/plugin-sdk/image-ops-BjK2qZZn.js +0 -584
  325. package/dist/plugin-sdk/image-runtime-CZZJJqcW.js +0 -25
  326. package/dist/plugin-sdk/image-runtime-Cjz368oj.js +0 -25
  327. package/dist/plugin-sdk/ir-CS7uuQhN.js +0 -1296
  328. package/dist/plugin-sdk/local-roots-DmOKwiNW.js +0 -186
  329. package/dist/plugin-sdk/logger-DDdrdbDu.js +0 -1163
  330. package/dist/plugin-sdk/login-BSEeU27Y.js +0 -57
  331. package/dist/plugin-sdk/login-qr-BwWJsDSj.js +0 -320
  332. package/dist/plugin-sdk/manager-DiXPCubI.js +0 -3917
  333. package/dist/plugin-sdk/manager-runtime-CF55pBNe.js +0 -15
  334. package/dist/plugin-sdk/manager-runtime-Ct0m9UJC.js +0 -15
  335. package/dist/plugin-sdk/outbound-attachment-BoFx05zw.js +0 -19
  336. package/dist/plugin-sdk/outbound-cpqK1GFe.js +0 -212
  337. package/dist/plugin-sdk/path-alias-guards-gBhrAn14.js +0 -43
  338. package/dist/plugin-sdk/paths-C6W4VHoa.js +0 -166
  339. package/dist/plugin-sdk/pi-embedded-helpers-C-B9B6Sp.js +0 -9627
  340. package/dist/plugin-sdk/pi-model-discovery-BGEeoPzN.js +0 -134
  341. package/dist/plugin-sdk/pi-model-discovery-runtime-BHZ_Htob.js +0 -8
  342. package/dist/plugin-sdk/pi-model-discovery-runtime-BrwtJHPU.js +0 -8
  343. package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-ByN_xThw.js +0 -354
  344. package/dist/plugin-sdk/plugins-D5cdn70e.js +0 -864
  345. package/dist/plugin-sdk/proxy-fetch-Cf3IUSDw.js +0 -38
  346. package/dist/plugin-sdk/pw-ai-C_QOIuin.js +0 -1938
  347. package/dist/plugin-sdk/qmd-manager-6bozlfFg.js +0 -1448
  348. package/dist/plugin-sdk/query-expansion-eeVz_aEm.js +0 -1011
  349. package/dist/plugin-sdk/redact-DfACyt0X.js +0 -319
  350. package/dist/plugin-sdk/reply-CQUX_haM.js +0 -98828
  351. package/dist/plugin-sdk/resolve-outbound-target-Dbz0O8cR.js +0 -40
  352. package/dist/plugin-sdk/run-with-concurrency-5DMu9szx.js +0 -1994
  353. package/dist/plugin-sdk/runtime-whatsapp-login.runtime-DitS0I1z.js +0 -10
  354. package/dist/plugin-sdk/runtime-whatsapp-login.runtime-OthrtsLL.js +0 -10
  355. package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-CYCr6A3v.js +0 -19
  356. package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-Q2HL0zL3.js +0 -19
  357. package/dist/plugin-sdk/send-BACEu1Un.js +0 -414
  358. package/dist/plugin-sdk/send-BU4OoR7u.js +0 -2587
  359. package/dist/plugin-sdk/send-DbxOJ_BC.js +0 -3135
  360. package/dist/plugin-sdk/send-n932vjT5.js +0 -540
  361. package/dist/plugin-sdk/send-uCPS53j8.js +0 -503
  362. package/dist/plugin-sdk/session-DenDKR_-.js +0 -169
  363. package/dist/plugin-sdk/skill-commands-BK1KDKmS.js +0 -342
  364. package/dist/plugin-sdk/skills-D4am-zkO.js +0 -1428
  365. package/dist/plugin-sdk/slash-commands.runtime-Bx1K1iqP.js +0 -13
  366. package/dist/plugin-sdk/slash-commands.runtime-DWfFqMZw.js +0 -13
  367. package/dist/plugin-sdk/slash-dispatch.runtime-DVn338JI.js +0 -52
  368. package/dist/plugin-sdk/slash-dispatch.runtime-pnWH5AjM.js +0 -52
  369. package/dist/plugin-sdk/slash-skill-commands.runtime-Dbi_YzPO.js +0 -16
  370. package/dist/plugin-sdk/slash-skill-commands.runtime-DxvNWv_E.js +0 -16
  371. package/dist/plugin-sdk/ssrf-2WBi1Tzx.js +0 -202
  372. package/dist/plugin-sdk/store-BKDMuvyn.js +0 -81
  373. package/dist/plugin-sdk/subagent-registry-runtime-FhP0l-Rw.js +0 -52
  374. package/dist/plugin-sdk/subagent-registry-runtime-hH9ADku1.js +0 -52
  375. package/dist/plugin-sdk/tables-CrDYcv_b.js +0 -55
  376. package/dist/plugin-sdk/target-errors-aOwE-MIU.js +0 -195
  377. package/dist/plugin-sdk/thinking-D41FMh9T.js +0 -1206
  378. package/dist/plugin-sdk/tokens-CTIYTLWu.js +0 -52
  379. package/dist/plugin-sdk/tool-images-CWc54lpI.js +0 -274
  380. package/dist/plugin-sdk/web-AtEy-48y.js +0 -56
  381. package/dist/plugin-sdk/web-DjKONHqF.js +0 -56
  382. package/dist/plugin-sdk/whatsapp-actions-DEZcm_CZ.js +0 -80
  383. package/dist/runtime-whatsapp-login.runtime-BqOsE5As.js +0 -13
  384. package/dist/runtime-whatsapp-outbound.runtime-D5S6mxFT.js +0 -22
  385. package/dist/slash-commands.runtime-JqCsKeu2.js +0 -16
  386. package/dist/slash-dispatch.runtime-h9I6EDYB.js +0 -56
  387. package/dist/slash-skill-commands.runtime-C0QZlkpu.js +0 -20
  388. package/dist/subagent-registry-runtime-BxvwRp_3.js +0 -56
@@ -6,7 +6,7 @@ import { d as getChannelDock, o as normalizeThinkLevel, v as normalizeHyphenSlug
6
6
  import { _ as normalizeChatType, r as normalizeChannelId } from "./plugins-DaMn-Hjl.js";
7
7
  import { t as generateSecureToken } from "./secure-random-D68-1Hhs.js";
8
8
  import { i as getImageMetadata, m as normalizeMessageChannel, n as buildImageResizeSideGrid, p as listDeliverableMessageChannels, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-t3DLKnpb.js";
9
- import { C as ensureChromeExtensionRelayServer, D as PROFILE_POST_RESTART_WS_TIMEOUT_MS, E as PROFILE_ATTACH_RETRY_TIMEOUT_MS, G as DEFAULT_BROWSER_EVALUATE_ENABLED, H as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, I as resolveWritablePathWithinRoot, J as DEFAULT_SQUIDCLAW_BROWSER_PROFILE_NAME, K as DEFAULT_SQUIDCLAW_BROWSER_COLOR, M as DEFAULT_TRACE_DIR, N as DEFAULT_UPLOAD_DIR, O as resolveCdpReachabilityTimeouts, P as resolveExistingPathsWithinRoot, R as normalizeBrowserFormField, T as CDP_JSON_NEW_TIMEOUT_MS, U as DEFAULT_AI_SNAPSHOT_MAX_CHARS, V as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, W as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, _ as withBrowserNavigationPolicy, a as resolveSquidClawUserDataDir, b as fetchOk, c as resolveBrowserExecutableForPlatform, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, i as launchSquidClawChrome, j as DEFAULT_DOWNLOAD_DIR, l as captureScreenshot, m as InvalidBrowserNavigationUrlError, n as isChromeCdpReady, o as stopSquidClawChrome, p as snapshotAria, q as DEFAULT_SQUIDCLAW_BROWSER_ENABLED, r as isChromeReachable, u as createTargetViaCdp, v as appendCdpPath, w as stopChromeExtensionRelayServer, y as fetchJson, z as isLoopbackHost } from "./chrome-BQDCalPp.js";
9
+ import { C as ensureChromeExtensionRelayServer, D as PROFILE_POST_RESTART_WS_TIMEOUT_MS, E as PROFILE_ATTACH_RETRY_TIMEOUT_MS, G as DEFAULT_BROWSER_EVALUATE_ENABLED, H as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, I as resolveWritablePathWithinRoot, J as DEFAULT_SQUIDCLAW_BROWSER_PROFILE_NAME, K as DEFAULT_SQUIDCLAW_BROWSER_COLOR, M as DEFAULT_TRACE_DIR, N as DEFAULT_UPLOAD_DIR, O as resolveCdpReachabilityTimeouts, P as resolveExistingPathsWithinRoot, R as normalizeBrowserFormField, T as CDP_JSON_NEW_TIMEOUT_MS, U as DEFAULT_AI_SNAPSHOT_MAX_CHARS, V as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, W as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, _ as withBrowserNavigationPolicy, a as resolveSquidClawUserDataDir, b as fetchOk, c as resolveBrowserExecutableForPlatform, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, i as launchSquidClawChrome, j as DEFAULT_DOWNLOAD_DIR, l as captureScreenshot, m as InvalidBrowserNavigationUrlError, n as isChromeCdpReady, o as stopSquidClawChrome, p as snapshotAria, q as DEFAULT_SQUIDCLAW_BROWSER_ENABLED, r as isChromeReachable, u as createTargetViaCdp, v as appendCdpPath, w as stopChromeExtensionRelayServer, y as fetchJson, z as isLoopbackHost } from "./chrome-CAd6FQEn.js";
10
10
  import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-BdeJ4sDE.js";
11
11
  import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-DLHloUkx.js";
12
12
  import { n as extractErrorCode, r as formatErrorMessage } from "./errors-VR6fgqPc.js";
@@ -1275,7 +1275,7 @@ function isModuleNotFoundError(err) {
1275
1275
  }
1276
1276
  async function loadPwAiModule(mode) {
1277
1277
  try {
1278
- return await import("./pw-ai-zFPBSxaL.js");
1278
+ return await import("./pw-ai-BmGrTicP.js");
1279
1279
  } catch (err) {
1280
1280
  if (mode === "soft") return null;
1281
1281
  if (isModuleNotFoundError(err)) return null;
@@ -3641,7 +3641,7 @@ function createProfileAvailability({ opts, profile, state, getProfileState, setP
3641
3641
  //#region src/browser/server-context.reset.ts
3642
3642
  async function closePlaywrightBrowserConnection() {
3643
3643
  try {
3644
- await (await import("./pw-ai-zFPBSxaL.js")).closePlaywrightBrowserConnection();
3644
+ await (await import("./pw-ai-BmGrTicP.js")).closePlaywrightBrowserConnection();
3645
3645
  } catch {}
3646
3646
  }
3647
3647
  function createProfileResetOps({ profile, getProfileState, stopRunningBrowser, isHttpReachable, resolveSquidClawUserDataDir }) {
@@ -1,29 +1,29 @@
1
- import { f as resolveSessionAgentId, i as resolveAgentConfig } from "./run-with-concurrency-FczpX8ng.js";
2
- import { a as resolveGatewayPort, d as resolveRequiredHomeDir, n as STATE_DIR } from "./paths-CSdAWKDO.js";
3
- import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-BaLYRf7D.js";
4
- import { B as resolveAgentIdFromSessionKey, K as normalizeOptionalAccountId, N as buildAgentMainSessionKey, R as normalizeAgentId, T as resolvePathViaExistingAncestorSync, _ as runExec, a as DEFAULT_IDENTITY_FILENAME, b as openBoundaryFile, c as DEFAULT_USER_FILENAME, i as DEFAULT_HEARTBEAT_FILENAME, j as DEFAULT_AGENT_ID, l as ensureAgentWorkspace, n as DEFAULT_AGENT_WORKSPACE_DIR, o as DEFAULT_SOUL_FILENAME, r as DEFAULT_BOOTSTRAP_FILENAME, s as DEFAULT_TOOLS_FILENAME, t as DEFAULT_AGENTS_FILENAME, z as normalizeMainKey } from "./workspace-TqfVSQuO.js";
5
- import { E as truncateUtf16Safe, h as normalizeE164, y as resolveUserPath } from "./logger-oGKcCLZ5.js";
6
- import { Vt as CHANNEL_IDS, W as resolveSecretRefValues, X as loadConfig, Y as createConfigIO, _r as resolveSecretInputRef, cr as isPidAlive, et as writeConfigFile, ft as secretRefKey, ht as parseByteSize, lr as formatCliCommand, mt as parseDurationMs, or as resolveProcessScopedMap, pt as getBlockedNetworkModeReason, sr as getProcessStartTime } from "./model-selection-DMjtmGZP.js";
7
- import { c as parseBooleanValue } from "./legacy-names-B0wgIP0Q.js";
8
- import { d as getChannelDock, o as normalizeThinkLevel, v as normalizeHyphenSlug } from "./thinking-CTpcVnlx.js";
9
- import { _ as normalizeChatType, r as normalizeChannelId } from "./plugins-CmdmAU0K.js";
1
+ import { f as resolveSessionAgentId, i as resolveAgentConfig } from "./run-with-concurrency-BFR3ReeF.js";
2
+ import { a as resolveGatewayPort, d as resolveRequiredHomeDir, n as STATE_DIR } from "./paths-DA5srn0U.js";
3
+ import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-6v7sWnAD.js";
4
+ import { B as resolveAgentIdFromSessionKey, K as normalizeOptionalAccountId, N as buildAgentMainSessionKey, R as normalizeAgentId, T as resolvePathViaExistingAncestorSync, _ as runExec, a as DEFAULT_IDENTITY_FILENAME, b as openBoundaryFile, c as DEFAULT_USER_FILENAME, i as DEFAULT_HEARTBEAT_FILENAME, j as DEFAULT_AGENT_ID, l as ensureAgentWorkspace, n as DEFAULT_AGENT_WORKSPACE_DIR, o as DEFAULT_SOUL_FILENAME, r as DEFAULT_BOOTSTRAP_FILENAME, s as DEFAULT_TOOLS_FILENAME, t as DEFAULT_AGENTS_FILENAME, z as normalizeMainKey } from "./workspace-kVMIaBrV.js";
5
+ import { E as truncateUtf16Safe, h as normalizeE164, y as resolveUserPath } from "./logger-CnTSBL7T.js";
6
+ import { Vt as CHANNEL_IDS, W as resolveSecretRefValues, X as loadConfig, Y as createConfigIO, _r as resolveSecretInputRef, cr as isPidAlive, et as writeConfigFile, ft as secretRefKey, ht as parseByteSize, lr as formatCliCommand, mt as parseDurationMs, or as resolveProcessScopedMap, pt as getBlockedNetworkModeReason, sr as getProcessStartTime } from "./model-selection-ag9BmVct.js";
7
+ import { c as parseBooleanValue } from "./legacy-names-aGJJuzM_.js";
8
+ import { d as getChannelDock, o as normalizeThinkLevel, v as normalizeHyphenSlug } from "./thinking-SdNGqtJE.js";
9
+ import { _ as normalizeChatType, r as normalizeChannelId } from "./plugins-DXkm70nK.js";
10
10
  import { t as generateSecureToken } from "./secure-random-CXrBi7Jq.js";
11
- import { i as getImageMetadata, m as normalizeMessageChannel, n as buildImageResizeSideGrid, p as listDeliverableMessageChannels, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-bdrMTILs.js";
12
- import { C as ensureChromeExtensionRelayServer, D as PROFILE_POST_RESTART_WS_TIMEOUT_MS, E as PROFILE_ATTACH_RETRY_TIMEOUT_MS, G as DEFAULT_BROWSER_EVALUATE_ENABLED, H as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, I as resolveWritablePathWithinRoot, J as DEFAULT_SQUIDCLAW_BROWSER_PROFILE_NAME, K as DEFAULT_SQUIDCLAW_BROWSER_COLOR, M as DEFAULT_TRACE_DIR, N as DEFAULT_UPLOAD_DIR, O as resolveCdpReachabilityTimeouts, P as resolveExistingPathsWithinRoot, R as normalizeBrowserFormField, T as CDP_JSON_NEW_TIMEOUT_MS, U as DEFAULT_AI_SNAPSHOT_MAX_CHARS, V as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, W as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, _ as withBrowserNavigationPolicy, a as resolveSquidClawUserDataDir, b as fetchOk, c as resolveBrowserExecutableForPlatform, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, i as launchSquidClawChrome, j as DEFAULT_DOWNLOAD_DIR, l as captureScreenshot, m as InvalidBrowserNavigationUrlError, n as isChromeCdpReady, o as stopSquidClawChrome, p as snapshotAria, q as DEFAULT_SQUIDCLAW_BROWSER_ENABLED, r as isChromeReachable, u as createTargetViaCdp, v as appendCdpPath, w as stopChromeExtensionRelayServer, y as fetchJson, z as isLoopbackHost } from "./chrome-BFfAGQtd.js";
13
- import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-DWrRJwa-.js";
14
- import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-Cpsiv2KL.js";
15
- import { n as extractErrorCode, r as formatErrorMessage } from "./errors-DfgAh2Ml.js";
16
- import { n as SsrFBlockedError } from "./proxy-env-QUJz9VEJ.js";
17
- import { i as saveMediaBuffer, n as ensureMediaDir } from "./store-BFNH5fXG.js";
11
+ import { i as getImageMetadata, m as normalizeMessageChannel, n as buildImageResizeSideGrid, p as listDeliverableMessageChannels, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-CdgypS_g.js";
12
+ import { C as ensureChromeExtensionRelayServer, D as PROFILE_POST_RESTART_WS_TIMEOUT_MS, E as PROFILE_ATTACH_RETRY_TIMEOUT_MS, G as DEFAULT_BROWSER_EVALUATE_ENABLED, H as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, I as resolveWritablePathWithinRoot, J as DEFAULT_SQUIDCLAW_BROWSER_PROFILE_NAME, K as DEFAULT_SQUIDCLAW_BROWSER_COLOR, M as DEFAULT_TRACE_DIR, N as DEFAULT_UPLOAD_DIR, O as resolveCdpReachabilityTimeouts, P as resolveExistingPathsWithinRoot, R as normalizeBrowserFormField, T as CDP_JSON_NEW_TIMEOUT_MS, U as DEFAULT_AI_SNAPSHOT_MAX_CHARS, V as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, W as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, _ as withBrowserNavigationPolicy, a as resolveSquidClawUserDataDir, b as fetchOk, c as resolveBrowserExecutableForPlatform, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, i as launchSquidClawChrome, j as DEFAULT_DOWNLOAD_DIR, l as captureScreenshot, m as InvalidBrowserNavigationUrlError, n as isChromeCdpReady, o as stopSquidClawChrome, p as snapshotAria, q as DEFAULT_SQUIDCLAW_BROWSER_ENABLED, r as isChromeReachable, u as createTargetViaCdp, v as appendCdpPath, w as stopChromeExtensionRelayServer, y as fetchJson, z as isLoopbackHost } from "./chrome-pBkBuWci.js";
13
+ import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-CTV78w4q.js";
14
+ import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-DORgbZ1w.js";
15
+ import { n as extractErrorCode, r as formatErrorMessage } from "./errors-kkRuS2Cs.js";
16
+ import { n as SsrFBlockedError } from "./proxy-env-D75CWSOo.js";
17
+ import { i as saveMediaBuffer, n as ensureMediaDir } from "./store-B89Hj8Ub.js";
18
18
  import { n as resolveWindowsSpawnProgram, t as materializeWindowsSpawnProgram } from "./windows-spawn-B89VigUN.js";
19
19
  import { i as writeTextAtomic, r as writeJsonAtomic } from "./json-files-D7-rxoSr.js";
20
- import { a as resolveSessionTranscriptPathInDir, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-CXClY8zC.js";
20
+ import { a as resolveSessionTranscriptPathInDir, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-DSd911Oe.js";
21
21
  import { t as emitSessionTranscriptUpdate } from "./transcript-events-uYL2gEou.js";
22
- import { t as sanitizeContentBlocksImages } from "./tool-images-CElPu2en.js";
22
+ import { t as sanitizeContentBlocksImages } from "./tool-images-8BKrL7Bn.js";
23
23
  import fs from "node:fs/promises";
24
24
  import os from "node:os";
25
25
  import path, { posix } from "node:path";
26
- import fs$1, { existsSync } from "node:fs";
26
+ import syncFs, { existsSync } from "node:fs";
27
27
  import { spawn } from "node:child_process";
28
28
  import crypto, { createHash, timingSafeEqual } from "node:crypto";
29
29
  import { CURRENT_SESSION_VERSION, SessionManager } from "@mariozechner/pi-coding-agent";
@@ -1278,7 +1278,7 @@ function isModuleNotFoundError(err) {
1278
1278
  }
1279
1279
  async function loadPwAiModule(mode) {
1280
1280
  try {
1281
- return await import("./pw-ai-SYjuzbV6.js");
1281
+ return await import("./pw-ai-7kHgUGj0.js");
1282
1282
  } catch (err) {
1283
1283
  if (mode === "soft") return null;
1284
1284
  if (isModuleNotFoundError(err)) return null;
@@ -3055,11 +3055,11 @@ async function movePathToTrash(targetPath) {
3055
3055
  return targetPath;
3056
3056
  } catch {
3057
3057
  const trashDir = path.join(os.homedir(), ".Trash");
3058
- fs$1.mkdirSync(trashDir, { recursive: true });
3058
+ syncFs.mkdirSync(trashDir, { recursive: true });
3059
3059
  const base = path.basename(targetPath);
3060
3060
  let dest = path.join(trashDir, `${base}-${Date.now()}`);
3061
- if (fs$1.existsSync(dest)) dest = path.join(trashDir, `${base}-${Date.now()}-${generateSecureToken(6)}`);
3062
- fs$1.renameSync(targetPath, dest);
3061
+ if (syncFs.existsSync(dest)) dest = path.join(trashDir, `${base}-${Date.now()}-${generateSecureToken(6)}`);
3062
+ syncFs.renameSync(targetPath, dest);
3063
3063
  return dest;
3064
3064
  }
3065
3065
  }
@@ -3146,7 +3146,7 @@ function createBrowserProfilesService(ctx) {
3146
3146
  } catch {}
3147
3147
  const userDataDir = resolveSquidClawUserDataDir(name);
3148
3148
  const profileDir = path.dirname(userDataDir);
3149
- if (fs$1.existsSync(profileDir)) {
3149
+ if (syncFs.existsSync(profileDir)) {
3150
3150
  await movePathToTrash(profileDir);
3151
3151
  deleted = true;
3152
3152
  }
@@ -3644,7 +3644,7 @@ function createProfileAvailability({ opts, profile, state, getProfileState, setP
3644
3644
  //#region src/browser/server-context.reset.ts
3645
3645
  async function closePlaywrightBrowserConnection() {
3646
3646
  try {
3647
- await (await import("./pw-ai-SYjuzbV6.js")).closePlaywrightBrowserConnection();
3647
+ await (await import("./pw-ai-7kHgUGj0.js")).closePlaywrightBrowserConnection();
3648
3648
  } catch {}
3649
3649
  }
3650
3650
  function createProfileResetOps({ profile, getProfileState, stopRunningBrowser, isHttpReachable, resolveSquidClawUserDataDir }) {
@@ -3662,7 +3662,7 @@ function createProfileResetOps({ profile, getProfileState, stopRunningBrowser, i
3662
3662
  if (await isHttpReachable(300) && !profileState.running) await closePlaywrightBrowserConnection();
3663
3663
  if (profileState.running) await stopRunningBrowser();
3664
3664
  await closePlaywrightBrowserConnection();
3665
- if (!fs$1.existsSync(userDataDir)) return {
3665
+ if (!syncFs.existsSync(userDataDir)) return {
3666
3666
  moved: false,
3667
3667
  from: userDataDir
3668
3668
  };
@@ -4410,7 +4410,7 @@ function releaseAllLocksSync() {
4410
4410
  if (typeof held.handle.close === "function") held.handle.close().catch(() => {});
4411
4411
  } catch {}
4412
4412
  try {
4413
- fs$1.rmSync(held.lockPath, { force: true });
4413
+ syncFs.rmSync(held.lockPath, { force: true });
4414
4414
  } catch {}
4415
4415
  HELD_LOCKS.delete(sessionFile);
4416
4416
  }
@@ -6008,7 +6008,7 @@ var SandboxFsBridgeImpl = class {
6008
6008
  if (guarded.reason !== "path") {
6009
6009
  if (!(options.allowedType === "directory" && this.pathIsExistingDirectory(target.hostPath))) throw guarded.error instanceof Error ? guarded.error : /* @__PURE__ */ new Error(`Sandbox boundary checks failed; cannot ${options.action}: ${target.containerPath}`);
6010
6010
  }
6011
- } else fs$1.closeSync(guarded.fd);
6011
+ } else syncFs.closeSync(guarded.fd);
6012
6012
  const canonicalContainerPath = await this.resolveCanonicalContainerPath({
6013
6013
  containerPath: target.containerPath,
6014
6014
  allowFinalSymlinkForUnlink: options.aliasPolicy?.allowFinalSymlinkForUnlink === true
@@ -6019,7 +6019,7 @@ var SandboxFsBridgeImpl = class {
6019
6019
  }
6020
6020
  pathIsExistingDirectory(hostPath) {
6021
6021
  try {
6022
- return fs$1.statSync(hostPath).isDirectory();
6022
+ return syncFs.statSync(hostPath).isDirectory();
6023
6023
  } catch {
6024
6024
  return false;
6025
6025
  }
@@ -6820,14 +6820,14 @@ function resolveSessionTranscriptCandidates(sessionId, storePath, sessionFile, a
6820
6820
  function canonicalizePathForComparison$1(filePath) {
6821
6821
  const resolved = path.resolve(filePath);
6822
6822
  try {
6823
- return fs$1.realpathSync(resolved);
6823
+ return syncFs.realpathSync(resolved);
6824
6824
  } catch {
6825
6825
  return resolved;
6826
6826
  }
6827
6827
  }
6828
6828
  function archiveFileOnDisk(filePath, reason) {
6829
6829
  const archived = `${filePath}.${reason}.${formatSessionArchiveTimestamp()}`;
6830
- fs$1.renameSync(filePath, archived);
6830
+ syncFs.renameSync(filePath, archived);
6831
6831
  return archived;
6832
6832
  }
6833
6833
  /**
@@ -6843,7 +6843,7 @@ function archiveSessionTranscripts(opts) {
6843
6843
  const relative = path.relative(storeDir, candidatePath);
6844
6844
  if (!relative || relative.startsWith("..") || path.isAbsolute(relative)) continue;
6845
6845
  }
6846
- if (!fs$1.existsSync(candidatePath)) continue;
6846
+ if (!syncFs.existsSync(candidatePath)) continue;
6847
6847
  try {
6848
6848
  archived.push(archiveFileOnDisk(candidatePath, opts.reason));
6849
6849
  } catch {}
@@ -6861,15 +6861,15 @@ async function cleanupArchivedSessionTranscripts(opts) {
6861
6861
  let removed = 0;
6862
6862
  let scanned = 0;
6863
6863
  for (const dir of directories) {
6864
- const entries = await fs$1.promises.readdir(dir).catch(() => []);
6864
+ const entries = await syncFs.promises.readdir(dir).catch(() => []);
6865
6865
  for (const entry of entries) {
6866
6866
  const timestamp = parseSessionArchiveTimestamp(entry, reason);
6867
6867
  if (timestamp == null) continue;
6868
6868
  scanned += 1;
6869
6869
  if (now - timestamp <= opts.olderThanMs) continue;
6870
6870
  const fullPath = path.join(dir, entry);
6871
- if (!(await fs$1.promises.stat(fullPath).catch(() => null))?.isFile()) continue;
6872
- await fs$1.promises.rm(fullPath).catch(() => void 0);
6871
+ if (!(await syncFs.promises.stat(fullPath).catch(() => null))?.isFile()) continue;
6872
+ await syncFs.promises.rm(fullPath).catch(() => void 0);
6873
6873
  removed += 1;
6874
6874
  }
6875
6875
  }
@@ -6999,7 +6999,7 @@ function isCacheEnabled(ttlMs) {
6999
6999
  }
7000
7000
  function getFileStatSnapshot(filePath) {
7001
7001
  try {
7002
- const stats = fs$1.statSync(filePath);
7002
+ const stats = syncFs.statSync(filePath);
7003
7003
  return {
7004
7004
  mtimeMs: stats.mtimeMs,
7005
7005
  sizeBytes: stats.size
@@ -7018,7 +7018,7 @@ const NOOP_LOGGER = {
7018
7018
  function canonicalizePathForComparison(filePath) {
7019
7019
  const resolved = path.resolve(filePath);
7020
7020
  try {
7021
- return fs$1.realpathSync(resolved);
7021
+ return syncFs.realpathSync(resolved);
7022
7022
  } catch {
7023
7023
  return resolved;
7024
7024
  }
@@ -7076,12 +7076,12 @@ function resolveReferencedSessionTranscriptPaths(params) {
7076
7076
  return referenced;
7077
7077
  }
7078
7078
  async function readSessionsDirFiles(sessionsDir) {
7079
- const dirEntries = await fs$1.promises.readdir(sessionsDir, { withFileTypes: true }).catch(() => []);
7079
+ const dirEntries = await syncFs.promises.readdir(sessionsDir, { withFileTypes: true }).catch(() => []);
7080
7080
  const files = [];
7081
7081
  for (const dirent of dirEntries) {
7082
7082
  if (!dirent.isFile()) continue;
7083
7083
  const filePath = path.join(sessionsDir, dirent.name);
7084
- const stat = await fs$1.promises.stat(filePath).catch(() => null);
7084
+ const stat = await syncFs.promises.stat(filePath).catch(() => null);
7085
7085
  if (!stat?.isFile()) continue;
7086
7086
  files.push({
7087
7087
  path: filePath,
@@ -7094,9 +7094,9 @@ async function readSessionsDirFiles(sessionsDir) {
7094
7094
  return files;
7095
7095
  }
7096
7096
  async function removeFileIfExists(filePath) {
7097
- const stat = await fs$1.promises.stat(filePath).catch(() => null);
7097
+ const stat = await syncFs.promises.stat(filePath).catch(() => null);
7098
7098
  if (!stat?.isFile()) return 0;
7099
- await fs$1.promises.rm(filePath, { force: true }).catch(() => void 0);
7099
+ await syncFs.promises.rm(filePath, { force: true }).catch(() => void 0);
7100
7100
  return stat.size;
7101
7101
  }
7102
7102
  async function removeFileForBudget(params) {
@@ -7455,7 +7455,7 @@ function capEntryCount(store, overrideMax, opts = {}) {
7455
7455
  }
7456
7456
  async function getSessionFileSize(storePath) {
7457
7457
  try {
7458
- return (await fs$1.promises.stat(storePath)).size;
7458
+ return (await syncFs.promises.stat(storePath)).size;
7459
7459
  } catch {
7460
7460
  return null;
7461
7461
  }
@@ -7472,7 +7472,7 @@ async function rotateSessionFile(storePath, overrideBytes) {
7472
7472
  if (fileSize <= maxBytes) return false;
7473
7473
  const backupPath = `${storePath}.bak.${Date.now()}`;
7474
7474
  try {
7475
- await fs$1.promises.rename(storePath, backupPath);
7475
+ await syncFs.promises.rename(storePath, backupPath);
7476
7476
  log$2.info("rotated session store file", {
7477
7477
  backupPath: path.basename(backupPath),
7478
7478
  sizeBytes: fileSize
@@ -7483,11 +7483,11 @@ async function rotateSessionFile(storePath, overrideBytes) {
7483
7483
  try {
7484
7484
  const dir = path.dirname(storePath);
7485
7485
  const baseName = path.basename(storePath);
7486
- const backups = (await fs$1.promises.readdir(dir)).filter((f) => f.startsWith(`${baseName}.bak.`)).toSorted().toReversed();
7486
+ const backups = (await syncFs.promises.readdir(dir)).filter((f) => f.startsWith(`${baseName}.bak.`)).toSorted().toReversed();
7487
7487
  const maxBackups = 3;
7488
7488
  if (backups.length > maxBackups) {
7489
7489
  const toDelete = backups.slice(maxBackups);
7490
- for (const old of toDelete) await fs$1.promises.unlink(path.join(dir, old)).catch(() => void 0);
7490
+ for (const old of toDelete) await syncFs.promises.unlink(path.join(dir, old)).catch(() => void 0);
7491
7491
  log$2.info("cleaned up old session store backups", { deleted: toDelete.length });
7492
7492
  }
7493
7493
  } catch {}
@@ -7610,7 +7610,7 @@ function loadSessionStore(storePath, opts = {}) {
7610
7610
  const maxReadAttempts = process.platform === "win32" ? 3 : 1;
7611
7611
  const retryBuf = maxReadAttempts > 1 ? new Int32Array(new SharedArrayBuffer(4)) : void 0;
7612
7612
  for (let attempt = 0; attempt < maxReadAttempts; attempt++) try {
7613
- const raw = fs$1.readFileSync(storePath, "utf-8");
7613
+ const raw = syncFs.readFileSync(storePath, "utf-8");
7614
7614
  if (raw.length === 0 && attempt < maxReadAttempts - 1) {
7615
7615
  Atomics.wait(retryBuf, 0, 0, 50);
7616
7616
  continue;
@@ -7764,7 +7764,7 @@ async function saveSessionStoreUnlocked(storePath, store, opts) {
7764
7764
  });
7765
7765
  }
7766
7766
  }
7767
- await fs$1.promises.mkdir(path.dirname(storePath), { recursive: true });
7767
+ await syncFs.promises.mkdir(path.dirname(storePath), { recursive: true });
7768
7768
  const json = JSON.stringify(store, null, 2);
7769
7769
  if (getSerializedSessionStore(storePath) === json) {
7770
7770
  updateSessionStoreWriteCaches({
@@ -8101,8 +8101,8 @@ function resolveMirroredTranscriptText(params) {
8101
8101
  return trimmed ? trimmed : null;
8102
8102
  }
8103
8103
  async function ensureSessionHeader(params) {
8104
- if (fs$1.existsSync(params.sessionFile)) return;
8105
- await fs$1.promises.mkdir(path.dirname(params.sessionFile), { recursive: true });
8104
+ if (syncFs.existsSync(params.sessionFile)) return;
8105
+ await syncFs.promises.mkdir(path.dirname(params.sessionFile), { recursive: true });
8106
8106
  const header = {
8107
8107
  type: "session",
8108
8108
  version: CURRENT_SESSION_VERSION,
@@ -8110,7 +8110,7 @@ async function ensureSessionHeader(params) {
8110
8110
  timestamp: (/* @__PURE__ */ new Date()).toISOString(),
8111
8111
  cwd: process.cwd()
8112
8112
  };
8113
- await fs$1.promises.writeFile(params.sessionFile, `${JSON.stringify(header)}\n`, {
8113
+ await syncFs.promises.writeFile(params.sessionFile, `${JSON.stringify(header)}\n`, {
8114
8114
  encoding: "utf-8",
8115
8115
  mode: 384
8116
8116
  });
@@ -8345,13 +8345,13 @@ async function ensureSandboxWorkspace(workspaceDir, seedFrom, skipBootstrap) {
8345
8345
  });
8346
8346
  if (!opened.ok) continue;
8347
8347
  try {
8348
- const content = fs$1.readFileSync(opened.fd, "utf-8");
8348
+ const content = syncFs.readFileSync(opened.fd, "utf-8");
8349
8349
  await fs.writeFile(dest, content, {
8350
8350
  encoding: "utf-8",
8351
8351
  flag: "wx"
8352
8352
  });
8353
8353
  } finally {
8354
- fs$1.closeSync(opened.fd);
8354
+ syncFs.closeSync(opened.fd);
8355
8355
  }
8356
8356
  } catch {}
8357
8357
  }
@@ -1,7 +1,7 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { c as normalizeProviderId, nr as ensureAuthProfileStore } from "./model-selection-DMjtmGZP.js";
2
+ import { c as normalizeProviderId, nr as ensureAuthProfileStore } from "./model-selection-ag9BmVct.js";
3
3
  import path from "node:path";
4
- import fs from "node:fs";
4
+ import syncFs from "node:fs";
5
5
  import * as PiCodingAgent from "@mariozechner/pi-coding-agent";
6
6
 
7
7
  //#region src/agents/pi-auth-credentials.ts
@@ -70,10 +70,10 @@ function isRecord(value) {
70
70
  }
71
71
  function scrubLegacyStaticAuthJsonEntries(pathname) {
72
72
  if (process.env.SQUIDCLAW_AUTH_STORE_READONLY === "1") return;
73
- if (!fs.existsSync(pathname)) return;
73
+ if (!syncFs.existsSync(pathname)) return;
74
74
  let parsed;
75
75
  try {
76
- parsed = JSON.parse(fs.readFileSync(pathname, "utf8"));
76
+ parsed = JSON.parse(syncFs.readFileSync(pathname, "utf8"));
77
77
  } catch {
78
78
  return;
79
79
  }
@@ -87,11 +87,11 @@ function scrubLegacyStaticAuthJsonEntries(pathname) {
87
87
  }
88
88
  if (!changed) return;
89
89
  if (Object.keys(parsed).length === 0) {
90
- fs.rmSync(pathname, { force: true });
90
+ syncFs.rmSync(pathname, { force: true });
91
91
  return;
92
92
  }
93
- fs.writeFileSync(pathname, `${JSON.stringify(parsed, null, 2)}\n`, "utf8");
94
- fs.chmodSync(pathname, 384);
93
+ syncFs.writeFileSync(pathname, `${JSON.stringify(parsed, null, 2)}\n`, "utf8");
94
+ syncFs.chmodSync(pathname, 384);
95
95
  }
96
96
  function createAuthStorage(AuthStorageLike, path, creds) {
97
97
  const withInMemory = AuthStorageLike;
@@ -0,0 +1,11 @@
1
+ import "./run-with-concurrency-BFR3ReeF.js";
2
+ import "./paths-DA5srn0U.js";
3
+ import "./subsystem-6v7sWnAD.js";
4
+ import "./workspace-kVMIaBrV.js";
5
+ import "./logger-CnTSBL7T.js";
6
+ import "./model-selection-ag9BmVct.js";
7
+ import "./github-copilot-token-B5cPlwaz.js";
8
+ import "./legacy-names-aGJJuzM_.js";
9
+ import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-DAzuqPoG.js";
10
+
11
+ export { discoverAuthStorage, discoverModels };
@@ -1,12 +1,12 @@
1
- import "./run-with-concurrency-FczpX8ng.js";
2
- import "./paths-CSdAWKDO.js";
3
- import { t as createSubsystemLogger } from "./subsystem-BaLYRf7D.js";
4
- import "./workspace-TqfVSQuO.js";
5
- import { D as isPlainObject } from "./logger-oGKcCLZ5.js";
6
- import "./model-selection-DMjtmGZP.js";
7
- import "./github-copilot-token-Cw3tAXM9.js";
8
- import "./legacy-names-B0wgIP0Q.js";
9
- import { p as getDiagnosticSessionState, s as logToolLoopAction } from "./diagnostic-DoguEiWW.js";
1
+ import "./run-with-concurrency-BFR3ReeF.js";
2
+ import "./paths-DA5srn0U.js";
3
+ import { t as createSubsystemLogger } from "./subsystem-6v7sWnAD.js";
4
+ import "./workspace-kVMIaBrV.js";
5
+ import { D as isPlainObject } from "./logger-CnTSBL7T.js";
6
+ import "./model-selection-ag9BmVct.js";
7
+ import "./github-copilot-token-B5cPlwaz.js";
8
+ import "./legacy-names-aGJJuzM_.js";
9
+ import { p as getDiagnosticSessionState, s as logToolLoopAction } from "./diagnostic-ySwZga6c.js";
10
10
  import { createHash } from "node:crypto";
11
11
 
12
12
  //#region src/agents/tool-loop-detection.ts
@@ -3,7 +3,7 @@ import { t as createSubsystemLogger } from "./subsystem-Bw5n50gj.js";
3
3
  import { z as loadConfig } from "./auth-profiles-CvmKVnsR.js";
4
4
  import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-Cq4vDGrK.js";
5
5
  import { u as getActivePluginRegistry } from "./registry-BXcl3IkC.js";
6
- import { b as loadSquidClawPlugins } from "./subagent-registry-DQpeidFk.js";
6
+ import { b as loadSquidClawPlugins } from "./subagent-registry-DGrfQVN3.js";
7
7
 
8
8
  //#region src/cli/plugin-registry.ts
9
9
  var plugin_registry_exports = /* @__PURE__ */ __exportAll({ ensurePluginRegistryLoaded: () => ensurePluginRegistryLoaded });
@@ -1,5 +1,5 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { ft as loadSquidClawPlugins } from "./reply-ZWkzBiSb.js";
2
+ import { ft as loadSquidClawPlugins } from "./reply-CB1p166g.js";
3
3
  import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-C1XMay0T.js";
4
4
  import { t as createSubsystemLogger } from "./subsystem-DC87CPVS.js";
5
5
  import { $t as loadConfig } from "./model-selection-BwOXMaZh.js";
@@ -1,5 +1,5 @@
1
- import { ot as normalizeAccountId } from "./run-with-concurrency-kVooFCVo.js";
2
- import { v as resolveAccountEntry, y as createAccountListHelpers } from "./accounts-CxUSDHsT.js";
1
+ import { ot as normalizeAccountId } from "./run-with-concurrency-DmTrN5JG.js";
2
+ import { v as resolveAccountEntry, y as createAccountListHelpers } from "./accounts-YTdQYQFr.js";
3
3
 
4
4
  //#region src/signal/accounts.ts
5
5
  const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("signal");
@@ -1,6 +1,6 @@
1
- import { at as DEFAULT_ACCOUNT_ID, ot as normalizeAccountId, st as normalizeOptionalAccountId } from "./run-with-concurrency-kVooFCVo.js";
2
- import { Tr as formatCliCommand } from "./config-DYbtdrsT.js";
3
- import { B as success, G as getChildLogger, I as info, j as defaultRuntime, m as jidToE164, y as resolveUserPath } from "./logger-Bg4vIUJn.js";
1
+ import { at as DEFAULT_ACCOUNT_ID, ot as normalizeAccountId, st as normalizeOptionalAccountId } from "./run-with-concurrency-DmTrN5JG.js";
2
+ import { Tr as formatCliCommand } from "./config-pRtEoVyZ.js";
3
+ import { B as success, G as getChildLogger, I as info, j as defaultRuntime, m as jidToE164, y as resolveUserPath } from "./logger-DIb2cGHp.js";
4
4
  import { o as resolveOAuthDir } from "./paths-Duwviem_.js";
5
5
  import path from "node:path";
6
6
  import fs from "node:fs";
@@ -1,5 +1,5 @@
1
- import { ot as normalizeAccountId } from "./run-with-concurrency-kVooFCVo.js";
2
- import { v as resolveAccountEntry, y as createAccountListHelpers } from "./accounts-CxUSDHsT.js";
1
+ import { ot as normalizeAccountId } from "./run-with-concurrency-DmTrN5JG.js";
2
+ import { v as resolveAccountEntry, y as createAccountListHelpers } from "./accounts-YTdQYQFr.js";
3
3
 
4
4
  //#region src/imessage/accounts.ts
5
5
  const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("imessage");
@@ -1,5 +1,5 @@
1
- import { at as DEFAULT_ACCOUNT_ID } from "./run-with-concurrency-kVooFCVo.js";
2
- import { Tr as formatCliCommand } from "./config-DYbtdrsT.js";
1
+ import { at as DEFAULT_ACCOUNT_ID } from "./run-with-concurrency-DmTrN5JG.js";
2
+ import { Tr as formatCliCommand } from "./config-pRtEoVyZ.js";
3
3
  import crypto from "node:crypto";
4
4
 
5
5
  //#region src/logging/redact-identifier.ts
@@ -1,5 +1,5 @@
1
- import { jn as normalizeProviderId } from "./config-CrQ5bCrw.js";
2
- import { r as formatErrorMessage } from "./errors-B8oJXuCF.js";
1
+ import { Ht as normalizeProviderId } from "./config-pRtEoVyZ.js";
2
+ import { r as formatErrorMessage } from "./errors-CgRPdp3o.js";
3
3
 
4
4
  //#region src/infra/gemini-auth.ts
5
5
  /**
@@ -1,31 +1,31 @@
1
- import "./run-with-concurrency-kVooFCVo.js";
2
- import "./config-DYbtdrsT.js";
3
- import { L as logVerbose, z as shouldLogVerbose } from "./logger-Bg4vIUJn.js";
1
+ import "./run-with-concurrency-DmTrN5JG.js";
2
+ import "./config-pRtEoVyZ.js";
3
+ import { L as logVerbose, z as shouldLogVerbose } from "./logger-DIb2cGHp.js";
4
4
  import "./paths-Duwviem_.js";
5
- import "./accounts-CxUSDHsT.js";
6
- import "./plugins-DSs2-fnK.js";
7
- import "./thinking-1UCPuD9d.js";
8
- import "./accounts-PSzw-z3S.js";
9
- import "./image-ops-CMsocOob.js";
10
- import "./pi-embedded-helpers-BDJ_4Plh.js";
11
- import "./accounts-kr-Gz1hk.js";
5
+ import "./accounts-YTdQYQFr.js";
6
+ import "./plugins-B8pWVYug.js";
7
+ import "./thinking-DjaClmzi.js";
8
+ import "./accounts-h__dTrLK.js";
9
+ import "./image-ops-sw0uZ0GN.js";
10
+ import "./pi-embedded-helpers-DZRNadD8.js";
11
+ import "./accounts-DghIDNk2.js";
12
12
  import "./github-copilot-token-C0y6vp3r.js";
13
- import "./paths-CP67O8eN.js";
14
- import { i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, p as isAudioAttachment, t as runAudioTranscription } from "./audio-transcription-runner-Dwc0Eh-B.js";
15
- import "./image-rycGCqJO.js";
16
- import "./chrome-diV5m81I.js";
17
- import "./skills-BzXN4uev.js";
18
- import "./path-alias-guards-DA0MhfkG.js";
19
- import "./redact-DfACyt0X.js";
20
- import "./errors-9oVz7reJ.js";
21
- import "./fs-safe-DFbwq9CS.js";
22
- import "./proxy-env-Ib4-LUh-.js";
23
- import "./store-DnJhFFW5.js";
24
- import "./tool-images-RX4QTMnt.js";
25
- import "./fetch-guard-Or5BCq0E.js";
26
- import "./api-key-rotation-DE4gr5YM.js";
27
- import "./local-roots-1xVosTZ4.js";
28
- import "./proxy-fetch-Cf3IUSDw.js";
13
+ import "./paths-B7_75Pdr.js";
14
+ import { i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, p as isAudioAttachment, t as runAudioTranscription } from "./audio-transcription-runner-CrYTX8py.js";
15
+ import "./image-CQ9TZ9vq.js";
16
+ import "./chrome-BXbYwXRH.js";
17
+ import "./skills-Bs2b3JfV.js";
18
+ import "./path-alias-guards-TnxupPQC.js";
19
+ import "./redact-9WsNyb7S.js";
20
+ import "./errors-CgRPdp3o.js";
21
+ import "./fs-safe-DqCO1D4C.js";
22
+ import "./proxy-env-BOlkiW1-.js";
23
+ import "./store-B7ESm9_L.js";
24
+ import "./tool-images-B95xcwiR.js";
25
+ import "./fetch-guard-DyPZh8r2.js";
26
+ import "./api-key-rotation-mVDSAkKQ.js";
27
+ import "./local-roots-fO3ZgW3G.js";
28
+ import "./proxy-fetch-Dt5BedH8.js";
29
29
 
30
30
  //#region src/media-understanding/audio-preflight.ts
31
31
  /**
@@ -1,14 +1,14 @@
1
- import { O as runExec, U as resolveAgentModelFallbackValues, W as resolveAgentModelPrimaryValue } from "./run-with-concurrency-kVooFCVo.js";
2
- import { Fn as resolveSquidClawAgentDir, Ht as normalizeProviderId, Yt as normalizeGoogleModelId, dn as resolveApiKeyForProvider, f as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, h as resolveIMessageAttachmentRoots, m as mergeInboundPathRoots, n as loadConfig, p as isInboundPathAllowed, un as requireApiKey } from "./config-DYbtdrsT.js";
3
- import { L as logVerbose, O as createSubsystemLogger, Y as resolvePreferredSquidClawTmpDir, z as shouldLogVerbose } from "./logger-Bg4vIUJn.js";
4
- import { _ as normalizeChatType } from "./plugins-DSs2-fnK.js";
5
- import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-CMsocOob.js";
6
- import { C as ensureSquidClawModelsJson, t as describeImageWithModel } from "./image-rycGCqJO.js";
1
+ import { O as runExec, U as resolveAgentModelFallbackValues, W as resolveAgentModelPrimaryValue } from "./run-with-concurrency-DmTrN5JG.js";
2
+ import { Fn as resolveSquidClawAgentDir, Ht as normalizeProviderId, Yt as normalizeGoogleModelId, dn as resolveApiKeyForProvider, f as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, h as resolveIMessageAttachmentRoots, m as mergeInboundPathRoots, n as loadConfig, p as isInboundPathAllowed, un as requireApiKey } from "./config-pRtEoVyZ.js";
3
+ import { L as logVerbose, O as createSubsystemLogger, Y as resolvePreferredSquidClawTmpDir, z as shouldLogVerbose } from "./logger-DIb2cGHp.js";
4
+ import { _ as normalizeChatType } from "./plugins-B8pWVYug.js";
5
+ import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-sw0uZ0GN.js";
6
+ import { C as ensureSquidClawModelsJson, t as describeImageWithModel } from "./image-CQ9TZ9vq.js";
7
7
  import { n as fetchWithTimeout } from "./fetch-timeout-CR10Uz2k.js";
8
- import { t as fetchWithSsrFGuard } from "./fetch-guard-Or5BCq0E.js";
9
- import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-DE4gr5YM.js";
10
- import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError } from "./local-roots-1xVosTZ4.js";
11
- import { n as resolveProxyFetchFromEnv } from "./proxy-fetch-Cf3IUSDw.js";
8
+ import { t as fetchWithSsrFGuard } from "./fetch-guard-DyPZh8r2.js";
9
+ import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-mVDSAkKQ.js";
10
+ import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError } from "./local-roots-fO3ZgW3G.js";
11
+ import { n as resolveProxyFetchFromEnv } from "./proxy-fetch-Dt5BedH8.js";
12
12
  import path from "node:path";
13
13
  import { constants } from "node:fs";
14
14
  import os from "node:os";
@@ -990,7 +990,7 @@ var MediaAttachmentCache = class {
990
990
  const log = createSubsystemLogger("model-catalog");
991
991
  let modelCatalogPromise = null;
992
992
  let hasLoggedModelCatalogError = false;
993
- const defaultImportPiSdk = () => import("./pi-model-discovery-Mk0GTDJl.js").then((n) => n.r);
993
+ const defaultImportPiSdk = () => import("./pi-model-discovery-DGh6xekX.js").then((n) => n.r);
994
994
  let importPiSdk = defaultImportPiSdk;
995
995
  const CODEX_PROVIDER = "openai-codex";
996
996
  const OPENAI_CODEX_GPT53_MODEL_ID = "gpt-5.3-codex";
@@ -1,7 +1,7 @@
1
- import { f as isRecord } from "./logger-Bg4vIUJn.js";
1
+ import { f as isRecord } from "./logger-DIb2cGHp.js";
2
2
  import "./paths-Duwviem_.js";
3
3
  import { n as fetchWithTimeout } from "./fetch-timeout-CR10Uz2k.js";
4
- import { t as makeProxyFetch } from "./proxy-fetch-Cf3IUSDw.js";
4
+ import { t as makeProxyFetch } from "./proxy-fetch-Dt5BedH8.js";
5
5
  import "./proxy-BOZmkV9K.js";
6
6
 
7
7
  //#region src/telegram/audit-membership-runtime.ts
@@ -1,6 +1,6 @@
1
- import { en as resolveRetryConfig, tn as retryAsync } from "./config-DYbtdrsT.js";
2
- import { O as createSubsystemLogger } from "./logger-Bg4vIUJn.js";
3
- import { r as formatErrorMessage } from "./errors-9oVz7reJ.js";
1
+ import { en as resolveRetryConfig, tn as retryAsync } from "./config-pRtEoVyZ.js";
2
+ import { O as createSubsystemLogger } from "./logger-DIb2cGHp.js";
3
+ import { r as formatErrorMessage } from "./errors-CgRPdp3o.js";
4
4
  import { RateLimitError } from "@buape/carbon";
5
5
 
6
6
  //#region src/infra/retry-policy.ts