@bitseek/claw 1.2.7 → 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-Dd9DDvqB.js → audio-preflight-BWOdDA2n.js} +4 -4
- 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/{audio-transcription-runner-Bx53bUS2.js → audio-transcription-runner-DaoqvWoi.js} +1 -1
- 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 +6 -6
- package/dist/bundled/session-memory/handler.js +6 -6
- 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-C6zMSR36.js → chrome-CjTE-vWv.js} +8 -8
- 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-Ce2f2xlT.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-9Y73fGUi.js → completion-cli-BuLkcc9o.js} +1 -1
- package/dist/{completion-cli-BmyLEw45.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/{index-CKSSOzJL.js → index-puDi2eTY.js} +2 -2
- package/dist/control-ui/assets/index-puDi2eTY.js.map +1 -0
- package/dist/control-ui/brand.png +0 -0
- package/dist/control-ui/index.html +4 -5
- 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/{deliver-DXa06hfk.js → deliver-xY3h9X6N.js} +1 -1
- 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-CWm9ZwKY.js → doctor-completion-BIt5xBwC.js} +1 -1
- package/dist/{doctor-completion-_GRkzsCa.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-DRM2vzxA.js → gateway-cli-CanylfLh.js} +22 -12
- package/dist/{gateway-cli-CSL5V3uF.js → gateway-cli-VrzgkvsB.js} +175 -165
- 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/{image-Dd4lgi4H.js → image-DCyaYY2d.js} +1 -1
- package/dist/{image-ops-BGTBZMuE.js → image-ops-B2L37gT8.js} +10 -10
- 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 +6 -6
- 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-ATkjPZXm.js → onboard-B-f5pmgG.js} +2 -2
- package/dist/{onboard-BuGv9f2N.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-BAaREMfO.js → onboarding-D0IraL8k.js} +13 -13
- package/dist/{onboarding-BvdtFAPe.js → onboarding-Kp0zZunD.js} +3 -3
- package/dist/{onboarding.finalize-dkwktLJD.js → onboarding.finalize-CJ23anMx.js} +5 -5
- package/dist/{onboarding.finalize-CV7n10lP.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-DKX65Hec.js → pi-embedded-BgVoy_Nm.js} +62 -26
- 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-embedded-helpers-BErNo2oq.js → pi-embedded-helpers-CMTVhLjq.js} +3 -3
- 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/agents/context.d.ts +2 -0
- package/dist/plugin-sdk/{channel-web-O79O_ah6.js → channel-web-BaFUnG0F.js} +1 -1
- package/dist/plugin-sdk/index.js +2 -2
- package/dist/plugin-sdk/{reply-YZQvouuF.js → reply-BCRC0yeW.js} +42 -6
- package/dist/plugin-sdk/{web-jmxdxo0H.js → web-BDHHRoXS.js} +2 -2
- 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-Br-upXE-.js → program-3T_oL3TY.js} +84 -84
- package/dist/{program-context-B7eOpdoF.js → program-context-D2U9PEv9.js} +17 -17
- package/dist/{prompt-select-styled-CPPwmToI.js → prompt-select-styled-Bir77erd.js} +4 -4
- package/dist/{prompt-select-styled-BpKwjfWa.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/{pw-ai-pkfCxzhV.js → pw-ai-DGwA7iCM.js} +1 -1
- 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-D3hGsmW7.js → register.maintenance-B6f_YUQN.js} +99 -99
- package/dist/{register.maintenance-DlVX7oGZ.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-BSOSCu5a.js → register.onboard-BUBCEjZ_.js} +2 -2
- package/dist/{register.onboard-BLl4Er9V.js → register.onboard-DvpF9feG.js} +18 -18
- package/dist/{register.setup-NLg11E_9.js → register.setup-CA7jtsG8.js} +21 -21
- package/dist/{register.setup-CvAXGVEU.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-Zhshg_9Y.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-CiC7Az8U.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/{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-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-B9F4MIMw.js → update-cli-BnefEkIB.js} +107 -107
- package/dist/{update-cli-mCVWiI6K.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-V1uGLepo.js → web-C1PpWeXj.js} +6 -6
- 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/control-ui/assets/index-CKSSOzJL.js.map +0 -1
- package/dist/register.configure-CaSRlI6h.js +0 -175
- package/dist/web-BKrNiKsU.js +0 -127
|
Binary file
|
|
@@ -3,12 +3,11 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="UTF-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
|
-
<title>
|
|
6
|
+
<title>BitSeek Claw Control</title>
|
|
7
7
|
<meta name="color-scheme" content="dark light" />
|
|
8
|
-
<link rel="icon" type="image/
|
|
9
|
-
<link rel="icon"
|
|
10
|
-
<
|
|
11
|
-
<script type="module" crossorigin src="./assets/index-CKSSOzJL.js"></script>
|
|
8
|
+
<link rel="icon" type="image/png" href="./brand.png" />
|
|
9
|
+
<link rel="apple-touch-icon" href="./brand.png" />
|
|
10
|
+
<script type="module" crossorigin src="./assets/index-puDi2eTY.js"></script>
|
|
12
11
|
<link rel="stylesheet" crossorigin href="./assets/index-Ck63PFX9.css">
|
|
13
12
|
</head>
|
|
14
13
|
<body>
|
|
@@ -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
|
|
@@ -3,15 +3,15 @@ import { a as logVerbose } from "./globals-B68W7uN8.js";
|
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-DjdBljTA.js";
|
|
4
4
|
import { _ as normalizeOptionalAccountId, g as normalizeAccountId } from "./session-key-BLprDJYq.js";
|
|
5
5
|
import { E as triggerInternalHook, f as getActivePluginRegistryVersion, u as getActivePluginRegistry, w as createInternalHookEvent } from "./registry-7fg1BnMw.js";
|
|
6
|
-
import { t as getChannelDock } from "./dock-
|
|
7
|
-
import { F as parseInlineDirectives, i as resolveMirroredTranscriptText, r as appendAssistantMessageToSessionTranscript } from "./sessions-
|
|
8
|
-
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-
|
|
6
|
+
import { t as getChannelDock } from "./dock-CoclJnwp.js";
|
|
7
|
+
import { F as parseInlineDirectives, i as resolveMirroredTranscriptText, r as appendAssistantMessageToSessionTranscript } from "./sessions-BXz4gdq6.js";
|
|
8
|
+
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-C4cYqW07.js";
|
|
9
9
|
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-DyLBF_df.js";
|
|
10
|
-
import { i as isMessagingToolDuplicate } from "./pi-embedded-helpers-
|
|
11
|
-
import { i as getAgentScopedMediaLocalRoots } from "./fetch-
|
|
10
|
+
import { i as isMessagingToolDuplicate } from "./pi-embedded-helpers-CEMPdfif.js";
|
|
11
|
+
import { i as getAgentScopedMediaLocalRoots } from "./fetch-DOjg912W.js";
|
|
12
12
|
import { c as resolveChunkMode, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph } from "./chunk-kLPohhLl.js";
|
|
13
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
14
|
-
import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-
|
|
13
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-DQlQMRGZ.js";
|
|
14
|
+
import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-CZ2O-5pP.js";
|
|
15
15
|
import { i as failDelivery, r as enqueueDelivery, t as ackDelivery } from "./delivery-queue-DhqwvOP8.js";
|
|
16
16
|
|
|
17
17
|
//#region src/plugins/hooks.ts
|
|
@@ -8,7 +8,7 @@ import { t as getChannelDock } from "./dock-Cr9V9V1V.js";
|
|
|
8
8
|
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-B9EDT4jv.js";
|
|
9
9
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-CJoaoIHc.js";
|
|
10
10
|
import { n as generateSecureUuid } from "./secure-random-CY3Mg7Dp.js";
|
|
11
|
-
import { i as isMessagingToolDuplicate } from "./pi-embedded-helpers-
|
|
11
|
+
import { i as isMessagingToolDuplicate } from "./pi-embedded-helpers-CMTVhLjq.js";
|
|
12
12
|
import { i as resolveMirroredTranscriptText, r as appendAssistantMessageToSessionTranscript, w as parseInlineDirectives } from "./sessions-CA_BydGA.js";
|
|
13
13
|
import { i as getAgentScopedMediaLocalRoots } from "./fetch--iXu7oa7.js";
|
|
14
14
|
import { c as resolveChunkMode, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph } from "./chunk-DtYb6TYl.js";
|
|
@@ -2,10 +2,10 @@ import { p as theme } from "./globals-B68W7uN8.js";
|
|
|
2
2
|
import "./paths-BnKiOk2S.js";
|
|
3
3
|
import { d as defaultRuntime } from "./subsystem-DjdBljTA.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
|
-
import "./auth-profiles-
|
|
6
|
-
import "./agent-scope-
|
|
5
|
+
import "./auth-profiles-CyG9VwU_.js";
|
|
6
|
+
import "./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 "./github-copilot-token-CulJ9J5l.js";
|
|
@@ -13,13 +13,13 @@ import "./host-env-security-CJMD0__Z.js";
|
|
|
13
13
|
import "./version-CGDNfh5C.js";
|
|
14
14
|
import "./env-vars-Dw0EwyGP.js";
|
|
15
15
|
import "./registry-7fg1BnMw.js";
|
|
16
|
-
import "./manifest-registry-
|
|
16
|
+
import "./manifest-registry-CBF8Vfz8.js";
|
|
17
17
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-0J6eKf3g.js";
|
|
18
|
-
import { Vt as approveDevicePairing, Wt as listDevicePairing, Xt as summarizeDeviceTokens } from "./client-
|
|
19
|
-
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-
|
|
18
|
+
import { Vt as approveDevicePairing, Wt as listDevicePairing, Xt as summarizeDeviceTokens } from "./client-vUKV2o6h.js";
|
|
19
|
+
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-CmAGfSJE.js";
|
|
20
20
|
import "./pairing-token-DoBZxQnC.js";
|
|
21
|
-
import { r as isLoopbackHost } from "./net-
|
|
22
|
-
import "./tailnet-
|
|
21
|
+
import { r as isLoopbackHost } from "./net-C75G4fup.js";
|
|
22
|
+
import "./tailnet-CfP3A6g2.js";
|
|
23
23
|
import { n as formatTimeAgo } from "./format-relative-DlCMhQXD.js";
|
|
24
24
|
import { n as withProgress } from "./progress-CwQKn0ae.js";
|
|
25
25
|
import { t as renderTable } from "./table-CqULNDay.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-DjdBljTA.js";
|
|
3
|
-
import { M as loadConfig } from "./auth-profiles-
|
|
3
|
+
import { M as loadConfig } from "./auth-profiles-CyG9VwU_.js";
|
|
4
4
|
import { n as getDiagnosticSessionState, r as pruneDiagnosticSessionStates, t as diagnosticSessionStates } from "./diagnostic-session-state-Dx-rJXBO.js";
|
|
5
5
|
|
|
6
6
|
//#region src/infra/diagnostic-events.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as resolveGatewayLogPaths } from "./service-
|
|
2
|
-
import
|
|
1
|
+
import { s as resolveGatewayLogPaths } from "./service-CFfCS51c.js";
|
|
2
|
+
import fsPromises from "node:fs/promises";
|
|
3
3
|
|
|
4
4
|
//#region src/daemon/diagnostics.ts
|
|
5
5
|
const GATEWAY_LOG_ERROR_PATTERNS = [
|
|
@@ -11,7 +11,7 @@ const GATEWAY_LOG_ERROR_PATTERNS = [
|
|
|
11
11
|
];
|
|
12
12
|
async function readLastLogLine(filePath) {
|
|
13
13
|
try {
|
|
14
|
-
const lines = (await
|
|
14
|
+
const lines = (await fsPromises.readFile(filePath, "utf8")).split(/\r?\n/).map((line) => line.trim());
|
|
15
15
|
for (let i = lines.length - 1; i >= 0; i -= 1) if (lines[i]) return lines[i];
|
|
16
16
|
return null;
|
|
17
17
|
} catch {
|
|
@@ -20,8 +20,8 @@ async function readLastLogLine(filePath) {
|
|
|
20
20
|
}
|
|
21
21
|
async function readLastGatewayErrorLine(env) {
|
|
22
22
|
const { stdoutPath, stderrPath } = resolveGatewayLogPaths(env);
|
|
23
|
-
const stderrRaw = await
|
|
24
|
-
const stdoutRaw = await
|
|
23
|
+
const stderrRaw = await fsPromises.readFile(stderrPath, "utf8").catch(() => "");
|
|
24
|
+
const stdoutRaw = await fsPromises.readFile(stdoutPath, "utf8").catch(() => "");
|
|
25
25
|
const lines = [...stderrRaw.split(/\r?\n/), ...stdoutRaw.split(/\r?\n/)].map((line) => line.trim());
|
|
26
26
|
for (let i = lines.length - 1; i >= 0; i -= 1) {
|
|
27
27
|
const line = lines[i];
|
|
@@ -2,10 +2,10 @@ import { p as theme, t as danger } from "./globals-B68W7uN8.js";
|
|
|
2
2
|
import "./paths-BnKiOk2S.js";
|
|
3
3
|
import { d as defaultRuntime } from "./subsystem-DjdBljTA.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
|
-
import { M as loadConfig } from "./auth-profiles-
|
|
6
|
-
import "./agent-scope-
|
|
5
|
+
import { M as loadConfig } from "./auth-profiles-CyG9VwU_.js";
|
|
6
|
+
import "./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 "./github-copilot-token-CulJ9J5l.js";
|
|
@@ -13,13 +13,13 @@ import "./host-env-security-CJMD0__Z.js";
|
|
|
13
13
|
import "./version-CGDNfh5C.js";
|
|
14
14
|
import "./env-vars-Dw0EwyGP.js";
|
|
15
15
|
import "./registry-7fg1BnMw.js";
|
|
16
|
-
import "./manifest-registry-
|
|
16
|
+
import "./manifest-registry-CBF8Vfz8.js";
|
|
17
17
|
import "./message-channel-0J6eKf3g.js";
|
|
18
|
-
import { t as getChannelPlugin } from "./plugins-
|
|
19
|
-
import "./accounts-
|
|
18
|
+
import { t as getChannelPlugin } from "./plugins-C4cYqW07.js";
|
|
19
|
+
import "./accounts-Cv5CUnT4.js";
|
|
20
20
|
import "./logging-5MtSkLpb.js";
|
|
21
|
-
import "./bindings-
|
|
22
|
-
import { n as resolveMessageChannelSelection } from "./channel-selection-
|
|
21
|
+
import "./bindings-DGvp9FdD.js";
|
|
22
|
+
import { n as resolveMessageChannelSelection } from "./channel-selection-DGtYwfd7.js";
|
|
23
23
|
import { t as formatDocsLink } from "./links-BDNlbZvM.js";
|
|
24
24
|
import { t as formatHelpExamples } from "./help-format-B3bKmDqF.js";
|
|
25
25
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BSfSxnxh.js";
|
|
@@ -2,10 +2,10 @@ import { p as theme } from "./globals-B68W7uN8.js";
|
|
|
2
2
|
import "./paths-BnKiOk2S.js";
|
|
3
3
|
import { d as defaultRuntime } from "./subsystem-DjdBljTA.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
|
-
import { M as loadConfig } from "./auth-profiles-
|
|
6
|
-
import "./agent-scope-
|
|
5
|
+
import { M as loadConfig } from "./auth-profiles-CyG9VwU_.js";
|
|
6
|
+
import "./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 "./github-copilot-token-CulJ9J5l.js";
|
|
@@ -13,8 +13,8 @@ import "./host-env-security-CJMD0__Z.js";
|
|
|
13
13
|
import "./version-CGDNfh5C.js";
|
|
14
14
|
import "./env-vars-Dw0EwyGP.js";
|
|
15
15
|
import "./registry-7fg1BnMw.js";
|
|
16
|
-
import "./manifest-registry-
|
|
17
|
-
import { n as pickPrimaryTailnetIPv4, r as pickPrimaryTailnetIPv6 } from "./tailnet-
|
|
16
|
+
import "./manifest-registry-CBF8Vfz8.js";
|
|
17
|
+
import { n as pickPrimaryTailnetIPv4, r as pickPrimaryTailnetIPv6 } from "./tailnet-CfP3A6g2.js";
|
|
18
18
|
import { t as formatDocsLink } from "./links-BDNlbZvM.js";
|
|
19
19
|
import { t as renderTable } from "./table-CqULNDay.js";
|
|
20
20
|
import { n as resolveWideAreaDiscoveryDomain, t as getWideAreaZonePath } from "./widearea-dns-CABro6I6.js";
|
|
@@ -2,10 +2,10 @@ import { g as normalizeAccountId } from "./session-key-BLprDJYq.js";
|
|
|
2
2
|
import { c as escapeRegExp, p as normalizeE164 } from "./utils-DIzy5B5o.js";
|
|
3
3
|
import { a as getChatChannelMeta, n as CHAT_CHANNEL_ORDER, p as requireActivePluginRegistry } from "./registry-7fg1BnMw.js";
|
|
4
4
|
import { t as resolveAccountEntry } from "./account-lookup-DndUerpe.js";
|
|
5
|
-
import { C as resolveDiscordAccount, l as resolveTelegramAccount, m as resolveSlackReplyToMode, p as resolveSlackAccount, v as normalizeWhatsAppTarget } from "./plugins-
|
|
6
|
-
import { i as resolveWhatsAppAccount } from "./accounts-
|
|
7
|
-
import { r as resolveIMessageAccount } from "./accounts-
|
|
8
|
-
import { i as resolveSignalAccount } from "./accounts-
|
|
5
|
+
import { C as resolveDiscordAccount, l as resolveTelegramAccount, m as resolveSlackReplyToMode, p as resolveSlackAccount, v as normalizeWhatsAppTarget } from "./plugins-C4cYqW07.js";
|
|
6
|
+
import { i as resolveWhatsAppAccount } from "./accounts-Cv5CUnT4.js";
|
|
7
|
+
import { r as resolveIMessageAccount } from "./accounts-2NNZ6Hbp.js";
|
|
8
|
+
import { i as resolveSignalAccount } from "./accounts-NHpMJ0aq.js";
|
|
9
9
|
|
|
10
10
|
//#region src/config/types.tools.ts
|
|
11
11
|
const TOOLS_BY_SENDER_KEY_TYPES = [
|
|
@@ -4,15 +4,15 @@ import { d as defaultRuntime } from "./subsystem-DjdBljTA.js";
|
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-CVXyxgq3.js";
|
|
6
6
|
import "./utils-DIzy5B5o.js";
|
|
7
|
-
import "./workspace-
|
|
7
|
+
import "./workspace-DzeL98px.js";
|
|
8
8
|
import "./logger-BJMfryJd.js";
|
|
9
9
|
import { t as runCommandWithTimeout } from "./exec-CEAvKSx9.js";
|
|
10
10
|
import "./host-env-security-CJMD0__Z.js";
|
|
11
11
|
import "./registry-7fg1BnMw.js";
|
|
12
|
-
import "./manifest-registry-
|
|
12
|
+
import "./manifest-registry-CBF8Vfz8.js";
|
|
13
13
|
import { d as hasBinary } from "./frontmatter-C0E8mspC.js";
|
|
14
|
-
import "./skills-
|
|
15
|
-
import "./path-alias-guards-
|
|
14
|
+
import "./skills-D4S-gyVf.js";
|
|
15
|
+
import "./path-alias-guards-laKq24fx.js";
|
|
16
16
|
import "./redact-Ck5U_y4i.js";
|
|
17
17
|
import "./errors-BJz45-qI.js";
|
|
18
18
|
import { t as formatDocsLink } from "./links-BDNlbZvM.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { S as resolveCliName } from "./paths-BYr-iJJ9.js";
|
|
2
2
|
import { y as resolveOpenClawPackageRoot } from "./workspace-CRdln__H.js";
|
|
3
3
|
import { t as note } from "./note-CLcV1fjx.js";
|
|
4
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
4
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-BuLkcc9o.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { spawnSync } from "node:child_process";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { S as resolveCliName } from "./paths-BnKiOk2S.js";
|
|
2
|
-
import { y as resolveOpenClawPackageRoot } from "./workspace-
|
|
2
|
+
import { y as resolveOpenClawPackageRoot } from "./workspace-DzeL98px.js";
|
|
3
3
|
import { t as note } from "./note-BuhsMSuP.js";
|
|
4
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
4
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-DSxTjQik.js";
|
|
5
5
|
import { spawnSync } from "node:child_process";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { f as resolveLegacyStateDirs, g as resolveStateDir, m as resolveOAuthDir, p as resolveNewStateDir, s as resolveConfigPathCandidate, t as CONFIG_PATH } from "./paths-BnKiOk2S.js";
|
|
2
|
-
import { B as OpenClawSchema, Cn as formatSlackStreamModeMigrationMessage, Dn as resolveSlackNativeStreaming, En as resolveDiscordPreviewStreamMode, Ht as isTrustedSafeBinPath, On as resolveSlackStreamingMode, P as readConfigFileSnapshot, Vt as getTrustedSafeBinDirs, Wt as normalizeTrustedSafeBinDirs, k as migrateLegacyConfig, kn as resolveTelegramPreviewStreamMode, tn as resolveCommandResolutionFromArgv, wn as formatSlackStreamingBooleanMigrationMessage } from "./auth-profiles-
|
|
2
|
+
import { B as OpenClawSchema, Cn as formatSlackStreamModeMigrationMessage, Dn as resolveSlackNativeStreaming, En as resolveDiscordPreviewStreamMode, Ht as isTrustedSafeBinPath, On as resolveSlackStreamingMode, P as readConfigFileSnapshot, Vt as getTrustedSafeBinDirs, Wt as normalizeTrustedSafeBinDirs, k as migrateLegacyConfig, kn as resolveTelegramPreviewStreamMode, tn as resolveCommandResolutionFromArgv, wn as formatSlackStreamingBooleanMigrationMessage } from "./auth-profiles-CyG9VwU_.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-CVXyxgq3.js";
|
|
4
|
-
import { d as resolveDefaultAgentId } from "./agent-scope-
|
|
4
|
+
import { d as resolveDefaultAgentId } from "./agent-scope-CY2-lUIY.js";
|
|
5
5
|
import { c as normalizeAgentId, g as normalizeAccountId, h as DEFAULT_ACCOUNT_ID, n as DEFAULT_MAIN_KEY, r as buildAgentMainSessionKey } from "./session-key-BLprDJYq.js";
|
|
6
6
|
import { g as resolveHomeDir, u as isRecord } from "./utils-DIzy5B5o.js";
|
|
7
7
|
import { l as normalizeChatChannelId } from "./registry-7fg1BnMw.js";
|
|
8
|
-
import { f as parseToolsBySenderTypedKey } from "./dock-
|
|
9
|
-
import { Q as canonicalizeMainSessionAlias, l as saveSessionStore } from "./sessions-
|
|
10
|
-
import { l as resolveTelegramAccount, s as listTelegramAccountIds } from "./plugins-
|
|
11
|
-
import { r as resolveMergedSafeBinProfileFixtures, t as listInterpreterLikeSafeBins } from "./exec-safe-bin-runtime-policy-
|
|
12
|
-
import { i as readChannelAllowFromStore } from "./pairing-store-
|
|
13
|
-
import { t as applyPluginAutoEnable } from "./plugin-auto-enable-
|
|
8
|
+
import { f as parseToolsBySenderTypedKey } from "./dock-CoclJnwp.js";
|
|
9
|
+
import { Q as canonicalizeMainSessionAlias, l as saveSessionStore } from "./sessions-BXz4gdq6.js";
|
|
10
|
+
import { l as resolveTelegramAccount, s as listTelegramAccountIds } from "./plugins-C4cYqW07.js";
|
|
11
|
+
import { r as resolveMergedSafeBinProfileFixtures, t as listInterpreterLikeSafeBins } from "./exec-safe-bin-runtime-policy-CpMj95vJ.js";
|
|
12
|
+
import { i as readChannelAllowFromStore } from "./pairing-store-rFuiIoGM.js";
|
|
13
|
+
import { t as applyPluginAutoEnable } from "./plugin-auto-enable-S_lBQAKI.js";
|
|
14
14
|
import { t as collectProviderDangerousNameMatchingScopes } from "./dangerous-name-matching-CffcsSiI.js";
|
|
15
15
|
import { r as shouldMoveSingleAccountChannelKey, t as fetchTelegramChatId } from "./api-CzfBiQzt.js";
|
|
16
16
|
import { t as note } from "./note-BuhsMSuP.js";
|
|
17
|
-
import { t as isWithinDir } from "./path-safety-
|
|
18
|
-
import { n as formatConfigIssueLines } from "./issue-format-
|
|
17
|
+
import { t as isWithinDir } from "./path-safety-Cr4WZsHE.js";
|
|
18
|
+
import { n as formatConfigIssueLines } from "./issue-format-D8MobWNt.js";
|
|
19
19
|
import { a as isMattermostMutableAllowEntry, c as normalizeTelegramAllowFromEntry, i as isMSTeamsMutableAllowEntry, n as isGoogleChatMutableAllowEntry, o as isSlackMutableAllowEntry, r as isIrcMutableAllowEntry, s as isNumericTelegramUserId, t as isDiscordMutableAllowEntry } from "./mutable-allowlist-detectors-BaVrnZS3.js";
|
|
20
20
|
import path from "node:path";
|
|
21
21
|
import os from "node:os";
|
|
22
22
|
import fs from "node:fs";
|
|
23
23
|
import JSON5 from "json5";
|
|
24
|
-
import
|
|
24
|
+
import fsPromises from "node:fs/promises";
|
|
25
25
|
|
|
26
26
|
//#region src/commands/doctor-legacy-config.ts
|
|
27
27
|
function normalizeCompatibilityConfigValues(cfg) {
|
|
@@ -2109,7 +2109,7 @@ async function maybeMigrateLegacyConfig() {
|
|
|
2109
2109
|
const targetPath = resolveConfigPathCandidate(process.env, () => home);
|
|
2110
2110
|
const targetDir = path.dirname(targetPath);
|
|
2111
2111
|
try {
|
|
2112
|
-
await
|
|
2112
|
+
await fsPromises.access(targetPath);
|
|
2113
2113
|
return changes;
|
|
2114
2114
|
} catch {}
|
|
2115
2115
|
const legacyCandidates = [
|
|
@@ -2119,14 +2119,14 @@ async function maybeMigrateLegacyConfig() {
|
|
|
2119
2119
|
];
|
|
2120
2120
|
let legacyPath = null;
|
|
2121
2121
|
for (const candidate of legacyCandidates) try {
|
|
2122
|
-
await
|
|
2122
|
+
await fsPromises.access(candidate);
|
|
2123
2123
|
legacyPath = candidate;
|
|
2124
2124
|
break;
|
|
2125
2125
|
} catch {}
|
|
2126
2126
|
if (!legacyPath) return changes;
|
|
2127
|
-
await
|
|
2127
|
+
await fsPromises.mkdir(targetDir, { recursive: true });
|
|
2128
2128
|
try {
|
|
2129
|
-
await
|
|
2129
|
+
await fsPromises.copyFile(legacyPath, targetPath, fsPromises.constants.COPYFILE_EXCL);
|
|
2130
2130
|
changes.push(`Migrated legacy config: ${legacyPath} -> ${targetPath}`);
|
|
2131
2131
|
} catch {}
|
|
2132
2132
|
return changes;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { l as normalizeChatChannelId } from "./registry-7fg1BnMw.js";
|
|
2
|
-
import { r as ensurePluginAllowlisted } from "./plugin-auto-enable-
|
|
2
|
+
import { r as ensurePluginAllowlisted } from "./plugin-auto-enable-S_lBQAKI.js";
|
|
3
3
|
|
|
4
4
|
//#region src/plugins/toggle-config.ts
|
|
5
5
|
function setPluginEnabledInConfig(config, pluginId, enabled) {
|
package/dist/entry.js
CHANGED
|
@@ -384,7 +384,7 @@ if (!isMainModule({
|
|
|
384
384
|
}
|
|
385
385
|
function tryHandleRootHelpFastPath(argv) {
|
|
386
386
|
if (!isRootHelpInvocation(argv)) return false;
|
|
387
|
-
import("./program-
|
|
387
|
+
import("./program-3T_oL3TY.js").then(({ buildProgram }) => {
|
|
388
388
|
buildProgram().outputHelp();
|
|
389
389
|
}).catch((error) => {
|
|
390
390
|
console.error("[openclaw] Failed to display help:", error instanceof Error ? error.stack ?? error.message : error);
|
|
@@ -403,7 +403,7 @@ if (!isMainModule({
|
|
|
403
403
|
applyCliProfileEnv({ profile: parsed.profile });
|
|
404
404
|
process$1.argv = parsed.argv;
|
|
405
405
|
}
|
|
406
|
-
if (!tryHandleRootVersionFastPath(process$1.argv) && !tryHandleRootHelpFastPath(process$1.argv)) import("./run-main-
|
|
406
|
+
if (!tryHandleRootVersionFastPath(process$1.argv) && !tryHandleRootHelpFastPath(process$1.argv)) import("./run-main-DOntWJzb.js").then(({ runCli }) => runCli(process$1.argv)).catch((error) => {
|
|
407
407
|
console.error("[openclaw] Failed to start CLI:", error instanceof Error ? error.stack ?? error.message : error);
|
|
408
408
|
process$1.exitCode = 1;
|
|
409
409
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $t as matchAllowlist, Gt as validateSafeBinArgv, Ht as isTrustedSafeBinPath, Qt as DEFAULT_SAFE_BINS, Yt as isWindowsPlatform, Zt as splitCommandChain, dn as unwrapKnownShellMultiplexerInvocation, en as resolveAllowlistCandidatePath, gn as SAFE_BIN_PROFILES, in as extractShellWrapperInlineCommand, on as isDispatchWrapperExecutable, qt as analyzeShellCommand, sn as isShellWrapperExecutable, tn as resolveCommandResolutionFromArgv, un as unwrapKnownDispatchWrapperInvocation } from "./auth-profiles-
|
|
1
|
+
import { $t as matchAllowlist, Gt as validateSafeBinArgv, Ht as isTrustedSafeBinPath, Qt as DEFAULT_SAFE_BINS, Yt as isWindowsPlatform, Zt as splitCommandChain, dn as unwrapKnownShellMultiplexerInvocation, en as resolveAllowlistCandidatePath, gn as SAFE_BIN_PROFILES, in as extractShellWrapperInlineCommand, on as isDispatchWrapperExecutable, qt as analyzeShellCommand, sn as isShellWrapperExecutable, tn as resolveCommandResolutionFromArgv, un as unwrapKnownDispatchWrapperInvocation } from "./auth-profiles-CyG9VwU_.js";
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
|
|
4
4
|
//#region src/infra/exec-approvals-allowlist.ts
|