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,20 +1,20 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { St as resolveUserPath, Tt as shortenHomePath, d as colorize, f as isRich, p as theme, s as setVerbose, wt as shortenHomeInString } from "./globals-
|
|
3
|
-
import { m as defaultRuntime, t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { To as parseDurationMs, rr as loadConfig, xr as splitShellArgs } from "./plugins-
|
|
5
|
-
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
2
|
+
import { St as resolveUserPath, Tt as shortenHomePath, d as colorize, f as isRich, p as theme, s as setVerbose, wt as shortenHomeInString } from "./globals-3lUHnZas.js";
|
|
3
|
+
import { m as defaultRuntime, t as createSubsystemLogger } from "./subsystem-xTuYkxuQ.js";
|
|
4
|
+
import { To as parseDurationMs, rr as loadConfig, xr as splitShellArgs } from "./plugins-s69ApVox.js";
|
|
5
|
+
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-m37qEcFM.js";
|
|
6
6
|
import { i as formatErrorMessage } from "./errors-DRGEw4PB.js";
|
|
7
|
-
import { r as getMemoryCommandSecretTargetIds, s as resolveCommandSecretRefsViaGateway } from "./command-secret-targets-
|
|
8
|
-
import { m as normalizeExtraMemoryPaths, p as listMemoryFiles } from "./query-expansion-
|
|
9
|
-
import { n as callSessionStorageGateway, r as resolveSessionStorageRoute, t as MAINTENANCE_RPC_TIMEOUT_MS } from "./session-storage-owner-
|
|
10
|
-
import { t as isQmdScopeAllowed } from "./qmd-scope-
|
|
11
|
-
import { t as formatDocsLink } from "./links-
|
|
7
|
+
import { r as getMemoryCommandSecretTargetIds, s as resolveCommandSecretRefsViaGateway } from "./command-secret-targets-DfQv7jnw.js";
|
|
8
|
+
import { m as normalizeExtraMemoryPaths, p as listMemoryFiles } from "./query-expansion-Ba0qHd1X.js";
|
|
9
|
+
import { n as callSessionStorageGateway, r as resolveSessionStorageRoute, t as MAINTENANCE_RPC_TIMEOUT_MS } from "./session-storage-owner-CE7dPxVq.js";
|
|
10
|
+
import { t as isQmdScopeAllowed } from "./qmd-scope-B3hEskxa.js";
|
|
11
|
+
import { t as formatDocsLink } from "./links-CdYxxGpz.js";
|
|
12
12
|
import { r as withManager } from "./cli-utils-CKDCmKAq.js";
|
|
13
|
-
import { t as formatHelpExamples } from "./help-format-
|
|
14
|
-
import { n as withProgress, r as withProgressTotals } from "./progress-
|
|
13
|
+
import { t as formatHelpExamples } from "./help-format-vSbRPQ2Y.js";
|
|
14
|
+
import { n as withProgress, r as withProgressTotals } from "./progress-CSthTuLH.js";
|
|
15
15
|
import path from "node:path";
|
|
16
16
|
import fs from "node:fs";
|
|
17
|
-
import
|
|
17
|
+
import fsPromises from "node:fs/promises";
|
|
18
18
|
|
|
19
19
|
//#region src/memory/backend-config.ts
|
|
20
20
|
const DEFAULT_BACKEND = "builtin";
|
|
@@ -232,7 +232,7 @@ async function getMemorySearchManager(params) {
|
|
|
232
232
|
if (cached) return { manager: cached };
|
|
233
233
|
}
|
|
234
234
|
try {
|
|
235
|
-
const { QmdMemoryManager } = await import("./qmd-manager-
|
|
235
|
+
const { QmdMemoryManager } = await import("./qmd-manager-D6HnLpUI.js");
|
|
236
236
|
const primary = await QmdMemoryManager.create({
|
|
237
237
|
cfg: params.cfg,
|
|
238
238
|
agentId: params.agentId,
|
|
@@ -244,7 +244,7 @@ async function getMemorySearchManager(params) {
|
|
|
244
244
|
const wrapper = new FallbackMemoryManager({
|
|
245
245
|
primary,
|
|
246
246
|
fallbackFactory: async () => {
|
|
247
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
247
|
+
const { MemoryIndexManager } = await import("./manager-NberoPlo.js").then((n) => n.t);
|
|
248
248
|
return await MemoryIndexManager.get(params);
|
|
249
249
|
}
|
|
250
250
|
}, () => {
|
|
@@ -259,7 +259,7 @@ async function getMemorySearchManager(params) {
|
|
|
259
259
|
}
|
|
260
260
|
}
|
|
261
261
|
try {
|
|
262
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
262
|
+
const { MemoryIndexManager } = await import("./manager-NberoPlo.js").then((n) => n.t);
|
|
263
263
|
return { manager: await MemoryIndexManager.get(params) };
|
|
264
264
|
} catch (err) {
|
|
265
265
|
return {
|
|
@@ -447,7 +447,7 @@ async function withMemoryManagerForAgent(params) {
|
|
|
447
447
|
}
|
|
448
448
|
async function checkReadableFile(pathname) {
|
|
449
449
|
try {
|
|
450
|
-
await
|
|
450
|
+
await fsPromises.access(pathname, fs.constants.R_OK);
|
|
451
451
|
return { exists: true };
|
|
452
452
|
} catch (err) {
|
|
453
453
|
const code = err.code;
|
|
@@ -482,7 +482,7 @@ async function scanMemoryFiles(workspaceDir, extraPaths = []) {
|
|
|
482
482
|
if (alt.issue) issues.push(alt.issue);
|
|
483
483
|
const resolvedExtraPaths = normalizeExtraMemoryPaths(workspaceDir, extraPaths);
|
|
484
484
|
for (const extraPath of resolvedExtraPaths) try {
|
|
485
|
-
if ((await
|
|
485
|
+
if ((await fsPromises.lstat(extraPath)).isSymbolicLink()) continue;
|
|
486
486
|
const extraCheck = await checkReadableFile(extraPath);
|
|
487
487
|
if (extraCheck.issue) issues.push(extraCheck.issue);
|
|
488
488
|
} catch (err) {
|
|
@@ -492,7 +492,7 @@ async function scanMemoryFiles(workspaceDir, extraPaths = []) {
|
|
|
492
492
|
}
|
|
493
493
|
let dirReadable = null;
|
|
494
494
|
try {
|
|
495
|
-
await
|
|
495
|
+
await fsPromises.access(memoryDir, fs.constants.R_OK);
|
|
496
496
|
dirReadable = true;
|
|
497
497
|
} catch (err) {
|
|
498
498
|
const code = err.code;
|
|
@@ -540,7 +540,7 @@ async function summarizeQmdIndexArtifact(manager) {
|
|
|
540
540
|
if (!dbPath) return null;
|
|
541
541
|
let stat;
|
|
542
542
|
try {
|
|
543
|
-
stat = await
|
|
543
|
+
stat = await fsPromises.stat(dbPath);
|
|
544
544
|
} catch (err) {
|
|
545
545
|
const code = err.code;
|
|
546
546
|
if (code === "ENOENT") throw new Error(`QMD index file not found: ${shortenHomePath(dbPath)}`, { cause: err });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Lc as DEFAULT_CONTEXT_TOKENS, qr as normalizeProviderId, vc as resolveOpenClawAgentDir } from "./plugins-
|
|
3
|
-
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-
|
|
2
|
+
import { Lc as DEFAULT_CONTEXT_TOKENS, qr as normalizeProviderId, vc as resolveOpenClawAgentDir } from "./plugins-s69ApVox.js";
|
|
3
|
+
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-Cv0FIBjp.js";
|
|
4
4
|
|
|
5
5
|
//#region src/agents/model-alias-lines.ts
|
|
6
6
|
function buildModelAliasLines(cfg) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { n as resolveProcessScopedMap } from "./plain-object-Doc_YkH1.js";
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
3
|
-
import { rr as loadConfig, vc as resolveOpenClawAgentDir } from "./plugins-
|
|
4
|
-
import { t as ensureOpenClawModelsJson } from "./models-config-
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-xTuYkxuQ.js";
|
|
3
|
+
import { rr as loadConfig, vc as resolveOpenClawAgentDir } from "./plugins-s69ApVox.js";
|
|
4
|
+
import { t as ensureOpenClawModelsJson } from "./models-config-MT7bTyDD.js";
|
|
5
5
|
|
|
6
6
|
//#region src/agents/model-catalog.ts
|
|
7
7
|
const log = createSubsystemLogger("model-catalog");
|
|
8
8
|
const modelCatalogPromiseState = resolveProcessScopedMap(Symbol.for("openclaw.agents.model-catalog.modelCatalogPromise"));
|
|
9
9
|
const hasLoggedModelCatalogErrorState = resolveProcessScopedMap(Symbol.for("openclaw.agents.model-catalog.hasLoggedModelCatalogError"));
|
|
10
|
-
const defaultImportPiSdk = () => import("./pi-model-discovery-
|
|
10
|
+
const defaultImportPiSdk = () => import("./pi-model-discovery-Cv0FIBjp.js").then((n) => n.r);
|
|
11
11
|
let importPiSdk = defaultImportPiSdk;
|
|
12
12
|
function getModelCatalogPromise() {
|
|
13
13
|
return modelCatalogPromiseState.get("value") ?? null;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Li as getCustomProviderApiKey, Lr as buildAllowedModelSet, Qr as resolveConfiguredModelRef, Rc as DEFAULT_MODEL, Vi as resolveEnvApiKey, Wr as modelKey, cc as upsertAuthProfileWithLock, ic as listProfilesForProvider, qr as normalizeProviderId, uc as ensureAuthProfileStore, zc as DEFAULT_PROVIDER, zr as buildModelAliasIndex } from "./plugins-
|
|
3
|
-
import { F as resolveAgentModelPrimaryValue } from "./agent-scope-
|
|
4
|
-
import { n as loadModelCatalog } from "./model-catalog-
|
|
5
|
-
import { i as formatTokenK } from "./shared-
|
|
2
|
+
import { Li as getCustomProviderApiKey, Lr as buildAllowedModelSet, Qr as resolveConfiguredModelRef, Rc as DEFAULT_MODEL, Vi as resolveEnvApiKey, Wr as modelKey, cc as upsertAuthProfileWithLock, ic as listProfilesForProvider, qr as normalizeProviderId, uc as ensureAuthProfileStore, zc as DEFAULT_PROVIDER, zr as buildModelAliasIndex } from "./plugins-s69ApVox.js";
|
|
3
|
+
import { F as resolveAgentModelPrimaryValue } from "./agent-scope-m37qEcFM.js";
|
|
4
|
+
import { n as loadModelCatalog } from "./model-catalog-DShV9nqu.js";
|
|
5
|
+
import { i as formatTokenK } from "./shared-DWSJKo_J.js";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/openai-codex-model-default.ts
|
|
8
8
|
const OPENAI_CODEX_DEFAULT_MODEL = "openai-codex/gpt-5.3-codex";
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Tt as shortenHomePath, d as colorize, f as isRich$1, p as theme } from "./globals-
|
|
2
|
+
import { Tt as shortenHomePath, d as colorize, f as isRich$1, p as theme } from "./globals-3lUHnZas.js";
|
|
3
3
|
import { t as CONFIG_PATH } from "./paths-BMo6kTge.js";
|
|
4
|
-
import { Gt as DEFAULT_OAUTH_WARN_MS, Kt as buildAuthHealthSummary, _ as runEmbeddedPiAgent, _n as maskApiKey, gn as resolveUsageProviderId, hn as formatUsageWindowSummary, pn as loadProviderUsageSummary, qt as formatRemainingShort, rr as resolvePluginProviders, wt as describeFailoverError } from "./agent-turn-execute-
|
|
5
|
-
import { $r as resolveDefaultModelForAgent, Bc as getShellEnvAppliedKeys, Bi as resolveAwsSdkEnvVarName, Br as findNormalizedProviderValue, Li as getCustomProviderApiKey, Qi as resolveAuthProfileOrder, Qr as resolveConfiguredModelRef, Rc as DEFAULT_MODEL, To as parseDurationMs, Uc as shouldEnableShellEnvFallback, Vi as resolveEnvApiKey, Wr as modelKey, Yr as parseModelRef, _c as resolveAuthStorePathForDisplay, ic as listProfilesForProvider, oc as setAuthProfileOrder, qr as normalizeProviderId, ra as resolveProfileUnusableUntilForDisplay, rr as loadConfig, sc as upsertAuthProfile, ti as resolveModelRefFromString, uc as ensureAuthProfileStore, vc as resolveOpenClawAgentDir, xc as resolveAuthProfileDisplayLabel, zc as DEFAULT_PROVIDER, zi as resolveApiKeyForProvider, zr as buildModelAliasIndex } from "./plugins-
|
|
6
|
-
import { A as resolveDefaultAgentWorkspaceDir, F as resolveAgentModelPrimaryValue, I as toAgentModelListLike, P as resolveAgentModelFallbackValues, a as resolveAgentDir, c as resolveAgentModelFallbacksOverride, d as resolveDefaultAgentId, s as resolveAgentExplicitModelPrimary, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
+
import { Gt as DEFAULT_OAUTH_WARN_MS, Kt as buildAuthHealthSummary, _ as runEmbeddedPiAgent, _n as maskApiKey, gn as resolveUsageProviderId, hn as formatUsageWindowSummary, pn as loadProviderUsageSummary, qt as formatRemainingShort, rr as resolvePluginProviders, wt as describeFailoverError } from "./agent-turn-execute-CM4O0yRh.js";
|
|
5
|
+
import { $r as resolveDefaultModelForAgent, Bc as getShellEnvAppliedKeys, Bi as resolveAwsSdkEnvVarName, Br as findNormalizedProviderValue, Li as getCustomProviderApiKey, Qi as resolveAuthProfileOrder, Qr as resolveConfiguredModelRef, Rc as DEFAULT_MODEL, To as parseDurationMs, Uc as shouldEnableShellEnvFallback, Vi as resolveEnvApiKey, Wr as modelKey, Yr as parseModelRef, _c as resolveAuthStorePathForDisplay, ic as listProfilesForProvider, oc as setAuthProfileOrder, qr as normalizeProviderId, ra as resolveProfileUnusableUntilForDisplay, rr as loadConfig, sc as upsertAuthProfile, ti as resolveModelRefFromString, uc as ensureAuthProfileStore, vc as resolveOpenClawAgentDir, xc as resolveAuthProfileDisplayLabel, zc as DEFAULT_PROVIDER, zi as resolveApiKeyForProvider, zr as buildModelAliasIndex } from "./plugins-s69ApVox.js";
|
|
6
|
+
import { A as resolveDefaultAgentWorkspaceDir, F as resolveAgentModelPrimaryValue, I as toAgentModelListLike, P as resolveAgentModelFallbackValues, a as resolveAgentDir, c as resolveAgentModelFallbacksOverride, d as resolveDefaultAgentId, s as resolveAgentExplicitModelPrimary, u as resolveAgentWorkspaceDir } from "./agent-scope-m37qEcFM.js";
|
|
7
7
|
import { t as formatCliCommand } from "./command-format-DZa6U7Yk.js";
|
|
8
|
-
import { r as resolveForwardCompatModel } from "./model-
|
|
9
|
-
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-
|
|
10
|
-
import { t as ensureOpenClawModelsJson } from "./models-config-
|
|
11
|
-
import { n as loadModelCatalog } from "./model-catalog-
|
|
12
|
-
import { i as getModelsCommandSecretTargetIds, s as resolveCommandSecretRefsViaGateway } from "./command-secret-targets-
|
|
13
|
-
import { f as openUrl } from "./onboard-helpers-
|
|
14
|
-
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-
|
|
15
|
-
import { r as withProgressTotals } from "./progress-
|
|
16
|
-
import { t as createClackPrompter } from "./clack-prompter-
|
|
17
|
-
import { t as renderTable } from "./table-
|
|
8
|
+
import { r as resolveForwardCompatModel } from "./model-DLnu2ZHK.js";
|
|
9
|
+
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-Cv0FIBjp.js";
|
|
10
|
+
import { t as ensureOpenClawModelsJson } from "./models-config-MT7bTyDD.js";
|
|
11
|
+
import { n as loadModelCatalog } from "./model-catalog-DShV9nqu.js";
|
|
12
|
+
import { i as getModelsCommandSecretTargetIds, s as resolveCommandSecretRefsViaGateway } from "./command-secret-targets-DfQv7jnw.js";
|
|
13
|
+
import { f as openUrl } from "./onboard-helpers-CyIeOf0n.js";
|
|
14
|
+
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-C6yO0kan.js";
|
|
15
|
+
import { r as withProgressTotals } from "./progress-CSthTuLH.js";
|
|
16
|
+
import { t as createClackPrompter } from "./clack-prompter-BKD0RJgm.js";
|
|
17
|
+
import { t as renderTable } from "./table-BVq_qQUE.js";
|
|
18
18
|
import { t as inferParamBFromIdOrName } from "./model-param-b-BTgi-Ci7.js";
|
|
19
19
|
import { n as redactSecrets } from "./format-CLjTypC5.js";
|
|
20
|
-
import { a as isLocalBaseUrl, c as normalizeAlias, d as resolveModelTarget, f as updateConfig, i as formatTokenK, l as resolveKnownAgentId, n as ensureFlagCompatibility, o as loadValidConfigOrThrow, r as formatMs, s as mergePrimaryFallbackConfig, t as applyDefaultModelPrimaryUpdate, u as resolveModelKeysFromEntries } from "./shared-
|
|
21
|
-
import { d as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-
|
|
22
|
-
import { n as logConfigUpdated } from "./logging-
|
|
23
|
-
import { a as createVpsAwareOAuthHandlers, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
20
|
+
import { a as isLocalBaseUrl, c as normalizeAlias, d as resolveModelTarget, f as updateConfig, i as formatTokenK, l as resolveKnownAgentId, n as ensureFlagCompatibility, o as loadValidConfigOrThrow, r as formatMs, s as mergePrimaryFallbackConfig, t as applyDefaultModelPrimaryUpdate, u as resolveModelKeysFromEntries } from "./shared-DWSJKo_J.js";
|
|
21
|
+
import { d as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-CrC72-Fb.js";
|
|
22
|
+
import { n as logConfigUpdated } from "./logging-BcooikJ6.js";
|
|
23
|
+
import { a as createVpsAwareOAuthHandlers, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, t as applyDefaultModel } from "./provider-auth-helpers-DL--wYUD.js";
|
|
24
24
|
import path from "node:path";
|
|
25
|
-
import
|
|
25
|
+
import fsPromises from "node:fs/promises";
|
|
26
26
|
import crypto from "node:crypto";
|
|
27
27
|
import { Type } from "@sinclair/typebox";
|
|
28
28
|
import { complete, getEnvApiKey, getModel } from "@mariozechner/pi-ai";
|
|
@@ -853,7 +853,7 @@ function printModelTable(rows, runtime, opts = {}) {
|
|
|
853
853
|
//#region src/commands/models/list.list-command.ts
|
|
854
854
|
async function modelsListCommand(opts, runtime) {
|
|
855
855
|
ensureFlagCompatibility(opts);
|
|
856
|
-
const { ensureAuthProfileStore } = await import("./plugins-
|
|
856
|
+
const { ensureAuthProfileStore } = await import("./plugins-s69ApVox.js").then((n) => n.Zi);
|
|
857
857
|
const cfg = await loadModelsConfig({
|
|
858
858
|
commandName: "models list",
|
|
859
859
|
runtime
|
|
@@ -916,7 +916,7 @@ async function modelsListCommand(opts, runtime) {
|
|
|
916
916
|
}
|
|
917
917
|
}
|
|
918
918
|
if (!model) {
|
|
919
|
-
const { resolveModel } = await import("./model-
|
|
919
|
+
const { resolveModel } = await import("./model-DLnu2ZHK.js").then((n) => n.t);
|
|
920
920
|
model = resolveModel(entry.ref.provider, entry.ref.model, void 0, cfg).model;
|
|
921
921
|
}
|
|
922
922
|
if (opts.local && model && !isLocalBaseUrl(model.baseUrl)) continue;
|
|
@@ -1243,7 +1243,7 @@ async function runTargetsWithConcurrency(params) {
|
|
|
1243
1243
|
const agentId = resolveDefaultAgentId(cfg);
|
|
1244
1244
|
const agentDir = resolveOpenClawAgentDir();
|
|
1245
1245
|
const workspaceDir = resolveAgentWorkspaceDir(cfg, agentId) ?? resolveDefaultAgentWorkspaceDir();
|
|
1246
|
-
await
|
|
1246
|
+
await fsPromises.mkdir(workspaceDir, { recursive: true });
|
|
1247
1247
|
let completed = 0;
|
|
1248
1248
|
const results = Array.from({ length: targets.length });
|
|
1249
1249
|
let cursor = 0;
|
|
@@ -1,135 +1,135 @@
|
|
|
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 "./agent-turn-enqueue-
|
|
6
|
-
import "./agent-turn-execute-
|
|
7
|
-
import "./plugins-
|
|
5
|
+
import "./agent-turn-enqueue-ArRzUyAk.js";
|
|
6
|
+
import "./agent-turn-execute-CM4O0yRh.js";
|
|
7
|
+
import "./plugins-s69ApVox.js";
|
|
8
8
|
import "./retry-policy-By-oqFVH.js";
|
|
9
9
|
import "./version-BdUvZ8Ep.js";
|
|
10
|
-
import "./agent-scope-
|
|
11
|
-
import "./exec-
|
|
10
|
+
import "./agent-scope-m37qEcFM.js";
|
|
11
|
+
import "./exec-BadOxgw_.js";
|
|
12
12
|
import "./github-copilot-token-CmScvpk-.js";
|
|
13
|
-
import "./pid-alive-
|
|
13
|
+
import "./pid-alive-dd2LsB9B.js";
|
|
14
14
|
import "./static-app-y2aJYHKZ.js";
|
|
15
|
-
import "./send-
|
|
16
|
-
import "./send-
|
|
17
|
-
import "./storage-config-
|
|
18
|
-
import "./nudge-
|
|
15
|
+
import "./send-B2OFN92Q.js";
|
|
16
|
+
import "./send-DDirI-zY.js";
|
|
17
|
+
import "./storage-config-JrkJ-0mD.js";
|
|
18
|
+
import "./nudge-DAMdAd6o.js";
|
|
19
19
|
import "./diagnostic-events-D2ujPUHb.js";
|
|
20
|
-
import "./agent-turn-runner-
|
|
21
|
-
import "./recorder-
|
|
20
|
+
import "./agent-turn-runner-DoUxdVA8.js";
|
|
21
|
+
import "./recorder-DWp7wJN5.js";
|
|
22
22
|
import "./gateway-instance-id-BQasPXvd.js";
|
|
23
|
-
import "./pi-embedded-helpers-
|
|
24
|
-
import "./sandbox-
|
|
23
|
+
import "./pi-embedded-helpers-mGzreJbk.js";
|
|
24
|
+
import "./sandbox-Da_kzIjf.js";
|
|
25
25
|
import "./tool-catalog-U-EwFx72.js";
|
|
26
|
-
import "./extension-relay-auth-
|
|
27
|
-
import "./tailscale-
|
|
28
|
-
import "./tailnet-
|
|
29
|
-
import "./ws-
|
|
30
|
-
import "./auth-
|
|
31
|
-
import "./server-context-
|
|
26
|
+
import "./extension-relay-auth-DaJK0rd5.js";
|
|
27
|
+
import "./tailscale-D0OOOayz.js";
|
|
28
|
+
import "./tailnet-QfxqR4vE.js";
|
|
29
|
+
import "./ws-B_HpEvRE.js";
|
|
30
|
+
import "./auth-B4_HVLhd.js";
|
|
31
|
+
import "./server-context-BFf0C9iy.js";
|
|
32
32
|
import "./frontmatter-u7tN1aai.js";
|
|
33
|
-
import "./skills-
|
|
34
|
-
import "./path-alias-guards-
|
|
33
|
+
import "./skills-B_8rpYgx.js";
|
|
34
|
+
import "./path-alias-guards-BL542Mqz.js";
|
|
35
35
|
import "./redact-B36-B8no.js";
|
|
36
36
|
import "./errors-DRGEw4PB.js";
|
|
37
|
-
import "./fs-safe-
|
|
38
|
-
import "./proxy-env-
|
|
39
|
-
import "./image-ops-
|
|
40
|
-
import "./store-
|
|
41
|
-
import "./chrome-
|
|
42
|
-
import "./trash-
|
|
43
|
-
import "./ports-
|
|
44
|
-
import "./server-middleware-
|
|
45
|
-
import "./sessions-
|
|
46
|
-
import "./reset-
|
|
37
|
+
import "./fs-safe-CJ7BaYqw.js";
|
|
38
|
+
import "./proxy-env-BwHmf2xr.js";
|
|
39
|
+
import "./image-ops-fsbohlx7.js";
|
|
40
|
+
import "./store-BbFKZJKS.js";
|
|
41
|
+
import "./chrome-o2uZSWIt.js";
|
|
42
|
+
import "./trash-DFORyVVD.js";
|
|
43
|
+
import "./ports-D3N8WNv7.js";
|
|
44
|
+
import "./server-middleware-BfsPD7V5.js";
|
|
45
|
+
import "./sessions-CbISkp7n.js";
|
|
46
|
+
import "./reset-D-mCgUpD.js";
|
|
47
47
|
import "./stagger-D6nhygeZ.js";
|
|
48
|
-
import "./jobs-
|
|
48
|
+
import "./jobs-BXFDvC34.js";
|
|
49
49
|
import "./task-run-types-B6K2PtcI.js";
|
|
50
50
|
import "./thinking-C8O_Wyg8.js";
|
|
51
|
-
import "./reply-prefix-
|
|
52
|
-
import "./tokens-
|
|
53
|
-
import "./with-timeout-
|
|
54
|
-
import "./diagnostic-
|
|
51
|
+
import "./reply-prefix-CeZ9Uz8z.js";
|
|
52
|
+
import "./tokens-BLTw7hkA.js";
|
|
53
|
+
import "./with-timeout-Ckdjpoqb.js";
|
|
54
|
+
import "./diagnostic-DJz53yyc.js";
|
|
55
55
|
import "./diagnostic-session-state-DtZQSPqI.js";
|
|
56
|
-
import "./command-queue-
|
|
57
|
-
import "./model-
|
|
58
|
-
import "./pi-model-discovery-
|
|
59
|
-
import "./models-config-
|
|
60
|
-
import "./exec-approvals-allowlist-
|
|
61
|
-
import "./exec-safe-bin-runtime-policy-
|
|
62
|
-
import "./session-consumer-agents-
|
|
63
|
-
import "./identity-links-live-
|
|
64
|
-
import "./identity-links-
|
|
65
|
-
import "./client-
|
|
56
|
+
import "./command-queue-D8Y7Hgzy.js";
|
|
57
|
+
import "./model-DLnu2ZHK.js";
|
|
58
|
+
import "./pi-model-discovery-Cv0FIBjp.js";
|
|
59
|
+
import "./models-config-MT7bTyDD.js";
|
|
60
|
+
import "./exec-approvals-allowlist-CvMIZ3Av.js";
|
|
61
|
+
import "./exec-safe-bin-runtime-policy-18lfJBlE.js";
|
|
62
|
+
import "./session-consumer-agents-BRMrM2o-.js";
|
|
63
|
+
import "./identity-links-live-Bi60qFYK.js";
|
|
64
|
+
import "./identity-links-DP7R0NPE.js";
|
|
65
|
+
import "./client-B3-vuVAE.js";
|
|
66
66
|
import "./pairing-token-BA4694nz.js";
|
|
67
|
-
import "./model-catalog-
|
|
68
|
-
import "./pi-embedded-utils-
|
|
69
|
-
import "./tool-display-
|
|
70
|
-
import "./audio-transcription-runner-
|
|
71
|
-
import "./fetch
|
|
72
|
-
import "./fetch-guard-
|
|
73
|
-
import "./api-key-rotation-
|
|
74
|
-
import "./chunk-
|
|
75
|
-
import "./markdown-tables-
|
|
76
|
-
import "./ir-
|
|
67
|
+
import "./model-catalog-DShV9nqu.js";
|
|
68
|
+
import "./pi-embedded-utils-DC8eBUz9.js";
|
|
69
|
+
import "./tool-display-DgVBn6pw.js";
|
|
70
|
+
import "./audio-transcription-runner-BCsXP8-1.js";
|
|
71
|
+
import "./fetch-COhcdJbk.js";
|
|
72
|
+
import "./fetch-guard-ChaY1JfD.js";
|
|
73
|
+
import "./api-key-rotation-D42o6Zng.js";
|
|
74
|
+
import "./chunk-CWJj0yTC.js";
|
|
75
|
+
import "./markdown-tables-CIDos_m6.js";
|
|
76
|
+
import "./ir-G6mp02Um.js";
|
|
77
77
|
import "./render-Bdn0My43.js";
|
|
78
|
-
import "./commands-
|
|
79
|
-
import "./commands-registry-
|
|
80
|
-
import "./user-run-recording-
|
|
81
|
-
import "./manager-
|
|
82
|
-
import "./call-
|
|
83
|
-
import "./runs-
|
|
84
|
-
import "./outbound-message-hooks-
|
|
85
|
-
import "./deliver-
|
|
86
|
-
import "./session-utils-
|
|
78
|
+
import "./commands-CVdmhZKr.js";
|
|
79
|
+
import "./commands-registry-B4aR17xV.js";
|
|
80
|
+
import "./user-run-recording-CxBc2Jon.js";
|
|
81
|
+
import "./manager-kfVhbDC5.js";
|
|
82
|
+
import "./call-DiXPYDxn.js";
|
|
83
|
+
import "./runs-C1AHoTDq.js";
|
|
84
|
+
import "./outbound-message-hooks-D7aalpVP.js";
|
|
85
|
+
import "./deliver-vnUlcBpf.js";
|
|
86
|
+
import "./session-utils-Qu1Mxoz3.js";
|
|
87
87
|
import "./fetch-DrSJthuO.js";
|
|
88
|
-
import "./pairing-store-
|
|
89
|
-
import "./exec-approvals-
|
|
90
|
-
import "./nodes-screen-
|
|
91
|
-
import "./supervisor-
|
|
92
|
-
import "./system-run-command-
|
|
93
|
-
import "./skill-commands-
|
|
94
|
-
import "./workspace-dirs-
|
|
95
|
-
import "./redact-snapshot-
|
|
96
|
-
import "./tables-
|
|
88
|
+
import "./pairing-store-BIeHwICv.js";
|
|
89
|
+
import "./exec-approvals-iao6P-Sv.js";
|
|
90
|
+
import "./nodes-screen-4mQTqYUN.js";
|
|
91
|
+
import "./supervisor-SBLvQOVa.js";
|
|
92
|
+
import "./system-run-command-D5kMl0NY.js";
|
|
93
|
+
import "./skill-commands-ByQ7_wSo.js";
|
|
94
|
+
import "./workspace-dirs-CqcsAdcV.js";
|
|
95
|
+
import "./redact-snapshot-CIe93cqM.js";
|
|
96
|
+
import "./tables-CfbMQJYc.js";
|
|
97
97
|
import "./strip-inbound-meta-DiC5t8zU.js";
|
|
98
|
-
import "./server-lifecycle-
|
|
99
|
-
import "./dm-policy-shared-
|
|
100
|
-
import "./reply-directives-
|
|
101
|
-
import "./channel-selection-
|
|
102
|
-
import "./plugin-auto-enable-
|
|
103
|
-
import "./send-
|
|
104
|
-
import "./outbound-attachment-
|
|
98
|
+
import "./server-lifecycle-HSz4A7oj.js";
|
|
99
|
+
import "./dm-policy-shared-B2rRMZjX.js";
|
|
100
|
+
import "./reply-directives-CF6_EhVh.js";
|
|
101
|
+
import "./channel-selection-CggPBiFX.js";
|
|
102
|
+
import "./plugin-auto-enable-Clq5aaN8.js";
|
|
103
|
+
import "./send-DUG-oCDA.js";
|
|
104
|
+
import "./outbound-attachment-BeP7tvsZ.js";
|
|
105
105
|
import "./delivery-queue-CY5iYIeP.js";
|
|
106
|
-
import "./send-
|
|
107
|
-
import "./resolve-route-
|
|
108
|
-
import "./session-meta-
|
|
109
|
-
import "./replies-
|
|
110
|
-
import "./runtime-config-collectors-
|
|
111
|
-
import "./command-secret-targets-
|
|
112
|
-
import "./onboard-helpers-
|
|
113
|
-
import "./wsl-
|
|
114
|
-
import "./prompt-style-
|
|
115
|
-
import "./pairing-labels-
|
|
116
|
-
import "./memory-cli-
|
|
117
|
-
import "./manager-
|
|
118
|
-
import "./query-expansion-
|
|
119
|
-
import "./session-storage-owner-
|
|
120
|
-
import { t as formatDocsLink } from "./links-
|
|
106
|
+
import "./send-BrIw5gc4.js";
|
|
107
|
+
import "./resolve-route-yDs92eUQ.js";
|
|
108
|
+
import "./session-meta-B_9mMU72.js";
|
|
109
|
+
import "./replies-CrZI5K0e.js";
|
|
110
|
+
import "./runtime-config-collectors-BLVuIB75.js";
|
|
111
|
+
import "./command-secret-targets-DfQv7jnw.js";
|
|
112
|
+
import "./onboard-helpers-CyIeOf0n.js";
|
|
113
|
+
import "./wsl-Be9W0qZW.js";
|
|
114
|
+
import "./prompt-style-C6yO0kan.js";
|
|
115
|
+
import "./pairing-labels-BgUdVYgJ.js";
|
|
116
|
+
import "./memory-cli-CTBlq72D.js";
|
|
117
|
+
import "./manager-NberoPlo.js";
|
|
118
|
+
import "./query-expansion-Ba0qHd1X.js";
|
|
119
|
+
import "./session-storage-owner-CE7dPxVq.js";
|
|
120
|
+
import { t as formatDocsLink } from "./links-CdYxxGpz.js";
|
|
121
121
|
import { n as runCommandWithRuntime, t as resolveOptionFromCommand } from "./cli-utils-CKDCmKAq.js";
|
|
122
|
-
import "./help-format-
|
|
123
|
-
import "./progress-
|
|
124
|
-
import "./note-
|
|
125
|
-
import "./clack-prompter-
|
|
126
|
-
import "./issue-format-
|
|
127
|
-
import "./table-
|
|
128
|
-
import "./shared-
|
|
129
|
-
import "./auth-token-
|
|
130
|
-
import "./logging-
|
|
131
|
-
import { s as githubCopilotLoginCommand } from "./provider-auth-helpers-
|
|
132
|
-
import { C as modelsAliasesListCommand, S as modelsAliasesAddCommand, _ as modelsAuthOrderSetCommand, a as modelsStatusCommand, b as modelsAuthPasteTokenCommand, c as modelsImageFallbacksClearCommand, d as modelsFallbacksAddCommand, f as modelsFallbacksClearCommand, g as modelsAuthOrderGetCommand, h as modelsAuthOrderClearCommand, i as modelsScanCommand, l as modelsImageFallbacksListCommand, m as modelsFallbacksRemoveCommand, n as modelsSetImageCommand, o as modelsListCommand, p as modelsFallbacksListCommand, r as modelsSetCommand, s as modelsImageFallbacksAddCommand, u as modelsImageFallbacksRemoveCommand, v as modelsAuthAddCommand, w as modelsAliasesRemoveCommand, x as modelsAuthSetupTokenCommand, y as modelsAuthLoginCommand } from "./models-
|
|
122
|
+
import "./help-format-vSbRPQ2Y.js";
|
|
123
|
+
import "./progress-CSthTuLH.js";
|
|
124
|
+
import "./note-IQhv9g1L.js";
|
|
125
|
+
import "./clack-prompter-BKD0RJgm.js";
|
|
126
|
+
import "./issue-format-CEhsl7Wj.js";
|
|
127
|
+
import "./table-BVq_qQUE.js";
|
|
128
|
+
import "./shared-DWSJKo_J.js";
|
|
129
|
+
import "./auth-token-CrC72-Fb.js";
|
|
130
|
+
import "./logging-BcooikJ6.js";
|
|
131
|
+
import { s as githubCopilotLoginCommand } from "./provider-auth-helpers-DL--wYUD.js";
|
|
132
|
+
import { C as modelsAliasesListCommand, S as modelsAliasesAddCommand, _ as modelsAuthOrderSetCommand, a as modelsStatusCommand, b as modelsAuthPasteTokenCommand, c as modelsImageFallbacksClearCommand, d as modelsFallbacksAddCommand, f as modelsFallbacksClearCommand, g as modelsAuthOrderGetCommand, h as modelsAuthOrderClearCommand, i as modelsScanCommand, l as modelsImageFallbacksListCommand, m as modelsFallbacksRemoveCommand, n as modelsSetImageCommand, o as modelsListCommand, p as modelsFallbacksListCommand, r as modelsSetCommand, s as modelsImageFallbacksAddCommand, u as modelsImageFallbacksRemoveCommand, v as modelsAuthAddCommand, w as modelsAliasesRemoveCommand, x as modelsAuthSetupTokenCommand, y as modelsAuthLoginCommand } from "./models-Cz5Kterd.js";
|
|
133
133
|
|
|
134
134
|
//#region src/cli/models-cli.ts
|
|
135
135
|
function runModelsCommand(action) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { $ as applyConfigEnvVars, _t as isRecord } from "./globals-
|
|
2
|
-
import { gi as resolveImplicitProviders, hi as resolveImplicitCopilotProvider, mi as resolveImplicitBedrockProvider, pi as normalizeProviders, rr as loadConfig, vc as resolveOpenClawAgentDir } from "./plugins-
|
|
1
|
+
import { $ as applyConfigEnvVars, _t as isRecord } from "./globals-3lUHnZas.js";
|
|
2
|
+
import { gi as resolveImplicitProviders, hi as resolveImplicitCopilotProvider, mi as resolveImplicitBedrockProvider, pi as normalizeProviders, rr as loadConfig, vc as resolveOpenClawAgentDir } from "./plugins-s69ApVox.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import fsPromises from "node:fs/promises";
|
|
5
5
|
|
|
6
6
|
//#region src/agents/models-config.ts
|
|
7
7
|
const DEFAULT_MODE = "merge";
|
|
@@ -60,7 +60,7 @@ function mergeProviders(params) {
|
|
|
60
60
|
}
|
|
61
61
|
async function readJson(pathname) {
|
|
62
62
|
try {
|
|
63
|
-
const raw = await
|
|
63
|
+
const raw = await fsPromises.readFile(pathname, "utf8");
|
|
64
64
|
return JSON.parse(raw);
|
|
65
65
|
} catch {
|
|
66
66
|
return null;
|
|
@@ -120,7 +120,7 @@ async function resolveProvidersForMode(params) {
|
|
|
120
120
|
}
|
|
121
121
|
async function readRawFile(pathname) {
|
|
122
122
|
try {
|
|
123
|
-
return await
|
|
123
|
+
return await fsPromises.readFile(pathname, "utf8");
|
|
124
124
|
} catch {
|
|
125
125
|
return "";
|
|
126
126
|
}
|
|
@@ -152,11 +152,11 @@ async function ensureOpenClawModelsJson(config, agentDirOverride) {
|
|
|
152
152
|
agentDir,
|
|
153
153
|
wrote: false
|
|
154
154
|
};
|
|
155
|
-
await
|
|
155
|
+
await fsPromises.mkdir(agentDir, {
|
|
156
156
|
recursive: true,
|
|
157
157
|
mode: 448
|
|
158
158
|
});
|
|
159
|
-
await
|
|
159
|
+
await fsPromises.writeFile(targetPath, next, { mode: 384 });
|
|
160
160
|
return {
|
|
161
161
|
agentDir,
|
|
162
162
|
wrote: true
|