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.
Files changed (255) hide show
  1. package/dist/{accounts-B3MIBUxY.js → accounts-6btx_LVr.js} +14 -14
  2. package/dist/{accounts-X5YWm9b7.js → accounts-BOYxuJ9C.js} +1 -1
  3. package/dist/{accounts-Doecg-Pe.js → accounts-Cg6z7lKw.js} +1 -1
  4. package/dist/{active-listener-DI-5r3l7.js → active-listener-BhL5jMd9.js} +1 -1
  5. package/dist/{agent-scope-DgSbJ6PA.js → agent-scope-BLYwrEEA.js} +3 -3
  6. package/dist/{audio-preflight-CketII1D.js → audio-preflight-CJMYPxgz.js} +4 -4
  7. package/dist/{audio-preflight-EwgV_X7F.js → audio-preflight-DrLN-6C1.js} +30 -30
  8. package/dist/{bindings-ZzFXeSUF.js → bindings-DWtXcdc8.js} +2 -2
  9. package/dist/build-info.json +3 -3
  10. package/dist/bundled/boot-md/handler.js +53 -53
  11. package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
  12. package/dist/bundled/command-logger/handler.js +1 -1
  13. package/dist/bundled/session-memory/handler.js +53 -53
  14. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  15. package/dist/{channel-activity-By7mU0Ld.js → channel-activity-LT3oBvO7.js} +1 -1
  16. package/dist/{chrome-BwkFC1Kp.js → chrome-DBmAGMTR.js} +20 -20
  17. package/dist/{chrome-7PNldBIY.js → chrome-jiKls1lm.js} +7 -7
  18. package/dist/{chunk-DoTNWpve.js → chunk-TRVny4T1.js} +1 -1
  19. package/dist/{command-format--87BbJbN.js → command-format-D1Crrvey.js} +1 -1
  20. package/dist/{command-registry-CKl3i1dn.js → command-registry-D82LWaRr.js} +4 -4
  21. package/dist/{commands-registry-C1TEcrP2.js → commands-registry-B6FYKIxi.js} +3 -3
  22. package/dist/{plugin-sdk/common-CJo4CK5_.js → common-y9ALHdVZ.js} +2 -2
  23. package/dist/{completion-cli-D9M167hh.js → completion-cli-C1r90Nrk.js} +1 -1
  24. package/dist/{completion-cli-DWbOrNO2.js → completion-cli-DPioCNYq.js} +2 -2
  25. package/dist/{config-DnorUs_i.js → config-qfEsodS7.js} +12 -12
  26. package/dist/control-ui/_app/immutable/chunks/{Dj6tWyD-.js → -WaG6-Wa.js} +1 -1
  27. package/dist/control-ui/_app/immutable/chunks/{B8HoIBa6.js → 5eXlR5OL.js} +1 -1
  28. package/dist/control-ui/_app/immutable/chunks/{OqlKjpfM.js → B8DrosHE.js} +1 -1
  29. package/dist/control-ui/_app/immutable/chunks/{BocS-uwo.js → BBXALFLP.js} +3 -3
  30. package/dist/control-ui/_app/immutable/chunks/{X-E-wRlP.js → BEwWGCvZ.js} +1 -1
  31. package/dist/control-ui/_app/immutable/chunks/{BhtVncI_.js → BLtDog0v.js} +1 -1
  32. package/dist/control-ui/_app/immutable/chunks/{DVEflJCB.js → BQJCZmRh.js} +1 -1
  33. package/dist/control-ui/_app/immutable/chunks/{vBxFu2GM.js → BSVakDDW.js} +1 -1
  34. package/dist/control-ui/_app/immutable/chunks/BZPuz03W.js +1 -0
  35. package/dist/control-ui/_app/immutable/chunks/{8sVJ3pgr.js → Ba7JwTQm.js} +1 -1
  36. package/dist/control-ui/_app/immutable/chunks/{CgeCLzn1.js → Bae3KkPP.js} +1 -1
  37. package/dist/control-ui/_app/immutable/chunks/{-b0Q_QBa.js → Bh6lEBNv.js} +1 -1
  38. package/dist/control-ui/_app/immutable/chunks/{BdTFhrHG.js → BhXAsS8g.js} +1 -1
  39. package/dist/control-ui/_app/immutable/chunks/{Cy9J7_9T.js → BrxfYBSP.js} +1 -1
  40. package/dist/control-ui/_app/immutable/chunks/{UR4DV3hi.js → BsUBloFL.js} +1 -1
  41. package/dist/control-ui/_app/immutable/chunks/{Bqq0fCUn.js → BsZ_uYnn.js} +1 -1
  42. package/dist/control-ui/_app/immutable/chunks/{9SZhwvK0.js → C--qzJ6W.js} +1 -1
  43. package/dist/control-ui/_app/immutable/chunks/{D4282KIs.js → C-JVM0la.js} +1 -1
  44. package/dist/control-ui/_app/immutable/chunks/{Duq46cRv.js → C7KVOWgV.js} +1 -1
  45. package/dist/control-ui/_app/immutable/chunks/{BH-jV9iA.js → C7m1KhrR.js} +1 -1
  46. package/dist/control-ui/_app/immutable/chunks/{CtBXH4Dd.js → C8PuvvjP.js} +1 -1
  47. package/dist/control-ui/_app/immutable/chunks/{giHw3ym1.js → C9VLzrYr.js} +1 -1
  48. package/dist/control-ui/_app/immutable/chunks/{CduS0XRA.js → CHTlfT2F.js} +1 -1
  49. package/dist/control-ui/_app/immutable/chunks/{DgYPOa8E.js → CLY1rHgs.js} +1 -1
  50. package/dist/control-ui/_app/immutable/chunks/{B17J7L81.js → CPgEtRZT.js} +1 -1
  51. package/dist/control-ui/_app/immutable/chunks/{BqJ-mFLn.js → CVAw3cDG.js} +1 -1
  52. package/dist/control-ui/_app/immutable/chunks/{B9SC_jjC.js → CVZCvD9s.js} +1 -1
  53. package/dist/control-ui/_app/immutable/chunks/{LmLbPTz2.js → C_LuOpHS.js} +1 -1
  54. package/dist/control-ui/_app/immutable/chunks/CbL4AD8o.js +1 -0
  55. package/dist/control-ui/_app/immutable/chunks/{BCj3dr9H.js → CgWI5Oik.js} +1 -1
  56. package/dist/control-ui/_app/immutable/chunks/{tMgN0hpT.js → CiyAy8dp.js} +1 -1
  57. package/dist/control-ui/_app/immutable/chunks/{BXILuhuG.js → CkF797NI.js} +1 -1
  58. package/dist/control-ui/_app/immutable/chunks/{Dg6LpIYP.js → CrremO5S.js} +4 -4
  59. package/dist/control-ui/_app/immutable/chunks/{YYSXb5XV.js → CseiHJK5.js} +1 -1
  60. package/dist/control-ui/_app/immutable/chunks/{BQThDSlf.js → CxBb1Xul.js} +1 -1
  61. package/dist/control-ui/_app/immutable/chunks/{D374cbd4.js → DCXXFcx5.js} +1 -1
  62. package/dist/control-ui/_app/immutable/chunks/{D5RXhj7J.js → DJjlYUoC.js} +1 -1
  63. package/dist/control-ui/_app/immutable/chunks/{eejBr3e5.js → DMY-Nl0I.js} +1 -1
  64. package/dist/control-ui/_app/immutable/chunks/{D_9uFAU4.js → DRZM4rH8.js} +1 -1
  65. package/dist/control-ui/_app/immutable/chunks/{kg_bi-Xy.js → DVy-_nYK.js} +1 -1
  66. package/dist/control-ui/_app/immutable/chunks/{Ae3Dp1ab.js → DZsBL6ln.js} +1 -1
  67. package/dist/control-ui/_app/immutable/chunks/{BD82r6qT.js → DnRi7lHs.js} +1 -1
  68. package/dist/control-ui/_app/immutable/chunks/{CB9985Nn.js → Dt5mMewg.js} +1 -1
  69. package/dist/control-ui/_app/immutable/chunks/{CGR62pw0.js → DtDnO4qq.js} +1 -1
  70. package/dist/control-ui/_app/immutable/chunks/{C1MwqfJi.js → Du2cKiDo.js} +1 -1
  71. package/dist/control-ui/_app/immutable/chunks/{C_e8KYob.js → DwPRscxf.js} +1 -1
  72. package/dist/control-ui/_app/immutable/chunks/{tr5b7CMr.js → SHB02qEx.js} +1 -1
  73. package/dist/control-ui/_app/immutable/chunks/{CyMYiLoa.js → Tfaq1PK1.js} +1 -1
  74. package/dist/control-ui/_app/immutable/chunks/TuMlQKbB.js +5 -0
  75. package/dist/control-ui/_app/immutable/chunks/{Cm1fG3bI.js → aXQqHONi.js} +1 -1
  76. package/dist/control-ui/_app/immutable/chunks/{By8LBh45.js → dQY-7VfC.js} +1 -1
  77. package/dist/control-ui/_app/immutable/chunks/{CGz_QUNI.js → kbQmmJpo.js} +1 -1
  78. package/dist/control-ui/_app/immutable/entry/{app.gjdkTR50.js → app.Cyu356mA.js} +2 -2
  79. package/dist/control-ui/_app/immutable/entry/start.CjGQB-0l.js +1 -0
  80. package/dist/control-ui/_app/immutable/nodes/{0.DZBLEJTo.js → 0.EBH6_Ud6.js} +7 -7
  81. package/dist/control-ui/_app/immutable/nodes/{1.El_L1H2f.js → 1.CrXLLMV6.js} +1 -1
  82. package/dist/control-ui/_app/immutable/nodes/{10.BuHCBw2C.js → 10.CFP8x2TH.js} +1 -1
  83. package/dist/control-ui/_app/immutable/nodes/{11.DaM8Z72M.js → 11.Sd6L6Nq2.js} +1 -1
  84. package/dist/control-ui/_app/immutable/nodes/{12.DctBvrnI.js → 12.tVVXkjFh.js} +1 -1
  85. package/dist/control-ui/_app/immutable/nodes/{13.CFlpuIKq.js → 13.D93_LX58.js} +1 -1
  86. package/dist/control-ui/_app/immutable/nodes/{14.ApTZ29I1.js → 14.DLNHet27.js} +1 -1
  87. package/dist/control-ui/_app/immutable/nodes/{15.Bv1kE6xT.js → 15.CIr4ejir.js} +5 -5
  88. package/dist/control-ui/_app/immutable/nodes/{16.CPH_dMUA.js → 16.QX2ielYQ.js} +1 -1
  89. package/dist/control-ui/_app/immutable/nodes/{17.Gpl84s2Y.js → 17.6qOW3iFE.js} +1 -1
  90. package/dist/control-ui/_app/immutable/nodes/2.BTwPpsUd.js +1 -0
  91. package/dist/control-ui/_app/immutable/nodes/{3.om6ap7s5.js → 3.CJTqvGaW.js} +1 -1
  92. package/dist/control-ui/_app/immutable/nodes/{4.C7I3arj2.js → 4.Dz3JH-PB.js} +1 -1
  93. package/dist/control-ui/_app/immutable/nodes/{5.PRkSVQb-.js → 5._XvLegf_.js} +1 -1
  94. package/dist/control-ui/_app/immutable/nodes/{6.DXFMFV_g.js → 6.B2G6IFSu.js} +1 -1
  95. package/dist/control-ui/_app/immutable/nodes/{7.pxR8f42V.js → 7.C7FQ9bAP.js} +1 -1
  96. package/dist/control-ui/_app/immutable/nodes/{8.BjB_sfx0.js → 8.B5aVfCJN.js} +1 -1
  97. package/dist/control-ui/_app/immutable/nodes/{9.M8OWsIew.js → 9.DFhiU3G3.js} +1 -1
  98. package/dist/control-ui/_app/version.json +1 -1
  99. package/dist/control-ui/index.html +6 -6
  100. package/dist/control-ui/sw.js +28 -30
  101. package/dist/{deliver-CFSxoz2_.js → deliver-DXKF_Nu0.js} +1 -1
  102. package/dist/{deliver-DotE8uPe.js → deliver-miQ_b14_.js} +20 -20
  103. package/dist/{diagnostic-D8zLma7p.js → diagnostic-CoT2YQH4.js} +1 -1
  104. package/dist/{doctor-completion-C45zyyLh.js → doctor-completion-DhpniKWm.js} +1 -1
  105. package/dist/{doctor-completion-B18Bypvd.js → doctor-completion-fRx0enfv.js} +1 -1
  106. package/dist/entry.js +1 -1
  107. package/dist/extensionAPI.js +6 -6
  108. package/dist/{frontmatter-D07uaEbx.js → frontmatter-BT4H5SZG.js} +2 -2
  109. package/dist/{fs-safe-DD7nl1O-.js → fs-safe-B8-WkEXM.js} +1 -1
  110. package/dist/{gateway-cli-C9P1VKyA.js → gateway-cli-0_ycakyp.js} +6 -8
  111. package/dist/{gateway-cli-Cy10TRa_.js → gateway-cli-CJohs14T.js} +6 -8
  112. package/dist/{gemini-auth-prEOLMZr.js → gemini-auth-B32PFjFy.js} +1 -1
  113. package/dist/{github-copilot-token-Bu5FPDAY.js → github-copilot-token-BQ98eazZ.js} +7 -7
  114. package/dist/{image-D-wXbQEl.js → image-Bnzq6Ut_.js} +4 -4
  115. package/dist/{image-DafeVSso.js → image-DChVqMFC.js} +1 -1
  116. package/dist/index.js +1 -1
  117. package/dist/{ir-D4AIeS28.js → ir-CRTCIHIG.js} +4 -4
  118. package/dist/llm-slug-generator.js +53 -53
  119. package/dist/{local-roots-B9HIz81e.js → local-roots-tMzVEQD2.js} +5 -5
  120. package/dist/{login-CHBdSags.js → login-DGwFcNWz.js} +7 -7
  121. package/dist/{login-qr-Ch834jRc.js → login-qr-IWLbGrDP.js} +12 -12
  122. package/dist/{manager-B8MDZuUH.js → manager-KxfmY55A.js} +13 -13
  123. package/dist/{manifest-registry-CpMEl7vN.js → manifest-registry-Dovhiqzt.js} +19 -19
  124. package/dist/{markdown-tables-1wSxjPR8.js → markdown-tables-DO9qAEKa.js} +1 -1
  125. package/dist/{message-channel-CW_Jr8qx.js → message-channel-BDlvrUZF.js} +1 -1
  126. package/dist/{model-auth-BlsavKKY.js → model-auth-Dm1uOof6.js} +9 -9
  127. package/dist/{normalize-DsdAOxp0.js → normalize-D5KCCgTX.js} +9 -9
  128. package/dist/{onboard-BO-10joL.js → onboard-5rjiYkS9.js} +1 -1
  129. package/dist/{onboard-CoGGGg5K.js → onboard-CqSt7u8D.js} +1 -1
  130. package/dist/{onboarding-CiOMo5_c.js → onboarding-CIYktbwg.js} +1 -1
  131. package/dist/{onboarding-EMqX1DQj.js → onboarding-WJQtWazg.js} +1 -1
  132. package/dist/{onboarding.finalize-BkqY37UR.js → onboarding.finalize-DC7D8bBE.js} +4 -4
  133. package/dist/{onboarding.finalize-D-8iuvnX.js → onboarding.finalize-Z7sroef4.js} +3 -3
  134. package/dist/{outbound-BI27cc0j.js → outbound-CthSjSDV.js} +7 -7
  135. package/dist/{outbound-attachment-Ba6Ea-zP.js → outbound-attachment-BChLBLPg.js} +2 -2
  136. package/dist/{paths-CkkDESQ2.js → paths-CyR9Pa1R.js} +5 -5
  137. package/dist/{paths-B4zRLe0K.js → paths-gnW-md4M.js} +1 -1
  138. package/dist/{pi-auth-json-gQa8k4FW.js → pi-auth-json-mTixxeol.js} +8 -8
  139. package/dist/{pi-embedded-DzV18Sl5.js → pi-embedded-D0HD9Cfc.js} +158 -158
  140. package/dist/{pi-embedded-Ig1YOX5t.js → pi-embedded-DPsT4Vb4.js} +16 -16
  141. package/dist/{pi-embedded-helpers-C-3FQnQz.js → pi-embedded-helpers--8pQ_5Ix.js} +4 -4
  142. package/dist/{pi-embedded-helpers-B4V6-8TA.js → pi-embedded-helpers-f1wpGfIT.js} +52 -52
  143. package/dist/plugin-sdk/{accounts-vV5Gfd26.js → accounts-CRs7kbLB.js} +1 -1
  144. package/dist/plugin-sdk/{accounts-iN-dbgw4.js → accounts-b1Cok6r_.js} +3 -3
  145. package/dist/plugin-sdk/{accounts-LxMkgia0.js → accounts-uAqOguyH.js} +1 -1
  146. package/dist/plugin-sdk/{active-listener-Bh0LXjEI.js → active-listener-BdVTYHTN.js} +1 -1
  147. package/dist/plugin-sdk/{agent-scope-BS_vck4W.js → agent-scope-OWMdRegz.js} +2 -2
  148. package/dist/plugin-sdk/{api-key-rotation-LkecAWT_.js → api-key-rotation-DedcgBOR.js} +1 -1
  149. package/dist/plugin-sdk/{audio-preflight-Bs1SkEb1.js → audio-preflight-EYVIo5wC.js} +25 -25
  150. package/dist/plugin-sdk/{bindings-CTCkMENc.js → bindings-LROfNV1W.js} +2 -2
  151. package/dist/plugin-sdk/{channel-activity-PV3vhwo2.js → channel-activity-DHI8R5Xg.js} +1 -1
  152. package/dist/plugin-sdk/{channel-web-C1Hsjdgf.js → channel-web-CGp1_ZH4.js} +22 -22
  153. package/dist/plugin-sdk/{chrome-cWvSiZw3.js → chrome-BS8LYp6z.js} +3 -3
  154. package/dist/plugin-sdk/{chunk-CyOBR4uk.js → chunk-C9J4kyVw.js} +1 -1
  155. package/dist/plugin-sdk/{command-format-C5kdEGEu.js → command-format-BTciq6Gg.js} +1 -1
  156. package/dist/plugin-sdk/{commands-registry-Bvksrm0n.js → commands-registry-pHxVP_Zd.js} +3 -3
  157. package/dist/{common-B7QyEEac.js → plugin-sdk/common-CCPGi5xr.js} +2 -2
  158. package/dist/plugin-sdk/{config-B8Nc1zrG.js → config-DemNgb7Z.js} +9 -9
  159. package/dist/plugin-sdk/{deliver-Dut_1pt2.js → deliver-BCvqh6o3.js} +10 -10
  160. package/dist/plugin-sdk/{diagnostic-DFXnVf2I.js → diagnostic-oBxO5N68.js} +1 -1
  161. package/dist/plugin-sdk/{fs-safe-CdpuSWry.js → fs-safe-CGcLaY9D.js} +1 -1
  162. package/dist/plugin-sdk/{image-B3tSrFDE.js → image-BHSeZfna.js} +4 -4
  163. package/dist/plugin-sdk/index.js +52 -52
  164. package/dist/plugin-sdk/{ir-05vuco_v.js → ir-JSGKj1e6.js} +4 -4
  165. package/dist/plugin-sdk/{local-roots-DlmKIABh.js → local-roots-jpNoUngc.js} +3 -3
  166. package/dist/plugin-sdk/{login-_t6d0RBi.js → login-Ckh0Yz4j.js} +7 -7
  167. package/dist/plugin-sdk/{login-qr-Czq6nBnB.js → login-qr-DRY27T-V.js} +9 -9
  168. package/dist/plugin-sdk/{manager-DEOMAxd_.js → manager-B9XMF8DU.js} +8 -8
  169. package/dist/plugin-sdk/{manifest-registry-BgkX6ON4.js → manifest-registry-Lzj-fZNH.js} +1 -1
  170. package/dist/plugin-sdk/{markdown-tables-FF81O4MP.js → markdown-tables-CgnPuqk-.js} +1 -1
  171. package/dist/plugin-sdk/{message-channel-DxNExIdv.js → message-channel-C3OrO29D.js} +1 -1
  172. package/dist/plugin-sdk/{model-selection-Bj-E4zbc.js → model-selection-BQiSfqzh.js} +4 -4
  173. package/dist/plugin-sdk/{normalize-DWmWs1Oq.js → normalize-raRH8X3d.js} +4 -4
  174. package/dist/plugin-sdk/{outbound-D2-05wUl.js → outbound-CtRrsxZT.js} +7 -7
  175. package/dist/plugin-sdk/{outbound-attachment-DmbQx_Vk.js → outbound-attachment-BD9q-xgD.js} +2 -2
  176. package/dist/plugin-sdk/{pi-auth-json-D-qvsSpX.js → pi-auth-json-BlIDGSl5.js} +5 -5
  177. package/dist/plugin-sdk/{pi-embedded-helpers-C1u6XyK5.js → pi-embedded-helpers-0qu1zxwF.js} +17 -17
  178. package/dist/plugin-sdk/{plugins-0PB0IWJL.js → plugins-BJciHbYr.js} +3 -3
  179. package/dist/plugin-sdk/{pw-ai-BIyeKPJF.js → pw-ai-DkUDisr8.js} +8 -8
  180. package/dist/plugin-sdk/{qmd-manager-DeQxerRp.js → qmd-manager-kPD4Wyie.js} +4 -4
  181. package/dist/plugin-sdk/{registry-BECEtj9n.js → registry-C8pj8ctW.js} +2 -2
  182. package/dist/plugin-sdk/{replies-DnGHvUeV.js → replies-0BFlZXJ5.js} +3 -3
  183. package/dist/plugin-sdk/{reply-Due6Dl-a.js → reply-BUzGHOJ7.js} +78 -78
  184. package/dist/plugin-sdk/{reply-prefix-UgReuQSG.js → reply-prefix-YUOHz1rF.js} +1 -1
  185. package/dist/plugin-sdk/{resolve-route-BaFHJbum.js → resolve-route-DudlMKs4.js} +3 -3
  186. package/dist/plugin-sdk/{retry-Bkj1k1me.js → retry-B8Oq5mgi.js} +1 -1
  187. package/dist/plugin-sdk/{runner-Bq1wBell.js → runner-BkD3LLSl.js} +9 -9
  188. package/dist/plugin-sdk/{send-MrY4gJ_w.js → send-9i1KJYhJ.js} +7 -7
  189. package/dist/plugin-sdk/{send-D4HKCCvV.js → send-A_uouj00.js} +7 -7
  190. package/dist/plugin-sdk/{send-By-dm-fT.js → send-CpfmIaxP.js} +11 -11
  191. package/dist/plugin-sdk/{send-NUKqMNZh.js → send-DREpPboJ.js} +6 -6
  192. package/dist/plugin-sdk/{send-M99nJHP9.js → send-Di1hHvf2.js} +11 -11
  193. package/dist/plugin-sdk/{session-DGLRioDC.js → session-CpS-Mhnp.js} +4 -4
  194. package/dist/plugin-sdk/{skill-commands-Cw-IRPUz.js → skill-commands-CTB7AZXn.js} +5 -5
  195. package/dist/plugin-sdk/{skills-D0-IpJne.js → skills-BCD1hFBZ.js} +7 -7
  196. package/dist/plugin-sdk/{sqlite-DtIiUWZr.js → sqlite-Yn48izJ_.js} +1 -1
  197. package/dist/plugin-sdk/{store-BcTI1iBS.js → store-BJRhX9Bi.js} +2 -2
  198. package/dist/plugin-sdk/{subsystem-Ck27y_6W.js → subsystem-BfLMZ8kW.js} +1 -1
  199. package/dist/plugin-sdk/{tables-B6ajREI6.js → tables-D5aPNTF6.js} +1 -1
  200. package/dist/plugin-sdk/{thinking-D81fexfE.js → thinking-BACprzA0.js} +5 -5
  201. package/dist/plugin-sdk/{tokens-B6GWdF_0.js → tokens-D1LxPszt.js} +1 -1
  202. package/dist/plugin-sdk/{tool-loop-detection-CbPwu1_R.js → tool-loop-detection-CYSptBsl.js} +2 -2
  203. package/dist/plugin-sdk/web-DNugKZLo.js +65 -0
  204. package/dist/plugin-sdk/{whatsapp-actions-B8IYO5sc.js → whatsapp-actions-CGuheX42.js} +20 -20
  205. package/dist/{plugins-CLJ0iOl0.js → plugins-CJYXNO4s.js} +1 -1
  206. package/dist/{program-DWc2vj5U.js → program-DShibMGY.js} +2 -2
  207. package/dist/{program-context-g9Bf7H9y.js → program-context-D9asDBqu.js} +6 -6
  208. package/dist/{prompt-select-styled-dUrAqGxZ.js → prompt-select-styled-DCNKc8Jv.js} +1 -1
  209. package/dist/{prompt-select-styled-Dq1G221I.js → prompt-select-styled-ca2X5yAy.js} +1 -1
  210. package/dist/{pw-ai-Db7y7La-.js → pw-ai-BJE3mkCf.js} +11 -11
  211. package/dist/{pw-ai-CNp2t_EO.js → pw-ai-D6PxL0UG.js} +1 -1
  212. package/dist/{qmd-manager-3KfZrilm.js → qmd-manager-4-VYqNeC.js} +7 -7
  213. package/dist/{register.maintenance-BQlKe9JQ.js → register.maintenance-5rJ9wTWH.js} +4 -4
  214. package/dist/{register.maintenance-BXCIyC2q.js → register.maintenance-za-PEn5C.js} +5 -5
  215. package/dist/{register.onboard-BjMshgZ4.js → register.onboard-C9qYHx42.js} +2 -2
  216. package/dist/{register.onboard-XjRFAaX-.js → register.onboard-D54Cc4KC.js} +2 -2
  217. package/dist/{register.setup-C3aOJ-9J.js → register.setup-D5P7KrfP.js} +2 -2
  218. package/dist/{register.setup-D9k8Eyg7.js → register.setup-v5rR-FiC.js} +2 -2
  219. package/dist/{register.subclis-DpCWe0ca.js → register.subclis-CMThmpuD.js} +3 -3
  220. package/dist/{registry-CXBAJGac.js → registry-BmY4gNy6.js} +17 -17
  221. package/dist/{replies-C3QP8Fs6.js → replies-BJH3pQXJ.js} +3 -3
  222. package/dist/{reply-prefix-DhPco1Lk.js → reply-prefix-BaCBHwi7.js} +1 -1
  223. package/dist/{resolve-route-BQouUsWd.js → resolve-route-ClURVRZM.js} +4 -4
  224. package/dist/{retry-BwVcNQB0.js → retry-BxB_D6Pn.js} +1 -1
  225. package/dist/{run-main-BRe5c6iW.js → run-main-Bzchv5w8.js} +3 -3
  226. package/dist/{runner-cxIcSp2C.js → runner-BmfMAciA.js} +9 -9
  227. package/dist/{runner-BN1T_Ne4.js → runner-CRUcM4a1.js} +1 -1
  228. package/dist/{send-DNUVC_tJ.js → send-B6BrpfcR.js} +7 -7
  229. package/dist/{send-ByKJYHWg.js → send-BNdapfcg.js} +19 -19
  230. package/dist/{send-CPUILfmc.js → send-C1F31aYA.js} +6 -6
  231. package/dist/{send-3ea6pkzH.js → send-D6tzL2Tv.js} +10 -10
  232. package/dist/{send-2sCLgOVr.js → send-DvBDdcQr.js} +6 -6
  233. package/dist/{session-C0_85REJ.js → session-BH5NTora.js} +8 -8
  234. package/dist/{skill-commands-IxgOIsIT.js → skill-commands-DVss6_wi.js} +9 -9
  235. package/dist/{skills-CwAZv64I.js → skills-Ci_2Mah4.js} +21 -21
  236. package/dist/{sqlite-BY19hYgD.js → sqlite-DJh2xLr6.js} +4 -4
  237. package/dist/{store-CDqpQLub.js → store-Be0QxLPZ.js} +2 -2
  238. package/dist/{subsystem-BFaeHXzD.js → subsystem-B5g771Td.js} +1 -1
  239. package/dist/{tables-z72GfOJY.js → tables-xDr7OSBa.js} +1 -1
  240. package/dist/{thinking-BzWAkN2b.js → thinking-wiChP3LK.js} +5 -5
  241. package/dist/{tokens-CC-Nd7t2.js → tokens-BRx7o_ZS.js} +1 -1
  242. package/dist/{tool-loop-detection-DDnbw1kC.js → tool-loop-detection-BjQsVGUc.js} +3 -3
  243. package/dist/{update-cli-Cnm99-Cj.js → update-cli-BT2KxdtU.js} +5 -5
  244. package/dist/{update-cli-3URF877J.js → update-cli-miNRN0fB.js} +4 -4
  245. package/dist/{web-CXDGlE3A.js → web-C0-NYLoG.js} +57 -57
  246. package/dist/{web-ComVBhjb.js → web-QGqe0Uj4.js} +6 -6
  247. package/dist/{whatsapp-actions-CLGSXEPl.js → whatsapp-actions-CgowK4CW.js} +23 -23
  248. package/dist/{workspace-CGgFZdqw.js → workspace-D9IzNnST.js} +6 -6
  249. package/package.json +1 -1
  250. package/dist/control-ui/_app/immutable/chunks/BXjfcUYQ.js +0 -1
  251. package/dist/control-ui/_app/immutable/chunks/C3MEsV6-.js +0 -1
  252. package/dist/control-ui/_app/immutable/chunks/jyaC7jQ0.js +0 -5
  253. package/dist/control-ui/_app/immutable/entry/start.B5atPhn7.js +0 -1
  254. package/dist/control-ui/_app/immutable/nodes/2.Zm6j08A_.js +0 -1
  255. package/dist/plugin-sdk/web-BfmMxgKj.js +0 -65
@@ -1,4 +1,4 @@
1
- import{d as nr,a as D,b as c,s as v,f as x,t as ct}from"../chunks/B2A7gHtL.js";import{p as or,s as m,a as $t,u as sr,b as lr,t as h,c as dr,d as o,e as ir,g as e,f as n,h as a,$ as cr,r,n as St,i as ye,l as ut,k as Mt}from"../chunks/qR_TM3YX.js";import{i as M}from"../chunks/DpBBTLWw.js";import{g as ur,a as ce,s as H,r as Z,e as ne,i as ge,b as vt}from"../chunks/BhtVncI_.js";import{h as vr}from"../chunks/CXQ1lKJR.js";import{b as j,a as Tt}from"../chunks/nnazh41B.js";import{b as Et}from"../chunks/DVP7Iy08.js";import{g as xr}from"../chunks/Be_uRYmX.js";var pr=x("<span> </span>"),br=x('<div class="p-3 rounded-lg bg-red-500/10 border border-red-500/30 text-red-400 text-sm"> </div>'),mr=x("<button> </button>"),fr=x(`<div><label class="block text-xs text-text-muted mb-1">Date & Time</label> <input type="datetime-local" class="px-3 py-2 rounded-lg bg-bg-tertiary border border-border-default
1
+ import{d as nr,a as D,b as c,s as v,f as x,t as ct}from"../chunks/B2A7gHtL.js";import{p as or,s as m,a as $t,u as sr,b as lr,t as h,c as dr,d as o,e as ir,g as e,f as n,h as a,$ as cr,r,n as St,i as ye,l as ut,k as Mt}from"../chunks/qR_TM3YX.js";import{i as M}from"../chunks/DpBBTLWw.js";import{g as ur,a as ce,s as H,r as Z,e as ne,i as ge,b as vt}from"../chunks/BLtDog0v.js";import{h as vr}from"../chunks/CXQ1lKJR.js";import{b as j,a as Tt}from"../chunks/nnazh41B.js";import{b as Et}from"../chunks/DVP7Iy08.js";import{g as xr}from"../chunks/Be_uRYmX.js";var pr=x("<span> </span>"),br=x('<div class="p-3 rounded-lg bg-red-500/10 border border-red-500/30 text-red-400 text-sm"> </div>'),mr=x("<button> </button>"),fr=x(`<div><label class="block text-xs text-text-muted mb-1">Date & Time</label> <input type="datetime-local" class="px-3 py-2 rounded-lg bg-bg-tertiary border border-border-default
2
2
  text-text-primary text-sm focus:outline-none focus:border-accent-purple/60 transition-all"/></div>`),yr=x("<button> </button>"),gr=x(`<div><label class="block text-xs text-text-muted mb-1.5">Interval</label> <div class="flex flex-wrap gap-1.5 mb-2"></div> <div class="flex items-center gap-2"><input type="number" min="1000" step="1000" class="w-40 px-3 py-2 rounded-lg bg-bg-tertiary border border-border-default
3
3
  text-text-primary text-sm focus:outline-none focus:border-accent-purple/60 transition-all"/> <span class="text-xs text-text-muted"> </span></div></div>`),_r=x('<p class="mt-1 text-xs text-accent-cyan"> </p>'),hr=x("<button> </button>"),kr=x("<option> </option>"),wr=x(`<div class="space-y-3"><div><label class="block text-xs text-text-muted mb-1.5">Cron Expression</label> <input type="text" placeholder="*/5 * * * *" class="w-full px-3 py-2 rounded-lg bg-bg-tertiary border border-border-default
4
4
  text-text-primary font-mono text-sm placeholder:text-text-muted/50
@@ -1,4 +1,4 @@
1
- import{d as ve,a as z,b as i,f as c,s as b,c as Mt,t as ue}from"../chunks/B2A7gHtL.js";import{p as xe,s as y,a as Ct,u as pe,b as me,t as _,c as fe,g as t,d as v,e as be,f as l,$ as ge,h as s,n as Nt,r as a,j as K,k as _e,i as R,l as Ot}from"../chunks/qR_TM3YX.js";import{i as h}from"../chunks/DpBBTLWw.js";import{g as he,a as M,r as ye,b as Y,e as Z,s as Jt,i as $}from"../chunks/BhtVncI_.js";import{h as we}from"../chunks/CXQ1lKJR.js";import{b as jt}from"../chunks/nnazh41B.js";var ke=Mt('<svg class="w-4 h-4 animate-spin" fill="none" viewBox="0 0 24 24"><circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle><path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"></path></svg>'),Se=c('<div class="rounded-xl border border-border-default bg-bg-secondary/50 p-8 text-center"><div class="text-text-muted text-sm">Connect to the gateway to use debug tools.</div></div>'),Ce=Mt('<svg class="w-4 h-4 animate-spin" fill="none" viewBox="0 0 24 24"><circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle><path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"></path></svg> Executing…',1),Ne=c('<div class="absolute top-2 right-2 px-2 py-0.5 rounded text-[10px] font-bold bg-red-500/20 text-red-400 uppercase tracking-wider">Error</div> <pre class="p-3 text-sm font-mono text-red-400 overflow-auto max-h-[280px] whitespace-pre-wrap"> </pre>',1),Oe=c('<div class="absolute top-2 right-2 px-2 py-0.5 rounded text-[10px] font-bold bg-accent-green/20 text-accent-green uppercase tracking-wider">OK</div> <pre class="p-3 text-sm font-mono text-accent-green/90 overflow-auto max-h-[280px] whitespace-pre-wrap"> </pre>',1),Je=c('<div class="h-full flex items-center justify-center text-text-muted/40 text-sm">Response will appear here</div>'),je=c("<button> </button>"),Me=c('<div class="mt-4 pt-3 border-t border-border-default"><div class="text-xs font-medium text-text-muted mb-2">Recent Calls</div> <div class="flex flex-wrap gap-2"></div></div>'),Ee=c('<div class="rounded-xl border border-red-500/30 bg-red-500/5 p-4 text-red-400 text-sm"> </div>'),He=c("<span> </span>"),We=c('<div><div class="text-[11px] text-text-muted uppercase tracking-wider"> </div> <div class="text-sm text-text-secondary font-mono truncate"> </div></div>'),De=c('<div class="mt-4 pt-3 border-t border-border-default"><details><summary class="text-xs text-text-muted cursor-pointer hover:text-text-secondary transition-colors">Full JSON</summary> <pre class="mt-2 p-3 bg-bg-input rounded-lg text-xs font-mono text-text-secondary overflow-auto max-h-48"> </pre></details></div>'),Re=c('<div class="grid grid-cols-2 gap-3"></div> <!>',1),Ae=c('<div class="text-sm text-text-muted">No data loaded</div>'),Pe=c('<div><div class="text-[11px] text-text-muted uppercase tracking-wider"> </div> <div class="text-sm text-text-secondary font-mono truncate"> </div></div>'),ze=c('<div class="mt-4 pt-3 border-t border-border-default"><details><summary class="text-xs text-text-muted cursor-pointer hover:text-text-secondary transition-colors">Full JSON</summary> <pre class="mt-2 p-3 bg-bg-input rounded-lg text-xs font-mono text-text-secondary overflow-auto max-h-48"> </pre></details></div>'),Ke=c('<div class="grid grid-cols-2 gap-3"></div> <!>',1),Be=c('<div class="text-sm text-text-muted">No data loaded</div>'),Le=c(`<div class="flex items-center gap-2 px-3 py-1.5 rounded-lg bg-bg-input/50 border border-border-default/50
1
+ import{d as ve,a as z,b as i,f as c,s as b,c as Mt,t as ue}from"../chunks/B2A7gHtL.js";import{p as xe,s as y,a as Ct,u as pe,b as me,t as _,c as fe,g as t,d as v,e as be,f as l,$ as ge,h as s,n as Nt,r as a,j as K,k as _e,i as R,l as Ot}from"../chunks/qR_TM3YX.js";import{i as h}from"../chunks/DpBBTLWw.js";import{g as he,a as M,r as ye,b as Y,e as Z,s as Jt,i as $}from"../chunks/BLtDog0v.js";import{h as we}from"../chunks/CXQ1lKJR.js";import{b as jt}from"../chunks/nnazh41B.js";var ke=Mt('<svg class="w-4 h-4 animate-spin" fill="none" viewBox="0 0 24 24"><circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle><path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"></path></svg>'),Se=c('<div class="rounded-xl border border-border-default bg-bg-secondary/50 p-8 text-center"><div class="text-text-muted text-sm">Connect to the gateway to use debug tools.</div></div>'),Ce=Mt('<svg class="w-4 h-4 animate-spin" fill="none" viewBox="0 0 24 24"><circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle><path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"></path></svg> Executing…',1),Ne=c('<div class="absolute top-2 right-2 px-2 py-0.5 rounded text-[10px] font-bold bg-red-500/20 text-red-400 uppercase tracking-wider">Error</div> <pre class="p-3 text-sm font-mono text-red-400 overflow-auto max-h-[280px] whitespace-pre-wrap"> </pre>',1),Oe=c('<div class="absolute top-2 right-2 px-2 py-0.5 rounded text-[10px] font-bold bg-accent-green/20 text-accent-green uppercase tracking-wider">OK</div> <pre class="p-3 text-sm font-mono text-accent-green/90 overflow-auto max-h-[280px] whitespace-pre-wrap"> </pre>',1),Je=c('<div class="h-full flex items-center justify-center text-text-muted/40 text-sm">Response will appear here</div>'),je=c("<button> </button>"),Me=c('<div class="mt-4 pt-3 border-t border-border-default"><div class="text-xs font-medium text-text-muted mb-2">Recent Calls</div> <div class="flex flex-wrap gap-2"></div></div>'),Ee=c('<div class="rounded-xl border border-red-500/30 bg-red-500/5 p-4 text-red-400 text-sm"> </div>'),He=c("<span> </span>"),We=c('<div><div class="text-[11px] text-text-muted uppercase tracking-wider"> </div> <div class="text-sm text-text-secondary font-mono truncate"> </div></div>'),De=c('<div class="mt-4 pt-3 border-t border-border-default"><details><summary class="text-xs text-text-muted cursor-pointer hover:text-text-secondary transition-colors">Full JSON</summary> <pre class="mt-2 p-3 bg-bg-input rounded-lg text-xs font-mono text-text-secondary overflow-auto max-h-48"> </pre></details></div>'),Re=c('<div class="grid grid-cols-2 gap-3"></div> <!>',1),Ae=c('<div class="text-sm text-text-muted">No data loaded</div>'),Pe=c('<div><div class="text-[11px] text-text-muted uppercase tracking-wider"> </div> <div class="text-sm text-text-secondary font-mono truncate"> </div></div>'),ze=c('<div class="mt-4 pt-3 border-t border-border-default"><details><summary class="text-xs text-text-muted cursor-pointer hover:text-text-secondary transition-colors">Full JSON</summary> <pre class="mt-2 p-3 bg-bg-input rounded-lg text-xs font-mono text-text-secondary overflow-auto max-h-48"> </pre></details></div>'),Ke=c('<div class="grid grid-cols-2 gap-3"></div> <!>',1),Be=c('<div class="text-sm text-text-muted">No data loaded</div>'),Le=c(`<div class="flex items-center gap-2 px-3 py-1.5 rounded-lg bg-bg-input/50 border border-border-default/50
2
2
  hover:border-accent-amber/30 transition-colors group"><span class="text-[10px] text-text-muted font-mono w-5 text-right"></span> <span class="text-sm font-mono text-text-secondary group-hover:text-accent-amber transition-colors truncate"> </span></div>`),Ve=c('<div class="space-y-1.5 max-h-64 overflow-y-auto"></div>'),Fe=c('<div class="text-sm text-text-muted">No models available</div>'),Te=c('<pre class="p-3 bg-bg-input rounded-lg text-xs font-mono text-text-secondary overflow-auto max-h-64 whitespace-pre-wrap"> </pre>'),Ge=c('<div class="text-sm text-text-muted">No heartbeat data</div>'),qe=c(`<div class="rounded-xl border border-accent-cyan/30 bg-bg-secondary/60 p-5
3
3
  shadow-[0_0_30px_rgba(0,229,255,0.06)]"><div class="flex items-center justify-between mb-4"><div><h2 class="text-lg font-semibold text-accent-cyan flex items-center gap-2"><svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 9l3 3-3 3m5 0h3M5 20h14a2 2 0 002-2V6a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"></path></svg> Manual RPC Console</h2> <p class="text-xs text-text-muted mt-0.5">Send raw gateway methods with JSON params. <kbd class="text-accent-cyan/70">Ctrl+Enter</kbd> to execute.</p></div></div> <div class="grid grid-cols-1 lg:grid-cols-2 gap-4"><div class="space-y-3"><div><label for="rpc-method" class="block text-xs font-medium text-text-muted mb-1.5">Method</label> <input id="rpc-method" placeholder="e.g. status, health, models.list" class="w-full bg-bg-input border border-border-default rounded-lg px-3 py-2.5
4
4
  font-mono text-sm text-text-primary placeholder:text-text-muted/50
@@ -1,4 +1,4 @@
1
- import{d as Nt,a as D,b as v,f as p,s as c,t as ie,e as Tt}from"../chunks/B2A7gHtL.js";import{p as zt,s as A,a as Dt,u as ze,b as Ft,d as w,t as x,c as Ht,e as Pt,g as e,f as i,$ as Et,h as n,r,i as F,j as Ut}from"../chunks/qR_TM3YX.js";import{i as f}from"../chunks/DpBBTLWw.js";import{g as Ot,a as H,s as V,e as C,i as L,b as De}from"../chunks/BhtVncI_.js";import{h as Rt}from"../chunks/CXQ1lKJR.js";import{s as qt}from"../chunks/tr5b7CMr.js";import{g as Gt}from"../chunks/Be_uRYmX.js";var Jt=p('<div class="flex items-center gap-1.5 mt-3 text-xs"><span class="w-2 h-2 rounded-full bg-accent-green glow-pulse"></span> <span class="text-text-muted">Active instances:</span> <span class="text-accent-green font-mono font-semibold"> </span></div>'),Qt=p('<div class="flex flex-col items-center justify-center h-full text-center"><div class="w-16 h-16 rounded-2xl bg-bg-tertiary border border-border-default flex items-center justify-center mb-4"><svg class="w-8 h-8 text-text-muted" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M18.364 5.636a9 9 0 010 12.728m-2.829-2.829a5 5 0 000-7.07"></path></svg></div> <p class="text-text-muted text-sm">Connect to the gateway to view instances.</p></div>'),Wt=p('<div class="glass rounded-xl p-4 border border-accent-pink/30 mb-4"><div class="flex items-center gap-2 text-accent-pink text-sm"><svg class="w-4 h-4 flex-shrink-0" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"></path></svg> <span> </span></div></div>'),Xt=p('<div class="glass rounded-xl p-5 border border-border-default animate-pulse"><div class="h-4 w-40 bg-bg-tertiary rounded mb-2"></div> <div class="h-3 w-64 bg-bg-tertiary rounded mb-3"></div> <div class="flex gap-2"><div class="h-5 w-14 bg-bg-tertiary rounded-full"></div> <div class="h-5 w-14 bg-bg-tertiary rounded-full"></div></div></div>'),Yt=p('<div class="flex flex-col gap-3"></div>'),Zt=p('<div class="flex flex-col items-center justify-center h-64 text-center"><p class="text-text-muted text-sm">No instances reported yet.</p></div>'),ea=p('<span class="text-xs text-text-muted"> </span>'),ta=p('<span class="text-text-muted/50"> </span>'),aa=p('<span class="px-2 py-0.5 rounded-full text-[10px] font-medium bg-accent-cyan/10 text-accent-cyan border border-accent-cyan/20"> </span>'),ra=p('<span class="px-2 py-0.5 rounded-full text-[10px] font-medium bg-accent-purple/10 text-accent-purple border border-accent-purple/20"> </span>'),sa=p('<span class="px-2 py-0.5 rounded-full text-[10px] font-medium bg-bg-tertiary text-text-muted border border-border-default"> </span>'),oa=p('<span class="px-2 py-0.5 rounded-full text-[10px] font-medium bg-accent-green/10 text-accent-green border border-accent-green/10"> </span>'),na=p('<span class="px-2 py-0.5 rounded-full text-[10px] font-medium bg-bg-tertiary text-text-muted border border-border-default"> </span>'),ia=p('<span class="px-2 py-0.5 rounded-full text-[10px] font-medium bg-accent-purple/10 text-purple-300 border border-accent-purple/10"> </span>'),da=p('<span class="px-2 py-0.5 rounded-full text-[10px] font-medium bg-accent-amber/10 text-accent-amber border border-accent-amber/10"> </span>'),la=p('<div class="flex items-center gap-1 justify-end"><svg class="w-3 h-3" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg> </div>'),va=p("<div> </div>"),ca=p('<div class="text-text-muted/60"> </div>'),pa=p('<div class="flex items-center gap-1"><button><svg class="w-3 h-3" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9.663 17h4.673M12 3v1m6.364 1.636l-.707.707M21 12h-1M4 12H3m3.343-5.657l-.707-.707m2.828 9.9a5 5 0 117.072 0l-.548.547A3.374 3.374 0 0014 18.469V19a2 2 0 11-4 0v-.531c0-.895-.356-1.754-.988-2.386l-.548-.547z"></path></svg> </button> <button><svg class="w-3 h-3" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 9l3 3-3 3m5 0h3M5 20h14a2 2 0 002-2V6a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"></path></svg> </button></div>'),xa=p('<div class="col-span-2 md:col-span-3"><span class="text-text-muted block mb-0.5">Session Key</span> <span class="text-text-primary font-mono text-[10px] break-all"> </span></div>'),ua=p('<div><span class="text-text-muted block mb-0.5">Model</span> <span class="text-accent-purple font-mono"> </span></div>'),fa=p('<span class="px-1.5 py-0.5 rounded text-[10px] bg-bg-tertiary text-text-muted border border-border-default font-mono"> </span>'),ma=p('<div class="col-span-2 md:col-span-3"><span class="text-text-muted block mb-0.5">Scopes</span> <div class="flex flex-wrap gap-1 mt-1"></div></div>'),ba=p('<span class="px-1.5 py-0.5 rounded text-[10px] bg-accent-green/10 text-accent-green border border-accent-green/10 font-mono"> </span>'),_a=p('<div class="col-span-2 md:col-span-3"><span class="text-text-muted block mb-0.5">Capabilities</span> <div class="flex flex-wrap gap-1 mt-1"></div></div>'),ga=p('<div class="px-4 pb-4 border-t border-border-default/50 pt-3 animate-fade-in"><div class="grid grid-cols-2 md:grid-cols-3 gap-3 text-xs"><div><span class="text-text-muted block mb-0.5">Mode</span> <span class="text-text-primary font-mono"> </span></div> <div><span class="text-text-muted block mb-0.5">Platform</span> <span class="text-text-primary font-mono"> </span></div> <div><span class="text-text-muted block mb-0.5">Device</span> <span class="text-text-primary font-mono"> </span></div> <div><span class="text-text-muted block mb-0.5">Model ID</span> <span class="text-text-primary font-mono"> </span></div> <div><span class="text-text-muted block mb-0.5">Client Version</span> <span class="text-text-primary font-mono"> </span></div> <div><span class="text-text-muted block mb-0.5">Client ID</span> <span class="text-text-primary font-mono"> </span></div> <!> <!> <!> <!></div></div>'),ha=p('<div class="rounded-xl border border-border-default bg-bg-secondary/50 hover:border-accent-cyan/20 transition-all animate-fade-in"><div class="p-4"><div class="flex items-start justify-between gap-4"><div class="min-w-0 flex-1"><div class="flex items-center gap-2 mb-1.5"><span></span> <h3 class="text-sm font-semibold text-text-primary truncate"> </h3> <!></div> <p class="text-xs text-text-muted mb-2"><!> <!> <!> <!></p> <div class="flex flex-wrap gap-1.5"><!> <!> <!> <!> <!> <!></div></div> <div class="flex flex-col items-end gap-2 flex-shrink-0"><div class="text-right text-xs text-text-muted space-y-0.5"><!> <!> <!></div> <!> <button class="flex items-center gap-1 text-[10px] text-text-muted hover:text-accent-cyan transition-colors"><svg fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"></path></svg> </button></div></div></div> <!></div>'),ka=p('<div class="flex flex-col gap-3"></div>'),wa=p('<div class="h-full flex flex-col overflow-hidden"><div class="flex-shrink-0 p-4 md:p-6 pb-4 border-b border-border-default"><div class="flex items-start justify-between gap-4 flex-wrap"><div class="flex items-center gap-3"><div class="w-10 h-10 rounded-xl gradient-bg border border-border-glow flex items-center justify-center"><svg class="w-5 h-5 text-accent-cyan" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5.636 18.364a9 9 0 010-12.728m12.728 0a9 9 0 010 12.728M12 12h.01"></path></svg></div> <div><h1 class="text-xl font-bold text-text-primary glow-text-cyan">Connected Instances</h1> <p class="text-sm text-text-muted">Presence beacons from the gateway and clients</p></div></div> <button class="flex items-center gap-1.5 px-3 py-1.5 text-sm bg-bg-tertiary border border-border-default rounded-lg text-text-secondary hover:text-accent-cyan hover:border-accent-cyan/30 transition-all disabled:opacity-40 disabled:cursor-not-allowed"><svg fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"></path></svg> </button></div> <!></div> <div class="flex-1 overflow-y-auto p-4 md:p-6"><!></div></div>');function Sa(Fe,He){zt(He,!0);const P=Ot(),E=Gt();let y=A(Dt([])),M=A(!1),B=A(null),de=A(null),U=A(null);async function O(){if(!(!H.connected||e(M))){w(M,!0),w(B,null);try{const o=await H.call("system-presence",{});Array.isArray(o)?w(y,o,!0):o&&Array.isArray(o.entries)?w(y,o.entries,!0):w(y,[],!0)}catch(o){w(B,String(o),!0)}finally{w(M,!1)}}}async function le(o,l,u){if(!o.sessionKey){E.error("No Session","This instance has no active session to patch");return}w(U,l,!0);try{await H.call("sessions.patch",{key:o.sessionKey,...u}),E.success("Updated","Session settings saved"),await O()}catch(t){E.error("Failed",String(t))}finally{w(U,null)}}async function Pe(o,l){const u=["off","on","stream"],t=o.thinkingLevel??"off",m=u.indexOf(t),N=u[(m+1)%u.length];await le(o,l,{thinkingLevel:N})}async function Ee(o,l){const t=(o.verboseLevel??"off")==="off"?"on":"off";await le(o,l,{verboseLevel:t})}function Ue(o){if(typeof o!="number"||o<=0)return"—";const l=Math.floor(o/1e3),u=Math.floor(l/60),t=Math.floor(u/60),m=Math.floor(t/24);return m>0?`${m}d ${t%24}h`:t>0?`${t}h ${u%60}m`:u>0?`${u}m`:`${l}s`}function Oe(o){return o==null?"—":o<60?`${o}s ago`:o<3600?`${Math.floor(o/60)}m ago`:o<86400?`${Math.floor(o/3600)}h ago`:`${Math.floor(o/86400)}d ago`}function Re(o){return o.lastInputSeconds!=null?o.lastInputSeconds<300?"online":o.lastInputSeconds<3600?"idle":"stale":"online"}let qe=F(()=>[...e(y)].sort((o,l)=>{const u=o.mode==="gateway"?0:1,t=l.mode==="gateway"?0:1;return u!==t?u-t:(l.uptimeMs??0)-(o.uptimeMs??0)}));ze(()=>{P.state.status==="connected"&&Ft(()=>O())}),ze(()=>H.on("system-presence",l=>{Array.isArray(l)&&w(y,l,!0)}));var R=wa();Rt("aye7dn",o=>{Pt(()=>{Et.title="Instances — Cortex"})});var q=n(R),G=n(q),K=i(n(G),2),ve=n(K),Ge=i(ve);r(K),r(G);var Je=i(G,2);{var Qe=o=>{var l=Jt(),u=i(n(l),4),t=n(u,!0);r(u),r(l),x(()=>c(t,e(y).length)),v(o,l)};f(Je,o=>{e(y).length>0&&o(Qe)})}r(q);var ce=i(q,2),We=n(ce);{var Xe=o=>{var l=Qt();v(o,l)},Ye=o=>{var l=Wt(),u=n(l),t=i(n(u),2),m=n(t,!0);r(t),r(u),r(l),x(()=>c(m,e(B))),v(o,l)},Ze=o=>{var l=Yt();C(l,20,()=>Array(3),L,(u,t)=>{var m=Xt();v(u,m)}),r(l),v(o,l)},et=o=>{var l=Zt();v(o,l)},tt=o=>{var l=ka();C(l,21,()=>e(qe),L,(u,t,m)=>{const N=F(()=>Re(e(t))),T=F(()=>e(de)===m),pe=F(()=>e(U)===m);var z=ha();qt(z,`animation-delay: ${m*50}ms`);var J=n(z),xe=n(J),Q=n(xe),W=n(Q),ue=n(W),X=i(ue,2),at=n(X,!0);r(X);var rt=i(X,2);{var st=a=>{var s=ea(),d=n(s);r(s),x(()=>c(d,`(${e(t).host??""})`)),v(a,s)};f(rt,a=>{e(t).displayName&&e(t).host&&e(t).displayName!==e(t).host&&a(st)})}r(W);var Y=i(W,2),fe=n(Y);{var ot=a=>{var s=ie();x(()=>c(s,e(t).platform)),v(a,s)};f(fe,a=>{e(t).platform&&a(ot)})}var me=i(fe,2);{var nt=a=>{var s=ie();x(()=>c(s,`· ${e(t).deviceFamily??""}`)),v(a,s)};f(me,a=>{e(t).deviceFamily&&a(nt)})}var be=i(me,2);{var it=a=>{var s=ie();x(()=>c(s,`· ${e(t).modelIdentifier??""}`)),v(a,s)};f(be,a=>{e(t).modelIdentifier&&a(it)})}var dt=i(be,2);{var lt=a=>{var s=ta(),d=n(s);r(s),x(()=>c(d,`· ${e(t).clientId??""}`)),v(a,s)};f(dt,a=>{e(t).clientId&&e(t).clientId!==e(t).host&&a(lt)})}r(Y);var _e=i(Y,2),ge=n(_e);{var vt=a=>{var s=aa(),d=n(s,!0);r(s),x(()=>c(d,e(t).mode)),v(a,s)};f(ge,a=>{e(t).mode&&a(vt)})}var he=i(ge,2);C(he,17,()=>e(t).roles??[],L,(a,s)=>{var d=ra(),g=n(d,!0);r(d),x(()=>c(g,e(s))),v(a,d)});var ke=i(he,2);{var ct=a=>{var s=sa(),d=n(s);r(s),x(()=>c(d,`v${e(t).clientVersion??e(t).version??""}`)),v(a,s)};f(ke,a=>{(e(t).version||e(t).clientVersion)&&a(ct)})}var we=i(ke,2);{var pt=a=>{var s=Tt(),d=Ut(s);C(d,17,()=>e(t).capabilities??[],L,(g,h)=>{var $=oa(),S=n($,!0);r($),x(()=>c(S,e(h))),v(g,$)}),v(a,s)},xt=a=>{var s=na(),d=n(s);r(s),x(()=>c(d,`${(e(t).scopes??[]).length??""} scopes`)),v(a,s)};f(we,a=>{(e(t).capabilities??[]).length>0?a(pt):(e(t).scopes??[]).length>0&&a(xt,1)})}var ye=i(we,2);{var ut=a=>{var s=ia(),d=n(s,!0);r(s),x(()=>c(d,e(t).model)),v(a,s)};f(ye,a=>{e(t).model&&a(ut)})}var ft=i(ye,2);{var mt=a=>{var s=da(),d=n(s,!0);r(s),x(()=>c(d,e(t).agentId)),v(a,s)};f(ft,a=>{e(t).agentId&&a(mt)})}r(_e),r(Q);var Me=i(Q,2),Z=n(Me),$e=n(Z);{var bt=a=>{var s=la(),d=i(n(s));r(s),x(g=>c(d,` Up ${g??""}`),[()=>Ue(e(t).uptimeMs)]),v(a,s)};f($e,a=>{e(t).uptimeMs&&a(bt)})}var Ie=i($e,2);{var _t=a=>{var s=va(),d=n(s);r(s),x(g=>c(d,`Input ${g??""}`),[()=>Oe(e(t).lastInputSeconds)]),v(a,s)};f(Ie,a=>{e(t).lastInputSeconds!=null&&a(_t)})}var gt=i(Ie,2);{var ht=a=>{var s=ca(),d=n(s,!0);r(s),x(()=>c(d,e(t).reason)),v(a,s)};f(gt,a=>{e(t).reason&&a(ht)})}r(Z);var je=i(Z,2);{var kt=a=>{var s=pa(),d=n(s),g=i(n(d));r(d);var h=i(d,2),$=i(n(h));r(h),r(s),x(()=>{d.disabled=e(pe),V(d,1,`flex items-center gap-1 px-2 py-1 rounded-lg text-[10px] font-medium border transition-all disabled:opacity-50
1
+ import{d as Nt,a as D,b as v,f as p,s as c,t as ie,e as Tt}from"../chunks/B2A7gHtL.js";import{p as zt,s as A,a as Dt,u as ze,b as Ft,d as w,t as x,c as Ht,e as Pt,g as e,f as i,$ as Et,h as n,r,i as F,j as Ut}from"../chunks/qR_TM3YX.js";import{i as f}from"../chunks/DpBBTLWw.js";import{g as Ot,a as H,s as V,e as C,i as L,b as De}from"../chunks/BLtDog0v.js";import{h as Rt}from"../chunks/CXQ1lKJR.js";import{s as qt}from"../chunks/SHB02qEx.js";import{g as Gt}from"../chunks/Be_uRYmX.js";var Jt=p('<div class="flex items-center gap-1.5 mt-3 text-xs"><span class="w-2 h-2 rounded-full bg-accent-green glow-pulse"></span> <span class="text-text-muted">Active instances:</span> <span class="text-accent-green font-mono font-semibold"> </span></div>'),Qt=p('<div class="flex flex-col items-center justify-center h-full text-center"><div class="w-16 h-16 rounded-2xl bg-bg-tertiary border border-border-default flex items-center justify-center mb-4"><svg class="w-8 h-8 text-text-muted" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M18.364 5.636a9 9 0 010 12.728m-2.829-2.829a5 5 0 000-7.07"></path></svg></div> <p class="text-text-muted text-sm">Connect to the gateway to view instances.</p></div>'),Wt=p('<div class="glass rounded-xl p-4 border border-accent-pink/30 mb-4"><div class="flex items-center gap-2 text-accent-pink text-sm"><svg class="w-4 h-4 flex-shrink-0" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"></path></svg> <span> </span></div></div>'),Xt=p('<div class="glass rounded-xl p-5 border border-border-default animate-pulse"><div class="h-4 w-40 bg-bg-tertiary rounded mb-2"></div> <div class="h-3 w-64 bg-bg-tertiary rounded mb-3"></div> <div class="flex gap-2"><div class="h-5 w-14 bg-bg-tertiary rounded-full"></div> <div class="h-5 w-14 bg-bg-tertiary rounded-full"></div></div></div>'),Yt=p('<div class="flex flex-col gap-3"></div>'),Zt=p('<div class="flex flex-col items-center justify-center h-64 text-center"><p class="text-text-muted text-sm">No instances reported yet.</p></div>'),ea=p('<span class="text-xs text-text-muted"> </span>'),ta=p('<span class="text-text-muted/50"> </span>'),aa=p('<span class="px-2 py-0.5 rounded-full text-[10px] font-medium bg-accent-cyan/10 text-accent-cyan border border-accent-cyan/20"> </span>'),ra=p('<span class="px-2 py-0.5 rounded-full text-[10px] font-medium bg-accent-purple/10 text-accent-purple border border-accent-purple/20"> </span>'),sa=p('<span class="px-2 py-0.5 rounded-full text-[10px] font-medium bg-bg-tertiary text-text-muted border border-border-default"> </span>'),oa=p('<span class="px-2 py-0.5 rounded-full text-[10px] font-medium bg-accent-green/10 text-accent-green border border-accent-green/10"> </span>'),na=p('<span class="px-2 py-0.5 rounded-full text-[10px] font-medium bg-bg-tertiary text-text-muted border border-border-default"> </span>'),ia=p('<span class="px-2 py-0.5 rounded-full text-[10px] font-medium bg-accent-purple/10 text-purple-300 border border-accent-purple/10"> </span>'),da=p('<span class="px-2 py-0.5 rounded-full text-[10px] font-medium bg-accent-amber/10 text-accent-amber border border-accent-amber/10"> </span>'),la=p('<div class="flex items-center gap-1 justify-end"><svg class="w-3 h-3" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg> </div>'),va=p("<div> </div>"),ca=p('<div class="text-text-muted/60"> </div>'),pa=p('<div class="flex items-center gap-1"><button><svg class="w-3 h-3" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9.663 17h4.673M12 3v1m6.364 1.636l-.707.707M21 12h-1M4 12H3m3.343-5.657l-.707-.707m2.828 9.9a5 5 0 117.072 0l-.548.547A3.374 3.374 0 0014 18.469V19a2 2 0 11-4 0v-.531c0-.895-.356-1.754-.988-2.386l-.548-.547z"></path></svg> </button> <button><svg class="w-3 h-3" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 9l3 3-3 3m5 0h3M5 20h14a2 2 0 002-2V6a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"></path></svg> </button></div>'),xa=p('<div class="col-span-2 md:col-span-3"><span class="text-text-muted block mb-0.5">Session Key</span> <span class="text-text-primary font-mono text-[10px] break-all"> </span></div>'),ua=p('<div><span class="text-text-muted block mb-0.5">Model</span> <span class="text-accent-purple font-mono"> </span></div>'),fa=p('<span class="px-1.5 py-0.5 rounded text-[10px] bg-bg-tertiary text-text-muted border border-border-default font-mono"> </span>'),ma=p('<div class="col-span-2 md:col-span-3"><span class="text-text-muted block mb-0.5">Scopes</span> <div class="flex flex-wrap gap-1 mt-1"></div></div>'),ba=p('<span class="px-1.5 py-0.5 rounded text-[10px] bg-accent-green/10 text-accent-green border border-accent-green/10 font-mono"> </span>'),_a=p('<div class="col-span-2 md:col-span-3"><span class="text-text-muted block mb-0.5">Capabilities</span> <div class="flex flex-wrap gap-1 mt-1"></div></div>'),ga=p('<div class="px-4 pb-4 border-t border-border-default/50 pt-3 animate-fade-in"><div class="grid grid-cols-2 md:grid-cols-3 gap-3 text-xs"><div><span class="text-text-muted block mb-0.5">Mode</span> <span class="text-text-primary font-mono"> </span></div> <div><span class="text-text-muted block mb-0.5">Platform</span> <span class="text-text-primary font-mono"> </span></div> <div><span class="text-text-muted block mb-0.5">Device</span> <span class="text-text-primary font-mono"> </span></div> <div><span class="text-text-muted block mb-0.5">Model ID</span> <span class="text-text-primary font-mono"> </span></div> <div><span class="text-text-muted block mb-0.5">Client Version</span> <span class="text-text-primary font-mono"> </span></div> <div><span class="text-text-muted block mb-0.5">Client ID</span> <span class="text-text-primary font-mono"> </span></div> <!> <!> <!> <!></div></div>'),ha=p('<div class="rounded-xl border border-border-default bg-bg-secondary/50 hover:border-accent-cyan/20 transition-all animate-fade-in"><div class="p-4"><div class="flex items-start justify-between gap-4"><div class="min-w-0 flex-1"><div class="flex items-center gap-2 mb-1.5"><span></span> <h3 class="text-sm font-semibold text-text-primary truncate"> </h3> <!></div> <p class="text-xs text-text-muted mb-2"><!> <!> <!> <!></p> <div class="flex flex-wrap gap-1.5"><!> <!> <!> <!> <!> <!></div></div> <div class="flex flex-col items-end gap-2 flex-shrink-0"><div class="text-right text-xs text-text-muted space-y-0.5"><!> <!> <!></div> <!> <button class="flex items-center gap-1 text-[10px] text-text-muted hover:text-accent-cyan transition-colors"><svg fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"></path></svg> </button></div></div></div> <!></div>'),ka=p('<div class="flex flex-col gap-3"></div>'),wa=p('<div class="h-full flex flex-col overflow-hidden"><div class="flex-shrink-0 p-4 md:p-6 pb-4 border-b border-border-default"><div class="flex items-start justify-between gap-4 flex-wrap"><div class="flex items-center gap-3"><div class="w-10 h-10 rounded-xl gradient-bg border border-border-glow flex items-center justify-center"><svg class="w-5 h-5 text-accent-cyan" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5.636 18.364a9 9 0 010-12.728m12.728 0a9 9 0 010 12.728M12 12h.01"></path></svg></div> <div><h1 class="text-xl font-bold text-text-primary glow-text-cyan">Connected Instances</h1> <p class="text-sm text-text-muted">Presence beacons from the gateway and clients</p></div></div> <button class="flex items-center gap-1.5 px-3 py-1.5 text-sm bg-bg-tertiary border border-border-default rounded-lg text-text-secondary hover:text-accent-cyan hover:border-accent-cyan/30 transition-all disabled:opacity-40 disabled:cursor-not-allowed"><svg fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"></path></svg> </button></div> <!></div> <div class="flex-1 overflow-y-auto p-4 md:p-6"><!></div></div>');function Sa(Fe,He){zt(He,!0);const P=Ot(),E=Gt();let y=A(Dt([])),M=A(!1),B=A(null),de=A(null),U=A(null);async function O(){if(!(!H.connected||e(M))){w(M,!0),w(B,null);try{const o=await H.call("system-presence",{});Array.isArray(o)?w(y,o,!0):o&&Array.isArray(o.entries)?w(y,o.entries,!0):w(y,[],!0)}catch(o){w(B,String(o),!0)}finally{w(M,!1)}}}async function le(o,l,u){if(!o.sessionKey){E.error("No Session","This instance has no active session to patch");return}w(U,l,!0);try{await H.call("sessions.patch",{key:o.sessionKey,...u}),E.success("Updated","Session settings saved"),await O()}catch(t){E.error("Failed",String(t))}finally{w(U,null)}}async function Pe(o,l){const u=["off","on","stream"],t=o.thinkingLevel??"off",m=u.indexOf(t),N=u[(m+1)%u.length];await le(o,l,{thinkingLevel:N})}async function Ee(o,l){const t=(o.verboseLevel??"off")==="off"?"on":"off";await le(o,l,{verboseLevel:t})}function Ue(o){if(typeof o!="number"||o<=0)return"—";const l=Math.floor(o/1e3),u=Math.floor(l/60),t=Math.floor(u/60),m=Math.floor(t/24);return m>0?`${m}d ${t%24}h`:t>0?`${t}h ${u%60}m`:u>0?`${u}m`:`${l}s`}function Oe(o){return o==null?"—":o<60?`${o}s ago`:o<3600?`${Math.floor(o/60)}m ago`:o<86400?`${Math.floor(o/3600)}h ago`:`${Math.floor(o/86400)}d ago`}function Re(o){return o.lastInputSeconds!=null?o.lastInputSeconds<300?"online":o.lastInputSeconds<3600?"idle":"stale":"online"}let qe=F(()=>[...e(y)].sort((o,l)=>{const u=o.mode==="gateway"?0:1,t=l.mode==="gateway"?0:1;return u!==t?u-t:(l.uptimeMs??0)-(o.uptimeMs??0)}));ze(()=>{P.state.status==="connected"&&Ft(()=>O())}),ze(()=>H.on("system-presence",l=>{Array.isArray(l)&&w(y,l,!0)}));var R=wa();Rt("aye7dn",o=>{Pt(()=>{Et.title="Instances — Cortex"})});var q=n(R),G=n(q),K=i(n(G),2),ve=n(K),Ge=i(ve);r(K),r(G);var Je=i(G,2);{var Qe=o=>{var l=Jt(),u=i(n(l),4),t=n(u,!0);r(u),r(l),x(()=>c(t,e(y).length)),v(o,l)};f(Je,o=>{e(y).length>0&&o(Qe)})}r(q);var ce=i(q,2),We=n(ce);{var Xe=o=>{var l=Qt();v(o,l)},Ye=o=>{var l=Wt(),u=n(l),t=i(n(u),2),m=n(t,!0);r(t),r(u),r(l),x(()=>c(m,e(B))),v(o,l)},Ze=o=>{var l=Yt();C(l,20,()=>Array(3),L,(u,t)=>{var m=Xt();v(u,m)}),r(l),v(o,l)},et=o=>{var l=Zt();v(o,l)},tt=o=>{var l=ka();C(l,21,()=>e(qe),L,(u,t,m)=>{const N=F(()=>Re(e(t))),T=F(()=>e(de)===m),pe=F(()=>e(U)===m);var z=ha();qt(z,`animation-delay: ${m*50}ms`);var J=n(z),xe=n(J),Q=n(xe),W=n(Q),ue=n(W),X=i(ue,2),at=n(X,!0);r(X);var rt=i(X,2);{var st=a=>{var s=ea(),d=n(s);r(s),x(()=>c(d,`(${e(t).host??""})`)),v(a,s)};f(rt,a=>{e(t).displayName&&e(t).host&&e(t).displayName!==e(t).host&&a(st)})}r(W);var Y=i(W,2),fe=n(Y);{var ot=a=>{var s=ie();x(()=>c(s,e(t).platform)),v(a,s)};f(fe,a=>{e(t).platform&&a(ot)})}var me=i(fe,2);{var nt=a=>{var s=ie();x(()=>c(s,`· ${e(t).deviceFamily??""}`)),v(a,s)};f(me,a=>{e(t).deviceFamily&&a(nt)})}var be=i(me,2);{var it=a=>{var s=ie();x(()=>c(s,`· ${e(t).modelIdentifier??""}`)),v(a,s)};f(be,a=>{e(t).modelIdentifier&&a(it)})}var dt=i(be,2);{var lt=a=>{var s=ta(),d=n(s);r(s),x(()=>c(d,`· ${e(t).clientId??""}`)),v(a,s)};f(dt,a=>{e(t).clientId&&e(t).clientId!==e(t).host&&a(lt)})}r(Y);var _e=i(Y,2),ge=n(_e);{var vt=a=>{var s=aa(),d=n(s,!0);r(s),x(()=>c(d,e(t).mode)),v(a,s)};f(ge,a=>{e(t).mode&&a(vt)})}var he=i(ge,2);C(he,17,()=>e(t).roles??[],L,(a,s)=>{var d=ra(),g=n(d,!0);r(d),x(()=>c(g,e(s))),v(a,d)});var ke=i(he,2);{var ct=a=>{var s=sa(),d=n(s);r(s),x(()=>c(d,`v${e(t).clientVersion??e(t).version??""}`)),v(a,s)};f(ke,a=>{(e(t).version||e(t).clientVersion)&&a(ct)})}var we=i(ke,2);{var pt=a=>{var s=Tt(),d=Ut(s);C(d,17,()=>e(t).capabilities??[],L,(g,h)=>{var $=oa(),S=n($,!0);r($),x(()=>c(S,e(h))),v(g,$)}),v(a,s)},xt=a=>{var s=na(),d=n(s);r(s),x(()=>c(d,`${(e(t).scopes??[]).length??""} scopes`)),v(a,s)};f(we,a=>{(e(t).capabilities??[]).length>0?a(pt):(e(t).scopes??[]).length>0&&a(xt,1)})}var ye=i(we,2);{var ut=a=>{var s=ia(),d=n(s,!0);r(s),x(()=>c(d,e(t).model)),v(a,s)};f(ye,a=>{e(t).model&&a(ut)})}var ft=i(ye,2);{var mt=a=>{var s=da(),d=n(s,!0);r(s),x(()=>c(d,e(t).agentId)),v(a,s)};f(ft,a=>{e(t).agentId&&a(mt)})}r(_e),r(Q);var Me=i(Q,2),Z=n(Me),$e=n(Z);{var bt=a=>{var s=la(),d=i(n(s));r(s),x(g=>c(d,` Up ${g??""}`),[()=>Ue(e(t).uptimeMs)]),v(a,s)};f($e,a=>{e(t).uptimeMs&&a(bt)})}var Ie=i($e,2);{var _t=a=>{var s=va(),d=n(s);r(s),x(g=>c(d,`Input ${g??""}`),[()=>Oe(e(t).lastInputSeconds)]),v(a,s)};f(Ie,a=>{e(t).lastInputSeconds!=null&&a(_t)})}var gt=i(Ie,2);{var ht=a=>{var s=ca(),d=n(s,!0);r(s),x(()=>c(d,e(t).reason)),v(a,s)};f(gt,a=>{e(t).reason&&a(ht)})}r(Z);var je=i(Z,2);{var kt=a=>{var s=pa(),d=n(s),g=i(n(d));r(d);var h=i(d,2),$=i(n(h));r(h),r(s),x(()=>{d.disabled=e(pe),V(d,1,`flex items-center gap-1 px-2 py-1 rounded-lg text-[10px] font-medium border transition-all disabled:opacity-50
2
2
  ${e(t).thinkingLevel==="stream"?"bg-accent-cyan/15 text-accent-cyan border-accent-cyan/30":e(t).thinkingLevel==="on"?"bg-accent-purple/15 text-accent-purple border-accent-purple/30":"bg-bg-tertiary text-text-muted border-border-default hover:border-accent-cyan/30"}`),De(d,"title",`Thinking: ${e(t).thinkingLevel??"off"??""}`),c(g,` T:${e(t).thinkingLevel??"off"??""}`),h.disabled=e(pe),V(h,1,`flex items-center gap-1 px-2 py-1 rounded-lg text-[10px] font-medium border transition-all disabled:opacity-50
3
3
  ${e(t).verboseLevel==="on"?"bg-accent-green/15 text-accent-green border-accent-green/30":"bg-bg-tertiary text-text-muted border-border-default hover:border-accent-green/30"}`),De(h,"title",`Verbose: ${e(t).verboseLevel??"off"??""}`),c($,` V:${e(t).verboseLevel??"off"??""}`)}),D("click",d,()=>Pe(e(t),m)),D("click",h,()=>Ee(e(t),m)),v(a,s)};f(je,a=>{e(t).sessionKey&&a(kt)})}var ee=i(je,2),Ce=n(ee),wt=i(Ce);r(ee),r(Me),r(xe),r(J);var yt=i(J,2);{var Mt=a=>{var s=ga(),d=n(s),g=n(d),h=i(n(g),2),$=n(h,!0);r(h),r(g);var S=i(g,2),Le=i(n(S),2),$t=n(Le,!0);r(Le),r(S);var te=i(S,2),Se=i(n(te),2),It=n(Se,!0);r(Se),r(te);var ae=i(te,2),Ae=i(n(ae),2),jt=n(Ae,!0);r(Ae),r(ae);var re=i(ae,2),Ve=i(n(re),2),Ct=n(Ve,!0);r(Ve),r(re);var se=i(re,2),Be=i(n(se),2),Lt=n(Be,!0);r(Be),r(se);var Ke=i(se,2);{var St=b=>{var _=xa(),k=i(n(_),2),I=n(k,!0);r(k),r(_),x(()=>c(I,e(t).sessionKey)),v(b,_)};f(Ke,b=>{e(t).sessionKey&&b(St)})}var Ne=i(Ke,2);{var At=b=>{var _=ua(),k=i(n(_),2),I=n(k,!0);r(k),r(_),x(()=>c(I,e(t).model)),v(b,_)};f(Ne,b=>{e(t).model&&b(At)})}var Te=i(Ne,2);{var Vt=b=>{var _=ma(),k=i(n(_),2);C(k,21,()=>e(t).scopes??[],L,(I,oe)=>{var j=fa(),ne=n(j,!0);r(j),x(()=>c(ne,e(oe))),v(I,j)}),r(k),r(_),v(b,_)};f(Te,b=>{(e(t).scopes??[]).length>0&&b(Vt)})}var Bt=i(Te,2);{var Kt=b=>{var _=_a(),k=i(n(_),2);C(k,21,()=>e(t).capabilities??[],L,(I,oe)=>{var j=ba(),ne=n(j,!0);r(j),x(()=>c(ne,e(oe))),v(I,j)}),r(k),r(_),v(b,_)};f(Bt,b=>{(e(t).capabilities??[]).length>0&&b(Kt)})}r(d),r(s),x(()=>{c($,e(t).mode??"—"),c($t,e(t).platform??"—"),c(It,e(t).deviceFamily??"—"),c(jt,e(t).modelIdentifier??"—"),c(Ct,e(t).clientVersion??e(t).version??"—"),c(Lt,e(t).clientId??"—")}),v(a,s)};f(yt,a=>{e(T)&&a(Mt)})}r(z),x(()=>{V(ue,1,`w-2 h-2 rounded-full flex-shrink-0
4
4
  ${e(N)==="online"?"bg-accent-green glow-pulse":e(N)==="idle"?"bg-accent-amber":"bg-text-muted"}`),c(at,e(t).displayName??e(t).host??"unknown host"),V(Ce,0,`w-3.5 h-3.5 transition-transform ${e(T)?"rotate-180":""}`),c(wt,` ${e(T)?"Less":"Details"}`)}),D("click",ee,()=>w(de,e(T)?null:m,!0)),v(u,z)}),r(l),v(o,l)};f(We,o=>{P.state.status!=="connected"?o(Xe):e(B)?o(Ye,1):e(M)&&e(y).length===0?o(Ze,2):e(y).length===0?o(et,3):o(tt,!1)})}r(ce),r(R),x(()=>{K.disabled=e(M)||P.state.status!=="connected",V(ve,0,`w-4 h-4 ${e(M)?"animate-spin":""}`),c(Ge,` ${e(M)?"Loading…":"Refresh"}`)}),D("click",K,O),v(Fe,R),Ht()}Nt(["click"]);export{Sa as component};
@@ -1 +1 @@
1
- {"version":"1771688817973"}
1
+ {"version":"1771706796930"}
@@ -13,12 +13,12 @@
13
13
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
14
14
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet">
15
15
  <link rel="preconnect" href="wss://openclaw.honercloud.com" />
16
- <link href="/_app/immutable/entry/start.B5atPhn7.js" rel="modulepreload">
17
- <link href="/_app/immutable/chunks/CB9985Nn.js" rel="modulepreload">
16
+ <link href="/_app/immutable/entry/start.CjGQB-0l.js" rel="modulepreload">
17
+ <link href="/_app/immutable/chunks/Dt5mMewg.js" rel="modulepreload">
18
18
  <link href="/_app/immutable/chunks/qR_TM3YX.js" rel="modulepreload">
19
19
  <link href="/_app/immutable/chunks/B3DkuU-J.js" rel="modulepreload">
20
20
  <link href="/_app/immutable/chunks/B-drBnSa.js" rel="modulepreload">
21
- <link href="/_app/immutable/entry/app.gjdkTR50.js" rel="modulepreload">
21
+ <link href="/_app/immutable/entry/app.Cyu356mA.js" rel="modulepreload">
22
22
  <link href="/_app/immutable/chunks/DpBBTLWw.js" rel="modulepreload">
23
23
  <link href="/_app/immutable/chunks/B2A7gHtL.js" rel="modulepreload">
24
24
  <link href="/_app/immutable/chunks/BYXRTvT-.js" rel="modulepreload">
@@ -29,15 +29,15 @@
29
29
  <div style="display: contents">
30
30
  <script>
31
31
  {
32
- __sveltekit_dnlgsw = {
32
+ __sveltekit_cxofh2 = {
33
33
  base: ""
34
34
  };
35
35
 
36
36
  const element = document.currentScript.parentElement;
37
37
 
38
38
  Promise.all([
39
- import("/_app/immutable/entry/start.B5atPhn7.js"),
40
- import("/_app/immutable/entry/app.gjdkTR50.js")
39
+ import("/_app/immutable/entry/start.CjGQB-0l.js"),
40
+ import("/_app/immutable/entry/app.Cyu356mA.js")
41
41
  ]).then(([kit, app]) => {
42
42
  kit.start(app, element);
43
43
  });
@@ -1,42 +1,40 @@
1
- const CACHE_NAME = 'cortex-v1';
2
- const SHELL_ASSETS = [
3
- '/',
4
- '/index.html',
5
- '/logo.png'
6
- ];
1
+ const CACHE_NAME = "cortex-v2";
2
+ const SHELL_ASSETS = ["/", "/index.html", "/logo.png"];
7
3
 
8
4
  // Install: pre-cache the app shell
9
- self.addEventListener('install', (event) => {
10
- event.waitUntil(
11
- caches.open(CACHE_NAME).then((cache) => cache.addAll(SHELL_ASSETS))
12
- );
5
+ self.addEventListener("install", (event) => {
6
+ event.waitUntil(caches.open(CACHE_NAME).then((cache) => cache.addAll(SHELL_ASSETS)));
13
7
  self.skipWaiting();
14
8
  });
15
9
 
16
10
  // Activate: clean up old caches
17
- self.addEventListener('activate', (event) => {
11
+ self.addEventListener("activate", (event) => {
18
12
  event.waitUntil(
19
- caches.keys().then((keys) =>
20
- Promise.all(keys.filter((k) => k !== CACHE_NAME).map((k) => caches.delete(k)))
21
- )
13
+ caches
14
+ .keys()
15
+ .then((keys) =>
16
+ Promise.all(keys.filter((k) => k !== CACHE_NAME).map((k) => caches.delete(k))),
17
+ ),
22
18
  );
23
19
  self.clients.claim();
24
20
  });
25
21
 
26
22
  // Fetch strategies
27
- self.addEventListener('fetch', (event) => {
23
+ self.addEventListener("fetch", (event) => {
28
24
  const { request } = event;
29
25
  const url = new URL(request.url);
30
26
 
31
27
  // Skip non-GET requests and WebSocket/API calls
32
- if (request.method !== 'GET') return;
33
- if (url.protocol === 'ws:' || url.protocol === 'wss:') return;
28
+ if (request.method !== "GET") {
29
+ return;
30
+ }
31
+ if (url.protocol === "ws:" || url.protocol === "wss:") {
32
+ return;
33
+ }
34
34
 
35
35
  // Network-first for API calls
36
- if (url.pathname.startsWith('/api/') || url.pathname.startsWith('/ws')) {
37
- event.respondWith(
38
- fetch(request).catch(() => caches.match(request))
39
- );
36
+ if (url.pathname.startsWith("/api/") || url.pathname.startsWith("/ws")) {
37
+ event.respondWith(fetch(request).catch(() => caches.match(request)));
40
38
  return;
41
39
  }
42
40
 
@@ -44,24 +42,24 @@ self.addEventListener('fetch', (event) => {
44
42
  if (url.pathname.match(/\.[a-f0-9]{8,}\.(js|css|woff2?|png|jpg|svg)$/)) {
45
43
  event.respondWith(
46
44
  caches.match(request).then((cached) => {
47
- if (cached) return cached;
45
+ if (cached) {
46
+ return cached;
47
+ }
48
48
  return fetch(request).then((response) => {
49
49
  if (response.ok) {
50
50
  const clone = response.clone();
51
- caches.open(CACHE_NAME).then((cache) => cache.put(request, clone));
51
+ void caches.open(CACHE_NAME).then((cache) => cache.put(request, clone));
52
52
  }
53
53
  return response;
54
54
  });
55
- })
55
+ }),
56
56
  );
57
57
  return;
58
58
  }
59
59
 
60
60
  // Navigation requests: network-first, fallback to cached index.html
61
- if (request.mode === 'navigate') {
62
- event.respondWith(
63
- fetch(request).catch(() => caches.match('/index.html'))
64
- );
61
+ if (request.mode === "navigate") {
62
+ event.respondWith(fetch(request).catch(() => caches.match("/index.html")));
65
63
  return;
66
64
  }
67
65
 
@@ -71,10 +69,10 @@ self.addEventListener('fetch', (event) => {
71
69
  .then((response) => {
72
70
  if (response.ok) {
73
71
  const clone = response.clone();
74
- caches.open(CACHE_NAME).then((cache) => cache.put(request, clone));
72
+ void caches.open(CACHE_NAME).then((cache) => cache.put(request, clone));
75
73
  }
76
74
  return response;
77
75
  })
78
- .catch(() => caches.match(request))
76
+ .catch(() => caches.match(request)),
79
77
  );
80
78
  });
@@ -5,7 +5,7 @@ import { c as getActivePluginRegistry, v as createInternalHookEvent, y as trigge
5
5
  import { t as createSubsystemLogger } from "./subsystem-CGx2ESmP.js";
6
6
  import { n as SILENT_REPLY_TOKEN, r as isSilentReplyText } from "./tokens-B8d2DiXw.js";
7
7
  import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-C2vFjSxX.js";
8
- import { R as appendAssistantMessageToSessionTranscript, i as isMessagingToolDuplicate, z as resolveMirroredTranscriptText } from "./pi-embedded-helpers-C-3FQnQz.js";
8
+ import { R as appendAssistantMessageToSessionTranscript, i as isMessagingToolDuplicate, z as resolveMirroredTranscriptText } from "./pi-embedded-helpers--8pQ_5Ix.js";
9
9
  import { d as getChannelDock } from "./thinking-DNrVhgpB.js";
10
10
  import { c as resolveChunkMode, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph } from "./chunk-YQGDBsHo.js";
11
11
  import { n as resolveMarkdownTableMode } from "./markdown-tables-CNKgA0te.js";
@@ -1,18 +1,18 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { s as resolveStateDir } from "./paths-CkkDESQ2.js";
2
+ import { s as resolveStateDir } from "./paths-CyR9Pa1R.js";
3
3
  import { c as normalizeAccountId$1 } from "./session-key-CgcjHuX_.js";
4
- import { c as getActivePluginRegistry, v as createInternalHookEvent, x as triggerInternalHook } from "./registry-CXBAJGac.js";
5
- import { t as createSubsystemLogger } from "./subsystem-BFaeHXzD.js";
6
- import { n as SILENT_REPLY_TOKEN, r as isSilentReplyText } from "./tokens-CC-Nd7t2.js";
7
- import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-CLJ0iOl0.js";
8
- import { R as appendAssistantMessageToSessionTranscript, i as isMessagingToolDuplicate, z as resolveMirroredTranscriptText } from "./pi-embedded-helpers-B4V6-8TA.js";
9
- import { d as getChannelDock } from "./thinking-BzWAkN2b.js";
10
- import { c as resolveChunkMode, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph } from "./chunk-DoTNWpve.js";
11
- import { n as resolveMarkdownTableMode } from "./markdown-tables-1wSxjPR8.js";
12
- import { t as getAgentScopedMediaLocalRoots } from "./local-roots-B9HIz81e.js";
13
- import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-2sCLgOVr.js";
4
+ import { c as getActivePluginRegistry, v as createInternalHookEvent, x as triggerInternalHook } from "./registry-BmY4gNy6.js";
5
+ import { t as createSubsystemLogger } from "./subsystem-B5g771Td.js";
6
+ import { n as SILENT_REPLY_TOKEN, r as isSilentReplyText } from "./tokens-BRx7o_ZS.js";
7
+ import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-CJYXNO4s.js";
8
+ import { R as appendAssistantMessageToSessionTranscript, i as isMessagingToolDuplicate, z as resolveMirroredTranscriptText } from "./pi-embedded-helpers-f1wpGfIT.js";
9
+ import { d as getChannelDock } from "./thinking-wiChP3LK.js";
10
+ import { c as resolveChunkMode, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph } from "./chunk-TRVny4T1.js";
11
+ import { n as resolveMarkdownTableMode } from "./markdown-tables-DO9qAEKa.js";
12
+ import { t as getAgentScopedMediaLocalRoots } from "./local-roots-tMzVEQD2.js";
13
+ import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-DvBDdcQr.js";
14
14
  import path from "node:path";
15
- import fsSync from "node:fs";
15
+ import fs from "node:fs";
16
16
  import crypto from "node:crypto";
17
17
 
18
18
  //#region src/plugins/hooks.ts
@@ -677,11 +677,11 @@ function resolveFailedDir(stateDir) {
677
677
  /** Ensure the queue directory (and failed/ subdirectory) exist. */
678
678
  async function ensureQueueDir(stateDir) {
679
679
  const queueDir = resolveQueueDir(stateDir);
680
- await fsSync.promises.mkdir(queueDir, {
680
+ await fs.promises.mkdir(queueDir, {
681
681
  recursive: true,
682
682
  mode: 448
683
683
  });
684
- await fsSync.promises.mkdir(resolveFailedDir(stateDir), {
684
+ await fs.promises.mkdir(resolveFailedDir(stateDir), {
685
685
  recursive: true,
686
686
  mode: 448
687
687
  });
@@ -708,18 +708,18 @@ async function enqueueDelivery(params, stateDir) {
708
708
  const filePath = path.join(queueDir, `${id}.json`);
709
709
  const tmp = `${filePath}.${process.pid}.tmp`;
710
710
  const json = JSON.stringify(entry, null, 2);
711
- await fsSync.promises.writeFile(tmp, json, {
711
+ await fs.promises.writeFile(tmp, json, {
712
712
  encoding: "utf-8",
713
713
  mode: 384
714
714
  });
715
- await fsSync.promises.rename(tmp, filePath);
715
+ await fs.promises.rename(tmp, filePath);
716
716
  return id;
717
717
  }
718
718
  /** Remove a successfully delivered entry from the queue. */
719
719
  async function ackDelivery(id, stateDir) {
720
720
  const filePath = path.join(resolveQueueDir(stateDir), `${id}.json`);
721
721
  try {
722
- await fsSync.promises.unlink(filePath);
722
+ await fs.promises.unlink(filePath);
723
723
  } catch (err) {
724
724
  if ((err && typeof err === "object" && "code" in err ? String(err.code) : null) !== "ENOENT") throw err;
725
725
  }
@@ -727,16 +727,16 @@ async function ackDelivery(id, stateDir) {
727
727
  /** Update a queue entry after a failed delivery attempt. */
728
728
  async function failDelivery(id, error, stateDir) {
729
729
  const filePath = path.join(resolveQueueDir(stateDir), `${id}.json`);
730
- const raw = await fsSync.promises.readFile(filePath, "utf-8");
730
+ const raw = await fs.promises.readFile(filePath, "utf-8");
731
731
  const entry = JSON.parse(raw);
732
732
  entry.retryCount += 1;
733
733
  entry.lastError = error;
734
734
  const tmp = `${filePath}.${process.pid}.tmp`;
735
- await fsSync.promises.writeFile(tmp, JSON.stringify(entry, null, 2), {
735
+ await fs.promises.writeFile(tmp, JSON.stringify(entry, null, 2), {
736
736
  encoding: "utf-8",
737
737
  mode: 384
738
738
  });
739
- await fsSync.promises.rename(tmp, filePath);
739
+ await fs.promises.rename(tmp, filePath);
740
740
  }
741
741
 
742
742
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { t as createSubsystemLogger } from "./subsystem-BFaeHXzD.js";
2
+ import { t as createSubsystemLogger } from "./subsystem-B5g771Td.js";
3
3
  import { i as pruneDiagnosticSessionStates, r as getDiagnosticSessionState, t as diagnosticSessionStates } from "./diagnostic-session-state-DmrztgHU.js";
4
4
 
5
5
  //#region src/infra/diagnostic-events.ts
@@ -1,7 +1,7 @@
1
1
  import { t as resolveOpenClawPackageRoot } from "./openclaw-root-BM-yQZH6.js";
2
2
  import { r as resolveCliName } from "./command-format-X5BIa7jQ.js";
3
3
  import { t as note } from "./note-C-OTWf0F.js";
4
- import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-D9M167hh.js";
4
+ import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-C1r90Nrk.js";
5
5
  import path from "node:path";
6
6
  import { spawnSync } from "node:child_process";
7
7
 
@@ -1,7 +1,7 @@
1
1
  import { r as resolveCliName } from "./command-format-BXGqUdrf.js";
2
2
  import { t as resolveOpenClawPackageRoot } from "./openclaw-root-B5pKN_cp.js";
3
3
  import { t as note } from "./note-D3Xn5qjj.js";
4
- import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-DWbOrNO2.js";
4
+ import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-DPioCNYq.js";
5
5
  import { spawnSync } from "node:child_process";
6
6
  import path from "node:path";
7
7
 
package/dist/entry.js CHANGED
@@ -2508,7 +2508,7 @@ if (!ensureExperimentalWarningSuppressed()) {
2508
2508
  applyCliProfileEnv({ profile: parsed.profile });
2509
2509
  process$1.argv = parsed.argv;
2510
2510
  }
2511
- import("./run-main-BRe5c6iW.js").then(({ runCli }) => runCli(process$1.argv)).catch((error) => {
2511
+ import("./run-main-Bzchv5w8.js").then(({ runCli }) => runCli(process$1.argv)).catch((error) => {
2512
2512
  console.error("[openclaw] Failed to start CLI:", error instanceof Error ? error.stack ?? error.message : error);
2513
2513
  process$1.exitCode = 1;
2514
2514
  });
@@ -7,14 +7,14 @@ import { a as resolveAgentIdentity } from "./reply-prefix-DzTZTe-b.js";
7
7
  import "./github-copilot-token-ttqQRqMA.js";
8
8
  import "./env-DgmT4mUn.js";
9
9
  import "./tokens-B8d2DiXw.js";
10
- import { D as resolveAgentTimeoutMs, t as runEmbeddedPiAgent } from "./pi-embedded-Ig1YOX5t.js";
10
+ import { D as resolveAgentTimeoutMs, t as runEmbeddedPiAgent } from "./pi-embedded-DPsT4Vb4.js";
11
11
  import "./normalize-ShYYjzjU.js";
12
12
  import "./accounts-DAComajo.js";
13
13
  import "./bindings-Du1RGVFM.js";
14
14
  import "./send-CWMOAb1p.js";
15
15
  import "./plugins-C2vFjSxX.js";
16
16
  import "./send-QkIrcXE6.js";
17
- import "./deliver-CFSxoz2_.js";
17
+ import "./deliver-DXKF_Nu0.js";
18
18
  import "./diagnostic-BPqN_C5K.js";
19
19
  import "./diagnostic-session-state-Bu3E4Enn.js";
20
20
  import "./accounts-4VxR4Yrw.js";
@@ -22,11 +22,11 @@ import "./send-DdDtTJa_.js";
22
22
  import "./fs-safe-GrTh3Ydq.js";
23
23
  import "./pi-model-discovery-DaNAekda.js";
24
24
  import "./message-channel-BxsLQyfw.js";
25
- import { B as loadSessionStore, U as saveSessionStore } from "./pi-embedded-helpers-C-3FQnQz.js";
25
+ import { B as loadSessionStore, U as saveSessionStore } from "./pi-embedded-helpers--8pQ_5Ix.js";
26
26
  import "./config-C-FsU8K2.js";
27
27
  import "./manifest-registry-DmjapxrQ.js";
28
28
  import "./common-BLbt_nyn.js";
29
- import "./chrome-7PNldBIY.js";
29
+ import "./chrome-jiKls1lm.js";
30
30
  import "./skills-D0U6i6zO.js";
31
31
  import "./redact-DAKoy-tb.js";
32
32
  import "./errors-BxR4oB-s.js";
@@ -35,7 +35,7 @@ import "./store-D4zsSWrO.js";
35
35
  import "./thinking-DNrVhgpB.js";
36
36
  import "./accounts-Dh62JQhz.js";
37
37
  import { n as resolveSessionFilePath, s as resolveStorePath } from "./paths-COn9vdws.js";
38
- import "./image-DafeVSso.js";
38
+ import "./image-DChVqMFC.js";
39
39
  import "./manager-8YM4OuaA.js";
40
40
  import "./gemini-auth-DnVjaskb.js";
41
41
  import "./sqlite-CNpRo6JS.js";
@@ -47,7 +47,7 @@ import "./ir-CEvNPW62.js";
47
47
  import "./render-B1VqYyvo.js";
48
48
  import "./commands-registry-DstTsjwe.js";
49
49
  import "./skill-commands-ByybLoXv.js";
50
- import "./runner-BN1T_Ne4.js";
50
+ import "./runner-CRUcM4a1.js";
51
51
  import "./fetch-BMa0enEg.js";
52
52
  import "./send-DXvthxtM.js";
53
53
  import "./outbound-attachment-BYcoEf4w.js";
@@ -1,7 +1,7 @@
1
1
  import { t as parseBooleanValue } from "./boolean-B8-BqKGQ.js";
2
2
  import { n as MANIFEST_KEY, t as LEGACY_MANIFEST_KEYS } from "./legacy-names-BkfUOe6z.js";
3
3
  import path from "node:path";
4
- import fsSync from "node:fs";
4
+ import fs from "node:fs";
5
5
  import JSON5 from "json5";
6
6
  import YAML from "yaml";
7
7
 
@@ -79,7 +79,7 @@ function hasBinary(bin) {
79
79
  for (const part of parts) for (const ext of extensions) {
80
80
  const candidate = path.join(part, bin + ext);
81
81
  try {
82
- fsSync.accessSync(candidate, fsSync.constants.X_OK);
82
+ fs.accessSync(candidate, fs.constants.X_OK);
83
83
  hasBinaryCache.set(bin, true);
84
84
  return true;
85
85
  } catch {}
@@ -1,4 +1,4 @@
1
- import { _ as runExec } from "./workspace-CGgFZdqw.js";
1
+ import { _ as runExec } from "./workspace-D9IzNnST.js";
2
2
  import fs from "node:fs/promises";
3
3
  import os from "node:os";
4
4
  import path from "node:path";
@@ -137,7 +137,7 @@ import { i as pickGatewaySelfPresence, r as getStatusSummary } from "./status-Ck
137
137
  import { a as styleHealthChannelLine, c as setHeartbeatsEnabled, l as startHeartbeatRunner, n as getHealthSnapshot, s as runHeartbeatOnce, t as formatHealthChannelLines } from "./health-BsrXWJ-_.js";
138
138
  import { a as resolveControlUiRootSync, i as resolveControlUiRootOverrideSync, t as ensureControlUiAssetsBuilt } from "./control-ui-assets-CwSEyfND.js";
139
139
  import { a as resolveNpmChannelTag, c as DEFAULT_PACKAGE_CHANNEL, m as normalizeUpdateChannel, n as compareSemverStrings, t as checkUpdateStatus } from "./update-check-Cabl9Oh_.js";
140
- import { t as runOnboardingWizard } from "./onboarding-CiOMo5_c.js";
140
+ import { t as runOnboardingWizard } from "./onboarding-CIYktbwg.js";
141
141
  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-DieXdP6q.js";
142
142
  import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-Dr-UjgD8.js";
143
143
  import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, s as loadAgentIdentityFromWorkspace, t as applyAgentConfig } from "./agents.config-CUoqlGqW.js";
@@ -15974,11 +15974,11 @@ function buildControlUiCspHeader() {
15974
15974
  "base-uri 'none'",
15975
15975
  "object-src 'none'",
15976
15976
  "frame-ancestors 'none'",
15977
- "script-src 'self'",
15978
- "style-src 'self' 'unsafe-inline'",
15979
- "img-src 'self' data: https:",
15980
- "font-src 'self'",
15981
- "connect-src 'self' ws: wss:"
15977
+ "script-src 'self' 'unsafe-inline'",
15978
+ "style-src 'self' 'unsafe-inline' https://fonts.googleapis.com",
15979
+ "img-src 'self' data: https: blob:",
15980
+ "font-src 'self' data: https://fonts.gstatic.com",
15981
+ "connect-src 'self' ws: wss: https:"
15982
15982
  ].join("; ");
15983
15983
  }
15984
15984
 
@@ -16181,8 +16181,6 @@ function handleControlUiHttpRequest(req, res, opts) {
16181
16181
  const uiPath = basePath && pathname.startsWith(`${basePath}/`) ? pathname.slice(basePath.length) : pathname;
16182
16182
  const rel = (() => {
16183
16183
  if (uiPath === ROOT_PREFIX) return "";
16184
- const assetsIndex = uiPath.indexOf("/assets/");
16185
- if (assetsIndex >= 0) return uiPath.slice(assetsIndex + 1);
16186
16184
  return uiPath.slice(1);
16187
16185
  })();
16188
16186
  const fileRel = (rel && !rel.endsWith("/") ? rel : `${rel}index.html`) || "index.html";
@@ -142,7 +142,7 @@ import { n as getStatusSummary, r as pickGatewaySelfPresence } from "./status-Bg
142
142
  import { c as startHeartbeatRunner, i as styleHealthChannelLine, n as getHealthSnapshot, o as runHeartbeatOnce, s as setHeartbeatsEnabled, t as formatHealthChannelLines } from "./health-DoJPYIvC.js";
143
143
  import { a as resolveControlUiRootSync, i as resolveControlUiRootOverrideSync, t as ensureControlUiAssetsBuilt } from "./control-ui-assets-BmaUgzFj.js";
144
144
  import { a as resolveNpmChannelTag, c as DEFAULT_PACKAGE_CHANNEL, m as normalizeUpdateChannel, n as compareSemverStrings, t as checkUpdateStatus } from "./update-check-CHLDbXI4.js";
145
- import { t as runOnboardingWizard } from "./onboarding-EMqX1DQj.js";
145
+ import { t as runOnboardingWizard } from "./onboarding-WJQtWazg.js";
146
146
  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-CVgJnnCa.js";
147
147
  import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-BrHEum7O.js";
148
148
  import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, s as loadAgentIdentityFromWorkspace, t as applyAgentConfig } from "./agents.config--k-cL9FH.js";
@@ -15978,11 +15978,11 @@ function buildControlUiCspHeader() {
15978
15978
  "base-uri 'none'",
15979
15979
  "object-src 'none'",
15980
15980
  "frame-ancestors 'none'",
15981
- "script-src 'self'",
15982
- "style-src 'self' 'unsafe-inline'",
15983
- "img-src 'self' data: https:",
15984
- "font-src 'self'",
15985
- "connect-src 'self' ws: wss:"
15981
+ "script-src 'self' 'unsafe-inline'",
15982
+ "style-src 'self' 'unsafe-inline' https://fonts.googleapis.com",
15983
+ "img-src 'self' data: https: blob:",
15984
+ "font-src 'self' data: https://fonts.gstatic.com",
15985
+ "connect-src 'self' ws: wss: https:"
15986
15986
  ].join("; ");
15987
15987
  }
15988
15988
 
@@ -16185,8 +16185,6 @@ function handleControlUiHttpRequest(req, res, opts) {
16185
16185
  const uiPath = basePath && pathname.startsWith(`${basePath}/`) ? pathname.slice(basePath.length) : pathname;
16186
16186
  const rel = (() => {
16187
16187
  if (uiPath === ROOT_PREFIX) return "";
16188
- const assetsIndex = uiPath.indexOf("/assets/");
16189
- if (assetsIndex >= 0) return uiPath.slice(assetsIndex + 1);
16190
16188
  return uiPath.slice(1);
16191
16189
  })();
16192
16190
  const fileRel = (rel && !rel.endsWith("/") ? rel : `${rel}index.html`) || "index.html";
@@ -1,4 +1,4 @@
1
- import { A as normalizeProviderId } from "./model-auth-BlsavKKY.js";
1
+ import { A as normalizeProviderId } from "./model-auth-Dm1uOof6.js";
2
2
  import { n as formatErrorMessage } from "./errors-3KjSwJLH.js";
3
3
 
4
4
  //#region src/agents/live-auth-keys.ts
@@ -1,13 +1,13 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { s as resolveStateDir } from "./paths-CkkDESQ2.js";
2
+ import { s as resolveStateDir } from "./paths-CyR9Pa1R.js";
3
3
  import path from "node:path";
4
- import fsSync from "node:fs";
4
+ import fs from "node:fs";
5
5
 
6
6
  //#region src/infra/json-file.ts
7
7
  function loadJsonFile(pathname) {
8
8
  try {
9
- if (!fsSync.existsSync(pathname)) return;
10
- const raw = fsSync.readFileSync(pathname, "utf8");
9
+ if (!fs.existsSync(pathname)) return;
10
+ const raw = fs.readFileSync(pathname, "utf8");
11
11
  return JSON.parse(raw);
12
12
  } catch {
13
13
  return;
@@ -15,12 +15,12 @@ function loadJsonFile(pathname) {
15
15
  }
16
16
  function saveJsonFile(pathname, data) {
17
17
  const dir = path.dirname(pathname);
18
- if (!fsSync.existsSync(dir)) fsSync.mkdirSync(dir, {
18
+ if (!fs.existsSync(dir)) fs.mkdirSync(dir, {
19
19
  recursive: true,
20
20
  mode: 448
21
21
  });
22
- fsSync.writeFileSync(pathname, `${JSON.stringify(data, null, 2)}\n`, "utf8");
23
- fsSync.chmodSync(pathname, 384);
22
+ fs.writeFileSync(pathname, `${JSON.stringify(data, null, 2)}\n`, "utf8");
23
+ fs.chmodSync(pathname, 384);
24
24
  }
25
25
 
26
26
  //#endregion