@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
|
@@ -2,11 +2,11 @@ import { d as colorize, p as theme } from "./globals-B68W7uN8.js";
|
|
|
2
2
|
import { d as resolveIsNixMode, g as resolveStateDir } from "./paths-BnKiOk2S.js";
|
|
3
3
|
import { d as defaultRuntime } from "./subsystem-DjdBljTA.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
|
-
import { Kt as analyzeArgvCommand, M as loadConfig, Xt as resolvePlannedSegmentArgv, nn as resolveExecutableFromPathEnv, tn as resolveCommandResolutionFromArgv } from "./auth-profiles-
|
|
5
|
+
import { Kt as analyzeArgvCommand, M as loadConfig, Xt as resolvePlannedSegmentArgv, nn as resolveExecutableFromPathEnv, tn as resolveCommandResolutionFromArgv } from "./auth-profiles-CyG9VwU_.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-CVXyxgq3.js";
|
|
7
|
-
import { i as resolveAgentConfig } from "./agent-scope-
|
|
7
|
+
import { i as resolveAgentConfig } from "./agent-scope-CY2-lUIY.js";
|
|
8
8
|
import "./utils-DIzy5B5o.js";
|
|
9
|
-
import { T as sameFileIdentity } from "./workspace-
|
|
9
|
+
import { T as sameFileIdentity } from "./workspace-DzeL98px.js";
|
|
10
10
|
import { i as logWarn } from "./logger-BJMfryJd.js";
|
|
11
11
|
import "./exec-CEAvKSx9.js";
|
|
12
12
|
import "./github-copilot-token-CulJ9J5l.js";
|
|
@@ -14,52 +14,52 @@ import { a as sanitizeSystemRunEnvOverrides, i as sanitizeHostExecEnv } from "./
|
|
|
14
14
|
import { t as VERSION } from "./version-CGDNfh5C.js";
|
|
15
15
|
import "./env-vars-Dw0EwyGP.js";
|
|
16
16
|
import "./registry-7fg1BnMw.js";
|
|
17
|
-
import "./manifest-registry-
|
|
18
|
-
import "./path-alias-guards-
|
|
17
|
+
import "./manifest-registry-CBF8Vfz8.js";
|
|
18
|
+
import "./path-alias-guards-laKq24fx.js";
|
|
19
19
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-0J6eKf3g.js";
|
|
20
20
|
import "./logging-5MtSkLpb.js";
|
|
21
|
-
import { r as writeJsonAtomic } from "./json-files-
|
|
22
|
-
import { nn as loadOrCreateDeviceIdentity, t as GatewayClient } from "./client-
|
|
21
|
+
import { r as writeJsonAtomic } from "./json-files-rR19q30D.js";
|
|
22
|
+
import { nn as loadOrCreateDeviceIdentity, t as GatewayClient } from "./client-vUKV2o6h.js";
|
|
23
23
|
import "./pairing-token-DoBZxQnC.js";
|
|
24
|
-
import "./net-
|
|
25
|
-
import "./tailnet-
|
|
26
|
-
import { a as getMachineDisplayName, i as startBrowserControlServiceFromConfig, n as createBrowserRouteDispatcher, r as createBrowserControlContext, t as withTimeout } from "./with-timeout-
|
|
27
|
-
import { c as detectMime } from "./image-ops-
|
|
28
|
-
import "./chrome-
|
|
24
|
+
import "./net-C75G4fup.js";
|
|
25
|
+
import "./tailnet-CfP3A6g2.js";
|
|
26
|
+
import { a as getMachineDisplayName, i as startBrowserControlServiceFromConfig, n as createBrowserRouteDispatcher, r as createBrowserControlContext, t as withTimeout } from "./with-timeout-Cf-HNLSj.js";
|
|
27
|
+
import { c as detectMime } from "./image-ops-B2L37gT8.js";
|
|
28
|
+
import "./chrome-DeZyLFsG.js";
|
|
29
29
|
import "./tailscale-D3xGoMdQ.js";
|
|
30
|
-
import "./auth-
|
|
31
|
-
import { i as resolveBrowserConfig } from "./server-context-
|
|
32
|
-
import "./paths-
|
|
30
|
+
import "./auth-anvTU0Sb.js";
|
|
31
|
+
import { i as resolveBrowserConfig } from "./server-context-CjPCwa4T.js";
|
|
32
|
+
import "./paths-B_L2Zoe-.js";
|
|
33
33
|
import "./redact-Ck5U_y4i.js";
|
|
34
34
|
import "./errors-BJz45-qI.js";
|
|
35
|
-
import "./fs-safe-
|
|
36
|
-
import "./proxy-env-
|
|
37
|
-
import "./store-
|
|
38
|
-
import "./ports-
|
|
35
|
+
import "./fs-safe-BqJ9egpm.js";
|
|
36
|
+
import "./proxy-env-BoopXu2J.js";
|
|
37
|
+
import "./store-TdzSHRPN.js";
|
|
38
|
+
import "./ports-DRaxdQmm.js";
|
|
39
39
|
import "./trash-ClChDUTf.js";
|
|
40
|
-
import { n as evaluateShellAllowlist, r as resolveAllowAlwaysPatterns, t as evaluateExecAllowlist } from "./exec-approvals-allowlist-
|
|
41
|
-
import { n as resolveExecSafeBinRuntimePolicy } from "./exec-safe-bin-runtime-policy-
|
|
40
|
+
import { n as evaluateShellAllowlist, r as resolveAllowAlwaysPatterns, t as evaluateExecAllowlist } from "./exec-approvals-allowlist-CFjPSbxI.js";
|
|
41
|
+
import { n as resolveExecSafeBinRuntimePolicy } from "./exec-safe-bin-runtime-policy-CpMj95vJ.js";
|
|
42
42
|
import { a as mergeExecApprovalsSocketDefaults, c as readExecApprovalsSnapshot, d as resolveExecApprovals, l as recordAllowlistUse, m as requestJsonlSocket, n as addAllowlistEntry, p as saveExecApprovals, r as ensureExecApprovals, s as normalizeExecApprovals, u as requiresExecApproval } from "./exec-approvals-HRn5F9dF.js";
|
|
43
|
-
import { n as resolveSystemRunCommand } from "./system-run-command-
|
|
43
|
+
import { n as resolveSystemRunCommand } from "./system-run-command-XHAlbx5q.js";
|
|
44
44
|
import { _ as resolveNodeWindowsTaskName, c as formatNodeServiceDescription, g as resolveNodeSystemdServiceName, h as resolveNodeLaunchAgentLabel } from "./constants-BLYfoMmL.js";
|
|
45
|
-
import "./server-lifecycle-
|
|
45
|
+
import "./server-lifecycle-HLBzAVdX.js";
|
|
46
46
|
import { t as formatDocsLink } from "./links-BDNlbZvM.js";
|
|
47
47
|
import { t as formatHelpExamples } from "./help-format-B3bKmDqF.js";
|
|
48
48
|
import { t as ensureOpenClawCliOnPath } from "./path-env-DDJ70PDB.js";
|
|
49
|
-
import { a as buildNodeServiceEnvironment, i as emitNodeRuntimeWarning, m as resolveNodeProgramArguments, r as resolveGatewayDevMode, u as resolvePreferredNodePath } from "./daemon-install-helpers-
|
|
49
|
+
import { a as buildNodeServiceEnvironment, i as emitNodeRuntimeWarning, m as resolveNodeProgramArguments, r as resolveGatewayDevMode, u as resolvePreferredNodePath } from "./daemon-install-helpers-CBCbs7y1.js";
|
|
50
50
|
import "./runtime-guard-lQH3Hjre.js";
|
|
51
51
|
import { r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BPrEIqYI.js";
|
|
52
|
-
import "./systemd-
|
|
53
|
-
import { s as resolveGatewayLogPaths } from "./service-
|
|
54
|
-
import { a as createCliStatusTextStyles, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, m as buildDaemonServiceSnapshot, r as runServiceStop, t as runServiceRestart } from "./lifecycle-core-
|
|
55
|
-
import { s as formatRuntimeStatus } from "./systemd-hints-
|
|
52
|
+
import "./systemd-DRGkJYMb.js";
|
|
53
|
+
import { s as resolveGatewayLogPaths } from "./service-CFfCS51c.js";
|
|
54
|
+
import { a as createCliStatusTextStyles, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, m as buildDaemonServiceSnapshot, r as runServiceStop, t as runServiceRestart } from "./lifecycle-core-CiAE4s92.js";
|
|
55
|
+
import { s as formatRuntimeStatus } from "./systemd-hints-C5HK00QG.js";
|
|
56
56
|
import { t as parsePort } from "./parse-port-M1LW5BLv.js";
|
|
57
57
|
import { i as NODE_SYSTEM_RUN_COMMANDS, n as NODE_EXEC_APPROVALS_COMMANDS, t as NODE_BROWSER_PROXY_COMMAND } from "./node-commands-DYz_oQFz.js";
|
|
58
|
-
import { t as resolveNodeService } from "./node-service-
|
|
58
|
+
import { t as resolveNodeService } from "./node-service-B0FIwOsW.js";
|
|
59
59
|
import { spawn, spawnSync } from "node:child_process";
|
|
60
60
|
import path from "node:path";
|
|
61
61
|
import fs from "node:fs";
|
|
62
|
-
import
|
|
62
|
+
import fsPromises from "node:fs/promises";
|
|
63
63
|
import crypto from "node:crypto";
|
|
64
64
|
|
|
65
65
|
//#region src/node-host/config.ts
|
|
@@ -82,7 +82,7 @@ function normalizeConfig(config) {
|
|
|
82
82
|
async function loadNodeHostConfig() {
|
|
83
83
|
const filePath = resolveNodeHostConfigPath();
|
|
84
84
|
try {
|
|
85
|
-
const raw = await
|
|
85
|
+
const raw = await fsPromises.readFile(filePath, "utf8");
|
|
86
86
|
return normalizeConfig(JSON.parse(raw));
|
|
87
87
|
} catch {
|
|
88
88
|
return null;
|
|
@@ -178,10 +178,10 @@ function collectBrowserProxyPaths(payload) {
|
|
|
178
178
|
return [...paths];
|
|
179
179
|
}
|
|
180
180
|
async function readBrowserProxyFile(filePath) {
|
|
181
|
-
const stat = await
|
|
181
|
+
const stat = await fsPromises.stat(filePath).catch(() => null);
|
|
182
182
|
if (!stat || !stat.isFile()) return null;
|
|
183
183
|
if (stat.size > BROWSER_PROXY_MAX_FILE_BYTES) throw new Error(`browser proxy file exceeds ${Math.round(BROWSER_PROXY_MAX_FILE_BYTES / (1024 * 1024))}MB`);
|
|
184
|
-
const buffer = await
|
|
184
|
+
const buffer = await fsPromises.readFile(filePath);
|
|
185
185
|
const mimeType = await detectMime({
|
|
186
186
|
buffer,
|
|
187
187
|
filePath
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bt as normalizeDeviceMetadataForPolicy } from "./client-
|
|
1
|
+
import { Bt as normalizeDeviceMetadataForPolicy } from "./client-vUKV2o6h.js";
|
|
2
2
|
import { i as NODE_SYSTEM_RUN_COMMANDS, r as NODE_SYSTEM_NOTIFY_COMMAND, t as NODE_BROWSER_PROXY_COMMAND } from "./node-commands-DYz_oQFz.js";
|
|
3
3
|
|
|
4
4
|
//#region src/gateway/node-command-policy.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as resolveNodeWindowsTaskName, a as NODE_SERVICE_KIND, g as resolveNodeSystemdServiceName, h as resolveNodeLaunchAgentLabel, o as NODE_SERVICE_MARKER, s as NODE_WINDOWS_TASK_SCRIPT_NAME } from "./constants-BLYfoMmL.js";
|
|
2
|
-
import { t as resolveGatewayService } from "./service-
|
|
2
|
+
import { t as resolveGatewayService } from "./service-CFfCS51c.js";
|
|
3
3
|
|
|
4
4
|
//#region src/daemon/node-service.ts
|
|
5
5
|
function withNodeServiceEnv(env) {
|
|
@@ -2,10 +2,10 @@ import { f as isRich, p as theme } from "./globals-B68W7uN8.js";
|
|
|
2
2
|
import "./paths-BnKiOk2S.js";
|
|
3
3
|
import { d as defaultRuntime } from "./subsystem-DjdBljTA.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
|
-
import { M as loadConfig, at as parseDurationMs } from "./auth-profiles-
|
|
6
|
-
import { d as resolveDefaultAgentId, i as resolveAgentConfig } from "./agent-scope-
|
|
5
|
+
import { M as loadConfig, at as parseDurationMs } from "./auth-profiles-CyG9VwU_.js";
|
|
6
|
+
import { d as resolveDefaultAgentId, i as resolveAgentConfig } from "./agent-scope-CY2-lUIY.js";
|
|
7
7
|
import { b as shortenHomeInString, x as shortenHomePath } from "./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,22 +13,22 @@ 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 "./client-
|
|
19
|
-
import { a as randomIdempotencyKey } from "./call-
|
|
18
|
+
import "./client-vUKV2o6h.js";
|
|
19
|
+
import { a as randomIdempotencyKey } from "./call-CmAGfSJE.js";
|
|
20
20
|
import "./pairing-token-DoBZxQnC.js";
|
|
21
|
-
import "./net-
|
|
22
|
-
import "./tailnet-
|
|
21
|
+
import "./net-C75G4fup.js";
|
|
22
|
+
import "./tailnet-CfP3A6g2.js";
|
|
23
23
|
import "./redact-Ck5U_y4i.js";
|
|
24
24
|
import "./errors-BJz45-qI.js";
|
|
25
|
-
import "./proxy-env-
|
|
26
|
-
import "./exec-approvals-allowlist-
|
|
27
|
-
import "./fetch-guard-
|
|
25
|
+
import "./proxy-env-BoopXu2J.js";
|
|
26
|
+
import "./exec-approvals-allowlist-CFjPSbxI.js";
|
|
27
|
+
import "./fetch-guard-Csbz9pui.js";
|
|
28
28
|
import { n as formatTimeAgo } from "./format-relative-DlCMhQXD.js";
|
|
29
29
|
import { f as resolveExecApprovalsFromFile, i as maxAsk, o as minSecurity, t as DEFAULT_EXEC_APPROVAL_TIMEOUT_MS } from "./exec-approvals-HRn5F9dF.js";
|
|
30
|
-
import { a as canvasSnapshotTempPath, b as buildNodeShellCommand, c as parseCameraClipPayload, d as writeCameraClipPayloadToFile, f as writeCameraPayloadToFile, i as parseEnvPairs, l as parseCameraSnapPayload, n as screenRecordTempPath, o as parseCanvasSnapshotPayload, p as parsePreparedSystemRunPayload, r as writeScreenRecordToFile, s as cameraTempPath, t as parseScreenRecordPayload, u as writeBase64ToFile, x as applyPathPrepend } from "./nodes-screen-
|
|
31
|
-
import "./system-run-command-
|
|
30
|
+
import { a as canvasSnapshotTempPath, b as buildNodeShellCommand, c as parseCameraClipPayload, d as writeCameraClipPayloadToFile, f as writeCameraPayloadToFile, i as parseEnvPairs, l as parseCameraSnapPayload, n as screenRecordTempPath, o as parseCanvasSnapshotPayload, p as parsePreparedSystemRunPayload, r as writeScreenRecordToFile, s as cameraTempPath, t as parseScreenRecordPayload, u as writeBase64ToFile, x as applyPathPrepend } from "./nodes-screen-BHwVUMr8.js";
|
|
31
|
+
import "./system-run-command-XHAlbx5q.js";
|
|
32
32
|
import { i as parsePairingList, r as parseNodeList } from "./node-resolve-DCXbzdeZ.js";
|
|
33
33
|
import { t as parseTimeoutMs } from "./parse-timeout-BLJlOyi9.js";
|
|
34
34
|
import { t as formatDocsLink } from "./links-BDNlbZvM.js";
|
|
@@ -36,8 +36,8 @@ import { n as runCommandWithRuntime } from "./cli-utils-k9A6CA1o.js";
|
|
|
36
36
|
import { t as formatHelpExamples } from "./help-format-B3bKmDqF.js";
|
|
37
37
|
import "./progress-CwQKn0ae.js";
|
|
38
38
|
import { t as renderTable } from "./table-CqULNDay.js";
|
|
39
|
-
import { a as resolveNodeId, i as resolveNode, n as callGatewayCli, o as unauthorizedHintForMessage, r as nodesCallOpts, s as formatPermissions, t as buildNodeInvokeParams } from "./rpc-
|
|
40
|
-
import
|
|
39
|
+
import { a as resolveNodeId, i as resolveNode, n as callGatewayCli, o as unauthorizedHintForMessage, r as nodesCallOpts, s as formatPermissions, t as buildNodeInvokeParams } from "./rpc-DQa5fiBV.js";
|
|
40
|
+
import fsPromises from "node:fs/promises";
|
|
41
41
|
|
|
42
42
|
//#region src/cli/nodes-cli/cli-utils.ts
|
|
43
43
|
function getNodesTheme() {
|
|
@@ -387,7 +387,7 @@ function registerNodesCanvasCommands(nodes) {
|
|
|
387
387
|
const hasJsonl = Boolean(opts.jsonl);
|
|
388
388
|
const hasText = typeof opts.text === "string";
|
|
389
389
|
if (hasJsonl === hasText) throw new Error("provide exactly one of --jsonl or --text");
|
|
390
|
-
const jsonl = hasText ? buildA2UITextJsonl(String(opts.text ?? "")) : await
|
|
390
|
+
const jsonl = hasText ? buildA2UITextJsonl(String(opts.text ?? "")) : await fsPromises.readFile(String(opts.jsonl), "utf8");
|
|
391
391
|
const { version, messageCount } = validateA2UIJsonl(jsonl);
|
|
392
392
|
if (version === "v0.9") throw new Error("Detected A2UI v0.9 JSONL (createSurface). OpenClaw currently supports v0.8 only.");
|
|
393
393
|
await invokeCanvas(opts, "canvas.a2ui.pushJSONL", { jsonl });
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { k as resolvePreferredOpenClawTmpDir } from "./globals-B68W7uN8.js";
|
|
2
2
|
import { S as resolveCliName } from "./paths-BnKiOk2S.js";
|
|
3
3
|
import { r as normalizeEnvVarKey } from "./host-env-security-CJMD0__Z.js";
|
|
4
|
-
import { c as normalizeHostname } from "./proxy-env-
|
|
5
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
6
|
-
import { n as resolveSystemRunCommand, t as formatExecCommand } from "./system-run-command-
|
|
4
|
+
import { c as normalizeHostname } from "./proxy-env-BoopXu2J.js";
|
|
5
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-Csbz9pui.js";
|
|
6
|
+
import { n as resolveSystemRunCommand, t as formatExecCommand } from "./system-run-command-XHAlbx5q.js";
|
|
7
7
|
import * as path$1 from "node:path";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import fs from "node:fs";
|
|
10
|
-
import * as fs$
|
|
10
|
+
import * as fs$1 from "node:fs/promises";
|
|
11
11
|
import crypto, { randomUUID } from "node:crypto";
|
|
12
12
|
|
|
13
13
|
//#region src/infra/path-prepend.ts
|
|
@@ -356,7 +356,7 @@ async function writeUrlToFile(filePath, url, opts) {
|
|
|
356
356
|
if (typeof contentLength === "number" && Number.isFinite(contentLength) && contentLength > MAX_CAMERA_URL_DOWNLOAD_BYTES) throw new Error(`writeUrlToFile: content-length ${contentLength} exceeds max ${MAX_CAMERA_URL_DOWNLOAD_BYTES}`);
|
|
357
357
|
const body = res.body;
|
|
358
358
|
if (!body) throw new Error(`failed to download ${url}: empty response body`);
|
|
359
|
-
const fileHandle = await fs$
|
|
359
|
+
const fileHandle = await fs$1.open(filePath, "w");
|
|
360
360
|
let thrown;
|
|
361
361
|
try {
|
|
362
362
|
const reader = body.getReader();
|
|
@@ -374,7 +374,7 @@ async function writeUrlToFile(filePath, url, opts) {
|
|
|
374
374
|
await fileHandle.close();
|
|
375
375
|
}
|
|
376
376
|
if (thrown) {
|
|
377
|
-
await fs$
|
|
377
|
+
await fs$1.unlink(filePath).catch(() => {});
|
|
378
378
|
throw thrown;
|
|
379
379
|
}
|
|
380
380
|
} finally {
|
|
@@ -387,7 +387,7 @@ async function writeUrlToFile(filePath, url, opts) {
|
|
|
387
387
|
}
|
|
388
388
|
async function writeBase64ToFile(filePath, base64) {
|
|
389
389
|
const buf = Buffer.from(base64, "base64");
|
|
390
|
-
await fs$
|
|
390
|
+
await fs$1.writeFile(filePath, buf);
|
|
391
391
|
return {
|
|
392
392
|
path: filePath,
|
|
393
393
|
bytes: buf.length
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { v as resolveUserPath } from "./utils-DIzy5B5o.js";
|
|
2
2
|
import { t as runCommandWithTimeout } from "./exec-CEAvKSx9.js";
|
|
3
|
-
import { c as fileExists, d as resolvePackedRootDir, n as resolveSafeInstallDir, s as extractArchive, t as assertCanonicalPathWithinBase, u as resolveArchiveKind } from "./install-safe-path-
|
|
3
|
+
import { c as fileExists, d as resolvePackedRootDir, n as resolveSafeInstallDir, s as extractArchive, t as assertCanonicalPathWithinBase, u as resolveArchiveKind } from "./install-safe-path-C8QJ5yjB.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import os from "node:os";
|
|
6
|
-
import
|
|
6
|
+
import fsPromises from "node:fs/promises";
|
|
7
7
|
|
|
8
8
|
//#region src/infra/install-source-utils.ts
|
|
9
9
|
function buildNpmResolutionFields(resolution) {
|
|
@@ -17,11 +17,11 @@ function buildNpmResolutionFields(resolution) {
|
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
19
|
async function withTempDir(prefix, fn) {
|
|
20
|
-
const tmpDir = await
|
|
20
|
+
const tmpDir = await fsPromises.mkdtemp(path.join(os.tmpdir(), prefix));
|
|
21
21
|
try {
|
|
22
22
|
return await fn(tmpDir);
|
|
23
23
|
} finally {
|
|
24
|
-
await
|
|
24
|
+
await fsPromises.rm(tmpDir, {
|
|
25
25
|
recursive: true,
|
|
26
26
|
force: true
|
|
27
27
|
}).catch(() => void 0);
|
|
@@ -106,12 +106,12 @@ function parsePackedArchiveFromStdout(stdout) {
|
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
async function findPackedArchiveInDir(cwd) {
|
|
109
|
-
const archives = (await
|
|
109
|
+
const archives = (await fsPromises.readdir(cwd, { withFileTypes: true }).catch(() => [])).filter((entry) => entry.isFile() && entry.name.endsWith(".tgz"));
|
|
110
110
|
if (archives.length === 0) return;
|
|
111
111
|
if (archives.length === 1) return archives[0]?.name;
|
|
112
112
|
const sortedByMtime = await Promise.all(archives.map(async (entry) => ({
|
|
113
113
|
name: entry.name,
|
|
114
|
-
mtimeMs: (await
|
|
114
|
+
mtimeMs: (await fsPromises.stat(path.join(cwd, entry.name))).mtimeMs
|
|
115
115
|
})));
|
|
116
116
|
sortedByMtime.sort((a, b) => b.mtimeMs - a.mtimeMs);
|
|
117
117
|
return sortedByMtime[0]?.name;
|
|
@@ -176,13 +176,13 @@ async function resolveExistingInstallPath(inputPath) {
|
|
|
176
176
|
return {
|
|
177
177
|
ok: true,
|
|
178
178
|
resolvedPath,
|
|
179
|
-
stat: await
|
|
179
|
+
stat: await fsPromises.stat(resolvedPath)
|
|
180
180
|
};
|
|
181
181
|
}
|
|
182
182
|
async function withExtractedArchiveRoot(params) {
|
|
183
183
|
return await withTempDir(params.tempDirPrefix, async (tmpDir) => {
|
|
184
184
|
const extractDir = path.join(tmpDir, "extract");
|
|
185
|
-
await
|
|
185
|
+
await fsPromises.mkdir(extractDir, { recursive: true });
|
|
186
186
|
params.logger?.info?.(`Extracting ${params.archivePath}…`);
|
|
187
187
|
try {
|
|
188
188
|
await extractArchive({
|
|
@@ -235,7 +235,7 @@ async function sanitizeManifestForNpmInstall(targetDir) {
|
|
|
235
235
|
const manifestPath = path.join(targetDir, "package.json");
|
|
236
236
|
let manifestRaw = "";
|
|
237
237
|
try {
|
|
238
|
-
manifestRaw = await
|
|
238
|
+
manifestRaw = await fsPromises.readFile(manifestPath, "utf-8");
|
|
239
239
|
} catch {
|
|
240
240
|
return;
|
|
241
241
|
}
|
|
@@ -255,7 +255,7 @@ async function sanitizeManifestForNpmInstall(targetDir) {
|
|
|
255
255
|
if (filteredEntries.length === Object.keys(devDependencies).length) return;
|
|
256
256
|
if (filteredEntries.length === 0) delete manifest.devDependencies;
|
|
257
257
|
else manifest.devDependencies = Object.fromEntries(filteredEntries);
|
|
258
|
-
await
|
|
258
|
+
await fsPromises.writeFile(manifestPath, `${JSON.stringify(manifest, null, 2)}\n`, "utf-8");
|
|
259
259
|
}
|
|
260
260
|
async function assertInstallBoundaryPaths(params) {
|
|
261
261
|
for (const candidatePath of params.candidatePaths) await assertCanonicalPathWithinBase({
|
|
@@ -267,7 +267,7 @@ async function assertInstallBoundaryPaths(params) {
|
|
|
267
267
|
async function installPackageDir(params) {
|
|
268
268
|
params.logger?.info?.(`Installing to ${params.targetDir}…`);
|
|
269
269
|
const installBaseDir = path.dirname(params.targetDir);
|
|
270
|
-
await
|
|
270
|
+
await fsPromises.mkdir(installBaseDir, { recursive: true });
|
|
271
271
|
await assertInstallBoundaryPaths({
|
|
272
272
|
installBaseDir,
|
|
273
273
|
candidatePaths: [params.targetDir]
|
|
@@ -276,12 +276,12 @@ async function installPackageDir(params) {
|
|
|
276
276
|
if (params.mode === "update" && await fileExists(params.targetDir)) {
|
|
277
277
|
const backupRoot = path.join(path.dirname(params.targetDir), ".openclaw-install-backups");
|
|
278
278
|
backupDir = path.join(backupRoot, `${path.basename(params.targetDir)}-${Date.now()}`);
|
|
279
|
-
await
|
|
279
|
+
await fsPromises.mkdir(backupRoot, { recursive: true });
|
|
280
280
|
await assertInstallBoundaryPaths({
|
|
281
281
|
installBaseDir,
|
|
282
282
|
candidatePaths: [backupDir]
|
|
283
283
|
});
|
|
284
|
-
await
|
|
284
|
+
await fsPromises.rename(params.targetDir, backupDir);
|
|
285
285
|
}
|
|
286
286
|
const rollback = async () => {
|
|
287
287
|
if (!backupDir) return;
|
|
@@ -289,18 +289,18 @@ async function installPackageDir(params) {
|
|
|
289
289
|
installBaseDir,
|
|
290
290
|
candidatePaths: [params.targetDir, backupDir]
|
|
291
291
|
});
|
|
292
|
-
await
|
|
292
|
+
await fsPromises.rm(params.targetDir, {
|
|
293
293
|
recursive: true,
|
|
294
294
|
force: true
|
|
295
295
|
}).catch(() => void 0);
|
|
296
|
-
await
|
|
296
|
+
await fsPromises.rename(backupDir, params.targetDir).catch(() => void 0);
|
|
297
297
|
};
|
|
298
298
|
try {
|
|
299
299
|
await assertInstallBoundaryPaths({
|
|
300
300
|
installBaseDir,
|
|
301
301
|
candidatePaths: [params.targetDir]
|
|
302
302
|
});
|
|
303
|
-
await
|
|
303
|
+
await fsPromises.cp(params.sourceDir, params.targetDir, { recursive: true });
|
|
304
304
|
} catch (err) {
|
|
305
305
|
await rollback();
|
|
306
306
|
return {
|
|
@@ -338,7 +338,7 @@ async function installPackageDir(params) {
|
|
|
338
338
|
};
|
|
339
339
|
}
|
|
340
340
|
}
|
|
341
|
-
if (backupDir) await
|
|
341
|
+
if (backupDir) await fsPromises.rm(backupDir, {
|
|
342
342
|
recursive: true,
|
|
343
343
|
force: true
|
|
344
344
|
}).catch(() => void 0);
|
|
@@ -354,7 +354,7 @@ async function installPackageDirWithManifestDeps(params) {
|
|
|
354
354
|
//#endregion
|
|
355
355
|
//#region src/infra/install-target.ts
|
|
356
356
|
async function resolveCanonicalInstallTarget(params) {
|
|
357
|
-
await
|
|
357
|
+
await fsPromises.mkdir(params.baseDir, { recursive: true });
|
|
358
358
|
const targetDirResult = resolveSafeInstallDir({
|
|
359
359
|
baseDir: params.baseDir,
|
|
360
360
|
id: params.id,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-DjdBljTA.js";
|
|
2
|
-
import { M as loadConfig } from "./auth-profiles-
|
|
3
|
-
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
-
import { h as resolveDefaultAgentWorkspaceDir } from "./workspace-
|
|
5
|
-
import { _ as loadOpenClawPlugins, g as createPluginLoaderLogger } from "./subagent-registry-
|
|
6
|
-
import { d as buildNpmResolutionFields } from "./npm-pack-install-
|
|
2
|
+
import { M as loadConfig } from "./auth-profiles-CyG9VwU_.js";
|
|
3
|
+
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-CY2-lUIY.js";
|
|
4
|
+
import { h as resolveDefaultAgentWorkspaceDir } from "./workspace-DzeL98px.js";
|
|
5
|
+
import { _ as loadOpenClawPlugins, g as createPluginLoaderLogger } from "./subagent-registry-DlmrBMrv.js";
|
|
6
|
+
import { d as buildNpmResolutionFields } from "./npm-pack-install-qErvgXGZ.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
|
|
9
9
|
//#region src/plugins/status.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dt as loadOpenClawPlugins, ut as createPluginLoaderLogger } from "./reply-
|
|
1
|
+
import { dt as loadOpenClawPlugins, ut as createPluginLoaderLogger } from "./reply-BOAv4F33.js";
|
|
2
2
|
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-CiBV1K6b.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-BT74-yyS.js";
|
|
4
4
|
import { h as resolveDefaultAgentWorkspaceDir } from "./workspace-CRdln__H.js";
|
|
@@ -8,7 +8,7 @@ import { t as assertSupportedRuntime } from "./runtime-guard-p6l4jDOj.js";
|
|
|
8
8
|
import { t as WizardCancelledError } from "./prompts-iXdBMk3j.js";
|
|
9
9
|
import { t as createClackPrompter } from "./clack-prompter-CgCD3NZ8.js";
|
|
10
10
|
import { t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-D8xmnSd2.js";
|
|
11
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
11
|
+
import { t as runOnboardingWizard } from "./onboarding-Kp0zZunD.js";
|
|
12
12
|
import { n as logConfigUpdated } from "./logging-yFV4aFrN.js";
|
|
13
13
|
import { i as normalizeLegacyOnboardAuthChoice, r as isDeprecatedAuthChoice, t as ONBOARD_PROVIDER_AUTH_FLAGS } from "./onboard-provider-auth-flags-Dqir0v9m.js";
|
|
14
14
|
import { t as applyOnboardingLocalWorkspaceConfig } from "./onboard-config-3n3w_Lvm.js";
|
|
@@ -251,7 +251,7 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
251
251
|
}
|
|
252
252
|
const daemonRuntimeRaw = opts.daemonRuntime ?? DEFAULT_GATEWAY_DAEMON_RUNTIME;
|
|
253
253
|
if (!opts.skipHealth) {
|
|
254
|
-
const { healthCommand } = await import("./health-
|
|
254
|
+
const { healthCommand } = await import("./health-BX20asqJ.js").then((n) => n.i);
|
|
255
255
|
await waitForGatewayReachable({
|
|
256
256
|
url: resolveControlUiLinks({
|
|
257
257
|
bind: gatewayResult.bind,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { u as resolveGatewayPort } from "./paths-BnKiOk2S.js";
|
|
2
2
|
import { d as defaultRuntime, f as restoreTerminalState } from "./subsystem-DjdBljTA.js";
|
|
3
|
-
import { P as readConfigFileSnapshot, R as writeConfigFile } from "./auth-profiles-
|
|
3
|
+
import { P as readConfigFileSnapshot, R as writeConfigFile } from "./auth-profiles-CyG9VwU_.js";
|
|
4
4
|
import { t as formatCliCommand } from "./command-format-CVXyxgq3.js";
|
|
5
5
|
import { v as resolveUserPath } from "./utils-DIzy5B5o.js";
|
|
6
|
-
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, c as handleReset, g as resolveControlUiLinks, h as randomToken, n as applyWizardMetadata, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput } from "./onboard-helpers-
|
|
6
|
+
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, c as handleReset, g as resolveControlUiLinks, h as randomToken, n as applyWizardMetadata, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput } from "./onboard-helpers-D8lLbK3A.js";
|
|
7
7
|
import { t as WizardCancelledError } from "./prompts-CbZZ91V9.js";
|
|
8
8
|
import { t as createClackPrompter } from "./clack-prompter-B2lC_BWr.js";
|
|
9
9
|
import { t as assertSupportedRuntime } from "./runtime-guard-lQH3Hjre.js";
|
|
10
10
|
import { t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BPrEIqYI.js";
|
|
11
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
11
|
+
import { t as runOnboardingWizard } from "./onboarding-D0IraL8k.js";
|
|
12
12
|
import { n as logConfigUpdated } from "./logging-DsLC1iR-.js";
|
|
13
13
|
import { i as normalizeLegacyOnboardAuthChoice, r as isDeprecatedAuthChoice, t as ONBOARD_PROVIDER_AUTH_FLAGS } from "./onboard-provider-auth-flags-AoFLWxQT.js";
|
|
14
14
|
import { t as applyOnboardingLocalWorkspaceConfig } from "./onboard-config-D6N2g-IY.js";
|
|
@@ -207,7 +207,7 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
207
207
|
}
|
|
208
208
|
const authChoice = opts.authChoice ?? inferredAuthChoice.choice ?? "skip";
|
|
209
209
|
if (authChoice !== "skip") {
|
|
210
|
-
const { applyNonInteractiveAuthChoice } = await import("./auth-choice-
|
|
210
|
+
const { applyNonInteractiveAuthChoice } = await import("./auth-choice-Co_Dl_bs.js");
|
|
211
211
|
const nextConfigAfterAuth = await applyNonInteractiveAuthChoice({
|
|
212
212
|
nextConfig,
|
|
213
213
|
authChoice,
|
|
@@ -240,7 +240,7 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
240
240
|
logConfigUpdated(runtime);
|
|
241
241
|
await ensureWorkspaceAndSessions(workspaceDir, runtime, { skipBootstrap: Boolean(nextConfig.agents?.defaults?.skipBootstrap) });
|
|
242
242
|
if (opts.installDaemon) {
|
|
243
|
-
const { installGatewayDaemonNonInteractive } = await import("./daemon-install-
|
|
243
|
+
const { installGatewayDaemonNonInteractive } = await import("./daemon-install-CKree1OU.js");
|
|
244
244
|
await installGatewayDaemonNonInteractive({
|
|
245
245
|
nextConfig,
|
|
246
246
|
opts,
|
|
@@ -251,7 +251,7 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
251
251
|
}
|
|
252
252
|
const daemonRuntimeRaw = opts.daemonRuntime ?? DEFAULT_GATEWAY_DAEMON_RUNTIME;
|
|
253
253
|
if (!opts.skipHealth) {
|
|
254
|
-
const { healthCommand } = await import("./health-
|
|
254
|
+
const { healthCommand } = await import("./health-D4cJIlo7.js").then((n) => n.i);
|
|
255
255
|
await waitForGatewayReachable({
|
|
256
256
|
url: resolveControlUiLinks({
|
|
257
257
|
bind: gatewayResult.bind,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { h as pathExists, m as normalizeE164, t as CONFIG_DIR } from "./utils-CP51tiAi.js";
|
|
3
|
-
import { Lr as resolveSlackUserAllowlist, Rr as resolveDiscordUserAllowlist, St as resolveSlackChannelAllowlist, dt as loadOpenClawPlugins, kt as resolveDiscordChannelAllowlist, ut as createPluginLoaderLogger } from "./reply-
|
|
3
|
+
import { Lr as resolveSlackUserAllowlist, Rr as resolveDiscordUserAllowlist, St as resolveSlackChannelAllowlist, dt as loadOpenClawPlugins, kt as resolveDiscordChannelAllowlist, ut as createPluginLoaderLogger } from "./reply-BOAv4F33.js";
|
|
4
4
|
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-CiBV1K6b.js";
|
|
5
5
|
import { t as createSubsystemLogger } from "./subsystem-BT74-yyS.js";
|
|
6
6
|
import { g as normalizeAccountId, h as DEFAULT_ACCOUNT_ID } from "./session-key-C9z4VQtw.js";
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-DjdBljTA.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-CVXyxgq3.js";
|
|
4
|
-
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
+
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-CY2-lUIY.js";
|
|
5
5
|
import { g as normalizeAccountId, h as DEFAULT_ACCOUNT_ID } from "./session-key-BLprDJYq.js";
|
|
6
6
|
import { m as pathExists, p as normalizeE164, t as CONFIG_DIR } from "./utils-DIzy5B5o.js";
|
|
7
7
|
import { t as runCommandWithTimeout } from "./exec-CEAvKSx9.js";
|
|
8
8
|
import { i as formatChannelSelectionLine, o as listChatChannels, r as formatChannelPrimerLine } from "./registry-7fg1BnMw.js";
|
|
9
|
-
import { C as resolveDiscordAccount, S as resolveDefaultDiscordAccountId, b as listDiscordAccountIds, c as resolveDefaultTelegramAccountId, d as listSlackAccountIds, f as resolveDefaultSlackAccountId, l as resolveTelegramAccount, n as listChannelPlugins, p as resolveSlackAccount, s as listTelegramAccountIds, t as getChannelPlugin } from "./plugins-
|
|
10
|
-
import { a as resolveWhatsAppAuthDir, n as listWhatsAppAccountIds, r as resolveDefaultWhatsAppAccountId } from "./accounts-
|
|
11
|
-
import { n as resolveDefaultIMessageAccountId, r as resolveIMessageAccount, t as listIMessageAccountIds } from "./accounts-
|
|
12
|
-
import { i as resolveSignalAccount, n as listSignalAccountIds, r as resolveDefaultSignalAccountId } from "./accounts-
|
|
13
|
-
import { ut as normalizeDiscordSlug } from "./send-
|
|
14
|
-
import { Hn as resolveDiscordUserAllowlist, O as resolveDiscordChannelAllowlist, Vn as resolveSlackUserAllowlist, _ as loadOpenClawPlugins, g as createPluginLoaderLogger, x as resolveSlackChannelAllowlist } from "./subagent-registry-
|
|
15
|
-
import { a as listChannelPluginCatalogEntries, n as isChannelConfigured } from "./plugin-auto-enable-
|
|
16
|
-
import { s as normalizeIMessageHandle } from "./send-
|
|
17
|
-
import { r as detectBinary } from "./onboard-helpers-
|
|
9
|
+
import { C as resolveDiscordAccount, S as resolveDefaultDiscordAccountId, b as listDiscordAccountIds, c as resolveDefaultTelegramAccountId, d as listSlackAccountIds, f as resolveDefaultSlackAccountId, l as resolveTelegramAccount, n as listChannelPlugins, p as resolveSlackAccount, s as listTelegramAccountIds, t as getChannelPlugin } from "./plugins-C4cYqW07.js";
|
|
10
|
+
import { a as resolveWhatsAppAuthDir, n as listWhatsAppAccountIds, r as resolveDefaultWhatsAppAccountId } from "./accounts-Cv5CUnT4.js";
|
|
11
|
+
import { n as resolveDefaultIMessageAccountId, r as resolveIMessageAccount, t as listIMessageAccountIds } from "./accounts-2NNZ6Hbp.js";
|
|
12
|
+
import { i as resolveSignalAccount, n as listSignalAccountIds, r as resolveDefaultSignalAccountId } from "./accounts-NHpMJ0aq.js";
|
|
13
|
+
import { ut as normalizeDiscordSlug } from "./send-BTswySBz.js";
|
|
14
|
+
import { Hn as resolveDiscordUserAllowlist, O as resolveDiscordChannelAllowlist, Vn as resolveSlackUserAllowlist, _ as loadOpenClawPlugins, g as createPluginLoaderLogger, x as resolveSlackChannelAllowlist } from "./subagent-registry-DlmrBMrv.js";
|
|
15
|
+
import { a as listChannelPluginCatalogEntries, n as isChannelConfigured } from "./plugin-auto-enable-S_lBQAKI.js";
|
|
16
|
+
import { s as normalizeIMessageHandle } from "./send-BCLu4NEE.js";
|
|
17
|
+
import { r as detectBinary } from "./onboard-helpers-D8lLbK3A.js";
|
|
18
18
|
import { t as formatDocsLink } from "./links-BDNlbZvM.js";
|
|
19
|
-
import { t as loginWeb } from "./login-
|
|
19
|
+
import { t as loginWeb } from "./login-CdHg3Emc.js";
|
|
20
20
|
import { t as resolveBrewExecutable } from "./brew-Dgc9liFk.js";
|
|
21
21
|
import { n as moveSingleAccountChannelSectionToDefaultAccount, t as fetchTelegramChatId } from "./api-CzfBiQzt.js";
|
|
22
22
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BSfSxnxh.js";
|
|
23
|
-
import { t as enablePluginInConfig } from "./enable-
|
|
24
|
-
import { s as extractArchive } from "./install-safe-path-
|
|
25
|
-
import { i as installPluginFromNpmSpec, n as recordPluginInstall, t as buildNpmResolutionInstallFields } from "./installs-
|
|
23
|
+
import { t as enablePluginInConfig } from "./enable-BNycqpJc.js";
|
|
24
|
+
import { s as extractArchive } from "./install-safe-path-C8QJ5yjB.js";
|
|
25
|
+
import { i as installPluginFromNpmSpec, n as recordPluginInstall, t as buildNpmResolutionInstallFields } from "./installs-CWbEA1d1.js";
|
|
26
26
|
import path from "node:path";
|
|
27
27
|
import os from "node:os";
|
|
28
28
|
import fs, { createWriteStream } from "node:fs";
|
|
29
|
-
import
|
|
29
|
+
import fsPromises from "node:fs/promises";
|
|
30
30
|
import { pipeline } from "node:stream/promises";
|
|
31
31
|
import { request } from "node:https";
|
|
32
32
|
|
|
@@ -1051,7 +1051,7 @@ async function findSignalCliBinary(root) {
|
|
|
1051
1051
|
const candidates = [];
|
|
1052
1052
|
const enqueue = async (dir, depth) => {
|
|
1053
1053
|
if (depth > 3) return;
|
|
1054
|
-
const entries = await
|
|
1054
|
+
const entries = await fsPromises.readdir(dir, { withFileTypes: true }).catch(() => []);
|
|
1055
1055
|
for (const entry of entries) {
|
|
1056
1056
|
const full = path.join(dir, entry.name);
|
|
1057
1057
|
if (entry.isDirectory()) await enqueue(full, depth + 1);
|
|
@@ -1072,7 +1072,7 @@ async function resolveBrewSignalCliPath(brewExe) {
|
|
|
1072
1072
|
const prefix = result.stdout.trim();
|
|
1073
1073
|
const candidate = path.join(prefix, "bin", "signal-cli");
|
|
1074
1074
|
try {
|
|
1075
|
-
await
|
|
1075
|
+
await fsPromises.access(candidate);
|
|
1076
1076
|
return candidate;
|
|
1077
1077
|
} catch {
|
|
1078
1078
|
return findSignalCliBinary(prefix);
|
|
@@ -1128,12 +1128,12 @@ async function installSignalCliFromRelease(runtime) {
|
|
|
1128
1128
|
ok: false,
|
|
1129
1129
|
error: "No compatible release asset found for this platform."
|
|
1130
1130
|
};
|
|
1131
|
-
const tmpDir = await
|
|
1131
|
+
const tmpDir = await fsPromises.mkdtemp(path.join(os.tmpdir(), "openclaw-signal-"));
|
|
1132
1132
|
const archivePath = path.join(tmpDir, asset.name);
|
|
1133
1133
|
runtime.log(`Downloading signal-cli ${version} (${asset.name})…`);
|
|
1134
1134
|
await downloadToFile(asset.browser_download_url, archivePath);
|
|
1135
1135
|
const installRoot = path.join(CONFIG_DIR, "tools", "signal-cli", version);
|
|
1136
|
-
await
|
|
1136
|
+
await fsPromises.mkdir(installRoot, { recursive: true });
|
|
1137
1137
|
if (!looksLikeArchive(asset.name.toLowerCase())) return {
|
|
1138
1138
|
ok: false,
|
|
1139
1139
|
error: `Unsupported archive type: ${asset.name}`
|
|
@@ -1152,7 +1152,7 @@ async function installSignalCliFromRelease(runtime) {
|
|
|
1152
1152
|
ok: false,
|
|
1153
1153
|
error: `signal-cli binary not found after extracting ${asset.name}`
|
|
1154
1154
|
};
|
|
1155
|
-
await
|
|
1155
|
+
await fsPromises.chmod(cliPath, 493).catch(() => {});
|
|
1156
1156
|
return {
|
|
1157
1157
|
ok: true,
|
|
1158
1158
|
cliPath,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Si as normalizeSecretInput, fr as modelKey } from "./auth-profiles-
|
|
3
|
-
import { a as normalizeEndpointId, c as requestOpenAiVerification, i as formatVerificationError, l as resolveCustomAliasError, n as applyCustomApiConfig, o as normalizeOptionalProviderApiKey, r as buildEndpointIdFromUrl, s as requestAnthropicVerification, t as CustomApiError, u as resolveCustomProviderId } from "./onboard-custom.shared-
|
|
4
|
-
import { r as ensureApiKeyFromEnvOrPrompt } from "./auth-choice.apply-helpers-
|
|
2
|
+
import { Si as normalizeSecretInput, fr as modelKey } from "./auth-profiles-CyG9VwU_.js";
|
|
3
|
+
import { a as normalizeEndpointId, c as requestOpenAiVerification, i as formatVerificationError, l as resolveCustomAliasError, n as applyCustomApiConfig, o as normalizeOptionalProviderApiKey, r as buildEndpointIdFromUrl, s as requestAnthropicVerification, t as CustomApiError, u as resolveCustomProviderId } from "./onboard-custom.shared-CBgv6y4h.js";
|
|
4
|
+
import { r as ensureApiKeyFromEnvOrPrompt } from "./auth-choice.apply-helpers-Du585kvU.js";
|
|
5
5
|
|
|
6
6
|
//#region src/commands/onboard-custom.ts
|
|
7
7
|
var onboard_custom_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Di as isSecretRef, fr as modelKey, ji as DEFAULT_PROVIDER, sr as buildModelAliasIndex, xi as normalizeOptionalSecretInput } from "./auth-profiles-
|
|
1
|
+
import { Di as isSecretRef, fr as modelKey, ji as DEFAULT_PROVIDER, sr as buildModelAliasIndex, xi as normalizeOptionalSecretInput } from "./auth-profiles-CyG9VwU_.js";
|
|
2
2
|
import { n as fetchWithTimeout } from "./fetch-timeout-CZWuvzq4.js";
|
|
3
3
|
import { t as CONTEXT_WINDOW_HARD_MIN_TOKENS } from "./context-window-guard-ejUBbmnW.js";
|
|
4
|
-
import { c as normalizeAlias } from "./shared-
|
|
4
|
+
import { c as normalizeAlias } from "./shared-Cd4Yi_Q8.js";
|
|
5
5
|
|
|
6
6
|
//#region src/commands/onboard-custom.shared.ts
|
|
7
7
|
const DEFAULT_CONTEXT_WINDOW = CONTEXT_WINDOW_HARD_MIN_TOKENS;
|