openclaw-cortex 3.0.1 → 3.0.3
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-B3MIBUxY.js → accounts-6btx_LVr.js} +14 -14
- package/dist/{accounts-X5YWm9b7.js → accounts-BOYxuJ9C.js} +1 -1
- package/dist/{accounts-Doecg-Pe.js → accounts-Cg6z7lKw.js} +1 -1
- package/dist/{active-listener-DI-5r3l7.js → active-listener-BhL5jMd9.js} +1 -1
- package/dist/{agent-scope-DgSbJ6PA.js → agent-scope-BLYwrEEA.js} +3 -3
- package/dist/{audio-preflight-CketII1D.js → audio-preflight-CJMYPxgz.js} +4 -4
- package/dist/{audio-preflight-EwgV_X7F.js → audio-preflight-DrLN-6C1.js} +30 -30
- package/dist/{bindings-ZzFXeSUF.js → bindings-DWtXcdc8.js} +2 -2
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +53 -53
- package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
- package/dist/bundled/command-logger/handler.js +1 -1
- package/dist/bundled/session-memory/handler.js +53 -53
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity-By7mU0Ld.js → channel-activity-LT3oBvO7.js} +1 -1
- package/dist/{chrome-BwkFC1Kp.js → chrome-DBmAGMTR.js} +20 -20
- package/dist/{chrome-7PNldBIY.js → chrome-jiKls1lm.js} +7 -7
- package/dist/{chunk-DoTNWpve.js → chunk-TRVny4T1.js} +1 -1
- package/dist/{command-format--87BbJbN.js → command-format-D1Crrvey.js} +1 -1
- package/dist/{command-registry-CKl3i1dn.js → command-registry-D82LWaRr.js} +4 -4
- package/dist/{commands-registry-C1TEcrP2.js → commands-registry-B6FYKIxi.js} +3 -3
- package/dist/{plugin-sdk/common-CJo4CK5_.js → common-y9ALHdVZ.js} +2 -2
- package/dist/{completion-cli-D9M167hh.js → completion-cli-C1r90Nrk.js} +1 -1
- package/dist/{completion-cli-DWbOrNO2.js → completion-cli-DPioCNYq.js} +2 -2
- package/dist/{config-DnorUs_i.js → config-qfEsodS7.js} +12 -12
- package/dist/control-ui/_app/immutable/chunks/{Dj6tWyD-.js → -WaG6-Wa.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{B8HoIBa6.js → 5eXlR5OL.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{OqlKjpfM.js → B8DrosHE.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{BocS-uwo.js → BBXALFLP.js} +3 -3
- package/dist/control-ui/_app/immutable/chunks/{X-E-wRlP.js → BEwWGCvZ.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{BhtVncI_.js → BLtDog0v.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{DVEflJCB.js → BQJCZmRh.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{vBxFu2GM.js → BSVakDDW.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/BZPuz03W.js +1 -0
- package/dist/control-ui/_app/immutable/chunks/{8sVJ3pgr.js → Ba7JwTQm.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{CgeCLzn1.js → Bae3KkPP.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{-b0Q_QBa.js → Bh6lEBNv.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{BdTFhrHG.js → BhXAsS8g.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{Cy9J7_9T.js → BrxfYBSP.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{UR4DV3hi.js → BsUBloFL.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{Bqq0fCUn.js → BsZ_uYnn.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{9SZhwvK0.js → C--qzJ6W.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{D4282KIs.js → C-JVM0la.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{Duq46cRv.js → C7KVOWgV.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{BH-jV9iA.js → C7m1KhrR.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{CtBXH4Dd.js → C8PuvvjP.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{giHw3ym1.js → C9VLzrYr.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{CduS0XRA.js → CHTlfT2F.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{DgYPOa8E.js → CLY1rHgs.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{B17J7L81.js → CPgEtRZT.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{BqJ-mFLn.js → CVAw3cDG.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{B9SC_jjC.js → CVZCvD9s.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{LmLbPTz2.js → C_LuOpHS.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/CbL4AD8o.js +1 -0
- package/dist/control-ui/_app/immutable/chunks/{BCj3dr9H.js → CgWI5Oik.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{tMgN0hpT.js → CiyAy8dp.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{BXILuhuG.js → CkF797NI.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{Dg6LpIYP.js → CrremO5S.js} +4 -4
- package/dist/control-ui/_app/immutable/chunks/{YYSXb5XV.js → CseiHJK5.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{BQThDSlf.js → CxBb1Xul.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{D374cbd4.js → DCXXFcx5.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{D5RXhj7J.js → DJjlYUoC.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{eejBr3e5.js → DMY-Nl0I.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{D_9uFAU4.js → DRZM4rH8.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{kg_bi-Xy.js → DVy-_nYK.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{Ae3Dp1ab.js → DZsBL6ln.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{BD82r6qT.js → DnRi7lHs.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{CB9985Nn.js → Dt5mMewg.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{CGR62pw0.js → DtDnO4qq.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{C1MwqfJi.js → Du2cKiDo.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{C_e8KYob.js → DwPRscxf.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{tr5b7CMr.js → SHB02qEx.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{CyMYiLoa.js → Tfaq1PK1.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/TuMlQKbB.js +5 -0
- package/dist/control-ui/_app/immutable/chunks/{Cm1fG3bI.js → aXQqHONi.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{By8LBh45.js → dQY-7VfC.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{CGz_QUNI.js → kbQmmJpo.js} +1 -1
- package/dist/control-ui/_app/immutable/entry/{app.gjdkTR50.js → app.Cyu356mA.js} +2 -2
- package/dist/control-ui/_app/immutable/entry/start.CjGQB-0l.js +1 -0
- package/dist/control-ui/_app/immutable/nodes/{0.DZBLEJTo.js → 0.EBH6_Ud6.js} +7 -7
- package/dist/control-ui/_app/immutable/nodes/{1.El_L1H2f.js → 1.CrXLLMV6.js} +1 -1
- package/dist/control-ui/_app/immutable/nodes/{10.BuHCBw2C.js → 10.CFP8x2TH.js} +1 -1
- package/dist/control-ui/_app/immutable/nodes/{11.DaM8Z72M.js → 11.Sd6L6Nq2.js} +1 -1
- package/dist/control-ui/_app/immutable/nodes/{12.DctBvrnI.js → 12.tVVXkjFh.js} +1 -1
- package/dist/control-ui/_app/immutable/nodes/{13.CFlpuIKq.js → 13.D93_LX58.js} +1 -1
- package/dist/control-ui/_app/immutable/nodes/{14.ApTZ29I1.js → 14.DLNHet27.js} +1 -1
- package/dist/control-ui/_app/immutable/nodes/{15.Bv1kE6xT.js → 15.CIr4ejir.js} +5 -5
- package/dist/control-ui/_app/immutable/nodes/{16.CPH_dMUA.js → 16.QX2ielYQ.js} +1 -1
- package/dist/control-ui/_app/immutable/nodes/{17.Gpl84s2Y.js → 17.6qOW3iFE.js} +1 -1
- package/dist/control-ui/_app/immutable/nodes/2.BTwPpsUd.js +1 -0
- package/dist/control-ui/_app/immutable/nodes/{3.om6ap7s5.js → 3.CJTqvGaW.js} +1 -1
- package/dist/control-ui/_app/immutable/nodes/{4.C7I3arj2.js → 4.Dz3JH-PB.js} +1 -1
- package/dist/control-ui/_app/immutable/nodes/{5.PRkSVQb-.js → 5._XvLegf_.js} +1 -1
- package/dist/control-ui/_app/immutable/nodes/{6.DXFMFV_g.js → 6.B2G6IFSu.js} +1 -1
- package/dist/control-ui/_app/immutable/nodes/{7.pxR8f42V.js → 7.C7FQ9bAP.js} +1 -1
- package/dist/control-ui/_app/immutable/nodes/{8.BjB_sfx0.js → 8.B5aVfCJN.js} +1 -1
- package/dist/control-ui/_app/immutable/nodes/{9.M8OWsIew.js → 9.DFhiU3G3.js} +1 -1
- package/dist/control-ui/_app/version.json +1 -1
- package/dist/control-ui/index.html +6 -6
- package/dist/control-ui/sw.js +28 -30
- package/dist/{deliver-CFSxoz2_.js → deliver-DXKF_Nu0.js} +1 -1
- package/dist/{deliver-DotE8uPe.js → deliver-miQ_b14_.js} +20 -20
- package/dist/{diagnostic-D8zLma7p.js → diagnostic-CoT2YQH4.js} +1 -1
- package/dist/{doctor-completion-C45zyyLh.js → doctor-completion-DhpniKWm.js} +1 -1
- package/dist/{doctor-completion-B18Bypvd.js → doctor-completion-fRx0enfv.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +6 -6
- package/dist/{frontmatter-D07uaEbx.js → frontmatter-BT4H5SZG.js} +2 -2
- package/dist/{fs-safe-DD7nl1O-.js → fs-safe-B8-WkEXM.js} +1 -1
- package/dist/{gateway-cli-C9P1VKyA.js → gateway-cli-0_ycakyp.js} +6 -8
- package/dist/{gateway-cli-Cy10TRa_.js → gateway-cli-CJohs14T.js} +6 -8
- package/dist/{gemini-auth-prEOLMZr.js → gemini-auth-B32PFjFy.js} +1 -1
- package/dist/{github-copilot-token-Bu5FPDAY.js → github-copilot-token-BQ98eazZ.js} +7 -7
- package/dist/{image-D-wXbQEl.js → image-Bnzq6Ut_.js} +4 -4
- package/dist/{image-DafeVSso.js → image-DChVqMFC.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{ir-D4AIeS28.js → ir-CRTCIHIG.js} +4 -4
- package/dist/llm-slug-generator.js +53 -53
- package/dist/{local-roots-B9HIz81e.js → local-roots-tMzVEQD2.js} +5 -5
- package/dist/{login-CHBdSags.js → login-DGwFcNWz.js} +7 -7
- package/dist/{login-qr-Ch834jRc.js → login-qr-IWLbGrDP.js} +12 -12
- package/dist/{manager-B8MDZuUH.js → manager-KxfmY55A.js} +13 -13
- package/dist/{manifest-registry-CpMEl7vN.js → manifest-registry-Dovhiqzt.js} +19 -19
- package/dist/{markdown-tables-1wSxjPR8.js → markdown-tables-DO9qAEKa.js} +1 -1
- package/dist/{message-channel-CW_Jr8qx.js → message-channel-BDlvrUZF.js} +1 -1
- package/dist/{model-auth-BlsavKKY.js → model-auth-Dm1uOof6.js} +9 -9
- package/dist/{normalize-DsdAOxp0.js → normalize-D5KCCgTX.js} +9 -9
- package/dist/{onboard-BO-10joL.js → onboard-5rjiYkS9.js} +1 -1
- package/dist/{onboard-CoGGGg5K.js → onboard-CqSt7u8D.js} +1 -1
- package/dist/{onboarding-CiOMo5_c.js → onboarding-CIYktbwg.js} +1 -1
- package/dist/{onboarding-EMqX1DQj.js → onboarding-WJQtWazg.js} +1 -1
- package/dist/{onboarding.finalize-BkqY37UR.js → onboarding.finalize-DC7D8bBE.js} +4 -4
- package/dist/{onboarding.finalize-D-8iuvnX.js → onboarding.finalize-Z7sroef4.js} +3 -3
- package/dist/{outbound-BI27cc0j.js → outbound-CthSjSDV.js} +7 -7
- package/dist/{outbound-attachment-Ba6Ea-zP.js → outbound-attachment-BChLBLPg.js} +2 -2
- package/dist/{paths-CkkDESQ2.js → paths-CyR9Pa1R.js} +5 -5
- package/dist/{paths-B4zRLe0K.js → paths-gnW-md4M.js} +1 -1
- package/dist/{pi-auth-json-gQa8k4FW.js → pi-auth-json-mTixxeol.js} +8 -8
- package/dist/{pi-embedded-DzV18Sl5.js → pi-embedded-D0HD9Cfc.js} +158 -158
- package/dist/{pi-embedded-Ig1YOX5t.js → pi-embedded-DPsT4Vb4.js} +16 -16
- package/dist/{pi-embedded-helpers-C-3FQnQz.js → pi-embedded-helpers--8pQ_5Ix.js} +4 -4
- package/dist/{pi-embedded-helpers-B4V6-8TA.js → pi-embedded-helpers-f1wpGfIT.js} +52 -52
- package/dist/plugin-sdk/{accounts-vV5Gfd26.js → accounts-CRs7kbLB.js} +1 -1
- package/dist/plugin-sdk/{accounts-iN-dbgw4.js → accounts-b1Cok6r_.js} +3 -3
- package/dist/plugin-sdk/{accounts-LxMkgia0.js → accounts-uAqOguyH.js} +1 -1
- package/dist/plugin-sdk/{active-listener-Bh0LXjEI.js → active-listener-BdVTYHTN.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-BS_vck4W.js → agent-scope-OWMdRegz.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-LkecAWT_.js → api-key-rotation-DedcgBOR.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-Bs1SkEb1.js → audio-preflight-EYVIo5wC.js} +25 -25
- package/dist/plugin-sdk/{bindings-CTCkMENc.js → bindings-LROfNV1W.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-PV3vhwo2.js → channel-activity-DHI8R5Xg.js} +1 -1
- package/dist/plugin-sdk/{channel-web-C1Hsjdgf.js → channel-web-CGp1_ZH4.js} +22 -22
- package/dist/plugin-sdk/{chrome-cWvSiZw3.js → chrome-BS8LYp6z.js} +3 -3
- package/dist/plugin-sdk/{chunk-CyOBR4uk.js → chunk-C9J4kyVw.js} +1 -1
- package/dist/plugin-sdk/{command-format-C5kdEGEu.js → command-format-BTciq6Gg.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-Bvksrm0n.js → commands-registry-pHxVP_Zd.js} +3 -3
- package/dist/{common-B7QyEEac.js → plugin-sdk/common-CCPGi5xr.js} +2 -2
- package/dist/plugin-sdk/{config-B8Nc1zrG.js → config-DemNgb7Z.js} +9 -9
- package/dist/plugin-sdk/{deliver-Dut_1pt2.js → deliver-BCvqh6o3.js} +10 -10
- package/dist/plugin-sdk/{diagnostic-DFXnVf2I.js → diagnostic-oBxO5N68.js} +1 -1
- package/dist/plugin-sdk/{fs-safe-CdpuSWry.js → fs-safe-CGcLaY9D.js} +1 -1
- package/dist/plugin-sdk/{image-B3tSrFDE.js → image-BHSeZfna.js} +4 -4
- package/dist/plugin-sdk/index.js +52 -52
- package/dist/plugin-sdk/{ir-05vuco_v.js → ir-JSGKj1e6.js} +4 -4
- package/dist/plugin-sdk/{local-roots-DlmKIABh.js → local-roots-jpNoUngc.js} +3 -3
- package/dist/plugin-sdk/{login-_t6d0RBi.js → login-Ckh0Yz4j.js} +7 -7
- package/dist/plugin-sdk/{login-qr-Czq6nBnB.js → login-qr-DRY27T-V.js} +9 -9
- package/dist/plugin-sdk/{manager-DEOMAxd_.js → manager-B9XMF8DU.js} +8 -8
- package/dist/plugin-sdk/{manifest-registry-BgkX6ON4.js → manifest-registry-Lzj-fZNH.js} +1 -1
- package/dist/plugin-sdk/{markdown-tables-FF81O4MP.js → markdown-tables-CgnPuqk-.js} +1 -1
- package/dist/plugin-sdk/{message-channel-DxNExIdv.js → message-channel-C3OrO29D.js} +1 -1
- package/dist/plugin-sdk/{model-selection-Bj-E4zbc.js → model-selection-BQiSfqzh.js} +4 -4
- package/dist/plugin-sdk/{normalize-DWmWs1Oq.js → normalize-raRH8X3d.js} +4 -4
- package/dist/plugin-sdk/{outbound-D2-05wUl.js → outbound-CtRrsxZT.js} +7 -7
- package/dist/plugin-sdk/{outbound-attachment-DmbQx_Vk.js → outbound-attachment-BD9q-xgD.js} +2 -2
- package/dist/plugin-sdk/{pi-auth-json-D-qvsSpX.js → pi-auth-json-BlIDGSl5.js} +5 -5
- package/dist/plugin-sdk/{pi-embedded-helpers-C1u6XyK5.js → pi-embedded-helpers-0qu1zxwF.js} +17 -17
- package/dist/plugin-sdk/{plugins-0PB0IWJL.js → plugins-BJciHbYr.js} +3 -3
- package/dist/plugin-sdk/{pw-ai-BIyeKPJF.js → pw-ai-DkUDisr8.js} +8 -8
- package/dist/plugin-sdk/{qmd-manager-DeQxerRp.js → qmd-manager-kPD4Wyie.js} +4 -4
- package/dist/plugin-sdk/{registry-BECEtj9n.js → registry-C8pj8ctW.js} +2 -2
- package/dist/plugin-sdk/{replies-DnGHvUeV.js → replies-0BFlZXJ5.js} +3 -3
- package/dist/plugin-sdk/{reply-Due6Dl-a.js → reply-BUzGHOJ7.js} +78 -78
- package/dist/plugin-sdk/{reply-prefix-UgReuQSG.js → reply-prefix-YUOHz1rF.js} +1 -1
- package/dist/plugin-sdk/{resolve-route-BaFHJbum.js → resolve-route-DudlMKs4.js} +3 -3
- package/dist/plugin-sdk/{retry-Bkj1k1me.js → retry-B8Oq5mgi.js} +1 -1
- package/dist/plugin-sdk/{runner-Bq1wBell.js → runner-BkD3LLSl.js} +9 -9
- package/dist/plugin-sdk/{send-MrY4gJ_w.js → send-9i1KJYhJ.js} +7 -7
- package/dist/plugin-sdk/{send-D4HKCCvV.js → send-A_uouj00.js} +7 -7
- package/dist/plugin-sdk/{send-By-dm-fT.js → send-CpfmIaxP.js} +11 -11
- package/dist/plugin-sdk/{send-NUKqMNZh.js → send-DREpPboJ.js} +6 -6
- package/dist/plugin-sdk/{send-M99nJHP9.js → send-Di1hHvf2.js} +11 -11
- package/dist/plugin-sdk/{session-DGLRioDC.js → session-CpS-Mhnp.js} +4 -4
- package/dist/plugin-sdk/{skill-commands-Cw-IRPUz.js → skill-commands-CTB7AZXn.js} +5 -5
- package/dist/plugin-sdk/{skills-D0-IpJne.js → skills-BCD1hFBZ.js} +7 -7
- package/dist/plugin-sdk/{sqlite-DtIiUWZr.js → sqlite-Yn48izJ_.js} +1 -1
- package/dist/plugin-sdk/{store-BcTI1iBS.js → store-BJRhX9Bi.js} +2 -2
- package/dist/plugin-sdk/{subsystem-Ck27y_6W.js → subsystem-BfLMZ8kW.js} +1 -1
- package/dist/plugin-sdk/{tables-B6ajREI6.js → tables-D5aPNTF6.js} +1 -1
- package/dist/plugin-sdk/{thinking-D81fexfE.js → thinking-BACprzA0.js} +5 -5
- package/dist/plugin-sdk/{tokens-B6GWdF_0.js → tokens-D1LxPszt.js} +1 -1
- package/dist/plugin-sdk/{tool-loop-detection-CbPwu1_R.js → tool-loop-detection-CYSptBsl.js} +2 -2
- package/dist/plugin-sdk/web-DNugKZLo.js +65 -0
- package/dist/plugin-sdk/{whatsapp-actions-B8IYO5sc.js → whatsapp-actions-CGuheX42.js} +20 -20
- package/dist/{plugins-CLJ0iOl0.js → plugins-CJYXNO4s.js} +1 -1
- package/dist/{program-DWc2vj5U.js → program-DShibMGY.js} +2 -2
- package/dist/{program-context-g9Bf7H9y.js → program-context-D9asDBqu.js} +6 -6
- package/dist/{prompt-select-styled-dUrAqGxZ.js → prompt-select-styled-DCNKc8Jv.js} +1 -1
- package/dist/{prompt-select-styled-Dq1G221I.js → prompt-select-styled-ca2X5yAy.js} +1 -1
- package/dist/{pw-ai-Db7y7La-.js → pw-ai-BJE3mkCf.js} +11 -11
- package/dist/{pw-ai-CNp2t_EO.js → pw-ai-D6PxL0UG.js} +1 -1
- package/dist/{qmd-manager-3KfZrilm.js → qmd-manager-4-VYqNeC.js} +7 -7
- package/dist/{register.maintenance-BQlKe9JQ.js → register.maintenance-5rJ9wTWH.js} +4 -4
- package/dist/{register.maintenance-BXCIyC2q.js → register.maintenance-za-PEn5C.js} +5 -5
- package/dist/{register.onboard-BjMshgZ4.js → register.onboard-C9qYHx42.js} +2 -2
- package/dist/{register.onboard-XjRFAaX-.js → register.onboard-D54Cc4KC.js} +2 -2
- package/dist/{register.setup-C3aOJ-9J.js → register.setup-D5P7KrfP.js} +2 -2
- package/dist/{register.setup-D9k8Eyg7.js → register.setup-v5rR-FiC.js} +2 -2
- package/dist/{register.subclis-DpCWe0ca.js → register.subclis-CMThmpuD.js} +3 -3
- package/dist/{registry-CXBAJGac.js → registry-BmY4gNy6.js} +17 -17
- package/dist/{replies-C3QP8Fs6.js → replies-BJH3pQXJ.js} +3 -3
- package/dist/{reply-prefix-DhPco1Lk.js → reply-prefix-BaCBHwi7.js} +1 -1
- package/dist/{resolve-route-BQouUsWd.js → resolve-route-ClURVRZM.js} +4 -4
- package/dist/{retry-BwVcNQB0.js → retry-BxB_D6Pn.js} +1 -1
- package/dist/{run-main-BRe5c6iW.js → run-main-Bzchv5w8.js} +3 -3
- package/dist/{runner-cxIcSp2C.js → runner-BmfMAciA.js} +9 -9
- package/dist/{runner-BN1T_Ne4.js → runner-CRUcM4a1.js} +1 -1
- package/dist/{send-DNUVC_tJ.js → send-B6BrpfcR.js} +7 -7
- package/dist/{send-ByKJYHWg.js → send-BNdapfcg.js} +19 -19
- package/dist/{send-CPUILfmc.js → send-C1F31aYA.js} +6 -6
- package/dist/{send-3ea6pkzH.js → send-D6tzL2Tv.js} +10 -10
- package/dist/{send-2sCLgOVr.js → send-DvBDdcQr.js} +6 -6
- package/dist/{session-C0_85REJ.js → session-BH5NTora.js} +8 -8
- package/dist/{skill-commands-IxgOIsIT.js → skill-commands-DVss6_wi.js} +9 -9
- package/dist/{skills-CwAZv64I.js → skills-Ci_2Mah4.js} +21 -21
- package/dist/{sqlite-BY19hYgD.js → sqlite-DJh2xLr6.js} +4 -4
- package/dist/{store-CDqpQLub.js → store-Be0QxLPZ.js} +2 -2
- package/dist/{subsystem-BFaeHXzD.js → subsystem-B5g771Td.js} +1 -1
- package/dist/{tables-z72GfOJY.js → tables-xDr7OSBa.js} +1 -1
- package/dist/{thinking-BzWAkN2b.js → thinking-wiChP3LK.js} +5 -5
- package/dist/{tokens-CC-Nd7t2.js → tokens-BRx7o_ZS.js} +1 -1
- package/dist/{tool-loop-detection-DDnbw1kC.js → tool-loop-detection-BjQsVGUc.js} +3 -3
- package/dist/{update-cli-Cnm99-Cj.js → update-cli-BT2KxdtU.js} +5 -5
- package/dist/{update-cli-3URF877J.js → update-cli-miNRN0fB.js} +4 -4
- package/dist/{web-CXDGlE3A.js → web-C0-NYLoG.js} +57 -57
- package/dist/{web-ComVBhjb.js → web-QGqe0Uj4.js} +6 -6
- package/dist/{whatsapp-actions-CLGSXEPl.js → whatsapp-actions-CgowK4CW.js} +23 -23
- package/dist/{workspace-CGgFZdqw.js → workspace-D9IzNnST.js} +6 -6
- package/package.json +1 -1
- package/dist/control-ui/_app/immutable/chunks/BXjfcUYQ.js +0 -1
- package/dist/control-ui/_app/immutable/chunks/C3MEsV6-.js +0 -1
- package/dist/control-ui/_app/immutable/chunks/jyaC7jQ0.js +0 -5
- package/dist/control-ui/_app/immutable/entry/start.B5atPhn7.js +0 -1
- package/dist/control-ui/_app/immutable/nodes/2.Zm6j08A_.js +0 -1
- package/dist/plugin-sdk/web-BfmMxgKj.js +0 -65
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { S as CONFIG_DIR } from "./registry-
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
3
|
-
import { n as loadConfig } from "./config-
|
|
1
|
+
import { S as CONFIG_DIR } from "./registry-BmY4gNy6.js";
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-B5g771Td.js";
|
|
3
|
+
import { n as loadConfig } from "./config-qfEsodS7.js";
|
|
4
4
|
import { i as isErrno } from "./errors-3KjSwJLH.js";
|
|
5
5
|
import { a as resolvePinnedHostnameWithPolicy } from "./ssrf-B8OrDkCk.js";
|
|
6
6
|
import fs from "node:fs/promises";
|
|
7
7
|
import os from "node:os";
|
|
8
8
|
import path from "node:path";
|
|
9
|
-
import
|
|
9
|
+
import fs$1 from "node:fs";
|
|
10
10
|
import { execFileSync, spawn } from "node:child_process";
|
|
11
11
|
import net from "node:net";
|
|
12
12
|
import { createServer } from "node:http";
|
|
13
|
-
import WebSocket
|
|
13
|
+
import WebSocket, { WebSocketServer } from "ws";
|
|
14
14
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
15
15
|
|
|
16
16
|
//#region src/browser/constants.ts
|
|
@@ -178,7 +178,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
178
178
|
let nextExtensionId = 1;
|
|
179
179
|
const sendToExtension = async (payload) => {
|
|
180
180
|
const ws = extensionWs;
|
|
181
|
-
if (!ws || ws.readyState !== WebSocket
|
|
181
|
+
if (!ws || ws.readyState !== WebSocket.OPEN) throw new Error("Chrome extension not connected");
|
|
182
182
|
ws.send(JSON.stringify(payload));
|
|
183
183
|
return await new Promise((resolve, reject) => {
|
|
184
184
|
const timer = setTimeout(() => {
|
|
@@ -195,12 +195,12 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
195
195
|
const broadcastToCdpClients = (evt) => {
|
|
196
196
|
const msg = JSON.stringify(evt);
|
|
197
197
|
for (const ws of cdpClients) {
|
|
198
|
-
if (ws.readyState !== WebSocket
|
|
198
|
+
if (ws.readyState !== WebSocket.OPEN) continue;
|
|
199
199
|
ws.send(msg);
|
|
200
200
|
}
|
|
201
201
|
};
|
|
202
202
|
const sendResponseToCdp = (ws, res) => {
|
|
203
|
-
if (ws.readyState !== WebSocket
|
|
203
|
+
if (ws.readyState !== WebSocket.OPEN) return;
|
|
204
204
|
ws.send(JSON.stringify(res));
|
|
205
205
|
};
|
|
206
206
|
const ensureTargetEventsForClient = (ws, mode) => {
|
|
@@ -425,7 +425,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
425
425
|
wssExtension.on("connection", (ws) => {
|
|
426
426
|
extensionWs = ws;
|
|
427
427
|
const ping = setInterval(() => {
|
|
428
|
-
if (ws.readyState !== WebSocket
|
|
428
|
+
if (ws.readyState !== WebSocket.OPEN) return;
|
|
429
429
|
ws.send(JSON.stringify({ method: "ping" }));
|
|
430
430
|
}, 5e3);
|
|
431
431
|
ws.on("message", (data) => {
|
|
@@ -743,7 +743,7 @@ async function fetchOk(url, timeoutMs = 1500, init) {
|
|
|
743
743
|
}
|
|
744
744
|
async function withCdpSocket(wsUrl, fn, opts) {
|
|
745
745
|
const headers = getHeadersWithAuth(wsUrl, opts?.headers ?? {});
|
|
746
|
-
const ws = new WebSocket
|
|
746
|
+
const ws = new WebSocket(wsUrl, {
|
|
747
747
|
handshakeTimeout: typeof opts?.handshakeTimeoutMs === "number" && Number.isFinite(opts.handshakeTimeoutMs) ? Math.max(1, Math.floor(opts.handshakeTimeoutMs)) : 5e3,
|
|
748
748
|
...Object.keys(headers).length ? { headers } : {}
|
|
749
749
|
});
|
|
@@ -1000,7 +1000,7 @@ const CHROMIUM_EXE_NAMES = new Set([
|
|
|
1000
1000
|
]);
|
|
1001
1001
|
function exists$1(filePath) {
|
|
1002
1002
|
try {
|
|
1003
|
-
return
|
|
1003
|
+
return fs$1.existsSync(filePath);
|
|
1004
1004
|
} catch {
|
|
1005
1005
|
return false;
|
|
1006
1006
|
}
|
|
@@ -1143,7 +1143,7 @@ function findDesktopFilePath(desktopId) {
|
|
|
1143
1143
|
}
|
|
1144
1144
|
function readDesktopExecLine(desktopPath) {
|
|
1145
1145
|
try {
|
|
1146
|
-
const lines =
|
|
1146
|
+
const lines = fs$1.readFileSync(desktopPath, "utf8").split(/\r?\n/);
|
|
1147
1147
|
for (const line of lines) if (line.startsWith("Exec=")) return line.slice(5).trim();
|
|
1148
1148
|
} catch {}
|
|
1149
1149
|
return null;
|
|
@@ -1430,8 +1430,8 @@ function decoratedMarkerPath(userDataDir) {
|
|
|
1430
1430
|
}
|
|
1431
1431
|
function safeReadJson(filePath) {
|
|
1432
1432
|
try {
|
|
1433
|
-
if (!
|
|
1434
|
-
const raw =
|
|
1433
|
+
if (!fs$1.existsSync(filePath)) return null;
|
|
1434
|
+
const raw = fs$1.readFileSync(filePath, "utf-8");
|
|
1435
1435
|
const parsed = JSON.parse(raw);
|
|
1436
1436
|
if (typeof parsed !== "object" || parsed === null || Array.isArray(parsed)) return null;
|
|
1437
1437
|
return parsed;
|
|
@@ -1440,8 +1440,8 @@ function safeReadJson(filePath) {
|
|
|
1440
1440
|
}
|
|
1441
1441
|
}
|
|
1442
1442
|
function safeWriteJson(filePath, data) {
|
|
1443
|
-
|
|
1444
|
-
|
|
1443
|
+
fs$1.mkdirSync(path.dirname(filePath), { recursive: true });
|
|
1444
|
+
fs$1.writeFileSync(filePath, JSON.stringify(data, null, 2));
|
|
1445
1445
|
}
|
|
1446
1446
|
function setDeep(obj, keys, value) {
|
|
1447
1447
|
let node = obj;
|
|
@@ -1568,7 +1568,7 @@ function decorateOpenClawProfile(userDataDir, opts) {
|
|
|
1568
1568
|
}
|
|
1569
1569
|
safeWriteJson(preferencesPath, prefs);
|
|
1570
1570
|
try {
|
|
1571
|
-
|
|
1571
|
+
fs$1.writeFileSync(decoratedMarkerPath(userDataDir), `${Date.now()}\n`, "utf-8");
|
|
1572
1572
|
} catch {}
|
|
1573
1573
|
}
|
|
1574
1574
|
function ensureProfileCleanExit(userDataDir) {
|
|
@@ -1584,7 +1584,7 @@ function ensureProfileCleanExit(userDataDir) {
|
|
|
1584
1584
|
const log = createSubsystemLogger("browser").child("chrome");
|
|
1585
1585
|
function exists(filePath) {
|
|
1586
1586
|
try {
|
|
1587
|
-
return
|
|
1587
|
+
return fs$1.existsSync(filePath);
|
|
1588
1588
|
} catch {
|
|
1589
1589
|
return false;
|
|
1590
1590
|
}
|
|
@@ -1630,7 +1630,7 @@ async function getChromeWebSocketUrl(cdpUrl, timeoutMs = 500) {
|
|
|
1630
1630
|
async function canOpenWebSocket(wsUrl, timeoutMs = 800) {
|
|
1631
1631
|
return await new Promise((resolve) => {
|
|
1632
1632
|
const headers = getHeadersWithAuth(wsUrl);
|
|
1633
|
-
const ws = new WebSocket
|
|
1633
|
+
const ws = new WebSocket(wsUrl, {
|
|
1634
1634
|
handshakeTimeout: timeoutMs,
|
|
1635
1635
|
...Object.keys(headers).length ? { headers } : {}
|
|
1636
1636
|
});
|
|
@@ -1664,7 +1664,7 @@ async function launchOpenClawChrome(resolved, profile) {
|
|
|
1664
1664
|
const exe = resolveBrowserExecutable(resolved);
|
|
1665
1665
|
if (!exe) throw new Error("No supported browser found (Chrome/Brave/Edge/Chromium on macOS, Linux, or Windows).");
|
|
1666
1666
|
const userDataDir = resolveOpenClawUserDataDir(profile.name);
|
|
1667
|
-
|
|
1667
|
+
fs$1.mkdirSync(userDataDir, { recursive: true });
|
|
1668
1668
|
const needsDecorate = !isProfileDecorated(userDataDir, profile.name, (profile.color ?? DEFAULT_OPENCLAW_BROWSER_COLOR).toUpperCase());
|
|
1669
1669
|
const spawnOnce = () => {
|
|
1670
1670
|
const args = [
|
|
@@ -10,7 +10,7 @@ import fs$1 from "node:fs/promises";
|
|
|
10
10
|
import { execFileSync, spawn } from "node:child_process";
|
|
11
11
|
import net from "node:net";
|
|
12
12
|
import { createServer } from "node:http";
|
|
13
|
-
import WebSocket, { WebSocketServer } from "ws";
|
|
13
|
+
import WebSocket$1, { WebSocketServer } from "ws";
|
|
14
14
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
15
15
|
|
|
16
16
|
//#region src/browser/constants.ts
|
|
@@ -178,7 +178,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
178
178
|
let nextExtensionId = 1;
|
|
179
179
|
const sendToExtension = async (payload) => {
|
|
180
180
|
const ws = extensionWs;
|
|
181
|
-
if (!ws || ws.readyState !== WebSocket.OPEN) throw new Error("Chrome extension not connected");
|
|
181
|
+
if (!ws || ws.readyState !== WebSocket$1.OPEN) throw new Error("Chrome extension not connected");
|
|
182
182
|
ws.send(JSON.stringify(payload));
|
|
183
183
|
return await new Promise((resolve, reject) => {
|
|
184
184
|
const timer = setTimeout(() => {
|
|
@@ -195,12 +195,12 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
195
195
|
const broadcastToCdpClients = (evt) => {
|
|
196
196
|
const msg = JSON.stringify(evt);
|
|
197
197
|
for (const ws of cdpClients) {
|
|
198
|
-
if (ws.readyState !== WebSocket.OPEN) continue;
|
|
198
|
+
if (ws.readyState !== WebSocket$1.OPEN) continue;
|
|
199
199
|
ws.send(msg);
|
|
200
200
|
}
|
|
201
201
|
};
|
|
202
202
|
const sendResponseToCdp = (ws, res) => {
|
|
203
|
-
if (ws.readyState !== WebSocket.OPEN) return;
|
|
203
|
+
if (ws.readyState !== WebSocket$1.OPEN) return;
|
|
204
204
|
ws.send(JSON.stringify(res));
|
|
205
205
|
};
|
|
206
206
|
const ensureTargetEventsForClient = (ws, mode) => {
|
|
@@ -425,7 +425,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
425
425
|
wssExtension.on("connection", (ws) => {
|
|
426
426
|
extensionWs = ws;
|
|
427
427
|
const ping = setInterval(() => {
|
|
428
|
-
if (ws.readyState !== WebSocket.OPEN) return;
|
|
428
|
+
if (ws.readyState !== WebSocket$1.OPEN) return;
|
|
429
429
|
ws.send(JSON.stringify({ method: "ping" }));
|
|
430
430
|
}, 5e3);
|
|
431
431
|
ws.on("message", (data) => {
|
|
@@ -743,7 +743,7 @@ async function fetchOk(url, timeoutMs = 1500, init) {
|
|
|
743
743
|
}
|
|
744
744
|
async function withCdpSocket(wsUrl, fn, opts) {
|
|
745
745
|
const headers = getHeadersWithAuth(wsUrl, opts?.headers ?? {});
|
|
746
|
-
const ws = new WebSocket(wsUrl, {
|
|
746
|
+
const ws = new WebSocket$1(wsUrl, {
|
|
747
747
|
handshakeTimeout: typeof opts?.handshakeTimeoutMs === "number" && Number.isFinite(opts.handshakeTimeoutMs) ? Math.max(1, Math.floor(opts.handshakeTimeoutMs)) : 5e3,
|
|
748
748
|
...Object.keys(headers).length ? { headers } : {}
|
|
749
749
|
});
|
|
@@ -1630,7 +1630,7 @@ async function getChromeWebSocketUrl(cdpUrl, timeoutMs = 500) {
|
|
|
1630
1630
|
async function canOpenWebSocket(wsUrl, timeoutMs = 800) {
|
|
1631
1631
|
return await new Promise((resolve) => {
|
|
1632
1632
|
const headers = getHeadersWithAuth(wsUrl);
|
|
1633
|
-
const ws = new WebSocket(wsUrl, {
|
|
1633
|
+
const ws = new WebSocket$1(wsUrl, {
|
|
1634
1634
|
handshakeTimeout: timeoutMs,
|
|
1635
1635
|
...Object.keys(headers).length ? { headers } : {}
|
|
1636
1636
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { c as normalizeAccountId } from "./session-key-CgcjHuX_.js";
|
|
3
|
-
import { t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-
|
|
3
|
+
import { t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-BDlvrUZF.js";
|
|
4
4
|
|
|
5
5
|
//#region src/markdown/fences.ts
|
|
6
6
|
function parseFenceSpans(buffer) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { an as getPrimaryCommand, cn as hasHelpOrVersion } from "./entry.js";
|
|
3
|
-
import { i as registerSubCliCommands, o as reparseProgramFromActionArgs } from "./register.subclis-
|
|
3
|
+
import { i as registerSubCliCommands, o as reparseProgramFromActionArgs } from "./register.subclis-CMThmpuD.js";
|
|
4
4
|
|
|
5
5
|
//#region src/cli/program/command-registry.ts
|
|
6
6
|
var command_registry_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -22,7 +22,7 @@ const coreEntries = [
|
|
|
22
22
|
hasSubcommands: false
|
|
23
23
|
}],
|
|
24
24
|
register: async ({ program }) => {
|
|
25
|
-
(await import("./register.setup-
|
|
25
|
+
(await import("./register.setup-D5P7KrfP.js")).registerSetupCommand(program);
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
{
|
|
@@ -32,7 +32,7 @@ const coreEntries = [
|
|
|
32
32
|
hasSubcommands: false
|
|
33
33
|
}],
|
|
34
34
|
register: async ({ program }) => {
|
|
35
|
-
(await import("./register.onboard-
|
|
35
|
+
(await import("./register.onboard-D54Cc4KC.js")).registerOnboardCommand(program);
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
{
|
|
@@ -79,7 +79,7 @@ const coreEntries = [
|
|
|
79
79
|
}
|
|
80
80
|
],
|
|
81
81
|
register: async ({ program }) => {
|
|
82
|
-
(await import("./register.maintenance-
|
|
82
|
+
(await import("./register.maintenance-za-PEn5C.js")).registerMaintenanceCommands(program);
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
85
|
{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { D as escapeRegExp, c as getActivePluginRegistry } from "./registry-
|
|
3
|
-
import { G as DEFAULT_MODEL, K as DEFAULT_PROVIDER, M as resolveConfiguredModelRef } from "./model-auth-
|
|
4
|
-
import { f as listChannelDocks, r as listThinkingLevels } from "./thinking-
|
|
2
|
+
import { D as escapeRegExp, c as getActivePluginRegistry } from "./registry-BmY4gNy6.js";
|
|
3
|
+
import { G as DEFAULT_MODEL, K as DEFAULT_PROVIDER, M as resolveConfiguredModelRef } from "./model-auth-Dm1uOof6.js";
|
|
4
|
+
import { f as listChannelDocks, r as listThinkingLevels } from "./thinking-wiChP3LK.js";
|
|
5
5
|
|
|
6
6
|
//#region src/auto-reply/commands-args.ts
|
|
7
7
|
function normalizeArgValue(value) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { t as createSubsystemLogger } from "./subsystem-B5g771Td.js";
|
|
2
|
+
import { a as buildImageResizeSideGrid, d as detectMime, i as IMAGE_REDUCE_QUALITY_STEPS, s as getImageMetadata, u as resizeToJpeg } from "./fs-safe-B8-WkEXM.js";
|
|
3
3
|
import fs from "node:fs/promises";
|
|
4
4
|
|
|
5
5
|
//#region src/agents/image-sanitization.ts
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { g as resolveStateDir } from "./paths-B4BZAPZh.js";
|
|
3
3
|
import { h as pathExists } from "./utils-CP9YLh6M.js";
|
|
4
4
|
import { i as routeLogsToStderr } from "./subsystem-BCQGGxdd.js";
|
|
5
|
-
import { a as registerCoreCliByName, c as getSubCliEntries, l as registerSubCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context-
|
|
5
|
+
import { a as registerCoreCliByName, c as getSubCliEntries, l as registerSubCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context-D9asDBqu.js";
|
|
6
6
|
import os from "node:os";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs/promises";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { Yt as resolveStateDir, l as routeLogsToStderr, nt as pathExists } from "./entry.js";
|
|
3
|
-
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-
|
|
4
|
-
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-
|
|
3
|
+
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-CMThmpuD.js";
|
|
4
|
+
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-D82LWaRr.js";
|
|
5
5
|
import { t as getProgramContext } from "./program-context--isQKnLs.js";
|
|
6
6
|
import os from "node:os";
|
|
7
7
|
import path from "node:path";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { n as resolveConfigPath, r as resolveDefaultConfigCandidates, s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-
|
|
1
|
+
import { n as resolveConfigPath, r as resolveDefaultConfigCandidates, s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-CyR9Pa1R.js";
|
|
2
2
|
import { l as normalizeAgentId, n as DEFAULT_AGENT_ID } from "./session-key-CgcjHuX_.js";
|
|
3
|
-
import { I as resolveUserPath, P as resolveConfigDir, W as isPlainObject$1, k as isRecord, s as normalizeChatChannelId, t as CHANNEL_IDS } from "./registry-
|
|
4
|
-
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
5
|
-
import { $ as shouldEnableShellEnvFallback, Q as shouldDeferShellEnvFallback, W as DEFAULT_CONTEXT_TOKENS, X as loadShellEnvFallback, Z as resolveShellEnvFallbackTimeoutMs, j as parseModelRef } from "./model-auth-
|
|
6
|
-
import { c as resolveMemorySlotDecision, l as isPathInside, o as normalizePluginsConfig, s as resolveEnableState, t as loadPluginManifestRegistry } from "./manifest-registry-
|
|
3
|
+
import { I as resolveUserPath, P as resolveConfigDir, W as isPlainObject$1, k as isRecord, s as normalizeChatChannelId, t as CHANNEL_IDS } from "./registry-BmY4gNy6.js";
|
|
4
|
+
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-BLYwrEEA.js";
|
|
5
|
+
import { $ as shouldEnableShellEnvFallback, Q as shouldDeferShellEnvFallback, W as DEFAULT_CONTEXT_TOKENS, X as loadShellEnvFallback, Z as resolveShellEnvFallbackTimeoutMs, j as parseModelRef } from "./model-auth-Dm1uOof6.js";
|
|
6
|
+
import { c as resolveMemorySlotDecision, l as isPathInside, o as normalizePluginsConfig, s as resolveEnableState, t as loadPluginManifestRegistry } from "./manifest-registry-Dovhiqzt.js";
|
|
7
7
|
import { createRequire } from "node:module";
|
|
8
8
|
import os from "node:os";
|
|
9
9
|
import path from "node:path";
|
|
10
|
-
import
|
|
10
|
+
import fs from "node:fs";
|
|
11
11
|
import JSON5 from "json5";
|
|
12
12
|
import { isDeepStrictEqual } from "node:util";
|
|
13
13
|
import crypto from "node:crypto";
|
|
@@ -20,7 +20,7 @@ function loadDotEnv(opts) {
|
|
|
20
20
|
const quiet = opts?.quiet ?? true;
|
|
21
21
|
dotenv.config({ quiet });
|
|
22
22
|
const globalEnvPath = path.join(resolveConfigDir(process.env), ".env");
|
|
23
|
-
if (!
|
|
23
|
+
if (!fs.existsSync(globalEnvPath)) return;
|
|
24
24
|
dotenv.config({
|
|
25
25
|
quiet,
|
|
26
26
|
path: globalEnvPath,
|
|
@@ -155,7 +155,7 @@ function resolveAgentMaxConcurrent(cfg) {
|
|
|
155
155
|
//#endregion
|
|
156
156
|
//#region src/config/talk.ts
|
|
157
157
|
function readTalkApiKeyFromProfile(deps = {}) {
|
|
158
|
-
const fsImpl = deps.fs ??
|
|
158
|
+
const fsImpl = deps.fs ?? fs;
|
|
159
159
|
const osImpl = deps.os ?? os;
|
|
160
160
|
const pathImpl = deps.path ?? path;
|
|
161
161
|
const home = osImpl.homedir();
|
|
@@ -833,7 +833,7 @@ var IncludeProcessor = class IncludeProcessor {
|
|
|
833
833
|
const normalized = path.normalize(resolved);
|
|
834
834
|
if (!isPathInside(this.rootDir, normalized)) throw new ConfigIncludeError(`Include path escapes config directory: ${includePath} (root: ${this.rootDir})`, includePath);
|
|
835
835
|
try {
|
|
836
|
-
const real =
|
|
836
|
+
const real = fs.realpathSync(normalized);
|
|
837
837
|
if (!isPathInside(this.rootRealDir, real)) throw new ConfigIncludeError(`Include path resolves outside config directory (symlink): ${includePath} (root: ${this.rootDir})`, includePath);
|
|
838
838
|
} catch (err) {
|
|
839
839
|
if (err instanceof ConfigIncludeError) throw err;
|
|
@@ -869,13 +869,13 @@ var IncludeProcessor = class IncludeProcessor {
|
|
|
869
869
|
};
|
|
870
870
|
function safeRealpath(target) {
|
|
871
871
|
try {
|
|
872
|
-
return
|
|
872
|
+
return fs.realpathSync(target);
|
|
873
873
|
} catch {
|
|
874
874
|
return target;
|
|
875
875
|
}
|
|
876
876
|
}
|
|
877
877
|
const defaultResolver = {
|
|
878
|
-
readFile: (p) =>
|
|
878
|
+
readFile: (p) => fs.readFileSync(p, "utf-8"),
|
|
879
879
|
parseJson: (raw) => JSON5.parse(raw)
|
|
880
880
|
};
|
|
881
881
|
/**
|
|
@@ -5479,7 +5479,7 @@ function resolveConfigPathForDeps(deps) {
|
|
|
5479
5479
|
}
|
|
5480
5480
|
function normalizeDeps(overrides = {}) {
|
|
5481
5481
|
return {
|
|
5482
|
-
fs: overrides.fs ??
|
|
5482
|
+
fs: overrides.fs ?? fs,
|
|
5483
5483
|
json5: overrides.json5 ?? JSON5,
|
|
5484
5484
|
env: overrides.env ?? process.env,
|
|
5485
5485
|
homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as o,l as te,c as H,K as fe,ah as ye,ai as be,aj as me,ac as _e,G as X,i as G,v as Ee,J as ke,ad as Se,ae as ce,af as le}from"./
|
|
1
|
+
import{_ as o,l as te,c as H,K as fe,ah as ye,ai as be,aj as me,ac as _e,G as X,i as G,v as Ee,J as ke,ad as Se,ae as ce,af as le}from"./CrremO5S.js";import{g as Ne}from"./C_LuOpHS.js";var $=(function(){var e=o(function(O,i,n,r){for(n=n||{},r=O.length;r--;n[O[r]]=i);return n},"o"),u=[1,4],p=[1,13],s=[1,12],d=[1,15],E=[1,16],b=[1,20],l=[1,19],D=[6,7,8],I=[1,26],g=[1,24],w=[1,25],_=[6,7,11],F=[1,31],N=[6,7,11,24],V=[1,6,13,16,17,20,23],m=[1,35],A=[1,36],L=[1,6,7,11,13,16,17,20,23],M=[1,38],T={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:o(function(i,n,r,a,h,t,U){var c=t.length-1;switch(h){case 6:case 7:return a;case 8:a.getLogger().trace("Stop NL ");break;case 9:a.getLogger().trace("Stop EOF ");break;case 11:a.getLogger().trace("Stop NL2 ");break;case 12:a.getLogger().trace("Stop EOF2 ");break;case 15:a.getLogger().info("Node: ",t[c-1].id),a.addNode(t[c-2].length,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 16:a.getLogger().info("Node: ",t[c].id),a.addNode(t[c-1].length,t[c].id,t[c].descr,t[c].type);break;case 17:a.getLogger().trace("Icon: ",t[c]),a.decorateNode({icon:t[c]});break;case 18:case 23:a.decorateNode({class:t[c]});break;case 19:a.getLogger().trace("SPACELIST");break;case 20:a.getLogger().trace("Node: ",t[c-1].id),a.addNode(0,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 21:a.getLogger().trace("Node: ",t[c].id),a.addNode(0,t[c].id,t[c].descr,t[c].type);break;case 22:a.decorateNode({icon:t[c]});break;case 27:a.getLogger().trace("node found ..",t[c-2]),this.$={id:t[c-1],descr:t[c-1],type:a.getType(t[c-2],t[c])};break;case 28:this.$={id:t[c],descr:t[c],type:0};break;case 29:a.getLogger().trace("node found ..",t[c-3]),this.$={id:t[c-3],descr:t[c-1],type:a.getType(t[c-2],t[c])};break;case 30:this.$=t[c-1]+t[c];break;case 31:this.$=t[c];break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:u},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:u},{6:p,7:[1,10],9:9,12:11,13:s,14:14,16:d,17:E,18:17,19:18,20:b,23:l},e(D,[2,3]),{1:[2,2]},e(D,[2,4]),e(D,[2,5]),{1:[2,6],6:p,12:21,13:s,14:14,16:d,17:E,18:17,19:18,20:b,23:l},{6:p,9:22,12:11,13:s,14:14,16:d,17:E,18:17,19:18,20:b,23:l},{6:I,7:g,10:23,11:w},e(_,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:b,23:l}),e(_,[2,19]),e(_,[2,21],{15:30,24:F}),e(_,[2,22]),e(_,[2,23]),e(N,[2,25]),e(N,[2,26]),e(N,[2,28],{20:[1,32]}),{21:[1,33]},{6:I,7:g,10:34,11:w},{1:[2,7],6:p,12:21,13:s,14:14,16:d,17:E,18:17,19:18,20:b,23:l},e(V,[2,14],{7:m,11:A}),e(L,[2,8]),e(L,[2,9]),e(L,[2,10]),e(_,[2,16],{15:37,24:F}),e(_,[2,17]),e(_,[2,18]),e(_,[2,20],{24:M}),e(N,[2,31]),{21:[1,39]},{22:[1,40]},e(V,[2,13],{7:m,11:A}),e(L,[2,11]),e(L,[2,12]),e(_,[2,15],{24:M}),e(N,[2,30]),{22:[1,41]},e(N,[2,27]),e(N,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:o(function(i,n){if(n.recoverable)this.trace(i);else{var r=new Error(i);throw r.hash=n,r}},"parseError"),parse:o(function(i){var n=this,r=[0],a=[],h=[null],t=[],U=this.table,c="",W=0,se=0,ue=2,re=1,ge=t.slice.call(arguments,1),y=Object.create(this.lexer),R={yy:{}};for(var J in this.yy)Object.prototype.hasOwnProperty.call(this.yy,J)&&(R.yy[J]=this.yy[J]);y.setInput(i,R.yy),R.yy.lexer=y,R.yy.parser=this,typeof y.yylloc>"u"&&(y.yylloc={});var q=y.yylloc;t.push(q);var de=y.options&&y.options.ranges;typeof R.yy.parseError=="function"?this.parseError=R.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pe(S){r.length=r.length-2*S,h.length=h.length-S,t.length=t.length-S}o(pe,"popStack");function ae(){var S;return S=a.pop()||y.lex()||re,typeof S!="number"&&(S instanceof Array&&(a=S,S=a.pop()),S=n.symbols_[S]||S),S}o(ae,"lex");for(var k,P,x,Q,j={},z,C,oe,K;;){if(P=r[r.length-1],this.defaultActions[P]?x=this.defaultActions[P]:((k===null||typeof k>"u")&&(k=ae()),x=U[P]&&U[P][k]),typeof x>"u"||!x.length||!x[0]){var Z="";K=[];for(z in U[P])this.terminals_[z]&&z>ue&&K.push("'"+this.terminals_[z]+"'");y.showPosition?Z="Parse error on line "+(W+1)+`:
|
|
2
2
|
`+y.showPosition()+`
|
|
3
3
|
Expecting `+K.join(", ")+", got '"+(this.terminals_[k]||k)+"'":Z="Parse error on line "+(W+1)+": Unexpected "+(k==re?"end of input":"'"+(this.terminals_[k]||k)+"'"),this.parseError(Z,{text:y.match,token:this.terminals_[k]||k,line:y.yylineno,loc:q,expected:K})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+k);switch(x[0]){case 1:r.push(k),h.push(y.yytext),t.push(y.yylloc),r.push(x[1]),k=null,se=y.yyleng,c=y.yytext,W=y.yylineno,q=y.yylloc;break;case 2:if(C=this.productions_[x[1]][1],j.$=h[h.length-C],j._$={first_line:t[t.length-(C||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(C||1)].first_column,last_column:t[t.length-1].last_column},de&&(j._$.range=[t[t.length-(C||1)].range[0],t[t.length-1].range[1]]),Q=this.performAction.apply(j,[c,se,W,R.yy,x[1],h,t].concat(ge)),typeof Q<"u")return Q;C&&(r=r.slice(0,-1*C*2),h=h.slice(0,-1*C),t=t.slice(0,-1*C)),r.push(this.productions_[x[1]][0]),h.push(j.$),t.push(j._$),oe=U[r[r.length-2]][r[r.length-1]],r.push(oe);break;case 3:return!0}}return!0},"parse")},Y=(function(){var O={EOF:1,parseError:o(function(n,r){if(this.yy.parser)this.yy.parser.parseError(n,r);else throw new Error(n)},"parseError"),setInput:o(function(i,n){return this.yy=n||this.yy||{},this._input=i,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var n=i.match(/(?:\r\n?|\n).*/g);return n?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},"input"),unput:o(function(i){var n=i.length,r=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var a=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.length-1);var h=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:r?(r.length===a.length?this.yylloc.first_column:0)+a[a.length-r.length].length-r[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[h[0],h[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(i){this.unput(this.match.slice(i))},"less"),pastInput:o(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var i=this.pastInput(),n=new Array(i.length+1).join("-");return i+this.upcomingInput()+`
|