@bitseek/claw 1.2.8 → 1.2.9
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-C24-lylb.js → acp-cli-CyPiQ0lt.js} +8 -8
- package/dist/{agent-scope-CJelRKYY.js → agent-scope-CY2-lUIY.js} +1 -1
- package/dist/{agents-BCJbDk2P.js → agents-BC3wwrO-.js} +15 -15
- package/dist/{agents.config-DoxV5m9v.js → agents.config-CeG5P331.js} +2 -2
- package/dist/{agents.config-DQBEXhzA.js → agents.config-rRQ8xZUr.js} +1 -1
- package/dist/{api-key-rotation-xfk-b2Sv.js → api-key-rotation-Cf7QM5M_.js} +1 -1
- package/dist/{audio-preflight-Dl40LQzr.js → audio-preflight-iuCPDl1D.js} +36 -36
- package/dist/{audio-transcription-runner-jiDE7Pt8.js → audio-transcription-runner-CGADiTRL.js} +22 -22
- package/dist/{audit-Bgu8Ommg.js → audit-Bjz6AFn-.js} +29 -29
- package/dist/{auth-B3HDYw4G.js → auth-anvTU0Sb.js} +1 -1
- package/dist/{auth-choice-DYXCDlGW.js → auth-choice-Co_Dl_bs.js} +14 -14
- package/dist/{auth-choice-CP6K5htW.js → auth-choice-Dx1VT2I8.js} +12 -12
- package/dist/{auth-choice-CdsMUqKA.js → auth-choice-eimtfK0N.js} +1 -1
- 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-BDQ5b9Wx.js → auth-token-Cfvmvs2X.js} +1 -1
- package/dist/{banner-V_1v329B.js → banner-7O0OkDQ4.js} +2 -2
- package/dist/{bindings-Hx6KNJeg.js → bindings-DGvp9FdD.js} +1 -1
- package/dist/{bonjour-discovery-DiHs5j0y.js → bonjour-discovery-Dv9UQh6g.js} +1 -1
- package/dist/{browser-cli-BMupJSz_.js → browser-cli-C1OEYX9g.js} +12 -12
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +1 -1
- package/dist/bundled/session-memory/handler.js +1 -1
- package/dist/{call-CzoM7hPS.js → call-CmAGfSJE.js} +10 -10
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-BV3Q0XnD.js → channel-account-context-BrHQ7XHF.js} +5 -5
- package/dist/{channel-options-Dsjb-V1F.js → channel-options-BnZ1nSBu.js} +3 -3
- package/dist/{channel-options-Bnnem_wD.js → channel-options-uEYF4WRA.js} +1 -1
- package/dist/{channel-selection-D8KYuWir.js → channel-selection-DGtYwfd7.js} +1 -1
- package/dist/{channel-web-KY6EP9HT.js → channel-web-BJJUEEKO.js} +1 -1
- package/dist/{channel-web-wuxrfEJh.js → channel-web-lHPdbnjv.js} +18 -18
- package/dist/{channels-cli-OZeQkPMG.js → channels-cli-DEE_p7e9.js} +95 -95
- package/dist/{channels-cli-tJkvzsqO.js → channels-cli-GwM8DZvP.js} +6 -6
- package/dist/{channels-status-issues-CCNiQcg9.js → channels-status-issues-BWcKByy7.js} +1 -1
- package/dist/{chrome-DuDCGdf-.js → chrome-DeZyLFsG.js} +4 -4
- package/dist/{clawbot-cli-COQB6-NK.js → clawbot-cli-C6oL4o77.js} +5 -5
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-DOS1lPNs.js → cli-BLZW83kS.js} +1 -1
- package/dist/{cli-YeYpjq2c.js → cli-CD5xP9w9.js} +76 -76
- package/dist/{client-BvL3EdiZ.js → client-vUKV2o6h.js} +2 -2
- package/dist/{command-registry-Keal8P25.js → command-registry-B41say0S.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-B_pSnPVY.js → completion-cli-BuLkcc9o.js} +1 -1
- package/dist/{completion-cli-BWcHEWr6.js → completion-cli-DSxTjQik.js} +13 -13
- package/dist/{config-cli-hwawfBlS.js → config-cli-BMtY1oFI.js} +7 -7
- package/dist/{config-cli-DZpbwWvz.js → config-cli-D4EnfBqh.js} +1 -1
- package/dist/{config-guard-CcE0LvHm.js → config-guard-Bztdn_pu.js} +3 -3
- package/dist/{config-validation-DO7QURfM.js → config-validation-CAkiRwLK.js} +3 -3
- package/dist/{configure-CLMtWGiL.js → configure-CBB1YbMN.js} +3 -3
- package/dist/{configure-l-lM74c1.js → configure-Dz9z2cyD.js} +17 -17
- package/dist/{control-ui-assets-Dx8wiZQ_.js → control-ui-assets-BGvtXBkm.js} +1 -1
- package/dist/{cron-cli-xl75rAFd.js → cron-cli-nslB2EKF.js} +12 -12
- package/dist/{daemon-cli-BSy0rtO2.js → daemon-cli-D8I8RTf0.js} +15 -15
- package/dist/{daemon-install-d2OYSlQz.js → daemon-install-CKree1OU.js} +4 -4
- package/dist/{daemon-install-helpers-D28keNLu.js → daemon-install-helpers-CBCbs7y1.js} +11 -11
- package/dist/{dashboard-DXvihe_P.js → dashboard-dc7KG5Fm.js} +2 -2
- package/dist/{deliver-Df8pSQk6.js → deliver-BRwFsEUd.js} +7 -7
- package/dist/{devices-cli-D6CoUTi_.js → devices-cli-jakb5Fk0.js} +8 -8
- package/dist/{diagnostic-Bvatw1Xn.js → diagnostic-DjxUqpmL.js} +1 -1
- package/dist/{diagnostics-ABz8E7c-.js → diagnostics-DR9Z0mN5.js} +5 -5
- package/dist/{directory-cli-Dkil59xj.js → directory-cli-3FgAtenS.js} +8 -8
- package/dist/{dns-cli-CJydclW8.js → dns-cli-DUsjD4em.js} +5 -5
- package/dist/{dock-DT8sACcR.js → dock-CoclJnwp.js} +4 -4
- package/dist/{docs-cli-BkufgU5Y.js → docs-cli-CpIeooaU.js} +4 -4
- package/dist/{doctor-completion-sKCaOE5l.js → doctor-completion-BIt5xBwC.js} +1 -1
- package/dist/{doctor-completion-leOuoRMt.js → doctor-completion-BSR7Om4e.js} +2 -2
- package/dist/{doctor-config-flow-BrXA2e34.js → doctor-config-flow-DUdUJgfq.js} +15 -15
- package/dist/{enable-CinNZxRH.js → enable-BNycqpJc.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-Cani2Hjk.js → exec-approvals-cli-D8lFWgJj.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 +1 -1
- 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-jL3MSRHB.js → gateway-cli-CanylfLh.js} +8 -8
- package/dist/{gateway-cli-BlVNebTw.js → gateway-cli-VrzgkvsB.js} +161 -161
- package/dist/{gateway-rpc-C7KYwonl.js → gateway-rpc-B5Spvviy.js} +1 -1
- package/dist/{health-Du8dO3vn.js → health-BX20asqJ.js} +1 -1
- package/dist/{health-CDEXWvnu.js → health-D4cJIlo7.js} +14 -14
- package/dist/{hooks-cli-Deo01lF6.js → hooks-cli-BPg6BqOl.js} +84 -84
- package/dist/{hooks-cli-DUIQuGjr.js → hooks-cli-Cs2Ovk-O.js} +2 -2
- package/dist/{hooks-status-DE20AAEu.js → hooks-status-6tcOdcYp.js} +1 -1
- package/dist/{image-UpBiPNsk.js → image-CI4JYwnc.js} +5 -5
- package/dist/{plugin-sdk/image-ops-C9GXWF3o.js → image-ops-B2L37gT8.js} +11 -11
- package/dist/index.js +6 -6
- package/dist/{inspect-Bmurt9te.js → inspect-BzuEXYfa.js} +4 -4
- package/dist/{install-safe-path-BB9b_AvF.js → install-safe-path-C8QJ5yjB.js} +25 -25
- package/dist/{installs-BXcYytvn.js → installs-CWbEA1d1.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-DF2YB-kZ.js → issue-format-D8MobWNt.js} +1 -1
- package/dist/{json-files-CuJjdF_0.js → json-files-rR19q30D.js} +8 -8
- package/dist/{lifecycle-core-CJd181-h.js → lifecycle-core-CiAE4s92.js} +5 -5
- package/dist/llm-slug-generator.js +1 -1
- package/dist/{login-C_YjM9eH.js → login-CdHg3Emc.js} +3 -3
- package/dist/{login-qr-DujJqOuy.js → login-qr-DXecO0Tb.js} +6 -6
- package/dist/{logs-cli-Bc1A5X-r.js → logs-cli-D8UCmwyR.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-C56N_rW7.js → model-picker-Dt7Rl38k.js} +4 -4
- package/dist/{models-CgguB_MH.js → models-CukrcW4u.js} +18 -18
- package/dist/{models-cli-CHUbcM_y.js → models-cli-C-FMLbe_.js} +2 -2
- package/dist/{models-cli-BEb0DHSP.js → models-cli-DTjBGjrI.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-DSoqxwqZ.js → node-cli-D4Tj8JOq.js} +33 -33
- package/dist/{node-command-policy-pJ6IPNBA.js → node-command-policy-BZq5AebG.js} +1 -1
- package/dist/{node-service-DUUObpwl.js → node-service-B0FIwOsW.js} +1 -1
- package/dist/{nodes-cli-BKGcOJ8A.js → nodes-cli-DL-855N8.js} +16 -16
- package/dist/{nodes-screen-DcxCMjOs.js → nodes-screen-BHwVUMr8.js} +7 -7
- package/dist/{npm-pack-install-D5pJ8KzT.js → npm-pack-install-qErvgXGZ.js} +18 -18
- package/dist/{npm-resolution-T8SphiP5.js → npm-resolution-C_FZOBlT.js} +5 -5
- package/dist/{npm-resolution-Dv7nYiaP.js → npm-resolution-oBSNTx2S.js} +1 -1
- package/dist/{onboard-KHObANUh.js → onboard-B-f5pmgG.js} +2 -2
- package/dist/{onboard-BCcjGKBR.js → onboard-DktYC_iu.js} +6 -6
- package/dist/{onboard-channels-CRpmgX82.js → onboard-channels-Bbzz_NPd.js} +1 -1
- package/dist/{onboard-channels-BLZ8FdVP.js → onboard-channels-DGipWl1h.js} +20 -20
- package/dist/{onboard-custom-CZR1K96w.js → onboard-custom-B5F-69pM.js} +3 -3
- package/dist/{onboard-custom.shared-B9NXcXpv.js → onboard-custom.shared-CBgv6y4h.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-DtLQyBJB.js → onboard-remote-loJ1Jn9Q.js} +3 -3
- package/dist/{onboard-skills-Brzj5oDF.js → onboard-skills-JtcIUHsb.js} +4 -4
- package/dist/{onboarding-BTXvw1Ro.js → onboarding-D0IraL8k.js} +13 -13
- package/dist/{onboarding-DQNTd5J7.js → onboarding-Kp0zZunD.js} +3 -3
- package/dist/{onboarding.finalize-CHYENeNO.js → onboarding.finalize-CJ23anMx.js} +5 -5
- package/dist/{onboarding.finalize-D0qfP3rB.js → onboarding.finalize-DHitw2tg.js} +89 -89
- package/dist/{onboarding.gateway-config-D-gZxjbU.js → onboarding.gateway-config-uLDVSdpl.js} +18 -18
- package/dist/{openai-model-default-BNYNbslY.js → openai-model-default-B1Dlue6a.js} +2 -2
- package/dist/{outbound-_RTZSBES.js → outbound-BZyqP8d-.js} +4 -4
- package/dist/{outbound-attachment-CXINK8df.js → outbound-attachment-DM-h2uQ1.js} +2 -2
- package/dist/{pairing-cli-DiKgOlKC.js → pairing-cli-DR836bYa.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-__ACzYqx.js → path-safety-Cr4WZsHE.js} +1 -1
- package/dist/{paths-BjoSX1aC.js → paths-B_L2Zoe-.js} +9 -9
- package/dist/{pi-embedded-Bacc2S0h.js → pi-embedded-BgVoy_Nm.js} +42 -6
- package/dist/{pi-embedded-Claxav22.js → pi-embedded-DdMbqfLM.js} +42 -6
- package/dist/{pi-embedded-helpers-CrD8I6qf.js → pi-embedded-helpers-CEMPdfif.js} +6 -6
- package/dist/{pi-model-discovery-BZ2RCD_u.js → pi-model-discovery-RrejIg26.js} +1 -1
- package/dist/{pi-tools.policy-upaoJyu4.js → pi-tools.policy-dUeXHcQL.js} +5 -5
- package/dist/{plugin-auto-enable-DER6qA6X.js → plugin-auto-enable-S_lBQAKI.js} +3 -3
- package/dist/{plugin-registry-CxFikiLF.js → plugin-registry-CIUGSWLT.js} +3 -3
- package/dist/{plugin-registry-TOEmbMc4.js → plugin-registry-pa6LjTdT.js} +1 -1
- package/dist/plugin-sdk/{accounts-AbI8uETR.js → accounts-BZrkOo6-.js} +1 -1
- package/dist/plugin-sdk/{accounts-4WE2wtsW.js → accounts-COLYAAOx.js} +1 -1
- package/dist/plugin-sdk/{accounts-BYcizTXn.js → accounts-D_pT5EjF.js} +3 -3
- package/dist/plugin-sdk/{active-listener-pnqLAUOh.js → active-listener-DxBXcWm_.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-_j3fIYCK.js → agent-scope-DT5pxpJB.js} +3 -3
- package/dist/plugin-sdk/agents/context.d.ts +2 -0
- package/dist/plugin-sdk/{api-key-rotation-CYI51U_M.js → api-key-rotation-Dl6Ad7Nj.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-BTRRjPew.js → audio-preflight-CkPj4OVY.js} +33 -33
- package/dist/plugin-sdk/{audio-transcription-runner-DFZS7uCO.js → audio-transcription-runner-BBn9jEMg.js} +10 -10
- package/dist/plugin-sdk/{bindings-CxxzC7gn.js → bindings-BSfhEjKN.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-B3yZ-f-m.js → channel-activity-DAEbma-o.js} +3 -3
- package/dist/plugin-sdk/{channel-web-D2q54sK-.js → channel-web-BaFUnG0F.js} +23 -23
- package/dist/plugin-sdk/{chrome-oPevdeh5.js → chrome-Dn0G4NoF.js} +7 -7
- package/dist/plugin-sdk/{chunk-BPyPeheZ.js → chunk-cvtXztAT.js} +1 -1
- package/dist/plugin-sdk/{command-format-DvyMEXQo.js → command-format-BOJz3y1v.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-Dk8re8Lz.js → commands-registry-CZWv_JwZ.js} +5 -5
- package/dist/plugin-sdk/{config-D7I2_X4P.js → config-DAwOhnVF.js} +10 -10
- package/dist/plugin-sdk/{deliver-NrIHn0__.js → deliver-PdH-MCq8.js} +11 -11
- package/dist/plugin-sdk/{diagnostic-DL3k_wRi.js → diagnostic-BZvj-qNu.js} +2 -2
- package/dist/plugin-sdk/{dock-CjdkiLH7.js → dock-BdR3OYZn.js} +6 -6
- package/dist/plugin-sdk/{errors-DFTN4h2I.js → errors-jusxdu7M.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-BivEyA4v.js → fetch-guard-Dary6WwJ.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-B256n7Ff.js → fs-safe-DMCE0ej9.js} +3 -3
- package/dist/plugin-sdk/{image-CkPzr3XN.js → image-B3A2l2ep.js} +6 -6
- package/dist/{image-ops-BGTBZMuE.js → plugin-sdk/image-ops-DulHE5Qc.js} +1 -1
- package/dist/plugin-sdk/index.js +64 -64
- package/dist/plugin-sdk/{ir-BIm-jvIK.js → ir-BFXiJrsN.js} +6 -6
- package/dist/plugin-sdk/{local-roots-2AOXGUXW.js → local-roots-DssN60r6.js} +4 -4
- package/dist/plugin-sdk/{logger-CNhs9eKJ.js → logger-Cr-x0vMf.js} +1 -1
- package/dist/plugin-sdk/{login-BcLiF9tC.js → login-D0ul3-6C.js} +6 -6
- package/dist/plugin-sdk/{login-qr-GyPUodKJ.js → login-qr-XWKTFBuI.js} +9 -9
- package/dist/plugin-sdk/{manager-DYLqNUb4.js → manager-DGx_cF54.js} +10 -10
- package/dist/plugin-sdk/{markdown-tables-D9mmqMKi.js → markdown-tables-CsQpDNU5.js} +1 -1
- package/dist/plugin-sdk/{message-channel-_CEZcqxE.js → message-channel-CvNq-esz.js} +1 -1
- package/dist/plugin-sdk/{outbound-DdTsUaXa.js → outbound-D29FHlQl.js} +7 -7
- package/dist/plugin-sdk/{outbound-attachment--hkuIDR1.js → outbound-attachment-DRHrZUOx.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-BqUCBfUg.js → path-alias-guards-DpKV1B5p.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-CTfvZz83.js → pi-embedded-helpers-CKEUWckk.js} +17 -17
- package/dist/plugin-sdk/{pi-model-discovery-CK3Ih_kq.js → pi-model-discovery-BPeQq9XM.js} +1 -1
- package/dist/plugin-sdk/{plugins-BpHAMNJ1.js → plugins-DF_dKXTR.js} +6 -6
- package/dist/plugin-sdk/{proxy-BJdRZOnJ.js → proxy-BfmEDoun.js} +1 -1
- package/dist/plugin-sdk/{proxy-fetch-jmbopGcm.js → proxy-fetch-BpHIgvBk.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-D0Kx7w1D.js → pw-ai-BmmXDjtm.js} +13 -13
- package/dist/plugin-sdk/{qmd-manager-BDcutPp9.js → qmd-manager-3hQbqkm5.js} +8 -8
- package/dist/plugin-sdk/{query-expansion-C_X8SyEA.js → query-expansion-BOGLUWB7.js} +2 -2
- package/dist/plugin-sdk/{redact-DH8u23pF.js → redact-BOuKZWXa.js} +1 -1
- package/dist/plugin-sdk/{registry-HF8_S7QO.js → registry-Cv-oHUj1.js} +2 -2
- package/dist/plugin-sdk/{replies-DbjvV4gf.js → replies-CddwWBTJ.js} +3 -3
- package/dist/plugin-sdk/{reply-Cs_Ks2Mr.js → reply-BCRC0yeW.js} +133 -97
- package/dist/plugin-sdk/{reply-prefix-KODsMNJ-.js → reply-prefix-DXthVxCx.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-BPT4aNiD.js → resolve-outbound-target-D3Y4F2Le.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-De2B5QY_.js → resolve-route-DuwYYn4a.js} +4 -4
- package/dist/plugin-sdk/{retry-pZ8iKytf.js → retry-BMcrIz7L.js} +1 -1
- package/dist/plugin-sdk/{send-C-Rd2stz.js → send-B0ztz6QC.js} +6 -6
- package/dist/plugin-sdk/{send-BoNw1Bki.js → send-C5USYGq7.js} +8 -8
- package/dist/plugin-sdk/{send-1uW-uqPf.js → send-D0AaWnIj.js} +7 -7
- package/dist/plugin-sdk/{send-wCqsQs_s.js → send-DEyQJTzd.js} +10 -10
- package/dist/plugin-sdk/{send-CZIN8SDx.js → send-DJzwu8kk.js} +15 -15
- package/dist/plugin-sdk/{session-ooYcB82T.js → session-BA7tVDpV.js} +5 -5
- package/dist/plugin-sdk/{session-meta-7J-uHiM_.js → session-meta-ChWvKVWj.js} +1 -1
- package/dist/plugin-sdk/{sessions-lAIo5l8W.js → sessions-BXps6YzJ.js} +6 -6
- package/dist/plugin-sdk/{skill-commands-D1Q6hGS4.js → skill-commands-B20uUsji.js} +5 -5
- package/dist/plugin-sdk/{skills-BWSDv2F_.js → skills-DXOTei42.js} +8 -8
- package/dist/plugin-sdk/{ssrf-JKDwTi8i.js → ssrf-Doxv9M7Q.js} +1 -1
- package/dist/plugin-sdk/{store-BMeqzQAf.js → store-BZbE1V-C.js} +2 -2
- package/dist/plugin-sdk/{subsystem-B0V8LFBA.js → subsystem-CM1s2lDT.js} +2 -2
- package/dist/plugin-sdk/{tables-DCSeBGBz.js → tables-BhH8EIqU.js} +1 -1
- package/dist/{target-errors-C5LA-JI-.js → plugin-sdk/target-errors-QZay02Cv.js} +2 -2
- package/dist/plugin-sdk/{tokens-DF2_VTJy.js → tokens-DIE-Bf72.js} +1 -1
- package/dist/plugin-sdk/{tool-images-BbsgbHMZ.js → tool-images-heXfaJdb.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-JkCpGrfk.js → tool-loop-detection-CygMSQUK.js} +2 -2
- package/dist/plugin-sdk/{utils-BfVxx6bk.js → utils-BcL6KGZf.js} +1 -1
- package/dist/plugin-sdk/web-BDHHRoXS.js +72 -0
- package/dist/plugin-sdk/{whatsapp-actions-tVcrGNQc.js → whatsapp-actions-CRean1yN.js} +25 -25
- package/dist/{plugins-vsjS_m58.js → plugins-C4cYqW07.js} +2 -2
- package/dist/{plugins-cli-Clo_uyvq.js → plugins-cli-CqDquUh9.js} +2 -2
- package/dist/{plugins-cli-bHHZzKd-.js → plugins-cli-DnLeUBfn.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-BI6W1Gll.js → program-3T_oL3TY.js} +84 -84
- package/dist/{program-context-D2D7wH7Q.js → program-context-D2U9PEv9.js} +17 -17
- package/dist/{prompt-select-styled-CdBJ0FWT.js → prompt-select-styled-Bir77erd.js} +4 -4
- package/dist/{prompt-select-styled-FGF3Su20.js → prompt-select-styled-BylOR7bV.js} +39 -39
- package/dist/{provider-auth-helpers-BFsLtU8g.js → provider-auth-helpers-BEFKXIJE.js} +5 -5
- package/dist/{provider-auth-helpers-D_akOb8A.js → provider-auth-helpers-fK9RpOiF.js} +1 -1
- package/dist/{proxy-env-BQIJPH4j.js → proxy-env-BoopXu2J.js} +1 -1
- package/dist/{push-apns-DvNRo3EQ.js → push-apns-C7oC1J4F.js} +1 -1
- package/dist/{push-apns-BSlKJa83.js → push-apns-sUecrS7L.js} +5 -5
- package/dist/{pw-ai-BeJ_96rV.js → pw-ai-CG7D8D2P.js} +15 -15
- package/dist/{qmd-manager-BNohLpRA.js → qmd-manager-Bo22w5wm.js} +20 -20
- package/dist/{qr-cli-CCHyao8J.js → qr-cli-DiKa2ySu.js} +1 -1
- package/dist/{query-expansion-BrM3X6-L.js → query-expansion-Ba9OpCm9.js} +12 -12
- package/dist/{redact-snapshot-C1Yp9Q7B.js → redact-snapshot-Dioor4fY.js} +1 -1
- package/dist/{register.agent-DowGjvNc.js → register.agent-DVy4TdwU.js} +6 -6
- package/dist/{register.agent-C-OmdJMe.js → register.agent-FAGOpOS3.js} +97 -97
- package/dist/{register.configure-BZLa_c3k.js → register.configure-BzG1EPPb.js} +7 -7
- package/dist/register.configure-aZwsNSkf.js +175 -0
- package/dist/{register.init-B1pIa3ys.js → register.init-B-wUDJAX.js} +15 -15
- package/dist/{register.maintenance-f8NCHf6u.js → register.maintenance-B6f_YUQN.js} +99 -99
- package/dist/{register.maintenance-DTx6vUDv.js → register.maintenance-ClYMbiJl.js} +7 -7
- package/dist/{register.message-DE-eKss6.js → register.message-BkAe3KaX.js} +2 -2
- package/dist/{register.message-5hKmcWaB.js → register.message-WkJ5viuk.js} +77 -77
- package/dist/{register.onboard-DmymXZNT.js → register.onboard-BUBCEjZ_.js} +2 -2
- package/dist/{register.onboard-tT7keiju.js → register.onboard-DvpF9feG.js} +18 -18
- package/dist/{register.setup-DjHaiqnA.js → register.setup-CA7jtsG8.js} +21 -21
- package/dist/{register.setup-D9AvFexw.js → register.setup-Dlmt8cdD.js} +2 -2
- package/dist/{register.start-CyYd_xbF.js → register.start-3Hnjf8NZ.js} +17 -17
- package/dist/{register.status-health-sessions-Cbva8fTK.js → register.status-health-sessions-BfIwzFQw.js} +3 -3
- package/dist/{register.status-health-sessions-lOM_lb6H.js → register.status-health-sessions-CY2i61By.js} +91 -91
- package/dist/{register.subclis-pmPhNoRB.js → register.subclis-D72jBDzj.js} +31 -31
- package/dist/{replies-Ckd7Lwt0.js → replies-BDnb0prE.js} +1 -1
- package/dist/{reply-D8Yu6-Ie.js → reply-BOAv4F33.js} +42 -6
- 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-CnRUZWNJ.js → rpc-DQa5fiBV.js} +1 -1
- package/dist/{run-main-D5C2p24j.js → run-main-DOntWJzb.js} +95 -95
- package/dist/{runtime-D4y0Gdfj.js → runtime-D-Knnx0g.js} +2 -2
- package/dist/{sandbox-Tai-w14a.js → sandbox-DI_zIUpo.js} +18 -18
- package/dist/{sandbox-cli-uwsF36Ea.js → sandbox-cli-Cn6OxK6L.js} +26 -26
- package/dist/{secrets-cli-DzeSuhpa.js → secrets-cli-Cf2fFK2m.js} +10 -10
- package/dist/{security-cli-Dzelqio0.js → security-cli-DS-dXNUv.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-Cr92VI8t.js → server-C88L-6UW.js} +19 -19
- package/dist/{server-context-YLHmGfYV.js → server-context-CjPCwa4T.js} +12 -12
- package/dist/{server-lifecycle-B23lXM3Y.js → server-lifecycle-HLBzAVdX.js} +2 -2
- package/dist/{server-middleware-CKSnhiM2.js → server-middleware-DHxnFjIL.js} +1 -1
- package/dist/{server-node-events-yFZiE04b.js → server-node-events-CyVS1c_n.js} +77 -77
- package/dist/{server-node-events-nakjzVDn.js → server-node-events-DAuQ0Pk2.js} +2 -2
- package/dist/{service-Bjqlh_fF.js → service-CFfCS51c.js} +15 -15
- package/dist/{session-DcnQHb9Q.js → session-ApCom0An.js} +1 -1
- package/dist/{session-meta-DF1WT4cr.js → session-meta-Cew1QAYN.js} +1 -1
- package/dist/{session-utils-BncMg1bn.js → session-utils-DYJSA9qa.js} +46 -10
- package/dist/{sessions-B2mnwD21.js → sessions-BXz4gdq6.js} +15 -15
- package/dist/{sessions-C2Xfck_9.js → sessions-CeXgGBJ1.js} +4 -4
- package/dist/{shared-BojXguFB.js → shared-Cd4Yi_Q8.js} +3 -3
- package/dist/{shared-_j1K2VJ9.js → shared-Cl1av01k.js} +1 -1
- package/dist/{skill-commands-CYucDd3C.js → skill-commands-Cpr3Poo2.js} +5 -5
- package/dist/{skill-scanner-CSJqt034.js → skill-scanner-3QHafkQH.js} +6 -6
- package/dist/{skills-BCgFAMj3.js → skills-D4S-gyVf.js} +3 -3
- package/dist/{skills-cli-BM1iUpGc.js → skills-cli-CAhlFcYR.js} +5 -5
- package/dist/{skills-install-e4_jXT_J.js → skills-install-DyneupGw.js} +6 -6
- package/dist/{skills-status-DG-bH5mO.js → skills-status-DQzBD0Y7.js} +1 -1
- package/dist/{status-CQYA6EJN.js → status-C6WYtjMU.js} +2 -2
- package/dist/{status-mS4bWnIW.js → status-VYa-lFs6.js} +26 -26
- package/dist/{status.update-YC9VNJxl.js → status.update-BdgtGtkx.js} +2 -2
- package/dist/{store-U8cs0QvT.js → store-TdzSHRPN.js} +5 -5
- package/dist/{subagent-registry-CXBreqUP.js → subagent-registry-DlmrBMrv.js} +156 -156
- package/dist/{system-cli-B_PUKo6-.js → system-cli-BYGGFlhn.js} +9 -9
- package/dist/{system-run-command-GKGzGztn.js → system-run-command-XHAlbx5q.js} +1 -1
- package/dist/{systemd-HiU4Gzoc.js → systemd-DRGkJYMb.js} +9 -9
- package/dist/{systemd-hints-BDIASQOF.js → systemd-hints-C5HK00QG.js} +6 -6
- package/dist/{systemd-linger-DfrE-63p.js → systemd-linger-DME-3IVk.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/{plugin-sdk/target-errors-0u6pegQv.js → target-errors-DPJ9HFp9.js} +4 -4
- package/dist/{tool-images-CnpAosfi.js → tool-images-CmgHk8xk.js} +1 -1
- package/dist/{tui-CLK0s6TM.js → tui-C16rnfcv.js} +6 -6
- package/dist/{tui-cli-DTdNoN6U.js → tui-cli-Ct7mmQhr.js} +33 -33
- package/dist/{update-DLc3UsVC.js → update-DOvgIBRu.js} +3 -3
- package/dist/{update-cli-C2EagLTi.js → update-cli-BnefEkIB.js} +107 -107
- package/dist/{update-cli-DiT2fFEK.js → update-cli-CWNpH8nb.js} +7 -7
- package/dist/{update-runner-C9noXbfV.js → update-runner-BSQpjT4r.js} +16 -16
- package/dist/{update-runner-DO6RodZW.js → update-runner-CE9BNhOu.js} +1 -1
- package/dist/{web-CDHXvGxm.js → web-C1PpWeXj.js} +1 -1
- package/dist/web-C1Zm__bd.js +127 -0
- package/dist/{web-DbdjX4Hg.js → web-C_RqjNux.js} +2 -2
- package/dist/{web-DJKitOpu.js → web-DBuATjw6.js} +1 -1
- package/dist/{webhooks-cli-c5SaGz4J.js → webhooks-cli-DyIIpN1Q.js} +6 -6
- package/dist/{whatsapp-actions-CnjEOFOZ.js → whatsapp-actions-Dmv3vDs5.js} +19 -19
- package/dist/{with-timeout-DurSJobr.js → with-timeout-Cf-HNLSj.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/package.json +1 -1
- package/dist/plugin-sdk/web-B35hdNQ-.js +0 -72
- package/dist/register.configure-CaSRlI6h.js +0 -175
- package/dist/web-BKrNiKsU.js +0 -127
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { F as getPrimaryCommand, R as hasHelpOrVersion } from "./globals-B68W7uN8.js";
|
|
3
|
-
import { i as registerSubCliCommands, o as removeCommandByName, s as reparseProgramFromActionArgs } from "./register.subclis-
|
|
3
|
+
import { i as registerSubCliCommands, o as removeCommandByName, s as reparseProgramFromActionArgs } from "./register.subclis-D72jBDzj.js";
|
|
4
4
|
|
|
5
5
|
//#region src/cli/program/command-registry.ts
|
|
6
6
|
var command_registry_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -22,7 +22,7 @@ const coreEntries = [
|
|
|
22
22
|
hasSubcommands: false
|
|
23
23
|
}],
|
|
24
24
|
register: async ({ program }) => {
|
|
25
|
-
(await import("./register.init-
|
|
25
|
+
(await import("./register.init-B-wUDJAX.js")).registerInitCommand(program);
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
{
|
|
@@ -32,7 +32,7 @@ const coreEntries = [
|
|
|
32
32
|
hasSubcommands: false
|
|
33
33
|
}],
|
|
34
34
|
register: async ({ program }) => {
|
|
35
|
-
(await import("./register.start-
|
|
35
|
+
(await import("./register.start-3Hnjf8NZ.js")).registerStartCommand(program);
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
{
|
|
@@ -42,7 +42,7 @@ const coreEntries = [
|
|
|
42
42
|
hasSubcommands: false
|
|
43
43
|
}],
|
|
44
44
|
register: async ({ program }) => {
|
|
45
|
-
(await import("./register.setup-
|
|
45
|
+
(await import("./register.setup-CA7jtsG8.js")).registerSetupCommand(program);
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
{
|
|
@@ -52,7 +52,7 @@ const coreEntries = [
|
|
|
52
52
|
hasSubcommands: false
|
|
53
53
|
}],
|
|
54
54
|
register: async ({ program }) => {
|
|
55
|
-
(await import("./register.onboard-
|
|
55
|
+
(await import("./register.onboard-DvpF9feG.js")).registerOnboardCommand(program);
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
58
|
{
|
|
@@ -62,7 +62,7 @@ const coreEntries = [
|
|
|
62
62
|
hasSubcommands: false
|
|
63
63
|
}],
|
|
64
64
|
register: async ({ program }) => {
|
|
65
|
-
(await import("./register.configure-
|
|
65
|
+
(await import("./register.configure-aZwsNSkf.js")).registerConfigureCommand(program);
|
|
66
66
|
}
|
|
67
67
|
},
|
|
68
68
|
{
|
|
@@ -72,7 +72,7 @@ const coreEntries = [
|
|
|
72
72
|
hasSubcommands: true
|
|
73
73
|
}],
|
|
74
74
|
register: async ({ program }) => {
|
|
75
|
-
(await import("./config-cli-
|
|
75
|
+
(await import("./config-cli-BMtY1oFI.js")).registerConfigCli(program);
|
|
76
76
|
}
|
|
77
77
|
},
|
|
78
78
|
{
|
|
@@ -99,7 +99,7 @@ const coreEntries = [
|
|
|
99
99
|
}
|
|
100
100
|
],
|
|
101
101
|
register: async ({ program }) => {
|
|
102
|
-
(await import("./register.maintenance-
|
|
102
|
+
(await import("./register.maintenance-B6f_YUQN.js")).registerMaintenanceCommands(program);
|
|
103
103
|
}
|
|
104
104
|
},
|
|
105
105
|
{
|
|
@@ -109,7 +109,7 @@ const coreEntries = [
|
|
|
109
109
|
hasSubcommands: true
|
|
110
110
|
}],
|
|
111
111
|
register: async ({ program, ctx }) => {
|
|
112
|
-
(await import("./register.message-
|
|
112
|
+
(await import("./register.message-WkJ5viuk.js")).registerMessageCommands(program, ctx);
|
|
113
113
|
}
|
|
114
114
|
},
|
|
115
115
|
{
|
|
@@ -119,7 +119,7 @@ const coreEntries = [
|
|
|
119
119
|
hasSubcommands: true
|
|
120
120
|
}],
|
|
121
121
|
register: async ({ program }) => {
|
|
122
|
-
(await import("./memory-cli-
|
|
122
|
+
(await import("./memory-cli-BUrf60e_.js").then((n) => n.t)).registerMemoryCli(program);
|
|
123
123
|
}
|
|
124
124
|
},
|
|
125
125
|
{
|
|
@@ -133,7 +133,7 @@ const coreEntries = [
|
|
|
133
133
|
hasSubcommands: true
|
|
134
134
|
}],
|
|
135
135
|
register: async ({ program, ctx }) => {
|
|
136
|
-
(await import("./register.agent-
|
|
136
|
+
(await import("./register.agent-FAGOpOS3.js")).registerAgentCommands(program, { agentChannelOptions: ctx.agentChannelOptions });
|
|
137
137
|
}
|
|
138
138
|
},
|
|
139
139
|
{
|
|
@@ -155,7 +155,7 @@ const coreEntries = [
|
|
|
155
155
|
}
|
|
156
156
|
],
|
|
157
157
|
register: async ({ program }) => {
|
|
158
|
-
(await import("./register.status-health-sessions-
|
|
158
|
+
(await import("./register.status-health-sessions-CY2i61By.js")).registerStatusHealthSessionsCommands(program);
|
|
159
159
|
}
|
|
160
160
|
},
|
|
161
161
|
{
|
|
@@ -165,7 +165,7 @@ const coreEntries = [
|
|
|
165
165
|
hasSubcommands: true
|
|
166
166
|
}],
|
|
167
167
|
register: async ({ program }) => {
|
|
168
|
-
(await import("./browser-cli-
|
|
168
|
+
(await import("./browser-cli-C1OEYX9g.js")).registerBrowserCli(program);
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
171
|
];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { E as isPlainObject } from "./utils-DIzy5B5o.js";
|
|
2
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
2
|
+
import { r as normalizeChannelId } from "./plugins-C4cYqW07.js";
|
|
3
3
|
|
|
4
4
|
//#region src/config/commands.ts
|
|
5
5
|
function resolveAutoDefault(providerId) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Ai as DEFAULT_MODEL, ji as DEFAULT_PROVIDER, yr as resolveConfiguredModelRef } from "./auth-profiles-
|
|
2
|
+
import { Ai as DEFAULT_MODEL, ji as DEFAULT_PROVIDER, yr as resolveConfiguredModelRef } from "./auth-profiles-CyG9VwU_.js";
|
|
3
3
|
import { c as escapeRegExp } from "./utils-DIzy5B5o.js";
|
|
4
4
|
import { u as getActivePluginRegistry } from "./registry-7fg1BnMw.js";
|
|
5
|
-
import { n as listChannelDocks } from "./dock-
|
|
5
|
+
import { n as listChannelDocks } from "./dock-CoclJnwp.js";
|
|
6
6
|
import { i as listThinkingLevels } from "./thinking-pYqswKJZ.js";
|
|
7
|
-
import { t as isCommandFlagEnabled } from "./commands-
|
|
7
|
+
import { t as isCommandFlagEnabled } from "./commands-d8L0zY8O.js";
|
|
8
8
|
|
|
9
9
|
//#region src/auto-reply/commands-args.ts
|
|
10
10
|
function normalizeArgValue(value) {
|
|
@@ -4,7 +4,7 @@ import { p as theme } from "./globals-uLeGcRW1.js";
|
|
|
4
4
|
import { h as pathExists } from "./utils-CP51tiAi.js";
|
|
5
5
|
import { i as routeLogsToStderr } from "./subsystem-BT74-yyS.js";
|
|
6
6
|
import { t as formatDocsLink } from "./links-CM7pO4C5.js";
|
|
7
|
-
import { a as registerCoreCliByName, c as getSubCliEntries, l as registerSubCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context-
|
|
7
|
+
import { a as registerCoreCliByName, c as getSubCliEntries, l as registerSubCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context-D2U9PEv9.js";
|
|
8
8
|
import os from "node:os";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import fs from "node:fs/promises";
|
|
@@ -4,12 +4,12 @@ import { g as resolveStateDir } from "./paths-BnKiOk2S.js";
|
|
|
4
4
|
import { i as routeLogsToStderr } from "./subsystem-DjdBljTA.js";
|
|
5
5
|
import { m as pathExists } from "./utils-DIzy5B5o.js";
|
|
6
6
|
import { t as formatDocsLink } from "./links-BDNlbZvM.js";
|
|
7
|
-
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-
|
|
8
|
-
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-
|
|
7
|
+
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-D72jBDzj.js";
|
|
8
|
+
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-B41say0S.js";
|
|
9
9
|
import { t as getProgramContext } from "./program-context-Cy6hM1zR.js";
|
|
10
10
|
import path from "node:path";
|
|
11
11
|
import os from "node:os";
|
|
12
|
-
import
|
|
12
|
+
import fsPromises from "node:fs/promises";
|
|
13
13
|
import { Option } from "commander";
|
|
14
14
|
|
|
15
15
|
//#region src/cli/completion-fish.ts
|
|
@@ -92,11 +92,11 @@ function getCompletionScript(shell, program) {
|
|
|
92
92
|
}
|
|
93
93
|
async function writeCompletionCache(params) {
|
|
94
94
|
const cacheDir = resolveCompletionCacheDir();
|
|
95
|
-
await
|
|
95
|
+
await fsPromises.mkdir(cacheDir, { recursive: true });
|
|
96
96
|
for (const shell of params.shells) {
|
|
97
97
|
const script = getCompletionScript(shell, params.program);
|
|
98
98
|
const targetPath = resolveCompletionCachePath(shell, params.binName);
|
|
99
|
-
await
|
|
99
|
+
await fsPromises.writeFile(targetPath, script, "utf-8");
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
function formatCompletionSourceLine(shell, binName, cachePath) {
|
|
@@ -154,7 +154,7 @@ async function isCompletionInstalled(shell, binName = "openclaw") {
|
|
|
154
154
|
if (!await pathExists(profilePath)) return false;
|
|
155
155
|
const cachePathCandidate = resolveCompletionCachePath(shell, binName);
|
|
156
156
|
const cachedPath = await pathExists(cachePathCandidate) ? cachePathCandidate : null;
|
|
157
|
-
return (await
|
|
157
|
+
return (await fsPromises.readFile(profilePath, "utf-8")).split("\n").some((line) => isCompletionProfileHeader(line) || isCompletionProfileLine(line, binName, cachedPath));
|
|
158
158
|
}
|
|
159
159
|
/**
|
|
160
160
|
* Check if the profile uses the slow dynamic completion pattern.
|
|
@@ -164,7 +164,7 @@ async function usesSlowDynamicCompletion(shell, binName = "openclaw") {
|
|
|
164
164
|
const profilePath = getShellProfilePath(shell);
|
|
165
165
|
if (!await pathExists(profilePath)) return false;
|
|
166
166
|
const cachePath = resolveCompletionCachePath(shell, binName);
|
|
167
|
-
const lines = (await
|
|
167
|
+
const lines = (await fsPromises.readFile(profilePath, "utf-8")).split("\n");
|
|
168
168
|
for (const line of lines) if (isSlowDynamicCompletionLine(line, binName) && !line.includes(cachePath)) return true;
|
|
169
169
|
return false;
|
|
170
170
|
}
|
|
@@ -213,7 +213,7 @@ async function installCompletion(shell, yes, binName = "openclaw") {
|
|
|
213
213
|
} else if (shell === "bash") {
|
|
214
214
|
profilePath = path.join(home, ".bashrc");
|
|
215
215
|
try {
|
|
216
|
-
await
|
|
216
|
+
await fsPromises.access(profilePath);
|
|
217
217
|
} catch {
|
|
218
218
|
profilePath = path.join(home, ".bash_profile");
|
|
219
219
|
}
|
|
@@ -227,13 +227,13 @@ async function installCompletion(shell, yes, binName = "openclaw") {
|
|
|
227
227
|
}
|
|
228
228
|
try {
|
|
229
229
|
try {
|
|
230
|
-
await
|
|
230
|
+
await fsPromises.access(profilePath);
|
|
231
231
|
} catch {
|
|
232
232
|
if (!yes) console.warn(`Profile not found at ${profilePath}. Created a new one.`);
|
|
233
|
-
await
|
|
234
|
-
await
|
|
233
|
+
await fsPromises.mkdir(path.dirname(profilePath), { recursive: true });
|
|
234
|
+
await fsPromises.writeFile(profilePath, "", "utf-8");
|
|
235
235
|
}
|
|
236
|
-
const update = updateCompletionProfile(await
|
|
236
|
+
const update = updateCompletionProfile(await fsPromises.readFile(profilePath, "utf-8"), binName, cachePath, sourceLine);
|
|
237
237
|
if (!update.changed) {
|
|
238
238
|
if (!yes) console.log(`Completion already installed in ${profilePath}`);
|
|
239
239
|
return;
|
|
@@ -242,7 +242,7 @@ async function installCompletion(shell, yes, binName = "openclaw") {
|
|
|
242
242
|
const action = update.hadExisting ? "Updating" : "Installing";
|
|
243
243
|
console.log(`${action} completion in ${profilePath}...`);
|
|
244
244
|
}
|
|
245
|
-
await
|
|
245
|
+
await fsPromises.writeFile(profilePath, update.next, "utf-8");
|
|
246
246
|
if (!yes) console.log(`Completion installed. Restart your shell or run: source ${profilePath}`);
|
|
247
247
|
} catch (err) {
|
|
248
248
|
console.error(`Failed to install completion: ${err}`);
|
|
@@ -2,12 +2,12 @@ import { l as success, n as info, p as theme, t as danger } from "./globals-B68W
|
|
|
2
2
|
import { t as CONFIG_PATH } 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 { v as isBlockedObjectKey } from "./session-key-BLprDJYq.js";
|
|
9
9
|
import { x as shortenHomePath } from "./utils-DIzy5B5o.js";
|
|
10
|
-
import "./workspace-
|
|
10
|
+
import "./workspace-DzeL98px.js";
|
|
11
11
|
import "./logger-BJMfryJd.js";
|
|
12
12
|
import "./exec-CEAvKSx9.js";
|
|
13
13
|
import "./github-copilot-token-CulJ9J5l.js";
|
|
@@ -15,10 +15,10 @@ import "./host-env-security-CJMD0__Z.js";
|
|
|
15
15
|
import "./version-CGDNfh5C.js";
|
|
16
16
|
import "./env-vars-Dw0EwyGP.js";
|
|
17
17
|
import "./registry-7fg1BnMw.js";
|
|
18
|
-
import "./manifest-registry-
|
|
18
|
+
import "./manifest-registry-CBF8Vfz8.js";
|
|
19
19
|
import { t as formatDocsLink } from "./links-BDNlbZvM.js";
|
|
20
|
-
import { n as formatConfigIssueLines, r as normalizeConfigIssues } from "./issue-format-
|
|
21
|
-
import { t as redactConfigObject } from "./redact-snapshot-
|
|
20
|
+
import { n as formatConfigIssueLines, r as normalizeConfigIssues } from "./issue-format-D8MobWNt.js";
|
|
21
|
+
import { t as redactConfigObject } from "./redact-snapshot-Dioor4fY.js";
|
|
22
22
|
import JSON5 from "json5";
|
|
23
23
|
|
|
24
24
|
//#region src/cli/config-cli.ts
|
|
@@ -305,7 +305,7 @@ async function runConfigValidate(opts = {}) {
|
|
|
305
305
|
}
|
|
306
306
|
function registerConfigCli(program) {
|
|
307
307
|
const cmd = program.command("config").description("Non-interactive config helpers (get/set/unset/file/validate). Run without subcommand for the setup wizard.").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/config", "docs.openclaw.ai/cli/config")}\n`).option("--section <section>", "Configure wizard sections (repeatable). Use with no subcommand.", (value, previous) => [...previous, value], []).action(async (opts) => {
|
|
308
|
-
const { configureCommandFromSectionsArg } = await import("./configure-
|
|
308
|
+
const { configureCommandFromSectionsArg } = await import("./configure-Dz9z2cyD.js").then((n) => n.t);
|
|
309
309
|
await configureCommandFromSectionsArg(opts.section, defaultRuntime);
|
|
310
310
|
});
|
|
311
311
|
cmd.command("get").description("Get a config value by dot path").argument("<path>", "Config path (dot or bracket notation)").option("--json", "Output JSON", false).action(async (path, opts) => {
|
|
@@ -305,7 +305,7 @@ async function runConfigValidate(opts = {}) {
|
|
|
305
305
|
}
|
|
306
306
|
function registerConfigCli(program) {
|
|
307
307
|
const cmd = program.command("config").description("Non-interactive config helpers (get/set/unset/file/validate). Run without subcommand for the setup wizard.").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/config", "docs.openclaw.ai/cli/config")}\n`).option("--section <section>", "Configure wizard sections (repeatable). Use with no subcommand.", (value, previous) => [...previous, value], []).action(async (opts) => {
|
|
308
|
-
const { configureCommandFromSectionsArg } = await import("./configure-
|
|
308
|
+
const { configureCommandFromSectionsArg } = await import("./configure-CBB1YbMN.js").then((n) => n.t);
|
|
309
309
|
await configureCommandFromSectionsArg(opts.section, defaultRuntime);
|
|
310
310
|
});
|
|
311
311
|
cmd.command("get").description("Get a config value by dot path").argument("<path>", "Config path (dot or bracket notation)").option("--json", "Output JSON", false).action(async (path, opts) => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { H as shouldMigrateStateFromPath, d as colorize, f as isRich, p as theme } from "./globals-B68W7uN8.js";
|
|
3
|
-
import { P as readConfigFileSnapshot } from "./auth-profiles-
|
|
3
|
+
import { P as readConfigFileSnapshot } from "./auth-profiles-CyG9VwU_.js";
|
|
4
4
|
import { t as formatCliCommand } from "./command-format-CVXyxgq3.js";
|
|
5
5
|
import { x as shortenHomePath } from "./utils-DIzy5B5o.js";
|
|
6
|
-
import { n as formatConfigIssueLines } from "./issue-format-
|
|
7
|
-
import { t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-
|
|
6
|
+
import { n as formatConfigIssueLines } from "./issue-format-D8MobWNt.js";
|
|
7
|
+
import { t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-DUdUJgfq.js";
|
|
8
8
|
|
|
9
9
|
//#region src/cli/program/config-guard.ts
|
|
10
10
|
var config_guard_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { P as readConfigFileSnapshot } from "./auth-profiles-
|
|
1
|
+
import { P as readConfigFileSnapshot } from "./auth-profiles-CyG9VwU_.js";
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-CVXyxgq3.js";
|
|
3
3
|
import { c as normalizeAgentId, h as DEFAULT_ACCOUNT_ID } from "./session-key-BLprDJYq.js";
|
|
4
|
-
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-
|
|
4
|
+
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-C4cYqW07.js";
|
|
5
5
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BSfSxnxh.js";
|
|
6
|
-
import { n as formatConfigIssueLines } from "./issue-format-
|
|
6
|
+
import { n as formatConfigIssueLines } from "./issue-format-D8MobWNt.js";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/agents.bindings.ts
|
|
9
9
|
function bindingMatchKey(match) {
|
|
@@ -12,15 +12,15 @@ import { n as withProgress } from "./progress-86COuAnG.js";
|
|
|
12
12
|
import { t as note$1 } from "./note-CLcV1fjx.js";
|
|
13
13
|
import { t as WizardCancelledError } from "./prompts-iXdBMk3j.js";
|
|
14
14
|
import { t as createClackPrompter } from "./clack-prompter-CgCD3NZ8.js";
|
|
15
|
-
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-
|
|
15
|
+
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-Bbzz_NPd.js";
|
|
16
16
|
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-CMWYg4_W.js";
|
|
17
17
|
import { n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-D8xmnSd2.js";
|
|
18
18
|
import { t as resolveGatewayService } from "./service-DqxfCr8y.js";
|
|
19
|
-
import { r as healthCommand } from "./health-
|
|
19
|
+
import { r as healthCommand } from "./health-BX20asqJ.js";
|
|
20
20
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-B_3g_YF0.js";
|
|
21
21
|
import { n as logConfigUpdated } from "./logging-yFV4aFrN.js";
|
|
22
22
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-C9CCcFcF.js";
|
|
23
|
-
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-
|
|
23
|
+
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-eimtfK0N.js";
|
|
24
24
|
import { a as promptDefaultModel, n as applyModelFallbacksFromSelection, o as promptModelAllowlist, r as applyPrimaryModel, t as applyModelAllowlist } from "./model-picker-CMgjcqV_.js";
|
|
25
25
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-BK6kig-o.js";
|
|
26
26
|
import { r as promptCustomApiConfig } from "./onboard-custom-Bow6lZPm.js";
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { t as CONFIG_PATH, u as resolveGatewayPort } from "./paths-BnKiOk2S.js";
|
|
3
3
|
import { d as defaultRuntime } from "./subsystem-DjdBljTA.js";
|
|
4
|
-
import { Kn as ensureAuthProfileStore, M as loadConfig, P as readConfigFileSnapshot, R as writeConfigFile } from "./auth-profiles-
|
|
4
|
+
import { Kn as ensureAuthProfileStore, M as loadConfig, P as readConfigFileSnapshot, R as writeConfigFile } from "./auth-profiles-CyG9VwU_.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-CVXyxgq3.js";
|
|
6
6
|
import { v as resolveUserPath, x as shortenHomePath } from "./utils-DIzy5B5o.js";
|
|
7
|
-
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-
|
|
7
|
+
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-C4cYqW07.js";
|
|
8
8
|
import { a as findTailscaleBinary } from "./tailscale-D3xGoMdQ.js";
|
|
9
|
-
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, g as resolveControlUiLinks, h as randomToken, m as probeGatewayReachable, n as applyWizardMetadata, p as printWizardHeader, s as guardCancel, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput, v as summarizeExistingConfig, y as validateGatewayPasswordInput } from "./onboard-helpers-
|
|
9
|
+
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, g as resolveControlUiLinks, h as randomToken, m as probeGatewayReachable, n as applyWizardMetadata, p as printWizardHeader, s as guardCancel, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput, v as summarizeExistingConfig, y as validateGatewayPasswordInput } from "./onboard-helpers-D8lLbK3A.js";
|
|
10
10
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-CzS6Prvl.js";
|
|
11
11
|
import { n as withProgress } from "./progress-CwQKn0ae.js";
|
|
12
12
|
import { t as note$1 } from "./note-BuhsMSuP.js";
|
|
13
13
|
import { t as WizardCancelledError } from "./prompts-CbZZ91V9.js";
|
|
14
14
|
import { t as createClackPrompter } from "./clack-prompter-B2lC_BWr.js";
|
|
15
|
-
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-
|
|
16
|
-
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-
|
|
15
|
+
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-DGipWl1h.js";
|
|
16
|
+
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-CBCbs7y1.js";
|
|
17
17
|
import { n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BPrEIqYI.js";
|
|
18
|
-
import { t as resolveGatewayService } from "./service-
|
|
19
|
-
import { r as healthCommand } from "./health-
|
|
20
|
-
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-
|
|
18
|
+
import { t as resolveGatewayService } from "./service-CFfCS51c.js";
|
|
19
|
+
import { r as healthCommand } from "./health-D4cJIlo7.js";
|
|
20
|
+
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-BGvtXBkm.js";
|
|
21
21
|
import { n as logConfigUpdated } from "./logging-DsLC1iR-.js";
|
|
22
22
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-DQclruUl.js";
|
|
23
|
-
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-
|
|
24
|
-
import { a as promptDefaultModel, n as applyModelFallbacksFromSelection, o as promptModelAllowlist, r as applyPrimaryModel, t as applyModelAllowlist } from "./model-picker-
|
|
25
|
-
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-
|
|
26
|
-
import { r as promptCustomApiConfig } from "./onboard-custom-
|
|
27
|
-
import { a as maybeAddTailnetOriginToControlUiAllowedOrigins, i as TAILSCALE_MISSING_BIN_NOTE_LINES, n as TAILSCALE_DOCS_LINES, r as TAILSCALE_EXPOSURE_OPTIONS, t as validateIPv4AddressInput } from "./ipv4-
|
|
23
|
+
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-Dx1VT2I8.js";
|
|
24
|
+
import { a as promptDefaultModel, n as applyModelFallbacksFromSelection, o as promptModelAllowlist, r as applyPrimaryModel, t as applyModelAllowlist } from "./model-picker-Dt7Rl38k.js";
|
|
25
|
+
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-DME-3IVk.js";
|
|
26
|
+
import { r as promptCustomApiConfig } from "./onboard-custom-B5F-69pM.js";
|
|
27
|
+
import { a as maybeAddTailnetOriginToControlUiAllowedOrigins, i as TAILSCALE_MISSING_BIN_NOTE_LINES, n as TAILSCALE_DOCS_LINES, r as TAILSCALE_EXPOSURE_OPTIONS, t as validateIPv4AddressInput } from "./ipv4-DQS0lTwQ.js";
|
|
28
28
|
import { t as formatHealthCheckFailure } from "./health-format-NGoowTz5.js";
|
|
29
|
-
import { n as promptRemoteGatewayConfig } from "./onboard-remote-
|
|
30
|
-
import { n as setupSkills } from "./onboard-skills-
|
|
29
|
+
import { n as promptRemoteGatewayConfig } from "./onboard-remote-loJ1Jn9Q.js";
|
|
30
|
+
import { n as setupSkills } from "./onboard-skills-JtcIUHsb.js";
|
|
31
31
|
import path from "node:path";
|
|
32
|
-
import
|
|
32
|
+
import fsPromises from "node:fs/promises";
|
|
33
33
|
import { confirm, intro, outro, select, text } from "@clack/prompts";
|
|
34
34
|
|
|
35
35
|
//#region src/commands/configure.shared.ts
|
|
@@ -749,7 +749,7 @@ async function runConfigureWizard(opts, runtime = defaultRuntime) {
|
|
|
749
749
|
].map((name) => path.join(workspaceDir, name));
|
|
750
750
|
if ((await Promise.all(indicators.map(async (candidate) => {
|
|
751
751
|
try {
|
|
752
|
-
await
|
|
752
|
+
await fsPromises.access(candidate);
|
|
753
753
|
return true;
|
|
754
754
|
} catch {
|
|
755
755
|
return false;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as defaultRuntime } from "./subsystem-DjdBljTA.js";
|
|
2
|
-
import { b as resolveOpenClawPackageRootSync, y as resolveOpenClawPackageRoot } from "./workspace-
|
|
2
|
+
import { b as resolveOpenClawPackageRootSync, y as resolveOpenClawPackageRoot } from "./workspace-DzeL98px.js";
|
|
3
3
|
import { t as runCommandWithTimeout } from "./exec-CEAvKSx9.js";
|
|
4
4
|
import { fileURLToPath } from "node:url";
|
|
5
5
|
import path from "node:path";
|
|
@@ -2,11 +2,11 @@ import { d as colorize, f as isRich, p as theme, t as danger } from "./globals-B
|
|
|
2
2
|
import "./paths-BnKiOk2S.js";
|
|
3
3
|
import { d as defaultRuntime } from "./subsystem-DjdBljTA.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
|
-
import "./auth-profiles-
|
|
6
|
-
import "./agent-scope-
|
|
5
|
+
import "./auth-profiles-CyG9VwU_.js";
|
|
6
|
+
import "./agent-scope-CY2-lUIY.js";
|
|
7
7
|
import { f as sanitizeAgentId } from "./session-key-BLprDJYq.js";
|
|
8
8
|
import "./utils-DIzy5B5o.js";
|
|
9
|
-
import "./workspace-
|
|
9
|
+
import "./workspace-DzeL98px.js";
|
|
10
10
|
import "./logger-BJMfryJd.js";
|
|
11
11
|
import "./exec-CEAvKSx9.js";
|
|
12
12
|
import "./github-copilot-token-CulJ9J5l.js";
|
|
@@ -14,22 +14,22 @@ 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-
|
|
17
|
+
import "./manifest-registry-CBF8Vfz8.js";
|
|
18
18
|
import "./message-channel-0J6eKf3g.js";
|
|
19
|
-
import { n as listChannelPlugins } from "./plugins-
|
|
20
|
-
import "./accounts-
|
|
19
|
+
import { n as listChannelPlugins } from "./plugins-C4cYqW07.js";
|
|
20
|
+
import "./accounts-Cv5CUnT4.js";
|
|
21
21
|
import "./logging-5MtSkLpb.js";
|
|
22
|
-
import "./bindings-
|
|
23
|
-
import "./client-
|
|
24
|
-
import "./call-
|
|
22
|
+
import "./bindings-DGvp9FdD.js";
|
|
23
|
+
import "./client-vUKV2o6h.js";
|
|
24
|
+
import "./call-CmAGfSJE.js";
|
|
25
25
|
import "./pairing-token-DoBZxQnC.js";
|
|
26
|
-
import "./net-
|
|
27
|
-
import "./tailnet-
|
|
26
|
+
import "./net-C75G4fup.js";
|
|
27
|
+
import "./tailnet-CfP3A6g2.js";
|
|
28
28
|
import { n as formatDurationHuman } from "./format-duration-B8vujEIl.js";
|
|
29
29
|
import { i as parseAbsoluteTimeMs, n as resolveCronStaggerMs } from "./stagger-Cek4Eizw.js";
|
|
30
30
|
import { t as formatDocsLink } from "./links-BDNlbZvM.js";
|
|
31
31
|
import "./progress-CwQKn0ae.js";
|
|
32
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
32
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-B5Spvviy.js";
|
|
33
33
|
import { n as parsePositiveIntOrUndefined } from "./helpers-Cj6f8SPZ.js";
|
|
34
34
|
|
|
35
35
|
//#region src/cli/cron-cli/shared.ts
|
|
@@ -2,31 +2,31 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { d as colorize, f as isRich, g as getResolvedLoggerSettings, p as theme } from "./globals-B68W7uN8.js";
|
|
3
3
|
import { d as resolveIsNixMode, g as resolveStateDir, o as resolveConfigPath, u as resolveGatewayPort } from "./paths-BnKiOk2S.js";
|
|
4
4
|
import { d as defaultRuntime } from "./subsystem-DjdBljTA.js";
|
|
5
|
-
import { M as loadConfig, P as readConfigFileSnapshot, R as writeConfigFile, j as createConfigIO } from "./auth-profiles-
|
|
5
|
+
import { M as loadConfig, P as readConfigFileSnapshot, R as writeConfigFile, j as createConfigIO } from "./auth-profiles-CyG9VwU_.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-CVXyxgq3.js";
|
|
7
7
|
import { S as sleep, x as shortenHomePath } from "./utils-DIzy5B5o.js";
|
|
8
8
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-0J6eKf3g.js";
|
|
9
|
-
import { f as loadGatewayTlsRuntime, n as callGateway } from "./call-
|
|
10
|
-
import { u as resolveGatewayBindHost } from "./net-
|
|
11
|
-
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-
|
|
12
|
-
import { a as resolveGatewayAuth } from "./auth-
|
|
13
|
-
import { a as classifyPortListener, n as inspectPortUsage, o as formatPortDiagnostics } from "./ports-
|
|
9
|
+
import { f as loadGatewayTlsRuntime, n as callGateway } from "./call-CmAGfSJE.js";
|
|
10
|
+
import { u as resolveGatewayBindHost } from "./net-C75G4fup.js";
|
|
11
|
+
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-CfP3A6g2.js";
|
|
12
|
+
import { a as resolveGatewayAuth } from "./auth-anvTU0Sb.js";
|
|
13
|
+
import { a as classifyPortListener, n as inspectPortUsage, o as formatPortDiagnostics } from "./ports-DRaxdQmm.js";
|
|
14
14
|
import { t as killProcessTree } from "./kill-tree-BI7OGmGb.js";
|
|
15
15
|
import { f as resolveGatewaySystemdServiceName, l as resolveGatewayLaunchAgentLabel } from "./constants-BLYfoMmL.js";
|
|
16
|
-
import { r as isWSLEnv } from "./wsl-
|
|
17
|
-
import { g as resolveControlUiLinks, h as randomToken } from "./onboard-helpers-
|
|
16
|
+
import { r as isWSLEnv } from "./wsl-DksyFTBT.js";
|
|
17
|
+
import { g as resolveControlUiLinks, h as randomToken } from "./onboard-helpers-D8lLbK3A.js";
|
|
18
18
|
import { t as formatDocsLink } from "./links-BDNlbZvM.js";
|
|
19
19
|
import { n as withProgress } from "./progress-CwQKn0ae.js";
|
|
20
20
|
import { n as inheritOptionFromParent } from "./command-options-DIuz7LzE.js";
|
|
21
|
-
import { t as formatConfigIssueLine } from "./issue-format-
|
|
22
|
-
import { t as buildGatewayInstallPlan } from "./daemon-install-helpers-
|
|
21
|
+
import { t as formatConfigIssueLine } from "./issue-format-D8MobWNt.js";
|
|
22
|
+
import { t as buildGatewayInstallPlan } from "./daemon-install-helpers-CBCbs7y1.js";
|
|
23
23
|
import { r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BPrEIqYI.js";
|
|
24
|
-
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-
|
|
25
|
-
import { a as createCliStatusTextStyles, c as parsePortFromArgs, d as renderRuntimeHints, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, l as pickProbeHostForBind, m as buildDaemonServiceSnapshot, n as runServiceStart, o as filterDaemonEnv, p as safeDaemonEnv, r as runServiceStop, s as normalizeListenerAddress, t as runServiceRestart, u as renderGatewayServiceStartHints } from "./lifecycle-core-
|
|
26
|
-
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-
|
|
24
|
+
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-CFfCS51c.js";
|
|
25
|
+
import { a as createCliStatusTextStyles, c as parsePortFromArgs, d as renderRuntimeHints, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, l as pickProbeHostForBind, m as buildDaemonServiceSnapshot, n as runServiceStart, o as filterDaemonEnv, p as safeDaemonEnv, r as runServiceStop, s as normalizeListenerAddress, t as runServiceRestart, u as renderGatewayServiceStartHints } from "./lifecycle-core-CiAE4s92.js";
|
|
26
|
+
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-C5HK00QG.js";
|
|
27
27
|
import { t as parsePort } from "./parse-port-M1LW5BLv.js";
|
|
28
|
-
import { t as readLastGatewayErrorLine } from "./diagnostics-
|
|
29
|
-
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-
|
|
28
|
+
import { t as readLastGatewayErrorLine } from "./diagnostics-DR9Z0mN5.js";
|
|
29
|
+
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-BzuEXYfa.js";
|
|
30
30
|
|
|
31
31
|
//#region src/cli/daemon-cli/install.ts
|
|
32
32
|
async function runDaemonInstall(opts) {
|
|
@@ -8,12 +8,12 @@ import "./version-CGDNfh5C.js";
|
|
|
8
8
|
import "./env-vars-Dw0EwyGP.js";
|
|
9
9
|
import "./prompt-style-CzS6Prvl.js";
|
|
10
10
|
import "./note-BuhsMSuP.js";
|
|
11
|
-
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-
|
|
11
|
+
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-CBCbs7y1.js";
|
|
12
12
|
import "./runtime-guard-lQH3Hjre.js";
|
|
13
13
|
import { r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BPrEIqYI.js";
|
|
14
|
-
import { r as isSystemdUserServiceAvailable } from "./systemd-
|
|
15
|
-
import { t as resolveGatewayService } from "./service-
|
|
16
|
-
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-
|
|
14
|
+
import { r as isSystemdUserServiceAvailable } from "./systemd-DRGkJYMb.js";
|
|
15
|
+
import { t as resolveGatewayService } from "./service-CFfCS51c.js";
|
|
16
|
+
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-DME-3IVk.js";
|
|
17
17
|
|
|
18
18
|
//#region src/commands/onboard-non-interactive/local/daemon-install.ts
|
|
19
19
|
async function installGatewayDaemonNonInteractive(params) {
|
|
@@ -8,7 +8,7 @@ import { execFile } from "node:child_process";
|
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import os from "node:os";
|
|
10
10
|
import { promisify } from "node:util";
|
|
11
|
-
import
|
|
11
|
+
import fsPromises from "node:fs/promises";
|
|
12
12
|
|
|
13
13
|
//#region src/daemon/program-args.ts
|
|
14
14
|
async function resolveCliEntrypointPathForService() {
|
|
@@ -17,23 +17,23 @@ async function resolveCliEntrypointPathForService() {
|
|
|
17
17
|
const normalized = path.resolve(argv1);
|
|
18
18
|
const resolvedPath = await resolveRealpathSafe(normalized);
|
|
19
19
|
if (/[/\\]dist[/\\].+\.(cjs|js|mjs)$/.test(resolvedPath)) {
|
|
20
|
-
await
|
|
20
|
+
await fsPromises.access(resolvedPath);
|
|
21
21
|
if (/[/\\]dist[/\\].+\.(cjs|js|mjs)$/.test(normalized) && normalized !== resolvedPath) try {
|
|
22
|
-
await
|
|
22
|
+
await fsPromises.access(normalized);
|
|
23
23
|
return normalized;
|
|
24
24
|
} catch {}
|
|
25
25
|
return resolvedPath;
|
|
26
26
|
}
|
|
27
27
|
const distCandidates = buildDistCandidates(resolvedPath, normalized);
|
|
28
28
|
for (const candidate of distCandidates) try {
|
|
29
|
-
await
|
|
29
|
+
await fsPromises.access(candidate);
|
|
30
30
|
return candidate;
|
|
31
31
|
} catch {}
|
|
32
32
|
throw new Error(`Cannot find built CLI at ${distCandidates.join(" or ")}. Run "pnpm build" first, or use dev mode.`);
|
|
33
33
|
}
|
|
34
34
|
async function resolveRealpathSafe(inputPath) {
|
|
35
35
|
try {
|
|
36
|
-
return await
|
|
36
|
+
return await fsPromises.realpath(inputPath);
|
|
37
37
|
} catch {
|
|
38
38
|
return inputPath;
|
|
39
39
|
}
|
|
@@ -93,7 +93,7 @@ async function resolveBinaryPath(binary) {
|
|
|
93
93
|
try {
|
|
94
94
|
const resolved = execFileSync(cmd, [binary], { encoding: "utf8" }).trim().split(/\r?\n/)[0]?.trim();
|
|
95
95
|
if (!resolved) throw new Error("empty");
|
|
96
|
-
await
|
|
96
|
+
await fsPromises.access(resolved);
|
|
97
97
|
return resolved;
|
|
98
98
|
} catch {
|
|
99
99
|
if (binary === "bun") throw new Error("Bun not found in PATH. Install bun: https://bun.sh");
|
|
@@ -112,7 +112,7 @@ async function resolveCliProgramArguments(params) {
|
|
|
112
112
|
if (params.dev) {
|
|
113
113
|
const repoRoot = resolveRepoRootForDev();
|
|
114
114
|
const devCliPath = path.join(repoRoot, "src", "index.ts");
|
|
115
|
-
await
|
|
115
|
+
await fsPromises.access(devCliPath);
|
|
116
116
|
return {
|
|
117
117
|
programArguments: [
|
|
118
118
|
isBunRuntime(execPath) ? execPath : await resolveBunPath(),
|
|
@@ -140,7 +140,7 @@ async function resolveCliProgramArguments(params) {
|
|
|
140
140
|
}
|
|
141
141
|
const repoRoot = resolveRepoRootForDev();
|
|
142
142
|
const devCliPath = path.join(repoRoot, "src", "index.ts");
|
|
143
|
-
await
|
|
143
|
+
await fsPromises.access(devCliPath);
|
|
144
144
|
if (isBunRuntime(execPath)) return {
|
|
145
145
|
programArguments: [
|
|
146
146
|
execPath,
|
|
@@ -207,13 +207,13 @@ async function resolveStableNodePath(nodePath) {
|
|
|
207
207
|
const formula = cellarMatch[2];
|
|
208
208
|
const optPath = `${prefix}/opt/${formula}/bin/node`;
|
|
209
209
|
try {
|
|
210
|
-
await
|
|
210
|
+
await fsPromises.access(optPath);
|
|
211
211
|
return optPath;
|
|
212
212
|
} catch {}
|
|
213
213
|
if (formula === "node") {
|
|
214
214
|
const binPath = `${prefix}/bin/node`;
|
|
215
215
|
try {
|
|
216
|
-
await
|
|
216
|
+
await fsPromises.access(binPath);
|
|
217
217
|
return binPath;
|
|
218
218
|
} catch {}
|
|
219
219
|
}
|
|
@@ -282,7 +282,7 @@ function isSystemNodePath(nodePath, env = process.env, platform = process.platfo
|
|
|
282
282
|
async function resolveSystemNodePath(env = process.env, platform = process.platform) {
|
|
283
283
|
const candidates = buildSystemNodeCandidates(env, platform);
|
|
284
284
|
for (const candidate of candidates) try {
|
|
285
|
-
await
|
|
285
|
+
await fsPromises.access(candidate);
|
|
286
286
|
return candidate;
|
|
287
287
|
} catch {}
|
|
288
288
|
return null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { u as resolveGatewayPort } from "./paths-BnKiOk2S.js";
|
|
2
2
|
import { d as defaultRuntime } from "./subsystem-DjdBljTA.js";
|
|
3
|
-
import { P as readConfigFileSnapshot } from "./auth-profiles-
|
|
4
|
-
import { f as openUrl, g as resolveControlUiLinks, i as detectBrowserOpenSupport, o as formatControlUiSshHint } from "./onboard-helpers-
|
|
3
|
+
import { P as readConfigFileSnapshot } from "./auth-profiles-CyG9VwU_.js";
|
|
4
|
+
import { f as openUrl, g as resolveControlUiLinks, i as detectBrowserOpenSupport, o as formatControlUiSshHint } from "./onboard-helpers-D8lLbK3A.js";
|
|
5
5
|
import { t as copyToClipboard } from "./clipboard-Bscf81z7.js";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/dashboard.ts
|