openclaw-cortex 3.0.2 → 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 (113) hide show
  1. package/dist/build-info.json +3 -3
  2. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  3. package/dist/{command-registry-B3oActxS.js → command-registry-D82LWaRr.js} +4 -4
  4. package/dist/{completion-cli-C_J-jd9D.js → completion-cli-C1r90Nrk.js} +1 -1
  5. package/dist/{completion-cli-FIejYbDL.js → completion-cli-DPioCNYq.js} +2 -2
  6. package/dist/control-ui/_app/immutable/chunks/{Dj6tWyD-.js → -WaG6-Wa.js} +1 -1
  7. package/dist/control-ui/_app/immutable/chunks/{B8HoIBa6.js → 5eXlR5OL.js} +1 -1
  8. package/dist/control-ui/_app/immutable/chunks/{OqlKjpfM.js → B8DrosHE.js} +1 -1
  9. package/dist/control-ui/_app/immutable/chunks/{BocS-uwo.js → BBXALFLP.js} +3 -3
  10. package/dist/control-ui/_app/immutable/chunks/{X-E-wRlP.js → BEwWGCvZ.js} +1 -1
  11. package/dist/control-ui/_app/immutable/chunks/{BhtVncI_.js → BLtDog0v.js} +1 -1
  12. package/dist/control-ui/_app/immutable/chunks/{DVEflJCB.js → BQJCZmRh.js} +1 -1
  13. package/dist/control-ui/_app/immutable/chunks/{vBxFu2GM.js → BSVakDDW.js} +1 -1
  14. package/dist/control-ui/_app/immutable/chunks/BZPuz03W.js +1 -0
  15. package/dist/control-ui/_app/immutable/chunks/{8sVJ3pgr.js → Ba7JwTQm.js} +1 -1
  16. package/dist/control-ui/_app/immutable/chunks/{CgeCLzn1.js → Bae3KkPP.js} +1 -1
  17. package/dist/control-ui/_app/immutable/chunks/{-b0Q_QBa.js → Bh6lEBNv.js} +1 -1
  18. package/dist/control-ui/_app/immutable/chunks/{BdTFhrHG.js → BhXAsS8g.js} +1 -1
  19. package/dist/control-ui/_app/immutable/chunks/{Cy9J7_9T.js → BrxfYBSP.js} +1 -1
  20. package/dist/control-ui/_app/immutable/chunks/{UR4DV3hi.js → BsUBloFL.js} +1 -1
  21. package/dist/control-ui/_app/immutable/chunks/{Bqq0fCUn.js → BsZ_uYnn.js} +1 -1
  22. package/dist/control-ui/_app/immutable/chunks/{9SZhwvK0.js → C--qzJ6W.js} +1 -1
  23. package/dist/control-ui/_app/immutable/chunks/{D4282KIs.js → C-JVM0la.js} +1 -1
  24. package/dist/control-ui/_app/immutable/chunks/{Duq46cRv.js → C7KVOWgV.js} +1 -1
  25. package/dist/control-ui/_app/immutable/chunks/{BH-jV9iA.js → C7m1KhrR.js} +1 -1
  26. package/dist/control-ui/_app/immutable/chunks/{CtBXH4Dd.js → C8PuvvjP.js} +1 -1
  27. package/dist/control-ui/_app/immutable/chunks/{giHw3ym1.js → C9VLzrYr.js} +1 -1
  28. package/dist/control-ui/_app/immutable/chunks/{CduS0XRA.js → CHTlfT2F.js} +1 -1
  29. package/dist/control-ui/_app/immutable/chunks/{DgYPOa8E.js → CLY1rHgs.js} +1 -1
  30. package/dist/control-ui/_app/immutable/chunks/{B17J7L81.js → CPgEtRZT.js} +1 -1
  31. package/dist/control-ui/_app/immutable/chunks/{BqJ-mFLn.js → CVAw3cDG.js} +1 -1
  32. package/dist/control-ui/_app/immutable/chunks/{B9SC_jjC.js → CVZCvD9s.js} +1 -1
  33. package/dist/control-ui/_app/immutable/chunks/{LmLbPTz2.js → C_LuOpHS.js} +1 -1
  34. package/dist/control-ui/_app/immutable/chunks/CbL4AD8o.js +1 -0
  35. package/dist/control-ui/_app/immutable/chunks/{BCj3dr9H.js → CgWI5Oik.js} +1 -1
  36. package/dist/control-ui/_app/immutable/chunks/{tMgN0hpT.js → CiyAy8dp.js} +1 -1
  37. package/dist/control-ui/_app/immutable/chunks/{BXILuhuG.js → CkF797NI.js} +1 -1
  38. package/dist/control-ui/_app/immutable/chunks/{Dg6LpIYP.js → CrremO5S.js} +4 -4
  39. package/dist/control-ui/_app/immutable/chunks/{YYSXb5XV.js → CseiHJK5.js} +1 -1
  40. package/dist/control-ui/_app/immutable/chunks/{BQThDSlf.js → CxBb1Xul.js} +1 -1
  41. package/dist/control-ui/_app/immutable/chunks/{D374cbd4.js → DCXXFcx5.js} +1 -1
  42. package/dist/control-ui/_app/immutable/chunks/{D5RXhj7J.js → DJjlYUoC.js} +1 -1
  43. package/dist/control-ui/_app/immutable/chunks/{eejBr3e5.js → DMY-Nl0I.js} +1 -1
  44. package/dist/control-ui/_app/immutable/chunks/{D_9uFAU4.js → DRZM4rH8.js} +1 -1
  45. package/dist/control-ui/_app/immutable/chunks/{kg_bi-Xy.js → DVy-_nYK.js} +1 -1
  46. package/dist/control-ui/_app/immutable/chunks/{Ae3Dp1ab.js → DZsBL6ln.js} +1 -1
  47. package/dist/control-ui/_app/immutable/chunks/{BD82r6qT.js → DnRi7lHs.js} +1 -1
  48. package/dist/control-ui/_app/immutable/chunks/Dt5mMewg.js +1 -0
  49. package/dist/control-ui/_app/immutable/chunks/{CGR62pw0.js → DtDnO4qq.js} +1 -1
  50. package/dist/control-ui/_app/immutable/chunks/{C1MwqfJi.js → Du2cKiDo.js} +1 -1
  51. package/dist/control-ui/_app/immutable/chunks/{C_e8KYob.js → DwPRscxf.js} +1 -1
  52. package/dist/control-ui/_app/immutable/chunks/{tr5b7CMr.js → SHB02qEx.js} +1 -1
  53. package/dist/control-ui/_app/immutable/chunks/{CyMYiLoa.js → Tfaq1PK1.js} +1 -1
  54. package/dist/control-ui/_app/immutable/chunks/TuMlQKbB.js +5 -0
  55. package/dist/control-ui/_app/immutable/chunks/{Cm1fG3bI.js → aXQqHONi.js} +1 -1
  56. package/dist/control-ui/_app/immutable/chunks/{By8LBh45.js → dQY-7VfC.js} +1 -1
  57. package/dist/control-ui/_app/immutable/chunks/{CGz_QUNI.js → kbQmmJpo.js} +1 -1
  58. package/dist/control-ui/_app/immutable/entry/{app.BwCsQnur.js → app.Cyu356mA.js} +2 -2
  59. package/dist/control-ui/_app/immutable/entry/start.CjGQB-0l.js +1 -0
  60. package/dist/control-ui/_app/immutable/nodes/{0.Dx9jJZSo.js → 0.EBH6_Ud6.js} +7 -7
  61. package/dist/control-ui/_app/immutable/nodes/{1.BL0sXqCf.js → 1.CrXLLMV6.js} +1 -1
  62. package/dist/control-ui/_app/immutable/nodes/{10.BuHCBw2C.js → 10.CFP8x2TH.js} +1 -1
  63. package/dist/control-ui/_app/immutable/nodes/{11.DaM8Z72M.js → 11.Sd6L6Nq2.js} +1 -1
  64. package/dist/control-ui/_app/immutable/nodes/{12.DctBvrnI.js → 12.tVVXkjFh.js} +1 -1
  65. package/dist/control-ui/_app/immutable/nodes/{13.CFlpuIKq.js → 13.D93_LX58.js} +1 -1
  66. package/dist/control-ui/_app/immutable/nodes/{14.CDt16nEp.js → 14.DLNHet27.js} +1 -1
  67. package/dist/control-ui/_app/immutable/nodes/{15.Bv1kE6xT.js → 15.CIr4ejir.js} +5 -5
  68. package/dist/control-ui/_app/immutable/nodes/{16.CPH_dMUA.js → 16.QX2ielYQ.js} +1 -1
  69. package/dist/control-ui/_app/immutable/nodes/{17.Gpl84s2Y.js → 17.6qOW3iFE.js} +1 -1
  70. package/dist/control-ui/_app/immutable/nodes/2.BTwPpsUd.js +1 -0
  71. package/dist/control-ui/_app/immutable/nodes/{3.om6ap7s5.js → 3.CJTqvGaW.js} +1 -1
  72. package/dist/control-ui/_app/immutable/nodes/{4.C7I3arj2.js → 4.Dz3JH-PB.js} +1 -1
  73. package/dist/control-ui/_app/immutable/nodes/{5.PRkSVQb-.js → 5._XvLegf_.js} +1 -1
  74. package/dist/control-ui/_app/immutable/nodes/{6.DXFMFV_g.js → 6.B2G6IFSu.js} +1 -1
  75. package/dist/control-ui/_app/immutable/nodes/{7.pxR8f42V.js → 7.C7FQ9bAP.js} +1 -1
  76. package/dist/control-ui/_app/immutable/nodes/{8.BjB_sfx0.js → 8.B5aVfCJN.js} +1 -1
  77. package/dist/control-ui/_app/immutable/nodes/{9.M8OWsIew.js → 9.DFhiU3G3.js} +1 -1
  78. package/dist/control-ui/_app/version.json +1 -1
  79. package/dist/control-ui/index.html +6 -6
  80. package/dist/control-ui/sw.js +28 -30
  81. package/dist/{doctor-completion-sHbqqiJx.js → doctor-completion-DhpniKWm.js} +1 -1
  82. package/dist/{doctor-completion-D7sHoVar.js → doctor-completion-fRx0enfv.js} +1 -1
  83. package/dist/entry.js +1 -1
  84. package/dist/{gateway-cli-Ch6gZFPT.js → gateway-cli-0_ycakyp.js} +2 -4
  85. package/dist/{gateway-cli-DZ4LS2Gw.js → gateway-cli-CJohs14T.js} +2 -4
  86. package/dist/index.js +1 -1
  87. package/dist/{onboard-C4csnV8K.js → onboard-5rjiYkS9.js} +1 -1
  88. package/dist/{onboard-PLazjdti.js → onboard-CqSt7u8D.js} +1 -1
  89. package/dist/{onboarding-B_8tUxFm.js → onboarding-CIYktbwg.js} +1 -1
  90. package/dist/{onboarding-IlBStOWQ.js → onboarding-WJQtWazg.js} +1 -1
  91. package/dist/{onboarding.finalize-CUfEwc_X.js → onboarding.finalize-DC7D8bBE.js} +4 -4
  92. package/dist/{onboarding.finalize-CscOXfzt.js → onboarding.finalize-Z7sroef4.js} +3 -3
  93. package/dist/{program-BEOFzhHf.js → program-DShibMGY.js} +2 -2
  94. package/dist/{program-context-CTRcW6qt.js → program-context-D9asDBqu.js} +6 -6
  95. package/dist/{prompt-select-styled-DxHHs9eu.js → prompt-select-styled-DCNKc8Jv.js} +1 -1
  96. package/dist/{prompt-select-styled-DEl1ViOW.js → prompt-select-styled-ca2X5yAy.js} +1 -1
  97. package/dist/{register.maintenance-BdAIyY7s.js → register.maintenance-5rJ9wTWH.js} +4 -4
  98. package/dist/{register.maintenance-jNMy6C-i.js → register.maintenance-za-PEn5C.js} +5 -5
  99. package/dist/{register.onboard-DlDtwyfd.js → register.onboard-C9qYHx42.js} +2 -2
  100. package/dist/{register.onboard-C_oZreTK.js → register.onboard-D54Cc4KC.js} +2 -2
  101. package/dist/{register.setup-WBFMBTcP.js → register.setup-D5P7KrfP.js} +2 -2
  102. package/dist/{register.setup-Ba6S39kI.js → register.setup-v5rR-FiC.js} +2 -2
  103. package/dist/{register.subclis-DtUGzYVz.js → register.subclis-CMThmpuD.js} +3 -3
  104. package/dist/{run-main-B6uubEb8.js → run-main-Bzchv5w8.js} +3 -3
  105. package/dist/{update-cli-COyyIt37.js → update-cli-BT2KxdtU.js} +5 -5
  106. package/dist/{update-cli-WAMVsPit.js → update-cli-miNRN0fB.js} +4 -4
  107. package/package.json +1 -1
  108. package/dist/control-ui/_app/immutable/chunks/BXjfcUYQ.js +0 -1
  109. package/dist/control-ui/_app/immutable/chunks/Bf6c0cUg.js +0 -1
  110. package/dist/control-ui/_app/immutable/chunks/C3MEsV6-.js +0 -1
  111. package/dist/control-ui/_app/immutable/chunks/jyaC7jQ0.js +0 -5
  112. package/dist/control-ui/_app/immutable/entry/start.Br3cjxv0.js +0 -1
  113. package/dist/control-ui/_app/immutable/nodes/2.Zm6j08A_.js +0 -1
@@ -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":"1771689632534"}
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.Br3cjxv0.js" rel="modulepreload">
17
- <link href="/_app/immutable/chunks/Bf6c0cUg.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.BwCsQnur.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_1hrvmuv = {
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.Br3cjxv0.js"),
40
- import("/_app/immutable/entry/app.BwCsQnur.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
  });
@@ -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-C_J-jd9D.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-FIejYbDL.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-B6uubEb8.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
  });
@@ -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-B_8tUxFm.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";
@@ -15977,7 +15977,7 @@ function buildControlUiCspHeader() {
15977
15977
  "script-src 'self' 'unsafe-inline'",
15978
15978
  "style-src 'self' 'unsafe-inline' https://fonts.googleapis.com",
15979
15979
  "img-src 'self' data: https: blob:",
15980
- "font-src 'self' https://fonts.gstatic.com",
15980
+ "font-src 'self' data: https://fonts.gstatic.com",
15981
15981
  "connect-src 'self' ws: wss: https:"
15982
15982
  ].join("; ");
15983
15983
  }
@@ -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-IlBStOWQ.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";
@@ -15981,7 +15981,7 @@ function buildControlUiCspHeader() {
15981
15981
  "script-src 'self' 'unsafe-inline'",
15982
15982
  "style-src 'self' 'unsafe-inline' https://fonts.googleapis.com",
15983
15983
  "img-src 'self' data: https: blob:",
15984
- "font-src 'self' https://fonts.gstatic.com",
15984
+ "font-src 'self' data: https://fonts.gstatic.com",
15985
15985
  "connect-src 'self' ws: wss: https:"
15986
15986
  ].join("; ");
15987
15987
  }
@@ -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";
package/dist/index.js CHANGED
@@ -111,7 +111,7 @@ import { t as ensureOpenClawCliOnPath } from "./path-env-BufaTTaN.js";
111
111
  import { t as assertSupportedRuntime } from "./runtime-guard-DlT3NecY.js";
112
112
  import "./ports-OAiP9UCI.js";
113
113
  import { a as hasFlag, i as getVerboseFlag, n as getCommandPath, o as hasHelpOrVersion, s as hasRootVersionAlias } from "./argv-1cuXh2ix.js";
114
- import { i as getCoreCliCommandsWithSubcommands, n as setProgramContext, o as registerProgramCommands, s as getSubCliCommandsWithSubcommands } from "./program-context-CTRcW6qt.js";
114
+ import { i as getCoreCliCommandsWithSubcommands, n as setProgramContext, o as registerProgramCommands, s as getSubCliCommandsWithSubcommands } from "./program-context-D9asDBqu.js";
115
115
  import "./catalog-CgtgPHMj.js";
116
116
  import "./plugin-registry-Uby1FEL0.js";
117
117
  import { n as resolveCliChannelOptions } from "./channel-options-D1e2PyE-.js";
@@ -12,7 +12,7 @@ import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, r as isGate
12
12
  import { r as isSystemdUserServiceAvailable } from "./systemd-B6S4ND7H.js";
13
13
  import { t as resolveGatewayService } from "./service-Bw9h81em.js";
14
14
  import { r as healthCommand } from "./health-DoJPYIvC.js";
15
- import { t as runOnboardingWizard } from "./onboarding-IlBStOWQ.js";
15
+ import { t as runOnboardingWizard } from "./onboarding-WJQtWazg.js";
16
16
  import { $ as setHuggingfaceApiKey, A as applyXaiConfig, B as applyVercelAiGatewayConfig, E as applyTogetherConfig, I as applyLitellmConfig, M as applyXiaomiConfig, O as applyVeniceConfig, P as applyZaiConfig, Q as setGeminiApiKey, R as applyCloudflareAiGatewayConfig, S as applyQianfanConfig, X as setAnthropicApiKey, Z as setCloudflareAiGatewayConfig, _ as applyMoonshotConfigCn, a as applyMinimaxApiConfig, at as setOpenrouterApiKey, b as applyOpenrouterConfig, ct as setTogetherApiKey, d as applyAuthProfileConfig, dt as setXaiApiKey, et as setKimiCodingApiKey, f as applyHuggingfaceConfig, ft as setXiaomiApiKey, g as applyMoonshotConfig, it as setOpencodeZenApiKey, l as applyMinimaxConfig, lt as setVeniceApiKey, m as applyKimiCodeConfig, n as validateAnthropicSetupToken, nt as setMinimaxApiKey, o as applyMinimaxApiConfigCn, ot as setQianfanApiKey, pt as setZaiApiKey, r as applyOpencodeZenConfig, rt as setMoonshotApiKey, st as setSyntheticApiKey, t as buildTokenProfileId, tt as setLitellmApiKey, ut as setVercelAiGatewayApiKey, w as applySyntheticConfig } from "./auth-token-CrKdCf4Y.js";
17
17
  import { n as logConfigUpdated } from "./logging-Cl6-FWdR.js";
18
18
  import { n as isDeprecatedAuthChoice, r as normalizeLegacyOnboardAuthChoice } from "./auth-choice-legacy-Ch38-Kbr.js";
@@ -10,7 +10,7 @@ import { t as assertSupportedRuntime } from "./runtime-guard-DcwOrtgH.js";
10
10
  import { r as isSystemdUserServiceAvailable } from "./systemd-BeKZd5oD.js";
11
11
  import { t as resolveGatewayService } from "./service-CIkh5YiN.js";
12
12
  import { r as healthCommand } from "./health-BsrXWJ-_.js";
13
- import { t as runOnboardingWizard } from "./onboarding-B_8tUxFm.js";
13
+ import { t as runOnboardingWizard } from "./onboarding-CIYktbwg.js";
14
14
  import { $ as setHuggingfaceApiKey, A as applyXaiConfig, B as applyVercelAiGatewayConfig, E as applyTogetherConfig, I as applyLitellmConfig, M as applyXiaomiConfig, O as applyVeniceConfig, P as applyZaiConfig, Q as setGeminiApiKey, R as applyCloudflareAiGatewayConfig, S as applyQianfanConfig, X as setAnthropicApiKey, Z as setCloudflareAiGatewayConfig, _ as applyMoonshotConfigCn, a as applyMinimaxApiConfig, at as setOpenrouterApiKey, b as applyOpenrouterConfig, ct as setTogetherApiKey, d as applyAuthProfileConfig, dt as setXaiApiKey, et as setKimiCodingApiKey, f as applyHuggingfaceConfig, ft as setXiaomiApiKey, g as applyMoonshotConfig, it as setOpencodeZenApiKey, l as applyMinimaxConfig, lt as setVeniceApiKey, m as applyKimiCodeConfig, n as validateAnthropicSetupToken, nt as setMinimaxApiKey, o as applyMinimaxApiConfigCn, ot as setQianfanApiKey, pt as setZaiApiKey, r as applyOpencodeZenConfig, rt as setMoonshotApiKey, st as setSyntheticApiKey, t as buildTokenProfileId, tt as setLitellmApiKey, ut as setVercelAiGatewayApiKey, w as applySyntheticConfig } from "./auth-token-DMUSDb5Q.js";
15
15
  import { n as logConfigUpdated } from "./logging-BGewRZy0.js";
16
16
  import { n as isDeprecatedAuthChoice, r as normalizeLegacyOnboardAuthChoice } from "./auth-choice-legacy-BKXTgyr4.js";
@@ -302,7 +302,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
302
302
  mode
303
303
  });
304
304
  await writeConfigFile(nextConfig);
305
- const { finalizeOnboardingWizard } = await import("./onboarding.finalize-CUfEwc_X.js");
305
+ const { finalizeOnboardingWizard } = await import("./onboarding.finalize-DC7D8bBE.js");
306
306
  const { launchedTui } = await finalizeOnboardingWizard({
307
307
  flow,
308
308
  opts,
@@ -304,7 +304,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
304
304
  mode
305
305
  });
306
306
  await writeConfigFile(nextConfig);
307
- const { finalizeOnboardingWizard } = await import("./onboarding.finalize-CscOXfzt.js");
307
+ const { finalizeOnboardingWizard } = await import("./onboarding.finalize-Z7sroef4.js");
308
308
  const { launchedTui } = await finalizeOnboardingWizard({
309
309
  flow,
310
310
  opts,
@@ -98,10 +98,10 @@ import { b as waitForGatewayReachable, f as openUrl, g as resolveControlUiLinks,
98
98
  import "./prompt-style-DwCXob2h.js";
99
99
  import "./pairing-labels-2HXV-KVQ.js";
100
100
  import "./note-D3Xn5qjj.js";
101
- import "./register.subclis-DtUGzYVz.js";
102
- import "./command-registry-B3oActxS.js";
101
+ import "./register.subclis-CMThmpuD.js";
102
+ import "./command-registry-D82LWaRr.js";
103
103
  import "./program-context--isQKnLs.js";
104
- import { r as installCompletion } from "./completion-cli-FIejYbDL.js";
104
+ import { r as installCompletion } from "./completion-cli-DPioCNYq.js";
105
105
  import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-JIaTm7m1.js";
106
106
  import "./runtime-guard-DcwOrtgH.js";
107
107
  import { r as isSystemdUserServiceAvailable } from "./systemd-BeKZd5oD.js";
@@ -109,7 +109,7 @@ import { t as resolveGatewayService } from "./service-CIkh5YiN.js";
109
109
  import { r as healthCommand } from "./health-BsrXWJ-_.js";
110
110
  import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-CwSEyfND.js";
111
111
  import { t as formatHealthCheckFailure } from "./health-format-DkjSgkDx.js";
112
- import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-D7sHoVar.js";
112
+ import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-fRx0enfv.js";
113
113
  import { t as runTui } from "./tui-DIJDni82.js";
114
114
  import os from "node:os";
115
115
  import path from "node:path";
@@ -102,16 +102,16 @@ import "./control-service-DGT3mUo3.js";
102
102
  import "./stagger-B6VQyn1F.js";
103
103
  import "./channel-selection-DuDSoVSC.js";
104
104
  import "./runtime-guard-DlT3NecY.js";
105
- import "./program-context-CTRcW6qt.js";
105
+ import "./program-context-D9asDBqu.js";
106
106
  import "./note-C-OTWf0F.js";
107
- import { r as installCompletion } from "./completion-cli-C_J-jd9D.js";
107
+ import { r as installCompletion } from "./completion-cli-C1r90Nrk.js";
108
108
  import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-CxEC09i-.js";
109
109
  import { r as isSystemdUserServiceAvailable } from "./systemd-B6S4ND7H.js";
110
110
  import { t as resolveGatewayService } from "./service-Bw9h81em.js";
111
111
  import { r as healthCommand } from "./health-DoJPYIvC.js";
112
112
  import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-BmaUgzFj.js";
113
113
  import { t as formatHealthCheckFailure } from "./health-format-DQNr1Hum.js";
114
- import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-sHbqqiJx.js";
114
+ import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-DhpniKWm.js";
115
115
  import { t as runTui } from "./tui-CK_wqabZ.js";
116
116
  import os from "node:os";
117
117
  import path from "node:path";
@@ -100,8 +100,8 @@ import "./pairing-labels-2HXV-KVQ.js";
100
100
  import "./catalog-vmrRUSxJ.js";
101
101
  import "./plugin-registry-D_OXYdWZ.js";
102
102
  import { n as resolveCliChannelOptions } from "./channel-options-CPNP_5h2.js";
103
- import { t as getSubCliCommandsWithSubcommands } from "./register.subclis-DtUGzYVz.js";
104
- import { a as registerProgramCommands, r as getCoreCliCommandsWithSubcommands } from "./command-registry-B3oActxS.js";
103
+ import { t as getSubCliCommandsWithSubcommands } from "./register.subclis-CMThmpuD.js";
104
+ import { a as registerProgramCommands, r as getCoreCliCommandsWithSubcommands } from "./command-registry-D82LWaRr.js";
105
105
  import { r as setProgramContext } from "./program-context--isQKnLs.js";
106
106
  import { t as forceFreePort } from "./ports-0yxh32gW.js";
107
107
  import { n as formatCliBannerLine, r as hasEmittedCliBanner, t as emitCliBanner } from "./banner-Do4A8nN7.js";
@@ -43,7 +43,7 @@ const entries = [
43
43
  description: "Run, inspect, and query the WebSocket Gateway",
44
44
  hasSubcommands: true,
45
45
  register: async (program) => {
46
- (await import("./gateway-cli-DZ4LS2Gw.js")).registerGatewayCli(program);
46
+ (await import("./gateway-cli-CJohs14T.js")).registerGatewayCli(program);
47
47
  }
48
48
  },
49
49
  {
@@ -239,7 +239,7 @@ const entries = [
239
239
  description: "Update OpenClaw and inspect update channel status",
240
240
  hasSubcommands: true,
241
241
  register: async (program) => {
242
- (await import("./update-cli-WAMVsPit.js")).registerUpdateCli(program);
242
+ (await import("./update-cli-miNRN0fB.js")).registerUpdateCli(program);
243
243
  }
244
244
  },
245
245
  {
@@ -247,7 +247,7 @@ const entries = [
247
247
  description: "Generate shell completion script",
248
248
  hasSubcommands: false,
249
249
  register: async (program) => {
250
- (await import("./completion-cli-C_J-jd9D.js").then((n) => n.n)).registerCompletionCli(program);
250
+ (await import("./completion-cli-C1r90Nrk.js").then((n) => n.n)).registerCompletionCli(program);
251
251
  }
252
252
  }
253
253
  ];
@@ -310,7 +310,7 @@ const coreEntries = [
310
310
  hasSubcommands: false
311
311
  }],
312
312
  register: async ({ program }) => {
313
- (await import("./register.setup-Ba6S39kI.js")).registerSetupCommand(program);
313
+ (await import("./register.setup-v5rR-FiC.js")).registerSetupCommand(program);
314
314
  }
315
315
  },
316
316
  {
@@ -320,7 +320,7 @@ const coreEntries = [
320
320
  hasSubcommands: false
321
321
  }],
322
322
  register: async ({ program }) => {
323
- (await import("./register.onboard-DlDtwyfd.js")).registerOnboardCommand(program);
323
+ (await import("./register.onboard-C9qYHx42.js")).registerOnboardCommand(program);
324
324
  }
325
325
  },
326
326
  {
@@ -367,7 +367,7 @@ const coreEntries = [
367
367
  }
368
368
  ],
369
369
  register: async ({ program }) => {
370
- (await import("./register.maintenance-BdAIyY7s.js")).registerMaintenanceCommands(program);
370
+ (await import("./register.maintenance-5rJ9wTWH.js")).registerMaintenanceCommands(program);
371
371
  }
372
372
  },
373
373
  {
@@ -39,7 +39,7 @@ import { n as logConfigUpdated } from "./logging-BGewRZy0.js";
39
39
  import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-CAskzyjf.js";
40
40
  import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-CgYzp_8H.js";
41
41
  import { t as formatHealthCheckFailure } from "./health-format-DkjSgkDx.js";
42
- import { n as doctorShellCompletion } from "./doctor-completion-D7sHoVar.js";
42
+ import { n as doctorShellCompletion } from "./doctor-completion-fRx0enfv.js";
43
43
  import { execFile } from "node:child_process";
44
44
  import os from "node:os";
45
45
  import path from "node:path";
@@ -42,7 +42,7 @@ import { n as logConfigUpdated } from "./logging-Cl6-FWdR.js";
42
42
  import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-QDe1npDU.js";
43
43
  import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-C3Tnphf9.js";
44
44
  import { t as formatHealthCheckFailure } from "./health-format-DQNr1Hum.js";
45
- import { n as doctorShellCompletion } from "./doctor-completion-sHbqqiJx.js";
45
+ import { n as doctorShellCompletion } from "./doctor-completion-DhpniKWm.js";
46
46
  import fs from "node:fs";
47
47
  import os from "node:os";
48
48
  import path from "node:path";
@@ -102,14 +102,14 @@ import "./control-service-DGT3mUo3.js";
102
102
  import "./stagger-B6VQyn1F.js";
103
103
  import "./channel-selection-DuDSoVSC.js";
104
104
  import "./runtime-guard-DlT3NecY.js";
105
- import "./program-context-CTRcW6qt.js";
105
+ import "./program-context-D9asDBqu.js";
106
106
  import "./catalog-CgtgPHMj.js";
107
107
  import "./skills-status-kQ1GipOi.js";
108
108
  import { t as copyToClipboard } from "./clipboard-DE_XZZD9.js";
109
109
  import "./note-C-OTWf0F.js";
110
110
  import "./plugin-auto-enable-BKai7KOi.js";
111
111
  import "./channels-status-issues-ClkP4ZUC.js";
112
- import "./completion-cli-C_J-jd9D.js";
112
+ import "./completion-cli-C1r90Nrk.js";
113
113
  import "./daemon-runtime-CxEC09i-.js";
114
114
  import "./systemd-B6S4ND7H.js";
115
115
  import { t as resolveGatewayService } from "./service-Bw9h81em.js";
@@ -124,8 +124,8 @@ import "./logging-Cl6-FWdR.js";
124
124
  import "./doctor-config-flow-QDe1npDU.js";
125
125
  import "./systemd-linger-C3Tnphf9.js";
126
126
  import "./health-format-DQNr1Hum.js";
127
- import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-DEl1ViOW.js";
128
- import "./doctor-completion-sHbqqiJx.js";
127
+ import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-ca2X5yAy.js";
128
+ import "./doctor-completion-DhpniKWm.js";
129
129
  import path from "node:path";
130
130
  import fs from "node:fs/promises";
131
131
  import { cancel, confirm, isCancel, multiselect } from "@clack/prompts";