wednesdayai 0.4.12-dev.711 → 0.4.12-dev.715
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/{acp-cli-DrXF9X9v.js → acp-cli-BYoOiK6T.js} +13 -13
- package/dist/{agent-scope-BAXIXdUR.js → agent-scope-CWTkr4pS.js} +20 -20
- package/dist/{agent-turn-enqueue-BQ4JOmUN.js → agent-turn-enqueue-Dwz_R_DW.js} +5 -5
- package/dist/{agent-turn-recovery-adapter-BRVxIXJY.js → agent-turn-recovery-adapter-DF3vdyE5.js} +3 -3
- package/dist/{agent-turn-runner-BGmkN_A8.js → agent-turn-runner-DFZxbjaC.js} +4 -4
- package/dist/{agents.config-BnEJCj-p.js → agents.config-C-pTu-0T.js} +2 -2
- package/dist/{api-key-rotation-BEJklVjh.js → api-key-rotation-BEt1ZchD.js} +1 -1
- package/dist/{audio-preflight-C3XXSW_q.js → audio-preflight-nrbQcAOS.js} +36 -36
- package/dist/{audio-transcription-runner-DbLu4y_x.js → audio-transcription-runner-D-d42kdt.js} +26 -26
- package/dist/{audit-DIH0DO00.js → audit-C_g-UVNn.js} +29 -29
- package/dist/{auth-CO4L12L5.js → auth-DeLQvx-N.js} +4 -4
- package/dist/{auth-choice-DvG3v5sy.js → auth-choice-Be8iuCdY.js} +16 -16
- package/dist/{auth-choice-pem6VE1T.js → auth-choice-ZsDU-57A.js} +13 -13
- package/dist/{auth-choice.apply-helpers-CLYswf6f.js → auth-choice.apply-helpers-CMHfbKNY.js} +1 -1
- package/dist/{auth-token-C4PqndxM.js → auth-token-DK8X73K5.js} +2 -2
- package/dist/{bonjour-discovery-BBOJN88F.js → bonjour-discovery-C517Q6gA.js} +3 -3
- package/dist/{browser-cli-BI1mfCKP.js → browser-cli-DvjIut0z.js} +20 -20
- package/dist/build-info.json +3 -3
- package/dist/{call-CMjUSitZ.js → call-Cl6Q0T5z.js} +12 -12
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-Dc7AMtZ7.js → channel-account-context-C9otZxLF.js} +6 -6
- package/dist/{channel-activity-etjAZzDh.js → channel-activity-CE3dhlxR.js} +2 -2
- package/dist/{channel-options-BrBZqoUe.js → channel-options-CdXOmeJN.js} +4 -4
- package/dist/{channel-selection-WlHA0Mjg.js → channel-selection-zg0Iqza4.js} +1 -1
- package/dist/{channels-cli-DldYF6sZ.js → channels-cli-CBBGSlVe.js} +114 -114
- package/dist/{channels-status-issues-CyJj51t4.js → channels-status-issues-C6LrjLpF.js} +1 -1
- package/dist/{chrome-CBrgxie9.js → chrome-DXHMnxHS.js} +6 -6
- package/dist/{chunk-BTTi6And.js → chunk-BDQQgsxn.js} +2 -2
- package/dist/{clack-prompter-CbMy5Zvz.js → clack-prompter-CcVX4jId.js} +5 -5
- package/dist/{clawbot-cli-B-d0ta-h.js → clawbot-cli-C-wEI2Wc.js} +16 -16
- package/dist/cli-BtY_juql.js +164 -0
- package/dist/{client-MNVuOIDb.js → client-BbpMX08n.js} +3 -3
- package/dist/{client-profiles-BAQWDfq6.js → client-profiles-BNQu4_Z_.js} +2 -2
- package/dist/{clipboard-q7q26OPS.js → clipboard-DcxpnFIc.js} +1 -1
- package/dist/{command-queue-Banup9vQ.js → command-queue-B1RxJ6bM.js} +1 -1
- package/dist/{command-secret-targets-84-Vq1Kn.js → command-secret-targets-DtDJB3vv.js} +4 -4
- package/dist/{commands-registry-DY2vMgw6.js → commands-registry-BMswme6t.js} +3 -3
- package/dist/{commands-CpMRpWle.js → commands-tFdLuF5k.js} +1 -1
- package/dist/{completion-cli-C0m7BZi2.js → completion-cli-Dbszfn8D.js} +15 -15
- package/dist/{config-cli-CLZB8EiO.js → config-cli-3a-9iNyI.js} +11 -11
- package/dist/{config-guard-a0CqCfhq.js → config-guard-BwLGp24P.js} +15 -15
- package/dist/{config-validation-D1W4dKAT.js → config-validation-DDtU1EJP.js} +2 -2
- package/dist/{configure-BoJEz3Lg.js → configure-Dld8IaT8.js} +25 -25
- package/dist/{control-ui-assets-D-_OfiOV.js → control-ui-assets-DonecnKL.js} +3 -3
- package/dist/{controller-Z7o2nxni.js → controller-0fS4uYcF.js} +1 -1
- package/dist/{credentials-DgZP7kxk.js → credentials-Hn2dA0oB.js} +1 -1
- package/dist/{cron-cli-BA4vsm3K.js → cron-cli-BuO3qskK.js} +14 -14
- package/dist/{daemon-cli-UPL01HBu.js → daemon-cli-C5cAb15Z.js} +19 -19
- package/dist/{daemon-install-btuIR9OH.js → daemon-install-CBIxgo4p.js} +11 -11
- package/dist/{daemon-install-helpers-CG4IZ_7L.js → daemon-install-helpers-C8mJ0UpL.js} +13 -13
- package/dist/{deliver-BpzzrBKl.js → deliver-Bhlx9VG9.js} +9 -9
- package/dist/{devices-cli-gtCGUgQz.js → devices-cli-HXNfviPB.js} +13 -13
- package/dist/{diagnostic-BRYj59Hw.js → diagnostic-BTSirPP0.js} +3 -3
- package/dist/{diagnostics-BTeays6z.js → diagnostics-FIcvxigK.js} +5 -5
- package/dist/{directory-cli-DtgQeMLi.js → directory-cli-A6e49xZw.js} +11 -11
- package/dist/{dns-cli-QXa894v2.js → dns-cli-BZvwwprO.js} +11 -11
- package/dist/{docs-cli-C5Q8gAsv.js → docs-cli-BQ8oTRz4.js} +10 -10
- package/dist/{doctor-completion-B19G-I8Y.js → doctor-completion-Ca_SREXp.js} +3 -3
- package/dist/{doctor-config-flow-BTbRx17L.js → doctor-config-flow-BSKd49U6.js} +14 -14
- package/dist/{enable-BF67ibhx.js → enable-BIAeEt0I.js} +2 -2
- package/dist/{env-DtoMyFfk.js → env-ESh4ZX9l.js} +1 -1
- package/dist/{exec-Cg_eKCg0.js → exec-CHq-p5L0.js} +2 -2
- package/dist/{exec-approvals-C-_jrhwb.js → exec-approvals-D8Tqfo34.js} +1 -1
- package/dist/{exec-approvals-allowlist-B2foVOBU.js → exec-approvals-allowlist-0xON2SZW.js} +1 -1
- package/dist/{exec-approvals-cli-CwwxNa7v.js → exec-approvals-cli-DsXabPF_.js} +23 -23
- package/dist/{exec-safe-bin-runtime-policy-CfsF46fx.js → exec-safe-bin-runtime-policy-KSPaR73B.js} +2 -2
- package/dist/{extension-relay-auth-IPIDjhZx.js → extension-relay-auth-C-1c9CZk.js} +10 -10
- package/dist/{fetch-guard-BCFGxdCb.js → fetch-guard-CjyGDRXN.js} +3 -3
- package/dist/{fs-safe-D3vN4fQ5.js → fs-safe-DD7KXuvI.js} +25 -25
- package/dist/{gateway-cli-BtV-wVjj.js → gateway-cli-BTuK5wC4.js} +210 -210
- package/dist/{gateway-rpc-CgAHXoCu.js → gateway-rpc-DNsG0xAN.js} +3 -3
- package/dist/{gmail-setup-utils-DWxTEPL5.js → gmail-setup-utils-CRvbl5q3.js} +2 -2
- package/dist/{health-CDGk5xDG.js → health-DFWpyp9O.js} +9 -9
- package/dist/{health-format-B9nTs2HW.js → health-format-_VGfj3fm.js} +1 -1
- package/dist/{heartbeat-tick-RHab8Aje.js → heartbeat-tick-CsyeD75h.js} +1 -1
- package/dist/{help-format-BC4GRIFN.js → help-format-DqpZruAs.js} +1 -1
- package/dist/{hooks-cli-BT0kyUWU.js → hooks-cli-DKZeKlmX.js} +105 -105
- package/dist/{hooks-status-Dv9XGWQ9.js → hooks-status-D20U_9R-.js} +2 -2
- package/dist/{plugin-sdk/image-ops-DY_SZfXk.js → image-ops-DcqCZEUY.js} +2 -2
- package/dist/{incident-install-BdXMiCuu.js → incident-install-cGBLZhud.js} +12 -12
- package/dist/index.js +104 -104
- package/dist/{inspect-CdQNUkBH.js → inspect-DVHAPbcZ.js} +4 -4
- package/dist/{install-safe-path-67wN9WdC.js → install-safe-path-DjFYmzeb.js} +25 -25
- package/dist/{installs-BlKgbSFc.js → installs-CnAcm0ba.js} +10 -10
- package/dist/{ipv4-m0FxF_em.js → ipv4-PE-rqUZG.js} +2 -2
- package/dist/{ir-D--2OWCl.js → ir-DDAVSgbQ.js} +8 -8
- package/dist/{issue-format-B1dmuNNd.js → issue-format-D0G927lb.js} +1 -1
- package/dist/{lifecycle-core-DfYD23X_.js → lifecycle-core-B3-ezmTx.js} +9 -9
- package/dist/{links-DZMDihQ-.js → links-BhLGjTwm.js} +1 -1
- package/dist/{live-repair-BGbr6jGR.js → live-repair-RXzcIxWc.js} +11 -11
- package/dist/{local-roots-DrpBY-AE.js → local-roots-_qt4-Ma5.js} +5 -5
- package/dist/{log-tail-COb9xmHL.js → log-tail-BAg8b5Wq.js} +7 -7
- package/dist/{logger-BCqJpXqF.js → logger-0VqfDbvM.js} +2 -2
- package/dist/{logging-CuKoRd0b.js → logging-DcZLtf7P.js} +1 -1
- package/dist/{logs-cli-BTCW2CK0.js → logs-cli-BdR6-Q3U.js} +19 -19
- package/dist/{manager-LX1QQ8aK.js → manager-DehDxi2A.js} +17 -17
- package/dist/{markdown-tables-pIjKFnaZ.js → markdown-tables-BEZ0s08w.js} +1 -1
- package/dist/{memory-cli-CFyBR_Pp.js → memory-cli-DZyEfnsr.js} +18 -18
- package/dist/{model-CR-oCFb_.js → model-BI6n6kVo.js} +2 -2
- package/dist/{model-catalog-C300CH2M.js → model-catalog-C7itJJDM.js} +4 -4
- package/dist/{model-picker-CFbPs-vi.js → model-picker-Bt7fcUKH.js} +4 -4
- package/dist/{model-selection-C8GCtGby.js → model-selection-k68XU4oS.js} +52 -52
- package/dist/{models-cli-D0T4sJZO.js → models-cli-C7bSvLGL.js} +109 -109
- package/dist/{models-config-CcPjsQTv.js → models-config-Burwt3mB.js} +7 -7
- package/dist/{node-cli-BAmgr8kO.js → node-cli-CPo0jR3t.js} +43 -43
- package/dist/{node-command-policy-CggBPF1a.js → node-command-policy-B9A0wAU6.js} +1 -1
- package/dist/{node-service-yxlqFzdT.js → node-service-BnwLXY5x.js} +1 -1
- package/dist/{nodes-cli-Tth7cV2w.js → nodes-cli-D9vz6Yaa.js} +25 -25
- package/dist/{nodes-screen-Bu5K5Iky.js → nodes-screen-BRZLdw3g.js} +8 -8
- package/dist/{note-xK3tzN__.js → note-DCbCarQS.js} +2 -2
- package/dist/{npm-pack-install-Cbcm8AtO.js → npm-pack-install-CFiN84Qw.js} +24 -24
- package/dist/{npm-resolution-CD79ResX.js → npm-resolution-B7regLLc.js} +5 -5
- package/dist/{oauth-tls-preflight-Ow3-5CVf.js → oauth-tls-preflight-B5akdNNh.js} +1 -1
- package/dist/{onboard-DUd7yo33.js → onboard-B_6H9HpS.js} +11 -11
- package/dist/{onboard-channels-CEercm9o.js → onboard-channels-CxiuviBR.js} +21 -21
- package/dist/{onboard-custom-Cu_HKMT1.js → onboard-custom-x_zbf7qu.js} +4 -4
- package/dist/{onboard-helpers-Dxgs6IKs.js → onboard-helpers-ziqfw3UR.js} +13 -13
- package/dist/{onboard-hooks-iOe4YWKj.js → onboard-hooks-BaZe-xl6.js} +7 -7
- package/dist/{onboard-remote-DEBKk92p.js → onboard-remote-BsnRgDQj.js} +5 -5
- package/dist/{onboard-skills-rEFqAB8T.js → onboard-skills-DwbAJ4nt.js} +4 -4
- package/dist/{onboarding-Bd05RKZ7.js → onboarding-D9VO9_5U.js} +18 -18
- package/dist/{onboarding.finalize-DPQPP-Aj.js → onboarding.finalize-DeJ35Prz.js} +112 -112
- package/dist/{onboarding.gateway-config-CgdJWu5V.js → onboarding.gateway-config-DOvEzkIo.js} +17 -17
- package/dist/{onboarding.secret-input-BOKPA83p.js → onboarding.secret-input-BCxy1JxD.js} +1 -1
- package/dist/{openai-model-default-C4QfTJob.js → openai-model-default-CpqJmHpI.js} +2 -2
- package/dist/{openclaw-root-B2l0kAM1.js → openclaw-root-BGUYWYDG.js} +2 -2
- package/dist/{operator-commands-B0t7kxcZ.js → operator-commands-BRKxpjt9.js} +5 -5
- package/dist/{outbound-attachment-BqIKnptw.js → outbound-attachment-Bg7WvYcG.js} +2 -2
- package/dist/{outbound-message-hooks-DOSD8zCU.js → outbound-message-hooks-t1DDjQX_.js} +4 -4
- package/dist/{pairing-cli-D9NWToyR.js → pairing-cli-Cmlyczsc.js} +11 -11
- package/dist/{pairing-labels-BCnxr7Pt.js → pairing-labels-CGUWaZ3f.js} +1 -1
- package/dist/{pairing-store-CL-UFd1J.js → pairing-store-CQ7fjFFo.js} +2 -2
- package/dist/{path-alias-guards-DaLVcmyn.js → path-alias-guards-BSmwo1rT.js} +3 -3
- package/dist/{path-env-CQ3HfD18.js → path-env-IcDKkMPr.js} +1 -1
- package/dist/{path-safety-DSl6BwW9.js → path-safety-DAKUyD-v.js} +1 -1
- package/dist/{pi-embedded-helpers-DxQslB8x.js → pi-embedded-helpers-DEHXX7Dr.js} +8 -8
- package/dist/{pi-embedded-recovery-adapter-DRzWCwVb.js → pi-embedded-recovery-adapter-MaU4SQ3X.js} +3 -3
- package/dist/pi-embedded-recovery-adapter-ZV9u5snz.js +61 -0
- package/dist/{pi-embedded-utils-39kuXd-l.js → pi-embedded-utils-BhOMYPQU.js} +2 -2
- package/dist/{pi-model-discovery-B9wn9y4o.js → pi-model-discovery-CfUi22Es.js} +1 -1
- package/dist/{pi-tools.policy-BViSZbge.js → pi-tools.policy-4GqIom7_.js} +4 -4
- package/dist/{plugin-owned-work-recovery-adapter-CnQZf19o.js → plugin-owned-work-recovery-adapter-DHYQi-Bq.js} +8 -8
- package/dist/{plugin-registry-DBsuekLm.js → plugin-registry-alYBvHFE.js} +4 -4
- package/dist/plugin-sdk/{agent-scope-BYp_CjdU.js → agent-scope-BLF4nZUv.js} +2 -2
- package/dist/plugin-sdk/agent-turn-execute-C4MQxaT2.js +61 -0
- package/dist/plugin-sdk/{agent-turn-runner-CeC9JbVM.js → agent-turn-runner-YBWX_qXk.js} +6 -6
- package/dist/plugin-sdk/agent-turn-runner-e_lJzDgA.js +11 -0
- package/dist/plugin-sdk/{api-key-rotation-CDNf_4cI.js → api-key-rotation-XDUKz2gd.js} +2 -2
- package/dist/plugin-sdk/{artifacts-BMLMg3MG.js → artifacts-HAYpGlG1.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-BmKL6FNP.js → audio-preflight-BS29OWk3.js} +2 -2
- package/dist/plugin-sdk/audio-preflight-DE04bi4M.js +28 -0
- package/dist/plugin-sdk/{audio-transcription-runner-TBjJv_mZ.js → audio-transcription-runner-BNafitZj.js} +10 -10
- package/dist/plugin-sdk/{auth-profiles-DHZjW8Vk.js → auth-profiles-CCJQoedi.js} +5 -5
- package/dist/plugin-sdk/{channel-activity-Dr4PYej7.js → channel-activity-BKwRzYJb.js} +3 -3
- package/dist/plugin-sdk/{chrome-BDy1zYAr.js → chrome-D0eLSqkP.js} +4 -4
- package/dist/plugin-sdk/{chunk-DGQdf0JN.js → chunk-CDvvv9SU.js} +3 -3
- package/dist/plugin-sdk/{chunk-BTSnO1wn.js → chunk-DI-5pBck.js} +6 -6
- package/dist/plugin-sdk/{command-detection-w_6bwXGh.js → command-detection-B3xgM_Na.js} +85 -85
- package/dist/plugin-sdk/{command-queue-CeaLVs8O.js → command-queue-BnJsJc_w.js} +8 -8
- package/dist/plugin-sdk/{command-queue-DFSOdqCK.js → command-queue-CHiQj9Ji.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-8sy0wsK_.js → commands-registry-Do_g2It_.js} +6 -6
- package/dist/plugin-sdk/{commands-registry-N6f_lsxF.js → commands-registry-DpLk11E7.js} +2 -2
- package/dist/plugin-sdk/{config-Biusjzx-.js → config-CQNfmIC8.js} +7 -7
- package/dist/plugin-sdk/deliver-D4fWK65M.js +32 -0
- package/dist/plugin-sdk/{deliver-BgHA8c9F.js → deliver-L6eu6zyG.js} +11 -11
- package/dist/plugin-sdk/{diagnostic-D6hSjxiv.js → diagnostic-C7lPoqyv.js} +5 -5
- package/dist/plugin-sdk/{diagnostic-Bni_8VyY.js → diagnostic-DfxuMWHd.js} +7 -7
- package/dist/plugin-sdk/{fetch-guard-C1a1KfEb.js → fetch-guard-CZT8FU1i.js} +3 -3
- package/dist/plugin-sdk/{fs-safe-CbZ6uRVv.js → fs-safe-B0JgGdXa.js} +3 -3
- package/dist/plugin-sdk/{hook-runner-global-BvxlnAyu.js → hook-runner-global-WRI53ibi.js} +3 -3
- package/dist/{image-ops-D-__yDh-.js → plugin-sdk/image-ops-kuILYHZv.js} +12 -12
- package/dist/plugin-sdk/index.js +54 -54
- package/dist/plugin-sdk/{ir-BNohi6ZW.js → ir-Bm7oqkwT.js} +5 -5
- package/dist/plugin-sdk/{local-roots-Bm7nDW20.js → local-roots-D-CHzVr1.js} +7 -7
- package/dist/plugin-sdk/{logger-D6KsqbNW.js → logger-BSK-0Yjx.js} +1 -1
- package/dist/plugin-sdk/manager-BlYRVNJI.js +16 -0
- package/dist/plugin-sdk/{manager-B_vK9MbM.js → manager-D2jffdjH.js} +8 -8
- package/dist/plugin-sdk/{markdown-tables-G4vK24xc.js → markdown-tables-DIWQQ2W1.js} +2 -2
- package/dist/plugin-sdk/markdown-tables-cZSKCBuW.js +10 -0
- package/dist/plugin-sdk/{outbound-attachment-Cw7T2Mrt.js → outbound-attachment-CtKKNyms.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-CVybi_GQ.js → path-alias-guards-CHfCMaeX.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-B_jgacW8.js → pi-embedded-helpers-BRymkO_1.js} +11 -11
- package/dist/plugin-sdk/{pi-embedded-utils-DOXEm_H8.js → pi-embedded-utils-BHmc3RVS.js} +3 -3
- package/dist/plugin-sdk/{pi-model-discovery-DWw1ReX-.js → pi-model-discovery-4X7_2_nP.js} +6 -6
- package/dist/plugin-sdk/{pi-model-discovery-DWUrLRLg.js → pi-model-discovery-6BBajZds.js} +1 -1
- package/dist/plugin-sdk/provider-dispatcher-D7bchiJq.js +61 -0
- package/dist/plugin-sdk/provider-image-CNlYbRab.js +22 -0
- package/dist/plugin-sdk/{provider-image-CEQrHWYz.js → provider-image-DBye3Ln5.js} +5 -5
- package/dist/plugin-sdk/proxy-D2uiu68M.js +7 -0
- package/dist/plugin-sdk/{proxy-BWc9guJs.js → proxy-DJ2nskkh.js} +1 -1
- package/dist/{proxy-fetch-k-wYHddO.js → plugin-sdk/proxy-fetch-CuQpjpkI.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-DQv6Xhce.js → pw-ai-BJrhPMHJ.js} +10 -10
- package/dist/plugin-sdk/{qmd-manager-CpV0SFnY.js → qmd-manager-DhW_frb3.js} +8 -8
- package/dist/plugin-sdk/{query-expansion-CwmHvvV_.js → query-expansion-NpBeKA8F.js} +3 -3
- package/dist/plugin-sdk/{recorder-BXZMRSjO.js → recorder-DdbAQ2HO.js} +4 -4
- package/dist/plugin-sdk/{redact-C88Ryyfs.js → redact-CUjmZn2Y.js} +1 -1
- package/dist/plugin-sdk/{replies-l2hZAzbt.js → replies-Dw3jvqpR.js} +4 -4
- package/dist/plugin-sdk/replies-XUkqz_7S.js +25 -0
- package/dist/plugin-sdk/{reply-directives-BwxzQXmX.js → reply-directives-BS8Ge06Z.js} +2 -2
- package/dist/plugin-sdk/{reply-prefix-qLQRxqrf.js → reply-prefix-Dt1hESHJ.js} +1 -1
- package/dist/plugin-sdk/reply-prefix-MU3uY52y.js +7 -0
- package/dist/plugin-sdk/{resolve-route-50KoArP9.js → resolve-route-BpLuk-wC.js} +4 -4
- package/dist/plugin-sdk/{resolve-route-6v1HVvWk.js → resolve-route-DiQTL1qI.js} +6 -6
- package/dist/plugin-sdk/{runs-CiohhBb8.js → runs-D6fAvItC.js} +7 -7
- package/dist/plugin-sdk/runs-R28wdt7j.js +25 -0
- package/dist/plugin-sdk/{send-Cv2CGnsK.js → send-BDwTyH6I.js} +8 -8
- package/dist/plugin-sdk/{send-DM6RpDCL.js → send-CE_6VOiQ.js} +7 -7
- package/dist/plugin-sdk/{send-Cx6gHjnA.js → send-Ce2XBaKF.js} +6 -6
- package/dist/plugin-sdk/send-Cg2VXcO0.js +27 -0
- package/dist/plugin-sdk/{send-BMSqETcU.js → send-CpXGZgrS.js} +6 -6
- package/dist/plugin-sdk/send-DAs6FmWB.js +23 -0
- package/dist/plugin-sdk/{send-DO0C4Uva.js → send-GMYUhBtJ.js} +19 -19
- package/dist/plugin-sdk/{send-DG4MQPPm.js → send-R0HB1-l-.js} +13 -13
- package/dist/plugin-sdk/send-UIQH_kN6.js +25 -0
- package/dist/plugin-sdk/send-tASIQF-Q.js +24 -0
- package/dist/plugin-sdk/{session-meta-CiqJP0pO.js → session-meta-BU2WXD0N.js} +2 -2
- package/dist/plugin-sdk/session-meta-Dd1ZONel.js +10 -0
- package/dist/plugin-sdk/{skill-commands-CE_SkRQk.js → skill-commands-BYfWIPfV.js} +5 -5
- package/dist/plugin-sdk/skill-commands-C7ZE3rKj.js +14 -0
- package/dist/plugin-sdk/{skills-CjW6uGTa.js → skills-BuJjEYto.js} +6 -6
- package/dist/plugin-sdk/{ssrf-BUCEDxp5.js → ssrf-DiAz1Z_z.js} +2 -2
- package/dist/plugin-sdk/{store-yBNTHg3N.js → store-Bl3Yjf_w.js} +2 -2
- package/dist/plugin-sdk/subagent-registry-2P8D5Trx.js +61 -0
- package/dist/plugin-sdk/{subsystem-CUUKL6Fr.js → subsystem-B2x33s9h.js} +4 -4
- package/dist/plugin-sdk/{tables-DKYi6grj.js → tables-CTmQQyfU.js} +1 -1
- package/dist/plugin-sdk/{tokens-ysZUkYZZ.js → tokens-DxJSOoJn.js} +1 -1
- package/dist/plugin-sdk/{tool-loop-detection-LsvZ1dIY.js → tool-loop-detection-Buouaxew.js} +1 -1
- package/dist/plugin-sdk/user-run-recording-BMikDBXR.js +11 -0
- package/dist/plugin-sdk/{user-run-recording-BMaK7jNR.js → user-run-recording-juCW_uQ-.js} +2 -2
- package/dist/{plugins-cli-Dr8MUuiG.js → plugins-cli-DnMc_Sn3.js} +108 -108
- package/dist/{polling-timeout-DQakFlgy.js → polling-timeout-lNYd7owP.js} +2 -2
- package/dist/{ports-D_uxJ7Lw.js → ports-BTxrPqTm.js} +2 -2
- package/dist/{ports-CmgxsJei.js → ports-CX4cOSom.js} +6 -6
- package/dist/{program-context-Bl-xFa6k.js → program-context-CJuzphrY.js} +47 -47
- package/dist/{progress-DVj1IfDI.js → progress-DRMfDm7h.js} +2 -2
- package/dist/{prompt-select-styled-BpNRj_0c.js → prompt-select-styled-C-FwsHQX.js} +48 -48
- package/dist/{prompt-style-DdJb0dOL.js → prompt-style-D0wRuIYC.js} +1 -1
- package/dist/{provider-auth-helpers-DUu-jv0m.js → provider-auth-helpers-DsfkAslg.js} +6 -6
- package/dist/{provider-image-GVjHOAmk.js → provider-image-RxbXQIow.js} +6 -6
- package/dist/{proxy-XUweXx3b.js → proxy-Df2WAHRA.js} +1 -1
- package/dist/{plugin-sdk/proxy-fetch-BYkGxQnh.js → proxy-fetch-Czv8kxaL.js} +1 -1
- package/dist/{push-apns--BFmn4qT.js → push-apns-Mp5OOpUH.js} +8 -8
- package/dist/{pw-ai-DcOIsodu.js → pw-ai-DmE1ofBV.js} +19 -19
- package/dist/{qmd-manager-Cl4D1wtV.js → qmd-manager-DvoTSplw.js} +23 -23
- package/dist/{qr-cli-DDaJ5f3a.js → qr-cli-BCIfpQUF.js} +8 -8
- package/dist/{query-expansion-DNw0oY0W.js → query-expansion-BD3CL_NZ.js} +13 -13
- package/dist/{reconcile-bundled-CoL_d96f.js → reconcile-bundled-BMWDZl32.js} +3 -3
- package/dist/{recorder-B9RfsO1r.js → recorder-BntUAL0_.js} +2 -2
- package/dist/{recovery-adapter-Bokfvz7s.js → recovery-adapter-BF5ESanQ.js} +2 -2
- package/dist/{recovery-adapter-B6QLivR9.js → recovery-adapter-BMqm3Nm4.js} +35 -35
- package/dist/{recovery-adapter-CMFB03AL.js → recovery-adapter-NtvPZ47M.js} +4 -4
- package/dist/{recovery-prompt-B1_BcmiM.js → recovery-prompt-SkkJ8aCp.js} +1 -1
- package/dist/{redact-snapshot-BtpCwP1X.js → redact-snapshot-Cm6wsMRx.js} +2 -2
- package/dist/{register.agent-Bv1bLbKG.js → register.agent-B5_L0CjL.js} +121 -121
- package/dist/register.configure-BbDac1C1.js +168 -0
- package/dist/{register.maintenance-C8FDl5FT.js → register.maintenance-Co2DeyQ1.js} +124 -124
- package/dist/{register.message-CAfCYwJP.js → register.message-BWeca9Pc.js} +98 -98
- package/dist/{register.onboard-cFRLSpET.js → register.onboard-4mSx6LtC.js} +22 -22
- package/dist/{register.setup-Bzi-36J6.js → register.setup-DCRrXbdT.js} +25 -25
- package/dist/{register.status-health-sessions-DV7xRpuM.js → register.status-health-sessions-DK12_BeX.js} +114 -114
- package/dist/{replay-DzQXXHrC.js → replay-BHfUVVHN.js} +1 -1
- package/dist/{replies-Bg8KJkdJ.js → replies-DoejQAqN.js} +4 -4
- package/dist/{reply-BsDGtY7Y.js → reply-BIZ2zaUq.js} +186 -186
- package/dist/{reply-directives-HkwESo_w.js → reply-directives-D5wW1el3.js} +2 -2
- package/dist/{reply-prefix-Cur1savb.js → reply-prefix-D0xrt6Z-.js} +1 -1
- package/dist/{resolve-route-C7CVSjFi.js → resolve-route-DnhX9nWr.js} +4 -4
- package/dist/{rpc-C1SlEDeI.js → rpc-B2GRFhpM.js} +3 -3
- package/dist/{runs-B3mLUDEo.js → runs-Yajg-SST.js} +7 -7
- package/dist/{runtime-Dp2vE941.js → runtime-Ch9itsH4.js} +4 -4
- package/dist/{runtime-config-collectors-CwBbdMqb.js → runtime-config-collectors-B4N79pBu.js} +1 -1
- package/dist/{runtime-guard-kynCEcXy.js → runtime-guard-DYUXYZIl.js} +1 -1
- package/dist/{sandbox-BnwxiNjx.js → sandbox-Ft7cM-PQ.js} +18 -18
- package/dist/{sandbox-cli-0Umoh6lR.js → sandbox-cli-DvMqiG0-.js} +26 -26
- package/dist/{secrets-cli-uctHYxxr.js → secrets-cli-mfGtyiPb.js} +16 -16
- package/dist/{security-cli-DgE-l1dY.js → security-cli-p_5UwabW.js} +43 -43
- package/dist/{send-BXSNB2Gu.js → send-26KAC8EW.js} +6 -6
- package/dist/{send-DkVvmrg9.js → send-9toI8d1j.js} +6 -6
- package/dist/{send-ZT3Ekuty.js → send-BA9PXvuC.js} +7 -7
- package/dist/{send-DweRAIgI.js → send-Cy2xiH02.js} +13 -13
- package/dist/{send-CgTUSkhw.js → send-DQQFc4N0.js} +14 -14
- package/dist/{server-context-qqDarnk8.js → server-context-Dezs5R_M.js} +12 -12
- package/dist/{server-BiyBJMEv.js → server-l9oy68N_.js} +25 -25
- package/dist/{server-lifecycle-E2HPe1NZ.js → server-lifecycle-DcVZS1ln.js} +3 -3
- package/dist/{server-middleware-CHvpqowx.js → server-middleware-BND1EkTO.js} +1 -1
- package/dist/{server-node-events-uGHyBXqP.js → server-node-events-BaFY8QcO.js} +97 -97
- package/dist/{service-CH9BWwSD.js → service-Hy5BSgmp.js} +15 -15
- package/dist/{session-consumer-agents-D_hiCJHw.js → session-consumer-agents-DWh7Mygv.js} +1 -1
- package/dist/{session-consumer-claim-sweep-aKULSjxA.js → session-consumer-claim-sweep-Bc4Qq0rB.js} +8 -8
- package/dist/{session-key-resolution-BlwVEVt_.js → session-key-resolution-DDJD1XYy.js} +4 -4
- package/dist/{session-meta-CXWLeYOC.js → session-meta-DzjDKcgW.js} +1 -1
- package/dist/{session-storage-DYSvotxA.js → session-storage-D3bntc9N.js} +7 -7
- package/dist/{sessions-C6bPQgaD.js → sessions-BQYQBpX0.js} +15 -15
- package/dist/{sessions-claims-status-DSufSy2u.js → sessions-claims-status-Bt9unG8h.js} +12 -12
- package/dist/{shared-CRF96lZH.js → shared-Bc-7t0_-.js} +2 -2
- package/dist/{shared-BFbMaMtM.js → shared-DyT9yMRI.js} +3 -3
- package/dist/{skill-commands-D0sJs3ds.js → skill-commands-Be2Bqqsm.js} +7 -7
- package/dist/{skill-scanner-D7Edx-Uz.js → skill-scanner-BA3h34y0.js} +7 -7
- package/dist/{skills-DT7dF3Z_.js → skills-Buc1RWDY.js} +6 -6
- package/dist/{skills-cli-CINDQ2Qe.js → skills-cli-DHvoBCEx.js} +10 -10
- package/dist/{skills-install-BUqzygk8.js → skills-install-DqCRPwE1.js} +9 -9
- package/dist/{skills-status-K-JYoR_J.js → skills-status-Dufi5_o3.js} +3 -3
- package/dist/{ssrf-BsWmJWfu.js → ssrf-B85AIIOO.js} +1 -1
- package/dist/{status-CYumLEox.js → status-BYesh62t.js} +34 -34
- package/dist/{status.update-CDd1OP3p.js → status.update-BOB92yBQ.js} +2 -2
- package/dist/{store-BKJfMltr.js → store-DoqX9VsZ.js} +7 -7
- package/dist/{subsystem-DRdkfGsB.js → subsystem-DDZBycwS.js} +1 -1
- package/dist/{supervisor-recovery-adapter-BxLO7wjD.js → supervisor-recovery-adapter-CTaDRl_d.js} +8 -8
- package/dist/{system-cli-DJd5Vz-h.js → system-cli-B-THY8xp.js} +14 -14
- package/dist/{system-run-command-uuNBjw5D.js → system-run-command-AF8TLlEl.js} +2 -2
- package/dist/{systemd-LaMffSwB.js → systemd-DsBMxUv1.js} +11 -11
- package/dist/{systemd-hints-Cq7MC9oh.js → systemd-hints-WHzM5Tf8.js} +7 -7
- package/dist/{systemd-linger-Cv1mTB1q.js → systemd-linger-EvpJ4ZxF.js} +2 -2
- package/dist/{table-BntrQEtu.js → table-DoIju7rh.js} +2 -2
- package/dist/{tables-CI3gYRvQ.js → tables-CzW-cMQN.js} +1 -1
- package/dist/{tailnet-CA8Lq90p.js → tailnet-G5phL2pY.js} +1 -1
- package/dist/{tailscale-C-_dOj1h.js → tailscale-DbsrfsUT.js} +3 -3
- package/dist/{task-pipeline-boot-nWDIjt5K.js → task-pipeline-boot-CaVeITev.js} +97 -97
- package/dist/{task-runlog-retention-BlMTtOsA.js → task-runlog-retention-BZrnJGL1.js} +3 -3
- package/dist/{tasks-NzeWQU_K.js → tasks-DXPXCFmn.js} +12 -12
- package/dist/{tokens-C6a47LiJ.js → tokens-BvecxQYg.js} +1 -1
- package/dist/{tool-display-CwPZlMoS.js → tool-display-D63I3y22.js} +1 -1
- package/dist/{tool-loop-detection-BUuXGw31.js → tool-loop-detection-3zBgQ3Bx.js} +2 -2
- package/dist/{trash-CYaie1Ci.js → trash-BcRk_NVC.js} +3 -3
- package/dist/{tui-CPb7mIZu.js → tui-Bo4LZvgz.js} +8 -8
- package/dist/{tui-cli-Csu-daF-.js → tui-cli-hVvCHoLU.js} +32 -32
- package/dist/{update-BqKLo08q.js → update-CXf5cJ0D.js} +3 -3
- package/dist/{update-cli-DjE99d_9.js → update-cli-BB7ybH-w.js} +134 -134
- package/dist/{update-runner-CrNSgmGV.js → update-runner-BYv_ec3N.js} +18 -18
- package/dist/{user-run-recording-DjkX5Mx3.js → user-run-recording-CTVI96gC.js} +2 -2
- package/dist/{utils-CmAaKeiM.js → utils-CMEUUHmM.js} +7 -7
- package/dist/{validation-cli-BRxfq9qy.js → validation-cli-CGimO4ZJ.js} +97 -97
- package/dist/{web-cli-DINMU0iQ.js → web-cli-KjTxS3h8.js} +3 -3
- package/dist/{web-client-assets-O1Zun47I.js → web-client-assets-CJyKwFRS.js} +1 -1
- package/dist/{webhooks-cli-YjIqpt4M.js → webhooks-cli-DJhGZcBz.js} +11 -11
- package/dist/{widearea-dns-DZj5625G.js → widearea-dns-DgeeMUtJ.js} +1 -1
- package/dist/{with-timeout-6n6HxT65.js → with-timeout-NhJMC1fC.js} +6 -6
- package/dist/{workspace-CgJWyvaY.js → workspace-CcKQx_l1.js} +2 -2
- package/dist/{workspace-dirs-B9yugPA_.js → workspace-dirs-_vJAsBIN.js} +1 -1
- package/dist/{ws-E-wJFDgg.js → ws-BuVK_u9S.js} +2 -2
- package/dist/{wsl-CMayUQxI.js → wsl-Baz9nyoY.js} +2 -2
- package/extensions/acpx/package.json +1 -1
- package/extensions/anthropic/package.json +1 -1
- package/extensions/bifrost/package.json +1 -1
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/deepgram/package.json +1 -1
- package/extensions/deepinfra/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/diffs/package.json +1 -1
- package/extensions/discord/package.json +1 -1
- package/extensions/dream-cycle/package.json +1 -1
- package/extensions/elevenlabs/package.json +1 -1
- package/extensions/feishu/package.json +1 -1
- package/extensions/gemini-search/package.json +1 -1
- package/extensions/google/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/googlechat/package.json +1 -1
- package/extensions/grok-search/package.json +1 -1
- package/extensions/groq/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/kimi-search/package.json +1 -1
- package/extensions/learning-core/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/lobster/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +1 -1
- package/extensions/matrix/package.json +1 -1
- package/extensions/mattermost/package.json +1 -1
- package/extensions/memory-core/package.json +1 -1
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/minimax/package.json +1 -1
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/mistral/package.json +1 -1
- package/extensions/moonshot/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +1 -1
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +1 -1
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/openai/package.json +1 -1
- package/extensions/openai-realtime/package.json +1 -1
- package/extensions/openrouter/package.json +1 -1
- package/extensions/perplexity-search/package.json +1 -1
- package/extensions/searxng-search/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/extensions/synology-chat/package.json +1 -1
- package/extensions/telegram/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/CHANGELOG.md +1 -1
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +1 -1
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zai/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +1 -1
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +1 -1
- package/extensions/zalouser/package.json +1 -1
- package/package.json +3 -2
- package/dist/cli-BLPnNVZp.js +0 -164
- package/dist/pi-embedded-recovery-adapter-CB8bcT6A.js +0 -61
- package/dist/plugin-sdk/agent-turn-execute-DYtSZF3l.js +0 -61
- package/dist/plugin-sdk/agent-turn-runner-P-MKFb_i.js +0 -11
- package/dist/plugin-sdk/audio-preflight-DlGohKMs.js +0 -28
- package/dist/plugin-sdk/deliver-DBCz1GqU.js +0 -32
- package/dist/plugin-sdk/manager-ByaW_O4Y.js +0 -16
- package/dist/plugin-sdk/markdown-tables-J4hZ7eWU.js +0 -10
- package/dist/plugin-sdk/provider-dispatcher-Co_hyl4q.js +0 -61
- package/dist/plugin-sdk/provider-image-B_dJDOl5.js +0 -22
- package/dist/plugin-sdk/proxy-DwbYzxBy.js +0 -7
- package/dist/plugin-sdk/replies-B9uDLFOE.js +0 -25
- package/dist/plugin-sdk/reply-prefix-BQMEQam1.js +0 -7
- package/dist/plugin-sdk/runs-BQhYekhr.js +0 -25
- package/dist/plugin-sdk/send-CeWqZTK0.js +0 -23
- package/dist/plugin-sdk/send-CzcKgBBf.js +0 -25
- package/dist/plugin-sdk/send-Dvna5ey-.js +0 -27
- package/dist/plugin-sdk/send-xPV0QIjh.js +0 -24
- package/dist/plugin-sdk/session-meta-n4SCcAbJ.js +0 -10
- package/dist/plugin-sdk/skill-commands-BOV3NIbU.js +0 -14
- package/dist/plugin-sdk/subagent-registry-jIsL_HVh.js +0 -61
- package/dist/plugin-sdk/user-run-recording-DiKcNdjn.js +0 -11
- package/dist/register.configure-nGWw6mGM.js +0 -168
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { g as resolveUserPath } from "./utils-
|
|
2
|
-
import { t as runCommandWithTimeout } from "./exec-
|
|
3
|
-
import { Pu as acquireFileLock } from "./model-selection-
|
|
4
|
-
import { m as KeyedAsyncQueue } from "./agent-turn-enqueue-
|
|
1
|
+
import { g as resolveUserPath } from "./utils-CMEUUHmM.js";
|
|
2
|
+
import { t as runCommandWithTimeout } from "./exec-CHq-p5L0.js";
|
|
3
|
+
import { Pu as acquireFileLock } from "./model-selection-k68XU4oS.js";
|
|
4
|
+
import { m as KeyedAsyncQueue } from "./agent-turn-enqueue-Dwz_R_DW.js";
|
|
5
5
|
import { n as docsSiteUrl } from "./docs-site-CQKzDXJz.js";
|
|
6
|
-
import { c as fileExists, d as resolvePackedRootDir, n as resolveSafeInstallDir, s as extractArchive, t as assertCanonicalPathWithinBase, u as resolveArchiveKind } from "./install-safe-path-
|
|
6
|
+
import { c as fileExists, d as resolvePackedRootDir, n as resolveSafeInstallDir, s as extractArchive, t as assertCanonicalPathWithinBase, u as resolveArchiveKind } from "./install-safe-path-DjFYmzeb.js";
|
|
7
7
|
import os from "node:os";
|
|
8
8
|
import path from "node:path";
|
|
9
|
-
import
|
|
9
|
+
import fs from "node:fs/promises";
|
|
10
10
|
|
|
11
11
|
//#region src/infra/install-source-utils.ts
|
|
12
12
|
function buildNpmResolutionFields(resolution) {
|
|
@@ -20,11 +20,11 @@ function buildNpmResolutionFields(resolution) {
|
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
22
|
async function withTempDir(prefix, fn) {
|
|
23
|
-
const tmpDir = await
|
|
23
|
+
const tmpDir = await fs.mkdtemp(path.join(os.tmpdir(), prefix));
|
|
24
24
|
try {
|
|
25
25
|
return await fn(tmpDir);
|
|
26
26
|
} finally {
|
|
27
|
-
await
|
|
27
|
+
await fs.rm(tmpDir, {
|
|
28
28
|
recursive: true,
|
|
29
29
|
force: true
|
|
30
30
|
}).catch(() => void 0);
|
|
@@ -143,12 +143,12 @@ function parsePackedArchiveFromStdout(stdout) {
|
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
145
|
async function findPackedArchiveInDir(cwd) {
|
|
146
|
-
const archives = (await
|
|
146
|
+
const archives = (await fs.readdir(cwd, { withFileTypes: true }).catch(() => [])).filter((entry) => entry.isFile() && entry.name.endsWith(".tgz"));
|
|
147
147
|
if (archives.length === 0) return;
|
|
148
148
|
if (archives.length === 1) return archives[0]?.name;
|
|
149
149
|
const sortedByMtime = await Promise.all(archives.map(async (entry) => ({
|
|
150
150
|
name: entry.name,
|
|
151
|
-
mtimeMs: (await
|
|
151
|
+
mtimeMs: (await fs.stat(path.join(cwd, entry.name))).mtimeMs
|
|
152
152
|
})));
|
|
153
153
|
sortedByMtime.sort((a, b) => b.mtimeMs - a.mtimeMs);
|
|
154
154
|
return sortedByMtime[0]?.name;
|
|
@@ -222,13 +222,13 @@ async function resolveExistingInstallPath(inputPath) {
|
|
|
222
222
|
return {
|
|
223
223
|
ok: true,
|
|
224
224
|
resolvedPath,
|
|
225
|
-
stat: await
|
|
225
|
+
stat: await fs.stat(resolvedPath)
|
|
226
226
|
};
|
|
227
227
|
}
|
|
228
228
|
async function withExtractedArchiveRoot(params) {
|
|
229
229
|
return await withTempDir(params.tempDirPrefix, async (tmpDir) => {
|
|
230
230
|
const extractDir = path.join(tmpDir, "extract");
|
|
231
|
-
await
|
|
231
|
+
await fs.mkdir(extractDir, { recursive: true });
|
|
232
232
|
params.logger?.info?.(`Extracting ${params.archivePath}…`);
|
|
233
233
|
try {
|
|
234
234
|
await extractArchive({
|
|
@@ -294,7 +294,7 @@ async function sanitizeManifestForNpmInstall(targetDir) {
|
|
|
294
294
|
const manifestPath = path.join(targetDir, "package.json");
|
|
295
295
|
let manifestRaw = "";
|
|
296
296
|
try {
|
|
297
|
-
manifestRaw = await
|
|
297
|
+
manifestRaw = await fs.readFile(manifestPath, "utf-8");
|
|
298
298
|
} catch {
|
|
299
299
|
return;
|
|
300
300
|
}
|
|
@@ -314,7 +314,7 @@ async function sanitizeManifestForNpmInstall(targetDir) {
|
|
|
314
314
|
if (filteredEntries.length === Object.keys(devDependencies).length) return;
|
|
315
315
|
if (filteredEntries.length === 0) delete manifest.devDependencies;
|
|
316
316
|
else manifest.devDependencies = Object.fromEntries(filteredEntries);
|
|
317
|
-
await
|
|
317
|
+
await fs.writeFile(manifestPath, `${JSON.stringify(manifest, null, 2)}\n`, "utf-8");
|
|
318
318
|
}
|
|
319
319
|
async function assertInstallBoundaryPaths(params) {
|
|
320
320
|
for (const candidatePath of params.candidatePaths) await assertCanonicalPathWithinBase({
|
|
@@ -375,7 +375,7 @@ async function installPackageDir(params) {
|
|
|
375
375
|
async function installPackageDirLocked(params) {
|
|
376
376
|
params.logger?.info?.(`Installing to ${params.targetDir}…`);
|
|
377
377
|
const installBaseDir = path.dirname(params.targetDir);
|
|
378
|
-
await
|
|
378
|
+
await fs.mkdir(installBaseDir, { recursive: true });
|
|
379
379
|
await assertInstallBoundaryPaths({
|
|
380
380
|
installBaseDir,
|
|
381
381
|
candidatePaths: [params.targetDir]
|
|
@@ -384,23 +384,23 @@ async function installPackageDirLocked(params) {
|
|
|
384
384
|
if (params.mode === "update" && await fileExists(params.targetDir)) {
|
|
385
385
|
const backupRoot = path.join(path.dirname(params.targetDir), ".openclaw-install-backups");
|
|
386
386
|
backupDir = path.join(backupRoot, `${path.basename(params.targetDir)}-${Date.now()}`);
|
|
387
|
-
await
|
|
387
|
+
await fs.mkdir(backupRoot, { recursive: true });
|
|
388
388
|
await assertInstallBoundaryPaths({
|
|
389
389
|
installBaseDir,
|
|
390
390
|
candidatePaths: [backupDir]
|
|
391
391
|
});
|
|
392
|
-
await
|
|
392
|
+
await fs.rename(params.targetDir, backupDir);
|
|
393
393
|
}
|
|
394
394
|
try {
|
|
395
395
|
await assertInstallBoundaryPaths({
|
|
396
396
|
installBaseDir,
|
|
397
397
|
candidatePaths: [params.targetDir]
|
|
398
398
|
});
|
|
399
|
-
await
|
|
399
|
+
await fs.mkdir(params.targetDir);
|
|
400
400
|
} catch (err) {
|
|
401
401
|
if (err?.code !== "EEXIST") {
|
|
402
402
|
let restoreError;
|
|
403
|
-
if (backupDir) restoreError = await
|
|
403
|
+
if (backupDir) restoreError = await fs.rename(backupDir, params.targetDir).then(() => void 0).catch((restoreErr) => restoreErr instanceof Error ? restoreErr : new Error(String(restoreErr)));
|
|
404
404
|
if (restoreError) return {
|
|
405
405
|
ok: false,
|
|
406
406
|
error: `${params.copyErrorPrefix}: ${String(err)}; restoring the previous install failed (${restoreError.message}) and it is preserved at ${backupDir}`
|
|
@@ -431,7 +431,7 @@ async function installPackageDirLocked(params) {
|
|
|
431
431
|
}
|
|
432
432
|
const problems = [];
|
|
433
433
|
try {
|
|
434
|
-
await
|
|
434
|
+
await fs.rm(params.targetDir, {
|
|
435
435
|
recursive: true,
|
|
436
436
|
force: true
|
|
437
437
|
});
|
|
@@ -439,7 +439,7 @@ async function installPackageDirLocked(params) {
|
|
|
439
439
|
problems.push(`failed to remove ${params.targetDir}: ${String(err)}`);
|
|
440
440
|
}
|
|
441
441
|
if (backupDir) try {
|
|
442
|
-
await
|
|
442
|
+
await fs.rename(backupDir, params.targetDir);
|
|
443
443
|
} catch (err) {
|
|
444
444
|
problems.push(`failed to restore ${backupDir} to ${params.targetDir}: ${String(err)}`);
|
|
445
445
|
}
|
|
@@ -447,7 +447,7 @@ async function installPackageDirLocked(params) {
|
|
|
447
447
|
};
|
|
448
448
|
const withRollback = (error, rollbackError) => rollbackError ? `${error} (rollback also failed: ${rollbackError})` : error;
|
|
449
449
|
try {
|
|
450
|
-
await
|
|
450
|
+
await fs.cp(params.sourceDir, params.targetDir, { recursive: true });
|
|
451
451
|
} catch (err) {
|
|
452
452
|
const rollbackError = await rollback();
|
|
453
453
|
return {
|
|
@@ -486,7 +486,7 @@ async function installPackageDirLocked(params) {
|
|
|
486
486
|
error: withRollback(`npm install failed: ${String(err)}`, rollbackError)
|
|
487
487
|
};
|
|
488
488
|
}
|
|
489
|
-
if (backupDir) await
|
|
489
|
+
if (backupDir) await fs.rm(backupDir, {
|
|
490
490
|
recursive: true,
|
|
491
491
|
force: true
|
|
492
492
|
}).catch(() => void 0);
|
|
@@ -502,7 +502,7 @@ async function installPackageDirWithManifestDeps(params) {
|
|
|
502
502
|
//#endregion
|
|
503
503
|
//#region src/infra/install-target.ts
|
|
504
504
|
async function resolveCanonicalInstallTarget(params) {
|
|
505
|
-
await
|
|
505
|
+
await fs.mkdir(params.baseDir, { recursive: true });
|
|
506
506
|
const targetDirResult = resolveSafeInstallDir({
|
|
507
507
|
baseDir: params.baseDir,
|
|
508
508
|
id: params.id,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Dt as loadOpenClawPlugins, wt as createPluginLoaderLogger } from "./reply-
|
|
2
|
-
import { A as resolveDefaultAgentWorkspaceDir, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { Nt as loadConfig } from "./model-selection-
|
|
5
|
-
import { d as buildNpmResolutionFields } from "./npm-pack-install-
|
|
1
|
+
import { Dt as loadOpenClawPlugins, wt as createPluginLoaderLogger } from "./reply-BIZ2zaUq.js";
|
|
2
|
+
import { A as resolveDefaultAgentWorkspaceDir, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-CWTkr4pS.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-DDZBycwS.js";
|
|
4
|
+
import { Nt as loadConfig } from "./model-selection-k68XU4oS.js";
|
|
5
|
+
import { d as buildNpmResolutionFields } from "./npm-pack-install-CFiN84Qw.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
|
|
8
8
|
//#region src/plugins/status.ts
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { u as resolveGatewayPort } from "./paths-BBP4yd-2.js";
|
|
2
|
-
import { g as resolveUserPath } from "./utils-
|
|
3
|
-
import { h as restoreTerminalState, m as defaultRuntime } from "./subsystem-
|
|
4
|
-
import { Ft as readConfigFileSnapshot, zt as writeConfigFile } from "./model-selection-
|
|
2
|
+
import { g as resolveUserPath } from "./utils-CMEUUHmM.js";
|
|
3
|
+
import { h as restoreTerminalState, m as defaultRuntime } from "./subsystem-DDZBycwS.js";
|
|
4
|
+
import { Ft as readConfigFileSnapshot, zt as writeConfigFile } from "./model-selection-k68XU4oS.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-CGUNQYjt.js";
|
|
6
6
|
import { n as docsSiteUrl } from "./docs-site-CQKzDXJz.js";
|
|
7
|
-
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, c as handleReset, g as resolveControlUiLinks, h as randomToken, n as applyWizardMetadata, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput } from "./onboard-helpers-
|
|
8
|
-
import { t as assertSupportedRuntime } from "./runtime-guard-
|
|
7
|
+
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, c as handleReset, g as resolveControlUiLinks, h as randomToken, n as applyWizardMetadata, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput } from "./onboard-helpers-ziqfw3UR.js";
|
|
8
|
+
import { t as assertSupportedRuntime } from "./runtime-guard-DYUXYZIl.js";
|
|
9
9
|
import { t as WizardCancelledError } from "./prompts-m1IJwIAx.js";
|
|
10
|
-
import { t as createClackPrompter } from "./clack-prompter-
|
|
10
|
+
import { t as createClackPrompter } from "./clack-prompter-CcVX4jId.js";
|
|
11
11
|
import { t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BYJFVHH_.js";
|
|
12
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
13
|
-
import { n as logConfigUpdated } from "./logging-
|
|
12
|
+
import { t as runOnboardingWizard } from "./onboarding-D9VO9_5U.js";
|
|
13
|
+
import { n as logConfigUpdated } from "./logging-DcZLtf7P.js";
|
|
14
14
|
import { i as normalizeLegacyOnboardAuthChoice, r as isDeprecatedAuthChoice, t as ONBOARD_PROVIDER_AUTH_FLAGS } from "./onboard-provider-auth-flags-D3DJ3bcx.js";
|
|
15
15
|
import { t as applyOnboardingLocalWorkspaceConfig } from "./onboard-config-FrOdovje.js";
|
|
16
16
|
|
|
@@ -220,7 +220,7 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
220
220
|
}
|
|
221
221
|
const authChoice = opts.authChoice ?? inferredAuthChoice.choice ?? "skip";
|
|
222
222
|
if (authChoice !== "skip") {
|
|
223
|
-
const { applyNonInteractiveAuthChoice } = await import("./auth-choice-
|
|
223
|
+
const { applyNonInteractiveAuthChoice } = await import("./auth-choice-Be8iuCdY.js");
|
|
224
224
|
const nextConfigAfterAuth = await applyNonInteractiveAuthChoice({
|
|
225
225
|
nextConfig,
|
|
226
226
|
authChoice,
|
|
@@ -253,7 +253,7 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
253
253
|
logConfigUpdated(runtime);
|
|
254
254
|
await ensureWorkspaceAndSessions(workspaceDir, runtime, { skipBootstrap: Boolean(nextConfig.agents?.defaults?.skipBootstrap) });
|
|
255
255
|
if (opts.installDaemon) {
|
|
256
|
-
const { installGatewayDaemonNonInteractive } = await import("./daemon-install-
|
|
256
|
+
const { installGatewayDaemonNonInteractive } = await import("./daemon-install-CBIxgo4p.js");
|
|
257
257
|
await installGatewayDaemonNonInteractive({
|
|
258
258
|
nextConfig,
|
|
259
259
|
opts,
|
|
@@ -264,7 +264,7 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
264
264
|
}
|
|
265
265
|
const daemonRuntimeRaw = opts.daemonRuntime ?? DEFAULT_GATEWAY_DAEMON_RUNTIME;
|
|
266
266
|
if (!opts.skipHealth) {
|
|
267
|
-
const { healthCommand } = await import("./health-
|
|
267
|
+
const { healthCommand } = await import("./health-DFWpyp9O.js").then((n) => n.i);
|
|
268
268
|
await waitForGatewayReachable({
|
|
269
269
|
url: resolveControlUiLinks({
|
|
270
270
|
bind: gatewayResult.bind,
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { f as normalizeE164, t as CONFIG_DIR } from "./utils-
|
|
3
|
-
import { Dt as loadOpenClawPlugins, Ut as resolveDiscordChannelAllowlist, mr as resolveDiscordUserAllowlist, pr as resolveSlackUserAllowlist, wt as createPluginLoaderLogger, zt as resolveSlackChannelAllowlist } from "./reply-
|
|
4
|
-
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
5
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { f as normalizeE164, t as CONFIG_DIR } from "./utils-CMEUUHmM.js";
|
|
3
|
+
import { Dt as loadOpenClawPlugins, Ut as resolveDiscordChannelAllowlist, mr as resolveDiscordUserAllowlist, pr as resolveSlackUserAllowlist, wt as createPluginLoaderLogger, zt as resolveSlackChannelAllowlist } from "./reply-BIZ2zaUq.js";
|
|
4
|
+
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-CWTkr4pS.js";
|
|
5
|
+
import { t as createSubsystemLogger } from "./subsystem-DDZBycwS.js";
|
|
6
6
|
import { S as normalizeAccountId, x as DEFAULT_ACCOUNT_ID } from "./session-key-B1wN38jV.js";
|
|
7
|
-
import { t as runCommandWithTimeout } from "./exec-
|
|
8
|
-
import { As as listIMessageAccountIds, Cs as listSignalAccountIds, Is as resolveDefaultDiscordAccountId, Ju as hasConfiguredSecretInput, Ls as resolveDiscordAccount, Ms as resolveIMessageAccount, Ps as listDiscordAccountIds, Ts as resolveSignalAccount, _s as resolveDefaultSlackAccountId, ds as resolveTelegramAccount, es as getChannelPlugin, gs as listSlackAccountIds, js as resolveDefaultIMessageAccountId, lr as listChatChannels, ls as listTelegramAccountIds, mr as getActiveGatewayPluginRegistry, or as formatChannelPrimerLine, sr as formatChannelSelectionLine, ts as listChannelPlugins, us as resolveDefaultTelegramAccountId, vr as markActivePluginRegistryChanged, vs as resolveSlackAccount, ws as resolveDefaultSignalAccountId } from "./model-selection-
|
|
7
|
+
import { t as runCommandWithTimeout } from "./exec-CHq-p5L0.js";
|
|
8
|
+
import { As as listIMessageAccountIds, Cs as listSignalAccountIds, Is as resolveDefaultDiscordAccountId, Ju as hasConfiguredSecretInput, Ls as resolveDiscordAccount, Ms as resolveIMessageAccount, Ps as listDiscordAccountIds, Ts as resolveSignalAccount, _s as resolveDefaultSlackAccountId, ds as resolveTelegramAccount, es as getChannelPlugin, gs as listSlackAccountIds, js as resolveDefaultIMessageAccountId, lr as listChatChannels, ls as listTelegramAccountIds, mr as getActiveGatewayPluginRegistry, or as formatChannelPrimerLine, sr as formatChannelSelectionLine, ts as listChannelPlugins, us as resolveDefaultTelegramAccountId, vr as markActivePluginRegistryChanged, vs as resolveSlackAccount, ws as resolveDefaultSignalAccountId } from "./model-selection-k68XU4oS.js";
|
|
9
9
|
import { t as formatCliCommand } from "./command-format-CGUNQYjt.js";
|
|
10
|
-
import { ut as normalizeDiscordSlug } from "./send-
|
|
11
|
-
import { a as isChannelConfigured, c as listChannelPluginCatalogEntries } from "./polling-timeout-
|
|
12
|
-
import { s as normalizeIMessageHandle } from "./send-
|
|
13
|
-
import { r as detectBinary } from "./onboard-helpers-
|
|
14
|
-
import { t as formatDocsLink } from "./links-
|
|
10
|
+
import { ut as normalizeDiscordSlug } from "./send-DQQFc4N0.js";
|
|
11
|
+
import { a as isChannelConfigured, c as listChannelPluginCatalogEntries } from "./polling-timeout-lNYd7owP.js";
|
|
12
|
+
import { s as normalizeIMessageHandle } from "./send-26KAC8EW.js";
|
|
13
|
+
import { r as detectBinary } from "./onboard-helpers-ziqfw3UR.js";
|
|
14
|
+
import { t as formatDocsLink } from "./links-BhLGjTwm.js";
|
|
15
15
|
import { t as resolveBrewExecutable } from "./brew-KV30BfBF.js";
|
|
16
16
|
import { n as moveSingleAccountChannelSectionToDefaultAccount, t as fetchTelegramChatId } from "./api-BvPLZQBK.js";
|
|
17
17
|
import { t as resolveChannelDefaultAccountId } from "./helpers-CU6_xh9V.js";
|
|
18
|
-
import { t as enablePluginInConfig } from "./enable-
|
|
19
|
-
import { s as extractArchive } from "./install-safe-path-
|
|
20
|
-
import { i as installPluginFromNpmSpec, n as recordPluginInstall, t as buildNpmResolutionInstallFields } from "./installs-
|
|
21
|
-
import { c as resolveSecretInputModeForEnvSelection, s as promptSecretRefForOnboarding } from "./auth-choice.apply-helpers-
|
|
18
|
+
import { t as enablePluginInConfig } from "./enable-BIAeEt0I.js";
|
|
19
|
+
import { s as extractArchive } from "./install-safe-path-DjFYmzeb.js";
|
|
20
|
+
import { i as installPluginFromNpmSpec, n as recordPluginInstall, t as buildNpmResolutionInstallFields } from "./installs-CnAcm0ba.js";
|
|
21
|
+
import { c as resolveSecretInputModeForEnvSelection, s as promptSecretRefForOnboarding } from "./auth-choice.apply-helpers-CMHfbKNY.js";
|
|
22
22
|
import fs, { createWriteStream } from "node:fs";
|
|
23
23
|
import os from "node:os";
|
|
24
24
|
import path from "node:path";
|
|
25
|
-
import
|
|
25
|
+
import fs$1 from "node:fs/promises";
|
|
26
26
|
import { pipeline } from "node:stream/promises";
|
|
27
27
|
import { request } from "node:https";
|
|
28
28
|
|
|
@@ -1137,7 +1137,7 @@ async function findSignalCliBinary(root) {
|
|
|
1137
1137
|
const candidates = [];
|
|
1138
1138
|
const enqueue = async (dir, depth) => {
|
|
1139
1139
|
if (depth > 3) return;
|
|
1140
|
-
const entries = await
|
|
1140
|
+
const entries = await fs$1.readdir(dir, { withFileTypes: true }).catch(() => []);
|
|
1141
1141
|
for (const entry of entries) {
|
|
1142
1142
|
const full = path.join(dir, entry.name);
|
|
1143
1143
|
if (entry.isDirectory()) await enqueue(full, depth + 1);
|
|
@@ -1158,7 +1158,7 @@ async function resolveBrewSignalCliPath(brewExe) {
|
|
|
1158
1158
|
const prefix = result.stdout.trim();
|
|
1159
1159
|
const candidate = path.join(prefix, "bin", "signal-cli");
|
|
1160
1160
|
try {
|
|
1161
|
-
await
|
|
1161
|
+
await fs$1.access(candidate);
|
|
1162
1162
|
return candidate;
|
|
1163
1163
|
} catch {
|
|
1164
1164
|
return findSignalCliBinary(prefix);
|
|
@@ -1214,12 +1214,12 @@ async function installSignalCliFromRelease(runtime) {
|
|
|
1214
1214
|
ok: false,
|
|
1215
1215
|
error: "No compatible release asset found for this platform."
|
|
1216
1216
|
};
|
|
1217
|
-
const tmpDir = await
|
|
1217
|
+
const tmpDir = await fs$1.mkdtemp(path.join(os.tmpdir(), "openclaw-signal-"));
|
|
1218
1218
|
const archivePath = path.join(tmpDir, asset.name);
|
|
1219
1219
|
runtime.log(`Downloading signal-cli ${version} (${asset.name})…`);
|
|
1220
1220
|
await downloadToFile(asset.browser_download_url, archivePath);
|
|
1221
1221
|
const installRoot = path.join(CONFIG_DIR, "tools", "signal-cli", version);
|
|
1222
|
-
await
|
|
1222
|
+
await fs$1.mkdir(installRoot, { recursive: true });
|
|
1223
1223
|
if (!looksLikeArchive(asset.name.toLowerCase())) return {
|
|
1224
1224
|
ok: false,
|
|
1225
1225
|
error: `Unsupported archive type: ${asset.name}`
|
|
@@ -1238,7 +1238,7 @@ async function installSignalCliFromRelease(runtime) {
|
|
|
1238
1238
|
ok: false,
|
|
1239
1239
|
error: `signal-cli binary not found after extracting ${asset.name}`
|
|
1240
1240
|
};
|
|
1241
|
-
await
|
|
1241
|
+
await fs$1.chmod(cliPath, 493).catch(() => {});
|
|
1242
1242
|
return {
|
|
1243
1243
|
ok: true,
|
|
1244
1244
|
cliPath,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Hu as normalizeOptionalSecretInput, Uu as normalizeSecretInput, Yu as isSecretRef, c as modelKey, nd as DEFAULT_PROVIDER, r as buildModelAliasIndex } from "./model-selection-
|
|
2
|
+
import { Hu as normalizeOptionalSecretInput, Uu as normalizeSecretInput, Yu as isSecretRef, c as modelKey, nd as DEFAULT_PROVIDER, r as buildModelAliasIndex } from "./model-selection-k68XU4oS.js";
|
|
3
3
|
import { n as fetchWithTimeout } from "./fetch-timeout-DwpMsAKA.js";
|
|
4
4
|
import { t as CONTEXT_WINDOW_HARD_MIN_TOKENS } from "./context-window-guard-Bcqt3nbu.js";
|
|
5
|
-
import { r as ensureApiKeyFromEnvOrPrompt } from "./auth-choice.apply-helpers-
|
|
6
|
-
import { c as normalizeAlias } from "./shared-
|
|
7
|
-
import { r as applyPrimaryModel } from "./model-picker-
|
|
5
|
+
import { r as ensureApiKeyFromEnvOrPrompt } from "./auth-choice.apply-helpers-CMHfbKNY.js";
|
|
6
|
+
import { c as normalizeAlias } from "./shared-DyT9yMRI.js";
|
|
7
|
+
import { r as applyPrimaryModel } from "./model-picker-Bt7fcUKH.js";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/onboard-custom.ts
|
|
10
10
|
var onboard_custom_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { o as resolveConfigPath } from "./paths-BBP4yd-2.js";
|
|
3
|
-
import { b as sleep, g as resolveUserPath, t as CONFIG_DIR, v as shortenHomeInString, y as shortenHomePath } from "./utils-
|
|
4
|
-
import { E as ensureAgentWorkspace, F as resolveAgentModelPrimaryValue, _ as DEFAULT_AGENT_WORKSPACE_DIR } from "./agent-scope-
|
|
5
|
-
import { t as runCommandWithTimeout } from "./exec-
|
|
6
|
-
import { Dn as isAvatarImageDataUrl, En as isAvatarHttpUrl, Tl as isSafeExecutableValue, ac as GATEWAY_CLIENT_MODES, jn as looksLikeAvatarPath, oc as GATEWAY_CLIENT_NAMES } from "./model-selection-
|
|
3
|
+
import { b as sleep, g as resolveUserPath, t as CONFIG_DIR, v as shortenHomeInString, y as shortenHomePath } from "./utils-CMEUUHmM.js";
|
|
4
|
+
import { E as ensureAgentWorkspace, F as resolveAgentModelPrimaryValue, _ as DEFAULT_AGENT_WORKSPACE_DIR } from "./agent-scope-CWTkr4pS.js";
|
|
5
|
+
import { t as runCommandWithTimeout } from "./exec-CHq-p5L0.js";
|
|
6
|
+
import { Dn as isAvatarImageDataUrl, En as isAvatarHttpUrl, Tl as isSafeExecutableValue, ac as GATEWAY_CLIENT_MODES, jn as looksLikeAvatarPath, oc as GATEWAY_CLIENT_NAMES } from "./model-selection-k68XU4oS.js";
|
|
7
7
|
import { t as VERSION } from "./version-D7fFgMO6.js";
|
|
8
8
|
import { p as resolveSessionTranscriptsDirForAgent } from "./artifacts-qv_OgPMd.js";
|
|
9
|
-
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-
|
|
10
|
-
import { l as pickPrimaryLanIPv4, s as isValidIPv4 } from "./ws-
|
|
9
|
+
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-G5phL2pY.js";
|
|
10
|
+
import { l as pickPrimaryLanIPv4, s as isValidIPv4 } from "./ws-BuVK_u9S.js";
|
|
11
11
|
import { n as docsSiteUrl } from "./docs-site-CQKzDXJz.js";
|
|
12
|
-
import { n as callGateway } from "./call-
|
|
13
|
-
import { t as isWSL } from "./wsl-
|
|
14
|
-
import { r as stylePromptTitle } from "./prompt-style-
|
|
12
|
+
import { n as callGateway } from "./call-Cl6Q0T5z.js";
|
|
13
|
+
import { t as isWSL } from "./wsl-Baz9nyoY.js";
|
|
14
|
+
import { r as stylePromptTitle } from "./prompt-style-D0wRuIYC.js";
|
|
15
15
|
import path from "node:path";
|
|
16
|
-
import
|
|
16
|
+
import fs from "node:fs/promises";
|
|
17
17
|
import { inspect } from "node:util";
|
|
18
18
|
import crypto from "node:crypto";
|
|
19
19
|
import { cancel, isCancel } from "@clack/prompts";
|
|
@@ -244,7 +244,7 @@ async function ensureWorkspaceAndSessions(workspaceDir, runtime, options) {
|
|
|
244
244
|
});
|
|
245
245
|
runtime.log(`Workspace OK: ${shortenHomePath(ws.dir)}`);
|
|
246
246
|
const sessionsDir = resolveSessionTranscriptsDirForAgent(options?.agentId);
|
|
247
|
-
await
|
|
247
|
+
await fs.mkdir(sessionsDir, { recursive: true });
|
|
248
248
|
runtime.log(`Sessions OK: ${shortenHomePath(sessionsDir)}`);
|
|
249
249
|
}
|
|
250
250
|
function resolveNodeManagerOptions() {
|
|
@@ -266,7 +266,7 @@ function resolveNodeManagerOptions() {
|
|
|
266
266
|
async function moveToTrash(pathname, runtime) {
|
|
267
267
|
if (!pathname) return;
|
|
268
268
|
try {
|
|
269
|
-
await
|
|
269
|
+
await fs.access(pathname);
|
|
270
270
|
} catch {
|
|
271
271
|
return;
|
|
272
272
|
}
|
|
@@ -289,7 +289,7 @@ async function detectBinary(name) {
|
|
|
289
289
|
if (!isSafeExecutableValue(name)) return false;
|
|
290
290
|
const resolved = name.startsWith("~") ? resolveUserPath(name) : name;
|
|
291
291
|
if (path.isAbsolute(resolved) || resolved.startsWith(".") || resolved.includes("/") || resolved.includes("\\")) try {
|
|
292
|
-
await
|
|
292
|
+
await fs.access(resolved);
|
|
293
293
|
return true;
|
|
294
294
|
} catch {
|
|
295
295
|
return false;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import "./paths-BBP4yd-2.js";
|
|
2
|
-
import "./utils-
|
|
3
|
-
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
-
import "./subsystem-
|
|
5
|
-
import "./logger-
|
|
6
|
-
import "./exec-
|
|
2
|
+
import "./utils-CMEUUHmM.js";
|
|
3
|
+
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-CWTkr4pS.js";
|
|
4
|
+
import "./subsystem-DDZBycwS.js";
|
|
5
|
+
import "./logger-0VqfDbvM.js";
|
|
6
|
+
import "./exec-CHq-p5L0.js";
|
|
7
7
|
import "./boolean-BsqeuxE6.js";
|
|
8
8
|
import { t as formatCliCommand } from "./command-format-CGUNQYjt.js";
|
|
9
9
|
import "./frontmatter-B8Zb_8go.js";
|
|
10
10
|
import { n as docsSiteUrl } from "./docs-site-CQKzDXJz.js";
|
|
11
|
-
import "./workspace-
|
|
12
|
-
import { t as buildWorkspaceHookStatus } from "./hooks-status-
|
|
11
|
+
import "./workspace-CcKQx_l1.js";
|
|
12
|
+
import { t as buildWorkspaceHookStatus } from "./hooks-status-D20U_9R-.js";
|
|
13
13
|
|
|
14
14
|
//#region src/commands/onboard-hooks.ts
|
|
15
15
|
async function setupInternalHooks(cfg, runtime, prompter) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { a as isSecureWebSocketUrl } from "./ws-
|
|
2
|
+
import { a as isSecureWebSocketUrl } from "./ws-BuVK_u9S.js";
|
|
3
3
|
import { n as docsSiteUrl } from "./docs-site-CQKzDXJz.js";
|
|
4
|
-
import { r as detectBinary } from "./onboard-helpers-
|
|
5
|
-
import { c as resolveSecretInputModeForEnvSelection, s as promptSecretRefForOnboarding } from "./auth-choice.apply-helpers-
|
|
6
|
-
import { n as resolveWideAreaDiscoveryDomain } from "./widearea-dns-
|
|
7
|
-
import { t as discoverGatewayBeacons } from "./bonjour-discovery-
|
|
4
|
+
import { r as detectBinary } from "./onboard-helpers-ziqfw3UR.js";
|
|
5
|
+
import { c as resolveSecretInputModeForEnvSelection, s as promptSecretRefForOnboarding } from "./auth-choice.apply-helpers-CMHfbKNY.js";
|
|
6
|
+
import { n as resolveWideAreaDiscoveryDomain } from "./widearea-dns-DgeeMUtJ.js";
|
|
7
|
+
import { t as discoverGatewayBeacons } from "./bonjour-discovery-C517Q6gA.js";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/onboard-remote.ts
|
|
10
10
|
var onboard_remote_exports = /* @__PURE__ */ __exportAll({ promptRemoteGatewayConfig: () => promptRemoteGatewayConfig });
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Uu as normalizeSecretInput } from "./model-selection-
|
|
2
|
+
import { Uu as normalizeSecretInput } from "./model-selection-k68XU4oS.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-CGUNQYjt.js";
|
|
4
4
|
import { n as docsSiteUrl } from "./docs-site-CQKzDXJz.js";
|
|
5
|
-
import { _ as resolveNodeManagerOptions, r as detectBinary } from "./onboard-helpers-
|
|
6
|
-
import { t as buildWorkspaceSkillStatus } from "./skills-status-
|
|
7
|
-
import { t as installSkill } from "./skills-install-
|
|
5
|
+
import { _ as resolveNodeManagerOptions, r as detectBinary } from "./onboard-helpers-ziqfw3UR.js";
|
|
6
|
+
import { t as buildWorkspaceSkillStatus } from "./skills-status-Dufi5_o3.js";
|
|
7
|
+
import { t as installSkill } from "./skills-install-DqCRPwE1.js";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/onboard-skills.ts
|
|
10
10
|
var onboard_skills_exports = /* @__PURE__ */ __exportAll({ setupSkills: () => setupSkills });
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { n as DEFAULT_GATEWAY_PORT, u as resolveGatewayPort } from "./paths-BBP4yd-2.js";
|
|
2
|
-
import { g as resolveUserPath } from "./utils-
|
|
3
|
-
import { m as defaultRuntime } from "./subsystem-
|
|
4
|
-
import { Ft as readConfigFileSnapshot, Zu as normalizeSecretInputString, zt as writeConfigFile } from "./model-selection-
|
|
2
|
+
import { g as resolveUserPath } from "./utils-CMEUUHmM.js";
|
|
3
|
+
import { m as defaultRuntime } from "./subsystem-DDZBycwS.js";
|
|
4
|
+
import { Ft as readConfigFileSnapshot, Zu as normalizeSecretInputString, zt as writeConfigFile } from "./model-selection-k68XU4oS.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-CGUNQYjt.js";
|
|
6
6
|
import { n as docsSiteUrl } from "./docs-site-CQKzDXJz.js";
|
|
7
7
|
import { t as WizardCancelledError } from "./prompts-m1IJwIAx.js";
|
|
8
|
-
import { t as resolveOnboardingSecretInputString } from "./onboarding.secret-input-
|
|
8
|
+
import { t as resolveOnboardingSecretInputString } from "./onboarding.secret-input-BCxy1JxD.js";
|
|
9
9
|
|
|
10
10
|
//#region src/wizard/onboarding.ts
|
|
11
11
|
async function requireRiskAcknowledgement(params) {
|
|
@@ -44,7 +44,7 @@ async function requireRiskAcknowledgement(params) {
|
|
|
44
44
|
})) throw new WizardCancelledError("risk not accepted");
|
|
45
45
|
}
|
|
46
46
|
async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
47
|
-
const onboardHelpers = await import("./onboard-helpers-
|
|
47
|
+
const onboardHelpers = await import("./onboard-helpers-ziqfw3UR.js").then((n) => n.d);
|
|
48
48
|
onboardHelpers.printWizardHeader(runtime);
|
|
49
49
|
await prompter.intro("OpenClaw onboarding");
|
|
50
50
|
await requireRiskAcknowledgement({
|
|
@@ -224,8 +224,8 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
224
224
|
}]
|
|
225
225
|
}));
|
|
226
226
|
if (mode === "remote") {
|
|
227
|
-
const { promptRemoteGatewayConfig } = await import("./onboard-remote-
|
|
228
|
-
const { logConfigUpdated } = await import("./logging-
|
|
227
|
+
const { promptRemoteGatewayConfig } = await import("./onboard-remote-BsnRgDQj.js").then((n) => n.t);
|
|
228
|
+
const { logConfigUpdated } = await import("./logging-DcZLtf7P.js").then((n) => n.r);
|
|
229
229
|
let nextConfig = await promptRemoteGatewayConfig(baseConfig, prompter, { secretInputMode: opts.secretInputMode });
|
|
230
230
|
nextConfig = onboardHelpers.applyWizardMetadata(nextConfig, {
|
|
231
231
|
command: "onboard",
|
|
@@ -242,11 +242,11 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
242
242
|
}))).trim() || onboardHelpers.DEFAULT_WORKSPACE);
|
|
243
243
|
const { applyOnboardingLocalWorkspaceConfig } = await import("./onboard-config-FrOdovje.js").then((n) => n.n);
|
|
244
244
|
let nextConfig = applyOnboardingLocalWorkspaceConfig(baseConfig, workspaceDir);
|
|
245
|
-
const { ensureAuthProfileStore } = await import("./model-selection-
|
|
245
|
+
const { ensureAuthProfileStore } = await import("./model-selection-k68XU4oS.js").then((n) => n.ht);
|
|
246
246
|
const { promptAuthChoiceGrouped } = await import("./auth-choice-prompt-DB4PpLkL.js").then((n) => n.t);
|
|
247
|
-
const { promptCustomApiConfig } = await import("./onboard-custom-
|
|
248
|
-
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-
|
|
249
|
-
const { applyPrimaryModel, promptDefaultModel } = await import("./model-picker-
|
|
247
|
+
const { promptCustomApiConfig } = await import("./onboard-custom-x_zbf7qu.js").then((n) => n.r);
|
|
248
|
+
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-ZsDU-57A.js").then((n) => n.t);
|
|
249
|
+
const { applyPrimaryModel, promptDefaultModel } = await import("./model-picker-Bt7fcUKH.js").then((n) => n.i);
|
|
250
250
|
const authStore = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false });
|
|
251
251
|
const authChoiceFromPrompt = opts.authChoice === void 0;
|
|
252
252
|
const authChoice = opts.authChoice ?? await promptAuthChoiceGrouped({
|
|
@@ -284,7 +284,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
284
284
|
if (modelSelection.model) nextConfig = applyPrimaryModel(nextConfig, modelSelection.model);
|
|
285
285
|
}
|
|
286
286
|
await warnIfModelConfigLooksOff(nextConfig, prompter);
|
|
287
|
-
const { configureGatewayForOnboarding } = await import("./onboarding.gateway-config-
|
|
287
|
+
const { configureGatewayForOnboarding } = await import("./onboarding.gateway-config-DOvEzkIo.js");
|
|
288
288
|
const gateway = await configureGatewayForOnboarding({
|
|
289
289
|
flow,
|
|
290
290
|
baseConfig,
|
|
@@ -299,8 +299,8 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
299
299
|
const settings = gateway.settings;
|
|
300
300
|
if (opts.skipChannels ?? opts.skipProviders) await prompter.note("Skipping channel setup.", "Channels");
|
|
301
301
|
else {
|
|
302
|
-
const { listChannelPlugins } = await import("./model-selection-
|
|
303
|
-
const { setupChannels } = await import("./onboard-channels-
|
|
302
|
+
const { listChannelPlugins } = await import("./model-selection-k68XU4oS.js").then((n) => n.rs);
|
|
303
|
+
const { setupChannels } = await import("./onboard-channels-CxiuviBR.js").then((n) => n.n);
|
|
304
304
|
const quickstartAllowFromChannels = flow === "quickstart" ? listChannelPlugins().filter((plugin) => plugin.meta.quickstartAllowFrom).map((plugin) => plugin.id) : [];
|
|
305
305
|
nextConfig = await setupChannels(nextConfig, runtime, prompter, {
|
|
306
306
|
allowSignalInstall: true,
|
|
@@ -312,22 +312,22 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
312
312
|
});
|
|
313
313
|
}
|
|
314
314
|
await writeConfigFile(nextConfig);
|
|
315
|
-
const { logConfigUpdated } = await import("./logging-
|
|
315
|
+
const { logConfigUpdated } = await import("./logging-DcZLtf7P.js").then((n) => n.r);
|
|
316
316
|
logConfigUpdated(runtime);
|
|
317
317
|
await onboardHelpers.ensureWorkspaceAndSessions(workspaceDir, runtime, { skipBootstrap: Boolean(nextConfig.agents?.defaults?.skipBootstrap) });
|
|
318
318
|
if (opts.skipSkills) await prompter.note("Skipping skills setup.", "Skills");
|
|
319
319
|
else {
|
|
320
|
-
const { setupSkills } = await import("./onboard-skills-
|
|
320
|
+
const { setupSkills } = await import("./onboard-skills-DwbAJ4nt.js").then((n) => n.t);
|
|
321
321
|
nextConfig = await setupSkills(nextConfig, workspaceDir, runtime, prompter);
|
|
322
322
|
}
|
|
323
|
-
const { setupInternalHooks } = await import("./onboard-hooks-
|
|
323
|
+
const { setupInternalHooks } = await import("./onboard-hooks-BaZe-xl6.js");
|
|
324
324
|
nextConfig = await setupInternalHooks(nextConfig, runtime, prompter);
|
|
325
325
|
nextConfig = onboardHelpers.applyWizardMetadata(nextConfig, {
|
|
326
326
|
command: "onboard",
|
|
327
327
|
mode
|
|
328
328
|
});
|
|
329
329
|
await writeConfigFile(nextConfig);
|
|
330
|
-
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-
|
|
330
|
+
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-DeJ35Prz.js");
|
|
331
331
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
332
332
|
flow,
|
|
333
333
|
opts,
|