winclaw 2026.3.22 → 2026.3.23
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-BMM5ssNE.js → acp-cli-BbN2vTHD.js} +8 -8
- package/dist/{agent-scope-Dany4R2i.js → agent-scope-D-i-vMLS.js} +17 -17
- package/dist/{agents-AMH_Bmb6.js → agents-Dc_S8rZ8.js} +14 -14
- package/dist/{agents.config-6n_jmCMa.js → agents.config-BC6TW53i.js} +2 -2
- package/dist/{agents.config-Bw1hbsLj.js → agents.config-ZESYvAuZ.js} +1 -1
- package/dist/{api-key-rotation-C9ywPLG3.js → api-key-rotation-D_JdsLIl.js} +1 -1
- package/dist/{audio-preflight-DHeEYciJ.js → audio-preflight-CBWXmKyj.js} +4 -4
- package/dist/{audio-preflight-D7UvXGlQ.js → audio-preflight-CdgtLVh2.js} +34 -34
- package/dist/{audio-transcription-runner-nnwJufig.js → audio-transcription-runner-DGZYB2Wq.js} +23 -23
- package/dist/{audio-transcription-runner-1-9PFrzh.js → audio-transcription-runner-DpvjaNmr.js} +1 -1
- package/dist/{audit-DV_kf1sd.js → audit-DdcsBl_-.js} +29 -29
- package/dist/{auth-Ahj-1B5R.js → auth-CU4HqNch.js} +1 -1
- package/dist/{auth-choice-sfRzFTug.js → auth-choice-CHCEiG_5.js} +1 -1
- package/dist/{auth-choice-dFTD1hLR.js → auth-choice-CSZQYOpt.js} +11 -11
- package/dist/{auth-choice-NjkwJsBG.js → auth-choice-CtzD_rrW.js} +13 -13
- package/dist/{auth-choice.apply-helpers-ClzwLPaB.js → auth-choice.apply-helpers-Bmj9LZnO.js} +1 -1
- package/dist/{auth-profiles-DF0cLC20.js → auth-profiles-CmoHF97e.js} +16 -16
- package/dist/{auth-token-BXCBtI3p.js → auth-token-C_S_Uszj.js} +1 -1
- package/dist/{banner-BB4DFL8E.js → banner-C3BSkrQk.js} +2 -2
- package/dist/{bonjour-discovery-BVSpbdjs.js → bonjour-discovery-BxCVyJLG.js} +1 -1
- package/dist/{browser-cli-DAcccrxR.js → browser-cli-Rt_P1-M1.js} +12 -12
- package/dist/build-info.json +2 -2
- package/dist/bundled/boot-md/handler.js +6 -6
- package/dist/bundled/session-memory/handler.js +6 -6
- package/dist/{call-DEKH5GO9.js → call-BLyRfBMl.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-D03SwGPA.js → channel-activity-CPWF8YR5.js} +1 -1
- package/dist/{channel-options-BAvRIwTX.js → channel-options-DG60shRM.js} +1 -1
- package/dist/{channel-options-C7dYNZsy.js → channel-options-XEKts1bm.js} +3 -3
- package/dist/{channel-selection-Bke39fer.js → channel-selection-5G2iw3CB.js} +1 -1
- package/dist/{channel-web-BiIs0cCf.js → channel-web-XARrFQNi.js} +1 -1
- package/dist/{channel-web-BOrAGcza.js → channel-web-_2_SqIZ4.js} +17 -17
- package/dist/{channels-cli-CNbBNhlO.js → channels-cli-BEXYziVz.js} +6 -6
- package/dist/{channels-cli-4YLI7Ar_.js → channels-cli-ZssJjBmG.js} +93 -93
- package/dist/{channels-status-issues-wCgCdUDu.js → channels-status-issues-DpfEWI4l.js} +1 -1
- package/dist/{chrome-Cr8R7xl_.js → chrome-GsaZ074n.js} +8 -8
- package/dist/{chrome-BDFA9lPV.js → chrome-RAfAR4xV.js} +4 -4
- package/dist/{clawbot-cli-B96xAtzs.js → clawbot-cli-HvFYYAc6.js} +11 -11
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/cli-BZZG4J_j.js +154 -0
- package/dist/{cli-BhZvhDWg.js → cli-CY_Senie.js} +1 -1
- package/dist/{client-jNFqrgw6.js → client-DCxDsURZ.js} +2 -2
- package/dist/{command-registry-qDpes5Yr.js → command-registry-CWxe1f-O.js} +11 -11
- package/dist/{command-secret-targets-Dd4qCPSg.js → command-secret-targets-BfqkoJyp.js} +4 -4
- package/dist/{commands-DmBkhPD-.js → commands-4mnxaSoA.js} +1 -1
- package/dist/{commands-registry-BB289Bg8.js → commands-registry-h5KiQe_S.js} +3 -3
- package/dist/{completion-cli-DzZieT3i.js → completion-cli-BKoxA3-3.js} +13 -13
- package/dist/{completion-cli-c9ogb7DR.js → completion-cli-DisKMPGI.js} +1 -1
- package/dist/{config-cli-D2natFSq.js → config-cli-Bfwm9TCS.js} +1 -1
- package/dist/{config-cli-Dk1yc6M9.js → config-cli-FMUUH4Ti.js} +7 -7
- package/dist/{config-guard-3fwTO4Mb.js → config-guard-DlzKrdcR.js} +3 -3
- package/dist/{config-validation-5pIaju5U.js → config-validation-E-3Wz4C4.js} +3 -3
- package/dist/{configure-CuqZCxTb.js → configure-BJxly9Yt.js} +17 -17
- package/dist/{configure-BgqQPO5L.js → configure-DarTg7E_.js} +3 -3
- package/dist/{control-ui-assets-5F0FEjfM.js → control-ui-assets-B0DdamQU.js} +1 -1
- package/dist/{cron-cli-BIa0VxDk.js → cron-cli-DpVGzupl.js} +11 -11
- package/dist/{daemon-cli-BE11O7QX.js → daemon-cli-CqwUFobu.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-CqiBzHnh.js → deliver-BX-UVg7x.js} +7 -7
- package/dist/{deliver-r4_Yp7-C.js → deliver-CtyrAYix.js} +1 -1
- package/dist/{deliver-runtime-CIXUsI5k.js → deliver-runtime-Bvh4te8E.js} +3 -3
- package/dist/deliver-runtime-Co5o7uv0.js +57 -0
- package/dist/deps-send-discord.runtime-D0BtA9iO.js +32 -0
- package/dist/deps-send-imessage.runtime-89fweiea.js +31 -0
- package/dist/deps-send-signal.runtime-BA3mNq_v.js +30 -0
- package/dist/deps-send-slack.runtime-DiA-Ieod.js +28 -0
- package/dist/deps-send-telegram.runtime-C9bLOnbt.js +34 -0
- package/dist/{deps-send-whatsapp.runtime-BXDQiU2D.js → deps-send-whatsapp.runtime-CeFobiyN.js} +7 -7
- package/dist/{deps-send-whatsapp.runtime-DlmzDIzc.js → deps-send-whatsapp.runtime-D7OYrbTL.js} +2 -2
- package/dist/deps-send-whatsapp.runtime-Dk3bVJzk.js +115 -0
- package/dist/{deps-send-whatsapp.runtime-BHJLeHSL.js → deps-send-whatsapp.runtime-iiQJpw-8.js} +3 -3
- package/dist/{devices-cli-BJgUG9fc.js → devices-cli-Cpq_Gt1l.js} +8 -8
- package/dist/{diagnostic-BCcd-_zI.js → diagnostic-DIPYflOJ.js} +1 -1
- package/dist/{diagnostics-BDjbQJxP.js → diagnostics-KfpqzhsS.js} +5 -5
- package/dist/{directory-cli-CJ_l_BnF.js → directory-cli-CPBPE8N1.js} +7 -7
- package/dist/{dns-cli-CFau82Y7.js → dns-cli-CI7HzCVI.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-DB39JNV7.js → doctor-completion-BtQY4Eaa.js} +2 -2
- package/dist/{doctor-completion-C3SXIoSh.js → doctor-completion-t3rdrQev.js} +1 -1
- package/dist/{doctor-config-flow-BzYwmYwv.js → doctor-config-flow-D6rEqOwb.js} +15 -15
- package/dist/{enable-Qw-mz6ta.js → enable-sRe0nI5a.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{exec-approvals-allowlist-BkdJCc3F.js → exec-approvals-allowlist-B5ZdMbz6.js} +1 -1
- package/dist/{exec-approvals-cli-DsDGgzyV.js → exec-approvals-cli-BFxdGk9c.js} +16 -16
- package/dist/{exec-safe-bin-runtime-policy-C5pAgyiz.js → exec-safe-bin-runtime-policy-CB8atBLm.js} +2 -2
- package/dist/extensionAPI.js +1 -1
- package/dist/{fetch-BwrGQrFL.js → fetch-CdvuNDFE.js} +3 -3
- package/dist/{fetch-guard-CHht1LfT.js → fetch-guard-D-W6TRJN.js} +1 -1
- package/dist/{fs-safe-B8J4dv27.js → fs-safe-Dha0DfFC.js} +24 -24
- package/dist/{gateway-cli-BdyXCC2C.js → gateway-cli-BeABpkZ1.js} +157 -157
- package/dist/{gateway-cli-CL5LDNmu.js → gateway-cli-Juhp3APs.js} +11 -11
- package/dist/{gateway-rpc-ICMh7-Qs.js → gateway-rpc-Dg3CGljP.js} +1 -1
- package/dist/{health-Boe965-L.js → health-8quueFaP.js} +11 -11
- package/dist/{health-CqiwN5ZR.js → health-BoOzWD1m.js} +1 -1
- package/dist/{hooks-cli-DI0sn396.js → hooks-cli-B475HcKz.js} +81 -81
- package/dist/{hooks-cli-DDWnA5Zx.js → hooks-cli-BcKW3j9V.js} +2 -2
- package/dist/{hooks-status-CQjtRM1s.js → hooks-status-Cjg5SLpX.js} +1 -1
- package/dist/{image-DoOVDHql.js → image-7s8Q2r40.js} +1 -1
- package/dist/{image-Dpt9TurJ.js → image-EjGWXbei.js} +5 -5
- package/dist/{image-ops-DWGnyTvC.js → image-ops-eFMqXMDE.js} +10 -10
- package/dist/image-runtime-CGAobfgI.js +51 -0
- package/dist/{image-runtime-Wym8Keh3.js → image-runtime-QNP_uABR.js} +3 -3
- package/dist/index.js +6 -6
- 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-CfrDjvjo.js → ipv4-DIKCnoyz.js} +1 -1
- package/dist/{ir-B-FffSKU.js → ir-CJPPU4LU.js} +8 -8
- package/dist/{issue-format-NmLUfbBT.js → issue-format-DCF2SXK_.js} +1 -1
- package/dist/{json-files-D9ZHO8Ud.js → json-files-kWpauJWO.js} +8 -8
- package/dist/{lifecycle-core-Di83_FGS.js → lifecycle-core-BLhI5nRz.js} +5 -5
- package/dist/llm-slug-generator.js +6 -6
- package/dist/{login-BrdFlfV0.js → login-D26qK4NQ.js} +3 -3
- package/dist/{login-qr-Ci3FVgS9.js → login-qr-CMgMlRCI.js} +6 -6
- package/dist/{logs-cli-DUl4D14l.js → logs-cli-Cn7bGSc7.js} +9 -9
- package/dist/{manager-2Wice7pq.js → manager-f6tniCBN.js} +14 -14
- package/dist/manager-runtime-BifbXCuI.js +22 -0
- package/dist/{manifest-registry-_liSV_Vx.js → manifest-registry-CI-UuKUO.js} +1 -1
- package/dist/{memory-cli-BgZK6A-T.js → memory-cli-C2Yq9ryD.js} +12 -12
- package/dist/{model-C4J88Gi3.js → model-CXGHDOeN.js} +2 -2
- package/dist/{model-catalog-BYxSwIkt.js → model-catalog-08ftNXDk.js} +3 -3
- package/dist/{model-picker-DAr8DpKu.js → model-picker-CTRi5Yhj.js} +4 -4
- package/dist/{models-DqwqcGxg.js → models-FzoA9YFe.js} +17 -17
- package/dist/{models-cli-BFfUYhHp.js → models-cli-B9FoteUK.js} +78 -78
- package/dist/{models-cli-DOfsOmW1.js → models-cli-DPCSWjYD.js} +2 -2
- package/dist/{models-config-CJq2ywhf.js → models-config-DYJ-p9kt.js} +6 -6
- package/dist/{net-C7TXXUto.js → net-DQYHvbkN.js} +2 -2
- package/dist/{node-cli-DMpZsjse.js → node-cli-CsQwAHzH.js} +33 -33
- package/dist/{node-command-policy-DGMJi4xw.js → node-command-policy-BHdicfMO.js} +1 -1
- package/dist/{node-service-L9-L8-7x.js → node-service-CLtiUeNO.js} +1 -1
- package/dist/{nodes-cli-BcyY77Cc.js → nodes-cli-Dlilj-Pf.js} +16 -16
- package/dist/{nodes-screen-B6QVlwKO.js → nodes-screen-CL-8raxt.js} +7 -7
- package/dist/{npm-pack-install-B3VCcNWC.js → npm-pack-install-DZvYhRnM.js} +18 -18
- package/dist/{npm-resolution-Bd8dB7rI.js → npm-resolution-DUcSV3Er.js} +1 -1
- package/dist/{npm-resolution-0-Scs5nn.js → npm-resolution-Kay_MP5U.js} +4 -4
- package/dist/{onboard-C9gtA3_b.js → onboard-DSE0sFKG.js} +6 -6
- package/dist/{onboard-channels-DvpqJP6s.js → onboard-channels-DleZdwBe.js} +1 -1
- package/dist/{onboard-channels-NBqfiIc3.js → onboard-channels-DuQfbGvH.js} +21 -21
- package/dist/{onboard-custom-Cv61U_sa.js → onboard-custom-DoJDTzAW.js} +4 -4
- package/dist/{onboard-helpers-Djj9SkyR.js → onboard-helpers-7lOdCHhD.js} +10 -10
- package/dist/{onboard-hooks-DRkLf5gL.js → onboard-hooks-BTD0YhRI.js} +4 -4
- package/dist/{onboard-CXyqQtlq.js → onboard-lgDkrSqS.js} +2 -2
- package/dist/{onboard-remote-o8XtWCa_.js → onboard-remote-Bj9uk3zW.js} +4 -4
- package/dist/{onboard-skills-TATKa-gc.js → onboard-skills-1KAA9UrK.js} +4 -4
- package/dist/{onboarding-BZWA8Nqq.js → onboarding-D713_nF-.js} +3 -3
- package/dist/{onboarding-C_LQ6doG.js → onboarding-tBrb0kFS.js} +14 -14
- package/dist/{onboarding.finalize-B1qRlV6H.js → onboarding.finalize-DenRnQtC.js} +5 -5
- package/dist/{onboarding.finalize-uHWzNBrm.js → onboarding.finalize-femvpEYf.js} +87 -87
- package/dist/{onboarding.gateway-config-ByvXJY2k.js → onboarding.gateway-config-s11ZLxLE.js} +18 -18
- package/dist/{onboarding.secret-input-Cw4uIgyl.js → onboarding.secret-input-D5VKqHdN.js} +1 -1
- package/dist/{openai-model-default-Db9joqm4.js → openai-model-default-sYh2slgj.js} +2 -2
- package/dist/{outbound-DgsIsXfj.js → outbound-D0KF3CHY.js} +3 -3
- package/dist/{outbound-attachment-CjhkSZBR.js → outbound-attachment-CEC4H3tX.js} +2 -2
- package/dist/{pairing-cli-D0KKynjI.js → pairing-cli-4Nrc-V_v.js} +8 -8
- package/dist/{pairing-labels-Ev8O2qBX.js → pairing-labels-e3Pnen1C.js} +1 -1
- package/dist/{pairing-store-CI0hWzZk.js → pairing-store-Kslw_Wa0.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-CD3oPGOP.js → pi-embedded-CPqoXbPh.js} +35 -35
- package/dist/{pi-embedded-helpers-BthBxPYi.js → pi-embedded-helpers-BMGRFCuV.js} +3 -3
- package/dist/{pi-embedded-helpers-Be8qWeKb.js → pi-embedded-helpers-BWpzwT6B.js} +6 -6
- package/dist/{pi-embedded-xAf-RVi5.js → pi-embedded-yo67-7fx.js} +15 -15
- package/dist/{pi-model-discovery-CgxnCHvU.js → pi-model-discovery-CibSv4gC.js} +1 -1
- package/dist/{pi-model-discovery-runtime-CqYOz48r.js → pi-model-discovery-runtime-DhBE8w94.js} +5 -5
- package/dist/{pi-tools.before-tool-call.runtime-CPnt06zM.js → pi-tools.before-tool-call.runtime-D6h4CmLs.js} +5 -5
- package/dist/{pi-tools.policy-DGbCC2Ji.js → pi-tools.policy-BqpmC_c4.js} +5 -5
- package/dist/{plugin-auto-enable-Crpu18wt.js → plugin-auto-enable-DnSZLbIH.js} +3 -3
- package/dist/{plugin-registry-Dbu4pN4B.js → plugin-registry-ByrPvIy8.js} +3 -3
- package/dist/{plugin-registry-Cb_XRQUR.js → plugin-registry-C_HMboob.js} +1 -1
- package/dist/plugin-sdk/{accounts-B71rIfIG.js → accounts-B9lBByhz.js} +2 -2
- package/dist/plugin-sdk/{accounts-BoD7489q.js → accounts-Bl6fp04N.js} +3 -3
- package/dist/plugin-sdk/{accounts-Bh_CxVlh.js → accounts-CQWq_42g.js} +2 -2
- package/dist/plugin-sdk/{active-listener-6CPAmAh-.js → active-listener-Dc-P7jeX.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-DEDhmJAk.js → api-key-rotation-DSOB99GV.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-CMPZ9BXN.js → audio-preflight-DYTxAG0v.js} +26 -26
- package/dist/plugin-sdk/{audio-transcription-runner-CdADoJed.js → audio-transcription-runner-Bndij5Q1.js} +11 -11
- package/dist/plugin-sdk/{audit-membership-runtime-CxP2fdgS.js → audit-membership-runtime-ZTTIhQhs.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-9ivqqvRB.js → channel-activity-ChRCQNSc.js} +3 -3
- package/dist/plugin-sdk/{channel-web-CHDoy_Ex.js → channel-web-CZNn3YpA.js} +18 -18
- package/dist/plugin-sdk/{channel-web-D02gHjxz.js → channel-web-ut6coWO5.js} +1 -1
- package/dist/plugin-sdk/{chrome-B1yeIHRg.js → chrome-DNpRdbZ1.js} +6 -6
- package/dist/plugin-sdk/{commands-registry-D-wyzYid.js → commands-registry-Bq1HqcJU.js} +4 -4
- package/dist/plugin-sdk/compat.js +50 -50
- package/dist/plugin-sdk/{config-CmS6HzGU.js → config-Cyo0rHBx.js} +7 -7
- package/dist/plugin-sdk/{deliver-Cy287pZ5.js → deliver-mBruQPRt.js} +10 -10
- package/dist/plugin-sdk/deliver-runtime-ByVt0evu.js +32 -0
- package/dist/plugin-sdk/deps-send-discord.runtime-C2fc3t93.js +23 -0
- package/dist/plugin-sdk/deps-send-imessage.runtime-D4m7X6j4.js +22 -0
- package/dist/plugin-sdk/deps-send-signal.runtime-DwGJRjyX.js +21 -0
- package/dist/plugin-sdk/deps-send-slack.runtime-7J491hID.js +19 -0
- package/dist/plugin-sdk/deps-send-telegram.runtime-DAKGyd6b.js +24 -0
- package/dist/plugin-sdk/{deps-send-whatsapp.runtime-DJlWl-wv.js → deps-send-whatsapp.runtime-7Y4jFeSR.js} +3 -3
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-BYqY0Q9J.js +57 -0
- package/dist/plugin-sdk/{diagnostic-DGt5TnqW.js → diagnostic-B3ZoSFoM.js} +2 -2
- package/dist/plugin-sdk/{errors-D7zDdduc.js → errors-DdSHGcgi.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-BsatETDz.js → fetch-guard-Uhk4tySC.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-ynDN1AOr.js → fs-safe-DRACrdwg.js} +3 -3
- package/dist/plugin-sdk/{image-6No3eiOM.js → image-CEBZ8sRh.js} +6 -6
- package/dist/plugin-sdk/{image-ops-CmFoHyKE.js → image-ops-Dye2ozSZ.js} +2 -2
- package/dist/plugin-sdk/image-runtime-CabQkSZn.js +25 -0
- package/dist/plugin-sdk/index.js +50 -50
- package/dist/plugin-sdk/{ir-CX1ZjDTn.js → ir-CruONUHn.js} +7 -7
- package/dist/plugin-sdk/{local-roots-DnE8988Y.js → local-roots-BYSlR-at.js} +4 -4
- package/dist/plugin-sdk/{logger-cN8CgKqt.js → logger-C_vnHQg2.js} +2 -2
- package/dist/plugin-sdk/{login-hk6_2GSM.js → login-bdsdinOj.js} +4 -4
- package/dist/plugin-sdk/{login-qr-UaVS_Rce.js → login-qr-BYAvyop9.js} +5 -5
- package/dist/plugin-sdk/{manager-CBP2ZQ5W.js → manager-AOQxrU7P.js} +8 -8
- package/dist/plugin-sdk/manager-runtime-CijO5giX.js +15 -0
- package/dist/plugin-sdk/mattermost.js +3 -3
- package/dist/plugin-sdk/{outbound-B0Ab6CJM.js → outbound-FdiP5J7H.js} +5 -5
- package/dist/plugin-sdk/{outbound-attachment-CktA053B.js → outbound-attachment-DZphVgq7.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-WXu8eYZ3.js → path-alias-guards-CaCBZRHc.js} +1 -1
- package/dist/plugin-sdk/{paths-Brta7ydd.js → paths-ICLB349I.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-BfbOXbe6.js → pi-embedded-helpers-tHjfJzH4.js} +16 -16
- package/dist/plugin-sdk/{pi-model-discovery-ruarR-_j.js → pi-model-discovery-DQV-B6bn.js} +1 -1
- package/dist/plugin-sdk/pi-model-discovery-runtime-MJmZTIax.js +8 -0
- package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-VVLpfXqQ.js → pi-tools.before-tool-call.runtime-7DPjo7Ey.js} +4 -4
- package/dist/plugin-sdk/{plugins-C995vsQz.js → plugins-BQHnLb2v.js} +4 -4
- package/dist/plugin-sdk/{proxy-fetch-iSQrNgP-.js → proxy-fetch-BpMu-RpD.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-BJXHSS3q.js → pw-ai-DAMRoo8O.js} +9 -9
- package/dist/plugin-sdk/{qmd-manager-A7m15SeJ.js → qmd-manager-JiY1T3wh.js} +7 -7
- package/dist/plugin-sdk/{query-expansion-DngcFbkC.js → query-expansion-CuaTloKx.js} +4 -4
- package/dist/plugin-sdk/{redact-CIb5VTTO.js → redact-BznLQ6I5.js} +1 -1
- package/dist/plugin-sdk/{reply-BEBnUyG7.js → reply-CHTGOm7N.js} +15 -15
- package/dist/plugin-sdk/{reply-vuWmM3Ra.js → reply-CbZPef0p.js} +84 -84
- package/dist/plugin-sdk/{resolve-outbound-target-CQ6hRY-h.js → resolve-outbound-target-BDjhohcf.js} +2 -2
- package/dist/plugin-sdk/{run-with-concurrency-BlfAoChN.js → run-with-concurrency-BcPenaKJ.js} +1 -1
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-DqezqoLI.js +10 -0
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-Dgnv_x4o.js +19 -0
- package/dist/plugin-sdk/{send-DQTgt3Cu.js → send-BWz-g7wE.js} +5 -5
- package/dist/plugin-sdk/{send-BEy8EUzH.js → send-DB9pUM0k.js} +6 -6
- package/dist/plugin-sdk/{send-HuIksBS6.js → send-QPap4wBN.js} +7 -7
- package/dist/plugin-sdk/{send-DzpV-k17.js → send-gz4Lq5tL.js} +13 -13
- package/dist/plugin-sdk/{send-CWP6COto.js → send-tyEtWeMX.js} +8 -8
- package/dist/plugin-sdk/{session-Cc3Y4mXL.js → session-88GgvJcW.js} +3 -3
- package/dist/plugin-sdk/signal.js +2 -2
- package/dist/plugin-sdk/{skill-commands-p8Zwjnwy.js → skill-commands-ClwX3DoE.js} +4 -4
- package/dist/plugin-sdk/{skills-k8XpacZa.js → skills-B2FPl9ca.js} +6 -6
- package/dist/plugin-sdk/slack.js +2 -2
- package/dist/plugin-sdk/slash-commands.runtime-CGAfyDkY.js +13 -0
- package/dist/plugin-sdk/{slash-dispatch.runtime-C74v1zF9.js → slash-dispatch.runtime-CU94t3bC.js} +1 -1
- package/dist/plugin-sdk/slash-dispatch.runtime-fens4sxk.js +52 -0
- package/dist/plugin-sdk/slash-skill-commands.runtime-C4i9B-79.js +16 -0
- package/dist/plugin-sdk/{ssrf-DZSsYJgJ.js → ssrf-D3NQgatK.js} +1 -1
- package/dist/plugin-sdk/{store-Cn0oLCP4.js → store-CDmdRGxP.js} +2 -2
- package/dist/plugin-sdk/subagent-registry-runtime-CwlC6o7G.js +52 -0
- package/dist/plugin-sdk/{subagent-registry-runtime-9CC9qb9s.js → subagent-registry-runtime-DE56KyD-.js} +1 -1
- package/dist/plugin-sdk/{tables-KWxXnbkq.js → tables-j2CMtAoX.js} +1 -1
- package/dist/plugin-sdk/{target-errors-Cr0q4o7K.js → target-errors-Hoj2qirZ.js} +2 -2
- package/dist/plugin-sdk/{thinking-CfA6xbI_.js → thinking-Dh6B0ZhB.js} +7 -7
- package/dist/plugin-sdk/{tokens-B-D1YRTV.js → tokens-PExiD061.js} +1 -1
- package/dist/plugin-sdk/{tool-images-CVV7LNFW.js → tool-images-D7ah30xm.js} +2 -2
- package/dist/plugin-sdk/web-DSbskSAb.js +56 -0
- package/dist/plugin-sdk/{web-D0OZnnn7.js → web-Oo_Fd7RA.js} +2 -2
- package/dist/plugin-sdk/{whatsapp-actions-CLNhBLJz.js → whatsapp-actions-BjarJorO.js} +17 -17
- package/dist/plugin-sdk/whatsapp.js +2 -2
- package/dist/plugin-sdk/zalouser.js +2 -2
- package/dist/{plugins-IFacUN_Q.js → plugins-C1OgLvb4.js} +2 -2
- package/dist/{plugins-cli-BWCjQEMr.js → plugins-cli-CI8xpqVq.js} +2 -2
- package/dist/{plugins-cli-CCpaWcyg.js → plugins-cli-DQCpV91t.js} +83 -83
- package/dist/{ports-DqZBwUsy.js → ports-CfOim1GC.js} +2 -2
- package/dist/{ports-FLn4cVl7.js → ports-Dw-3Gxsb.js} +1 -1
- package/dist/{probe-CHRXpP2F.js → probe-D3f6QMfy.js} +2 -2
- package/dist/{program-Br4Re78f.js → program-N2SbF1HK.js} +81 -81
- package/dist/{program-context-EXWtPjXg.js → program-context-DMg-_LjD.js} +17 -17
- package/dist/{prompt-select-styled-w-CGGgrT.js → prompt-select-styled-BehogMCm.js} +40 -40
- package/dist/{prompt-select-styled-B_AHrNLY.js → prompt-select-styled-pMhNy-Rt.js} +4 -4
- package/dist/{provider-auth-helpers-BVCos07y.js → provider-auth-helpers-4bL3VgNE.js} +5 -5
- package/dist/{provider-auth-helpers-CiXbjGH-.js → provider-auth-helpers-Rpp9Sh_y.js} +1 -1
- package/dist/{proxy-env-Bx8OhutV.js → proxy-env-B7GwrH5p.js} +1 -1
- package/dist/{push-apns-D7Si-92v.js → push-apns-CGUAuXgJ.js} +1 -1
- package/dist/{push-apns-Cdl2nskU.js → push-apns-hyDzrrIU.js} +5 -5
- package/dist/{pw-ai-BpQw305H.js → pw-ai-Ckb-165q.js} +18 -18
- package/dist/{pw-ai-CJfoHUhH.js → pw-ai-D6e8FGb0.js} +1 -1
- package/dist/{qmd-manager-COHJs6wn.js → qmd-manager-oU4X85hj.js} +20 -20
- package/dist/{qr-cli-Bzo00_vR.js → qr-cli-BI54tdt3.js} +2 -2
- package/dist/{query-expansion-IQFdQdeu.js → query-expansion-Cja4xprw.js} +12 -12
- package/dist/{redact-snapshot-Bfefch_D.js → redact-snapshot-YrAxVxTI.js} +1 -1
- package/dist/{register.agent-BDosszM8.js → register.agent-CFrG4s6H.js} +6 -6
- package/dist/{register.agent-CVpohSrc.js → register.agent-CTNWQCtt.js} +94 -94
- package/dist/register.configure-DIKLgW8P.js +162 -0
- package/dist/{register.configure-C0B9vKwT.js → register.configure-Di8Uh5GB.js} +7 -7
- package/dist/{register.maintenance-CfnzY1OX.js → register.maintenance-Cc675Yxz.js} +7 -7
- package/dist/{register.maintenance-CpVfbR8z.js → register.maintenance-GewLmA3i.js} +95 -95
- package/dist/{register.message-D4VYaBqq.js → register.message-BI_R0TJs.js} +2 -2
- package/dist/{register.message-CJErVRcL.js → register.message-CtBJO09g.js} +74 -74
- package/dist/{register.onboard-Cm5fn9dF.js → register.onboard-45htf4DA.js} +18 -18
- package/dist/{register.onboard-CjuT9fKW.js → register.onboard-Jv--xCKB.js} +2 -2
- package/dist/{register.setup-DZzf7J04.js → register.setup-Bm99k2pm.js} +2 -2
- package/dist/{register.setup-DIBDbMN8.js → register.setup-CqrPLejH.js} +21 -21
- package/dist/{register.status-health-sessions-Bu3abDYw.js → register.status-health-sessions-BBDVWYvb.js} +89 -89
- package/dist/{register.status-health-sessions-BKcFfUR6.js → register.status-health-sessions-BmpJln2_.js} +3 -3
- package/dist/{register.subclis-DTiQUgvr.js → register.subclis-4LlGcEld.js} +31 -31
- package/dist/{reply-KTubTl9h.js → reply-a2GVvnP2.js} +15 -15
- package/dist/{rpc-CkwrblZ9.js → rpc-4GcuaLHq.js} +1 -1
- package/dist/{run-main-4p7ridqP.js → run-main-B3eIQkhk.js} +92 -92
- package/dist/{runtime-C-9xWVep.js → runtime-4RU4PT-H.js} +3 -3
- package/dist/{runtime-config-collectors-vw9ITu9W.js → runtime-config-collectors-Ca2llf68.js} +1 -1
- package/dist/{runtime-whatsapp-login.runtime-CrytFUOh.js → runtime-whatsapp-login.runtime-DOTrH3Wz.js} +7 -7
- package/dist/runtime-whatsapp-outbound.runtime-CNnM5MdE.js +28 -0
- package/dist/{sandbox-CDjV0Crv.js → sandbox-D19lOCVP.js} +18 -18
- package/dist/{sandbox-cli-CyS9Kzp1.js → sandbox-cli-DAZxiFQz.js} +25 -25
- package/dist/{secrets-cli-BPXW13bC.js → secrets-cli-Bd2eDDOJ.js} +11 -11
- package/dist/{security-cli-DfuX1PAw.js → security-cli-C6oO69to.js} +43 -43
- package/dist/{send-CFsJh6px.js → send-3vnK2por.js} +11 -11
- package/dist/{send-D7wKzeqg.js → send-Bz5LPBFx.js} +8 -8
- package/dist/{send-DUJqLDEQ.js → send-CEgqE2b1.js} +5 -5
- package/dist/{send-BTQQeOIu.js → send-DR5zNR-6.js} +6 -6
- package/dist/{send-CM55Cnqy.js → send-DTvtOsK3.js} +4 -4
- package/dist/{server-context-DdGwcBos.js → server-context-FT_S05Zu.js} +12 -12
- package/dist/{server-lifecycle-TD7uRUJM.js → server-lifecycle-YV61YmRr.js} +2 -2
- package/dist/{server-middleware-Dqzu_N47.js → server-middleware-BPI-0Duw.js} +1 -1
- package/dist/{server-node-events-CstHr-4q.js → server-node-events-Bn6C-kB6.js} +74 -74
- package/dist/{server-node-events-CFcRS-lD.js → server-node-events-CbUk95yd.js} +2 -2
- package/dist/{server-57rjxu9J.js → server-vPpafyBR.js} +20 -20
- 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-DqzU9P2d.js → session-utils-CTpXGSxL.js} +6 -6
- package/dist/{sessions-BPbCt7hk.js → sessions-CZvR93mC.js} +4 -4
- package/dist/{sessions-BUNwVEqF.js → sessions-Cvvux3S6.js} +15 -15
- package/dist/{shared-CeHWQzSU.js → shared-ByZODVse.js} +3 -3
- package/dist/{shared-CpqkgNHp.js → shared-Cj-SPh02.js} +1 -1
- package/dist/{skill-commands-BlmjGaIe.js → skill-commands-CzaT61kL.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-Dmbm2-L8.js → skills-cli-Bk2WM5gn.js} +5 -5
- package/dist/{skills-install-DSB3T8VY.js → skills-install-0pjIZu1-.js} +6 -6
- package/dist/{skills-status-CmWpjTMz.js → skills-status-Bu28FGtt.js} +1 -1
- package/dist/{slash-commands.runtime-CTVGYo20.js → slash-commands.runtime-CU--cvcd.js} +11 -11
- package/dist/slash-dispatch.runtime-B4quYJn4.js +110 -0
- package/dist/{slash-dispatch.runtime-B0OIPdp3.js → slash-dispatch.runtime-BBH2jQsL.js} +1 -1
- package/dist/{slash-dispatch.runtime-CQmhrE1-.js → slash-dispatch.runtime-BLQZdvZW.js} +6 -6
- package/dist/{slash-dispatch.runtime-DtN2NmXJ.js → slash-dispatch.runtime-wBORF-o1.js} +1 -1
- package/dist/slash-skill-commands.runtime-DnvHGcVS.js +29 -0
- package/dist/{status-DPFQHdBI.js → status-BqpyCRc4.js} +28 -28
- package/dist/{status-DClHhy30.js → status-DHIaRvxs.js} +2 -2
- package/dist/{status.update-ZhDibzTU.js → status.update-CdaaXiD4.js} +2 -2
- package/dist/{store-Dgl-neCe.js → store-LSg8jeyh.js} +5 -5
- package/dist/{subagent-registry-DPqc72Pw.js → subagent-registry-CRAr7csi.js} +160 -160
- package/dist/{subagent-registry-runtime-BYxLgcCY.js → subagent-registry-runtime-BfYm3d-n.js} +6 -6
- package/dist/{subagent-registry-runtime-CdEy9DKy.js → subagent-registry-runtime-CnPoAflv.js} +1 -1
- package/dist/{subagent-registry-runtime-Cv_Xt2cx.js → subagent-registry-runtime-DQb8qzq2.js} +1 -1
- package/dist/subagent-registry-runtime-sMbEjW_q.js +110 -0
- package/dist/{system-cli-BiiO_z6k.js → system-cli-B8wmT3y0.js} +9 -9
- package/dist/{system-run-command-CUMrwy8H.js → system-run-command-Ft0meR8i.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-Bjpb4vEC.js → tables-B6p8P9wY.js} +1 -1
- package/dist/{tailnet-C4yxhmDk.js → tailnet-yScEfa2T.js} +1 -1
- package/dist/{target-errors-Bd8kj4z9.js → target-errors-HJQQHC3B.js} +4 -4
- package/dist/{tool-images-DbchBdq5.js → tool-images-Cp3hNFNZ.js} +1 -1
- package/dist/{tui-BVOPPCMP.js → tui-BPqNtl51.js} +6 -6
- package/dist/{tui-cli-B2jmEXCo.js → tui-cli-BZE2zssw.js} +32 -32
- package/dist/{update-cli-PDG-KYWB.js → update-cli-Bk3xkEPl.js} +105 -105
- package/dist/{update-cli-Dj_9Bokl.js → update-cli-G1w1hdg4.js} +7 -7
- package/dist/{update-runner-BkpGT3AA.js → update-runner-CgS5D8t8.js} +16 -16
- package/dist/{update-runner-BUoHYjl8.js → update-runner-TyDM6-ms.js} +1 -1
- package/dist/{update-DF240Zd0.js → update-u6OtnABh.js} +3 -3
- package/dist/web-7w_9CsnG.js +114 -0
- package/dist/{web-Dbqs3hbC.js → web-B790MBdK.js} +1 -1
- package/dist/{web-0SOsmYmI.js → web-BPiSo--I.js} +6 -6
- package/dist/{web-YBvuT4WS.js → web-BmYQFz4q.js} +2 -2
- package/dist/{webhooks-cli-N_vV0iXR.js → webhooks-cli-D4O_OfXU.js} +6 -6
- package/dist/{whatsapp-actions-X768ziyc.js → whatsapp-actions-By2rV868.js} +17 -17
- package/dist/{winclaw-root-DEqOOeOw.js → winclaw-root-D0OUuGl7.js} +8 -8
- package/dist/{with-timeout-DJb5ULbL.js → with-timeout-Cng0KnPd.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/package.json +1 -1
- package/dist/cli-BozE7JCS.js +0 -154
- package/dist/deliver-runtime-DJsAB9LW.js +0 -57
- package/dist/deps-send-discord.runtime-M8Cl0fms.js +0 -32
- package/dist/deps-send-imessage.runtime-Bing_Bvm.js +0 -31
- package/dist/deps-send-signal.runtime-CEnhoskG.js +0 -30
- package/dist/deps-send-slack.runtime-DeKWrOdA.js +0 -28
- package/dist/deps-send-telegram.runtime-K5LxxPog.js +0 -34
- package/dist/deps-send-whatsapp.runtime-Cie2nrT8.js +0 -115
- package/dist/image-runtime-HfAsK5X3.js +0 -51
- package/dist/manager-runtime-BrpO8pJp.js +0 -22
- package/dist/plugin-sdk/deliver-runtime-BH3fUFW1.js +0 -32
- package/dist/plugin-sdk/deps-send-discord.runtime-CLboFQJz.js +0 -23
- package/dist/plugin-sdk/deps-send-imessage.runtime-BVlGKP96.js +0 -22
- package/dist/plugin-sdk/deps-send-signal.runtime-0640YmBr.js +0 -21
- package/dist/plugin-sdk/deps-send-slack.runtime-BqbFKjcg.js +0 -19
- package/dist/plugin-sdk/deps-send-telegram.runtime-1a2RXcA2.js +0 -24
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-CpOH0wYd.js +0 -57
- package/dist/plugin-sdk/image-runtime-D57a2W4s.js +0 -25
- package/dist/plugin-sdk/manager-runtime-3rKbDrJp.js +0 -15
- package/dist/plugin-sdk/pi-model-discovery-runtime-26px0QfL.js +0 -8
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-YsrzSsFL.js +0 -10
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-DL6Ses5K.js +0 -19
- package/dist/plugin-sdk/slash-commands.runtime-ynnr6oUR.js +0 -13
- package/dist/plugin-sdk/slash-dispatch.runtime-DOmMrwMj.js +0 -52
- package/dist/plugin-sdk/slash-skill-commands.runtime-eAk1jhVy.js +0 -16
- package/dist/plugin-sdk/subagent-registry-runtime-CQ3m7TwQ.js +0 -52
- package/dist/plugin-sdk/web-B1Svh1KM.js +0 -56
- package/dist/register.configure-CiIuig3f.js +0 -162
- package/dist/runtime-whatsapp-outbound.runtime-DOHkvY0R.js +0 -28
- package/dist/slash-dispatch.runtime-yKnwVCI5.js +0 -110
- package/dist/slash-skill-commands.runtime-BCG9eUm1.js +0 -29
- package/dist/subagent-registry-runtime-DE-5902Y.js +0 -110
- package/dist/web-20qjCzeI.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-CmoHF97e.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-DCxDsURZ.js";
|
|
16
|
+
import { s as resolveGatewayCredentialsWithSecretInputs, t as buildGatewayConnectionDetails } from "./call-BLyRfBMl.js";
|
|
17
17
|
import "./pairing-token-CyhEb6Je.js";
|
|
18
|
-
import "./net-
|
|
19
|
-
import "./tailnet-
|
|
18
|
+
import "./net-DQYHvbkN.js";
|
|
19
|
+
import "./tailnet-yScEfa2T.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, er as ensureAuthProfileStore, or as resolveAuthStorePath } from "./auth-profiles-
|
|
3
|
+
import { G as writeConfigFile, er as ensureAuthProfileStore, or as resolveAuthStorePath } from "./auth-profiles-CmoHF97e.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-CRAr7csi.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-7lOdCHhD.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-E-3Wz4C4.js";
|
|
16
|
+
import { a as pruneAgentConfig, i as loadAgentIdentity, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-BC6TW53i.js";
|
|
17
|
+
import { r as setupChannels } from "./onboard-channels-DuQfbGvH.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-CSZQYOpt.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-CRAr7csi.js";
|
|
4
4
|
|
|
5
5
|
//#region src/commands/agents.config.ts
|
|
6
6
|
function findAgentEntryIndex(list, agentId) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { in as loadAgentIdentityFromWorkspace, rn as identityHasValues } from "./reply-
|
|
1
|
+
import { in as loadAgentIdentityFromWorkspace, rn as identityHasValues } from "./reply-a2GVvnP2.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
|
|
|
@@ -11,8 +11,8 @@ import "./plugins-7rATz3L_.js";
|
|
|
11
11
|
import "./accounts-C4E8dXY5.js";
|
|
12
12
|
import "./accounts-erBd-vFQ.js";
|
|
13
13
|
import "./image-ops-B57kBDSi.js";
|
|
14
|
-
import "./pi-embedded-helpers-
|
|
15
|
-
import "./chrome-
|
|
14
|
+
import "./pi-embedded-helpers-BMGRFCuV.js";
|
|
15
|
+
import "./chrome-GsaZ074n.js";
|
|
16
16
|
import "./frontmatter-Bd5ovog5.js";
|
|
17
17
|
import "./skills-RKUR-FBW.js";
|
|
18
18
|
import "./path-alias-guards-DQAZEPdU.js";
|
|
@@ -24,8 +24,8 @@ import "./store-TUglTWiC.js";
|
|
|
24
24
|
import "./accounts-B8tD_UsF.js";
|
|
25
25
|
import "./paths-ClcxBVEC.js";
|
|
26
26
|
import "./tool-images-vmtyKntM.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-7s8Q2r40.js";
|
|
28
|
+
import { g as isAudioAttachment, i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription } from "./audio-transcription-runner-DpvjaNmr.js";
|
|
29
29
|
import "./fetch-DJPm89Bh.js";
|
|
30
30
|
import "./fetch-guard-B21Cix4W.js";
|
|
31
31
|
import "./api-key-rotation-KGcAmHdg.js";
|
|
@@ -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-CmoHF97e.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-Cvvux3S6.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-DQYHvbkN.js";
|
|
28
|
+
import "./tailnet-yScEfa2T.js";
|
|
29
|
+
import "./image-ops-eFMqXMDE.js";
|
|
30
|
+
import "./pi-embedded-helpers-BWpzwT6B.js";
|
|
31
|
+
import "./sandbox-D19lOCVP.js";
|
|
32
32
|
import "./tool-catalog-DN2kDDZk.js";
|
|
33
|
-
import "./chrome-
|
|
33
|
+
import "./chrome-RAfAR4xV.js";
|
|
34
34
|
import "./tailscale-CB_lUnsU.js";
|
|
35
|
-
import "./auth-
|
|
36
|
-
import "./server-context-
|
|
37
|
-
import "./paths-
|
|
35
|
+
import "./auth-CU4HqNch.js";
|
|
36
|
+
import "./server-context-FT_S05Zu.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-B7GwrH5p.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-BPI-0Duw.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-DYJ-p9kt.js";
|
|
49
|
+
import "./model-catalog-08ftNXDk.js";
|
|
50
|
+
import "./fetch-CdvuNDFE.js";
|
|
51
|
+
import { _ as isAudioAttachment, i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription } from "./audio-transcription-runner-DGZYB2Wq.js";
|
|
52
|
+
import "./fetch-guard-D-W6TRJN.js";
|
|
53
|
+
import "./image-EjGWXbei.js";
|
|
54
54
|
import "./tool-display-DRwMjyJE.js";
|
|
55
|
-
import "./api-key-rotation-
|
|
55
|
+
import "./api-key-rotation-D_JdsLIl.js";
|
|
56
56
|
import "./proxy-fetch-BqEHARvZ.js";
|
|
57
57
|
|
|
58
58
|
//#region src/media-understanding/audio-preflight.ts
|
package/dist/{audio-transcription-runner-nnwJufig.js → audio-transcription-runner-DGZYB2Wq.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-CmoHF97e.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-08ftNXDk.js";
|
|
9
|
+
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia, t as MediaFetchError } from "./fetch-CdvuNDFE.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-D-W6TRJN.js";
|
|
12
|
+
import { t as describeImageWithModel } from "./image-EjGWXbei.js";
|
|
13
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-D_JdsLIl.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;
|
package/dist/{audio-transcription-runner-1-9PFrzh.js → audio-transcription-runner-DpvjaNmr.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-mj3P0Z9o.js";
|
|
5
5
|
import { _ as normalizeChatType } from "./plugins-7rATz3L_.js";
|
|
6
6
|
import { E as kindFromMime, S as getFileExtension, b as detectMime, w as isAudioFileName } from "./image-ops-B57kBDSi.js";
|
|
7
|
-
import { t as describeImageWithModel, w as ensureWinClawModelsJson } from "./image-
|
|
7
|
+
import { t as describeImageWithModel, w as ensureWinClawModelsJson } from "./image-7s8Q2r40.js";
|
|
8
8
|
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia, t as MediaFetchError } from "./fetch-DJPm89Bh.js";
|
|
9
9
|
import { n as fetchWithTimeout } from "./fetch-timeout-Bghlv-lk.js";
|
|
10
10
|
import { t as fetchWithSsrFGuard } from "./fetch-guard-B21Cix4W.js";
|