@cleocode/cleo 2026.12.1 → 2026.12.2-rc.ci.742
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.source-stamp.json +1 -1
- package/dist/cli/{adapter-RVBP7N7P.js → adapter-BFUXPVSC.js} +3 -3
- package/dist/cli/{add-ASQMELHN.js → add-BPQKF6PQ.js} +3 -3
- package/dist/cli/{add-batch-3MVECMLF.js → add-batch-OLXVFPIU.js} +3 -3
- package/dist/cli/{admin-CSFXQAPA.js → admin-JDQ4X7HE.js} +3 -3
- package/dist/cli/{admin-PGAUFILV.js → admin-XKINZMJC.js} +3 -3
- package/dist/cli/{adr-EFHPPMWV.js → adr-FWM4O62W.js} +3 -3
- package/dist/cli/{analyze-KDGMJ4IP.js → analyze-6P23F45L.js} +3 -3
- package/dist/cli/{archive-ZDBB4YYV.js → archive-4KHBXKJO.js} +3 -3
- package/dist/cli/{archive-stats-MCFDZKNM.js → archive-stats-L55VWLOT.js} +3 -3
- package/dist/cli/{attention-J5REU6EB.js → attention-JUE5DC4J.js} +3 -3
- package/dist/cli/{backup-47RNNUZ6.js → backup-ESBKTPGZ.js} +3 -3
- package/dist/cli/{blockers-3UWSAR7T.js → blockers-TB4MAJ5Z.js} +3 -3
- package/dist/cli/{brain-ADSC6PQA.js → brain-QZKLDM3O.js} +47 -2
- package/dist/cli/{briefing-RZHELWOD.js → briefing-TRH34XM2.js} +3 -3
- package/dist/cli/{cancel-RQWEDPOD.js → cancel-RRBWKFAR.js} +3 -3
- package/dist/cli/{check-7PPQFOUT.js → check-6D65ULAH.js} +3 -3
- package/dist/cli/{check-37MBEORC.js → check-ZFGRH3RQ.js} +2 -2
- package/dist/cli/{chunk-3SWOFTXN.js → chunk-UFF3BPX5.js} +2 -2
- package/dist/cli/{chunk-WXTOIXQW.js → chunk-VVU7SGZ7.js} +11 -11
- package/dist/cli/{chunk-EN4JURJV.js → chunk-WJXBFFQ6.js} +2 -2
- package/dist/cli/{claim-GC3B567W.js → claim-A2MNPROJ.js} +3 -3
- package/dist/cli/{cli-EMI6B4YF.js → cli-3SXLZXAQ.js} +3 -3
- package/dist/cli/{complete-OHU7LQTU.js → complete-KV4EEL5U.js} +4 -4
- package/dist/cli/{complexity-4B5BF4JY.js → complexity-QDNCDLWO.js} +3 -3
- package/dist/cli/{compliance-RJWDFPMS.js → compliance-SJUXBDQA.js} +3 -3
- package/dist/cli/{config-HKVFJJNX.js → config-2H4QQP5Q.js} +3 -3
- package/dist/cli/{consensus-XDKPCYEP.js → consensus-M24T7WMV.js} +3 -3
- package/dist/cli/{context-PSUQUVSM.js → context-ZCRMGF5W.js} +3 -3
- package/dist/cli/{contribution-TBLG5ZD2.js → contribution-O5KOYECQ.js} +3 -3
- package/dist/cli/{current-2RFQQEPZ.js → current-OYZBVYQZ.js} +3 -3
- package/dist/cli/{daemon-S6MTFL4A.js → daemon-IX4TK5XB.js} +3 -3
- package/dist/cli/{dash-6F2LPQIW.js → dash-ZJ3RGN65.js} +3 -3
- package/dist/cli/{decompose-IFU2LWCT.js → decompose-7GMHC6CO.js} +3 -3
- package/dist/cli/{decomposition-ZM4UQB4T.js → decomposition-WSYQEE6I.js} +3 -3
- package/dist/cli/{delete-VZT24LR4.js → delete-2K734ZRR.js} +3 -3
- package/dist/cli/{deps-3LD637FG.js → deps-JCIRQTRH.js} +3 -3
- package/dist/cli/{detect-DSB53G6I.js → detect-YWQ4JT5V.js} +3 -3
- package/dist/cli/{diagnostics-Y4672BAO.js → diagnostics-TSFRUP46.js} +3 -3
- package/dist/cli/{docs-GMYLEEU5.js → docs-WZVI3LA6.js} +3 -3
- package/dist/cli/{docs-OO46VQXB.js → docs-ZHBNR6XQ.js} +2 -2
- package/dist/cli/{doctor-FSLTTAPH.js → doctor-UUCVGPHU.js} +3 -3
- package/dist/cli/{done-NXRWC23Q.js → done-CDKX2WOT.js} +11 -4
- package/dist/cli/{export-PAXOCIID.js → export-R5E2O266.js} +3 -3
- package/dist/cli/{export-tasks-CPRDQOGU.js → export-tasks-QG4YLGMP.js} +3 -3
- package/dist/cli/{find-LYAANZPU.js → find-6PT67AVZ.js} +3 -3
- package/dist/cli/{focus-75FY4ML3.js → focus-MECGAVH4.js} +3 -3
- package/dist/cli/{goal-QJ46E6VI.js → goal-OM3NSMDW.js} +2 -2
- package/dist/cli/{grade-C5CZ4BZY.js → grade-O2DXP3MK.js} +3 -3
- package/dist/cli/{graph-VSKKOJP5.js → graph-CNLHYU4J.js} +3 -3
- package/dist/cli/{history-4HGP5WGP.js → history-3SRK6VV4.js} +3 -3
- package/dist/cli/{import-LEUJINHV.js → import-OUDHJ3BX.js} +3 -3
- package/dist/cli/{import-tasks-WT4HR3YI.js → import-tasks-Q2RD3W23.js} +3 -3
- package/dist/cli/index.js +101 -101
- package/dist/cli/{inject-53NT6KZC.js → inject-I3FNHDRP.js} +3 -3
- package/dist/cli/{intelligence-EJ24YCSB.js → intelligence-TZTUWLEJ.js} +3 -3
- package/dist/cli/{issue-2QEHSDVX.js → issue-XFGANMWE.js} +3 -3
- package/dist/cli/{labels-FO3PZBZR.js → labels-5LRAWHTZ.js} +3 -3
- package/dist/cli/{lifecycle-7B7M2YJW.js → lifecycle-UWFANX6D.js} +3 -3
- package/dist/cli/{list-VAR5OTL2.js → list-4QWFXY3S.js} +3 -3
- package/dist/cli/{llm-D2XTMYUV.js → llm-3H6B77P5.js} +3 -3
- package/dist/cli/{log-CWNVHZRS.js → log-3WRU3ALY.js} +3 -3
- package/dist/cli/{manifest-ILHK3LDB.js → manifest-BLKMLHV4.js} +3 -3
- package/dist/cli/{map-BXLNCFLJ.js → map-KDSOB5TF.js} +3 -3
- package/dist/cli/{memory-N4IDKO6A.js → memory-6PZZ36VS.js} +2 -2
- package/dist/cli/{memory-RQPBWB5V.js → memory-JNKZ2G6R.js} +76 -11
- package/dist/cli/{migrate-claude-mem-YRKK3CVZ.js → migrate-claude-mem-WVJ2YMBU.js} +3 -3
- package/dist/cli/{next-IFVNY4H5.js → next-7HWXHPNP.js} +3 -3
- package/dist/cli/{nexus-KDT4BGUZ.js → nexus-ACBNMMVC.js} +2 -2
- package/dist/cli/{nexus-P4VBAEKI.js → nexus-EFXD72K3.js} +3 -3
- package/dist/cli/{ops-UOIQM56L.js → ops-DPOFV7SP.js} +3 -3
- package/dist/cli/{orchestrate-PECLVUCT.js → orchestrate-K7UMB3MR.js} +2 -2
- package/dist/cli/{orchestrate-LEERRT5W.js → orchestrate-LUGMLU7N.js} +3 -3
- package/dist/cli/{phase-5KWXT3GG.js → phase-MQH6IRGV.js} +3 -3
- package/dist/cli/{pipeline-KG65XGKE.js → pipeline-LKIUUCEN.js} +2 -2
- package/dist/cli/{pivot-UNKIMDHN.js → pivot-DILNHRPD.js} +3 -3
- package/dist/cli/{plan-JK54I7QT.js → plan-BQ7TLAHM.js} +3 -3
- package/dist/cli/{playbook-EEFZE63M.js → playbook-TDMAON74.js} +3 -3
- package/dist/cli/{promote-U25UIRDR.js → promote-IFKPZHXJ.js} +3 -3
- package/dist/cli/{provenance-VDPASH6W.js → provenance-MEUJCFCL.js} +3 -3
- package/dist/cli/{provider-ZOKQVEOT.js → provider-LOTROVGJ.js} +3 -3
- package/dist/cli/{reason-GW7JLMD3.js → reason-FC7FVKLY.js} +3 -3
- package/dist/cli/{reconcile-OBUDTAAU.js → reconcile-3V2NG3QH.js} +3 -3
- package/dist/cli/{relates-VXN5EJI3.js → relates-VDGKB43V.js} +3 -3
- package/dist/cli/{release-7MLSBRV4.js → release-J2P22YBT.js} +3 -3
- package/dist/cli/{reorder-G3ASKUIJ.js → reorder-64B5XZR7.js} +3 -3
- package/dist/cli/{reparent-U5I7JD4U.js → reparent-DK7PPPFH.js} +3 -3
- package/dist/cli/{req-5VE2CIAJ.js → req-RW4JDD7R.js} +3 -3
- package/dist/cli/{research-7YZW7CMC.js → research-R3JKX7UA.js} +3 -3
- package/dist/cli/{restore-OMH7LZCI.js → restore-ZNVVJDMU.js} +3 -3
- package/dist/cli/{roadmap-P5UAS2Z4.js → roadmap-7DUHMMRJ.js} +3 -3
- package/dist/cli/{safestop-TAURGYD5.js → safestop-43R2FZIY.js} +3 -3
- package/dist/cli/{saga-IJUASZKT.js → saga-6TSLWRNE.js} +3 -3
- package/dist/cli/{selfimprove-RJS2IZ4B.js → selfimprove-L2J2U2EV.js} +2 -2
- package/dist/cli/{selfimprove-TTWPAFTP.js → selfimprove-L5FFMWBP.js} +3 -3
- package/dist/cli/{sequence-GQXJESLK.js → sequence-NHW35AEG.js} +3 -3
- package/dist/cli/{service-SVYWKUSP.js → service-WQRLY6LE.js} +3 -3
- package/dist/cli/{session-MZKKT5AU.js → session-63GEBEBF.js} +34 -3
- package/dist/cli/{session-NUP4KZCH.js → session-OGNXL72X.js} +11 -2
- package/dist/cli/{show-RUA42REF.js → show-THMWSTAC.js} +3 -3
- package/dist/cli/{skills-5GYFCX46.js → skills-3CJLAADL.js} +3 -3
- package/dist/cli/{snapshot-AG75PWZY.js → snapshot-62MIRWY4.js} +3 -3
- package/dist/cli/{start-6C7JO3XI.js → start-AX77NSCA.js} +3 -3
- package/dist/cli/{stats-OW7R5KAP.js → stats-KHQ7NP3I.js} +3 -3
- package/dist/cli/{sticky-464S6OM2.js → sticky-FCG24GJD.js} +3 -3
- package/dist/cli/{stop-TS7YOZNC.js → stop-C5VDOF7R.js} +3 -3
- package/dist/cli/{sync-VEMBRUFJ.js → sync-JTXVYAZH.js} +3 -3
- package/dist/cli/{tasks-L4UXCUSS.js → tasks-HSFUAWFB.js} +3 -3
- package/dist/cli/{tasks-33TJA542.js → tasks-KTIXDIUO.js} +2 -2
- package/dist/cli/{testing-ACIKJZC4.js → testing-RPCUYVD5.js} +3 -3
- package/dist/cli/{token-Z6QWFBTN.js → token-K3PVFBPG.js} +3 -3
- package/dist/cli/{update-UKOGGK5B.js → update-M42JNLVC.js} +3 -3
- package/dist/cli/{verify-FN4RTIFN.js → verify-KR3F6BQU.js} +3 -3
- package/dist/cli/{worktree-J3EIGMHG.js → worktree-URCZXG2H.js} +3 -3
- package/package.json +14 -14
- package/studio-dist/client/_app/immutable/chunks/{ilFxbo2A.js → B1kV6iJS.js} +1 -1
- package/studio-dist/client/_app/immutable/chunks/BG-HfNLf.js +1 -0
- package/studio-dist/client/_app/immutable/chunks/{mkgMcgnQ.js → BmvyecJ0.js} +1 -1
- package/studio-dist/client/_app/immutable/chunks/{BhHcdT0c.js → DXVGjged.js} +1 -1
- package/studio-dist/client/_app/immutable/entry/{app.5A9o6MfI.js → app.Dx38yKn7.js} +2 -2
- package/studio-dist/client/_app/immutable/entry/start.D3yHRz96.js +1 -0
- package/studio-dist/client/_app/immutable/nodes/{0.CBO6B0Ie.js → 0.5Yr6W79n.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{1.Djsz1Zgl.js → 1.DAl7co4O.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{15.foyaa7gv.js → 15.B3Xl2zIL.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{16.BhHImUG_.js → 16.BUH9V-Uw.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{17.CPWmu_3g.js → 17.BVFWZS2c.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{18.BiE1EAsU.js → 18.BSJnpvIZ.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{20.DYfNBTOu.js → 20.BbuWbJki.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{24.Cy0GnTAQ.js → 24.Le4idGC1.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{25.DmG-yqqt.js → 25.DIPFczsl.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{26.D3r3UarZ.js → 26.Bx7-XVMb.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{3.BWJnElvy.js → 3.ByIfwUad.js} +1 -1
- package/studio-dist/client/_app/version.json +1 -1
- package/studio-dist/server/chunks/{0-BEYohqeE.js → 0-eCvVxYuA.js} +3 -3
- package/studio-dist/server/chunks/1-BRoFzzpw.js +9 -0
- package/studio-dist/server/chunks/{15-T42Y_DRb.js → 15-BJEkcew5.js} +3 -3
- package/studio-dist/server/chunks/{16-BwKMLDX5.js → 16-CcfaoDVf.js} +3 -3
- package/studio-dist/server/chunks/{17-Dtl66ypF.js → 17-CjNCCxpB.js} +3 -3
- package/studio-dist/server/chunks/{18-JNfYmU7k.js → 18-BJmwAlM2.js} +3 -3
- package/studio-dist/server/chunks/{20-CaW2ZWpT.js → 20-BAtqmoPd.js} +3 -3
- package/studio-dist/server/chunks/{24-0dDV9it2.js → 24-yKA_Rjw2.js} +3 -3
- package/studio-dist/server/chunks/{25-h8Rv1JYe.js → 25-Bj6B-w3Z.js} +3 -3
- package/studio-dist/server/chunks/{26-Cn69onj-.js → 26-BG_5KIy_.js} +3 -3
- package/studio-dist/server/chunks/{3-Dh7po6q4.js → 3-CIw9RokK.js} +8 -5
- package/studio-dist/server/chunks/{_layout.svelte-BbUvnUty.js → _layout.svelte-Cj8Oowhv.js} +4 -4
- package/studio-dist/server/chunks/{_page.svelte-V_09yDkF.js → _page.svelte-BF7Xo-XC.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-CPCInLv4.js → _page.svelte-BoC0kBgd.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-BKKzbd8t.js → _page.svelte-CNGTitEV.js} +4 -4
- package/studio-dist/server/chunks/{_page.svelte-ezpkgLoH.js → _page.svelte-CaHy_l5W.js} +5 -5
- package/studio-dist/server/chunks/{_page.svelte-Bf75mWnT.js → _page.svelte-CkFeAkFf.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-D8kPdqRL.js → _page.svelte-ClBy5BRM.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-wlTMZYd5.js → _page.svelte-WySKzKVw.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-VgER41Ip.js → _page.svelte-XnG1EL6X.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-BWFpJphq.js → _page.svelte-qgZrIPLU.js} +3 -3
- package/studio-dist/server/chunks/{_server.ts-CFUanB80.js → _server.ts-1WojUDQ4.js} +3 -2
- package/studio-dist/server/chunks/{_server.ts-BI7omFLf.js → _server.ts-BC0bdsTq.js} +4 -3
- package/studio-dist/server/chunks/{_server.ts-O5iKqt5Z.js → _server.ts-Bkli2Sc6.js} +3 -2
- package/studio-dist/server/chunks/{_server.ts-DEVbc6oI.js → _server.ts-C0CvoZRI.js} +4 -3
- package/studio-dist/server/chunks/{_server.ts-0cS4nH3B.js → _server.ts-CqK1H9en.js} +3 -2
- package/studio-dist/server/chunks/{_server.ts-gPN8iJX_.js → _server.ts-mwG7dy0q.js} +2 -2
- package/studio-dist/server/chunks/{brain-B7Le_niq.js → brain-CRQtf64s.js} +2 -2
- package/studio-dist/server/chunks/{client-Dki4xTSt.js → client-DPzfOMIF.js} +2 -2
- package/studio-dist/server/chunks/{error.svelte-Ck_QYXrq.js → error.svelte-D1TF_yqb.js} +3 -3
- package/studio-dist/server/chunks/{internal-BnCarrjG.js → internal-DrgFcFLK.js} +2 -2
- package/studio-dist/server/chunks/{src-kxlatCMO.js → src-BXDucTCR.js} +3 -2
- package/studio-dist/server/chunks/{stores-CQpAcEty.js → stores-DIkOZS5D.js} +2 -2
- package/studio-dist/server/index.js +1 -1
- package/studio-dist/server/manifest.js +18 -18
- package/studio-dist/client/_app/immutable/chunks/aSNNLaaz.js +0 -1
- package/studio-dist/client/_app/immutable/entry/start.DP28p2Ho.js +0 -1
- package/studio-dist/server/chunks/1-F7X4jdLl.js +0 -9
|
@@ -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/mkgMcgnQ.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/BmvyecJ0.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":"1796583647039"}
|
|
@@ -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-Cj8Oowhv.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.5Yr6W79n.js","_app/immutable/chunks/DGftG5oL.js","_app/immutable/chunks/DXVGjged.js","_app/immutable/chunks/B1kV6iJS.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-eCvVxYuA.js.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const index = 1;
|
|
2
|
+
let component_cache;
|
|
3
|
+
const component = async () => component_cache ??= (await import('./error.svelte-D1TF_yqb.js')).default;
|
|
4
|
+
const imports = ["_app/immutable/nodes/1.DAl7co4O.js","_app/immutable/chunks/DGftG5oL.js","_app/immutable/chunks/BmvyecJ0.js","_app/immutable/chunks/B1kV6iJS.js","_app/immutable/chunks/B8WnZMYa.js"];
|
|
5
|
+
const stylesheets = [];
|
|
6
|
+
const fonts = [];
|
|
7
|
+
|
|
8
|
+
export { component, fonts, imports, index, stylesheets };
|
|
9
|
+
//# sourceMappingURL=1-BRoFzzpw.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-BoC0kBgd.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.B3Xl2zIL.js","_app/immutable/chunks/DGftG5oL.js","_app/immutable/chunks/B1kV6iJS.js","_app/immutable/chunks/BG-HfNLf.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-BJEkcew5.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-XnG1EL6X.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.BUH9V-Uw.js","_app/immutable/chunks/DGftG5oL.js","_app/immutable/chunks/B1kV6iJS.js","_app/immutable/chunks/BG-HfNLf.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-CcfaoDVf.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-qgZrIPLU.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.BVFWZS2c.js","_app/immutable/chunks/DGftG5oL.js","_app/immutable/chunks/B1kV6iJS.js","_app/immutable/chunks/BG-HfNLf.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-CjNCCxpB.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-BF7Xo-XC.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.BSJnpvIZ.js","_app/immutable/chunks/DGftG5oL.js","_app/immutable/chunks/B1kV6iJS.js","_app/immutable/chunks/BG-HfNLf.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-BJmwAlM2.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-ClBy5BRM.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.BbuWbJki.js","_app/immutable/chunks/DGftG5oL.js","_app/immutable/chunks/B1kV6iJS.js","_app/immutable/chunks/BG-HfNLf.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-BAtqmoPd.js.map
|
|
@@ -62,11 +62,11 @@ var _page_server_ts = /*#__PURE__*/Object.freeze({
|
|
|
62
62
|
|
|
63
63
|
const index = 24;
|
|
64
64
|
let component_cache;
|
|
65
|
-
const component = async () => component_cache ??= (await import('./_page.svelte-
|
|
65
|
+
const component = async () => component_cache ??= (await import('./_page.svelte-CNGTitEV.js')).default;
|
|
66
66
|
const server_id = "src/routes/studio/[projectId]/[sagaId]/+page.server.ts";
|
|
67
|
-
const imports = ["_app/immutable/nodes/24.
|
|
67
|
+
const imports = ["_app/immutable/nodes/24.Le4idGC1.js","_app/immutable/chunks/DGftG5oL.js","_app/immutable/chunks/B1kV6iJS.js","_app/immutable/chunks/BG-HfNLf.js","_app/immutable/chunks/DXVGjged.js","_app/immutable/chunks/BHug0C4v.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/Hrs4Fplw.js"];
|
|
68
68
|
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"];
|
|
69
69
|
const fonts = [];
|
|
70
70
|
|
|
71
71
|
export { component, fonts, imports, index, _page_server_ts as server, server_id, stylesheets };
|
|
72
|
-
//# sourceMappingURL=24-
|
|
72
|
+
//# sourceMappingURL=24-yKA_Rjw2.js.map
|
|
@@ -10024,9 +10024,9 @@ var _page_server_ts = /*#__PURE__*/Object.freeze({
|
|
|
10024
10024
|
|
|
10025
10025
|
const index = 25;
|
|
10026
10026
|
let component_cache;
|
|
10027
|
-
const component = async () => component_cache ??= (await import('./_page.svelte-
|
|
10027
|
+
const component = async () => component_cache ??= (await import('./_page.svelte-CaHy_l5W.js')).default;
|
|
10028
10028
|
const server_id = "src/routes/tasks/+page.server.ts";
|
|
10029
|
-
const imports = ["_app/immutable/nodes/25.
|
|
10029
|
+
const imports = ["_app/immutable/nodes/25.DIPFczsl.js","_app/immutable/chunks/DGftG5oL.js","_app/immutable/chunks/B1kV6iJS.js","_app/immutable/chunks/BG-HfNLf.js","_app/immutable/chunks/DXVGjged.js","_app/immutable/chunks/BHug0C4v.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"];
|
|
10030
10030
|
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"];
|
|
10031
10031
|
const fonts = [];
|
|
10032
10032
|
|
|
@@ -10042,4 +10042,4 @@ var _25 = /*#__PURE__*/Object.freeze({
|
|
|
10042
10042
|
});
|
|
10043
10043
|
|
|
10044
10044
|
export { TASK_STATUSES as T, _25 as _ };
|
|
10045
|
-
//# sourceMappingURL=25-
|
|
10045
|
+
//# sourceMappingURL=25-Bj6B-w3Z.js.map
|
|
@@ -196,11 +196,11 @@ var _page_server_ts = /*#__PURE__*/Object.freeze({
|
|
|
196
196
|
|
|
197
197
|
const index = 26;
|
|
198
198
|
let component_cache;
|
|
199
|
-
const component = async () => component_cache ??= (await import('./_page.svelte-
|
|
199
|
+
const component = async () => component_cache ??= (await import('./_page.svelte-WySKzKVw.js')).default;
|
|
200
200
|
const server_id = "src/routes/tasks/[id]/+page.server.ts";
|
|
201
|
-
const imports = ["_app/immutable/nodes/26.
|
|
201
|
+
const imports = ["_app/immutable/nodes/26.Bx7-XVMb.js","_app/immutable/chunks/DGftG5oL.js","_app/immutable/chunks/B1kV6iJS.js","_app/immutable/chunks/BG-HfNLf.js","_app/immutable/chunks/BHug0C4v.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"];
|
|
202
202
|
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"];
|
|
203
203
|
const fonts = [];
|
|
204
204
|
|
|
205
205
|
export { component, fonts, imports, index, _page_server_ts as server, server_id, stylesheets };
|
|
206
|
-
//# sourceMappingURL=26-
|
|
206
|
+
//# sourceMappingURL=26-BG_5KIy_.js.map
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { g as getAllSubstrates, r as readProjectStore } from './src-
|
|
2
|
-
import { b as buildCacheKey, g as getCachedGraph, r as recordBrainLoadDuration, a as getBrainCacheMetrics, s as setCachedGraph } from './brain-
|
|
1
|
+
import { g as getAllSubstrates, r as readProjectStore } from './src-BXDucTCR.js';
|
|
2
|
+
import { b as buildCacheKey, g as getCachedGraph, r as recordBrainLoadDuration, a as getBrainCacheMetrics, s as setCachedGraph } from './brain-CRQtf64s.js';
|
|
3
|
+
import { liveEdgeSql } from '@cleocode/core/memory/edge-types.js';
|
|
3
4
|
import './errors-CbKNtzWS.js';
|
|
4
5
|
import 'node:module';
|
|
5
6
|
import 'node:fs';
|
|
@@ -257,6 +258,7 @@ function bridgeBrainNexusViaPageEdges(db, nodeIds) {
|
|
|
257
258
|
try {
|
|
258
259
|
const rows = allTyped(db.prepare(`SELECT from_id, to_id, edge_type, weight
|
|
259
260
|
FROM brain_page_edges
|
|
261
|
+
WHERE ${liveEdgeSql()}
|
|
260
262
|
LIMIT 5000`));
|
|
261
263
|
for (const row of rows) {
|
|
262
264
|
if (!isNexusStyleId(row.to_id)) continue;
|
|
@@ -371,6 +373,7 @@ function bridgeConduitTasksViaPageEdges(db, nodeIds) {
|
|
|
371
373
|
FROM brain_page_edges
|
|
372
374
|
WHERE from_id LIKE 'msg:%'
|
|
373
375
|
AND to_id LIKE 'task:%'
|
|
376
|
+
AND ${liveEdgeSql()}
|
|
374
377
|
LIMIT 1000`));
|
|
375
378
|
for (const row of rows) {
|
|
376
379
|
if (!isMsgRef(row.from_id) || !isTaskRef(row.to_id)) continue;
|
|
@@ -606,11 +609,11 @@ var _page_server_ts = /*#__PURE__*/Object.freeze({
|
|
|
606
609
|
|
|
607
610
|
const index = 3;
|
|
608
611
|
let component_cache;
|
|
609
|
-
const component = async () => component_cache ??= (await import('./_page.svelte-
|
|
612
|
+
const component = async () => component_cache ??= (await import('./_page.svelte-CkFeAkFf.js')).default;
|
|
610
613
|
const server_id = "src/routes/brain/+page.server.ts";
|
|
611
|
-
const imports = ["_app/immutable/nodes/3.
|
|
614
|
+
const imports = ["_app/immutable/nodes/3.ByIfwUad.js","_app/immutable/chunks/DGftG5oL.js","_app/immutable/chunks/CY3heNub.js","_app/immutable/chunks/B8WnZMYa.js","_app/immutable/chunks/BmvyecJ0.js","_app/immutable/chunks/B1kV6iJS.js","_app/immutable/chunks/DEH43YwF.js","_app/immutable/chunks/CqgtdAx_.js","_app/immutable/chunks/Cge6qiwc.js","_app/immutable/chunks/DZrdToAH.js"];
|
|
612
615
|
const stylesheets = ["_app/immutable/assets/cluster-label-layer.aRgASjnn.css","_app/immutable/assets/no-face-up.BlswZ73M.css","_app/immutable/assets/ThreeBrainRenderer.BSwu9fuL.css","_app/immutable/assets/Tabs.CU9_rsWl.css","_app/immutable/assets/3.DqDkvXKx.css"];
|
|
613
616
|
const fonts = [];
|
|
614
617
|
|
|
615
618
|
export { component, fonts, imports, index, _page_server_ts as server, server_id, stylesheets };
|
|
616
|
-
//# sourceMappingURL=3-
|
|
619
|
+
//# sourceMappingURL=3-CIw9RokK.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-DIkOZS5D.js';
|
|
4
|
+
import './client-DPzfOMIF.js';
|
|
5
5
|
import './index-server-BgfA6C0S.js';
|
|
6
|
-
import './internal-
|
|
6
|
+
import './internal-DrgFcFLK.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-Cj8Oowhv.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { x as head, p as escape_html, m as attr_class, j as ensure_array_like, k as attr, t as attr_style, w as derived } from './dev-Br5zieNA.js';
|
|
2
|
-
import { g as goto } from './client-
|
|
2
|
+
import { g as goto } from './client-DPzfOMIF.js';
|
|
3
3
|
import { a as Breadcrumb, C as Card, T as Tabs } from './Tabs-DQKDflnT.js';
|
|
4
4
|
import { c as TabPanel } from './ui-CkQ-pCs3.js';
|
|
5
5
|
import { d as describeEdgeKind, E as EDGE_STYLE } from './no-face-up-B_3h6Hgs.js';
|
|
6
6
|
import { C as CosmosRenderer, m as mapNexusRelationToEdgeKind } from './nexus-adapter-D1ryYG1Z.js';
|
|
7
7
|
import './index-server-BgfA6C0S.js';
|
|
8
8
|
import 'node:module';
|
|
9
|
-
import './internal-
|
|
9
|
+
import './internal-DrgFcFLK.js';
|
|
10
10
|
import './utils-g564cUMV.js';
|
|
11
11
|
import './cluster-label-layer-CysRMvhi.js';
|
|
12
12
|
|
|
@@ -229,4 +229,4 @@ function _page($$renderer, $$props) {
|
|
|
229
229
|
}
|
|
230
230
|
|
|
231
231
|
export { _page as default };
|
|
232
|
-
//# sourceMappingURL=_page.svelte-
|
|
232
|
+
//# sourceMappingURL=_page.svelte-BF7Xo-XC.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-DPzfOMIF.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-DrgFcFLK.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-BoC0kBgd.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
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-DIkOZS5D.js';
|
|
4
4
|
import { B as Badge } from './Tabs-DQKDflnT.js';
|
|
5
5
|
import { S as SvgRenderer, D as DetailDrawer } from './tasks-CtL5gCpX.js';
|
|
6
|
-
import './client-
|
|
6
|
+
import './client-DPzfOMIF.js';
|
|
7
7
|
import { t as tasksToGraph } from './tasks-adapter-BVlE_iD7.js';
|
|
8
8
|
import '@cleocode/core/tasks/agent-lifecycle-lane';
|
|
9
9
|
import './index-server-BgfA6C0S.js';
|
|
@@ -11,7 +11,7 @@ import './StatBlock-jNsxycS1.js';
|
|
|
11
11
|
import './ui-CkQ-pCs3.js';
|
|
12
12
|
import './no-face-up-B_3h6Hgs.js';
|
|
13
13
|
import '@cleocode/core/tasks/dependency-check';
|
|
14
|
-
import './internal-
|
|
14
|
+
import './internal-DrgFcFLK.js';
|
|
15
15
|
import './utils-g564cUMV.js';
|
|
16
16
|
|
|
17
17
|
//#region src/lib/components/WorkGraphView.svelte
|
|
@@ -332,4 +332,4 @@ function _page($$renderer, $$props) {
|
|
|
332
332
|
}
|
|
333
333
|
|
|
334
334
|
export { _page as default };
|
|
335
|
-
//# sourceMappingURL=_page.svelte-
|
|
335
|
+
//# sourceMappingURL=_page.svelte-CNGTitEV.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { o as store_get, x as head, m as attr_class, p as escape_html, k as attr, j as ensure_array_like, t as attr_style, q as unsubscribe_stores, w as derived, v as stringify } from './dev-Br5zieNA.js';
|
|
2
2
|
import 'node:module';
|
|
3
|
-
import { p as page } from './stores-
|
|
3
|
+
import { p as page } from './stores-DIkOZS5D.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-CtL5gCpX.js';
|
|
5
|
-
import './client-
|
|
6
|
-
import { T as TASK_STATUSES } from './25-
|
|
5
|
+
import './client-DPzfOMIF.js';
|
|
6
|
+
import { T as TASK_STATUSES } from './25-Bj6B-w3Z.js';
|
|
7
7
|
import './index-server-BgfA6C0S.js';
|
|
8
8
|
import '@cleocode/core/tasks/agent-lifecycle-lane';
|
|
9
9
|
import './StatBlock-jNsxycS1.js';
|
|
@@ -12,7 +12,7 @@ import './ui-CkQ-pCs3.js';
|
|
|
12
12
|
import './no-face-up-B_3h6Hgs.js';
|
|
13
13
|
import './tasks-adapter-BVlE_iD7.js';
|
|
14
14
|
import '@cleocode/core/tasks/dependency-check';
|
|
15
|
-
import './internal-
|
|
15
|
+
import './internal-DrgFcFLK.js';
|
|
16
16
|
import './utils-g564cUMV.js';
|
|
17
17
|
import './connections2-DyYEcX2h.js';
|
|
18
18
|
import './cleo-home-_XIqkZaL.js';
|
|
@@ -495,4 +495,4 @@ function _page($$renderer, $$props) {
|
|
|
495
495
|
}
|
|
496
496
|
|
|
497
497
|
export { _page as default };
|
|
498
|
-
//# sourceMappingURL=_page.svelte-
|
|
498
|
+
//# sourceMappingURL=_page.svelte-CaHy_l5W.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { o as onDestroy } from './index-server-BgfA6C0S.js';
|
|
2
2
|
import { t as attr_style, v as stringify, x as head, p as escape_html, k as attr, m as attr_class, j as ensure_array_like, y as bind_props, w as derived } from './dev-Br5zieNA.js';
|
|
3
|
-
import './client-
|
|
3
|
+
import './client-DPzfOMIF.js';
|
|
4
4
|
import { a as Breadcrumb, B as Badge, T as Tabs, C as Card, I as IconButton } from './Tabs-DQKDflnT.js';
|
|
5
5
|
import './cluster-label-layer-CysRMvhi.js';
|
|
6
6
|
import { H as Hover_label, r as resolveEdgeStyleForWebGL, A as ALL_EDGE_KINDS, d as describeEdgeKind, E as EDGE_STYLE } from './no-face-up-B_3h6Hgs.js';
|
|
7
7
|
import 'node:module';
|
|
8
|
-
import './internal-
|
|
8
|
+
import './internal-DrgFcFLK.js';
|
|
9
9
|
import './utils-g564cUMV.js';
|
|
10
10
|
|
|
11
11
|
//#region src/lib/graph/types.ts
|
|
@@ -1159,4 +1159,4 @@ function _page($$renderer, $$props) {
|
|
|
1159
1159
|
}
|
|
1160
1160
|
|
|
1161
1161
|
export { _page as default };
|
|
1162
|
-
//# sourceMappingURL=_page.svelte-
|
|
1162
|
+
//# sourceMappingURL=_page.svelte-CkFeAkFf.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { x as head, j as ensure_array_like, p as escape_html, k as attr, m as attr_class, v as stringify, y as bind_props, w as derived } from './dev-Br5zieNA.js';
|
|
2
|
-
import './client-
|
|
2
|
+
import './client-DPzfOMIF.js';
|
|
3
3
|
import { H as HeroHeader } from './HeroHeader-BrGN5WPw.js';
|
|
4
4
|
import { C as Card, B as Badge } from './Tabs-DQKDflnT.js';
|
|
5
5
|
import { B as Button, M as Modal, I as Input } from './ui-CkQ-pCs3.js';
|
|
6
6
|
import './index-server-BgfA6C0S.js';
|
|
7
7
|
import 'node:module';
|
|
8
|
-
import './internal-
|
|
8
|
+
import './internal-DrgFcFLK.js';
|
|
9
9
|
import './utils-g564cUMV.js';
|
|
10
10
|
|
|
11
11
|
//#region src/lib/components/admin/AuditLogPanel.svelte
|
|
@@ -1554,4 +1554,4 @@ function _page($$renderer, $$props) {
|
|
|
1554
1554
|
}
|
|
1555
1555
|
|
|
1556
1556
|
export { _page as default };
|
|
1557
|
-
//# sourceMappingURL=_page.svelte-
|
|
1557
|
+
//# sourceMappingURL=_page.svelte-ClBy5BRM.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-DPzfOMIF.js';
|
|
3
3
|
import { H as HeroHeader } from './HeroHeader-BrGN5WPw.js';
|
|
4
4
|
import { a as Breadcrumb, B as Badge, C as Card } from './Tabs-DQKDflnT.js';
|
|
5
5
|
import { B as Button } from './ui-CkQ-pCs3.js';
|
|
6
6
|
import { a as StatusBadge, f as formatTime, g as gatesFromJson, P as PriorityBadge, S as SvgRenderer } from './tasks-CtL5gCpX.js';
|
|
7
7
|
import './index-server-BgfA6C0S.js';
|
|
8
8
|
import 'node:module';
|
|
9
|
-
import './internal-
|
|
9
|
+
import './internal-DrgFcFLK.js';
|
|
10
10
|
import './utils-g564cUMV.js';
|
|
11
11
|
import '@cleocode/core/tasks/agent-lifecycle-lane';
|
|
12
12
|
import './StatBlock-jNsxycS1.js';
|
|
@@ -556,4 +556,4 @@ function _page($$renderer, $$props) {
|
|
|
556
556
|
}
|
|
557
557
|
|
|
558
558
|
export { _page as default };
|
|
559
|
-
//# sourceMappingURL=_page.svelte-
|
|
559
|
+
//# sourceMappingURL=_page.svelte-WySKzKVw.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-DPzfOMIF.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-DrgFcFLK.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-XnG1EL6X.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { x as head, p as escape_html, j as ensure_array_like, w as derived, m as attr_class } from './dev-Br5zieNA.js';
|
|
2
|
-
import { g as goto } from './client-
|
|
2
|
+
import { g as goto } from './client-DPzfOMIF.js';
|
|
3
3
|
import { a as Breadcrumb, C as Card } from './Tabs-DQKDflnT.js';
|
|
4
4
|
import { E as EmptyState } from './ui-CkQ-pCs3.js';
|
|
5
5
|
import { C as CosmosRenderer, m as mapNexusRelationToEdgeKind } from './nexus-adapter-D1ryYG1Z.js';
|
|
6
6
|
import './index-server-BgfA6C0S.js';
|
|
7
7
|
import 'node:module';
|
|
8
|
-
import './internal-
|
|
8
|
+
import './internal-DrgFcFLK.js';
|
|
9
9
|
import './utils-g564cUMV.js';
|
|
10
10
|
import './cluster-label-layer-CysRMvhi.js';
|
|
11
11
|
import './no-face-up-B_3h6Hgs.js';
|
|
@@ -176,4 +176,4 @@ function _page($$renderer, $$props) {
|
|
|
176
176
|
}
|
|
177
177
|
|
|
178
178
|
export { _page as default };
|
|
179
|
-
//# sourceMappingURL=_page.svelte-
|
|
179
|
+
//# sourceMappingURL=_page.svelte-qgZrIPLU.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { j as json } from './exports-Dg-gdPPq.js';
|
|
2
|
-
import { g as getAllSubstrates } from './src-
|
|
2
|
+
import { g as getAllSubstrates } from './src-BXDucTCR.js';
|
|
3
3
|
import './utils-g564cUMV.js';
|
|
4
4
|
import './errors-CbKNtzWS.js';
|
|
5
5
|
import 'node:module';
|
|
@@ -9,6 +9,7 @@ import 'node:path';
|
|
|
9
9
|
import 'node:crypto';
|
|
10
10
|
import 'node:os';
|
|
11
11
|
import 'node:process';
|
|
12
|
+
import '@cleocode/core/memory/edge-types.js';
|
|
12
13
|
|
|
13
14
|
//#region src/routes/api/brain/node/[id]/+server.ts
|
|
14
15
|
/**
|
|
@@ -55,4 +56,4 @@ var GET = ({ locals, params }) => {
|
|
|
55
56
|
};
|
|
56
57
|
|
|
57
58
|
export { GET };
|
|
58
|
-
//# sourceMappingURL=_server.ts-
|
|
59
|
+
//# sourceMappingURL=_server.ts-1WojUDQ4.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as getAllSubstrates } from './src-
|
|
2
|
-
import { r as recordBrainLoadDuration } from './brain-
|
|
1
|
+
import { g as getAllSubstrates } from './src-BXDucTCR.js';
|
|
2
|
+
import { r as recordBrainLoadDuration } from './brain-CRQtf64s.js';
|
|
3
3
|
import './errors-CbKNtzWS.js';
|
|
4
4
|
import 'node:module';
|
|
5
5
|
import 'node:fs';
|
|
@@ -8,6 +8,7 @@ import 'node:path';
|
|
|
8
8
|
import 'node:crypto';
|
|
9
9
|
import 'node:os';
|
|
10
10
|
import 'node:process';
|
|
11
|
+
import '@cleocode/core/memory/edge-types.js';
|
|
11
12
|
|
|
12
13
|
//#region src/routes/api/brain/chunks/+server.ts
|
|
13
14
|
/**
|
|
@@ -113,4 +114,4 @@ var GET = ({ locals, url }) => {
|
|
|
113
114
|
};
|
|
114
115
|
|
|
115
116
|
export { GET };
|
|
116
|
-
//# sourceMappingURL=_server.ts-
|
|
117
|
+
//# sourceMappingURL=_server.ts-BC0bdsTq.js.map
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { j as json } from './exports-Dg-gdPPq.js';
|
|
2
2
|
import { a as getBrainDb } from './connections2-DyYEcX2h.js';
|
|
3
|
+
import { liveEdgeSql } from '@cleocode/core/memory/edge-types.js';
|
|
3
4
|
import './utils-g564cUMV.js';
|
|
4
5
|
import './cleo-home-_XIqkZaL.js';
|
|
5
6
|
import 'node:fs';
|
|
@@ -108,7 +109,7 @@ var GET = ({ locals, url }) => {
|
|
|
108
109
|
metadataJson: n.metadata_json,
|
|
109
110
|
createdAt: n.created_at
|
|
110
111
|
}));
|
|
111
|
-
const allEdges = db.prepare(`SELECT from_id, to_id, edge_type, weight, created_at FROM brain_page_edges`).all();
|
|
112
|
+
const allEdges = db.prepare(`SELECT from_id, to_id, edge_type, weight, created_at FROM brain_page_edges WHERE ${liveEdgeSql()}`).all();
|
|
112
113
|
const totalEdges = allEdges.length;
|
|
113
114
|
return json({
|
|
114
115
|
nodes,
|
|
@@ -132,4 +133,4 @@ var GET = ({ locals, url }) => {
|
|
|
132
133
|
};
|
|
133
134
|
|
|
134
135
|
export { GET };
|
|
135
|
-
//# sourceMappingURL=_server.ts-
|
|
136
|
+
//# sourceMappingURL=_server.ts-Bkli2Sc6.js.map
|