wednesdayai 0.5.1-dev.49 → 0.5.1-dev.52
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-CSDr9rFY.js → acp-cli-B4dS4wV-.js} +11 -11
- package/dist/{agent-scope-Daay3L1Q.js → agent-scope-m37qEcFM.js} +21 -21
- package/dist/{agent-turn-enqueue-Ca29Rbkz.js → agent-turn-enqueue-ArRzUyAk.js} +6 -6
- package/dist/{agent-turn-execute-B4iUpIbf.js → agent-turn-execute-CM4O0yRh.js} +155 -155
- package/dist/{agent-turn-recovery-adapter-CN7R7ZpE.js → agent-turn-recovery-adapter-CV9hCfhV.js} +3 -3
- package/dist/{agent-turn-runner-y6DgnCcB.js → agent-turn-runner-DoUxdVA8.js} +4 -4
- package/dist/{agents-BR_k8DOr.js → agents-8IrzkYKe.js} +21 -21
- package/dist/{agents.config-ClrzdK7g.js → agents.config-B22brY93.js} +3 -3
- package/dist/{api-key-rotation-ZuntHnbE.js → api-key-rotation-D42o6Zng.js} +1 -1
- package/dist/{audio-preflight-BIOdIaYS.js → audio-preflight-C3hxTGYi.js} +37 -37
- package/dist/{audio-transcription-runner-Cn0jB-li.js → audio-transcription-runner-BCsXP8-1.js} +27 -27
- package/dist/{audit-TBCP_6jm.js → audit-BvrCpsTe.js} +31 -31
- package/dist/{auth-nD5DAjKr.js → auth-B4_HVLhd.js} +4 -4
- package/dist/{auth-choice-35J0xM6Z.js → auth-choice-DPnina-M.js} +15 -15
- package/dist/{auth-choice-Bq8CC1lU.js → auth-choice-kM9PIJr4.js} +13 -13
- package/dist/{auth-choice.apply-helpers-YNiPajEk.js → auth-choice.apply-helpers-DVZh64eB.js} +1 -1
- package/dist/{auth-token-BzoQdUL6.js → auth-token-CrC72-Fb.js} +2 -2
- package/dist/{banner-MupqYLcq.js → banner-CP6z-7_Z.js} +4 -4
- package/dist/{bonjour-discovery-CVCaA_iW.js → bonjour-discovery-CXRsUe5D.js} +3 -3
- package/dist/{browser-cli-UBdCgnrs.js → browser-cli-B_4FyxW8.js} +19 -19
- package/dist/build-info.json +3 -3
- package/dist/{call-xzY_YjPJ.js → call-DiXPYDxn.js} +12 -12
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-Cgiem_zz.js → channel-account-context-Df3_ZrlO.js} +7 -7
- package/dist/{channel-options-ceRWPyZu.js → channel-options-DqiC37-O.js} +3 -3
- package/dist/{channel-selection-CTSiOhj4.js → channel-selection-CggPBiFX.js} +1 -1
- package/dist/{channels-cli-BwgQPXDo.js → channels-cli-DL63TJdS.js} +122 -122
- package/dist/{channels-status-issues-CnBn-qEt.js → channels-status-issues-CdXaTFd3.js} +1 -1
- package/dist/{chrome-DJwFDuoy.js → chrome-o2uZSWIt.js} +6 -6
- package/dist/{chunk-Cac92Mfe.js → chunk-CWJj0yTC.js} +3 -3
- package/dist/{clack-prompter-Cjs9OUc5.js → clack-prompter-BKD0RJgm.js} +5 -5
- package/dist/clawbot-cli-sFSfxALD.js +33 -0
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/cli-DZ1p-qqR.js +168 -0
- package/dist/{client-BHIM--Lw.js → client-B3-vuVAE.js} +4 -4
- package/dist/{client-profiles-C576THk-.js → client-profiles-Bc3sF7Zy.js} +2 -2
- package/dist/{clipboard-BNyun_kb.js → clipboard-DbPKCnXY.js} +1 -1
- package/dist/{command-queue-QaMaW8lR.js → command-queue-D8Y7Hgzy.js} +1 -1
- package/dist/{command-registry-DupEgpR0.js → command-registry-CjWadaVi.js} +14 -14
- package/dist/{command-secret-targets-DSyP6TXo.js → command-secret-targets-DfQv7jnw.js} +4 -4
- package/dist/{commands-W2-5cDc4.js → commands-CVdmhZKr.js} +1 -1
- package/dist/{commands-registry-D7RtFxju.js → commands-registry-B4aR17xV.js} +3 -3
- package/dist/{completion-cli-FCJfJebn.js → completion-cli-CNuhIsey.js} +16 -16
- package/dist/{config-cli-VIY_NYNB.js → config-cli-BUhVl5pE.js} +10 -10
- package/dist/{config-guard-Bmr1IhWb.js → config-guard-buy7Cjbp.js} +4 -4
- package/dist/{config-validation-D51v90j4.js → config-validation-Bv5bbuxd.js} +4 -4
- package/dist/{configure-DY9M7xe9.js → configure-D2cKTH1K.js} +25 -25
- package/dist/{control-ui-assets-Dm1xGH5K.js → control-ui-assets-CTBYi2MG.js} +3 -3
- package/dist/{controller-_1HRMACq.js → controller-CEWtbHG6.js} +1 -1
- package/dist/{credentials-BeQIuOVH.js → credentials-Db9gEJyX.js} +1 -1
- package/dist/{cron-cli-Df48V_il.js → cron-cli-iv9AjWjS.js} +14 -14
- package/dist/{daemon-cli-BaePnoF7.js → daemon-cli-P_RNqlTz.js} +19 -19
- package/dist/{daemon-install-DWcz5r6O.js → daemon-install-D-kvx3V5.js} +10 -10
- package/dist/{daemon-install-helpers-Dhf36TZZ.js → daemon-install-helpers-9DICPTya.js} +13 -13
- package/dist/{delete-agent-sessions-uGdBmFVU.js → delete-agent-sessions-BfuIBVng.js} +1 -1
- package/dist/{deliver-CsBM7Sux.js → deliver-vnUlcBpf.js} +12 -12
- package/dist/{devices-cli-DJfaFSmn.js → devices-cli-a6nbvYoE.js} +13 -13
- package/dist/{diagnostic-DAPS8u-k.js → diagnostic-DJz53yyc.js} +4 -4
- package/dist/{diagnostics-nXbz9WIN.js → diagnostics-CCJvDjHM.js} +5 -5
- package/dist/{directory-cli-BLhDYrKO.js → directory-cli-DZt6_oyq.js} +11 -11
- package/dist/{dm-policy-shared-BruH8gYz.js → dm-policy-shared-B2rRMZjX.js} +5 -5
- package/dist/{dns-cli-B5kFZNM_.js → dns-cli-Cr7olDhH.js} +10 -10
- package/dist/{docs-cli-CA-BUSdK.js → docs-cli-D0IbS-w_.js} +9 -9
- package/dist/{doctor-completion-DPfr7dYc.js → doctor-completion-CTN0KnCG.js} +3 -3
- package/dist/{doctor-config-flow-CwSjXDoe.js → doctor-config-flow-BcbZEvhN.js} +17 -17
- package/dist/{enable-DiygfPTs.js → enable-FeowesRW.js} +2 -2
- package/dist/entry.js +4 -4
- package/dist/{exec-DgfbhlVq.js → exec-BadOxgw_.js} +2 -2
- package/dist/{exec-approvals-allowlist-BQNCcnrB.js → exec-approvals-allowlist-CvMIZ3Av.js} +1 -1
- package/dist/{exec-approvals-cli-Cwg4-I6U.js → exec-approvals-cli-TIjMcgyZ.js} +22 -22
- package/dist/{exec-approvals-ClDOrgGo.js → exec-approvals-iao6P-Sv.js} +2 -2
- package/dist/{exec-safe-bin-runtime-policy-B_c-JxLa.js → exec-safe-bin-runtime-policy-18lfJBlE.js} +2 -2
- package/dist/{extension-relay-auth-zGWI5gYg.js → extension-relay-auth-DaJK0rd5.js} +10 -10
- package/dist/{fetch---jlJUEM.js → fetch-COhcdJbk.js} +5 -5
- package/dist/{fetch-guard-iae-zVNj.js → fetch-guard-ChaY1JfD.js} +2 -2
- package/dist/{fs-safe-9jT9nWzE.js → fs-safe-CJ7BaYqw.js} +25 -25
- package/dist/{gateway-cli-B5anPDYc.js → gateway-cli-BrOSHlSK.js} +200 -200
- package/dist/{gateway-rpc-CJhrbhwy.js → gateway-rpc-qeYBKW7U.js} +3 -3
- package/dist/{globals-BRyHSrWD.js → globals-3lUHnZas.js} +7 -7
- package/dist/{gmail-setup-utils-BjW3d-63.js → gmail-setup-utils-CobB8zXB.js} +2 -2
- package/dist/{health-DR2dYPoD.js → health-Dff2iJXm.js} +11 -11
- package/dist/{health-format-fI8G4Mpf.js → health-format-CiSn_s8O.js} +1 -1
- package/dist/{heartbeat-tick-btylKJi7.js → heartbeat-tick-DsC4du2J.js} +1 -1
- package/dist/{help-format-CoaYSXD2.js → help-format-vSbRPQ2Y.js} +1 -1
- package/dist/{helpers-BSIlmKX7.js → helpers-CmFDbO4C.js} +1 -1
- package/dist/{hooks-cli-DRa-pNVn.js → hooks-cli-Cg_LIDvE.js} +110 -110
- package/dist/{hooks-status-CHpefcMx.js → hooks-status-Cz3FinlP.js} +2 -2
- package/dist/{identity-cli-CNcWNIW-.js → identity-cli-Cvp7fIZM.js} +20 -20
- package/dist/{identity-links-avuUsTN6.js → identity-links-DP7R0NPE.js} +4 -4
- package/dist/{identity-links-live-BL__Ecwf.js → identity-links-live-Bi60qFYK.js} +1 -1
- package/dist/{image-ops-CaP-qXCU.js → image-ops-fsbohlx7.js} +11 -11
- package/dist/{inspect-CoNYULj4.js → inspect-dN8Sghor.js} +4 -4
- package/dist/{install-safe-path-D9kvfVs4.js → install-safe-path-D8uZKU9M.js} +25 -25
- package/dist/{installs-Bs4nGu6t.js → installs-Di1c2v3h.js} +10 -10
- package/dist/{ipv4-ClJ3jo3P.js → ipv4-2ElrM9Sz.js} +2 -2
- package/dist/{ir-3e4BsvCp.js → ir-G6mp02Um.js} +8 -8
- package/dist/{issue-format-CcyrT_ll.js → issue-format-CEhsl7Wj.js} +1 -1
- package/dist/{jobs-Dh5LHEXG.js → jobs-BXFDvC34.js} +3 -3
- package/dist/{json-files--SPKjIRq.js → json-files-DQ0SWA8I.js} +7 -7
- package/dist/{lifecycle-core-CC9SYYk6.js → lifecycle-core-m816LTRQ.js} +9 -9
- package/dist/{links-DhEAHyJK.js → links-CdYxxGpz.js} +1 -1
- package/dist/{log-tail-BKVxlVAs.js → log-tail-BGUoZ3uj.js} +7 -7
- package/dist/{logging-CbulhL7o.js → logging-BcooikJ6.js} +1 -1
- package/dist/{logs-cli-6mdXA28U.js → logs-cli-DBMjDhb-.js} +18 -18
- package/dist/{manager-zP9NLy9y.js → manager-NberoPlo.js} +14 -14
- package/dist/{manager-ByvI6Ro3.js → manager-kfVhbDC5.js} +9 -9
- package/dist/{markdown-tables-DXuYgzLS.js → markdown-tables-CIDos_m6.js} +2 -2
- package/dist/{memory-cli-BuY1OqI1.js → memory-cli-CTBlq72D.js} +19 -19
- package/dist/{model-Cnbe29aL.js → model-DLnu2ZHK.js} +2 -2
- package/dist/{model-catalog-qSGqRSeB.js → model-catalog-DShV9nqu.js} +4 -4
- package/dist/{model-picker-Esi1b_6D.js → model-picker-DWhiEZI7.js} +4 -4
- package/dist/{models-ZMCaSPw_.js → models-Cz5Kterd.js} +22 -22
- package/dist/{models-cli-CAMmJjvq.js → models-cli-BoDMHZu8.js} +110 -110
- package/dist/{models-config-CzWBExZR.js → models-config-MT7bTyDD.js} +7 -7
- package/dist/{node-cli-CwcTuNzE.js → node-cli-C_4LoQOV.js} +43 -43
- package/dist/{node-command-policy-E6RVVTJQ.js → node-command-policy-BBvAh8Rh.js} +1 -1
- package/dist/{node-service-Dvf6aAZJ.js → node-service-DCKAYWfS.js} +1 -1
- package/dist/{nodes-cli-BuQlqtRW.js → nodes-cli-DGvDAyok.js} +23 -23
- package/dist/{nodes-screen-DLNLgCSg.js → nodes-screen-4mQTqYUN.js} +8 -8
- package/dist/{note-CVlhiP2P.js → note-IQhv9g1L.js} +2 -2
- package/dist/{npm-pack-install-D_Sj0nv2.js → npm-pack-install-D4CH04qy.js} +23 -23
- package/dist/{npm-resolution-zax_R0pB.js → npm-resolution-DaMWVeZe.js} +5 -5
- package/dist/{nudge-D9rNDPko.js → nudge-DAMdAd6o.js} +9 -9
- package/dist/{oauth-tls-preflight-DLH5IYXS.js → oauth-tls-preflight-CkoqXyrR.js} +1 -1
- package/dist/{onboard-DD3dH3k9.js → onboard-DD49foBa.js} +11 -11
- package/dist/{onboard-channels-BBE-Agqp.js → onboard-channels-CpiuyfFX.js} +24 -24
- package/dist/{onboard-custom-CEY7uEmj.js → onboard-custom-Dk2A4Q3G.js} +4 -4
- package/dist/{onboard-helpers-BMVut_hd.js → onboard-helpers-CyIeOf0n.js} +13 -13
- package/dist/{onboard-hooks-CG-FJnI-.js → onboard-hooks-o9_Jnoi3.js} +6 -6
- package/dist/{onboard-remote-DEpMgQbz.js → onboard-remote-lRnElN1u.js} +5 -5
- package/dist/{onboard-skills-Bg7_D4v3.js → onboard-skills-DG2pTqSo.js} +4 -4
- package/dist/{onboarding-DAr0y1xl.js → onboarding-DSJ6YXNm.js} +18 -18
- package/dist/{onboarding.finalize-CAdOP28d.js → onboarding.finalize-D8gRbG5W.js} +118 -118
- package/dist/{onboarding.gateway-config-CFZaPfh1.js → onboarding.gateway-config-DylTeRCh.js} +21 -21
- package/dist/{onboarding.secret-input-W2xyIofP.js → onboarding.secret-input-Dj09etVn.js} +1 -1
- package/dist/{openai-model-default-CfAtGL15.js → openai-model-default-DqnRWGwj.js} +2 -2
- package/dist/{openclaw-root-C3plUO0H.js → openclaw-root-Bh3xNyXD.js} +2 -2
- package/dist/{operator-commands-B1hJ80gq.js → operator-commands-BDQn-b94.js} +6 -6
- package/dist/{outbound-attachment-B1pU8jDT.js → outbound-attachment-BeP7tvsZ.js} +2 -2
- package/dist/{outbound-message-hooks-DUjjvy1L.js → outbound-message-hooks-D7aalpVP.js} +5 -5
- package/dist/{pairing-cli-Beyds7bN.js → pairing-cli-C1W78CCz.js} +19 -19
- package/dist/{pairing-labels-CF503Gm6.js → pairing-labels-BgUdVYgJ.js} +1 -1
- package/dist/{pairing-store-CyVCFIGE.js → pairing-store-BIeHwICv.js} +4 -4
- package/dist/{path-alias-guards-PMiJhZq7.js → path-alias-guards-BL542Mqz.js} +3 -3
- package/dist/{path-safety-BspQHYKd.js → path-safety-tfrNWosi.js} +1 -1
- package/dist/{pi-embedded-helpers-CPciDfKU.js → pi-embedded-helpers-mGzreJbk.js} +6 -6
- package/dist/{pi-embedded-recovery-adapter-Dih7eQN6.js → pi-embedded-recovery-adapter-5ipqXFw0.js} +37 -37
- package/dist/{pi-embedded-utils-CuKpG3OL.js → pi-embedded-utils-DC8eBUz9.js} +2 -2
- package/dist/{pi-model-discovery-BGjjAfS_.js → pi-model-discovery-Cv0FIBjp.js} +1 -1
- package/dist/{pid-alive-SdfUhiUL.js → pid-alive-dd2LsB9B.js} +1 -1
- package/dist/{plugin-auto-enable-CkSukyUJ.js → plugin-auto-enable-Clq5aaN8.js} +2 -2
- package/dist/{plugin-owned-work-recovery-adapter--0U5isrX.js → plugin-owned-work-recovery-adapter-tahoDsQP.js} +7 -7
- package/dist/{plugin-registry-Bj2UEGYL.js → plugin-registry-Co2I2dee.js} +4 -4
- package/dist/{plugins-cli-DxRN4ecF.js → plugins-cli-BbCRBZ8E.js} +113 -113
- package/dist/{plugins-U6rjKH4S.js → plugins-s69ApVox.js} +32 -32
- package/dist/{ports-C39ULrzN.js → ports-CbVKJEbZ.js} +2 -2
- package/dist/{ports-Bou4KIns.js → ports-D3N8WNv7.js} +3 -3
- package/dist/{program-15ahbGoV.js → program-DZV-02XU.js} +109 -109
- package/dist/{progress-CNFYgWmi.js → progress-CSthTuLH.js} +2 -2
- package/dist/{prompt-select-styled-UplxBFKi.js → prompt-select-styled-GsqEjvHR.js} +48 -48
- package/dist/{prompt-style-BDFZg96K.js → prompt-style-C6yO0kan.js} +1 -1
- package/dist/{provider-auth-helpers-BVUg3rt9.js → provider-auth-helpers-DL--wYUD.js} +6 -6
- package/dist/{proxy-env-DlwU1FI0.js → proxy-env-BwHmf2xr.js} +1 -1
- package/dist/{push-apns-Brgo5FF_.js → push-apns-DDrvx1KA.js} +10 -10
- package/dist/{pw-ai-BuxU6NcI.js → pw-ai-9MdWRxeB.js} +17 -17
- package/dist/{qmd-manager-Co6bGTb-.js → qmd-manager-D6HnLpUI.js} +25 -25
- package/dist/{qmd-scope-C73b3Bad.js → qmd-scope-B3hEskxa.js} +1 -1
- package/dist/{qr-cli-BatJFHjG.js → qr-cli-3HQW1ysr.js} +10 -10
- package/dist/{query-expansion-Db-cwB6N.js → query-expansion-Ba0qHd1X.js} +10 -10
- package/dist/{reconcile-bundled-pSk1Enkt.js → reconcile-bundled-ETwvh8Lp.js} +3 -3
- package/dist/{recorder-Co7XfeXs.js → recorder-DWp7wJN5.js} +2 -2
- package/dist/{recovery-adapter-D4N2DA4U.js → recovery-adapter-D7ZF1aEL.js} +3 -3
- package/dist/{recovery-adapter-Bd5Lx0lD.js → recovery-adapter-Keltudpw.js} +2 -2
- package/dist/{recovery-adapter-Ce8bGqr6.js → recovery-adapter-ke4F4Py1.js} +7 -7
- package/dist/{recovery-prompt-BNuvIRHh.js → recovery-prompt-BDu5Z1ac.js} +1 -1
- package/dist/{redact-snapshot-CWZRUrKd.js → redact-snapshot-CIe93cqM.js} +2 -2
- package/dist/{register.agent-qsvG5d6b.js → register.agent-BPzxR5eF.js} +124 -124
- package/dist/register.configure-B3_fTtgY.js +172 -0
- package/dist/{register.maintenance-FoAdPMFW.js → register.maintenance-BMcTylyl.js} +132 -132
- package/dist/{register.message-jqWymiCX.js → register.message-C5pBU08J.js} +103 -103
- package/dist/{register.onboard-KhVcvpjS.js → register.onboard-Czx8Kmyg.js} +26 -26
- package/dist/{register.setup-6Dis4a-c.js → register.setup-CTInxp0P.js} +29 -29
- package/dist/{register.status-health-sessions-DRwbJpYv.js → register.status-health-sessions-B5Rv4Dsf.js} +122 -122
- package/dist/{register.subclis-9qtDZp7M.js → register.subclis-DZL7ZFwa.js} +35 -35
- package/dist/{replies-NOlwewVf.js → replies-CrZI5K0e.js} +5 -5
- package/dist/{reply-directives-BN2i_45e.js → reply-directives-CF6_EhVh.js} +2 -2
- package/dist/{reply-prefix-w4MwKPHk.js → reply-prefix-CeZ9Uz8z.js} +1 -1
- package/dist/{reset-9GUBHVgp.js → reset-D-mCgUpD.js} +1 -1
- package/dist/{resolve-route-CrsHJxmf.js → resolve-route-yDs92eUQ.js} +6 -6
- package/dist/{rpc-hQ8QyZfR.js → rpc-Do5rvfno.js} +3 -3
- package/dist/{run-main-D8aWBZut.js → run-main-BYRPATOb.js} +122 -122
- package/dist/{runs-CIwQKryx.js → runs-C1AHoTDq.js} +7 -7
- package/dist/{runtime-config-dhfqY0Av.js → runtime-config-DYgOR0MD.js} +1 -1
- package/dist/{runtime-config-collectors-DvDpcifN.js → runtime-config-collectors-BLVuIB75.js} +1 -1
- package/dist/{runtime-guard-SZPrkFGc.js → runtime-guard-BmktwqCK.js} +1 -1
- package/dist/{runtime-DcEApmUI.js → runtime-iNm_LniP.js} +4 -4
- package/dist/{sandbox-DUHQEePj.js → sandbox-Da_kzIjf.js} +21 -21
- package/dist/{sandbox-cli-DlQR1_hY.js → sandbox-cli-DuSmbDES.js} +33 -33
- package/dist/{secrets-cli-DbI7GN_9.js → secrets-cli-CTwKCtw5.js} +16 -16
- package/dist/{security-cli-BiKOgX17.js → security-cli-N9bUi8Q4.js} +47 -47
- package/dist/{send-T7B6Djpm.js → send-B2OFN92Q.js} +7 -7
- package/dist/{send-CCpmsTaF.js → send-BrIw5gc4.js} +6 -6
- package/dist/{send-D1_IMV2p.js → send-DDirI-zY.js} +13 -13
- package/dist/{send-BgoXf_pU.js → send-DUG-oCDA.js} +6 -6
- package/dist/{server-aWUVSCfe.js → server-CTE0rQkl.js} +23 -23
- package/dist/{server-context-6JE_fAZa.js → server-context-BFf0C9iy.js} +12 -12
- package/dist/{server-lifecycle-DrkkrkLG.js → server-lifecycle-HSz4A7oj.js} +3 -3
- package/dist/{server-middleware-C4sFNt38.js → server-middleware-BfsPD7V5.js} +1 -1
- package/dist/{server-node-events-M-He8yAD.js → server-node-events-Dfykgqkj.js} +103 -103
- package/dist/{service-D7MwyeF6.js → service-BvpFqVNe.js} +15 -15
- package/dist/{session-consumer-agents-CvPuQmfS.js → session-consumer-agents-BRMrM2o-.js} +1 -1
- package/dist/{session-consumer-claim-sweep-BwHCvVar.js → session-consumer-claim-sweep-C-w92Ik5.js} +9 -9
- package/dist/{session-key-DCnSJLJC.js → session-key-D0gYNgj1.js} +1 -1
- package/dist/{session-meta-AHw8bwC2.js → session-meta-B_9mMU72.js} +1 -1
- package/dist/{session-storage-2RXtwc2B.js → session-storage-BDHA7onc.js} +22 -22
- package/dist/{session-storage-owner-C2S5c5Ct.js → session-storage-owner-CE7dPxVq.js} +53 -53
- package/dist/{session-store-targets-Dfi0lJu6.js → session-store-targets-DSlE2YTH.js} +3 -3
- package/dist/{session-utils-N1E2Os2e.js → session-utils-Qu1Mxoz3.js} +9 -9
- package/dist/{sessions-ByIiYDOv.js → sessions-BJTO-2xk.js} +17 -17
- package/dist/{sessions-CiGjB89K.js → sessions-CbISkp7n.js} +5 -5
- package/dist/{sessions-CDZSxsqg.js → sessions-DcU-v_tQ.js} +6 -6
- package/dist/{sessions-claims-status-Due9OmHi.js → sessions-claims-status-BVw2gdh3.js} +11 -11
- package/dist/{sessions-maintenance-core-mGWdB4w9.js → sessions-maintenance-core-BhBRIGU4.js} +8 -8
- package/dist/{setup-helpers-Db5Eiwfz.js → setup-helpers-llVNLaGg.js} +1 -1
- package/dist/{shared-BD85Vehr.js → shared-DWSJKo_J.js} +4 -4
- package/dist/{shared-Dj_9K6TV.js → shared-DiKdnJLT.js} +2 -2
- package/dist/{skill-commands-RbKycCIr.js → skill-commands-ByQ7_wSo.js} +7 -7
- package/dist/{skill-scanner-_B-P9k6R.js → skill-scanner-BF0g0j0b.js} +7 -7
- package/dist/{skills-DQXl0zPN.js → skills-B_8rpYgx.js} +6 -6
- package/dist/{skills-cli-CoFk-jGI.js → skills-cli-DPCY-cBo.js} +9 -9
- package/dist/{skills-install-CbZM96Md.js → skills-install-7wyldk9K.js} +9 -9
- package/dist/{skills-status-BzrUtJEQ.js → skills-status-B6eaKM8l.js} +3 -3
- package/dist/{status-1Hex6Hbe.js → status-BEBudOEO.js} +49 -49
- package/dist/{status.update-BfbrrxHR.js → status.update-DFxOh1ri.js} +2 -2
- package/dist/{storage-config-Dz2pNq3V.js → storage-config-JrkJ-0mD.js} +4 -4
- package/dist/{store-DNFja7Ml.js → store-BbFKZJKS.js} +7 -7
- package/dist/{subsystem-BNf8H-Zm.js → subsystem-xTuYkxuQ.js} +1 -1
- package/dist/{supervisor-BTx-mYVb.js → supervisor-SBLvQOVa.js} +2 -2
- package/dist/{system-cli-CCnFtRmN.js → system-cli-D1NTf4-m.js} +13 -13
- package/dist/{system-run-command-Dn4pjv1t.js → system-run-command-D5kMl0NY.js} +2 -2
- package/dist/{systemd-dCivcEEh.js → systemd-BT6dJ-0G.js} +11 -11
- package/dist/{systemd-hints-DKKIvtLc.js → systemd-hints-e6hBRMDf.js} +9 -9
- package/dist/{systemd-linger-OHTcLrbQ.js → systemd-linger-BSyMrbbt.js} +2 -2
- package/dist/{table-C7H5Lwhe.js → table-BVq_qQUE.js} +2 -2
- package/dist/{tables-BcvyK02n.js → tables-CfbMQJYc.js} +1 -1
- package/dist/{tailnet-CImZKZJW.js → tailnet-QfxqR4vE.js} +1 -1
- package/dist/{tailscale-B18BMO5n.js → tailscale-D0OOOayz.js} +2 -2
- package/dist/{task-pipeline-boot-MOBuVbRZ.js → task-pipeline-boot-DHHiFfrN.js} +103 -103
- package/dist/{task-runlog-retention-BSWFe7it.js → task-runlog-retention-COTIMum4.js} +5 -5
- package/dist/{tasks-DSspLa-k.js → tasks-DX3vGbQp.js} +11 -11
- package/dist/{tokens-CifyLNEm.js → tokens-BLTw7hkA.js} +1 -1
- package/dist/{tool-display-C8fJRy0v.js → tool-display-DgVBn6pw.js} +1 -1
- package/dist/{tool-loop-detection-DNtwIsX0.js → tool-loop-detection-DWOtmjfd.js} +2 -2
- package/dist/{trash-DeXdzEHp.js → trash-DFORyVVD.js} +3 -3
- package/dist/{tui-DiBWn1ps.js → tui-Y47OkCY6.js} +9 -9
- package/dist/{tui-cli-0XkkeQf6.js → tui-cli-BK9oKFut.js} +35 -35
- package/dist/{update-cli-vPcjjv5_.js → update-cli-sh07vJot.js} +142 -142
- package/dist/{update-DRgOzhPi.js → update-fBTm6-oX.js} +3 -3
- package/dist/{update-runner-Dcaoqle4.js → update-runner-u1A5zaMd.js} +18 -18
- package/dist/{user-run-recording-B9LdfyWT.js → user-run-recording-CxBc2Jon.js} +2 -2
- package/dist/{validation-cli-DHqNm53i.js → validation-cli-DHucU5a8.js} +102 -102
- package/dist/{web-cli-BtHivcdm.js → web-cli-4yA2eTYI.js} +3 -3
- package/dist/{webhooks-cli-C695mkPl.js → webhooks-cli-B4XnYSad.js} +10 -10
- package/dist/{widearea-dns-cOQiZHOu.js → widearea-dns-D_Hocera.js} +1 -1
- package/dist/{with-timeout-TcIyDCxH.js → with-timeout-Ckdjpoqb.js} +6 -6
- package/dist/{workspace-DDuzC-ch.js → workspace-UYxvaf5A.js} +2 -2
- package/dist/{workspace-dirs-D56GdN_R.js → workspace-dirs-CqcsAdcV.js} +1 -1
- package/dist/{ws-CQqP1z5x.js → ws-B_HpEvRE.js} +2 -2
- package/dist/{wsl-DBdhRAWE.js → wsl-Be9W0qZW.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/identity-oidc/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/kokoro/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/ui-surfaces/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 +1 -1
- package/dist/clawbot-cli-DkKjzk5H.js +0 -33
- package/dist/cli-BmswsRzN.js +0 -168
- package/dist/register.configure-CYUHzWqX.js +0 -172
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { d as colorize, f as isRich, p as theme, t as danger } from "./globals-
|
|
1
|
+
import { d as colorize, f as isRich, p as theme, t as danger } from "./globals-3lUHnZas.js";
|
|
2
2
|
import "./paths-BMo6kTge.js";
|
|
3
|
-
import { m as defaultRuntime, t as createSubsystemLogger } from "./subsystem-
|
|
3
|
+
import { m as defaultRuntime, t as createSubsystemLogger } from "./subsystem-xTuYkxuQ.js";
|
|
4
4
|
import "./boolean-C71HJEcH.js";
|
|
5
|
-
import { n as listChannelPlugins } from "./plugins-
|
|
5
|
+
import { n as listChannelPlugins } from "./plugins-s69ApVox.js";
|
|
6
6
|
import "./retry-policy-By-oqFVH.js";
|
|
7
7
|
import "./version-BdUvZ8Ep.js";
|
|
8
|
-
import { C as sanitizeAgentId } from "./session-key-
|
|
9
|
-
import "./agent-scope-
|
|
10
|
-
import "./exec-
|
|
8
|
+
import { C as sanitizeAgentId } from "./session-key-D0gYNgj1.js";
|
|
9
|
+
import "./agent-scope-m37qEcFM.js";
|
|
10
|
+
import "./exec-BadOxgw_.js";
|
|
11
11
|
import "./github-copilot-token-CmScvpk-.js";
|
|
12
|
-
import "./pid-alive-
|
|
12
|
+
import "./pid-alive-dd2LsB9B.js";
|
|
13
13
|
import "./static-app-y2aJYHKZ.js";
|
|
14
|
-
import "./tailnet-
|
|
15
|
-
import "./ws-
|
|
14
|
+
import "./tailnet-QfxqR4vE.js";
|
|
15
|
+
import "./ws-B_HpEvRE.js";
|
|
16
16
|
import { i as parseAbsoluteTimeMs, n as resolveCronStaggerMs } from "./stagger-D6nhygeZ.js";
|
|
17
17
|
import "./task-run-types-B6K2PtcI.js";
|
|
18
|
-
import "./client-
|
|
18
|
+
import "./client-B3-vuVAE.js";
|
|
19
19
|
import "./pairing-token-BA4694nz.js";
|
|
20
|
-
import "./call-
|
|
20
|
+
import "./call-DiXPYDxn.js";
|
|
21
21
|
import { n as formatDurationHuman } from "./format-duration-DeLiQNNv.js";
|
|
22
|
-
import { t as formatDocsLink } from "./links-
|
|
23
|
-
import "./progress-
|
|
24
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
22
|
+
import { t as formatDocsLink } from "./links-CdYxxGpz.js";
|
|
23
|
+
import "./progress-CSthTuLH.js";
|
|
24
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-qeYBKW7U.js";
|
|
25
25
|
import { n as parsePositiveIntOrUndefined } from "./helpers-D3MFXmv_.js";
|
|
26
26
|
|
|
27
27
|
//#region src/cli/cron-cli/shared.ts
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Et as sleep, Tt as shortenHomePath, d as colorize, f as isRich, g as getResolvedLoggerSettings, p as theme } from "./globals-
|
|
2
|
+
import { Et as sleep, Tt as shortenHomePath, d as colorize, f as isRich, g as getResolvedLoggerSettings, p as theme } from "./globals-3lUHnZas.js";
|
|
3
3
|
import { d as resolveIsNixMode, g as resolveStateDir, o as resolveConfigPath, u as resolveGatewayPort } from "./paths-BMo6kTge.js";
|
|
4
|
-
import { m as defaultRuntime } from "./subsystem-
|
|
5
|
-
import { Fc as resolveSecretInputRef, Hn as GATEWAY_CLIENT_NAMES, Pc as normalizeSecretInputString, Vn as GATEWAY_CLIENT_MODES, Ws as resolveGatewayConsoleBasePath, ar as readConfigFileSnapshot, er as createConfigIO, lr as writeConfigFile, pa as resolveSecretRefValues, rr as loadConfig, to as secretRefKey } from "./plugins-
|
|
4
|
+
import { m as defaultRuntime } from "./subsystem-xTuYkxuQ.js";
|
|
5
|
+
import { Fc as resolveSecretInputRef, Hn as GATEWAY_CLIENT_NAMES, Pc as normalizeSecretInputString, Vn as GATEWAY_CLIENT_MODES, Ws as resolveGatewayConsoleBasePath, ar as readConfigFileSnapshot, er as createConfigIO, lr as writeConfigFile, pa as resolveSecretRefValues, rr as loadConfig, to as secretRefKey } from "./plugins-s69ApVox.js";
|
|
6
6
|
import { n as docsSiteUrl } from "./docs-site-OVFfji6N.js";
|
|
7
7
|
import { t as formatCliCommand } from "./command-format-DZa6U7Yk.js";
|
|
8
|
-
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-
|
|
9
|
-
import { d as resolveGatewayBindHost } from "./ws-
|
|
10
|
-
import { s as resolveGatewayAuth } from "./auth-
|
|
11
|
-
import { a as classifyPortListener, n as inspectPortUsage, o as formatPortDiagnostics } from "./ports-
|
|
12
|
-
import { n as callGateway, x as loadGatewayTlsRuntime } from "./call-
|
|
8
|
+
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-QfxqR4vE.js";
|
|
9
|
+
import { d as resolveGatewayBindHost } from "./ws-B_HpEvRE.js";
|
|
10
|
+
import { s as resolveGatewayAuth } from "./auth-B4_HVLhd.js";
|
|
11
|
+
import { a as classifyPortListener, n as inspectPortUsage, o as formatPortDiagnostics } from "./ports-D3N8WNv7.js";
|
|
12
|
+
import { n as callGateway, x as loadGatewayTlsRuntime } from "./call-DiXPYDxn.js";
|
|
13
13
|
import { t as killProcessTree } from "./kill-tree-BleBZVN1.js";
|
|
14
14
|
import { p as resolveGatewaySystemdServiceName, u as resolveGatewayLaunchAgentLabel } from "./constants-0vZLJnYn.js";
|
|
15
|
-
import { g as resolveControlUiLinks, h as randomToken } from "./onboard-helpers-
|
|
16
|
-
import { n as isWSLEnv } from "./wsl-
|
|
17
|
-
import { t as formatDocsLink } from "./links-
|
|
18
|
-
import { n as withProgress } from "./progress-
|
|
15
|
+
import { g as resolveControlUiLinks, h as randomToken } from "./onboard-helpers-CyIeOf0n.js";
|
|
16
|
+
import { n as isWSLEnv } from "./wsl-Be9W0qZW.js";
|
|
17
|
+
import { t as formatDocsLink } from "./links-CdYxxGpz.js";
|
|
18
|
+
import { n as withProgress } from "./progress-CSthTuLH.js";
|
|
19
19
|
import { n as inheritOptionFromParent } from "./command-options-Cx6evn0x.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-CEhsl7Wj.js";
|
|
21
|
+
import { t as buildGatewayInstallPlan } from "./daemon-install-helpers-9DICPTya.js";
|
|
22
22
|
import { r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BxDlkVil.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-BvpFqVNe.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-m816LTRQ.js";
|
|
25
|
+
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-e6hBRMDf.js";
|
|
26
26
|
import { t as parsePort } from "./parse-port-BnVa643B.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-CCJvDjHM.js";
|
|
28
|
+
import { n as renderDetectedServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-dN8Sghor.js";
|
|
29
29
|
|
|
30
30
|
//#region src/cli/daemon-cli/install.ts
|
|
31
31
|
async function runDaemonInstall(opts) {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import "./globals-
|
|
1
|
+
import "./globals-3lUHnZas.js";
|
|
2
2
|
import "./paths-BMo6kTge.js";
|
|
3
|
-
import "./subsystem-
|
|
3
|
+
import "./subsystem-xTuYkxuQ.js";
|
|
4
4
|
import "./version-BdUvZ8Ep.js";
|
|
5
|
-
import "./exec-
|
|
6
|
-
import "./prompt-style-
|
|
7
|
-
import "./note-
|
|
8
|
-
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-
|
|
9
|
-
import "./runtime-guard-
|
|
5
|
+
import "./exec-BadOxgw_.js";
|
|
6
|
+
import "./prompt-style-C6yO0kan.js";
|
|
7
|
+
import "./note-IQhv9g1L.js";
|
|
8
|
+
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-9DICPTya.js";
|
|
9
|
+
import "./runtime-guard-BmktwqCK.js";
|
|
10
10
|
import { r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BxDlkVil.js";
|
|
11
|
-
import { t as resolveGatewayService } from "./service-
|
|
12
|
-
import { r as isSystemdUserServiceAvailable } from "./systemd-
|
|
13
|
-
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-
|
|
11
|
+
import { t as resolveGatewayService } from "./service-BvpFqVNe.js";
|
|
12
|
+
import { r as isSystemdUserServiceAvailable } from "./systemd-BT6dJ-0G.js";
|
|
13
|
+
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-BSyMrbbt.js";
|
|
14
14
|
|
|
15
15
|
//#region src/commands/onboard-non-interactive/local/daemon-install.ts
|
|
16
16
|
async function installGatewayDaemonNonInteractive(params) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Gt as isBunRuntime, Kt as isNodeRuntime, et as collectConfigServiceEnvVars } from "./globals-
|
|
1
|
+
import { Gt as isBunRuntime, Kt as isNodeRuntime, et as collectConfigServiceEnvVars } from "./globals-3lUHnZas.js";
|
|
2
2
|
import { t as VERSION } from "./version-BdUvZ8Ep.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-DZa6U7Yk.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-0vZLJnYn.js";
|
|
5
|
-
import { n as isSupportedNodeVersion } from "./runtime-guard-
|
|
5
|
+
import { n as isSupportedNodeVersion } from "./runtime-guard-BmktwqCK.js";
|
|
6
6
|
import { execFile } from "node:child_process";
|
|
7
7
|
import os from "node:os";
|
|
8
8
|
import path from "node:path";
|
|
9
|
-
import
|
|
9
|
+
import fsPromises from "node:fs/promises";
|
|
10
10
|
import { promisify } from "node:util";
|
|
11
11
|
|
|
12
12
|
//#region src/daemon/program-args.ts
|
|
@@ -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 fsPromises.access(resolvedPath);
|
|
20
20
|
if (/[/\\]dist[/\\].+\.(cjs|js|mjs)$/.test(normalized) && normalized !== resolvedPath) try {
|
|
21
|
-
await
|
|
21
|
+
await fsPromises.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 fsPromises.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 fsPromises.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 fsPromises.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 fsPromises.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 fsPromises.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 fsPromises.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 fsPromises.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 fsPromises.access(candidate);
|
|
285
285
|
return candidate;
|
|
286
286
|
} catch {}
|
|
287
287
|
return null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Q as requireSessionStorageRuntime, lt as refreshConfiguredSessionBindingEntry } from "./plugins-
|
|
1
|
+
import { Q as requireSessionStorageRuntime, lt as refreshConfiguredSessionBindingEntry } from "./plugins-s69ApVox.js";
|
|
2
2
|
|
|
3
3
|
//#region src/config/sessions/delete-agent-sessions.ts
|
|
4
4
|
async function tombstoneAgentSessions(agentId) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
3
|
-
import { Ut as getChannelDock, c as getActivePluginRegistry, pt as updateSessionStoreEntry, r as normalizeChannelId, t as getChannelPlugin, u as getActivePluginRegistryVersion } from "./plugins-
|
|
4
|
-
import { A as normalizeOptionalAccountId, k as normalizeAccountId } from "./session-key-
|
|
5
|
-
import { i as isMessagingToolDuplicate } from "./pi-embedded-helpers-
|
|
6
|
-
import { a as resolveMirroredTranscriptText, i as appendAssistantMessageToSessionTranscript, q as parseInlineDirectives, v as getGlobalHookRunner } from "./sessions-
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-xTuYkxuQ.js";
|
|
3
|
+
import { Ut as getChannelDock, c as getActivePluginRegistry, pt as updateSessionStoreEntry, r as normalizeChannelId, t as getChannelPlugin, u as getActivePluginRegistryVersion } from "./plugins-s69ApVox.js";
|
|
4
|
+
import { A as normalizeOptionalAccountId, k as normalizeAccountId } from "./session-key-D0gYNgj1.js";
|
|
5
|
+
import { i as isMessagingToolDuplicate } from "./pi-embedded-helpers-mGzreJbk.js";
|
|
6
|
+
import { a as resolveMirroredTranscriptText, i as appendAssistantMessageToSessionTranscript, q as parseInlineDirectives, v as getGlobalHookRunner } from "./sessions-CbISkp7n.js";
|
|
7
7
|
import { t as extractTextFromChatContent } from "./chat-content-DC8ReKwD.js";
|
|
8
|
-
import { i as getAgentScopedMediaLocalRoots } from "./fetch
|
|
9
|
-
import { c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, n as chunkByParagraph } from "./chunk-
|
|
10
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
11
|
-
import { d as resolveOutboundSessionId, n as createMessageSentEmitter, t as applyMessageSendingHook } from "./outbound-message-hooks-
|
|
12
|
-
import { s as loadSessionEntry } from "./session-utils-
|
|
13
|
-
import { t as parseReplyDirectives } from "./reply-directives-
|
|
14
|
-
import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-
|
|
8
|
+
import { i as getAgentScopedMediaLocalRoots } from "./fetch-COhcdJbk.js";
|
|
9
|
+
import { c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, n as chunkByParagraph } from "./chunk-CWJj0yTC.js";
|
|
10
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-CIDos_m6.js";
|
|
11
|
+
import { d as resolveOutboundSessionId, n as createMessageSentEmitter, t as applyMessageSendingHook } from "./outbound-message-hooks-D7aalpVP.js";
|
|
12
|
+
import { s as loadSessionEntry } from "./session-utils-Qu1Mxoz3.js";
|
|
13
|
+
import { t as parseReplyDirectives } from "./reply-directives-CF6_EhVh.js";
|
|
14
|
+
import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-DUG-oCDA.js";
|
|
15
15
|
import { i as failDelivery, o as markDeliveryCommitted, r as enqueueDelivery, s as markDeliveryDispatching, t as ackDelivery } from "./delivery-queue-CY5iYIeP.js";
|
|
16
16
|
|
|
17
17
|
//#region src/infra/outbound/target-normalization.ts
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { p as theme } from "./globals-
|
|
1
|
+
import { p as theme } from "./globals-3lUHnZas.js";
|
|
2
2
|
import "./paths-BMo6kTge.js";
|
|
3
|
-
import { m as defaultRuntime } from "./subsystem-
|
|
3
|
+
import { m as defaultRuntime } from "./subsystem-xTuYkxuQ.js";
|
|
4
4
|
import "./boolean-C71HJEcH.js";
|
|
5
|
-
import { Hn as GATEWAY_CLIENT_NAMES, Vn as GATEWAY_CLIENT_MODES, rr as loadConfig } from "./plugins-
|
|
5
|
+
import { Hn as GATEWAY_CLIENT_NAMES, Vn as GATEWAY_CLIENT_MODES, rr as loadConfig } from "./plugins-s69ApVox.js";
|
|
6
6
|
import "./retry-policy-By-oqFVH.js";
|
|
7
7
|
import "./version-BdUvZ8Ep.js";
|
|
8
|
-
import { b as resolveDeviceIdentity } from "./session-key-
|
|
9
|
-
import "./agent-scope-
|
|
10
|
-
import "./exec-
|
|
8
|
+
import { b as resolveDeviceIdentity } from "./session-key-D0gYNgj1.js";
|
|
9
|
+
import "./agent-scope-m37qEcFM.js";
|
|
10
|
+
import "./exec-BadOxgw_.js";
|
|
11
11
|
import "./github-copilot-token-CmScvpk-.js";
|
|
12
|
-
import "./pid-alive-
|
|
12
|
+
import "./pid-alive-dd2LsB9B.js";
|
|
13
13
|
import "./static-app-y2aJYHKZ.js";
|
|
14
14
|
import { n as formatTimeAgo } from "./format-relative-8ufJCb1A.js";
|
|
15
|
-
import "./tailnet-
|
|
16
|
-
import { i as isLoopbackHost } from "./ws-
|
|
15
|
+
import "./tailnet-QfxqR4vE.js";
|
|
16
|
+
import { i as isLoopbackHost } from "./ws-B_HpEvRE.js";
|
|
17
17
|
import "./task-run-types-B6K2PtcI.js";
|
|
18
|
-
import { nr as approveDevicePairing, pr as summarizeDeviceTokens, sr as listDevicePairing } from "./client-
|
|
18
|
+
import { nr as approveDevicePairing, pr as summarizeDeviceTokens, sr as listDevicePairing } from "./client-B3-vuVAE.js";
|
|
19
19
|
import "./pairing-token-BA4694nz.js";
|
|
20
|
-
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-
|
|
21
|
-
import { n as withProgress } from "./progress-
|
|
22
|
-
import { t as renderTable } from "./table-
|
|
20
|
+
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-DiXPYDxn.js";
|
|
21
|
+
import { n as withProgress } from "./progress-CSthTuLH.js";
|
|
22
|
+
import { t as renderTable } from "./table-BVq_qQUE.js";
|
|
23
23
|
|
|
24
24
|
//#region src/cli/devices-cli.ts
|
|
25
25
|
const FALLBACK_NOTICE = "Direct scope access failed; using local fallback.";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { n as resolveProcessScopedMap } from "./plain-object-Doc_YkH1.js";
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { rr as loadConfig } from "./plugins-
|
|
5
|
-
import { _ as resolveAgentIdFromSessionKey } from "./session-key-
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-xTuYkxuQ.js";
|
|
4
|
+
import { rr as loadConfig } from "./plugins-s69ApVox.js";
|
|
5
|
+
import { _ as resolveAgentIdFromSessionKey } from "./session-key-D0gYNgj1.js";
|
|
6
6
|
import { t as redactIdentifier } from "./redact-identifier-BcqQpFrh.js";
|
|
7
7
|
import { t as emitDiagnosticEvent } from "./diagnostic-events-D2ujPUHb.js";
|
|
8
8
|
import { n as redactSensitiveText } from "./redact-B36-B8no.js";
|
|
@@ -636,7 +636,7 @@ function startDiagnosticHeartbeat(config) {
|
|
|
636
636
|
if (ageMs > stuckSessionAbortMs && state.queueDepth > 0 && !state.capturedEnd && !state.abortDispatched && state.sessionId) {
|
|
637
637
|
state.abortDispatched = true;
|
|
638
638
|
diag.warn(`stuck-session abort: sessionId=${state.sessionId} progressAge=${Math.round(ageMs / 1e3)}s threshold=${Math.round(stuckSessionAbortMs / 1e3)}s queueDepth=${state.queueDepth}`);
|
|
639
|
-
import("./runs-
|
|
639
|
+
import("./runs-C1AHoTDq.js").then((n) => n.m).then(({ abortEmbeddedPiRun }) => {
|
|
640
640
|
if (state.sessionId && state.abortDispatched) abortEmbeddedPiRun(state.sessionId);
|
|
641
641
|
}).catch((err) => {
|
|
642
642
|
diag.warn(`stuck-session abort import failed: ${String(err)}`);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as resolveGatewayLogPaths } from "./service-
|
|
2
|
-
import
|
|
1
|
+
import { s as resolveGatewayLogPaths } from "./service-BvpFqVNe.js";
|
|
2
|
+
import fsPromises from "node:fs/promises";
|
|
3
3
|
|
|
4
4
|
//#region src/daemon/diagnostics.ts
|
|
5
5
|
const GATEWAY_LOG_ERROR_PATTERNS = [
|
|
@@ -11,7 +11,7 @@ const GATEWAY_LOG_ERROR_PATTERNS = [
|
|
|
11
11
|
];
|
|
12
12
|
async function readLastLogLine(filePath) {
|
|
13
13
|
try {
|
|
14
|
-
const lines = (await
|
|
14
|
+
const lines = (await fsPromises.readFile(filePath, "utf8")).split(/\r?\n/).map((line) => line.trim());
|
|
15
15
|
for (let i = lines.length - 1; i >= 0; i -= 1) if (lines[i]) return lines[i];
|
|
16
16
|
return null;
|
|
17
17
|
} catch {
|
|
@@ -20,8 +20,8 @@ async function readLastLogLine(filePath) {
|
|
|
20
20
|
}
|
|
21
21
|
async function readLastGatewayErrorLine(env) {
|
|
22
22
|
const { stdoutPath, stderrPath } = resolveGatewayLogPaths(env);
|
|
23
|
-
const stderrRaw = await
|
|
24
|
-
const stdoutRaw = await
|
|
23
|
+
const stderrRaw = await fsPromises.readFile(stderrPath, "utf8").catch(() => "");
|
|
24
|
+
const stdoutRaw = await fsPromises.readFile(stdoutPath, "utf8").catch(() => "");
|
|
25
25
|
const lines = [...stderrRaw.split(/\r?\n/), ...stdoutRaw.split(/\r?\n/)].map((line) => line.trim());
|
|
26
26
|
for (let i = lines.length - 1; i >= 0; i -= 1) {
|
|
27
27
|
const line = lines[i];
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { p as theme, t as danger } from "./globals-
|
|
1
|
+
import { p as theme, t as danger } from "./globals-3lUHnZas.js";
|
|
2
2
|
import "./paths-BMo6kTge.js";
|
|
3
|
-
import { m as defaultRuntime } from "./subsystem-
|
|
3
|
+
import { m as defaultRuntime } from "./subsystem-xTuYkxuQ.js";
|
|
4
4
|
import "./boolean-C71HJEcH.js";
|
|
5
|
-
import { rr as loadConfig, t as getChannelPlugin } from "./plugins-
|
|
5
|
+
import { rr as loadConfig, t as getChannelPlugin } from "./plugins-s69ApVox.js";
|
|
6
6
|
import "./retry-policy-By-oqFVH.js";
|
|
7
7
|
import "./version-BdUvZ8Ep.js";
|
|
8
|
-
import "./agent-scope-
|
|
9
|
-
import "./exec-
|
|
8
|
+
import "./agent-scope-m37qEcFM.js";
|
|
9
|
+
import "./exec-BadOxgw_.js";
|
|
10
10
|
import "./github-copilot-token-CmScvpk-.js";
|
|
11
|
-
import "./pid-alive-
|
|
11
|
+
import "./pid-alive-dd2LsB9B.js";
|
|
12
12
|
import "./static-app-y2aJYHKZ.js";
|
|
13
|
-
import { n as resolveMessageChannelSelection } from "./channel-selection-
|
|
14
|
-
import { t as formatDocsLink } from "./links-
|
|
15
|
-
import { t as formatHelpExamples } from "./help-format-
|
|
16
|
-
import { t as resolveChannelDefaultAccountId } from "./helpers-
|
|
17
|
-
import { t as renderTable } from "./table-
|
|
13
|
+
import { n as resolveMessageChannelSelection } from "./channel-selection-CggPBiFX.js";
|
|
14
|
+
import { t as formatDocsLink } from "./links-CdYxxGpz.js";
|
|
15
|
+
import { t as formatHelpExamples } from "./help-format-vSbRPQ2Y.js";
|
|
16
|
+
import { t as resolveChannelDefaultAccountId } from "./helpers-CmFDbO4C.js";
|
|
17
|
+
import { t as renderTable } from "./table-BVq_qQUE.js";
|
|
18
18
|
|
|
19
19
|
//#region src/cli/directory-cli.ts
|
|
20
20
|
function parseLimit(value) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { In as normalizeMessageChannel, Jt as normalizeStringEntries, Nr as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, Ut as getChannelDock, xn as resolveChannelGroupToolsPolicy } from "./plugins-
|
|
2
|
-
import { _ as resolveAgentIdFromSessionKey, p as normalizeAgentId } from "./session-key-
|
|
3
|
-
import { i as resolveAgentConfig } from "./agent-scope-
|
|
4
|
-
import { S as normalizeToolName, T as matchesAnyGlobPattern, w as compileGlobPatterns, x as expandToolGroups } from "./sandbox-
|
|
5
|
-
import { i as readChannelAllowFromStore } from "./pairing-store-
|
|
1
|
+
import { In as normalizeMessageChannel, Jt as normalizeStringEntries, Nr as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, Ut as getChannelDock, xn as resolveChannelGroupToolsPolicy } from "./plugins-s69ApVox.js";
|
|
2
|
+
import { _ as resolveAgentIdFromSessionKey, p as normalizeAgentId } from "./session-key-D0gYNgj1.js";
|
|
3
|
+
import { i as resolveAgentConfig } from "./agent-scope-m37qEcFM.js";
|
|
4
|
+
import { S as normalizeToolName, T as matchesAnyGlobPattern, w as compileGlobPatterns, x as expandToolGroups } from "./sandbox-Da_kzIjf.js";
|
|
5
|
+
import { i as readChannelAllowFromStore } from "./pairing-store-BIeHwICv.js";
|
|
6
6
|
|
|
7
7
|
//#region src/agents/sandbox-tool-policy.ts
|
|
8
8
|
function unionAllow(base, extra) {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { p as theme } from "./globals-
|
|
1
|
+
import { p as theme } from "./globals-3lUHnZas.js";
|
|
2
2
|
import "./paths-BMo6kTge.js";
|
|
3
|
-
import { m as defaultRuntime } from "./subsystem-
|
|
3
|
+
import { m as defaultRuntime } from "./subsystem-xTuYkxuQ.js";
|
|
4
4
|
import "./boolean-C71HJEcH.js";
|
|
5
|
-
import { rr as loadConfig } from "./plugins-
|
|
5
|
+
import { rr as loadConfig } from "./plugins-s69ApVox.js";
|
|
6
6
|
import "./retry-policy-By-oqFVH.js";
|
|
7
7
|
import "./version-BdUvZ8Ep.js";
|
|
8
|
-
import "./agent-scope-
|
|
9
|
-
import "./exec-
|
|
8
|
+
import "./agent-scope-m37qEcFM.js";
|
|
9
|
+
import "./exec-BadOxgw_.js";
|
|
10
10
|
import "./github-copilot-token-CmScvpk-.js";
|
|
11
|
-
import "./pid-alive-
|
|
11
|
+
import "./pid-alive-dd2LsB9B.js";
|
|
12
12
|
import "./static-app-y2aJYHKZ.js";
|
|
13
|
-
import { n as pickPrimaryTailnetIPv4, r as pickPrimaryTailnetIPv6 } from "./tailnet-
|
|
14
|
-
import { t as formatDocsLink } from "./links-
|
|
15
|
-
import { t as renderTable } from "./table-
|
|
16
|
-
import { n as resolveWideAreaDiscoveryDomain, t as getWideAreaZonePath } from "./widearea-dns-
|
|
13
|
+
import { n as pickPrimaryTailnetIPv4, r as pickPrimaryTailnetIPv6 } from "./tailnet-QfxqR4vE.js";
|
|
14
|
+
import { t as formatDocsLink } from "./links-CdYxxGpz.js";
|
|
15
|
+
import { t as renderTable } from "./table-BVq_qQUE.js";
|
|
16
|
+
import { n as resolveWideAreaDiscoveryDomain, t as getWideAreaZonePath } from "./widearea-dns-D_Hocera.js";
|
|
17
17
|
import { spawnSync } from "node:child_process";
|
|
18
18
|
import path from "node:path";
|
|
19
19
|
import fs from "node:fs";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { f as isRich, p as theme } from "./globals-
|
|
1
|
+
import { f as isRich, p as theme } from "./globals-3lUHnZas.js";
|
|
2
2
|
import "./paths-BMo6kTge.js";
|
|
3
|
-
import { m as defaultRuntime } from "./subsystem-
|
|
3
|
+
import { m as defaultRuntime } from "./subsystem-xTuYkxuQ.js";
|
|
4
4
|
import "./boolean-C71HJEcH.js";
|
|
5
|
-
import "./plugins-
|
|
5
|
+
import "./plugins-s69ApVox.js";
|
|
6
6
|
import "./retry-policy-By-oqFVH.js";
|
|
7
7
|
import "./version-BdUvZ8Ep.js";
|
|
8
|
-
import "./agent-scope-
|
|
9
|
-
import { t as runCommandWithTimeout } from "./exec-
|
|
8
|
+
import "./agent-scope-m37qEcFM.js";
|
|
9
|
+
import { t as runCommandWithTimeout } from "./exec-BadOxgw_.js";
|
|
10
10
|
import "./github-copilot-token-CmScvpk-.js";
|
|
11
|
-
import "./pid-alive-
|
|
11
|
+
import "./pid-alive-dd2LsB9B.js";
|
|
12
12
|
import "./static-app-y2aJYHKZ.js";
|
|
13
13
|
import { n as docsSiteUrl } from "./docs-site-OVFfji6N.js";
|
|
14
14
|
import { t as formatCliCommand } from "./command-format-DZa6U7Yk.js";
|
|
15
15
|
import { d as hasBinary } from "./frontmatter-u7tN1aai.js";
|
|
16
|
-
import "./skills-
|
|
17
|
-
import "./path-alias-guards-
|
|
16
|
+
import "./skills-B_8rpYgx.js";
|
|
17
|
+
import "./path-alias-guards-BL542Mqz.js";
|
|
18
18
|
import "./redact-B36-B8no.js";
|
|
19
19
|
import "./errors-DRGEw4PB.js";
|
|
20
|
-
import { t as formatDocsLink } from "./links-
|
|
20
|
+
import { t as formatDocsLink } from "./links-CdYxxGpz.js";
|
|
21
21
|
import { n as runCommandWithRuntime } from "./cli-utils-CKDCmKAq.js";
|
|
22
22
|
import MarkdownIt from "markdown-it";
|
|
23
23
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as resolveOpenClawPackageRoot } from "./openclaw-root-
|
|
1
|
+
import { n as resolveOpenClawPackageRoot } from "./openclaw-root-Bh3xNyXD.js";
|
|
2
2
|
import { r as resolveCliName } from "./command-format-DZa6U7Yk.js";
|
|
3
|
-
import { t as note } from "./note-
|
|
4
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
3
|
+
import { t as note } from "./note-IQhv9g1L.js";
|
|
4
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-CNuhIsey.js";
|
|
5
5
|
import { spawnSync } from "node:child_process";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { _t as isRecord, xt as resolveHomeDir } from "./globals-
|
|
1
|
+
import { _t as isRecord, xt as resolveHomeDir } from "./globals-3lUHnZas.js";
|
|
2
2
|
import { f as resolveLegacyStateDirs, g as resolveStateDir, m as resolveOAuthDir, p as resolveNewStateDir, t as CONFIG_PATH } from "./paths-BMo6kTge.js";
|
|
3
|
-
import { $s as resolveSlackNativeStreaming, Ba as OpenClawSchema, Fs as normalizeChatChannelId, Qs as resolveDiscordPreviewStreamMode, Ra as migrateLegacyConfig, Xs as formatSlackStreamingBooleanMigrationMessage, Ys as formatSlackStreamModeMigrationMessage, ar as readConfigFileSnapshot, dr as isTrustedSafeBinPath, ec as resolveSlackStreamingMode, hs as resolveEnableState, ka as parseToolsBySenderTypedKey, n as listChannelPlugins, pr as normalizeTrustedSafeBinDirs, ps as normalizePluginsConfig, so as resolveCommandResolutionFromArgv, tc as resolveTelegramPreviewStreamMode, ur as getTrustedSafeBinDirs } from "./plugins-
|
|
4
|
-
import { O as DEFAULT_ACCOUNT_ID, k as normalizeAccountId, p as normalizeAgentId } from "./session-key-
|
|
5
|
-
import { d as resolveDefaultAgentId } from "./agent-scope-
|
|
3
|
+
import { $s as resolveSlackNativeStreaming, Ba as OpenClawSchema, Fs as normalizeChatChannelId, Qs as resolveDiscordPreviewStreamMode, Ra as migrateLegacyConfig, Xs as formatSlackStreamingBooleanMigrationMessage, Ys as formatSlackStreamModeMigrationMessage, ar as readConfigFileSnapshot, dr as isTrustedSafeBinPath, ec as resolveSlackStreamingMode, hs as resolveEnableState, ka as parseToolsBySenderTypedKey, n as listChannelPlugins, pr as normalizeTrustedSafeBinDirs, ps as normalizePluginsConfig, so as resolveCommandResolutionFromArgv, tc as resolveTelegramPreviewStreamMode, ur as getTrustedSafeBinDirs } from "./plugins-s69ApVox.js";
|
|
4
|
+
import { O as DEFAULT_ACCOUNT_ID, k as normalizeAccountId, p as normalizeAgentId } from "./session-key-D0gYNgj1.js";
|
|
5
|
+
import { d as resolveDefaultAgentId } from "./agent-scope-m37qEcFM.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-DZa6U7Yk.js";
|
|
7
|
-
import { r as resolveMergedSafeBinProfileFixtures, t as listInterpreterLikeSafeBins } from "./exec-safe-bin-runtime-policy-
|
|
8
|
-
import { i as readChannelAllowFromStore } from "./pairing-store-
|
|
9
|
-
import { t as applyPluginAutoEnable } from "./plugin-auto-enable-
|
|
7
|
+
import { r as resolveMergedSafeBinProfileFixtures, t as listInterpreterLikeSafeBins } from "./exec-safe-bin-runtime-policy-18lfJBlE.js";
|
|
8
|
+
import { i as readChannelAllowFromStore } from "./pairing-store-BIeHwICv.js";
|
|
9
|
+
import { t as applyPluginAutoEnable } from "./plugin-auto-enable-Clq5aaN8.js";
|
|
10
10
|
import { t as collectProviderDangerousNameMatchingScopes } from "./dangerous-name-matching-CTQpOYZ9.js";
|
|
11
|
-
import { n as shouldMoveSingleAccountChannelKey } from "./setup-helpers-
|
|
12
|
-
import { t as note } from "./note-
|
|
13
|
-
import { t as isWithinDir } from "./path-safety-
|
|
14
|
-
import { n as formatConfigIssueLines } from "./issue-format-
|
|
11
|
+
import { n as shouldMoveSingleAccountChannelKey } from "./setup-helpers-llVNLaGg.js";
|
|
12
|
+
import { t as note } from "./note-IQhv9g1L.js";
|
|
13
|
+
import { t as isWithinDir } from "./path-safety-tfrNWosi.js";
|
|
14
|
+
import { n as formatConfigIssueLines } from "./issue-format-CEhsl7Wj.js";
|
|
15
15
|
import { a as isMattermostMutableAllowEntry, i as isMSTeamsMutableAllowEntry, n as isGoogleChatMutableAllowEntry, o as isSlackMutableAllowEntry, r as isIrcMutableAllowEntry, t as isDiscordMutableAllowEntry } from "./mutable-allowlist-detectors-CcysOSDM.js";
|
|
16
16
|
import os from "node:os";
|
|
17
17
|
import path from "node:path";
|
|
18
18
|
import fs from "node:fs";
|
|
19
|
-
import
|
|
19
|
+
import fsPromises from "node:fs/promises";
|
|
20
20
|
|
|
21
21
|
//#region src/commands/doctor-legacy-config.ts
|
|
22
22
|
function normalizeCompatibilityConfigValues(cfg) {
|
|
@@ -1839,7 +1839,7 @@ async function maybeMigrateLegacyConfig() {
|
|
|
1839
1839
|
const targetDir = path.join(home, ".openclaw");
|
|
1840
1840
|
const targetPath = path.join(targetDir, "openclaw.json");
|
|
1841
1841
|
try {
|
|
1842
|
-
await
|
|
1842
|
+
await fsPromises.access(targetPath);
|
|
1843
1843
|
return changes;
|
|
1844
1844
|
} catch {}
|
|
1845
1845
|
const legacyCandidates = [
|
|
@@ -1849,14 +1849,14 @@ async function maybeMigrateLegacyConfig() {
|
|
|
1849
1849
|
];
|
|
1850
1850
|
let legacyPath = null;
|
|
1851
1851
|
for (const candidate of legacyCandidates) try {
|
|
1852
|
-
await
|
|
1852
|
+
await fsPromises.access(candidate);
|
|
1853
1853
|
legacyPath = candidate;
|
|
1854
1854
|
break;
|
|
1855
1855
|
} catch {}
|
|
1856
1856
|
if (!legacyPath) return changes;
|
|
1857
|
-
await
|
|
1857
|
+
await fsPromises.mkdir(targetDir, { recursive: true });
|
|
1858
1858
|
try {
|
|
1859
|
-
await
|
|
1859
|
+
await fsPromises.copyFile(legacyPath, targetPath, fsPromises.constants.COPYFILE_EXCL);
|
|
1860
1860
|
changes.push(`Migrated legacy config: ${legacyPath} -> ${targetPath}`);
|
|
1861
1861
|
} catch {}
|
|
1862
1862
|
return changes;
|
|
@@ -1918,7 +1918,7 @@ async function loadAndMaybeMigrateDoctorConfig(params) {
|
|
|
1918
1918
|
const mediaUnderstandingWarnings = collectMediaUnderstandingWarnings(candidate);
|
|
1919
1919
|
if (mediaUnderstandingWarnings.length > 0) note(mediaUnderstandingWarnings.join("\n"), "Doctor warnings");
|
|
1920
1920
|
if (params.loadChannelPlugins) try {
|
|
1921
|
-
const { ensurePluginRegistryLoaded } = await import("./plugin-registry-
|
|
1921
|
+
const { ensurePluginRegistryLoaded } = await import("./plugin-registry-Co2I2dee.js").then((n) => n.n);
|
|
1922
1922
|
ensurePluginRegistryLoaded(candidate);
|
|
1923
1923
|
} catch {}
|
|
1924
1924
|
if (shouldRepair) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Fs as normalizeChatChannelId } from "./plugins-
|
|
2
|
-
import { r as ensurePluginAllowlisted } from "./plugin-auto-enable-
|
|
1
|
+
import { Fs as normalizeChatChannelId } from "./plugins-s69ApVox.js";
|
|
2
|
+
import { r as ensurePluginAllowlisted } from "./plugin-auto-enable-Clq5aaN8.js";
|
|
3
3
|
|
|
4
4
|
//#region src/plugins/toggle-config.ts
|
|
5
5
|
function setPluginEnabledInConfig(config, pluginId, enabled) {
|
package/dist/entry.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { Ht as isRootVersionInvocation, Rt as hasHelpOrVersion, Vt as isRootHelpInvocation } from "./globals-
|
|
2
|
+
import { Ht as isRootVersionInvocation, Rt as hasHelpOrVersion, Vt as isRootHelpInvocation } from "./globals-3lUHnZas.js";
|
|
3
3
|
import { y as resolveRequiredHomeDir } from "./paths-BMo6kTge.js";
|
|
4
4
|
import { t as isValidProfileName } from "./profile-utils-DMZjJPo2.js";
|
|
5
5
|
import { n as resolveProcessScopedMap } from "./plain-object-Doc_YkH1.js";
|
|
6
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
6
|
+
import { t as createSubsystemLogger } from "./subsystem-xTuYkxuQ.js";
|
|
7
7
|
import { t as parseBooleanValue } from "./boolean-C71HJEcH.js";
|
|
8
8
|
import { enableCompileCache } from "node:module";
|
|
9
9
|
import { spawn } from "node:child_process";
|
|
@@ -381,7 +381,7 @@ if (!isMainModule({
|
|
|
381
381
|
}
|
|
382
382
|
function tryHandleRootHelpFastPath(argv) {
|
|
383
383
|
if (!isRootHelpInvocation(argv)) return false;
|
|
384
|
-
import("./program-
|
|
384
|
+
import("./program-DZV-02XU.js").then(({ buildProgram }) => {
|
|
385
385
|
buildProgram().outputHelp();
|
|
386
386
|
}).catch((error) => {
|
|
387
387
|
console.error("[openclaw] Failed to display help:", error instanceof Error ? error.stack ?? error.message : error);
|
|
@@ -400,7 +400,7 @@ if (!isMainModule({
|
|
|
400
400
|
applyCliProfileEnv({ profile: parsed.profile });
|
|
401
401
|
process$1.argv = parsed.argv;
|
|
402
402
|
}
|
|
403
|
-
if (!tryHandleRootVersionFastPath(process$1.argv) && !tryHandleRootHelpFastPath(process$1.argv)) import("./run-main-
|
|
403
|
+
if (!tryHandleRootVersionFastPath(process$1.argv) && !tryHandleRootHelpFastPath(process$1.argv)) import("./run-main-BYRPATOb.js").then(({ runCli }) => runCli(process$1.argv)).then(() => flushStdio()).then(() => process$1.exit(process$1.exitCode ?? 0)).catch(async (error) => {
|
|
404
404
|
console.error("[openclaw] Failed to start CLI:", error instanceof Error ? error.stack ?? error.message : error);
|
|
405
405
|
await flushStdio();
|
|
406
406
|
process$1.exit(process$1.exitCode ?? 1);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as shouldLogVerbose, h as getLogger, n as info, o as logVerboseConsole, t as danger, u as warn } from "./globals-
|
|
2
|
-
import { m as defaultRuntime, t as createSubsystemLogger } from "./subsystem-
|
|
1
|
+
import { c as shouldLogVerbose, h as getLogger, n as info, o as logVerboseConsole, t as danger, u as warn } from "./globals-3lUHnZas.js";
|
|
2
|
+
import { m as defaultRuntime, t as createSubsystemLogger } from "./subsystem-xTuYkxuQ.js";
|
|
3
3
|
import { t as resolveCommandStdio } from "./spawn-utils-Dl4MNby6.js";
|
|
4
4
|
import { execFile, spawn } from "node:child_process";
|
|
5
5
|
import process from "node:process";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Sr as SAFE_BIN_PROFILES, _o as unwrapKnownDispatchWrapperInvocation, ao as matchAllowlist, br as splitCommandChain, do as extractShellWrapperInlineCommand, dr as isTrustedSafeBinPath, gr as analyzeShellCommand, io as DEFAULT_SAFE_BINS, mo as isShellWrapperExecutable, mr as validateSafeBinArgv, oo as resolveAllowlistCandidatePath, po as isDispatchWrapperExecutable, so as resolveCommandResolutionFromArgv, vo as unwrapKnownShellMultiplexerInvocation, vr as isWindowsPlatform } from "./plugins-
|
|
1
|
+
import { Sr as SAFE_BIN_PROFILES, _o as unwrapKnownDispatchWrapperInvocation, ao as matchAllowlist, br as splitCommandChain, do as extractShellWrapperInlineCommand, dr as isTrustedSafeBinPath, gr as analyzeShellCommand, io as DEFAULT_SAFE_BINS, mo as isShellWrapperExecutable, mr as validateSafeBinArgv, oo as resolveAllowlistCandidatePath, po as isDispatchWrapperExecutable, so as resolveCommandResolutionFromArgv, vo as unwrapKnownShellMultiplexerInvocation, vr as isWindowsPlatform } from "./plugins-s69ApVox.js";
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
|
|
4
4
|
//#region src/infra/exec-approvals-allowlist.ts
|