@cleocode/cleo 2026.10.24 → 2026.10.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +14 -14
- package/studio-dist/client/_app/immutable/chunks/Bv5o-Er0.js +3 -0
- package/studio-dist/client/_app/immutable/chunks/{DIvymAF2.js → ClOyPcRC.js} +1 -1
- package/studio-dist/client/_app/immutable/chunks/{DNNHZz0V.js → DDOd_Hjw.js} +1 -1
- package/studio-dist/client/_app/immutable/chunks/Dsr5dZTK.js +1 -0
- package/studio-dist/client/_app/immutable/entry/{app.BMbgsU5Z.js → app.DlWNUh4N.js} +2 -2
- package/studio-dist/client/_app/immutable/entry/start.C6RUGvLU.js +1 -0
- package/studio-dist/client/_app/immutable/nodes/{0.COsgi9YX.js → 0.BNwG6sHu.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{1.C7j_ISPp.js → 1.DA7Kr6sB.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{15.BiNzvTfV.js → 15.GiBpijnk.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{16.4SQw6NVU.js → 16.iAFc3B0s.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{17.qujHvHXY.js → 17.O2vL46Or.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{18.bSSZbSv8.js → 18.BMREoLwo.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{20.CWz-as8f.js → 20.zUnZYxQ0.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{24.jlNgalsq.js → 24.Pr_b_2ej.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/25.D_Osp6u9.js +39 -0
- package/studio-dist/client/_app/immutable/nodes/{26.DsPirw0s.js → 26.BnYEq8RZ.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{3.CGBFoM5Y.js → 3.OYY9nOBY.js} +1 -1
- package/studio-dist/client/_app/version.json +1 -1
- package/studio-dist/server/chunks/{0-DqbDHitQ.js → 0-B89LVLFZ.js} +3 -3
- package/studio-dist/server/chunks/1-B-cEYwxi.js +9 -0
- package/studio-dist/server/chunks/{15-DmtJOmFI.js → 15-Dz6SCX1m.js} +3 -3
- package/studio-dist/server/chunks/{16-BvzZ3WmB.js → 16-BTRJTjN4.js} +3 -3
- package/studio-dist/server/chunks/{17-FTBwv06n.js → 17-CIxtY40w.js} +3 -3
- package/studio-dist/server/chunks/{18-gWgKM84u.js → 18-BlMYjr6k.js} +3 -3
- package/studio-dist/server/chunks/{20-CqP7ve2G.js → 20-C1RkRzpO.js} +3 -3
- package/studio-dist/server/chunks/{24-DJ8vzEkq.js → 24-D87AePY7.js} +3 -3
- package/studio-dist/server/chunks/{25-DMqKLGfX.js → 25-CVkxWLtJ.js} +7 -42
- package/studio-dist/server/chunks/{26-Cvmow2cU.js → 26-a9VdKlf1.js} +3 -3
- package/studio-dist/server/chunks/{3-Dg2GBkSV.js → 3-Ddc2u_f4.js} +3 -3
- package/studio-dist/server/chunks/{_layout.svelte-BW0cNJqc.js → _layout.svelte-CXW21rHP.js} +4 -4
- package/studio-dist/server/chunks/{_page.svelte-DhyyWPxv.js → _page.svelte-0LlIrXEF.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-dRAQX-R-.js → _page.svelte-3AMOCOwI.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-B_SQ1_iH.js → _page.svelte-BWdv-RoC.js} +5 -5
- package/studio-dist/server/chunks/{_page.svelte-BbKl9Ykp.js → _page.svelte-B_qaq7Dz.js} +4 -4
- package/studio-dist/server/chunks/{_page.svelte-DFSWZkWK.js → _page.svelte-Cb47GWXU.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-P9fGJgmZ.js → _page.svelte-CmXm2Gnk.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-BxrC_CkO.js → _page.svelte-D7zcdZ6I.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-DiMzK4KV.js → _page.svelte-DK9zxeBH.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-Bpjm7S_i.js → _page.svelte-_sqnNe-9.js} +3 -3
- package/studio-dist/server/chunks/{_server.ts-D2XYxkTM.js → _server.ts-DIUYBQTX.js} +2 -2
- package/studio-dist/server/chunks/{client-C6yEOXXJ.js → client-CNuA2CYm.js} +2 -2
- package/studio-dist/server/chunks/{error.svelte-C58pdv6j.js → error.svelte-CA862U0G.js} +3 -3
- package/studio-dist/server/chunks/{internal-BfRQvF6o.js → internal-CizEa5ha.js} +2 -2
- package/studio-dist/server/chunks/{stores-eYzfXp_p.js → stores-Bgca7ya8.js} +2 -2
- package/studio-dist/server/index.js +1 -1
- package/studio-dist/server/manifest.js +13 -13
- package/studio-dist/client/_app/immutable/chunks/-iEXS2tv.js +0 -3
- package/studio-dist/client/_app/immutable/chunks/DK7kspwy.js +0 -1
- package/studio-dist/client/_app/immutable/entry/start.fEuCOfvf.js +0 -1
- package/studio-dist/client/_app/immutable/nodes/25.CbgPrmBm.js +0 -39
- package/studio-dist/server/chunks/1-0VkVC0E1.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/-iEXS2tv.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/DK7kspwy.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/Bv5o-Er0.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/Dsr5dZTK.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/DIvymAF2.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/ClOyPcRC.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":"
|
|
1
|
+
{"version":"1793040987739"}
|
|
@@ -32,11 +32,11 @@ var _layout_server_ts = /*#__PURE__*/Object.freeze({
|
|
|
32
32
|
|
|
33
33
|
const index = 0;
|
|
34
34
|
let component_cache;
|
|
35
|
-
const component = async () => component_cache ??= (await import('./_layout.svelte-
|
|
35
|
+
const component = async () => component_cache ??= (await import('./_layout.svelte-CXW21rHP.js')).default;
|
|
36
36
|
const server_id = "src/routes/+layout.server.ts";
|
|
37
|
-
const imports = ["_app/immutable/nodes/0.
|
|
37
|
+
const imports = ["_app/immutable/nodes/0.BNwG6sHu.js","_app/immutable/chunks/DGftG5oL.js","_app/immutable/chunks/DDOd_Hjw.js","_app/immutable/chunks/Bv5o-Er0.js","_app/immutable/chunks/B8WnZMYa.js"];
|
|
38
38
|
const stylesheets = ["_app/immutable/assets/0.BAKYIbXL.css"];
|
|
39
39
|
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"];
|
|
40
40
|
|
|
41
41
|
export { component, fonts, imports, index, _layout_server_ts as server, server_id, stylesheets };
|
|
42
|
-
//# sourceMappingURL=0-
|
|
42
|
+
//# sourceMappingURL=0-B89LVLFZ.js.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const index = 1;
|
|
2
|
+
let component_cache;
|
|
3
|
+
const component = async () => component_cache ??= (await import('./error.svelte-CA862U0G.js')).default;
|
|
4
|
+
const imports = ["_app/immutable/nodes/1.DA7Kr6sB.js","_app/immutable/chunks/DGftG5oL.js","_app/immutable/chunks/ClOyPcRC.js","_app/immutable/chunks/Bv5o-Er0.js","_app/immutable/chunks/B8WnZMYa.js"];
|
|
5
|
+
const stylesheets = [];
|
|
6
|
+
const fonts = [];
|
|
7
|
+
|
|
8
|
+
export { component, fonts, imports, index, stylesheets };
|
|
9
|
+
//# sourceMappingURL=1-B-cEYwxi.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-
|
|
30
|
+
const component = async () => component_cache ??= (await import('./_page.svelte-3AMOCOwI.js')).default;
|
|
31
31
|
const server_id = "src/routes/code/+page.server.ts";
|
|
32
|
-
const imports = ["_app/immutable/nodes/15.
|
|
32
|
+
const imports = ["_app/immutable/nodes/15.GiBpijnk.js","_app/immutable/chunks/DGftG5oL.js","_app/immutable/chunks/Bv5o-Er0.js","_app/immutable/chunks/Dsr5dZTK.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-
|
|
37
|
+
//# sourceMappingURL=15-Dz6SCX1m.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-
|
|
57
|
+
const component = async () => component_cache ??= (await import('./_page.svelte-0LlIrXEF.js')).default;
|
|
58
58
|
const server_id = "src/routes/code/community/[id]/+page.server.ts";
|
|
59
|
-
const imports = ["_app/immutable/nodes/16.
|
|
59
|
+
const imports = ["_app/immutable/nodes/16.iAFc3B0s.js","_app/immutable/chunks/DGftG5oL.js","_app/immutable/chunks/Bv5o-Er0.js","_app/immutable/chunks/Dsr5dZTK.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-
|
|
64
|
+
//# sourceMappingURL=16-BTRJTjN4.js.map
|
|
@@ -141,11 +141,11 @@ var _page_server_ts = /*#__PURE__*/Object.freeze({
|
|
|
141
141
|
|
|
142
142
|
const index = 17;
|
|
143
143
|
let component_cache;
|
|
144
|
-
const component = async () => component_cache ??= (await import('./_page.svelte-
|
|
144
|
+
const component = async () => component_cache ??= (await import('./_page.svelte-D7zcdZ6I.js')).default;
|
|
145
145
|
const server_id = "src/routes/code/flows/+page.server.ts";
|
|
146
|
-
const imports = ["_app/immutable/nodes/17.
|
|
146
|
+
const imports = ["_app/immutable/nodes/17.O2vL46Or.js","_app/immutable/chunks/DGftG5oL.js","_app/immutable/chunks/Bv5o-Er0.js","_app/immutable/chunks/Dsr5dZTK.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"];
|
|
147
147
|
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"];
|
|
148
148
|
const fonts = [];
|
|
149
149
|
|
|
150
150
|
export { component, fonts, imports, index, _page_server_ts as server, server_id, stylesheets };
|
|
151
|
-
//# sourceMappingURL=17-
|
|
151
|
+
//# sourceMappingURL=17-CIxtY40w.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-
|
|
46
|
+
const component = async () => component_cache ??= (await import('./_page.svelte-Cb47GWXU.js')).default;
|
|
47
47
|
const server_id = "src/routes/code/symbol/[name]/+page.server.ts";
|
|
48
|
-
const imports = ["_app/immutable/nodes/18.
|
|
48
|
+
const imports = ["_app/immutable/nodes/18.BMREoLwo.js","_app/immutable/chunks/DGftG5oL.js","_app/immutable/chunks/Bv5o-Er0.js","_app/immutable/chunks/Dsr5dZTK.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-
|
|
53
|
+
//# sourceMappingURL=18-BlMYjr6k.js.map
|
|
@@ -48,11 +48,11 @@ var _page_server_ts = /*#__PURE__*/Object.freeze({
|
|
|
48
48
|
|
|
49
49
|
const index = 20;
|
|
50
50
|
let component_cache;
|
|
51
|
-
const component = async () => component_cache ??= (await import('./_page.svelte-
|
|
51
|
+
const component = async () => component_cache ??= (await import('./_page.svelte-DK9zxeBH.js')).default;
|
|
52
52
|
const server_id = "src/routes/projects/+page.server.ts";
|
|
53
|
-
const imports = ["_app/immutable/nodes/20.
|
|
53
|
+
const imports = ["_app/immutable/nodes/20.zUnZYxQ0.js","_app/immutable/chunks/DGftG5oL.js","_app/immutable/chunks/Bv5o-Er0.js","_app/immutable/chunks/Dsr5dZTK.js","_app/immutable/chunks/B8WnZMYa.js","_app/immutable/chunks/BB7zPpV2.js","_app/immutable/chunks/DZrdToAH.js","_app/immutable/chunks/CTLGzgdN.js"];
|
|
54
54
|
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"];
|
|
55
55
|
const fonts = [];
|
|
56
56
|
|
|
57
57
|
export { component, fonts, imports, index, _page_server_ts as server, server_id, stylesheets };
|
|
58
|
-
//# sourceMappingURL=20-
|
|
58
|
+
//# sourceMappingURL=20-C1RkRzpO.js.map
|
|
@@ -59,11 +59,11 @@ var _page_server_ts = /*#__PURE__*/Object.freeze({
|
|
|
59
59
|
|
|
60
60
|
const index = 24;
|
|
61
61
|
let component_cache;
|
|
62
|
-
const component = async () => component_cache ??= (await import('./_page.svelte-
|
|
62
|
+
const component = async () => component_cache ??= (await import('./_page.svelte-B_qaq7Dz.js')).default;
|
|
63
63
|
const server_id = "src/routes/studio/[projectId]/[sagaId]/+page.server.ts";
|
|
64
|
-
const imports = ["_app/immutable/nodes/24.
|
|
64
|
+
const imports = ["_app/immutable/nodes/24.Pr_b_2ej.js","_app/immutable/chunks/DGftG5oL.js","_app/immutable/chunks/Bv5o-Er0.js","_app/immutable/chunks/Dsr5dZTK.js","_app/immutable/chunks/DDOd_Hjw.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"];
|
|
65
65
|
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"];
|
|
66
66
|
const fonts = [];
|
|
67
67
|
|
|
68
68
|
export { component, fonts, imports, index, _page_server_ts as server, server_id, stylesheets };
|
|
69
|
-
//# sourceMappingURL=24-
|
|
69
|
+
//# sourceMappingURL=24-D87AePY7.js.map
|
|
@@ -577,7 +577,6 @@ var integer = /^-?\d+$/;
|
|
|
577
577
|
var number$1 = /^-?\d+(?:\.\d+)?$/;
|
|
578
578
|
var boolean$1 = /^(?:true|false)$/i;
|
|
579
579
|
var _null$2 = /^null$/i;
|
|
580
|
-
var _undefined$2 = /^undefined$/i;
|
|
581
580
|
var lowercase = /^[^A-Z]*$/;
|
|
582
581
|
var uppercase = /^[^a-z]*$/;
|
|
583
582
|
//#endregion
|
|
@@ -1370,24 +1369,6 @@ var $ZodBoolean = /* @__PURE__ */ $constructor("$ZodBoolean", (inst, def) => {
|
|
|
1370
1369
|
return payload;
|
|
1371
1370
|
};
|
|
1372
1371
|
});
|
|
1373
|
-
var $ZodUndefined = /* @__PURE__ */ $constructor("$ZodUndefined", (inst, def) => {
|
|
1374
|
-
$ZodType.init(inst, def);
|
|
1375
|
-
inst._zod.pattern = _undefined$2;
|
|
1376
|
-
inst._zod.values = new Set([void 0]);
|
|
1377
|
-
inst._zod.optin = "optional";
|
|
1378
|
-
inst._zod.optout = "optional";
|
|
1379
|
-
inst._zod.parse = (payload, _ctx) => {
|
|
1380
|
-
const input = payload.value;
|
|
1381
|
-
if (typeof input === "undefined") return payload;
|
|
1382
|
-
payload.issues.push({
|
|
1383
|
-
expected: "undefined",
|
|
1384
|
-
code: "invalid_type",
|
|
1385
|
-
input,
|
|
1386
|
-
inst
|
|
1387
|
-
});
|
|
1388
|
-
return payload;
|
|
1389
|
-
};
|
|
1390
|
-
});
|
|
1391
1372
|
var $ZodNull = /* @__PURE__ */ $constructor("$ZodNull", (inst, def) => {
|
|
1392
1373
|
$ZodType.init(inst, def);
|
|
1393
1374
|
inst._zod.pattern = _null$2;
|
|
@@ -2566,13 +2547,6 @@ function _boolean(Class, params) {
|
|
|
2566
2547
|
});
|
|
2567
2548
|
}
|
|
2568
2549
|
/* @__NO_SIDE_EFFECTS__ */
|
|
2569
|
-
function _undefined$1(Class, params) {
|
|
2570
|
-
return new Class({
|
|
2571
|
-
type: "undefined",
|
|
2572
|
-
...normalizeParams(params)
|
|
2573
|
-
});
|
|
2574
|
-
}
|
|
2575
|
-
/* @__NO_SIDE_EFFECTS__ */
|
|
2576
2550
|
function _null$1(Class, params) {
|
|
2577
2551
|
return new Class({
|
|
2578
2552
|
type: "null",
|
|
@@ -3132,9 +3106,6 @@ var nullProcessor = (_schema, ctx, json, _params) => {
|
|
|
3132
3106
|
json.enum = [null];
|
|
3133
3107
|
} else json.type = "null";
|
|
3134
3108
|
};
|
|
3135
|
-
var undefinedProcessor = (_schema, ctx, _json, _params) => {
|
|
3136
|
-
if (ctx.unrepresentable === "throw") throw new Error("Undefined cannot be represented in JSON Schema");
|
|
3137
|
-
};
|
|
3138
3109
|
var neverProcessor = (_schema, _ctx, json, _params) => {
|
|
3139
3110
|
json.not = {};
|
|
3140
3111
|
};
|
|
@@ -3681,14 +3652,6 @@ var ZodBoolean = /* @__PURE__ */ $constructor("ZodBoolean", (inst, def) => {
|
|
|
3681
3652
|
function boolean(params) {
|
|
3682
3653
|
return /* @__PURE__ */ _boolean(ZodBoolean, params);
|
|
3683
3654
|
}
|
|
3684
|
-
var ZodUndefined = /* @__PURE__ */ $constructor("ZodUndefined", (inst, def) => {
|
|
3685
|
-
$ZodUndefined.init(inst, def);
|
|
3686
|
-
ZodType.init(inst, def);
|
|
3687
|
-
inst._zod.processJSONSchema = (ctx, json, params) => undefinedProcessor(inst, ctx);
|
|
3688
|
-
});
|
|
3689
|
-
function _undefined(params) {
|
|
3690
|
-
return /* @__PURE__ */ _undefined$1(ZodUndefined, params);
|
|
3691
|
-
}
|
|
3692
3655
|
var ZodNull = /* @__PURE__ */ $constructor("ZodNull", (inst, def) => {
|
|
3693
3656
|
$ZodNull.init(inst, def);
|
|
3694
3657
|
ZodType.init(inst, def);
|
|
@@ -4215,7 +4178,7 @@ object({
|
|
|
4215
4178
|
numFailedTests: number().int().nonnegative().safe().optional(),
|
|
4216
4179
|
numTotalTests: number().int().nonnegative().safe().optional(),
|
|
4217
4180
|
success: boolean().optional(),
|
|
4218
|
-
testResults:
|
|
4181
|
+
testResults: never().optional()
|
|
4219
4182
|
}).superRefine((summary, context) => {
|
|
4220
4183
|
const failed = summary.numFailedTests ?? 0;
|
|
4221
4184
|
if (summary.numTotalTests !== void 0 && summary.numTotalTests < summary.numPassedTests + failed) context.addIssue({
|
|
@@ -4428,7 +4391,9 @@ object({
|
|
|
4428
4391
|
command: string().min(1),
|
|
4429
4392
|
args: array(string()),
|
|
4430
4393
|
cwd: gateBindingPathSchema,
|
|
4431
|
-
environmentHash: string().regex(/^[a-f0-9]{64}$/)
|
|
4394
|
+
environmentHash: string().regex(/^[a-f0-9]{64}$/),
|
|
4395
|
+
executable: gateBindingPathSchema.optional(),
|
|
4396
|
+
environmentKeys: record(string(), string().regex(/^[a-f0-9]{64}$/)).optional()
|
|
4432
4397
|
}).strict().optional(),
|
|
4433
4398
|
artifacts: array(object({
|
|
4434
4399
|
path: gateBindingPathSchema,
|
|
@@ -9741,9 +9706,9 @@ var _page_server_ts = /*#__PURE__*/Object.freeze({
|
|
|
9741
9706
|
|
|
9742
9707
|
const index = 25;
|
|
9743
9708
|
let component_cache;
|
|
9744
|
-
const component = async () => component_cache ??= (await import('./_page.svelte-
|
|
9709
|
+
const component = async () => component_cache ??= (await import('./_page.svelte-BWdv-RoC.js')).default;
|
|
9745
9710
|
const server_id = "src/routes/tasks/+page.server.ts";
|
|
9746
|
-
const imports = ["_app/immutable/nodes/25.
|
|
9711
|
+
const imports = ["_app/immutable/nodes/25.D_Osp6u9.js","_app/immutable/chunks/DGftG5oL.js","_app/immutable/chunks/Bv5o-Er0.js","_app/immutable/chunks/Dsr5dZTK.js","_app/immutable/chunks/DDOd_Hjw.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"];
|
|
9747
9712
|
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"];
|
|
9748
9713
|
const fonts = [];
|
|
9749
9714
|
|
|
@@ -9759,4 +9724,4 @@ var _25 = /*#__PURE__*/Object.freeze({
|
|
|
9759
9724
|
});
|
|
9760
9725
|
|
|
9761
9726
|
export { TASK_STATUSES as T, _25 as _ };
|
|
9762
|
-
//# sourceMappingURL=25-
|
|
9727
|
+
//# sourceMappingURL=25-CVkxWLtJ.js.map
|
|
@@ -195,11 +195,11 @@ var _page_server_ts = /*#__PURE__*/Object.freeze({
|
|
|
195
195
|
|
|
196
196
|
const index = 26;
|
|
197
197
|
let component_cache;
|
|
198
|
-
const component = async () => component_cache ??= (await import('./_page.svelte-
|
|
198
|
+
const component = async () => component_cache ??= (await import('./_page.svelte-_sqnNe-9.js')).default;
|
|
199
199
|
const server_id = "src/routes/tasks/[id]/+page.server.ts";
|
|
200
|
-
const imports = ["_app/immutable/nodes/26.
|
|
200
|
+
const imports = ["_app/immutable/nodes/26.BnYEq8RZ.js","_app/immutable/chunks/DGftG5oL.js","_app/immutable/chunks/Bv5o-Er0.js","_app/immutable/chunks/Dsr5dZTK.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"];
|
|
201
201
|
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"];
|
|
202
202
|
const fonts = [];
|
|
203
203
|
|
|
204
204
|
export { component, fonts, imports, index, _page_server_ts as server, server_id, stylesheets };
|
|
205
|
-
//# sourceMappingURL=26-
|
|
205
|
+
//# sourceMappingURL=26-a9VdKlf1.js.map
|
|
@@ -608,11 +608,11 @@ var _page_server_ts = /*#__PURE__*/Object.freeze({
|
|
|
608
608
|
|
|
609
609
|
const index = 3;
|
|
610
610
|
let component_cache;
|
|
611
|
-
const component = async () => component_cache ??= (await import('./_page.svelte-
|
|
611
|
+
const component = async () => component_cache ??= (await import('./_page.svelte-CmXm2Gnk.js')).default;
|
|
612
612
|
const server_id = "src/routes/brain/+page.server.ts";
|
|
613
|
-
const imports = ["_app/immutable/nodes/3.
|
|
613
|
+
const imports = ["_app/immutable/nodes/3.OYY9nOBY.js","_app/immutable/chunks/DGftG5oL.js","_app/immutable/chunks/CY3heNub.js","_app/immutable/chunks/B8WnZMYa.js","_app/immutable/chunks/ClOyPcRC.js","_app/immutable/chunks/Bv5o-Er0.js","_app/immutable/chunks/DEH43YwF.js","_app/immutable/chunks/CqgtdAx_.js","_app/immutable/chunks/Cge6qiwc.js","_app/immutable/chunks/DZrdToAH.js"];
|
|
614
614
|
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"];
|
|
615
615
|
const fonts = [];
|
|
616
616
|
|
|
617
617
|
export { component, fonts, imports, index, _page_server_ts as server, server_id, stylesheets };
|
|
618
|
-
//# sourceMappingURL=3-
|
|
618
|
+
//# sourceMappingURL=3-Ddc2u_f4.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-
|
|
4
|
-
import './client-
|
|
3
|
+
import { p as page } from './stores-Bgca7ya8.js';
|
|
4
|
+
import './client-CNuA2CYm.js';
|
|
5
5
|
import './index-server-BgfA6C0S.js';
|
|
6
|
-
import './internal-
|
|
6
|
+
import './internal-CizEa5ha.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-
|
|
140
|
+
//# sourceMappingURL=_layout.svelte-CXW21rHP.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-
|
|
2
|
+
import { g as goto } from './client-CNuA2CYm.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-
|
|
9
|
+
import './internal-CizEa5ha.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-
|
|
187
|
+
//# sourceMappingURL=_page.svelte-0LlIrXEF.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-
|
|
2
|
+
import { g as goto } from './client-CNuA2CYm.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-
|
|
9
|
+
import './internal-CizEa5ha.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-
|
|
282
|
+
//# sourceMappingURL=_page.svelte-3AMOCOwI.js.map
|
|
@@ -1,16 +1,16 @@
|
|
|
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
|
-
import { p as page } from './stores-
|
|
3
|
+
import { p as page } from './stores-Bgca7ya8.js';
|
|
4
4
|
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';
|
|
5
|
-
import './client-
|
|
6
|
-
import { T as TASK_STATUSES } from './25-
|
|
5
|
+
import './client-CNuA2CYm.js';
|
|
6
|
+
import { T as TASK_STATUSES } from './25-CVkxWLtJ.js';
|
|
7
7
|
import './index-server-BgfA6C0S.js';
|
|
8
8
|
import '@cleocode/core/tasks/agent-lifecycle-lane';
|
|
9
9
|
import './StatBlock-jNsxycS1.js';
|
|
10
10
|
import './Tabs-DQKDflnT.js';
|
|
11
11
|
import './ui-CkQ-pCs3.js';
|
|
12
12
|
import './no-face-up-B_3h6Hgs.js';
|
|
13
|
-
import './internal-
|
|
13
|
+
import './internal-CizEa5ha.js';
|
|
14
14
|
import './utils-g564cUMV.js';
|
|
15
15
|
import './connections2-DyYEcX2h.js';
|
|
16
16
|
import './cleo-home-_XIqkZaL.js';
|
|
@@ -487,4 +487,4 @@ function _page($$renderer, $$props) {
|
|
|
487
487
|
}
|
|
488
488
|
|
|
489
489
|
export { _page as default };
|
|
490
|
-
//# sourceMappingURL=_page.svelte-
|
|
490
|
+
//# sourceMappingURL=_page.svelte-BWdv-RoC.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-
|
|
3
|
+
import { p as page } from './stores-Bgca7ya8.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-
|
|
6
|
+
import './client-CNuA2CYm.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-
|
|
12
|
+
import './internal-CizEa5ha.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-
|
|
330
|
+
//# sourceMappingURL=_page.svelte-B_qaq7Dz.js.map
|