@bitseek/claw 1.1.0-beta.2 → 1.2.1
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-B3zSNWIv.js → accounts-2NNZ6Hbp.js} +1 -1
- package/dist/{accounts-CX1yOBOk.js → accounts-BTexwKe8.js} +1 -1
- package/dist/{accounts-DZqwa5NK.js → accounts-CFz9Jc5d.js} +1 -1
- package/dist/{accounts-BQHz8_1_.js → accounts-Cv5CUnT4.js} +7 -7
- package/dist/{accounts-DTfEeXyO.js → accounts-NHpMJ0aq.js} +1 -1
- package/dist/{accounts-CaiECgq3.js → accounts-ubG6irXZ.js} +16 -16
- package/dist/{acp-cli-DYu2k7v9.js → acp-cli-B0u6no4K.js} +8 -8
- package/dist/{active-listener-neKWQsOO.js → active-listener-Hd9sOu9T.js} +1 -1
- package/dist/{agent-scope-CTbRzU1C.js → agent-scope-C6hps0r3.js} +4 -4
- package/dist/{agent-scope-CJelRKYY.js → agent-scope-CY2-lUIY.js} +1 -1
- package/dist/{agents-B1UgGs6R.js → agents-Cweyfj22.js} +15 -15
- package/dist/{agents.config-CmUkQxtt.js → agents.config-DA3Y8w1t.js} +2 -2
- package/dist/{api-key-rotation-xfk-b2Sv.js → api-key-rotation-Cf7QM5M_.js} +1 -1
- package/dist/{api-key-rotation-BTSy5kZN.js → api-key-rotation-WzOC5dTW.js} +2 -2
- package/dist/{audio-preflight-DZWb0ozj.js → audio-preflight-BWOdDA2n.js} +39 -39
- package/dist/{audio-preflight-CHD1xVrt.js → audio-preflight-DdrORTn9.js} +4 -4
- package/dist/{audio-preflight-59K4nxSA.js → audio-preflight-SRgix4XS.js} +36 -36
- package/dist/{audio-transcription-runner-DwWOJBSn.js → audio-transcription-runner-CGsd7139.js} +1 -1
- package/dist/{audio-transcription-runner-2dp0SxL3.js → audio-transcription-runner-DaoqvWoi.js} +11 -11
- package/dist/{audio-transcription-runner-DGyS5H3K.js → audio-transcription-runner-DkibzFT2.js} +22 -22
- package/dist/{audit-DJfP7KjJ.js → audit-TSVXvoTa.js} +29 -29
- package/dist/{auth-B3HDYw4G.js → auth-anvTU0Sb.js} +1 -1
- package/dist/{auth-choice-Ko0_UPIV.js → auth-choice-Bhzlukg0.js} +12 -12
- package/dist/{auth-choice-f6C6bI9v.js → auth-choice-CR6bBvDU.js} +14 -14
- package/dist/{auth-choice.apply-helpers-DR-eUj_5.js → auth-choice.apply-helpers-Du585kvU.js} +1 -1
- package/dist/{auth-profiles-D_x1_5v_.js → auth-profiles-CyG9VwU_.js} +16 -16
- package/dist/{auth-token-BqjY9MGq.js → auth-token-BIEjzQiE.js} +1 -1
- package/dist/{banner-DB1rGYKC.js → banner-D-ha13Xs.js} +2 -2
- package/dist/{bindings-Daa-Etag.js → bindings-CsIiIjqN.js} +2 -2
- package/dist/{bindings-Hx6KNJeg.js → bindings-DGvp9FdD.js} +1 -1
- package/dist/{bonjour-discovery-t-SAPCsb.js → bonjour-discovery-B68dCYTY.js} +1 -1
- package/dist/{browser-cli-CTlLlDFe.js → browser-cli-DREC4EVl.js} +12 -12
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +65 -65
- package/dist/bundled/bootstrap-extra-files/handler.js +7 -7
- package/dist/bundled/command-logger/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +65 -65
- package/dist/{call-CzoM7hPS.js → call-CmAGfSJE.js} +10 -10
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-CiCkIxCu.js → channel-account-context-DNFdIaSr.js} +7 -6
- package/dist/{channel-account-context-D0zX-Gup.js → channel-account-context-etfgJrr_.js} +2 -1
- package/dist/{channel-activity-Btz1t5_1.js → channel-activity-D81g48kD.js} +3 -3
- package/dist/{channel-options-DLPoMi6B.js → channel-options-6JzQN9nt.js} +3 -3
- package/dist/{channel-selection-D8KYuWir.js → channel-selection-DGtYwfd7.js} +1 -1
- package/dist/{channel-web-BMZ_oZSK.js → channel-web-oQImOucb.js} +18 -18
- package/dist/{channels-cli-sNDA9BU2.js → channels-cli-CzLX8jUv.js} +95 -95
- package/dist/{channels-status-issues-5n9kobSz.js → channels-status-issues-BMNB2aMG.js} +1 -1
- package/dist/{chrome-DX1blHAJ.js → chrome-CjTE-vWv.js} +18 -18
- package/dist/{chrome-DuDCGdf-.js → chrome-DeZyLFsG.js} +4 -4
- package/dist/{chrome-CuMCXCQN.js → chrome-xatreDUO.js} +8 -8
- package/dist/{chunk-DEkdXze6.js → chunk-DtYb6TYl.js} +1 -1
- package/dist/{clawbot-cli-SIY_fH-I.js → clawbot-cli-H1Uj0ifV.js} +5 -5
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-Cjv-J_yg.js → cli-C2xvYknT.js} +76 -76
- package/dist/{client-BvL3EdiZ.js → client-vUKV2o6h.js} +2 -2
- package/dist/{command-registry-KfIoXPZE.js → command-registry-QcrBU_9X.js} +13 -13
- package/dist/{commands-C67IbXs7.js → commands-d8L0zY8O.js} +1 -1
- package/dist/{commands-registry-D0_D5hFV.js → commands-registry-C78O6aNi.js} +3 -3
- package/dist/{commands-registry-BQkQRhEo.js → commands-registry-NIsv9Z4R.js} +5 -5
- package/dist/{completion-cli-iCWrVHvc.js → completion-cli-BkWPjJyP.js} +13 -13
- package/dist/{completion-cli-SYxZGwWD.js → completion-cli-VWIJWtLM.js} +1 -1
- package/dist/{config-cli-5lP-lwj0.js → config-cli-B4WnAVfw.js} +7 -7
- package/dist/{config-guard-t_xLf16g.js → config-guard-RZw5NkPK.js} +3 -3
- package/dist/{config-validation-DkA3FBg8.js → config-validation-tb90Bzho.js} +3 -3
- package/dist/{configure-hI0hAw1W.js → configure-DuwIk56q.js} +17 -17
- package/dist/control-ui/assets/{index-DPyUb7lL.css → index-B5WC_0Be.css} +1 -1
- package/dist/control-ui/assets/{index-BlqD_sH7.js → index-DmJK8e2M.js} +2 -2
- package/dist/control-ui/assets/index-DmJK8e2M.js.map +1 -0
- package/dist/control-ui/index.html +2 -2
- package/dist/{control-ui-assets-M84PR-kz.js → control-ui-assets-Czpjuiah.js} +1 -1
- package/dist/{cron-cli-Bg88aQ8Y.js → cron-cli-D5MnhB5f.js} +12 -12
- package/dist/{daemon-cli-CFnqQB6M.js → daemon-cli-oCVkh3bg.js} +15 -15
- package/dist/{daemon-install-helpers-C1iBqd73.js → daemon-install-helpers-D5tste0V.js} +11 -11
- package/dist/{daemon-install-CdoMSH6S.js → daemon-install-vQ6KespE.js} +4 -4
- package/dist/{dashboard-CYa-ISxZ.js → dashboard-BstU6qkZ.js} +2 -2
- package/dist/{deliver-DTgCZWjU.js → deliver-H0xCFj4j.js} +7 -7
- package/dist/{deliver-Dyh8ZsLI.js → deliver-Z7543EnP.js} +1 -1
- package/dist/{deliver-C82Egs0W.js → deliver-xY3h9X6N.js} +22 -22
- package/dist/{devices-cli-9aOy3d7K.js → devices-cli-D6b6S-Iy.js} +8 -8
- package/dist/{diagnostic-DpOlXoSr.js → diagnostic-BO1GQJJf.js} +2 -2
- package/dist/{diagnostic-Bvatw1Xn.js → diagnostic-DjxUqpmL.js} +1 -1
- package/dist/{diagnostics-DooDWHeF.js → diagnostics-vLzdmcgg.js} +5 -5
- package/dist/{directory-cli-Rk2cBm0A.js → directory-cli-D3o7BGMd.js} +8 -8
- package/dist/{dns-cli-BXhJBWtC.js → dns-cli-B5kqVfFd.js} +5 -5
- package/dist/{dock-DT8sACcR.js → dock-CoclJnwp.js} +4 -4
- package/dist/{dock-DWqb4ufG.js → dock-Cr9V9V1V.js} +6 -6
- package/dist/{docs-cli-D606Eb-M.js → docs-cli-CyjlhZAj.js} +4 -4
- package/dist/{doctor-completion-C7FCLVKC.js → doctor-completion-DGNL86eP.js} +1 -1
- package/dist/{doctor-completion-DNAwhmlY.js → doctor-completion-SBDS3edN.js} +2 -2
- package/dist/{doctor-config-flow-ePZ7ejQj.js → doctor-config-flow-DclZbGUP.js} +15 -15
- package/dist/{enable-CnvIWic7.js → enable-CKAw_GCd.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{env-Bn6pmvjK.js → env-DNMZEG57.js} +2 -2
- package/dist/{errors-azBrKJmF.js → errors-DEkWxItM.js} +1 -1
- package/dist/{exec-approvals-allowlist-B4DS6FIn.js → exec-approvals-allowlist-CFjPSbxI.js} +1 -1
- package/dist/{exec-approvals-cli-Czp8csm7.js → exec-approvals-cli-U46MdeMi.js} +16 -16
- package/dist/{exec-safe-bin-runtime-policy-BP6ImlkB.js → exec-safe-bin-runtime-policy-CpMj95vJ.js} +2 -2
- package/dist/extensionAPI.js +6 -6
- package/dist/{fetch-B82CeaHJ.js → fetch--iXu7oa7.js} +5 -5
- package/dist/{fetch-DC-NMnAU.js → fetch-DOjg912W.js} +3 -3
- package/dist/{fetch-guard-CCLWHwu7.js → fetch-guard-CNvY0vzQ.js} +2 -2
- package/dist/{fetch-guard-B62rgaSw.js → fetch-guard-Csbz9pui.js} +1 -1
- package/dist/{frontmatter-5U1LYLH9.js → frontmatter-DIRc-IR1.js} +2 -2
- package/dist/{fs-safe-CJDtl_QU.js → fs-safe-BqJ9egpm.js} +24 -24
- package/dist/{fs-safe-BDR6eQAw.js → fs-safe-D8x_nIIA.js} +4 -4
- package/dist/{gateway-cli-BKhQZ6rL.js → gateway-cli-ADJ8WFzB.js} +267 -93
- package/dist/{gateway-cli-Cb1IDsaH.js → gateway-cli-D5wMqxbT.js} +423 -249
- package/dist/{gateway-rpc-BgV_ZJ92.js → gateway-rpc-DFqEAyI_.js} +1 -1
- package/dist/{github-copilot-token-CPjAmbfr.js → github-copilot-token-DLGN-8YS.js} +7 -7
- package/dist/{health-DugDjq1f.js → health-Dzwp2cfK.js} +14 -14
- package/dist/{hooks-cli-VjmNvsLG.js → hooks-cli-DKAhHxZp.js} +84 -84
- package/dist/{hooks-status-DE20AAEu.js → hooks-status-6tcOdcYp.js} +1 -1
- package/dist/{image-BfqphdQM.js → image-BjuH1GKB.js} +5 -5
- package/dist/{image-BQ1JgwZu.js → image-DCyaYY2d.js} +6 -6
- package/dist/{image-DihIv8Eo.js → image-DQV2jl6F.js} +1 -1
- package/dist/{image-ops-jvmQoiyw.js → image-ops-B2L37gT8.js} +12 -12
- package/dist/{image-ops-BGTBZMuE.js → image-ops-DCpyia_K.js} +3 -3
- package/dist/index.js +1 -1
- package/dist/{inspect-DeP74OJO.js → inspect-DJUXn0vX.js} +4 -4
- package/dist/{install-safe-path-CWo3RPkH.js → install-safe-path-DVQh7rEs.js} +25 -25
- package/dist/{installs-BYqcA-ke.js → installs-jXfyPi74.js} +9 -9
- package/dist/{internal-hooks-oLQ2m8YT.js → internal-hooks-yQe6H47q.js} +1 -1
- package/dist/{ipv4-BB1Ro6so.js → ipv4-DQS0lTwQ.js} +1 -1
- package/dist/{ir-BODD8g-I.js → ir-BZUjdf-6.js} +6 -6
- package/dist/{ir-DziC-P4Z.js → ir-CEwBpxhC.js} +6 -6
- package/dist/{issue-format-CqVkT3gT.js → issue-format-NBMJ5xAP.js} +1 -1
- package/dist/{json-files-CuJjdF_0.js → json-files-rR19q30D.js} +8 -8
- package/dist/{lifecycle-core-DAWYYqJl.js → lifecycle-core-oTVOKNSW.js} +5 -5
- package/dist/llm-slug-generator.js +65 -65
- package/dist/{logger-DelEB7MK.js → logger-BlH5MJiV.js} +1 -1
- package/dist/{login-Cm2zDfEU.js → login-CgEHUE7h.js} +6 -6
- package/dist/{login-CYfV0FRr.js → login-I5RlwiJn.js} +3 -3
- package/dist/{login-qr-DUSyrCPW.js → login-qr-CRjZn3ix.js} +6 -6
- package/dist/{login-qr-iS1jPDpP.js → login-qr-DUJfhbUe.js} +13 -13
- package/dist/{logs-cli--IqfO6Fs.js → logs-cli-D2-73CiV.js} +9 -9
- package/dist/{manager-DdzkWOvc.js → manager-BNuB9clC.js} +15 -15
- package/dist/{manager-7hZXEYTj.js → manager-DWpiNvlg.js} +14 -14
- package/dist/{manifest-registry-Kbw8YPsZ.js → manifest-registry-CBF8Vfz8.js} +1 -1
- package/dist/{markdown-tables-pfs_NCNh.js → markdown-tables-BHONoo6S.js} +1 -1
- package/dist/{markdown-tables-BYHgyUjA.js → markdown-tables-DQlQMRGZ.js} +1 -1
- package/dist/{memory-cli-CuT-iG2F.js → memory-cli-BUrf60e_.js} +12 -12
- package/dist/{message-channel-POuk6EOq.js → message-channel-Dl8dSs0T.js} +1 -1
- package/dist/{model-DmBmzJI6.js → model-DMZUvZJo.js} +2 -2
- package/dist/{model-catalog-D1X8r3WJ.js → model-catalog-DFi9HgWu.js} +3 -3
- package/dist/{model-picker-CrYHvOZH.js → model-picker-DFyoaAce.js} +4 -4
- package/dist/{model-selection-DfZMxaX3.js → model-selection-D_Si2Ict.js} +44 -44
- package/dist/{models-BwUaRaeh.js → models-B-VHfTz-.js} +18 -18
- package/dist/{models-cli-DPvtAoJ-.js → models-cli-DQBbzn_p.js} +81 -81
- package/dist/{models-config-CmrBGsQs.js → models-config-AePb9RAo.js} +6 -6
- package/dist/{net-BXeYv7Iu.js → net-C75G4fup.js} +2 -2
- package/dist/{node-cli-Co4McDQy.js → node-cli-UnJ5obvj.js} +33 -33
- package/dist/{node-command-policy-D7hSN9B8.js → node-command-policy-DMwxqhrG.js} +1 -1
- package/dist/{node-service-CzRylWgI.js → node-service-83OYUi14.js} +1 -1
- package/dist/{nodes-cli-wABD1dZs.js → nodes-cli-U66EhW5E.js} +16 -16
- package/dist/{nodes-screen-DcxCMjOs.js → nodes-screen-BHwVUMr8.js} +7 -7
- package/dist/{npm-pack-install-BGN-e1vW.js → npm-pack-install-1gsZywqI.js} +18 -18
- package/dist/{npm-resolution-Dp9ywE7U.js → npm-resolution-ZwcMp-e1.js} +5 -5
- package/dist/{onboard-tlfs9gUN.js → onboard-1RaJpuJ4.js} +1 -1
- package/dist/{onboard-DfDL2v89.js → onboard-Ce_QcPvd.js} +6 -6
- package/dist/{onboard-channels-CjyJiI4i.js → onboard-channels-BLL6tVVk.js} +20 -20
- package/dist/{onboard-custom-WfZ3J4O7.js → onboard-custom-CltkNK3c.js} +3 -3
- package/dist/{onboard-custom.shared-D52ggtQF.js → onboard-custom.shared-CXzE62ZH.js} +2 -2
- package/dist/{onboard-helpers-CczYNQDJ.js → onboard-helpers-D8lLbK3A.js} +11 -11
- package/dist/{onboard-hooks-o0B0p8tR.js → onboard-hooks-DBif0Jq8.js} +4 -4
- package/dist/{onboard-remote-DTz_Z9Xl.js → onboard-remote-DpEjARZa.js} +3 -3
- package/dist/{onboard-skills-D70PenD-.js → onboard-skills-CL0tHf_N.js} +4 -4
- package/dist/{onboarding-H5cLNUFG.js → onboarding-Rub9MXWB.js} +1 -1
- package/dist/{onboarding-DNV-TKzA.js → onboarding-WDRpEgra.js} +13 -13
- package/dist/{onboarding.finalize-C6UdLnH3.js → onboarding.finalize-CWYrjSVx.js} +89 -89
- package/dist/{onboarding.finalize-DfZFzt37.js → onboarding.finalize-MTyP_Dr4.js} +3 -3
- package/dist/{onboarding.gateway-config-CnQR4xLI.js → onboarding.gateway-config-Ce8ndMkF.js} +18 -18
- package/dist/{openai-model-default-DqKKq57j.js → openai-model-default-XM-ZB1MD.js} +2 -2
- package/dist/{outbound-Dv-MM4iv.js → outbound-CHyBoNxD.js} +4 -4
- package/dist/{outbound-4q4mbU-Z.js → outbound-DOVV_R6m.js} +7 -7
- package/dist/{outbound-attachment-CBCp1oVQ.js → outbound-attachment-C7sJLSnv.js} +2 -2
- package/dist/{outbound-attachment-CXINK8df.js → outbound-attachment-DM-h2uQ1.js} +2 -2
- package/dist/{pairing-cli-BUHAN0R5.js → pairing-cli-DUMMuvWC.js} +9 -9
- package/dist/{pairing-labels-CFSUHOmk.js → pairing-labels-x4akYNb7.js} +1 -1
- package/dist/{pairing-store-BfzlN-z9.js → pairing-store-rFuiIoGM.js} +3 -3
- package/dist/{path-alias-guards-DfQIjfhB.js → path-alias-guards-CKjKIhQ3.js} +1 -1
- package/dist/{path-alias-guards-Cg9ZP1NN.js → path-alias-guards-laKq24fx.js} +3 -3
- package/dist/{path-safety-tZSbJG67.js → path-safety-BxYB92SS.js} +1 -1
- package/dist/{paths-BjoSX1aC.js → paths-B_L2Zoe-.js} +9 -9
- package/dist/{paths-BZO1jkK2.js → paths-Cpu0XgUj.js} +3 -3
- package/dist/{paths-DKuX7-1L.js → paths-aGRLvQx9.js} +5 -5
- package/dist/{pi-embedded-xCcmCTnf.js → pi-embedded-CZAvX74y.js} +22 -22
- package/dist/{pi-embedded-DiUmkZyz.js → pi-embedded-DE3hb87F.js} +178 -178
- package/dist/{pi-embedded-helpers-C3sJPGXn.js → pi-embedded-helpers-BB2whkUz.js} +6 -6
- package/dist/{pi-embedded-helpers-CuwhW4u9.js → pi-embedded-helpers-CMTVhLjq.js} +29 -29
- package/dist/{pi-embedded-helpers-Bmj18lhA.js → pi-embedded-helpers-DK1ft2pf.js} +3 -3
- package/dist/{pi-model-discovery-COjkql-U.js → pi-model-discovery-DCIw1y1c.js} +7 -7
- package/dist/{pi-model-discovery-BZ2RCD_u.js → pi-model-discovery-RrejIg26.js} +1 -1
- package/dist/{pi-tools.policy-BH0D2kX0.js → pi-tools.policy-DRW8ya1z.js} +5 -5
- package/dist/{plugin-auto-enable-DER6qA6X.js → plugin-auto-enable-S_lBQAKI.js} +3 -3
- package/dist/{plugin-registry-CmucB2C0.js → plugin-registry-C2g1aLrK.js} +3 -3
- package/dist/{plugins-vsjS_m58.js → plugins-C4cYqW07.js} +2 -2
- package/dist/{plugins-D63QYxW6.js → plugins-CJoaoIHc.js} +11 -11
- package/dist/{plugins-cli-DJFtia9f.js → plugins-cli-Cdug93Mi.js} +86 -86
- package/dist/{ports-sCOQUaAP.js → ports-DRaxdQmm.js} +2 -2
- package/dist/{ports-zWusnrvP.js → ports-tfS1haOJ.js} +1 -1
- package/dist/{program-BkK1YIQS.js → program-L4hhvW67.js} +84 -84
- package/dist/{program-context-CFNQpYpG.js → program-context-BEPxCThZ.js} +7 -7
- package/dist/{prompt-select-styled-DlC5a1xd.js → prompt-select-styled-CYmsrkR3.js} +39 -39
- package/dist/{prompt-select-styled-DGdjezC8.js → prompt-select-styled-DTqU-r5T.js} +3 -3
- package/dist/{provider-auth-helpers-CJ2_W1oy.js → provider-auth-helpers-CNkIHUuF.js} +5 -5
- package/dist/{proxy-jINniQBi.js → proxy-DfJJLvch.js} +1 -1
- package/dist/{proxy-env-vYAjKL5q.js → proxy-env-BnDt8j9F.js} +1 -1
- package/dist/{proxy-env-BQIJPH4j.js → proxy-env-BoopXu2J.js} +1 -1
- package/dist/{proxy-fetch-AvkSvetA.js → proxy-fetch-xlbVQYN_.js} +1 -1
- package/dist/{push-apns-BKjyYFyk.js → push-apns-DRX0c6-y.js} +5 -5
- package/dist/{pw-ai-pqeoAqm_.js → pw-ai-CMUrm_kS.js} +1 -1
- package/dist/{pw-ai-BLNiRUPI.js → pw-ai-DGwA7iCM.js} +17 -17
- package/dist/{pw-ai-ITbRRqVN.js → pw-ai-DyGZ1pXu.js} +15 -15
- package/dist/{qmd-manager-BNohLpRA.js → qmd-manager-Bo22w5wm.js} +20 -20
- package/dist/{qmd-manager-BBKfRzj-.js → qmd-manager-CeN3N992.js} +11 -11
- package/dist/{qr-cli-D-LqDNlm.js → qr-cli-EHSe4TmR.js} +1 -1
- package/dist/{query-expansion-BrM3X6-L.js → query-expansion-Ba9OpCm9.js} +12 -12
- package/dist/{query-expansion-2BrixCA2.js → query-expansion-CGnW4Mk_.js} +5 -5
- package/dist/{redact-uUggP88O.js → redact-ScShueoF.js} +1 -1
- package/dist/{redact-snapshot-D3QFNQl8.js → redact-snapshot-kY3aFpcF.js} +1 -1
- package/dist/{register.agent-C3K3DXul.js → register.agent-CaCz2lnX.js} +97 -97
- package/dist/register.configure-BHL2CNOY.js +174 -0
- package/dist/{register.init-ClMzXUKm.js → register.init-D4hlhvsq.js} +15 -15
- package/dist/{register.maintenance-Bb8amfJh.js → register.maintenance-DsxNo00b.js} +6 -6
- package/dist/{register.maintenance-zsZrRIaB.js → register.maintenance-MJR5bDWC.js} +99 -99
- package/dist/{register.message-CfRd6EM2.js → register.message-ChJGE4xV.js} +77 -77
- package/dist/{register.onboard-qFRFDsPK.js → register.onboard-4aB9FmjK.js} +2 -2
- package/dist/{register.onboard-BFM29BaY.js → register.onboard-CRCrMN8O.js} +18 -18
- package/dist/{register.setup-D0E9z_QW.js → register.setup-CCPeU8WO.js} +2 -2
- package/dist/{register.setup-Caqvvqmm.js → register.setup-DqRNRiXi.js} +21 -21
- package/dist/{register.start-CrwDVujg.js → register.start-D3IRihbV.js} +17 -17
- package/dist/{register.status-health-sessions-CWb4-Kgs.js → register.status-health-sessions-EhCB2a7v.js} +3 -3
- package/dist/{register.status-health-sessions-BBEF4th9.js → register.status-health-sessions-zD3z2YuT.js} +91 -91
- package/dist/{register.subclis-rB1Roe3w.js → register.subclis-D12iC4nF.js} +31 -31
- package/dist/{registry-C2GEGa2t.js → registry-CJCkqTms.js} +3 -3
- package/dist/{replies-Ckd7Lwt0.js → replies-BDnb0prE.js} +1 -1
- package/dist/{replies-yAf6dFeT.js → replies-BFYGUEKu.js} +3 -3
- package/dist/{reply-prefix-9mzt89Cf.js → reply-prefix-DK1i6bCJ.js} +1 -1
- package/dist/{reply-prefix-DpXMFuAa.js → reply-prefix-H_GSyyzN.js} +1 -1
- package/dist/{resolve-route-Cnto8LMw.js → resolve-route-ByAwAiq5.js} +2 -2
- package/dist/{resolve-route-BNElrVxR.js → resolve-route-C5hVstLo.js} +4 -4
- package/dist/{retry-Ayb7e4XG.js → retry-DTeP7C3h.js} +1 -1
- package/dist/{rpc-9G93KhBv.js → rpc-Bzb0JMJ_.js} +1 -1
- package/dist/{run-main-C02l3ZhV.js → run-main-C_fGUv-Y.js} +95 -95
- package/dist/{runtime-BI0xjrHi.js → runtime-Cx-7xFzl.js} +2 -2
- package/dist/{sandbox-CLIUxOtc.js → sandbox-BLqUWbp2.js} +18 -18
- package/dist/{sandbox-cli-MjHZjW2w.js → sandbox-cli-CEriRvUh.js} +26 -26
- package/dist/{secrets-cli-BFU9jh2A.js → secrets-cli-DG-NG8PH.js} +10 -10
- package/dist/{security-cli-DIfmEZrw.js → security-cli-C_Bc1U-7.js} +43 -43
- package/dist/{send-Bclgg0Ur.js → send-B4pSMBHk.js} +8 -8
- package/dist/{send-e1X1pfda.js → send-BCLu4NEE.js} +6 -6
- package/dist/{send-BpXRh0BM.js → send-BTswySBz.js} +11 -11
- package/dist/{send-Bjaa69Cy.js → send-BqKSZyIb.js} +27 -27
- package/dist/{send-DYY51FOR.js → send-CN0f1Yst.js} +6 -6
- package/dist/{send-CQJKPGw4.js → send-CZ2O-5pP.js} +6 -6
- package/dist/{send-sj8Hu26l.js → send-D0X-8aPh.js} +8 -8
- package/dist/{send-Cp0yQi_p.js → send-V3fEVmLq.js} +10 -10
- package/dist/{send-DQ7hIAIK.js → send-XAO1mk64.js} +7 -7
- package/dist/{send-Cpaj_bKB.js → send-ZyB64ntO.js} +5 -5
- package/dist/{server-DbB5aXZq.js → server-CzDsmd9g.js} +19 -19
- package/dist/{server-context-DnPsW_Mg.js → server-context-DRq_OT33.js} +12 -12
- package/dist/{server-lifecycle-B2y6Fg7R.js → server-lifecycle-CcYnyYPQ.js} +2 -2
- package/dist/{server-middleware-CKSnhiM2.js → server-middleware-DHxnFjIL.js} +1 -1
- package/dist/{server-node-events-BwnXBzS2.js → server-node-events-B5xSV7Kq.js} +77 -77
- package/dist/{service-Wk285d-R.js → service-CZORJG4z.js} +15 -15
- package/dist/{session-meta-DF1WT4cr.js → session-meta-Cew1QAYN.js} +1 -1
- package/dist/{session-meta-CyQWVUk4.js → session-meta-Cqv55kSk.js} +2 -2
- package/dist/{session-DNbfXbBi.js → session-nilNSQEL.js} +1 -1
- package/dist/{session-utils-BncMg1bn.js → session-utils-DxaIoRMp.js} +6 -6
- package/dist/{session-TVb8hgJP.js → session-xKPVUYQP.js} +9 -9
- package/dist/{sessions-B2mnwD21.js → sessions-BXz4gdq6.js} +15 -15
- package/dist/{sessions-3jroJwu7.js → sessions-CA_BydGA.js} +31 -31
- package/dist/{sessions-C2Xfck_9.js → sessions-DhD3eJDE.js} +4 -4
- package/dist/{shared-CJN2BLdi.js → shared-BZscafy-.js} +1 -1
- package/dist/{shared-BAdi_Ot7.js → shared-DvHQekWm.js} +3 -3
- package/dist/{skill-commands-CSr9_48V.js → skill-commands-CZFmIM-s.js} +9 -9
- package/dist/{skill-commands-CYucDd3C.js → skill-commands-Cpr3Poo2.js} +5 -5
- package/dist/{skill-scanner-BXOiOvI1.js → skill-scanner-0-AybMIe.js} +6 -6
- package/dist/{skills-BCgFAMj3.js → skills-D4S-gyVf.js} +3 -3
- package/dist/{skills-B82IjVxn.js → skills-DMmr25nW.js} +22 -22
- package/dist/{skills-cli-CwbRKLum.js → skills-cli-B0jFsoo4.js} +5 -5
- package/dist/{skills-install-BQyeS7wB.js → skills-install-C6-Zzqoi.js} +6 -6
- package/dist/{skills-status-DG-bH5mO.js → skills-status-DQzBD0Y7.js} +1 -1
- package/dist/{status-B4v5QI5X.js → status-BfWqYNJf.js} +2 -2
- package/dist/{status-XGYDzhkW.js → status-Dw7ag8qn.js} +26 -26
- package/dist/{status.update-n2QPQr8w.js → status.update-B6whKviL.js} +2 -2
- package/dist/{status.update-DIamQqHr.js → status.update-C8qgou8r.js} +1 -1
- package/dist/{store-DhC72KqW.js → store-C8KgeMt2.js} +2 -2
- package/dist/{store-U8cs0QvT.js → store-TdzSHRPN.js} +5 -5
- package/dist/{subagent-registry-WD5F6cBf.js → subagent-registry-D6OfBLNb.js} +156 -156
- package/dist/{subsystem-CAatx5oo.js → subsystem-BRjuJbbM.js} +14 -14
- package/dist/{system-cli-C_5YHHhF.js → system-cli-BoamUpxz.js} +9 -9
- package/dist/{system-run-command-GKGzGztn.js → system-run-command-XHAlbx5q.js} +1 -1
- package/dist/{systemd-Dbwmb4TX.js → systemd-C4JtDaKk.js} +9 -9
- package/dist/{systemd-hints-VM2JkQxw.js → systemd-hints-ZHrBbXDd.js} +6 -6
- package/dist/{systemd-linger-DoeP9Z3f.js → systemd-linger-CD4viBmg.js} +1 -1
- package/dist/{tables-Bfh_TnCf.js → tables-BKnPZssn.js} +1 -1
- package/dist/{tables-DVXe5x1J.js → tables-BOsRa7CS.js} +1 -1
- package/dist/{tailnet-C1XBcWue.js → tailnet-CfP3A6g2.js} +1 -1
- package/dist/{target-errors-CGYXYvSZ.js → target-errors-B9Jzop3d.js} +2 -2
- package/dist/{target-errors-C5LA-JI-.js → target-errors-DPJ9HFp9.js} +4 -4
- package/dist/{tokens-BvzZdrVJ.js → tokens-B9EDT4jv.js} +1 -1
- package/dist/{tool-images-CnpAosfi.js → tool-images-CmgHk8xk.js} +1 -1
- package/dist/{tool-images-CqsWnc1k.js → tool-images-ffdfBx0b.js} +2 -2
- package/dist/{tool-loop-detection-C4V990MS.js → tool-loop-detection-CLoYKYIq.js} +3 -3
- package/dist/{tui-kOoc7WBf.js → tui-GWJMI53u.js} +6 -6
- package/dist/{tui-cli-DeTfdnEG.js → tui-cli-CMrxH2Q_.js} +33 -33
- package/dist/{update-DFr19tQ1.js → update-CDWJ50iD.js} +3 -3
- package/dist/{update-cli-CUSnVFt4.js → update-cli-Dw_JHcRy.js} +22 -14
- package/dist/{update-cli-BlswPThb.js → update-cli-r3eyhSgp.js} +122 -114
- package/dist/{update-runner-CX6jOI_r.js → update-runner-CHxTFtW8.js} +34 -22
- package/dist/{update-runner-BA9B0S60.js → update-runner-CJua_LZ3.js} +19 -7
- package/dist/{utils-Bo1RFF0l.js → utils-BFZnl-5N.js} +6 -6
- package/dist/{web-DsAoa63g.js → web-B2_c07KN.js} +69 -69
- package/dist/web-B4yuhy9a.js +125 -0
- package/dist/{web-CvYmNThc.js → web-De45Xhd1.js} +6 -6
- package/dist/{webhooks-cli-DLgCJq4n.js → webhooks-cli-B09BdLSk.js} +6 -6
- package/dist/{whatsapp-actions-DXjy9m41.js → whatsapp-actions-CHt12z-f.js} +28 -28
- package/dist/{whatsapp-actions-B81EJMQI.js → whatsapp-actions-DUoWY7mE.js} +19 -19
- package/dist/{with-timeout-l0X_rwcb.js → with-timeout-B9qgOUui.js} +3 -3
- package/dist/{workspace-DWBFoy1G.js → workspace-A5CNJccm.js} +1 -1
- package/dist/{workspace-CswOYN9T.js → workspace-D6mrCnXi.js} +21 -21
- package/dist/{workspace-BHfqkuYN.js → workspace-DzeL98px.js} +23 -23
- package/dist/{workspace-dirs-BOgNOBjy.js → workspace-dirs-Bevk6X_8.js} +1 -1
- package/dist/{wsl-BDRu1-pk.js → wsl-DksyFTBT.js} +2 -2
- package/docs/install/index.md +12 -12
- package/docs/install/updating.md +32 -33
- package/docs/plans/2026-03-11-bitseek-update-package-design.md +25 -0
- package/package.json +1 -1
- package/dist/control-ui/assets/index-BlqD_sH7.js.map +0 -1
- package/dist/register.configure-aJItV_ZP.js +0 -174
- package/dist/web-DNL22pwf.js +0 -125
|
@@ -2,11 +2,11 @@ import { p as theme } from "./globals-B68W7uN8.js";
|
|
|
2
2
|
import { S as resolveCliName, g as resolveStateDir, n as DEFAULT_GATEWAY_PORT, u as resolveGatewayPort, x as replaceCliName } from "./paths-BnKiOk2S.js";
|
|
3
3
|
import { d as defaultRuntime } from "./subsystem-DjdBljTA.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
|
-
import { P as readConfigFileSnapshot, R as writeConfigFile } from "./auth-profiles-
|
|
5
|
+
import { P as readConfigFileSnapshot, R as writeConfigFile } from "./auth-profiles-CyG9VwU_.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-CVXyxgq3.js";
|
|
7
|
-
import "./agent-scope-
|
|
7
|
+
import "./agent-scope-CY2-lUIY.js";
|
|
8
8
|
import { m as pathExists } from "./utils-DIzy5B5o.js";
|
|
9
|
-
import { y as resolveOpenClawPackageRoot } from "./workspace-
|
|
9
|
+
import { y as resolveOpenClawPackageRoot } from "./workspace-DzeL98px.js";
|
|
10
10
|
import "./logger-BJMfryJd.js";
|
|
11
11
|
import { t as runCommandWithTimeout } from "./exec-CEAvKSx9.js";
|
|
12
12
|
import "./github-copilot-token-CulJ9J5l.js";
|
|
@@ -14,151 +14,151 @@ import "./host-env-security-CJMD0__Z.js";
|
|
|
14
14
|
import "./version-CGDNfh5C.js";
|
|
15
15
|
import "./env-vars-Dw0EwyGP.js";
|
|
16
16
|
import "./registry-7fg1BnMw.js";
|
|
17
|
-
import "./manifest-registry-
|
|
18
|
-
import "./dock-
|
|
19
|
-
import "./model-
|
|
20
|
-
import "./pi-model-discovery-
|
|
17
|
+
import "./manifest-registry-CBF8Vfz8.js";
|
|
18
|
+
import "./dock-CoclJnwp.js";
|
|
19
|
+
import "./model-DMZUvZJo.js";
|
|
20
|
+
import "./pi-model-discovery-RrejIg26.js";
|
|
21
21
|
import "./frontmatter-C0E8mspC.js";
|
|
22
|
-
import "./skills-
|
|
23
|
-
import "./path-alias-guards-
|
|
24
|
-
import "./skills-status-
|
|
22
|
+
import "./skills-D4S-gyVf.js";
|
|
23
|
+
import "./path-alias-guards-laKq24fx.js";
|
|
24
|
+
import "./skills-status-DQzBD0Y7.js";
|
|
25
25
|
import "./message-channel-0J6eKf3g.js";
|
|
26
|
-
import "./sessions-
|
|
27
|
-
import "./plugins-
|
|
28
|
-
import "./accounts-
|
|
29
|
-
import "./accounts-
|
|
26
|
+
import "./sessions-BXz4gdq6.js";
|
|
27
|
+
import "./plugins-C4cYqW07.js";
|
|
28
|
+
import "./accounts-Cv5CUnT4.js";
|
|
29
|
+
import "./accounts-2NNZ6Hbp.js";
|
|
30
30
|
import "./logging-5MtSkLpb.js";
|
|
31
|
-
import "./accounts-
|
|
32
|
-
import "./bindings-
|
|
33
|
-
import "./send-
|
|
34
|
-
import "./send-
|
|
35
|
-
import { Nt as trimLogTail } from "./subagent-registry-
|
|
31
|
+
import "./accounts-NHpMJ0aq.js";
|
|
32
|
+
import "./bindings-DGvp9FdD.js";
|
|
33
|
+
import "./send-ZyB64ntO.js";
|
|
34
|
+
import "./send-BTswySBz.js";
|
|
35
|
+
import { Nt as trimLogTail } from "./subagent-registry-D6OfBLNb.js";
|
|
36
36
|
import "./paths-CTtLmER4.js";
|
|
37
37
|
import "./chat-envelope-D3RSz140.js";
|
|
38
|
-
import "./client-
|
|
39
|
-
import "./call-
|
|
38
|
+
import "./client-vUKV2o6h.js";
|
|
39
|
+
import "./call-CmAGfSJE.js";
|
|
40
40
|
import "./pairing-token-DoBZxQnC.js";
|
|
41
|
-
import "./net-
|
|
42
|
-
import "./tailnet-
|
|
41
|
+
import "./net-C75G4fup.js";
|
|
42
|
+
import "./tailnet-CfP3A6g2.js";
|
|
43
43
|
import "./tokens-DyLBF_df.js";
|
|
44
|
-
import "./with-timeout-
|
|
45
|
-
import "./deliver-
|
|
46
|
-
import "./diagnostic-
|
|
44
|
+
import "./with-timeout-B9qgOUui.js";
|
|
45
|
+
import "./deliver-H0xCFj4j.js";
|
|
46
|
+
import "./diagnostic-DjxUqpmL.js";
|
|
47
47
|
import "./diagnostic-session-state-Dx-rJXBO.js";
|
|
48
|
-
import "./send-
|
|
49
|
-
import "./image-ops-
|
|
50
|
-
import "./pi-embedded-helpers-
|
|
51
|
-
import "./sandbox-
|
|
48
|
+
import "./send-D0X-8aPh.js";
|
|
49
|
+
import "./image-ops-B2L37gT8.js";
|
|
50
|
+
import "./pi-embedded-helpers-BB2whkUz.js";
|
|
51
|
+
import "./sandbox-BLqUWbp2.js";
|
|
52
52
|
import "./tool-catalog-uQj_-Ahx.js";
|
|
53
|
-
import "./chrome-
|
|
53
|
+
import "./chrome-DeZyLFsG.js";
|
|
54
54
|
import "./tailscale-D3xGoMdQ.js";
|
|
55
|
-
import "./auth-
|
|
56
|
-
import "./server-context-
|
|
57
|
-
import "./paths-
|
|
55
|
+
import "./auth-anvTU0Sb.js";
|
|
56
|
+
import "./server-context-DRq_OT33.js";
|
|
57
|
+
import "./paths-B_L2Zoe-.js";
|
|
58
58
|
import "./redact-Ck5U_y4i.js";
|
|
59
59
|
import "./errors-BJz45-qI.js";
|
|
60
|
-
import "./fs-safe-
|
|
61
|
-
import "./proxy-env-
|
|
62
|
-
import "./store-
|
|
63
|
-
import "./ports-
|
|
60
|
+
import "./fs-safe-BqJ9egpm.js";
|
|
61
|
+
import "./proxy-env-BoopXu2J.js";
|
|
62
|
+
import "./store-TdzSHRPN.js";
|
|
63
|
+
import "./ports-DRaxdQmm.js";
|
|
64
64
|
import "./trash-ClChDUTf.js";
|
|
65
|
-
import "./server-middleware-
|
|
66
|
-
import "./tool-images-
|
|
65
|
+
import "./server-middleware-DHxnFjIL.js";
|
|
66
|
+
import "./tool-images-CmgHk8xk.js";
|
|
67
67
|
import "./thinking-pYqswKJZ.js";
|
|
68
|
-
import "./models-config-
|
|
69
|
-
import "./exec-approvals-allowlist-
|
|
70
|
-
import "./exec-safe-bin-runtime-policy-
|
|
71
|
-
import "./model-catalog-
|
|
72
|
-
import "./fetch-
|
|
73
|
-
import "./audio-transcription-runner-
|
|
74
|
-
import "./fetch-guard-
|
|
75
|
-
import "./image-
|
|
68
|
+
import "./models-config-AePb9RAo.js";
|
|
69
|
+
import "./exec-approvals-allowlist-CFjPSbxI.js";
|
|
70
|
+
import "./exec-safe-bin-runtime-policy-CpMj95vJ.js";
|
|
71
|
+
import "./model-catalog-DFi9HgWu.js";
|
|
72
|
+
import "./fetch-DOjg912W.js";
|
|
73
|
+
import "./audio-transcription-runner-DkibzFT2.js";
|
|
74
|
+
import "./fetch-guard-Csbz9pui.js";
|
|
75
|
+
import "./image-BjuH1GKB.js";
|
|
76
76
|
import "./tool-display-0M664wep.js";
|
|
77
|
-
import "./api-key-rotation-
|
|
77
|
+
import "./api-key-rotation-Cf7QM5M_.js";
|
|
78
78
|
import "./proxy-fetch-DEHZt1Tx.js";
|
|
79
|
-
import "./reply-prefix-
|
|
79
|
+
import "./reply-prefix-H_GSyyzN.js";
|
|
80
80
|
import "./chunk-kLPohhLl.js";
|
|
81
|
-
import "./markdown-tables-
|
|
82
|
-
import "./ir-
|
|
81
|
+
import "./markdown-tables-DQlQMRGZ.js";
|
|
82
|
+
import "./ir-CEwBpxhC.js";
|
|
83
83
|
import "./render-CXDO_kgw.js";
|
|
84
|
-
import "./target-errors-
|
|
85
|
-
import "./commands-
|
|
86
|
-
import "./commands-registry-
|
|
84
|
+
import "./target-errors-DPJ9HFp9.js";
|
|
85
|
+
import "./commands-d8L0zY8O.js";
|
|
86
|
+
import "./commands-registry-C78O6aNi.js";
|
|
87
87
|
import "./fetch-BM2hI5N6.js";
|
|
88
88
|
import "./retry-DwXRBpwv.js";
|
|
89
|
-
import "./pairing-store-
|
|
89
|
+
import "./pairing-store-rFuiIoGM.js";
|
|
90
90
|
import "./exec-approvals-HRn5F9dF.js";
|
|
91
|
-
import "./nodes-screen-
|
|
92
|
-
import "./system-run-command-
|
|
91
|
+
import "./nodes-screen-BHwVUMr8.js";
|
|
92
|
+
import "./system-run-command-XHAlbx5q.js";
|
|
93
93
|
import { r as formatDurationPrecise } from "./format-duration-B8vujEIl.js";
|
|
94
|
-
import "./session-utils-
|
|
94
|
+
import "./session-utils-DxaIoRMp.js";
|
|
95
95
|
import "./session-cost-usage-BCEcVVJ6.js";
|
|
96
|
-
import "./skill-commands-
|
|
97
|
-
import "./workspace-dirs-
|
|
96
|
+
import "./skill-commands-Cpr3Poo2.js";
|
|
97
|
+
import "./workspace-dirs-Bevk6X_8.js";
|
|
98
98
|
import "./channel-activity-C-cvytUe.js";
|
|
99
|
-
import "./tables-
|
|
99
|
+
import "./tables-BOsRa7CS.js";
|
|
100
100
|
import { f as resolveGatewaySystemdServiceName, l as resolveGatewayLaunchAgentLabel, p as resolveGatewayWindowsTaskName } from "./constants-BLYfoMmL.js";
|
|
101
|
-
import "./server-lifecycle-
|
|
101
|
+
import "./server-lifecycle-CcYnyYPQ.js";
|
|
102
102
|
import "./stagger-Cek4Eizw.js";
|
|
103
|
-
import "./channel-selection-
|
|
104
|
-
import "./plugin-auto-enable-
|
|
105
|
-
import "./send-
|
|
106
|
-
import "./outbound-attachment-
|
|
103
|
+
import "./channel-selection-DGtYwfd7.js";
|
|
104
|
+
import "./plugin-auto-enable-S_lBQAKI.js";
|
|
105
|
+
import "./send-CZ2O-5pP.js";
|
|
106
|
+
import "./outbound-attachment-DM-h2uQ1.js";
|
|
107
107
|
import "./delivery-queue-DhqwvOP8.js";
|
|
108
|
-
import "./send-
|
|
109
|
-
import "./resolve-route-
|
|
110
|
-
import "./pi-tools.policy-
|
|
108
|
+
import "./send-BCLu4NEE.js";
|
|
109
|
+
import "./resolve-route-ByAwAiq5.js";
|
|
110
|
+
import "./pi-tools.policy-DRW8ya1z.js";
|
|
111
111
|
import "./proxy-Dz7xT2Z_.js";
|
|
112
|
-
import "./replies-
|
|
113
|
-
import "./onboard-helpers-
|
|
112
|
+
import "./replies-BDnb0prE.js";
|
|
113
|
+
import "./onboard-helpers-D8lLbK3A.js";
|
|
114
114
|
import { n as stylePromptMessage } from "./prompt-style-CzS6Prvl.js";
|
|
115
|
-
import "./pairing-labels-
|
|
116
|
-
import "./session-meta-
|
|
117
|
-
import "./memory-cli-
|
|
118
|
-
import "./manager-
|
|
119
|
-
import "./query-expansion-
|
|
115
|
+
import "./pairing-labels-x4akYNb7.js";
|
|
116
|
+
import "./session-meta-Cew1QAYN.js";
|
|
117
|
+
import "./memory-cli-BUrf60e_.js";
|
|
118
|
+
import "./manager-DWpiNvlg.js";
|
|
119
|
+
import "./query-expansion-Ba9OpCm9.js";
|
|
120
120
|
import { t as formatDocsLink } from "./links-BDNlbZvM.js";
|
|
121
121
|
import "./cli-utils-k9A6CA1o.js";
|
|
122
122
|
import { t as formatHelpExamples } from "./help-format-B3bKmDqF.js";
|
|
123
123
|
import "./progress-CwQKn0ae.js";
|
|
124
124
|
import { n as inheritOptionFromParent } from "./command-options-ZvhOayEd.js";
|
|
125
125
|
import "./note-B8i7nefS.js";
|
|
126
|
-
import "./install-safe-path-
|
|
127
|
-
import "./npm-pack-install-
|
|
128
|
-
import "./skill-scanner-
|
|
129
|
-
import "./installs-
|
|
130
|
-
import { n as formatConfigIssueLines } from "./issue-format-
|
|
131
|
-
import "./channels-status-issues-
|
|
132
|
-
import { r as installCompletion } from "./completion-cli-
|
|
133
|
-
import "./register.subclis-
|
|
134
|
-
import "./command-registry-
|
|
126
|
+
import "./install-safe-path-DVQh7rEs.js";
|
|
127
|
+
import "./npm-pack-install-1gsZywqI.js";
|
|
128
|
+
import "./skill-scanner-0-AybMIe.js";
|
|
129
|
+
import "./installs-jXfyPi74.js";
|
|
130
|
+
import { n as formatConfigIssueLines } from "./issue-format-NBMJ5xAP.js";
|
|
131
|
+
import "./channels-status-issues-BMNB2aMG.js";
|
|
132
|
+
import { r as installCompletion } from "./completion-cli-BkWPjJyP.js";
|
|
133
|
+
import "./register.subclis-D12iC4nF.js";
|
|
134
|
+
import "./command-registry-QcrBU_9X.js";
|
|
135
135
|
import "./program-context-3Z5CO0jS.js";
|
|
136
|
-
import "./daemon-install-helpers-
|
|
136
|
+
import "./daemon-install-helpers-D5tste0V.js";
|
|
137
137
|
import { r as parseSemver } from "./runtime-guard-Ch9ZniVU.js";
|
|
138
|
-
import "./systemd-
|
|
139
|
-
import { t as resolveGatewayService } from "./service-
|
|
140
|
-
import "./lifecycle-core-
|
|
141
|
-
import "./systemd-hints-
|
|
142
|
-
import { a as terminateStaleGatewayPids, i as renderRestartDiagnostics, o as waitForGatewayHealthyRestart, r as runDaemonRestart, s as runDaemonInstall } from "./daemon-cli-
|
|
143
|
-
import "./diagnostics-
|
|
138
|
+
import "./systemd-C4JtDaKk.js";
|
|
139
|
+
import { t as resolveGatewayService } from "./service-CZORJG4z.js";
|
|
140
|
+
import "./lifecycle-core-oTVOKNSW.js";
|
|
141
|
+
import "./systemd-hints-ZHrBbXDd.js";
|
|
142
|
+
import { a as terminateStaleGatewayPids, i as renderRestartDiagnostics, o as waitForGatewayHealthyRestart, r as runDaemonRestart, s as runDaemonInstall } from "./daemon-cli-oCVkh3bg.js";
|
|
143
|
+
import "./diagnostics-vLzdmcgg.js";
|
|
144
144
|
import { t as renderTable } from "./table-BHL_2Py1.js";
|
|
145
|
-
import "./health-
|
|
146
|
-
import "./control-ui-assets-
|
|
147
|
-
import { a as shouldShowUpdateStatus, i as resolveUpdateAvailability, n as formatUpdateOneLiner, t as formatUpdateAvailableHint } from "./status.update-
|
|
148
|
-
import { _ as resolveUpdateChannelDisplay, c as DEFAULT_GIT_CHANNEL, d as channelToNpmTag, f as formatUpdateChannelLabel, g as resolveEffectiveUpdateChannel, h as normalizeUpdateChannel, i as fetchNpmTagVersion, l as DEFAULT_PACKAGE_CHANNEL, n as checkUpdateStatus, o as resolveNpmChannelTag, r as compareSemverStrings } from "./channel-account-context-
|
|
149
|
-
import { a as globalInstallArgs, c as readPackageName, i as detectGlobalInstallManagerForRoot, l as readPackageVersion, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, r as detectGlobalInstallManagerByPresence, s as normalizePackageTagInput, t as runGatewayUpdate } from "./update-runner-
|
|
145
|
+
import "./health-Dzwp2cfK.js";
|
|
146
|
+
import "./control-ui-assets-Czpjuiah.js";
|
|
147
|
+
import { a as shouldShowUpdateStatus, i as resolveUpdateAvailability, n as formatUpdateOneLiner, t as formatUpdateAvailableHint } from "./status.update-B6whKviL.js";
|
|
148
|
+
import { _ as resolveUpdateChannelDisplay, c as DEFAULT_GIT_CHANNEL, d as channelToNpmTag, f as formatUpdateChannelLabel, g as resolveEffectiveUpdateChannel, h as normalizeUpdateChannel, i as fetchNpmTagVersion, l as DEFAULT_PACKAGE_CHANNEL, n as checkUpdateStatus, o as resolveNpmChannelTag, r as compareSemverStrings } from "./channel-account-context-DNFdIaSr.js";
|
|
149
|
+
import { a as globalInstallArgs, c as readPackageName, i as detectGlobalInstallManagerForRoot, l as readPackageVersion, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, r as detectGlobalInstallManagerByPresence, s as normalizePackageTagInput, t as runGatewayUpdate } from "./update-runner-CHxTFtW8.js";
|
|
150
150
|
import "./logging-DsLC1iR-.js";
|
|
151
|
-
import { n as updateNpmInstalledPlugins, t as syncPluginsForUpdateChannel } from "./update-
|
|
152
|
-
import "./doctor-config-flow-
|
|
151
|
+
import { n as updateNpmInstalledPlugins, t as syncPluginsForUpdateChannel } from "./update-CDWJ50iD.js";
|
|
152
|
+
import "./doctor-config-flow-DclZbGUP.js";
|
|
153
153
|
import "./oauth-tls-preflight-CyE-1Bft.js";
|
|
154
|
-
import "./systemd-linger-
|
|
154
|
+
import "./systemd-linger-CD4viBmg.js";
|
|
155
155
|
import "./health-format-NGoowTz5.js";
|
|
156
|
-
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-
|
|
157
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
156
|
+
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-CYmsrkR3.js";
|
|
157
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-SBDS3edN.js";
|
|
158
158
|
import { spawn, spawnSync } from "node:child_process";
|
|
159
159
|
import path from "node:path";
|
|
160
160
|
import os from "node:os";
|
|
161
|
-
import
|
|
161
|
+
import fsPromises from "node:fs/promises";
|
|
162
162
|
import { confirm, isCancel, spinner } from "@clack/prompts";
|
|
163
163
|
|
|
164
164
|
//#region src/cli/update-cli/shared.ts
|
|
@@ -174,10 +174,18 @@ function parseTimeoutMsOrExit(timeout) {
|
|
|
174
174
|
}
|
|
175
175
|
const OPENCLAW_REPO_URL = "https://github.com/openclaw/openclaw.git";
|
|
176
176
|
const MAX_LOG_CHARS = 8e3;
|
|
177
|
-
const DEFAULT_PACKAGE_NAME = "
|
|
178
|
-
const CORE_PACKAGE_NAMES = new Set([
|
|
177
|
+
const DEFAULT_PACKAGE_NAME = "@bitseek/claw";
|
|
178
|
+
const CORE_PACKAGE_NAMES = new Set([
|
|
179
|
+
DEFAULT_PACKAGE_NAME,
|
|
180
|
+
"openclaw",
|
|
181
|
+
"@bitseek/bitseek-claw"
|
|
182
|
+
]);
|
|
179
183
|
function normalizeTag(value) {
|
|
180
|
-
return normalizePackageTagInput(value, [
|
|
184
|
+
return normalizePackageTagInput(value, [
|
|
185
|
+
DEFAULT_PACKAGE_NAME,
|
|
186
|
+
"openclaw",
|
|
187
|
+
"@bitseek/bitseek-claw"
|
|
188
|
+
]);
|
|
181
189
|
}
|
|
182
190
|
function normalizeVersionTag(tag) {
|
|
183
191
|
const trimmed = tag.trim();
|
|
@@ -195,7 +203,7 @@ async function resolveTargetVersion(tag, timeoutMs) {
|
|
|
195
203
|
}
|
|
196
204
|
async function isGitCheckout(root) {
|
|
197
205
|
try {
|
|
198
|
-
await
|
|
206
|
+
await fsPromises.stat(path.join(root, ".git"));
|
|
199
207
|
return true;
|
|
200
208
|
} catch {
|
|
201
209
|
return false;
|
|
@@ -207,7 +215,7 @@ async function isCorePackage(root) {
|
|
|
207
215
|
}
|
|
208
216
|
async function isEmptyDir(targetPath) {
|
|
209
217
|
try {
|
|
210
|
-
return (await
|
|
218
|
+
return (await fsPromises.readdir(targetPath)).length === 0;
|
|
211
219
|
} catch {
|
|
212
220
|
return false;
|
|
213
221
|
}
|
|
@@ -464,11 +472,11 @@ function inferUpdateFailureHints(result) {
|
|
|
464
472
|
const hints = [];
|
|
465
473
|
if (failedStep.name.startsWith("global update") && stderr.includes("eacces")) {
|
|
466
474
|
hints.push("Detected permission failure (EACCES). Re-run with a writable global prefix or sudo (for system-managed Node installs).");
|
|
467
|
-
hints.push("Example: npm config set prefix ~/.local && npm i -g
|
|
475
|
+
hints.push("Example: npm config set prefix ~/.local && npm i -g @bitseek/claw@latest");
|
|
468
476
|
}
|
|
469
477
|
if (failedStep.name.startsWith("global update") && (stderr.includes("node-gyp") || stderr.includes("@discordjs/opus") || stderr.includes("prebuild"))) {
|
|
470
478
|
hints.push("Detected native optional dependency build failure (e.g. opus). The updater retries with --omit=optional automatically.");
|
|
471
|
-
hints.push("If it still fails: npm i -g
|
|
479
|
+
hints.push("If it still fails: npm i -g @bitseek/claw@latest --omit=optional");
|
|
472
480
|
}
|
|
473
481
|
return hints;
|
|
474
482
|
}
|
|
@@ -647,7 +655,7 @@ del "%~f0"
|
|
|
647
655
|
`;
|
|
648
656
|
} else return null;
|
|
649
657
|
const scriptPath = path.join(tmpDir, filename);
|
|
650
|
-
await
|
|
658
|
+
await fsPromises.writeFile(scriptPath, scriptContent, { mode: 493 });
|
|
651
659
|
return scriptPath;
|
|
652
660
|
} catch {
|
|
653
661
|
return null;
|
|
@@ -1107,7 +1115,7 @@ async function updateCommand(opts) {
|
|
|
1107
1115
|
if (switchToGit) actions.push("Switch install mode from package to git checkout (dev channel)");
|
|
1108
1116
|
else if (switchToPackage) actions.push(`Switch install mode from git to package manager (${mode})`);
|
|
1109
1117
|
else if (updateInstallKind === "git") actions.push(`Run git update flow on channel ${channel} (fetch/rebase/build/doctor)`);
|
|
1110
|
-
else actions.push(`Run global package manager update with spec
|
|
1118
|
+
else actions.push(`Run global package manager update with spec ${DEFAULT_PACKAGE_NAME}@${tag}`);
|
|
1111
1119
|
actions.push("Run plugin update sync after core update");
|
|
1112
1120
|
actions.push("Refresh shell completion cache (if needed)");
|
|
1113
1121
|
actions.push(shouldRestart ? "Restart gateway service and run doctor checks" : "Skip restart (because --no-restart is set)");
|
|
@@ -1212,7 +1220,7 @@ async function updateCommand(opts) {
|
|
|
1212
1220
|
if (result.reason === "dirty") defaultRuntime.log(theme.warn("Skipped: working directory has uncommitted changes. Commit or stash them first."));
|
|
1213
1221
|
if (result.reason === "not-git-install") {
|
|
1214
1222
|
defaultRuntime.log(theme.warn(`Skipped: this OpenClaw install isn't a git checkout, and the package manager couldn't be detected. Update via your package manager, then run \`${replaceCliName(formatCliCommand("openclaw doctor"), CLI_NAME)}\` and \`${replaceCliName(formatCliCommand("openclaw gateway restart"), CLI_NAME)}\`.`));
|
|
1215
|
-
defaultRuntime.log(theme.muted(`Examples:
|
|
1223
|
+
defaultRuntime.log(theme.muted(`Examples: \`npm i -g ${DEFAULT_PACKAGE_NAME}@latest\` or \`pnpm add -g ${DEFAULT_PACKAGE_NAME}@latest\``));
|
|
1216
1224
|
}
|
|
1217
1225
|
defaultRuntime.exit(0);
|
|
1218
1226
|
return;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { m as pathExists } from "./utils-DIzy5B5o.js";
|
|
2
2
|
import { t as runCommandWithTimeout } from "./exec-CEAvKSx9.js";
|
|
3
|
-
import { Nt as trimLogTail } from "./subagent-registry-
|
|
4
|
-
import { p as resolveStableNodePath } from "./daemon-install-helpers-
|
|
5
|
-
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-
|
|
6
|
-
import { d as channelToNpmTag, l as DEFAULT_PACKAGE_CHANNEL, m as isStableTag, p as isBetaTag, r as compareSemverStrings, s as detectPackageManager$1, u as DEV_BRANCH } from "./channel-account-context-
|
|
3
|
+
import { Nt as trimLogTail } from "./subagent-registry-D6OfBLNb.js";
|
|
4
|
+
import { p as resolveStableNodePath } from "./daemon-install-helpers-D5tste0V.js";
|
|
5
|
+
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-Czpjuiah.js";
|
|
6
|
+
import { d as channelToNpmTag, l as DEFAULT_PACKAGE_CHANNEL, m as isStableTag, p as isBetaTag, r as compareSemverStrings, s as detectPackageManager$1, u as DEV_BRANCH } from "./channel-account-context-DNFdIaSr.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import os from "node:os";
|
|
9
|
-
import
|
|
9
|
+
import fsPromises from "node:fs/promises";
|
|
10
10
|
|
|
11
11
|
//#region src/infra/package-json.ts
|
|
12
12
|
async function readPackageVersion(root) {
|
|
13
13
|
try {
|
|
14
|
-
const raw = await
|
|
14
|
+
const raw = await fsPromises.readFile(path.join(root, "package.json"), "utf-8");
|
|
15
15
|
const parsed = JSON.parse(raw);
|
|
16
16
|
return typeof parsed?.version === "string" ? parsed.version : null;
|
|
17
17
|
} catch {
|
|
@@ -20,7 +20,7 @@ async function readPackageVersion(root) {
|
|
|
20
20
|
}
|
|
21
21
|
async function readPackageName(root) {
|
|
22
22
|
try {
|
|
23
|
-
const raw = await
|
|
23
|
+
const raw = await fsPromises.readFile(path.join(root, "package.json"), "utf-8");
|
|
24
24
|
const name = JSON.parse(raw)?.name?.trim();
|
|
25
25
|
return name ? name : null;
|
|
26
26
|
} catch {
|
|
@@ -42,8 +42,8 @@ function normalizePackageTagInput(value, packageNames) {
|
|
|
42
42
|
|
|
43
43
|
//#endregion
|
|
44
44
|
//#region src/infra/update-global.ts
|
|
45
|
-
const PRIMARY_PACKAGE_NAME = "
|
|
46
|
-
const ALL_PACKAGE_NAMES = [PRIMARY_PACKAGE_NAME];
|
|
45
|
+
const PRIMARY_PACKAGE_NAME = "@bitseek/claw";
|
|
46
|
+
const ALL_PACKAGE_NAMES = [PRIMARY_PACKAGE_NAME, ...["openclaw", "@bitseek/bitseek-claw"]];
|
|
47
47
|
const GLOBAL_RENAME_PREFIX = ".";
|
|
48
48
|
const NPM_GLOBAL_INSTALL_QUIET_FLAGS = [
|
|
49
49
|
"--no-fund",
|
|
@@ -53,7 +53,7 @@ const NPM_GLOBAL_INSTALL_QUIET_FLAGS = [
|
|
|
53
53
|
const NPM_GLOBAL_INSTALL_OMIT_OPTIONAL_FLAGS = ["--omit=optional", ...NPM_GLOBAL_INSTALL_QUIET_FLAGS];
|
|
54
54
|
async function tryRealpath(targetPath) {
|
|
55
55
|
try {
|
|
56
|
-
return await
|
|
56
|
+
return await fsPromises.realpath(targetPath);
|
|
57
57
|
} catch {
|
|
58
58
|
return path.resolve(targetPath);
|
|
59
59
|
}
|
|
@@ -79,6 +79,10 @@ async function resolveGlobalRoot(manager, runCommand, timeoutMs) {
|
|
|
79
79
|
async function resolveGlobalPackageRoot(manager, runCommand, timeoutMs) {
|
|
80
80
|
const root = await resolveGlobalRoot(manager, runCommand, timeoutMs);
|
|
81
81
|
if (!root) return null;
|
|
82
|
+
for (const name of ALL_PACKAGE_NAMES) {
|
|
83
|
+
const candidate = path.join(root, name);
|
|
84
|
+
if (await pathExists(candidate)) return candidate;
|
|
85
|
+
}
|
|
82
86
|
return path.join(root, PRIMARY_PACKAGE_NAME);
|
|
83
87
|
}
|
|
84
88
|
async function detectGlobalInstallManagerForRoot(runCommand, pkgRoot, timeoutMs) {
|
|
@@ -161,10 +165,10 @@ async function cleanupGlobalRenameDirs(params) {
|
|
|
161
165
|
const root = params.globalRoot.trim();
|
|
162
166
|
const name = params.packageName.trim();
|
|
163
167
|
if (!root || !name) return { removed };
|
|
164
|
-
const prefix = `${GLOBAL_RENAME_PREFIX}${name}-`;
|
|
168
|
+
const prefix = `${GLOBAL_RENAME_PREFIX}${path.basename(name)}-`;
|
|
165
169
|
let entries = [];
|
|
166
170
|
try {
|
|
167
|
-
entries = await
|
|
171
|
+
entries = await fsPromises.readdir(root);
|
|
168
172
|
} catch {
|
|
169
173
|
return { removed };
|
|
170
174
|
}
|
|
@@ -172,8 +176,8 @@ async function cleanupGlobalRenameDirs(params) {
|
|
|
172
176
|
if (!entry.startsWith(prefix)) continue;
|
|
173
177
|
const target = path.join(root, entry);
|
|
174
178
|
try {
|
|
175
|
-
if (!(await
|
|
176
|
-
await
|
|
179
|
+
if (!(await fsPromises.lstat(target)).isDirectory()) continue;
|
|
180
|
+
await fsPromises.rm(target, {
|
|
177
181
|
recursive: true,
|
|
178
182
|
force: true
|
|
179
183
|
});
|
|
@@ -193,8 +197,12 @@ const START_DIRS = [
|
|
|
193
197
|
"argv1",
|
|
194
198
|
"process"
|
|
195
199
|
];
|
|
196
|
-
const DEFAULT_PACKAGE_NAME = "
|
|
197
|
-
const CORE_PACKAGE_NAMES = new Set([
|
|
200
|
+
const DEFAULT_PACKAGE_NAME = "@bitseek/claw";
|
|
201
|
+
const CORE_PACKAGE_NAMES = new Set([
|
|
202
|
+
DEFAULT_PACKAGE_NAME,
|
|
203
|
+
"openclaw",
|
|
204
|
+
"@bitseek/bitseek-claw"
|
|
205
|
+
]);
|
|
198
206
|
function normalizeDir(value) {
|
|
199
207
|
if (!value) return null;
|
|
200
208
|
const trimmed = value.trim();
|
|
@@ -285,7 +293,7 @@ async function findPackageRoot(candidates) {
|
|
|
285
293
|
for (let i = 0; i < 12; i += 1) {
|
|
286
294
|
const pkgPath = path.join(current, "package.json");
|
|
287
295
|
try {
|
|
288
|
-
const raw = await
|
|
296
|
+
const raw = await fsPromises.readFile(pkgPath, "utf-8");
|
|
289
297
|
const name = JSON.parse(raw)?.name?.trim();
|
|
290
298
|
if (name && CORE_PACKAGE_NAMES.has(name)) return current;
|
|
291
299
|
} catch {}
|
|
@@ -364,7 +372,11 @@ function managerInstallArgs(manager) {
|
|
|
364
372
|
return ["npm", "install"];
|
|
365
373
|
}
|
|
366
374
|
function normalizeTag(tag) {
|
|
367
|
-
return normalizePackageTagInput(tag, [
|
|
375
|
+
return normalizePackageTagInput(tag, [
|
|
376
|
+
DEFAULT_PACKAGE_NAME,
|
|
377
|
+
"openclaw",
|
|
378
|
+
"@bitseek/bitseek-claw"
|
|
379
|
+
]) ?? "latest";
|
|
368
380
|
}
|
|
369
381
|
async function runGatewayUpdate(opts = {}) {
|
|
370
382
|
const startedAt = Date.now();
|
|
@@ -563,7 +575,7 @@ async function runGatewayUpdate(opts = {}) {
|
|
|
563
575
|
durationMs: Date.now() - startedAt
|
|
564
576
|
};
|
|
565
577
|
const manager = await detectPackageManager(gitRoot);
|
|
566
|
-
const preflightRoot = await
|
|
578
|
+
const preflightRoot = await fsPromises.mkdtemp(path.join(os.tmpdir(), "openclaw-update-preflight-"));
|
|
567
579
|
const worktreeDir = path.join(preflightRoot, "worktree");
|
|
568
580
|
const worktreeStep = await runStep(step("preflight worktree", [
|
|
569
581
|
"git",
|
|
@@ -577,7 +589,7 @@ async function runGatewayUpdate(opts = {}) {
|
|
|
577
589
|
], gitRoot));
|
|
578
590
|
steps.push(worktreeStep);
|
|
579
591
|
if (worktreeStep.exitCode !== 0) {
|
|
580
|
-
await
|
|
592
|
+
await fsPromises.rm(preflightRoot, {
|
|
581
593
|
recursive: true,
|
|
582
594
|
force: true
|
|
583
595
|
}).catch(() => {});
|
|
@@ -641,7 +653,7 @@ async function runGatewayUpdate(opts = {}) {
|
|
|
641
653
|
cwd: gitRoot,
|
|
642
654
|
timeoutMs
|
|
643
655
|
}).catch(() => null);
|
|
644
|
-
await
|
|
656
|
+
await fsPromises.rm(preflightRoot, {
|
|
645
657
|
recursive: true,
|
|
646
658
|
force: true
|
|
647
659
|
}).catch(() => {});
|
|
@@ -789,7 +801,7 @@ async function runGatewayUpdate(opts = {}) {
|
|
|
789
801
|
durationMs: Date.now() - startedAt
|
|
790
802
|
};
|
|
791
803
|
const doctorEntry = path.join(gitRoot, "openclaw.mjs");
|
|
792
|
-
if (!await
|
|
804
|
+
if (!await fsPromises.stat(doctorEntry).then(() => true).catch(() => false)) {
|
|
793
805
|
steps.push({
|
|
794
806
|
name: "openclaw doctor entry",
|
|
795
807
|
command: `verify ${doctorEntry}`,
|
|
@@ -3,7 +3,7 @@ import { G as trimLogTail } from "./reply-Dpf9qyV4.js";
|
|
|
3
3
|
import { t as runCommandWithTimeout } from "./exec-BdDcFm8M.js";
|
|
4
4
|
import { p as resolveStableNodePath } from "./daemon-install-helpers-B_sQ4Mox.js";
|
|
5
5
|
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-DjJ-kYlx.js";
|
|
6
|
-
import { d as channelToNpmTag, l as DEFAULT_PACKAGE_CHANNEL, m as isStableTag, p as isBetaTag, r as compareSemverStrings, s as detectPackageManager$1, u as DEV_BRANCH } from "./channel-account-context-
|
|
6
|
+
import { d as channelToNpmTag, l as DEFAULT_PACKAGE_CHANNEL, m as isStableTag, p as isBetaTag, r as compareSemverStrings, s as detectPackageManager$1, u as DEV_BRANCH } from "./channel-account-context-etfgJrr_.js";
|
|
7
7
|
import os from "node:os";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import fs from "node:fs/promises";
|
|
@@ -42,8 +42,8 @@ function normalizePackageTagInput(value, packageNames) {
|
|
|
42
42
|
|
|
43
43
|
//#endregion
|
|
44
44
|
//#region src/infra/update-global.ts
|
|
45
|
-
const PRIMARY_PACKAGE_NAME = "
|
|
46
|
-
const ALL_PACKAGE_NAMES = [PRIMARY_PACKAGE_NAME];
|
|
45
|
+
const PRIMARY_PACKAGE_NAME = "@bitseek/claw";
|
|
46
|
+
const ALL_PACKAGE_NAMES = [PRIMARY_PACKAGE_NAME, ...["openclaw", "@bitseek/bitseek-claw"]];
|
|
47
47
|
const GLOBAL_RENAME_PREFIX = ".";
|
|
48
48
|
const NPM_GLOBAL_INSTALL_QUIET_FLAGS = [
|
|
49
49
|
"--no-fund",
|
|
@@ -79,6 +79,10 @@ async function resolveGlobalRoot(manager, runCommand, timeoutMs) {
|
|
|
79
79
|
async function resolveGlobalPackageRoot(manager, runCommand, timeoutMs) {
|
|
80
80
|
const root = await resolveGlobalRoot(manager, runCommand, timeoutMs);
|
|
81
81
|
if (!root) return null;
|
|
82
|
+
for (const name of ALL_PACKAGE_NAMES) {
|
|
83
|
+
const candidate = path.join(root, name);
|
|
84
|
+
if (await pathExists(candidate)) return candidate;
|
|
85
|
+
}
|
|
82
86
|
return path.join(root, PRIMARY_PACKAGE_NAME);
|
|
83
87
|
}
|
|
84
88
|
async function detectGlobalInstallManagerForRoot(runCommand, pkgRoot, timeoutMs) {
|
|
@@ -161,7 +165,7 @@ async function cleanupGlobalRenameDirs(params) {
|
|
|
161
165
|
const root = params.globalRoot.trim();
|
|
162
166
|
const name = params.packageName.trim();
|
|
163
167
|
if (!root || !name) return { removed };
|
|
164
|
-
const prefix = `${GLOBAL_RENAME_PREFIX}${name}-`;
|
|
168
|
+
const prefix = `${GLOBAL_RENAME_PREFIX}${path.basename(name)}-`;
|
|
165
169
|
let entries = [];
|
|
166
170
|
try {
|
|
167
171
|
entries = await fs.readdir(root);
|
|
@@ -193,8 +197,12 @@ const START_DIRS = [
|
|
|
193
197
|
"argv1",
|
|
194
198
|
"process"
|
|
195
199
|
];
|
|
196
|
-
const DEFAULT_PACKAGE_NAME = "
|
|
197
|
-
const CORE_PACKAGE_NAMES = new Set([
|
|
200
|
+
const DEFAULT_PACKAGE_NAME = "@bitseek/claw";
|
|
201
|
+
const CORE_PACKAGE_NAMES = new Set([
|
|
202
|
+
DEFAULT_PACKAGE_NAME,
|
|
203
|
+
"openclaw",
|
|
204
|
+
"@bitseek/bitseek-claw"
|
|
205
|
+
]);
|
|
198
206
|
function normalizeDir(value) {
|
|
199
207
|
if (!value) return null;
|
|
200
208
|
const trimmed = value.trim();
|
|
@@ -364,7 +372,11 @@ function managerInstallArgs(manager) {
|
|
|
364
372
|
return ["npm", "install"];
|
|
365
373
|
}
|
|
366
374
|
function normalizeTag(tag) {
|
|
367
|
-
return normalizePackageTagInput(tag, [
|
|
375
|
+
return normalizePackageTagInput(tag, [
|
|
376
|
+
DEFAULT_PACKAGE_NAME,
|
|
377
|
+
"openclaw",
|
|
378
|
+
"@bitseek/bitseek-claw"
|
|
379
|
+
]) ?? "latest";
|
|
368
380
|
}
|
|
369
381
|
async function runGatewayUpdate(opts = {}) {
|
|
370
382
|
const startedAt = Date.now();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as resolveStateDir, d as resolveRequiredHomeDir, l as expandHomePrefix, o as resolveOAuthDir, u as resolveEffectiveHomeDir } from "./paths-
|
|
2
|
-
import { p as shouldLogVerbose, u as logVerbose } from "./subsystem-
|
|
1
|
+
import { c as resolveStateDir, d as resolveRequiredHomeDir, l as expandHomePrefix, o as resolveOAuthDir, u as resolveEffectiveHomeDir } from "./paths-aGRLvQx9.js";
|
|
2
|
+
import { p as shouldLogVerbose, u as logVerbose } from "./subsystem-BRjuJbbM.js";
|
|
3
3
|
import os from "node:os";
|
|
4
4
|
import path from "node:path";
|
|
5
|
-
import
|
|
5
|
+
import syncFs from "node:fs";
|
|
6
6
|
|
|
7
7
|
//#region src/infra/plain-object.ts
|
|
8
8
|
/**
|
|
@@ -15,14 +15,14 @@ function isPlainObject(value) {
|
|
|
15
15
|
//#endregion
|
|
16
16
|
//#region src/utils.ts
|
|
17
17
|
async function ensureDir(dir) {
|
|
18
|
-
await
|
|
18
|
+
await syncFs.promises.mkdir(dir, { recursive: true });
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* Check if a file or directory exists at the given path.
|
|
22
22
|
*/
|
|
23
23
|
async function pathExists(targetPath) {
|
|
24
24
|
try {
|
|
25
|
-
await
|
|
25
|
+
await syncFs.promises.access(targetPath);
|
|
26
26
|
return true;
|
|
27
27
|
} catch {
|
|
28
28
|
return false;
|
|
@@ -105,7 +105,7 @@ function readLidReverseMapping(lid, opts) {
|
|
|
105
105
|
for (const dir of mappingDirs) {
|
|
106
106
|
const mappingPath = path.join(dir, mappingFilename);
|
|
107
107
|
try {
|
|
108
|
-
const data =
|
|
108
|
+
const data = syncFs.readFileSync(mappingPath, "utf8");
|
|
109
109
|
const phone = JSON.parse(data);
|
|
110
110
|
if (phone === null || phone === void 0) continue;
|
|
111
111
|
return normalizeE164(String(phone));
|