winclaw 2026.3.12 → 2026.3.15
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-BpS-Awr5.js → accounts-CLKFSM00.js} +1 -1
- package/dist/{accounts-8qwgz384.js → accounts-CTJXIABG.js} +1 -1
- package/dist/{accounts-BrWJjaKS.js → accounts-cYG8442L.js} +7 -7
- package/dist/{acp-cli-DBoC6X96.js → acp-cli-q4lKOlWJ.js} +8 -8
- package/dist/{agent-scope-Dany4R2i.js → agent-scope-D-i-vMLS.js} +17 -17
- package/dist/{agents-CZ9EnI6X.js → agents-Cbf-w2_h.js} +14 -14
- package/dist/{agents.config-ra1Ycszh.js → agents.config-B_E6m1zs.js} +2 -2
- package/dist/{agents.config-B4O_2o_a.js → agents.config-D7yKlhU5.js} +1 -1
- package/dist/{api-key-rotation-COlWX5xV.js → api-key-rotation-DDpdEnHx.js} +1 -1
- package/dist/{audio-preflight-C0hI7fuN.js → audio-preflight-2AZCYWkR.js} +34 -34
- package/dist/{audio-preflight-BclderEZ.js → audio-preflight-Cxi7gXH7.js} +4 -4
- package/dist/{audio-preflight-RMA8lJWc.js → audio-preflight-oVfaT9Bx.js} +4 -4
- package/dist/{audio-transcription-runner-lNkB0JzW.js → audio-transcription-runner-BTjpXrBt.js} +1 -1
- package/dist/{audio-transcription-runner-LSF_Wazz.js → audio-transcription-runner-CkubBRX1.js} +1 -1
- package/dist/{audio-transcription-runner-DSWRvOnM.js → audio-transcription-runner-Dmv-26kb.js} +23 -23
- package/dist/{audit-DJqypeyW.js → audit-0kNikyjm.js} +29 -29
- package/dist/{auth-tmUljueS.js → auth-6aaArIvo.js} +1 -1
- package/dist/{auth-choice-CV1fuI7h.js → auth-choice-C7kTVPYE.js} +1 -1
- package/dist/{auth-choice-DvlzSy1Y.js → auth-choice-E6qbBevP.js} +11 -11
- package/dist/{auth-choice-BpJZYr02.js → auth-choice-gFpGSkUI.js} +13 -13
- package/dist/{auth-choice.apply-helpers-BrIqnyRg.js → auth-choice.apply-helpers-DnDAhPph.js} +1 -1
- package/dist/{auth-profiles-BtnrEnsC.js → auth-profiles-XtJsyFcj.js} +16 -16
- package/dist/{auth-token-BA0-buXD.js → auth-token-VBeIjg4U.js} +1 -1
- package/dist/{banner-1UJxPTgg.js → banner-DeJh7QvO.js} +2 -2
- package/dist/{bonjour-discovery-BBcIsMWi.js → bonjour-discovery-CuFr5od0.js} +1 -1
- package/dist/{browser-cli-CbbJJLfG.js → browser-cli-mAYeasG3.js} +12 -12
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +10 -10
- package/dist/bundled/session-memory/handler.js +10 -10
- package/dist/{call-ADUwSew_.js → call-DhVOwYWs.js} +10 -10
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-D4Yftz20.js → channel-account-context-B4ofKr9t.js} +5 -5
- package/dist/{channel-activity-D-FnMO6l.js → channel-activity-D3B4Qhfi.js} +1 -1
- package/dist/{channel-options-Db6lPuCv.js → channel-options-C8vyeWFo.js} +1 -1
- package/dist/{channel-options-K5QePnER.js → channel-options-DoTPAfWy.js} +3 -3
- package/dist/{channel-selection-Bke39fer.js → channel-selection-5G2iw3CB.js} +1 -1
- package/dist/{channel-web-BSwJxNj_.js → channel-web-B155bEI2.js} +17 -17
- package/dist/{channel-web-DMXlk45S.js → channel-web-B_o_end5.js} +1 -1
- package/dist/{channels-cli-ZUqz3XEz.js → channels-cli-CNfjAjJ9.js} +8 -8
- package/dist/{channels-cli-C6PTUgp2.js → channels-cli-ONGXlSs-.js} +93 -93
- package/dist/{channels-status-issues-wCgCdUDu.js → channels-status-issues-DpfEWI4l.js} +1 -1
- package/dist/{chrome-DIA6FPtE.js → chrome-CVi__0KV.js} +4 -4
- package/dist/{clawbot-cli-DmLyfpDc.js → clawbot-cli-eOtq0zLu.js} +11 -11
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-NZeJG7LZ.js → cli-6nEQC11M.js} +3 -3
- package/dist/cli-Dp__NIBs.js +154 -0
- package/dist/{client-x8ceTXms.js → client-BbQ5mrfR.js} +2 -2
- package/dist/{command-registry-RttkxCq3.js → command-registry-P1HYEntF.js} +11 -11
- package/dist/{command-secret-targets-DxGaJMvx.js → command-secret-targets--y7p-nv9.js} +4 -4
- package/dist/{commands-DmBkhPD-.js → commands-4mnxaSoA.js} +1 -1
- package/dist/{commands-registry-CCmLc_Gf.js → commands-registry-DNmQR4ut.js} +3 -3
- package/dist/{completion-cli-DAaGbO-C.js → completion-cli-4VLlQgUo.js} +13 -13
- package/dist/{completion-cli-B9qQspuo.js → completion-cli-Cem209iw.js} +1 -1
- package/dist/{config-cli-WoM-Zcr1.js → config-cli-Bd6JZBiY.js} +7 -7
- package/dist/{config-cli-BWdxw3NU.js → config-cli-DvjgV63d.js} +1 -1
- package/dist/{config-guard-DLZ2bD1-.js → config-guard-DpQIEiV7.js} +3 -3
- package/dist/{config-validation-CtkU0ZPI.js → config-validation-CPwnaD72.js} +3 -3
- package/dist/{configure-CKf0Wl0W.js → configure-DZ0agRzg.js} +3 -3
- package/dist/{configure-CGTcdCDX.js → configure-eJjhwGf5.js} +17 -17
- package/dist/{control-ui-assets-5F0FEjfM.js → control-ui-assets-B0DdamQU.js} +1 -1
- package/dist/{cron-cli-CAMwh1lZ.js → cron-cli-CrLL-C0A.js} +11 -11
- package/dist/{daemon-cli-78mgUuD3.js → daemon-cli-DidxX-Dy.js} +16 -16
- package/dist/{daemon-install-DNhR8NtL.js → daemon-install-C029NlXk.js} +4 -4
- package/dist/{daemon-install-helpers-DWmF3oFP.js → daemon-install-helpers-D1YQ03lO.js} +11 -11
- package/dist/{deliver-BiibnCQy.js → deliver-BFI-8Ery.js} +2 -2
- package/dist/{deliver-DgGOu4mC.js → deliver-D_rNGzWF.js} +7 -7
- package/dist/{deliver-4lM4LEUV.js → deliver-OALh_MdB.js} +2 -2
- package/dist/deliver-runtime-B4cUWZi9.js +57 -0
- package/dist/{deliver-runtime-BglcJ_q4.js → deliver-runtime-Ce1-SXBK.js} +5 -5
- package/dist/{deliver-runtime-Dp6gnulj.js → deliver-runtime-eAi1JsOy.js} +5 -5
- package/dist/deps-send-discord.runtime-DfLf8IpX.js +32 -0
- package/dist/deps-send-imessage.runtime-D-kudl2R.js +31 -0
- package/dist/{deps-send-imessage.runtime-Cu1fB7Xa.js → deps-send-imessage.runtime-DKh981EI.js} +3 -3
- package/dist/{deps-send-imessage.runtime-DUJL-IYx.js → deps-send-imessage.runtime-Dy4myRJG.js} +3 -3
- package/dist/deps-send-signal.runtime-B3xXZ4S_.js +30 -0
- package/dist/{deps-send-signal.runtime-EQTdYN40.js → deps-send-signal.runtime-CMX1uB1a.js} +3 -3
- package/dist/{deps-send-signal.runtime-CzJRMEK3.js → deps-send-signal.runtime-Cg4uZjbu.js} +3 -3
- package/dist/deps-send-slack.runtime-BYYpgQVc.js +28 -0
- package/dist/deps-send-telegram.runtime-DLh7A_pT.js +34 -0
- package/dist/{deps-send-whatsapp.runtime-Yaj6wKHp.js → deps-send-whatsapp.runtime-C8BUEUwt.js} +11 -11
- package/dist/{deps-send-whatsapp.runtime-BLtjnvBq.js → deps-send-whatsapp.runtime-Duramvln.js} +11 -11
- package/dist/deps-send-whatsapp.runtime-ErybECA7.js +115 -0
- package/dist/{deps-send-whatsapp.runtime-D_n5NrZc.js → deps-send-whatsapp.runtime-HeQ9ZkPD.js} +5 -5
- package/dist/{devices-cli-DoAmEzhq.js → devices-cli-CLUEE469.js} +8 -8
- package/dist/{diagnostic-CxwvH_jl.js → diagnostic-D4cSSBxV.js} +1 -1
- package/dist/{diagnostics-BDjbQJxP.js → diagnostics-KfpqzhsS.js} +5 -5
- package/dist/{directory-cli-DtcHTarX.js → directory-cli-CqfH6Dz5.js} +7 -7
- package/dist/{dns-cli-emOunegL.js → dns-cli-B37Deo3-.js} +5 -5
- package/dist/{dock-C-w5XvOS.js → dock-ClcGZ0LV.js} +4 -4
- package/dist/{docs-cli-BRob5CHm.js → docs-cli-DkQBHXw-.js} +4 -4
- package/dist/{doctor-completion-Cocd-Yih.js → doctor-completion-B9XmvQLb.js} +1 -1
- package/dist/{doctor-completion-BbOYJWep.js → doctor-completion-XR8JJ0fa.js} +2 -2
- package/dist/{doctor-config-flow-BXNClLAj.js → doctor-config-flow-xBJrghT_.js} +15 -15
- package/dist/{enable-D88qyTOF.js → enable--WiI85hj.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{exec-approvals-allowlist-DyGgW_Mh.js → exec-approvals-allowlist-COm_Ai6B.js} +1 -1
- package/dist/{exec-approvals-cli-B-nP_o6i.js → exec-approvals-cli-CcwEKqUZ.js} +16 -16
- package/dist/{exec-safe-bin-runtime-policy-BN50IFZd.js → exec-safe-bin-runtime-policy-CRJwpouq.js} +2 -2
- package/dist/extensionAPI.js +10 -10
- package/dist/{fetch-ByGeCAUQ.js → fetch-OAm786_R.js} +3 -3
- package/dist/{fetch-guard-DpDUCHar.js → fetch-guard-CGxHoLt6.js} +1 -1
- package/dist/{fs-safe-B8J4dv27.js → fs-safe-Dha0DfFC.js} +24 -24
- package/dist/{gateway-cli-9KFOMeyy.js → gateway-cli-B9A6VubN.js} +427 -731
- package/dist/{gateway-cli-BICW2EaZ.js → gateway-cli-BkZJsayo.js} +571 -875
- package/dist/{gateway-rpc-Ctq4-KlA.js → gateway-rpc-CICGU-ir.js} +1 -1
- package/dist/{health-C20kjADO.js → health-C2CEsWfL.js} +205 -3
- package/dist/{health-C5wxfevj.js → health-CgAhfLu9.js} +215 -13
- package/dist/{hooks-cli-D4velKe6.js → hooks-cli-CX0aLklA.js} +81 -81
- package/dist/{hooks-cli-CmVL45ev.js → hooks-cli-KyLXWKdL.js} +4 -4
- package/dist/{hooks-status-CQjtRM1s.js → hooks-status-Cjg5SLpX.js} +1 -1
- package/dist/{image-BSTHHRW7.js → image-BbsK5vbr.js} +5 -5
- package/dist/{image-BnP1ywga.js → image-D7Vmv3wk.js} +1 -1
- package/dist/{image-RdDJoTcH.js → image-DKRWeWXr.js} +1 -1
- package/dist/{image-ops-DWGnyTvC.js → image-ops-eFMqXMDE.js} +10 -10
- package/dist/{image-runtime-iOSZOVFV.js → image-runtime-C1SNH8wd.js} +3 -3
- package/dist/image-runtime-D6K5NHbM.js +51 -0
- package/dist/{image-runtime-DdIbl_EB.js → image-runtime-Dp3hWZ72.js} +3 -3
- package/dist/index.js +8 -8
- package/dist/{inspect-DbVcDDi7.js → inspect-XmcWN97u.js} +4 -4
- package/dist/{install-safe-path-FR9r9Dmi.js → install-safe-path-DNotGe9T.js} +25 -25
- package/dist/{installs-7zsfIb7P.js → installs-zKF10nZF.js} +9 -9
- package/dist/{ipv4-CD9yG34d.js → ipv4-BfiNowOk.js} +1 -1
- package/dist/{ir-gK8FkZAn.js → ir-DO2VI4-t.js} +8 -8
- package/dist/{issue-format-CAPupsDW.js → issue-format-D9VkhWd_.js} +1 -1
- package/dist/{json-files-D9ZHO8Ud.js → json-files-kWpauJWO.js} +8 -8
- package/dist/{lifecycle-core-CkWMxBwJ.js → lifecycle-core-CNWxZiA_.js} +5 -5
- package/dist/llm-slug-generator.js +10 -10
- package/dist/{login-CvVrY6dI.js → login-C2-sJ0dK.js} +3 -3
- package/dist/{login-qr-CzY9FoD2.js → login-qr-DKW9dKel.js} +6 -6
- package/dist/{logs-cli-hJj9OS44.js → logs-cli-ghpQwMDa.js} +9 -9
- package/dist/{manager-BKEMO4m6.js → manager-CIrONSn8.js} +17 -16
- package/dist/{manager-B_2nocet.js → manager-CMmI0Vap.js} +3 -2
- package/dist/{manager-CXprj3gk.js → manager-DEw2jtWJ.js} +3 -2
- package/dist/{manager-C4Hwl3hI.js → manager-DfJPf1K0.js} +3 -2
- package/dist/{manager-runtime-DkGJSRFy.js → manager-runtime-CRQJlU8h.js} +1 -1
- package/dist/{manager-runtime-8RlbX7to.js → manager-runtime-D8CEDkJG.js} +1 -1
- package/dist/manager-runtime-DaL0H8ye.js +22 -0
- package/dist/{manager-runtime-BGJ8A19v.js → manager-runtime-ViS_te3Y.js} +1 -1
- package/dist/{manifest-registry-_liSV_Vx.js → manifest-registry-CI-UuKUO.js} +1 -1
- package/dist/{memory-cli-C3o6J9vi.js → memory-cli-d8mcvMta.js} +12 -12
- package/dist/{memory-cli-m4VH5F0q.js → memory-cli-rrusLdU-.js} +1 -1
- package/dist/{model-CBmfxzoX.js → model-BC_P3iUe.js} +2 -2
- package/dist/{model-catalog-wL7Fmuyw.js → model-catalog-BS3HrmQW.js} +3 -3
- package/dist/{model-picker-CK9R44fj.js → model-picker-B8MZqRTw.js} +4 -4
- package/dist/{models-D01Mqpvr.js → models-CD8hfL8I.js} +17 -17
- package/dist/{models-cli-C5lQcqnF.js → models-cli-BM4964G2.js} +4 -4
- package/dist/{models-cli-BHpqUWF7.js → models-cli-lknCrxcc.js} +78 -78
- package/dist/{models-config-B9e6v9_0.js → models-config-CLym-yWk.js} +6 -6
- package/dist/{net-DnFB0iPN.js → net-nYy_THRe.js} +2 -2
- package/dist/{node-cli-B8j_nfiQ.js → node-cli-DwjWBsC_.js} +33 -33
- package/dist/{node-command-policy-tl9YSCy0.js → node-command-policy-BNUcyKDy.js} +1 -1
- package/dist/{node-service-L9-L8-7x.js → node-service-CLtiUeNO.js} +1 -1
- package/dist/{nodes-cli-6wDPpl-N.js → nodes-cli-Bx4SLgJl.js} +16 -16
- package/dist/{nodes-screen-Del2PVke.js → nodes-screen-CAbaoAzd.js} +7 -7
- package/dist/{npm-pack-install-B3VCcNWC.js → npm-pack-install-DZvYhRnM.js} +18 -18
- package/dist/{npm-resolution-C3sa3gbA.js → npm-resolution-Bs06SEPj.js} +1 -1
- package/dist/{npm-resolution-BAQdqkpC.js → npm-resolution-CInJWIhX.js} +4 -4
- package/dist/{onboard-rjuqpzfp.js → onboard-CfU4HU9J.js} +2 -2
- package/dist/{onboard-B3gpCHx-.js → onboard-DnNssWON.js} +6 -6
- package/dist/{onboard-channels-D3HYYxBk.js → onboard-channels-CC6fx4lc.js} +1 -1
- package/dist/{onboard-channels-DaZnCIWX.js → onboard-channels-DPaipre6.js} +21 -21
- package/dist/{onboard-custom-DmZjz9Ej.js → onboard-custom-C_IS8jOX.js} +4 -4
- package/dist/{onboard-helpers-BedD4GFN.js → onboard-helpers-DWP1dUXM.js} +10 -10
- package/dist/{onboard-hooks-DRkLf5gL.js → onboard-hooks-BTD0YhRI.js} +4 -4
- package/dist/{onboard-remote-law7LXnp.js → onboard-remote-DUx9RUv_.js} +4 -4
- package/dist/{onboard-skills-DPAJb5Js.js → onboard-skills-ChLct8eV.js} +4 -4
- package/dist/{onboarding-ILDCIAWM.js → onboarding-C1z4ftSc.js} +14 -14
- package/dist/{onboarding-BQ60NFwZ.js → onboarding-CNyybX-i.js} +3 -3
- package/dist/{onboarding.finalize-CFUunMVX.js → onboarding.finalize-C215t_hT.js} +7 -7
- package/dist/{onboarding.finalize-B0qe_M7z.js → onboarding.finalize-DhaXA15v.js} +87 -87
- package/dist/{onboarding.gateway-config-yX1sxRGa.js → onboarding.gateway-config-B7CROYHu.js} +18 -18
- package/dist/{onboarding.secret-input-CZxdYpso.js → onboarding.secret-input-Ci6DQzLH.js} +1 -1
- package/dist/{openai-model-default-EfApqllI.js → openai-model-default-CMX0Vm7-.js} +2 -2
- package/dist/{outbound-attachment-BSimBs5O.js → outbound-attachment-PNZruH8m.js} +2 -2
- package/dist/{outbound-attachment-SjAnCtey.js → outbound-attachment-Rd4euDWA.js} +1 -1
- package/dist/{outbound-attachment-CFX58MfP.js → outbound-attachment-_AQjy6qx.js} +1 -1
- package/dist/{outbound-BNngJM5v.js → outbound-iOx9I83E.js} +3 -3
- package/dist/{pairing-cli-DgKVbrmH.js → pairing-cli-S9Io7YEI.js} +8 -8
- package/dist/{pairing-labels-DGg1vapr.js → pairing-labels-ww1HJg76.js} +1 -1
- package/dist/{pairing-store-DgdVTI6S.js → pairing-store-CR_coUc1.js} +3 -3
- package/dist/{path-alias-guards-BoydiaPL.js → path-alias-guards-9OJ1UBCd.js} +3 -3
- package/dist/{path-safety-CSCsbd-j.js → path-safety-Cq9rwfZN.js} +1 -1
- package/dist/{paths-BVQ0udwc.js → paths-C5mR1YC-.js} +9 -9
- package/dist/{pi-embedded-Ddbv5mh8.js → pi-embedded-BlbaoDJf.js} +1178 -28
- package/dist/{pi-embedded-BI5PGq8X.js → pi-embedded-C62gvNnP.js} +1178 -28
- package/dist/{pi-embedded-helpers-DL-pVvxz.js → pi-embedded-helpers-CeWNp_c7.js} +1 -1
- package/dist/{pi-embedded-helpers-hxuKd_Ww.js → pi-embedded-helpers-DD0S-J45.js} +1 -1
- package/dist/{pi-embedded-helpers-CtLFKwnA.js → pi-embedded-helpers-qjxDOtYe.js} +6 -6
- package/dist/{pi-model-discovery-n5IMLIJx.js → pi-model-discovery-B25GKa-H.js} +1 -1
- package/dist/{pi-model-discovery-runtime-BpLiIlxR.js → pi-model-discovery-runtime-CnC4uldB.js} +5 -5
- package/dist/{pi-tools.before-tool-call.runtime-C_3o3Mza.js → pi-tools.before-tool-call.runtime-CTT6O6y6.js} +5 -5
- package/dist/{pi-tools.policy-BMV-im3g.js → pi-tools.policy-D8_cGRXz.js} +5 -5
- package/dist/{plugin-auto-enable-DvIEQXlW.js → plugin-auto-enable-BkOoBTLN.js} +3 -3
- package/dist/{plugin-registry-DeHIfTEF.js → plugin-registry-DIlfRLRK.js} +1 -1
- package/dist/{plugin-registry-D8trEY-x.js → plugin-registry-g1cNEQ9P.js} +3 -3
- package/dist/plugin-sdk/agents/tools/grc-config-state.d.ts +10 -0
- package/dist/plugin-sdk/agents/tools/grc-task-accept-tool.d.ts +11 -0
- package/dist/plugin-sdk/agents/tools/grc-task-complete-tool.d.ts +11 -0
- package/dist/plugin-sdk/agents/tools/grc-task-reject-tool.d.ts +11 -0
- package/dist/plugin-sdk/agents/tools/grc-task-tool.d.ts +11 -0
- package/dist/plugin-sdk/agents/tools/grc-task-update-tool.d.ts +11 -0
- package/dist/plugin-sdk/{audio-preflight-DiwlJ8ni.js → audio-preflight-ebZDRCV4.js} +4 -4
- package/dist/plugin-sdk/{audio-transcription-runner-D-AL6pUQ.js → audio-transcription-runner-C76HsxVH.js} +1 -1
- package/dist/plugin-sdk/{channel-web-BbjaMnG_.js → channel-web-Br_BD39D.js} +4 -4
- package/dist/plugin-sdk/{channel-web-DKxjbUIU.js → channel-web-CcrVYCot.js} +1 -1
- package/dist/plugin-sdk/compat.js +3 -3
- package/dist/plugin-sdk/{deliver-DvjUa3ra.js → deliver-BTjGu7GR.js} +2 -2
- package/dist/plugin-sdk/{deliver-runtime-DzMuUY38.js → deliver-runtime-DUrdB0lR.js} +5 -5
- package/dist/plugin-sdk/{deps-send-imessage.runtime-CnS4C1ht.js → deps-send-imessage.runtime-D9PzFcCY.js} +3 -3
- package/dist/plugin-sdk/{deps-send-signal.runtime-DbY3C73o.js → deps-send-signal.runtime-DBNelCaf.js} +3 -3
- package/dist/plugin-sdk/{deps-send-whatsapp.runtime-B-FDkZOV.js → deps-send-whatsapp.runtime-BWFJ7oqn.js} +4 -4
- package/dist/plugin-sdk/{deps-send-whatsapp.runtime-BwJcZmwm.js → deps-send-whatsapp.runtime-BZuKfL6a.js} +12 -12
- package/dist/plugin-sdk/{image-DX3JeT0t.js → image-L-IpeiNd.js} +1 -1
- package/dist/plugin-sdk/{image-runtime-CpQk3_XF.js → image-runtime-BKfRK7OK.js} +3 -3
- package/dist/plugin-sdk/index.js +50 -50
- package/dist/plugin-sdk/infra/grc-client.d.ts +477 -0
- package/dist/plugin-sdk/infra/heartbeat-events-filter.d.ts +23 -0
- package/dist/plugin-sdk/infra/heartbeat-strategy-prompt.d.ts +13 -0
- package/dist/plugin-sdk/infra/task-event-cache.d.ts +32 -0
- package/dist/plugin-sdk/irc.js +2 -2
- package/dist/plugin-sdk/{manager-CBmJuxLl.js → manager-BtBuFfvo.js} +3 -2
- package/dist/plugin-sdk/{manager-BEOooIsZ.js → manager-D8J2qzuG.js} +3 -2
- package/dist/plugin-sdk/{manager-runtime-lskTu2EX.js → manager-runtime-B92UCk6i.js} +1 -1
- package/dist/plugin-sdk/{manager-runtime-BxjMibJJ.js → manager-runtime-DTCIBUbQ.js} +1 -1
- package/dist/plugin-sdk/mattermost.js +3 -3
- package/dist/plugin-sdk/{outbound-attachment-DO3X8ZYM.js → outbound-attachment-DtBqPkpI.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-Be_-28YD.js → pi-embedded-helpers-D41zMy0u.js} +1 -1
- package/dist/plugin-sdk/{reply-DPTZJCEq.js → reply-CelBHZfa.js} +1203 -53
- package/dist/plugin-sdk/{reply-D4kNH2jM.js → reply-Dvl5Dk3Z.js} +1189 -39
- package/dist/plugin-sdk/{send-a_iOza9r.js → send-D4TSGx68.js} +1 -1
- package/dist/plugin-sdk/{send-CWDzxx9H.js → send-D4p98tGp.js} +1 -1
- package/dist/plugin-sdk/{slash-dispatch.runtime-DJD76Xgj.js → slash-dispatch.runtime-AFgF3zYU.js} +10 -10
- package/dist/plugin-sdk/{slash-dispatch.runtime-DJHGjofy.js → slash-dispatch.runtime-BEGN4jP3.js} +2 -2
- package/dist/plugin-sdk/{store-QQ06vjF8.js → store-BpuA94Qe.js} +1 -0
- package/dist/plugin-sdk/{subagent-registry-runtime-DC6FBVxQ.js → subagent-registry-runtime-Bbvc7-qy.js} +2 -2
- package/dist/plugin-sdk/{subagent-registry-runtime-6OaWZD7A.js → subagent-registry-runtime-Icp30ci4.js} +10 -10
- package/dist/plugin-sdk/telegram.js +2 -2
- package/dist/plugin-sdk/tlon.js +2 -2
- package/dist/plugin-sdk/twitch.js +2 -2
- package/dist/plugin-sdk/{web-CJuiVOPM.js → web-8CzUGvFc.js} +3 -3
- package/dist/plugin-sdk/{web-CatF-JqU.js → web-BDLGnEGh.js} +11 -11
- package/dist/plugin-sdk/whatsapp.js +11 -11
- package/dist/plugin-sdk/zalo.js +2 -2
- package/dist/{plugins-IFacUN_Q.js → plugins-C1OgLvb4.js} +2 -2
- package/dist/{plugins-cli-CRMUoy8P.js → plugins-cli-BqWsvtms.js} +83 -83
- package/dist/{plugins-cli-DiOseFp0.js → plugins-cli-CA6z2S38.js} +4 -4
- package/dist/{ports-DqZBwUsy.js → ports-CfOim1GC.js} +2 -2
- package/dist/{ports-FLn4cVl7.js → ports-Dw-3Gxsb.js} +1 -1
- package/dist/{probe-UbC_oJBt.js → probe-DKwso6QU.js} +2 -2
- package/dist/{program-DjKYBs0z.js → program-BaeDyzhU.js} +81 -81
- package/dist/{program-context-BzPcHf4a.js → program-context-CFi_aDAo.js} +18 -18
- package/dist/{prompt-select-styled-08TbsvUW.js → prompt-select-styled-B_J8kIdj.js} +40 -40
- package/dist/{prompt-select-styled-qw0oVTQb.js → prompt-select-styled-DX34onmk.js} +6 -6
- package/dist/{provider-auth-helpers-kROQ05DE.js → provider-auth-helpers-BJaJbeAw.js} +1 -1
- package/dist/{provider-auth-helpers-DlaqPnYS.js → provider-auth-helpers-Y-r4hN6z.js} +5 -5
- package/dist/{proxy-env-CzsPNH8M.js → proxy-env-DClpl4VK.js} +1 -1
- package/dist/{push-apns-_KtBWt-N.js → push-apns-2B1AYveH.js} +1 -1
- package/dist/{push-apns-DCSiuSdN.js → push-apns-COAlviiP.js} +5 -5
- package/dist/{pw-ai-W9fITlAU.js → pw-ai-CjJ1EG45.js} +18 -18
- package/dist/{qmd-manager-COHJs6wn.js → qmd-manager-oU4X85hj.js} +20 -20
- package/dist/{qr-cli-wyNzKTwX.js → qr-cli-DHBjvs0y.js} +2 -2
- package/dist/{query-expansion-IQFdQdeu.js → query-expansion-Cja4xprw.js} +12 -12
- package/dist/{redact-snapshot-DrBYQzum.js → redact-snapshot-DkKLeZ70.js} +1 -1
- package/dist/{register.agent-BAOlhvAS.js → register.agent-DEa93To_.js} +94 -94
- package/dist/{register.agent-5Yy-dM-V.js → register.agent-DNhXkllk.js} +8 -8
- package/dist/register.configure-CrJW4Cgd.js +162 -0
- package/dist/{register.configure-CVFH75CY.js → register.configure-D9HfAzq3.js} +9 -9
- package/dist/{register.maintenance-DK3k4hUF.js → register.maintenance-CP6CSUg1.js} +95 -95
- package/dist/{register.maintenance-B0Jp2sM6.js → register.maintenance-t1Nfd4DR.js} +9 -9
- package/dist/{register.message-Dfu2nZ4N.js → register.message-BrmCSbig.js} +4 -4
- package/dist/{register.message-BecWx1vw.js → register.message-Ei7TeQB4.js} +74 -74
- package/dist/{register.onboard-DxZuIFa1.js → register.onboard-BffPTSsz.js} +2 -2
- package/dist/{register.onboard-D3DGKG9Z.js → register.onboard-DI_5Wgo-.js} +18 -18
- package/dist/{register.setup-BQGu5v65.js → register.setup--QUCdhP9.js} +21 -21
- package/dist/{register.setup-BB9b-477.js → register.setup-BOBzdYS2.js} +2 -2
- package/dist/{register.status-health-sessions-ZLNjRSn6.js → register.status-health-sessions-BCtMX2S0.js} +89 -89
- package/dist/{register.status-health-sessions-zCbbFzaZ.js → register.status-health-sessions-BowJCX5n.js} +5 -5
- package/dist/{register.subclis-DG5oQwUU.js → register.subclis-D6LuL-Uc.js} +31 -31
- package/dist/{reply-hf91y3ff.js → reply-C-O3JP-r.js} +1186 -36
- package/dist/{rpc-DiJDt_6C.js → rpc-DcQDva12.js} +1 -1
- package/dist/{run-main-CVowaWd_.js → run-main-DEaC72eh.js} +92 -92
- package/dist/{runtime-jan5SRZC.js → runtime-CWYsIa45.js} +3 -3
- package/dist/{runtime-config-collectors-JHdMgmPT.js → runtime-config-collectors-C6-pZzhk.js} +1 -1
- package/dist/{runtime-whatsapp-login.runtime-D7sG3y6c.js → runtime-whatsapp-login.runtime-BdJMbU8s.js} +7 -7
- package/dist/runtime-whatsapp-outbound.runtime-CWTmhzGJ.js +28 -0
- package/dist/{sandbox-cli--WTm-gC7.js → sandbox-cli-DdfjB8hu.js} +25 -25
- package/dist/{sandbox-C2r-cNcH.js → sandbox-qzkmikN3.js} +18 -18
- package/dist/{secrets-cli-C98Qe3He.js → secrets-cli-Vy9LLjUy.js} +11 -11
- package/dist/{security-cli-_yLhsRRd.js → security-cli-DIB5d-ki.js} +43 -43
- package/dist/{send-CbgKwFFy.js → send-BUj3vNCT.js} +11 -11
- package/dist/{send-DkC2CHuT.js → send-CQZBPI_J.js} +1 -1
- package/dist/{send-Dg7HAO58.js → send-Ci1Zs4_K.js} +1 -1
- package/dist/{send-DqLbtUJN.js → send-CqG9_5hT.js} +1 -1
- package/dist/{send-DSemvwCa.js → send-DuZ030B0.js} +1 -1
- package/dist/{send-DyYOgTwg.js → send-EmGRGsXC.js} +4 -4
- package/dist/{send-VbcZhqzJ.js → send-WIqtsLc_.js} +6 -6
- package/dist/{send--wsFTPwL.js → send-kOn-9DPd.js} +8 -8
- package/dist/{send-iyPhfbzG.js → send-uj_--Fqf.js} +5 -5
- package/dist/{server-BMN4YY4t.js → server-BDxh943H.js} +20 -20
- package/dist/{server-context-DjOPLTVJ.js → server-context-CPwptl6P.js} +12 -12
- package/dist/{server-lifecycle-CVGeN75H.js → server-lifecycle-janSrNQ3.js} +2 -2
- package/dist/{server-middleware-DMiIYk-g.js → server-middleware-B0ulP4Gq.js} +1 -1
- package/dist/{server-node-events-DRy1F5gx.js → server-node-events-BRXL_JVL.js} +4 -4
- package/dist/{server-node-events-DBepUiXx.js → server-node-events-C_FtJK-S.js} +74 -74
- package/dist/{service-B45ntxm9.js → service-Aratsspm.js} +15 -15
- package/dist/{session-BO7rj_9P.js → session-C4iQQHfw.js} +1 -1
- package/dist/{session-utils-vvHbLFIN.js → session-utils-DLAbSyDs.js} +6 -6
- package/dist/{sessions-DQnRvDi1.js → sessions--knbgdu4.js} +15 -15
- package/dist/{sessions-B2wikVA_.js → sessions-BNAJmQpD.js} +4 -4
- package/dist/{shared-BHqbe8TS.js → shared-BhvKKLRK.js} +3 -3
- package/dist/{shared-CpqkgNHp.js → shared-Cj-SPh02.js} +1 -1
- package/dist/{skill-commands-C8wv2X9o.js → skill-commands-CXXbf99W.js} +5 -5
- package/dist/{skill-scanner-DOOfjrYo.js → skill-scanner-DqqhF5of.js} +6 -6
- package/dist/{skills-CFYm0xdh.js → skills-BpN5EUZU.js} +3 -3
- package/dist/{skills-cli-LCbw2ARr.js → skills-cli-8I-aUsNB.js} +5 -5
- package/dist/{skills-install-CsiGxvfq.js → skills-install-DhHUFGxM.js} +6 -6
- package/dist/{skills-status-CmWpjTMz.js → skills-status-Bu28FGtt.js} +1 -1
- package/dist/{slash-commands.runtime-D1dSFyqz.js → slash-commands.runtime-DnvLv_4a.js} +11 -11
- package/dist/{slash-dispatch.runtime-CtZm5rvZ.js → slash-dispatch.runtime-9bcDIwYN.js} +3 -3
- package/dist/slash-dispatch.runtime-BOdyjkH1.js +110 -0
- package/dist/{slash-dispatch.runtime-B5LbBTlg.js → slash-dispatch.runtime-CUBnaqPW.js} +10 -10
- package/dist/{slash-dispatch.runtime-DDpl98_O.js → slash-dispatch.runtime-Cdhnjz7u.js} +10 -10
- package/dist/slash-skill-commands.runtime-BRr3e5Iv.js +29 -0
- package/dist/{status-DUhhLdcR.js → status-D1swPSdt.js} +28 -28
- package/dist/{status-BkajMcRQ.js → status-DlgS5VYe.js} +3 -3
- package/dist/{status.update-ZhDibzTU.js → status.update-CdaaXiD4.js} +2 -2
- package/dist/{store-BjjDRw7f.js → store-DqI-QKCG.js} +1 -0
- package/dist/{store-Dgl-neCe.js → store-LSg8jeyh.js} +5 -5
- package/dist/{store-D_xEREyD.js → store-M58mPHa-.js} +1 -0
- package/dist/{subagent-registry-D-A3F14f.js → subagent-registry-gM1R2MUW.js} +1307 -157
- package/dist/{subagent-registry-runtime-C0z0PvE5.js → subagent-registry-runtime-B9dTvW-D.js} +10 -10
- package/dist/subagent-registry-runtime-BfZMqEuU.js +110 -0
- package/dist/{subagent-registry-runtime-CqDgFywF.js → subagent-registry-runtime-CIVE37qL.js} +3 -3
- package/dist/{subagent-registry-runtime-4P2G-3Gy.js → subagent-registry-runtime-GQ5I_Kcp.js} +10 -10
- package/dist/{system-cli-CdiFI3N4.js → system-cli-GE7N18oB.js} +9 -9
- package/dist/{system-run-command-Dufpem0y.js → system-run-command-DeqDuJPw.js} +1 -1
- package/dist/{systemd-BNMfPHLS.js → systemd-CVY4-XuL.js} +9 -9
- package/dist/{systemd-hints-O9SJa5Ku.js → systemd-hints-GPX9Y1X7.js} +6 -6
- package/dist/{systemd-linger-CDgtOmPf.js → systemd-linger-CyioH9ho.js} +1 -1
- package/dist/{tables-BHPs3Qcy.js → tables-zv7qrwyB.js} +1 -1
- package/dist/{tailnet-B57rnKKD.js → tailnet-34wO8JfH.js} +1 -1
- package/dist/{plugin-sdk/target-errors-DHX90ooV.js → target-errors-HJQQHC3B.js} +4 -4
- package/dist/{tool-images-DbchBdq5.js → tool-images-Cp3hNFNZ.js} +1 -1
- package/dist/{tui-Caaa92iF.js → tui-BNd0JwSA.js} +6 -6
- package/dist/{tui-cli-XcdqFtpF.js → tui-cli-BXLZJ2U7.js} +32 -32
- package/dist/{update-cli-BIQhC5mY.js → update-cli-BHcZqD7J.js} +105 -105
- package/dist/{update-cli-DozsP5GJ.js → update-cli-BWV8z4tb.js} +9 -9
- package/dist/{update-runner-CCDInjSb.js → update-runner-CN5NF7G5.js} +1 -1
- package/dist/{update-runner-BTSE_pVt.js → update-runner-Dwr7ORT6.js} +16 -16
- package/dist/{update-DF240Zd0.js → update-u6OtnABh.js} +3 -3
- package/dist/{web-Dw5BFaiD.js → web-BvdBkalB.js} +4 -4
- package/dist/web-CCUPFBJ_.js +114 -0
- package/dist/{web-Ebf3KkK4.js → web-DApqUg-w.js} +10 -10
- package/dist/{web-DNpUD42u.js → web-DyqSCQPP.js} +10 -10
- package/dist/{webhooks-cli-Cl6NsrPq.js → webhooks-cli-BHCUZ6KH.js} +6 -6
- package/dist/{whatsapp-actions-BWRrJ4aj.js → whatsapp-actions-BFdVb0Wi.js} +17 -17
- package/dist/{winclaw-root-DEqOOeOw.js → winclaw-root-D0OUuGl7.js} +8 -8
- package/dist/{with-timeout-CFT6OXhp.js → with-timeout-B0b89NLG.js} +3 -3
- package/dist/{workspace-dirs-C5erYAob.js → workspace-dirs-C13vnqQQ.js} +1 -1
- package/dist/{workspace-Cx-f7PO5.js → workspace-vYy4qLQz.js} +1 -1
- package/dist/{wsl-BisEqrSr.js → wsl-C9d12M7y.js} +2 -2
- package/docs/CEO_Agent_Autonomous_Task_Creation_Plan.md +587 -0
- package/docs/Task_Lifecycle_Design.md +838 -0
- package/package.json +1 -1
- package/dist/cli-BEXeB0iN.js +0 -154
- package/dist/deliver-runtime-DUqBQV3Y.js +0 -57
- package/dist/deps-send-discord.runtime-fhNGs-1o.js +0 -32
- package/dist/deps-send-imessage.runtime-COO7klaj.js +0 -31
- package/dist/deps-send-signal.runtime-BFzzhiXF.js +0 -30
- package/dist/deps-send-slack.runtime-BtsQAwGO.js +0 -28
- package/dist/deps-send-telegram.runtime-CHyoIYDR.js +0 -34
- package/dist/deps-send-whatsapp.runtime-9F3gVSNi.js +0 -115
- package/dist/image-runtime-SilN3BaP.js +0 -51
- package/dist/manager-runtime-C1H7TT7Z.js +0 -22
- package/dist/plugin-sdk/accounts-Bb5SWI1a.js +0 -46
- package/dist/plugin-sdk/accounts-C8ouK3T4.js +0 -288
- package/dist/plugin-sdk/accounts-iNxXh_zC.js +0 -35
- package/dist/plugin-sdk/active-listener-DZxf4qXs.js +0 -50
- package/dist/plugin-sdk/api-key-rotation-C-JV66uu.js +0 -181
- package/dist/plugin-sdk/audio-preflight-D85ZwT1C.js +0 -69
- package/dist/plugin-sdk/audio-transcription-runner-DKZV7mSA.js +0 -2176
- package/dist/plugin-sdk/audit-membership-runtime-CxP2fdgS.js +0 -58
- package/dist/plugin-sdk/channel-activity-B3mxXOyk.js +0 -94
- package/dist/plugin-sdk/channel-web-TjIRZurw.js +0 -2256
- package/dist/plugin-sdk/chrome-DOcNUPY5.js +0 -2415
- package/dist/plugin-sdk/commands-registry-_u5uYayG.js +0 -1125
- package/dist/plugin-sdk/config-DgBITxw8.js +0 -17957
- package/dist/plugin-sdk/deliver-B3nd7Yi7.js +0 -1719
- package/dist/plugin-sdk/deliver-runtime-fmY1FJEB.js +0 -32
- package/dist/plugin-sdk/deps-send-discord.runtime-Dx6g4YpI.js +0 -23
- package/dist/plugin-sdk/deps-send-imessage.runtime-BHbkwqmP.js +0 -22
- package/dist/plugin-sdk/deps-send-signal.runtime-DWqgaXVz.js +0 -21
- package/dist/plugin-sdk/deps-send-slack.runtime-CkQplnYm.js +0 -19
- package/dist/plugin-sdk/deps-send-telegram.runtime-DgpG9nnp.js +0 -24
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-Ba0QVetj.js +0 -57
- package/dist/plugin-sdk/diagnostic-DaodZSU4.js +0 -319
- package/dist/plugin-sdk/errors-D7zDdduc.js +0 -54
- package/dist/plugin-sdk/fetch-guard-CpjJUzbC.js +0 -156
- package/dist/plugin-sdk/fs-safe-ynDN1AOr.js +0 -352
- package/dist/plugin-sdk/image-DjurGZVX.js +0 -2314
- package/dist/plugin-sdk/image-ops-BYRi8Fyc.js +0 -584
- package/dist/plugin-sdk/image-runtime-B6plrrBM.js +0 -25
- package/dist/plugin-sdk/ir-BKz-tz6e.js +0 -1296
- package/dist/plugin-sdk/local-roots-CSAWMhCG.js +0 -186
- package/dist/plugin-sdk/logger-cN8CgKqt.js +0 -1163
- package/dist/plugin-sdk/login-CBxXcX0e.js +0 -57
- package/dist/plugin-sdk/login-qr-B-ltrPu8.js +0 -320
- package/dist/plugin-sdk/manager-mLzeAWnv.js +0 -3928
- package/dist/plugin-sdk/manager-runtime-BzHeKNie.js +0 -15
- package/dist/plugin-sdk/outbound-U75V1TDj.js +0 -212
- package/dist/plugin-sdk/outbound-attachment-CIYwDm5I.js +0 -19
- package/dist/plugin-sdk/path-alias-guards-WXu8eYZ3.js +0 -43
- package/dist/plugin-sdk/paths-Brta7ydd.js +0 -166
- package/dist/plugin-sdk/pi-embedded-helpers-aHxmGqPa.js +0 -9627
- package/dist/plugin-sdk/pi-model-discovery-Daro1rXH.js +0 -134
- package/dist/plugin-sdk/pi-model-discovery-runtime-Bsuon2Ya.js +0 -8
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-CvMJn1nm.js +0 -354
- package/dist/plugin-sdk/plugins-CEyDJxGL.js +0 -864
- package/dist/plugin-sdk/proxy-fetch-iSQrNgP-.js +0 -38
- package/dist/plugin-sdk/pw-ai-Bu9xWLzv.js +0 -1938
- package/dist/plugin-sdk/qmd-manager-A7m15SeJ.js +0 -1448
- package/dist/plugin-sdk/query-expansion-DngcFbkC.js +0 -1011
- package/dist/plugin-sdk/redact-CIb5VTTO.js +0 -319
- package/dist/plugin-sdk/reply-DBM0Lkg_.js +0 -98388
- package/dist/plugin-sdk/resolve-outbound-target-DsY2VMNK.js +0 -40
- package/dist/plugin-sdk/run-with-concurrency-BlfAoChN.js +0 -1994
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-Cag17ePS.js +0 -10
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-BsFAJa9O.js +0 -19
- package/dist/plugin-sdk/send-BHrMFgyB.js +0 -503
- package/dist/plugin-sdk/send-CU3d2q4n.js +0 -3135
- package/dist/plugin-sdk/send-CWxQ4uNT.js +0 -414
- package/dist/plugin-sdk/send-CxOWd6tg.js +0 -2587
- package/dist/plugin-sdk/send-DVKUnRRx.js +0 -540
- package/dist/plugin-sdk/session-CPEE9Abi.js +0 -169
- package/dist/plugin-sdk/skill-commands-DIznvAVl.js +0 -353
- package/dist/plugin-sdk/skills-BXV5R4NV.js +0 -1428
- package/dist/plugin-sdk/slash-commands.runtime-OYVeqt4Q.js +0 -13
- package/dist/plugin-sdk/slash-dispatch.runtime-59ugcOxt.js +0 -52
- package/dist/plugin-sdk/slash-skill-commands.runtime-bqPJNQON.js +0 -16
- package/dist/plugin-sdk/ssrf-BP6sfREo.js +0 -202
- package/dist/plugin-sdk/store-BWzXeAH3.js +0 -81
- package/dist/plugin-sdk/subagent-registry-runtime-55zPJdn6.js +0 -52
- package/dist/plugin-sdk/tables-BAVh5Omo.js +0 -55
- package/dist/plugin-sdk/thinking-VCK882z5.js +0 -1206
- package/dist/plugin-sdk/tokens-B-D1YRTV.js +0 -52
- package/dist/plugin-sdk/tool-images-BA9cWkGK.js +0 -274
- package/dist/plugin-sdk/web-D7EUYN3w.js +0 -56
- package/dist/plugin-sdk/whatsapp-actions-dqkS6ARr.js +0 -80
- package/dist/register.configure-vAvbXAtZ.js +0 -162
- package/dist/runtime-whatsapp-outbound.runtime-C0j775aC.js +0 -28
- package/dist/slash-dispatch.runtime-ciMRnuE4.js +0 -110
- package/dist/slash-skill-commands.runtime-CH_FO-xO.js +0 -29
- package/dist/subagent-registry-runtime-aQr7fTQu.js +0 -110
- package/dist/target-errors-Bd8kj4z9.js +0 -195
- package/dist/web-CixAhkgW.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-cYG8442L.js";
|
|
3
3
|
|
|
4
4
|
//#region src/signal/accounts.ts
|
|
5
5
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("signal");
|
|
@@ -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-cYG8442L.js";
|
|
3
3
|
|
|
4
4
|
//#region src/imessage/accounts.ts
|
|
5
5
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("imessage");
|
|
@@ -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 fsPromises 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 fsPromises.access(resolvedAuthDir);
|
|
107
107
|
} catch {
|
|
108
108
|
return false;
|
|
109
109
|
}
|
|
110
110
|
try {
|
|
111
|
-
const stats = await
|
|
111
|
+
const stats = await fsPromises.stat(credsPath);
|
|
112
112
|
if (!stats.isFile() || stats.size <= 1) return false;
|
|
113
|
-
const raw = await
|
|
113
|
+
const raw = await fsPromises.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 fsPromises.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 fsPromises.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 fsPromises.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-XtJsyFcj.js";
|
|
3
|
+
import "./agent-scope-D-i-vMLS.js";
|
|
4
4
|
import { v as resolveUserPath, x as shortenHomePath } from "./utils-hiIKrqOK.js";
|
|
5
|
-
import "./winclaw-root-
|
|
5
|
+
import "./winclaw-root-D0OUuGl7.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-CI-UuKUO.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-BbQ5mrfR.js";
|
|
16
|
+
import { s as resolveGatewayCredentialsWithSecretInputs, t as buildGatewayConnectionDetails } from "./call-DhVOwYWs.js";
|
|
17
17
|
import "./pairing-token-CyhEb6Je.js";
|
|
18
|
-
import "./net-
|
|
19
|
-
import "./tailnet-
|
|
18
|
+
import "./net-nYy_THRe.js";
|
|
19
|
+
import "./tailnet-34wO8JfH.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-D0OUuGl7.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 fsPromises 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 fsPromises.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 fsPromises.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 fsPromises.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 fsPromises.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 fsPromises.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 fsPromises.writeFile(tmpPath, payload, { encoding: "utf-8" });
|
|
222
|
+
await fsPromises.rename(tmpPath, statePath);
|
|
223
223
|
} catch (err) {
|
|
224
|
-
await
|
|
224
|
+
await fsPromises.unlink(tmpPath).catch(() => {});
|
|
225
225
|
throw err;
|
|
226
226
|
}
|
|
227
227
|
}
|
|
228
228
|
async function hasGitRepo(dir) {
|
|
229
229
|
try {
|
|
230
|
-
await
|
|
230
|
+
await fsPromises.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 fsPromises.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 fsPromises.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([fsPromises.readFile(identityPath, "utf-8"), fsPromises.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 fsPromises.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 fsPromises.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 fsPromises.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, ar as resolveAuthStorePath, er as ensureAuthProfileStore } from "./auth-profiles-
|
|
3
|
+
import { G as writeConfigFile, ar as resolveAuthStorePath, er as ensureAuthProfileStore } from "./auth-profiles-XtJsyFcj.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-D-i-vMLS.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-C1OgLvb4.js";
|
|
9
|
+
import { U as parseIdentityMarkdown, V as identityHasValues } from "./subagent-registry-gM1R2MUW.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-DWP1dUXM.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-CPwnaD72.js";
|
|
16
|
+
import { a as pruneAgentConfig, i as loadAgentIdentity, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-B_E6m1zs.js";
|
|
17
|
+
import { r as setupChannels } from "./onboard-channels-DPaipre6.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-E6qbBevP.js";
|
|
21
21
|
import path from "node:path";
|
|
22
|
-
import
|
|
22
|
+
import fsPromises 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 fsPromises.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 fsPromises.mkdir(path.dirname(destAuthPath), { recursive: true });
|
|
412
|
+
await fsPromises.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 fsPromises.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-D-i-vMLS.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-gM1R2MUW.js";
|
|
4
4
|
|
|
5
5
|
//#region src/commands/agents.config.ts
|
|
6
6
|
function findAgentEntryIndex(list, agentId) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { in as loadAgentIdentityFromWorkspace, rn as identityHasValues } from "./reply-C-O3JP-r.js";
|
|
2
2
|
import { a as resolveAgentDir, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-BjM05Snq.js";
|
|
3
3
|
import { c as normalizeAgentId } from "./session-key-CIXZm7v4.js";
|
|
4
4
|
|
|
@@ -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-XtJsyFcj.js";
|
|
3
|
+
import "./agent-scope-D-i-vMLS.js";
|
|
4
4
|
import "./utils-hiIKrqOK.js";
|
|
5
|
-
import "./winclaw-root-
|
|
5
|
+
import "./winclaw-root-D0OUuGl7.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-CI-UuKUO.js";
|
|
14
|
+
import "./dock-ClcGZ0LV.js";
|
|
15
15
|
import "./frontmatter-BnXqzQr3.js";
|
|
16
|
-
import "./skills-
|
|
17
|
-
import "./path-alias-guards-
|
|
16
|
+
import "./skills-BpN5EUZU.js";
|
|
17
|
+
import "./path-alias-guards-9OJ1UBCd.js";
|
|
18
18
|
import "./message-channel-DINJBdD0.js";
|
|
19
|
-
import "./sessions
|
|
20
|
-
import "./plugins-
|
|
21
|
-
import "./accounts-
|
|
22
|
-
import "./accounts-
|
|
19
|
+
import "./sessions--knbgdu4.js";
|
|
20
|
+
import "./plugins-C1OgLvb4.js";
|
|
21
|
+
import "./accounts-cYG8442L.js";
|
|
22
|
+
import "./accounts-CTJXIABG.js";
|
|
23
23
|
import "./logging-CFvkxgcX.js";
|
|
24
|
-
import "./accounts-
|
|
24
|
+
import "./accounts-CLKFSM00.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-nYy_THRe.js";
|
|
28
|
+
import "./tailnet-34wO8JfH.js";
|
|
29
|
+
import "./image-ops-eFMqXMDE.js";
|
|
30
|
+
import "./pi-embedded-helpers-qjxDOtYe.js";
|
|
31
|
+
import "./sandbox-qzkmikN3.js";
|
|
32
32
|
import "./tool-catalog-DN2kDDZk.js";
|
|
33
|
-
import "./chrome-
|
|
33
|
+
import "./chrome-CVi__0KV.js";
|
|
34
34
|
import "./tailscale-CB_lUnsU.js";
|
|
35
|
-
import "./auth-
|
|
36
|
-
import "./server-context-
|
|
37
|
-
import "./paths-
|
|
35
|
+
import "./auth-6aaArIvo.js";
|
|
36
|
+
import "./server-context-CPwptl6P.js";
|
|
37
|
+
import "./paths-C5mR1YC-.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-Dha0DfFC.js";
|
|
41
|
+
import "./proxy-env-DClpl4VK.js";
|
|
42
|
+
import "./store-LSg8jeyh.js";
|
|
43
|
+
import "./ports-CfOim1GC.js";
|
|
44
44
|
import "./trash-D9VuTy5D.js";
|
|
45
|
-
import "./server-middleware-
|
|
46
|
-
import "./tool-images-
|
|
45
|
+
import "./server-middleware-B0ulP4Gq.js";
|
|
46
|
+
import "./tool-images-Cp3hNFNZ.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-CLym-yWk.js";
|
|
49
|
+
import "./model-catalog-BS3HrmQW.js";
|
|
50
|
+
import "./fetch-OAm786_R.js";
|
|
51
|
+
import { _ as isAudioAttachment, i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription } from "./audio-transcription-runner-Dmv-26kb.js";
|
|
52
|
+
import "./fetch-guard-CGxHoLt6.js";
|
|
53
|
+
import "./image-BbsK5vbr.js";
|
|
54
54
|
import "./tool-display-DRwMjyJE.js";
|
|
55
|
-
import "./api-key-rotation-
|
|
55
|
+
import "./api-key-rotation-DDpdEnHx.js";
|
|
56
56
|
import "./proxy-fetch-BqEHARvZ.js";
|
|
57
57
|
|
|
58
58
|
//#region src/media-understanding/audio-preflight.ts
|
|
@@ -8,7 +8,7 @@ import "./plugins-8lUczFMg.js";
|
|
|
8
8
|
import "./accounts-C2YvZa3i.js";
|
|
9
9
|
import "./accounts-Gh-HHgoA.js";
|
|
10
10
|
import "./image-ops-CLhJSq-L.js";
|
|
11
|
-
import "./pi-embedded-helpers-
|
|
11
|
+
import "./pi-embedded-helpers-DD0S-J45.js";
|
|
12
12
|
import "./chrome-BGgG3GHm.js";
|
|
13
13
|
import "./skills-kRdWoNMd.js";
|
|
14
14
|
import "./path-alias-guards-BUu9P0Aw.js";
|
|
@@ -16,12 +16,12 @@ import "./redact-w4zejk9v.js";
|
|
|
16
16
|
import "./errors-6ZDHnDl4.js";
|
|
17
17
|
import "./fs-safe-CIS_wgGB.js";
|
|
18
18
|
import "./proxy-env-C_P7SIWk.js";
|
|
19
|
-
import "./store-
|
|
19
|
+
import "./store-M58mPHa-.js";
|
|
20
20
|
import "./accounts-wmBGG95j.js";
|
|
21
21
|
import "./paths-CaUWd_JH.js";
|
|
22
22
|
import "./tool-images-B6DgSl-p.js";
|
|
23
|
-
import "./image-
|
|
24
|
-
import { g as isAudioAttachment, i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription } from "./audio-transcription-runner-
|
|
23
|
+
import "./image-D7Vmv3wk.js";
|
|
24
|
+
import { g as isAudioAttachment, i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription } from "./audio-transcription-runner-CkubBRX1.js";
|
|
25
25
|
import "./fetch-Cws4uX8w.js";
|
|
26
26
|
import "./fetch-guard-DW2VF7dP.js";
|
|
27
27
|
import "./api-key-rotation-DZp9q1Rf.js";
|
|
@@ -11,7 +11,7 @@ import "./plugins-BJJV76Jn.js";
|
|
|
11
11
|
import "./accounts-DpwC9o3T.js";
|
|
12
12
|
import "./accounts-4zBXqlqn.js";
|
|
13
13
|
import "./image-ops-CK92zQXR.js";
|
|
14
|
-
import "./pi-embedded-helpers-
|
|
14
|
+
import "./pi-embedded-helpers-CeWNp_c7.js";
|
|
15
15
|
import "./chrome-K3UuvmMM.js";
|
|
16
16
|
import "./frontmatter-Bd5ovog5.js";
|
|
17
17
|
import "./skills-DRsgygF4.js";
|
|
@@ -20,12 +20,12 @@ import "./redact-Ce_WCs11.js";
|
|
|
20
20
|
import "./errors-CycHGjF8.js";
|
|
21
21
|
import "./fs-safe-CP1QyD6x.js";
|
|
22
22
|
import "./proxy-env-FkILzXal.js";
|
|
23
|
-
import "./store-
|
|
23
|
+
import "./store-DqI-QKCG.js";
|
|
24
24
|
import "./accounts-B2aMR3or.js";
|
|
25
25
|
import "./paths-ClcxBVEC.js";
|
|
26
26
|
import "./tool-images-ClUKOO-l.js";
|
|
27
|
-
import "./image-
|
|
28
|
-
import { g as isAudioAttachment, i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription } from "./audio-transcription-runner-
|
|
27
|
+
import "./image-DKRWeWXr.js";
|
|
28
|
+
import { g as isAudioAttachment, i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription } from "./audio-transcription-runner-BTjpXrBt.js";
|
|
29
29
|
import "./fetch-Ck7IYojI.js";
|
|
30
30
|
import "./fetch-guard-FEQ6N7O5.js";
|
|
31
31
|
import "./api-key-rotation-Ce4qloUq.js";
|
package/dist/{audio-transcription-runner-lNkB0JzW.js → audio-transcription-runner-BTjpXrBt.js}
RENAMED
|
@@ -4,7 +4,7 @@ import { _ as runExec } from "./workspace-CJZ00IJ6.js";
|
|
|
4
4
|
import { M as resolveApiKeyForProvider, X as loadConfig, at as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, c as normalizeProviderId, ct as resolveIMessageAttachmentRoots, g as normalizeGoogleModelId, ir as resolveWinClawAgentDir, j as requireApiKey, ot as isInboundPathAllowed, st as mergeInboundPathRoots } from "./model-selection-BMqwlTaw.js";
|
|
5
5
|
import { _ as normalizeChatType } from "./plugins-BJJV76Jn.js";
|
|
6
6
|
import { E as kindFromMime, S as getFileExtension, b as detectMime, w as isAudioFileName } from "./image-ops-CK92zQXR.js";
|
|
7
|
-
import { t as describeImageWithModel, w as ensureWinClawModelsJson } from "./image-
|
|
7
|
+
import { t as describeImageWithModel, w as ensureWinClawModelsJson } from "./image-DKRWeWXr.js";
|
|
8
8
|
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia, t as MediaFetchError } from "./fetch-Ck7IYojI.js";
|
|
9
9
|
import { n as fetchWithTimeout } from "./fetch-timeout-Bghlv-lk.js";
|
|
10
10
|
import { t as fetchWithSsrFGuard } from "./fetch-guard-FEQ6N7O5.js";
|
package/dist/{audio-transcription-runner-LSF_Wazz.js → audio-transcription-runner-CkubBRX1.js}
RENAMED
|
@@ -3,7 +3,7 @@ import { L as logVerbose, O as createSubsystemLogger, Y as resolvePreferredWinCl
|
|
|
3
3
|
import { A as requireApiKey, Y as loadConfig, at as isInboundPathAllowed, c as normalizeProviderId, cr as resolveWinClawAgentDir, h as normalizeGoogleModelId, it as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, j as resolveApiKeyForProvider, ot as mergeInboundPathRoots, st as resolveIMessageAttachmentRoots } from "./model-selection-BsGH6RcC.js";
|
|
4
4
|
import { _ as normalizeChatType } from "./plugins-8lUczFMg.js";
|
|
5
5
|
import { E as kindFromMime, S as getFileExtension, b as detectMime, w as isAudioFileName } from "./image-ops-CLhJSq-L.js";
|
|
6
|
-
import { t as describeImageWithModel, w as ensureWinClawModelsJson } from "./image-
|
|
6
|
+
import { t as describeImageWithModel, w as ensureWinClawModelsJson } from "./image-D7Vmv3wk.js";
|
|
7
7
|
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia, t as MediaFetchError } from "./fetch-Cws4uX8w.js";
|
|
8
8
|
import { n as fetchWithTimeout } from "./fetch-timeout-Dtlf2N0l.js";
|
|
9
9
|
import { t as fetchWithSsrFGuard } from "./fetch-guard-DW2VF7dP.js";
|
package/dist/{audio-transcription-runner-DSWRvOnM.js → audio-transcription-runner-Dmv-26kb.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, Q as isInboundPathAllowed, Sr as normalizeProviderId, Vr as normalizeGoogleModelId, Z as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, et as resolveIMessageAttachmentRoots, mi as resolveApiKeyForProvider, pi as requireApiKey } from "./auth-profiles-
|
|
3
|
-
import { M as resolveAgentModelFallbackValues, N as resolveAgentModelPrimaryValue } from "./agent-scope-
|
|
2
|
+
import { $ as mergeInboundPathRoots, Q as isInboundPathAllowed, Sr as normalizeProviderId, Vr as normalizeGoogleModelId, Z as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, et as resolveIMessageAttachmentRoots, mi as resolveApiKeyForProvider, pi as requireApiKey } from "./auth-profiles-XtJsyFcj.js";
|
|
3
|
+
import { M as resolveAgentModelFallbackValues, N as resolveAgentModelPrimaryValue } from "./agent-scope-D-i-vMLS.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-C1OgLvb4.js";
|
|
6
|
+
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-eFMqXMDE.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-BS3HrmQW.js";
|
|
9
|
+
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia, t as MediaFetchError } from "./fetch-OAm786_R.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-CGxHoLt6.js";
|
|
12
|
+
import { t as describeImageWithModel } from "./image-BbsK5vbr.js";
|
|
13
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-DDpdEnHx.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 fsPromises 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 fsPromises.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 fsPromises.writeFile(tmpPath, bufferResult.buffer);
|
|
500
500
|
entry.tempPath = tmpPath;
|
|
501
501
|
entry.tempCleanup = async () => {
|
|
502
|
-
await
|
|
502
|
+
await fsPromises.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 fsPromises.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 fsPromises.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 fsPromises.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 fsPromises.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 fsPromises.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 fsPromises.stat(pathResult.path)).size,
|
|
1550
1550
|
attachmentIndex: params.attachmentIndex
|
|
1551
1551
|
});
|
|
1552
|
-
const outputDir = await
|
|
1552
|
+
const outputDir = await fsPromises.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 fsPromises.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 fsPromises.stat(filePath)).isFile()) return false;
|
|
1631
1631
|
if (process.platform === "win32") return true;
|
|
1632
|
-
await
|
|
1632
|
+
await fsPromises.access(filePath, constants.X_OK);
|
|
1633
1633
|
return true;
|
|
1634
1634
|
} catch {
|
|
1635
1635
|
return false;
|