@bitseek/claw 1.2.1 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{accounts-2NNZ6Hbp.js → accounts-B3zSNWIv.js} +1 -1
- package/dist/{accounts-Cv5CUnT4.js → accounts-BQHz8_1_.js} +7 -7
- package/dist/{accounts-NHpMJ0aq.js → accounts-DTfEeXyO.js} +1 -1
- package/dist/{acp-cli-8xcvVB-L.js → acp-cli-BZnPaFm3.js} +4 -4
- package/dist/{acp-cli-B0u6no4K.js → acp-cli-C24-lylb.js} +11 -11
- package/dist/{agent-scope-CY2-lUIY.js → agent-scope-CJelRKYY.js} +1 -1
- package/dist/{agents-Cweyfj22.js → agents-BMaMDR6h.js} +18 -18
- package/dist/{agents.config-BVV8yXyh.js → agents.config-BSY7Z6IC.js} +1 -1
- package/dist/{agents.config-DA3Y8w1t.js → agents.config-Bjwf3eo1.js} +2 -2
- package/dist/{api-key-rotation-Cf7QM5M_.js → api-key-rotation-xfk-b2Sv.js} +1 -1
- package/dist/{audio-preflight-Cpsushqf.js → audio-preflight-BkoTbTIH.js} +5 -5
- package/dist/{audio-preflight-DdrORTn9.js → audio-preflight-CHD1xVrt.js} +4 -4
- package/dist/{audio-preflight-BWOdDA2n.js → audio-preflight-Dd9DDvqB.js} +4 -4
- package/dist/{audio-preflight-SRgix4XS.js → audio-preflight-Dl40LQzr.js} +36 -36
- package/dist/{audio-transcription-runner-DaoqvWoi.js → audio-transcription-runner-Bx53bUS2.js} +1 -1
- package/dist/{audio-transcription-runner-TitMttNg.js → audio-transcription-runner-CF_UP4C7.js} +1 -1
- package/dist/{audio-transcription-runner-CGsd7139.js → audio-transcription-runner-DwWOJBSn.js} +1 -1
- package/dist/{audio-transcription-runner-DkibzFT2.js → audio-transcription-runner-jiDE7Pt8.js} +22 -22
- package/dist/{audit-R36cTwJM.js → audit-1YVlVmk7.js} +9 -9
- package/dist/{audit-TSVXvoTa.js → audit-Bgu8Ommg.js} +33 -33
- package/dist/{auth-anvTU0Sb.js → auth-B3HDYw4G.js} +1 -1
- package/dist/{auth-choice-Bhzlukg0.js → auth-choice-BYuegxlw.js} +14 -14
- package/dist/{auth-choice-C8olhaf_.js → auth-choice-BamWYpsc.js} +9 -8
- package/dist/{auth-choice-BeV7uG7Q.js → auth-choice-BpOvsd_n.js} +7 -7
- package/dist/{auth-choice-CR6bBvDU.js → auth-choice-DYXCDlGW.js} +16 -15
- package/dist/{auth-choice.apply-helpers-Du585kvU.js → auth-choice.apply-helpers-DR-eUj_5.js} +1 -1
- package/dist/{auth-profiles-CyG9VwU_.js → auth-profiles-D_x1_5v_.js} +16 -16
- package/dist/{auth-token-BIEjzQiE.js → auth-token-BDQ5b9Wx.js} +2 -2
- package/dist/{auth-token-EHTMZL2e.js → auth-token-BjVRLcvi.js} +1 -1
- package/dist/{banner-D-ha13Xs.js → banner-EymX6IpH.js} +2 -2
- package/dist/{bindings-DGvp9FdD.js → bindings-Hx6KNJeg.js} +1 -1
- package/dist/{bonjour-discovery-1e3NxSsT.js → bonjour-discovery-CtUQb94i.js} +1 -1
- package/dist/{bonjour-discovery-B68dCYTY.js → bonjour-discovery-DiHs5j0y.js} +2 -2
- package/dist/{browser-cli-DREC4EVl.js → browser-cli-BMupJSz_.js} +14 -14
- package/dist/{browser-cli-Ck0ISgnj.js → browser-cli-CaBLM5A6.js} +3 -3
- package/dist/build-info.json +2 -2
- package/dist/bundled/boot-md/handler.js +6 -6
- package/dist/bundled/session-memory/handler.js +6 -6
- package/dist/{call-CmAGfSJE.js → call-CzoM7hPS.js} +10 -10
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-DNFdIaSr.js → channel-account-context-BV3Q0XnD.js} +6 -6
- package/dist/{channel-account-context-etfgJrr_.js → channel-account-context-C6rIxLzo.js} +1 -1
- package/dist/{channel-options-6JzQN9nt.js → channel-options-BbugzQSv.js} +3 -3
- package/dist/{channel-options-CcVV-66e.js → channel-options-bD8Nb_XT.js} +1 -1
- package/dist/{channel-selection-DGtYwfd7.js → channel-selection-D8KYuWir.js} +1 -1
- package/dist/{channel-web-C9be00RJ.js → channel-web-BzKDism5.js} +5 -5
- package/dist/{channel-web-oQImOucb.js → channel-web-C8R11QOm.js} +18 -18
- package/dist/{channels-cli-B31EyJet.js → channels-cli-B6ICcQiX.js} +35 -33
- package/dist/{channels-cli-CzLX8jUv.js → channels-cli-DLh8uOwf.js} +104 -102
- package/dist/{channels-status-issues-BMNB2aMG.js → channels-status-issues-CCNiQcg9.js} +1 -1
- package/dist/{chrome-CjTE-vWv.js → chrome-C6zMSR36.js} +8 -8
- package/dist/{chrome-xatreDUO.js → chrome-CuMCXCQN.js} +8 -8
- package/dist/{chrome-DeZyLFsG.js → chrome-DuDCGdf-.js} +4 -4
- package/dist/{clack-prompter-DNiUmv2O.js → clack-prompter-B2lC_BWr.js} +2 -2
- package/dist/{clack-prompter-VaNRUEnc.js → clack-prompter-CgCD3NZ8.js} +2 -2
- package/dist/{clawbot-cli-H1Uj0ifV.js → clawbot-cli-COQB6-NK.js} +5 -5
- package/dist/{clawbot-cli-KKfrHQ8a.js → clawbot-cli-Comysjn9.js} +1 -1
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-Ddp1rtss.js → cli-BT1aLbEG.js} +12 -10
- package/dist/{cli-C2xvYknT.js → cli-dy2BdjPZ.js} +78 -76
- package/dist/{client-vUKV2o6h.js → client-BvL3EdiZ.js} +2 -2
- package/dist/{command-registry-QcrBU_9X.js → command-registry-oV1633Vs.js} +13 -13
- package/dist/{commands-d8L0zY8O.js → commands-C67IbXs7.js} +1 -1
- package/dist/{commands-registry-C78O6aNi.js → commands-registry-D0_D5hFV.js} +3 -3
- package/dist/{completion-cli-VWIJWtLM.js → completion-cli-5z7Fk2X-.js} +1 -1
- package/dist/{completion-cli-BkWPjJyP.js → completion-cli-C9i-Dicb.js} +14 -14
- package/dist/{config-cli-BUO5SwNS.js → config-cli-CENkfh8B.js} +3 -3
- package/dist/{config-cli-B4WnAVfw.js → config-cli-CpsK8BqN.js} +7 -7
- package/dist/{config-guard-CoGVEAhf.js → config-guard-9BjlFVZx.js} +3 -3
- package/dist/{config-guard-RZw5NkPK.js → config-guard-CcE0LvHm.js} +3 -3
- package/dist/{config-validation-Cx4865gR.js → config-validation-BcxAhhcj.js} +2 -2
- package/dist/{config-validation-tb90Bzho.js → config-validation-DO7QURfM.js} +4 -4
- package/dist/{configure-DuwIk56q.js → configure-DcXrqefi.js} +21 -21
- package/dist/{configure-DaHch8UJ.js → configure-boTkhg01.js} +15 -15
- package/dist/{context-window-guard-Bs0PeDpo.js → context-window-guard-BNuaId5E.js} +6 -1
- package/dist/{context-window-guard-DVgGi3Ub.js → context-window-guard-ejUBbmnW.js} +6 -1
- package/dist/{control-ui-assets-Czpjuiah.js → control-ui-assets-Dx8wiZQ_.js} +1 -1
- package/dist/{cron-cli-Rrii2waZ.js → cron-cli-C8kDGh6_.js} +2 -2
- package/dist/{cron-cli-D5MnhB5f.js → cron-cli-xl75rAFd.js} +13 -13
- package/dist/{daemon-cli-oCVkh3bg.js → daemon-cli-BSy0rtO2.js} +18 -18
- package/dist/{daemon-cli-D_QKAnN1.js → daemon-cli-RKWFtF-K.js} +10 -10
- package/dist/{daemon-install-kxqE_IHC.js → daemon-install-DsJ0L8HP.js} +7 -7
- package/dist/{daemon-install-vQ6KespE.js → daemon-install-d2OYSlQz.js} +7 -7
- package/dist/{daemon-install-helpers-B_sQ4Mox.js → daemon-install-helpers-CMWYg4_W.js} +1 -1
- package/dist/{daemon-install-helpers-D5tste0V.js → daemon-install-helpers-D28keNLu.js} +12 -12
- package/dist/{dashboard-DkdG50pm.js → dashboard-BhAYjl6n.js} +1 -1
- package/dist/{dashboard-BstU6qkZ.js → dashboard-DXvihe_P.js} +3 -3
- package/dist/{deliver-BjVMpWfF.js → deliver-Bn10XzRP.js} +1 -1
- package/dist/{deliver-xY3h9X6N.js → deliver-DXa06hfk.js} +1 -1
- package/dist/{deliver-H0xCFj4j.js → deliver-Df8pSQk6.js} +7 -7
- package/dist/{deliver-Z7543EnP.js → deliver-Dyh8ZsLI.js} +1 -1
- package/dist/{devices-cli-D6b6S-Iy.js → devices-cli-D6CoUTi_.js} +9 -9
- package/dist/{devices-cli-CbKxt0YP.js → devices-cli-DoJBheGs.js} +1 -1
- package/dist/{diagnostic-DjxUqpmL.js → diagnostic-Bvatw1Xn.js} +1 -1
- package/dist/{diagnostics-BCFJKFDe.js → diagnostics-ABz8E7c-.js} +1 -1
- package/dist/{diagnostics-vLzdmcgg.js → diagnostics-BHQgZbuI.js} +5 -5
- package/dist/{directory-cli-BojMDuwh.js → directory-cli-Brla3Idn.js} +2 -2
- package/dist/{directory-cli-D3o7BGMd.js → directory-cli-Dkil59xj.js} +10 -10
- package/dist/{dns-cli-B5kqVfFd.js → dns-cli-CJydclW8.js} +7 -7
- package/dist/{dns-cli-DzLjIvET.js → dns-cli-rEvE1LG9.js} +2 -2
- package/dist/{dock-CoclJnwp.js → dock-DT8sACcR.js} +4 -4
- package/dist/{docs-cli-CyjlhZAj.js → docs-cli-BkufgU5Y.js} +4 -4
- package/dist/{doctor-completion-DGNL86eP.js → doctor-completion-BwIgzkLP.js} +2 -2
- package/dist/{doctor-completion-SBDS3edN.js → doctor-completion-BySkhMZY.js} +3 -3
- package/dist/{doctor-config-flow-CuNWLHUk.js → doctor-config-flow-18ijj3KB.js} +5 -5
- package/dist/{doctor-config-flow-DclZbGUP.js → doctor-config-flow-BrXA2e34.js} +18 -18
- package/dist/{enable-CKAw_GCd.js → enable-CinNZxRH.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{exec-approvals-allowlist-CFjPSbxI.js → exec-approvals-allowlist-B4DS6FIn.js} +1 -1
- package/dist/{exec-approvals-cli-U46MdeMi.js → exec-approvals-cli-Cani2Hjk.js} +17 -17
- package/dist/{exec-approvals-cli-DKCFi9UQ.js → exec-approvals-cli-DfcUJ9Sm.js} +6 -6
- package/dist/{exec-safe-bin-runtime-policy-CpMj95vJ.js → exec-safe-bin-runtime-policy-BP6ImlkB.js} +2 -2
- package/dist/extensionAPI.js +6 -6
- package/dist/{fetch-DOjg912W.js → fetch-DC-NMnAU.js} +3 -3
- package/dist/{fetch-guard-Csbz9pui.js → fetch-guard-B62rgaSw.js} +1 -1
- package/dist/{fs-safe-BqJ9egpm.js → fs-safe-CJDtl_QU.js} +24 -24
- package/dist/{gateway-cli-ADJ8WFzB.js → gateway-cli-BVn-fVbw.js} +60 -59
- package/dist/{gateway-cli-D5wMqxbT.js → gateway-cli-Dn-Yq6Tf.js} +175 -174
- package/dist/{gateway-rpc-DFqEAyI_.js → gateway-rpc-C7KYwonl.js} +1 -1
- package/dist/{health-CGGup1fo.js → health-DmJq2Wph.js} +4 -4
- package/dist/{health-Dzwp2cfK.js → health-Du4IbXAP.js} +16 -16
- package/dist/{hooks-cli-CiwYBoY7.js → hooks-cli-BhSZV-cM.js} +17 -15
- package/dist/{hooks-cli-DKAhHxZp.js → hooks-cli-BrT4aprv.js} +87 -85
- package/dist/{hooks-status-6tcOdcYp.js → hooks-status-DE20AAEu.js} +1 -1
- package/dist/{hooks-status-Ds3tGfpn.js → hooks-status-ONaKEpUH.js} +1 -1
- package/dist/{image-CpFh9AzK.js → image-B270IRGo.js} +1 -1
- package/dist/{image-DCyaYY2d.js → image-Dd4lgi4H.js} +1 -1
- package/dist/{image-DQV2jl6F.js → image-DihIv8Eo.js} +1 -1
- package/dist/{image-BjuH1GKB.js → image-UpBiPNsk.js} +5 -5
- package/dist/{image-ops-B2L37gT8.js → image-ops-BGTBZMuE.js} +10 -10
- package/dist/index.js +25 -23
- package/dist/{inspect-DJUXn0vX.js → inspect-Bmurt9te.js} +4 -4
- package/dist/{inspect-C-qwWnae.js → inspect-C0e0Dmvg.js} +1 -1
- package/dist/{install-safe-path-DVQh7rEs.js → install-safe-path-BB9b_AvF.js} +25 -25
- package/dist/{install-safe-path-DlUmof-g.js → install-safe-path-CSqVUjL8.js} +1 -1
- package/dist/{installs-BQv6UJZe.js → installs-BXOZ3DXs.js} +3 -3
- package/dist/{installs-jXfyPi74.js → installs-BXcYytvn.js} +9 -9
- package/dist/{ipv4-DQS0lTwQ.js → ipv4-BB1Ro6so.js} +1 -1
- package/dist/{ir-CEwBpxhC.js → ir-DziC-P4Z.js} +6 -6
- package/dist/{issue-format-NBMJ5xAP.js → issue-format-DF2YB-kZ.js} +1 -1
- package/dist/{json-files-rR19q30D.js → json-files-CuJjdF_0.js} +8 -8
- package/dist/{lifecycle-core-nY3ix4oA.js → lifecycle-core-Bqse41aA.js} +4 -4
- package/dist/{lifecycle-core-oTVOKNSW.js → lifecycle-core-CJd181-h.js} +6 -6
- package/dist/llm-slug-generator.js +6 -6
- package/dist/{login-B9hYTB2m.js → login-B2B75WGK.js} +1 -1
- package/dist/{login-I5RlwiJn.js → login-C_YjM9eH.js} +3 -3
- package/dist/{login-qr-CRjZn3ix.js → login-qr-DujJqOuy.js} +6 -6
- package/dist/{login-qr-Dnuf_chX.js → login-qr-YjUycQZT.js} +1 -1
- package/dist/{logs-cli-D2-73CiV.js → logs-cli-Bc1A5X-r.js} +10 -10
- package/dist/{logs-cli-C8hho9_C.js → logs-cli-Dyid6hUQ.js} +2 -2
- package/dist/{manager-DWpiNvlg.js → manager-7hZXEYTj.js} +14 -14
- package/dist/{manifest-registry-CBF8Vfz8.js → manifest-registry-Kbw8YPsZ.js} +1 -1
- package/dist/{markdown-tables-DQlQMRGZ.js → markdown-tables-BYHgyUjA.js} +1 -1
- package/dist/{memory-cli-BUrf60e_.js → memory-cli-CuT-iG2F.js} +12 -12
- package/dist/{model-DMZUvZJo.js → model-DmBmzJI6.js} +2 -2
- package/dist/{model-catalog-DFi9HgWu.js → model-catalog-D1X8r3WJ.js} +3 -3
- package/dist/{model-picker-DFyoaAce.js → model-picker-C56N_rW7.js} +4 -4
- package/dist/{model-picker-D14fFqIp.js → model-picker-CMgjcqV_.js} +1 -1
- package/dist/{models-B-VHfTz-.js → models-BEMBo-jJ.js} +22 -22
- package/dist/{models-cli-DQBbzn_p.js → models-cli-Bj5d7qpe.js} +86 -85
- package/dist/{models-cli-DcCWtSFq.js → models-cli-CJCNoVhQ.js} +21 -20
- package/dist/{models-config-AePb9RAo.js → models-config-CmrBGsQs.js} +6 -6
- package/dist/{net-C75G4fup.js → net-BXeYv7Iu.js} +2 -2
- package/dist/{node-cli-UnJ5obvj.js → node-cli-DSoqxwqZ.js} +38 -38
- package/dist/{node-cli-C7Nc02JP.js → node-cli-DYOdgLUu.js} +14 -14
- package/dist/{node-command-policy-B5h8i-3t.js → node-command-policy-BKUs_pS2.js} +1 -1
- package/dist/{node-command-policy-DMwxqhrG.js → node-command-policy-pJ6IPNBA.js} +2 -2
- package/dist/{node-service-DoxDrTkh.js → node-service-6W3vqgVv.js} +1 -1
- package/dist/{node-service-83OYUi14.js → node-service-DUUObpwl.js} +1 -1
- package/dist/{nodes-cli-U66EhW5E.js → nodes-cli-BKGcOJ8A.js} +17 -17
- package/dist/{nodes-cli-co1sV2V7.js → nodes-cli-CQzck2kc.js} +2 -2
- package/dist/{nodes-screen-BHwVUMr8.js → nodes-screen-DcxCMjOs.js} +7 -7
- package/dist/{npm-pack-install-Sf1q9unI.js → npm-pack-install-Byr0kgft.js} +1 -1
- package/dist/{npm-pack-install-1gsZywqI.js → npm-pack-install-D5pJ8KzT.js} +18 -18
- package/dist/{npm-resolution-BPNFEkaz.js → npm-resolution-BHQDGwrV.js} +2 -2
- package/dist/{npm-resolution-ZwcMp-e1.js → npm-resolution-DyqMvaHn.js} +5 -5
- package/dist/{oauth-tls-preflight-CyE-1Bft.js → oauth-tls-preflight-B31t_Wn7.js} +1 -1
- package/dist/{oauth-tls-preflight-CrvTuJli.js → oauth-tls-preflight-i1WBNTG8.js} +1 -1
- package/dist/{onboard-Ce_QcPvd.js → onboard-CUFDJWvM.js} +10 -10
- package/dist/{onboard-1RaJpuJ4.js → onboard-DpLm6YX6.js} +8 -8
- package/dist/{onboard-channels-CwxSCkFb.js → onboard-channels-CrxnmwMd.js} +8 -8
- package/dist/{onboard-channels-BLL6tVVk.js → onboard-channels-i1FFoaW7.js} +23 -23
- package/dist/{onboard-custom-DQXoFDlb.js → onboard-custom-Bow6lZPm.js} +1 -1
- package/dist/{onboard-custom-CltkNK3c.js → onboard-custom-CZR1K96w.js} +3 -3
- package/dist/{onboard-custom.shared-CXzE62ZH.js → onboard-custom.shared-B9NXcXpv.js} +3 -3
- package/dist/{onboard-custom.shared-CEUWEsKs.js → onboard-custom.shared-CBRRhb95.js} +2 -2
- package/dist/{onboard-helpers-D8lLbK3A.js → onboard-helpers-CczYNQDJ.js} +11 -11
- package/dist/{onboard-hooks-B7kk2JOb.js → onboard-hooks-CtxRk6l_.js} +1 -1
- package/dist/{onboard-hooks-DBif0Jq8.js → onboard-hooks-o0B0p8tR.js} +4 -4
- package/dist/{onboard-remote-BI5LFb3_.js → onboard-remote-DmHpLoWf.js} +2 -2
- package/dist/{onboard-remote-DpEjARZa.js → onboard-remote-DtLQyBJB.js} +4 -4
- package/dist/{onboard-skills-CL0tHf_N.js → onboard-skills-Brzj5oDF.js} +4 -4
- package/dist/{onboard-skills-PtotBKBA.js → onboard-skills-DwpZY5tZ.js} +2 -2
- package/dist/{onboarding-WDRpEgra.js → onboarding-ORzDCBo6.js} +14 -14
- package/dist/{onboarding-Rub9MXWB.js → onboarding-Wve1--YA.js} +10 -10
- package/dist/{onboarding.finalize-MTyP_Dr4.js → onboarding.finalize-BoXDIiNp.js} +25 -23
- package/dist/{onboarding.finalize-CWYrjSVx.js → onboarding.finalize-DH8INVdN.js} +95 -93
- package/dist/{onboarding.gateway-config-Ce8ndMkF.js → onboarding.gateway-config-D-gZxjbU.js} +18 -18
- package/dist/{onboarding.gateway-config-NKUze1jH.js → onboarding.gateway-config-wXH6gE7c.js} +1 -1
- package/dist/{openai-model-default-XM-ZB1MD.js → openai-model-default-BNYNbslY.js} +2 -2
- package/dist/{openai-model-default-Fnz4mF67.js → openai-model-default-Q7Hmy0eQ.js} +1 -1
- package/dist/{outbound-CHyBoNxD.js → outbound-_RTZSBES.js} +4 -4
- package/dist/{outbound-attachment-DM-h2uQ1.js → outbound-attachment-CXINK8df.js} +2 -2
- package/dist/{pairing-cli-D_5K6SZn.js → pairing-cli-DAMLvDcA.js} +1 -1
- package/dist/{pairing-cli-DUMMuvWC.js → pairing-cli-DiKgOlKC.js} +10 -10
- package/dist/{pairing-labels-x4akYNb7.js → pairing-labels-CFSUHOmk.js} +1 -1
- package/dist/{pairing-store-rFuiIoGM.js → pairing-store-BfzlN-z9.js} +3 -3
- package/dist/{path-alias-guards-laKq24fx.js → path-alias-guards-Cg9ZP1NN.js} +3 -3
- package/dist/{path-env-BsdQR2gO.js → path-env-DDJ70PDB.js} +1 -1
- package/dist/{path-env-C0LQFNBL.js → path-env-DzEqwLCq.js} +1 -1
- package/dist/{path-safety-BxYB92SS.js → path-safety-__ACzYqx.js} +1 -1
- package/dist/{paths-B_L2Zoe-.js → paths-BjoSX1aC.js} +9 -9
- package/dist/{pi-embedded-CZAvX74y.js → pi-embedded-DDt-4VY9.js} +36 -25
- package/dist/{pi-embedded-DE3hb87F.js → pi-embedded-DnavjoU4.js} +36 -25
- package/dist/{pi-embedded-helpers-CMTVhLjq.js → pi-embedded-helpers-BErNo2oq.js} +3 -3
- package/dist/{pi-embedded-helpers-DK1ft2pf.js → pi-embedded-helpers-Bmj18lhA.js} +3 -3
- package/dist/{pi-embedded-helpers-BB2whkUz.js → pi-embedded-helpers-CrD8I6qf.js} +6 -6
- package/dist/{pi-embedded-helpers-BDEokG0n.js → pi-embedded-helpers-ZTn-T7tW.js} +1 -1
- package/dist/{pi-model-discovery-RrejIg26.js → pi-model-discovery-BZ2RCD_u.js} +1 -1
- package/dist/{pi-tools.policy-BNhf9xbt.js → pi-tools.policy-eyXj0EY5.js} +1 -1
- package/dist/{pi-tools.policy-DRW8ya1z.js → pi-tools.policy-upaoJyu4.js} +5 -5
- package/dist/{plugin-auto-enable-S_lBQAKI.js → plugin-auto-enable-DER6qA6X.js} +3 -3
- package/dist/{plugin-registry-Blcs7wRm.js → plugin-registry-CFL5j9cN.js} +1 -1
- package/dist/{plugin-registry-C2g1aLrK.js → plugin-registry-eOikaO9b.js} +3 -3
- package/dist/plugin-sdk/agents/context-window-guard.d.ts +1 -0
- package/dist/plugin-sdk/bitseek/constants.d.ts +7 -0
- package/dist/plugin-sdk/{channel-web-DDMM_SWM.js → channel-web-MpDUG9SU.js} +1 -1
- package/dist/plugin-sdk/index.js +2 -2
- package/dist/plugin-sdk/{reply-CRqbOxsM.js → reply-wHFXod4j.js} +16 -5
- package/dist/plugin-sdk/{web-BnNZPdgh.js → web-DbkpdVSZ.js} +2 -2
- package/dist/{plugins-cli-Cdug93Mi.js → plugins-cli-Bg6sFJYH.js} +89 -87
- package/dist/{plugins-cli-C5PEYmz3.js → plugins-cli-DrlRj_8V.js} +20 -18
- package/dist/{plugins-C4cYqW07.js → plugins-vsjS_m58.js} +2 -2
- package/dist/{ports-DRaxdQmm.js → ports-sCOQUaAP.js} +2 -2
- package/dist/{ports-tfS1haOJ.js → ports-zWusnrvP.js} +1 -1
- package/dist/{program-L4hhvW67.js → program-BQ8WwHMi.js} +87 -85
- package/dist/{program-context-BEPxCThZ.js → program-context-BWsBkMJn.js} +42 -42
- package/dist/{prompt-select-styled-DTqU-r5T.js → prompt-select-styled-CLCyaJAG.js} +21 -21
- package/dist/{prompt-select-styled-CYmsrkR3.js → prompt-select-styled-DbUQHcBh.js} +42 -42
- package/dist/{provider-auth-helpers-CNkIHUuF.js → provider-auth-helpers-CKpEFImN.js} +5 -5
- package/dist/{provider-auth-helpers-BN8EX2pg.js → provider-auth-helpers-CdTLpxG1.js} +3 -3
- package/dist/{proxy-env-BoopXu2J.js → proxy-env-BQIJPH4j.js} +1 -1
- package/dist/{push-apns-DeCoFR7G.js → push-apns-B_GGZO2Z.js} +1 -1
- package/dist/{push-apns-DRX0c6-y.js → push-apns-CVnc3jrx.js} +5 -5
- package/dist/{pw-ai-DyGZ1pXu.js → pw-ai-BeJ_96rV.js} +15 -15
- package/dist/{pw-ai-DGwA7iCM.js → pw-ai-pkfCxzhV.js} +1 -1
- package/dist/{pw-ai-CMUrm_kS.js → pw-ai-pqeoAqm_.js} +1 -1
- package/dist/{qmd-manager-Bo22w5wm.js → qmd-manager-BNohLpRA.js} +20 -20
- package/dist/{qr-cli-EHSe4TmR.js → qr-cli-CCHyao8J.js} +1 -1
- package/dist/{query-expansion-Ba9OpCm9.js → query-expansion-BrM3X6-L.js} +12 -12
- package/dist/{redact-snapshot-kY3aFpcF.js → redact-snapshot-C1Yp9Q7B.js} +1 -1
- package/dist/{register.agent-BZbeu5cM.js → register.agent-BwCayvbD.js} +38 -37
- package/dist/{register.agent-CaCz2lnX.js → register.agent-BxMqGoLQ.js} +104 -103
- package/dist/{register.configure-Cd-JxEFR.js → register.configure-Bv4KP_MD.js} +48 -47
- package/dist/register.configure-PCuADy_e.js +175 -0
- package/dist/{register.init-D4hlhvsq.js → register.init-BiLKNwSu.js} +19 -19
- package/dist/{register.init-DgBx-Lsd.js → register.init-DWQDniBg.js} +4 -4
- package/dist/{register.maintenance-MJR5bDWC.js → register.maintenance-CW5_urTq.js} +106 -104
- package/dist/{register.maintenance-DsxNo00b.js → register.maintenance-jHaU-XSR.js} +35 -33
- package/dist/{register.message-ChJGE4xV.js → register.message-ByUxZi3s.js} +82 -80
- package/dist/{register.message-BRGLa9T8.js → register.message-DPlqIVvv.js} +16 -14
- package/dist/{register.onboard-CRCrMN8O.js → register.onboard-B-8WoYZr.js} +21 -21
- package/dist/{register.onboard-4aB9FmjK.js → register.onboard-BC4wpDdz.js} +5 -5
- package/dist/{register.setup-CCPeU8WO.js → register.setup-BQQX0yB6.js} +6 -6
- package/dist/{register.setup-DqRNRiXi.js → register.setup-CZ9a3M_O.js} +25 -25
- package/dist/{register.start-C9MbVhno.js → register.start-BHASi8Um.js} +2 -2
- package/dist/{register.start-D3IRihbV.js → register.start-CyYd_xbF.js} +18 -18
- package/dist/{register.status-health-sessions-zD3z2YuT.js → register.status-health-sessions-BKLWh2aq.js} +96 -94
- package/dist/{register.status-health-sessions-EhCB2a7v.js → register.status-health-sessions-BRJgE7jh.js} +29 -27
- package/dist/{register.subclis-D12iC4nF.js → register.subclis-DKG1KoTd.js} +32 -32
- package/dist/{replies-BDnb0prE.js → replies-Ckd7Lwt0.js} +1 -1
- package/dist/{reply-Dpf9qyV4.js → reply-ezOUjaUp.js} +28 -27
- package/dist/{reply-prefix-H_GSyyzN.js → reply-prefix-DpXMFuAa.js} +1 -1
- package/dist/{resolve-route-ByAwAiq5.js → resolve-route-Cnto8LMw.js} +2 -2
- package/dist/{rpc-Bzb0JMJ_.js → rpc-CnRUZWNJ.js} +1 -1
- package/dist/{run-main-C_fGUv-Y.js → run-main-CGAXqlRX.js} +101 -99
- package/dist/{runtime-Cx-7xFzl.js → runtime-D4y0Gdfj.js} +2 -2
- package/dist/{sandbox-SrM4-oQp.js → sandbox-BKa5RrBl.js} +1 -1
- package/dist/{sandbox-BLqUWbp2.js → sandbox-Tai-w14a.js} +18 -18
- package/dist/{sandbox-cli-CSbLS9FL.js → sandbox-cli-BnpEc205.js} +2 -2
- package/dist/{sandbox-cli-CEriRvUh.js → sandbox-cli-uwsF36Ea.js} +26 -26
- package/dist/{secrets-cli-DOQcU7hI.js → secrets-cli-CIxUNZyC.js} +2 -2
- package/dist/{secrets-cli-DG-NG8PH.js → secrets-cli-DzeSuhpa.js} +10 -10
- package/dist/{security-cli-BFqXRQt6.js → security-cli-BqOOeGxS.js} +7 -7
- package/dist/{security-cli-C_Bc1U-7.js → security-cli-Dzelqio0.js} +44 -44
- package/dist/{send-BTswySBz.js → send-BpXRh0BM.js} +11 -11
- package/dist/{send-CZ2O-5pP.js → send-CQJKPGw4.js} +6 -6
- package/dist/{send-ZyB64ntO.js → send-Cpaj_bKB.js} +5 -5
- package/dist/{send-BCLu4NEE.js → send-e1X1pfda.js} +6 -6
- package/dist/{send-D0X-8aPh.js → send-sj8Hu26l.js} +8 -8
- package/dist/{server-CzDsmd9g.js → server-Cr92VI8t.js} +19 -19
- package/dist/{server-_jtA2MKi.js → server-Ct0J5VXf.js} +3 -3
- package/dist/{server-context-LDDpCiyT.js → server-context-DWxmyV-0.js} +2 -2
- package/dist/{server-context-DRq_OT33.js → server-context-YLHmGfYV.js} +12 -12
- package/dist/{server-lifecycle-CcYnyYPQ.js → server-lifecycle-B23lXM3Y.js} +2 -2
- package/dist/{server-lifecycle-CkyOrO43.js → server-lifecycle-B7aXKxY3.js} +1 -1
- package/dist/{server-middleware-DHxnFjIL.js → server-middleware-CKSnhiM2.js} +1 -1
- package/dist/{server-node-events-BLz-kdvu.js → server-node-events-BHkXD38g.js} +13 -11
- package/dist/{server-node-events-B5xSV7Kq.js → server-node-events-D_9Quh-1.js} +79 -77
- package/dist/{service-CZORJG4z.js → service-Bjqlh_fF.js} +15 -15
- package/dist/{service-B5Fw5CQO.js → service-DqxfCr8y.js} +1 -1
- package/dist/{session-nilNSQEL.js → session-DcnQHb9Q.js} +1 -1
- package/dist/{session-meta-Cew1QAYN.js → session-meta-DF1WT4cr.js} +1 -1
- package/dist/{session-utils-DxaIoRMp.js → session-utils-BncMg1bn.js} +6 -6
- package/dist/{sessions-BXz4gdq6.js → sessions-B2mnwD21.js} +15 -15
- package/dist/{sessions-DhD3eJDE.js → sessions-C2Xfck_9.js} +4 -4
- package/dist/{shared-BTBgx0-C.js → shared-BmSv3K8N.js} +1 -1
- package/dist/{shared-DvHQekWm.js → shared-BojXguFB.js} +3 -3
- package/dist/{shared-Brai19f9.js → shared-CgFPGTLU.js} +1 -1
- package/dist/{shared-BZscafy-.js → shared-_j1K2VJ9.js} +1 -1
- package/dist/{skill-commands-Cpr3Poo2.js → skill-commands-CYucDd3C.js} +5 -5
- package/dist/{skill-scanner-0-AybMIe.js → skill-scanner-CSJqt034.js} +6 -6
- package/dist/{skills-D4S-gyVf.js → skills-BCgFAMj3.js} +3 -3
- package/dist/{skills-cli-B0jFsoo4.js → skills-cli-BM1iUpGc.js} +6 -6
- package/dist/{skills-cli-ch5GmUQQ.js → skills-cli-D3ZteX5N.js} +2 -2
- package/dist/{skills-install-BMPfx9IL.js → skills-install-B_Vda3dM.js} +4 -4
- package/dist/{skills-install-C6-Zzqoi.js → skills-install-e4_jXT_J.js} +7 -7
- package/dist/{skills-status-CU7YkOva.js → skills-status-BEq0_fOn.js} +1 -1
- package/dist/{skills-status-DQzBD0Y7.js → skills-status-DG-bH5mO.js} +1 -1
- package/dist/{status-Dw7ag8qn.js → status-CwKeOASs.js} +31 -31
- package/dist/{status-BfWqYNJf.js → status-DjnNnvyr.js} +16 -16
- package/dist/{status.update-C8qgou8r.js → status.update-HwSPC5ZX.js} +1 -1
- package/dist/{status.update-B6whKviL.js → status.update-YC9VNJxl.js} +2 -2
- package/dist/{store-TdzSHRPN.js → store-U8cs0QvT.js} +5 -5
- package/dist/{subagent-registry-D6OfBLNb.js → subagent-registry-CfKMgII6.js} +163 -162
- package/dist/{system-cli-BoamUpxz.js → system-cli-B_PUKo6-.js} +9 -9
- package/dist/{system-cli-DvJ6xypA.js → system-cli-IYwpBiC6.js} +1 -1
- package/dist/{system-run-command-XHAlbx5q.js → system-run-command-GKGzGztn.js} +1 -1
- package/dist/{systemd-C4JtDaKk.js → systemd-HiU4Gzoc.js} +9 -9
- package/dist/{systemd-hints-ZHrBbXDd.js → systemd-hints-BDIASQOF.js} +7 -7
- package/dist/{systemd-hints-Clojvvvd.js → systemd-hints-D40Qx3hg.js} +4 -4
- package/dist/{systemd-linger-CD4viBmg.js → systemd-linger-BK6kig-o.js} +2 -2
- package/dist/{systemd-linger-BCGwQ0gL.js → systemd-linger-DfrE-63p.js} +2 -2
- package/dist/{tables-BOsRa7CS.js → tables-DVXe5x1J.js} +1 -1
- package/dist/{tailnet-CfP3A6g2.js → tailnet-C1XBcWue.js} +1 -1
- package/dist/{target-errors-DPJ9HFp9.js → target-errors-C5LA-JI-.js} +4 -4
- package/dist/{tool-images-CmgHk8xk.js → tool-images-CnpAosfi.js} +1 -1
- package/dist/{tui-GWJMI53u.js → tui-CLK0s6TM.js} +6 -6
- package/dist/{tui-D577eygd.js → tui-Dd6DhgjX.js} +1 -1
- package/dist/{tui-cli-CcYMYNyU.js → tui-cli-C3PCazFC.js} +4 -4
- package/dist/{tui-cli-CMrxH2Q_.js → tui-cli-DTdNoN6U.js} +33 -33
- package/dist/{update-Ckxe8MK3.js → update-B1Dhhu_3.js} +1 -1
- package/dist/{update-CDWJ50iD.js → update-DLc3UsVC.js} +3 -3
- package/dist/{update-cli-Dw_JHcRy.js → update-cli-BCH7o0oB.js} +43 -41
- package/dist/{update-cli-r3eyhSgp.js → update-cli-Dcvb1LZT.js} +115 -113
- package/dist/{update-runner-CHxTFtW8.js → update-runner-l9K_q6Kz.js} +16 -16
- package/dist/{update-runner-CJua_LZ3.js → update-runner-rrlmopJw.js} +4 -4
- package/dist/{web-B2_c07KN.js → web-BJ_nNwKp.js} +6 -6
- package/dist/{web-De45Xhd1.js → web-C9QAX9EH.js} +6 -6
- package/dist/web-CsfqGSAa.js +127 -0
- package/dist/{web-Cf5qfziZ.js → web-CtrUXk94.js} +16 -14
- package/dist/{webhooks-cli-BScfmM3n.js → webhooks-cli-BFdw7BAP.js} +1 -1
- package/dist/{webhooks-cli-B09BdLSk.js → webhooks-cli-c5SaGz4J.js} +7 -7
- package/dist/{whatsapp-actions-BIPuOEBF.js → whatsapp-actions-CNoiLzRB.js} +1 -1
- package/dist/{whatsapp-actions-DUoWY7mE.js → whatsapp-actions-CnjEOFOZ.js} +19 -19
- package/dist/{with-timeout-B9qgOUui.js → with-timeout-DurSJobr.js} +3 -3
- package/dist/{with-timeout-B1c4PuYt.js → with-timeout-tSH4Tex_.js} +2 -2
- package/dist/{workspace-DzeL98px.js → workspace-BHfqkuYN.js} +23 -23
- package/dist/{workspace-A5CNJccm.js → workspace-DWBFoy1G.js} +1 -1
- package/dist/{workspace-dirs-Bevk6X_8.js → workspace-dirs-BOgNOBjy.js} +1 -1
- package/dist/{wsl-DksyFTBT.js → wsl-BDRu1-pk.js} +2 -2
- package/package.json +1 -1
- package/dist/register.configure-BHL2CNOY.js +0 -174
- package/dist/web-B4yuhy9a.js +0 -125
- /package/dist/{api-Ddfugzlx.js → api-CRdLvaOQ.js} +0 -0
- /package/dist/{api-D9--MH2d.js → api-CzfBiQzt.js} +0 -0
- /package/dist/{brew-DKc_-WEW.js → brew-Bqn8t5g9.js} +0 -0
- /package/dist/{brew-D6LNrpWB.js → brew-Dgc9liFk.js} +0 -0
- /package/dist/{channels-status-issues-DXY75b-O.js → channels-status-issues-DeT1Znlx.js} +0 -0
- /package/dist/{clipboard-Do1nxsfe.js → clipboard-BYoUMUcc.js} +0 -0
- /package/dist/{clipboard-rDdMg7Oq.js → clipboard-Bscf81z7.js} +0 -0
- /package/dist/{command-options-DEPpN8NK.js → command-options-D4YE45pL.js} +0 -0
- /package/dist/{command-options-ZvhOayEd.js → command-options-DIuz7LzE.js} +0 -0
- /package/dist/{constants-CrJmimS2.js → constants-BJiQF5Ae.js} +0 -0
- /package/dist/{constants-Dpz-jwYQ.js → constants-SKxh9Cou.js} +0 -0
- /package/dist/{control-ui-assets-DjJ-kYlx.js → control-ui-assets-B_3g_YF0.js} +0 -0
- /package/dist/{daemon-runtime-B_UsbAjb.js → daemon-runtime-BPrEIqYI.js} +0 -0
- /package/dist/{daemon-runtime-J7zRr7jm.js → daemon-runtime-D8xmnSd2.js} +0 -0
- /package/dist/{dangerous-tools-B9LIt3MU.js → dangerous-tools-DHq9RLRQ.js} +0 -0
- /package/dist/{dangerous-tools-DYhQ651h.js → dangerous-tools-D_tNQLpF.js} +0 -0
- /package/dist/{docs-cli-BWNTtocT.js → docs-cli-DtThi0Xf.js} +0 -0
- /package/dist/{enable-4ExrKTxf.js → enable-CJ75JA5u.js} +0 -0
- /package/dist/{entry-status-CtRtehvt.js → entry-status-CdZ_Et6j.js} +0 -0
- /package/dist/{format-B4BvVfHq.js → format-A_N-0ymb.js} +0 -0
- /package/dist/{format-w5v1AP8D.js → format-BrqJ-lIP.js} +0 -0
- /package/dist/{gateway-rpc-B6VlwOHu.js → gateway-rpc-CJVCek88.js} +0 -0
- /package/dist/{gmail-setup-utils-CIlkd6Jc.js → gmail-setup-utils-CtjSNa9d.js} +0 -0
- /package/dist/{gmail-setup-utils-D953PUOL.js → gmail-setup-utils-mNwdQcKy.js} +0 -0
- /package/dist/{heartbeat-visibility-C_P1yurK.js → heartbeat-visibility-BdDIMad6.js} +0 -0
- /package/dist/{heartbeat-visibility-_K4bnQDH.js → heartbeat-visibility-JgoQYZHO.js} +0 -0
- /package/dist/{helpers-B7sHmVvT.js → helpers-BSfSxnxh.js} +0 -0
- /package/dist/{helpers-C5EyaXng.js → helpers-Cj6f8SPZ.js} +0 -0
- /package/dist/{helpers-DtWQVY6N.js → helpers-D0Q6sarx.js} +0 -0
- /package/dist/{helpers-CitWYyuK.js → helpers-DCwtPrez.js} +0 -0
- /package/dist/{is-main-TPRg8r91.js → is-main-Dha5s7-d.js} +0 -0
- /package/dist/{issue-format-BvgMk0hd.js → issue-format-rk9Vpcxd.js} +0 -0
- /package/dist/{model-param-b-By9uTH-E.js → model-param-b-B5WDRptZ.js} +0 -0
- /package/dist/{model-param-b-scvX_s5g.js → model-param-b-DhHzFqPC.js} +0 -0
- /package/dist/{mutable-allowlist-detectors-CsTC5ncA.js → mutable-allowlist-detectors-BaVrnZS3.js} +0 -0
- /package/dist/{mutable-allowlist-detectors-DHXBcz_e.js → mutable-allowlist-detectors-D5GqtHJ_.js} +0 -0
- /package/dist/{node-commands-D80C29Tj.js → node-commands-CGOhd32j.js} +0 -0
- /package/dist/{node-commands-oSbiEu_0.js → node-commands-DYz_oQFz.js} +0 -0
- /package/dist/{note-B8i7nefS.js → note-BuhsMSuP.js} +0 -0
- /package/dist/{note-DfB2MBuH.js → note-CLcV1fjx.js} +0 -0
- /package/dist/{outbound-D2l__XSz.js → outbound-DlVJWa4u.js} +0 -0
- /package/dist/{parse-log-line-ZSGs_ws7.js → parse-log-line-BtRNMGXv.js} +0 -0
- /package/dist/{parse-log-line-enq8pduH.js → parse-log-line-pij_xhtE.js} +0 -0
- /package/dist/{parse-port-CLydiXaJ.js → parse-port-DEJJlpU0.js} +0 -0
- /package/dist/{parse-port-DPUPC687.js → parse-port-M1LW5BLv.js} +0 -0
- /package/dist/{path-safety-CKvIjU2Y.js → path-safety-COhgvniC.js} +0 -0
- /package/dist/{ports-CF46wKRL.js → ports-BL-FP2jP.js} +0 -0
- /package/dist/{program-context-3Z5CO0jS.js → program-context-Cy6hM1zR.js} +0 -0
- /package/dist/{prompts-DomsZukd.js → prompts-CbZZ91V9.js} +0 -0
- /package/dist/{prompts-ULYkmWPj.js → prompts-iXdBMk3j.js} +0 -0
- /package/dist/{pw-ai-DrwyqCD-.js → pw-ai-D21rIJ2z.js} +0 -0
- /package/dist/{qr-cli-71R5i2Hr.js → qr-cli-BQGJJ5hp.js} +0 -0
- /package/dist/{redact-snapshot-B_ApSuEH.js → redact-snapshot-DCGL0k2M.js} +0 -0
- /package/dist/{rpc-B5R6hXju.js → rpc-9jE_1PW0.js} +0 -0
- /package/dist/{runtime-DNtFeWu6.js → runtime-Rd7ooKB0.js} +0 -0
- /package/dist/{runtime-guard-Ch9ZniVU.js → runtime-guard-lQH3Hjre.js} +0 -0
- /package/dist/{runtime-guard-8RRYRGZL.js → runtime-guard-p6l4jDOj.js} +0 -0
- /package/dist/{runtime-status-DZoVtX5E.js → runtime-status-FmZCZXmg.js} +0 -0
- /package/dist/{runtime-status-boiphq8B.js → runtime-status-t6wRP4gf.js} +0 -0
- /package/dist/{session-BeKM82so.js → session-FOGqE7bj.js} +0 -0
- /package/dist/{skill-scanner-CNK-3AZh.js → skill-scanner-CsmM5F4F.js} +0 -0
- /package/dist/{status-BrwHRn2B.js → status-rpJtIjm7.js} +0 -0
- /package/dist/{status-BwiJpA37.js → status-yrDGXYZM.js} +0 -0
- /package/dist/{systemd-C177Z-Zv.js → systemd-DJ5Red-Q.js} +0 -0
- /package/dist/{table-BHL_2Py1.js → table-CqULNDay.js} +0 -0
- /package/dist/{table-MuA2LQfi.js → table-DZBPnHSy.js} +0 -0
- /package/dist/{text-format-ByZoVQF_.js → text-format-D-Z0xB-E.js} +0 -0
- /package/dist/{text-format-Cy1bnk2A.js → text-format-oWqzVmah.js} +0 -0
- /package/dist/{tool-loop-detection-DLEs1CTw.js → tool-loop-detection-BUIIO4gy.js} +0 -0
- /package/dist/{tool-loop-detection-__o-Jytj.js → tool-loop-detection-r4aG7Xi8.js} +0 -0
- /package/dist/{widearea-dns-Dnn3h3FI.js → widearea-dns-CABro6I6.js} +0 -0
- /package/dist/{widearea-dns-Bd2x2P2m.js → widearea-dns-D1fyqK-r.js} +0 -0
|
@@ -2,7 +2,7 @@ import { t as CONFIG_PATH } from "./paths-BYr-iJJ9.js";
|
|
|
2
2
|
import { d as colorize, f as isRich$1, p as theme } from "./globals-uLeGcRW1.js";
|
|
3
3
|
import { S as shortenHomePath } from "./utils-CP51tiAi.js";
|
|
4
4
|
import "./thinking-44rmAw5o.js";
|
|
5
|
-
import { Gt as maskApiKey, Wt as describeFailoverError, a as DEFAULT_OAUTH_WARN_MS, gt as loadProviderUsageSummary, o as buildAuthHealthSummary, p as runEmbeddedPiAgent, s as formatRemainingShort, vt as formatUsageWindowSummary, yt as resolveUsageProviderId } from "./reply-
|
|
5
|
+
import { Gt as maskApiKey, Wt as describeFailoverError, a as DEFAULT_OAUTH_WARN_MS, gt as loadProviderUsageSummary, o as buildAuthHealthSummary, p as runEmbeddedPiAgent, s as formatRemainingShort, vt as formatUsageWindowSummary, yt as resolveUsageProviderId } from "./reply-ezOUjaUp.js";
|
|
6
6
|
import { _ as resolveAgentModelPrimaryValue, a as resolveAgentDir, c as resolveAgentModelFallbacksOverride, d as resolveDefaultAgentId, g as resolveAgentModelFallbackValues, s as resolveAgentExplicitModelPrimary, u as resolveAgentWorkspaceDir, v as toAgentModelListLike } from "./agent-scope-CiBV1K6b.js";
|
|
7
7
|
import { d as defaultRuntime } from "./subsystem-BT74-yyS.js";
|
|
8
8
|
import { h as resolveDefaultAgentWorkspaceDir } from "./workspace-CRdln__H.js";
|
|
@@ -20,19 +20,19 @@ import "./manifest-registry-B_U2pKBU.js";
|
|
|
20
20
|
import "./dock-BXksV3sC.js";
|
|
21
21
|
import "./message-channel-CKAn7Lf7.js";
|
|
22
22
|
import "./send-ByUfPpKj.js";
|
|
23
|
-
import "./audio-transcription-runner-
|
|
24
|
-
import "./image-
|
|
23
|
+
import "./audio-transcription-runner-CF_UP4C7.js";
|
|
24
|
+
import "./image-B270IRGo.js";
|
|
25
25
|
import { t as ensureOpenClawModelsJson } from "./models-config-Do1Ur_ov.js";
|
|
26
26
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-DVhDvAnA.js";
|
|
27
|
-
import "./pi-embedded-helpers-
|
|
28
|
-
import "./sandbox-
|
|
27
|
+
import "./pi-embedded-helpers-ZTn-T7tW.js";
|
|
28
|
+
import "./sandbox-BKa5RrBl.js";
|
|
29
29
|
import "./tool-catalog-zFhF8IWN.js";
|
|
30
30
|
import "./chrome-DzGCPEQK.js";
|
|
31
31
|
import "./tailscale-OcOGSzmc.js";
|
|
32
32
|
import "./tailnet-BYBKD8Kh.js";
|
|
33
33
|
import "./ws-DKbBt0us.js";
|
|
34
34
|
import "./auth-Co2g3d8d.js";
|
|
35
|
-
import "./server-context-
|
|
35
|
+
import "./server-context-DWxmyV-0.js";
|
|
36
36
|
import "./frontmatter-f69paAeU.js";
|
|
37
37
|
import "./skills-BeFcXCoN.js";
|
|
38
38
|
import "./path-alias-guards-DWh6tSaP.js";
|
|
@@ -64,7 +64,7 @@ import "./local-roots-jW0nhxVT.js";
|
|
|
64
64
|
import { n as loadModelCatalog } from "./model-catalog-CjA5pRJF.js";
|
|
65
65
|
import "./proxy-fetch-7LT9tml2.js";
|
|
66
66
|
import "./tokens-BK5VYCE_.js";
|
|
67
|
-
import "./deliver-
|
|
67
|
+
import "./deliver-Bn10XzRP.js";
|
|
68
68
|
import "./commands-C6OLhl3n.js";
|
|
69
69
|
import "./commands-registry-CVzTBX51.js";
|
|
70
70
|
import "./client-B91adiXh.js";
|
|
@@ -80,7 +80,7 @@ import "./nodes-screen-Dptoharj.js";
|
|
|
80
80
|
import "./target-errors-B1cYmIjq.js";
|
|
81
81
|
import "./system-run-command-C3OIMtEu.js";
|
|
82
82
|
import "./diagnostic-session-state-DtDi2x-e.js";
|
|
83
|
-
import "./with-timeout-
|
|
83
|
+
import "./with-timeout-tSH4Tex_.js";
|
|
84
84
|
import "./diagnostic-DRPetA8l.js";
|
|
85
85
|
import "./send-SZBhACLn.js";
|
|
86
86
|
import { r as resolveForwardCompatModel } from "./model-FnrgCVyS.js";
|
|
@@ -96,7 +96,7 @@ import "./outbound-attachment-CZh4VjhT.js";
|
|
|
96
96
|
import "./delivery-queue-EvfYzqtX.js";
|
|
97
97
|
import "./send-BntubUtK.js";
|
|
98
98
|
import "./resolve-route-Ck23oGqS.js";
|
|
99
|
-
import "./pi-tools.policy-
|
|
99
|
+
import "./pi-tools.policy-eyXj0EY5.js";
|
|
100
100
|
import "./channel-activity-C--BGtPd.js";
|
|
101
101
|
import "./tables-C9_oCtRN.js";
|
|
102
102
|
import "./proxy-D8dYXgWo.js";
|
|
@@ -115,19 +115,20 @@ import { t as formatDocsLink } from "./links-CM7pO4C5.js";
|
|
|
115
115
|
import { n as runCommandWithRuntime, t as resolveOptionFromCommand } from "./cli-utils-BKqG4ZT-.js";
|
|
116
116
|
import "./help-format-DUJs-8Xi.js";
|
|
117
117
|
import { r as withProgressTotals } from "./progress-86COuAnG.js";
|
|
118
|
-
import "./server-lifecycle-
|
|
118
|
+
import "./server-lifecycle-B7aXKxY3.js";
|
|
119
119
|
import "./stagger-C-R8Eo-4.js";
|
|
120
|
-
import "./
|
|
121
|
-
import
|
|
122
|
-
import "./
|
|
123
|
-
import { t as
|
|
124
|
-
import
|
|
125
|
-
import {
|
|
126
|
-
import "./
|
|
127
|
-
import {
|
|
128
|
-
import { d as
|
|
120
|
+
import "./constants-BJiQF5Ae.js";
|
|
121
|
+
import "./context-window-guard-BNuaId5E.js";
|
|
122
|
+
import "./note-CLcV1fjx.js";
|
|
123
|
+
import { t as createClackPrompter } from "./clack-prompter-CgCD3NZ8.js";
|
|
124
|
+
import "./issue-format-rk9Vpcxd.js";
|
|
125
|
+
import { t as renderTable } from "./table-DZBPnHSy.js";
|
|
126
|
+
import { t as inferParamBFromIdOrName } from "./model-param-b-DhHzFqPC.js";
|
|
127
|
+
import { n as redactSecrets } from "./format-BrqJ-lIP.js";
|
|
128
|
+
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-CgFPGTLU.js";
|
|
129
|
+
import { d as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-BjVRLcvi.js";
|
|
129
130
|
import { n as logConfigUpdated } from "./logging-yFV4aFrN.js";
|
|
130
|
-
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
131
|
+
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-CdTLpxG1.js";
|
|
131
132
|
import path from "node:path";
|
|
132
133
|
import fs from "node:fs/promises";
|
|
133
134
|
import crypto from "node:crypto";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Fr as normalizeProviders, Ir as resolveImplicitBedrockProvider, Lr as resolveImplicitCopilotProvider, M as loadConfig, Rr as resolveImplicitProviders, er as resolveOpenClawAgentDir } from "./auth-profiles-
|
|
1
|
+
import { Fr as normalizeProviders, Ir as resolveImplicitBedrockProvider, Lr as resolveImplicitCopilotProvider, M as loadConfig, Rr as resolveImplicitProviders, er as resolveOpenClawAgentDir } from "./auth-profiles-D_x1_5v_.js";
|
|
2
2
|
import { u as isRecord } from "./utils-DIzy5B5o.js";
|
|
3
3
|
import { t as applyConfigEnvVars } from "./env-vars-Dw0EwyGP.js";
|
|
4
4
|
import path from "node:path";
|
|
5
|
-
import
|
|
5
|
+
import fs from "node:fs/promises";
|
|
6
6
|
|
|
7
7
|
//#region src/agents/models-config.ts
|
|
8
8
|
const DEFAULT_MODE = "merge";
|
|
@@ -61,7 +61,7 @@ function mergeProviders(params) {
|
|
|
61
61
|
}
|
|
62
62
|
async function readJson(pathname) {
|
|
63
63
|
try {
|
|
64
|
-
const raw = await
|
|
64
|
+
const raw = await fs.readFile(pathname, "utf8");
|
|
65
65
|
return JSON.parse(raw);
|
|
66
66
|
} catch {
|
|
67
67
|
return null;
|
|
@@ -121,7 +121,7 @@ async function resolveProvidersForMode(params) {
|
|
|
121
121
|
}
|
|
122
122
|
async function readRawFile(pathname) {
|
|
123
123
|
try {
|
|
124
|
-
return await
|
|
124
|
+
return await fs.readFile(pathname, "utf8");
|
|
125
125
|
} catch {
|
|
126
126
|
return "";
|
|
127
127
|
}
|
|
@@ -153,11 +153,11 @@ async function ensureOpenClawModelsJson(config, agentDirOverride) {
|
|
|
153
153
|
agentDir,
|
|
154
154
|
wrote: false
|
|
155
155
|
};
|
|
156
|
-
await
|
|
156
|
+
await fs.mkdir(agentDir, {
|
|
157
157
|
recursive: true,
|
|
158
158
|
mode: 448
|
|
159
159
|
});
|
|
160
|
-
await
|
|
160
|
+
await fs.writeFile(targetPath, next, { mode: 384 });
|
|
161
161
|
return {
|
|
162
162
|
agentDir,
|
|
163
163
|
wrote: true
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _t as isPrivateOrLoopbackIpAddress, ft as isIpInCidr, gt as isLoopbackIpAddress, ut as isCanonicalDottedDecimalIPv4, yt as normalizeIpAddress } from "./auth-profiles-
|
|
2
|
-
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-
|
|
1
|
+
import { _t as isPrivateOrLoopbackIpAddress, ft as isIpInCidr, gt as isLoopbackIpAddress, ut as isCanonicalDottedDecimalIPv4, yt as normalizeIpAddress } from "./auth-profiles-D_x1_5v_.js";
|
|
2
|
+
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-C1XBcWue.js";
|
|
3
3
|
import os from "node:os";
|
|
4
4
|
import { Buffer } from "node:buffer";
|
|
5
5
|
import net from "node:net";
|
|
@@ -2,11 +2,11 @@ import { d as colorize, p as theme } from "./globals-B68W7uN8.js";
|
|
|
2
2
|
import { d as resolveIsNixMode, g as resolveStateDir } from "./paths-BnKiOk2S.js";
|
|
3
3
|
import { d as defaultRuntime } from "./subsystem-DjdBljTA.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
|
-
import { Kt as analyzeArgvCommand, M as loadConfig, Xt as resolvePlannedSegmentArgv, nn as resolveExecutableFromPathEnv, tn as resolveCommandResolutionFromArgv } from "./auth-profiles-
|
|
5
|
+
import { Kt as analyzeArgvCommand, M as loadConfig, Xt as resolvePlannedSegmentArgv, nn as resolveExecutableFromPathEnv, tn as resolveCommandResolutionFromArgv } from "./auth-profiles-D_x1_5v_.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-CVXyxgq3.js";
|
|
7
|
-
import { i as resolveAgentConfig } from "./agent-scope-
|
|
7
|
+
import { i as resolveAgentConfig } from "./agent-scope-CJelRKYY.js";
|
|
8
8
|
import "./utils-DIzy5B5o.js";
|
|
9
|
-
import { T as sameFileIdentity } from "./workspace-
|
|
9
|
+
import { T as sameFileIdentity } from "./workspace-BHfqkuYN.js";
|
|
10
10
|
import { i as logWarn } from "./logger-BJMfryJd.js";
|
|
11
11
|
import "./exec-CEAvKSx9.js";
|
|
12
12
|
import "./github-copilot-token-CulJ9J5l.js";
|
|
@@ -14,52 +14,52 @@ import { a as sanitizeSystemRunEnvOverrides, i as sanitizeHostExecEnv } from "./
|
|
|
14
14
|
import { t as VERSION } from "./version-CGDNfh5C.js";
|
|
15
15
|
import "./env-vars-Dw0EwyGP.js";
|
|
16
16
|
import "./registry-7fg1BnMw.js";
|
|
17
|
-
import "./manifest-registry-
|
|
18
|
-
import "./path-alias-guards-
|
|
17
|
+
import "./manifest-registry-Kbw8YPsZ.js";
|
|
18
|
+
import "./path-alias-guards-Cg9ZP1NN.js";
|
|
19
19
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-0J6eKf3g.js";
|
|
20
20
|
import "./logging-5MtSkLpb.js";
|
|
21
|
-
import { r as writeJsonAtomic } from "./json-files-
|
|
22
|
-
import { nn as loadOrCreateDeviceIdentity, t as GatewayClient } from "./client-
|
|
21
|
+
import { r as writeJsonAtomic } from "./json-files-CuJjdF_0.js";
|
|
22
|
+
import { nn as loadOrCreateDeviceIdentity, t as GatewayClient } from "./client-BvL3EdiZ.js";
|
|
23
23
|
import "./pairing-token-DoBZxQnC.js";
|
|
24
|
-
import "./net-
|
|
25
|
-
import "./tailnet-
|
|
26
|
-
import { a as getMachineDisplayName, i as startBrowserControlServiceFromConfig, n as createBrowserRouteDispatcher, r as createBrowserControlContext, t as withTimeout } from "./with-timeout-
|
|
27
|
-
import { c as detectMime } from "./image-ops-
|
|
28
|
-
import "./chrome-
|
|
24
|
+
import "./net-BXeYv7Iu.js";
|
|
25
|
+
import "./tailnet-C1XBcWue.js";
|
|
26
|
+
import { a as getMachineDisplayName, i as startBrowserControlServiceFromConfig, n as createBrowserRouteDispatcher, r as createBrowserControlContext, t as withTimeout } from "./with-timeout-DurSJobr.js";
|
|
27
|
+
import { c as detectMime } from "./image-ops-BGTBZMuE.js";
|
|
28
|
+
import "./chrome-DuDCGdf-.js";
|
|
29
29
|
import "./tailscale-D3xGoMdQ.js";
|
|
30
|
-
import "./auth-
|
|
31
|
-
import { i as resolveBrowserConfig } from "./server-context-
|
|
32
|
-
import "./paths-
|
|
30
|
+
import "./auth-B3HDYw4G.js";
|
|
31
|
+
import { i as resolveBrowserConfig } from "./server-context-YLHmGfYV.js";
|
|
32
|
+
import "./paths-BjoSX1aC.js";
|
|
33
33
|
import "./redact-Ck5U_y4i.js";
|
|
34
34
|
import "./errors-BJz45-qI.js";
|
|
35
|
-
import "./fs-safe-
|
|
36
|
-
import "./proxy-env-
|
|
37
|
-
import "./store-
|
|
38
|
-
import "./ports-
|
|
35
|
+
import "./fs-safe-CJDtl_QU.js";
|
|
36
|
+
import "./proxy-env-BQIJPH4j.js";
|
|
37
|
+
import "./store-U8cs0QvT.js";
|
|
38
|
+
import "./ports-sCOQUaAP.js";
|
|
39
39
|
import "./trash-ClChDUTf.js";
|
|
40
|
-
import { n as evaluateShellAllowlist, r as resolveAllowAlwaysPatterns, t as evaluateExecAllowlist } from "./exec-approvals-allowlist-
|
|
41
|
-
import { n as resolveExecSafeBinRuntimePolicy } from "./exec-safe-bin-runtime-policy-
|
|
40
|
+
import { n as evaluateShellAllowlist, r as resolveAllowAlwaysPatterns, t as evaluateExecAllowlist } from "./exec-approvals-allowlist-B4DS6FIn.js";
|
|
41
|
+
import { n as resolveExecSafeBinRuntimePolicy } from "./exec-safe-bin-runtime-policy-BP6ImlkB.js";
|
|
42
42
|
import { a as mergeExecApprovalsSocketDefaults, c as readExecApprovalsSnapshot, d as resolveExecApprovals, l as recordAllowlistUse, m as requestJsonlSocket, n as addAllowlistEntry, p as saveExecApprovals, r as ensureExecApprovals, s as normalizeExecApprovals, u as requiresExecApproval } from "./exec-approvals-HRn5F9dF.js";
|
|
43
|
-
import { n as resolveSystemRunCommand } from "./system-run-command-
|
|
43
|
+
import { n as resolveSystemRunCommand } from "./system-run-command-GKGzGztn.js";
|
|
44
44
|
import { _ as resolveNodeWindowsTaskName, c as formatNodeServiceDescription, g as resolveNodeSystemdServiceName, h as resolveNodeLaunchAgentLabel } from "./constants-BLYfoMmL.js";
|
|
45
|
-
import "./server-lifecycle-
|
|
45
|
+
import "./server-lifecycle-B23lXM3Y.js";
|
|
46
46
|
import { t as formatDocsLink } from "./links-BDNlbZvM.js";
|
|
47
47
|
import { t as formatHelpExamples } from "./help-format-B3bKmDqF.js";
|
|
48
|
-
import { t as ensureOpenClawCliOnPath } from "./path-env-
|
|
49
|
-
import { a as buildNodeServiceEnvironment, i as emitNodeRuntimeWarning, m as resolveNodeProgramArguments, r as resolveGatewayDevMode, u as resolvePreferredNodePath } from "./daemon-install-helpers-
|
|
50
|
-
import "./runtime-guard-
|
|
51
|
-
import { r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-
|
|
52
|
-
import "./systemd-
|
|
53
|
-
import { s as resolveGatewayLogPaths } from "./service-
|
|
54
|
-
import { a as createCliStatusTextStyles, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, m as buildDaemonServiceSnapshot, r as runServiceStop, t as runServiceRestart } from "./lifecycle-core-
|
|
55
|
-
import { s as formatRuntimeStatus } from "./systemd-hints-
|
|
56
|
-
import { t as parsePort } from "./parse-port-
|
|
57
|
-
import { i as NODE_SYSTEM_RUN_COMMANDS, n as NODE_EXEC_APPROVALS_COMMANDS, t as NODE_BROWSER_PROXY_COMMAND } from "./node-commands-
|
|
58
|
-
import { t as resolveNodeService } from "./node-service-
|
|
48
|
+
import { t as ensureOpenClawCliOnPath } from "./path-env-DDJ70PDB.js";
|
|
49
|
+
import { a as buildNodeServiceEnvironment, i as emitNodeRuntimeWarning, m as resolveNodeProgramArguments, r as resolveGatewayDevMode, u as resolvePreferredNodePath } from "./daemon-install-helpers-D28keNLu.js";
|
|
50
|
+
import "./runtime-guard-lQH3Hjre.js";
|
|
51
|
+
import { r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BPrEIqYI.js";
|
|
52
|
+
import "./systemd-HiU4Gzoc.js";
|
|
53
|
+
import { s as resolveGatewayLogPaths } from "./service-Bjqlh_fF.js";
|
|
54
|
+
import { a as createCliStatusTextStyles, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, m as buildDaemonServiceSnapshot, r as runServiceStop, t as runServiceRestart } from "./lifecycle-core-CJd181-h.js";
|
|
55
|
+
import { s as formatRuntimeStatus } from "./systemd-hints-BDIASQOF.js";
|
|
56
|
+
import { t as parsePort } from "./parse-port-M1LW5BLv.js";
|
|
57
|
+
import { i as NODE_SYSTEM_RUN_COMMANDS, n as NODE_EXEC_APPROVALS_COMMANDS, t as NODE_BROWSER_PROXY_COMMAND } from "./node-commands-DYz_oQFz.js";
|
|
58
|
+
import { t as resolveNodeService } from "./node-service-DUUObpwl.js";
|
|
59
59
|
import { spawn, spawnSync } from "node:child_process";
|
|
60
60
|
import path from "node:path";
|
|
61
61
|
import fs from "node:fs";
|
|
62
|
-
import
|
|
62
|
+
import fs$1 from "node:fs/promises";
|
|
63
63
|
import crypto from "node:crypto";
|
|
64
64
|
|
|
65
65
|
//#region src/node-host/config.ts
|
|
@@ -82,7 +82,7 @@ function normalizeConfig(config) {
|
|
|
82
82
|
async function loadNodeHostConfig() {
|
|
83
83
|
const filePath = resolveNodeHostConfigPath();
|
|
84
84
|
try {
|
|
85
|
-
const raw = await
|
|
85
|
+
const raw = await fs$1.readFile(filePath, "utf8");
|
|
86
86
|
return normalizeConfig(JSON.parse(raw));
|
|
87
87
|
} catch {
|
|
88
88
|
return null;
|
|
@@ -178,10 +178,10 @@ function collectBrowserProxyPaths(payload) {
|
|
|
178
178
|
return [...paths];
|
|
179
179
|
}
|
|
180
180
|
async function readBrowserProxyFile(filePath) {
|
|
181
|
-
const stat = await
|
|
181
|
+
const stat = await fs$1.stat(filePath).catch(() => null);
|
|
182
182
|
if (!stat || !stat.isFile()) return null;
|
|
183
183
|
if (stat.size > BROWSER_PROXY_MAX_FILE_BYTES) throw new Error(`browser proxy file exceeds ${Math.round(BROWSER_PROXY_MAX_FILE_BYTES / (1024 * 1024))}MB`);
|
|
184
|
-
const buffer = await
|
|
184
|
+
const buffer = await fs$1.readFile(filePath);
|
|
185
185
|
const mimeType = await detectMime({
|
|
186
186
|
buffer,
|
|
187
187
|
filePath
|
|
@@ -21,7 +21,7 @@ import "./tailscale-OcOGSzmc.js";
|
|
|
21
21
|
import "./tailnet-BYBKD8Kh.js";
|
|
22
22
|
import "./ws-DKbBt0us.js";
|
|
23
23
|
import "./auth-Co2g3d8d.js";
|
|
24
|
-
import { i as resolveBrowserConfig } from "./server-context-
|
|
24
|
+
import { i as resolveBrowserConfig } from "./server-context-DWxmyV-0.js";
|
|
25
25
|
import "./path-alias-guards-DWh6tSaP.js";
|
|
26
26
|
import "./paths-AxolTUEH.js";
|
|
27
27
|
import "./redact-Bf_pxORb.js";
|
|
@@ -40,22 +40,22 @@ import { a as mergeExecApprovalsSocketDefaults, c as readExecApprovalsSnapshot,
|
|
|
40
40
|
import { n as evaluateShellAllowlist, r as resolveAllowAlwaysPatterns, t as evaluateExecAllowlist } from "./exec-approvals-allowlist-CGVHz3PX.js";
|
|
41
41
|
import { n as resolveExecSafeBinRuntimePolicy } from "./exec-safe-bin-runtime-policy-D7olAQMf.js";
|
|
42
42
|
import { n as resolveSystemRunCommand } from "./system-run-command-C3OIMtEu.js";
|
|
43
|
-
import { a as getMachineDisplayName, i as startBrowserControlServiceFromConfig, n as createBrowserRouteDispatcher, r as createBrowserControlContext, t as withTimeout } from "./with-timeout-
|
|
43
|
+
import { a as getMachineDisplayName, i as startBrowserControlServiceFromConfig, n as createBrowserRouteDispatcher, r as createBrowserControlContext, t as withTimeout } from "./with-timeout-tSH4Tex_.js";
|
|
44
44
|
import { t as formatDocsLink } from "./links-CM7pO4C5.js";
|
|
45
45
|
import { t as formatHelpExamples } from "./help-format-DUJs-8Xi.js";
|
|
46
|
-
import "./server-lifecycle-
|
|
46
|
+
import "./server-lifecycle-B7aXKxY3.js";
|
|
47
47
|
import { _ as resolveNodeWindowsTaskName, c as formatNodeServiceDescription, g as resolveNodeSystemdServiceName, h as resolveNodeLaunchAgentLabel } from "./constants-DywKPp3i.js";
|
|
48
|
-
import { t as ensureOpenClawCliOnPath } from "./path-env-
|
|
49
|
-
import "./runtime-guard-
|
|
50
|
-
import { a as buildNodeServiceEnvironment, i as emitNodeRuntimeWarning, m as resolveNodeProgramArguments, r as resolveGatewayDevMode, u as resolvePreferredNodePath } from "./daemon-install-helpers-
|
|
51
|
-
import { r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-
|
|
52
|
-
import "./systemd-
|
|
53
|
-
import { s as resolveGatewayLogPaths } from "./service-
|
|
54
|
-
import { a as createCliStatusTextStyles, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, m as buildDaemonServiceSnapshot, r as runServiceStop, t as runServiceRestart } from "./lifecycle-core-
|
|
55
|
-
import { s as formatRuntimeStatus } from "./systemd-hints-
|
|
56
|
-
import { t as parsePort } from "./parse-port-
|
|
57
|
-
import { i as NODE_SYSTEM_RUN_COMMANDS, n as NODE_EXEC_APPROVALS_COMMANDS, t as NODE_BROWSER_PROXY_COMMAND } from "./node-commands-
|
|
58
|
-
import { t as resolveNodeService } from "./node-service-
|
|
48
|
+
import { t as ensureOpenClawCliOnPath } from "./path-env-DzEqwLCq.js";
|
|
49
|
+
import "./runtime-guard-p6l4jDOj.js";
|
|
50
|
+
import { a as buildNodeServiceEnvironment, i as emitNodeRuntimeWarning, m as resolveNodeProgramArguments, r as resolveGatewayDevMode, u as resolvePreferredNodePath } from "./daemon-install-helpers-CMWYg4_W.js";
|
|
51
|
+
import { r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-D8xmnSd2.js";
|
|
52
|
+
import "./systemd-DJ5Red-Q.js";
|
|
53
|
+
import { s as resolveGatewayLogPaths } from "./service-DqxfCr8y.js";
|
|
54
|
+
import { a as createCliStatusTextStyles, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, m as buildDaemonServiceSnapshot, r as runServiceStop, t as runServiceRestart } from "./lifecycle-core-Bqse41aA.js";
|
|
55
|
+
import { s as formatRuntimeStatus } from "./systemd-hints-D40Qx3hg.js";
|
|
56
|
+
import { t as parsePort } from "./parse-port-DEJJlpU0.js";
|
|
57
|
+
import { i as NODE_SYSTEM_RUN_COMMANDS, n as NODE_EXEC_APPROVALS_COMMANDS, t as NODE_BROWSER_PROXY_COMMAND } from "./node-commands-CGOhd32j.js";
|
|
58
|
+
import { t as resolveNodeService } from "./node-service-6W3vqgVv.js";
|
|
59
59
|
import fs from "node:fs";
|
|
60
60
|
import path from "node:path";
|
|
61
61
|
import fs$1 from "node:fs/promises";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Bt as normalizeDeviceMetadataForPolicy } from "./client-B91adiXh.js";
|
|
2
|
-
import { i as NODE_SYSTEM_RUN_COMMANDS, r as NODE_SYSTEM_NOTIFY_COMMAND, t as NODE_BROWSER_PROXY_COMMAND } from "./node-commands-
|
|
2
|
+
import { i as NODE_SYSTEM_RUN_COMMANDS, r as NODE_SYSTEM_NOTIFY_COMMAND, t as NODE_BROWSER_PROXY_COMMAND } from "./node-commands-CGOhd32j.js";
|
|
3
3
|
|
|
4
4
|
//#region src/gateway/node-command-policy.ts
|
|
5
5
|
const CANVAS_COMMANDS = [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Bt as normalizeDeviceMetadataForPolicy } from "./client-
|
|
2
|
-
import { i as NODE_SYSTEM_RUN_COMMANDS, r as NODE_SYSTEM_NOTIFY_COMMAND, t as NODE_BROWSER_PROXY_COMMAND } from "./node-commands-
|
|
1
|
+
import { Bt as normalizeDeviceMetadataForPolicy } from "./client-BvL3EdiZ.js";
|
|
2
|
+
import { i as NODE_SYSTEM_RUN_COMMANDS, r as NODE_SYSTEM_NOTIFY_COMMAND, t as NODE_BROWSER_PROXY_COMMAND } from "./node-commands-DYz_oQFz.js";
|
|
3
3
|
|
|
4
4
|
//#region src/gateway/node-command-policy.ts
|
|
5
5
|
const CANVAS_COMMANDS = [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as resolveNodeWindowsTaskName, a as NODE_SERVICE_KIND, g as resolveNodeSystemdServiceName, h as resolveNodeLaunchAgentLabel, o as NODE_SERVICE_MARKER, s as NODE_WINDOWS_TASK_SCRIPT_NAME } from "./constants-DywKPp3i.js";
|
|
2
|
-
import { t as resolveGatewayService } from "./service-
|
|
2
|
+
import { t as resolveGatewayService } from "./service-DqxfCr8y.js";
|
|
3
3
|
|
|
4
4
|
//#region src/daemon/node-service.ts
|
|
5
5
|
function withNodeServiceEnv(env) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as resolveNodeWindowsTaskName, a as NODE_SERVICE_KIND, g as resolveNodeSystemdServiceName, h as resolveNodeLaunchAgentLabel, o as NODE_SERVICE_MARKER, s as NODE_WINDOWS_TASK_SCRIPT_NAME } from "./constants-BLYfoMmL.js";
|
|
2
|
-
import { t as resolveGatewayService } from "./service-
|
|
2
|
+
import { t as resolveGatewayService } from "./service-Bjqlh_fF.js";
|
|
3
3
|
|
|
4
4
|
//#region src/daemon/node-service.ts
|
|
5
5
|
function withNodeServiceEnv(env) {
|
|
@@ -2,10 +2,10 @@ import { f as isRich, p as theme } from "./globals-B68W7uN8.js";
|
|
|
2
2
|
import "./paths-BnKiOk2S.js";
|
|
3
3
|
import { d as defaultRuntime } from "./subsystem-DjdBljTA.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
|
-
import { M as loadConfig, at as parseDurationMs } from "./auth-profiles-
|
|
6
|
-
import { d as resolveDefaultAgentId, i as resolveAgentConfig } from "./agent-scope-
|
|
5
|
+
import { M as loadConfig, at as parseDurationMs } from "./auth-profiles-D_x1_5v_.js";
|
|
6
|
+
import { d as resolveDefaultAgentId, i as resolveAgentConfig } from "./agent-scope-CJelRKYY.js";
|
|
7
7
|
import { b as shortenHomeInString, x as shortenHomePath } from "./utils-DIzy5B5o.js";
|
|
8
|
-
import "./workspace-
|
|
8
|
+
import "./workspace-BHfqkuYN.js";
|
|
9
9
|
import "./logger-BJMfryJd.js";
|
|
10
10
|
import "./exec-CEAvKSx9.js";
|
|
11
11
|
import "./github-copilot-token-CulJ9J5l.js";
|
|
@@ -13,31 +13,31 @@ import "./host-env-security-CJMD0__Z.js";
|
|
|
13
13
|
import "./version-CGDNfh5C.js";
|
|
14
14
|
import "./env-vars-Dw0EwyGP.js";
|
|
15
15
|
import "./registry-7fg1BnMw.js";
|
|
16
|
-
import "./manifest-registry-
|
|
16
|
+
import "./manifest-registry-Kbw8YPsZ.js";
|
|
17
17
|
import "./message-channel-0J6eKf3g.js";
|
|
18
|
-
import "./client-
|
|
19
|
-
import { a as randomIdempotencyKey } from "./call-
|
|
18
|
+
import "./client-BvL3EdiZ.js";
|
|
19
|
+
import { a as randomIdempotencyKey } from "./call-CzoM7hPS.js";
|
|
20
20
|
import "./pairing-token-DoBZxQnC.js";
|
|
21
|
-
import "./net-
|
|
22
|
-
import "./tailnet-
|
|
21
|
+
import "./net-BXeYv7Iu.js";
|
|
22
|
+
import "./tailnet-C1XBcWue.js";
|
|
23
23
|
import "./redact-Ck5U_y4i.js";
|
|
24
24
|
import "./errors-BJz45-qI.js";
|
|
25
|
-
import "./proxy-env-
|
|
26
|
-
import "./exec-approvals-allowlist-
|
|
27
|
-
import "./fetch-guard-
|
|
25
|
+
import "./proxy-env-BQIJPH4j.js";
|
|
26
|
+
import "./exec-approvals-allowlist-B4DS6FIn.js";
|
|
27
|
+
import "./fetch-guard-B62rgaSw.js";
|
|
28
28
|
import { n as formatTimeAgo } from "./format-relative-DlCMhQXD.js";
|
|
29
29
|
import { f as resolveExecApprovalsFromFile, i as maxAsk, o as minSecurity, t as DEFAULT_EXEC_APPROVAL_TIMEOUT_MS } from "./exec-approvals-HRn5F9dF.js";
|
|
30
|
-
import { a as canvasSnapshotTempPath, b as buildNodeShellCommand, c as parseCameraClipPayload, d as writeCameraClipPayloadToFile, f as writeCameraPayloadToFile, i as parseEnvPairs, l as parseCameraSnapPayload, n as screenRecordTempPath, o as parseCanvasSnapshotPayload, p as parsePreparedSystemRunPayload, r as writeScreenRecordToFile, s as cameraTempPath, t as parseScreenRecordPayload, u as writeBase64ToFile, x as applyPathPrepend } from "./nodes-screen-
|
|
31
|
-
import "./system-run-command-
|
|
30
|
+
import { a as canvasSnapshotTempPath, b as buildNodeShellCommand, c as parseCameraClipPayload, d as writeCameraClipPayloadToFile, f as writeCameraPayloadToFile, i as parseEnvPairs, l as parseCameraSnapPayload, n as screenRecordTempPath, o as parseCanvasSnapshotPayload, p as parsePreparedSystemRunPayload, r as writeScreenRecordToFile, s as cameraTempPath, t as parseScreenRecordPayload, u as writeBase64ToFile, x as applyPathPrepend } from "./nodes-screen-DcxCMjOs.js";
|
|
31
|
+
import "./system-run-command-GKGzGztn.js";
|
|
32
32
|
import { i as parsePairingList, r as parseNodeList } from "./node-resolve-DCXbzdeZ.js";
|
|
33
33
|
import { t as parseTimeoutMs } from "./parse-timeout-BLJlOyi9.js";
|
|
34
34
|
import { t as formatDocsLink } from "./links-BDNlbZvM.js";
|
|
35
35
|
import { n as runCommandWithRuntime } from "./cli-utils-k9A6CA1o.js";
|
|
36
36
|
import { t as formatHelpExamples } from "./help-format-B3bKmDqF.js";
|
|
37
37
|
import "./progress-CwQKn0ae.js";
|
|
38
|
-
import { t as renderTable } from "./table-
|
|
39
|
-
import { a as resolveNodeId, i as resolveNode, n as callGatewayCli, o as unauthorizedHintForMessage, r as nodesCallOpts, s as formatPermissions, t as buildNodeInvokeParams } from "./rpc-
|
|
40
|
-
import
|
|
38
|
+
import { t as renderTable } from "./table-CqULNDay.js";
|
|
39
|
+
import { a as resolveNodeId, i as resolveNode, n as callGatewayCli, o as unauthorizedHintForMessage, r as nodesCallOpts, s as formatPermissions, t as buildNodeInvokeParams } from "./rpc-CnRUZWNJ.js";
|
|
40
|
+
import fs from "node:fs/promises";
|
|
41
41
|
|
|
42
42
|
//#region src/cli/nodes-cli/cli-utils.ts
|
|
43
43
|
function getNodesTheme() {
|
|
@@ -387,7 +387,7 @@ function registerNodesCanvasCommands(nodes) {
|
|
|
387
387
|
const hasJsonl = Boolean(opts.jsonl);
|
|
388
388
|
const hasText = typeof opts.text === "string";
|
|
389
389
|
if (hasJsonl === hasText) throw new Error("provide exactly one of --jsonl or --text");
|
|
390
|
-
const jsonl = hasText ? buildA2UITextJsonl(String(opts.text ?? "")) : await
|
|
390
|
+
const jsonl = hasText ? buildA2UITextJsonl(String(opts.text ?? "")) : await fs.readFile(String(opts.jsonl), "utf8");
|
|
391
391
|
const { version, messageCount } = validateA2UIJsonl(jsonl);
|
|
392
392
|
if (version === "v0.9") throw new Error("Detected A2UI v0.9 JSONL (createSurface). OpenClaw currently supports v0.8 only.");
|
|
393
393
|
await invokeCanvas(opts, "canvas.a2ui.pushJSONL", { jsonl });
|
|
@@ -35,8 +35,8 @@ import { n as runCommandWithRuntime } from "./cli-utils-BKqG4ZT-.js";
|
|
|
35
35
|
import { t as formatHelpExamples } from "./help-format-DUJs-8Xi.js";
|
|
36
36
|
import "./progress-86COuAnG.js";
|
|
37
37
|
import { t as parseTimeoutMs } from "./parse-timeout-CUbpb4wv.js";
|
|
38
|
-
import { t as renderTable } from "./table-
|
|
39
|
-
import { a as resolveNodeId, i as resolveNode, n as callGatewayCli, o as unauthorizedHintForMessage, r as nodesCallOpts, s as formatPermissions, t as buildNodeInvokeParams } from "./rpc-
|
|
38
|
+
import { t as renderTable } from "./table-DZBPnHSy.js";
|
|
39
|
+
import { a as resolveNodeId, i as resolveNode, n as callGatewayCli, o as unauthorizedHintForMessage, r as nodesCallOpts, s as formatPermissions, t as buildNodeInvokeParams } from "./rpc-9jE_1PW0.js";
|
|
40
40
|
import fs from "node:fs/promises";
|
|
41
41
|
|
|
42
42
|
//#region src/cli/nodes-cli/cli-utils.ts
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { k as resolvePreferredOpenClawTmpDir } from "./globals-B68W7uN8.js";
|
|
2
2
|
import { S as resolveCliName } from "./paths-BnKiOk2S.js";
|
|
3
3
|
import { r as normalizeEnvVarKey } from "./host-env-security-CJMD0__Z.js";
|
|
4
|
-
import { c as normalizeHostname } from "./proxy-env-
|
|
5
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
6
|
-
import { n as resolveSystemRunCommand, t as formatExecCommand } from "./system-run-command-
|
|
4
|
+
import { c as normalizeHostname } from "./proxy-env-BQIJPH4j.js";
|
|
5
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-B62rgaSw.js";
|
|
6
|
+
import { n as resolveSystemRunCommand, t as formatExecCommand } from "./system-run-command-GKGzGztn.js";
|
|
7
7
|
import * as path$1 from "node:path";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import fs from "node:fs";
|
|
10
|
-
import * as fs$
|
|
10
|
+
import * as fs$2 from "node:fs/promises";
|
|
11
11
|
import crypto, { randomUUID } from "node:crypto";
|
|
12
12
|
|
|
13
13
|
//#region src/infra/path-prepend.ts
|
|
@@ -356,7 +356,7 @@ async function writeUrlToFile(filePath, url, opts) {
|
|
|
356
356
|
if (typeof contentLength === "number" && Number.isFinite(contentLength) && contentLength > MAX_CAMERA_URL_DOWNLOAD_BYTES) throw new Error(`writeUrlToFile: content-length ${contentLength} exceeds max ${MAX_CAMERA_URL_DOWNLOAD_BYTES}`);
|
|
357
357
|
const body = res.body;
|
|
358
358
|
if (!body) throw new Error(`failed to download ${url}: empty response body`);
|
|
359
|
-
const fileHandle = await fs$
|
|
359
|
+
const fileHandle = await fs$2.open(filePath, "w");
|
|
360
360
|
let thrown;
|
|
361
361
|
try {
|
|
362
362
|
const reader = body.getReader();
|
|
@@ -374,7 +374,7 @@ async function writeUrlToFile(filePath, url, opts) {
|
|
|
374
374
|
await fileHandle.close();
|
|
375
375
|
}
|
|
376
376
|
if (thrown) {
|
|
377
|
-
await fs$
|
|
377
|
+
await fs$2.unlink(filePath).catch(() => {});
|
|
378
378
|
throw thrown;
|
|
379
379
|
}
|
|
380
380
|
} finally {
|
|
@@ -387,7 +387,7 @@ async function writeUrlToFile(filePath, url, opts) {
|
|
|
387
387
|
}
|
|
388
388
|
async function writeBase64ToFile(filePath, base64) {
|
|
389
389
|
const buf = Buffer.from(base64, "base64");
|
|
390
|
-
await fs$
|
|
390
|
+
await fs$2.writeFile(filePath, buf);
|
|
391
391
|
return {
|
|
392
392
|
path: filePath,
|
|
393
393
|
bytes: buf.length
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { y as resolveUserPath } from "./utils-CP51tiAi.js";
|
|
2
2
|
import { t as runCommandWithTimeout } from "./exec-BdDcFm8M.js";
|
|
3
|
-
import { c as fileExists, d as resolvePackedRootDir, n as resolveSafeInstallDir, s as extractArchive, t as assertCanonicalPathWithinBase, u as resolveArchiveKind } from "./install-safe-path-
|
|
3
|
+
import { c as fileExists, d as resolvePackedRootDir, n as resolveSafeInstallDir, s as extractArchive, t as assertCanonicalPathWithinBase, u as resolveArchiveKind } from "./install-safe-path-CSqVUjL8.js";
|
|
4
4
|
import os from "node:os";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import fs from "node:fs/promises";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { v as resolveUserPath } from "./utils-DIzy5B5o.js";
|
|
2
2
|
import { t as runCommandWithTimeout } from "./exec-CEAvKSx9.js";
|
|
3
|
-
import { c as fileExists, d as resolvePackedRootDir, n as resolveSafeInstallDir, s as extractArchive, t as assertCanonicalPathWithinBase, u as resolveArchiveKind } from "./install-safe-path-
|
|
3
|
+
import { c as fileExists, d as resolvePackedRootDir, n as resolveSafeInstallDir, s as extractArchive, t as assertCanonicalPathWithinBase, u as resolveArchiveKind } from "./install-safe-path-BB9b_AvF.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import os from "node:os";
|
|
6
|
-
import
|
|
6
|
+
import fs from "node:fs/promises";
|
|
7
7
|
|
|
8
8
|
//#region src/infra/install-source-utils.ts
|
|
9
9
|
function buildNpmResolutionFields(resolution) {
|
|
@@ -17,11 +17,11 @@ function buildNpmResolutionFields(resolution) {
|
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
19
|
async function withTempDir(prefix, fn) {
|
|
20
|
-
const tmpDir = await
|
|
20
|
+
const tmpDir = await fs.mkdtemp(path.join(os.tmpdir(), prefix));
|
|
21
21
|
try {
|
|
22
22
|
return await fn(tmpDir);
|
|
23
23
|
} finally {
|
|
24
|
-
await
|
|
24
|
+
await fs.rm(tmpDir, {
|
|
25
25
|
recursive: true,
|
|
26
26
|
force: true
|
|
27
27
|
}).catch(() => void 0);
|
|
@@ -106,12 +106,12 @@ function parsePackedArchiveFromStdout(stdout) {
|
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
async function findPackedArchiveInDir(cwd) {
|
|
109
|
-
const archives = (await
|
|
109
|
+
const archives = (await fs.readdir(cwd, { withFileTypes: true }).catch(() => [])).filter((entry) => entry.isFile() && entry.name.endsWith(".tgz"));
|
|
110
110
|
if (archives.length === 0) return;
|
|
111
111
|
if (archives.length === 1) return archives[0]?.name;
|
|
112
112
|
const sortedByMtime = await Promise.all(archives.map(async (entry) => ({
|
|
113
113
|
name: entry.name,
|
|
114
|
-
mtimeMs: (await
|
|
114
|
+
mtimeMs: (await fs.stat(path.join(cwd, entry.name))).mtimeMs
|
|
115
115
|
})));
|
|
116
116
|
sortedByMtime.sort((a, b) => b.mtimeMs - a.mtimeMs);
|
|
117
117
|
return sortedByMtime[0]?.name;
|
|
@@ -176,13 +176,13 @@ async function resolveExistingInstallPath(inputPath) {
|
|
|
176
176
|
return {
|
|
177
177
|
ok: true,
|
|
178
178
|
resolvedPath,
|
|
179
|
-
stat: await
|
|
179
|
+
stat: await fs.stat(resolvedPath)
|
|
180
180
|
};
|
|
181
181
|
}
|
|
182
182
|
async function withExtractedArchiveRoot(params) {
|
|
183
183
|
return await withTempDir(params.tempDirPrefix, async (tmpDir) => {
|
|
184
184
|
const extractDir = path.join(tmpDir, "extract");
|
|
185
|
-
await
|
|
185
|
+
await fs.mkdir(extractDir, { recursive: true });
|
|
186
186
|
params.logger?.info?.(`Extracting ${params.archivePath}…`);
|
|
187
187
|
try {
|
|
188
188
|
await extractArchive({
|
|
@@ -235,7 +235,7 @@ async function sanitizeManifestForNpmInstall(targetDir) {
|
|
|
235
235
|
const manifestPath = path.join(targetDir, "package.json");
|
|
236
236
|
let manifestRaw = "";
|
|
237
237
|
try {
|
|
238
|
-
manifestRaw = await
|
|
238
|
+
manifestRaw = await fs.readFile(manifestPath, "utf-8");
|
|
239
239
|
} catch {
|
|
240
240
|
return;
|
|
241
241
|
}
|
|
@@ -255,7 +255,7 @@ async function sanitizeManifestForNpmInstall(targetDir) {
|
|
|
255
255
|
if (filteredEntries.length === Object.keys(devDependencies).length) return;
|
|
256
256
|
if (filteredEntries.length === 0) delete manifest.devDependencies;
|
|
257
257
|
else manifest.devDependencies = Object.fromEntries(filteredEntries);
|
|
258
|
-
await
|
|
258
|
+
await fs.writeFile(manifestPath, `${JSON.stringify(manifest, null, 2)}\n`, "utf-8");
|
|
259
259
|
}
|
|
260
260
|
async function assertInstallBoundaryPaths(params) {
|
|
261
261
|
for (const candidatePath of params.candidatePaths) await assertCanonicalPathWithinBase({
|
|
@@ -267,7 +267,7 @@ async function assertInstallBoundaryPaths(params) {
|
|
|
267
267
|
async function installPackageDir(params) {
|
|
268
268
|
params.logger?.info?.(`Installing to ${params.targetDir}…`);
|
|
269
269
|
const installBaseDir = path.dirname(params.targetDir);
|
|
270
|
-
await
|
|
270
|
+
await fs.mkdir(installBaseDir, { recursive: true });
|
|
271
271
|
await assertInstallBoundaryPaths({
|
|
272
272
|
installBaseDir,
|
|
273
273
|
candidatePaths: [params.targetDir]
|
|
@@ -276,12 +276,12 @@ async function installPackageDir(params) {
|
|
|
276
276
|
if (params.mode === "update" && await fileExists(params.targetDir)) {
|
|
277
277
|
const backupRoot = path.join(path.dirname(params.targetDir), ".openclaw-install-backups");
|
|
278
278
|
backupDir = path.join(backupRoot, `${path.basename(params.targetDir)}-${Date.now()}`);
|
|
279
|
-
await
|
|
279
|
+
await fs.mkdir(backupRoot, { recursive: true });
|
|
280
280
|
await assertInstallBoundaryPaths({
|
|
281
281
|
installBaseDir,
|
|
282
282
|
candidatePaths: [backupDir]
|
|
283
283
|
});
|
|
284
|
-
await
|
|
284
|
+
await fs.rename(params.targetDir, backupDir);
|
|
285
285
|
}
|
|
286
286
|
const rollback = async () => {
|
|
287
287
|
if (!backupDir) return;
|
|
@@ -289,18 +289,18 @@ async function installPackageDir(params) {
|
|
|
289
289
|
installBaseDir,
|
|
290
290
|
candidatePaths: [params.targetDir, backupDir]
|
|
291
291
|
});
|
|
292
|
-
await
|
|
292
|
+
await fs.rm(params.targetDir, {
|
|
293
293
|
recursive: true,
|
|
294
294
|
force: true
|
|
295
295
|
}).catch(() => void 0);
|
|
296
|
-
await
|
|
296
|
+
await fs.rename(backupDir, params.targetDir).catch(() => void 0);
|
|
297
297
|
};
|
|
298
298
|
try {
|
|
299
299
|
await assertInstallBoundaryPaths({
|
|
300
300
|
installBaseDir,
|
|
301
301
|
candidatePaths: [params.targetDir]
|
|
302
302
|
});
|
|
303
|
-
await
|
|
303
|
+
await fs.cp(params.sourceDir, params.targetDir, { recursive: true });
|
|
304
304
|
} catch (err) {
|
|
305
305
|
await rollback();
|
|
306
306
|
return {
|
|
@@ -338,7 +338,7 @@ async function installPackageDir(params) {
|
|
|
338
338
|
};
|
|
339
339
|
}
|
|
340
340
|
}
|
|
341
|
-
if (backupDir) await
|
|
341
|
+
if (backupDir) await fs.rm(backupDir, {
|
|
342
342
|
recursive: true,
|
|
343
343
|
force: true
|
|
344
344
|
}).catch(() => void 0);
|
|
@@ -354,7 +354,7 @@ async function installPackageDirWithManifestDeps(params) {
|
|
|
354
354
|
//#endregion
|
|
355
355
|
//#region src/infra/install-target.ts
|
|
356
356
|
async function resolveCanonicalInstallTarget(params) {
|
|
357
|
-
await
|
|
357
|
+
await fs.mkdir(params.baseDir, { recursive: true });
|
|
358
358
|
const targetDirResult = resolveSafeInstallDir({
|
|
359
359
|
baseDir: params.baseDir,
|
|
360
360
|
id: params.id,
|