@bitseek/claw 1.2.8 → 1.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{accounts-B3zSNWIv.js → accounts-2NNZ6Hbp.js} +1 -1
- package/dist/{accounts-BQHz8_1_.js → accounts-Cv5CUnT4.js} +7 -7
- package/dist/{accounts-DTfEeXyO.js → accounts-NHpMJ0aq.js} +1 -1
- package/dist/{acp-cli-C24-lylb.js → acp-cli-CyPiQ0lt.js} +8 -8
- package/dist/{agent-scope-CJelRKYY.js → agent-scope-CY2-lUIY.js} +1 -1
- package/dist/{agents-BCJbDk2P.js → agents-BC3wwrO-.js} +15 -15
- package/dist/{agents.config-DoxV5m9v.js → agents.config-CeG5P331.js} +2 -2
- package/dist/{agents.config-DQBEXhzA.js → agents.config-rRQ8xZUr.js} +1 -1
- package/dist/{api-key-rotation-xfk-b2Sv.js → api-key-rotation-Cf7QM5M_.js} +1 -1
- package/dist/{audio-preflight-Dl40LQzr.js → audio-preflight-iuCPDl1D.js} +36 -36
- package/dist/{audio-transcription-runner-jiDE7Pt8.js → audio-transcription-runner-CGADiTRL.js} +22 -22
- package/dist/{audit-Bgu8Ommg.js → audit-Bjz6AFn-.js} +29 -29
- package/dist/{auth-B3HDYw4G.js → auth-anvTU0Sb.js} +1 -1
- package/dist/{auth-choice-DYXCDlGW.js → auth-choice-Co_Dl_bs.js} +14 -14
- package/dist/{auth-choice-CP6K5htW.js → auth-choice-Dx1VT2I8.js} +12 -12
- package/dist/{auth-choice-CdsMUqKA.js → auth-choice-eimtfK0N.js} +1 -1
- package/dist/{auth-choice.apply-helpers-DR-eUj_5.js → auth-choice.apply-helpers-Du585kvU.js} +1 -1
- package/dist/{auth-profiles-D_x1_5v_.js → auth-profiles-CyG9VwU_.js} +16 -16
- package/dist/{auth-token-BDQ5b9Wx.js → auth-token-Cfvmvs2X.js} +1 -1
- package/dist/{banner-V_1v329B.js → banner-7O0OkDQ4.js} +2 -2
- package/dist/{bindings-Hx6KNJeg.js → bindings-DGvp9FdD.js} +1 -1
- package/dist/{bonjour-discovery-DiHs5j0y.js → bonjour-discovery-Dv9UQh6g.js} +1 -1
- package/dist/{browser-cli-BMupJSz_.js → browser-cli-C1OEYX9g.js} +12 -12
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +1 -1
- package/dist/bundled/session-memory/handler.js +1 -1
- package/dist/{call-CzoM7hPS.js → call-CmAGfSJE.js} +10 -10
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-BV3Q0XnD.js → channel-account-context-BrHQ7XHF.js} +5 -5
- package/dist/{channel-options-Dsjb-V1F.js → channel-options-BnZ1nSBu.js} +3 -3
- package/dist/{channel-options-Bnnem_wD.js → channel-options-uEYF4WRA.js} +1 -1
- package/dist/{channel-selection-D8KYuWir.js → channel-selection-DGtYwfd7.js} +1 -1
- package/dist/{channel-web-KY6EP9HT.js → channel-web-BJJUEEKO.js} +1 -1
- package/dist/{channel-web-wuxrfEJh.js → channel-web-lHPdbnjv.js} +18 -18
- package/dist/{channels-cli-OZeQkPMG.js → channels-cli-DEE_p7e9.js} +95 -95
- package/dist/{channels-cli-tJkvzsqO.js → channels-cli-GwM8DZvP.js} +6 -6
- package/dist/{channels-status-issues-CCNiQcg9.js → channels-status-issues-BWcKByy7.js} +1 -1
- package/dist/{chrome-DuDCGdf-.js → chrome-DeZyLFsG.js} +4 -4
- package/dist/{clawbot-cli-COQB6-NK.js → clawbot-cli-C6oL4o77.js} +5 -5
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-DOS1lPNs.js → cli-BLZW83kS.js} +1 -1
- package/dist/{cli-YeYpjq2c.js → cli-CD5xP9w9.js} +76 -76
- package/dist/{client-BvL3EdiZ.js → client-vUKV2o6h.js} +2 -2
- package/dist/{command-registry-Keal8P25.js → command-registry-B41say0S.js} +13 -13
- package/dist/{commands-C67IbXs7.js → commands-d8L0zY8O.js} +1 -1
- package/dist/{commands-registry-D0_D5hFV.js → commands-registry-C78O6aNi.js} +3 -3
- package/dist/{completion-cli-B_pSnPVY.js → completion-cli-BuLkcc9o.js} +1 -1
- package/dist/{completion-cli-BWcHEWr6.js → completion-cli-DSxTjQik.js} +13 -13
- package/dist/{config-cli-hwawfBlS.js → config-cli-BMtY1oFI.js} +7 -7
- package/dist/{config-cli-DZpbwWvz.js → config-cli-D4EnfBqh.js} +1 -1
- package/dist/{config-guard-CcE0LvHm.js → config-guard-Bztdn_pu.js} +3 -3
- package/dist/{config-validation-DO7QURfM.js → config-validation-CAkiRwLK.js} +3 -3
- package/dist/{configure-CLMtWGiL.js → configure-CBB1YbMN.js} +3 -3
- package/dist/{configure-l-lM74c1.js → configure-Dz9z2cyD.js} +17 -17
- package/dist/{control-ui-assets-Dx8wiZQ_.js → control-ui-assets-BGvtXBkm.js} +1 -1
- package/dist/{cron-cli-xl75rAFd.js → cron-cli-nslB2EKF.js} +12 -12
- package/dist/{daemon-cli-BSy0rtO2.js → daemon-cli-D8I8RTf0.js} +15 -15
- package/dist/{daemon-install-d2OYSlQz.js → daemon-install-CKree1OU.js} +4 -4
- package/dist/{daemon-install-helpers-D28keNLu.js → daemon-install-helpers-CBCbs7y1.js} +11 -11
- package/dist/{dashboard-DXvihe_P.js → dashboard-dc7KG5Fm.js} +2 -2
- package/dist/{deliver-Df8pSQk6.js → deliver-BRwFsEUd.js} +7 -7
- package/dist/{devices-cli-D6CoUTi_.js → devices-cli-jakb5Fk0.js} +8 -8
- package/dist/{diagnostic-Bvatw1Xn.js → diagnostic-DjxUqpmL.js} +1 -1
- package/dist/{diagnostics-ABz8E7c-.js → diagnostics-DR9Z0mN5.js} +5 -5
- package/dist/{directory-cli-Dkil59xj.js → directory-cli-3FgAtenS.js} +8 -8
- package/dist/{dns-cli-CJydclW8.js → dns-cli-DUsjD4em.js} +5 -5
- package/dist/{dock-DT8sACcR.js → dock-CoclJnwp.js} +4 -4
- package/dist/{docs-cli-BkufgU5Y.js → docs-cli-CpIeooaU.js} +4 -4
- package/dist/{doctor-completion-sKCaOE5l.js → doctor-completion-BIt5xBwC.js} +1 -1
- package/dist/{doctor-completion-leOuoRMt.js → doctor-completion-BSR7Om4e.js} +2 -2
- package/dist/{doctor-config-flow-BrXA2e34.js → doctor-config-flow-DUdUJgfq.js} +15 -15
- package/dist/{enable-CinNZxRH.js → enable-BNycqpJc.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{exec-approvals-allowlist-B4DS6FIn.js → exec-approvals-allowlist-CFjPSbxI.js} +1 -1
- package/dist/{exec-approvals-cli-Cani2Hjk.js → exec-approvals-cli-D8lFWgJj.js} +16 -16
- package/dist/{exec-safe-bin-runtime-policy-BP6ImlkB.js → exec-safe-bin-runtime-policy-CpMj95vJ.js} +2 -2
- package/dist/extensionAPI.js +1 -1
- package/dist/{fetch-DC-NMnAU.js → fetch-DOjg912W.js} +3 -3
- package/dist/{fetch-guard-B62rgaSw.js → fetch-guard-Csbz9pui.js} +1 -1
- package/dist/{fs-safe-CJDtl_QU.js → fs-safe-BqJ9egpm.js} +24 -24
- package/dist/{gateway-cli-jL3MSRHB.js → gateway-cli-CanylfLh.js} +8 -8
- package/dist/{gateway-cli-BlVNebTw.js → gateway-cli-VrzgkvsB.js} +161 -161
- package/dist/{gateway-rpc-C7KYwonl.js → gateway-rpc-B5Spvviy.js} +1 -1
- package/dist/{health-Du8dO3vn.js → health-BX20asqJ.js} +1 -1
- package/dist/{health-CDEXWvnu.js → health-D4cJIlo7.js} +14 -14
- package/dist/{hooks-cli-Deo01lF6.js → hooks-cli-BPg6BqOl.js} +84 -84
- package/dist/{hooks-cli-DUIQuGjr.js → hooks-cli-Cs2Ovk-O.js} +2 -2
- package/dist/{hooks-status-DE20AAEu.js → hooks-status-6tcOdcYp.js} +1 -1
- package/dist/{image-UpBiPNsk.js → image-CI4JYwnc.js} +5 -5
- package/dist/{plugin-sdk/image-ops-C9GXWF3o.js → image-ops-B2L37gT8.js} +11 -11
- package/dist/index.js +6 -6
- package/dist/{inspect-Bmurt9te.js → inspect-BzuEXYfa.js} +4 -4
- package/dist/{install-safe-path-BB9b_AvF.js → install-safe-path-C8QJ5yjB.js} +25 -25
- package/dist/{installs-BXcYytvn.js → installs-CWbEA1d1.js} +9 -9
- package/dist/{ipv4-BB1Ro6so.js → ipv4-DQS0lTwQ.js} +1 -1
- package/dist/{ir-DziC-P4Z.js → ir-CEwBpxhC.js} +6 -6
- package/dist/{issue-format-DF2YB-kZ.js → issue-format-D8MobWNt.js} +1 -1
- package/dist/{json-files-CuJjdF_0.js → json-files-rR19q30D.js} +8 -8
- package/dist/{lifecycle-core-CJd181-h.js → lifecycle-core-CiAE4s92.js} +5 -5
- package/dist/llm-slug-generator.js +1 -1
- package/dist/{login-C_YjM9eH.js → login-CdHg3Emc.js} +3 -3
- package/dist/{login-qr-DujJqOuy.js → login-qr-DXecO0Tb.js} +6 -6
- package/dist/{logs-cli-Bc1A5X-r.js → logs-cli-D8UCmwyR.js} +9 -9
- package/dist/{manager-7hZXEYTj.js → manager-DWpiNvlg.js} +14 -14
- package/dist/{manifest-registry-Kbw8YPsZ.js → manifest-registry-CBF8Vfz8.js} +1 -1
- package/dist/{markdown-tables-BYHgyUjA.js → markdown-tables-DQlQMRGZ.js} +1 -1
- package/dist/{memory-cli-CuT-iG2F.js → memory-cli-BUrf60e_.js} +12 -12
- package/dist/{model-DmBmzJI6.js → model-DMZUvZJo.js} +2 -2
- package/dist/{model-catalog-D1X8r3WJ.js → model-catalog-DFi9HgWu.js} +3 -3
- package/dist/{model-picker-C56N_rW7.js → model-picker-Dt7Rl38k.js} +4 -4
- package/dist/{models-CgguB_MH.js → models-CukrcW4u.js} +18 -18
- package/dist/{models-cli-CHUbcM_y.js → models-cli-C-FMLbe_.js} +2 -2
- package/dist/{models-cli-BEb0DHSP.js → models-cli-DTjBGjrI.js} +81 -81
- package/dist/{models-config-CmrBGsQs.js → models-config-AePb9RAo.js} +6 -6
- package/dist/{net-BXeYv7Iu.js → net-C75G4fup.js} +2 -2
- package/dist/{node-cli-DSoqxwqZ.js → node-cli-D4Tj8JOq.js} +33 -33
- package/dist/{node-command-policy-pJ6IPNBA.js → node-command-policy-BZq5AebG.js} +1 -1
- package/dist/{node-service-DUUObpwl.js → node-service-B0FIwOsW.js} +1 -1
- package/dist/{nodes-cli-BKGcOJ8A.js → nodes-cli-DL-855N8.js} +16 -16
- package/dist/{nodes-screen-DcxCMjOs.js → nodes-screen-BHwVUMr8.js} +7 -7
- package/dist/{npm-pack-install-D5pJ8KzT.js → npm-pack-install-qErvgXGZ.js} +18 -18
- package/dist/{npm-resolution-T8SphiP5.js → npm-resolution-C_FZOBlT.js} +5 -5
- package/dist/{npm-resolution-Dv7nYiaP.js → npm-resolution-oBSNTx2S.js} +1 -1
- package/dist/{onboard-KHObANUh.js → onboard-B-f5pmgG.js} +2 -2
- package/dist/{onboard-BCcjGKBR.js → onboard-DktYC_iu.js} +6 -6
- package/dist/{onboard-channels-CRpmgX82.js → onboard-channels-Bbzz_NPd.js} +1 -1
- package/dist/{onboard-channels-BLZ8FdVP.js → onboard-channels-DGipWl1h.js} +20 -20
- package/dist/{onboard-custom-CZR1K96w.js → onboard-custom-B5F-69pM.js} +3 -3
- package/dist/{onboard-custom.shared-B9NXcXpv.js → onboard-custom.shared-CBgv6y4h.js} +2 -2
- package/dist/{onboard-helpers-CczYNQDJ.js → onboard-helpers-D8lLbK3A.js} +11 -11
- package/dist/{onboard-hooks-o0B0p8tR.js → onboard-hooks-DBif0Jq8.js} +4 -4
- package/dist/{onboard-remote-DtLQyBJB.js → onboard-remote-loJ1Jn9Q.js} +3 -3
- package/dist/{onboard-skills-Brzj5oDF.js → onboard-skills-JtcIUHsb.js} +4 -4
- package/dist/{onboarding-BTXvw1Ro.js → onboarding-D0IraL8k.js} +13 -13
- package/dist/{onboarding-DQNTd5J7.js → onboarding-Kp0zZunD.js} +3 -3
- package/dist/{onboarding.finalize-CHYENeNO.js → onboarding.finalize-CJ23anMx.js} +5 -5
- package/dist/{onboarding.finalize-D0qfP3rB.js → onboarding.finalize-DHitw2tg.js} +89 -89
- package/dist/{onboarding.gateway-config-D-gZxjbU.js → onboarding.gateway-config-uLDVSdpl.js} +18 -18
- package/dist/{openai-model-default-BNYNbslY.js → openai-model-default-B1Dlue6a.js} +2 -2
- package/dist/{outbound-_RTZSBES.js → outbound-BZyqP8d-.js} +4 -4
- package/dist/{outbound-attachment-CXINK8df.js → outbound-attachment-DM-h2uQ1.js} +2 -2
- package/dist/{pairing-cli-DiKgOlKC.js → pairing-cli-DR836bYa.js} +9 -9
- package/dist/{pairing-labels-CFSUHOmk.js → pairing-labels-x4akYNb7.js} +1 -1
- package/dist/{pairing-store-BfzlN-z9.js → pairing-store-rFuiIoGM.js} +3 -3
- package/dist/{path-alias-guards-Cg9ZP1NN.js → path-alias-guards-laKq24fx.js} +3 -3
- package/dist/{path-safety-__ACzYqx.js → path-safety-Cr4WZsHE.js} +1 -1
- package/dist/{paths-BjoSX1aC.js → paths-B_L2Zoe-.js} +9 -9
- package/dist/{pi-embedded-Bacc2S0h.js → pi-embedded-BgVoy_Nm.js} +42 -6
- package/dist/{pi-embedded-Claxav22.js → pi-embedded-DdMbqfLM.js} +42 -6
- package/dist/{pi-embedded-helpers-CrD8I6qf.js → pi-embedded-helpers-CEMPdfif.js} +6 -6
- package/dist/{pi-model-discovery-BZ2RCD_u.js → pi-model-discovery-RrejIg26.js} +1 -1
- package/dist/{pi-tools.policy-upaoJyu4.js → pi-tools.policy-dUeXHcQL.js} +5 -5
- package/dist/{plugin-auto-enable-DER6qA6X.js → plugin-auto-enable-S_lBQAKI.js} +3 -3
- package/dist/{plugin-registry-CxFikiLF.js → plugin-registry-CIUGSWLT.js} +3 -3
- package/dist/{plugin-registry-TOEmbMc4.js → plugin-registry-pa6LjTdT.js} +1 -1
- package/dist/plugin-sdk/{accounts-AbI8uETR.js → accounts-BZrkOo6-.js} +1 -1
- package/dist/plugin-sdk/{accounts-4WE2wtsW.js → accounts-COLYAAOx.js} +1 -1
- package/dist/plugin-sdk/{accounts-BYcizTXn.js → accounts-D_pT5EjF.js} +3 -3
- package/dist/plugin-sdk/{active-listener-pnqLAUOh.js → active-listener-DxBXcWm_.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-_j3fIYCK.js → agent-scope-DT5pxpJB.js} +3 -3
- package/dist/plugin-sdk/agents/context.d.ts +2 -0
- package/dist/plugin-sdk/{api-key-rotation-CYI51U_M.js → api-key-rotation-Dl6Ad7Nj.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-BTRRjPew.js → audio-preflight-CkPj4OVY.js} +33 -33
- package/dist/plugin-sdk/{audio-transcription-runner-DFZS7uCO.js → audio-transcription-runner-BBn9jEMg.js} +10 -10
- package/dist/plugin-sdk/{bindings-CxxzC7gn.js → bindings-BSfhEjKN.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-B3yZ-f-m.js → channel-activity-DAEbma-o.js} +3 -3
- package/dist/plugin-sdk/{channel-web-D2q54sK-.js → channel-web-BaFUnG0F.js} +23 -23
- package/dist/plugin-sdk/{chrome-oPevdeh5.js → chrome-Dn0G4NoF.js} +7 -7
- package/dist/plugin-sdk/{chunk-BPyPeheZ.js → chunk-cvtXztAT.js} +1 -1
- package/dist/plugin-sdk/{command-format-DvyMEXQo.js → command-format-BOJz3y1v.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-Dk8re8Lz.js → commands-registry-CZWv_JwZ.js} +5 -5
- package/dist/plugin-sdk/{config-D7I2_X4P.js → config-DAwOhnVF.js} +10 -10
- package/dist/plugin-sdk/{deliver-NrIHn0__.js → deliver-PdH-MCq8.js} +11 -11
- package/dist/plugin-sdk/{diagnostic-DL3k_wRi.js → diagnostic-BZvj-qNu.js} +2 -2
- package/dist/plugin-sdk/{dock-CjdkiLH7.js → dock-BdR3OYZn.js} +6 -6
- package/dist/plugin-sdk/{errors-DFTN4h2I.js → errors-jusxdu7M.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-BivEyA4v.js → fetch-guard-Dary6WwJ.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-B256n7Ff.js → fs-safe-DMCE0ej9.js} +3 -3
- package/dist/plugin-sdk/{image-CkPzr3XN.js → image-B3A2l2ep.js} +6 -6
- package/dist/{image-ops-BGTBZMuE.js → plugin-sdk/image-ops-DulHE5Qc.js} +1 -1
- package/dist/plugin-sdk/index.js +64 -64
- package/dist/plugin-sdk/{ir-BIm-jvIK.js → ir-BFXiJrsN.js} +6 -6
- package/dist/plugin-sdk/{local-roots-2AOXGUXW.js → local-roots-DssN60r6.js} +4 -4
- package/dist/plugin-sdk/{logger-CNhs9eKJ.js → logger-Cr-x0vMf.js} +1 -1
- package/dist/plugin-sdk/{login-BcLiF9tC.js → login-D0ul3-6C.js} +6 -6
- package/dist/plugin-sdk/{login-qr-GyPUodKJ.js → login-qr-XWKTFBuI.js} +9 -9
- package/dist/plugin-sdk/{manager-DYLqNUb4.js → manager-DGx_cF54.js} +10 -10
- package/dist/plugin-sdk/{markdown-tables-D9mmqMKi.js → markdown-tables-CsQpDNU5.js} +1 -1
- package/dist/plugin-sdk/{message-channel-_CEZcqxE.js → message-channel-CvNq-esz.js} +1 -1
- package/dist/plugin-sdk/{outbound-DdTsUaXa.js → outbound-D29FHlQl.js} +7 -7
- package/dist/plugin-sdk/{outbound-attachment--hkuIDR1.js → outbound-attachment-DRHrZUOx.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-BqUCBfUg.js → path-alias-guards-DpKV1B5p.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-CTfvZz83.js → pi-embedded-helpers-CKEUWckk.js} +17 -17
- package/dist/plugin-sdk/{pi-model-discovery-CK3Ih_kq.js → pi-model-discovery-BPeQq9XM.js} +1 -1
- package/dist/plugin-sdk/{plugins-BpHAMNJ1.js → plugins-DF_dKXTR.js} +6 -6
- package/dist/plugin-sdk/{proxy-BJdRZOnJ.js → proxy-BfmEDoun.js} +1 -1
- package/dist/plugin-sdk/{proxy-fetch-jmbopGcm.js → proxy-fetch-BpHIgvBk.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-D0Kx7w1D.js → pw-ai-BmmXDjtm.js} +13 -13
- package/dist/plugin-sdk/{qmd-manager-BDcutPp9.js → qmd-manager-3hQbqkm5.js} +8 -8
- package/dist/plugin-sdk/{query-expansion-C_X8SyEA.js → query-expansion-BOGLUWB7.js} +2 -2
- package/dist/plugin-sdk/{redact-DH8u23pF.js → redact-BOuKZWXa.js} +1 -1
- package/dist/plugin-sdk/{registry-HF8_S7QO.js → registry-Cv-oHUj1.js} +2 -2
- package/dist/plugin-sdk/{replies-DbjvV4gf.js → replies-CddwWBTJ.js} +3 -3
- package/dist/plugin-sdk/{reply-Cs_Ks2Mr.js → reply-BCRC0yeW.js} +133 -97
- package/dist/plugin-sdk/{reply-prefix-KODsMNJ-.js → reply-prefix-DXthVxCx.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-BPT4aNiD.js → resolve-outbound-target-D3Y4F2Le.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-De2B5QY_.js → resolve-route-DuwYYn4a.js} +4 -4
- package/dist/plugin-sdk/{retry-pZ8iKytf.js → retry-BMcrIz7L.js} +1 -1
- package/dist/plugin-sdk/{send-C-Rd2stz.js → send-B0ztz6QC.js} +6 -6
- package/dist/plugin-sdk/{send-BoNw1Bki.js → send-C5USYGq7.js} +8 -8
- package/dist/plugin-sdk/{send-1uW-uqPf.js → send-D0AaWnIj.js} +7 -7
- package/dist/plugin-sdk/{send-wCqsQs_s.js → send-DEyQJTzd.js} +10 -10
- package/dist/plugin-sdk/{send-CZIN8SDx.js → send-DJzwu8kk.js} +15 -15
- package/dist/plugin-sdk/{session-ooYcB82T.js → session-BA7tVDpV.js} +5 -5
- package/dist/plugin-sdk/{session-meta-7J-uHiM_.js → session-meta-ChWvKVWj.js} +1 -1
- package/dist/plugin-sdk/{sessions-lAIo5l8W.js → sessions-BXps6YzJ.js} +6 -6
- package/dist/plugin-sdk/{skill-commands-D1Q6hGS4.js → skill-commands-B20uUsji.js} +5 -5
- package/dist/plugin-sdk/{skills-BWSDv2F_.js → skills-DXOTei42.js} +8 -8
- package/dist/plugin-sdk/{ssrf-JKDwTi8i.js → ssrf-Doxv9M7Q.js} +1 -1
- package/dist/plugin-sdk/{store-BMeqzQAf.js → store-BZbE1V-C.js} +2 -2
- package/dist/plugin-sdk/{subsystem-B0V8LFBA.js → subsystem-CM1s2lDT.js} +2 -2
- package/dist/plugin-sdk/{tables-DCSeBGBz.js → tables-BhH8EIqU.js} +1 -1
- package/dist/{target-errors-C5LA-JI-.js → plugin-sdk/target-errors-QZay02Cv.js} +2 -2
- package/dist/plugin-sdk/{tokens-DF2_VTJy.js → tokens-DIE-Bf72.js} +1 -1
- package/dist/plugin-sdk/{tool-images-BbsgbHMZ.js → tool-images-heXfaJdb.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-JkCpGrfk.js → tool-loop-detection-CygMSQUK.js} +2 -2
- package/dist/plugin-sdk/{utils-BfVxx6bk.js → utils-BcL6KGZf.js} +1 -1
- package/dist/plugin-sdk/web-BDHHRoXS.js +72 -0
- package/dist/plugin-sdk/{whatsapp-actions-tVcrGNQc.js → whatsapp-actions-CRean1yN.js} +25 -25
- package/dist/{plugins-vsjS_m58.js → plugins-C4cYqW07.js} +2 -2
- package/dist/{plugins-cli-Clo_uyvq.js → plugins-cli-CqDquUh9.js} +2 -2
- package/dist/{plugins-cli-bHHZzKd-.js → plugins-cli-DnLeUBfn.js} +86 -86
- package/dist/{ports-sCOQUaAP.js → ports-DRaxdQmm.js} +2 -2
- package/dist/{ports-zWusnrvP.js → ports-tfS1haOJ.js} +1 -1
- package/dist/{program-BI6W1Gll.js → program-3T_oL3TY.js} +84 -84
- package/dist/{program-context-D2D7wH7Q.js → program-context-D2U9PEv9.js} +17 -17
- package/dist/{prompt-select-styled-CdBJ0FWT.js → prompt-select-styled-Bir77erd.js} +4 -4
- package/dist/{prompt-select-styled-FGF3Su20.js → prompt-select-styled-BylOR7bV.js} +39 -39
- package/dist/{provider-auth-helpers-BFsLtU8g.js → provider-auth-helpers-BEFKXIJE.js} +5 -5
- package/dist/{provider-auth-helpers-D_akOb8A.js → provider-auth-helpers-fK9RpOiF.js} +1 -1
- package/dist/{proxy-env-BQIJPH4j.js → proxy-env-BoopXu2J.js} +1 -1
- package/dist/{push-apns-DvNRo3EQ.js → push-apns-C7oC1J4F.js} +1 -1
- package/dist/{push-apns-BSlKJa83.js → push-apns-sUecrS7L.js} +5 -5
- package/dist/{pw-ai-BeJ_96rV.js → pw-ai-CG7D8D2P.js} +15 -15
- package/dist/{qmd-manager-BNohLpRA.js → qmd-manager-Bo22w5wm.js} +20 -20
- package/dist/{qr-cli-CCHyao8J.js → qr-cli-DiKa2ySu.js} +1 -1
- package/dist/{query-expansion-BrM3X6-L.js → query-expansion-Ba9OpCm9.js} +12 -12
- package/dist/{redact-snapshot-C1Yp9Q7B.js → redact-snapshot-Dioor4fY.js} +1 -1
- package/dist/{register.agent-DowGjvNc.js → register.agent-DVy4TdwU.js} +6 -6
- package/dist/{register.agent-C-OmdJMe.js → register.agent-FAGOpOS3.js} +97 -97
- package/dist/{register.configure-BZLa_c3k.js → register.configure-BzG1EPPb.js} +7 -7
- package/dist/register.configure-aZwsNSkf.js +175 -0
- package/dist/{register.init-B1pIa3ys.js → register.init-B-wUDJAX.js} +15 -15
- package/dist/{register.maintenance-f8NCHf6u.js → register.maintenance-B6f_YUQN.js} +99 -99
- package/dist/{register.maintenance-DTx6vUDv.js → register.maintenance-ClYMbiJl.js} +7 -7
- package/dist/{register.message-DE-eKss6.js → register.message-BkAe3KaX.js} +2 -2
- package/dist/{register.message-5hKmcWaB.js → register.message-WkJ5viuk.js} +77 -77
- package/dist/{register.onboard-DmymXZNT.js → register.onboard-BUBCEjZ_.js} +2 -2
- package/dist/{register.onboard-tT7keiju.js → register.onboard-DvpF9feG.js} +18 -18
- package/dist/{register.setup-DjHaiqnA.js → register.setup-CA7jtsG8.js} +21 -21
- package/dist/{register.setup-D9AvFexw.js → register.setup-Dlmt8cdD.js} +2 -2
- package/dist/{register.start-CyYd_xbF.js → register.start-3Hnjf8NZ.js} +17 -17
- package/dist/{register.status-health-sessions-Cbva8fTK.js → register.status-health-sessions-BfIwzFQw.js} +3 -3
- package/dist/{register.status-health-sessions-lOM_lb6H.js → register.status-health-sessions-CY2i61By.js} +91 -91
- package/dist/{register.subclis-pmPhNoRB.js → register.subclis-D72jBDzj.js} +31 -31
- package/dist/{replies-Ckd7Lwt0.js → replies-BDnb0prE.js} +1 -1
- package/dist/{reply-D8Yu6-Ie.js → reply-BOAv4F33.js} +42 -6
- package/dist/{reply-prefix-DpXMFuAa.js → reply-prefix-H_GSyyzN.js} +1 -1
- package/dist/{resolve-route-Cnto8LMw.js → resolve-route-ByAwAiq5.js} +2 -2
- package/dist/{rpc-CnRUZWNJ.js → rpc-DQa5fiBV.js} +1 -1
- package/dist/{run-main-D5C2p24j.js → run-main-DOntWJzb.js} +95 -95
- package/dist/{runtime-D4y0Gdfj.js → runtime-D-Knnx0g.js} +2 -2
- package/dist/{sandbox-Tai-w14a.js → sandbox-DI_zIUpo.js} +18 -18
- package/dist/{sandbox-cli-uwsF36Ea.js → sandbox-cli-Cn6OxK6L.js} +26 -26
- package/dist/{secrets-cli-DzeSuhpa.js → secrets-cli-Cf2fFK2m.js} +10 -10
- package/dist/{security-cli-Dzelqio0.js → security-cli-DS-dXNUv.js} +43 -43
- package/dist/{send-e1X1pfda.js → send-BCLu4NEE.js} +6 -6
- package/dist/{send-BpXRh0BM.js → send-BTswySBz.js} +11 -11
- package/dist/{send-CQJKPGw4.js → send-CZ2O-5pP.js} +6 -6
- package/dist/{send-sj8Hu26l.js → send-D0X-8aPh.js} +8 -8
- package/dist/{send-Cpaj_bKB.js → send-ZyB64ntO.js} +5 -5
- package/dist/{server-Cr92VI8t.js → server-C88L-6UW.js} +19 -19
- package/dist/{server-context-YLHmGfYV.js → server-context-CjPCwa4T.js} +12 -12
- package/dist/{server-lifecycle-B23lXM3Y.js → server-lifecycle-HLBzAVdX.js} +2 -2
- package/dist/{server-middleware-CKSnhiM2.js → server-middleware-DHxnFjIL.js} +1 -1
- package/dist/{server-node-events-yFZiE04b.js → server-node-events-CyVS1c_n.js} +77 -77
- package/dist/{server-node-events-nakjzVDn.js → server-node-events-DAuQ0Pk2.js} +2 -2
- package/dist/{service-Bjqlh_fF.js → service-CFfCS51c.js} +15 -15
- package/dist/{session-DcnQHb9Q.js → session-ApCom0An.js} +1 -1
- package/dist/{session-meta-DF1WT4cr.js → session-meta-Cew1QAYN.js} +1 -1
- package/dist/{session-utils-BncMg1bn.js → session-utils-DYJSA9qa.js} +46 -10
- package/dist/{sessions-B2mnwD21.js → sessions-BXz4gdq6.js} +15 -15
- package/dist/{sessions-C2Xfck_9.js → sessions-CeXgGBJ1.js} +4 -4
- package/dist/{shared-BojXguFB.js → shared-Cd4Yi_Q8.js} +3 -3
- package/dist/{shared-_j1K2VJ9.js → shared-Cl1av01k.js} +1 -1
- package/dist/{skill-commands-CYucDd3C.js → skill-commands-Cpr3Poo2.js} +5 -5
- package/dist/{skill-scanner-CSJqt034.js → skill-scanner-3QHafkQH.js} +6 -6
- package/dist/{skills-BCgFAMj3.js → skills-D4S-gyVf.js} +3 -3
- package/dist/{skills-cli-BM1iUpGc.js → skills-cli-CAhlFcYR.js} +5 -5
- package/dist/{skills-install-e4_jXT_J.js → skills-install-DyneupGw.js} +6 -6
- package/dist/{skills-status-DG-bH5mO.js → skills-status-DQzBD0Y7.js} +1 -1
- package/dist/{status-CQYA6EJN.js → status-C6WYtjMU.js} +2 -2
- package/dist/{status-mS4bWnIW.js → status-VYa-lFs6.js} +26 -26
- package/dist/{status.update-YC9VNJxl.js → status.update-BdgtGtkx.js} +2 -2
- package/dist/{store-U8cs0QvT.js → store-TdzSHRPN.js} +5 -5
- package/dist/{subagent-registry-CXBreqUP.js → subagent-registry-DlmrBMrv.js} +156 -156
- package/dist/{system-cli-B_PUKo6-.js → system-cli-BYGGFlhn.js} +9 -9
- package/dist/{system-run-command-GKGzGztn.js → system-run-command-XHAlbx5q.js} +1 -1
- package/dist/{systemd-HiU4Gzoc.js → systemd-DRGkJYMb.js} +9 -9
- package/dist/{systemd-hints-BDIASQOF.js → systemd-hints-C5HK00QG.js} +6 -6
- package/dist/{systemd-linger-DfrE-63p.js → systemd-linger-DME-3IVk.js} +1 -1
- package/dist/{tables-DVXe5x1J.js → tables-BOsRa7CS.js} +1 -1
- package/dist/{tailnet-C1XBcWue.js → tailnet-CfP3A6g2.js} +1 -1
- package/dist/{plugin-sdk/target-errors-0u6pegQv.js → target-errors-DPJ9HFp9.js} +4 -4
- package/dist/{tool-images-CnpAosfi.js → tool-images-CmgHk8xk.js} +1 -1
- package/dist/{tui-CLK0s6TM.js → tui-C16rnfcv.js} +6 -6
- package/dist/{tui-cli-DTdNoN6U.js → tui-cli-Ct7mmQhr.js} +33 -33
- package/dist/{update-DLc3UsVC.js → update-DOvgIBRu.js} +3 -3
- package/dist/{update-cli-C2EagLTi.js → update-cli-BnefEkIB.js} +107 -107
- package/dist/{update-cli-DiT2fFEK.js → update-cli-CWNpH8nb.js} +7 -7
- package/dist/{update-runner-C9noXbfV.js → update-runner-BSQpjT4r.js} +16 -16
- package/dist/{update-runner-DO6RodZW.js → update-runner-CE9BNhOu.js} +1 -1
- package/dist/{web-CDHXvGxm.js → web-C1PpWeXj.js} +1 -1
- package/dist/web-C1Zm__bd.js +127 -0
- package/dist/{web-DbdjX4Hg.js → web-C_RqjNux.js} +2 -2
- package/dist/{web-DJKitOpu.js → web-DBuATjw6.js} +1 -1
- package/dist/{webhooks-cli-c5SaGz4J.js → webhooks-cli-DyIIpN1Q.js} +6 -6
- package/dist/{whatsapp-actions-CnjEOFOZ.js → whatsapp-actions-Dmv3vDs5.js} +19 -19
- package/dist/{with-timeout-DurSJobr.js → with-timeout-Cf-HNLSj.js} +3 -3
- package/dist/{workspace-DWBFoy1G.js → workspace-A5CNJccm.js} +1 -1
- package/dist/{workspace-BHfqkuYN.js → workspace-DzeL98px.js} +23 -23
- package/dist/{workspace-dirs-BOgNOBjy.js → workspace-dirs-Bevk6X_8.js} +1 -1
- package/dist/{wsl-BDRu1-pk.js → wsl-DksyFTBT.js} +2 -2
- package/package.json +1 -1
- package/dist/plugin-sdk/web-B35hdNQ-.js +0 -72
- package/dist/register.configure-CaSRlI6h.js +0 -175
- package/dist/web-BKrNiKsU.js +0 -127
|
@@ -2,7 +2,7 @@ import { S as resolveCliName, g as resolveStateDir, n as DEFAULT_GATEWAY_PORT, u
|
|
|
2
2
|
import { p as theme } from "./globals-uLeGcRW1.js";
|
|
3
3
|
import { h as pathExists } from "./utils-CP51tiAi.js";
|
|
4
4
|
import "./thinking-44rmAw5o.js";
|
|
5
|
-
import { G as trimLogTail } from "./reply-
|
|
5
|
+
import { G as trimLogTail } from "./reply-BOAv4F33.js";
|
|
6
6
|
import "./agent-scope-CiBV1K6b.js";
|
|
7
7
|
import { d as defaultRuntime } from "./subsystem-BT74-yyS.js";
|
|
8
8
|
import { y as resolveOpenClawPackageRoot } from "./workspace-CRdln__H.js";
|
|
@@ -122,7 +122,7 @@ import { f as resolveGatewaySystemdServiceName, l as resolveGatewayLaunchAgentLa
|
|
|
122
122
|
import "./constants-BJiQF5Ae.js";
|
|
123
123
|
import "./context-window-guard-BNuaId5E.js";
|
|
124
124
|
import { r as parseSemver } from "./runtime-guard-p6l4jDOj.js";
|
|
125
|
-
import "./program-context-
|
|
125
|
+
import "./program-context-D2U9PEv9.js";
|
|
126
126
|
import "./skills-status-BEq0_fOn.js";
|
|
127
127
|
import { n as inheritOptionFromParent } from "./command-options-D4YE45pL.js";
|
|
128
128
|
import "./note-CLcV1fjx.js";
|
|
@@ -132,7 +132,7 @@ import "./skill-scanner-CsmM5F4F.js";
|
|
|
132
132
|
import "./installs-BXOZ3DXs.js";
|
|
133
133
|
import { n as formatConfigIssueLines } from "./issue-format-rk9Vpcxd.js";
|
|
134
134
|
import "./channels-status-issues-DeT1Znlx.js";
|
|
135
|
-
import { r as installCompletion } from "./completion-cli-
|
|
135
|
+
import { r as installCompletion } from "./completion-cli-BuLkcc9o.js";
|
|
136
136
|
import "./daemon-install-helpers-CMWYg4_W.js";
|
|
137
137
|
import "./systemd-DJ5Red-Q.js";
|
|
138
138
|
import { t as resolveGatewayService } from "./service-DqxfCr8y.js";
|
|
@@ -141,19 +141,19 @@ import "./systemd-hints-D40Qx3hg.js";
|
|
|
141
141
|
import { a as terminateStaleGatewayPids, i as renderRestartDiagnostics, o as waitForGatewayHealthyRestart, r as runDaemonRestart, s as runDaemonInstall } from "./daemon-cli-RKWFtF-K.js";
|
|
142
142
|
import "./diagnostics-BHQgZbuI.js";
|
|
143
143
|
import { t as renderTable } from "./table-DZBPnHSy.js";
|
|
144
|
-
import "./health-
|
|
144
|
+
import "./health-BX20asqJ.js";
|
|
145
145
|
import "./control-ui-assets-B_3g_YF0.js";
|
|
146
146
|
import { a as shouldShowUpdateStatus, i as resolveUpdateAvailability, n as formatUpdateOneLiner, t as formatUpdateAvailableHint } from "./status.update-HwSPC5ZX.js";
|
|
147
147
|
import { _ as resolveUpdateChannelDisplay, c as DEFAULT_GIT_CHANNEL, d as channelToNpmTag, f as formatUpdateChannelLabel, g as resolveEffectiveUpdateChannel, h as normalizeUpdateChannel, i as fetchNpmTagVersion, l as DEFAULT_PACKAGE_CHANNEL, n as checkUpdateStatus, o as resolveNpmChannelTag, r as compareSemverStrings } from "./channel-account-context-C6rIxLzo.js";
|
|
148
|
-
import { a as globalInstallArgs, c as readPackageName, i as detectGlobalInstallManagerForRoot, l as readPackageVersion, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, r as detectGlobalInstallManagerByPresence, s as normalizePackageTagInput, t as runGatewayUpdate } from "./update-runner-
|
|
148
|
+
import { a as globalInstallArgs, c as readPackageName, i as detectGlobalInstallManagerForRoot, l as readPackageVersion, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, r as detectGlobalInstallManagerByPresence, s as normalizePackageTagInput, t as runGatewayUpdate } from "./update-runner-CE9BNhOu.js";
|
|
149
149
|
import "./logging-yFV4aFrN.js";
|
|
150
150
|
import { n as updateNpmInstalledPlugins, t as syncPluginsForUpdateChannel } from "./update-B1Dhhu_3.js";
|
|
151
151
|
import "./doctor-config-flow-18ijj3KB.js";
|
|
152
152
|
import "./oauth-tls-preflight-i1WBNTG8.js";
|
|
153
153
|
import "./systemd-linger-BK6kig-o.js";
|
|
154
154
|
import "./health-format-CEAJLEPm.js";
|
|
155
|
-
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-
|
|
156
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
155
|
+
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-Bir77erd.js";
|
|
156
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-BIt5xBwC.js";
|
|
157
157
|
import os from "node:os";
|
|
158
158
|
import path from "node:path";
|
|
159
159
|
import fs from "node:fs/promises";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { m as pathExists } from "./utils-DIzy5B5o.js";
|
|
2
2
|
import { t as runCommandWithTimeout } from "./exec-CEAvKSx9.js";
|
|
3
|
-
import { Nt as trimLogTail } from "./subagent-registry-
|
|
4
|
-
import { p as resolveStableNodePath } from "./daemon-install-helpers-
|
|
5
|
-
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-
|
|
6
|
-
import { d as channelToNpmTag, l as DEFAULT_PACKAGE_CHANNEL, m as isStableTag, p as isBetaTag, r as compareSemverStrings, s as detectPackageManager$1, u as DEV_BRANCH } from "./channel-account-context-
|
|
3
|
+
import { Nt as trimLogTail } from "./subagent-registry-DlmrBMrv.js";
|
|
4
|
+
import { p as resolveStableNodePath } from "./daemon-install-helpers-CBCbs7y1.js";
|
|
5
|
+
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-BGvtXBkm.js";
|
|
6
|
+
import { d as channelToNpmTag, l as DEFAULT_PACKAGE_CHANNEL, m as isStableTag, p as isBetaTag, r as compareSemverStrings, s as detectPackageManager$1, u as DEV_BRANCH } from "./channel-account-context-BrHQ7XHF.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import os from "node:os";
|
|
9
|
-
import
|
|
9
|
+
import fsPromises from "node:fs/promises";
|
|
10
10
|
|
|
11
11
|
//#region src/infra/package-json.ts
|
|
12
12
|
async function readPackageVersion(root) {
|
|
13
13
|
try {
|
|
14
|
-
const raw = await
|
|
14
|
+
const raw = await fsPromises.readFile(path.join(root, "package.json"), "utf-8");
|
|
15
15
|
const parsed = JSON.parse(raw);
|
|
16
16
|
return typeof parsed?.version === "string" ? parsed.version : null;
|
|
17
17
|
} catch {
|
|
@@ -20,7 +20,7 @@ async function readPackageVersion(root) {
|
|
|
20
20
|
}
|
|
21
21
|
async function readPackageName(root) {
|
|
22
22
|
try {
|
|
23
|
-
const raw = await
|
|
23
|
+
const raw = await fsPromises.readFile(path.join(root, "package.json"), "utf-8");
|
|
24
24
|
const name = JSON.parse(raw)?.name?.trim();
|
|
25
25
|
return name ? name : null;
|
|
26
26
|
} catch {
|
|
@@ -53,7 +53,7 @@ const NPM_GLOBAL_INSTALL_QUIET_FLAGS = [
|
|
|
53
53
|
const NPM_GLOBAL_INSTALL_OMIT_OPTIONAL_FLAGS = ["--omit=optional", ...NPM_GLOBAL_INSTALL_QUIET_FLAGS];
|
|
54
54
|
async function tryRealpath(targetPath) {
|
|
55
55
|
try {
|
|
56
|
-
return await
|
|
56
|
+
return await fsPromises.realpath(targetPath);
|
|
57
57
|
} catch {
|
|
58
58
|
return path.resolve(targetPath);
|
|
59
59
|
}
|
|
@@ -168,7 +168,7 @@ async function cleanupGlobalRenameDirs(params) {
|
|
|
168
168
|
const prefix = `${GLOBAL_RENAME_PREFIX}${path.basename(name)}-`;
|
|
169
169
|
let entries = [];
|
|
170
170
|
try {
|
|
171
|
-
entries = await
|
|
171
|
+
entries = await fsPromises.readdir(root);
|
|
172
172
|
} catch {
|
|
173
173
|
return { removed };
|
|
174
174
|
}
|
|
@@ -176,8 +176,8 @@ async function cleanupGlobalRenameDirs(params) {
|
|
|
176
176
|
if (!entry.startsWith(prefix)) continue;
|
|
177
177
|
const target = path.join(root, entry);
|
|
178
178
|
try {
|
|
179
|
-
if (!(await
|
|
180
|
-
await
|
|
179
|
+
if (!(await fsPromises.lstat(target)).isDirectory()) continue;
|
|
180
|
+
await fsPromises.rm(target, {
|
|
181
181
|
recursive: true,
|
|
182
182
|
force: true
|
|
183
183
|
});
|
|
@@ -299,7 +299,7 @@ async function findPackageRoot(candidates) {
|
|
|
299
299
|
for (let i = 0; i < 12; i += 1) {
|
|
300
300
|
const pkgPath = path.join(current, "package.json");
|
|
301
301
|
try {
|
|
302
|
-
const raw = await
|
|
302
|
+
const raw = await fsPromises.readFile(pkgPath, "utf-8");
|
|
303
303
|
const name = JSON.parse(raw)?.name?.trim();
|
|
304
304
|
if (name && CORE_PACKAGE_NAMES.has(name)) return current;
|
|
305
305
|
} catch {}
|
|
@@ -581,7 +581,7 @@ async function runGatewayUpdate(opts = {}) {
|
|
|
581
581
|
durationMs: Date.now() - startedAt
|
|
582
582
|
};
|
|
583
583
|
const manager = await detectPackageManager(gitRoot);
|
|
584
|
-
const preflightRoot = await
|
|
584
|
+
const preflightRoot = await fsPromises.mkdtemp(path.join(os.tmpdir(), "openclaw-update-preflight-"));
|
|
585
585
|
const worktreeDir = path.join(preflightRoot, "worktree");
|
|
586
586
|
const worktreeStep = await runStep(step("preflight worktree", [
|
|
587
587
|
"git",
|
|
@@ -595,7 +595,7 @@ async function runGatewayUpdate(opts = {}) {
|
|
|
595
595
|
], gitRoot));
|
|
596
596
|
steps.push(worktreeStep);
|
|
597
597
|
if (worktreeStep.exitCode !== 0) {
|
|
598
|
-
await
|
|
598
|
+
await fsPromises.rm(preflightRoot, {
|
|
599
599
|
recursive: true,
|
|
600
600
|
force: true
|
|
601
601
|
}).catch(() => {});
|
|
@@ -659,7 +659,7 @@ async function runGatewayUpdate(opts = {}) {
|
|
|
659
659
|
cwd: gitRoot,
|
|
660
660
|
timeoutMs
|
|
661
661
|
}).catch(() => null);
|
|
662
|
-
await
|
|
662
|
+
await fsPromises.rm(preflightRoot, {
|
|
663
663
|
recursive: true,
|
|
664
664
|
force: true
|
|
665
665
|
}).catch(() => {});
|
|
@@ -807,7 +807,7 @@ async function runGatewayUpdate(opts = {}) {
|
|
|
807
807
|
durationMs: Date.now() - startedAt
|
|
808
808
|
};
|
|
809
809
|
const doctorEntry = path.join(gitRoot, "openclaw.mjs");
|
|
810
|
-
if (!await
|
|
810
|
+
if (!await fsPromises.stat(doctorEntry).then(() => true).catch(() => false)) {
|
|
811
811
|
steps.push({
|
|
812
812
|
name: "openclaw doctor entry",
|
|
813
813
|
command: `verify ${doctorEntry}`,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h as pathExists } from "./utils-CP51tiAi.js";
|
|
2
|
-
import { G as trimLogTail } from "./reply-
|
|
2
|
+
import { G as trimLogTail } from "./reply-BOAv4F33.js";
|
|
3
3
|
import { t as runCommandWithTimeout } from "./exec-BdDcFm8M.js";
|
|
4
4
|
import { p as resolveStableNodePath } from "./daemon-install-helpers-CMWYg4_W.js";
|
|
5
5
|
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-B_3g_YF0.js";
|
|
@@ -13,7 +13,7 @@ import "./internal-hooks-yQe6H47q.js";
|
|
|
13
13
|
import "./registry-CJCkqTms.js";
|
|
14
14
|
import { a as resolveChannelGroupRequireMention, i as resolveChannelGroupPolicy } from "./dock-Cr9V9V1V.js";
|
|
15
15
|
import "./tokens-B9EDT4jv.js";
|
|
16
|
-
import { A as enqueueSystemEvent, C as resolveInboundDebounceMs, D as normalizeGroupActivation, E as getReplyFromConfig, M as shouldComputeCommandAuthorized, N as buildMentionRegexes, O as parseActivationCommand, P as normalizeMentionText, S as createInboundDebouncer, T as createDedupeCache, _ as resolveDmGroupAccessWithLists, b as dispatchReplyWithBufferedBlockDispatcher, c as resolveMentionGating, d as recordPendingHistoryEntryIfEnabled, f as resolveDefaultGroupPolicy, g as resolveDmGroupAccessWithCommandGate, h as readStoreAllowFromForDmPolicy, i as sleepWithAbort, j as hasControlCommand, k as formatDurationPrecise, l as DEFAULT_GROUP_HISTORY_LIMIT, m as warnMissingProviderGroupPolicyFallbackOnce, n as resolveInboundSessionEnvelopeContext, p as resolveOpenProviderRuntimeGroupPolicy, r as computeBackoff, s as buildPairingReply, u as buildHistoryContextFromEntries, v as resolvePinnedMainDmOwnerFromAllowlist, w as formatInboundEnvelope, y as shouldAckReactionForWhatsApp } from "./pi-embedded-
|
|
16
|
+
import { A as enqueueSystemEvent, C as resolveInboundDebounceMs, D as normalizeGroupActivation, E as getReplyFromConfig, M as shouldComputeCommandAuthorized, N as buildMentionRegexes, O as parseActivationCommand, P as normalizeMentionText, S as createInboundDebouncer, T as createDedupeCache, _ as resolveDmGroupAccessWithLists, b as dispatchReplyWithBufferedBlockDispatcher, c as resolveMentionGating, d as recordPendingHistoryEntryIfEnabled, f as resolveDefaultGroupPolicy, g as resolveDmGroupAccessWithCommandGate, h as readStoreAllowFromForDmPolicy, i as sleepWithAbort, j as hasControlCommand, k as formatDurationPrecise, l as DEFAULT_GROUP_HISTORY_LIMIT, m as warnMissingProviderGroupPolicyFallbackOnce, n as resolveInboundSessionEnvelopeContext, p as resolveOpenProviderRuntimeGroupPolicy, r as computeBackoff, s as buildPairingReply, u as buildHistoryContextFromEntries, v as resolvePinnedMainDmOwnerFromAllowlist, w as formatInboundEnvelope, y as shouldAckReactionForWhatsApp } from "./pi-embedded-BgVoy_Nm.js";
|
|
17
17
|
import "./plugins-CJoaoIHc.js";
|
|
18
18
|
import { a as logWebSelfId, c as pickWebChannel, i as getWebAuthAgeMs, m as webAuthExists, n as resolveWhatsAppAccount, r as WA_WEB_AUTH_DIR, u as readWebSelfId } from "./accounts-ubG6irXZ.js";
|
|
19
19
|
import "./bindings-CsIiIjqN.js";
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import "./globals-B68W7uN8.js";
|
|
2
|
+
import "./paths-BnKiOk2S.js";
|
|
3
|
+
import "./subsystem-DjdBljTA.js";
|
|
4
|
+
import "./boolean-DtWR5bt3.js";
|
|
5
|
+
import "./auth-profiles-CyG9VwU_.js";
|
|
6
|
+
import "./agent-scope-CY2-lUIY.js";
|
|
7
|
+
import "./utils-DIzy5B5o.js";
|
|
8
|
+
import "./workspace-DzeL98px.js";
|
|
9
|
+
import "./logger-BJMfryJd.js";
|
|
10
|
+
import "./exec-CEAvKSx9.js";
|
|
11
|
+
import "./github-copilot-token-CulJ9J5l.js";
|
|
12
|
+
import "./host-env-security-CJMD0__Z.js";
|
|
13
|
+
import "./version-CGDNfh5C.js";
|
|
14
|
+
import "./env-vars-Dw0EwyGP.js";
|
|
15
|
+
import "./registry-7fg1BnMw.js";
|
|
16
|
+
import "./manifest-registry-CBF8Vfz8.js";
|
|
17
|
+
import "./dock-CoclJnwp.js";
|
|
18
|
+
import "./model-DMZUvZJo.js";
|
|
19
|
+
import "./pi-model-discovery-RrejIg26.js";
|
|
20
|
+
import "./frontmatter-C0E8mspC.js";
|
|
21
|
+
import "./skills-D4S-gyVf.js";
|
|
22
|
+
import "./path-alias-guards-laKq24fx.js";
|
|
23
|
+
import "./message-channel-0J6eKf3g.js";
|
|
24
|
+
import "./sessions-BXz4gdq6.js";
|
|
25
|
+
import "./plugins-C4cYqW07.js";
|
|
26
|
+
import { _ as webAuthExists, c as logWebSelfId, d as pickWebChannel, o as WA_WEB_AUTH_DIR } from "./accounts-Cv5CUnT4.js";
|
|
27
|
+
import "./accounts-2NNZ6Hbp.js";
|
|
28
|
+
import "./logging-5MtSkLpb.js";
|
|
29
|
+
import "./accounts-NHpMJ0aq.js";
|
|
30
|
+
import "./bindings-DGvp9FdD.js";
|
|
31
|
+
import "./send-ZyB64ntO.js";
|
|
32
|
+
import "./send-BTswySBz.js";
|
|
33
|
+
import "./subagent-registry-DlmrBMrv.js";
|
|
34
|
+
import "./paths-CTtLmER4.js";
|
|
35
|
+
import "./chat-envelope-D3RSz140.js";
|
|
36
|
+
import "./client-vUKV2o6h.js";
|
|
37
|
+
import "./call-CmAGfSJE.js";
|
|
38
|
+
import "./pairing-token-DoBZxQnC.js";
|
|
39
|
+
import "./net-C75G4fup.js";
|
|
40
|
+
import "./tailnet-CfP3A6g2.js";
|
|
41
|
+
import "./tokens-DyLBF_df.js";
|
|
42
|
+
import "./with-timeout-Cf-HNLSj.js";
|
|
43
|
+
import "./deliver-BRwFsEUd.js";
|
|
44
|
+
import "./diagnostic-DjxUqpmL.js";
|
|
45
|
+
import "./diagnostic-session-state-Dx-rJXBO.js";
|
|
46
|
+
import "./send-D0X-8aPh.js";
|
|
47
|
+
import "./image-ops-B2L37gT8.js";
|
|
48
|
+
import "./pi-embedded-helpers-CEMPdfif.js";
|
|
49
|
+
import "./sandbox-DI_zIUpo.js";
|
|
50
|
+
import "./tool-catalog-uQj_-Ahx.js";
|
|
51
|
+
import "./chrome-DeZyLFsG.js";
|
|
52
|
+
import "./tailscale-D3xGoMdQ.js";
|
|
53
|
+
import "./auth-anvTU0Sb.js";
|
|
54
|
+
import "./server-context-CjPCwa4T.js";
|
|
55
|
+
import "./paths-B_L2Zoe-.js";
|
|
56
|
+
import "./redact-Ck5U_y4i.js";
|
|
57
|
+
import "./errors-BJz45-qI.js";
|
|
58
|
+
import "./fs-safe-BqJ9egpm.js";
|
|
59
|
+
import "./proxy-env-BoopXu2J.js";
|
|
60
|
+
import "./store-TdzSHRPN.js";
|
|
61
|
+
import "./ports-DRaxdQmm.js";
|
|
62
|
+
import "./trash-ClChDUTf.js";
|
|
63
|
+
import "./server-middleware-DHxnFjIL.js";
|
|
64
|
+
import "./tool-images-CmgHk8xk.js";
|
|
65
|
+
import "./thinking-pYqswKJZ.js";
|
|
66
|
+
import "./models-config-AePb9RAo.js";
|
|
67
|
+
import "./exec-approvals-allowlist-CFjPSbxI.js";
|
|
68
|
+
import "./exec-safe-bin-runtime-policy-CpMj95vJ.js";
|
|
69
|
+
import "./model-catalog-DFi9HgWu.js";
|
|
70
|
+
import "./fetch-DOjg912W.js";
|
|
71
|
+
import "./audio-transcription-runner-CGADiTRL.js";
|
|
72
|
+
import "./fetch-guard-Csbz9pui.js";
|
|
73
|
+
import "./image-CI4JYwnc.js";
|
|
74
|
+
import "./tool-display-0M664wep.js";
|
|
75
|
+
import "./api-key-rotation-Cf7QM5M_.js";
|
|
76
|
+
import "./proxy-fetch-DEHZt1Tx.js";
|
|
77
|
+
import "./reply-prefix-H_GSyyzN.js";
|
|
78
|
+
import "./chunk-kLPohhLl.js";
|
|
79
|
+
import "./markdown-tables-DQlQMRGZ.js";
|
|
80
|
+
import "./ir-CEwBpxhC.js";
|
|
81
|
+
import "./render-CXDO_kgw.js";
|
|
82
|
+
import "./target-errors-DPJ9HFp9.js";
|
|
83
|
+
import "./commands-d8L0zY8O.js";
|
|
84
|
+
import "./commands-registry-C78O6aNi.js";
|
|
85
|
+
import "./fetch-BM2hI5N6.js";
|
|
86
|
+
import "./retry-DwXRBpwv.js";
|
|
87
|
+
import "./pairing-store-rFuiIoGM.js";
|
|
88
|
+
import "./exec-approvals-HRn5F9dF.js";
|
|
89
|
+
import "./nodes-screen-BHwVUMr8.js";
|
|
90
|
+
import "./system-run-command-XHAlbx5q.js";
|
|
91
|
+
import "./session-utils-DYJSA9qa.js";
|
|
92
|
+
import "./session-cost-usage-BCEcVVJ6.js";
|
|
93
|
+
import "./skill-commands-Cpr3Poo2.js";
|
|
94
|
+
import "./workspace-dirs-Bevk6X_8.js";
|
|
95
|
+
import "./channel-activity-C-cvytUe.js";
|
|
96
|
+
import "./tables-BOsRa7CS.js";
|
|
97
|
+
import "./server-lifecycle-HLBzAVdX.js";
|
|
98
|
+
import "./stagger-Cek4Eizw.js";
|
|
99
|
+
import "./channel-selection-DGtYwfd7.js";
|
|
100
|
+
import "./plugin-auto-enable-S_lBQAKI.js";
|
|
101
|
+
import "./send-CZ2O-5pP.js";
|
|
102
|
+
import "./outbound-attachment-DM-h2uQ1.js";
|
|
103
|
+
import "./delivery-queue-DhqwvOP8.js";
|
|
104
|
+
import "./send-BCLu4NEE.js";
|
|
105
|
+
import "./resolve-route-ByAwAiq5.js";
|
|
106
|
+
import "./pi-tools.policy-dUeXHcQL.js";
|
|
107
|
+
import "./proxy-Dz7xT2Z_.js";
|
|
108
|
+
import "./replies-BDnb0prE.js";
|
|
109
|
+
import "./onboard-helpers-D8lLbK3A.js";
|
|
110
|
+
import "./prompt-style-CzS6Prvl.js";
|
|
111
|
+
import "./pairing-labels-x4akYNb7.js";
|
|
112
|
+
import "./session-meta-Cew1QAYN.js";
|
|
113
|
+
import "./memory-cli-BUrf60e_.js";
|
|
114
|
+
import "./manager-DWpiNvlg.js";
|
|
115
|
+
import "./query-expansion-Ba9OpCm9.js";
|
|
116
|
+
import "./links-BDNlbZvM.js";
|
|
117
|
+
import "./cli-utils-k9A6CA1o.js";
|
|
118
|
+
import "./help-format-B3bKmDqF.js";
|
|
119
|
+
import "./progress-CwQKn0ae.js";
|
|
120
|
+
import "./constants-SKxh9Cou.js";
|
|
121
|
+
import "./context-window-guard-ejUBbmnW.js";
|
|
122
|
+
import { n as sendMessageWhatsApp } from "./outbound-BZyqP8d-.js";
|
|
123
|
+
import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-lHPdbnjv.js";
|
|
124
|
+
import { i as waitForWaConnection, t as createWaSocket } from "./session-ApCom0An.js";
|
|
125
|
+
import { t as loginWeb } from "./login-CdHg3Emc.js";
|
|
126
|
+
|
|
127
|
+
export { WA_WEB_AUTH_DIR, createWaSocket, logWebSelfId, loginWeb, monitorWebChannel, monitorWebInbox, pickWebChannel, sendMessageWhatsApp, waitForWaConnection, webAuthExists };
|
|
@@ -2,7 +2,7 @@ import "./paths-BYr-iJJ9.js";
|
|
|
2
2
|
import "./globals-uLeGcRW1.js";
|
|
3
3
|
import "./utils-CP51tiAi.js";
|
|
4
4
|
import "./thinking-44rmAw5o.js";
|
|
5
|
-
import "./reply-
|
|
5
|
+
import "./reply-BOAv4F33.js";
|
|
6
6
|
import "./agent-scope-CiBV1K6b.js";
|
|
7
7
|
import "./subsystem-BT74-yyS.js";
|
|
8
8
|
import "./workspace-CRdln__H.js";
|
|
@@ -118,7 +118,7 @@ import "./server-lifecycle-B7aXKxY3.js";
|
|
|
118
118
|
import "./stagger-C-R8Eo-4.js";
|
|
119
119
|
import "./constants-BJiQF5Ae.js";
|
|
120
120
|
import "./context-window-guard-BNuaId5E.js";
|
|
121
|
-
import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-
|
|
121
|
+
import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-BJJUEEKO.js";
|
|
122
122
|
import { n as sendMessageWhatsApp } from "./outbound-DlVJWa4u.js";
|
|
123
123
|
import { i as waitForWaConnection, t as createWaSocket } from "./session-FOGqE7bj.js";
|
|
124
124
|
import { t as loginWeb } from "./login-B2B75WGK.js";
|
|
@@ -11,7 +11,7 @@ import { r as formatCliCommand } from "./env-zky96nK6.js";
|
|
|
11
11
|
import "./registry-BOq-EU8K.js";
|
|
12
12
|
import { a as resolveChannelGroupRequireMention, i as resolveChannelGroupPolicy } from "./dock-L5TLZmhV.js";
|
|
13
13
|
import "./tokens-2c_yMaYC.js";
|
|
14
|
-
import { A as shouldComputeCommandAuthorized, C as createDedupeCache, D as formatDurationPrecise, E as parseActivationCommand, M as normalizeMentionText, O as enqueueSystemEvent, S as formatInboundEnvelope, T as normalizeGroupActivation, _ as shouldAckReactionForWhatsApp, a as buildPairingReply, b as createInboundDebouncer, c as buildHistoryContextFromEntries, d as resolveOpenProviderRuntimeGroupPolicy, f as warnMissingProviderGroupPolicyFallbackOnce, g as resolvePinnedMainDmOwnerFromAllowlist, h as resolveDmGroupAccessWithLists, i as sleepWithAbort, j as buildMentionRegexes, k as hasControlCommand, l as recordPendingHistoryEntryIfEnabled, m as resolveDmGroupAccessWithCommandGate, n as resolveInboundSessionEnvelopeContext, o as resolveMentionGating, p as readStoreAllowFromForDmPolicy, r as computeBackoff, s as DEFAULT_GROUP_HISTORY_LIMIT, u as resolveDefaultGroupPolicy, v as dispatchReplyWithBufferedBlockDispatcher, w as getReplyFromConfig, x as resolveInboundDebounceMs } from "./pi-embedded-
|
|
14
|
+
import { A as shouldComputeCommandAuthorized, C as createDedupeCache, D as formatDurationPrecise, E as parseActivationCommand, M as normalizeMentionText, O as enqueueSystemEvent, S as formatInboundEnvelope, T as normalizeGroupActivation, _ as shouldAckReactionForWhatsApp, a as buildPairingReply, b as createInboundDebouncer, c as buildHistoryContextFromEntries, d as resolveOpenProviderRuntimeGroupPolicy, f as warnMissingProviderGroupPolicyFallbackOnce, g as resolvePinnedMainDmOwnerFromAllowlist, h as resolveDmGroupAccessWithLists, i as sleepWithAbort, j as buildMentionRegexes, k as hasControlCommand, l as recordPendingHistoryEntryIfEnabled, m as resolveDmGroupAccessWithCommandGate, n as resolveInboundSessionEnvelopeContext, o as resolveMentionGating, p as readStoreAllowFromForDmPolicy, r as computeBackoff, s as DEFAULT_GROUP_HISTORY_LIMIT, u as resolveDefaultGroupPolicy, v as dispatchReplyWithBufferedBlockDispatcher, w as getReplyFromConfig, x as resolveInboundDebounceMs } from "./pi-embedded-DdMbqfLM.js";
|
|
15
15
|
import "./plugins-BuQyooWr.js";
|
|
16
16
|
import { a as logWebSelfId, c as pickWebChannel, i as getWebAuthAgeMs, m as webAuthExists, n as resolveWhatsAppAccount, r as WA_WEB_AUTH_DIR, u as readWebSelfId } from "./accounts-DYfFud2l.js";
|
|
17
17
|
import "./bindings-Cn3Pwuys.js";
|
|
@@ -2,11 +2,11 @@ import { p as theme, t as danger } from "./globals-B68W7uN8.js";
|
|
|
2
2
|
import { t as CONFIG_PATH, u as resolveGatewayPort } from "./paths-BnKiOk2S.js";
|
|
3
3
|
import { d as defaultRuntime } from "./subsystem-DjdBljTA.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
|
-
import { M as loadConfig, P as readConfigFileSnapshot, R as writeConfigFile, z as validateConfigObjectWithPlugins } from "./auth-profiles-
|
|
5
|
+
import { M as loadConfig, P as readConfigFileSnapshot, R as writeConfigFile, z as validateConfigObjectWithPlugins } from "./auth-profiles-CyG9VwU_.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-CVXyxgq3.js";
|
|
7
|
-
import "./agent-scope-
|
|
7
|
+
import "./agent-scope-CY2-lUIY.js";
|
|
8
8
|
import { a as displayPath } from "./utils-DIzy5B5o.js";
|
|
9
|
-
import "./workspace-
|
|
9
|
+
import "./workspace-DzeL98px.js";
|
|
10
10
|
import "./logger-BJMfryJd.js";
|
|
11
11
|
import { t as runCommandWithTimeout } from "./exec-CEAvKSx9.js";
|
|
12
12
|
import "./github-copilot-token-CulJ9J5l.js";
|
|
@@ -14,10 +14,10 @@ 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 "./frontmatter-C0E8mspC.js";
|
|
19
|
-
import "./skills-
|
|
20
|
-
import "./path-alias-guards-
|
|
19
|
+
import "./skills-D4S-gyVf.js";
|
|
20
|
+
import "./path-alias-guards-laKq24fx.js";
|
|
21
21
|
import { t as formatDocsLink } from "./links-BDNlbZvM.js";
|
|
22
22
|
import { C as normalizeServePath, S as normalizeHooksPath, T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, a as ensureTopic, b as generateHookToken, c as DEFAULT_GMAIL_LABEL, d as DEFAULT_GMAIL_SERVE_BIND, f as DEFAULT_GMAIL_SERVE_PATH, g as buildDefaultHookUrl, h as DEFAULT_GMAIL_TOPIC, i as ensureTailscaleEndpoint, l as DEFAULT_GMAIL_MAX_BYTES, m as DEFAULT_GMAIL_SUBSCRIPTION, n as ensureGcloudAuth, o as resolveProjectIdFromGogCredentials, p as DEFAULT_GMAIL_SERVE_PORT, r as ensureSubscription, s as runGcloud, t as ensureDependency, u as DEFAULT_GMAIL_RENEW_MINUTES, v as buildGogWatchStartArgs, w as parseTopicPath, x as mergeHookPresets, y as buildTopicPath } from "./gmail-setup-utils-CtjSNa9d.js";
|
|
23
23
|
import { spawn } from "node:child_process";
|
|
@@ -2,10 +2,10 @@ import "./globals-B68W7uN8.js";
|
|
|
2
2
|
import "./paths-BnKiOk2S.js";
|
|
3
3
|
import "./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,26 +13,26 @@ 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 "./path-alias-guards-
|
|
16
|
+
import "./manifest-registry-CBF8Vfz8.js";
|
|
17
|
+
import "./path-alias-guards-laKq24fx.js";
|
|
18
18
|
import "./message-channel-0J6eKf3g.js";
|
|
19
|
-
import { _ as isWhatsAppGroupJid, v as normalizeWhatsAppTarget } from "./plugins-
|
|
20
|
-
import { i as resolveWhatsAppAccount } from "./accounts-
|
|
19
|
+
import { _ as isWhatsAppGroupJid, v as normalizeWhatsAppTarget } from "./plugins-C4cYqW07.js";
|
|
20
|
+
import { i as resolveWhatsAppAccount } from "./accounts-Cv5CUnT4.js";
|
|
21
21
|
import "./logging-5MtSkLpb.js";
|
|
22
|
-
import "./bindings-
|
|
23
|
-
import "./image-ops-
|
|
24
|
-
import "./fs-safe-
|
|
25
|
-
import "./proxy-env-
|
|
26
|
-
import "./tool-images-
|
|
27
|
-
import "./fetch-
|
|
28
|
-
import "./fetch-guard-
|
|
22
|
+
import "./bindings-DGvp9FdD.js";
|
|
23
|
+
import "./image-ops-B2L37gT8.js";
|
|
24
|
+
import "./fs-safe-BqJ9egpm.js";
|
|
25
|
+
import "./proxy-env-BoopXu2J.js";
|
|
26
|
+
import "./tool-images-CmgHk8xk.js";
|
|
27
|
+
import "./fetch-DOjg912W.js";
|
|
28
|
+
import "./fetch-guard-Csbz9pui.js";
|
|
29
29
|
import "./chunk-kLPohhLl.js";
|
|
30
|
-
import "./markdown-tables-
|
|
31
|
-
import "./ir-
|
|
30
|
+
import "./markdown-tables-DQlQMRGZ.js";
|
|
31
|
+
import "./ir-CEwBpxhC.js";
|
|
32
32
|
import "./render-CXDO_kgw.js";
|
|
33
|
-
import { f as readReactionParams, h as readStringParam, i as ToolAuthorizationError, l as jsonResult, n as missingTargetError, o as createActionGate } from "./target-errors-
|
|
34
|
-
import "./tables-
|
|
35
|
-
import { r as sendReactionWhatsApp } from "./outbound-
|
|
33
|
+
import { f as readReactionParams, h as readStringParam, i as ToolAuthorizationError, l as jsonResult, n as missingTargetError, o as createActionGate } from "./target-errors-DPJ9HFp9.js";
|
|
34
|
+
import "./tables-BOsRa7CS.js";
|
|
35
|
+
import { r as sendReactionWhatsApp } from "./outbound-BZyqP8d-.js";
|
|
36
36
|
|
|
37
37
|
//#region src/whatsapp/resolve-outbound-target.ts
|
|
38
38
|
function resolveWhatsAppOutboundTarget(params) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-DjdBljTA.js";
|
|
2
|
-
import { M as loadConfig } from "./auth-profiles-
|
|
2
|
+
import { M as loadConfig } from "./auth-profiles-CyG9VwU_.js";
|
|
3
3
|
import { c as escapeRegExp } from "./utils-DIzy5B5o.js";
|
|
4
|
-
import { i as resolveBrowserConfig, r as registerBrowserRoutes, s as ensureBrowserControlAuth, t as createBrowserRouteContext } from "./server-context-
|
|
5
|
-
import { t as ensureExtensionRelayForProfiles } from "./server-lifecycle-
|
|
4
|
+
import { i as resolveBrowserConfig, r as registerBrowserRoutes, s as ensureBrowserControlAuth, t as createBrowserRouteContext } from "./server-context-CjPCwa4T.js";
|
|
5
|
+
import { t as ensureExtensionRelayForProfiles } from "./server-lifecycle-HLBzAVdX.js";
|
|
6
6
|
import { execFile } from "node:child_process";
|
|
7
7
|
import os from "node:os";
|
|
8
8
|
import { promisify } from "node:util";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-DjdBljTA.js";
|
|
2
2
|
import { t as CONFIG_DIR, v as resolveUserPath } from "./utils-DIzy5B5o.js";
|
|
3
|
-
import { C as openBoundaryFileSync } from "./workspace-
|
|
3
|
+
import { C as openBoundaryFileSync } from "./workspace-DzeL98px.js";
|
|
4
4
|
import { a as isPathInsideWithRealpath, n as MANIFEST_KEY } from "./legacy-names-D3aIn6ij.js";
|
|
5
5
|
import { a as resolveOpenClawManifestBlock, c as resolveOpenClawManifestRequires, d as hasBinary, f as isConfigPathTruthyWithDefaults, i as parseOpenClawManifestInstallBase, l as parseFrontmatterBlock, n as normalizeStringList, o as resolveOpenClawManifestInstall, r as parseFrontmatterBool, s as resolveOpenClawManifestOs, t as getFrontmatterString, u as evaluateRuntimeEligibility } from "./frontmatter-C0E8mspC.js";
|
|
6
6
|
import { fileURLToPath } from "node:url";
|
|
@@ -6,7 +6,7 @@ import { fileURLToPath } from "node:url";
|
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import os from "node:os";
|
|
8
8
|
import fs from "node:fs";
|
|
9
|
-
import
|
|
9
|
+
import fsPromises from "node:fs/promises";
|
|
10
10
|
|
|
11
11
|
//#region src/agents/skills/filter.ts
|
|
12
12
|
function normalizeSkillFilter(skillFilter) {
|
|
@@ -292,7 +292,7 @@ async function resolveBoundaryPathLexicalAsync(params) {
|
|
|
292
292
|
const stat = await readLexicalStat({
|
|
293
293
|
...sharedStepParams,
|
|
294
294
|
missingFromIndex: idx,
|
|
295
|
-
read: (cursor) =>
|
|
295
|
+
read: (cursor) => fsPromises.lstat(cursor)
|
|
296
296
|
});
|
|
297
297
|
if (!stat) break;
|
|
298
298
|
const disposition = handleLexicalStatDisposition({
|
|
@@ -464,7 +464,7 @@ async function resolvePathViaExistingAncestor(targetPath) {
|
|
|
464
464
|
}
|
|
465
465
|
if (!await pathExists(cursor)) return normalized;
|
|
466
466
|
try {
|
|
467
|
-
const resolvedAncestor = path.resolve(await
|
|
467
|
+
const resolvedAncestor = path.resolve(await fsPromises.realpath(cursor));
|
|
468
468
|
if (missingSuffix.length === 0) return resolvedAncestor;
|
|
469
469
|
return path.resolve(resolvedAncestor, ...missingSuffix);
|
|
470
470
|
} catch {
|
|
@@ -494,7 +494,7 @@ async function getPathKind(absolutePath, preserveFinalSymlink) {
|
|
|
494
494
|
try {
|
|
495
495
|
return {
|
|
496
496
|
exists: true,
|
|
497
|
-
kind: toResolvedKind(preserveFinalSymlink ? await
|
|
497
|
+
kind: toResolvedKind(preserveFinalSymlink ? await fsPromises.lstat(absolutePath) : await fsPromises.stat(absolutePath))
|
|
498
498
|
};
|
|
499
499
|
} catch (error) {
|
|
500
500
|
if (isNotFoundPathError(error)) return {
|
|
@@ -550,7 +550,7 @@ function isFilesystemRoot(candidate) {
|
|
|
550
550
|
}
|
|
551
551
|
async function pathExists(targetPath) {
|
|
552
552
|
try {
|
|
553
|
-
await
|
|
553
|
+
await fsPromises.lstat(targetPath);
|
|
554
554
|
return true;
|
|
555
555
|
} catch (error) {
|
|
556
556
|
if (isNotFoundPathError(error)) return false;
|
|
@@ -559,10 +559,10 @@ async function pathExists(targetPath) {
|
|
|
559
559
|
}
|
|
560
560
|
async function resolveSymlinkHopPath(symlinkPath) {
|
|
561
561
|
try {
|
|
562
|
-
return path.resolve(await
|
|
562
|
+
return path.resolve(await fsPromises.realpath(symlinkPath));
|
|
563
563
|
} catch (error) {
|
|
564
564
|
if (!isNotFoundPathError(error)) throw error;
|
|
565
|
-
const linkTarget = await
|
|
565
|
+
const linkTarget = await fsPromises.readlink(symlinkPath);
|
|
566
566
|
return resolvePathViaExistingAncestor(path.resolve(path.dirname(symlinkPath), linkTarget));
|
|
567
567
|
}
|
|
568
568
|
}
|
|
@@ -779,7 +779,7 @@ const CORE_PACKAGE_NAMES = new Set([
|
|
|
779
779
|
]);
|
|
780
780
|
async function readPackageName(dir) {
|
|
781
781
|
try {
|
|
782
|
-
const raw = await
|
|
782
|
+
const raw = await fsPromises.readFile(path.join(dir, "package.json"), "utf-8");
|
|
783
783
|
const parsed = JSON.parse(raw);
|
|
784
784
|
return typeof parsed.name === "string" ? parsed.name : null;
|
|
785
785
|
} catch {
|
|
@@ -974,7 +974,7 @@ async function loadTemplate(name) {
|
|
|
974
974
|
const templateDir = await resolveWorkspaceTemplateDir();
|
|
975
975
|
const templatePath = path.join(templateDir, name);
|
|
976
976
|
try {
|
|
977
|
-
return stripFrontMatter(await
|
|
977
|
+
return stripFrontMatter(await fsPromises.readFile(templatePath, "utf-8"));
|
|
978
978
|
} catch {
|
|
979
979
|
throw new Error(`Missing workspace template: ${name} (${templatePath}). Ensure docs/reference/templates are packaged.`);
|
|
980
980
|
}
|
|
@@ -989,7 +989,7 @@ async function loadTemplate(name) {
|
|
|
989
989
|
}
|
|
990
990
|
async function writeFileIfMissing(filePath, content) {
|
|
991
991
|
try {
|
|
992
|
-
await
|
|
992
|
+
await fsPromises.writeFile(filePath, content, {
|
|
993
993
|
encoding: "utf-8",
|
|
994
994
|
flag: "wx"
|
|
995
995
|
});
|
|
@@ -1001,7 +1001,7 @@ async function writeFileIfMissing(filePath, content) {
|
|
|
1001
1001
|
}
|
|
1002
1002
|
async function fileExists(filePath) {
|
|
1003
1003
|
try {
|
|
1004
|
-
await
|
|
1004
|
+
await fsPromises.access(filePath);
|
|
1005
1005
|
return true;
|
|
1006
1006
|
} catch {
|
|
1007
1007
|
return false;
|
|
@@ -1034,7 +1034,7 @@ function parseWorkspaceOnboardingState(raw) {
|
|
|
1034
1034
|
}
|
|
1035
1035
|
async function readWorkspaceOnboardingState(statePath) {
|
|
1036
1036
|
try {
|
|
1037
|
-
return parseWorkspaceOnboardingState(await
|
|
1037
|
+
return parseWorkspaceOnboardingState(await fsPromises.readFile(statePath, "utf-8")) ?? { version: WORKSPACE_STATE_VERSION };
|
|
1038
1038
|
} catch (err) {
|
|
1039
1039
|
if (err.code !== "ENOENT") throw err;
|
|
1040
1040
|
return { version: WORKSPACE_STATE_VERSION };
|
|
@@ -1048,20 +1048,20 @@ async function isWorkspaceOnboardingCompleted(dir) {
|
|
|
1048
1048
|
return typeof state.onboardingCompletedAt === "string" && state.onboardingCompletedAt.trim().length > 0;
|
|
1049
1049
|
}
|
|
1050
1050
|
async function writeWorkspaceOnboardingState(statePath, state) {
|
|
1051
|
-
await
|
|
1051
|
+
await fsPromises.mkdir(path.dirname(statePath), { recursive: true });
|
|
1052
1052
|
const payload = `${JSON.stringify(state, null, 2)}\n`;
|
|
1053
1053
|
const tmpPath = `${statePath}.tmp-${process.pid}-${Date.now().toString(36)}`;
|
|
1054
1054
|
try {
|
|
1055
|
-
await
|
|
1056
|
-
await
|
|
1055
|
+
await fsPromises.writeFile(tmpPath, payload, { encoding: "utf-8" });
|
|
1056
|
+
await fsPromises.rename(tmpPath, statePath);
|
|
1057
1057
|
} catch (err) {
|
|
1058
|
-
await
|
|
1058
|
+
await fsPromises.unlink(tmpPath).catch(() => {});
|
|
1059
1059
|
throw err;
|
|
1060
1060
|
}
|
|
1061
1061
|
}
|
|
1062
1062
|
async function hasGitRepo(dir) {
|
|
1063
1063
|
try {
|
|
1064
|
-
await
|
|
1064
|
+
await fsPromises.stat(path.join(dir, ".git"));
|
|
1065
1065
|
return true;
|
|
1066
1066
|
} catch {
|
|
1067
1067
|
return false;
|
|
@@ -1091,7 +1091,7 @@ async function ensureGitRepo(dir, isBrandNewWorkspace) {
|
|
|
1091
1091
|
}
|
|
1092
1092
|
async function ensureAgentWorkspace(params) {
|
|
1093
1093
|
const dir = resolveUserPath(params?.dir?.trim() ? params.dir.trim() : DEFAULT_AGENT_WORKSPACE_DIR);
|
|
1094
|
-
await
|
|
1094
|
+
await fsPromises.mkdir(dir, { recursive: true });
|
|
1095
1095
|
if (!params?.ensureBootstrapFiles) return { dir };
|
|
1096
1096
|
const agentsPath = path.join(dir, DEFAULT_AGENTS_FILENAME);
|
|
1097
1097
|
const soulPath = path.join(dir, DEFAULT_SOUL_FILENAME);
|
|
@@ -1118,7 +1118,7 @@ async function ensureAgentWorkspace(params) {
|
|
|
1118
1118
|
const paths = [...templatePaths, ...userContentPaths];
|
|
1119
1119
|
return (await Promise.all(paths.map(async (p) => {
|
|
1120
1120
|
try {
|
|
1121
|
-
await
|
|
1121
|
+
await fsPromises.access(p);
|
|
1122
1122
|
return true;
|
|
1123
1123
|
} catch {
|
|
1124
1124
|
return false;
|
|
@@ -1151,7 +1151,7 @@ async function ensureAgentWorkspace(params) {
|
|
|
1151
1151
|
if (!state.bootstrapSeededAt && bootstrapExists) markState({ bootstrapSeededAt: nowIso() });
|
|
1152
1152
|
if (!state.onboardingCompletedAt && state.bootstrapSeededAt && !bootstrapExists) markState({ onboardingCompletedAt: nowIso() });
|
|
1153
1153
|
if (!state.bootstrapSeededAt && !state.onboardingCompletedAt && !bootstrapExists) {
|
|
1154
|
-
const [identityContent, userContent] = await Promise.all([
|
|
1154
|
+
const [identityContent, userContent] = await Promise.all([fsPromises.readFile(identityPath, "utf-8"), fsPromises.readFile(userPath, "utf-8")]);
|
|
1155
1155
|
const hasUserContent = await (async () => {
|
|
1156
1156
|
const indicators = [
|
|
1157
1157
|
path.join(dir, "memory"),
|
|
@@ -1159,7 +1159,7 @@ async function ensureAgentWorkspace(params) {
|
|
|
1159
1159
|
path.join(dir, ".git")
|
|
1160
1160
|
];
|
|
1161
1161
|
for (const indicator of indicators) try {
|
|
1162
|
-
await
|
|
1162
|
+
await fsPromises.access(indicator);
|
|
1163
1163
|
return true;
|
|
1164
1164
|
} catch {}
|
|
1165
1165
|
return false;
|
|
@@ -1190,7 +1190,7 @@ async function resolveMemoryBootstrapEntries(resolvedDir) {
|
|
|
1190
1190
|
for (const name of candidates) {
|
|
1191
1191
|
const filePath = path.join(resolvedDir, name);
|
|
1192
1192
|
try {
|
|
1193
|
-
await
|
|
1193
|
+
await fsPromises.access(filePath);
|
|
1194
1194
|
entries.push({
|
|
1195
1195
|
name,
|
|
1196
1196
|
filePath
|
|
@@ -1203,7 +1203,7 @@ async function resolveMemoryBootstrapEntries(resolvedDir) {
|
|
|
1203
1203
|
for (const entry of entries) {
|
|
1204
1204
|
let key = entry.filePath;
|
|
1205
1205
|
try {
|
|
1206
|
-
key = await
|
|
1206
|
+
key = await fsPromises.realpath(entry.filePath);
|
|
1207
1207
|
} catch {}
|
|
1208
1208
|
if (seen.has(key)) continue;
|
|
1209
1209
|
seen.add(key);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
1
|
+
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-CY2-lUIY.js";
|
|
2
2
|
|
|
3
3
|
//#region src/agents/workspace-dirs.ts
|
|
4
4
|
function listAgentWorkspaceDirs(cfg) {
|