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
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { g as resolveStateDir } from "./paths-BBP4yd-2.js";
|
|
3
|
-
import { I as theme, p as pathExists } from "./utils-
|
|
4
|
-
import { i as routeLogsToStderr } from "./subsystem-
|
|
5
|
-
import { t as formatDocsLink } from "./links-
|
|
6
|
-
import { a as registerCoreCliByName, c as getSubCliEntries, l as registerSubCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context-
|
|
3
|
+
import { I as theme, p as pathExists } from "./utils-CMEUUHmM.js";
|
|
4
|
+
import { i as routeLogsToStderr } from "./subsystem-DDZBycwS.js";
|
|
5
|
+
import { t as formatDocsLink } from "./links-BhLGjTwm.js";
|
|
6
|
+
import { a as registerCoreCliByName, c as getSubCliEntries, l as registerSubCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context-CJuzphrY.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
|
import { Option } from "commander";
|
|
11
11
|
|
|
12
12
|
//#region src/cli/completion-fish.ts
|
|
@@ -89,11 +89,11 @@ function getCompletionScript(shell, program) {
|
|
|
89
89
|
}
|
|
90
90
|
async function writeCompletionCache(params) {
|
|
91
91
|
const cacheDir = resolveCompletionCacheDir();
|
|
92
|
-
await
|
|
92
|
+
await fs.mkdir(cacheDir, { recursive: true });
|
|
93
93
|
for (const shell of params.shells) {
|
|
94
94
|
const script = getCompletionScript(shell, params.program);
|
|
95
95
|
const targetPath = resolveCompletionCachePath(shell, params.binName);
|
|
96
|
-
await
|
|
96
|
+
await fs.writeFile(targetPath, script, "utf-8");
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
99
|
function formatCompletionSourceLine(shell, binName, cachePath) {
|
|
@@ -151,7 +151,7 @@ async function isCompletionInstalled(shell, binName = "openclaw") {
|
|
|
151
151
|
if (!await pathExists(profilePath)) return false;
|
|
152
152
|
const cachePathCandidate = resolveCompletionCachePath(shell, binName);
|
|
153
153
|
const cachedPath = await pathExists(cachePathCandidate) ? cachePathCandidate : null;
|
|
154
|
-
return (await
|
|
154
|
+
return (await fs.readFile(profilePath, "utf-8")).split("\n").some((line) => isCompletionProfileHeader(line) || isCompletionProfileLine(line, binName, cachedPath));
|
|
155
155
|
}
|
|
156
156
|
/**
|
|
157
157
|
* Check if the profile uses the slow dynamic completion pattern.
|
|
@@ -161,7 +161,7 @@ async function usesSlowDynamicCompletion(shell, binName = "openclaw") {
|
|
|
161
161
|
const profilePath = getShellProfilePath(shell);
|
|
162
162
|
if (!await pathExists(profilePath)) return false;
|
|
163
163
|
const cachePath = resolveCompletionCachePath(shell, binName);
|
|
164
|
-
const lines = (await
|
|
164
|
+
const lines = (await fs.readFile(profilePath, "utf-8")).split("\n");
|
|
165
165
|
for (const line of lines) if (isSlowDynamicCompletionLine(line, binName) && !line.includes(cachePath)) return true;
|
|
166
166
|
return false;
|
|
167
167
|
}
|
|
@@ -210,7 +210,7 @@ async function installCompletion(shell, yes, binName = "openclaw") {
|
|
|
210
210
|
} else if (shell === "bash") {
|
|
211
211
|
profilePath = path.join(home, ".bashrc");
|
|
212
212
|
try {
|
|
213
|
-
await
|
|
213
|
+
await fs.access(profilePath);
|
|
214
214
|
} catch {
|
|
215
215
|
profilePath = path.join(home, ".bash_profile");
|
|
216
216
|
}
|
|
@@ -224,13 +224,13 @@ async function installCompletion(shell, yes, binName = "openclaw") {
|
|
|
224
224
|
}
|
|
225
225
|
try {
|
|
226
226
|
try {
|
|
227
|
-
await
|
|
227
|
+
await fs.access(profilePath);
|
|
228
228
|
} catch {
|
|
229
229
|
if (!yes) console.warn(`Profile not found at ${profilePath}. Created a new one.`);
|
|
230
|
-
await
|
|
231
|
-
await
|
|
230
|
+
await fs.mkdir(path.dirname(profilePath), { recursive: true });
|
|
231
|
+
await fs.writeFile(profilePath, "", "utf-8");
|
|
232
232
|
}
|
|
233
|
-
const update = updateCompletionProfile(await
|
|
233
|
+
const update = updateCompletionProfile(await fs.readFile(profilePath, "utf-8"), binName, cachePath, sourceLine);
|
|
234
234
|
if (!update.changed) {
|
|
235
235
|
if (!yes) console.log(`Completion already installed in ${profilePath}`);
|
|
236
236
|
return;
|
|
@@ -239,7 +239,7 @@ async function installCompletion(shell, yes, binName = "openclaw") {
|
|
|
239
239
|
const action = update.hadExisting ? "Updating" : "Installing";
|
|
240
240
|
console.log(`${action} completion in ${profilePath}...`);
|
|
241
241
|
}
|
|
242
|
-
await
|
|
242
|
+
await fs.writeFile(profilePath, update.next, "utf-8");
|
|
243
243
|
if (!yes) console.log(`Completion installed. Restart your shell or run: source ${profilePath}`);
|
|
244
244
|
} catch (err) {
|
|
245
245
|
console.error(`Failed to install completion: ${err}`);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as CONFIG_PATH } from "./paths-BBP4yd-2.js";
|
|
2
|
-
import { I as theme, M as success, T as info, w as danger, y as shortenHomePath } from "./utils-
|
|
2
|
+
import { I as theme, M as success, T as info, w as danger, y as shortenHomePath } from "./utils-CMEUUHmM.js";
|
|
3
3
|
import { t as isBlockedObjectKey } from "./prototype-keys-CHjE1dyx.js";
|
|
4
|
-
import "./agent-scope-
|
|
5
|
-
import { m as defaultRuntime } from "./subsystem-
|
|
6
|
-
import "./logger-
|
|
7
|
-
import "./exec-
|
|
8
|
-
import { Ft as readConfigFileSnapshot, zt as writeConfigFile } from "./model-selection-
|
|
4
|
+
import "./agent-scope-CWTkr4pS.js";
|
|
5
|
+
import { m as defaultRuntime } from "./subsystem-DDZBycwS.js";
|
|
6
|
+
import "./logger-0VqfDbvM.js";
|
|
7
|
+
import "./exec-CHq-p5L0.js";
|
|
8
|
+
import { Ft as readConfigFileSnapshot, zt as writeConfigFile } from "./model-selection-k68XU4oS.js";
|
|
9
9
|
import "./github-copilot-token-D9l3eOWF.js";
|
|
10
10
|
import "./boolean-BsqeuxE6.js";
|
|
11
|
-
import "./env-
|
|
11
|
+
import "./env-ESh4ZX9l.js";
|
|
12
12
|
import "./version-D7fFgMO6.js";
|
|
13
13
|
import "./retry-policy-BIRWkDiU.js";
|
|
14
14
|
import "./artifacts-qv_OgPMd.js";
|
|
@@ -16,9 +16,9 @@ import { t as formatCliCommand } from "./command-format-CGUNQYjt.js";
|
|
|
16
16
|
import "./chat-envelope-DOpfcKGq.js";
|
|
17
17
|
import "./task-run-types-B5uIC1Y7.js";
|
|
18
18
|
import "./static-server-C-iTMRyz.js";
|
|
19
|
-
import { t as formatDocsLink } from "./links-
|
|
20
|
-
import { t as redactConfigObject } from "./redact-snapshot-
|
|
21
|
-
import { n as formatConfigIssueLines, r as normalizeConfigIssues } from "./issue-format-
|
|
19
|
+
import { t as formatDocsLink } from "./links-BhLGjTwm.js";
|
|
20
|
+
import { t as redactConfigObject } from "./redact-snapshot-Cm6wsMRx.js";
|
|
21
|
+
import { n as formatConfigIssueLines, r as normalizeConfigIssues } from "./issue-format-D0G927lb.js";
|
|
22
22
|
import JSON5 from "json5";
|
|
23
23
|
|
|
24
24
|
//#region src/cli/config-cli.ts
|
|
@@ -308,7 +308,7 @@ async function runConfigValidate(opts = {}) {
|
|
|
308
308
|
}
|
|
309
309
|
function registerConfigCli(program) {
|
|
310
310
|
const cmd = program.command("config").description("Non-interactive config helpers (get/set/unset/file/validate). Run without subcommand for the setup wizard.").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/users/cli/config", "docs.wednesdayai.dev/users/cli/config")}\n`).option("--section <section>", "Configure wizard sections (repeatable). Use with no subcommand.", (value, previous) => [...previous, value], []).action(async (opts) => {
|
|
311
|
-
const { configureCommandFromSectionsArg } = await import("./configure-
|
|
311
|
+
const { configureCommandFromSectionsArg } = await import("./configure-Dld8IaT8.js").then((n) => n.t);
|
|
312
312
|
await configureCommandFromSectionsArg(opts.section, defaultRuntime);
|
|
313
313
|
});
|
|
314
314
|
cmd.command("get").description("Get a config value by dot path").argument("<path>", "Config path (dot or bracket notation)").option("--json", "Output JSON", false).action(async (path, opts) => {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "./paths-BBP4yd-2.js";
|
|
2
|
-
import { F as isRich, I as theme, P as colorize, y as shortenHomePath, zt as shouldMigrateStateFromPath } from "./utils-
|
|
3
|
-
import "./agent-scope-
|
|
4
|
-
import "./subsystem-
|
|
5
|
-
import "./logger-
|
|
6
|
-
import "./exec-
|
|
7
|
-
import { Ft as readConfigFileSnapshot } from "./model-selection-
|
|
2
|
+
import { F as isRich, I as theme, P as colorize, y as shortenHomePath, zt as shouldMigrateStateFromPath } from "./utils-CMEUUHmM.js";
|
|
3
|
+
import "./agent-scope-CWTkr4pS.js";
|
|
4
|
+
import "./subsystem-DDZBycwS.js";
|
|
5
|
+
import "./logger-0VqfDbvM.js";
|
|
6
|
+
import "./exec-CHq-p5L0.js";
|
|
7
|
+
import { Ft as readConfigFileSnapshot } from "./model-selection-k68XU4oS.js";
|
|
8
8
|
import "./github-copilot-token-D9l3eOWF.js";
|
|
9
9
|
import "./boolean-BsqeuxE6.js";
|
|
10
|
-
import "./env-
|
|
10
|
+
import "./env-ESh4ZX9l.js";
|
|
11
11
|
import "./version-D7fFgMO6.js";
|
|
12
12
|
import "./retry-policy-BIRWkDiU.js";
|
|
13
13
|
import "./artifacts-qv_OgPMd.js";
|
|
@@ -15,14 +15,14 @@ import { t as formatCliCommand } from "./command-format-CGUNQYjt.js";
|
|
|
15
15
|
import "./chat-envelope-DOpfcKGq.js";
|
|
16
16
|
import "./task-run-types-B5uIC1Y7.js";
|
|
17
17
|
import "./static-server-C-iTMRyz.js";
|
|
18
|
-
import "./pairing-store-
|
|
19
|
-
import "./exec-approvals-allowlist-
|
|
20
|
-
import "./exec-safe-bin-runtime-policy-
|
|
21
|
-
import "./polling-timeout-
|
|
22
|
-
import "./prompt-style-
|
|
23
|
-
import "./note-
|
|
24
|
-
import { n as formatConfigIssueLines } from "./issue-format-
|
|
25
|
-
import { n as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-
|
|
18
|
+
import "./pairing-store-CQ7fjFFo.js";
|
|
19
|
+
import "./exec-approvals-allowlist-0xON2SZW.js";
|
|
20
|
+
import "./exec-safe-bin-runtime-policy-KSPaR73B.js";
|
|
21
|
+
import "./polling-timeout-lNYd7owP.js";
|
|
22
|
+
import "./prompt-style-D0wRuIYC.js";
|
|
23
|
+
import "./note-DCbCarQS.js";
|
|
24
|
+
import { n as formatConfigIssueLines } from "./issue-format-D0G927lb.js";
|
|
25
|
+
import { n as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-BSKd49U6.js";
|
|
26
26
|
|
|
27
27
|
//#region src/cli/program/config-guard.ts
|
|
28
28
|
const ALLOWED_INVALID_COMMANDS = new Set([
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { d as normalizeAgentId, x as DEFAULT_ACCOUNT_ID } from "./session-key-B1wN38jV.js";
|
|
2
|
-
import { Ft as readConfigFileSnapshot, es as getChannelPlugin, ns as normalizeChannelId } from "./model-selection-
|
|
2
|
+
import { Ft as readConfigFileSnapshot, es as getChannelPlugin, ns as normalizeChannelId } from "./model-selection-k68XU4oS.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-CGUNQYjt.js";
|
|
4
4
|
import { t as resolveChannelDefaultAccountId } from "./helpers-CU6_xh9V.js";
|
|
5
|
-
import { n as formatConfigIssueLines } from "./issue-format-
|
|
5
|
+
import { n as formatConfigIssueLines } from "./issue-format-D0G927lb.js";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/agents.bindings.ts
|
|
8
8
|
function bindingMatchKey(match) {
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { t as CONFIG_PATH, u as resolveGatewayPort } from "./paths-BBP4yd-2.js";
|
|
3
|
-
import { g as resolveUserPath, y as shortenHomePath } from "./utils-
|
|
4
|
-
import { m as defaultRuntime } from "./subsystem-
|
|
5
|
-
import { Ft as readConfigFileSnapshot, Nt as loadConfig, Tu as ensureAuthProfileStore, Zu as normalizeSecretInputString, es as getChannelPlugin, ts as listChannelPlugins, zt as writeConfigFile } from "./model-selection-
|
|
3
|
+
import { g as resolveUserPath, y as shortenHomePath } from "./utils-CMEUUHmM.js";
|
|
4
|
+
import { m as defaultRuntime } from "./subsystem-DDZBycwS.js";
|
|
5
|
+
import { Ft as readConfigFileSnapshot, Nt as loadConfig, Tu as ensureAuthProfileStore, Zu as normalizeSecretInputString, es as getChannelPlugin, ts as listChannelPlugins, zt as writeConfigFile } from "./model-selection-k68XU4oS.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-CGUNQYjt.js";
|
|
7
|
-
import { a as findTailscaleBinary } from "./tailscale-
|
|
7
|
+
import { a as findTailscaleBinary } from "./tailscale-DbsrfsUT.js";
|
|
8
8
|
import { n as docsSiteUrl } from "./docs-site-CQKzDXJz.js";
|
|
9
|
-
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, g as resolveControlUiLinks, h as randomToken, m as probeGatewayReachable, n as applyWizardMetadata, p as printWizardHeader, s as guardCancel, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput, v as summarizeExistingConfig, y as validateGatewayPasswordInput } from "./onboard-helpers-
|
|
10
|
-
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-
|
|
11
|
-
import { n as withProgress } from "./progress-
|
|
12
|
-
import { t as note$1 } from "./note-
|
|
9
|
+
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, g as resolveControlUiLinks, h as randomToken, m as probeGatewayReachable, n as applyWizardMetadata, p as printWizardHeader, s as guardCancel, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput, v as summarizeExistingConfig, y as validateGatewayPasswordInput } from "./onboard-helpers-ziqfw3UR.js";
|
|
10
|
+
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-D0wRuIYC.js";
|
|
11
|
+
import { n as withProgress } from "./progress-DRMfDm7h.js";
|
|
12
|
+
import { t as note$1 } from "./note-DCbCarQS.js";
|
|
13
13
|
import { t as WizardCancelledError } from "./prompts-m1IJwIAx.js";
|
|
14
|
-
import { t as createClackPrompter } from "./clack-prompter-
|
|
15
|
-
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-
|
|
16
|
-
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-
|
|
14
|
+
import { t as createClackPrompter } from "./clack-prompter-CcVX4jId.js";
|
|
15
|
+
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-CxiuviBR.js";
|
|
16
|
+
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-C8mJ0UpL.js";
|
|
17
17
|
import { n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BYJFVHH_.js";
|
|
18
|
-
import { t as resolveGatewayService } from "./service-
|
|
19
|
-
import { r as healthCommand } from "./health-
|
|
20
|
-
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-
|
|
21
|
-
import { n as logConfigUpdated } from "./logging-
|
|
18
|
+
import { t as resolveGatewayService } from "./service-Hy5BSgmp.js";
|
|
19
|
+
import { r as healthCommand } from "./health-DFWpyp9O.js";
|
|
20
|
+
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-DonecnKL.js";
|
|
21
|
+
import { n as logConfigUpdated } from "./logging-DcZLtf7P.js";
|
|
22
22
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-DB4PpLkL.js";
|
|
23
|
-
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-
|
|
24
|
-
import { a as promptDefaultModel, n as applyModelFallbacksFromSelection, o as promptModelAllowlist, r as applyPrimaryModel, t as applyModelAllowlist } from "./model-picker-
|
|
25
|
-
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-
|
|
26
|
-
import { a as promptCustomApiConfig } from "./onboard-custom-
|
|
27
|
-
import { a as maybeAddTailnetOriginToControlUiAllowedOrigins, i as TAILSCALE_MISSING_BIN_NOTE_LINES, n as TAILSCALE_DOCS_LINES, r as TAILSCALE_EXPOSURE_OPTIONS, t as validateIPv4AddressInput } from "./ipv4-
|
|
28
|
-
import { t as formatHealthCheckFailure } from "./health-format-
|
|
29
|
-
import { n as promptRemoteGatewayConfig } from "./onboard-remote-
|
|
30
|
-
import { n as setupSkills } from "./onboard-skills-
|
|
23
|
+
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-ZsDU-57A.js";
|
|
24
|
+
import { a as promptDefaultModel, n as applyModelFallbacksFromSelection, o as promptModelAllowlist, r as applyPrimaryModel, t as applyModelAllowlist } from "./model-picker-Bt7fcUKH.js";
|
|
25
|
+
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-EvpJ4ZxF.js";
|
|
26
|
+
import { a as promptCustomApiConfig } from "./onboard-custom-x_zbf7qu.js";
|
|
27
|
+
import { a as maybeAddTailnetOriginToControlUiAllowedOrigins, i as TAILSCALE_MISSING_BIN_NOTE_LINES, n as TAILSCALE_DOCS_LINES, r as TAILSCALE_EXPOSURE_OPTIONS, t as validateIPv4AddressInput } from "./ipv4-PE-rqUZG.js";
|
|
28
|
+
import { t as formatHealthCheckFailure } from "./health-format-_VGfj3fm.js";
|
|
29
|
+
import { n as promptRemoteGatewayConfig } from "./onboard-remote-BsnRgDQj.js";
|
|
30
|
+
import { n as setupSkills } from "./onboard-skills-DwbAJ4nt.js";
|
|
31
31
|
import path from "node:path";
|
|
32
|
-
import
|
|
32
|
+
import fs from "node:fs/promises";
|
|
33
33
|
import { confirm, intro, outro, select, text } from "@clack/prompts";
|
|
34
34
|
|
|
35
35
|
//#region src/commands/configure.shared.ts
|
|
@@ -749,7 +749,7 @@ async function runConfigureWizard(opts, runtime = defaultRuntime) {
|
|
|
749
749
|
].map((name) => path.join(workspaceDir, name));
|
|
750
750
|
if ((await Promise.all(indicators.map(async (candidate) => {
|
|
751
751
|
try {
|
|
752
|
-
await
|
|
752
|
+
await fs.access(candidate);
|
|
753
753
|
return true;
|
|
754
754
|
} catch {
|
|
755
755
|
return false;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { m as defaultRuntime } from "./subsystem-
|
|
2
|
-
import { t as runCommandWithTimeout } from "./exec-
|
|
3
|
-
import { n as resolveOpenClawPackageRoot, r as resolveOpenClawPackageRootSync, t as isCorePackageName } from "./openclaw-root-
|
|
1
|
+
import { m as defaultRuntime } from "./subsystem-DDZBycwS.js";
|
|
2
|
+
import { t as runCommandWithTimeout } from "./exec-CHq-p5L0.js";
|
|
3
|
+
import { n as resolveOpenClawPackageRoot, r as resolveOpenClawPackageRootSync, t as isCorePackageName } from "./openclaw-root-BGUYWYDG.js";
|
|
4
4
|
import { fileURLToPath } from "node:url";
|
|
5
5
|
import fs from "node:fs";
|
|
6
6
|
import path from "node:path";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as resolveStateDir } from "./paths-BBP4yd-2.js";
|
|
2
|
-
import { Iu as getProcessStartTime, Lu as isPidAlive } from "./model-selection-
|
|
2
|
+
import { Iu as getProcessStartTime, Lu as isPidAlive } from "./model-selection-k68XU4oS.js";
|
|
3
3
|
import { t as withTimeout } from "./with-timeout-Dd0HqRl4.js";
|
|
4
4
|
import { createRequire } from "node:module";
|
|
5
5
|
import { chmodSync, statSync, unlinkSync } from "node:fs";
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import "./paths-BBP4yd-2.js";
|
|
2
|
-
import { F as isRich, I as theme, P as colorize, w as danger } from "./utils-
|
|
3
|
-
import "./agent-scope-
|
|
4
|
-
import { m as defaultRuntime, t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { F as isRich, I as theme, P as colorize, w as danger } from "./utils-CMEUUHmM.js";
|
|
3
|
+
import "./agent-scope-CWTkr4pS.js";
|
|
4
|
+
import { m as defaultRuntime, t as createSubsystemLogger } from "./subsystem-DDZBycwS.js";
|
|
5
5
|
import { v as sanitizeAgentId } from "./session-key-B1wN38jV.js";
|
|
6
|
-
import "./logger-
|
|
7
|
-
import "./exec-
|
|
8
|
-
import { ts as listChannelPlugins } from "./model-selection-
|
|
6
|
+
import "./logger-0VqfDbvM.js";
|
|
7
|
+
import "./exec-CHq-p5L0.js";
|
|
8
|
+
import { ts as listChannelPlugins } from "./model-selection-k68XU4oS.js";
|
|
9
9
|
import "./github-copilot-token-D9l3eOWF.js";
|
|
10
10
|
import "./boolean-BsqeuxE6.js";
|
|
11
|
-
import "./env-
|
|
11
|
+
import "./env-ESh4ZX9l.js";
|
|
12
12
|
import "./version-D7fFgMO6.js";
|
|
13
13
|
import "./retry-policy-BIRWkDiU.js";
|
|
14
14
|
import "./artifacts-qv_OgPMd.js";
|
|
15
15
|
import "./chat-envelope-DOpfcKGq.js";
|
|
16
16
|
import "./task-run-types-B5uIC1Y7.js";
|
|
17
17
|
import "./static-server-C-iTMRyz.js";
|
|
18
|
-
import "./tailnet-
|
|
19
|
-
import "./ws-
|
|
20
|
-
import "./client-
|
|
21
|
-
import "./call-
|
|
18
|
+
import "./tailnet-G5phL2pY.js";
|
|
19
|
+
import "./ws-BuVK_u9S.js";
|
|
20
|
+
import "./client-BbpMX08n.js";
|
|
21
|
+
import "./call-Cl6Q0T5z.js";
|
|
22
22
|
import "./pairing-token-A_0lRJCJ.js";
|
|
23
23
|
import { n as formatDurationHuman } from "./format-duration-XLSvPvzN.js";
|
|
24
|
-
import { t as formatDocsLink } from "./links-
|
|
25
|
-
import "./progress-
|
|
24
|
+
import { t as formatDocsLink } from "./links-BhLGjTwm.js";
|
|
25
|
+
import "./progress-DRMfDm7h.js";
|
|
26
26
|
import { i as parseAbsoluteTimeMs, n as resolveCronStaggerMs } from "./stagger-BIZMWR_z.js";
|
|
27
27
|
import { n as parsePositiveIntOrUndefined } from "./helpers-DYN-5CJP.js";
|
|
28
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
28
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-DNsG0xAN.js";
|
|
29
29
|
|
|
30
30
|
//#region src/cli/cron-cli/shared.ts
|
|
31
31
|
const getCronChannelOptions = () => ["last", ...listChannelPlugins().map((plugin) => plugin.id)].join("|");
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { d as resolveIsNixMode, g as resolveStateDir, o as resolveConfigPath, u as resolveGatewayPort } from "./paths-BBP4yd-2.js";
|
|
3
|
-
import { F as isRich, I as theme, P as colorize, b as sleep, y as shortenHomePath, z as getResolvedLoggerSettings } from "./utils-
|
|
4
|
-
import { m as defaultRuntime } from "./subsystem-
|
|
5
|
-
import { $l as secretRefKey, Ft as readConfigFileSnapshot, Mt as createConfigIO, Nt as loadConfig, Qu as resolveSecretInputRef, Ul as resolveSecretRefValues, Zu as normalizeSecretInputString, ac as GATEWAY_CLIENT_MODES, oc as GATEWAY_CLIENT_NAMES, zt as writeConfigFile } from "./model-selection-
|
|
3
|
+
import { F as isRich, I as theme, P as colorize, b as sleep, y as shortenHomePath, z as getResolvedLoggerSettings } from "./utils-CMEUUHmM.js";
|
|
4
|
+
import { m as defaultRuntime } from "./subsystem-DDZBycwS.js";
|
|
5
|
+
import { $l as secretRefKey, Ft as readConfigFileSnapshot, Mt as createConfigIO, Nt as loadConfig, Qu as resolveSecretInputRef, Ul as resolveSecretRefValues, Zu as normalizeSecretInputString, ac as GATEWAY_CLIENT_MODES, oc as GATEWAY_CLIENT_NAMES, zt as writeConfigFile } from "./model-selection-k68XU4oS.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-CGUNQYjt.js";
|
|
7
|
-
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-
|
|
8
|
-
import { d as resolveGatewayBindHost } from "./ws-
|
|
9
|
-
import { s as resolveGatewayAuth } from "./auth-
|
|
10
|
-
import { a as inspectPortUsage, c as classifyPortListener, l as formatPortDiagnostics } from "./ports-
|
|
7
|
+
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-G5phL2pY.js";
|
|
8
|
+
import { d as resolveGatewayBindHost } from "./ws-BuVK_u9S.js";
|
|
9
|
+
import { s as resolveGatewayAuth } from "./auth-DeLQvx-N.js";
|
|
10
|
+
import { a as inspectPortUsage, c as classifyPortListener, l as formatPortDiagnostics } from "./ports-CX4cOSom.js";
|
|
11
11
|
import { n as docsSiteUrl } from "./docs-site-CQKzDXJz.js";
|
|
12
|
-
import { n as callGateway, x as loadGatewayTlsRuntime } from "./call-
|
|
12
|
+
import { n as callGateway, x as loadGatewayTlsRuntime } from "./call-Cl6Q0T5z.js";
|
|
13
13
|
import { t as killProcessTree } from "./kill-tree-BMza2Svy.js";
|
|
14
|
-
import { r as isWSLEnv } from "./wsl-
|
|
15
|
-
import { g as resolveControlUiLinks, h as randomToken } from "./onboard-helpers-
|
|
16
|
-
import { t as formatDocsLink } from "./links-
|
|
17
|
-
import { n as withProgress } from "./progress-
|
|
14
|
+
import { r as isWSLEnv } from "./wsl-Baz9nyoY.js";
|
|
15
|
+
import { g as resolveControlUiLinks, h as randomToken } from "./onboard-helpers-ziqfw3UR.js";
|
|
16
|
+
import { t as formatDocsLink } from "./links-BhLGjTwm.js";
|
|
17
|
+
import { n as withProgress } from "./progress-DRMfDm7h.js";
|
|
18
18
|
import { p as resolveGatewaySystemdServiceName, u as resolveGatewayLaunchAgentLabel } from "./constants-CDczneMo.js";
|
|
19
19
|
import { n as inheritOptionFromParent } from "./command-options-6wdtBBWB.js";
|
|
20
|
-
import { t as formatConfigIssueLine } from "./issue-format-
|
|
21
|
-
import { t as buildGatewayInstallPlan } from "./daemon-install-helpers-
|
|
20
|
+
import { t as formatConfigIssueLine } from "./issue-format-D0G927lb.js";
|
|
21
|
+
import { t as buildGatewayInstallPlan } from "./daemon-install-helpers-C8mJ0UpL.js";
|
|
22
22
|
import { r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BYJFVHH_.js";
|
|
23
|
-
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-
|
|
24
|
-
import { a as createCliStatusTextStyles, c as parsePortFromArgs, d as renderRuntimeHints, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, l as pickProbeHostForBind, m as buildDaemonServiceSnapshot, n as runServiceStart, o as filterDaemonEnv, p as safeDaemonEnv, r as runServiceStop, s as normalizeListenerAddress, t as runServiceRestart, u as renderGatewayServiceStartHints } from "./lifecycle-core-
|
|
25
|
-
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-
|
|
23
|
+
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-Hy5BSgmp.js";
|
|
24
|
+
import { a as createCliStatusTextStyles, c as parsePortFromArgs, d as renderRuntimeHints, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, l as pickProbeHostForBind, m as buildDaemonServiceSnapshot, n as runServiceStart, o as filterDaemonEnv, p as safeDaemonEnv, r as runServiceStop, s as normalizeListenerAddress, t as runServiceRestart, u as renderGatewayServiceStartHints } from "./lifecycle-core-B3-ezmTx.js";
|
|
25
|
+
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-WHzM5Tf8.js";
|
|
26
26
|
import { t as parsePort } from "./parse-port-p0PJP2nG.js";
|
|
27
|
-
import { t as readLastGatewayErrorLine } from "./diagnostics-
|
|
28
|
-
import { n as renderDetectedServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-
|
|
27
|
+
import { t as readLastGatewayErrorLine } from "./diagnostics-FIcvxigK.js";
|
|
28
|
+
import { n as renderDetectedServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-DVHAPbcZ.js";
|
|
29
29
|
|
|
30
30
|
//#region src/cli/daemon-cli/install.ts
|
|
31
31
|
async function runDaemonInstall(opts) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import "./paths-BBP4yd-2.js";
|
|
2
|
-
import "./utils-
|
|
3
|
-
import "./subsystem-
|
|
4
|
-
import "./logger-
|
|
5
|
-
import "./exec-
|
|
2
|
+
import "./utils-CMEUUHmM.js";
|
|
3
|
+
import "./subsystem-DDZBycwS.js";
|
|
4
|
+
import "./logger-0VqfDbvM.js";
|
|
5
|
+
import "./exec-CHq-p5L0.js";
|
|
6
6
|
import "./version-D7fFgMO6.js";
|
|
7
|
-
import "./prompt-style-
|
|
8
|
-
import "./runtime-guard-
|
|
9
|
-
import "./note-
|
|
10
|
-
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-
|
|
7
|
+
import "./prompt-style-D0wRuIYC.js";
|
|
8
|
+
import "./runtime-guard-DYUXYZIl.js";
|
|
9
|
+
import "./note-DCbCarQS.js";
|
|
10
|
+
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-C8mJ0UpL.js";
|
|
11
11
|
import { r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BYJFVHH_.js";
|
|
12
|
-
import { t as resolveGatewayService } from "./service-
|
|
13
|
-
import { r as isSystemdUserServiceAvailable } from "./systemd-
|
|
14
|
-
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-
|
|
12
|
+
import { t as resolveGatewayService } from "./service-Hy5BSgmp.js";
|
|
13
|
+
import { r as isSystemdUserServiceAvailable } from "./systemd-DsBMxUv1.js";
|
|
14
|
+
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-EvpJ4ZxF.js";
|
|
15
15
|
|
|
16
16
|
//#region src/commands/onboard-non-interactive/local/daemon-install.ts
|
|
17
17
|
async function installGatewayDaemonNonInteractive(params) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Bt as isBunRuntime, St as collectConfigServiceEnvVars, Vt as isNodeRuntime } from "./utils-
|
|
1
|
+
import { Bt as isBunRuntime, St as collectConfigServiceEnvVars, Vt as isNodeRuntime } from "./utils-CMEUUHmM.js";
|
|
2
2
|
import { t as VERSION } from "./version-D7fFgMO6.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-CGUNQYjt.js";
|
|
4
4
|
import { _ as resolveNodeSystemdServiceName, a as NODE_SERVICE_KIND, g as resolveNodeLaunchAgentLabel, n as GATEWAY_SERVICE_KIND, o as NODE_SERVICE_MARKER, p as resolveGatewaySystemdServiceName, r as GATEWAY_SERVICE_MARKER, s as NODE_WINDOWS_TASK_SCRIPT_NAME, u as resolveGatewayLaunchAgentLabel, v as resolveNodeWindowsTaskName } from "./constants-CDczneMo.js";
|
|
5
|
-
import { n as isSupportedNodeVersion } from "./runtime-guard-
|
|
5
|
+
import { n as isSupportedNodeVersion } from "./runtime-guard-DYUXYZIl.js";
|
|
6
6
|
import os from "node:os";
|
|
7
7
|
import path from "node:path";
|
|
8
|
-
import
|
|
8
|
+
import fs from "node:fs/promises";
|
|
9
9
|
import { promisify } from "node:util";
|
|
10
10
|
import { execFile } from "node:child_process";
|
|
11
11
|
|
|
@@ -16,23 +16,23 @@ async function resolveCliEntrypointPathForService() {
|
|
|
16
16
|
const normalized = path.resolve(argv1);
|
|
17
17
|
const resolvedPath = await resolveRealpathSafe(normalized);
|
|
18
18
|
if (/[/\\]dist[/\\].+\.(cjs|js|mjs)$/.test(resolvedPath)) {
|
|
19
|
-
await
|
|
19
|
+
await fs.access(resolvedPath);
|
|
20
20
|
if (/[/\\]dist[/\\].+\.(cjs|js|mjs)$/.test(normalized) && normalized !== resolvedPath) try {
|
|
21
|
-
await
|
|
21
|
+
await fs.access(normalized);
|
|
22
22
|
return normalized;
|
|
23
23
|
} catch {}
|
|
24
24
|
return resolvedPath;
|
|
25
25
|
}
|
|
26
26
|
const distCandidates = buildDistCandidates(resolvedPath, normalized);
|
|
27
27
|
for (const candidate of distCandidates) try {
|
|
28
|
-
await
|
|
28
|
+
await fs.access(candidate);
|
|
29
29
|
return candidate;
|
|
30
30
|
} catch {}
|
|
31
31
|
throw new Error(`Cannot find built CLI at ${distCandidates.join(" or ")}. Run "pnpm build" first, or use dev mode.`);
|
|
32
32
|
}
|
|
33
33
|
async function resolveRealpathSafe(inputPath) {
|
|
34
34
|
try {
|
|
35
|
-
return await
|
|
35
|
+
return await fs.realpath(inputPath);
|
|
36
36
|
} catch {
|
|
37
37
|
return inputPath;
|
|
38
38
|
}
|
|
@@ -92,7 +92,7 @@ async function resolveBinaryPath(binary) {
|
|
|
92
92
|
try {
|
|
93
93
|
const resolved = execFileSync(cmd, [binary], { encoding: "utf8" }).trim().split(/\r?\n/)[0]?.trim();
|
|
94
94
|
if (!resolved) throw new Error("empty");
|
|
95
|
-
await
|
|
95
|
+
await fs.access(resolved);
|
|
96
96
|
return resolved;
|
|
97
97
|
} catch {
|
|
98
98
|
if (binary === "bun") throw new Error("Bun not found in PATH. Install bun: https://bun.sh");
|
|
@@ -111,7 +111,7 @@ async function resolveCliProgramArguments(params) {
|
|
|
111
111
|
if (params.dev) {
|
|
112
112
|
const repoRoot = resolveRepoRootForDev();
|
|
113
113
|
const devCliPath = path.join(repoRoot, "src", "index.ts");
|
|
114
|
-
await
|
|
114
|
+
await fs.access(devCliPath);
|
|
115
115
|
return {
|
|
116
116
|
programArguments: [
|
|
117
117
|
isBunRuntime(execPath) ? execPath : await resolveBunPath(),
|
|
@@ -139,7 +139,7 @@ async function resolveCliProgramArguments(params) {
|
|
|
139
139
|
}
|
|
140
140
|
const repoRoot = resolveRepoRootForDev();
|
|
141
141
|
const devCliPath = path.join(repoRoot, "src", "index.ts");
|
|
142
|
-
await
|
|
142
|
+
await fs.access(devCliPath);
|
|
143
143
|
if (isBunRuntime(execPath)) return {
|
|
144
144
|
programArguments: [
|
|
145
145
|
execPath,
|
|
@@ -206,13 +206,13 @@ async function resolveStableNodePath(nodePath) {
|
|
|
206
206
|
const formula = cellarMatch[2];
|
|
207
207
|
const optPath = `${prefix}/opt/${formula}/bin/node`;
|
|
208
208
|
try {
|
|
209
|
-
await
|
|
209
|
+
await fs.access(optPath);
|
|
210
210
|
return optPath;
|
|
211
211
|
} catch {}
|
|
212
212
|
if (formula === "node") {
|
|
213
213
|
const binPath = `${prefix}/bin/node`;
|
|
214
214
|
try {
|
|
215
|
-
await
|
|
215
|
+
await fs.access(binPath);
|
|
216
216
|
return binPath;
|
|
217
217
|
} catch {}
|
|
218
218
|
}
|
|
@@ -281,7 +281,7 @@ function isSystemNodePath(nodePath, env = process.env, platform = process.platfo
|
|
|
281
281
|
async function resolveSystemNodePath(env = process.env, platform = process.platform) {
|
|
282
282
|
const candidates = buildSystemNodeCandidates(env, platform);
|
|
283
283
|
for (const candidate of candidates) try {
|
|
284
|
-
await
|
|
284
|
+
await fs.access(candidate);
|
|
285
285
|
return candidate;
|
|
286
286
|
} catch {}
|
|
287
287
|
return null;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-DDZBycwS.js";
|
|
3
3
|
import { C as normalizeOptionalAccountId, S as normalizeAccountId } from "./session-key-B1wN38jV.js";
|
|
4
|
-
import { Ia as resolveMirroredTranscriptText, Pa as appendAssistantMessageToSessionTranscript, Xi as parseInlineDirectives, _r as getActivePluginRegistryVersion, es as getChannelPlugin, hr as getActivePluginRegistry, is as getChannelDock, ns as normalizeChannelId } from "./model-selection-
|
|
5
|
-
import { i as isMessagingToolDuplicate } from "./pi-embedded-helpers-
|
|
6
|
-
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
7
|
-
import { d as resolveOutboundSessionId, f as getGlobalHookRunner, n as createMessageSentEmitter, t as applyMessageSendingHook } from "./outbound-message-hooks-
|
|
8
|
-
import { c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, n as chunkByParagraph } from "./chunk-
|
|
9
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
10
|
-
import { t as parseReplyDirectives } from "./reply-directives-
|
|
11
|
-
import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-
|
|
4
|
+
import { Ia as resolveMirroredTranscriptText, Pa as appendAssistantMessageToSessionTranscript, Xi as parseInlineDirectives, _r as getActivePluginRegistryVersion, es as getChannelPlugin, hr as getActivePluginRegistry, is as getChannelDock, ns as normalizeChannelId } from "./model-selection-k68XU4oS.js";
|
|
5
|
+
import { i as isMessagingToolDuplicate } from "./pi-embedded-helpers-DEHXX7Dr.js";
|
|
6
|
+
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-_qt4-Ma5.js";
|
|
7
|
+
import { d as resolveOutboundSessionId, f as getGlobalHookRunner, n as createMessageSentEmitter, t as applyMessageSendingHook } from "./outbound-message-hooks-t1DDjQX_.js";
|
|
8
|
+
import { c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, n as chunkByParagraph } from "./chunk-BDQQgsxn.js";
|
|
9
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-BEZ0s08w.js";
|
|
10
|
+
import { t as parseReplyDirectives } from "./reply-directives-D5wW1el3.js";
|
|
11
|
+
import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-9toI8d1j.js";
|
|
12
12
|
import { i as failDelivery, o as markDeliveryCommitted, r as enqueueDelivery, s as markDeliveryDispatching, t as ackDelivery } from "./delivery-queue-DhBE3s1K.js";
|
|
13
13
|
|
|
14
14
|
//#region src/infra/outbound/target-normalization.ts
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import "./paths-BBP4yd-2.js";
|
|
2
|
-
import { I as theme } from "./utils-
|
|
3
|
-
import "./agent-scope-
|
|
4
|
-
import { m as defaultRuntime } from "./subsystem-
|
|
5
|
-
import "./logger-
|
|
6
|
-
import "./exec-
|
|
7
|
-
import { ac as GATEWAY_CLIENT_MODES, oc as GATEWAY_CLIENT_NAMES } from "./model-selection-
|
|
2
|
+
import { I as theme } from "./utils-CMEUUHmM.js";
|
|
3
|
+
import "./agent-scope-CWTkr4pS.js";
|
|
4
|
+
import { m as defaultRuntime } from "./subsystem-DDZBycwS.js";
|
|
5
|
+
import "./logger-0VqfDbvM.js";
|
|
6
|
+
import "./exec-CHq-p5L0.js";
|
|
7
|
+
import { ac as GATEWAY_CLIENT_MODES, oc as GATEWAY_CLIENT_NAMES } from "./model-selection-k68XU4oS.js";
|
|
8
8
|
import "./github-copilot-token-D9l3eOWF.js";
|
|
9
9
|
import "./boolean-BsqeuxE6.js";
|
|
10
|
-
import "./env-
|
|
10
|
+
import "./env-ESh4ZX9l.js";
|
|
11
11
|
import "./version-D7fFgMO6.js";
|
|
12
12
|
import "./retry-policy-BIRWkDiU.js";
|
|
13
13
|
import "./artifacts-qv_OgPMd.js";
|
|
14
14
|
import "./chat-envelope-DOpfcKGq.js";
|
|
15
15
|
import "./task-run-types-B5uIC1Y7.js";
|
|
16
16
|
import "./static-server-C-iTMRyz.js";
|
|
17
|
-
import "./tailnet-
|
|
18
|
-
import { i as isLoopbackHost } from "./ws-
|
|
19
|
-
import { En as approveDevicePairing, Ln as summarizeDeviceTokens, jn as listDevicePairing } from "./client-
|
|
20
|
-
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-
|
|
17
|
+
import "./tailnet-G5phL2pY.js";
|
|
18
|
+
import { i as isLoopbackHost } from "./ws-BuVK_u9S.js";
|
|
19
|
+
import { En as approveDevicePairing, Ln as summarizeDeviceTokens, jn as listDevicePairing } from "./client-BbpMX08n.js";
|
|
20
|
+
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-Cl6Q0T5z.js";
|
|
21
21
|
import "./pairing-token-A_0lRJCJ.js";
|
|
22
22
|
import { n as formatTimeAgo } from "./format-relative-cIsCN8mB.js";
|
|
23
|
-
import { n as withProgress } from "./progress-
|
|
24
|
-
import { t as renderTable } from "./table-
|
|
23
|
+
import { n as withProgress } from "./progress-DRMfDm7h.js";
|
|
24
|
+
import { t as renderTable } from "./table-DoIju7rh.js";
|
|
25
25
|
|
|
26
26
|
//#region src/cli/devices-cli.ts
|
|
27
27
|
const FALLBACK_NOTICE = "Direct scope access failed; using local fallback.";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-DDZBycwS.js";
|
|
3
3
|
import { p as resolveAgentIdFromSessionKey } from "./session-key-B1wN38jV.js";
|
|
4
|
-
import { Nt as loadConfig } from "./model-selection-
|
|
4
|
+
import { Nt as loadConfig } from "./model-selection-k68XU4oS.js";
|
|
5
5
|
import { s as emitDiagnosticEvent } from "./task-run-types-B5uIC1Y7.js";
|
|
6
6
|
import { n as redactSensitiveText } from "./redact-CQtYLB4a.js";
|
|
7
7
|
import { t as redactIdentifier } from "./redact-identifier-CSPL9LuH.js";
|
|
@@ -846,7 +846,7 @@ function startDiagnosticHeartbeat(config) {
|
|
|
846
846
|
if (ageMs > stuckSessionAbortMs && state.queueDepth > 0 && !state.capturedEnd && !state.abortDispatched && state.sessionId) {
|
|
847
847
|
state.abortDispatched = true;
|
|
848
848
|
diag.warn(`stuck-session abort: sessionId=${state.sessionId} progressAge=${Math.round(ageMs / 1e3)}s threshold=${Math.round(stuckSessionAbortMs / 1e3)}s queueDepth=${state.queueDepth}`);
|
|
849
|
-
import("./runs-
|
|
849
|
+
import("./runs-Yajg-SST.js").then((n) => n.m).then(({ abortEmbeddedPiRun }) => {
|
|
850
850
|
if (state.sessionId && state.abortDispatched) abortEmbeddedPiRun(state.sessionId);
|
|
851
851
|
}).catch((err) => {
|
|
852
852
|
diag.warn(`stuck-session abort import failed: ${String(err)}`);
|