@cleocode/cleo 2026.9.14 → 2026.9.15

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 (53) hide show
  1. package/dist/cli/index.js +117 -30
  2. package/package.json +13 -13
  3. package/scripts/generate-command-manifest.mjs +7 -2
  4. package/studio-dist/client/_app/immutable/chunks/COEVVgGn.js +3 -0
  5. package/studio-dist/client/_app/immutable/chunks/D2NG8h_r.js +1 -0
  6. package/studio-dist/client/_app/immutable/chunks/{BtywxRhM.js → DPdtI3wM.js} +1 -1
  7. package/studio-dist/client/_app/immutable/chunks/{D5Xqss9F.js → NUtQpztF.js} +1 -1
  8. package/studio-dist/client/_app/immutable/entry/{app.Bkyb9RRj.js → app.CRQDghR6.js} +2 -2
  9. package/studio-dist/client/_app/immutable/entry/start.6hSGg1uY.js +1 -0
  10. package/studio-dist/client/_app/immutable/nodes/{0.COhWnRZG.js → 0.DhjCtLlb.js} +1 -1
  11. package/studio-dist/client/_app/immutable/nodes/{1.DilOp_T3.js → 1.CGvtVpZ4.js} +1 -1
  12. package/studio-dist/client/_app/immutable/nodes/{15.Xj_SnhIh.js → 15.C0AVEmN4.js} +1 -1
  13. package/studio-dist/client/_app/immutable/nodes/{16.-k1fZVc8.js → 16.idTr0Sy-.js} +1 -1
  14. package/studio-dist/client/_app/immutable/nodes/{17.C3uJChOm.js → 17.D9U6A-tT.js} +1 -1
  15. package/studio-dist/client/_app/immutable/nodes/{18.CaBcMqg6.js → 18.BnNnIAxc.js} +1 -1
  16. package/studio-dist/client/_app/immutable/nodes/{20.PfLdXu4K.js → 20.DtrFty0x.js} +1 -1
  17. package/studio-dist/client/_app/immutable/nodes/{24.D6HMIXZo.js → 24.BNfALjyT.js} +1 -1
  18. package/studio-dist/client/_app/immutable/nodes/{25.PWd_97Ic.js → 25.Be5vwHso.js} +2 -2
  19. package/studio-dist/client/_app/immutable/nodes/{26.CpRQOhTF.js → 26.DT-XPIqy.js} +1 -1
  20. package/studio-dist/client/_app/immutable/nodes/{3.BUtKuhCE.js → 3.BKRmuaPu.js} +1 -1
  21. package/studio-dist/client/_app/version.json +1 -1
  22. package/studio-dist/server/chunks/{0-BQKYj7sI.js → 0-cy_QkDzp.js} +3 -3
  23. package/studio-dist/server/chunks/1-DfbAl5as.js +9 -0
  24. package/studio-dist/server/chunks/{15-eAvnWcqP.js → 15-U6I43v-2.js} +3 -3
  25. package/studio-dist/server/chunks/{16-BrkcPqWj.js → 16-DZakt8NC.js} +3 -3
  26. package/studio-dist/server/chunks/{17-DZOSccBm.js → 17-gxnXiGqH.js} +3 -3
  27. package/studio-dist/server/chunks/{18-CIM4TtZO.js → 18-9L7Ryi3g.js} +3 -3
  28. package/studio-dist/server/chunks/{20-BV2oDNxs.js → 20-DkxvN_jW.js} +3 -3
  29. package/studio-dist/server/chunks/{24-DiJrLGnm.js → 24-CaBX4lxL.js} +3 -3
  30. package/studio-dist/server/chunks/{25-KnPx5--u.js → 25-Dt9ulRzg.js} +3 -3
  31. package/studio-dist/server/chunks/{26-MjFmJWRl.js → 26-BqUum1sI.js} +3 -3
  32. package/studio-dist/server/chunks/{3-D0yOn-2j.js → 3-BRakm5hS.js} +3 -3
  33. package/studio-dist/server/chunks/{_layout.svelte-7fJASih5.js → _layout.svelte-uEMRkhN8.js} +4 -4
  34. package/studio-dist/server/chunks/{_page.svelte-DbavHIiA.js → _page.svelte-Blgw2ltS.js} +3 -3
  35. package/studio-dist/server/chunks/{_page.svelte-ByU0xsC0.js → _page.svelte-BoLHzEsv.js} +3 -3
  36. package/studio-dist/server/chunks/{_page.svelte-vKlMIP50.js → _page.svelte-Cis5CNOq.js} +3 -3
  37. package/studio-dist/server/chunks/{_page.svelte-BUR9tARI.js → _page.svelte-CsVeNF46.js} +3 -3
  38. package/studio-dist/server/chunks/{_page.svelte-Bsp6KMM1.js → _page.svelte-DSrhUYWP.js} +3 -3
  39. package/studio-dist/server/chunks/{_page.svelte-CkuJV8ec.js → _page.svelte-QIby5izo.js} +4 -4
  40. package/studio-dist/server/chunks/{_page.svelte-pt9J_PyJ.js → _page.svelte-ZeXhdWGu.js} +4 -4
  41. package/studio-dist/server/chunks/{_page.svelte-BBNuaLYp.js → _page.svelte-qgxzJx8X.js} +3 -3
  42. package/studio-dist/server/chunks/{_page.svelte-DmTQemvS.js → _page.svelte-wRQJ7LRt.js} +3 -3
  43. package/studio-dist/server/chunks/{_server.ts-DOTTU6mC.js → _server.ts-CXy1HT5W.js} +2 -2
  44. package/studio-dist/server/chunks/{client-DBHR0SaZ.js → client-BzjeEh5T.js} +2 -2
  45. package/studio-dist/server/chunks/{error.svelte-BiddeLMF.js → error.svelte-CQk9TrYg.js} +3 -3
  46. package/studio-dist/server/chunks/{internal-DMFWVQX-.js → internal-BjLvSp53.js} +2 -2
  47. package/studio-dist/server/chunks/{stores-CdM00jz_.js → stores-Bpyg4-QN.js} +2 -2
  48. package/studio-dist/server/index.js +1 -1
  49. package/studio-dist/server/manifest.js +13 -13
  50. package/studio-dist/client/_app/immutable/chunks/B7XMzKvO.js +0 -3
  51. package/studio-dist/client/_app/immutable/chunks/Dif6upEP.js +0 -1
  52. package/studio-dist/client/_app/immutable/entry/start.ChxXPWq_.js +0 -1
  53. package/studio-dist/server/chunks/1-Dhv54ORD.js +0 -9
@@ -1 +1 @@
1
- import{A as e,B as t,D as n,E as r,H as i,I as a,J as o,K as s,M as c,O as l,T as u,X as d,Y as f,_ as p,a as m,at as h,d as g,dt as _,et as v,lt as y,ot as b,ut as x,v as S,w as C,x as w}from"../chunks/DGftG5oL.js";import{r as T}from"../chunks/B7XMzKvO.js";import"../chunks/B8WnZMYa.js";import{t as E}from"../chunks/BB7zPpV2.js";import{a as D,i as O,r as k}from"../chunks/DZrdToAH.js";import{l as A}from"../chunks/CTLGzgdN.js";import{g as j,h as M,m as ee,p as N,v as P}from"../chunks/EZwHPWle.js";import"../chunks/Dif6upEP.js";var F=e(`<div class="dep-graph-empty svelte-1ytw5n2">No dependencies</div>`),I=e(`<div class="dep-graph-wrap svelte-1ytw5n2"><!></div>`);function te(e,t){b(t,!0);let n=m(t,`height`,3,`260px`),s=v(()=>t.nodes.map(e=>({id:e.id,substrate:`tasks`,kind:e.type||`task`,label:e.title,category:null,weight:e.isFocus?1:.6,meta:{status:e.status,priority:e.priority,focal:e.isFocus}}))),c=v(()=>t.edges.filter(e=>e.source!==e.target).map((e,t)=>({id:`dep-${t}:${e.source}->${e.target}`,source:e.source,target:e.target,kind:`depends`,directional:!0,weight:.6})));function u(e){T(`/tasks/${e.id}`)}var d=I(),f=o(d),g=e=>{l(e,F())},_=e=>{P(e,{get nodes(){return a(s)},get edges(){return a(c)},showLabels:`full`,nodeRenderer:`circle`,onNodeClick:u,ariaLabel:`Task dependency neighbourhood`})};r(f,e=>{t.nodes.length===0?e(g):e(_,-1)}),x(d),i(()=>p(d,`--dep-graph-height: ${n()??``};`)),l(e,d),h()}var ne=e(`<!> <!> <!>`,1),re=e(`<div><span class="gate-key svelte-13zy71l"> </span> <span class="gate-label svelte-13zy71l"> </span> <span class="gate-icon svelte-13zy71l" aria-hidden="true"> </span></div>`),ie=e(`<section class="prose-section svelte-13zy71l"><span class="section-label svelte-13zy71l">Description</span> <div class="prose svelte-13zy71l"> </div></section>`),ae=e(`<li><span class="ac-check svelte-13zy71l" aria-hidden="true"> </span> <span class="ac-text svelte-13zy71l"> </span></li>`),oe=e(`<section class="ac-section svelte-13zy71l"><span class="section-label svelte-13zy71l">Acceptance criteria <span class="section-meta svelte-13zy71l"> </span></span> <ul class="ac-list svelte-13zy71l"></ul></section>`),se=e(`<li class="note-item svelte-13zy71l"><span class="note-index svelte-13zy71l"></span> <span class="note-text svelte-13zy71l"> </span></li>`),ce=e(`<section class="prose-section svelte-13zy71l"><span class="section-label svelte-13zy71l">Notes <span class="section-meta svelte-13zy71l"> </span></span> <ol class="notes-list svelte-13zy71l"></ol></section>`),le=e(`<time class="artifact-date svelte-13zy71l"> </time>`),ue=e(`<h3 class="artifact-title svelte-13zy71l"> </h3>`),de=e(`<p class="artifact-summary svelte-13zy71l"> </p>`),fe=e(`<div class="artifact-output svelte-13zy71l"><span class="artifact-output-label svelte-13zy71l">output:</span> <code class="artifact-output-path svelte-13zy71l"> </code></div>`),pe=e(`<code class="artifact-file svelte-13zy71l"> </code>`),me=e(`<div class="artifact-files svelte-13zy71l"></div>`),he=e(`<article class="artifact svelte-13zy71l"><header class="artifact-head svelte-13zy71l"><!> <!> <!> <code class="artifact-id svelte-13zy71l"> </code></header> <!> <!> <!> <!></article>`),ge=e(`<section class="artifacts-section svelte-13zy71l"><span class="section-label svelte-13zy71l">Agent artifacts <span class="section-meta svelte-13zy71l"> </span></span> <div class="artifact-list svelte-13zy71l"></div></section>`),_e=e(`<time class="commit-date svelte-13zy71l"> </time>`),ve=e(`<code class="commit-file svelte-13zy71l"> </code>`),ye=e(`<span class="commit-files-more svelte-13zy71l"> </span>`),be=e(`<div class="commit-files svelte-13zy71l"><!> <!></div>`),xe=e(`<li class="commit-item svelte-13zy71l"><code class="commit-sha svelte-13zy71l"> </code> <span class="commit-subject svelte-13zy71l"> </span> <!> <!></li>`),Se=e(`<section class="commits-section"><span class="section-label svelte-13zy71l">Git commits <span class="section-meta svelte-13zy71l"> </span></span> <ol class="commits-list svelte-13zy71l"></ol></section>`),Ce=e(`<span class="dep-row svelte-13zy71l"><!> <span class="dep-id svelte-13zy71l"> </span> <span class="dep-title svelte-13zy71l"> </span> <!></span>`),we=e(`<section class="side-section svelte-13zy71l"><span class="section-label svelte-13zy71l">Dependency graph</span> <!></section>`),Te=e(`<li><a class="dep svelte-13zy71l"> </a></li>`),Ee=e(`<section class="side-section svelte-13zy71l"><span class="section-label dep-label dep-blocked svelte-13zy71l">↑ Blocked by <span class="section-meta svelte-13zy71l"> </span></span> <ul class="dep-list svelte-13zy71l"></ul></section>`),De=e(`<li><a class="dep svelte-13zy71l"> </a></li>`),Oe=e(`<section class="side-section svelte-13zy71l"><span class="section-label dep-label dep-blocking svelte-13zy71l">↓ Blocking <span class="section-meta svelte-13zy71l"> </span></span> <ul class="dep-list svelte-13zy71l"></ul></section>`),ke=e(`<li><a class="subtask svelte-13zy71l"><!> <span class="subtask-id svelte-13zy71l"> </span> <span class="subtask-title svelte-13zy71l"> </span> <span class="subtask-gates svelte-13zy71l" aria-hidden="true"><span>I</span> <span>T</span> <span>Q</span></span></a></li>`),Ae=e(`<section class="side-section svelte-13zy71l"><span class="section-label svelte-13zy71l"> <span class="section-meta svelte-13zy71l"> </span></span> <div class="subtask-progress svelte-13zy71l" aria-hidden="true"><div class="subtask-progress-fill svelte-13zy71l"></div></div> <ul class="subtask-list svelte-13zy71l"></ul></section>`),je=e(`<div class="meta-row svelte-13zy71l"><dt class="svelte-13zy71l">Completed</dt> <dd class="svelte-13zy71l"> </dd></div>`),Me=e(`<div class="meta-row svelte-13zy71l"><dt class="svelte-13zy71l">Phase</dt> <dd class="svelte-13zy71l"> </dd></div>`),Ne=e(`<div class="meta-row svelte-13zy71l"><dt class="svelte-13zy71l">Labels</dt> <dd class="svelte-13zy71l"><div class="label-chips svelte-13zy71l"></div></dd></div>`),Pe=e(`<dl class="meta-list svelte-13zy71l"><div class="meta-row svelte-13zy71l"><dt class="svelte-13zy71l">Created</dt> <dd class="svelte-13zy71l"> </dd></div> <div class="meta-row svelte-13zy71l"><dt class="svelte-13zy71l">Updated</dt> <dd class="svelte-13zy71l"> </dd></div> <!> <!> <!></dl>`),Fe=e(`<div class="task-detail svelte-13zy71l"><!> <!> <div class="detail-layout svelte-13zy71l"><div class="detail-main svelte-13zy71l"><section class="gate-section svelte-13zy71l"><div class="gate-head svelte-13zy71l"><span class="section-label svelte-13zy71l">Verification gates</span> <span class="gate-counter svelte-13zy71l"> </span> <!></div> <div class="gate-strip svelte-13zy71l"></div></section> <!> <!> <!> <!> <!></div> <aside class="detail-side svelte-13zy71l"><!> <!> <!> <!> <!> <div class="sidebar-nav svelte-13zy71l"><!> <!></div></aside></div></div>`);function L(e,m){b(m,!0);let T=new Set([`pending`,`active`,`blocked`,`done`,`cancelled`,`archived`,`proposed`]),P=new Set([`low`,`medium`,`high`,`critical`]);function F(e){return T.has(e)?e:`pending`}function I(e){return P.has(e)?e:`medium`}let L=v(()=>m.data.task),R=v(()=>m.data.subtasks),z=v(()=>m.data.parent),B=v(()=>m.data.manifestEntries),V=v(()=>m.data.linkedCommits),Ie=v(()=>[{label:`Tasks`,href:`/tasks`},...a(z)?[{label:a(z).id,href:`/tasks/${a(z).id}`}]:[],{label:a(L).id}]);function H(e){if(!e)return`—`;try{return new Date(e).toLocaleString(`en-US`,{month:`short`,day:`numeric`,hour:`2-digit`,minute:`2-digit`})}catch{return e}}function U(e){if(!e)return`—`;try{return new Date(e).toLocaleDateString(`en-US`,{month:`short`,day:`numeric`,year:`numeric`})}catch{return e}}function Le(e,t){return e?e.length<=t?e:`${e.slice(0,t)}…`:``}function Re(e){return e.split(`/`).pop()??e}let W=v(()=>[{key:`I`,label:`Implemented`,passed:a(L).verification?.gates.implemented??!1},{key:`T`,label:`Tests`,passed:a(L).verification?.gates.testsPassed??!1},{key:`Q`,label:`QA`,passed:a(L).verification?.gates.qaPassed??!1},{key:`D`,label:`Documented`,passed:!1},{key:`S`,label:`Security`,passed:!1},{key:`C`,label:`Cleanup`,passed:!1}]),ze=v(()=>a(W).filter(e=>e.passed).length);function Be(e){return M(e.verification_json)}let G=v(()=>a(R).filter(e=>e.status===`done`).length),K=v(()=>a(R).length>0?Math.round(a(G)/a(R).length*100):0),Ve=v(()=>[a(L).pipeline_stage?`stage: ${a(L).pipeline_stage}`:null,a(L).size?`size: ${a(L).size}`:null,a(L).assignee?`assigned: ${a(L).assignee}`:null,`updated ${ee(a(L).updated_at)}`].filter(e=>e!==null).join(` · `));function He(e){return e===`critical`||e===`high`?`danger`:e===`medium`?`warning`:e===`low`?`neutral`:`info`}function Ue(e){return e===`complete`?`success`:e===`partial`?`warning`:e===`blocked`?`danger`:`neutral`}function We(){let e=[{id:a(L).id,title:a(L).title,status:a(L).status,priority:a(L).priority,type:a(L).type,isFocus:!0}];for(let t of a(L).upstream)e.push({id:t.id,title:t.title,status:t.status,priority:t.priority,type:`task`,isFocus:!1});for(let t of a(L).downstream)e.push({id:t.id,title:t.title,status:t.status,priority:t.priority,type:`task`,isFocus:!1});return e}function Ge(){let e=[];for(let t of a(L).upstream)e.push({source:a(L).id,target:t.id});for(let t of a(L).downstream)e.push({source:t.id,target:a(L).id});return e}var q=Fe();w(`13zy71l`,e=>{t(()=>{s.title=`${a(L).id??``} — ${a(L).title??``} — CLEO Studio`})});var Ke=o(q);O(Ke,{get items(){return a(Ie)}});var qe=d(Ke,2);{let e=e=>{var t=ne(),o=f(t);{let e=v(()=>F(a(L).status));N(o,{get status(){return a(e)}})}var s=d(o,2);{let e=v(()=>I(a(L).priority));j(s,{get priority(){return a(e)}})}var u=d(s,2),p=e=>{D(e,{tone:`neutral`,size:`sm`,children:(e,t)=>{y();var r=c();i(()=>n(r,a(L).size)),l(e,r)},$$slots:{default:!0}})};r(u,e=>{a(L).size&&e(p)}),l(e,t)},t=v(()=>a(L).type.toUpperCase());E(qe,{get eyebrow(){return a(t)},get title(){return a(L).title},get meta(){return a(Ve)},actions:e,$$slots:{actions:!0}})}var Je=d(qe,2),J=o(Je),Y=o(J),X=o(Y),Z=d(o(X),2),Ye=o(Z);x(Z);var Xe=d(Z,2),Ze=e=>{D(e,{tone:`success`,size:`sm`,children:(e,t)=>{y(),l(e,c(`ALL PASSED`))},$$slots:{default:!0}})},Qe=e=>{D(e,{tone:`warning`,size:`sm`,children:(e,t)=>{y();var r=c();i(()=>n(r,`Round ${a(L).verification.round??``}`)),l(e,r)},$$slots:{default:!0}})};r(Xe,e=>{a(L).verification?.passed?e(Ze):a(L).verification&&e(Qe,1)}),x(X);var $e=d(X,2);C($e,21,()=>a(W),u,(e,t)=>{var r=re();let s;var c=o(r),u=o(c,!0);x(c);var f=d(c,2),p=o(f,!0);x(f);var m=d(f,2),h=o(m,!0);x(m),x(r),i(()=>{s=S(r,1,`gate svelte-13zy71l`,null,s,{passed:a(t).passed}),g(r,`title`,a(t).label),n(u,a(t).key),n(p,a(t).label),n(h,a(t).passed?`✓`:`·`)}),l(e,r)}),x($e),x(Y);var et=d(Y,2),tt=e=>{var t=ie(),r=d(o(t),2),s=o(r,!0);x(r),x(t),i(()=>n(s,a(L).description)),l(e,t)};r(et,e=>{a(L).description&&e(tt)});var nt=d(et,2),rt=e=>{var t=oe(),r=o(t),s=d(o(r)),c=o(s);x(s),x(r);var f=d(r,2);C(f,21,()=>a(L).acceptance,u,(e,t)=>{let r=v(()=>a(L).verification?.passed??!1);var s=ae();let c;var u=o(s),f=o(u,!0);x(u);var p=d(u,2),m=o(p,!0);x(p),x(s),i(()=>{c=S(s,1,`ac-item svelte-13zy71l`,null,c,{passed:a(r)}),n(f,a(r)?`✓`:`○`),n(m,a(t))}),l(e,s)}),x(f),x(t),i(()=>n(c,`${a(L).acceptance.length??``} criteria`)),l(e,t)};r(nt,e=>{a(L).acceptance&&a(L).acceptance.length>0&&e(rt)});var it=d(nt,2),at=e=>{var t=ce(),r=o(t),s=d(o(r)),c=o(s);x(s),x(r);var f=d(r,2);C(f,21,()=>a(L).notes,u,(e,t,r)=>{var s=se(),c=o(s);c.textContent=`#${r+1}`;var u=d(c,2),f=o(u,!0);x(u),x(s),i(()=>n(f,a(t))),l(e,s)}),x(f),x(t),i(()=>n(c,`${a(L).notes.length??``} entries`)),l(e,t)};r(it,e=>{a(L).notes&&a(L).notes.length>0&&e(at)});var Q=d(it,2),ot=e=>{var t=ge(),s=o(t),f=d(o(s)),p=o(f,!0);x(f),x(s);var m=d(s,2);C(m,21,()=>a(B),e=>e.id,(e,t)=>{var s=he(),f=o(s),p=o(f);D(p,{tone:`accent`,size:`sm`,children:(e,r)=>{y();var o=c();i(()=>n(o,a(t).type)),l(e,o)},$$slots:{default:!0}});var m=d(p,2);{let e=v(()=>Ue(a(t).status));D(m,{get tone(){return a(e)},size:`sm`,children:(e,r)=>{y();var o=c();i(()=>n(o,a(t).status)),l(e,o)},$$slots:{default:!0}})}var h=d(m,2),_=e=>{var r=le(),s=o(r,!0);x(r),i(e=>n(s,e),[()=>U(a(t).date)]),l(e,r)};r(h,e=>{a(t).date&&e(_)});var b=d(h,2),S=o(b,!0);x(b),x(f);var w=d(f,2),T=e=>{var r=ue(),s=o(r,!0);x(r),i(()=>n(s,a(t).title)),l(e,r)};r(w,e=>{a(t).title&&e(T)});var E=d(w,2),O=e=>{var r=de(),s=o(r,!0);x(r),i(e=>n(s,e),[()=>Le(a(t).summary,300)]),l(e,r)};r(E,e=>{a(t).summary&&e(O)});var k=d(E,2),A=e=>{var r=fe(),s=d(o(r),2),c=o(s,!0);x(s),x(r),i(()=>n(c,a(t).output)),l(e,r)};r(k,e=>{a(t).output&&e(A)});var j=d(k,2),M=e=>{var r=me();C(r,21,()=>a(t).files,u,(e,t)=>{var r=pe(),s=o(r,!0);x(r),i(e=>n(s,e),[()=>Re(a(t))]),l(e,r)}),x(r),l(e,r)};r(j,e=>{a(t).files&&a(t).files.length>0&&e(M)}),x(s),i(()=>{g(s,`data-status`,a(t).status),n(S,a(t).id)}),l(e,s)}),x(m),x(t),i(()=>n(p,a(B).length)),l(e,t)};r(Q,e=>{a(B)&&a(B).length>0&&e(ot)});var st=d(Q,2),ct=e=>{var t=Se(),s=o(t),c=d(o(s)),f=o(c,!0);x(c),x(s);var p=d(s,2);C(p,21,()=>a(V),u,(e,t)=>{var s=xe(),c=o(s),f=o(c,!0);x(c);var p=d(c,2),m=o(p,!0);x(p);var h=d(p,2),g=e=>{var r=_e(),s=o(r,!0);x(r),i(e=>n(s,e),[()=>U(a(t).date)]),l(e,r)};r(h,e=>{a(t).date&&e(g)});var _=d(h,2),v=e=>{var s=be(),c=o(s);C(c,17,()=>a(t).files.slice(0,6),u,(e,t)=>{var r=ve(),s=o(r,!0);x(r),i(()=>n(s,a(t))),l(e,r)});var f=d(c,2),p=e=>{var r=ye(),s=o(r);x(r),i(()=>n(s,`+${a(t).files.length-6}`)),l(e,r)};r(f,e=>{a(t).files.length>6&&e(p)}),x(s),l(e,s)};r(_,e=>{a(t).files&&a(t).files.length>0&&e(v)}),x(s),i(()=>{n(f,a(t).sha),n(m,a(t).subject)}),l(e,s)}),x(p),x(t),i(()=>n(f,a(V).length)),l(e,t)};r(st,e=>{a(V)&&a(V).length>0&&e(ct)}),x(J);var lt=d(J,2);{let e=(e,t=_)=>{var r=Ce(),s=o(r);{let e=v(()=>F(t().status));N(s,{get status(){return a(e)},compact:!0})}var u=d(s,2),f=o(u,!0);x(u);var p=d(u,2),m=o(p,!0);x(p);var h=d(p,2);{let e=v(()=>He(t().priority));D(h,{get tone(){return a(e)},size:`sm`,subtle:!0,children:(e,r)=>{y();var a=c();i(()=>n(a,t().priority)),l(e,a)},$$slots:{default:!0}})}x(r),i(()=>{n(f,t().id),n(m,t().title)}),l(e,r)};var ut=o(lt),dt=e=>{let t=v(We),n=v(Ge);var r=we();k(d(o(r),2),{padding:`cozy`,elevation:0,children:(e,r)=>{te(e,{get nodes(){return a(t)},get edges(){return a(n)},height:`260px`})},$$slots:{default:!0}}),x(r),l(e,r)};r(ut,e=>{(a(L).upstream.length>0||a(L).downstream.length>0)&&e(dt)});var ft=d(ut,2),pt=t=>{var r=Ee(),s=o(r),c=d(o(s)),f=o(c,!0);x(c),x(s);var p=d(s,2);C(p,21,()=>a(L).upstream,u,(t,r)=>{var s=Te(),c=o(s),u=o(c,!0);x(c),x(s),i(e=>{g(c,`href`,`/tasks/${a(r).id}`),n(u,e)},[()=>e(a(r))]),l(t,s)}),x(p),x(r),i(()=>n(f,a(L).upstream.length)),l(t,r)};r(ft,e=>{a(L).upstream.length>0&&e(pt)});var mt=d(ft,2),ht=t=>{var r=Oe(),s=o(r),c=d(o(s)),f=o(c,!0);x(c),x(s);var p=d(s,2);C(p,21,()=>a(L).downstream,u,(t,r)=>{var s=De(),c=o(s),u=o(c,!0);x(c),x(s),i(e=>{g(c,`href`,`/tasks/${a(r).id}`),n(u,e)},[()=>e(a(r))]),l(t,s)}),x(p),x(r),i(()=>n(f,a(L).downstream.length)),l(t,r)};r(mt,e=>{a(L).downstream.length>0&&e(ht)});var gt=d(mt,2),_t=e=>{var t=Ae(),r=o(t),s=o(r),c=d(s),f=o(c);x(c),x(r);var m=d(r,2),h=o(m);x(m);var _=d(m,2);C(_,21,()=>a(R),u,(e,t)=>{let r=v(()=>Be(a(t)));var s=ke(),c=o(s),u=o(c);{let e=v(()=>F(a(t).status));N(u,{get status(){return a(e)},compact:!0})}var f=d(u,2),p=o(f,!0);x(f);var m=d(f,2),h=o(m,!0);x(m);var _=d(m,2),y=o(_);let b;var C=d(y,2);let w;var T=d(C,2);let E;x(_),x(c),x(s),i(()=>{g(c,`href`,`/tasks/${a(t).id}`),n(p,a(t).id),n(h,a(t).title),b=S(y,1,`g-dot svelte-13zy71l`,null,b,{"g-pass":a(r).implemented}),w=S(C,1,`g-dot svelte-13zy71l`,null,w,{"g-pass":a(r).testsPassed}),E=S(T,1,`g-dot svelte-13zy71l`,null,E,{"g-pass":a(r).qaPassed})}),l(e,s)}),x(_),x(t),i(()=>{n(s,`${a(L).type===`epic`?`Children`:`Subtasks`} `),n(f,`${a(G)??``}/${a(R).length??``} · ${a(K)??``}%`),p(h,`width: ${a(K)}%`)}),l(e,t)};r(gt,e=>{a(R).length>0&&e(_t)});var vt=d(gt,2);k(vt,{padding:`cozy`,elevation:1,children:(e,t)=>{var s=Pe(),f=o(s),p=d(o(f),2),m=o(p,!0);x(p),x(f);var h=d(f,2),g=d(o(h),2),_=o(g,!0);x(g),x(h);var v=d(h,2),b=e=>{var t=je(),r=d(o(t),2),s=o(r,!0);x(r),x(t),i(e=>n(s,e),[()=>H(a(L).completed_at)]),l(e,t)};r(v,e=>{a(L).completed_at&&e(b)});var S=d(v,2),w=e=>{var t=Me(),r=d(o(t),2),s=o(r,!0);x(r),x(t),i(()=>n(s,a(L).phase)),l(e,t)};r(S,e=>{a(L).phase&&e(w)});var T=d(S,2),E=e=>{var t=Ne(),r=d(o(t),2),s=o(r);C(s,21,()=>a(L).labels,u,(e,t)=>{D(e,{tone:`neutral`,size:`sm`,children:(e,r)=>{y();var o=c();i(()=>n(o,a(t))),l(e,o)},$$slots:{default:!0}})}),x(s),x(r),x(t),l(e,t)};r(T,e=>{a(L).labels&&a(L).labels.length>0&&e(E)}),x(s),i((e,t)=>{n(m,e),n(_,t)},[()=>H(a(L).created_at),()=>H(a(L).updated_at)]),l(e,s)},$$slots:{default:!0}});var yt=d(vt,2),$=o(yt);A($,{variant:`ghost`,size:`sm`,href:`/tasks`,block:!0,children:(e,t)=>{y(),l(e,c(`← All Tasks`))},$$slots:{default:!0}});var bt=d($,2),xt=e=>{{let t=v(()=>`/tasks?hierarchy=${a(L).id}`);A(e,{variant:`ghost`,size:`sm`,get href(){return a(t)},block:!0,children:(e,t)=>{y(),l(e,c(`View as tree`))},$$slots:{default:!0}})}};r(bt,e=>{a(L).type===`epic`&&e(xt)}),x(yt),x(lt)}x(Je),x(q),i(()=>n(Ye,`${a(ze)??``}/${a(W).length??``}`)),l(e,q),h()}export{L as component};
1
+ import{A as e,B as t,D as n,E as r,H as i,I as a,J as o,K as s,M as c,O as l,T as u,X as d,Y as f,_ as p,a as m,at as h,d as g,dt as _,et as v,lt as y,ot as b,ut as x,v as S,w as C,x as w}from"../chunks/DGftG5oL.js";import{r as T}from"../chunks/COEVVgGn.js";import"../chunks/B8WnZMYa.js";import{t as E}from"../chunks/BB7zPpV2.js";import{a as D,i as O,r as k}from"../chunks/DZrdToAH.js";import{l as A}from"../chunks/CTLGzgdN.js";import{g as j,h as M,m as ee,p as N,v as P}from"../chunks/EZwHPWle.js";import"../chunks/D2NG8h_r.js";var F=e(`<div class="dep-graph-empty svelte-1ytw5n2">No dependencies</div>`),I=e(`<div class="dep-graph-wrap svelte-1ytw5n2"><!></div>`);function te(e,t){b(t,!0);let n=m(t,`height`,3,`260px`),s=v(()=>t.nodes.map(e=>({id:e.id,substrate:`tasks`,kind:e.type||`task`,label:e.title,category:null,weight:e.isFocus?1:.6,meta:{status:e.status,priority:e.priority,focal:e.isFocus}}))),c=v(()=>t.edges.filter(e=>e.source!==e.target).map((e,t)=>({id:`dep-${t}:${e.source}->${e.target}`,source:e.source,target:e.target,kind:`depends`,directional:!0,weight:.6})));function u(e){T(`/tasks/${e.id}`)}var d=I(),f=o(d),g=e=>{l(e,F())},_=e=>{P(e,{get nodes(){return a(s)},get edges(){return a(c)},showLabels:`full`,nodeRenderer:`circle`,onNodeClick:u,ariaLabel:`Task dependency neighbourhood`})};r(f,e=>{t.nodes.length===0?e(g):e(_,-1)}),x(d),i(()=>p(d,`--dep-graph-height: ${n()??``};`)),l(e,d),h()}var ne=e(`<!> <!> <!>`,1),re=e(`<div><span class="gate-key svelte-13zy71l"> </span> <span class="gate-label svelte-13zy71l"> </span> <span class="gate-icon svelte-13zy71l" aria-hidden="true"> </span></div>`),ie=e(`<section class="prose-section svelte-13zy71l"><span class="section-label svelte-13zy71l">Description</span> <div class="prose svelte-13zy71l"> </div></section>`),ae=e(`<li><span class="ac-check svelte-13zy71l" aria-hidden="true"> </span> <span class="ac-text svelte-13zy71l"> </span></li>`),oe=e(`<section class="ac-section svelte-13zy71l"><span class="section-label svelte-13zy71l">Acceptance criteria <span class="section-meta svelte-13zy71l"> </span></span> <ul class="ac-list svelte-13zy71l"></ul></section>`),se=e(`<li class="note-item svelte-13zy71l"><span class="note-index svelte-13zy71l"></span> <span class="note-text svelte-13zy71l"> </span></li>`),ce=e(`<section class="prose-section svelte-13zy71l"><span class="section-label svelte-13zy71l">Notes <span class="section-meta svelte-13zy71l"> </span></span> <ol class="notes-list svelte-13zy71l"></ol></section>`),le=e(`<time class="artifact-date svelte-13zy71l"> </time>`),ue=e(`<h3 class="artifact-title svelte-13zy71l"> </h3>`),de=e(`<p class="artifact-summary svelte-13zy71l"> </p>`),fe=e(`<div class="artifact-output svelte-13zy71l"><span class="artifact-output-label svelte-13zy71l">output:</span> <code class="artifact-output-path svelte-13zy71l"> </code></div>`),pe=e(`<code class="artifact-file svelte-13zy71l"> </code>`),me=e(`<div class="artifact-files svelte-13zy71l"></div>`),he=e(`<article class="artifact svelte-13zy71l"><header class="artifact-head svelte-13zy71l"><!> <!> <!> <code class="artifact-id svelte-13zy71l"> </code></header> <!> <!> <!> <!></article>`),ge=e(`<section class="artifacts-section svelte-13zy71l"><span class="section-label svelte-13zy71l">Agent artifacts <span class="section-meta svelte-13zy71l"> </span></span> <div class="artifact-list svelte-13zy71l"></div></section>`),_e=e(`<time class="commit-date svelte-13zy71l"> </time>`),ve=e(`<code class="commit-file svelte-13zy71l"> </code>`),ye=e(`<span class="commit-files-more svelte-13zy71l"> </span>`),be=e(`<div class="commit-files svelte-13zy71l"><!> <!></div>`),xe=e(`<li class="commit-item svelte-13zy71l"><code class="commit-sha svelte-13zy71l"> </code> <span class="commit-subject svelte-13zy71l"> </span> <!> <!></li>`),Se=e(`<section class="commits-section"><span class="section-label svelte-13zy71l">Git commits <span class="section-meta svelte-13zy71l"> </span></span> <ol class="commits-list svelte-13zy71l"></ol></section>`),Ce=e(`<span class="dep-row svelte-13zy71l"><!> <span class="dep-id svelte-13zy71l"> </span> <span class="dep-title svelte-13zy71l"> </span> <!></span>`),we=e(`<section class="side-section svelte-13zy71l"><span class="section-label svelte-13zy71l">Dependency graph</span> <!></section>`),Te=e(`<li><a class="dep svelte-13zy71l"> </a></li>`),Ee=e(`<section class="side-section svelte-13zy71l"><span class="section-label dep-label dep-blocked svelte-13zy71l">↑ Blocked by <span class="section-meta svelte-13zy71l"> </span></span> <ul class="dep-list svelte-13zy71l"></ul></section>`),De=e(`<li><a class="dep svelte-13zy71l"> </a></li>`),Oe=e(`<section class="side-section svelte-13zy71l"><span class="section-label dep-label dep-blocking svelte-13zy71l">↓ Blocking <span class="section-meta svelte-13zy71l"> </span></span> <ul class="dep-list svelte-13zy71l"></ul></section>`),ke=e(`<li><a class="subtask svelte-13zy71l"><!> <span class="subtask-id svelte-13zy71l"> </span> <span class="subtask-title svelte-13zy71l"> </span> <span class="subtask-gates svelte-13zy71l" aria-hidden="true"><span>I</span> <span>T</span> <span>Q</span></span></a></li>`),Ae=e(`<section class="side-section svelte-13zy71l"><span class="section-label svelte-13zy71l"> <span class="section-meta svelte-13zy71l"> </span></span> <div class="subtask-progress svelte-13zy71l" aria-hidden="true"><div class="subtask-progress-fill svelte-13zy71l"></div></div> <ul class="subtask-list svelte-13zy71l"></ul></section>`),je=e(`<div class="meta-row svelte-13zy71l"><dt class="svelte-13zy71l">Completed</dt> <dd class="svelte-13zy71l"> </dd></div>`),Me=e(`<div class="meta-row svelte-13zy71l"><dt class="svelte-13zy71l">Phase</dt> <dd class="svelte-13zy71l"> </dd></div>`),Ne=e(`<div class="meta-row svelte-13zy71l"><dt class="svelte-13zy71l">Labels</dt> <dd class="svelte-13zy71l"><div class="label-chips svelte-13zy71l"></div></dd></div>`),Pe=e(`<dl class="meta-list svelte-13zy71l"><div class="meta-row svelte-13zy71l"><dt class="svelte-13zy71l">Created</dt> <dd class="svelte-13zy71l"> </dd></div> <div class="meta-row svelte-13zy71l"><dt class="svelte-13zy71l">Updated</dt> <dd class="svelte-13zy71l"> </dd></div> <!> <!> <!></dl>`),Fe=e(`<div class="task-detail svelte-13zy71l"><!> <!> <div class="detail-layout svelte-13zy71l"><div class="detail-main svelte-13zy71l"><section class="gate-section svelte-13zy71l"><div class="gate-head svelte-13zy71l"><span class="section-label svelte-13zy71l">Verification gates</span> <span class="gate-counter svelte-13zy71l"> </span> <!></div> <div class="gate-strip svelte-13zy71l"></div></section> <!> <!> <!> <!> <!></div> <aside class="detail-side svelte-13zy71l"><!> <!> <!> <!> <!> <div class="sidebar-nav svelte-13zy71l"><!> <!></div></aside></div></div>`);function L(e,m){b(m,!0);let T=new Set([`pending`,`active`,`blocked`,`done`,`cancelled`,`archived`,`proposed`]),P=new Set([`low`,`medium`,`high`,`critical`]);function F(e){return T.has(e)?e:`pending`}function I(e){return P.has(e)?e:`medium`}let L=v(()=>m.data.task),R=v(()=>m.data.subtasks),z=v(()=>m.data.parent),B=v(()=>m.data.manifestEntries),V=v(()=>m.data.linkedCommits),Ie=v(()=>[{label:`Tasks`,href:`/tasks`},...a(z)?[{label:a(z).id,href:`/tasks/${a(z).id}`}]:[],{label:a(L).id}]);function H(e){if(!e)return`—`;try{return new Date(e).toLocaleString(`en-US`,{month:`short`,day:`numeric`,hour:`2-digit`,minute:`2-digit`})}catch{return e}}function U(e){if(!e)return`—`;try{return new Date(e).toLocaleDateString(`en-US`,{month:`short`,day:`numeric`,year:`numeric`})}catch{return e}}function Le(e,t){return e?e.length<=t?e:`${e.slice(0,t)}…`:``}function Re(e){return e.split(`/`).pop()??e}let W=v(()=>[{key:`I`,label:`Implemented`,passed:a(L).verification?.gates.implemented??!1},{key:`T`,label:`Tests`,passed:a(L).verification?.gates.testsPassed??!1},{key:`Q`,label:`QA`,passed:a(L).verification?.gates.qaPassed??!1},{key:`D`,label:`Documented`,passed:!1},{key:`S`,label:`Security`,passed:!1},{key:`C`,label:`Cleanup`,passed:!1}]),ze=v(()=>a(W).filter(e=>e.passed).length);function Be(e){return M(e.verification_json)}let G=v(()=>a(R).filter(e=>e.status===`done`).length),K=v(()=>a(R).length>0?Math.round(a(G)/a(R).length*100):0),Ve=v(()=>[a(L).pipeline_stage?`stage: ${a(L).pipeline_stage}`:null,a(L).size?`size: ${a(L).size}`:null,a(L).assignee?`assigned: ${a(L).assignee}`:null,`updated ${ee(a(L).updated_at)}`].filter(e=>e!==null).join(` · `));function He(e){return e===`critical`||e===`high`?`danger`:e===`medium`?`warning`:e===`low`?`neutral`:`info`}function Ue(e){return e===`complete`?`success`:e===`partial`?`warning`:e===`blocked`?`danger`:`neutral`}function We(){let e=[{id:a(L).id,title:a(L).title,status:a(L).status,priority:a(L).priority,type:a(L).type,isFocus:!0}];for(let t of a(L).upstream)e.push({id:t.id,title:t.title,status:t.status,priority:t.priority,type:`task`,isFocus:!1});for(let t of a(L).downstream)e.push({id:t.id,title:t.title,status:t.status,priority:t.priority,type:`task`,isFocus:!1});return e}function Ge(){let e=[];for(let t of a(L).upstream)e.push({source:a(L).id,target:t.id});for(let t of a(L).downstream)e.push({source:t.id,target:a(L).id});return e}var q=Fe();w(`13zy71l`,e=>{t(()=>{s.title=`${a(L).id??``} — ${a(L).title??``} — CLEO Studio`})});var Ke=o(q);O(Ke,{get items(){return a(Ie)}});var qe=d(Ke,2);{let e=e=>{var t=ne(),o=f(t);{let e=v(()=>F(a(L).status));N(o,{get status(){return a(e)}})}var s=d(o,2);{let e=v(()=>I(a(L).priority));j(s,{get priority(){return a(e)}})}var u=d(s,2),p=e=>{D(e,{tone:`neutral`,size:`sm`,children:(e,t)=>{y();var r=c();i(()=>n(r,a(L).size)),l(e,r)},$$slots:{default:!0}})};r(u,e=>{a(L).size&&e(p)}),l(e,t)},t=v(()=>a(L).type.toUpperCase());E(qe,{get eyebrow(){return a(t)},get title(){return a(L).title},get meta(){return a(Ve)},actions:e,$$slots:{actions:!0}})}var Je=d(qe,2),J=o(Je),Y=o(J),X=o(Y),Z=d(o(X),2),Ye=o(Z);x(Z);var Xe=d(Z,2),Ze=e=>{D(e,{tone:`success`,size:`sm`,children:(e,t)=>{y(),l(e,c(`ALL PASSED`))},$$slots:{default:!0}})},Qe=e=>{D(e,{tone:`warning`,size:`sm`,children:(e,t)=>{y();var r=c();i(()=>n(r,`Round ${a(L).verification.round??``}`)),l(e,r)},$$slots:{default:!0}})};r(Xe,e=>{a(L).verification?.passed?e(Ze):a(L).verification&&e(Qe,1)}),x(X);var $e=d(X,2);C($e,21,()=>a(W),u,(e,t)=>{var r=re();let s;var c=o(r),u=o(c,!0);x(c);var f=d(c,2),p=o(f,!0);x(f);var m=d(f,2),h=o(m,!0);x(m),x(r),i(()=>{s=S(r,1,`gate svelte-13zy71l`,null,s,{passed:a(t).passed}),g(r,`title`,a(t).label),n(u,a(t).key),n(p,a(t).label),n(h,a(t).passed?`✓`:`·`)}),l(e,r)}),x($e),x(Y);var et=d(Y,2),tt=e=>{var t=ie(),r=d(o(t),2),s=o(r,!0);x(r),x(t),i(()=>n(s,a(L).description)),l(e,t)};r(et,e=>{a(L).description&&e(tt)});var nt=d(et,2),rt=e=>{var t=oe(),r=o(t),s=d(o(r)),c=o(s);x(s),x(r);var f=d(r,2);C(f,21,()=>a(L).acceptance,u,(e,t)=>{let r=v(()=>a(L).verification?.passed??!1);var s=ae();let c;var u=o(s),f=o(u,!0);x(u);var p=d(u,2),m=o(p,!0);x(p),x(s),i(()=>{c=S(s,1,`ac-item svelte-13zy71l`,null,c,{passed:a(r)}),n(f,a(r)?`✓`:`○`),n(m,a(t))}),l(e,s)}),x(f),x(t),i(()=>n(c,`${a(L).acceptance.length??``} criteria`)),l(e,t)};r(nt,e=>{a(L).acceptance&&a(L).acceptance.length>0&&e(rt)});var it=d(nt,2),at=e=>{var t=ce(),r=o(t),s=d(o(r)),c=o(s);x(s),x(r);var f=d(r,2);C(f,21,()=>a(L).notes,u,(e,t,r)=>{var s=se(),c=o(s);c.textContent=`#${r+1}`;var u=d(c,2),f=o(u,!0);x(u),x(s),i(()=>n(f,a(t))),l(e,s)}),x(f),x(t),i(()=>n(c,`${a(L).notes.length??``} entries`)),l(e,t)};r(it,e=>{a(L).notes&&a(L).notes.length>0&&e(at)});var Q=d(it,2),ot=e=>{var t=ge(),s=o(t),f=d(o(s)),p=o(f,!0);x(f),x(s);var m=d(s,2);C(m,21,()=>a(B),e=>e.id,(e,t)=>{var s=he(),f=o(s),p=o(f);D(p,{tone:`accent`,size:`sm`,children:(e,r)=>{y();var o=c();i(()=>n(o,a(t).type)),l(e,o)},$$slots:{default:!0}});var m=d(p,2);{let e=v(()=>Ue(a(t).status));D(m,{get tone(){return a(e)},size:`sm`,children:(e,r)=>{y();var o=c();i(()=>n(o,a(t).status)),l(e,o)},$$slots:{default:!0}})}var h=d(m,2),_=e=>{var r=le(),s=o(r,!0);x(r),i(e=>n(s,e),[()=>U(a(t).date)]),l(e,r)};r(h,e=>{a(t).date&&e(_)});var b=d(h,2),S=o(b,!0);x(b),x(f);var w=d(f,2),T=e=>{var r=ue(),s=o(r,!0);x(r),i(()=>n(s,a(t).title)),l(e,r)};r(w,e=>{a(t).title&&e(T)});var E=d(w,2),O=e=>{var r=de(),s=o(r,!0);x(r),i(e=>n(s,e),[()=>Le(a(t).summary,300)]),l(e,r)};r(E,e=>{a(t).summary&&e(O)});var k=d(E,2),A=e=>{var r=fe(),s=d(o(r),2),c=o(s,!0);x(s),x(r),i(()=>n(c,a(t).output)),l(e,r)};r(k,e=>{a(t).output&&e(A)});var j=d(k,2),M=e=>{var r=me();C(r,21,()=>a(t).files,u,(e,t)=>{var r=pe(),s=o(r,!0);x(r),i(e=>n(s,e),[()=>Re(a(t))]),l(e,r)}),x(r),l(e,r)};r(j,e=>{a(t).files&&a(t).files.length>0&&e(M)}),x(s),i(()=>{g(s,`data-status`,a(t).status),n(S,a(t).id)}),l(e,s)}),x(m),x(t),i(()=>n(p,a(B).length)),l(e,t)};r(Q,e=>{a(B)&&a(B).length>0&&e(ot)});var st=d(Q,2),ct=e=>{var t=Se(),s=o(t),c=d(o(s)),f=o(c,!0);x(c),x(s);var p=d(s,2);C(p,21,()=>a(V),u,(e,t)=>{var s=xe(),c=o(s),f=o(c,!0);x(c);var p=d(c,2),m=o(p,!0);x(p);var h=d(p,2),g=e=>{var r=_e(),s=o(r,!0);x(r),i(e=>n(s,e),[()=>U(a(t).date)]),l(e,r)};r(h,e=>{a(t).date&&e(g)});var _=d(h,2),v=e=>{var s=be(),c=o(s);C(c,17,()=>a(t).files.slice(0,6),u,(e,t)=>{var r=ve(),s=o(r,!0);x(r),i(()=>n(s,a(t))),l(e,r)});var f=d(c,2),p=e=>{var r=ye(),s=o(r);x(r),i(()=>n(s,`+${a(t).files.length-6}`)),l(e,r)};r(f,e=>{a(t).files.length>6&&e(p)}),x(s),l(e,s)};r(_,e=>{a(t).files&&a(t).files.length>0&&e(v)}),x(s),i(()=>{n(f,a(t).sha),n(m,a(t).subject)}),l(e,s)}),x(p),x(t),i(()=>n(f,a(V).length)),l(e,t)};r(st,e=>{a(V)&&a(V).length>0&&e(ct)}),x(J);var lt=d(J,2);{let e=(e,t=_)=>{var r=Ce(),s=o(r);{let e=v(()=>F(t().status));N(s,{get status(){return a(e)},compact:!0})}var u=d(s,2),f=o(u,!0);x(u);var p=d(u,2),m=o(p,!0);x(p);var h=d(p,2);{let e=v(()=>He(t().priority));D(h,{get tone(){return a(e)},size:`sm`,subtle:!0,children:(e,r)=>{y();var a=c();i(()=>n(a,t().priority)),l(e,a)},$$slots:{default:!0}})}x(r),i(()=>{n(f,t().id),n(m,t().title)}),l(e,r)};var ut=o(lt),dt=e=>{let t=v(We),n=v(Ge);var r=we();k(d(o(r),2),{padding:`cozy`,elevation:0,children:(e,r)=>{te(e,{get nodes(){return a(t)},get edges(){return a(n)},height:`260px`})},$$slots:{default:!0}}),x(r),l(e,r)};r(ut,e=>{(a(L).upstream.length>0||a(L).downstream.length>0)&&e(dt)});var ft=d(ut,2),pt=t=>{var r=Ee(),s=o(r),c=d(o(s)),f=o(c,!0);x(c),x(s);var p=d(s,2);C(p,21,()=>a(L).upstream,u,(t,r)=>{var s=Te(),c=o(s),u=o(c,!0);x(c),x(s),i(e=>{g(c,`href`,`/tasks/${a(r).id}`),n(u,e)},[()=>e(a(r))]),l(t,s)}),x(p),x(r),i(()=>n(f,a(L).upstream.length)),l(t,r)};r(ft,e=>{a(L).upstream.length>0&&e(pt)});var mt=d(ft,2),ht=t=>{var r=Oe(),s=o(r),c=d(o(s)),f=o(c,!0);x(c),x(s);var p=d(s,2);C(p,21,()=>a(L).downstream,u,(t,r)=>{var s=De(),c=o(s),u=o(c,!0);x(c),x(s),i(e=>{g(c,`href`,`/tasks/${a(r).id}`),n(u,e)},[()=>e(a(r))]),l(t,s)}),x(p),x(r),i(()=>n(f,a(L).downstream.length)),l(t,r)};r(mt,e=>{a(L).downstream.length>0&&e(ht)});var gt=d(mt,2),_t=e=>{var t=Ae(),r=o(t),s=o(r),c=d(s),f=o(c);x(c),x(r);var m=d(r,2),h=o(m);x(m);var _=d(m,2);C(_,21,()=>a(R),u,(e,t)=>{let r=v(()=>Be(a(t)));var s=ke(),c=o(s),u=o(c);{let e=v(()=>F(a(t).status));N(u,{get status(){return a(e)},compact:!0})}var f=d(u,2),p=o(f,!0);x(f);var m=d(f,2),h=o(m,!0);x(m);var _=d(m,2),y=o(_);let b;var C=d(y,2);let w;var T=d(C,2);let E;x(_),x(c),x(s),i(()=>{g(c,`href`,`/tasks/${a(t).id}`),n(p,a(t).id),n(h,a(t).title),b=S(y,1,`g-dot svelte-13zy71l`,null,b,{"g-pass":a(r).implemented}),w=S(C,1,`g-dot svelte-13zy71l`,null,w,{"g-pass":a(r).testsPassed}),E=S(T,1,`g-dot svelte-13zy71l`,null,E,{"g-pass":a(r).qaPassed})}),l(e,s)}),x(_),x(t),i(()=>{n(s,`${a(L).type===`epic`?`Children`:`Subtasks`} `),n(f,`${a(G)??``}/${a(R).length??``} · ${a(K)??``}%`),p(h,`width: ${a(K)}%`)}),l(e,t)};r(gt,e=>{a(R).length>0&&e(_t)});var vt=d(gt,2);k(vt,{padding:`cozy`,elevation:1,children:(e,t)=>{var s=Pe(),f=o(s),p=d(o(f),2),m=o(p,!0);x(p),x(f);var h=d(f,2),g=d(o(h),2),_=o(g,!0);x(g),x(h);var v=d(h,2),b=e=>{var t=je(),r=d(o(t),2),s=o(r,!0);x(r),x(t),i(e=>n(s,e),[()=>H(a(L).completed_at)]),l(e,t)};r(v,e=>{a(L).completed_at&&e(b)});var S=d(v,2),w=e=>{var t=Me(),r=d(o(t),2),s=o(r,!0);x(r),x(t),i(()=>n(s,a(L).phase)),l(e,t)};r(S,e=>{a(L).phase&&e(w)});var T=d(S,2),E=e=>{var t=Ne(),r=d(o(t),2),s=o(r);C(s,21,()=>a(L).labels,u,(e,t)=>{D(e,{tone:`neutral`,size:`sm`,children:(e,r)=>{y();var o=c();i(()=>n(o,a(t))),l(e,o)},$$slots:{default:!0}})}),x(s),x(r),x(t),l(e,t)};r(T,e=>{a(L).labels&&a(L).labels.length>0&&e(E)}),x(s),i((e,t)=>{n(m,e),n(_,t)},[()=>H(a(L).created_at),()=>H(a(L).updated_at)]),l(e,s)},$$slots:{default:!0}});var yt=d(vt,2),$=o(yt);A($,{variant:`ghost`,size:`sm`,href:`/tasks`,block:!0,children:(e,t)=>{y(),l(e,c(`← All Tasks`))},$$slots:{default:!0}});var bt=d($,2),xt=e=>{{let t=v(()=>`/tasks?hierarchy=${a(L).id}`);A(e,{variant:`ghost`,size:`sm`,get href(){return a(t)},block:!0,children:(e,t)=>{y(),l(e,c(`View as tree`))},$$slots:{default:!0}})}};r(bt,e=>{a(L).type===`epic`&&e(xt)}),x(yt),x(lt)}x(Je),x(q),i(()=>n(Ye,`${a(ze)??``}/${a(W).length??``}`)),l(e,q),h()}export{L as component};
@@ -1,4 +1,4 @@
1
- import{$ as e,A as t,D as n,E as r,F as i,H as a,I as o,J as s,K as c,M as l,N as u,O as d,P as f,Q as p,T as m,U as h,V as g,X as _,Y as v,Z as y,_ as b,a as x,at as S,c as C,d as w,et as T,ft as E,k as D,lt as O,m as k,n as A,o as j,ot as M,q as N,r as P,u as F,ut as I,v as L,w as R,x as z}from"../chunks/DGftG5oL.js";import"../chunks/B8WnZMYa.js";import{t as B}from"../chunks/BtywxRhM.js";import{a as V,i as H,n as U,r as W,t as G}from"../chunks/DZrdToAH.js";import{n as ee}from"../chunks/CY3heNub.js";import{a as te,i as ne,r as re,s as K}from"../chunks/Cge6qiwc.js";import{n as q,t as ie}from"../chunks/DEH43YwF.js";function ae(e){let t=e.url??`/api/brain/stream`,n=e.initialReconnectMs??2e3,r=e.maxReconnectMs??3e4,i=e.callbacks,a=null,o=!1,s=n,c=null,l=`connecting`,u=e=>{l!==e&&(l=e,i.onStatus?.(e))},d=()=>{o||c===null&&(c=setTimeout(()=>{c=null,!o&&(s=Math.min(s*2,r),p())},s))},f=e=>{let t;try{t=JSON.parse(e)}catch(e){i.onError?.(e instanceof Error?e:Error(`Malformed SSE payload`));return}switch(t.type){case`hello`:u(`connected`),i.onConnect?.();return;case`heartbeat`:i.onHeartbeat?.(t);return;case`node.create`:i.onNodeCreate?.(t);return;case`edge.strengthen`:i.onEdgeStrengthen?.(t);return;case`task.status`:i.onTaskStatus?.(t);return;case`message.send`:i.onMessageSend?.(t);return}},p=()=>{if(o)return;if(typeof EventSource>`u`){i.onError?.(Error(`EventSource is not available in this environment`));return}u(`connecting`);let e=new EventSource(t);a=e,e.onopen=()=>{if(o){e.close();return}s=n,u(`connected`)},e.onmessage=e=>{o||f(e.data)},e.onerror=()=>{e.close(),a=null,!o&&(u(`error`),d())}};return p(),{dispose:()=>{o||(o=!0,c!==null&&(clearTimeout(c),c=null),a?.close(),a=null,u(`disconnected`))},status:()=>l}}function oe(e){let t=e>>>0;return t===0&&(t=2654435761),()=>(t^=t<<13,t^=t>>>17,t^=t<<5,t>>>=0,t/4294967295)}var se={brain:[`observation`,`decision`,`pattern`,`learning`],nexus:[`symbol`,`file`,`community`],tasks:[`task`,`session`],conduit:[`message`],"agent-registry":[`agent`]},ce={brain:[`supersedes`,`contradicts`,`derived_from`,`cites`,`references`,`documents`],nexus:[`calls`,`extends`,`implements`,`imports`,`accesses`,`defines`,`contains`,`has_method`,`has_property`],tasks:[`blocks`,`depends`,`parent`],conduit:[`messages`,`fires`],"agent-registry":[`messages`,`co_fires`]},J=[`references`,`relates_to`,`documents`,`informed_by`,`produced_by`];function le(e=400,t=600,n=3252719635){let r=oe(n),i=[],a=[],o={brain:Math.round(e*.3),nexus:Math.round(e*.35),tasks:Math.round(e*.15),conduit:Math.round(e*.12),"agent-registry":0},s=o.brain+o.nexus+o.tasks+o.conduit;o[`agent-registry`]=Math.max(0,e-s);for(let e of q){let t=o[e],s=se[e],c=ue(e,Math.min(5,Math.max(1,Math.floor(t/30)))),l=Object.fromEntries(c.map(e=>[e.id,[]]));for(let a=0;a<t;a++){let t=s[Math.floor(r()*s.length)],o=Math.floor(r()*c.length),u=c[o]?.id,d=`${e}:${t}-${a.toString(36)}-${n.toString(36).slice(-3)}`,f=Z(r()*.85+.1,3),p=Z(r(),3),m=a<c.length||r()>.95,h=de(e,t,a);i.push({id:d,substrate:e,kind:t,label:h,category:u,weight:m?Math.max(.82,f):f,freshness:p,meta:{isHub:m,clusterLabel:c[o]?.label??null}}),u&&l[u]?.push(d)}for(let t of c)a.push({id:t.id,label:t.label,substrate:e,memberIds:l[t.id]??[]})}let c=[],l=new Set,u=fe(i),d=0,f=t*4;for(;c.length<t&&d<f;){d++;let e=i[Math.floor(r()*i.length)],t=r()<.25,n,a;if(t){let t=e.substrate;for(;t===e.substrate;)t=q[Math.floor(r()*q.length)];let i=u[t];if(!i||i.length===0)continue;n=i[Math.floor(r()*i.length)],a=J[Math.floor(r()*J.length)]}else if(n=i[Math.floor(r()*i.length)],n.substrate!==e.substrate)a=J[Math.floor(r()*J.length)];else{let t=ce[e.substrate];a=t[Math.floor(r()*t.length)]}if(n.id===e.id)continue;let o=`${e.id}>${n.id}:${a}`;l.has(o)||(l.add(o),c.push({id:`e${c.length.toString(36)}`,source:e.id,target:n.id,kind:a,weight:Z(r()*.7+.15,3),directional:!0,meta:{crossSubstrate:t}}))}return{nodes:i,edges:c,clusters:a}}function ue(e,t){let n={brain:[`Cortex`,`Hippocampus`,`Reflexes`,`Lineage`,`Atlas`],nexus:[`Core`,`Dispatch`,`Memory Bridge`,`Session Runtime`,`Brain Adapter`],tasks:[`Epic`,`Backlog`,`In Flight`,`Release`],conduit:[`Agent Chatter`,`System Events`,`Broadcast`],"agent-registry":[`Orchestrators`,`Leads`,`Workers`]}[e];return Array.from({length:t},(t,r)=>({id:`${e}:cluster:${n[r%n.length]}:${r}`,label:`${n[r%n.length]}`}))}function de(e,t,n){let r=n.toString(36);switch(e){case`brain`:return t===`decision`?`D-${r}: canonicalise ${Y([`envelope`,`registry`,`cluster`],n)}`:t===`pattern`?`P-${r}: ${Y([`rate-limit`,`cache-warm`,`retry-backoff`],n)}`:t===`learning`?`L-${r}: ${Y([`ssoT drift`,`flake source`,`slow path`],n)}`:`O-${r}: ${Y([`observed`,`resolved`,`noted`],n)} ${Y([`fix`,`regression`,`pattern`],n)}`;case`nexus`:return t===`file`?`src/${Y([`dispatch`,`engines`,`adapters`,`stores`],n)}/${Y([`index`,`bridge`,`harness`,`runtime`],n)}.ts`:t===`community`?`cluster-${r}`:`${Y([`register`,`resolve`,`build`,`spawn`,`emit`],n)}${X(Y([`Provider`,`Engine`,`Adapter`,`Bridge`,`Session`],n))}`;case`tasks`:return t===`session`?`ses_${r}`:`T${(n+100).toString(10)}: ${Y([`wire`,`ship`,`audit`,`repair`],n)} ${Y([`brain`,`nexus`,`harness`,`payload`],n)}`;case`conduit`:return`msg_${r} → ${Y([`orchestrator`,`worker-a`,`worker-b`],n)}`;case`agent-registry`:return`${Y([`orc`,`lead`,`wk`],n)}-${r}`}}function Y(e,t){return e[t%e.length]}function X(e){return e.length===0?e:e[0].toUpperCase()+e.slice(1)}function Z(e,t){let n=10**t;return Math.round(e*n)/n}function fe(e){let t={brain:[],nexus:[],tasks:[],conduit:[],"agent-registry":[]};for(let n of e)t[n.substrate].push(n);return t}var pe=t(`<span class="lbc-fallback-reason svelte-1fx55sa"> </span>`),me=t(`<div class="lbc-fallback svelte-1fx55sa"><span class="lbc-fallback-icon svelte-1fx55sa">!</span> <span class="lbc-fallback-msg">GPU renderer unavailable — using 3D <!></span></div>`),he=t(`<div class="lbc-empty svelte-1fx55sa">No data to display</div>`),ge=t(`<div class="lbc-canvas svelte-1fx55sa"></div> <!> <div class="lbc-badge svelte-1fx55sa" aria-label="GPU-accelerated renderer active">GPU</div>`,1),_e=t(`<div class="lbc-wrap svelte-1fx55sa"><!></div>`);function ve(t,i){M(i,!0);let c=x(i,`height`,3,`100%`),l=x(i,`pulsingNodes`,19,()=>new Set),u={brain:`var(--info)`,nexus:`var(--success)`,tasks:`var(--warning)`,conduit:`var(--accent)`,"agent-registry":`var(--danger)`};function f(e,t=.9){if(typeof document>`u`||typeof window>`u`)return[.5,.5,.5,t];let n=document.createElement(`span`);n.style.color=e,n.style.position=`absolute`,n.style.visibility=`hidden`,document.body.appendChild(n);let r=window.getComputedStyle(n).color;document.body.removeChild(n);let i=/rgba?\(([^)]+)\)/i.exec(r);if(!i)return[1,1,1,t];let a=i[1].split(/[,\s/]+/).filter(e=>e.length>0);return[Number.parseFloat(a[0])/255,Number.parseFloat(a[1])/255,Number.parseFloat(a[2])/255,t]}let m=new Map;function g(e){return 4+(e.weight??.3)*14}let y=e(null),C=null,w=e(!1),T=e(``),E=!1,D=!1,k=null,N=[],F=[],L=-1,R=-1;function z(){let e=new Map,t=[],n=[];i.nodes.forEach((r,i)=>{e.set(r.id,i),t.push(r.id),n.push(r)});let r=4096,a=r/2,o=r*.01,s=new Float32Array(i.nodes.length*2);for(let e=0;e<i.nodes.length;e++)s[e*2]=a+(Math.random()-.5)*o,s[e*2+1]=a+(Math.random()-.5)*o;let c=new Float32Array(i.nodes.length*4);for(let e=0;e<i.nodes.length;e++){let t=m.get(i.nodes[e].substrate)??[.5,.5,.5,.9];c[e*4]=t[0],c[e*4+1]=t[1],c[e*4+2]=t[2],c[e*4+3]=t[3]}let l=new Float32Array(i.nodes.length);for(let e=0;e<i.nodes.length;e++)l[e]=g(i.nodes[e]);let u=[],d=new Set;for(let t of i.edges){if(t.source===t.target||!e.has(t.source)||!e.has(t.target))continue;let n=`${t.source}|${t.target}`;d.has(n)||(d.add(n),u.push(t))}let f=new Float32Array(u.length*2),p=new Float32Array(u.length*4),h=new Float32Array(u.length);for(let t=0;t<u.length;t++){let n=u[t],r=e.get(n.source)??0,i=e.get(n.target)??0;f[t*2]=r,f[t*2+1]=i;let a=K(n.kind);p[t*4]=a[0],p[t*4+1]=a[1],p[t*4+2]=a[2],p[t*4+3]=.7,h[t]=.5+(n.weight??.5)*2.5}return{positions:s,colors:c,sizes:l,links:f,linkColors:p,linkWidths:h,idToIndex:e,idxToId:t,idxToNode:n}}function B(e){if(!C||l().size===0)return;let t=f(`var(--text)`,1),n=new Float32Array(i.nodes.length*4);for(let e=0;e<i.nodes.length;e++){let r=l().has(i.nodes[e].id),a=r?t:m.get(i.nodes[e].substrate)??[.5,.5,.5,.9];n[e*4]=a[0],n[e*4+1]=a[1],n[e*4+2]=a[2],n[e*4+3]=r?1:a[3]}C.setPointColors(n);let r=[...l()][0];if(r!==void 0){let t=e.get(r);t!==void 0&&C.zoomToPointByIndex(t,500,2,!1)}setTimeout(()=>{if(!C)return;let e=new Float32Array(i.nodes.length*4);for(let t=0;t<i.nodes.length;t++){let n=m.get(i.nodes[t].substrate)??[.5,.5,.5,.9];e[t*4]=n[0],e[t*4+1]=n[1],e[t*4+2]=n[2],e[t*4+3]=n[3]}C.setPointColors(e)},1500)}function V(){try{let e=document.createElement(`canvas`);return(e.getContext(`webgl2`)??e.getContext(`webgl`))!==null}catch{return!1}}function H(){if(!(!E||!o(y))){if(C&&=(C.destroy(),null),!V()){p(w,!0),p(T,`WebGL not available in this browser`),i.onInitFailed?.(`WebGL not available in this browser`);return}m.clear();for(let e of q)m.set(e,f(u[e],.9));try{let{positions:e,colors:t,sizes:n,links:r,linkColors:a,linkWidths:s,idToIndex:c,idxToId:u,idxToNode:d}=z();N=u,F=d;let f=U(`--bg`,`black`),m=U(`--text-dim`,`gray`),h=U(`--border-strong`,`gray`),g={backgroundColor:f,spaceSize:4096,pointColor:m,pointSize:4,renderHoveredPointRing:!0,hoveredPointRingColor:U(`--text`,`white`),hoveredPointCursor:`pointer`,linkColor:h,linkWidth:.1,linkGreyoutOpacity:0,renderLinks:!0,curvedLinks:!0,simulationLinkDistance:1,simulationLinkSpring:2,simulationRepulsion:.2,simulationGravity:.1,simulationDecay:1e5,onClick:e=>{if(e===void 0){i.onCanvasClear?.();return}let t=F[e];t!==void 0&&i.onNodeSelect?.(t)}};if(C=new ee(o(y),g),C.setPointPositions(e),C.setPointColors(t),C.setPointSizes(n),C.setLinks(r),C.setLinkColors(a),C.setLinkWidths(s),C.zoom(.9),C.render(),D=!0,l().size>0){let e=new Map;for(let t=0;t<u.length;t++){let n=u[t];n!==void 0&&e.set(n,t)}B(e)}setTimeout(()=>{C&&C.fitView(800,.18)},3e3),p(w,!1),p(T,``)}catch(e){C=null,D=!1,p(w,!0);let t=e instanceof Error?e.message:`cosmos.gl renderer failed to initialise`;p(T,t,!0),i.onInitFailed?.(t)}}}function U(e,t){return typeof document>`u`||typeof window>`u`?t:window.getComputedStyle(document.documentElement).getPropertyValue(e).trim()||t}function W(){if(!o(y))return;let e=o(y);if(e.clientWidth>0&&e.clientHeight>0){H();return}k?.disconnect(),k=new ResizeObserver(e=>{for(let t of e){let{width:e,height:n}=t.contentRect;if(e>0&&n>0){k?.disconnect(),k=null,H();return}}}),k.observe(e)}P(()=>{E=!0,requestAnimationFrame(()=>{requestAnimationFrame(()=>{E&&W()})})}),A(()=>{E=!1,D=!1,k?.disconnect(),k=null,C?.destroy(),C=null}),h(()=>{let e=i.nodes.length,t=i.edges.length;D&&(e===L&&t===R||(L=e,R=t,H()))}),h(()=>{if(l().size===0||!D)return;let e=new Map;for(let t=0;t<N.length;t++){let n=N[t];n!==void 0&&e.set(n,t)}B(e)});var G=_e(),te=s(G),ne=e=>{var t=me(),i=_(s(t),2),c=_(s(i)),l=e=>{var t=pe(),r=s(t);I(t),a(()=>n(r,`(${o(T)??``})`)),d(e,t)};r(c,e=>{o(T)&&e(l)}),I(i),I(t),d(e,t)},re=e=>{var t=ge(),n=v(t);j(n,e=>p(y,e),()=>o(y));var a=_(n,2),s=e=>{d(e,he())};r(a,e=>{i.nodes.length===0&&e(s)}),O(2),d(e,t)};r(te,e=>{o(w)?e(ne):e(re,-1)}),I(G),a(()=>b(G,`height: ${c()??``}; position: relative;`)),d(t,G),S()}var Q=t(`<button type="button"><span aria-hidden="true"></span> <span class="edge-name svelte-xiv1be"> </span></button>`),ye=t(`<footer class="controls-dock svelte-xiv1be" aria-label="Canvas controls"><div class="dock-section controls-toggles svelte-xiv1be"><span class="dock-eyebrow svelte-xiv1be">Canvas</span> <div class="toggle-group svelte-xiv1be" role="group" aria-label="Canvas visibility toggles"><button type="button" title="Toggle synapse edge lines (s)"><span aria-hidden="true"></span> synapses <kbd class="shortcut-hint svelte-xiv1be" aria-hidden="true">s</kbd></button> <button type="button" title="Show only cross-substrate bridge edges (b)"><span aria-hidden="true"></span> bridges only <kbd class="shortcut-hint svelte-xiv1be" aria-hidden="true">b</kbd></button> <button type="button" title="Pause ambient simulation breathing"><span aria-hidden="true"></span> </button></div></div> <div class="dock-divider svelte-xiv1be" aria-hidden="true"></div> <div class="dock-section edge-section svelte-xiv1be"><span class="dock-eyebrow svelte-xiv1be">Edge taxonomy — toggle to filter</span> <div class="edge-grid svelte-xiv1be"></div></div> <div class="dock-actions svelte-xiv1be"><button type="button" class="reset-btn svelte-xiv1be" title="Fit camera to graph (f)" aria-label="Reset camera view to fit the graph">fit view <kbd class="shortcut-hint svelte-xiv1be" aria-hidden="true">f</kbd></button></div></footer>`);function be(e,t){M(t,!0);var r=ye(),i=s(r),c=_(s(i),2),l=s(c);let u;var p=s(l);let m;O(2),I(l);var h=_(l,2);let g;var v=s(h);let y;O(2),I(h);var x=_(h,2);let C;var E=s(x);let D;var k=_(E);I(x),I(c),I(i);var A=_(i,4),j=_(s(A),2);R(j,20,()=>re,e=>e,(e,r)=>{let i=T(()=>ne[r]);var c=Q();let l;var u=s(c);let p;var m=_(u,2),h=s(m,!0);I(m),I(c),a((e,t,a,s)=>{l=L(c,1,`edge-kind svelte-xiv1be`,null,l,e),w(c,`aria-pressed`,t),w(c,`title`,a),p=L(u,1,`edge-swatch svelte-xiv1be`,null,p,s),b(u,`--swatch-color: ${o(i).color??``};`),n(h,r)},[()=>({active:t.enabledKinds.has(r)}),()=>t.enabledKinds.has(r),()=>te(r),()=>({dashed:!!o(i).dash})]),f(`click`,c,()=>t.onToggleKind?.(r)),d(e,c)}),I(j),I(A);var N=_(A,2),P=s(N);I(N),I(r),a(()=>{u=L(l,1,`dock-toggle svelte-xiv1be`,null,u,{active:t.showSynapses}),w(l,`aria-pressed`,t.showSynapses),m=L(p,1,`toggle-dot svelte-xiv1be`,null,m,{on:t.showSynapses}),g=L(h,1,`dock-toggle svelte-xiv1be`,null,g,{active:t.showBridgesOnly}),w(h,`aria-pressed`,t.showBridgesOnly),y=L(v,1,`toggle-dot svelte-xiv1be`,null,y,{on:t.showBridgesOnly}),C=L(x,1,`dock-toggle svelte-xiv1be`,null,C,{active:t.breathingPaused}),w(x,`aria-pressed`,t.breathingPaused),D=L(E,1,`toggle-dot svelte-xiv1be`,null,D,{on:t.breathingPaused}),n(k,` ${t.breathingPaused?`paused`:`breathing`}`)}),f(`click`,l,function(...e){t.onToggleSynapses?.apply(this,e)}),f(`click`,h,function(...e){t.onToggleBridgesOnly?.apply(this,e)}),f(`click`,x,function(...e){t.onToggleBreathing?.apply(this,e)}),f(`click`,P,function(...e){t.onResetView?.apply(this,e)}),d(e,r),S()}u([`click`]);var xe=t(`<div class="ghost-cluster svelte-trzjgq"><div class="ghost-label svelte-trzjgq"><span class="ghost-substrate svelte-trzjgq"> </span> <span class="ghost-dash svelte-trzjgq">·</span> <span class="ghost-count svelte-trzjgq">—</span> <span class="ghost-dash svelte-trzjgq">·</span> <span class="ghost-count svelte-trzjgq">—</span></div> <div class="shimmer-overlay svelte-trzjgq"></div></div>`),Se=t(`<div class="ghost-dot svelte-trzjgq"></div>`),Ce=t(`<div class="skeleton-canvas svelte-trzjgq" aria-hidden="true" data-brain-skeleton=""><div class="ambient-glow svelte-trzjgq"></div> <!> <div class="ghost-dots svelte-trzjgq" aria-hidden="true"></div> <div class="scan-line svelte-trzjgq"></div></div>`);function we(e,t){let i=x(t,`visible`,3,!0),c=x(t,`height`,3,`100%`),l=[{id:`brain`,label:`BRAIN`,cssVar:`var(--info)`,top:`18%`,left:`22%`,width:`22%`,height:`14%`},{id:`nexus`,label:`NEXUS`,cssVar:`var(--success)`,top:`42%`,left:`52%`,width:`26%`,height:`16%`},{id:`tasks`,label:`TASKS`,cssVar:`var(--warning)`,top:`62%`,left:`20%`,width:`20%`,height:`12%`},{id:`conduit`,label:`CONDUIT`,cssVar:`var(--accent)`,top:`28%`,left:`58%`,width:`16%`,height:`10%`},{id:`agent-registry`,label:`SIGNALDOCK`,cssVar:`var(--danger)`,top:`70%`,left:`55%`,width:`18%`,height:`10%`}];var u=D(),f=v(u),p=e=>{var t=Ce(),r=_(s(t),2);R(r,17,()=>l,e=>e.id,(e,t)=>{var r=xe(),i=s(r),c=s(i),l=s(c,!0);I(c),O(8),I(i),O(2),I(r),a(()=>{b(r,`
1
+ import{$ as e,A as t,D as n,E as r,F as i,H as a,I as o,J as s,K as c,M as l,N as u,O as d,P as f,Q as p,T as m,U as h,V as g,X as _,Y as v,Z as y,_ as b,a as x,at as S,c as C,d as w,et as T,ft as E,k as D,lt as O,m as k,n as A,o as j,ot as M,q as N,r as P,u as F,ut as I,v as L,w as R,x as z}from"../chunks/DGftG5oL.js";import"../chunks/B8WnZMYa.js";import{t as B}from"../chunks/DPdtI3wM.js";import{a as V,i as H,n as U,r as W,t as G}from"../chunks/DZrdToAH.js";import{n as ee}from"../chunks/CY3heNub.js";import{a as te,i as ne,r as re,s as K}from"../chunks/Cge6qiwc.js";import{n as q,t as ie}from"../chunks/DEH43YwF.js";function ae(e){let t=e.url??`/api/brain/stream`,n=e.initialReconnectMs??2e3,r=e.maxReconnectMs??3e4,i=e.callbacks,a=null,o=!1,s=n,c=null,l=`connecting`,u=e=>{l!==e&&(l=e,i.onStatus?.(e))},d=()=>{o||c===null&&(c=setTimeout(()=>{c=null,!o&&(s=Math.min(s*2,r),p())},s))},f=e=>{let t;try{t=JSON.parse(e)}catch(e){i.onError?.(e instanceof Error?e:Error(`Malformed SSE payload`));return}switch(t.type){case`hello`:u(`connected`),i.onConnect?.();return;case`heartbeat`:i.onHeartbeat?.(t);return;case`node.create`:i.onNodeCreate?.(t);return;case`edge.strengthen`:i.onEdgeStrengthen?.(t);return;case`task.status`:i.onTaskStatus?.(t);return;case`message.send`:i.onMessageSend?.(t);return}},p=()=>{if(o)return;if(typeof EventSource>`u`){i.onError?.(Error(`EventSource is not available in this environment`));return}u(`connecting`);let e=new EventSource(t);a=e,e.onopen=()=>{if(o){e.close();return}s=n,u(`connected`)},e.onmessage=e=>{o||f(e.data)},e.onerror=()=>{e.close(),a=null,!o&&(u(`error`),d())}};return p(),{dispose:()=>{o||(o=!0,c!==null&&(clearTimeout(c),c=null),a?.close(),a=null,u(`disconnected`))},status:()=>l}}function oe(e){let t=e>>>0;return t===0&&(t=2654435761),()=>(t^=t<<13,t^=t>>>17,t^=t<<5,t>>>=0,t/4294967295)}var se={brain:[`observation`,`decision`,`pattern`,`learning`],nexus:[`symbol`,`file`,`community`],tasks:[`task`,`session`],conduit:[`message`],"agent-registry":[`agent`]},ce={brain:[`supersedes`,`contradicts`,`derived_from`,`cites`,`references`,`documents`],nexus:[`calls`,`extends`,`implements`,`imports`,`accesses`,`defines`,`contains`,`has_method`,`has_property`],tasks:[`blocks`,`depends`,`parent`],conduit:[`messages`,`fires`],"agent-registry":[`messages`,`co_fires`]},J=[`references`,`relates_to`,`documents`,`informed_by`,`produced_by`];function le(e=400,t=600,n=3252719635){let r=oe(n),i=[],a=[],o={brain:Math.round(e*.3),nexus:Math.round(e*.35),tasks:Math.round(e*.15),conduit:Math.round(e*.12),"agent-registry":0},s=o.brain+o.nexus+o.tasks+o.conduit;o[`agent-registry`]=Math.max(0,e-s);for(let e of q){let t=o[e],s=se[e],c=ue(e,Math.min(5,Math.max(1,Math.floor(t/30)))),l=Object.fromEntries(c.map(e=>[e.id,[]]));for(let a=0;a<t;a++){let t=s[Math.floor(r()*s.length)],o=Math.floor(r()*c.length),u=c[o]?.id,d=`${e}:${t}-${a.toString(36)}-${n.toString(36).slice(-3)}`,f=Z(r()*.85+.1,3),p=Z(r(),3),m=a<c.length||r()>.95,h=de(e,t,a);i.push({id:d,substrate:e,kind:t,label:h,category:u,weight:m?Math.max(.82,f):f,freshness:p,meta:{isHub:m,clusterLabel:c[o]?.label??null}}),u&&l[u]?.push(d)}for(let t of c)a.push({id:t.id,label:t.label,substrate:e,memberIds:l[t.id]??[]})}let c=[],l=new Set,u=fe(i),d=0,f=t*4;for(;c.length<t&&d<f;){d++;let e=i[Math.floor(r()*i.length)],t=r()<.25,n,a;if(t){let t=e.substrate;for(;t===e.substrate;)t=q[Math.floor(r()*q.length)];let i=u[t];if(!i||i.length===0)continue;n=i[Math.floor(r()*i.length)],a=J[Math.floor(r()*J.length)]}else if(n=i[Math.floor(r()*i.length)],n.substrate!==e.substrate)a=J[Math.floor(r()*J.length)];else{let t=ce[e.substrate];a=t[Math.floor(r()*t.length)]}if(n.id===e.id)continue;let o=`${e.id}>${n.id}:${a}`;l.has(o)||(l.add(o),c.push({id:`e${c.length.toString(36)}`,source:e.id,target:n.id,kind:a,weight:Z(r()*.7+.15,3),directional:!0,meta:{crossSubstrate:t}}))}return{nodes:i,edges:c,clusters:a}}function ue(e,t){let n={brain:[`Cortex`,`Hippocampus`,`Reflexes`,`Lineage`,`Atlas`],nexus:[`Core`,`Dispatch`,`Memory Bridge`,`Session Runtime`,`Brain Adapter`],tasks:[`Epic`,`Backlog`,`In Flight`,`Release`],conduit:[`Agent Chatter`,`System Events`,`Broadcast`],"agent-registry":[`Orchestrators`,`Leads`,`Workers`]}[e];return Array.from({length:t},(t,r)=>({id:`${e}:cluster:${n[r%n.length]}:${r}`,label:`${n[r%n.length]}`}))}function de(e,t,n){let r=n.toString(36);switch(e){case`brain`:return t===`decision`?`D-${r}: canonicalise ${Y([`envelope`,`registry`,`cluster`],n)}`:t===`pattern`?`P-${r}: ${Y([`rate-limit`,`cache-warm`,`retry-backoff`],n)}`:t===`learning`?`L-${r}: ${Y([`ssoT drift`,`flake source`,`slow path`],n)}`:`O-${r}: ${Y([`observed`,`resolved`,`noted`],n)} ${Y([`fix`,`regression`,`pattern`],n)}`;case`nexus`:return t===`file`?`src/${Y([`dispatch`,`engines`,`adapters`,`stores`],n)}/${Y([`index`,`bridge`,`harness`,`runtime`],n)}.ts`:t===`community`?`cluster-${r}`:`${Y([`register`,`resolve`,`build`,`spawn`,`emit`],n)}${X(Y([`Provider`,`Engine`,`Adapter`,`Bridge`,`Session`],n))}`;case`tasks`:return t===`session`?`ses_${r}`:`T${(n+100).toString(10)}: ${Y([`wire`,`ship`,`audit`,`repair`],n)} ${Y([`brain`,`nexus`,`harness`,`payload`],n)}`;case`conduit`:return`msg_${r} → ${Y([`orchestrator`,`worker-a`,`worker-b`],n)}`;case`agent-registry`:return`${Y([`orc`,`lead`,`wk`],n)}-${r}`}}function Y(e,t){return e[t%e.length]}function X(e){return e.length===0?e:e[0].toUpperCase()+e.slice(1)}function Z(e,t){let n=10**t;return Math.round(e*n)/n}function fe(e){let t={brain:[],nexus:[],tasks:[],conduit:[],"agent-registry":[]};for(let n of e)t[n.substrate].push(n);return t}var pe=t(`<span class="lbc-fallback-reason svelte-1fx55sa"> </span>`),me=t(`<div class="lbc-fallback svelte-1fx55sa"><span class="lbc-fallback-icon svelte-1fx55sa">!</span> <span class="lbc-fallback-msg">GPU renderer unavailable — using 3D <!></span></div>`),he=t(`<div class="lbc-empty svelte-1fx55sa">No data to display</div>`),ge=t(`<div class="lbc-canvas svelte-1fx55sa"></div> <!> <div class="lbc-badge svelte-1fx55sa" aria-label="GPU-accelerated renderer active">GPU</div>`,1),_e=t(`<div class="lbc-wrap svelte-1fx55sa"><!></div>`);function ve(t,i){M(i,!0);let c=x(i,`height`,3,`100%`),l=x(i,`pulsingNodes`,19,()=>new Set),u={brain:`var(--info)`,nexus:`var(--success)`,tasks:`var(--warning)`,conduit:`var(--accent)`,"agent-registry":`var(--danger)`};function f(e,t=.9){if(typeof document>`u`||typeof window>`u`)return[.5,.5,.5,t];let n=document.createElement(`span`);n.style.color=e,n.style.position=`absolute`,n.style.visibility=`hidden`,document.body.appendChild(n);let r=window.getComputedStyle(n).color;document.body.removeChild(n);let i=/rgba?\(([^)]+)\)/i.exec(r);if(!i)return[1,1,1,t];let a=i[1].split(/[,\s/]+/).filter(e=>e.length>0);return[Number.parseFloat(a[0])/255,Number.parseFloat(a[1])/255,Number.parseFloat(a[2])/255,t]}let m=new Map;function g(e){return 4+(e.weight??.3)*14}let y=e(null),C=null,w=e(!1),T=e(``),E=!1,D=!1,k=null,N=[],F=[],L=-1,R=-1;function z(){let e=new Map,t=[],n=[];i.nodes.forEach((r,i)=>{e.set(r.id,i),t.push(r.id),n.push(r)});let r=4096,a=r/2,o=r*.01,s=new Float32Array(i.nodes.length*2);for(let e=0;e<i.nodes.length;e++)s[e*2]=a+(Math.random()-.5)*o,s[e*2+1]=a+(Math.random()-.5)*o;let c=new Float32Array(i.nodes.length*4);for(let e=0;e<i.nodes.length;e++){let t=m.get(i.nodes[e].substrate)??[.5,.5,.5,.9];c[e*4]=t[0],c[e*4+1]=t[1],c[e*4+2]=t[2],c[e*4+3]=t[3]}let l=new Float32Array(i.nodes.length);for(let e=0;e<i.nodes.length;e++)l[e]=g(i.nodes[e]);let u=[],d=new Set;for(let t of i.edges){if(t.source===t.target||!e.has(t.source)||!e.has(t.target))continue;let n=`${t.source}|${t.target}`;d.has(n)||(d.add(n),u.push(t))}let f=new Float32Array(u.length*2),p=new Float32Array(u.length*4),h=new Float32Array(u.length);for(let t=0;t<u.length;t++){let n=u[t],r=e.get(n.source)??0,i=e.get(n.target)??0;f[t*2]=r,f[t*2+1]=i;let a=K(n.kind);p[t*4]=a[0],p[t*4+1]=a[1],p[t*4+2]=a[2],p[t*4+3]=.7,h[t]=.5+(n.weight??.5)*2.5}return{positions:s,colors:c,sizes:l,links:f,linkColors:p,linkWidths:h,idToIndex:e,idxToId:t,idxToNode:n}}function B(e){if(!C||l().size===0)return;let t=f(`var(--text)`,1),n=new Float32Array(i.nodes.length*4);for(let e=0;e<i.nodes.length;e++){let r=l().has(i.nodes[e].id),a=r?t:m.get(i.nodes[e].substrate)??[.5,.5,.5,.9];n[e*4]=a[0],n[e*4+1]=a[1],n[e*4+2]=a[2],n[e*4+3]=r?1:a[3]}C.setPointColors(n);let r=[...l()][0];if(r!==void 0){let t=e.get(r);t!==void 0&&C.zoomToPointByIndex(t,500,2,!1)}setTimeout(()=>{if(!C)return;let e=new Float32Array(i.nodes.length*4);for(let t=0;t<i.nodes.length;t++){let n=m.get(i.nodes[t].substrate)??[.5,.5,.5,.9];e[t*4]=n[0],e[t*4+1]=n[1],e[t*4+2]=n[2],e[t*4+3]=n[3]}C.setPointColors(e)},1500)}function V(){try{let e=document.createElement(`canvas`);return(e.getContext(`webgl2`)??e.getContext(`webgl`))!==null}catch{return!1}}function H(){if(!(!E||!o(y))){if(C&&=(C.destroy(),null),!V()){p(w,!0),p(T,`WebGL not available in this browser`),i.onInitFailed?.(`WebGL not available in this browser`);return}m.clear();for(let e of q)m.set(e,f(u[e],.9));try{let{positions:e,colors:t,sizes:n,links:r,linkColors:a,linkWidths:s,idToIndex:c,idxToId:u,idxToNode:d}=z();N=u,F=d;let f=U(`--bg`,`black`),m=U(`--text-dim`,`gray`),h=U(`--border-strong`,`gray`),g={backgroundColor:f,spaceSize:4096,pointColor:m,pointSize:4,renderHoveredPointRing:!0,hoveredPointRingColor:U(`--text`,`white`),hoveredPointCursor:`pointer`,linkColor:h,linkWidth:.1,linkGreyoutOpacity:0,renderLinks:!0,curvedLinks:!0,simulationLinkDistance:1,simulationLinkSpring:2,simulationRepulsion:.2,simulationGravity:.1,simulationDecay:1e5,onClick:e=>{if(e===void 0){i.onCanvasClear?.();return}let t=F[e];t!==void 0&&i.onNodeSelect?.(t)}};if(C=new ee(o(y),g),C.setPointPositions(e),C.setPointColors(t),C.setPointSizes(n),C.setLinks(r),C.setLinkColors(a),C.setLinkWidths(s),C.zoom(.9),C.render(),D=!0,l().size>0){let e=new Map;for(let t=0;t<u.length;t++){let n=u[t];n!==void 0&&e.set(n,t)}B(e)}setTimeout(()=>{C&&C.fitView(800,.18)},3e3),p(w,!1),p(T,``)}catch(e){C=null,D=!1,p(w,!0);let t=e instanceof Error?e.message:`cosmos.gl renderer failed to initialise`;p(T,t,!0),i.onInitFailed?.(t)}}}function U(e,t){return typeof document>`u`||typeof window>`u`?t:window.getComputedStyle(document.documentElement).getPropertyValue(e).trim()||t}function W(){if(!o(y))return;let e=o(y);if(e.clientWidth>0&&e.clientHeight>0){H();return}k?.disconnect(),k=new ResizeObserver(e=>{for(let t of e){let{width:e,height:n}=t.contentRect;if(e>0&&n>0){k?.disconnect(),k=null,H();return}}}),k.observe(e)}P(()=>{E=!0,requestAnimationFrame(()=>{requestAnimationFrame(()=>{E&&W()})})}),A(()=>{E=!1,D=!1,k?.disconnect(),k=null,C?.destroy(),C=null}),h(()=>{let e=i.nodes.length,t=i.edges.length;D&&(e===L&&t===R||(L=e,R=t,H()))}),h(()=>{if(l().size===0||!D)return;let e=new Map;for(let t=0;t<N.length;t++){let n=N[t];n!==void 0&&e.set(n,t)}B(e)});var G=_e(),te=s(G),ne=e=>{var t=me(),i=_(s(t),2),c=_(s(i)),l=e=>{var t=pe(),r=s(t);I(t),a(()=>n(r,`(${o(T)??``})`)),d(e,t)};r(c,e=>{o(T)&&e(l)}),I(i),I(t),d(e,t)},re=e=>{var t=ge(),n=v(t);j(n,e=>p(y,e),()=>o(y));var a=_(n,2),s=e=>{d(e,he())};r(a,e=>{i.nodes.length===0&&e(s)}),O(2),d(e,t)};r(te,e=>{o(w)?e(ne):e(re,-1)}),I(G),a(()=>b(G,`height: ${c()??``}; position: relative;`)),d(t,G),S()}var Q=t(`<button type="button"><span aria-hidden="true"></span> <span class="edge-name svelte-xiv1be"> </span></button>`),ye=t(`<footer class="controls-dock svelte-xiv1be" aria-label="Canvas controls"><div class="dock-section controls-toggles svelte-xiv1be"><span class="dock-eyebrow svelte-xiv1be">Canvas</span> <div class="toggle-group svelte-xiv1be" role="group" aria-label="Canvas visibility toggles"><button type="button" title="Toggle synapse edge lines (s)"><span aria-hidden="true"></span> synapses <kbd class="shortcut-hint svelte-xiv1be" aria-hidden="true">s</kbd></button> <button type="button" title="Show only cross-substrate bridge edges (b)"><span aria-hidden="true"></span> bridges only <kbd class="shortcut-hint svelte-xiv1be" aria-hidden="true">b</kbd></button> <button type="button" title="Pause ambient simulation breathing"><span aria-hidden="true"></span> </button></div></div> <div class="dock-divider svelte-xiv1be" aria-hidden="true"></div> <div class="dock-section edge-section svelte-xiv1be"><span class="dock-eyebrow svelte-xiv1be">Edge taxonomy — toggle to filter</span> <div class="edge-grid svelte-xiv1be"></div></div> <div class="dock-actions svelte-xiv1be"><button type="button" class="reset-btn svelte-xiv1be" title="Fit camera to graph (f)" aria-label="Reset camera view to fit the graph">fit view <kbd class="shortcut-hint svelte-xiv1be" aria-hidden="true">f</kbd></button></div></footer>`);function be(e,t){M(t,!0);var r=ye(),i=s(r),c=_(s(i),2),l=s(c);let u;var p=s(l);let m;O(2),I(l);var h=_(l,2);let g;var v=s(h);let y;O(2),I(h);var x=_(h,2);let C;var E=s(x);let D;var k=_(E);I(x),I(c),I(i);var A=_(i,4),j=_(s(A),2);R(j,20,()=>re,e=>e,(e,r)=>{let i=T(()=>ne[r]);var c=Q();let l;var u=s(c);let p;var m=_(u,2),h=s(m,!0);I(m),I(c),a((e,t,a,s)=>{l=L(c,1,`edge-kind svelte-xiv1be`,null,l,e),w(c,`aria-pressed`,t),w(c,`title`,a),p=L(u,1,`edge-swatch svelte-xiv1be`,null,p,s),b(u,`--swatch-color: ${o(i).color??``};`),n(h,r)},[()=>({active:t.enabledKinds.has(r)}),()=>t.enabledKinds.has(r),()=>te(r),()=>({dashed:!!o(i).dash})]),f(`click`,c,()=>t.onToggleKind?.(r)),d(e,c)}),I(j),I(A);var N=_(A,2),P=s(N);I(N),I(r),a(()=>{u=L(l,1,`dock-toggle svelte-xiv1be`,null,u,{active:t.showSynapses}),w(l,`aria-pressed`,t.showSynapses),m=L(p,1,`toggle-dot svelte-xiv1be`,null,m,{on:t.showSynapses}),g=L(h,1,`dock-toggle svelte-xiv1be`,null,g,{active:t.showBridgesOnly}),w(h,`aria-pressed`,t.showBridgesOnly),y=L(v,1,`toggle-dot svelte-xiv1be`,null,y,{on:t.showBridgesOnly}),C=L(x,1,`dock-toggle svelte-xiv1be`,null,C,{active:t.breathingPaused}),w(x,`aria-pressed`,t.breathingPaused),D=L(E,1,`toggle-dot svelte-xiv1be`,null,D,{on:t.breathingPaused}),n(k,` ${t.breathingPaused?`paused`:`breathing`}`)}),f(`click`,l,function(...e){t.onToggleSynapses?.apply(this,e)}),f(`click`,h,function(...e){t.onToggleBridgesOnly?.apply(this,e)}),f(`click`,x,function(...e){t.onToggleBreathing?.apply(this,e)}),f(`click`,P,function(...e){t.onResetView?.apply(this,e)}),d(e,r),S()}u([`click`]);var xe=t(`<div class="ghost-cluster svelte-trzjgq"><div class="ghost-label svelte-trzjgq"><span class="ghost-substrate svelte-trzjgq"> </span> <span class="ghost-dash svelte-trzjgq">·</span> <span class="ghost-count svelte-trzjgq">—</span> <span class="ghost-dash svelte-trzjgq">·</span> <span class="ghost-count svelte-trzjgq">—</span></div> <div class="shimmer-overlay svelte-trzjgq"></div></div>`),Se=t(`<div class="ghost-dot svelte-trzjgq"></div>`),Ce=t(`<div class="skeleton-canvas svelte-trzjgq" aria-hidden="true" data-brain-skeleton=""><div class="ambient-glow svelte-trzjgq"></div> <!> <div class="ghost-dots svelte-trzjgq" aria-hidden="true"></div> <div class="scan-line svelte-trzjgq"></div></div>`);function we(e,t){let i=x(t,`visible`,3,!0),c=x(t,`height`,3,`100%`),l=[{id:`brain`,label:`BRAIN`,cssVar:`var(--info)`,top:`18%`,left:`22%`,width:`22%`,height:`14%`},{id:`nexus`,label:`NEXUS`,cssVar:`var(--success)`,top:`42%`,left:`52%`,width:`26%`,height:`16%`},{id:`tasks`,label:`TASKS`,cssVar:`var(--warning)`,top:`62%`,left:`20%`,width:`20%`,height:`12%`},{id:`conduit`,label:`CONDUIT`,cssVar:`var(--accent)`,top:`28%`,left:`58%`,width:`16%`,height:`10%`},{id:`agent-registry`,label:`SIGNALDOCK`,cssVar:`var(--danger)`,top:`70%`,left:`55%`,width:`18%`,height:`10%`}];var u=D(),f=v(u),p=e=>{var t=Ce(),r=_(s(t),2);R(r,17,()=>l,e=>e.id,(e,t)=>{var r=xe(),i=s(r),c=s(i),l=s(c,!0);I(c),O(8),I(i),O(2),I(r),a(()=>{b(r,`
2
2
  top: ${o(t).top??``};
3
3
  left: ${o(t).left??``};
4
4
  width: ${o(t).width??``};
@@ -1 +1 @@
1
- {"version":"1790158920881"}
1
+ {"version":"1790170255152"}
@@ -31,11 +31,11 @@ var _layout_server_ts = /*#__PURE__*/Object.freeze({
31
31
 
32
32
  const index = 0;
33
33
  let component_cache;
34
- const component = async () => component_cache ??= (await import('./_layout.svelte-7fJASih5.js')).default;
34
+ const component = async () => component_cache ??= (await import('./_layout.svelte-uEMRkhN8.js')).default;
35
35
  const server_id = "src/routes/+layout.server.ts";
36
- const imports = ["_app/immutable/nodes/0.COhWnRZG.js","_app/immutable/chunks/DGftG5oL.js","_app/immutable/chunks/D5Xqss9F.js","_app/immutable/chunks/B7XMzKvO.js","_app/immutable/chunks/B8WnZMYa.js"];
36
+ const imports = ["_app/immutable/nodes/0.DhjCtLlb.js","_app/immutable/chunks/DGftG5oL.js","_app/immutable/chunks/NUtQpztF.js","_app/immutable/chunks/COEVVgGn.js","_app/immutable/chunks/B8WnZMYa.js"];
37
37
  const stylesheets = ["_app/immutable/assets/0.BAKYIbXL.css"];
38
38
  const fonts = ["_app/immutable/assets/inter-cyrillic-ext-wght-normal.BOeWTOD4.woff2","_app/immutable/assets/inter-cyrillic-wght-normal.DqGufNeO.woff2","_app/immutable/assets/inter-greek-ext-wght-normal.DlzME5K_.woff2","_app/immutable/assets/inter-greek-wght-normal.CkhJZR-_.woff2","_app/immutable/assets/inter-vietnamese-wght-normal.CBcvBZtf.woff2","_app/immutable/assets/inter-latin-ext-wght-normal.DO1Apj_S.woff2","_app/immutable/assets/inter-latin-wght-normal.Dx4kXJAl.woff2","_app/immutable/assets/jetbrains-mono-cyrillic-wght-normal.D73BlboJ.woff2","_app/immutable/assets/jetbrains-mono-greek-wght-normal.Bw9x6K1M.woff2","_app/immutable/assets/jetbrains-mono-vietnamese-wght-normal.Bt-aOZkq.woff2","_app/immutable/assets/jetbrains-mono-latin-ext-wght-normal.DBQx-q_a.woff2","_app/immutable/assets/jetbrains-mono-latin-wght-normal.B9CIFXIH.woff2"];
39
39
 
40
40
  export { component, fonts, imports, index, _layout_server_ts as server, server_id, stylesheets };
41
- //# sourceMappingURL=0-BQKYj7sI.js.map
41
+ //# sourceMappingURL=0-cy_QkDzp.js.map
@@ -0,0 +1,9 @@
1
+ const index = 1;
2
+ let component_cache;
3
+ const component = async () => component_cache ??= (await import('./error.svelte-CQk9TrYg.js')).default;
4
+ const imports = ["_app/immutable/nodes/1.CGvtVpZ4.js","_app/immutable/chunks/DGftG5oL.js","_app/immutable/chunks/DPdtI3wM.js","_app/immutable/chunks/COEVVgGn.js","_app/immutable/chunks/B8WnZMYa.js"];
5
+ const stylesheets = [];
6
+ const fonts = [];
7
+
8
+ export { component, fonts, imports, index, stylesheets };
9
+ //# sourceMappingURL=1-DfbAl5as.js.map
@@ -27,11 +27,11 @@ var _page_server_ts = /*#__PURE__*/Object.freeze({
27
27
 
28
28
  const index = 15;
29
29
  let component_cache;
30
- const component = async () => component_cache ??= (await import('./_page.svelte-BBNuaLYp.js')).default;
30
+ const component = async () => component_cache ??= (await import('./_page.svelte-qgxzJx8X.js')).default;
31
31
  const server_id = "src/routes/code/+page.server.ts";
32
- const imports = ["_app/immutable/nodes/15.Xj_SnhIh.js","_app/immutable/chunks/DGftG5oL.js","_app/immutable/chunks/B7XMzKvO.js","_app/immutable/chunks/Dif6upEP.js","_app/immutable/chunks/B8WnZMYa.js","_app/immutable/chunks/BOnrCZaR.js","_app/immutable/chunks/CY3heNub.js","_app/immutable/chunks/Cge6qiwc.js","_app/immutable/chunks/DZrdToAH.js","_app/immutable/chunks/CTLGzgdN.js"];
32
+ const imports = ["_app/immutable/nodes/15.C0AVEmN4.js","_app/immutable/chunks/DGftG5oL.js","_app/immutable/chunks/COEVVgGn.js","_app/immutable/chunks/D2NG8h_r.js","_app/immutable/chunks/B8WnZMYa.js","_app/immutable/chunks/BOnrCZaR.js","_app/immutable/chunks/CY3heNub.js","_app/immutable/chunks/Cge6qiwc.js","_app/immutable/chunks/DZrdToAH.js","_app/immutable/chunks/CTLGzgdN.js"];
33
33
  const stylesheets = ["_app/immutable/assets/cluster-label-layer.aRgASjnn.css","_app/immutable/assets/no-face-up.BlswZ73M.css","_app/immutable/assets/nexus-adapter.DuSZKvuH.css","_app/immutable/assets/Tabs.CU9_rsWl.css","_app/immutable/assets/ui.CH-9N9-0.css","_app/immutable/assets/15.CdtiwMjj.css"];
34
34
  const fonts = [];
35
35
 
36
36
  export { component, fonts, imports, index, _page_server_ts as server, server_id, stylesheets };
37
- //# sourceMappingURL=15-eAvnWcqP.js.map
37
+ //# sourceMappingURL=15-U6I43v-2.js.map
@@ -54,11 +54,11 @@ var _page_server_ts = /*#__PURE__*/Object.freeze({
54
54
 
55
55
  const index = 16;
56
56
  let component_cache;
57
- const component = async () => component_cache ??= (await import('./_page.svelte-BUR9tARI.js')).default;
57
+ const component = async () => component_cache ??= (await import('./_page.svelte-CsVeNF46.js')).default;
58
58
  const server_id = "src/routes/code/community/[id]/+page.server.ts";
59
- const imports = ["_app/immutable/nodes/16.-k1fZVc8.js","_app/immutable/chunks/DGftG5oL.js","_app/immutable/chunks/B7XMzKvO.js","_app/immutable/chunks/Dif6upEP.js","_app/immutable/chunks/B8WnZMYa.js","_app/immutable/chunks/BOnrCZaR.js","_app/immutable/chunks/CY3heNub.js","_app/immutable/chunks/Cge6qiwc.js","_app/immutable/chunks/DZrdToAH.js","_app/immutable/chunks/CTLGzgdN.js"];
59
+ const imports = ["_app/immutable/nodes/16.idTr0Sy-.js","_app/immutable/chunks/DGftG5oL.js","_app/immutable/chunks/COEVVgGn.js","_app/immutable/chunks/D2NG8h_r.js","_app/immutable/chunks/B8WnZMYa.js","_app/immutable/chunks/BOnrCZaR.js","_app/immutable/chunks/CY3heNub.js","_app/immutable/chunks/Cge6qiwc.js","_app/immutable/chunks/DZrdToAH.js","_app/immutable/chunks/CTLGzgdN.js"];
60
60
  const stylesheets = ["_app/immutable/assets/cluster-label-layer.aRgASjnn.css","_app/immutable/assets/no-face-up.BlswZ73M.css","_app/immutable/assets/nexus-adapter.DuSZKvuH.css","_app/immutable/assets/Tabs.CU9_rsWl.css","_app/immutable/assets/ui.CH-9N9-0.css","_app/immutable/assets/16.BzOs0cg_.css"];
61
61
  const fonts = [];
62
62
 
63
63
  export { component, fonts, imports, index, _page_server_ts as server, server_id, stylesheets };
64
- //# sourceMappingURL=16-BrkcPqWj.js.map
64
+ //# sourceMappingURL=16-DZakt8NC.js.map
@@ -140,11 +140,11 @@ var _page_server_ts = /*#__PURE__*/Object.freeze({
140
140
 
141
141
  const index = 17;
142
142
  let component_cache;
143
- const component = async () => component_cache ??= (await import('./_page.svelte-ByU0xsC0.js')).default;
143
+ const component = async () => component_cache ??= (await import('./_page.svelte-BoLHzEsv.js')).default;
144
144
  const server_id = "src/routes/code/flows/+page.server.ts";
145
- const imports = ["_app/immutable/nodes/17.C3uJChOm.js","_app/immutable/chunks/DGftG5oL.js","_app/immutable/chunks/B7XMzKvO.js","_app/immutable/chunks/Dif6upEP.js","_app/immutable/chunks/B8WnZMYa.js","_app/immutable/chunks/BOnrCZaR.js","_app/immutable/chunks/CY3heNub.js","_app/immutable/chunks/Cge6qiwc.js","_app/immutable/chunks/DZrdToAH.js","_app/immutable/chunks/CTLGzgdN.js"];
145
+ const imports = ["_app/immutable/nodes/17.D9U6A-tT.js","_app/immutable/chunks/DGftG5oL.js","_app/immutable/chunks/COEVVgGn.js","_app/immutable/chunks/D2NG8h_r.js","_app/immutable/chunks/B8WnZMYa.js","_app/immutable/chunks/BOnrCZaR.js","_app/immutable/chunks/CY3heNub.js","_app/immutable/chunks/Cge6qiwc.js","_app/immutable/chunks/DZrdToAH.js","_app/immutable/chunks/CTLGzgdN.js"];
146
146
  const stylesheets = ["_app/immutable/assets/cluster-label-layer.aRgASjnn.css","_app/immutable/assets/no-face-up.BlswZ73M.css","_app/immutable/assets/nexus-adapter.DuSZKvuH.css","_app/immutable/assets/Tabs.CU9_rsWl.css","_app/immutable/assets/ui.CH-9N9-0.css","_app/immutable/assets/17.C-9c74gE.css"];
147
147
  const fonts = [];
148
148
 
149
149
  export { component, fonts, imports, index, _page_server_ts as server, server_id, stylesheets };
150
- //# sourceMappingURL=17-DZOSccBm.js.map
150
+ //# sourceMappingURL=17-gxnXiGqH.js.map
@@ -43,11 +43,11 @@ var _page_server_ts = /*#__PURE__*/Object.freeze({
43
43
 
44
44
  const index = 18;
45
45
  let component_cache;
46
- const component = async () => component_cache ??= (await import('./_page.svelte-Bsp6KMM1.js')).default;
46
+ const component = async () => component_cache ??= (await import('./_page.svelte-DSrhUYWP.js')).default;
47
47
  const server_id = "src/routes/code/symbol/[name]/+page.server.ts";
48
- const imports = ["_app/immutable/nodes/18.CaBcMqg6.js","_app/immutable/chunks/DGftG5oL.js","_app/immutable/chunks/B7XMzKvO.js","_app/immutable/chunks/Dif6upEP.js","_app/immutable/chunks/B8WnZMYa.js","_app/immutable/chunks/BOnrCZaR.js","_app/immutable/chunks/CY3heNub.js","_app/immutable/chunks/Cge6qiwc.js","_app/immutable/chunks/DZrdToAH.js","_app/immutable/chunks/CTLGzgdN.js"];
48
+ const imports = ["_app/immutable/nodes/18.BnNnIAxc.js","_app/immutable/chunks/DGftG5oL.js","_app/immutable/chunks/COEVVgGn.js","_app/immutable/chunks/D2NG8h_r.js","_app/immutable/chunks/B8WnZMYa.js","_app/immutable/chunks/BOnrCZaR.js","_app/immutable/chunks/CY3heNub.js","_app/immutable/chunks/Cge6qiwc.js","_app/immutable/chunks/DZrdToAH.js","_app/immutable/chunks/CTLGzgdN.js"];
49
49
  const stylesheets = ["_app/immutable/assets/cluster-label-layer.aRgASjnn.css","_app/immutable/assets/no-face-up.BlswZ73M.css","_app/immutable/assets/nexus-adapter.DuSZKvuH.css","_app/immutable/assets/Tabs.CU9_rsWl.css","_app/immutable/assets/ui.CH-9N9-0.css","_app/immutable/assets/18.d18ttKnU.css"];
50
50
  const fonts = [];
51
51
 
52
52
  export { component, fonts, imports, index, _page_server_ts as server, server_id, stylesheets };
53
- //# sourceMappingURL=18-CIM4TtZO.js.map
53
+ //# sourceMappingURL=18-9L7Ryi3g.js.map
@@ -47,11 +47,11 @@ var _page_server_ts = /*#__PURE__*/Object.freeze({
47
47
 
48
48
  const index = 20;
49
49
  let component_cache;
50
- const component = async () => component_cache ??= (await import('./_page.svelte-DmTQemvS.js')).default;
50
+ const component = async () => component_cache ??= (await import('./_page.svelte-wRQJ7LRt.js')).default;
51
51
  const server_id = "src/routes/projects/+page.server.ts";
52
- const imports = ["_app/immutable/nodes/20.PfLdXu4K.js","_app/immutable/chunks/DGftG5oL.js","_app/immutable/chunks/B7XMzKvO.js","_app/immutable/chunks/Dif6upEP.js","_app/immutable/chunks/B8WnZMYa.js","_app/immutable/chunks/BB7zPpV2.js","_app/immutable/chunks/DZrdToAH.js","_app/immutable/chunks/CTLGzgdN.js"];
52
+ const imports = ["_app/immutable/nodes/20.DtrFty0x.js","_app/immutable/chunks/DGftG5oL.js","_app/immutable/chunks/COEVVgGn.js","_app/immutable/chunks/D2NG8h_r.js","_app/immutable/chunks/B8WnZMYa.js","_app/immutable/chunks/BB7zPpV2.js","_app/immutable/chunks/DZrdToAH.js","_app/immutable/chunks/CTLGzgdN.js"];
53
53
  const stylesheets = ["_app/immutable/assets/HeroHeader.ByXNeezk.css","_app/immutable/assets/Tabs.CU9_rsWl.css","_app/immutable/assets/ui.CH-9N9-0.css","_app/immutable/assets/20.CYAn9-TU.css"];
54
54
  const fonts = [];
55
55
 
56
56
  export { component, fonts, imports, index, _page_server_ts as server, server_id, stylesheets };
57
- //# sourceMappingURL=20-BV2oDNxs.js.map
57
+ //# sourceMappingURL=20-DkxvN_jW.js.map
@@ -57,11 +57,11 @@ var _page_server_ts = /*#__PURE__*/Object.freeze({
57
57
 
58
58
  const index = 24;
59
59
  let component_cache;
60
- const component = async () => component_cache ??= (await import('./_page.svelte-CkuJV8ec.js')).default;
60
+ const component = async () => component_cache ??= (await import('./_page.svelte-QIby5izo.js')).default;
61
61
  const server_id = "src/routes/studio/[projectId]/[sagaId]/+page.server.ts";
62
- const imports = ["_app/immutable/nodes/24.D6HMIXZo.js","_app/immutable/chunks/DGftG5oL.js","_app/immutable/chunks/B7XMzKvO.js","_app/immutable/chunks/Dif6upEP.js","_app/immutable/chunks/D5Xqss9F.js","_app/immutable/chunks/EZwHPWle.js","_app/immutable/chunks/CqgtdAx_.js","_app/immutable/chunks/B8WnZMYa.js","_app/immutable/chunks/rUtW7Hx6.js","_app/immutable/chunks/Cge6qiwc.js","_app/immutable/chunks/DZrdToAH.js","_app/immutable/chunks/CTLGzgdN.js","_app/immutable/chunks/C87Q3uxm.js"];
62
+ const imports = ["_app/immutable/nodes/24.BNfALjyT.js","_app/immutable/chunks/DGftG5oL.js","_app/immutable/chunks/COEVVgGn.js","_app/immutable/chunks/D2NG8h_r.js","_app/immutable/chunks/NUtQpztF.js","_app/immutable/chunks/EZwHPWle.js","_app/immutable/chunks/CqgtdAx_.js","_app/immutable/chunks/B8WnZMYa.js","_app/immutable/chunks/rUtW7Hx6.js","_app/immutable/chunks/Cge6qiwc.js","_app/immutable/chunks/DZrdToAH.js","_app/immutable/chunks/CTLGzgdN.js","_app/immutable/chunks/C87Q3uxm.js"];
63
63
  const stylesheets = ["_app/immutable/assets/StatBlock.DX6OXz7z.css","_app/immutable/assets/no-face-up.BlswZ73M.css","_app/immutable/assets/Tabs.CU9_rsWl.css","_app/immutable/assets/ui.CH-9N9-0.css","_app/immutable/assets/tasks.BZWJL4jq.css","_app/immutable/assets/saga-board.XH0XIkul.css","_app/immutable/assets/24.BWCeO61w.css"];
64
64
  const fonts = [];
65
65
 
66
66
  export { component, fonts, imports, index, _page_server_ts as server, server_id, stylesheets };
67
- //# sourceMappingURL=24-DiJrLGnm.js.map
67
+ //# sourceMappingURL=24-CaBX4lxL.js.map
@@ -355,11 +355,11 @@ var _page_server_ts = /*#__PURE__*/Object.freeze({
355
355
 
356
356
  const index = 25;
357
357
  let component_cache;
358
- const component = async () => component_cache ??= (await import('./_page.svelte-pt9J_PyJ.js')).default;
358
+ const component = async () => component_cache ??= (await import('./_page.svelte-ZeXhdWGu.js')).default;
359
359
  const server_id = "src/routes/tasks/+page.server.ts";
360
- const imports = ["_app/immutable/nodes/25.PWd_97Ic.js","_app/immutable/chunks/DGftG5oL.js","_app/immutable/chunks/B7XMzKvO.js","_app/immutable/chunks/Dif6upEP.js","_app/immutable/chunks/D5Xqss9F.js","_app/immutable/chunks/EZwHPWle.js","_app/immutable/chunks/CqgtdAx_.js","_app/immutable/chunks/B8WnZMYa.js","_app/immutable/chunks/rUtW7Hx6.js","_app/immutable/chunks/Cge6qiwc.js","_app/immutable/chunks/DZrdToAH.js","_app/immutable/chunks/CTLGzgdN.js"];
360
+ const imports = ["_app/immutable/nodes/25.Be5vwHso.js","_app/immutable/chunks/DGftG5oL.js","_app/immutable/chunks/COEVVgGn.js","_app/immutable/chunks/D2NG8h_r.js","_app/immutable/chunks/NUtQpztF.js","_app/immutable/chunks/EZwHPWle.js","_app/immutable/chunks/CqgtdAx_.js","_app/immutable/chunks/B8WnZMYa.js","_app/immutable/chunks/rUtW7Hx6.js","_app/immutable/chunks/Cge6qiwc.js","_app/immutable/chunks/DZrdToAH.js","_app/immutable/chunks/CTLGzgdN.js"];
361
361
  const stylesheets = ["_app/immutable/assets/StatBlock.DX6OXz7z.css","_app/immutable/assets/no-face-up.BlswZ73M.css","_app/immutable/assets/Tabs.CU9_rsWl.css","_app/immutable/assets/ui.CH-9N9-0.css","_app/immutable/assets/tasks.BZWJL4jq.css","_app/immutable/assets/25.BtvG5YXz.css"];
362
362
  const fonts = [];
363
363
 
364
364
  export { component, fonts, imports, index, _page_server_ts as server, server_id, stylesheets };
365
- //# sourceMappingURL=25-KnPx5--u.js.map
365
+ //# sourceMappingURL=25-Dt9ulRzg.js.map
@@ -194,11 +194,11 @@ var _page_server_ts = /*#__PURE__*/Object.freeze({
194
194
 
195
195
  const index = 26;
196
196
  let component_cache;
197
- const component = async () => component_cache ??= (await import('./_page.svelte-vKlMIP50.js')).default;
197
+ const component = async () => component_cache ??= (await import('./_page.svelte-Cis5CNOq.js')).default;
198
198
  const server_id = "src/routes/tasks/[id]/+page.server.ts";
199
- const imports = ["_app/immutable/nodes/26.CpRQOhTF.js","_app/immutable/chunks/DGftG5oL.js","_app/immutable/chunks/B7XMzKvO.js","_app/immutable/chunks/Dif6upEP.js","_app/immutable/chunks/EZwHPWle.js","_app/immutable/chunks/CqgtdAx_.js","_app/immutable/chunks/B8WnZMYa.js","_app/immutable/chunks/rUtW7Hx6.js","_app/immutable/chunks/Cge6qiwc.js","_app/immutable/chunks/DZrdToAH.js","_app/immutable/chunks/CTLGzgdN.js","_app/immutable/chunks/BB7zPpV2.js"];
199
+ const imports = ["_app/immutable/nodes/26.DT-XPIqy.js","_app/immutable/chunks/DGftG5oL.js","_app/immutable/chunks/COEVVgGn.js","_app/immutable/chunks/D2NG8h_r.js","_app/immutable/chunks/EZwHPWle.js","_app/immutable/chunks/CqgtdAx_.js","_app/immutable/chunks/B8WnZMYa.js","_app/immutable/chunks/rUtW7Hx6.js","_app/immutable/chunks/Cge6qiwc.js","_app/immutable/chunks/DZrdToAH.js","_app/immutable/chunks/CTLGzgdN.js","_app/immutable/chunks/BB7zPpV2.js"];
200
200
  const stylesheets = ["_app/immutable/assets/StatBlock.DX6OXz7z.css","_app/immutable/assets/no-face-up.BlswZ73M.css","_app/immutable/assets/Tabs.CU9_rsWl.css","_app/immutable/assets/ui.CH-9N9-0.css","_app/immutable/assets/tasks.BZWJL4jq.css","_app/immutable/assets/HeroHeader.ByXNeezk.css","_app/immutable/assets/26.Bc1bH1ab.css"];
201
201
  const fonts = [];
202
202
 
203
203
  export { component, fonts, imports, index, _page_server_ts as server, server_id, stylesheets };
204
- //# sourceMappingURL=26-MjFmJWRl.js.map
204
+ //# sourceMappingURL=26-BqUum1sI.js.map
@@ -609,11 +609,11 @@ var _page_server_ts = /*#__PURE__*/Object.freeze({
609
609
 
610
610
  const index = 3;
611
611
  let component_cache;
612
- const component = async () => component_cache ??= (await import('./_page.svelte-DbavHIiA.js')).default;
612
+ const component = async () => component_cache ??= (await import('./_page.svelte-Blgw2ltS.js')).default;
613
613
  const server_id = "src/routes/brain/+page.server.ts";
614
- const imports = ["_app/immutable/nodes/3.BUtKuhCE.js","_app/immutable/chunks/DGftG5oL.js","_app/immutable/chunks/CY3heNub.js","_app/immutable/chunks/B8WnZMYa.js","_app/immutable/chunks/BtywxRhM.js","_app/immutable/chunks/B7XMzKvO.js","_app/immutable/chunks/DEH43YwF.js","_app/immutable/chunks/CqgtdAx_.js","_app/immutable/chunks/Cge6qiwc.js","_app/immutable/chunks/DZrdToAH.js"];
614
+ const imports = ["_app/immutable/nodes/3.BKRmuaPu.js","_app/immutable/chunks/DGftG5oL.js","_app/immutable/chunks/CY3heNub.js","_app/immutable/chunks/B8WnZMYa.js","_app/immutable/chunks/DPdtI3wM.js","_app/immutable/chunks/COEVVgGn.js","_app/immutable/chunks/DEH43YwF.js","_app/immutable/chunks/CqgtdAx_.js","_app/immutable/chunks/Cge6qiwc.js","_app/immutable/chunks/DZrdToAH.js"];
615
615
  const stylesheets = ["_app/immutable/assets/cluster-label-layer.aRgASjnn.css","_app/immutable/assets/no-face-up.BlswZ73M.css","_app/immutable/assets/ThreeBrainRenderer.BSwu9fuL.css","_app/immutable/assets/Tabs.CU9_rsWl.css","_app/immutable/assets/3.DqDkvXKx.css"];
616
616
  const fonts = [];
617
617
 
618
618
  export { component, fonts, imports, index, _page_server_ts as server, server_id, stylesheets };
619
- //# sourceMappingURL=3-D0yOn-2j.js.map
619
+ //# sourceMappingURL=3-BRakm5hS.js.map
@@ -1,9 +1,9 @@
1
1
  import { j as ensure_array_like, k as attr, m as attr_class, o as store_get, p as escape_html, q as unsubscribe_stores, t as attr_style, v as stringify, w as derived } from './dev-Br5zieNA.js';
2
2
  import 'node:module';
3
- import { p as page } from './stores-CdM00jz_.js';
4
- import './client-DBHR0SaZ.js';
3
+ import { p as page } from './stores-Bpyg4-QN.js';
4
+ import './client-BzjeEh5T.js';
5
5
  import './index-server-BgfA6C0S.js';
6
- import './internal-DMFWVQX-.js';
6
+ import './internal-BjLvSp53.js';
7
7
  import './utils-g564cUMV.js';
8
8
 
9
9
  //#region src/lib/components/ProjectSelector.svelte
@@ -137,4 +137,4 @@ function _layout($$renderer, $$props) {
137
137
  }
138
138
 
139
139
  export { _layout as default };
140
- //# sourceMappingURL=_layout.svelte-7fJASih5.js.map
140
+ //# sourceMappingURL=_layout.svelte-uEMRkhN8.js.map
@@ -1,11 +1,11 @@
1
1
  import { o as onDestroy } from './index-server-BgfA6C0S.js';
2
2
  import { t as attr_style, v as stringify, x as head, p as escape_html, k as attr, m as attr_class, j as ensure_array_like, y as bind_props, w as derived } from './dev-Br5zieNA.js';
3
- import './client-DBHR0SaZ.js';
3
+ import './client-BzjeEh5T.js';
4
4
  import { a as Breadcrumb, B as Badge, T as Tabs, C as Card, I as IconButton } from './Tabs-DQKDflnT.js';
5
5
  import './cluster-label-layer-CysRMvhi.js';
6
6
  import { H as Hover_label, r as resolveEdgeStyleForWebGL, A as ALL_EDGE_KINDS, d as describeEdgeKind, E as EDGE_STYLE } from './no-face-up-B_3h6Hgs.js';
7
7
  import 'node:module';
8
- import './internal-DMFWVQX-.js';
8
+ import './internal-BjLvSp53.js';
9
9
  import './utils-g564cUMV.js';
10
10
 
11
11
  //#region src/lib/graph/types.ts
@@ -1159,4 +1159,4 @@ function _page($$renderer, $$props) {
1159
1159
  }
1160
1160
 
1161
1161
  export { _page as default };
1162
- //# sourceMappingURL=_page.svelte-DbavHIiA.js.map
1162
+ //# sourceMappingURL=_page.svelte-Blgw2ltS.js.map
@@ -1,11 +1,11 @@
1
1
  import { x as head, p as escape_html, j as ensure_array_like, w as derived, m as attr_class } from './dev-Br5zieNA.js';
2
- import { g as goto } from './client-DBHR0SaZ.js';
2
+ import { g as goto } from './client-BzjeEh5T.js';
3
3
  import { a as Breadcrumb, C as Card } from './Tabs-DQKDflnT.js';
4
4
  import { E as EmptyState } from './ui-CkQ-pCs3.js';
5
5
  import { C as CosmosRenderer, m as mapNexusRelationToEdgeKind } from './nexus-adapter-D1ryYG1Z.js';
6
6
  import './index-server-BgfA6C0S.js';
7
7
  import 'node:module';
8
- import './internal-DMFWVQX-.js';
8
+ import './internal-BjLvSp53.js';
9
9
  import './utils-g564cUMV.js';
10
10
  import './cluster-label-layer-CysRMvhi.js';
11
11
  import './no-face-up-B_3h6Hgs.js';
@@ -176,4 +176,4 @@ function _page($$renderer, $$props) {
176
176
  }
177
177
 
178
178
  export { _page as default };
179
- //# sourceMappingURL=_page.svelte-ByU0xsC0.js.map
179
+ //# sourceMappingURL=_page.svelte-BoLHzEsv.js.map
@@ -1,12 +1,12 @@
1
1
  import { x as head, p as escape_html, j as ensure_array_like, m as attr_class, k as attr, t as attr_style, w as derived, v as stringify } from './dev-Br5zieNA.js';
2
- import { g as goto } from './client-DBHR0SaZ.js';
2
+ import { g as goto } from './client-BzjeEh5T.js';
3
3
  import { H as HeroHeader } from './HeroHeader-BrGN5WPw.js';
4
4
  import { a as Breadcrumb, B as Badge, C as Card } from './Tabs-DQKDflnT.js';
5
5
  import { B as Button } from './ui-CkQ-pCs3.js';
6
6
  import { a as StatusBadge, f as formatTime, g as gatesFromJson, P as PriorityBadge, S as SvgRenderer } from './tasks-sWuEmiGW.js';
7
7
  import './index-server-BgfA6C0S.js';
8
8
  import 'node:module';
9
- import './internal-DMFWVQX-.js';
9
+ import './internal-BjLvSp53.js';
10
10
  import './utils-g564cUMV.js';
11
11
  import '@cleocode/core/tasks/agent-lifecycle-lane';
12
12
  import './StatBlock-jNsxycS1.js';
@@ -554,4 +554,4 @@ function _page($$renderer, $$props) {
554
554
  }
555
555
 
556
556
  export { _page as default };
557
- //# sourceMappingURL=_page.svelte-vKlMIP50.js.map
557
+ //# sourceMappingURL=_page.svelte-Cis5CNOq.js.map
@@ -1,12 +1,12 @@
1
1
  import { x as head, p as escape_html, j as ensure_array_like, m as attr_class, k as attr, t as attr_style, w as derived, v as stringify } from './dev-Br5zieNA.js';
2
- import { g as goto } from './client-DBHR0SaZ.js';
2
+ import { g as goto } from './client-BzjeEh5T.js';
3
3
  import { a as Breadcrumb, C as Card } from './Tabs-DQKDflnT.js';
4
4
  import { C as ChipGroup, b as Chip } from './ui-CkQ-pCs3.js';
5
5
  import { d as describeEdgeKind, E as EDGE_STYLE } from './no-face-up-B_3h6Hgs.js';
6
6
  import { C as CosmosRenderer, b as adaptNexusRows } from './nexus-adapter-D1ryYG1Z.js';
7
7
  import './index-server-BgfA6C0S.js';
8
8
  import 'node:module';
9
- import './internal-DMFWVQX-.js';
9
+ import './internal-BjLvSp53.js';
10
10
  import './utils-g564cUMV.js';
11
11
  import './cluster-label-layer-CysRMvhi.js';
12
12
 
@@ -184,4 +184,4 @@ function _page($$renderer, $$props) {
184
184
  }
185
185
 
186
186
  export { _page as default };
187
- //# sourceMappingURL=_page.svelte-BUR9tARI.js.map
187
+ //# sourceMappingURL=_page.svelte-CsVeNF46.js.map
@@ -1,12 +1,12 @@
1
1
  import { x as head, p as escape_html, m as attr_class, j as ensure_array_like, k as attr, t as attr_style, w as derived } from './dev-Br5zieNA.js';
2
- import { g as goto } from './client-DBHR0SaZ.js';
2
+ import { g as goto } from './client-BzjeEh5T.js';
3
3
  import { a as Breadcrumb, C as Card, T as Tabs } from './Tabs-DQKDflnT.js';
4
4
  import { c as TabPanel } from './ui-CkQ-pCs3.js';
5
5
  import { d as describeEdgeKind, E as EDGE_STYLE } from './no-face-up-B_3h6Hgs.js';
6
6
  import { C as CosmosRenderer, m as mapNexusRelationToEdgeKind } from './nexus-adapter-D1ryYG1Z.js';
7
7
  import './index-server-BgfA6C0S.js';
8
8
  import 'node:module';
9
- import './internal-DMFWVQX-.js';
9
+ import './internal-BjLvSp53.js';
10
10
  import './utils-g564cUMV.js';
11
11
  import './cluster-label-layer-CysRMvhi.js';
12
12
 
@@ -229,4 +229,4 @@ function _page($$renderer, $$props) {
229
229
  }
230
230
 
231
231
  export { _page as default };
232
- //# sourceMappingURL=_page.svelte-Bsp6KMM1.js.map
232
+ //# sourceMappingURL=_page.svelte-DSrhUYWP.js.map
@@ -1,15 +1,15 @@
1
1
  import { x as head, k as attr, p as escape_html, m as attr_class, w as derived, o as store_get, j as ensure_array_like, y as bind_props, q as unsubscribe_stores } from './dev-Br5zieNA.js';
2
2
  import 'node:module';
3
- import { p as page } from './stores-CdM00jz_.js';
3
+ import { p as page } from './stores-Bpyg4-QN.js';
4
4
  import { B as Badge } from './Tabs-DQKDflnT.js';
5
5
  import { S as SvgRenderer, D as DetailDrawer, t as tasksToGraph } from './tasks-sWuEmiGW.js';
6
- import './client-DBHR0SaZ.js';
6
+ import './client-BzjeEh5T.js';
7
7
  import '@cleocode/core/tasks/agent-lifecycle-lane';
8
8
  import './index-server-BgfA6C0S.js';
9
9
  import './StatBlock-jNsxycS1.js';
10
10
  import './ui-CkQ-pCs3.js';
11
11
  import './no-face-up-B_3h6Hgs.js';
12
- import './internal-DMFWVQX-.js';
12
+ import './internal-BjLvSp53.js';
13
13
  import './utils-g564cUMV.js';
14
14
 
15
15
  //#region src/lib/components/WorkGraphView.svelte
@@ -327,4 +327,4 @@ function _page($$renderer, $$props) {
327
327
  }
328
328
 
329
329
  export { _page as default };
330
- //# sourceMappingURL=_page.svelte-CkuJV8ec.js.map
330
+ //# sourceMappingURL=_page.svelte-QIby5izo.js.map
@@ -1,9 +1,9 @@
1
1
  import { o as store_get, x as head, m as attr_class, p as escape_html, k as attr, j as ensure_array_like, t as attr_style, q as unsubscribe_stores, w as derived, v as stringify } from './dev-Br5zieNA.js';
2
2
  import 'node:module';
3
3
  import { T as TASK_STATUSES } from './dist-BzgWhfUR.js';
4
- import { p as page } from './stores-CdM00jz_.js';
4
+ import { p as page } from './stores-Bpyg4-QN.js';
5
5
  import { T as TaskSearchBox, F as FilterChipGroup, L as LabelsFilter, H as HierarchyTab, G as GraphTab, K as KanbanTab, E as EpicProgressCard, R as RecentActivityFeed, D as DetailDrawer } from './tasks-sWuEmiGW.js';
6
- import './client-DBHR0SaZ.js';
6
+ import './client-BzjeEh5T.js';
7
7
  import 'node:fs';
8
8
  import 'node:path';
9
9
  import './index-server-BgfA6C0S.js';
@@ -12,7 +12,7 @@ import './StatBlock-jNsxycS1.js';
12
12
  import './Tabs-DQKDflnT.js';
13
13
  import './ui-CkQ-pCs3.js';
14
14
  import './no-face-up-B_3h6Hgs.js';
15
- import './internal-DMFWVQX-.js';
15
+ import './internal-BjLvSp53.js';
16
16
  import './utils-g564cUMV.js';
17
17
 
18
18
  //#region src/lib/stores/task-filters.svelte.ts
@@ -474,4 +474,4 @@ function _page($$renderer, $$props) {
474
474
  }
475
475
 
476
476
  export { _page as default };
477
- //# sourceMappingURL=_page.svelte-pt9J_PyJ.js.map
477
+ //# sourceMappingURL=_page.svelte-ZeXhdWGu.js.map
@@ -1,12 +1,12 @@
1
1
  import { x as head, p as escape_html, j as ensure_array_like, m as attr_class, k as attr, t as attr_style, w as derived } from './dev-Br5zieNA.js';
2
- import { g as goto } from './client-DBHR0SaZ.js';
2
+ import { g as goto } from './client-BzjeEh5T.js';
3
3
  import { a as Breadcrumb, C as Card } from './Tabs-DQKDflnT.js';
4
4
  import { E as EmptyState, I as Input, C as ChipGroup, b as Chip } from './ui-CkQ-pCs3.js';
5
5
  import { d as describeEdgeKind, E as EDGE_STYLE } from './no-face-up-B_3h6Hgs.js';
6
6
  import { C as CosmosRenderer, a as adaptNexusMacro, m as mapNexusRelationToEdgeKind } from './nexus-adapter-D1ryYG1Z.js';
7
7
  import './index-server-BgfA6C0S.js';
8
8
  import 'node:module';
9
- import './internal-DMFWVQX-.js';
9
+ import './internal-BjLvSp53.js';
10
10
  import './utils-g564cUMV.js';
11
11
  import './cluster-label-layer-CysRMvhi.js';
12
12
 
@@ -279,4 +279,4 @@ function _page($$renderer, $$props) {
279
279
  }
280
280
 
281
281
  export { _page as default };
282
- //# sourceMappingURL=_page.svelte-BBNuaLYp.js.map
282
+ //# sourceMappingURL=_page.svelte-qgxzJx8X.js.map