winclaw 2026.3.27 → 2026.3.29
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.
- package/dist/{accounts-CTJXIABG.js → accounts-8qwgz384.js} +1 -1
- package/dist/{accounts-CLKFSM00.js → accounts-BpS-Awr5.js} +1 -1
- package/dist/{accounts-cYG8442L.js → accounts-BrWJjaKS.js} +7 -7
- package/dist/{acp-cli-BlB6CU93.js → acp-cli-DOyxCPhJ.js} +8 -8
- package/dist/{agent-scope-D-i-vMLS.js → agent-scope-Dany4R2i.js} +17 -17
- package/dist/{agents-C6F-hZiJ.js → agents-0xozQRvk.js} +14 -14
- package/dist/{agents.config-DCok2ZWN.js → agents.config-BOMjLRZu.js} +2 -2
- package/dist/{api-key-rotation-6yvrHUjY.js → api-key-rotation-DX8FQ-la.js} +1 -1
- package/dist/{audio-preflight-BpK1Fpki.js → audio-preflight-D-fJAjmv.js} +34 -34
- package/dist/{audio-transcription-runner-UjPRrQgJ.js → audio-transcription-runner-CRSNM03k.js} +23 -23
- package/dist/{audit-DRPXorDm.js → audit-CyNXGkn3.js} +29 -29
- package/dist/{auth--KDo_E_4.js → auth-CnAV77Sn.js} +1 -1
- package/dist/{auth-choice-koI_GR0Z.js → auth-choice-CFM26aUm.js} +11 -11
- package/dist/{auth-choice-DM5Plhrj.js → auth-choice-VaQfxfmJ.js} +13 -13
- package/dist/{auth-choice.apply-helpers-CJy8V2Xp.js → auth-choice.apply-helpers-DcSztsOH.js} +1 -1
- package/dist/{auth-profiles-C0_vbRBI.js → auth-profiles-Ckp5jw_h.js} +16 -16
- package/dist/{auth-token-BsypkvZB.js → auth-token-BxX2fAIF.js} +1 -1
- package/dist/{banner-BHULTrDl.js → banner-BT2LiW7e.js} +2 -2
- package/dist/{bonjour-discovery-ZXskIxLW.js → bonjour-discovery-TLpgifVr.js} +1 -1
- package/dist/{browser-cli-DbIjFtFV.js → browser-cli-bFKY_VZG.js} +12 -12
- package/dist/build-info.json +3 -3
- package/dist/{call-CmNNda8m.js → call-yVj9RKC4.js} +10 -10
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-B4ofKr9t.js → channel-account-context-D4Yftz20.js} +5 -5
- package/dist/{channel-activity-aWOCqUEs.js → channel-activity-D_GsFyli.js} +1 -1
- package/dist/{channel-options-Uw9mhzgL.js → channel-options-BD9rnD6R.js} +3 -3
- package/dist/{channel-selection-5G2iw3CB.js → channel-selection-Bke39fer.js} +1 -1
- package/dist/{channel-web-BAdBEvkv.js → channel-web-DsvUbGEe.js} +17 -17
- package/dist/{channels-cli-DID7Tytp.js → channels-cli-CDP6OBW-.js} +93 -93
- package/dist/{channels-status-issues-DpfEWI4l.js → channels-status-issues-wCgCdUDu.js} +1 -1
- package/dist/{chrome-C3_fgvw4.js → chrome-MZdKzhd4.js} +4 -4
- package/dist/{clawbot-cli-CiOmmnPO.js → clawbot-cli-4S0Jk3Re.js} +11 -11
- package/dist/cli-mnJnamHu.js +154 -0
- package/dist/{client-BYyYW3K0.js → client-LzBGN2_q.js} +2 -2
- package/dist/{command-registry-z2QDkRqc.js → command-registry-DNoXbyUx.js} +11 -11
- package/dist/{command-secret-targets-ObW6kBQd.js → command-secret-targets-mNBDbtq8.js} +4 -4
- package/dist/{commands-4mnxaSoA.js → commands-DmBkhPD-.js} +1 -1
- package/dist/{commands-registry-8CcrHp7D.js → commands-registry-BvyQQ61P.js} +3 -3
- package/dist/{completion-cli-BDdE65xH.js → completion-cli-Cg5kVNBp.js} +13 -13
- package/dist/{completion-cli-pkwHEsJk.js → completion-cli-CwnrMtr0.js} +1 -1
- package/dist/{config-cli-jugboVFb.js → config-cli-Ba_FXbdW.js} +7 -7
- package/dist/{config-guard-DMjkNbiG.js → config-guard-DEisQhpy.js} +3 -3
- package/dist/{config-validation-BVDib1S1.js → config-validation-BSCTo9Mn.js} +3 -3
- package/dist/{configure-Bv2bBNOn.js → configure-DwpH8TuB.js} +17 -17
- package/dist/{control-ui-assets-B0DdamQU.js → control-ui-assets-5F0FEjfM.js} +1 -1
- package/dist/{cron-cli-C79a_a9Q.js → cron-cli-Ba6hPFCZ.js} +11 -11
- package/dist/{daemon-cli-DBMl1neJ.js → daemon-cli-lbUiDK1P.js} +16 -16
- package/dist/{daemon-install-C029NlXk.js → daemon-install-DNhR8NtL.js} +4 -4
- package/dist/{daemon-install-helpers-D1YQ03lO.js → daemon-install-helpers-DWmF3oFP.js} +11 -11
- package/dist/{deliver-3G7ZHuBV.js → deliver-DpjgvKXk.js} +7 -7
- package/dist/deliver-runtime-B2jvII84.js +57 -0
- package/dist/deps-send-discord.runtime-DEljxwZF.js +32 -0
- package/dist/deps-send-imessage.runtime-CDba1iXq.js +31 -0
- package/dist/deps-send-signal.runtime-BBSnJxIE.js +30 -0
- package/dist/deps-send-slack.runtime-Cg9DgNZd.js +28 -0
- package/dist/deps-send-telegram.runtime-BozbEmMc.js +34 -0
- package/dist/deps-send-whatsapp.runtime-DzK7aeyc.js +115 -0
- package/dist/{devices-cli-CuREwwvN.js → devices-cli-Dcn9jgVF.js} +8 -8
- package/dist/{diagnostic-Chwtt8I4.js → diagnostic-CxO1LgMH.js} +1 -1
- package/dist/{diagnostics-KfpqzhsS.js → diagnostics-BDjbQJxP.js} +5 -5
- package/dist/{directory-cli-CL4onMod.js → directory-cli-2NiA6lFd.js} +7 -7
- package/dist/{dns-cli-CC9zZsXe.js → dns-cli-DXcp-ZNe.js} +5 -5
- package/dist/{dock-ClcGZ0LV.js → dock-C-w5XvOS.js} +4 -4
- package/dist/{docs-cli-DkQBHXw-.js → docs-cli-BRob5CHm.js} +4 -4
- package/dist/{doctor-completion-Bn0GHkLP.js → doctor-completion-BAkFNkDW.js} +1 -1
- package/dist/{doctor-completion-C26gUoBz.js → doctor-completion-BnOLak0y.js} +2 -2
- package/dist/{doctor-config-flow-DAKQgNc6.js → doctor-config-flow-nsTC6y19.js} +15 -15
- package/dist/{enable-DawrgAnk.js → enable-BQen2xUb.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{exec-approvals-allowlist-CgO3-iPu.js → exec-approvals-allowlist-BDxoD2pP.js} +1 -1
- package/dist/{exec-approvals-cli-Ify8VLSY.js → exec-approvals-cli-Cp3WmN1t.js} +16 -16
- package/dist/{exec-safe-bin-runtime-policy-By-anRPS.js → exec-safe-bin-runtime-policy-C7sG8mhp.js} +2 -2
- package/dist/{fetch-DyoRWiT-.js → fetch-CVGiNhuf.js} +3 -3
- package/dist/{fetch-guard-DF0_kLSc.js → fetch-guard-BdJ7lME2.js} +1 -1
- package/dist/{fs-safe-Dha0DfFC.js → fs-safe-B8J4dv27.js} +24 -24
- package/dist/{gateway-cli-B7x4SjPM.js → gateway-cli-Dn874-bc.js} +175 -158
- package/dist/{gateway-cli-BDKWycOI.js → gateway-cli-VRcKcg1e.js} +22 -5
- package/dist/{gateway-rpc-CSeb8o-w.js → gateway-rpc-BdlE-Hja.js} +1 -1
- package/dist/{health-C-Rbfmbs.js → health-CzOO-eH6.js} +11 -11
- package/dist/{hooks-cli-BCSMz8IJ.js → hooks-cli-aIQoRYTF.js} +81 -81
- package/dist/{hooks-status-Cjg5SLpX.js → hooks-status-CQjtRM1s.js} +1 -1
- package/dist/{image-zu8Q4gsy.js → image-COh2_3E2.js} +5 -5
- package/dist/{image-ops-eFMqXMDE.js → image-ops-DWGnyTvC.js} +10 -10
- package/dist/image-runtime-BkMDCX_o.js +51 -0
- package/dist/index.js +1 -1
- package/dist/{inspect-XmcWN97u.js → inspect-DbVcDDi7.js} +4 -4
- package/dist/{install-safe-path-DNotGe9T.js → install-safe-path-FR9r9Dmi.js} +25 -25
- package/dist/{installs-zKF10nZF.js → installs-7zsfIb7P.js} +9 -9
- package/dist/{ipv4-xGA578zM.js → ipv4-D8H1uDoq.js} +1 -1
- package/dist/{ir-Dnquxoz8.js → ir-CYJ0KNbJ.js} +8 -8
- package/dist/{issue-format-DUrssptL.js → issue-format-rXDeQGUX.js} +1 -1
- package/dist/{json-files-kWpauJWO.js → json-files-D9ZHO8Ud.js} +8 -8
- package/dist/{lifecycle-core-CyyViGlP.js → lifecycle-core-H_Cd19GX.js} +5 -5
- package/dist/{login-CS326UA-.js → login-Btnmps3S.js} +3 -3
- package/dist/{login-qr-DODveeI1.js → login-qr-DYZ9Y8Oi.js} +6 -6
- package/dist/{logs-cli-CUbhAWk5.js → logs-cli-BciLawXU.js} +9 -9
- package/dist/{manager-Itd8mwC6.js → manager-ClpMRt6c.js} +14 -14
- package/dist/manager-runtime-C3O7KVxT.js +22 -0
- package/dist/{manifest-registry-CI-UuKUO.js → manifest-registry-_liSV_Vx.js} +1 -1
- package/dist/{memory-cli-BSjyoCME.js → memory-cli-CTjStkNK.js} +12 -12
- package/dist/{model-FuEe2Ft9.js → model-CJZD0FVc.js} +2 -2
- package/dist/{model-catalog-B-CI_Q76.js → model-catalog-qN_RooIW.js} +3 -3
- package/dist/{model-picker-BZqbkINL.js → model-picker-DWShnz0q.js} +4 -4
- package/dist/{models-cli-DX-z4_9l.js → models-cli-BVtqV9DB.js} +78 -78
- package/dist/{models-config-tPZvlEX4.js → models-config-Dp2QIxnd.js} +6 -6
- package/dist/{models-BX8j03Oj.js → models-jWtvp6a8.js} +17 -17
- package/dist/{net-CXrvhn9o.js → net-Bj5kyhic.js} +2 -2
- package/dist/{node-cli-DxuXZEka.js → node-cli-Dl-3Kbvh.js} +33 -33
- package/dist/{node-command-policy-hSqGZL6Y.js → node-command-policy-CmGM0UDZ.js} +1 -1
- package/dist/{node-service-CLtiUeNO.js → node-service-L9-L8-7x.js} +1 -1
- package/dist/{nodes-cli-8GveHDsf.js → nodes-cli-DVOA51fF.js} +16 -16
- package/dist/{nodes-screen-OQegsPOR.js → nodes-screen-m-f8xnMf.js} +7 -7
- package/dist/{npm-pack-install-DZvYhRnM.js → npm-pack-install-B3VCcNWC.js} +18 -18
- package/dist/{npm-resolution-C0KtPOJ-.js → npm-resolution-i78K59Nz.js} +4 -4
- package/dist/{onboard-BS2V428j.js → onboard-M7DMJvPb.js} +1 -1
- package/dist/{onboard-channels-BY04gXzK.js → onboard-channels-QCHf3GwA.js} +21 -21
- package/dist/{onboard-custom-DW1WeR_n.js → onboard-custom-B_v0Ajog.js} +4 -4
- package/dist/{onboard-helpers-b9T97_8S.js → onboard-helpers-6Smrn-T1.js} +10 -10
- package/dist/{onboard-hooks-BTD0YhRI.js → onboard-hooks-DRkLf5gL.js} +4 -4
- package/dist/{onboard-0dKHNBgk.js → onboard-l-1XwqMZ.js} +6 -6
- package/dist/{onboard-remote-DflQ6_sf.js → onboard-remote-CjyKzrPA.js} +4 -4
- package/dist/{onboard-skills-DF5OkxRl.js → onboard-skills-ClayTs-N.js} +4 -4
- package/dist/{onboarding-CJeKStJi.js → onboarding-B47S4wEU.js} +1 -1
- package/dist/{onboarding-BArySFMq.js → onboarding-BujBGR0s.js} +14 -14
- package/dist/{onboarding.finalize-DGpQMGlP.js → onboarding.finalize-BKDtmcqc.js} +3 -3
- package/dist/{onboarding.finalize-DeDNJesB.js → onboarding.finalize-Dd8Pb7R8.js} +87 -87
- package/dist/{onboarding.gateway-config-Dqp44gBx.js → onboarding.gateway-config-hFKNYt9m.js} +18 -18
- package/dist/{onboarding.secret-input-BqpyOfgu.js → onboarding.secret-input-DJOIi-zO.js} +1 -1
- package/dist/{openai-model-default-Duce_n_s.js → openai-model-default-WrjUZSLr.js} +2 -2
- package/dist/{outbound-gb5XK6iG.js → outbound-Tv8tCXji.js} +3 -3
- package/dist/{outbound-attachment-DEbgECRe.js → outbound-attachment-C6exYeCf.js} +2 -2
- package/dist/{pairing-cli-Dm7rMKEY.js → pairing-cli-9Xy08cjw.js} +8 -8
- package/dist/{pairing-labels-BFRaTO20.js → pairing-labels-DPcMglcJ.js} +1 -1
- package/dist/{pairing-store-Jfk6MAHv.js → pairing-store-Dv0sC8Jz.js} +3 -3
- package/dist/{path-alias-guards-9OJ1UBCd.js → path-alias-guards-BoydiaPL.js} +3 -3
- package/dist/{path-safety-Cq9rwfZN.js → path-safety-CSCsbd-j.js} +1 -1
- package/dist/{paths-C5mR1YC-.js → paths-BVQ0udwc.js} +9 -9
- package/dist/{pi-embedded-helpers-xQd6fIj4.js → pi-embedded-helpers-5DVpps9M.js} +6 -6
- package/dist/{pi-model-discovery-Cd0pEB8d.js → pi-model-discovery-D0Rvs4r3.js} +1 -1
- package/dist/{pi-model-discovery-runtime-Dpl9vq-K.js → pi-model-discovery-runtime-BdvRmBNY.js} +5 -5
- package/dist/{pi-tools.before-tool-call.runtime-C36agKpr.js → pi-tools.before-tool-call.runtime-DUKHYZ0f.js} +5 -5
- package/dist/{pi-tools.policy-bVlHvdWR.js → pi-tools.policy-UvhsU9iG.js} +5 -5
- package/dist/{plugin-auto-enable-DaK3KSuE.js → plugin-auto-enable-BONFXc29.js} +3 -3
- package/dist/{plugin-registry-DAWXlWn0.js → plugin-registry-DfhIUB9h.js} +3 -3
- package/dist/plugin-sdk/accounts-B71rIfIG.js +35 -0
- package/dist/plugin-sdk/accounts-Bh_CxVlh.js +46 -0
- package/dist/plugin-sdk/accounts-BoD7489q.js +288 -0
- package/dist/plugin-sdk/active-listener-6CPAmAh-.js +50 -0
- package/dist/plugin-sdk/api-key-rotation-DEDhmJAk.js +181 -0
- package/dist/plugin-sdk/audio-preflight-erL_Y9tR.js +69 -0
- package/dist/plugin-sdk/audio-transcription-runner-C-rfFylO.js +2176 -0
- package/dist/plugin-sdk/audit-membership-runtime-CxP2fdgS.js +58 -0
- package/dist/plugin-sdk/bluebubbles.js +2 -2
- package/dist/plugin-sdk/channel-activity-9ivqqvRB.js +94 -0
- package/dist/plugin-sdk/channel-web-Zk9B13W-.js +2256 -0
- package/dist/plugin-sdk/chrome-B1yeIHRg.js +2415 -0
- package/dist/plugin-sdk/commands-registry-D-wyzYid.js +1125 -0
- package/dist/plugin-sdk/compat.js +50 -50
- package/dist/plugin-sdk/config-CmS6HzGU.js +17959 -0
- package/dist/plugin-sdk/deliver-B6rA54V8.js +1719 -0
- package/dist/plugin-sdk/deliver-runtime-C467etTU.js +32 -0
- package/dist/plugin-sdk/deps-send-discord.runtime-CLboFQJz.js +23 -0
- package/dist/plugin-sdk/deps-send-imessage.runtime-BVlGKP96.js +22 -0
- package/dist/plugin-sdk/deps-send-signal.runtime-0640YmBr.js +21 -0
- package/dist/plugin-sdk/deps-send-slack.runtime-BqbFKjcg.js +19 -0
- package/dist/plugin-sdk/deps-send-telegram.runtime-1a2RXcA2.js +24 -0
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-DDnoXCt-.js +57 -0
- package/dist/plugin-sdk/diagnostic-DGt5TnqW.js +319 -0
- package/dist/plugin-sdk/errors-D7zDdduc.js +54 -0
- package/dist/plugin-sdk/feishu.js +2 -2
- package/dist/plugin-sdk/fetch-guard-BsatETDz.js +156 -0
- package/dist/plugin-sdk/fs-safe-ynDN1AOr.js +352 -0
- package/dist/plugin-sdk/image-C-5ZsK1S.js +2314 -0
- package/dist/plugin-sdk/image-ops-CmFoHyKE.js +584 -0
- package/dist/plugin-sdk/image-runtime-z20lSeN9.js +25 -0
- package/dist/plugin-sdk/imessage.js +2 -2
- package/dist/plugin-sdk/infra/grc-client.d.ts +1 -0
- package/dist/plugin-sdk/ir-CX1ZjDTn.js +1296 -0
- package/dist/plugin-sdk/irc.js +2 -2
- package/dist/plugin-sdk/local-roots-DnE8988Y.js +186 -0
- package/dist/plugin-sdk/logger-cN8CgKqt.js +1163 -0
- package/dist/plugin-sdk/login-hk6_2GSM.js +57 -0
- package/dist/plugin-sdk/login-qr-UaVS_Rce.js +320 -0
- package/dist/plugin-sdk/manager-CBP2ZQ5W.js +3929 -0
- package/dist/plugin-sdk/manager-runtime-3rKbDrJp.js +15 -0
- package/dist/plugin-sdk/matrix.js +2 -2
- package/dist/plugin-sdk/msteams.js +2 -2
- package/dist/plugin-sdk/outbound-B0Ab6CJM.js +212 -0
- package/dist/plugin-sdk/outbound-attachment-CktA053B.js +19 -0
- package/dist/plugin-sdk/path-alias-guards-WXu8eYZ3.js +43 -0
- package/dist/plugin-sdk/paths-Brta7ydd.js +166 -0
- package/dist/plugin-sdk/pi-embedded-helpers-C_CmEkfs.js +9630 -0
- package/dist/plugin-sdk/pi-model-discovery-ruarR-_j.js +134 -0
- package/dist/plugin-sdk/pi-model-discovery-runtime-26px0QfL.js +8 -0
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-VVLpfXqQ.js +354 -0
- package/dist/plugin-sdk/plugins-C995vsQz.js +864 -0
- package/dist/plugin-sdk/proxy-fetch-iSQrNgP-.js +38 -0
- package/dist/plugin-sdk/pw-ai-BJXHSS3q.js +1938 -0
- package/dist/plugin-sdk/qmd-manager-A7m15SeJ.js +1448 -0
- package/dist/plugin-sdk/query-expansion-DngcFbkC.js +1011 -0
- package/dist/plugin-sdk/redact-CIb5VTTO.js +319 -0
- package/dist/plugin-sdk/reply-CgG_9q-B.js +100386 -0
- package/dist/plugin-sdk/resolve-outbound-target-CQ6hRY-h.js +40 -0
- package/dist/plugin-sdk/run-with-concurrency-BlfAoChN.js +1994 -0
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-YsrzSsFL.js +10 -0
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-DL6Ses5K.js +19 -0
- package/dist/plugin-sdk/send-BEy8EUzH.js +414 -0
- package/dist/plugin-sdk/send-CWP6COto.js +3135 -0
- package/dist/plugin-sdk/send-DQTgt3Cu.js +540 -0
- package/dist/plugin-sdk/send-DzpV-k17.js +2587 -0
- package/dist/plugin-sdk/send-HuIksBS6.js +503 -0
- package/dist/plugin-sdk/session-Cc3Y4mXL.js +169 -0
- package/dist/plugin-sdk/signal.js +2 -2
- package/dist/plugin-sdk/skill-commands-p8Zwjnwy.js +353 -0
- package/dist/plugin-sdk/skills-k8XpacZa.js +1428 -0
- package/dist/plugin-sdk/slack.js +2 -2
- package/dist/plugin-sdk/slash-commands.runtime-ynnr6oUR.js +13 -0
- package/dist/plugin-sdk/slash-dispatch.runtime-DUaSpY6o.js +52 -0
- package/dist/plugin-sdk/slash-skill-commands.runtime-eAk1jhVy.js +16 -0
- package/dist/plugin-sdk/ssrf-DZSsYJgJ.js +202 -0
- package/dist/plugin-sdk/store-Cn0oLCP4.js +81 -0
- package/dist/plugin-sdk/subagent-registry-runtime-ByWYRdst.js +52 -0
- package/dist/plugin-sdk/tables-KWxXnbkq.js +55 -0
- package/dist/{target-errors-HJQQHC3B.js → plugin-sdk/target-errors-Cr0q4o7K.js} +4 -4
- package/dist/plugin-sdk/telegram.js +2 -2
- package/dist/plugin-sdk/thinking-CfA6xbI_.js +1206 -0
- package/dist/plugin-sdk/tlon.js +2 -2
- package/dist/plugin-sdk/tokens-B-D1YRTV.js +52 -0
- package/dist/plugin-sdk/tool-images-CVV7LNFW.js +274 -0
- package/dist/plugin-sdk/web-KS4kfduZ.js +56 -0
- package/dist/plugin-sdk/whatsapp-actions-CLNhBLJz.js +80 -0
- package/dist/{plugins-C1OgLvb4.js → plugins-IFacUN_Q.js} +2 -2
- package/dist/{plugins-cli-CzJCW5OU.js → plugins-cli-CljYV6tN.js} +83 -83
- package/dist/{ports-CfOim1GC.js → ports-DqZBwUsy.js} +2 -2
- package/dist/{ports-Dw-3Gxsb.js → ports-FLn4cVl7.js} +1 -1
- package/dist/{probe-DB96HNqH.js → probe-BHa1tp-C.js} +2 -2
- package/dist/{program-BMv-CEzh.js → program-DWCJss2F.js} +81 -81
- package/dist/{program-context-CHsfdFvl.js → program-context-D080ziP9.js} +6 -6
- package/dist/{prompt-select-styled-CHpncr1b.js → prompt-select-styled-C-1hu0F8.js} +40 -40
- package/dist/{prompt-select-styled-CswiwS1l.js → prompt-select-styled-CTxyKSUU.js} +1 -1
- package/dist/{provider-auth-helpers-dxnTvh2N.js → provider-auth-helpers-BqL649bt.js} +5 -5
- package/dist/{proxy-env-CmJ7_jtU.js → proxy-env-C0nYsvsi.js} +1 -1
- package/dist/{push-apns-Au_g9Vp3.js → push-apns-DSooIpxO.js} +5 -5
- package/dist/{pw-ai-CFIm6dB7.js → pw-ai-CPNq1DS5.js} +18 -18
- package/dist/{qmd-manager-oU4X85hj.js → qmd-manager-COHJs6wn.js} +20 -20
- package/dist/{qr-cli-geB0TD3J.js → qr-cli-CRvrxPDx.js} +2 -2
- package/dist/{query-expansion-Cja4xprw.js → query-expansion-IQFdQdeu.js} +12 -12
- package/dist/{redact-snapshot-CjRldBIQ.js → redact-snapshot-DNLo0954.js} +1 -1
- package/dist/{register.agent-DG3RAxLA.js → register.agent-CD3LQtou.js} +94 -94
- package/dist/register.configure-COO4ra7D.js +162 -0
- package/dist/{register.maintenance-DMV040uA.js → register.maintenance-BSCe-s-X.js} +95 -95
- package/dist/{register.maintenance-DKCMdsbc.js → register.maintenance-DBq9fXGR.js} +4 -4
- package/dist/{register.message-BfBAAyMx.js → register.message-Ym2bm4g1.js} +74 -74
- package/dist/{register.onboard-DyhQBs5A.js → register.onboard-BmAKFvH3.js} +18 -18
- package/dist/{register.onboard-BZEIfpt7.js → register.onboard-hCE34Wlx.js} +2 -2
- package/dist/{register.setup-BQhIWL-K.js → register.setup-BzpG6l7c.js} +2 -2
- package/dist/{register.setup-DrL-nFKZ.js → register.setup-CxwyLc70.js} +21 -21
- package/dist/{register.status-health-sessions-Bc0IR2M3.js → register.status-health-sessions-C5w-Oq6Y.js} +89 -89
- package/dist/{register.subclis-BnywHufl.js → register.subclis-_vpjMECF.js} +31 -31
- package/dist/{rpc-VRU7ai3o.js → rpc-C3SnXIiv.js} +1 -1
- package/dist/{run-main-C2TQ3bXz.js → run-main-CeGFwC7_.js} +92 -92
- package/dist/{runtime-BF8Olfsc.js → runtime-CH5fohLt.js} +3 -3
- package/dist/{runtime-config-collectors-CX2DT22y.js → runtime-config-collectors-B0UvQfrp.js} +1 -1
- package/dist/{runtime-whatsapp-login.runtime-0HUD3AWH.js → runtime-whatsapp-login.runtime-C5O_5Oac.js} +7 -7
- package/dist/runtime-whatsapp-outbound.runtime-Bd0Jz2if.js +28 -0
- package/dist/{sandbox-CHQOIPj9.js → sandbox-CBt528hA.js} +18 -18
- package/dist/{sandbox-cli-VRZ6h57q.js → sandbox-cli-CMwwlijF.js} +25 -25
- package/dist/{secrets-cli-B73viEkt.js → secrets-cli-e2Demg1k.js} +11 -11
- package/dist/{security-cli-D6wU5KjD.js → security-cli-FryW-V8n.js} +43 -43
- package/dist/{send-B-Uy34-w.js → send-2xjAFnHO.js} +4 -4
- package/dist/{send-Ta3D0GAH.js → send-BQNX3KIc.js} +8 -8
- package/dist/{send-ExuAKrlR.js → send-BUfGAwap.js} +11 -11
- package/dist/{send-C49MF69y.js → send-C4M_d4By.js} +5 -5
- package/dist/{send-C7PqB4vs.js → send-CRlSWbm2.js} +6 -6
- package/dist/{server-context-CJiG1msd.js → server-context-05Fm5Kkz.js} +12 -12
- package/dist/{server-lifecycle-Bfo-0Zi5.js → server-lifecycle-BrR-At7-.js} +2 -2
- package/dist/{server-middleware-B0GRmBkQ.js → server-middleware-29IWly-I.js} +1 -1
- package/dist/{server-node-events-B_poPbqa.js → server-node-events-kqNjniKD.js} +74 -74
- package/dist/{server-YE6zCzOe.js → server-v5t12up6.js} +20 -20
- package/dist/{service-Aratsspm.js → service-B45ntxm9.js} +15 -15
- package/dist/{session-C4iQQHfw.js → session-BO7rj_9P.js} +1 -1
- package/dist/{session-utils-z-HrHk5J.js → session-utils-lxnjm2Oj.js} +6 -6
- package/dist/{sessions-D7TKRSga.js → sessions-BFIOR30J.js} +15 -15
- package/dist/{sessions-8T6PxYa7.js → sessions-X3dplt-M.js} +4 -4
- package/dist/{shared-Cj-SPh02.js → shared-CpqkgNHp.js} +1 -1
- package/dist/{shared-CaXgHNH2.js → shared-_43GPoqz.js} +3 -3
- package/dist/{skill-commands-CUwo4YjF.js → skill-commands-BTa_Ex3d.js} +5 -5
- package/dist/{skill-scanner-DqqhF5of.js → skill-scanner-DOOfjrYo.js} +6 -6
- package/dist/{skills-BpN5EUZU.js → skills-CFYm0xdh.js} +3 -3
- package/dist/{skills-cli-DnH5WOma.js → skills-cli-nYjsj4Ma.js} +5 -5
- package/dist/{skills-install-JXf-PngU.js → skills-install-DUTZBDD_.js} +6 -6
- package/dist/{skills-status-Bu28FGtt.js → skills-status-CmWpjTMz.js} +1 -1
- package/dist/{slash-commands.runtime-DO829aTF.js → slash-commands.runtime-BSt9lmeO.js} +11 -11
- package/dist/slash-dispatch.runtime-CavLVgh6.js +110 -0
- package/dist/slash-skill-commands.runtime-CjCLdeBQ.js +29 -0
- package/dist/{status-Bd3WoRA3.js → status-PIftG4qR.js} +28 -28
- package/dist/{status.update-CdaaXiD4.js → status.update-ZhDibzTU.js} +2 -2
- package/dist/{store-LSg8jeyh.js → store-Dgl-neCe.js} +5 -5
- package/dist/{subagent-registry-D7BRdjVz.js → subagent-registry-CpETNYCn.js} +149 -149
- package/dist/subagent-registry-runtime-Ck__Qtig.js +110 -0
- package/dist/{system-cli-B_ueNaMP.js → system-cli-mnC_WWVA.js} +9 -9
- package/dist/{system-run-command-8RPNlCCc.js → system-run-command-C8KITr2s.js} +1 -1
- package/dist/{systemd-CVY4-XuL.js → systemd-BNMfPHLS.js} +9 -9
- package/dist/{systemd-hints-GPX9Y1X7.js → systemd-hints-O9SJa5Ku.js} +6 -6
- package/dist/{systemd-linger-CyioH9ho.js → systemd-linger-CDgtOmPf.js} +1 -1
- package/dist/{tables-CPzrJtyj.js → tables-BbyESbJo.js} +1 -1
- package/dist/{tailnet-BXTXJnWv.js → tailnet-D6miw7DJ.js} +1 -1
- package/dist/target-errors-Bd8kj4z9.js +195 -0
- package/dist/{tool-images-Cp3hNFNZ.js → tool-images-DbchBdq5.js} +1 -1
- package/dist/{tui-D8p-fGCf.js → tui-DTvUykA5.js} +6 -6
- package/dist/{tui-cli-Y2--Aslb.js → tui-cli-CCWcOp3j.js} +32 -32
- package/dist/{update-u6OtnABh.js → update-DF240Zd0.js} +3 -3
- package/dist/{update-cli-DmqeE8G9.js → update-cli-CVOGZEZu.js} +105 -105
- package/dist/{update-cli-Caj-f3F2.js → update-cli-DirJg9Lu.js} +4 -4
- package/dist/{update-runner-DbgNUiT_.js → update-runner-CImhZ7PE.js} +16 -16
- package/dist/web-BQAJ4u8L.js +114 -0
- package/dist/{webhooks-cli-CDKN5KjA.js → webhooks-cli-CVxq1L0o.js} +6 -6
- package/dist/{whatsapp-actions-C8jlipv2.js → whatsapp-actions-BLPiaPMM.js} +17 -17
- package/dist/{winclaw-root-D0OUuGl7.js → winclaw-root-DEqOOeOw.js} +8 -8
- package/dist/{with-timeout-SqLxvn1K.js → with-timeout--YIf-L5q.js} +3 -3
- package/dist/{workspace-vYy4qLQz.js → workspace-Cx-f7PO5.js} +1 -1
- package/dist/{workspace-dirs-C13vnqQQ.js → workspace-dirs-C5erYAob.js} +1 -1
- package/dist/{wsl-C9d12M7y.js → wsl-BisEqrSr.js} +2 -2
- package/package.json +1 -1
- package/dist/cli-BgC6ZO06.js +0 -154
- package/dist/deliver-runtime-BiUf_p4s.js +0 -57
- package/dist/deps-send-discord.runtime-CaQ1knyQ.js +0 -32
- package/dist/deps-send-imessage.runtime-CZCKtTEA.js +0 -31
- package/dist/deps-send-signal.runtime-D3kLxuKz.js +0 -30
- package/dist/deps-send-slack.runtime-Mw-zSbtA.js +0 -28
- package/dist/deps-send-telegram.runtime-FIWepZsM.js +0 -34
- package/dist/deps-send-whatsapp.runtime-1gVV478v.js +0 -115
- package/dist/image-runtime-CsLPuRVE.js +0 -51
- package/dist/manager-runtime-CGMfvBou.js +0 -22
- package/dist/register.configure-C_w-D3L_.js +0 -162
- package/dist/runtime-whatsapp-outbound.runtime-Z7JKVh88.js +0 -28
- package/dist/slash-dispatch.runtime-DEXbe7Tt.js +0 -110
- package/dist/slash-skill-commands.runtime-BxhuEjRa.js +0 -29
- package/dist/subagent-registry-runtime-Jj_JGbDQ.js +0 -110
- package/dist/web-CQTTTvgm.js +0 -114
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as normalizeAccountId } from "./session-key-9-yI-GU_.js";
|
|
2
|
-
import { v as createAccountListHelpers, y as resolveAccountEntry } from "./accounts-
|
|
2
|
+
import { v as createAccountListHelpers, y as resolveAccountEntry } from "./accounts-BrWJjaKS.js";
|
|
3
3
|
|
|
4
4
|
//#region src/imessage/accounts.ts
|
|
5
5
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("imessage");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as normalizeAccountId } from "./session-key-9-yI-GU_.js";
|
|
2
|
-
import { v as createAccountListHelpers, y as resolveAccountEntry } from "./accounts-
|
|
2
|
+
import { v as createAccountListHelpers, y as resolveAccountEntry } from "./accounts-BrWJjaKS.js";
|
|
3
3
|
|
|
4
4
|
//#region src/signal/accounts.ts
|
|
5
5
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("signal");
|
|
@@ -4,7 +4,7 @@ import { _ as normalizeAccountId, g as DEFAULT_ACCOUNT_ID, v as normalizeOptiona
|
|
|
4
4
|
import { f as jidToE164, v as resolveUserPath } from "./utils-hiIKrqOK.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import fs from "node:fs";
|
|
7
|
-
import
|
|
7
|
+
import fs$1 from "node:fs/promises";
|
|
8
8
|
|
|
9
9
|
//#region src/routing/account-lookup.ts
|
|
10
10
|
function resolveAccountEntry(accounts, accountId) {
|
|
@@ -103,14 +103,14 @@ async function webAuthExists(authDir = resolveDefaultWebAuthDir()) {
|
|
|
103
103
|
maybeRestoreCredsFromBackup(resolvedAuthDir);
|
|
104
104
|
const credsPath = resolveWebCredsPath(resolvedAuthDir);
|
|
105
105
|
try {
|
|
106
|
-
await
|
|
106
|
+
await fs$1.access(resolvedAuthDir);
|
|
107
107
|
} catch {
|
|
108
108
|
return false;
|
|
109
109
|
}
|
|
110
110
|
try {
|
|
111
|
-
const stats = await
|
|
111
|
+
const stats = await fs$1.stat(credsPath);
|
|
112
112
|
if (!stats.isFile() || stats.size <= 1) return false;
|
|
113
|
-
const raw = await
|
|
113
|
+
const raw = await fs$1.readFile(credsPath, "utf-8");
|
|
114
114
|
JSON.parse(raw);
|
|
115
115
|
return true;
|
|
116
116
|
} catch {
|
|
@@ -118,7 +118,7 @@ async function webAuthExists(authDir = resolveDefaultWebAuthDir()) {
|
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
async function clearLegacyBaileysAuthState(authDir) {
|
|
121
|
-
const entries = await
|
|
121
|
+
const entries = await fs$1.readdir(authDir, { withFileTypes: true });
|
|
122
122
|
const shouldDelete = (name) => {
|
|
123
123
|
if (name === "oauth.json") return false;
|
|
124
124
|
if (name === "creds.json" || name === "creds.json.bak") return true;
|
|
@@ -128,7 +128,7 @@ async function clearLegacyBaileysAuthState(authDir) {
|
|
|
128
128
|
await Promise.all(entries.map(async (entry) => {
|
|
129
129
|
if (!entry.isFile()) return;
|
|
130
130
|
if (!shouldDelete(entry.name)) return;
|
|
131
|
-
await
|
|
131
|
+
await fs$1.rm(path.join(authDir, entry.name), { force: true });
|
|
132
132
|
}));
|
|
133
133
|
}
|
|
134
134
|
async function logoutWeb(params) {
|
|
@@ -139,7 +139,7 @@ async function logoutWeb(params) {
|
|
|
139
139
|
return false;
|
|
140
140
|
}
|
|
141
141
|
if (params.isLegacyAuthDir) await clearLegacyBaileysAuthState(resolvedAuthDir);
|
|
142
|
-
else await
|
|
142
|
+
else await fs$1.rm(resolvedAuthDir, {
|
|
143
143
|
recursive: true,
|
|
144
144
|
force: true
|
|
145
145
|
});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { P as theme, _ as defaultRuntime, n as isMainModule } from "./entry.js";
|
|
2
|
-
import { z as loadConfig } from "./auth-profiles-
|
|
3
|
-
import "./agent-scope-
|
|
2
|
+
import { z as loadConfig } from "./auth-profiles-Ckp5jw_h.js";
|
|
3
|
+
import "./agent-scope-Dany4R2i.js";
|
|
4
4
|
import { v as resolveUserPath, x as shortenHomePath } from "./utils-hiIKrqOK.js";
|
|
5
|
-
import "./winclaw-root-
|
|
5
|
+
import "./winclaw-root-DEqOOeOw.js";
|
|
6
6
|
import "./logger-BcqRk323.js";
|
|
7
7
|
import "./exec-CaapFZaD.js";
|
|
8
8
|
import "./registry-BcRQUSsJ.js";
|
|
@@ -10,13 +10,13 @@ import "./github-copilot-token-DHTToceK.js";
|
|
|
10
10
|
import "./host-env-security-CIiLt2Mi.js";
|
|
11
11
|
import { t as VERSION } from "./version-TiOyTfO4.js";
|
|
12
12
|
import "./env-vars-CE3cUIrz.js";
|
|
13
|
-
import "./manifest-registry-
|
|
13
|
+
import "./manifest-registry-_liSV_Vx.js";
|
|
14
14
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-DINJBdD0.js";
|
|
15
|
-
import { t as GatewayClient } from "./client-
|
|
16
|
-
import { s as resolveGatewayCredentialsWithSecretInputs, t as buildGatewayConnectionDetails } from "./call-
|
|
15
|
+
import { t as GatewayClient } from "./client-LzBGN2_q.js";
|
|
16
|
+
import { s as resolveGatewayCredentialsWithSecretInputs, t as buildGatewayConnectionDetails } from "./call-yVj9RKC4.js";
|
|
17
17
|
import "./pairing-token-CyhEb6Je.js";
|
|
18
|
-
import "./net-
|
|
19
|
-
import "./tailnet-
|
|
18
|
+
import "./net-Bj5kyhic.js";
|
|
19
|
+
import "./tailnet-D6miw7DJ.js";
|
|
20
20
|
import { r as isKnownCoreToolId } from "./tool-catalog-DN2kDDZk.js";
|
|
21
21
|
import { n as resolveWindowsSpawnProgram, t as materializeWindowsSpawnProgram } from "./windows-spawn-D0wwE7yg.js";
|
|
22
22
|
import { t as formatDocsLink } from "./links-Bcv6_maG.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { mt as resolveRequiredHomeDir, ot as resolveStateDir, s as createSubsystemLogger } from "./entry.js";
|
|
2
2
|
import { E as parseAgentSessionKey, T as isSubagentSessionKey, c as normalizeAgentId, t as DEFAULT_AGENT_ID, u as resolveAgentIdFromSessionKey, w as isCronSessionKey } from "./session-key-9-yI-GU_.js";
|
|
3
3
|
import { m as pathExists, v as resolveUserPath } from "./utils-hiIKrqOK.js";
|
|
4
|
-
import { _ as normalizeSkillFilter, i as openBoundaryFile, t as resolveWinClawPackageRoot } from "./winclaw-root-
|
|
4
|
+
import { _ as normalizeSkillFilter, i as openBoundaryFile, t as resolveWinClawPackageRoot } from "./winclaw-root-DEqOOeOw.js";
|
|
5
5
|
import { t as runCommandWithTimeout } from "./exec-CaapFZaD.js";
|
|
6
6
|
import { fileURLToPath } from "node:url";
|
|
7
7
|
import os from "node:os";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import fs from "node:fs";
|
|
10
|
-
import
|
|
10
|
+
import fs$1 from "node:fs/promises";
|
|
11
11
|
|
|
12
12
|
//#region src/config/model-input.ts
|
|
13
13
|
function resolveAgentModelPrimaryValue(model) {
|
|
@@ -149,7 +149,7 @@ async function loadTemplate(name) {
|
|
|
149
149
|
const templateDir = await resolveWorkspaceTemplateDir();
|
|
150
150
|
const templatePath = path.join(templateDir, name);
|
|
151
151
|
try {
|
|
152
|
-
return stripFrontMatter(await
|
|
152
|
+
return stripFrontMatter(await fs$1.readFile(templatePath, "utf-8"));
|
|
153
153
|
} catch {
|
|
154
154
|
throw new Error(`Missing workspace template: ${name} (${templatePath}). Ensure docs/reference/templates are packaged.`);
|
|
155
155
|
}
|
|
@@ -164,7 +164,7 @@ async function loadTemplate(name) {
|
|
|
164
164
|
}
|
|
165
165
|
async function writeFileIfMissing(filePath, content) {
|
|
166
166
|
try {
|
|
167
|
-
await
|
|
167
|
+
await fs$1.writeFile(filePath, content, {
|
|
168
168
|
encoding: "utf-8",
|
|
169
169
|
flag: "wx"
|
|
170
170
|
});
|
|
@@ -176,7 +176,7 @@ async function writeFileIfMissing(filePath, content) {
|
|
|
176
176
|
}
|
|
177
177
|
async function fileExists(filePath) {
|
|
178
178
|
try {
|
|
179
|
-
await
|
|
179
|
+
await fs$1.access(filePath);
|
|
180
180
|
return true;
|
|
181
181
|
} catch {
|
|
182
182
|
return false;
|
|
@@ -200,7 +200,7 @@ function parseWorkspaceOnboardingState(raw) {
|
|
|
200
200
|
}
|
|
201
201
|
async function readWorkspaceOnboardingState(statePath) {
|
|
202
202
|
try {
|
|
203
|
-
return parseWorkspaceOnboardingState(await
|
|
203
|
+
return parseWorkspaceOnboardingState(await fs$1.readFile(statePath, "utf-8")) ?? { version: WORKSPACE_STATE_VERSION };
|
|
204
204
|
} catch (err) {
|
|
205
205
|
if (err.code !== "ENOENT") throw err;
|
|
206
206
|
return { version: WORKSPACE_STATE_VERSION };
|
|
@@ -214,20 +214,20 @@ async function isWorkspaceOnboardingCompleted(dir) {
|
|
|
214
214
|
return typeof state.onboardingCompletedAt === "string" && state.onboardingCompletedAt.trim().length > 0;
|
|
215
215
|
}
|
|
216
216
|
async function writeWorkspaceOnboardingState(statePath, state) {
|
|
217
|
-
await
|
|
217
|
+
await fs$1.mkdir(path.dirname(statePath), { recursive: true });
|
|
218
218
|
const payload = `${JSON.stringify(state, null, 2)}\n`;
|
|
219
219
|
const tmpPath = `${statePath}.tmp-${process.pid}-${Date.now().toString(36)}`;
|
|
220
220
|
try {
|
|
221
|
-
await
|
|
222
|
-
await
|
|
221
|
+
await fs$1.writeFile(tmpPath, payload, { encoding: "utf-8" });
|
|
222
|
+
await fs$1.rename(tmpPath, statePath);
|
|
223
223
|
} catch (err) {
|
|
224
|
-
await
|
|
224
|
+
await fs$1.unlink(tmpPath).catch(() => {});
|
|
225
225
|
throw err;
|
|
226
226
|
}
|
|
227
227
|
}
|
|
228
228
|
async function hasGitRepo(dir) {
|
|
229
229
|
try {
|
|
230
|
-
await
|
|
230
|
+
await fs$1.stat(path.join(dir, ".git"));
|
|
231
231
|
return true;
|
|
232
232
|
} catch {
|
|
233
233
|
return false;
|
|
@@ -257,7 +257,7 @@ async function ensureGitRepo(dir, isBrandNewWorkspace) {
|
|
|
257
257
|
}
|
|
258
258
|
async function ensureAgentWorkspace(params) {
|
|
259
259
|
const dir = resolveUserPath(params?.dir?.trim() ? params.dir.trim() : DEFAULT_AGENT_WORKSPACE_DIR);
|
|
260
|
-
await
|
|
260
|
+
await fs$1.mkdir(dir, { recursive: true });
|
|
261
261
|
if (!params?.ensureBootstrapFiles) return { dir };
|
|
262
262
|
const agentsPath = path.join(dir, DEFAULT_AGENTS_FILENAME);
|
|
263
263
|
const soulPath = path.join(dir, DEFAULT_SOUL_FILENAME);
|
|
@@ -284,7 +284,7 @@ async function ensureAgentWorkspace(params) {
|
|
|
284
284
|
const paths = [...templatePaths, ...userContentPaths];
|
|
285
285
|
return (await Promise.all(paths.map(async (p) => {
|
|
286
286
|
try {
|
|
287
|
-
await
|
|
287
|
+
await fs$1.access(p);
|
|
288
288
|
return true;
|
|
289
289
|
} catch {
|
|
290
290
|
return false;
|
|
@@ -317,7 +317,7 @@ async function ensureAgentWorkspace(params) {
|
|
|
317
317
|
if (!state.bootstrapSeededAt && bootstrapExists) markState({ bootstrapSeededAt: nowIso() });
|
|
318
318
|
if (!state.onboardingCompletedAt && state.bootstrapSeededAt && !bootstrapExists) markState({ onboardingCompletedAt: nowIso() });
|
|
319
319
|
if (!state.bootstrapSeededAt && !state.onboardingCompletedAt && !bootstrapExists) {
|
|
320
|
-
const [identityContent, userContent] = await Promise.all([
|
|
320
|
+
const [identityContent, userContent] = await Promise.all([fs$1.readFile(identityPath, "utf-8"), fs$1.readFile(userPath, "utf-8")]);
|
|
321
321
|
const hasUserContent = await (async () => {
|
|
322
322
|
const indicators = [
|
|
323
323
|
path.join(dir, "memory"),
|
|
@@ -325,7 +325,7 @@ async function ensureAgentWorkspace(params) {
|
|
|
325
325
|
path.join(dir, ".git")
|
|
326
326
|
];
|
|
327
327
|
for (const indicator of indicators) try {
|
|
328
|
-
await
|
|
328
|
+
await fs$1.access(indicator);
|
|
329
329
|
return true;
|
|
330
330
|
} catch {}
|
|
331
331
|
return false;
|
|
@@ -356,7 +356,7 @@ async function resolveMemoryBootstrapEntries(resolvedDir) {
|
|
|
356
356
|
for (const name of candidates) {
|
|
357
357
|
const filePath = path.join(resolvedDir, name);
|
|
358
358
|
try {
|
|
359
|
-
await
|
|
359
|
+
await fs$1.access(filePath);
|
|
360
360
|
entries.push({
|
|
361
361
|
name,
|
|
362
362
|
filePath
|
|
@@ -369,7 +369,7 @@ async function resolveMemoryBootstrapEntries(resolvedDir) {
|
|
|
369
369
|
for (const entry of entries) {
|
|
370
370
|
let key = entry.filePath;
|
|
371
371
|
try {
|
|
372
|
-
key = await
|
|
372
|
+
key = await fs$1.realpath(entry.filePath);
|
|
373
373
|
} catch {}
|
|
374
374
|
if (seen.has(key)) continue;
|
|
375
375
|
seen.add(key);
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { _ as defaultRuntime } from "./entry.js";
|
|
3
|
-
import { G as writeConfigFile, er as ensureAuthProfileStore, or as resolveAuthStorePath } from "./auth-profiles-
|
|
3
|
+
import { G as writeConfigFile, er as ensureAuthProfileStore, or as resolveAuthStorePath } from "./auth-profiles-Ckp5jw_h.js";
|
|
4
4
|
import { t as formatCliCommand } from "./command-format-C2YuTuPp.js";
|
|
5
|
-
import { a as resolveAgentDir, b as DEFAULT_IDENTITY_FILENAME, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
5
|
+
import { a as resolveAgentDir, b as DEFAULT_IDENTITY_FILENAME, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-Dany4R2i.js";
|
|
6
6
|
import { c as normalizeAgentId, g as DEFAULT_ACCOUNT_ID, t as DEFAULT_AGENT_ID } from "./session-key-9-yI-GU_.js";
|
|
7
7
|
import { v as resolveUserPath, x as shortenHomePath } from "./utils-hiIKrqOK.js";
|
|
8
|
-
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-
|
|
9
|
-
import { U as parseIdentityMarkdown, V as identityHasValues } from "./subagent-registry-
|
|
8
|
+
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-IFacUN_Q.js";
|
|
9
|
+
import { U as parseIdentityMarkdown, V as identityHasValues } from "./subagent-registry-CpETNYCn.js";
|
|
10
10
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-ByCv35uy.js";
|
|
11
|
-
import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-helpers-
|
|
11
|
+
import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-helpers-6Smrn-T1.js";
|
|
12
12
|
import { t as WizardCancelledError } from "./prompts-DomsZukd.js";
|
|
13
13
|
import { t as createClackPrompter } from "./clack-prompter-C88sE8nV.js";
|
|
14
14
|
import { t as resolveChannelDefaultAccountId } from "./helpers-dV2m_On0.js";
|
|
15
|
-
import { a as parseBindingSpecs, i as describeBinding, n as applyAgentBindings, o as removeAgentBindings, r as buildChannelBindings, t as requireValidConfigSnapshot } from "./config-validation-
|
|
16
|
-
import { a as pruneAgentConfig, i as loadAgentIdentity, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-
|
|
17
|
-
import { r as setupChannels } from "./onboard-channels-
|
|
15
|
+
import { a as parseBindingSpecs, i as describeBinding, n as applyAgentBindings, o as removeAgentBindings, r as buildChannelBindings, t as requireValidConfigSnapshot } from "./config-validation-BSCTo9Mn.js";
|
|
16
|
+
import { a as pruneAgentConfig, i as loadAgentIdentity, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-BOMjLRZu.js";
|
|
17
|
+
import { r as setupChannels } from "./onboard-channels-QCHf3GwA.js";
|
|
18
18
|
import { n as logConfigUpdated } from "./logging-D6YjGDjQ.js";
|
|
19
19
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-CWXemmtw.js";
|
|
20
|
-
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-
|
|
20
|
+
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-CFM26aUm.js";
|
|
21
21
|
import path from "node:path";
|
|
22
|
-
import
|
|
22
|
+
import fs from "node:fs/promises";
|
|
23
23
|
|
|
24
24
|
//#region src/commands/agents.command-shared.ts
|
|
25
25
|
function createQuietRuntime(runtime) {
|
|
@@ -266,7 +266,7 @@ async function agentsUnbindCommand(opts, runtime = defaultRuntime) {
|
|
|
266
266
|
//#region src/commands/agents.commands.add.ts
|
|
267
267
|
async function fileExists(pathname) {
|
|
268
268
|
try {
|
|
269
|
-
await
|
|
269
|
+
await fs.stat(pathname);
|
|
270
270
|
return true;
|
|
271
271
|
} catch {
|
|
272
272
|
return false;
|
|
@@ -408,8 +408,8 @@ async function agentsAddCommand(opts, runtime = defaultRuntime, params) {
|
|
|
408
408
|
message: `Copy auth profiles from "${defaultAgentId}"?`,
|
|
409
409
|
initialValue: false
|
|
410
410
|
})) {
|
|
411
|
-
await
|
|
412
|
-
await
|
|
411
|
+
await fs.mkdir(path.dirname(destAuthPath), { recursive: true });
|
|
412
|
+
await fs.copyFile(sourceAuthPath, destAuthPath);
|
|
413
413
|
await prompter.note(`Copied auth profiles from "${defaultAgentId}".`, "Auth profiles");
|
|
414
414
|
}
|
|
415
415
|
}
|
|
@@ -557,7 +557,7 @@ const coerceTrimmed = (value) => {
|
|
|
557
557
|
};
|
|
558
558
|
async function loadIdentityFromFile(filePath) {
|
|
559
559
|
try {
|
|
560
|
-
const parsed = parseIdentityMarkdown(await
|
|
560
|
+
const parsed = parseIdentityMarkdown(await fs.readFile(filePath, "utf-8"));
|
|
561
561
|
if (!identityHasValues(parsed)) return null;
|
|
562
562
|
return parsed;
|
|
563
563
|
} catch {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as resolveAgentDir, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
1
|
+
import { a as resolveAgentDir, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-Dany4R2i.js";
|
|
2
2
|
import { c as normalizeAgentId } from "./session-key-9-yI-GU_.js";
|
|
3
|
-
import { H as loadAgentIdentityFromWorkspace, V as identityHasValues } from "./subagent-registry-
|
|
3
|
+
import { H as loadAgentIdentityFromWorkspace, V as identityHasValues } from "./subagent-registry-CpETNYCn.js";
|
|
4
4
|
|
|
5
5
|
//#region src/commands/agents.config.ts
|
|
6
6
|
function findAgentEntryIndex(list, agentId) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { E as logVerbose, k as shouldLogVerbose } from "./entry.js";
|
|
2
|
-
import "./auth-profiles-
|
|
3
|
-
import "./agent-scope-
|
|
2
|
+
import "./auth-profiles-Ckp5jw_h.js";
|
|
3
|
+
import "./agent-scope-Dany4R2i.js";
|
|
4
4
|
import "./utils-hiIKrqOK.js";
|
|
5
|
-
import "./winclaw-root-
|
|
5
|
+
import "./winclaw-root-DEqOOeOw.js";
|
|
6
6
|
import "./logger-BcqRk323.js";
|
|
7
7
|
import "./exec-CaapFZaD.js";
|
|
8
8
|
import "./registry-BcRQUSsJ.js";
|
|
@@ -10,49 +10,49 @@ import "./github-copilot-token-DHTToceK.js";
|
|
|
10
10
|
import "./host-env-security-CIiLt2Mi.js";
|
|
11
11
|
import "./version-TiOyTfO4.js";
|
|
12
12
|
import "./env-vars-CE3cUIrz.js";
|
|
13
|
-
import "./manifest-registry-
|
|
14
|
-
import "./dock-
|
|
13
|
+
import "./manifest-registry-_liSV_Vx.js";
|
|
14
|
+
import "./dock-C-w5XvOS.js";
|
|
15
15
|
import "./frontmatter-BnXqzQr3.js";
|
|
16
|
-
import "./skills-
|
|
17
|
-
import "./path-alias-guards-
|
|
16
|
+
import "./skills-CFYm0xdh.js";
|
|
17
|
+
import "./path-alias-guards-BoydiaPL.js";
|
|
18
18
|
import "./message-channel-DINJBdD0.js";
|
|
19
|
-
import "./sessions-
|
|
20
|
-
import "./plugins-
|
|
21
|
-
import "./accounts-
|
|
22
|
-
import "./accounts-
|
|
19
|
+
import "./sessions-BFIOR30J.js";
|
|
20
|
+
import "./plugins-IFacUN_Q.js";
|
|
21
|
+
import "./accounts-BrWJjaKS.js";
|
|
22
|
+
import "./accounts-8qwgz384.js";
|
|
23
23
|
import "./logging-CFvkxgcX.js";
|
|
24
|
-
import "./accounts-
|
|
24
|
+
import "./accounts-BpS-Awr5.js";
|
|
25
25
|
import "./paths-ByCv35uy.js";
|
|
26
26
|
import "./chat-envelope-DDCB7eZC.js";
|
|
27
|
-
import "./net-
|
|
28
|
-
import "./tailnet-
|
|
29
|
-
import "./image-ops-
|
|
30
|
-
import "./pi-embedded-helpers-
|
|
31
|
-
import "./sandbox-
|
|
27
|
+
import "./net-Bj5kyhic.js";
|
|
28
|
+
import "./tailnet-D6miw7DJ.js";
|
|
29
|
+
import "./image-ops-DWGnyTvC.js";
|
|
30
|
+
import "./pi-embedded-helpers-5DVpps9M.js";
|
|
31
|
+
import "./sandbox-CBt528hA.js";
|
|
32
32
|
import "./tool-catalog-DN2kDDZk.js";
|
|
33
|
-
import "./chrome-
|
|
33
|
+
import "./chrome-MZdKzhd4.js";
|
|
34
34
|
import "./tailscale-CB_lUnsU.js";
|
|
35
|
-
import "./auth
|
|
36
|
-
import "./server-context-
|
|
37
|
-
import "./paths-
|
|
35
|
+
import "./auth-CnAV77Sn.js";
|
|
36
|
+
import "./server-context-05Fm5Kkz.js";
|
|
37
|
+
import "./paths-BVQ0udwc.js";
|
|
38
38
|
import "./redact-D1OBirZT.js";
|
|
39
39
|
import "./errors-Dt_4okVn.js";
|
|
40
|
-
import "./fs-safe-
|
|
41
|
-
import "./proxy-env-
|
|
42
|
-
import "./store-
|
|
43
|
-
import "./ports-
|
|
40
|
+
import "./fs-safe-B8J4dv27.js";
|
|
41
|
+
import "./proxy-env-C0nYsvsi.js";
|
|
42
|
+
import "./store-Dgl-neCe.js";
|
|
43
|
+
import "./ports-DqZBwUsy.js";
|
|
44
44
|
import "./trash-D9VuTy5D.js";
|
|
45
|
-
import "./server-middleware-
|
|
46
|
-
import "./tool-images-
|
|
45
|
+
import "./server-middleware-29IWly-I.js";
|
|
46
|
+
import "./tool-images-DbchBdq5.js";
|
|
47
47
|
import "./thinking-BxCyPtl0.js";
|
|
48
|
-
import "./models-config-
|
|
49
|
-
import "./model-catalog-
|
|
50
|
-
import "./fetch-
|
|
51
|
-
import { _ as isAudioAttachment, i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription } from "./audio-transcription-runner-
|
|
52
|
-
import "./fetch-guard-
|
|
53
|
-
import "./image-
|
|
48
|
+
import "./models-config-Dp2QIxnd.js";
|
|
49
|
+
import "./model-catalog-qN_RooIW.js";
|
|
50
|
+
import "./fetch-CVGiNhuf.js";
|
|
51
|
+
import { _ as isAudioAttachment, i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription } from "./audio-transcription-runner-CRSNM03k.js";
|
|
52
|
+
import "./fetch-guard-BdJ7lME2.js";
|
|
53
|
+
import "./image-COh2_3E2.js";
|
|
54
54
|
import "./tool-display-DRwMjyJE.js";
|
|
55
|
-
import "./api-key-rotation-
|
|
55
|
+
import "./api-key-rotation-DX8FQ-la.js";
|
|
56
56
|
import "./proxy-fetch-BqEHARvZ.js";
|
|
57
57
|
|
|
58
58
|
//#region src/media-understanding/audio-preflight.ts
|
package/dist/{audio-transcription-runner-UjPRrQgJ.js → audio-transcription-runner-CRSNM03k.js}
RENAMED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { E as logVerbose, k as shouldLogVerbose, st as resolvePreferredWinClawTmpDir } from "./entry.js";
|
|
2
|
-
import { $ as mergeInboundPathRoots, Cr as normalizeProviderId, Hr as normalizeGoogleModelId, Q as isInboundPathAllowed, Z as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, et as resolveIMessageAttachmentRoots, hi as resolveApiKeyForProvider, mi as requireApiKey } from "./auth-profiles-
|
|
3
|
-
import { M as resolveAgentModelFallbackValues, N as resolveAgentModelPrimaryValue } from "./agent-scope-
|
|
2
|
+
import { $ as mergeInboundPathRoots, Cr as normalizeProviderId, Hr as normalizeGoogleModelId, Q as isInboundPathAllowed, Z as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, et as resolveIMessageAttachmentRoots, hi as resolveApiKeyForProvider, mi as requireApiKey } from "./auth-profiles-Ckp5jw_h.js";
|
|
3
|
+
import { M as resolveAgentModelFallbackValues, N as resolveAgentModelPrimaryValue } from "./agent-scope-Dany4R2i.js";
|
|
4
4
|
import { n as runExec } from "./exec-CaapFZaD.js";
|
|
5
|
-
import { j as normalizeChatType } from "./plugins-
|
|
6
|
-
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-
|
|
5
|
+
import { j as normalizeChatType } from "./plugins-IFacUN_Q.js";
|
|
6
|
+
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-DWGnyTvC.js";
|
|
7
7
|
import { i as formatUncaughtError, n as extractErrorCode, s as readErrorName, t as collectErrorGraphCandidates } from "./errors-Dt_4okVn.js";
|
|
8
|
-
import { n as loadModelCatalog, r as modelSupportsVision, t as findModelInCatalog } from "./model-catalog-
|
|
9
|
-
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia, t as MediaFetchError } from "./fetch-
|
|
8
|
+
import { n as loadModelCatalog, r as modelSupportsVision, t as findModelInCatalog } from "./model-catalog-qN_RooIW.js";
|
|
9
|
+
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia, t as MediaFetchError } from "./fetch-CVGiNhuf.js";
|
|
10
10
|
import { n as fetchWithTimeout } from "./fetch-timeout-B3GDS_vc.js";
|
|
11
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
12
|
-
import { t as describeImageWithModel } from "./image-
|
|
13
|
-
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
11
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-BdJ7lME2.js";
|
|
12
|
+
import { t as describeImageWithModel } from "./image-COh2_3E2.js";
|
|
13
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-DX8FQ-la.js";
|
|
14
14
|
import { n as resolveProxyFetchFromEnv } from "./proxy-fetch-BqEHARvZ.js";
|
|
15
15
|
import process$1 from "node:process";
|
|
16
16
|
import { fileURLToPath } from "node:url";
|
|
17
17
|
import os from "node:os";
|
|
18
18
|
import path from "node:path";
|
|
19
19
|
import { constants } from "node:fs";
|
|
20
|
-
import
|
|
20
|
+
import fs$1 from "node:fs/promises";
|
|
21
21
|
import crypto from "node:crypto";
|
|
22
22
|
|
|
23
23
|
//#region src/media-understanding/attachments.normalize.ts
|
|
@@ -426,7 +426,7 @@ var MediaAttachmentCache = class {
|
|
|
426
426
|
const size = await this.ensureLocalStat(entry);
|
|
427
427
|
if (entry.resolvedPath) {
|
|
428
428
|
if (size !== void 0 && size > params.maxBytes) throw new MediaUnderstandingSkipError("maxBytes", `Attachment ${params.attachmentIndex + 1} exceeds maxBytes ${params.maxBytes}`);
|
|
429
|
-
const buffer = await
|
|
429
|
+
const buffer = await fs$1.readFile(entry.resolvedPath);
|
|
430
430
|
entry.buffer = buffer;
|
|
431
431
|
entry.bufferMime = entry.bufferMime ?? entry.attachment.mime ?? await detectMime({
|
|
432
432
|
buffer,
|
|
@@ -496,10 +496,10 @@ var MediaAttachmentCache = class {
|
|
|
496
496
|
prefix: "winclaw-media",
|
|
497
497
|
extension: path.extname(bufferResult.fileName || "") || ""
|
|
498
498
|
});
|
|
499
|
-
await
|
|
499
|
+
await fs$1.writeFile(tmpPath, bufferResult.buffer);
|
|
500
500
|
entry.tempPath = tmpPath;
|
|
501
501
|
entry.tempCleanup = async () => {
|
|
502
|
-
await
|
|
502
|
+
await fs$1.unlink(tmpPath).catch(() => {});
|
|
503
503
|
};
|
|
504
504
|
return {
|
|
505
505
|
path: tmpPath,
|
|
@@ -546,12 +546,12 @@ var MediaAttachmentCache = class {
|
|
|
546
546
|
if (entry.statSize !== void 0) return entry.statSize;
|
|
547
547
|
try {
|
|
548
548
|
const currentPath = entry.resolvedPath;
|
|
549
|
-
const stat = await
|
|
549
|
+
const stat = await fs$1.stat(currentPath);
|
|
550
550
|
if (!stat.isFile()) {
|
|
551
551
|
entry.resolvedPath = void 0;
|
|
552
552
|
return;
|
|
553
553
|
}
|
|
554
|
-
const canonicalPath = await
|
|
554
|
+
const canonicalPath = await fs$1.realpath(currentPath).catch(() => currentPath);
|
|
555
555
|
if (!isInboundPathAllowed({
|
|
556
556
|
filePath: canonicalPath,
|
|
557
557
|
roots: await this.getCanonicalLocalPathRoots()
|
|
@@ -573,7 +573,7 @@ var MediaAttachmentCache = class {
|
|
|
573
573
|
if (this.canonicalLocalPathRoots) return await this.canonicalLocalPathRoots;
|
|
574
574
|
this.canonicalLocalPathRoots = (async () => mergeInboundPathRoots(this.localPathRoots, await Promise.all(this.localPathRoots.map(async (root) => {
|
|
575
575
|
if (root.includes("*")) return root;
|
|
576
|
-
return await
|
|
576
|
+
return await fs$1.realpath(root).catch(() => root);
|
|
577
577
|
}))))();
|
|
578
578
|
return await this.canonicalLocalPathRoots;
|
|
579
579
|
}
|
|
@@ -646,7 +646,7 @@ const MIN_AUDIO_FILE_BYTES = 1024;
|
|
|
646
646
|
async function fileExists(filePath) {
|
|
647
647
|
if (!filePath) return false;
|
|
648
648
|
try {
|
|
649
|
-
await
|
|
649
|
+
await fs$1.stat(filePath);
|
|
650
650
|
return true;
|
|
651
651
|
} catch {
|
|
652
652
|
return false;
|
|
@@ -1237,7 +1237,7 @@ async function resolveCliOutput(params) {
|
|
|
1237
1237
|
const commandId = commandBase(params.command);
|
|
1238
1238
|
const fileOutput = commandId === "whisper-cli" ? resolveWhisperCppOutputPath(params.args) : commandId === "whisper" ? resolveWhisperOutputPath(params.args, params.mediaPath) : commandId === "parakeet-mlx" ? resolveParakeetOutputPath(params.args, params.mediaPath) : null;
|
|
1239
1239
|
if (fileOutput && await fileExists(fileOutput)) try {
|
|
1240
|
-
const content = await
|
|
1240
|
+
const content = await fs$1.readFile(fileOutput, "utf8");
|
|
1241
1241
|
if (content.trim()) return content.trim();
|
|
1242
1242
|
} catch {}
|
|
1243
1243
|
if (commandId === "gemini") {
|
|
@@ -1546,10 +1546,10 @@ async function runCliEntry(params) {
|
|
|
1546
1546
|
timeoutMs
|
|
1547
1547
|
});
|
|
1548
1548
|
if (capability === "audio") assertMinAudioSize({
|
|
1549
|
-
size: (await
|
|
1549
|
+
size: (await fs$1.stat(pathResult.path)).size,
|
|
1550
1550
|
attachmentIndex: params.attachmentIndex
|
|
1551
1551
|
});
|
|
1552
|
-
const outputDir = await
|
|
1552
|
+
const outputDir = await fs$1.mkdtemp(path.join(resolvePreferredWinClawTmpDir(), "winclaw-media-cli-"));
|
|
1553
1553
|
const mediaPath = pathResult.path;
|
|
1554
1554
|
const outputBase = path.join(outputDir, path.parse(mediaPath).name);
|
|
1555
1555
|
const templCtx = {
|
|
@@ -1583,7 +1583,7 @@ async function runCliEntry(params) {
|
|
|
1583
1583
|
model: command
|
|
1584
1584
|
};
|
|
1585
1585
|
} finally {
|
|
1586
|
-
await
|
|
1586
|
+
await fs$1.rm(outputDir, {
|
|
1587
1587
|
recursive: true,
|
|
1588
1588
|
force: true
|
|
1589
1589
|
}).catch(() => {});
|
|
@@ -1627,9 +1627,9 @@ function candidateBinaryNames(name) {
|
|
|
1627
1627
|
}
|
|
1628
1628
|
async function isExecutable(filePath) {
|
|
1629
1629
|
try {
|
|
1630
|
-
if (!(await
|
|
1630
|
+
if (!(await fs$1.stat(filePath)).isFile()) return false;
|
|
1631
1631
|
if (process.platform === "win32") return true;
|
|
1632
|
-
await
|
|
1632
|
+
await fs$1.access(filePath, constants.X_OK);
|
|
1633
1633
|
return true;
|
|
1634
1634
|
} catch {
|
|
1635
1635
|
return false;
|