@bitseek/claw 1.2.0 → 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-BQHz8_1_.js → accounts-Cv5CUnT4.js} +7 -7
- package/dist/{accounts-DTfEeXyO.js → accounts-NHpMJ0aq.js} +1 -1
- package/dist/{acp-cli-DYu2k7v9.js → acp-cli-B0u6no4K.js} +8 -8
- 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/{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-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-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/{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-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-DuDCGdf-.js → chrome-DeZyLFsG.js} +4 -4
- package/dist/{chrome-CuMCXCQN.js → chrome-xatreDUO.js} +8 -8
- 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/{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/{devices-cli-9aOy3d7K.js → devices-cli-D6b6S-Iy.js} +8 -8
- 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/{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/{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-DC-NMnAU.js → fetch-DOjg912W.js} +3 -3
- package/dist/{fetch-guard-B62rgaSw.js → fetch-guard-Csbz9pui.js} +1 -1
- package/dist/{fs-safe-CJDtl_QU.js → fs-safe-BqJ9egpm.js} +24 -24
- 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/{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-DihIv8Eo.js → image-DQV2jl6F.js} +1 -1
- package/dist/{image-ops-BGTBZMuE.js → image-ops-B2L37gT8.js} +10 -10
- 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/{ipv4-BB1Ro6so.js → ipv4-DQS0lTwQ.js} +1 -1
- 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/{login-CYfV0FRr.js → login-I5RlwiJn.js} +3 -3
- package/dist/{login-qr-DUSyrCPW.js → login-qr-CRjZn3ix.js} +6 -6
- package/dist/{logs-cli--IqfO6Fs.js → logs-cli-D2-73CiV.js} +9 -9
- 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-BYHgyUjA.js → markdown-tables-DQlQMRGZ.js} +1 -1
- package/dist/{memory-cli-CuT-iG2F.js → memory-cli-BUrf60e_.js} +12 -12
- 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/{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-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-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/{pi-embedded-xCcmCTnf.js → pi-embedded-CZAvX74y.js} +22 -22
- package/dist/{pi-embedded-helpers-C3sJPGXn.js → pi-embedded-helpers-BB2whkUz.js} +6 -6
- package/dist/{pi-embedded-helpers-Bmj18lhA.js → pi-embedded-helpers-DK1ft2pf.js} +3 -3
- 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-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-env-BQIJPH4j.js → proxy-env-BoopXu2J.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-ITbRRqVN.js → pw-ai-DyGZ1pXu.js} +15 -15
- package/dist/{qmd-manager-BNohLpRA.js → qmd-manager-Bo22w5wm.js} +20 -20
- 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/{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/{replies-Ckd7Lwt0.js → replies-BDnb0prE.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/{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-e1X1pfda.js → send-BCLu4NEE.js} +6 -6
- package/dist/{send-BpXRh0BM.js → send-BTswySBz.js} +11 -11
- 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-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-DNbfXbBi.js → session-nilNSQEL.js} +1 -1
- package/dist/{session-utils-BncMg1bn.js → session-utils-DxaIoRMp.js} +6 -6
- package/dist/{sessions-B2mnwD21.js → sessions-BXz4gdq6.js} +15 -15
- 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-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-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-U8cs0QvT.js → store-TdzSHRPN.js} +5 -5
- package/dist/{subagent-registry-WD5F6cBf.js → subagent-registry-D6OfBLNb.js} +156 -156
- 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-DVXe5x1J.js → tables-BOsRa7CS.js} +1 -1
- package/dist/{tailnet-C1XBcWue.js → tailnet-CfP3A6g2.js} +1 -1
- package/dist/{target-errors-C5LA-JI-.js → target-errors-DPJ9HFp9.js} +4 -4
- package/dist/{tool-images-CnpAosfi.js → tool-images-CmgHk8xk.js} +1 -1
- 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/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-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-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
|
@@ -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-DVQh7rEs.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import os from "node:os";
|
|
6
|
-
import
|
|
6
|
+
import fsPromises 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 fsPromises.mkdtemp(path.join(os.tmpdir(), prefix));
|
|
21
21
|
try {
|
|
22
22
|
return await fn(tmpDir);
|
|
23
23
|
} finally {
|
|
24
|
-
await
|
|
24
|
+
await fsPromises.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 fsPromises.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 fsPromises.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 fsPromises.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 fsPromises.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 fsPromises.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 fsPromises.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 fsPromises.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 fsPromises.mkdir(backupRoot, { recursive: true });
|
|
280
280
|
await assertInstallBoundaryPaths({
|
|
281
281
|
installBaseDir,
|
|
282
282
|
candidatePaths: [backupDir]
|
|
283
283
|
});
|
|
284
|
-
await
|
|
284
|
+
await fsPromises.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 fsPromises.rm(params.targetDir, {
|
|
293
293
|
recursive: true,
|
|
294
294
|
force: true
|
|
295
295
|
}).catch(() => void 0);
|
|
296
|
-
await
|
|
296
|
+
await fsPromises.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 fsPromises.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 fsPromises.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 fsPromises.mkdir(params.baseDir, { recursive: true });
|
|
358
358
|
const targetDirResult = resolveSafeInstallDir({
|
|
359
359
|
baseDir: params.baseDir,
|
|
360
360
|
id: params.id,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-DjdBljTA.js";
|
|
2
|
-
import { M as loadConfig } from "./auth-profiles-
|
|
3
|
-
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
-
import { h as resolveDefaultAgentWorkspaceDir } from "./workspace-
|
|
5
|
-
import { _ as loadOpenClawPlugins, g as createPluginLoaderLogger } from "./subagent-registry-
|
|
6
|
-
import { d as buildNpmResolutionFields } from "./npm-pack-install-
|
|
2
|
+
import { M as loadConfig } from "./auth-profiles-CyG9VwU_.js";
|
|
3
|
+
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-CY2-lUIY.js";
|
|
4
|
+
import { h as resolveDefaultAgentWorkspaceDir } from "./workspace-DzeL98px.js";
|
|
5
|
+
import { _ as loadOpenClawPlugins, g as createPluginLoaderLogger } from "./subagent-registry-D6OfBLNb.js";
|
|
6
|
+
import { d as buildNpmResolutionFields } from "./npm-pack-install-1gsZywqI.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
|
|
9
9
|
//#region src/plugins/status.ts
|
|
@@ -8,7 +8,7 @@ import { t as assertSupportedRuntime } from "./runtime-guard-8RRYRGZL.js";
|
|
|
8
8
|
import { t as WizardCancelledError } from "./prompts-ULYkmWPj.js";
|
|
9
9
|
import { t as createClackPrompter } from "./clack-prompter-VaNRUEnc.js";
|
|
10
10
|
import { t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-B_UsbAjb.js";
|
|
11
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
11
|
+
import { t as runOnboardingWizard } from "./onboarding-Rub9MXWB.js";
|
|
12
12
|
import { n as logConfigUpdated } from "./logging-yFV4aFrN.js";
|
|
13
13
|
import { i as normalizeLegacyOnboardAuthChoice, r as isDeprecatedAuthChoice, t as ONBOARD_PROVIDER_AUTH_FLAGS } from "./onboard-provider-auth-flags-Dqir0v9m.js";
|
|
14
14
|
import { t as applyOnboardingLocalWorkspaceConfig } from "./onboard-config-3n3w_Lvm.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { u as resolveGatewayPort } from "./paths-BnKiOk2S.js";
|
|
2
2
|
import { d as defaultRuntime, f as restoreTerminalState } from "./subsystem-DjdBljTA.js";
|
|
3
|
-
import { P as readConfigFileSnapshot, R as writeConfigFile } from "./auth-profiles-
|
|
3
|
+
import { P as readConfigFileSnapshot, R as writeConfigFile } from "./auth-profiles-CyG9VwU_.js";
|
|
4
4
|
import { t as formatCliCommand } from "./command-format-CVXyxgq3.js";
|
|
5
5
|
import { v as resolveUserPath } from "./utils-DIzy5B5o.js";
|
|
6
|
-
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, c as handleReset, g as resolveControlUiLinks, h as randomToken, n as applyWizardMetadata, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput } from "./onboard-helpers-
|
|
6
|
+
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, c as handleReset, g as resolveControlUiLinks, h as randomToken, n as applyWizardMetadata, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput } from "./onboard-helpers-D8lLbK3A.js";
|
|
7
7
|
import { t as WizardCancelledError } from "./prompts-DomsZukd.js";
|
|
8
8
|
import { t as createClackPrompter } from "./clack-prompter-DNiUmv2O.js";
|
|
9
9
|
import { t as assertSupportedRuntime } from "./runtime-guard-Ch9ZniVU.js";
|
|
10
10
|
import { t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-J7zRr7jm.js";
|
|
11
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
11
|
+
import { t as runOnboardingWizard } from "./onboarding-WDRpEgra.js";
|
|
12
12
|
import { n as logConfigUpdated } from "./logging-DsLC1iR-.js";
|
|
13
13
|
import { i as normalizeLegacyOnboardAuthChoice, r as isDeprecatedAuthChoice, t as ONBOARD_PROVIDER_AUTH_FLAGS } from "./onboard-provider-auth-flags-AoFLWxQT.js";
|
|
14
14
|
import { t as applyOnboardingLocalWorkspaceConfig } from "./onboard-config-D6N2g-IY.js";
|
|
@@ -207,7 +207,7 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
207
207
|
}
|
|
208
208
|
const authChoice = opts.authChoice ?? inferredAuthChoice.choice ?? "skip";
|
|
209
209
|
if (authChoice !== "skip") {
|
|
210
|
-
const { applyNonInteractiveAuthChoice } = await import("./auth-choice-
|
|
210
|
+
const { applyNonInteractiveAuthChoice } = await import("./auth-choice-CR6bBvDU.js");
|
|
211
211
|
const nextConfigAfterAuth = await applyNonInteractiveAuthChoice({
|
|
212
212
|
nextConfig,
|
|
213
213
|
authChoice,
|
|
@@ -240,7 +240,7 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
240
240
|
logConfigUpdated(runtime);
|
|
241
241
|
await ensureWorkspaceAndSessions(workspaceDir, runtime, { skipBootstrap: Boolean(nextConfig.agents?.defaults?.skipBootstrap) });
|
|
242
242
|
if (opts.installDaemon) {
|
|
243
|
-
const { installGatewayDaemonNonInteractive } = await import("./daemon-install-
|
|
243
|
+
const { installGatewayDaemonNonInteractive } = await import("./daemon-install-vQ6KespE.js");
|
|
244
244
|
await installGatewayDaemonNonInteractive({
|
|
245
245
|
nextConfig,
|
|
246
246
|
opts,
|
|
@@ -251,7 +251,7 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
251
251
|
}
|
|
252
252
|
const daemonRuntimeRaw = opts.daemonRuntime ?? DEFAULT_GATEWAY_DAEMON_RUNTIME;
|
|
253
253
|
if (!opts.skipHealth) {
|
|
254
|
-
const { healthCommand } = await import("./health-
|
|
254
|
+
const { healthCommand } = await import("./health-Dzwp2cfK.js").then((n) => n.i);
|
|
255
255
|
await waitForGatewayReachable({
|
|
256
256
|
url: resolveControlUiLinks({
|
|
257
257
|
bind: gatewayResult.bind,
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-DjdBljTA.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-CVXyxgq3.js";
|
|
4
|
-
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
+
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-CY2-lUIY.js";
|
|
5
5
|
import { g as normalizeAccountId, h as DEFAULT_ACCOUNT_ID } from "./session-key-BLprDJYq.js";
|
|
6
6
|
import { m as pathExists, p as normalizeE164, t as CONFIG_DIR } from "./utils-DIzy5B5o.js";
|
|
7
7
|
import { t as runCommandWithTimeout } from "./exec-CEAvKSx9.js";
|
|
8
8
|
import { i as formatChannelSelectionLine, o as listChatChannels, r as formatChannelPrimerLine } from "./registry-7fg1BnMw.js";
|
|
9
|
-
import { C as resolveDiscordAccount, S as resolveDefaultDiscordAccountId, b as listDiscordAccountIds, c as resolveDefaultTelegramAccountId, d as listSlackAccountIds, f as resolveDefaultSlackAccountId, l as resolveTelegramAccount, n as listChannelPlugins, p as resolveSlackAccount, s as listTelegramAccountIds, t as getChannelPlugin } from "./plugins-
|
|
10
|
-
import { a as resolveWhatsAppAuthDir, n as listWhatsAppAccountIds, r as resolveDefaultWhatsAppAccountId } from "./accounts-
|
|
11
|
-
import { n as resolveDefaultIMessageAccountId, r as resolveIMessageAccount, t as listIMessageAccountIds } from "./accounts-
|
|
12
|
-
import { i as resolveSignalAccount, n as listSignalAccountIds, r as resolveDefaultSignalAccountId } from "./accounts-
|
|
13
|
-
import { ut as normalizeDiscordSlug } from "./send-
|
|
14
|
-
import { Hn as resolveDiscordUserAllowlist, O as resolveDiscordChannelAllowlist, Vn as resolveSlackUserAllowlist, _ as loadOpenClawPlugins, g as createPluginLoaderLogger, x as resolveSlackChannelAllowlist } from "./subagent-registry-
|
|
15
|
-
import { a as listChannelPluginCatalogEntries, n as isChannelConfigured } from "./plugin-auto-enable-
|
|
16
|
-
import { s as normalizeIMessageHandle } from "./send-
|
|
17
|
-
import { r as detectBinary } from "./onboard-helpers-
|
|
9
|
+
import { C as resolveDiscordAccount, S as resolveDefaultDiscordAccountId, b as listDiscordAccountIds, c as resolveDefaultTelegramAccountId, d as listSlackAccountIds, f as resolveDefaultSlackAccountId, l as resolveTelegramAccount, n as listChannelPlugins, p as resolveSlackAccount, s as listTelegramAccountIds, t as getChannelPlugin } from "./plugins-C4cYqW07.js";
|
|
10
|
+
import { a as resolveWhatsAppAuthDir, n as listWhatsAppAccountIds, r as resolveDefaultWhatsAppAccountId } from "./accounts-Cv5CUnT4.js";
|
|
11
|
+
import { n as resolveDefaultIMessageAccountId, r as resolveIMessageAccount, t as listIMessageAccountIds } from "./accounts-2NNZ6Hbp.js";
|
|
12
|
+
import { i as resolveSignalAccount, n as listSignalAccountIds, r as resolveDefaultSignalAccountId } from "./accounts-NHpMJ0aq.js";
|
|
13
|
+
import { ut as normalizeDiscordSlug } from "./send-BTswySBz.js";
|
|
14
|
+
import { Hn as resolveDiscordUserAllowlist, O as resolveDiscordChannelAllowlist, Vn as resolveSlackUserAllowlist, _ as loadOpenClawPlugins, g as createPluginLoaderLogger, x as resolveSlackChannelAllowlist } from "./subagent-registry-D6OfBLNb.js";
|
|
15
|
+
import { a as listChannelPluginCatalogEntries, n as isChannelConfigured } from "./plugin-auto-enable-S_lBQAKI.js";
|
|
16
|
+
import { s as normalizeIMessageHandle } from "./send-BCLu4NEE.js";
|
|
17
|
+
import { r as detectBinary } from "./onboard-helpers-D8lLbK3A.js";
|
|
18
18
|
import { t as formatDocsLink } from "./links-BDNlbZvM.js";
|
|
19
|
-
import { t as loginWeb } from "./login-
|
|
19
|
+
import { t as loginWeb } from "./login-I5RlwiJn.js";
|
|
20
20
|
import { t as resolveBrewExecutable } from "./brew-D6LNrpWB.js";
|
|
21
21
|
import { n as moveSingleAccountChannelSectionToDefaultAccount, t as fetchTelegramChatId } from "./api-D9--MH2d.js";
|
|
22
22
|
import { t as resolveChannelDefaultAccountId } from "./helpers-B7sHmVvT.js";
|
|
23
|
-
import { t as enablePluginInConfig } from "./enable-
|
|
24
|
-
import { s as extractArchive } from "./install-safe-path-
|
|
25
|
-
import { i as installPluginFromNpmSpec, n as recordPluginInstall, t as buildNpmResolutionInstallFields } from "./installs-
|
|
23
|
+
import { t as enablePluginInConfig } from "./enable-CKAw_GCd.js";
|
|
24
|
+
import { s as extractArchive } from "./install-safe-path-DVQh7rEs.js";
|
|
25
|
+
import { i as installPluginFromNpmSpec, n as recordPluginInstall, t as buildNpmResolutionInstallFields } from "./installs-jXfyPi74.js";
|
|
26
26
|
import path from "node:path";
|
|
27
27
|
import os from "node:os";
|
|
28
28
|
import fs, { createWriteStream } from "node:fs";
|
|
29
|
-
import
|
|
29
|
+
import fsPromises from "node:fs/promises";
|
|
30
30
|
import { pipeline } from "node:stream/promises";
|
|
31
31
|
import { request } from "node:https";
|
|
32
32
|
|
|
@@ -1051,7 +1051,7 @@ async function findSignalCliBinary(root) {
|
|
|
1051
1051
|
const candidates = [];
|
|
1052
1052
|
const enqueue = async (dir, depth) => {
|
|
1053
1053
|
if (depth > 3) return;
|
|
1054
|
-
const entries = await
|
|
1054
|
+
const entries = await fsPromises.readdir(dir, { withFileTypes: true }).catch(() => []);
|
|
1055
1055
|
for (const entry of entries) {
|
|
1056
1056
|
const full = path.join(dir, entry.name);
|
|
1057
1057
|
if (entry.isDirectory()) await enqueue(full, depth + 1);
|
|
@@ -1072,7 +1072,7 @@ async function resolveBrewSignalCliPath(brewExe) {
|
|
|
1072
1072
|
const prefix = result.stdout.trim();
|
|
1073
1073
|
const candidate = path.join(prefix, "bin", "signal-cli");
|
|
1074
1074
|
try {
|
|
1075
|
-
await
|
|
1075
|
+
await fsPromises.access(candidate);
|
|
1076
1076
|
return candidate;
|
|
1077
1077
|
} catch {
|
|
1078
1078
|
return findSignalCliBinary(prefix);
|
|
@@ -1128,12 +1128,12 @@ async function installSignalCliFromRelease(runtime) {
|
|
|
1128
1128
|
ok: false,
|
|
1129
1129
|
error: "No compatible release asset found for this platform."
|
|
1130
1130
|
};
|
|
1131
|
-
const tmpDir = await
|
|
1131
|
+
const tmpDir = await fsPromises.mkdtemp(path.join(os.tmpdir(), "openclaw-signal-"));
|
|
1132
1132
|
const archivePath = path.join(tmpDir, asset.name);
|
|
1133
1133
|
runtime.log(`Downloading signal-cli ${version} (${asset.name})…`);
|
|
1134
1134
|
await downloadToFile(asset.browser_download_url, archivePath);
|
|
1135
1135
|
const installRoot = path.join(CONFIG_DIR, "tools", "signal-cli", version);
|
|
1136
|
-
await
|
|
1136
|
+
await fsPromises.mkdir(installRoot, { recursive: true });
|
|
1137
1137
|
if (!looksLikeArchive(asset.name.toLowerCase())) return {
|
|
1138
1138
|
ok: false,
|
|
1139
1139
|
error: `Unsupported archive type: ${asset.name}`
|
|
@@ -1152,7 +1152,7 @@ async function installSignalCliFromRelease(runtime) {
|
|
|
1152
1152
|
ok: false,
|
|
1153
1153
|
error: `signal-cli binary not found after extracting ${asset.name}`
|
|
1154
1154
|
};
|
|
1155
|
-
await
|
|
1155
|
+
await fsPromises.chmod(cliPath, 493).catch(() => {});
|
|
1156
1156
|
return {
|
|
1157
1157
|
ok: true,
|
|
1158
1158
|
cliPath,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Si as normalizeSecretInput, fr as modelKey } from "./auth-profiles-
|
|
3
|
-
import { a as normalizeEndpointId, c as requestOpenAiVerification, i as formatVerificationError, l as resolveCustomAliasError, n as applyCustomApiConfig, o as normalizeOptionalProviderApiKey, r as buildEndpointIdFromUrl, s as requestAnthropicVerification, t as CustomApiError, u as resolveCustomProviderId } from "./onboard-custom.shared-
|
|
4
|
-
import { r as ensureApiKeyFromEnvOrPrompt } from "./auth-choice.apply-helpers-
|
|
2
|
+
import { Si as normalizeSecretInput, fr as modelKey } from "./auth-profiles-CyG9VwU_.js";
|
|
3
|
+
import { a as normalizeEndpointId, c as requestOpenAiVerification, i as formatVerificationError, l as resolveCustomAliasError, n as applyCustomApiConfig, o as normalizeOptionalProviderApiKey, r as buildEndpointIdFromUrl, s as requestAnthropicVerification, t as CustomApiError, u as resolveCustomProviderId } from "./onboard-custom.shared-CXzE62ZH.js";
|
|
4
|
+
import { r as ensureApiKeyFromEnvOrPrompt } from "./auth-choice.apply-helpers-Du585kvU.js";
|
|
5
5
|
|
|
6
6
|
//#region src/commands/onboard-custom.ts
|
|
7
7
|
var onboard_custom_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Di as isSecretRef, fr as modelKey, ji as DEFAULT_PROVIDER, sr as buildModelAliasIndex, xi as normalizeOptionalSecretInput } from "./auth-profiles-
|
|
1
|
+
import { Di as isSecretRef, fr as modelKey, ji as DEFAULT_PROVIDER, sr as buildModelAliasIndex, xi as normalizeOptionalSecretInput } from "./auth-profiles-CyG9VwU_.js";
|
|
2
2
|
import { n as fetchWithTimeout } from "./fetch-timeout-CZWuvzq4.js";
|
|
3
3
|
import { t as CONTEXT_WINDOW_HARD_MIN_TOKENS } from "./context-window-guard-Bs0PeDpo.js";
|
|
4
|
-
import { c as normalizeAlias } from "./shared-
|
|
4
|
+
import { c as normalizeAlias } from "./shared-DvHQekWm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/commands/onboard-custom.shared.ts
|
|
7
7
|
const DEFAULT_CONTEXT_WINDOW = CONTEXT_WINDOW_HARD_MIN_TOKENS;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { t as CONFIG_PATH } from "./paths-BnKiOk2S.js";
|
|
3
|
-
import { Sn as isSafeExecutableValue, Tt as isAvatarImageDataUrl, kt as looksLikeAvatarPath, wt as isAvatarHttpUrl } from "./auth-profiles-
|
|
4
|
-
import { _ as resolveAgentModelPrimaryValue } from "./agent-scope-
|
|
3
|
+
import { Sn as isSafeExecutableValue, Tt as isAvatarImageDataUrl, kt as looksLikeAvatarPath, wt as isAvatarHttpUrl } from "./auth-profiles-CyG9VwU_.js";
|
|
4
|
+
import { _ as resolveAgentModelPrimaryValue } from "./agent-scope-CY2-lUIY.js";
|
|
5
5
|
import { S as sleep, b as shortenHomeInString, t as CONFIG_DIR, v as resolveUserPath, x as shortenHomePath } from "./utils-DIzy5B5o.js";
|
|
6
|
-
import { d as ensureAgentWorkspace, n as DEFAULT_AGENT_WORKSPACE_DIR } from "./workspace-
|
|
6
|
+
import { d as ensureAgentWorkspace, n as DEFAULT_AGENT_WORKSPACE_DIR } from "./workspace-DzeL98px.js";
|
|
7
7
|
import { t as runCommandWithTimeout } from "./exec-CEAvKSx9.js";
|
|
8
8
|
import { t as VERSION } from "./version-CGDNfh5C.js";
|
|
9
9
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-0J6eKf3g.js";
|
|
10
10
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-CTtLmER4.js";
|
|
11
|
-
import { n as callGateway } from "./call-
|
|
12
|
-
import { c as pickPrimaryLanIPv4, o as isValidIPv4 } from "./net-
|
|
13
|
-
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-
|
|
14
|
-
import { t as isWSL } from "./wsl-
|
|
11
|
+
import { n as callGateway } from "./call-CmAGfSJE.js";
|
|
12
|
+
import { c as pickPrimaryLanIPv4, o as isValidIPv4 } from "./net-C75G4fup.js";
|
|
13
|
+
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-CfP3A6g2.js";
|
|
14
|
+
import { t as isWSL } from "./wsl-DksyFTBT.js";
|
|
15
15
|
import { r as stylePromptTitle } from "./prompt-style-CzS6Prvl.js";
|
|
16
16
|
import path from "node:path";
|
|
17
17
|
import { inspect } from "node:util";
|
|
18
|
-
import
|
|
18
|
+
import fsPromises from "node:fs/promises";
|
|
19
19
|
import crypto from "node:crypto";
|
|
20
20
|
import { cancel, isCancel } from "@clack/prompts";
|
|
21
21
|
|
|
@@ -245,7 +245,7 @@ async function ensureWorkspaceAndSessions(workspaceDir, runtime, options) {
|
|
|
245
245
|
});
|
|
246
246
|
runtime.log(`Workspace OK: ${shortenHomePath(ws.dir)}`);
|
|
247
247
|
const sessionsDir = resolveSessionTranscriptsDirForAgent(options?.agentId);
|
|
248
|
-
await
|
|
248
|
+
await fsPromises.mkdir(sessionsDir, { recursive: true });
|
|
249
249
|
runtime.log(`Sessions OK: ${shortenHomePath(sessionsDir)}`);
|
|
250
250
|
}
|
|
251
251
|
function resolveNodeManagerOptions() {
|
|
@@ -267,7 +267,7 @@ function resolveNodeManagerOptions() {
|
|
|
267
267
|
async function moveToTrash(pathname, runtime) {
|
|
268
268
|
if (!pathname) return;
|
|
269
269
|
try {
|
|
270
|
-
await
|
|
270
|
+
await fsPromises.access(pathname);
|
|
271
271
|
} catch {
|
|
272
272
|
return;
|
|
273
273
|
}
|
|
@@ -290,7 +290,7 @@ async function detectBinary(name) {
|
|
|
290
290
|
if (!isSafeExecutableValue(name)) return false;
|
|
291
291
|
const resolved = name.startsWith("~") ? resolveUserPath(name) : name;
|
|
292
292
|
if (path.isAbsolute(resolved) || resolved.startsWith(".") || resolved.includes("/") || resolved.includes("\\")) try {
|
|
293
|
-
await
|
|
293
|
+
await fsPromises.access(resolved);
|
|
294
294
|
return true;
|
|
295
295
|
} catch {
|
|
296
296
|
return false;
|
|
@@ -3,14 +3,14 @@ import "./paths-BnKiOk2S.js";
|
|
|
3
3
|
import "./subsystem-DjdBljTA.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-CVXyxgq3.js";
|
|
6
|
-
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
6
|
+
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-CY2-lUIY.js";
|
|
7
7
|
import "./utils-DIzy5B5o.js";
|
|
8
|
-
import "./workspace-
|
|
8
|
+
import "./workspace-DzeL98px.js";
|
|
9
9
|
import "./logger-BJMfryJd.js";
|
|
10
10
|
import "./exec-CEAvKSx9.js";
|
|
11
11
|
import "./frontmatter-C0E8mspC.js";
|
|
12
|
-
import "./workspace-
|
|
13
|
-
import { t as buildWorkspaceHookStatus } from "./hooks-status-
|
|
12
|
+
import "./workspace-A5CNJccm.js";
|
|
13
|
+
import { t as buildWorkspaceHookStatus } from "./hooks-status-6tcOdcYp.js";
|
|
14
14
|
|
|
15
15
|
//#region src/commands/onboard-hooks.ts
|
|
16
16
|
async function setupInternalHooks(cfg, runtime, prompter) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { i as isSecureWebSocketUrl } from "./net-
|
|
3
|
-
import { r as detectBinary } from "./onboard-helpers-
|
|
2
|
+
import { i as isSecureWebSocketUrl } from "./net-C75G4fup.js";
|
|
3
|
+
import { r as detectBinary } from "./onboard-helpers-D8lLbK3A.js";
|
|
4
4
|
import { n as resolveWideAreaDiscoveryDomain } from "./widearea-dns-Dnn3h3FI.js";
|
|
5
|
-
import { t as discoverGatewayBeacons } from "./bonjour-discovery-
|
|
5
|
+
import { t as discoverGatewayBeacons } from "./bonjour-discovery-B68dCYTY.js";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/onboard-remote.ts
|
|
8
8
|
var onboard_remote_exports = /* @__PURE__ */ __exportAll({ promptRemoteGatewayConfig: () => promptRemoteGatewayConfig });
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Si as normalizeSecretInput } from "./auth-profiles-
|
|
2
|
+
import { Si as normalizeSecretInput } from "./auth-profiles-CyG9VwU_.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-CVXyxgq3.js";
|
|
4
|
-
import { t as buildWorkspaceSkillStatus } from "./skills-status-
|
|
5
|
-
import { _ as resolveNodeManagerOptions, r as detectBinary } from "./onboard-helpers-
|
|
6
|
-
import { t as installSkill } from "./skills-install-
|
|
4
|
+
import { t as buildWorkspaceSkillStatus } from "./skills-status-DQzBD0Y7.js";
|
|
5
|
+
import { _ as resolveNodeManagerOptions, r as detectBinary } from "./onboard-helpers-D8lLbK3A.js";
|
|
6
|
+
import { t as installSkill } from "./skills-install-C6-Zzqoi.js";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/onboard-skills.ts
|
|
9
9
|
var onboard_skills_exports = /* @__PURE__ */ __exportAll({ setupSkills: () => setupSkills });
|
|
@@ -311,7 +311,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
311
311
|
mode
|
|
312
312
|
});
|
|
313
313
|
await writeConfigFile(nextConfig);
|
|
314
|
-
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-
|
|
314
|
+
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-MTyP_Dr4.js");
|
|
315
315
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
316
316
|
flow,
|
|
317
317
|
opts,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as DEFAULT_GATEWAY_PORT, u as resolveGatewayPort } from "./paths-BnKiOk2S.js";
|
|
2
2
|
import { d as defaultRuntime } from "./subsystem-DjdBljTA.js";
|
|
3
|
-
import { P as readConfigFileSnapshot, R as writeConfigFile } from "./auth-profiles-
|
|
3
|
+
import { P as readConfigFileSnapshot, R as writeConfigFile } from "./auth-profiles-CyG9VwU_.js";
|
|
4
4
|
import { t as formatCliCommand } from "./command-format-CVXyxgq3.js";
|
|
5
5
|
import { v as resolveUserPath } from "./utils-DIzy5B5o.js";
|
|
6
6
|
import { t as WizardCancelledError } from "./prompts-DomsZukd.js";
|
|
@@ -42,7 +42,7 @@ async function requireRiskAcknowledgement(params) {
|
|
|
42
42
|
})) throw new WizardCancelledError("risk not accepted");
|
|
43
43
|
}
|
|
44
44
|
async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
45
|
-
const onboardHelpers = await import("./onboard-helpers-
|
|
45
|
+
const onboardHelpers = await import("./onboard-helpers-D8lLbK3A.js").then((n) => n.d);
|
|
46
46
|
onboardHelpers.printWizardHeader(runtime);
|
|
47
47
|
await prompter.intro("OpenClaw onboarding");
|
|
48
48
|
await requireRiskAcknowledgement({
|
|
@@ -210,7 +210,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
210
210
|
}]
|
|
211
211
|
}));
|
|
212
212
|
if (mode === "remote") {
|
|
213
|
-
const { promptRemoteGatewayConfig } = await import("./onboard-remote-
|
|
213
|
+
const { promptRemoteGatewayConfig } = await import("./onboard-remote-DpEjARZa.js").then((n) => n.t);
|
|
214
214
|
const { logConfigUpdated } = await import("./logging-DsLC1iR-.js").then((n) => n.r);
|
|
215
215
|
let nextConfig = await promptRemoteGatewayConfig(baseConfig, prompter);
|
|
216
216
|
nextConfig = onboardHelpers.applyWizardMetadata(nextConfig, {
|
|
@@ -228,11 +228,11 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
228
228
|
}))).trim() || onboardHelpers.DEFAULT_WORKSPACE);
|
|
229
229
|
const { applyOnboardingLocalWorkspaceConfig } = await import("./onboard-config-D6N2g-IY.js").then((n) => n.n);
|
|
230
230
|
let nextConfig = applyOnboardingLocalWorkspaceConfig(baseConfig, workspaceDir);
|
|
231
|
-
const { ensureAuthProfileStore } = await import("./auth-profiles-
|
|
231
|
+
const { ensureAuthProfileStore } = await import("./auth-profiles-CyG9VwU_.js").then((n) => n.t);
|
|
232
232
|
const { promptAuthChoiceGrouped } = await import("./auth-choice-prompt-DQclruUl.js").then((n) => n.t);
|
|
233
|
-
const { promptCustomApiConfig } = await import("./onboard-custom-
|
|
234
|
-
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-
|
|
235
|
-
const { applyPrimaryModel, promptDefaultModel } = await import("./model-picker-
|
|
233
|
+
const { promptCustomApiConfig } = await import("./onboard-custom-CltkNK3c.js").then((n) => n.t);
|
|
234
|
+
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-Bhzlukg0.js").then((n) => n.t);
|
|
235
|
+
const { applyPrimaryModel, promptDefaultModel } = await import("./model-picker-DFyoaAce.js").then((n) => n.i);
|
|
236
236
|
const authStore = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false });
|
|
237
237
|
const authChoiceFromPrompt = opts.authChoice === void 0;
|
|
238
238
|
const authChoice = opts.authChoice ?? await promptAuthChoiceGrouped({
|
|
@@ -270,7 +270,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
270
270
|
if (modelSelection.model) nextConfig = applyPrimaryModel(nextConfig, modelSelection.model);
|
|
271
271
|
}
|
|
272
272
|
await warnIfModelConfigLooksOff(nextConfig, prompter);
|
|
273
|
-
const { configureGatewayForOnboarding } = await import("./onboarding.gateway-config-
|
|
273
|
+
const { configureGatewayForOnboarding } = await import("./onboarding.gateway-config-Ce8ndMkF.js");
|
|
274
274
|
const gateway = await configureGatewayForOnboarding({
|
|
275
275
|
flow,
|
|
276
276
|
baseConfig,
|
|
@@ -284,8 +284,8 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
284
284
|
const settings = gateway.settings;
|
|
285
285
|
if (opts.skipChannels ?? opts.skipProviders) await prompter.note("Skipping channel setup.", "Channels");
|
|
286
286
|
else {
|
|
287
|
-
const { listChannelPlugins } = await import("./plugins-
|
|
288
|
-
const { setupChannels } = await import("./onboard-channels-
|
|
287
|
+
const { listChannelPlugins } = await import("./plugins-C4cYqW07.js").then((n) => n.i);
|
|
288
|
+
const { setupChannels } = await import("./onboard-channels-BLL6tVVk.js").then((n) => n.n);
|
|
289
289
|
const quickstartAllowFromChannels = flow === "quickstart" ? listChannelPlugins().filter((plugin) => plugin.meta.quickstartAllowFrom).map((plugin) => plugin.id) : [];
|
|
290
290
|
nextConfig = await setupChannels(nextConfig, runtime, prompter, {
|
|
291
291
|
allowSignalInstall: true,
|
|
@@ -301,17 +301,17 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
301
301
|
await onboardHelpers.ensureWorkspaceAndSessions(workspaceDir, runtime, { skipBootstrap: Boolean(nextConfig.agents?.defaults?.skipBootstrap) });
|
|
302
302
|
if (opts.skipSkills) await prompter.note("Skipping skills setup.", "Skills");
|
|
303
303
|
else {
|
|
304
|
-
const { setupSkills } = await import("./onboard-skills-
|
|
304
|
+
const { setupSkills } = await import("./onboard-skills-CL0tHf_N.js").then((n) => n.t);
|
|
305
305
|
nextConfig = await setupSkills(nextConfig, workspaceDir, runtime, prompter);
|
|
306
306
|
}
|
|
307
|
-
const { setupInternalHooks } = await import("./onboard-hooks-
|
|
307
|
+
const { setupInternalHooks } = await import("./onboard-hooks-DBif0Jq8.js");
|
|
308
308
|
nextConfig = await setupInternalHooks(nextConfig, runtime, prompter);
|
|
309
309
|
nextConfig = onboardHelpers.applyWizardMetadata(nextConfig, {
|
|
310
310
|
command: "onboard",
|
|
311
311
|
mode
|
|
312
312
|
});
|
|
313
313
|
await writeConfigFile(nextConfig);
|
|
314
|
-
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-
|
|
314
|
+
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-CWYrjSVx.js");
|
|
315
315
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
316
316
|
flow,
|
|
317
317
|
opts,
|