winclaw 2026.3.21 → 2026.3.22

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 (338) hide show
  1. package/dist/{accounts-CTJXIABG.js → accounts-8qwgz384.js} +1 -1
  2. package/dist/{accounts-CLKFSM00.js → accounts-BpS-Awr5.js} +1 -1
  3. package/dist/{accounts-cYG8442L.js → accounts-BrWJjaKS.js} +7 -7
  4. package/dist/{acp-cli-BbN2vTHD.js → acp-cli-BMM5ssNE.js} +8 -8
  5. package/dist/{agent-scope-D-i-vMLS.js → agent-scope-Dany4R2i.js} +17 -17
  6. package/dist/{agents-_gcdm-kb.js → agents-AMH_Bmb6.js} +14 -14
  7. package/dist/{agents.config-BkgsJJng.js → agents.config-6n_jmCMa.js} +2 -2
  8. package/dist/{api-key-rotation-D_JdsLIl.js → api-key-rotation-C9ywPLG3.js} +1 -1
  9. package/dist/{audio-preflight-CdgtLVh2.js → audio-preflight-D7UvXGlQ.js} +34 -34
  10. package/dist/{audio-preflight-CBWXmKyj.js → audio-preflight-DHeEYciJ.js} +4 -4
  11. package/dist/{audio-transcription-runner-DpvjaNmr.js → audio-transcription-runner-1-9PFrzh.js} +1 -1
  12. package/dist/{audio-transcription-runner-DGZYB2Wq.js → audio-transcription-runner-nnwJufig.js} +23 -23
  13. package/dist/{audit-DdcsBl_-.js → audit-DV_kf1sd.js} +29 -29
  14. package/dist/{auth-CU4HqNch.js → auth-Ahj-1B5R.js} +1 -1
  15. package/dist/{auth-choice-CtzD_rrW.js → auth-choice-NjkwJsBG.js} +13 -13
  16. package/dist/{auth-choice-i771W71t.js → auth-choice-dFTD1hLR.js} +11 -11
  17. package/dist/{auth-choice.apply-helpers-Bmj9LZnO.js → auth-choice.apply-helpers-ClzwLPaB.js} +1 -1
  18. package/dist/{auth-profiles-CmoHF97e.js → auth-profiles-DF0cLC20.js} +16 -16
  19. package/dist/{auth-token-C_S_Uszj.js → auth-token-BXCBtI3p.js} +1 -1
  20. package/dist/{banner-C-01b-if.js → banner-BB4DFL8E.js} +2 -2
  21. package/dist/{bonjour-discovery-BxCVyJLG.js → bonjour-discovery-BVSpbdjs.js} +1 -1
  22. package/dist/{browser-cli-Rt_P1-M1.js → browser-cli-DAcccrxR.js} +12 -12
  23. package/dist/build-info.json +2 -2
  24. package/dist/bundled/boot-md/handler.js +6 -6
  25. package/dist/bundled/session-memory/handler.js +6 -6
  26. package/dist/{call-BLyRfBMl.js → call-DEKH5GO9.js} +10 -10
  27. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  28. package/dist/{channel-account-context-B4ofKr9t.js → channel-account-context-D4Yftz20.js} +5 -5
  29. package/dist/{channel-activity-CPWF8YR5.js → channel-activity-D03SwGPA.js} +1 -1
  30. package/dist/{channel-options-it9Z3dNk.js → channel-options-C7dYNZsy.js} +3 -3
  31. package/dist/{channel-selection-5G2iw3CB.js → channel-selection-Bke39fer.js} +1 -1
  32. package/dist/{channel-web-CJ_jcZSw.js → channel-web-BOrAGcza.js} +17 -17
  33. package/dist/{channels-cli-miFqkj2-.js → channels-cli-4YLI7Ar_.js} +93 -93
  34. package/dist/{channels-status-issues-DpfEWI4l.js → channels-status-issues-wCgCdUDu.js} +1 -1
  35. package/dist/{chrome-RAfAR4xV.js → chrome-BDFA9lPV.js} +4 -4
  36. package/dist/{chrome-GsaZ074n.js → chrome-Cr8R7xl_.js} +8 -8
  37. package/dist/{clawbot-cli-HvFYYAc6.js → clawbot-cli-B96xAtzs.js} +11 -11
  38. package/dist/cli/daemon-cli.js +1 -1
  39. package/dist/cli-BozE7JCS.js +154 -0
  40. package/dist/{client-DCxDsURZ.js → client-jNFqrgw6.js} +2 -2
  41. package/dist/{command-registry-m8nfRV-J.js → command-registry-qDpes5Yr.js} +11 -11
  42. package/dist/{command-secret-targets-BfqkoJyp.js → command-secret-targets-Dd4qCPSg.js} +4 -4
  43. package/dist/{commands-4mnxaSoA.js → commands-DmBkhPD-.js} +1 -1
  44. package/dist/{commands-registry-h5KiQe_S.js → commands-registry-BB289Bg8.js} +3 -3
  45. package/dist/{completion-cli-B-8mTxbh.js → completion-cli-DzZieT3i.js} +13 -13
  46. package/dist/{config-cli-1ecjxVfC.js → config-cli-Dk1yc6M9.js} +7 -7
  47. package/dist/{config-guard-DlzKrdcR.js → config-guard-3fwTO4Mb.js} +3 -3
  48. package/dist/{config-validation-E-3Wz4C4.js → config-validation-5pIaju5U.js} +3 -3
  49. package/dist/{configure-B-tOY-wa.js → configure-CuqZCxTb.js} +17 -17
  50. package/dist/{control-ui-assets-B0DdamQU.js → control-ui-assets-5F0FEjfM.js} +1 -1
  51. package/dist/{cron-cli-DpVGzupl.js → cron-cli-BIa0VxDk.js} +11 -11
  52. package/dist/{daemon-cli-CqwUFobu.js → daemon-cli-BE11O7QX.js} +16 -16
  53. package/dist/{daemon-install-C029NlXk.js → daemon-install-DNhR8NtL.js} +4 -4
  54. package/dist/{daemon-install-helpers-D1YQ03lO.js → daemon-install-helpers-DWmF3oFP.js} +11 -11
  55. package/dist/{deliver-BX-UVg7x.js → deliver-CqiBzHnh.js} +7 -7
  56. package/dist/{deliver-CtyrAYix.js → deliver-r4_Yp7-C.js} +1 -1
  57. package/dist/{deliver-runtime-Bvh4te8E.js → deliver-runtime-CIXUsI5k.js} +3 -3
  58. package/dist/deliver-runtime-DJsAB9LW.js +57 -0
  59. package/dist/deps-send-discord.runtime-M8Cl0fms.js +32 -0
  60. package/dist/deps-send-imessage.runtime-Bing_Bvm.js +31 -0
  61. package/dist/deps-send-signal.runtime-CEnhoskG.js +30 -0
  62. package/dist/deps-send-slack.runtime-DeKWrOdA.js +28 -0
  63. package/dist/deps-send-telegram.runtime-K5LxxPog.js +34 -0
  64. package/dist/{deps-send-whatsapp.runtime-BJV7VcRP.js → deps-send-whatsapp.runtime-BXDQiU2D.js} +7 -7
  65. package/dist/deps-send-whatsapp.runtime-Cie2nrT8.js +115 -0
  66. package/dist/{devices-cli-Cpq_Gt1l.js → devices-cli-BJgUG9fc.js} +8 -8
  67. package/dist/{diagnostic-DIPYflOJ.js → diagnostic-BCcd-_zI.js} +1 -1
  68. package/dist/{diagnostics-KfpqzhsS.js → diagnostics-BDjbQJxP.js} +5 -5
  69. package/dist/{directory-cli-CPBPE8N1.js → directory-cli-CJ_l_BnF.js} +7 -7
  70. package/dist/{dns-cli-CI7HzCVI.js → dns-cli-CFau82Y7.js} +5 -5
  71. package/dist/{dock-ClcGZ0LV.js → dock-C-w5XvOS.js} +4 -4
  72. package/dist/{docs-cli-DkQBHXw-.js → docs-cli-BRob5CHm.js} +4 -4
  73. package/dist/{doctor-completion-DEdT-_9v.js → doctor-completion-DB39JNV7.js} +2 -2
  74. package/dist/{doctor-config-flow-D6rEqOwb.js → doctor-config-flow-BzYwmYwv.js} +15 -15
  75. package/dist/{enable-sRe0nI5a.js → enable-Qw-mz6ta.js} +1 -1
  76. package/dist/entry.js +2 -2
  77. package/dist/{exec-approvals-allowlist-B5ZdMbz6.js → exec-approvals-allowlist-BkdJCc3F.js} +1 -1
  78. package/dist/{exec-approvals-cli-BFxdGk9c.js → exec-approvals-cli-DsDGgzyV.js} +16 -16
  79. package/dist/{exec-safe-bin-runtime-policy-CB8atBLm.js → exec-safe-bin-runtime-policy-C5pAgyiz.js} +2 -2
  80. package/dist/{fetch-CdvuNDFE.js → fetch-BwrGQrFL.js} +3 -3
  81. package/dist/{fetch-guard-D-W6TRJN.js → fetch-guard-CHht1LfT.js} +1 -1
  82. package/dist/{plugin-sdk/fs-safe-DRACrdwg.js → fs-safe-B8J4dv27.js} +6 -6
  83. package/dist/{gateway-cli-C_4mlmOW.js → gateway-cli-BdyXCC2C.js} +154 -154
  84. package/dist/{gateway-rpc-Dg3CGljP.js → gateway-rpc-ICMh7-Qs.js} +1 -1
  85. package/dist/{health-C5a0wlfE.js → health-Boe965-L.js} +11 -11
  86. package/dist/{hooks-cli-C79J_WG7.js → hooks-cli-DI0sn396.js} +81 -81
  87. package/dist/{hooks-status-Cjg5SLpX.js → hooks-status-CQjtRM1s.js} +1 -1
  88. package/dist/{image-7s8Q2r40.js → image-DoOVDHql.js} +1 -1
  89. package/dist/{image-EjGWXbei.js → image-Dpt9TurJ.js} +5 -5
  90. package/dist/{image-ops-eFMqXMDE.js → image-ops-DWGnyTvC.js} +10 -10
  91. package/dist/image-runtime-HfAsK5X3.js +51 -0
  92. package/dist/{image-runtime-QNP_uABR.js → image-runtime-Wym8Keh3.js} +3 -3
  93. package/dist/{inspect-XmcWN97u.js → inspect-DbVcDDi7.js} +4 -4
  94. package/dist/{install-safe-path-DNotGe9T.js → install-safe-path-FR9r9Dmi.js} +25 -25
  95. package/dist/{installs-zKF10nZF.js → installs-7zsfIb7P.js} +9 -9
  96. package/dist/{ipv4-DIKCnoyz.js → ipv4-CfrDjvjo.js} +1 -1
  97. package/dist/{ir-CJPPU4LU.js → ir-B-FffSKU.js} +8 -8
  98. package/dist/{issue-format-DCF2SXK_.js → issue-format-NmLUfbBT.js} +1 -1
  99. package/dist/{json-files-kWpauJWO.js → json-files-D9ZHO8Ud.js} +8 -8
  100. package/dist/{lifecycle-core-BLhI5nRz.js → lifecycle-core-Di83_FGS.js} +5 -5
  101. package/dist/llm-slug-generator.js +6 -6
  102. package/dist/{login-D26qK4NQ.js → login-BrdFlfV0.js} +3 -3
  103. package/dist/{login-qr-CMgMlRCI.js → login-qr-Ci3FVgS9.js} +6 -6
  104. package/dist/{logs-cli-Cn7bGSc7.js → logs-cli-DUl4D14l.js} +9 -9
  105. package/dist/{manager-f6tniCBN.js → manager-2Wice7pq.js} +14 -14
  106. package/dist/manager-runtime-BrpO8pJp.js +22 -0
  107. package/dist/{manifest-registry-CI-UuKUO.js → manifest-registry-_liSV_Vx.js} +1 -1
  108. package/dist/{memory-cli-C2Yq9ryD.js → memory-cli-BgZK6A-T.js} +12 -12
  109. package/dist/{model-CXGHDOeN.js → model-C4J88Gi3.js} +2 -2
  110. package/dist/{model-catalog-08ftNXDk.js → model-catalog-BYxSwIkt.js} +3 -3
  111. package/dist/{model-picker-CTRi5Yhj.js → model-picker-DAr8DpKu.js} +4 -4
  112. package/dist/{models-Do96D4zT.js → models-DqwqcGxg.js} +17 -17
  113. package/dist/{models-cli-pblTciC_.js → models-cli-BFfUYhHp.js} +78 -78
  114. package/dist/{models-config-DYJ-p9kt.js → models-config-CJq2ywhf.js} +6 -6
  115. package/dist/{net-DQYHvbkN.js → net-C7TXXUto.js} +2 -2
  116. package/dist/{node-cli-CsQwAHzH.js → node-cli-DMpZsjse.js} +33 -33
  117. package/dist/{node-command-policy-BHdicfMO.js → node-command-policy-DGMJi4xw.js} +1 -1
  118. package/dist/{node-service-CLtiUeNO.js → node-service-L9-L8-7x.js} +1 -1
  119. package/dist/{nodes-cli-Dlilj-Pf.js → nodes-cli-BcyY77Cc.js} +16 -16
  120. package/dist/{nodes-screen-CL-8raxt.js → nodes-screen-B6QVlwKO.js} +7 -7
  121. package/dist/{npm-pack-install-DZvYhRnM.js → npm-pack-install-B3VCcNWC.js} +18 -18
  122. package/dist/{npm-resolution-DE7xcGkg.js → npm-resolution-0-Scs5nn.js} +4 -4
  123. package/dist/{onboard-CReGZ3G9.js → onboard-C9gtA3_b.js} +6 -6
  124. package/dist/{onboard-channels-ljMkIe7O.js → onboard-channels-NBqfiIc3.js} +21 -21
  125. package/dist/{onboard-custom-DoJDTzAW.js → onboard-custom-Cv61U_sa.js} +4 -4
  126. package/dist/{onboard-helpers-7lOdCHhD.js → onboard-helpers-Djj9SkyR.js} +10 -10
  127. package/dist/{onboard-hooks-BTD0YhRI.js → onboard-hooks-DRkLf5gL.js} +4 -4
  128. package/dist/{onboard-remote-Bj9uk3zW.js → onboard-remote-o8XtWCa_.js} +4 -4
  129. package/dist/{onboard-skills-1KAA9UrK.js → onboard-skills-TATKa-gc.js} +4 -4
  130. package/dist/{onboarding-CoH1hPY0.js → onboarding-C_LQ6doG.js} +14 -14
  131. package/dist/{onboarding.finalize-DzRWtkmA.js → onboarding.finalize-uHWzNBrm.js} +87 -87
  132. package/dist/{onboarding.gateway-config-s11ZLxLE.js → onboarding.gateway-config-ByvXJY2k.js} +18 -18
  133. package/dist/{onboarding.secret-input-D5VKqHdN.js → onboarding.secret-input-Cw4uIgyl.js} +1 -1
  134. package/dist/{openai-model-default-sYh2slgj.js → openai-model-default-Db9joqm4.js} +2 -2
  135. package/dist/{outbound-D0KF3CHY.js → outbound-DgsIsXfj.js} +3 -3
  136. package/dist/{outbound-attachment-CEC4H3tX.js → outbound-attachment-CjhkSZBR.js} +2 -2
  137. package/dist/{pairing-cli-4Nrc-V_v.js → pairing-cli-D0KKynjI.js} +8 -8
  138. package/dist/{pairing-labels-e3Pnen1C.js → pairing-labels-Ev8O2qBX.js} +1 -1
  139. package/dist/{pairing-store-Kslw_Wa0.js → pairing-store-CI0hWzZk.js} +3 -3
  140. package/dist/{plugin-sdk/path-alias-guards-CaCBZRHc.js → path-alias-guards-BoydiaPL.js} +1 -1
  141. package/dist/{path-safety-Cq9rwfZN.js → path-safety-CSCsbd-j.js} +1 -1
  142. package/dist/{paths-C5mR1YC-.js → paths-BVQ0udwc.js} +9 -9
  143. package/dist/{pi-embedded-DUO1eQ_J.js → pi-embedded-CD3oPGOP.js} +24 -24
  144. package/dist/{pi-embedded-helpers-BWpzwT6B.js → pi-embedded-helpers-Be8qWeKb.js} +6 -6
  145. package/dist/{pi-embedded-helpers-BMGRFCuV.js → pi-embedded-helpers-BthBxPYi.js} +3 -3
  146. package/dist/{pi-model-discovery-CibSv4gC.js → pi-model-discovery-CgxnCHvU.js} +1 -1
  147. package/dist/{pi-model-discovery-runtime-DhBE8w94.js → pi-model-discovery-runtime-CqYOz48r.js} +5 -5
  148. package/dist/{pi-tools.before-tool-call.runtime-D6h4CmLs.js → pi-tools.before-tool-call.runtime-CPnt06zM.js} +5 -5
  149. package/dist/{pi-tools.policy-BqpmC_c4.js → pi-tools.policy-DGbCC2Ji.js} +5 -5
  150. package/dist/{plugin-auto-enable-DnSZLbIH.js → plugin-auto-enable-Crpu18wt.js} +3 -3
  151. package/dist/{plugin-registry-DckyegZB.js → plugin-registry-Dbu4pN4B.js} +3 -3
  152. package/dist/plugin-sdk/imessage.js +2 -2
  153. package/dist/plugin-sdk/index.js +50 -50
  154. package/dist/plugin-sdk/mattermost.js +3 -3
  155. package/dist/plugin-sdk/signal.js +2 -2
  156. package/dist/plugin-sdk/telegram.js +2 -2
  157. package/dist/{plugins-C1OgLvb4.js → plugins-IFacUN_Q.js} +2 -2
  158. package/dist/{plugins-cli-C6Oo9R6E.js → plugins-cli-CCpaWcyg.js} +83 -83
  159. package/dist/{ports-CfOim1GC.js → ports-DqZBwUsy.js} +2 -2
  160. package/dist/{ports-Dw-3Gxsb.js → ports-FLn4cVl7.js} +1 -1
  161. package/dist/{probe-D3f6QMfy.js → probe-CHRXpP2F.js} +2 -2
  162. package/dist/{program-CEJ6CsoR.js → program-Br4Re78f.js} +81 -81
  163. package/dist/{prompt-select-styled-D-f3R2mt.js → prompt-select-styled-w-CGGgrT.js} +40 -40
  164. package/dist/{provider-auth-helpers-CN4iPBfs.js → provider-auth-helpers-BVCos07y.js} +5 -5
  165. package/dist/{proxy-env-B7GwrH5p.js → proxy-env-Bx8OhutV.js} +1 -1
  166. package/dist/{push-apns-BEZdCQsM.js → push-apns-Cdl2nskU.js} +5 -5
  167. package/dist/{pw-ai-Ckb-165q.js → pw-ai-BpQw305H.js} +18 -18
  168. package/dist/{pw-ai-D6e8FGb0.js → pw-ai-CJfoHUhH.js} +1 -1
  169. package/dist/{plugin-sdk/qmd-manager-JiY1T3wh.js → qmd-manager-COHJs6wn.js} +15 -11
  170. package/dist/{qr-cli-BI54tdt3.js → qr-cli-Bzo00_vR.js} +2 -2
  171. package/dist/{query-expansion-Cja4xprw.js → query-expansion-IQFdQdeu.js} +12 -12
  172. package/dist/{redact-snapshot-YrAxVxTI.js → redact-snapshot-Bfefch_D.js} +1 -1
  173. package/dist/{register.agent-BjxrirHi.js → register.agent-CVpohSrc.js} +94 -94
  174. package/dist/register.configure-CiIuig3f.js +162 -0
  175. package/dist/{register.maintenance-BfdiJ7KX.js → register.maintenance-CpVfbR8z.js} +95 -95
  176. package/dist/{register.message-BszoJEBm.js → register.message-CJErVRcL.js} +74 -74
  177. package/dist/{register.onboard-CbJU4Y-3.js → register.onboard-Cm5fn9dF.js} +18 -18
  178. package/dist/{register.setup-BTTBsCT0.js → register.setup-DIBDbMN8.js} +21 -21
  179. package/dist/{register.status-health-sessions-C3Ji8sqv.js → register.status-health-sessions-Bu3abDYw.js} +89 -89
  180. package/dist/{register.subclis-2iN-TxPh.js → register.subclis-DTiQUgvr.js} +31 -31
  181. package/dist/{rpc-4GcuaLHq.js → rpc-CkwrblZ9.js} +1 -1
  182. package/dist/{run-main-BEtPk_9z.js → run-main-4p7ridqP.js} +92 -92
  183. package/dist/{runtime-4RU4PT-H.js → runtime-C-9xWVep.js} +3 -3
  184. package/dist/{runtime-config-collectors-Ca2llf68.js → runtime-config-collectors-vw9ITu9W.js} +1 -1
  185. package/dist/{runtime-whatsapp-login.runtime-DOTrH3Wz.js → runtime-whatsapp-login.runtime-CrytFUOh.js} +7 -7
  186. package/dist/runtime-whatsapp-outbound.runtime-DOHkvY0R.js +28 -0
  187. package/dist/{sandbox-D19lOCVP.js → sandbox-CDjV0Crv.js} +18 -18
  188. package/dist/{sandbox-cli-DAZxiFQz.js → sandbox-cli-CyS9Kzp1.js} +25 -25
  189. package/dist/{secrets-cli-Bd2eDDOJ.js → secrets-cli-BPXW13bC.js} +11 -11
  190. package/dist/{security-cli-C6oO69to.js → security-cli-DfuX1PAw.js} +43 -43
  191. package/dist/{send-DR5zNR-6.js → send-BTQQeOIu.js} +6 -6
  192. package/dist/{send-3vnK2por.js → send-CFsJh6px.js} +11 -11
  193. package/dist/{send-DTvtOsK3.js → send-CM55Cnqy.js} +4 -4
  194. package/dist/{send-Bz5LPBFx.js → send-D7wKzeqg.js} +8 -8
  195. package/dist/{send-CEgqE2b1.js → send-DUJqLDEQ.js} +5 -5
  196. package/dist/{server-vPpafyBR.js → server-57rjxu9J.js} +20 -20
  197. package/dist/{server-context-FT_S05Zu.js → server-context-DdGwcBos.js} +12 -12
  198. package/dist/{server-lifecycle-YV61YmRr.js → server-lifecycle-TD7uRUJM.js} +2 -2
  199. package/dist/{server-middleware-BPI-0Duw.js → server-middleware-Dqzu_N47.js} +1 -1
  200. package/dist/{server-node-events-BozhXo6J.js → server-node-events-CstHr-4q.js} +74 -74
  201. package/dist/{service-Aratsspm.js → service-B45ntxm9.js} +15 -15
  202. package/dist/{session-C4iQQHfw.js → session-BO7rj_9P.js} +1 -1
  203. package/dist/{session-utils-CTpXGSxL.js → session-utils-DqzU9P2d.js} +6 -6
  204. package/dist/{sessions-CZvR93mC.js → sessions-BPbCt7hk.js} +4 -4
  205. package/dist/{sessions-Cvvux3S6.js → sessions-BUNwVEqF.js} +15 -15
  206. package/dist/{shared-ByZODVse.js → shared-CeHWQzSU.js} +3 -3
  207. package/dist/{shared-Cj-SPh02.js → shared-CpqkgNHp.js} +1 -1
  208. package/dist/{skill-commands-CzaT61kL.js → skill-commands-BlmjGaIe.js} +5 -5
  209. package/dist/{skill-scanner-DqqhF5of.js → skill-scanner-DOOfjrYo.js} +6 -6
  210. package/dist/{skills-BpN5EUZU.js → skills-CFYm0xdh.js} +3 -3
  211. package/dist/{skills-cli-Bk2WM5gn.js → skills-cli-Dmbm2-L8.js} +5 -5
  212. package/dist/{skills-install-0pjIZu1-.js → skills-install-DSB3T8VY.js} +6 -6
  213. package/dist/{skills-status-Bu28FGtt.js → skills-status-CmWpjTMz.js} +1 -1
  214. package/dist/{slash-commands.runtime-CU--cvcd.js → slash-commands.runtime-CTVGYo20.js} +11 -11
  215. package/dist/{slash-dispatch.runtime-DDLolsGY.js → slash-dispatch.runtime-CQmhrE1-.js} +6 -6
  216. package/dist/slash-dispatch.runtime-yKnwVCI5.js +110 -0
  217. package/dist/slash-skill-commands.runtime-BCG9eUm1.js +29 -0
  218. package/dist/{status-B5hylgEQ.js → status-DPFQHdBI.js} +28 -28
  219. package/dist/{status.update-CdaaXiD4.js → status.update-ZhDibzTU.js} +2 -2
  220. package/dist/{store-LSg8jeyh.js → store-Dgl-neCe.js} +5 -5
  221. package/dist/{subagent-registry-iD-ynHA9.js → subagent-registry-DPqc72Pw.js} +149 -149
  222. package/dist/{subagent-registry-runtime-DfMDVaOY.js → subagent-registry-runtime-BYxLgcCY.js} +6 -6
  223. package/dist/subagent-registry-runtime-DE-5902Y.js +110 -0
  224. package/dist/{system-cli-B8wmT3y0.js → system-cli-BiiO_z6k.js} +9 -9
  225. package/dist/{system-run-command-Ft0meR8i.js → system-run-command-CUMrwy8H.js} +1 -1
  226. package/dist/{systemd-CVY4-XuL.js → systemd-BNMfPHLS.js} +9 -9
  227. package/dist/{systemd-hints-GPX9Y1X7.js → systemd-hints-O9SJa5Ku.js} +6 -6
  228. package/dist/{systemd-linger-CyioH9ho.js → systemd-linger-CDgtOmPf.js} +1 -1
  229. package/dist/{tables-B6p8P9wY.js → tables-Bjpb4vEC.js} +1 -1
  230. package/dist/{tailnet-yScEfa2T.js → tailnet-C4yxhmDk.js} +1 -1
  231. package/dist/{plugin-sdk/target-errors-Hoj2qirZ.js → target-errors-Bd8kj4z9.js} +2 -2
  232. package/dist/{tool-images-Cp3hNFNZ.js → tool-images-DbchBdq5.js} +1 -1
  233. package/dist/{tui-BPqNtl51.js → tui-BVOPPCMP.js} +6 -6
  234. package/dist/{tui-cli-BZE2zssw.js → tui-cli-B2jmEXCo.js} +32 -32
  235. package/dist/{update-u6OtnABh.js → update-DF240Zd0.js} +3 -3
  236. package/dist/{update-cli-C1nysDmM.js → update-cli-PDG-KYWB.js} +105 -105
  237. package/dist/{update-runner-BpzbDTnQ.js → update-runner-BkpGT3AA.js} +16 -16
  238. package/dist/{web-CodV11ZY.js → web-0SOsmYmI.js} +6 -6
  239. package/dist/web-20qjCzeI.js +114 -0
  240. package/dist/{webhooks-cli-D4O_OfXU.js → webhooks-cli-N_vV0iXR.js} +6 -6
  241. package/dist/{whatsapp-actions-By2rV868.js → whatsapp-actions-X768ziyc.js} +17 -17
  242. package/dist/{winclaw-root-D0OUuGl7.js → winclaw-root-DEqOOeOw.js} +8 -8
  243. package/dist/{with-timeout-Cng0KnPd.js → with-timeout-DJb5ULbL.js} +3 -3
  244. package/dist/{workspace-vYy4qLQz.js → workspace-Cx-f7PO5.js} +1 -1
  245. package/dist/{workspace-dirs-C13vnqQQ.js → workspace-dirs-C5erYAob.js} +1 -1
  246. package/dist/{wsl-C9d12M7y.js → wsl-BisEqrSr.js} +2 -2
  247. package/package.json +1 -1
  248. package/dist/cli-Da0pNyXg.js +0 -154
  249. package/dist/deliver-runtime-Co5o7uv0.js +0 -57
  250. package/dist/deps-send-discord.runtime-D0BtA9iO.js +0 -32
  251. package/dist/deps-send-imessage.runtime-89fweiea.js +0 -31
  252. package/dist/deps-send-signal.runtime-BA3mNq_v.js +0 -30
  253. package/dist/deps-send-slack.runtime-DiA-Ieod.js +0 -28
  254. package/dist/deps-send-telegram.runtime-C9bLOnbt.js +0 -34
  255. package/dist/deps-send-whatsapp.runtime-Dflrvnq-.js +0 -115
  256. package/dist/fs-safe-Dha0DfFC.js +0 -352
  257. package/dist/image-runtime-CGAobfgI.js +0 -51
  258. package/dist/manager-runtime-BifbXCuI.js +0 -22
  259. package/dist/path-alias-guards-9OJ1UBCd.js +0 -43
  260. package/dist/plugin-sdk/accounts-B9lBByhz.js +0 -35
  261. package/dist/plugin-sdk/accounts-Bl6fp04N.js +0 -288
  262. package/dist/plugin-sdk/accounts-CQWq_42g.js +0 -46
  263. package/dist/plugin-sdk/active-listener-Dc-P7jeX.js +0 -50
  264. package/dist/plugin-sdk/api-key-rotation-DSOB99GV.js +0 -181
  265. package/dist/plugin-sdk/audio-preflight-DYTxAG0v.js +0 -69
  266. package/dist/plugin-sdk/audio-transcription-runner-Bndij5Q1.js +0 -2176
  267. package/dist/plugin-sdk/audit-membership-runtime-ZTTIhQhs.js +0 -58
  268. package/dist/plugin-sdk/channel-activity-ChRCQNSc.js +0 -94
  269. package/dist/plugin-sdk/channel-web-CfZNFYCV.js +0 -2256
  270. package/dist/plugin-sdk/chrome-DNpRdbZ1.js +0 -2415
  271. package/dist/plugin-sdk/commands-registry-Bq1HqcJU.js +0 -1125
  272. package/dist/plugin-sdk/config-Cyo0rHBx.js +0 -17959
  273. package/dist/plugin-sdk/deliver-mBruQPRt.js +0 -1719
  274. package/dist/plugin-sdk/deliver-runtime-ByVt0evu.js +0 -32
  275. package/dist/plugin-sdk/deps-send-discord.runtime-C2fc3t93.js +0 -23
  276. package/dist/plugin-sdk/deps-send-imessage.runtime-D4m7X6j4.js +0 -22
  277. package/dist/plugin-sdk/deps-send-signal.runtime-DwGJRjyX.js +0 -21
  278. package/dist/plugin-sdk/deps-send-slack.runtime-7J491hID.js +0 -19
  279. package/dist/plugin-sdk/deps-send-telegram.runtime-DAKGyd6b.js +0 -24
  280. package/dist/plugin-sdk/deps-send-whatsapp.runtime-BxQ5tZO2.js +0 -57
  281. package/dist/plugin-sdk/diagnostic-B3ZoSFoM.js +0 -319
  282. package/dist/plugin-sdk/errors-DdSHGcgi.js +0 -54
  283. package/dist/plugin-sdk/fetch-guard-Uhk4tySC.js +0 -156
  284. package/dist/plugin-sdk/image-CEBZ8sRh.js +0 -2314
  285. package/dist/plugin-sdk/image-ops-Dye2ozSZ.js +0 -584
  286. package/dist/plugin-sdk/image-runtime-CabQkSZn.js +0 -25
  287. package/dist/plugin-sdk/ir-CruONUHn.js +0 -1296
  288. package/dist/plugin-sdk/local-roots-BYSlR-at.js +0 -186
  289. package/dist/plugin-sdk/logger-C_vnHQg2.js +0 -1163
  290. package/dist/plugin-sdk/login-bdsdinOj.js +0 -57
  291. package/dist/plugin-sdk/login-qr-BYAvyop9.js +0 -320
  292. package/dist/plugin-sdk/manager-AOQxrU7P.js +0 -3929
  293. package/dist/plugin-sdk/manager-runtime-CijO5giX.js +0 -15
  294. package/dist/plugin-sdk/outbound-FdiP5J7H.js +0 -212
  295. package/dist/plugin-sdk/outbound-attachment-DZphVgq7.js +0 -19
  296. package/dist/plugin-sdk/paths-ICLB349I.js +0 -166
  297. package/dist/plugin-sdk/pi-embedded-helpers-tHjfJzH4.js +0 -9627
  298. package/dist/plugin-sdk/pi-model-discovery-DQV-B6bn.js +0 -134
  299. package/dist/plugin-sdk/pi-model-discovery-runtime-MJmZTIax.js +0 -8
  300. package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-7DPjo7Ey.js +0 -354
  301. package/dist/plugin-sdk/plugins-BQHnLb2v.js +0 -864
  302. package/dist/plugin-sdk/proxy-fetch-BpMu-RpD.js +0 -38
  303. package/dist/plugin-sdk/pw-ai-DAMRoo8O.js +0 -1938
  304. package/dist/plugin-sdk/query-expansion-CuaTloKx.js +0 -1011
  305. package/dist/plugin-sdk/redact-BznLQ6I5.js +0 -319
  306. package/dist/plugin-sdk/reply-Cx_4UtvJ.js +0 -100211
  307. package/dist/plugin-sdk/resolve-outbound-target-BDjhohcf.js +0 -40
  308. package/dist/plugin-sdk/run-with-concurrency-BcPenaKJ.js +0 -1994
  309. package/dist/plugin-sdk/runtime-whatsapp-login.runtime-DqezqoLI.js +0 -10
  310. package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-Dgnv_x4o.js +0 -19
  311. package/dist/plugin-sdk/send-BWz-g7wE.js +0 -540
  312. package/dist/plugin-sdk/send-DB9pUM0k.js +0 -414
  313. package/dist/plugin-sdk/send-QPap4wBN.js +0 -503
  314. package/dist/plugin-sdk/send-gz4Lq5tL.js +0 -2587
  315. package/dist/plugin-sdk/send-tyEtWeMX.js +0 -3135
  316. package/dist/plugin-sdk/session-88GgvJcW.js +0 -169
  317. package/dist/plugin-sdk/skill-commands-ClwX3DoE.js +0 -353
  318. package/dist/plugin-sdk/skills-B2FPl9ca.js +0 -1428
  319. package/dist/plugin-sdk/slash-commands.runtime-CGAfyDkY.js +0 -13
  320. package/dist/plugin-sdk/slash-dispatch.runtime-DN7TWAWh.js +0 -52
  321. package/dist/plugin-sdk/slash-skill-commands.runtime-C4i9B-79.js +0 -16
  322. package/dist/plugin-sdk/ssrf-D3NQgatK.js +0 -202
  323. package/dist/plugin-sdk/store-CDmdRGxP.js +0 -81
  324. package/dist/plugin-sdk/subagent-registry-runtime-CprGCjIU.js +0 -52
  325. package/dist/plugin-sdk/tables-j2CMtAoX.js +0 -55
  326. package/dist/plugin-sdk/thinking-Dh6B0ZhB.js +0 -1206
  327. package/dist/plugin-sdk/tokens-PExiD061.js +0 -52
  328. package/dist/plugin-sdk/tool-images-D7ah30xm.js +0 -274
  329. package/dist/plugin-sdk/web-D9wJfMr_.js +0 -56
  330. package/dist/plugin-sdk/whatsapp-actions-BjarJorO.js +0 -80
  331. package/dist/qmd-manager-oU4X85hj.js +0 -1452
  332. package/dist/register.configure-MduIRRMt.js +0 -162
  333. package/dist/runtime-whatsapp-outbound.runtime-CNnM5MdE.js +0 -28
  334. package/dist/slash-dispatch.runtime-D5Cl7j1v.js +0 -110
  335. package/dist/slash-skill-commands.runtime-DnvHGcVS.js +0 -29
  336. package/dist/subagent-registry-runtime-LH0OBaWN.js +0 -110
  337. package/dist/target-errors-HJQQHC3B.js +0 -195
  338. package/dist/web-DxHq9RWt.js +0 -114
@@ -1,13 +0,0 @@
1
- import "./run-with-concurrency-BcPenaKJ.js";
2
- import "./accounts-Bl6fp04N.js";
3
- import "./paths-BEfQqXwE.js";
4
- import "./github-copilot-token-BCc3snHh.js";
5
- import "./config-Cyo0rHBx.js";
6
- import "./logger-C_vnHQg2.js";
7
- import "./thinking-Dh6B0ZhB.js";
8
- import "./plugins-BQHnLb2v.js";
9
- import "./accounts-B9lBByhz.js";
10
- import "./accounts-CQWq_42g.js";
11
- import { f as resolveCommandArgMenu, n as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as parseCommandArgs } from "./commands-registry-Bq1HqcJU.js";
12
-
13
- export { buildCommandTextFromArgs, findCommandByNativeName, listNativeCommandSpecsForConfig, parseCommandArgs, resolveCommandArgMenu };
@@ -1,52 +0,0 @@
1
- import "./run-with-concurrency-BcPenaKJ.js";
2
- import "./accounts-Bl6fp04N.js";
3
- import { N as finalizeInboundContext, X as createReplyPrefixOptions, a as deliverSlackSlashReplies, m as dispatchReplyWithDispatcher, n as recordInboundSessionMetaSafe, v as resolveAgentRoute } from "./reply-Cx_4UtvJ.js";
4
- import "./paths-BEfQqXwE.js";
5
- import "./github-copilot-token-BCc3snHh.js";
6
- import "./config-Cyo0rHBx.js";
7
- import "./logger-C_vnHQg2.js";
8
- import "./thinking-Dh6B0ZhB.js";
9
- import "./image-ops-Dye2ozSZ.js";
10
- import { rn as resolveConversationLabel } from "./pi-embedded-helpers-tHjfJzH4.js";
11
- import "./plugins-BQHnLb2v.js";
12
- import "./accounts-B9lBByhz.js";
13
- import "./accounts-CQWq_42g.js";
14
- import "./send-tyEtWeMX.js";
15
- import "./paths-ICLB349I.js";
16
- import "./fetch-J9xZaNrT.js";
17
- import "./redact-BznLQ6I5.js";
18
- import "./errors-DdSHGcgi.js";
19
- import "./channel-activity-ChRCQNSc.js";
20
- import "./path-alias-guards-CaCBZRHc.js";
21
- import "./fs-safe-DRACrdwg.js";
22
- import "./ssrf-D3NQgatK.js";
23
- import "./fetch-guard-Uhk4tySC.js";
24
- import "./local-roots-BYSlR-at.js";
25
- import { d as resolveChunkMode, i as resolveMarkdownTableMode } from "./ir-CruONUHn.js";
26
- import "./render-A563BsDG.js";
27
- import "./tables-j2CMtAoX.js";
28
- import "./send-QPap4wBN.js";
29
- import "./send-gz4Lq5tL.js";
30
- import "./tool-images-D7ah30xm.js";
31
- import "./target-errors-Hoj2qirZ.js";
32
- import "./send-DB9pUM0k.js";
33
- import "./audio-transcription-runner-Bndij5Q1.js";
34
- import "./tokens-PExiD061.js";
35
- import "./skill-commands-ClwX3DoE.js";
36
- import "./skills-B2FPl9ca.js";
37
- import "./chrome-DNpRdbZ1.js";
38
- import "./deliver-mBruQPRt.js";
39
- import "./diagnostic-B3ZoSFoM.js";
40
- import "./store-CDmdRGxP.js";
41
- import "./commands-registry-Bq1HqcJU.js";
42
- import "./image-CEBZ8sRh.js";
43
- import "./api-key-rotation-DSOB99GV.js";
44
- import "./proxy-fetch-BpMu-RpD.js";
45
- import "./pi-model-discovery-DQV-B6bn.js";
46
- import "./send-BWz-g7wE.js";
47
- import "./outbound-attachment-DZphVgq7.js";
48
- import "./proxy-DNZXaj7f.js";
49
- import "./manager-AOQxrU7P.js";
50
- import "./query-expansion-CuaTloKx.js";
51
-
52
- export { createReplyPrefixOptions, deliverSlackSlashReplies, dispatchReplyWithDispatcher, finalizeInboundContext, recordInboundSessionMetaSafe, resolveAgentRoute, resolveChunkMode, resolveConversationLabel, resolveMarkdownTableMode };
@@ -1,16 +0,0 @@
1
- import "./run-with-concurrency-BcPenaKJ.js";
2
- import "./accounts-Bl6fp04N.js";
3
- import "./paths-BEfQqXwE.js";
4
- import "./github-copilot-token-BCc3snHh.js";
5
- import "./config-Cyo0rHBx.js";
6
- import "./logger-C_vnHQg2.js";
7
- import "./thinking-Dh6B0ZhB.js";
8
- import "./plugins-BQHnLb2v.js";
9
- import "./accounts-B9lBByhz.js";
10
- import "./accounts-CQWq_42g.js";
11
- import "./path-alias-guards-CaCBZRHc.js";
12
- import { n as listSkillCommandsForAgents } from "./skill-commands-ClwX3DoE.js";
13
- import "./skills-B2FPl9ca.js";
14
- import "./commands-registry-Bq1HqcJU.js";
15
-
16
- export { listSkillCommandsForAgents };
@@ -1,202 +0,0 @@
1
- import { $ as parseCanonicalIpAddress, G as isBlockedSpecialUseIpv4Address, J as isIpv4Address, K as isBlockedSpecialUseIpv6Address, W as extractEmbeddedIpv4FromIpv6, Y as isLegacyIpv4Literal, et as parseLooseIpAddress, q as isCanonicalDottedDecimalIPv4 } from "./config-Cyo0rHBx.js";
2
- import { Agent } from "undici";
3
- import { lookup } from "node:dns";
4
- import { lookup as lookup$1 } from "node:dns/promises";
5
-
6
- //#region src/infra/net/proxy-env.ts
7
- const PROXY_ENV_KEYS = [
8
- "HTTP_PROXY",
9
- "HTTPS_PROXY",
10
- "ALL_PROXY",
11
- "http_proxy",
12
- "https_proxy",
13
- "all_proxy"
14
- ];
15
- function hasProxyEnvConfigured(env = process.env) {
16
- for (const key of PROXY_ENV_KEYS) {
17
- const value = env[key];
18
- if (typeof value === "string" && value.trim().length > 0) return true;
19
- }
20
- return false;
21
- }
22
-
23
- //#endregion
24
- //#region src/infra/net/hostname.ts
25
- function normalizeHostname(hostname) {
26
- const normalized = hostname.trim().toLowerCase().replace(/\.$/, "");
27
- if (normalized.startsWith("[") && normalized.endsWith("]")) return normalized.slice(1, -1);
28
- return normalized;
29
- }
30
-
31
- //#endregion
32
- //#region src/infra/net/ssrf.ts
33
- var SsrFBlockedError = class extends Error {
34
- constructor(message) {
35
- super(message);
36
- this.name = "SsrFBlockedError";
37
- }
38
- };
39
- const BLOCKED_HOSTNAMES = new Set([
40
- "localhost",
41
- "localhost.localdomain",
42
- "metadata.google.internal"
43
- ]);
44
- function normalizeHostnameSet(values) {
45
- if (!values || values.length === 0) return /* @__PURE__ */ new Set();
46
- return new Set(values.map((value) => normalizeHostname(value)).filter(Boolean));
47
- }
48
- function normalizeHostnameAllowlist(values) {
49
- if (!values || values.length === 0) return [];
50
- return Array.from(new Set(values.map((value) => normalizeHostname(value)).filter((value) => value !== "*" && value !== "*." && value.length > 0)));
51
- }
52
- function isPrivateNetworkAllowedByPolicy(policy) {
53
- return policy?.dangerouslyAllowPrivateNetwork === true || policy?.allowPrivateNetwork === true;
54
- }
55
- function resolveIpv4SpecialUseBlockOptions(policy) {
56
- return { allowRfc2544BenchmarkRange: policy?.allowRfc2544BenchmarkRange === true };
57
- }
58
- function isHostnameAllowedByPattern(hostname, pattern) {
59
- if (pattern.startsWith("*.")) {
60
- const suffix = pattern.slice(2);
61
- if (!suffix || hostname === suffix) return false;
62
- return hostname.endsWith(`.${suffix}`);
63
- }
64
- return hostname === pattern;
65
- }
66
- function matchesHostnameAllowlist(hostname, allowlist) {
67
- if (allowlist.length === 0) return true;
68
- return allowlist.some((pattern) => isHostnameAllowedByPattern(hostname, pattern));
69
- }
70
- function looksLikeUnsupportedIpv4Literal(address) {
71
- const parts = address.split(".");
72
- if (parts.length === 0 || parts.length > 4) return false;
73
- if (parts.some((part) => part.length === 0)) return true;
74
- return parts.every((part) => /^[0-9]+$/.test(part) || /^0x/i.test(part));
75
- }
76
- function isPrivateIpAddress(address, policy) {
77
- let normalized = address.trim().toLowerCase();
78
- if (normalized.startsWith("[") && normalized.endsWith("]")) normalized = normalized.slice(1, -1);
79
- if (!normalized) return false;
80
- const blockOptions = resolveIpv4SpecialUseBlockOptions(policy);
81
- const strictIp = parseCanonicalIpAddress(normalized);
82
- if (strictIp) {
83
- if (isIpv4Address(strictIp)) return isBlockedSpecialUseIpv4Address(strictIp, blockOptions);
84
- if (isBlockedSpecialUseIpv6Address(strictIp)) return true;
85
- const embeddedIpv4 = extractEmbeddedIpv4FromIpv6(strictIp);
86
- if (embeddedIpv4) return isBlockedSpecialUseIpv4Address(embeddedIpv4, blockOptions);
87
- return false;
88
- }
89
- if (normalized.includes(":") && !parseLooseIpAddress(normalized)) return true;
90
- if (!isCanonicalDottedDecimalIPv4(normalized) && isLegacyIpv4Literal(normalized)) return true;
91
- if (looksLikeUnsupportedIpv4Literal(normalized)) return true;
92
- return false;
93
- }
94
- function isBlockedHostname(hostname) {
95
- const normalized = normalizeHostname(hostname);
96
- if (!normalized) return false;
97
- return isBlockedHostnameNormalized(normalized);
98
- }
99
- function isBlockedHostnameNormalized(normalized) {
100
- if (BLOCKED_HOSTNAMES.has(normalized)) return true;
101
- return normalized.endsWith(".localhost") || normalized.endsWith(".local") || normalized.endsWith(".internal");
102
- }
103
- function isBlockedHostnameOrIp(hostname, policy) {
104
- const normalized = normalizeHostname(hostname);
105
- if (!normalized) return false;
106
- return isBlockedHostnameNormalized(normalized) || isPrivateIpAddress(normalized, policy);
107
- }
108
- const BLOCKED_HOST_OR_IP_MESSAGE = "Blocked hostname or private/internal/special-use IP address";
109
- const BLOCKED_RESOLVED_IP_MESSAGE = "Blocked: resolves to private/internal/special-use IP address";
110
- function assertAllowedHostOrIpOrThrow(hostnameOrIp, policy) {
111
- if (isBlockedHostnameOrIp(hostnameOrIp, policy)) throw new SsrFBlockedError(BLOCKED_HOST_OR_IP_MESSAGE);
112
- }
113
- function assertAllowedResolvedAddressesOrThrow(results, policy) {
114
- for (const entry of results) if (isBlockedHostnameOrIp(entry.address, policy)) throw new SsrFBlockedError(BLOCKED_RESOLVED_IP_MESSAGE);
115
- }
116
- function createPinnedLookup(params) {
117
- const normalizedHost = normalizeHostname(params.hostname);
118
- const fallback = params.fallback ?? lookup;
119
- const fallbackLookup = fallback;
120
- const fallbackWithOptions = fallback;
121
- const records = params.addresses.map((address) => ({
122
- address,
123
- family: address.includes(":") ? 6 : 4
124
- }));
125
- let index = 0;
126
- return ((host, options, callback) => {
127
- const cb = typeof options === "function" ? options : callback;
128
- if (!cb) return;
129
- const normalized = normalizeHostname(host);
130
- if (!normalized || normalized !== normalizedHost) {
131
- if (typeof options === "function" || options === void 0) return fallbackLookup(host, cb);
132
- return fallbackWithOptions(host, options, cb);
133
- }
134
- const opts = typeof options === "object" && options !== null ? options : {};
135
- const requestedFamily = typeof options === "number" ? options : typeof opts.family === "number" ? opts.family : 0;
136
- const candidates = requestedFamily === 4 || requestedFamily === 6 ? records.filter((entry) => entry.family === requestedFamily) : records;
137
- const usable = candidates.length > 0 ? candidates : records;
138
- if (opts.all) {
139
- cb(null, usable);
140
- return;
141
- }
142
- const chosen = usable[index % usable.length];
143
- index += 1;
144
- cb(null, chosen.address, chosen.family);
145
- });
146
- }
147
- function dedupeAndPreferIpv4(results) {
148
- const seen = /* @__PURE__ */ new Set();
149
- const ipv4 = [];
150
- const otherFamilies = [];
151
- for (const entry of results) {
152
- if (seen.has(entry.address)) continue;
153
- seen.add(entry.address);
154
- if (entry.family === 4) {
155
- ipv4.push(entry.address);
156
- continue;
157
- }
158
- otherFamilies.push(entry.address);
159
- }
160
- return [...ipv4, ...otherFamilies];
161
- }
162
- async function resolvePinnedHostnameWithPolicy(hostname, params = {}) {
163
- const normalized = normalizeHostname(hostname);
164
- if (!normalized) throw new Error("Invalid hostname");
165
- const allowPrivateNetwork = isPrivateNetworkAllowedByPolicy(params.policy);
166
- const allowedHostnames = normalizeHostnameSet(params.policy?.allowedHostnames);
167
- const hostnameAllowlist = normalizeHostnameAllowlist(params.policy?.hostnameAllowlist);
168
- const isExplicitAllowed = allowedHostnames.has(normalized);
169
- const skipPrivateNetworkChecks = allowPrivateNetwork || isExplicitAllowed;
170
- if (!matchesHostnameAllowlist(normalized, hostnameAllowlist)) throw new SsrFBlockedError(`Blocked hostname (not in allowlist): ${hostname}`);
171
- if (!skipPrivateNetworkChecks) assertAllowedHostOrIpOrThrow(normalized, params.policy);
172
- const results = await (params.lookupFn ?? lookup$1)(normalized, { all: true });
173
- if (results.length === 0) throw new Error(`Unable to resolve hostname: ${hostname}`);
174
- if (!skipPrivateNetworkChecks) assertAllowedResolvedAddressesOrThrow(results, params.policy);
175
- const addresses = dedupeAndPreferIpv4(results);
176
- if (addresses.length === 0) throw new Error(`Unable to resolve hostname: ${hostname}`);
177
- return {
178
- hostname: normalized,
179
- addresses,
180
- lookup: createPinnedLookup({
181
- hostname: normalized,
182
- addresses
183
- })
184
- };
185
- }
186
- function createPinnedDispatcher(pinned) {
187
- return new Agent({ connect: { lookup: pinned.lookup } });
188
- }
189
- async function closeDispatcher(dispatcher) {
190
- if (!dispatcher) return;
191
- const candidate = dispatcher;
192
- try {
193
- if (typeof candidate.close === "function") {
194
- await candidate.close();
195
- return;
196
- }
197
- if (typeof candidate.destroy === "function") candidate.destroy();
198
- } catch {}
199
- }
200
-
201
- //#endregion
202
- export { isBlockedHostnameOrIp as a, resolvePinnedHostnameWithPolicy as c, isBlockedHostname as i, normalizeHostname as l, closeDispatcher as n, isPrivateIpAddress as o, createPinnedDispatcher as r, isPrivateNetworkAllowedByPolicy as s, SsrFBlockedError as t, hasProxyEnvConfigured as u };
@@ -1,81 +0,0 @@
1
- import { w as resolveConfigDir } from "./logger-C_vnHQg2.js";
2
- import { c as detectMime, l as extensionForMime } from "./image-ops-Dye2ozSZ.js";
3
- import { createWriteStream } from "node:fs";
4
- import path from "node:path";
5
- import fs$1 from "node:fs/promises";
6
- import crypto from "node:crypto";
7
- import { pipeline } from "node:stream/promises";
8
- import { request } from "node:https";
9
-
10
- //#region src/media/store.ts
11
- const resolveMediaDir = () => path.join(resolveConfigDir(), "media");
12
- const MEDIA_MAX_BYTES = 5 * 1024 * 1024;
13
- const MAX_BYTES = MEDIA_MAX_BYTES;
14
- const DEFAULT_TTL_MS = 120 * 1e3;
15
- const MEDIA_FILE_MODE = 420;
16
- /**
17
- * Sanitize a filename for cross-platform safety.
18
- * Removes chars unsafe on Windows/SharePoint/all platforms.
19
- * Keeps: alphanumeric, dots, hyphens, underscores, Unicode letters/numbers.
20
- */
21
- function sanitizeFilename(name) {
22
- const trimmed = name.trim();
23
- if (!trimmed) return "";
24
- return trimmed.replace(/[^\p{L}\p{N}._-]+/gu, "_").replace(/_+/g, "_").replace(/^_|_$/g, "").slice(0, 60);
25
- }
26
- /**
27
- * Extract original filename from path if it matches the embedded format.
28
- * Pattern: {original}---{uuid}.{ext} → returns "{original}.{ext}"
29
- * Falls back to basename if no pattern match, or "file.bin" if empty.
30
- */
31
- function extractOriginalFilename(filePath) {
32
- const basename = path.basename(filePath);
33
- if (!basename) return "file.bin";
34
- const ext = path.extname(basename);
35
- const match = path.basename(basename, ext).match(/^(.+)---[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/i);
36
- if (match?.[1]) return `${match[1]}${ext}`;
37
- return basename;
38
- }
39
- function getMediaDir() {
40
- return resolveMediaDir();
41
- }
42
- async function ensureMediaDir() {
43
- const mediaDir = resolveMediaDir();
44
- await fs$1.mkdir(mediaDir, {
45
- recursive: true,
46
- mode: 448
47
- });
48
- return mediaDir;
49
- }
50
- async function saveMediaBuffer(buffer, contentType, subdir = "inbound", maxBytes = MAX_BYTES, originalFilename) {
51
- if (buffer.byteLength > maxBytes) throw new Error(`Media exceeds ${(maxBytes / (1024 * 1024)).toFixed(0)}MB limit`);
52
- const dir = path.join(resolveMediaDir(), subdir);
53
- await fs$1.mkdir(dir, {
54
- recursive: true,
55
- mode: 448
56
- });
57
- const uuid = crypto.randomUUID();
58
- const headerExt = extensionForMime(contentType?.split(";")[0]?.trim() ?? void 0);
59
- const mime = await detectMime({
60
- buffer,
61
- headerMime: contentType
62
- });
63
- const ext = headerExt ?? extensionForMime(mime) ?? "";
64
- let id;
65
- if (originalFilename) {
66
- const base = path.parse(originalFilename).name;
67
- const sanitized = sanitizeFilename(base);
68
- id = sanitized ? `${sanitized}---${uuid}${ext}` : `${uuid}${ext}`;
69
- } else id = ext ? `${uuid}${ext}` : uuid;
70
- const dest = path.join(dir, id);
71
- await fs$1.writeFile(dest, buffer, { mode: MEDIA_FILE_MODE });
72
- return {
73
- id,
74
- path: dest,
75
- size: buffer.byteLength,
76
- contentType: mime
77
- };
78
- }
79
-
80
- //#endregion
81
- export { saveMediaBuffer as a, getMediaDir as i, ensureMediaDir as n, extractOriginalFilename as r, MEDIA_MAX_BYTES as t };
@@ -1,52 +0,0 @@
1
- import "./run-with-concurrency-BcPenaKJ.js";
2
- import "./accounts-Bl6fp04N.js";
3
- import { C as countPendingDescendantRunsExcludingRun, S as countPendingDescendantRuns, T as resolveRequesterForChildSession, w as isSubagentSessionRunActive, x as countActiveDescendantRuns } from "./reply-Cx_4UtvJ.js";
4
- import "./paths-BEfQqXwE.js";
5
- import "./github-copilot-token-BCc3snHh.js";
6
- import "./config-Cyo0rHBx.js";
7
- import "./logger-C_vnHQg2.js";
8
- import "./thinking-Dh6B0ZhB.js";
9
- import "./image-ops-Dye2ozSZ.js";
10
- import "./pi-embedded-helpers-tHjfJzH4.js";
11
- import "./plugins-BQHnLb2v.js";
12
- import "./accounts-B9lBByhz.js";
13
- import "./accounts-CQWq_42g.js";
14
- import "./send-tyEtWeMX.js";
15
- import "./paths-ICLB349I.js";
16
- import "./fetch-J9xZaNrT.js";
17
- import "./redact-BznLQ6I5.js";
18
- import "./errors-DdSHGcgi.js";
19
- import "./channel-activity-ChRCQNSc.js";
20
- import "./path-alias-guards-CaCBZRHc.js";
21
- import "./fs-safe-DRACrdwg.js";
22
- import "./ssrf-D3NQgatK.js";
23
- import "./fetch-guard-Uhk4tySC.js";
24
- import "./local-roots-BYSlR-at.js";
25
- import "./ir-CruONUHn.js";
26
- import "./render-A563BsDG.js";
27
- import "./tables-j2CMtAoX.js";
28
- import "./send-QPap4wBN.js";
29
- import "./send-gz4Lq5tL.js";
30
- import "./tool-images-D7ah30xm.js";
31
- import "./target-errors-Hoj2qirZ.js";
32
- import "./send-DB9pUM0k.js";
33
- import "./audio-transcription-runner-Bndij5Q1.js";
34
- import "./tokens-PExiD061.js";
35
- import "./skill-commands-ClwX3DoE.js";
36
- import "./skills-B2FPl9ca.js";
37
- import "./chrome-DNpRdbZ1.js";
38
- import "./deliver-mBruQPRt.js";
39
- import "./diagnostic-B3ZoSFoM.js";
40
- import "./store-CDmdRGxP.js";
41
- import "./commands-registry-Bq1HqcJU.js";
42
- import "./image-CEBZ8sRh.js";
43
- import "./api-key-rotation-DSOB99GV.js";
44
- import "./proxy-fetch-BpMu-RpD.js";
45
- import "./pi-model-discovery-DQV-B6bn.js";
46
- import "./send-BWz-g7wE.js";
47
- import "./outbound-attachment-DZphVgq7.js";
48
- import "./proxy-DNZXaj7f.js";
49
- import "./manager-AOQxrU7P.js";
50
- import "./query-expansion-CuaTloKx.js";
51
-
52
- export { countActiveDescendantRuns, countPendingDescendantRuns, countPendingDescendantRunsExcludingRun, isSubagentSessionRunActive, resolveRequesterForChildSession };
@@ -1,55 +0,0 @@
1
- import { r as markdownToIRWithMeta } from "./ir-CruONUHn.js";
2
- import { t as renderMarkdownWithMarkers } from "./render-A563BsDG.js";
3
-
4
- //#region src/markdown/tables.ts
5
- const MARKDOWN_STYLE_MARKERS = {
6
- bold: {
7
- open: "**",
8
- close: "**"
9
- },
10
- italic: {
11
- open: "_",
12
- close: "_"
13
- },
14
- strikethrough: {
15
- open: "~~",
16
- close: "~~"
17
- },
18
- code: {
19
- open: "`",
20
- close: "`"
21
- },
22
- code_block: {
23
- open: "```\n",
24
- close: "```"
25
- }
26
- };
27
- function convertMarkdownTables(markdown, mode) {
28
- if (!markdown || mode === "off") return markdown;
29
- const { ir, hasTables } = markdownToIRWithMeta(markdown, {
30
- linkify: false,
31
- autolink: false,
32
- headingStyle: "none",
33
- blockquotePrefix: "",
34
- tableMode: mode
35
- });
36
- if (!hasTables) return markdown;
37
- return renderMarkdownWithMarkers(ir, {
38
- styleMarkers: MARKDOWN_STYLE_MARKERS,
39
- escapeText: (text) => text,
40
- buildLink: (link, text) => {
41
- const href = link.href.trim();
42
- if (!href) return null;
43
- if (!text.slice(link.start, link.end)) return null;
44
- return {
45
- start: link.start,
46
- end: link.end,
47
- open: "[",
48
- close: `](${href})`
49
- };
50
- }
51
- });
52
- }
53
-
54
- //#endregion
55
- export { convertMarkdownTables as t };