@bitseek/claw 1.2.1 → 1.2.5
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-2NNZ6Hbp.js → accounts-B3zSNWIv.js} +1 -1
- package/dist/{accounts-Cv5CUnT4.js → accounts-BQHz8_1_.js} +7 -7
- package/dist/{accounts-NHpMJ0aq.js → accounts-DTfEeXyO.js} +1 -1
- package/dist/{acp-cli-8xcvVB-L.js → acp-cli-BZnPaFm3.js} +4 -4
- package/dist/{acp-cli-B0u6no4K.js → acp-cli-C24-lylb.js} +11 -11
- package/dist/{agent-scope-CY2-lUIY.js → agent-scope-CJelRKYY.js} +1 -1
- package/dist/{agents-Cweyfj22.js → agents-BCJbDk2P.js} +18 -18
- package/dist/{agents.config-BVV8yXyh.js → agents.config-DQBEXhzA.js} +1 -1
- package/dist/{agents.config-DA3Y8w1t.js → agents.config-DoxV5m9v.js} +2 -2
- package/dist/{api-key-rotation-Cf7QM5M_.js → api-key-rotation-xfk-b2Sv.js} +1 -1
- package/dist/{audio-preflight-Cpsushqf.js → audio-preflight-BkoTbTIH.js} +5 -5
- package/dist/{audio-preflight-DdrORTn9.js → audio-preflight-CHD1xVrt.js} +4 -4
- package/dist/{audio-preflight-BWOdDA2n.js → audio-preflight-Dd9DDvqB.js} +4 -4
- package/dist/{audio-preflight-SRgix4XS.js → audio-preflight-Dl40LQzr.js} +36 -36
- package/dist/{audio-transcription-runner-DaoqvWoi.js → audio-transcription-runner-Bx53bUS2.js} +1 -1
- package/dist/{audio-transcription-runner-TitMttNg.js → audio-transcription-runner-CF_UP4C7.js} +1 -1
- package/dist/{audio-transcription-runner-CGsd7139.js → audio-transcription-runner-DwWOJBSn.js} +1 -1
- package/dist/{audio-transcription-runner-DkibzFT2.js → audio-transcription-runner-jiDE7Pt8.js} +22 -22
- package/dist/{audit-R36cTwJM.js → audit-1YVlVmk7.js} +9 -9
- package/dist/{audit-TSVXvoTa.js → audit-Bgu8Ommg.js} +33 -33
- package/dist/{auth-anvTU0Sb.js → auth-B3HDYw4G.js} +1 -1
- package/dist/{auth-choice-C8olhaf_.js → auth-choice-BamWYpsc.js} +9 -8
- package/dist/{auth-choice-Bhzlukg0.js → auth-choice-CP6K5htW.js} +14 -14
- package/dist/{auth-choice-BeV7uG7Q.js → auth-choice-CdsMUqKA.js} +7 -7
- package/dist/{auth-choice-CR6bBvDU.js → auth-choice-DYXCDlGW.js} +16 -15
- package/dist/{auth-choice.apply-helpers-Du585kvU.js → auth-choice.apply-helpers-DR-eUj_5.js} +1 -1
- package/dist/{auth-profiles-CyG9VwU_.js → auth-profiles-D_x1_5v_.js} +16 -16
- package/dist/{auth-token-BIEjzQiE.js → auth-token-BDQ5b9Wx.js} +2 -2
- package/dist/{auth-token-EHTMZL2e.js → auth-token-BjVRLcvi.js} +1 -1
- package/dist/{banner-D-ha13Xs.js → banner-V_1v329B.js} +2 -2
- package/dist/{bindings-DGvp9FdD.js → bindings-Hx6KNJeg.js} +1 -1
- package/dist/{bonjour-discovery-1e3NxSsT.js → bonjour-discovery-CtUQb94i.js} +1 -1
- package/dist/{bonjour-discovery-B68dCYTY.js → bonjour-discovery-DiHs5j0y.js} +2 -2
- package/dist/{browser-cli-DREC4EVl.js → browser-cli-BMupJSz_.js} +14 -14
- package/dist/{browser-cli-Ck0ISgnj.js → browser-cli-CaBLM5A6.js} +3 -3
- 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-CmAGfSJE.js → call-CzoM7hPS.js} +10 -10
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/canvas-host/a2ui/a2ui.bundle.js +6027 -1405
- package/dist/{channel-account-context-DNFdIaSr.js → channel-account-context-BV3Q0XnD.js} +6 -6
- package/dist/{channel-account-context-etfgJrr_.js → channel-account-context-C6rIxLzo.js} +1 -1
- package/dist/{channel-options-CcVV-66e.js → channel-options-Bnnem_wD.js} +1 -1
- package/dist/{channel-options-6JzQN9nt.js → channel-options-Dsjb-V1F.js} +3 -3
- package/dist/{channel-selection-DGtYwfd7.js → channel-selection-D8KYuWir.js} +1 -1
- package/dist/{channel-web-C9be00RJ.js → channel-web-KY6EP9HT.js} +5 -5
- package/dist/{channel-web-oQImOucb.js → channel-web-wuxrfEJh.js} +18 -18
- package/dist/{channels-cli-CzLX8jUv.js → channels-cli-OZeQkPMG.js} +104 -102
- package/dist/{channels-cli-B31EyJet.js → channels-cli-tJkvzsqO.js} +35 -33
- package/dist/{channels-status-issues-BMNB2aMG.js → channels-status-issues-CCNiQcg9.js} +1 -1
- package/dist/{chrome-CjTE-vWv.js → chrome-C6zMSR36.js} +8 -8
- package/dist/{chrome-xatreDUO.js → chrome-CuMCXCQN.js} +8 -8
- package/dist/{chrome-DeZyLFsG.js → chrome-DuDCGdf-.js} +4 -4
- package/dist/{clack-prompter-DNiUmv2O.js → clack-prompter-B2lC_BWr.js} +2 -2
- package/dist/{clack-prompter-VaNRUEnc.js → clack-prompter-CgCD3NZ8.js} +2 -2
- package/dist/{clawbot-cli-H1Uj0ifV.js → clawbot-cli-COQB6-NK.js} +5 -5
- package/dist/{clawbot-cli-KKfrHQ8a.js → clawbot-cli-Comysjn9.js} +1 -1
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-Ddp1rtss.js → cli-DOS1lPNs.js} +12 -10
- package/dist/{cli-C2xvYknT.js → cli-YeYpjq2c.js} +78 -76
- package/dist/{client-vUKV2o6h.js → client-BvL3EdiZ.js} +2 -2
- package/dist/{command-registry-QcrBU_9X.js → command-registry-KxdBw74g.js} +13 -13
- package/dist/{commands-d8L0zY8O.js → commands-C67IbXs7.js} +1 -1
- package/dist/{commands-registry-C78O6aNi.js → commands-registry-D0_D5hFV.js} +3 -3
- package/dist/{completion-cli-BkWPjJyP.js → completion-cli-Cfp2m1Sy.js} +14 -14
- package/dist/{completion-cli-VWIJWtLM.js → completion-cli-DU3T8Tur.js} +1 -1
- package/dist/{config-cli-BUO5SwNS.js → config-cli-DZpbwWvz.js} +3 -3
- package/dist/{config-cli-B4WnAVfw.js → config-cli-hwawfBlS.js} +7 -7
- package/dist/{config-guard-CoGVEAhf.js → config-guard-9BjlFVZx.js} +3 -3
- package/dist/{config-guard-RZw5NkPK.js → config-guard-CcE0LvHm.js} +3 -3
- package/dist/{config-validation-Cx4865gR.js → config-validation-BcxAhhcj.js} +2 -2
- package/dist/{config-validation-tb90Bzho.js → config-validation-DO7QURfM.js} +4 -4
- package/dist/{configure-DaHch8UJ.js → configure-CLMtWGiL.js} +15 -15
- package/dist/{configure-DuwIk56q.js → configure-l-lM74c1.js} +21 -21
- package/dist/{context-window-guard-Bs0PeDpo.js → context-window-guard-BNuaId5E.js} +6 -1
- package/dist/{context-window-guard-DVgGi3Ub.js → context-window-guard-ejUBbmnW.js} +6 -1
- package/dist/control-ui/assets/{index-DmJK8e2M.js → index-CKSSOzJL.js} +116 -116
- package/dist/control-ui/assets/{index-DmJK8e2M.js.map → index-CKSSOzJL.js.map} +1 -1
- package/dist/control-ui/assets/index-Ck63PFX9.css +1 -0
- package/dist/control-ui/index.html +2 -2
- package/dist/{control-ui-assets-Czpjuiah.js → control-ui-assets-Dx8wiZQ_.js} +1 -1
- package/dist/{cron-cli-Rrii2waZ.js → cron-cli-C8kDGh6_.js} +2 -2
- package/dist/{cron-cli-D5MnhB5f.js → cron-cli-xl75rAFd.js} +13 -13
- package/dist/{daemon-cli-oCVkh3bg.js → daemon-cli-BSy0rtO2.js} +18 -18
- package/dist/{daemon-cli-D_QKAnN1.js → daemon-cli-RKWFtF-K.js} +10 -10
- package/dist/{daemon-install-kxqE_IHC.js → daemon-install-DsJ0L8HP.js} +7 -7
- package/dist/{daemon-install-vQ6KespE.js → daemon-install-d2OYSlQz.js} +7 -7
- package/dist/{daemon-install-helpers-B_sQ4Mox.js → daemon-install-helpers-CMWYg4_W.js} +1 -1
- package/dist/{daemon-install-helpers-D5tste0V.js → daemon-install-helpers-D28keNLu.js} +12 -12
- package/dist/{dashboard-DkdG50pm.js → dashboard-BhAYjl6n.js} +1 -1
- package/dist/{dashboard-BstU6qkZ.js → dashboard-DXvihe_P.js} +3 -3
- package/dist/{deliver-BjVMpWfF.js → deliver-Bn10XzRP.js} +1 -1
- package/dist/{deliver-xY3h9X6N.js → deliver-DXa06hfk.js} +1 -1
- package/dist/{deliver-H0xCFj4j.js → deliver-Df8pSQk6.js} +7 -7
- package/dist/{deliver-Z7543EnP.js → deliver-Dyh8ZsLI.js} +1 -1
- package/dist/{devices-cli-D6b6S-Iy.js → devices-cli-D6CoUTi_.js} +9 -9
- package/dist/{devices-cli-CbKxt0YP.js → devices-cli-DoJBheGs.js} +1 -1
- package/dist/{diagnostic-DjxUqpmL.js → diagnostic-Bvatw1Xn.js} +1 -1
- package/dist/{diagnostics-BCFJKFDe.js → diagnostics-ABz8E7c-.js} +1 -1
- package/dist/{diagnostics-vLzdmcgg.js → diagnostics-BHQgZbuI.js} +5 -5
- package/dist/{directory-cli-BojMDuwh.js → directory-cli-Brla3Idn.js} +2 -2
- package/dist/{directory-cli-D3o7BGMd.js → directory-cli-Dkil59xj.js} +10 -10
- package/dist/{dns-cli-B5kqVfFd.js → dns-cli-CJydclW8.js} +7 -7
- package/dist/{dns-cli-DzLjIvET.js → dns-cli-rEvE1LG9.js} +2 -2
- package/dist/{dock-CoclJnwp.js → dock-DT8sACcR.js} +4 -4
- package/dist/{docs-cli-CyjlhZAj.js → docs-cli-BkufgU5Y.js} +4 -4
- package/dist/{doctor-completion-DGNL86eP.js → doctor-completion-AraQfpv2.js} +2 -2
- package/dist/{doctor-completion-SBDS3edN.js → doctor-completion-B6_JtN22.js} +3 -3
- package/dist/{doctor-config-flow-CuNWLHUk.js → doctor-config-flow-18ijj3KB.js} +5 -5
- package/dist/{doctor-config-flow-DclZbGUP.js → doctor-config-flow-BrXA2e34.js} +18 -18
- package/dist/{enable-CKAw_GCd.js → enable-CinNZxRH.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{exec-approvals-allowlist-CFjPSbxI.js → exec-approvals-allowlist-B4DS6FIn.js} +1 -1
- package/dist/{exec-approvals-cli-U46MdeMi.js → exec-approvals-cli-Cani2Hjk.js} +17 -17
- package/dist/{exec-approvals-cli-DKCFi9UQ.js → exec-approvals-cli-DfcUJ9Sm.js} +6 -6
- package/dist/{exec-safe-bin-runtime-policy-CpMj95vJ.js → exec-safe-bin-runtime-policy-BP6ImlkB.js} +2 -2
- package/dist/extensionAPI.js +6 -6
- package/dist/{fetch-DOjg912W.js → fetch-DC-NMnAU.js} +3 -3
- package/dist/{fetch-guard-Csbz9pui.js → fetch-guard-B62rgaSw.js} +1 -1
- package/dist/{fs-safe-BqJ9egpm.js → fs-safe-CJDtl_QU.js} +24 -24
- package/dist/{gateway-cli-ADJ8WFzB.js → gateway-cli-C6G3qMkR.js} +60 -59
- package/dist/{gateway-cli-D5wMqxbT.js → gateway-cli-CX2HA_sy.js} +175 -174
- package/dist/{gateway-rpc-DFqEAyI_.js → gateway-rpc-C7KYwonl.js} +1 -1
- package/dist/{health-Dzwp2cfK.js → health-CDEXWvnu.js} +16 -16
- package/dist/{health-CGGup1fo.js → health-Du8dO3vn.js} +4 -4
- package/dist/{hooks-cli-CiwYBoY7.js → hooks-cli-DUIQuGjr.js} +17 -15
- package/dist/{hooks-cli-DKAhHxZp.js → hooks-cli-Deo01lF6.js} +87 -85
- package/dist/{hooks-status-6tcOdcYp.js → hooks-status-DE20AAEu.js} +1 -1
- package/dist/{hooks-status-Ds3tGfpn.js → hooks-status-ONaKEpUH.js} +1 -1
- package/dist/{image-CpFh9AzK.js → image-B270IRGo.js} +1 -1
- package/dist/{image-DCyaYY2d.js → image-Dd4lgi4H.js} +1 -1
- package/dist/{image-DQV2jl6F.js → image-DihIv8Eo.js} +1 -1
- package/dist/{image-BjuH1GKB.js → image-UpBiPNsk.js} +5 -5
- package/dist/{image-ops-B2L37gT8.js → image-ops-BGTBZMuE.js} +10 -10
- package/dist/index.js +25 -23
- package/dist/{inspect-DJUXn0vX.js → inspect-Bmurt9te.js} +4 -4
- package/dist/{inspect-C-qwWnae.js → inspect-C0e0Dmvg.js} +1 -1
- package/dist/{install-safe-path-DVQh7rEs.js → install-safe-path-BB9b_AvF.js} +25 -25
- package/dist/{install-safe-path-DlUmof-g.js → install-safe-path-CSqVUjL8.js} +1 -1
- package/dist/{installs-BQv6UJZe.js → installs-BXOZ3DXs.js} +3 -3
- package/dist/{installs-jXfyPi74.js → installs-BXcYytvn.js} +9 -9
- package/dist/{ipv4-DQS0lTwQ.js → ipv4-BB1Ro6so.js} +1 -1
- package/dist/{ir-CEwBpxhC.js → ir-DziC-P4Z.js} +6 -6
- package/dist/{issue-format-NBMJ5xAP.js → issue-format-DF2YB-kZ.js} +1 -1
- package/dist/{json-files-rR19q30D.js → json-files-CuJjdF_0.js} +8 -8
- package/dist/{lifecycle-core-nY3ix4oA.js → lifecycle-core-Bqse41aA.js} +4 -4
- package/dist/{lifecycle-core-oTVOKNSW.js → lifecycle-core-CJd181-h.js} +6 -6
- package/dist/llm-slug-generator.js +6 -6
- package/dist/{login-B9hYTB2m.js → login-B2B75WGK.js} +1 -1
- package/dist/{login-I5RlwiJn.js → login-C_YjM9eH.js} +3 -3
- package/dist/{login-qr-CRjZn3ix.js → login-qr-DujJqOuy.js} +6 -6
- package/dist/{login-qr-Dnuf_chX.js → login-qr-YjUycQZT.js} +1 -1
- package/dist/{logs-cli-D2-73CiV.js → logs-cli-Bc1A5X-r.js} +10 -10
- package/dist/{logs-cli-C8hho9_C.js → logs-cli-Dyid6hUQ.js} +2 -2
- package/dist/{manager-DWpiNvlg.js → manager-7hZXEYTj.js} +14 -14
- package/dist/{manifest-registry-CBF8Vfz8.js → manifest-registry-Kbw8YPsZ.js} +1 -1
- package/dist/{markdown-tables-DQlQMRGZ.js → markdown-tables-BYHgyUjA.js} +1 -1
- package/dist/{memory-cli-BUrf60e_.js → memory-cli-CuT-iG2F.js} +12 -12
- package/dist/{model-DMZUvZJo.js → model-DmBmzJI6.js} +2 -2
- package/dist/{model-catalog-DFi9HgWu.js → model-catalog-D1X8r3WJ.js} +3 -3
- package/dist/{model-picker-DFyoaAce.js → model-picker-C56N_rW7.js} +4 -4
- package/dist/{model-picker-D14fFqIp.js → model-picker-CMgjcqV_.js} +1 -1
- package/dist/{models-B-VHfTz-.js → models-CgguB_MH.js} +22 -22
- package/dist/{models-cli-DQBbzn_p.js → models-cli-BEb0DHSP.js} +86 -85
- package/dist/{models-cli-DcCWtSFq.js → models-cli-CHUbcM_y.js} +21 -20
- package/dist/{models-config-AePb9RAo.js → models-config-CmrBGsQs.js} +6 -6
- package/dist/{net-C75G4fup.js → net-BXeYv7Iu.js} +2 -2
- package/dist/{node-cli-UnJ5obvj.js → node-cli-DSoqxwqZ.js} +38 -38
- package/dist/{node-cli-C7Nc02JP.js → node-cli-DYOdgLUu.js} +14 -14
- package/dist/{node-command-policy-B5h8i-3t.js → node-command-policy-BKUs_pS2.js} +1 -1
- package/dist/{node-command-policy-DMwxqhrG.js → node-command-policy-pJ6IPNBA.js} +2 -2
- package/dist/{node-service-DoxDrTkh.js → node-service-6W3vqgVv.js} +1 -1
- package/dist/{node-service-83OYUi14.js → node-service-DUUObpwl.js} +1 -1
- package/dist/{nodes-cli-U66EhW5E.js → nodes-cli-BKGcOJ8A.js} +17 -17
- package/dist/{nodes-cli-co1sV2V7.js → nodes-cli-CQzck2kc.js} +2 -2
- package/dist/{nodes-screen-BHwVUMr8.js → nodes-screen-DcxCMjOs.js} +7 -7
- package/dist/{npm-pack-install-Sf1q9unI.js → npm-pack-install-Byr0kgft.js} +1 -1
- package/dist/{npm-pack-install-1gsZywqI.js → npm-pack-install-D5pJ8KzT.js} +18 -18
- package/dist/{npm-resolution-BPNFEkaz.js → npm-resolution-Dv7nYiaP.js} +2 -2
- package/dist/{npm-resolution-ZwcMp-e1.js → npm-resolution-T8SphiP5.js} +5 -5
- package/dist/{oauth-tls-preflight-CyE-1Bft.js → oauth-tls-preflight-B31t_Wn7.js} +1 -1
- package/dist/{oauth-tls-preflight-CrvTuJli.js → oauth-tls-preflight-i1WBNTG8.js} +1 -1
- package/dist/{onboard-Ce_QcPvd.js → onboard-D66uwNCb.js} +10 -10
- package/dist/{onboard-1RaJpuJ4.js → onboard-DcI-IxL0.js} +8 -8
- package/dist/{onboard-channels-BLL6tVVk.js → onboard-channels-BLZ8FdVP.js} +23 -23
- package/dist/{onboard-channels-CwxSCkFb.js → onboard-channels-CRpmgX82.js} +8 -8
- package/dist/{onboard-custom-DQXoFDlb.js → onboard-custom-Bow6lZPm.js} +1 -1
- package/dist/{onboard-custom-CltkNK3c.js → onboard-custom-CZR1K96w.js} +3 -3
- package/dist/{onboard-custom.shared-CXzE62ZH.js → onboard-custom.shared-B9NXcXpv.js} +3 -3
- package/dist/{onboard-custom.shared-CEUWEsKs.js → onboard-custom.shared-CBRRhb95.js} +2 -2
- package/dist/{onboard-helpers-D8lLbK3A.js → onboard-helpers-CczYNQDJ.js} +11 -11
- package/dist/{onboard-hooks-B7kk2JOb.js → onboard-hooks-CtxRk6l_.js} +1 -1
- package/dist/{onboard-hooks-DBif0Jq8.js → onboard-hooks-o0B0p8tR.js} +4 -4
- package/dist/{onboard-remote-BI5LFb3_.js → onboard-remote-DmHpLoWf.js} +2 -2
- package/dist/{onboard-remote-DpEjARZa.js → onboard-remote-DtLQyBJB.js} +4 -4
- package/dist/{onboard-skills-CL0tHf_N.js → onboard-skills-Brzj5oDF.js} +4 -4
- package/dist/{onboard-skills-PtotBKBA.js → onboard-skills-DwpZY5tZ.js} +2 -2
- package/dist/{onboarding-WDRpEgra.js → onboarding-CZCgESNI.js} +14 -14
- package/dist/{onboarding-Rub9MXWB.js → onboarding-Dae6N665.js} +10 -10
- package/dist/{onboarding.finalize-MTyP_Dr4.js → onboarding.finalize-ANKeWCQe.js} +25 -23
- package/dist/{onboarding.finalize-CWYrjSVx.js → onboarding.finalize-B8nYvA0i.js} +95 -93
- package/dist/{onboarding.gateway-config-Ce8ndMkF.js → onboarding.gateway-config-D-gZxjbU.js} +18 -18
- package/dist/{onboarding.gateway-config-NKUze1jH.js → onboarding.gateway-config-wXH6gE7c.js} +1 -1
- package/dist/{openai-model-default-XM-ZB1MD.js → openai-model-default-BNYNbslY.js} +2 -2
- package/dist/{openai-model-default-Fnz4mF67.js → openai-model-default-Q7Hmy0eQ.js} +1 -1
- package/dist/{outbound-CHyBoNxD.js → outbound-_RTZSBES.js} +4 -4
- package/dist/{outbound-attachment-DM-h2uQ1.js → outbound-attachment-CXINK8df.js} +2 -2
- package/dist/{pairing-cli-D_5K6SZn.js → pairing-cli-DAMLvDcA.js} +1 -1
- package/dist/{pairing-cli-DUMMuvWC.js → pairing-cli-DiKgOlKC.js} +10 -10
- package/dist/{pairing-labels-x4akYNb7.js → pairing-labels-CFSUHOmk.js} +1 -1
- package/dist/{pairing-store-rFuiIoGM.js → pairing-store-BfzlN-z9.js} +3 -3
- package/dist/{path-alias-guards-laKq24fx.js → path-alias-guards-Cg9ZP1NN.js} +3 -3
- package/dist/{path-env-BsdQR2gO.js → path-env-DDJ70PDB.js} +1 -1
- package/dist/{path-env-C0LQFNBL.js → path-env-DzEqwLCq.js} +1 -1
- package/dist/{path-safety-BxYB92SS.js → path-safety-__ACzYqx.js} +1 -1
- package/dist/{paths-B_L2Zoe-.js → paths-BjoSX1aC.js} +9 -9
- package/dist/{pi-embedded-CZAvX74y.js → pi-embedded-Claxav22.js} +64 -25
- package/dist/{pi-embedded-DE3hb87F.js → pi-embedded-DKX65Hec.js} +64 -25
- package/dist/{pi-embedded-helpers-CMTVhLjq.js → pi-embedded-helpers-BErNo2oq.js} +3 -3
- package/dist/{pi-embedded-helpers-DK1ft2pf.js → pi-embedded-helpers-Bmj18lhA.js} +3 -3
- package/dist/{pi-embedded-helpers-BB2whkUz.js → pi-embedded-helpers-CrD8I6qf.js} +6 -6
- package/dist/{pi-embedded-helpers-BDEokG0n.js → pi-embedded-helpers-ZTn-T7tW.js} +1 -1
- package/dist/{pi-model-discovery-RrejIg26.js → pi-model-discovery-BZ2RCD_u.js} +1 -1
- package/dist/{pi-tools.policy-BNhf9xbt.js → pi-tools.policy-eyXj0EY5.js} +1 -1
- package/dist/{pi-tools.policy-DRW8ya1z.js → pi-tools.policy-upaoJyu4.js} +5 -5
- package/dist/{plugin-auto-enable-S_lBQAKI.js → plugin-auto-enable-DER6qA6X.js} +3 -3
- package/dist/{plugin-registry-C2g1aLrK.js → plugin-registry-CxFikiLF.js} +3 -3
- package/dist/{plugin-registry-Blcs7wRm.js → plugin-registry-TOEmbMc4.js} +1 -1
- package/dist/plugin-sdk/agents/context-window-guard.d.ts +1 -0
- package/dist/plugin-sdk/bitseek/constants.d.ts +7 -0
- package/dist/plugin-sdk/{channel-web-DDMM_SWM.js → channel-web-O79O_ah6.js} +1 -1
- package/dist/plugin-sdk/index.js +2 -2
- package/dist/plugin-sdk/{reply-CRqbOxsM.js → reply-YZQvouuF.js} +44 -5
- package/dist/plugin-sdk/{web-BnNZPdgh.js → web-jmxdxo0H.js} +2 -2
- package/dist/{plugins-cli-C5PEYmz3.js → plugins-cli-Clo_uyvq.js} +20 -18
- package/dist/{plugins-cli-Cdug93Mi.js → plugins-cli-bHHZzKd-.js} +89 -87
- package/dist/{plugins-C4cYqW07.js → plugins-vsjS_m58.js} +2 -2
- package/dist/{ports-DRaxdQmm.js → ports-sCOQUaAP.js} +2 -2
- package/dist/{ports-tfS1haOJ.js → ports-zWusnrvP.js} +1 -1
- package/dist/{program-L4hhvW67.js → program-DSOHn27G.js} +87 -85
- package/dist/{program-context-BEPxCThZ.js → program-context-DfYJPL5N.js} +42 -42
- package/dist/{prompt-select-styled-DTqU-r5T.js → prompt-select-styled-B2izefsj.js} +21 -21
- package/dist/{prompt-select-styled-CYmsrkR3.js → prompt-select-styled-DG7woZ0E.js} +42 -42
- package/dist/{provider-auth-helpers-CNkIHUuF.js → provider-auth-helpers-BFsLtU8g.js} +5 -5
- package/dist/{provider-auth-helpers-BN8EX2pg.js → provider-auth-helpers-D_akOb8A.js} +3 -3
- package/dist/{proxy-env-BoopXu2J.js → proxy-env-BQIJPH4j.js} +1 -1
- package/dist/{push-apns-DRX0c6-y.js → push-apns-BSlKJa83.js} +5 -5
- package/dist/{push-apns-DeCoFR7G.js → push-apns-DvNRo3EQ.js} +1 -1
- package/dist/{pw-ai-DyGZ1pXu.js → pw-ai-BeJ_96rV.js} +15 -15
- package/dist/{pw-ai-DGwA7iCM.js → pw-ai-pkfCxzhV.js} +1 -1
- package/dist/{pw-ai-CMUrm_kS.js → pw-ai-pqeoAqm_.js} +1 -1
- package/dist/{qmd-manager-Bo22w5wm.js → qmd-manager-BNohLpRA.js} +20 -20
- package/dist/{qr-cli-EHSe4TmR.js → qr-cli-CCHyao8J.js} +1 -1
- package/dist/{query-expansion-Ba9OpCm9.js → query-expansion-BrM3X6-L.js} +12 -12
- package/dist/{redact-snapshot-kY3aFpcF.js → redact-snapshot-C1Yp9Q7B.js} +1 -1
- package/dist/{register.agent-CaCz2lnX.js → register.agent-C-OmdJMe.js} +104 -103
- package/dist/{register.agent-BZbeu5cM.js → register.agent-DowGjvNc.js} +38 -37
- package/dist/{register.configure-Cd-JxEFR.js → register.configure-BZLa_c3k.js} +48 -47
- package/dist/register.configure-CaSRlI6h.js +175 -0
- package/dist/{register.init-D4hlhvsq.js → register.init-BiLKNwSu.js} +19 -19
- package/dist/{register.init-DgBx-Lsd.js → register.init-DWQDniBg.js} +4 -4
- package/dist/{register.maintenance-MJR5bDWC.js → register.maintenance-CQivhR8Y.js} +106 -104
- package/dist/{register.maintenance-DsxNo00b.js → register.maintenance-DyTduYA4.js} +35 -33
- package/dist/{register.message-ChJGE4xV.js → register.message-5hKmcWaB.js} +82 -80
- package/dist/{register.message-BRGLa9T8.js → register.message-DE-eKss6.js} +16 -14
- package/dist/{register.onboard-CRCrMN8O.js → register.onboard-BRBPNENF.js} +21 -21
- package/dist/{register.onboard-4aB9FmjK.js → register.onboard-CWX2zarB.js} +5 -5
- package/dist/{register.setup-CCPeU8WO.js → register.setup-DwZL0RXc.js} +6 -6
- package/dist/{register.setup-DqRNRiXi.js → register.setup-YcxKWN94.js} +25 -25
- package/dist/{register.start-C9MbVhno.js → register.start-BHASi8Um.js} +2 -2
- package/dist/{register.start-D3IRihbV.js → register.start-CyYd_xbF.js} +18 -18
- package/dist/{register.status-health-sessions-EhCB2a7v.js → register.status-health-sessions-Cbva8fTK.js} +29 -27
- package/dist/{register.status-health-sessions-zD3z2YuT.js → register.status-health-sessions-lOM_lb6H.js} +96 -94
- package/dist/{register.subclis-D12iC4nF.js → register.subclis-CEq4Db2Q.js} +32 -32
- package/dist/{replies-BDnb0prE.js → replies-Ckd7Lwt0.js} +1 -1
- package/dist/{reply-Dpf9qyV4.js → reply-D8Yu6-Ie.js} +57 -27
- package/dist/{reply-prefix-H_GSyyzN.js → reply-prefix-DpXMFuAa.js} +1 -1
- package/dist/{resolve-route-ByAwAiq5.js → resolve-route-Cnto8LMw.js} +2 -2
- package/dist/{rpc-Bzb0JMJ_.js → rpc-CnRUZWNJ.js} +1 -1
- package/dist/{run-main-C_fGUv-Y.js → run-main-BoenTqTz.js} +101 -99
- package/dist/{runtime-Cx-7xFzl.js → runtime-D4y0Gdfj.js} +2 -2
- package/dist/{sandbox-SrM4-oQp.js → sandbox-BKa5RrBl.js} +1 -1
- package/dist/{sandbox-BLqUWbp2.js → sandbox-Tai-w14a.js} +18 -18
- package/dist/{sandbox-cli-CSbLS9FL.js → sandbox-cli-BnpEc205.js} +2 -2
- package/dist/{sandbox-cli-CEriRvUh.js → sandbox-cli-uwsF36Ea.js} +26 -26
- package/dist/{secrets-cli-DOQcU7hI.js → secrets-cli-CIxUNZyC.js} +2 -2
- package/dist/{secrets-cli-DG-NG8PH.js → secrets-cli-DzeSuhpa.js} +10 -10
- package/dist/{security-cli-BFqXRQt6.js → security-cli-BqOOeGxS.js} +7 -7
- package/dist/{security-cli-C_Bc1U-7.js → security-cli-Dzelqio0.js} +44 -44
- package/dist/{send-BTswySBz.js → send-BpXRh0BM.js} +11 -11
- package/dist/{send-CZ2O-5pP.js → send-CQJKPGw4.js} +6 -6
- package/dist/{send-ZyB64ntO.js → send-Cpaj_bKB.js} +5 -5
- package/dist/{send-BCLu4NEE.js → send-e1X1pfda.js} +6 -6
- package/dist/{send-D0X-8aPh.js → send-sj8Hu26l.js} +8 -8
- package/dist/{server-CzDsmd9g.js → server-Cr92VI8t.js} +19 -19
- package/dist/{server-_jtA2MKi.js → server-Ct0J5VXf.js} +3 -3
- package/dist/{server-context-LDDpCiyT.js → server-context-DWxmyV-0.js} +2 -2
- package/dist/{server-context-DRq_OT33.js → server-context-YLHmGfYV.js} +12 -12
- package/dist/{server-lifecycle-CcYnyYPQ.js → server-lifecycle-B23lXM3Y.js} +2 -2
- package/dist/{server-lifecycle-CkyOrO43.js → server-lifecycle-B7aXKxY3.js} +1 -1
- package/dist/{server-middleware-DHxnFjIL.js → server-middleware-CKSnhiM2.js} +1 -1
- package/dist/{server-node-events-BLz-kdvu.js → server-node-events-nakjzVDn.js} +13 -11
- package/dist/{server-node-events-B5xSV7Kq.js → server-node-events-yFZiE04b.js} +79 -77
- package/dist/{service-CZORJG4z.js → service-Bjqlh_fF.js} +15 -15
- package/dist/{service-B5Fw5CQO.js → service-DqxfCr8y.js} +1 -1
- package/dist/{session-nilNSQEL.js → session-DcnQHb9Q.js} +1 -1
- package/dist/{session-meta-Cew1QAYN.js → session-meta-DF1WT4cr.js} +1 -1
- package/dist/{session-utils-DxaIoRMp.js → session-utils-BncMg1bn.js} +6 -6
- package/dist/{sessions-BXz4gdq6.js → sessions-B2mnwD21.js} +15 -15
- package/dist/{sessions-DhD3eJDE.js → sessions-C2Xfck_9.js} +4 -4
- package/dist/{shared-BTBgx0-C.js → shared-BmSv3K8N.js} +1 -1
- package/dist/{shared-DvHQekWm.js → shared-BojXguFB.js} +3 -3
- package/dist/{shared-Brai19f9.js → shared-CgFPGTLU.js} +1 -1
- package/dist/{shared-BZscafy-.js → shared-_j1K2VJ9.js} +1 -1
- package/dist/{skill-commands-Cpr3Poo2.js → skill-commands-CYucDd3C.js} +5 -5
- package/dist/{skill-scanner-0-AybMIe.js → skill-scanner-CSJqt034.js} +6 -6
- package/dist/{skills-D4S-gyVf.js → skills-BCgFAMj3.js} +3 -3
- package/dist/{skills-cli-B0jFsoo4.js → skills-cli-BM1iUpGc.js} +6 -6
- package/dist/{skills-cli-ch5GmUQQ.js → skills-cli-D3ZteX5N.js} +2 -2
- package/dist/{skills-install-BMPfx9IL.js → skills-install-B_Vda3dM.js} +4 -4
- package/dist/{skills-install-C6-Zzqoi.js → skills-install-e4_jXT_J.js} +7 -7
- package/dist/{skills-status-CU7YkOva.js → skills-status-BEq0_fOn.js} +1 -1
- package/dist/{skills-status-DQzBD0Y7.js → skills-status-DG-bH5mO.js} +1 -1
- package/dist/{status-BfWqYNJf.js → status-CQYA6EJN.js} +16 -16
- package/dist/{status-Dw7ag8qn.js → status-mS4bWnIW.js} +31 -31
- package/dist/{status.update-C8qgou8r.js → status.update-HwSPC5ZX.js} +1 -1
- package/dist/{status.update-B6whKviL.js → status.update-YC9VNJxl.js} +2 -2
- package/dist/{store-TdzSHRPN.js → store-U8cs0QvT.js} +5 -5
- package/dist/{subagent-registry-D6OfBLNb.js → subagent-registry-CXBreqUP.js} +192 -162
- package/dist/{system-cli-BoamUpxz.js → system-cli-B_PUKo6-.js} +9 -9
- package/dist/{system-cli-DvJ6xypA.js → system-cli-IYwpBiC6.js} +1 -1
- package/dist/{system-run-command-XHAlbx5q.js → system-run-command-GKGzGztn.js} +1 -1
- package/dist/{systemd-C4JtDaKk.js → systemd-HiU4Gzoc.js} +9 -9
- package/dist/{systemd-hints-ZHrBbXDd.js → systemd-hints-BDIASQOF.js} +7 -7
- package/dist/{systemd-hints-Clojvvvd.js → systemd-hints-D40Qx3hg.js} +4 -4
- package/dist/{systemd-linger-CD4viBmg.js → systemd-linger-BK6kig-o.js} +2 -2
- package/dist/{systemd-linger-BCGwQ0gL.js → systemd-linger-DfrE-63p.js} +2 -2
- package/dist/{tables-BOsRa7CS.js → tables-DVXe5x1J.js} +1 -1
- package/dist/{tailnet-CfP3A6g2.js → tailnet-C1XBcWue.js} +1 -1
- package/dist/{target-errors-DPJ9HFp9.js → target-errors-C5LA-JI-.js} +4 -4
- package/dist/{tool-images-CmgHk8xk.js → tool-images-CnpAosfi.js} +1 -1
- package/dist/{tui-GWJMI53u.js → tui-CLK0s6TM.js} +6 -6
- package/dist/{tui-D577eygd.js → tui-Dd6DhgjX.js} +1 -1
- package/dist/{tui-cli-CcYMYNyU.js → tui-cli-C3PCazFC.js} +4 -4
- package/dist/{tui-cli-CMrxH2Q_.js → tui-cli-DTdNoN6U.js} +33 -33
- package/dist/{update-Ckxe8MK3.js → update-B1Dhhu_3.js} +1 -1
- package/dist/{update-CDWJ50iD.js → update-DLc3UsVC.js} +3 -3
- package/dist/{update-cli-Dw_JHcRy.js → update-cli-CuKW0N9W.js} +47 -41
- package/dist/{update-cli-r3eyhSgp.js → update-cli-D1B0Vytl.js} +119 -113
- package/dist/{update-runner-CHxTFtW8.js → update-runner-C9noXbfV.js} +25 -18
- package/dist/{update-runner-CJua_LZ3.js → update-runner-DO6RodZW.js} +13 -6
- package/dist/web-BKrNiKsU.js +127 -0
- package/dist/{web-De45Xhd1.js → web-DJKitOpu.js} +6 -6
- package/dist/{web-Cf5qfziZ.js → web-DbdjX4Hg.js} +16 -14
- package/dist/{web-B2_c07KN.js → web-V1uGLepo.js} +6 -6
- package/dist/{webhooks-cli-BScfmM3n.js → webhooks-cli-BFdw7BAP.js} +1 -1
- package/dist/{webhooks-cli-B09BdLSk.js → webhooks-cli-c5SaGz4J.js} +7 -7
- package/dist/{whatsapp-actions-BIPuOEBF.js → whatsapp-actions-CNoiLzRB.js} +1 -1
- package/dist/{whatsapp-actions-DUoWY7mE.js → whatsapp-actions-CnjEOFOZ.js} +19 -19
- package/dist/{with-timeout-B9qgOUui.js → with-timeout-DurSJobr.js} +3 -3
- package/dist/{with-timeout-B1c4PuYt.js → with-timeout-tSH4Tex_.js} +2 -2
- package/dist/{workspace-DzeL98px.js → workspace-BHfqkuYN.js} +23 -23
- package/dist/{workspace-A5CNJccm.js → workspace-DWBFoy1G.js} +1 -1
- package/dist/{workspace-dirs-Bevk6X_8.js → workspace-dirs-BOgNOBjy.js} +1 -1
- package/dist/{wsl-DksyFTBT.js → wsl-BDRu1-pk.js} +2 -2
- package/extensions/diagnostics-otel/node_modules/.bin/acorn +21 -0
- package/extensions/googlechat/node_modules/.bin/nlc +21 -0
- package/extensions/googlechat/node_modules/.bin/node-llama-cpp +21 -0
- package/extensions/googlechat/node_modules/.bin/openclaw +2 -2
- package/extensions/googlechat/node_modules/.bin/tsc +21 -0
- package/extensions/googlechat/node_modules/.bin/tsserver +21 -0
- package/extensions/memory-core/node_modules/.bin/nlc +21 -0
- package/extensions/memory-core/node_modules/.bin/node-llama-cpp +21 -0
- package/extensions/memory-core/node_modules/.bin/openclaw +2 -2
- package/extensions/memory-core/node_modules/.bin/tsc +21 -0
- package/extensions/memory-core/node_modules/.bin/tsserver +21 -0
- package/extensions/memory-lancedb/node_modules/.bin/arrow2csv +21 -0
- package/extensions/nostr/node_modules/.bin/tsc +21 -0
- package/extensions/nostr/node_modules/.bin/tsserver +21 -0
- package/package.json +2 -5
- package/dist/control-ui/assets/index-B5WC_0Be.css +0 -1
- package/dist/register.configure-BHL2CNOY.js +0 -174
- package/dist/web-B4yuhy9a.js +0 -125
- /package/dist/{api-Ddfugzlx.js → api-CRdLvaOQ.js} +0 -0
- /package/dist/{api-D9--MH2d.js → api-CzfBiQzt.js} +0 -0
- /package/dist/{brew-DKc_-WEW.js → brew-Bqn8t5g9.js} +0 -0
- /package/dist/{brew-D6LNrpWB.js → brew-Dgc9liFk.js} +0 -0
- /package/dist/{channels-status-issues-DXY75b-O.js → channels-status-issues-DeT1Znlx.js} +0 -0
- /package/dist/{clipboard-Do1nxsfe.js → clipboard-BYoUMUcc.js} +0 -0
- /package/dist/{clipboard-rDdMg7Oq.js → clipboard-Bscf81z7.js} +0 -0
- /package/dist/{command-options-DEPpN8NK.js → command-options-D4YE45pL.js} +0 -0
- /package/dist/{command-options-ZvhOayEd.js → command-options-DIuz7LzE.js} +0 -0
- /package/dist/{constants-CrJmimS2.js → constants-BJiQF5Ae.js} +0 -0
- /package/dist/{constants-Dpz-jwYQ.js → constants-SKxh9Cou.js} +0 -0
- /package/dist/{control-ui-assets-DjJ-kYlx.js → control-ui-assets-B_3g_YF0.js} +0 -0
- /package/dist/{daemon-runtime-B_UsbAjb.js → daemon-runtime-BPrEIqYI.js} +0 -0
- /package/dist/{daemon-runtime-J7zRr7jm.js → daemon-runtime-D8xmnSd2.js} +0 -0
- /package/dist/{dangerous-tools-B9LIt3MU.js → dangerous-tools-DHq9RLRQ.js} +0 -0
- /package/dist/{dangerous-tools-DYhQ651h.js → dangerous-tools-D_tNQLpF.js} +0 -0
- /package/dist/{docs-cli-BWNTtocT.js → docs-cli-DtThi0Xf.js} +0 -0
- /package/dist/{enable-4ExrKTxf.js → enable-CJ75JA5u.js} +0 -0
- /package/dist/{entry-status-CtRtehvt.js → entry-status-CdZ_Et6j.js} +0 -0
- /package/dist/{format-B4BvVfHq.js → format-A_N-0ymb.js} +0 -0
- /package/dist/{format-w5v1AP8D.js → format-BrqJ-lIP.js} +0 -0
- /package/dist/{gateway-rpc-B6VlwOHu.js → gateway-rpc-CJVCek88.js} +0 -0
- /package/dist/{gmail-setup-utils-CIlkd6Jc.js → gmail-setup-utils-CtjSNa9d.js} +0 -0
- /package/dist/{gmail-setup-utils-D953PUOL.js → gmail-setup-utils-mNwdQcKy.js} +0 -0
- /package/dist/{heartbeat-visibility-C_P1yurK.js → heartbeat-visibility-BdDIMad6.js} +0 -0
- /package/dist/{heartbeat-visibility-_K4bnQDH.js → heartbeat-visibility-JgoQYZHO.js} +0 -0
- /package/dist/{helpers-B7sHmVvT.js → helpers-BSfSxnxh.js} +0 -0
- /package/dist/{helpers-C5EyaXng.js → helpers-Cj6f8SPZ.js} +0 -0
- /package/dist/{helpers-DtWQVY6N.js → helpers-D0Q6sarx.js} +0 -0
- /package/dist/{helpers-CitWYyuK.js → helpers-DCwtPrez.js} +0 -0
- /package/dist/{is-main-TPRg8r91.js → is-main-Dha5s7-d.js} +0 -0
- /package/dist/{issue-format-BvgMk0hd.js → issue-format-rk9Vpcxd.js} +0 -0
- /package/dist/{model-param-b-By9uTH-E.js → model-param-b-B5WDRptZ.js} +0 -0
- /package/dist/{model-param-b-scvX_s5g.js → model-param-b-DhHzFqPC.js} +0 -0
- /package/dist/{mutable-allowlist-detectors-CsTC5ncA.js → mutable-allowlist-detectors-BaVrnZS3.js} +0 -0
- /package/dist/{mutable-allowlist-detectors-DHXBcz_e.js → mutable-allowlist-detectors-D5GqtHJ_.js} +0 -0
- /package/dist/{node-commands-D80C29Tj.js → node-commands-CGOhd32j.js} +0 -0
- /package/dist/{node-commands-oSbiEu_0.js → node-commands-DYz_oQFz.js} +0 -0
- /package/dist/{note-B8i7nefS.js → note-BuhsMSuP.js} +0 -0
- /package/dist/{note-DfB2MBuH.js → note-CLcV1fjx.js} +0 -0
- /package/dist/{outbound-D2l__XSz.js → outbound-DlVJWa4u.js} +0 -0
- /package/dist/{parse-log-line-ZSGs_ws7.js → parse-log-line-BtRNMGXv.js} +0 -0
- /package/dist/{parse-log-line-enq8pduH.js → parse-log-line-pij_xhtE.js} +0 -0
- /package/dist/{parse-port-CLydiXaJ.js → parse-port-DEJJlpU0.js} +0 -0
- /package/dist/{parse-port-DPUPC687.js → parse-port-M1LW5BLv.js} +0 -0
- /package/dist/{path-safety-CKvIjU2Y.js → path-safety-COhgvniC.js} +0 -0
- /package/dist/{ports-CF46wKRL.js → ports-BL-FP2jP.js} +0 -0
- /package/dist/{program-context-3Z5CO0jS.js → program-context-Cy6hM1zR.js} +0 -0
- /package/dist/{prompts-DomsZukd.js → prompts-CbZZ91V9.js} +0 -0
- /package/dist/{prompts-ULYkmWPj.js → prompts-iXdBMk3j.js} +0 -0
- /package/dist/{pw-ai-DrwyqCD-.js → pw-ai-D21rIJ2z.js} +0 -0
- /package/dist/{qr-cli-71R5i2Hr.js → qr-cli-BQGJJ5hp.js} +0 -0
- /package/dist/{redact-snapshot-B_ApSuEH.js → redact-snapshot-DCGL0k2M.js} +0 -0
- /package/dist/{rpc-B5R6hXju.js → rpc-9jE_1PW0.js} +0 -0
- /package/dist/{runtime-DNtFeWu6.js → runtime-Rd7ooKB0.js} +0 -0
- /package/dist/{runtime-guard-Ch9ZniVU.js → runtime-guard-lQH3Hjre.js} +0 -0
- /package/dist/{runtime-guard-8RRYRGZL.js → runtime-guard-p6l4jDOj.js} +0 -0
- /package/dist/{runtime-status-DZoVtX5E.js → runtime-status-FmZCZXmg.js} +0 -0
- /package/dist/{runtime-status-boiphq8B.js → runtime-status-t6wRP4gf.js} +0 -0
- /package/dist/{session-BeKM82so.js → session-FOGqE7bj.js} +0 -0
- /package/dist/{skill-scanner-CNK-3AZh.js → skill-scanner-CsmM5F4F.js} +0 -0
- /package/dist/{status-BrwHRn2B.js → status-rpJtIjm7.js} +0 -0
- /package/dist/{status-BwiJpA37.js → status-yrDGXYZM.js} +0 -0
- /package/dist/{systemd-C177Z-Zv.js → systemd-DJ5Red-Q.js} +0 -0
- /package/dist/{table-BHL_2Py1.js → table-CqULNDay.js} +0 -0
- /package/dist/{table-MuA2LQfi.js → table-DZBPnHSy.js} +0 -0
- /package/dist/{text-format-ByZoVQF_.js → text-format-D-Z0xB-E.js} +0 -0
- /package/dist/{text-format-Cy1bnk2A.js → text-format-oWqzVmah.js} +0 -0
- /package/dist/{tool-loop-detection-DLEs1CTw.js → tool-loop-detection-BUIIO4gy.js} +0 -0
- /package/dist/{tool-loop-detection-__o-Jytj.js → tool-loop-detection-r4aG7Xi8.js} +0 -0
- /package/dist/{widearea-dns-Dnn3h3FI.js → widearea-dns-CABro6I6.js} +0 -0
- /package/dist/{widearea-dns-Bd2x2P2m.js → widearea-dns-D1fyqK-r.js} +0 -0
|
@@ -3,12 +3,12 @@ import { g as resolveStateDir, i as isNixMode, l as resolveGatewayLockDir, o as
|
|
|
3
3
|
import { a as setConsoleSubsystemFilter, d as defaultRuntime, n as runtimeForLogger, o as setConsoleTimestampPrefix, t as createSubsystemLogger } from "./subsystem-DjdBljTA.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
5
|
import { i as logAcceptedEnvOption, r as isTruthyEnvValue } from "./entry.js";
|
|
6
|
-
import { Ai as DEFAULT_MODEL, B as OpenClawSchema, Er as resolveThinkingDefault, F as readConfigFileSnapshotForWrite, Fn as resolveSubagentMaxConcurrent, I as resolveConfigSnapshotHash, Jn as loadAuthProfileStoreForRuntime, M as loadConfig, Mn as buildTalkConfigResponse, N as parseConfigJson5, P as readConfigFileSnapshot, Pn as resolveAgentMaxConcurrent, R as writeConfigFile, Si as normalizeSecretInput, St as AVATAR_MAX_BYTES, Tt as isAvatarImageDataUrl, Un as upsertAuthProfile, _r as resolveAllowedModelRef, ai as resolveApiKeyForProvider, ar as buildAllowedModelSet, at as parseDurationMs, bn as applyLegacyMigrations, br as resolveDefaultModelForAgent, dr as isCliProvider, ir as isPidAlive, j as createConfigIO, ji as DEFAULT_PROVIDER, k as migrateLegacyConfig, ki as DEFAULT_CONTEXT_TOKENS, kt as looksLikeAvatarPath, l as resolveApiKeyForProfile, lr as getModelRefStatus, mr as normalizeModelSelection, ot as parseByteSize, wr as resolveSubagentConfiguredModelSelection, wt as isAvatarHttpUrl, xi as normalizeOptionalSecretInput, xn as ensureControlUiAllowedOriginsForNonLoopbackBind, xr as resolveHooksGmailModel, yn as applyMergePatch, yr as resolveConfiguredModelRef, z as validateConfigObjectWithPlugins } from "./auth-profiles-
|
|
6
|
+
import { Ai as DEFAULT_MODEL, B as OpenClawSchema, Er as resolveThinkingDefault, F as readConfigFileSnapshotForWrite, Fn as resolveSubagentMaxConcurrent, I as resolveConfigSnapshotHash, Jn as loadAuthProfileStoreForRuntime, M as loadConfig, Mn as buildTalkConfigResponse, N as parseConfigJson5, P as readConfigFileSnapshot, Pn as resolveAgentMaxConcurrent, R as writeConfigFile, Si as normalizeSecretInput, St as AVATAR_MAX_BYTES, Tt as isAvatarImageDataUrl, Un as upsertAuthProfile, _r as resolveAllowedModelRef, ai as resolveApiKeyForProvider, ar as buildAllowedModelSet, at as parseDurationMs, bn as applyLegacyMigrations, br as resolveDefaultModelForAgent, dr as isCliProvider, ir as isPidAlive, j as createConfigIO, ji as DEFAULT_PROVIDER, k as migrateLegacyConfig, ki as DEFAULT_CONTEXT_TOKENS, kt as looksLikeAvatarPath, l as resolveApiKeyForProfile, lr as getModelRefStatus, mr as normalizeModelSelection, ot as parseByteSize, wr as resolveSubagentConfiguredModelSelection, wt as isAvatarHttpUrl, xi as normalizeOptionalSecretInput, xn as ensureControlUiAllowedOriginsForNonLoopbackBind, xr as resolveHooksGmailModel, yn as applyMergePatch, yr as resolveConfiguredModelRef, z as validateConfigObjectWithPlugins } from "./auth-profiles-D_x1_5v_.js";
|
|
7
7
|
import { t as formatCliCommand } from "./command-format-CVXyxgq3.js";
|
|
8
|
-
import { a as resolveAgentDir, c as resolveAgentModelFallbacksOverride, d as resolveDefaultAgentId, i as resolveAgentConfig, l as resolveAgentSkillsFilter, m as resolveSessionAgentId, n as listAgentEntries, r as listAgentIds, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
8
|
+
import { a as resolveAgentDir, c as resolveAgentModelFallbacksOverride, d as resolveDefaultAgentId, i as resolveAgentConfig, l as resolveAgentSkillsFilter, m as resolveSessionAgentId, n as listAgentEntries, r as listAgentIds, u as resolveAgentWorkspaceDir } from "./agent-scope-CJelRKYY.js";
|
|
9
9
|
import { S as isCronRunSessionKey, T as parseAgentSessionKey, c as normalizeAgentId, g as normalizeAccountId$1, h as DEFAULT_ACCOUNT_ID, l as normalizeMainKey, m as toAgentStoreSessionKey, o as classifySessionKeyShape, p as toAgentRequestSessionKey, r as buildAgentMainSessionKey, t as DEFAULT_AGENT_ID, u as resolveAgentIdFromSessionKey, w as isSubagentSessionKey } from "./session-key-BLprDJYq.js";
|
|
10
10
|
import { E as isPlainObject, T as truncateUtf16Safe, n as clamp, s as ensureDir, v as resolveUserPath, x as shortenHomePath } from "./utils-DIzy5B5o.js";
|
|
11
|
-
import { A as isNotFoundPathError, C as openBoundaryFileSync, P as matchesSkillFilter, S as openBoundaryFile, T as sameFileIdentity, a as DEFAULT_IDENTITY_FILENAME, c as DEFAULT_SOUL_FILENAME, d as ensureAgentWorkspace, h as resolveDefaultAgentWorkspaceDir, i as DEFAULT_HEARTBEAT_FILENAME, l as DEFAULT_TOOLS_FILENAME, o as DEFAULT_MEMORY_ALT_FILENAME, p as isWorkspaceOnboardingCompleted, r as DEFAULT_BOOTSTRAP_FILENAME, s as DEFAULT_MEMORY_FILENAME, t as DEFAULT_AGENTS_FILENAME, u as DEFAULT_USER_FILENAME, v as resolveWorkspaceTemplateDir, w as openVerifiedFileSync, y as resolveOpenClawPackageRoot } from "./workspace-
|
|
11
|
+
import { A as isNotFoundPathError, C as openBoundaryFileSync, P as matchesSkillFilter, S as openBoundaryFile, T as sameFileIdentity, a as DEFAULT_IDENTITY_FILENAME, c as DEFAULT_SOUL_FILENAME, d as ensureAgentWorkspace, h as resolveDefaultAgentWorkspaceDir, i as DEFAULT_HEARTBEAT_FILENAME, l as DEFAULT_TOOLS_FILENAME, o as DEFAULT_MEMORY_ALT_FILENAME, p as isWorkspaceOnboardingCompleted, r as DEFAULT_BOOTSTRAP_FILENAME, s as DEFAULT_MEMORY_FILENAME, t as DEFAULT_AGENTS_FILENAME, u as DEFAULT_USER_FILENAME, v as resolveWorkspaceTemplateDir, w as openVerifiedFileSync, y as resolveOpenClawPackageRoot } from "./workspace-BHfqkuYN.js";
|
|
12
12
|
import { i as logWarn, t as logDebug } from "./logger-BJMfryJd.js";
|
|
13
13
|
import { n as runExec, t as runCommandWithTimeout } from "./exec-CEAvKSx9.js";
|
|
14
14
|
import "./github-copilot-token-CulJ9J5l.js";
|
|
@@ -16,162 +16,163 @@ import "./host-env-security-CJMD0__Z.js";
|
|
|
16
16
|
import { n as resolveRuntimeServiceVersion, t as VERSION } from "./version-CGDNfh5C.js";
|
|
17
17
|
import "./env-vars-Dw0EwyGP.js";
|
|
18
18
|
import { C as clearInternalHooks, E as triggerInternalHook, T as registerInternalHook, h as createEmptyPluginRegistry, t as CHANNEL_IDS, u as getActivePluginRegistry, w as createInternalHookEvent } from "./registry-7fg1BnMw.js";
|
|
19
|
-
import { u as isTestDefaultMemorySlotDisabled } from "./manifest-registry-
|
|
20
|
-
import "./dock-
|
|
21
|
-
import "./model-
|
|
22
|
-
import "./pi-model-discovery-
|
|
19
|
+
import { u as isTestDefaultMemorySlotDisabled } from "./manifest-registry-Kbw8YPsZ.js";
|
|
20
|
+
import "./dock-DT8sACcR.js";
|
|
21
|
+
import "./model-DmBmzJI6.js";
|
|
22
|
+
import "./pi-model-discovery-BZ2RCD_u.js";
|
|
23
23
|
import { d as hasBinary } from "./frontmatter-C0E8mspC.js";
|
|
24
|
-
import { c as resolveBundledSkillsDir, i as loadWorkspaceSkillEntries, r as buildWorkspaceSkillSnapshot } from "./skills-
|
|
25
|
-
import { n as assertNoPathAliasEscape } from "./path-alias-guards-
|
|
26
|
-
import { t as buildWorkspaceSkillStatus } from "./skills-status-
|
|
24
|
+
import { c as resolveBundledSkillsDir, i as loadWorkspaceSkillEntries, r as buildWorkspaceSkillSnapshot } from "./skills-BCgFAMj3.js";
|
|
25
|
+
import { n as assertNoPathAliasEscape } from "./path-alias-guards-Cg9ZP1NN.js";
|
|
26
|
+
import { t as buildWorkspaceSkillStatus } from "./skills-status-DG-bH5mO.js";
|
|
27
27
|
import { _ as normalizeGatewayClientMode, f as GATEWAY_CLIENT_CAPS, g as hasGatewayClientCap, h as GATEWAY_CLIENT_NAMES, i as isGatewayMessageChannel, l as normalizeMessageChannel, m as GATEWAY_CLIENT_MODES, n as isDeliverableMessageChannel, p as GATEWAY_CLIENT_IDS, r as isGatewayCliClient, s as isWebchatClient, t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-0J6eKf3g.js";
|
|
28
|
-
import { $ as resolveAgentMainSessionKey, A as readSessionPreviewItemsFromTranscript, B as cleanStaleLockFiles, C as normalizeSessionDeliveryFields, D as capArrayByJsonBytes, E as archiveSessionTranscripts, G as resolveSessionResetPolicy, I as stripInlineDirectiveTagsForDisplay, L as stripInlineDirectiveTagsFromMessageForDisplay, M as resolveSessionTranscriptCandidates, N as stripEnvelopeFromMessage, O as cleanupArchivedSessionTranscripts, P as stripEnvelopeFromMessages, Q as canonicalizeMainSessionAlias, R as jsonUtf8Bytes, T as archiveFileOnDisk, U as evaluateSessionFreshness, Y as mergeSessionEntry, Z as setSessionRuntimeModel, d as updateSessionStore, et as resolveExplicitAgentSessionKey, it as snapshotSessionOrigin, k as readSessionMessages, n as parseSessionThreadInfo, nt as resolveMainSessionKeyFromConfig, o as loadSessionStore, t as extractDeliveryInfo, tt as resolveMainSessionKey, x as mergeDeliveryContext, y as deliveryContextFromSession } from "./sessions-
|
|
29
|
-
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin, v as normalizeWhatsAppTarget } from "./plugins-
|
|
30
|
-
import { i as resolveWhatsAppAccount } from "./accounts-
|
|
31
|
-
import "./accounts-
|
|
28
|
+
import { $ as resolveAgentMainSessionKey, A as readSessionPreviewItemsFromTranscript, B as cleanStaleLockFiles, C as normalizeSessionDeliveryFields, D as capArrayByJsonBytes, E as archiveSessionTranscripts, G as resolveSessionResetPolicy, I as stripInlineDirectiveTagsForDisplay, L as stripInlineDirectiveTagsFromMessageForDisplay, M as resolveSessionTranscriptCandidates, N as stripEnvelopeFromMessage, O as cleanupArchivedSessionTranscripts, P as stripEnvelopeFromMessages, Q as canonicalizeMainSessionAlias, R as jsonUtf8Bytes, T as archiveFileOnDisk, U as evaluateSessionFreshness, Y as mergeSessionEntry, Z as setSessionRuntimeModel, d as updateSessionStore, et as resolveExplicitAgentSessionKey, it as snapshotSessionOrigin, k as readSessionMessages, n as parseSessionThreadInfo, nt as resolveMainSessionKeyFromConfig, o as loadSessionStore, t as extractDeliveryInfo, tt as resolveMainSessionKey, x as mergeDeliveryContext, y as deliveryContextFromSession } from "./sessions-B2mnwD21.js";
|
|
29
|
+
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin, v as normalizeWhatsAppTarget } from "./plugins-vsjS_m58.js";
|
|
30
|
+
import { i as resolveWhatsAppAccount } from "./accounts-BQHz8_1_.js";
|
|
31
|
+
import "./accounts-B3zSNWIv.js";
|
|
32
32
|
import "./logging-5MtSkLpb.js";
|
|
33
|
-
import "./accounts-
|
|
34
|
-
import { t as buildChannelAccountBindings } from "./bindings-
|
|
35
|
-
import "./send-
|
|
36
|
-
import "./send-
|
|
37
|
-
import { $n as normalizeSendPolicy, $t as isExternalHookSession, A as agentCommandFromIngress, Ar as waitForActiveTasks, At as formatRestartSentinelMessage, Br as onAgentEvent, Bt as normalizeOptionalSessionKey, C as readJsonBodyWithLimit, Cr as OPENAI_TTS_VOICES, D as sleepWithAbort, Dn as formatZonedTimestamp, Dr as markGatewayDraining, E as computeBackoff, Er as getTotalQueueSize, Et as runWithModelFallback, F as createDefaultDeps, Fn as isSystemEventContextChanged, Ft as normalizeHttpWebhookUrl, Gn as DEFAULT_INPUT_IMAGE_MIMES, Gt as buildDeliveryFromLegacyPayload, Ht as normalizePayloadToSystemText, I as createOutboundSendDeps$1, Ir as stripHeartbeatToken, It as normalizeCronJobCreate, Jn as extractFileContentFromSource, Kn as DEFAULT_INPUT_MAX_REDIRECTS, Kt as hasLegacyDeliveryHints, L as resolveAgentAvatar, Lr as clearAgentRunContext, Lt as normalizeCronJobPatch, M as resolveAgentDeliveryPlan, Mr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, Mt as summarizeRestartSentinel, N as resolveAgentOutboundTarget, Or as resetAllLanes, Ot as consumeRestartSentinel, P as createOutboundSendDeps, Pn as enqueueSystemEvent, Pt as writeRestartSentinel, Qn as resolveAgentTimeoutMs, Qt as getHookType, Rn as requestHeartbeatNow, Rr as emitAgentEvent, Rt as inferLegacyName, S as handleSlackHttpRequest, Sn as loadProviderUsageSummary, Sr as OPENAI_TTS_MODELS, St as resolveOutboundChannelPlugin, Un as ACP_SESSION_IDENTITY_RENDERER_VERSION, Ut as normalizeRequiredName, Vr as registerAgentRunContext, Vt as normalizeOptionalText, W as buildHistoryContextFromEntries, Wn as DEFAULT_INPUT_IMAGE_MAX_BYTES, Wt as migrateLegacyCronPayload, Xn as normalizeMimeList, Xt as buildSafeExternalPrompt, Yn as extractImageContentFromSource, Zn as resolveInputFileLimits, Zt as detectSuspiciousPatterns, _ as loadOpenClawPlugins, _n as setPreRestartDeferralCheck, _r as resolveTtsPrefsPath, _t as resolveOutboundSessionRoute, a as runSubagentAnnounceFlow, b as resolveAgentOutboundIdentity, bn as normalizeGroupActivation, br as setTtsProvider, bt as resolveOutboundTarget, c as abortEmbeddedPiRun, cn as parseVerboseOverride, cr as resolveAgentSessionDirs, ct as resolveCronStyleNow, d as applyToolPolicyPipeline, dn as deferGatewayRestartUntilIdle, dr as getTtsProvider, dt as runCliAgent, en as applyBrowserProxyPaths, er as resolveSendPolicy, f as buildDefaultToolPolicyPipelineSteps, fn as emitGatewayRestart, fr as isTtsEnabled, ft as createOpenClawTools, gn as setGatewaySigusr1RestartPolicy, gr as resolveTtsConfig, gt as ensureOutboundSessionEntry, h as resolvePluginTools, hn as scheduleGatewaySigusr1Restart, hr as resolveTtsAutoMode, ir as stopSubagentsForRequester, jr as CommandLane, kr as setCommandLaneConcurrency, kt as formatDoctorNonInteractiveHint, l as getActiveEmbeddedRunCount, ln as buildOutboundSessionContext, lr as resolveUserTimezone, lt as getCliSessionId, m as getPluginToolMeta, mn as markGatewaySigusr1RestartHandled, mr as resolveTtsApiKey, mt as resolveAnnounceTargetFromKey, n as initSubagentRegistry, nn as resolveSessionAuthProfileOverride, nt as createReplyDispatcher, o as clearSessionQueues, on as applyModelOverrideToSessionEntry, ot as BARE_SESSION_RESET_PROMPT, pn as isGatewaySigusr1RestartExternallyAllowed, pr as isTtsProviderConfigured, pt as readLatestAssistantReply, qn as DEFAULT_INPUT_TIMEOUT_MS, qt as stripLegacyDeliveryFields, r as listDescendantRunsForRequester, rr as isAbortRequestText, rt as getTotalPendingReplies, s as runEmbeddedPiAgent, sn as applyVerboseOverride, sr as getAcpSessionManager, t as countActiveDescendantRuns, tn as persistBrowserProxyFiles, tt as dispatchInboundMessage, u as waitForEmbeddedPiRunEnd, un as consumeGatewaySigusr1RestartAuthorization, ur as clearBootstrapSnapshot, ut as setCliSessionId, v as createPluginRuntime, vn as triggerOpenClawRestart, vr as resolveTtsProviderOrder, w as requestBodyErrorToText, wr as getActiveTaskCount, wt as resetDirectoryCache, xr as textToSpeech, xt as resolveSessionDeliveryTarget, yn as unbindThreadBindingsBySessionKey, yr as setTtsEnabled, zr as getAgentRunContext, zt as normalizeOptionalAgentId } from "./subagent-registry-
|
|
33
|
+
import "./accounts-DTfEeXyO.js";
|
|
34
|
+
import { t as buildChannelAccountBindings } from "./bindings-Hx6KNJeg.js";
|
|
35
|
+
import "./send-Cpaj_bKB.js";
|
|
36
|
+
import "./send-BpXRh0BM.js";
|
|
37
|
+
import { $n as normalizeSendPolicy, $t as isExternalHookSession, A as agentCommandFromIngress, Ar as waitForActiveTasks, At as formatRestartSentinelMessage, Br as onAgentEvent, Bt as normalizeOptionalSessionKey, C as readJsonBodyWithLimit, Cr as OPENAI_TTS_VOICES, D as sleepWithAbort, Dn as formatZonedTimestamp, Dr as markGatewayDraining, E as computeBackoff, Er as getTotalQueueSize, Et as runWithModelFallback, F as createDefaultDeps, Fn as isSystemEventContextChanged, Ft as normalizeHttpWebhookUrl, Gn as DEFAULT_INPUT_IMAGE_MIMES, Gt as buildDeliveryFromLegacyPayload, Ht as normalizePayloadToSystemText, I as createOutboundSendDeps$1, Ir as stripHeartbeatToken, It as normalizeCronJobCreate, Jn as extractFileContentFromSource, Kn as DEFAULT_INPUT_MAX_REDIRECTS, Kt as hasLegacyDeliveryHints, L as resolveAgentAvatar, Lr as clearAgentRunContext, Lt as normalizeCronJobPatch, M as resolveAgentDeliveryPlan, Mr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, Mt as summarizeRestartSentinel, N as resolveAgentOutboundTarget, Or as resetAllLanes, Ot as consumeRestartSentinel, P as createOutboundSendDeps, Pn as enqueueSystemEvent, Pt as writeRestartSentinel, Qn as resolveAgentTimeoutMs, Qt as getHookType, Rn as requestHeartbeatNow, Rr as emitAgentEvent, Rt as inferLegacyName, S as handleSlackHttpRequest, Sn as loadProviderUsageSummary, Sr as OPENAI_TTS_MODELS, St as resolveOutboundChannelPlugin, Un as ACP_SESSION_IDENTITY_RENDERER_VERSION, Ut as normalizeRequiredName, Vr as registerAgentRunContext, Vt as normalizeOptionalText, W as buildHistoryContextFromEntries, Wn as DEFAULT_INPUT_IMAGE_MAX_BYTES, Wt as migrateLegacyCronPayload, Xn as normalizeMimeList, Xt as buildSafeExternalPrompt, Yn as extractImageContentFromSource, Zn as resolveInputFileLimits, Zt as detectSuspiciousPatterns, _ as loadOpenClawPlugins, _n as setPreRestartDeferralCheck, _r as resolveTtsPrefsPath, _t as resolveOutboundSessionRoute, a as runSubagentAnnounceFlow, b as resolveAgentOutboundIdentity, bn as normalizeGroupActivation, br as setTtsProvider, bt as resolveOutboundTarget, c as abortEmbeddedPiRun, cn as parseVerboseOverride, cr as resolveAgentSessionDirs, ct as resolveCronStyleNow, d as applyToolPolicyPipeline, dn as deferGatewayRestartUntilIdle, dr as getTtsProvider, dt as runCliAgent, en as applyBrowserProxyPaths, er as resolveSendPolicy, f as buildDefaultToolPolicyPipelineSteps, fn as emitGatewayRestart, fr as isTtsEnabled, ft as createOpenClawTools, gn as setGatewaySigusr1RestartPolicy, gr as resolveTtsConfig, gt as ensureOutboundSessionEntry, h as resolvePluginTools, hn as scheduleGatewaySigusr1Restart, hr as resolveTtsAutoMode, ir as stopSubagentsForRequester, jr as CommandLane, kr as setCommandLaneConcurrency, kt as formatDoctorNonInteractiveHint, l as getActiveEmbeddedRunCount, ln as buildOutboundSessionContext, lr as resolveUserTimezone, lt as getCliSessionId, m as getPluginToolMeta, mn as markGatewaySigusr1RestartHandled, mr as resolveTtsApiKey, mt as resolveAnnounceTargetFromKey, n as initSubagentRegistry, nn as resolveSessionAuthProfileOverride, nt as createReplyDispatcher, o as clearSessionQueues, on as applyModelOverrideToSessionEntry, ot as BARE_SESSION_RESET_PROMPT, pn as isGatewaySigusr1RestartExternallyAllowed, pr as isTtsProviderConfigured, pt as readLatestAssistantReply, qn as DEFAULT_INPUT_TIMEOUT_MS, qt as stripLegacyDeliveryFields, r as listDescendantRunsForRequester, rr as isAbortRequestText, rt as getTotalPendingReplies, s as runEmbeddedPiAgent, sn as applyVerboseOverride, sr as getAcpSessionManager, t as countActiveDescendantRuns, tn as persistBrowserProxyFiles, tt as dispatchInboundMessage, u as waitForEmbeddedPiRunEnd, un as consumeGatewaySigusr1RestartAuthorization, ur as clearBootstrapSnapshot, ut as setCliSessionId, v as createPluginRuntime, vn as triggerOpenClawRestart, vr as resolveTtsProviderOrder, w as requestBodyErrorToText, wr as getActiveTaskCount, wt as resetDirectoryCache, xr as textToSpeech, xt as resolveSessionDeliveryTarget, yn as unbindThreadBindingsBySessionKey, yr as setTtsEnabled, zr as getAgentRunContext, zt as normalizeOptionalAgentId } from "./subagent-registry-CXBreqUP.js";
|
|
38
38
|
import { c as resolveStorePath, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, r as resolveSessionFilePathOptions, s as resolveSessionTranscriptsDirForAgent } from "./paths-CTtLmER4.js";
|
|
39
39
|
import { i as normalizeInputProvenance } from "./input-provenance-C8z9KgIz.js";
|
|
40
40
|
import "./chat-envelope-D3RSz140.js";
|
|
41
|
-
import { n as readJsonFile, r as writeJsonAtomic, t as createAsyncLock } from "./json-files-
|
|
42
|
-
import { $ as validateNodePairApproveParams, $t as roleScopesAllow, A as validateCronStatusParams, At as validateWizardStartParams, B as validateExecApprovalsGetParams, C as validateConfigSetParams, Ct as validateToolsCatalogParams, D as validateCronRemoveParams, Dt as validateWebLoginWaitParams, E as validateCronListParams, Et as validateWebLoginStartParams, F as validateDevicePairRemoveParams, G as validateModelsAuthSetParams, Gt as rejectDevicePairing, H as validateExecApprovalsNodeSetParams, Ht as ensureDeviceToken, I as validateDeviceTokenRevokeParams, It as parseSessionLabel, J as validateNodeDescribeParams, Jt as revokeDeviceToken, K as validateModelsListParams, Kt as removePairedDevice, L as validateDeviceTokenRotateParams, Lt as buildDeviceAuthPayload, M as validateDevicePairApproveParams, Mt as PROTOCOL_VERSION, N as validateDevicePairListParams, Nt as ErrorCodes, O as validateCronRunParams, Ot as validateWizardCancelParams, P as validateDevicePairRejectParams, Pt as errorShape, Q as validateNodeListParams, Qt as verifyDeviceToken, R as validateExecApprovalRequestParams, Rt as buildDeviceAuthPayloadV3, S as validateConfigSchemaParams, St as validateTalkModeParams, T as validateCronAddParams, Tt as validateWakeParams, U as validateExecApprovalsSetParams, Ut as getPairedDevice, V as validateExecApprovalsNodeGetParams, Vt as approveDevicePairing, W as validateLogsTailParams, Wt as listDevicePairing, X as validateNodeInvokeParams, Xt as summarizeDeviceTokens, Y as validateNodeEventParams, Yt as rotateDeviceToken, Z as validateNodeInvokeResultParams, Zt as updatePairedDeviceMetadata, _ as validateChatInjectParams, _t as validateSkillsBinsParams, a as validateAgentWaitParams, at as validatePollParams, b as validateConfigGetParams, bt as validateSkillsUpdateParams, c as validateAgentsFilesGetParams, ct as validateSendParams, d as validateAgentsListParams, dt as validateSessionsListParams, et as validateNodePairListParams, f as validateAgentsUpdateParams, ft as validateSessionsPatchParams, g as validateChatHistoryParams, gt as validateSessionsUsageParams, h as validateChatAbortParams, ht as validateSessionsResolveParams, i as validateAgentParams, in as verifyDeviceSignature, it as validateNodeRenameParams, j as validateCronUpdateParams, jt as validateWizardStatusParams, k as validateCronRunsParams, kt as validateWizardNextParams, l as validateAgentsFilesListParams, lt as validateSessionsCompactParams, m as validateChannelsStatusParams, mt as validateSessionsResetParams, n as formatValidationErrors, nt as validateNodePairRequestParams, o as validateAgentsCreateParams, ot as validatePushTestParams, p as validateChannelsLogoutParams, pt as validateSessionsPreviewParams, q as validateModelsVerifyParams, qt as requestDevicePairing, r as validateAgentIdentityParams, rn as normalizeDevicePublicKeyBase64Url, rt as validateNodePairVerifyParams, s as validateAgentsDeleteParams, st as validateRequestFrame, tn as deriveDeviceIdFromPublicKey, tt as validateNodePairRejectParams, u as validateAgentsFilesSetParams, ut as validateSessionsDeleteParams, v as validateChatSendParams, vt as validateSkillsInstallParams, w as validateConnectParams, wt as validateUpdateRunParams, x as validateConfigPatchParams, xt as validateTalkConfigParams, y as validateConfigApplyParams, yt as validateSkillsStatusParams, z as validateExecApprovalResolveParams, zt as normalizeDeviceMetadataForAuth } from "./client-
|
|
43
|
-
import { f as loadGatewayTlsRuntime$1, l as authorizeOperatorScopesForMethod, n as callGateway, s as ADMIN_SCOPE$3, u as isNodeRoleMethod } from "./call-
|
|
41
|
+
import { n as readJsonFile, r as writeJsonAtomic, t as createAsyncLock } from "./json-files-CuJjdF_0.js";
|
|
42
|
+
import { $ as validateNodePairApproveParams, $t as roleScopesAllow, A as validateCronStatusParams, At as validateWizardStartParams, B as validateExecApprovalsGetParams, C as validateConfigSetParams, Ct as validateToolsCatalogParams, D as validateCronRemoveParams, Dt as validateWebLoginWaitParams, E as validateCronListParams, Et as validateWebLoginStartParams, F as validateDevicePairRemoveParams, G as validateModelsAuthSetParams, Gt as rejectDevicePairing, H as validateExecApprovalsNodeSetParams, Ht as ensureDeviceToken, I as validateDeviceTokenRevokeParams, It as parseSessionLabel, J as validateNodeDescribeParams, Jt as revokeDeviceToken, K as validateModelsListParams, Kt as removePairedDevice, L as validateDeviceTokenRotateParams, Lt as buildDeviceAuthPayload, M as validateDevicePairApproveParams, Mt as PROTOCOL_VERSION, N as validateDevicePairListParams, Nt as ErrorCodes, O as validateCronRunParams, Ot as validateWizardCancelParams, P as validateDevicePairRejectParams, Pt as errorShape, Q as validateNodeListParams, Qt as verifyDeviceToken, R as validateExecApprovalRequestParams, Rt as buildDeviceAuthPayloadV3, S as validateConfigSchemaParams, St as validateTalkModeParams, T as validateCronAddParams, Tt as validateWakeParams, U as validateExecApprovalsSetParams, Ut as getPairedDevice, V as validateExecApprovalsNodeGetParams, Vt as approveDevicePairing, W as validateLogsTailParams, Wt as listDevicePairing, X as validateNodeInvokeParams, Xt as summarizeDeviceTokens, Y as validateNodeEventParams, Yt as rotateDeviceToken, Z as validateNodeInvokeResultParams, Zt as updatePairedDeviceMetadata, _ as validateChatInjectParams, _t as validateSkillsBinsParams, a as validateAgentWaitParams, at as validatePollParams, b as validateConfigGetParams, bt as validateSkillsUpdateParams, c as validateAgentsFilesGetParams, ct as validateSendParams, d as validateAgentsListParams, dt as validateSessionsListParams, et as validateNodePairListParams, f as validateAgentsUpdateParams, ft as validateSessionsPatchParams, g as validateChatHistoryParams, gt as validateSessionsUsageParams, h as validateChatAbortParams, ht as validateSessionsResolveParams, i as validateAgentParams, in as verifyDeviceSignature, it as validateNodeRenameParams, j as validateCronUpdateParams, jt as validateWizardStatusParams, k as validateCronRunsParams, kt as validateWizardNextParams, l as validateAgentsFilesListParams, lt as validateSessionsCompactParams, m as validateChannelsStatusParams, mt as validateSessionsResetParams, n as formatValidationErrors, nt as validateNodePairRequestParams, o as validateAgentsCreateParams, ot as validatePushTestParams, p as validateChannelsLogoutParams, pt as validateSessionsPreviewParams, q as validateModelsVerifyParams, qt as requestDevicePairing, r as validateAgentIdentityParams, rn as normalizeDevicePublicKeyBase64Url, rt as validateNodePairVerifyParams, s as validateAgentsDeleteParams, st as validateRequestFrame, tn as deriveDeviceIdFromPublicKey, tt as validateNodePairRejectParams, u as validateAgentsFilesSetParams, ut as validateSessionsDeleteParams, v as validateChatSendParams, vt as validateSkillsInstallParams, w as validateConnectParams, wt as validateUpdateRunParams, x as validateConfigPatchParams, xt as validateTalkConfigParams, y as validateConfigApplyParams, yt as validateSkillsStatusParams, z as validateExecApprovalResolveParams, zt as normalizeDeviceMetadataForAuth } from "./client-BvL3EdiZ.js";
|
|
43
|
+
import { f as loadGatewayTlsRuntime$1, l as authorizeOperatorScopesForMethod, n as callGateway, s as ADMIN_SCOPE$3, u as isNodeRoleMethod } from "./call-CzoM7hPS.js";
|
|
44
44
|
import "./pairing-token-DoBZxQnC.js";
|
|
45
45
|
import { t as safeEqualSecret } from "./secret-equal-Gla36CGi.js";
|
|
46
|
-
import { a as isTrustedProxyAddress, c as pickPrimaryLanIPv4, d as resolveGatewayListenHosts, f as rawDataToString, l as resolveClientIp, n as isLoopbackAddress, o as isValidIPv4, r as isLoopbackHost, s as normalizeHostHeader, t as isLocalishHost, u as resolveGatewayBindHost } from "./net-
|
|
47
|
-
import { n as pickPrimaryTailnetIPv4, r as pickPrimaryTailnetIPv6 } from "./tailnet-
|
|
46
|
+
import { a as isTrustedProxyAddress, c as pickPrimaryLanIPv4, d as resolveGatewayListenHosts, f as rawDataToString, l as resolveClientIp, n as isLoopbackAddress, o as isValidIPv4, r as isLoopbackHost, s as normalizeHostHeader, t as isLocalishHost, u as resolveGatewayBindHost } from "./net-BXeYv7Iu.js";
|
|
47
|
+
import { n as pickPrimaryTailnetIPv4, r as pickPrimaryTailnetIPv6 } from "./tailnet-C1XBcWue.js";
|
|
48
48
|
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-DyLBF_df.js";
|
|
49
|
-
import { a as getMachineDisplayName, i as startBrowserControlServiceFromConfig, n as createBrowserRouteDispatcher, r as createBrowserControlContext } from "./with-timeout-
|
|
50
|
-
import { j as runGlobalGatewayStopSafely, k as getGlobalHookRunner, o as normalizeReplyPayloadsForDelivery, t as deliverOutboundPayloads } from "./deliver-
|
|
51
|
-
import { d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, m as isDiagnosticsEnabled } from "./diagnostic-
|
|
49
|
+
import { a as getMachineDisplayName, i as startBrowserControlServiceFromConfig, n as createBrowserRouteDispatcher, r as createBrowserControlContext } from "./with-timeout-DurSJobr.js";
|
|
50
|
+
import { j as runGlobalGatewayStopSafely, k as getGlobalHookRunner, o as normalizeReplyPayloadsForDelivery, t as deliverOutboundPayloads } from "./deliver-Df8pSQk6.js";
|
|
51
|
+
import { d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, m as isDiagnosticsEnabled } from "./diagnostic-Bvatw1Xn.js";
|
|
52
52
|
import "./diagnostic-session-state-Dx-rJXBO.js";
|
|
53
|
-
import { S as saveCronStore, b as loadCronStore, x as resolveCronStorePath } from "./send-
|
|
54
|
-
import { c as detectMime } from "./image-ops-
|
|
55
|
-
import "./pi-embedded-helpers-
|
|
56
|
-
import { C as resolveToolProfilePolicy, _ as collectExplicitAllowlist, y as mergeAlsoAllowPolicy } from "./sandbox-
|
|
53
|
+
import { S as saveCronStore, b as loadCronStore, x as resolveCronStorePath } from "./send-sj8Hu26l.js";
|
|
54
|
+
import { c as detectMime } from "./image-ops-BGTBZMuE.js";
|
|
55
|
+
import "./pi-embedded-helpers-CrD8I6qf.js";
|
|
56
|
+
import { C as resolveToolProfilePolicy, _ as collectExplicitAllowlist, y as mergeAlsoAllowPolicy } from "./sandbox-Tai-w14a.js";
|
|
57
57
|
import { i as listCoreToolSections, n as PROFILE_OPTIONS, o as resolveCoreToolProfiles } from "./tool-catalog-uQj_-Ahx.js";
|
|
58
|
-
import "./chrome-
|
|
58
|
+
import "./chrome-DuDCGdf-.js";
|
|
59
59
|
import { i as enableTailscaleServe, n as disableTailscaleServe, o as getTailnetHostname, r as enableTailscaleFunnel, t as disableTailscaleFunnel } from "./tailscale-D3xGoMdQ.js";
|
|
60
|
-
import { a as resolveGatewayAuth, c as AUTH_RATE_LIMIT_SCOPE_SHARED_SECRET, i as isLocalDirectRequest, l as createAuthRateLimiter, n as authorizeHttpGatewayConnect, o as AUTH_RATE_LIMIT_SCOPE_DEVICE_TOKEN, r as authorizeWsControlUiGatewayConnect, s as AUTH_RATE_LIMIT_SCOPE_HOOK_AUTH, t as assertGatewayAuthConfigured, u as normalizeRateLimitClientIp } from "./auth-
|
|
61
|
-
import { l as ensureGatewayStartupAuth, u as mergeGatewayTailscaleConfig } from "./server-context-
|
|
62
|
-
import "./paths-
|
|
60
|
+
import { a as resolveGatewayAuth, c as AUTH_RATE_LIMIT_SCOPE_SHARED_SECRET, i as isLocalDirectRequest, l as createAuthRateLimiter, n as authorizeHttpGatewayConnect, o as AUTH_RATE_LIMIT_SCOPE_DEVICE_TOKEN, r as authorizeWsControlUiGatewayConnect, s as AUTH_RATE_LIMIT_SCOPE_HOOK_AUTH, t as assertGatewayAuthConfigured, u as normalizeRateLimitClientIp } from "./auth-B3HDYw4G.js";
|
|
61
|
+
import { l as ensureGatewayStartupAuth, u as mergeGatewayTailscaleConfig } from "./server-context-YLHmGfYV.js";
|
|
62
|
+
import "./paths-BjoSX1aC.js";
|
|
63
63
|
import { a as testRegexWithBoundedInput, i as compileSafeRegex } from "./redact-Ck5U_y4i.js";
|
|
64
64
|
import { o as isErrno, r as formatErrorMessage } from "./errors-BJz45-qI.js";
|
|
65
|
-
import { i as openFileWithinRoot, l as writeFileWithinRoot, s as readLocalFileSafely, t as SafeOpenError } from "./fs-safe-
|
|
66
|
-
import { n as SsrFBlockedError } from "./proxy-env-
|
|
67
|
-
import "./store-
|
|
68
|
-
import { n as inspectPortUsage, o as formatPortDiagnostics, t as ensurePortAvailable } from "./ports-
|
|
65
|
+
import { i as openFileWithinRoot, l as writeFileWithinRoot, s as readLocalFileSafely, t as SafeOpenError } from "./fs-safe-CJDtl_QU.js";
|
|
66
|
+
import { n as SsrFBlockedError } from "./proxy-env-BQIJPH4j.js";
|
|
67
|
+
import "./store-U8cs0QvT.js";
|
|
68
|
+
import { n as inspectPortUsage, o as formatPortDiagnostics, t as ensurePortAvailable } from "./ports-sCOQUaAP.js";
|
|
69
69
|
import { t as movePathToTrash } from "./trash-ClChDUTf.js";
|
|
70
|
-
import "./server-middleware-
|
|
71
|
-
import "./tool-images-
|
|
70
|
+
import "./server-middleware-CKSnhiM2.js";
|
|
71
|
+
import "./tool-images-CnpAosfi.js";
|
|
72
72
|
import { a as normalizeElevatedLevel, c as normalizeUsageDisplay, d as supportsXHighThinking, l as normalizeVerboseLevel, n as formatXHighModelHint, o as normalizeReasoningLevel, s as normalizeThinkLevel, t as formatThinkingLevels } from "./thinking-pYqswKJZ.js";
|
|
73
|
-
import "./models-config-
|
|
74
|
-
import "./exec-approvals-allowlist-
|
|
75
|
-
import "./exec-safe-bin-runtime-policy-
|
|
76
|
-
import { n as loadModelCatalog } from "./model-catalog-
|
|
77
|
-
import "./fetch-
|
|
78
|
-
import { g as registerUnhandledRejectionHandler } from "./audio-transcription-runner-
|
|
79
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
80
|
-
import { x as extractTextFromChatContent } from "./image-
|
|
73
|
+
import "./models-config-CmrBGsQs.js";
|
|
74
|
+
import "./exec-approvals-allowlist-B4DS6FIn.js";
|
|
75
|
+
import "./exec-safe-bin-runtime-policy-BP6ImlkB.js";
|
|
76
|
+
import { n as loadModelCatalog } from "./model-catalog-D1X8r3WJ.js";
|
|
77
|
+
import "./fetch-DC-NMnAU.js";
|
|
78
|
+
import { g as registerUnhandledRejectionHandler } from "./audio-transcription-runner-jiDE7Pt8.js";
|
|
79
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-B62rgaSw.js";
|
|
80
|
+
import { x as extractTextFromChatContent } from "./image-UpBiPNsk.js";
|
|
81
81
|
import "./tool-display-0M664wep.js";
|
|
82
|
-
import "./api-key-rotation-
|
|
82
|
+
import "./api-key-rotation-xfk-b2Sv.js";
|
|
83
83
|
import "./proxy-fetch-DEHZt1Tx.js";
|
|
84
|
-
import { a as resolveAgentIdentity, t as createReplyPrefixOptions } from "./reply-prefix-
|
|
84
|
+
import { a as resolveAgentIdentity, t as createReplyPrefixOptions } from "./reply-prefix-DpXMFuAa.js";
|
|
85
85
|
import "./chunk-kLPohhLl.js";
|
|
86
|
-
import "./markdown-tables-
|
|
87
|
-
import "./ir-
|
|
86
|
+
import "./markdown-tables-BYHgyUjA.js";
|
|
87
|
+
import "./ir-DziC-P4Z.js";
|
|
88
88
|
import "./render-CXDO_kgw.js";
|
|
89
|
-
import { a as ToolInputError } from "./target-errors-
|
|
90
|
-
import { r as isRestartEnabled } from "./commands-
|
|
91
|
-
import "./commands-registry-
|
|
89
|
+
import { a as ToolInputError } from "./target-errors-C5LA-JI-.js";
|
|
90
|
+
import { r as isRestartEnabled } from "./commands-C67IbXs7.js";
|
|
91
|
+
import "./commands-registry-D0_D5hFV.js";
|
|
92
92
|
import "./fetch-BM2hI5N6.js";
|
|
93
93
|
import "./retry-DwXRBpwv.js";
|
|
94
|
-
import { a as readChannelAllowFromStoreSync } from "./pairing-store-
|
|
94
|
+
import { a as readChannelAllowFromStoreSync } from "./pairing-store-BfzlN-z9.js";
|
|
95
95
|
import { a as mergeExecApprovalsSocketDefaults, c as readExecApprovalsSnapshot, p as saveExecApprovals, r as ensureExecApprovals, s as normalizeExecApprovals, t as DEFAULT_EXEC_APPROVAL_TIMEOUT_MS } from "./exec-approvals-HRn5F9dF.js";
|
|
96
|
-
import { _ as matchSystemRunApprovalBinding, g as buildSystemRunApprovalBinding, h as resolveSystemRunApprovalRuntimeContext, m as resolveSystemRunApprovalRequestContext, v as missingSystemRunApprovalBinding, y as toSystemRunApprovalMismatchError } from "./nodes-screen-
|
|
97
|
-
import { n as resolveSystemRunCommand } from "./system-run-command-
|
|
98
|
-
import { a as loadCombinedSessionStoreForGateway, c as resolveGatewaySessionStoreTarget, i as listSessionsFromStore, l as resolveSessionModelRef, o as loadSessionEntry, r as listAgentsForGateway, s as pruneLegacyStoreKeys, t as canonicalizeSpawnedByForAgent, u as lookupContextTokens } from "./session-utils-
|
|
96
|
+
import { _ as matchSystemRunApprovalBinding, g as buildSystemRunApprovalBinding, h as resolveSystemRunApprovalRuntimeContext, m as resolveSystemRunApprovalRequestContext, v as missingSystemRunApprovalBinding, y as toSystemRunApprovalMismatchError } from "./nodes-screen-DcxCMjOs.js";
|
|
97
|
+
import { n as resolveSystemRunCommand } from "./system-run-command-GKGzGztn.js";
|
|
98
|
+
import { a as loadCombinedSessionStoreForGateway, c as resolveGatewaySessionStoreTarget, i as listSessionsFromStore, l as resolveSessionModelRef, o as loadSessionEntry, r as listAgentsForGateway, s as pruneLegacyStoreKeys, t as canonicalizeSpawnedByForAgent, u as lookupContextTokens } from "./session-utils-BncMg1bn.js";
|
|
99
99
|
import { c as hasNonzeroUsage, i as loadSessionUsageTimeSeries, n as loadCostUsageSummary, r as loadSessionCostSummary, s as deriveSessionTotalTokens, t as discoverAllSessions } from "./session-cost-usage-BCEcVVJ6.js";
|
|
100
100
|
import { n as formatTokenCount, r as formatUsd } from "./usage-format-JlIz56oG.js";
|
|
101
|
-
import { S as registerSkillsChangeListener, _ as requestNodePairing, c as recordRemoteNodeInfo, d as removeRemoteNodeInfo, f as setSkillsRemoteRegistry, g as renamePairedNode, h as rejectNodePairing, l as refreshRemoteBinsForConnectedNodes, m as listNodePairing, o as getRemoteSkillEligibility, p as approveNodePairing, s as primeRemoteSkillsCache, u as refreshRemoteNodeBins, v as updatePairedNodeMetadata, x as getSkillsSnapshotVersion, y as verifyNodeToken } from "./skill-commands-
|
|
102
|
-
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-
|
|
101
|
+
import { S as registerSkillsChangeListener, _ as requestNodePairing, c as recordRemoteNodeInfo, d as removeRemoteNodeInfo, f as setSkillsRemoteRegistry, g as renamePairedNode, h as rejectNodePairing, l as refreshRemoteBinsForConnectedNodes, m as listNodePairing, o as getRemoteSkillEligibility, p as approveNodePairing, s as primeRemoteSkillsCache, u as refreshRemoteNodeBins, v as updatePairedNodeMetadata, x as getSkillsSnapshotVersion, y as verifyNodeToken } from "./skill-commands-CYucDd3C.js";
|
|
102
|
+
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-BOgNOBjy.js";
|
|
103
103
|
import { t as getChannelActivity } from "./channel-activity-C-cvytUe.js";
|
|
104
104
|
import { n as normalizePollInput } from "./polls-CWOwBT3z.js";
|
|
105
|
-
import "./tables-
|
|
106
|
-
import "./server-lifecycle-
|
|
105
|
+
import "./tables-DVXe5x1J.js";
|
|
106
|
+
import "./server-lifecycle-B23lXM3Y.js";
|
|
107
107
|
import { i as parseAbsoluteTimeMs, n as resolveCronStaggerMs, r as resolveDefaultCronStaggerMs, t as normalizeCronStaggerMs } from "./stagger-Cek4Eizw.js";
|
|
108
|
-
import { n as resolveMessageChannelSelection } from "./channel-selection-
|
|
109
|
-
import { i as buildChannelUiCatalog, t as applyPluginAutoEnable } from "./plugin-auto-enable-
|
|
110
|
-
import "./send-
|
|
111
|
-
import "./outbound-attachment-
|
|
108
|
+
import { n as resolveMessageChannelSelection } from "./channel-selection-D8KYuWir.js";
|
|
109
|
+
import { i as buildChannelUiCatalog, t as applyPluginAutoEnable } from "./plugin-auto-enable-DER6qA6X.js";
|
|
110
|
+
import "./send-CQJKPGw4.js";
|
|
111
|
+
import "./outbound-attachment-CXINK8df.js";
|
|
112
112
|
import "./delivery-queue-DhqwvOP8.js";
|
|
113
|
-
import "./send-
|
|
114
|
-
import "./resolve-route-
|
|
115
|
-
import { a as resolveSubagentToolPolicy, i as resolveGroupToolPolicy, r as resolveEffectiveToolPolicy } from "./pi-tools.policy-
|
|
113
|
+
import "./send-e1X1pfda.js";
|
|
114
|
+
import "./resolve-route-Cnto8LMw.js";
|
|
115
|
+
import { a as resolveSubagentToolPolicy, i as resolveGroupToolPolicy, r as resolveEffectiveToolPolicy } from "./pi-tools.policy-upaoJyu4.js";
|
|
116
116
|
import "./proxy-Dz7xT2Z_.js";
|
|
117
|
-
import "./replies-
|
|
118
|
-
import { C as normalizeControlUiBasePath, S as buildControlUiAvatarUrl, c as handleReset, w as resolveAssistantAvatarUrl, x as CONTROL_UI_AVATAR_PREFIX } from "./onboard-helpers-
|
|
117
|
+
import "./replies-Ckd7Lwt0.js";
|
|
118
|
+
import { C as normalizeControlUiBasePath, S as buildControlUiAvatarUrl, c as handleReset, w as resolveAssistantAvatarUrl, x as CONTROL_UI_AVATAR_PREFIX } from "./onboard-helpers-CczYNQDJ.js";
|
|
119
119
|
import "./prompt-style-CzS6Prvl.js";
|
|
120
|
-
import "./pairing-labels-
|
|
121
|
-
import "./session-meta-
|
|
122
|
-
import { i as resolveMemoryBackendConfig, r as getMemorySearchManager } from "./memory-cli-
|
|
123
|
-
import { r as resolveMemorySearchConfig } from "./manager-
|
|
124
|
-
import "./query-expansion-
|
|
120
|
+
import "./pairing-labels-CFSUHOmk.js";
|
|
121
|
+
import "./session-meta-DF1WT4cr.js";
|
|
122
|
+
import { i as resolveMemoryBackendConfig, r as getMemorySearchManager } from "./memory-cli-CuT-iG2F.js";
|
|
123
|
+
import { r as resolveMemorySearchConfig } from "./manager-7hZXEYTj.js";
|
|
124
|
+
import "./query-expansion-BrM3X6-L.js";
|
|
125
125
|
import { t as formatDocsLink } from "./links-BDNlbZvM.js";
|
|
126
126
|
import { n as runCommandWithRuntime } from "./cli-utils-k9A6CA1o.js";
|
|
127
127
|
import { t as formatHelpExamples } from "./help-format-B3bKmDqF.js";
|
|
128
128
|
import { n as withProgress } from "./progress-CwQKn0ae.js";
|
|
129
|
-
import
|
|
130
|
-
import
|
|
131
|
-
import {
|
|
132
|
-
import {
|
|
133
|
-
import {
|
|
134
|
-
import {
|
|
135
|
-
import {
|
|
136
|
-
import { t as
|
|
137
|
-
import { t as
|
|
138
|
-
import "./
|
|
139
|
-
import {
|
|
140
|
-
import
|
|
141
|
-
import "./
|
|
142
|
-
import {
|
|
143
|
-
import "./
|
|
144
|
-
import "./
|
|
145
|
-
import "./
|
|
146
|
-
import "./
|
|
147
|
-
import "./
|
|
148
|
-
import "./
|
|
149
|
-
import
|
|
150
|
-
import
|
|
151
|
-
import "./
|
|
152
|
-
import "./
|
|
153
|
-
import
|
|
154
|
-
import
|
|
155
|
-
import {
|
|
156
|
-
import { t as
|
|
157
|
-
import {
|
|
158
|
-
import {
|
|
159
|
-
import {
|
|
160
|
-
import {
|
|
161
|
-
import {
|
|
162
|
-
import {
|
|
163
|
-
import {
|
|
164
|
-
import {
|
|
165
|
-
import {
|
|
166
|
-
import { n as
|
|
167
|
-
import "./
|
|
168
|
-
import "./
|
|
169
|
-
import "./
|
|
170
|
-
import
|
|
171
|
-
import {
|
|
172
|
-
import { t as
|
|
173
|
-
import {
|
|
174
|
-
import {
|
|
129
|
+
import "./constants-SKxh9Cou.js";
|
|
130
|
+
import "./context-window-guard-ejUBbmnW.js";
|
|
131
|
+
import { i as onHeartbeatEvent, r as getLastHeartbeatEvent, t as resolveHeartbeatVisibility } from "./heartbeat-visibility-JgoQYZHO.js";
|
|
132
|
+
import { t as ensureOpenClawCliOnPath } from "./path-env-DDJ70PDB.js";
|
|
133
|
+
import { n as DEFAULT_GATEWAY_HTTP_TOOL_DENY } from "./dangerous-tools-D_tNQLpF.js";
|
|
134
|
+
import { n as inheritOptionFromParent } from "./command-options-DIuz7LzE.js";
|
|
135
|
+
import { t as WizardCancelledError } from "./prompts-CbZZ91V9.js";
|
|
136
|
+
import { t as resolveChannelDefaultAccountId } from "./helpers-BSfSxnxh.js";
|
|
137
|
+
import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-DoxV5m9v.js";
|
|
138
|
+
import { t as isWithinDir } from "./path-safety-__ACzYqx.js";
|
|
139
|
+
import { t as assertCanonicalPathWithinBase } from "./install-safe-path-BB9b_AvF.js";
|
|
140
|
+
import "./skill-scanner-CSJqt034.js";
|
|
141
|
+
import { n as formatConfigIssueLines } from "./issue-format-DF2YB-kZ.js";
|
|
142
|
+
import { t as buildChannelAccountSnapshot } from "./status-rpJtIjm7.js";
|
|
143
|
+
import "./channels-status-issues-CCNiQcg9.js";
|
|
144
|
+
import { a as buildBaseHints, i as applySensitiveHints, n as redactConfigSnapshot, o as mapSensitivePaths, r as restoreRedactedValues, s as applyDerivedTags, t as redactConfigObject } from "./redact-snapshot-C1Yp9Q7B.js";
|
|
145
|
+
import "./daemon-install-helpers-D28keNLu.js";
|
|
146
|
+
import "./runtime-guard-lQH3Hjre.js";
|
|
147
|
+
import "./systemd-HiU4Gzoc.js";
|
|
148
|
+
import "./service-Bjqlh_fF.js";
|
|
149
|
+
import "./lifecycle-core-CJd181-h.js";
|
|
150
|
+
import "./systemd-hints-BDIASQOF.js";
|
|
151
|
+
import { t as parsePort$1 } from "./parse-port-M1LW5BLv.js";
|
|
152
|
+
import { n as addGatewayServiceCommands } from "./daemon-cli-BSy0rtO2.js";
|
|
153
|
+
import "./diagnostics-ABz8E7c-.js";
|
|
154
|
+
import "./table-CqULNDay.js";
|
|
155
|
+
import { n as resolveWideAreaDiscoveryDomain, r as writeWideAreaGatewayZone } from "./widearea-dns-CABro6I6.js";
|
|
156
|
+
import { i as toOptionString, n as extractGatewayMiskeys, r as maybeExplainGatewayServiceStop, t as describeUnknownError } from "./shared-_j1K2VJ9.js";
|
|
157
|
+
import { a as probeGateway, n as collectEnabledInsecureOrDangerousFlags } from "./audit-Bgu8Ommg.js";
|
|
158
|
+
import { t as discoverGatewayBeacons } from "./bonjour-discovery-DiHs5j0y.js";
|
|
159
|
+
import { i as pickGatewaySelfPresence, r as getStatusSummary } from "./status-mS4bWnIW.js";
|
|
160
|
+
import { a as styleHealthChannelLine, c as setHeartbeatsEnabled, l as startHeartbeatRunner, n as getHealthSnapshot, s as runHeartbeatOnce, t as formatHealthChannelLines, u as isCronSystemEvent } from "./health-CDEXWvnu.js";
|
|
161
|
+
import { a as resolveControlUiRootSync, i as resolveControlUiRootOverrideSync, t as ensureControlUiAssetsBuilt } from "./control-ui-assets-Dx8wiZQ_.js";
|
|
162
|
+
import { o as isBitseekBuild } from "./status.update-YC9VNJxl.js";
|
|
163
|
+
import { h as normalizeUpdateChannel, l as DEFAULT_PACKAGE_CHANNEL, n as checkUpdateStatus, o as resolveNpmChannelTag, r as compareSemverStrings } from "./channel-account-context-BV3Q0XnD.js";
|
|
164
|
+
import { i as prepareSecretsRuntimeSnapshot, n as clearSecretsRuntimeSnapshot, r as getActiveSecretsRuntimeSnapshot, t as activateSecretsRuntimeSnapshot } from "./runtime-D4y0Gdfj.js";
|
|
165
|
+
import { t as runOnboardingWizard } from "./onboarding-CZCgESNI.js";
|
|
166
|
+
import { a as sendApnsAlert, c as parseMessageWithAttachments, d as shouldLogWs, f as summarizeAgentEventForWsLog, i as resolveApnsAuthConfigFromEnv, l as formatForLog, n as normalizeApnsEnvironment, o as sendApnsBackgroundWake, p as setGatewayWsLogStyle, s as normalizeRpcAttachmentsToChatAttachments, t as loadApnsRegistration, u as logWs } from "./push-apns-BSlKJa83.js";
|
|
167
|
+
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-CtjSNa9d.js";
|
|
168
|
+
import { n as isNodeCommandAllowed, r as resolveNodeCommandAllowlist } from "./node-command-policy-pJ6IPNBA.js";
|
|
169
|
+
import "./node-service-DUUObpwl.js";
|
|
170
|
+
import "./shared-BojXguFB.js";
|
|
171
|
+
import { d as verifyOpenAiCompatibleModel } from "./onboard-custom.shared-B9NXcXpv.js";
|
|
172
|
+
import { n as formatInstallFailureMessage, t as installSkill } from "./skills-install-e4_jXT_J.js";
|
|
173
|
+
import { t as runGatewayUpdate } from "./update-runner-C9noXbfV.js";
|
|
174
|
+
import { i as shouldIncludeHook, r as resolveHookConfig, t as loadWorkspaceHookEntries } from "./workspace-DWBFoy1G.js";
|
|
175
|
+
import { n as forceFreePortAndWait } from "./ports-zWusnrvP.js";
|
|
175
176
|
import { spawn, spawnSync } from "node:child_process";
|
|
176
177
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
177
178
|
import path from "node:path";
|
|
@@ -180,7 +181,7 @@ import * as fsSync from "node:fs";
|
|
|
180
181
|
import fs from "node:fs";
|
|
181
182
|
import chalk from "chalk";
|
|
182
183
|
import { isDeepStrictEqual } from "node:util";
|
|
183
|
-
import
|
|
184
|
+
import fs$1 from "node:fs/promises";
|
|
184
185
|
import crypto, { createHash, randomBytes, randomUUID } from "node:crypto";
|
|
185
186
|
import { z } from "zod";
|
|
186
187
|
import { CURRENT_SESSION_VERSION, SessionManager } from "@mariozechner/pi-coding-agent";
|
|
@@ -1250,7 +1251,7 @@ function resolveCheckIntervalMs(cfg) {
|
|
|
1250
1251
|
}
|
|
1251
1252
|
async function readState(statePath) {
|
|
1252
1253
|
try {
|
|
1253
|
-
const raw = await
|
|
1254
|
+
const raw = await fs$1.readFile(statePath, "utf-8");
|
|
1254
1255
|
const parsed = JSON.parse(raw);
|
|
1255
1256
|
return parsed && typeof parsed === "object" ? parsed : {};
|
|
1256
1257
|
} catch {
|
|
@@ -1331,7 +1332,7 @@ async function runAutoUpdateCommand(params) {
|
|
|
1331
1332
|
path.join(params.root, "dist", "index.mjs")
|
|
1332
1333
|
];
|
|
1333
1334
|
for (const candidate of candidates) try {
|
|
1334
|
-
await
|
|
1335
|
+
await fs$1.access(candidate);
|
|
1335
1336
|
argv.push(execPath, candidate, ...baseArgs);
|
|
1336
1337
|
break;
|
|
1337
1338
|
} catch {}
|
|
@@ -4406,20 +4407,20 @@ async function drainPendingWrite(filePath) {
|
|
|
4406
4407
|
if (pending) await pending.catch(() => void 0);
|
|
4407
4408
|
}
|
|
4408
4409
|
async function pruneIfNeeded(filePath, opts) {
|
|
4409
|
-
const stat = await
|
|
4410
|
+
const stat = await fs$1.stat(filePath).catch(() => null);
|
|
4410
4411
|
if (!stat || stat.size <= opts.maxBytes) return;
|
|
4411
|
-
const lines = (await
|
|
4412
|
+
const lines = (await fs$1.readFile(filePath, "utf-8").catch(() => "")).split("\n").map((l) => l.trim()).filter(Boolean);
|
|
4412
4413
|
const kept = lines.slice(Math.max(0, lines.length - opts.keepLines));
|
|
4413
4414
|
const { randomBytes } = await import("node:crypto");
|
|
4414
4415
|
const tmp = `${filePath}.${process.pid}.${randomBytes(8).toString("hex")}.tmp`;
|
|
4415
|
-
await
|
|
4416
|
-
await
|
|
4416
|
+
await fs$1.writeFile(tmp, `${kept.join("\n")}\n`, "utf-8");
|
|
4417
|
+
await fs$1.rename(tmp, filePath);
|
|
4417
4418
|
}
|
|
4418
4419
|
async function appendCronRunLog(filePath, entry, opts) {
|
|
4419
4420
|
const resolved = path.resolve(filePath);
|
|
4420
4421
|
const next = (writesByPath.get(resolved) ?? Promise.resolve()).catch(() => void 0).then(async () => {
|
|
4421
|
-
await
|
|
4422
|
-
await
|
|
4422
|
+
await fs$1.mkdir(path.dirname(resolved), { recursive: true });
|
|
4423
|
+
await fs$1.appendFile(resolved, `${JSON.stringify(entry)}\n`, "utf-8");
|
|
4423
4424
|
await pruneIfNeeded(resolved, {
|
|
4424
4425
|
maxBytes: opts?.maxBytes ?? DEFAULT_CRON_RUN_LOG_MAX_BYTES,
|
|
4425
4426
|
keepLines: opts?.keepLines ?? DEFAULT_CRON_RUN_LOG_KEEP_LINES
|
|
@@ -4513,7 +4514,7 @@ function filterRunLogEntries(entries, opts) {
|
|
|
4513
4514
|
async function readCronRunLogEntriesPage(filePath, opts) {
|
|
4514
4515
|
await drainPendingWrite(filePath);
|
|
4515
4516
|
const limit = Math.max(1, Math.min(200, Math.floor(opts?.limit ?? 50)));
|
|
4516
|
-
const raw = await
|
|
4517
|
+
const raw = await fs$1.readFile(path.resolve(filePath), "utf-8").catch(() => "");
|
|
4517
4518
|
const statuses = normalizeRunStatuses(opts);
|
|
4518
4519
|
const deliveryStatuses = normalizeDeliveryStatuses(opts);
|
|
4519
4520
|
const query = opts?.query?.trim().toLowerCase() ?? "";
|
|
@@ -4549,7 +4550,7 @@ async function readCronRunLogEntriesPageAll(opts) {
|
|
|
4549
4550
|
const query = opts.query?.trim().toLowerCase() ?? "";
|
|
4550
4551
|
const sortDir = opts.sortDir === "asc" ? "asc" : "desc";
|
|
4551
4552
|
const runsDir = path.resolve(path.dirname(path.resolve(opts.storePath)), "runs");
|
|
4552
|
-
const jsonlFiles = (await
|
|
4553
|
+
const jsonlFiles = (await fs$1.readdir(runsDir, { withFileTypes: true }).catch(() => [])).filter((entry) => entry.isFile() && entry.name.endsWith(".jsonl")).map((entry) => path.join(runsDir, entry.name));
|
|
4553
4554
|
if (jsonlFiles.length === 0) return {
|
|
4554
4555
|
entries: [],
|
|
4555
4556
|
total: 0,
|
|
@@ -4560,7 +4561,7 @@ async function readCronRunLogEntriesPageAll(opts) {
|
|
|
4560
4561
|
};
|
|
4561
4562
|
await Promise.all(jsonlFiles.map((f) => drainPendingWrite(f)));
|
|
4562
4563
|
const filtered = filterRunLogEntries((await Promise.all(jsonlFiles.map(async (filePath) => {
|
|
4563
|
-
return parseAllRunLogEntries(await
|
|
4564
|
+
return parseAllRunLogEntries(await fs$1.readFile(filePath, "utf-8").catch(() => ""));
|
|
4564
4565
|
}))).flat(), {
|
|
4565
4566
|
statuses,
|
|
4566
4567
|
deliveryStatuses,
|
|
@@ -9768,7 +9769,7 @@ function resolveAgentWorkspaceFileOrRespondError(params, respond) {
|
|
|
9768
9769
|
}
|
|
9769
9770
|
async function resolveWorkspaceRealPath(workspaceDir) {
|
|
9770
9771
|
try {
|
|
9771
|
-
return await
|
|
9772
|
+
return await fs$1.realpath(workspaceDir);
|
|
9772
9773
|
} catch {
|
|
9773
9774
|
return path.resolve(workspaceDir);
|
|
9774
9775
|
}
|
|
@@ -9792,7 +9793,7 @@ async function resolveAgentWorkspaceFilePath(params) {
|
|
|
9792
9793
|
}
|
|
9793
9794
|
let candidateLstat;
|
|
9794
9795
|
try {
|
|
9795
|
-
candidateLstat = await
|
|
9796
|
+
candidateLstat = await fs$1.lstat(candidatePath);
|
|
9796
9797
|
} catch (err) {
|
|
9797
9798
|
if (isNotFoundPathError(err)) {
|
|
9798
9799
|
if (params.allowMissing) return {
|
|
@@ -9812,7 +9813,7 @@ async function resolveAgentWorkspaceFilePath(params) {
|
|
|
9812
9813
|
if (candidateLstat.isSymbolicLink()) {
|
|
9813
9814
|
let targetReal;
|
|
9814
9815
|
try {
|
|
9815
|
-
targetReal = await
|
|
9816
|
+
targetReal = await fs$1.realpath(candidatePath);
|
|
9816
9817
|
} catch (err) {
|
|
9817
9818
|
if (isNotFoundPathError(err)) {
|
|
9818
9819
|
if (params.allowMissing) return {
|
|
@@ -9831,7 +9832,7 @@ async function resolveAgentWorkspaceFilePath(params) {
|
|
|
9831
9832
|
}
|
|
9832
9833
|
let targetStat;
|
|
9833
9834
|
try {
|
|
9834
|
-
targetStat = await
|
|
9835
|
+
targetStat = await fs$1.stat(targetReal);
|
|
9835
9836
|
} catch (err) {
|
|
9836
9837
|
if (isNotFoundPathError(err)) {
|
|
9837
9838
|
if (params.allowMissing) return {
|
|
@@ -9878,13 +9879,13 @@ async function resolveAgentWorkspaceFilePath(params) {
|
|
|
9878
9879
|
return {
|
|
9879
9880
|
kind: "ready",
|
|
9880
9881
|
requestPath,
|
|
9881
|
-
ioPath: await
|
|
9882
|
+
ioPath: await fs$1.realpath(candidatePath).catch(() => candidatePath),
|
|
9882
9883
|
workspaceReal
|
|
9883
9884
|
};
|
|
9884
9885
|
}
|
|
9885
9886
|
async function statFileSafely(filePath) {
|
|
9886
9887
|
try {
|
|
9887
|
-
const [stat, lstat] = await Promise.all([
|
|
9888
|
+
const [stat, lstat] = await Promise.all([fs$1.stat(filePath), fs$1.lstat(filePath)]);
|
|
9888
9889
|
if (lstat.isSymbolicLink() || !stat.isFile()) return null;
|
|
9889
9890
|
if (stat.nlink > 1) return null;
|
|
9890
9891
|
if (!sameFileIdentity(stat, lstat)) return null;
|
|
@@ -9969,7 +9970,7 @@ function resolveOptionalStringParam(value) {
|
|
|
9969
9970
|
async function moveToTrashBestEffort(pathname) {
|
|
9970
9971
|
if (!pathname) return;
|
|
9971
9972
|
try {
|
|
9972
|
-
await
|
|
9973
|
+
await fs$1.access(pathname);
|
|
9973
9974
|
} catch {
|
|
9974
9975
|
return;
|
|
9975
9976
|
}
|
|
@@ -10045,7 +10046,7 @@ const agentsHandlers = {
|
|
|
10045
10046
|
dir: workspaceDir,
|
|
10046
10047
|
ensureBootstrapFiles: !Boolean(nextConfig.agents?.defaults?.skipBootstrap)
|
|
10047
10048
|
});
|
|
10048
|
-
await
|
|
10049
|
+
await fs$1.mkdir(resolveSessionTranscriptsDirForAgent(agentId), { recursive: true });
|
|
10049
10050
|
await writeConfigFile(nextConfig);
|
|
10050
10051
|
const safeName = sanitizeIdentityLine(rawName);
|
|
10051
10052
|
const emoji = resolveOptionalStringParam(params.emoji);
|
|
@@ -10058,7 +10059,7 @@ const agentsHandlers = {
|
|
|
10058
10059
|
...avatar ? [`- Avatar: ${sanitizeIdentityLine(avatar)}`] : [],
|
|
10059
10060
|
""
|
|
10060
10061
|
];
|
|
10061
|
-
await
|
|
10062
|
+
await fs$1.appendFile(identityPath, lines.join("\n"), "utf-8");
|
|
10062
10063
|
respond(true, {
|
|
10063
10064
|
ok: true,
|
|
10064
10065
|
agentId,
|
|
@@ -10093,9 +10094,9 @@ const agentsHandlers = {
|
|
|
10093
10094
|
});
|
|
10094
10095
|
if (avatar) {
|
|
10095
10096
|
const workspace = workspaceDir ?? resolveAgentWorkspaceDir(nextConfig, agentId);
|
|
10096
|
-
await
|
|
10097
|
+
await fs$1.mkdir(workspace, { recursive: true });
|
|
10097
10098
|
const identityPath = path.join(workspace, DEFAULT_IDENTITY_FILENAME);
|
|
10098
|
-
await
|
|
10099
|
+
await fs$1.appendFile(identityPath, `\n- Avatar: ${sanitizeIdentityLine(avatar)}\n`, "utf-8");
|
|
10099
10100
|
}
|
|
10100
10101
|
respond(true, {
|
|
10101
10102
|
ok: true,
|
|
@@ -10219,7 +10220,7 @@ const agentsHandlers = {
|
|
|
10219
10220
|
const resolved = resolveAgentWorkspaceFileOrRespondError(params, respond);
|
|
10220
10221
|
if (!resolved) return;
|
|
10221
10222
|
const { agentId, workspaceDir, name } = resolved;
|
|
10222
|
-
await
|
|
10223
|
+
await fs$1.mkdir(workspaceDir, { recursive: true });
|
|
10223
10224
|
const filePath = path.join(workspaceDir, name);
|
|
10224
10225
|
const resolvedPath = await resolveWorkspaceFilePathOrRespond({
|
|
10225
10226
|
respond,
|
|
@@ -12512,14 +12513,14 @@ function isRollingLogFile(file) {
|
|
|
12512
12513
|
return ROLLING_LOG_RE.test(path.basename(file));
|
|
12513
12514
|
}
|
|
12514
12515
|
async function resolveLogFile(file) {
|
|
12515
|
-
if (await
|
|
12516
|
+
if (await fs$1.stat(file).catch(() => null)) return file;
|
|
12516
12517
|
if (!isRollingLogFile(file)) return file;
|
|
12517
12518
|
const dir = path.dirname(file);
|
|
12518
|
-
const entries = await
|
|
12519
|
+
const entries = await fs$1.readdir(dir, { withFileTypes: true }).catch(() => null);
|
|
12519
12520
|
if (!entries) return file;
|
|
12520
12521
|
return (await Promise.all(entries.filter((entry) => entry.isFile() && ROLLING_LOG_RE.test(entry.name)).map(async (entry) => {
|
|
12521
12522
|
const fullPath = path.join(dir, entry.name);
|
|
12522
|
-
const fileStat = await
|
|
12523
|
+
const fileStat = await fs$1.stat(fullPath).catch(() => null);
|
|
12523
12524
|
return fileStat ? {
|
|
12524
12525
|
path: fullPath,
|
|
12525
12526
|
mtimeMs: fileStat.mtimeMs
|
|
@@ -12527,7 +12528,7 @@ async function resolveLogFile(file) {
|
|
|
12527
12528
|
}))).filter((entry) => Boolean(entry)).toSorted((a, b) => b.mtimeMs - a.mtimeMs)[0]?.path ?? file;
|
|
12528
12529
|
}
|
|
12529
12530
|
async function readLogSlice(params) {
|
|
12530
|
-
const stat = await
|
|
12531
|
+
const stat = await fs$1.stat(params.file).catch(() => null);
|
|
12531
12532
|
if (!stat) return {
|
|
12532
12533
|
cursor: 0,
|
|
12533
12534
|
size: 0,
|
|
@@ -12565,7 +12566,7 @@ async function readLogSlice(params) {
|
|
|
12565
12566
|
truncated,
|
|
12566
12567
|
reset
|
|
12567
12568
|
};
|
|
12568
|
-
const handle = await
|
|
12569
|
+
const handle = await fs$1.open(params.file, "r");
|
|
12569
12570
|
try {
|
|
12570
12571
|
let prefix = "";
|
|
12571
12572
|
if (start > 0) {
|
|
@@ -13612,7 +13613,7 @@ const nodeHandlers = {
|
|
|
13612
13613
|
const p = params;
|
|
13613
13614
|
const payloadJSON = typeof p.payloadJSON === "string" ? p.payloadJSON : p.payload !== void 0 ? JSON.stringify(p.payload) : null;
|
|
13614
13615
|
await respondUnavailableOnThrow(respond, async () => {
|
|
13615
|
-
const { handleNodeEvent } = await import("./server-node-events-
|
|
13616
|
+
const { handleNodeEvent } = await import("./server-node-events-yFZiE04b.js");
|
|
13616
13617
|
const nodeId = client?.connect?.device?.id ?? client?.connect?.client?.id ?? "node";
|
|
13617
13618
|
await handleNodeEvent({
|
|
13618
13619
|
deps: context.deps,
|
|
@@ -14332,11 +14333,11 @@ async function installLocalMarketSkill(params) {
|
|
|
14332
14333
|
candidatePath: sourceDir,
|
|
14333
14334
|
boundaryLabel: "market templates directory"
|
|
14334
14335
|
});
|
|
14335
|
-
if (!(await
|
|
14336
|
+
if (!(await fs$1.stat(sourceDir)).isDirectory()) return {
|
|
14336
14337
|
ok: false,
|
|
14337
14338
|
message: `Local template "${templateDir}" is not a directory.`
|
|
14338
14339
|
};
|
|
14339
|
-
if (!(await
|
|
14340
|
+
if (!(await fs$1.stat(sourceSkillPath)).isFile()) return {
|
|
14340
14341
|
ok: false,
|
|
14341
14342
|
message: `Local template "${templateDir}" is missing SKILL.md.`
|
|
14342
14343
|
};
|
|
@@ -14350,13 +14351,13 @@ async function installLocalMarketSkill(params) {
|
|
|
14350
14351
|
const workspaceSkillsDir = path.join(workspaceDir, "skills");
|
|
14351
14352
|
const targetDir = path.join(workspaceSkillsDir, templateDir);
|
|
14352
14353
|
try {
|
|
14353
|
-
await
|
|
14354
|
+
await fs$1.mkdir(workspaceSkillsDir, { recursive: true });
|
|
14354
14355
|
await assertCanonicalPathWithinBase({
|
|
14355
14356
|
baseDir: workspaceSkillsDir,
|
|
14356
14357
|
candidatePath: targetDir,
|
|
14357
14358
|
boundaryLabel: "workspace skills directory"
|
|
14358
14359
|
});
|
|
14359
|
-
await
|
|
14360
|
+
await fs$1.cp(sourceDir, targetDir, {
|
|
14360
14361
|
recursive: true,
|
|
14361
14362
|
force: true
|
|
14362
14363
|
});
|
|
@@ -17142,7 +17143,7 @@ function normalizeAgentPayload(payload) {
|
|
|
17142
17143
|
async function startBrowserControlServerIfEnabled() {
|
|
17143
17144
|
if (isTruthyEnvValue(process.env.OPENCLAW_SKIP_BROWSER_CONTROL_SERVER)) return null;
|
|
17144
17145
|
const override = process.env.OPENCLAW_BROWSER_CONTROL_MODULE?.trim();
|
|
17145
|
-
const mod = override ? await import(override) : await import("./server-
|
|
17146
|
+
const mod = override ? await import(override) : await import("./server-Cr92VI8t.js");
|
|
17146
17147
|
const start = typeof mod.startBrowserControlServiceFromConfig === "function" ? mod.startBrowserControlServiceFromConfig : mod.startBrowserControlServerFromConfig;
|
|
17147
17148
|
const stop = typeof mod.stopBrowserControlService === "function" ? mod.stopBrowserControlService : mod.stopBrowserControlServer;
|
|
17148
17149
|
if (!start) return null;
|
|
@@ -17370,7 +17371,7 @@ async function resolveFileWithinRoot(rootReal, urlPath) {
|
|
|
17370
17371
|
if (normalized.endsWith("/")) return await tryOpen(path.posix.join(rel, "index.html"));
|
|
17371
17372
|
const candidate = path.join(rootReal, rel);
|
|
17372
17373
|
try {
|
|
17373
|
-
const st = await
|
|
17374
|
+
const st = await fs$1.lstat(candidate);
|
|
17374
17375
|
if (st.isSymbolicLink()) return null;
|
|
17375
17376
|
if (st.isDirectory()) return await tryOpen(path.posix.join(rel, "index.html"));
|
|
17376
17377
|
} catch {}
|
|
@@ -17407,8 +17408,8 @@ async function resolveA2uiRoot() {
|
|
|
17407
17408
|
for (const dir of candidates) try {
|
|
17408
17409
|
const indexPath = path.join(dir, "index.html");
|
|
17409
17410
|
const bundlePath = path.join(dir, "a2ui.bundle.js");
|
|
17410
|
-
await
|
|
17411
|
-
await
|
|
17411
|
+
await fs$1.stat(indexPath);
|
|
17412
|
+
await fs$1.stat(bundlePath);
|
|
17412
17413
|
return dir;
|
|
17413
17414
|
} catch {}
|
|
17414
17415
|
return null;
|
|
@@ -17417,7 +17418,7 @@ async function resolveA2uiRootReal() {
|
|
|
17417
17418
|
if (cachedA2uiRootReal !== void 0 && (cachedA2uiRootReal !== null || Date.now() - cachedA2uiResolvedAtMs < A2UI_ROOT_RETRY_NULL_AFTER_MS)) return cachedA2uiRootReal;
|
|
17418
17419
|
if (!resolvingA2uiRoot) resolvingA2uiRoot = (async () => {
|
|
17419
17420
|
const root = await resolveA2uiRoot();
|
|
17420
|
-
cachedA2uiRootReal = root ? await
|
|
17421
|
+
cachedA2uiRootReal = root ? await fs$1.realpath(root) : null;
|
|
17421
17422
|
cachedA2uiResolvedAtMs = Date.now();
|
|
17422
17423
|
resolvingA2uiRoot = null;
|
|
17423
17424
|
return cachedA2uiRootReal;
|
|
@@ -17638,13 +17639,13 @@ function normalizeBasePath(rawPath) {
|
|
|
17638
17639
|
}
|
|
17639
17640
|
async function prepareCanvasRoot(rootDir) {
|
|
17640
17641
|
await ensureDir(rootDir);
|
|
17641
|
-
const rootReal = await
|
|
17642
|
+
const rootReal = await fs$1.realpath(rootDir);
|
|
17642
17643
|
try {
|
|
17643
17644
|
const indexPath = path.join(rootReal, "index.html");
|
|
17644
|
-
await
|
|
17645
|
+
await fs$1.stat(indexPath);
|
|
17645
17646
|
} catch {
|
|
17646
17647
|
try {
|
|
17647
|
-
await
|
|
17648
|
+
await fs$1.writeFile(path.join(rootReal, "index.html"), defaultIndexHTML(), "utf8");
|
|
17648
17649
|
} catch {}
|
|
17649
17650
|
}
|
|
17650
17651
|
return rootReal;
|
|
@@ -20651,7 +20652,7 @@ async function resolveGatewayOwnerStatus(pid, payload, platform, port) {
|
|
|
20651
20652
|
}
|
|
20652
20653
|
async function readLockPayload(lockPath) {
|
|
20653
20654
|
try {
|
|
20654
|
-
const raw = await
|
|
20655
|
+
const raw = await fs$1.readFile(lockPath, "utf8");
|
|
20655
20656
|
const parsed = JSON.parse(raw);
|
|
20656
20657
|
if (typeof parsed.pid !== "number") return null;
|
|
20657
20658
|
if (typeof parsed.createdAt !== "string") return null;
|
|
@@ -20686,11 +20687,11 @@ async function acquireGatewayLock(opts = {}) {
|
|
|
20686
20687
|
const platform = opts.platform ?? process.platform;
|
|
20687
20688
|
const port = opts.port;
|
|
20688
20689
|
const { lockPath, configPath } = resolveGatewayLockPath(env);
|
|
20689
|
-
await
|
|
20690
|
+
await fs$1.mkdir(path.dirname(lockPath), { recursive: true });
|
|
20690
20691
|
const startedAt = Date.now();
|
|
20691
20692
|
let lastPayload = null;
|
|
20692
20693
|
while (Date.now() - startedAt < timeoutMs) try {
|
|
20693
|
-
const handle = await
|
|
20694
|
+
const handle = await fs$1.open(lockPath, "wx");
|
|
20694
20695
|
const startTime = platform === "linux" ? readLinuxStartTime(process.pid) : null;
|
|
20695
20696
|
const payload = {
|
|
20696
20697
|
pid: process.pid,
|
|
@@ -20704,7 +20705,7 @@ async function acquireGatewayLock(opts = {}) {
|
|
|
20704
20705
|
configPath,
|
|
20705
20706
|
release: async () => {
|
|
20706
20707
|
await handle.close().catch(() => void 0);
|
|
20707
|
-
await
|
|
20708
|
+
await fs$1.rm(lockPath, { force: true });
|
|
20708
20709
|
}
|
|
20709
20710
|
};
|
|
20710
20711
|
} catch (err) {
|
|
@@ -20713,7 +20714,7 @@ async function acquireGatewayLock(opts = {}) {
|
|
|
20713
20714
|
const ownerPid = lastPayload?.pid;
|
|
20714
20715
|
const ownerStatus = ownerPid ? await resolveGatewayOwnerStatus(ownerPid, lastPayload, platform, port) : "unknown";
|
|
20715
20716
|
if (ownerStatus === "dead" && ownerPid) {
|
|
20716
|
-
await
|
|
20717
|
+
await fs$1.rm(lockPath, { force: true });
|
|
20717
20718
|
continue;
|
|
20718
20719
|
}
|
|
20719
20720
|
if (ownerStatus !== "alive") {
|
|
@@ -20723,13 +20724,13 @@ async function acquireGatewayLock(opts = {}) {
|
|
|
20723
20724
|
stale = Number.isFinite(createdAt) ? Date.now() - createdAt > staleMs : false;
|
|
20724
20725
|
}
|
|
20725
20726
|
if (!stale) try {
|
|
20726
|
-
const st = await
|
|
20727
|
+
const st = await fs$1.stat(lockPath);
|
|
20727
20728
|
stale = Date.now() - st.mtimeMs > staleMs;
|
|
20728
20729
|
} catch {
|
|
20729
20730
|
stale = false;
|
|
20730
20731
|
}
|
|
20731
20732
|
if (stale) {
|
|
20732
|
-
await
|
|
20733
|
+
await fs$1.rm(lockPath, { force: true });
|
|
20733
20734
|
continue;
|
|
20734
20735
|
}
|
|
20735
20736
|
}
|
|
@@ -23039,7 +23040,7 @@ async function startGatewayServer(port = 18789, opts = {}) {
|
|
|
23039
23040
|
if (!minimalTestGateway) cron.start().catch((err) => logCron.error(`failed to start: ${String(err)}`));
|
|
23040
23041
|
if (!minimalTestGateway) (async () => {
|
|
23041
23042
|
const { recoverPendingDeliveries } = await import("./delivery-queue-DhqwvOP8.js").then((n) => n.n);
|
|
23042
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
23043
|
+
const { deliverOutboundPayloads } = await import("./deliver-Df8pSQk6.js").then((n) => n.n);
|
|
23043
23044
|
await recoverPendingDeliveries({
|
|
23044
23045
|
deliver: deliverOutboundPayloads,
|
|
23045
23046
|
log: log.child("delivery-recovery"),
|