@cleocode/cleo 2026.9.4 → 2026.9.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/dist/cli/index.js +93 -21
  2. package/dist/cli/index.js.map +1 -1
  3. package/package.json +13 -13
  4. package/studio-dist/client/_app/immutable/chunks/{CfaaCiec.js → B4pbMhWh.js} +1 -1
  5. package/studio-dist/client/_app/immutable/chunks/Cq8SkApb.js +3 -0
  6. package/studio-dist/client/_app/immutable/chunks/{wIquQ8oS.js → DQE2lHpR.js} +1 -1
  7. package/studio-dist/client/_app/immutable/chunks/Dw--1J0g.js +1 -0
  8. package/studio-dist/client/_app/immutable/entry/{app.DmCNBm9N.js → app.AO-dq23l.js} +2 -2
  9. package/studio-dist/client/_app/immutable/entry/start.DyU3_ZJI.js +1 -0
  10. package/studio-dist/client/_app/immutable/nodes/{0.CgZmurcA.js → 0.pcHH7cls.js} +1 -1
  11. package/studio-dist/client/_app/immutable/nodes/{1.1dbkrilf.js → 1.BZ_6sEg7.js} +1 -1
  12. package/studio-dist/client/_app/immutable/nodes/{15.Bz_Nz80F.js → 15.C49XuRDg.js} +1 -1
  13. package/studio-dist/client/_app/immutable/nodes/{16.D6pij0yb.js → 16.D_IEqgU8.js} +1 -1
  14. package/studio-dist/client/_app/immutable/nodes/{17.DJb8ywg2.js → 17.DMmmyyKw.js} +1 -1
  15. package/studio-dist/client/_app/immutable/nodes/{18.D3v2MpXF.js → 18.BeHgL2ha.js} +1 -1
  16. package/studio-dist/client/_app/immutable/nodes/{20.KY914NXe.js → 20.ByQCOFEK.js} +1 -1
  17. package/studio-dist/client/_app/immutable/nodes/{24.CZxqm68e.js → 24.DKhWVVfG.js} +1 -1
  18. package/studio-dist/client/_app/immutable/nodes/{25.olJPvxdc.js → 25.BS4Qyw38.js} +1 -1
  19. package/studio-dist/client/_app/immutable/nodes/{26.e4ryC6oN.js → 26.CZ-vCPq6.js} +1 -1
  20. package/studio-dist/client/_app/immutable/nodes/{3.DywBpwr0.js → 3.B1Ua25St.js} +1 -1
  21. package/studio-dist/client/_app/version.json +1 -1
  22. package/studio-dist/server/chunks/{0-DwFPJnkU.js → 0-BkBuauLU.js} +3 -3
  23. package/studio-dist/server/chunks/{0-DwFPJnkU.js.map → 0-BkBuauLU.js.map} +1 -1
  24. package/studio-dist/server/chunks/{1-CG5_Q8zX.js → 1-C-FPVHUW.js} +3 -3
  25. package/studio-dist/server/chunks/{1-CG5_Q8zX.js.map → 1-C-FPVHUW.js.map} +1 -1
  26. package/studio-dist/server/chunks/{15-CZZGY2wS.js → 15-BEk78EBu.js} +3 -3
  27. package/studio-dist/server/chunks/{15-CZZGY2wS.js.map → 15-BEk78EBu.js.map} +1 -1
  28. package/studio-dist/server/chunks/{16-i0yNeXoO.js → 16-BzISLvSG.js} +3 -3
  29. package/studio-dist/server/chunks/{16-i0yNeXoO.js.map → 16-BzISLvSG.js.map} +1 -1
  30. package/studio-dist/server/chunks/{17-DpnTEz3y.js → 17-DGt4P3nJ.js} +3 -3
  31. package/studio-dist/server/chunks/{17-DpnTEz3y.js.map → 17-DGt4P3nJ.js.map} +1 -1
  32. package/studio-dist/server/chunks/{18-BlVCh80I.js → 18-DLGcIwmV.js} +3 -3
  33. package/studio-dist/server/chunks/{18-BlVCh80I.js.map → 18-DLGcIwmV.js.map} +1 -1
  34. package/studio-dist/server/chunks/{20-DuPsaTgc.js → 20-BvcOxe5q.js} +3 -3
  35. package/studio-dist/server/chunks/{20-DuPsaTgc.js.map → 20-BvcOxe5q.js.map} +1 -1
  36. package/studio-dist/server/chunks/{24-NxmS9Pgy.js → 24-DlzL0G3_.js} +3 -3
  37. package/studio-dist/server/chunks/{24-NxmS9Pgy.js.map → 24-DlzL0G3_.js.map} +1 -1
  38. package/studio-dist/server/chunks/{25-mYlhGw4v.js → 25-BkcpAlfJ.js} +3 -3
  39. package/studio-dist/server/chunks/{25-mYlhGw4v.js.map → 25-BkcpAlfJ.js.map} +1 -1
  40. package/studio-dist/server/chunks/{26-HWQ-Ern5.js → 26-CY_OLXcd.js} +3 -3
  41. package/studio-dist/server/chunks/{26-HWQ-Ern5.js.map → 26-CY_OLXcd.js.map} +1 -1
  42. package/studio-dist/server/chunks/{3-ByOeP3Gf.js → 3-CbodebGY.js} +3 -3
  43. package/studio-dist/server/chunks/{3-ByOeP3Gf.js.map → 3-CbodebGY.js.map} +1 -1
  44. package/studio-dist/server/chunks/{_layout.svelte-DHjtdIgc.js → _layout.svelte-B31p5awD.js} +4 -4
  45. package/studio-dist/server/chunks/{_layout.svelte-DHjtdIgc.js.map → _layout.svelte-B31p5awD.js.map} +1 -1
  46. package/studio-dist/server/chunks/{_page.svelte-BDSxuyHW.js → _page.svelte-BIIvdH13.js} +3 -3
  47. package/studio-dist/server/chunks/{_page.svelte-BDSxuyHW.js.map → _page.svelte-BIIvdH13.js.map} +1 -1
  48. package/studio-dist/server/chunks/{_page.svelte-94NcV7tl.js → _page.svelte-BdTlq0Gh.js} +4 -4
  49. package/studio-dist/server/chunks/{_page.svelte-94NcV7tl.js.map → _page.svelte-BdTlq0Gh.js.map} +1 -1
  50. package/studio-dist/server/chunks/{_page.svelte-CBAVKefr.js → _page.svelte-BuVX3kf2.js} +3 -3
  51. package/studio-dist/server/chunks/{_page.svelte-CBAVKefr.js.map → _page.svelte-BuVX3kf2.js.map} +1 -1
  52. package/studio-dist/server/chunks/{_page.svelte-CGOmwPIU.js → _page.svelte-C6P8rRvk.js} +3 -3
  53. package/studio-dist/server/chunks/{_page.svelte-CGOmwPIU.js.map → _page.svelte-C6P8rRvk.js.map} +1 -1
  54. package/studio-dist/server/chunks/{_page.svelte-JjbfOpHp.js → _page.svelte-CFnkQk35.js} +3 -3
  55. package/studio-dist/server/chunks/{_page.svelte-JjbfOpHp.js.map → _page.svelte-CFnkQk35.js.map} +1 -1
  56. package/studio-dist/server/chunks/{_page.svelte-huH3MwZ_.js → _page.svelte-CfjdIh3A.js} +3 -3
  57. package/studio-dist/server/chunks/{_page.svelte-huH3MwZ_.js.map → _page.svelte-CfjdIh3A.js.map} +1 -1
  58. package/studio-dist/server/chunks/{_page.svelte-Bts_IhOg.js → _page.svelte-DR0AY_gZ.js} +3 -3
  59. package/studio-dist/server/chunks/{_page.svelte-Bts_IhOg.js.map → _page.svelte-DR0AY_gZ.js.map} +1 -1
  60. package/studio-dist/server/chunks/{_page.svelte-CvTF_ebH.js → _page.svelte-EWYHbzl0.js} +4 -4
  61. package/studio-dist/server/chunks/{_page.svelte-CvTF_ebH.js.map → _page.svelte-EWYHbzl0.js.map} +1 -1
  62. package/studio-dist/server/chunks/{_page.svelte-veJzLVtt.js → _page.svelte-h0JOhZab.js} +3 -3
  63. package/studio-dist/server/chunks/{_page.svelte-veJzLVtt.js.map → _page.svelte-h0JOhZab.js.map} +1 -1
  64. package/studio-dist/server/chunks/{client-CnSSIJRB.js → client-2rpcRzcr.js} +2 -2
  65. package/studio-dist/server/chunks/{client-CnSSIJRB.js.map → client-2rpcRzcr.js.map} +1 -1
  66. package/studio-dist/server/chunks/{error.svelte-BLSLV0aG.js → error.svelte-CpckcxW6.js} +3 -3
  67. package/studio-dist/server/chunks/{error.svelte-BLSLV0aG.js.map → error.svelte-CpckcxW6.js.map} +1 -1
  68. package/studio-dist/server/chunks/{internal-Cs1b0-2z.js → internal-xyE_opYp.js} +2 -2
  69. package/studio-dist/server/chunks/{internal-Cs1b0-2z.js.map → internal-xyE_opYp.js.map} +1 -1
  70. package/studio-dist/server/chunks/{stores-ye7Cop_n.js → stores-BcV2X8z1.js} +2 -2
  71. package/studio-dist/server/chunks/{stores-ye7Cop_n.js.map → stores-BcV2X8z1.js.map} +1 -1
  72. package/studio-dist/server/index.js +1 -1
  73. package/studio-dist/server/index.js.map +1 -1
  74. package/studio-dist/server/manifest.js +12 -12
  75. package/studio-dist/server/manifest.js.map +1 -1
  76. package/studio-dist/client/_app/immutable/chunks/BKR-sjxJ.js +0 -3
  77. package/studio-dist/client/_app/immutable/chunks/CifRJkIA.js +0 -1
  78. package/studio-dist/client/_app/immutable/entry/start.znBlkFx8.js +0 -1
@@ -1,10 +1,10 @@
1
1
  import { x as head, c as escape_html, b as attr_class, e as ensure_array_like, a as attr, d as attr_style, g as derived } from './dev-BNpEUZI3.js';
2
- import { g as goto } from './client-CnSSIJRB.js';
2
+ import { g as goto } from './client-2rpcRzcr.js';
3
3
  import { a as Breadcrumb, C as Card, T as Tabs } from './Tabs-DzG6Bn9a.js';
4
4
  import { c as TabPanel } from './ui-DR8zOSpC.js';
5
5
  import { d as describeEdgeKind, E as EDGE_STYLE } from './no-face-up-DcejJLy-.js';
6
6
  import { C as CosmosRenderer, m as mapNexusRelationToEdgeKind } from './nexus-adapter-9EL_VlGI.js';
7
- import './internal-Cs1b0-2z.js';
7
+ import './internal-xyE_opYp.js';
8
8
  import 'node:module';
9
9
  import '@sveltejs/kit/internal';
10
10
  import './index-server-DocJvixA.js';
@@ -231,4 +231,4 @@ function _page($$renderer, $$props) {
231
231
  }
232
232
 
233
233
  export { _page as default };
234
- //# sourceMappingURL=_page.svelte-Bts_IhOg.js.map
234
+ //# sourceMappingURL=_page.svelte-DR0AY_gZ.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"_page.svelte-Bts_IhOg.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/code/symbol/_name_/_page.svelte.js"],"sourcesContent":["import { U as escape_html, V as attr, a as derived, n as attr_class, o as ensure_array_like, r as attr_style, s as head } from \"../../../../../chunks/dev.js\";\nimport { t as goto } from \"../../../../../chunks/client.js\";\nimport { i as Breadcrumb, r as Card, t as Tabs } from \"../../../../../chunks/Tabs.js\";\nimport { n as TabPanel } from \"../../../../../chunks/ui.js\";\nimport { a as describeEdgeKind, i as EDGE_STYLE } from \"../../../../../chunks/no-face-up.js\";\nimport \"../../../../../chunks/navigation.js\";\nimport { i as CosmosRenderer, r as mapNexusRelationToEdgeKind } from \"../../../../../chunks/nexus-adapter.js\";\n//#region src/routes/code/symbol/[name]/+page.svelte\nfunction _page($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\tlet { data } = $$props;\n\t\tlet colorMode = \"hop\";\n\t\t/**\n\t\t* Hop colour → semantic CSS token.\n\t\t* hop 0 — amber (self)\n\t\t* hop 1 — info (direct neighbours)\n\t\t* hop 2 — faint (two-hop ring)\n\t\t*/\n\t\tconst HOP_TOKEN = {\n\t\t\t0: \"var(--warning)\",\n\t\t\t1: \"var(--info)\",\n\t\t\t2: \"var(--text-faint)\"\n\t\t};\n\t\tconst graphModel = derived(() => {\n\t\t\tconst nodes = data.nodes.map((n) => {\n\t\t\t\tconst tint = colorMode === \"hop\" ? HOP_TOKEN[n.hop] : void 0;\n\t\t\t\tconst meta = {\n\t\t\t\t\thop: n.hop,\n\t\t\t\t\tfilePath: n.filePath,\n\t\t\t\t\tcallerCount: n.callerCount\n\t\t\t\t};\n\t\t\t\tif (tint) meta.colorOverride = tint;\n\t\t\t\treturn {\n\t\t\t\t\tid: n.id,\n\t\t\t\t\tsubstrate: \"nexus\",\n\t\t\t\t\tkind: n.kind || \"symbol\",\n\t\t\t\t\tlabel: n.label,\n\t\t\t\t\tcategory: n.communityId ?? null,\n\t\t\t\t\tweight: Math.min(1, Math.log10(n.callerCount + 1) / 3),\n\t\t\t\t\tmeta\n\t\t\t\t};\n\t\t\t});\n\t\t\tconst validIds = new Set(nodes.map((n) => n.id));\n\t\t\treturn {\n\t\t\t\tnodes,\n\t\t\t\tedges: data.edges.filter((e) => validIds.has(e.source) && validIds.has(e.target) && e.source !== e.target).map((e, idx) => {\n\t\t\t\t\tconst kind = mapNexusRelationToEdgeKind(e.type);\n\t\t\t\t\treturn {\n\t\t\t\t\t\tid: `ego-${idx}-${e.source}-${e.target}-${kind}`,\n\t\t\t\t\t\tsource: e.source,\n\t\t\t\t\t\ttarget: e.target,\n\t\t\t\t\t\tkind,\n\t\t\t\t\t\tdirectional: true\n\t\t\t\t\t};\n\t\t\t\t})\n\t\t\t};\n\t\t});\n\t\tconst graphNodes = derived(() => graphModel().nodes);\n\t\tconst graphEdges = derived(() => graphModel().edges);\n\t\tconst EGO_EDGE_KINDS = [\n\t\t\t\"calls\",\n\t\t\t\"extends\",\n\t\t\t\"implements\",\n\t\t\t\"defines\",\n\t\t\t\"imports\",\n\t\t\t\"has_method\",\n\t\t\t\"has_property\",\n\t\t\t\"accesses\",\n\t\t\t\"references\"\n\t\t];\n\t\tlet visibleEdgeKinds = new Set(EGO_EDGE_KINDS);\n\t\tconst callerNodes = derived(() => data.nodes.filter((n) => {\n\t\t\tif (n.hop !== 1) return false;\n\t\t\treturn data.edges.some((e) => e.target === data.center?.id && e.source === n.id);\n\t\t}));\n\t\tconst calleeNodes = derived(() => data.nodes.filter((n) => {\n\t\t\tif (n.hop !== 1) return false;\n\t\t\treturn data.edges.some((e) => e.source === data.center?.id && e.target === n.id);\n\t\t}));\n\t\tconst hop2Count = derived(() => data.nodes.filter((n) => n.hop === 2).length);\n\t\tfunction onNodeClick(node) {\n\t\t\tif (node.id !== data.center?.id) goto(`/code/symbol/${encodeURIComponent(node.label)}`);\n\t\t}\n\t\tconst edgeKindCounts = derived(() => {\n\t\t\tconst counts = /* @__PURE__ */ new Map();\n\t\t\tfor (const e of graphEdges()) counts.set(e.kind, (counts.get(e.kind) ?? 0) + 1);\n\t\t\treturn counts;\n\t\t});\n\t\tfunction shortPath(filePath) {\n\t\t\treturn filePath.split(\"/\").slice(-2).join(\"/\");\n\t\t}\n\t\tconst breadcrumbs = derived(() => [\n\t\t\t{\n\t\t\t\tlabel: \"Studio\",\n\t\t\t\thref: \"/\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tlabel: \"Code\",\n\t\t\t\thref: \"/code\"\n\t\t\t},\n\t\t\t...data.center?.communityId && data.communityLabel ? [{\n\t\t\t\tlabel: data.communityLabel,\n\t\t\t\thref: `/code/community/${encodeURIComponent(data.center.communityId)}`\n\t\t\t}] : [],\n\t\t\t{ label: data.symbolName }\n\t\t]);\n\t\thead(\"16icikf\", $$renderer, ($$renderer) => {\n\t\t\t$$renderer.title(($$renderer) => {\n\t\t\t\t$$renderer.push(`<title>${escape_html(data.symbolName)} — Code — CLEO Studio</title>`);\n\t\t\t});\n\t\t});\n\t\t$$renderer.push(`<section class=\"symbol-view svelte-16icikf\" aria-labelledby=\"symbol-title\"><header class=\"page-head svelte-16icikf\">`);\n\t\tBreadcrumb($$renderer, { items: breadcrumbs() });\n\t\t$$renderer.push(`<!----> <div class=\"title-row svelte-16icikf\"><div><span class=\"eyebrow svelte-16icikf\">NEXUS · Ego</span> <h1 id=\"symbol-title\" class=\"sym-title svelte-16icikf\">${escape_html(data.symbolName)}</h1> <p class=\"subtitle svelte-16icikf\">`);\n\t\tif (data.center) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`<span class=\"kind-badge svelte-16icikf\">${escape_html(data.center.kind)}</span> `);\n\t\t\tif (data.center.filePath) {\n\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t$$renderer.push(`<span class=\"sep svelte-16icikf\" aria-hidden=\"true\">·</span> <span class=\"path svelte-16icikf\">${escape_html(data.center.filePath)}</span>`);\n\t\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t\t$$renderer.push(`<!--]-->`);\n\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]--></p></div> <div class=\"stat-row svelte-16icikf\"><div class=\"stat callers-stat svelte-16icikf\"><span class=\"stat-num svelte-16icikf\">${escape_html(callerNodes().length)}</span> <span class=\"stat-lbl svelte-16icikf\">Callers</span></div> <div class=\"stat callees-stat svelte-16icikf\"><span class=\"stat-num svelte-16icikf\">${escape_html(calleeNodes().length)}</span> <span class=\"stat-lbl svelte-16icikf\">Callees</span></div> <div class=\"stat svelte-16icikf\"><span class=\"stat-num svelte-16icikf\">${escape_html(hop2Count())}</span> <span class=\"stat-lbl svelte-16icikf\">Hop-2</span></div></div></div></header> <div class=\"workbench svelte-16icikf\"><div${attr_class(\"stage svelte-16icikf\", void 0, { \"mode-hop\": colorMode === \"hop\" })}><div class=\"stage-scanlines svelte-16icikf\" aria-hidden=\"true\"></div> `);\n\t\tif (colorMode === \"hop\") {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`<div class=\"hop-rings svelte-16icikf\" aria-hidden=\"true\"><span class=\"ring ring-1 svelte-16icikf\"></span> <span class=\"ring ring-2 svelte-16icikf\"></span></div>`);\n\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]--> `);\n\t\tCosmosRenderer($$renderer, {\n\t\t\tnodes: graphNodes(),\n\t\t\tedges: graphEdges(),\n\t\t\tvisibleEdgeKinds,\n\t\t\tonNodeClick,\n\t\t\tshowClusterLabels: false,\n\t\t\theight: \"calc(100vh - 220px)\",\n\t\t\tbaseAlpha: .94\n\t\t});\n\t\t$$renderer.push(`<!----> <footer class=\"legend-dock svelte-16icikf\" aria-label=\"Edge legend\"><span class=\"legend-eyebrow svelte-16icikf\">EDGES</span> <ul class=\"svelte-16icikf\"><!--[-->`);\n\t\tconst each_array = ensure_array_like(EGO_EDGE_KINDS);\n\t\tfor (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {\n\t\t\tlet kind = each_array[$$index];\n\t\t\tconst style = EDGE_STYLE[kind];\n\t\t\tconst active = visibleEdgeKinds.has(kind);\n\t\t\tconst count = edgeKindCounts().get(kind) ?? 0;\n\t\t\t$$renderer.push(`<li><button type=\"button\"${attr_class(\"legend-item svelte-16icikf\", void 0, {\n\t\t\t\t\"active\": active,\n\t\t\t\t\"disabled\": count === 0\n\t\t\t})}${attr(\"disabled\", count === 0, true)}${attr(\"aria-pressed\", active)}${attr(\"title\", describeEdgeKind(kind))}><span${attr_class(\"swatch svelte-16icikf\", void 0, { \"dashed\": Boolean(style.dash) })} aria-hidden=\"true\"${attr_style(\"\", { background: style.color })}></span> <span>${escape_html(kind)}</span> <span class=\"legend-count svelte-16icikf\">${escape_html(count)}</span></button></li>`);\n\t\t}\n\t\t$$renderer.push(`<!--]--></ul></footer></div> <aside class=\"side-panel svelte-16icikf\" aria-label=\"Ego network details\">`);\n\t\t{\n\t\t\tfunction children($$renderer) {\n\t\t\t\t$$renderer.push(`<div class=\"panel-stack svelte-16icikf\">`);\n\t\t\t\tTabs($$renderer, {\n\t\t\t\t\titems: [{\n\t\t\t\t\t\tvalue: \"hop\",\n\t\t\t\t\t\tlabel: \"Hop coloring\"\n\t\t\t\t\t}, {\n\t\t\t\t\t\tvalue: \"kind\",\n\t\t\t\t\t\tlabel: \"Kind coloring\"\n\t\t\t\t\t}],\n\t\t\t\t\tvalue: colorMode,\n\t\t\t\t\tonchange: (v) => {\n\t\t\t\t\t\tcolorMode = v === \"kind\" ? \"kind\" : \"hop\";\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\t$$renderer.push(`<!----> `);\n\t\t\t\t{\n\t\t\t\t\tfunction children($$renderer) {\n\t\t\t\t\t\t$$renderer.push(`<p class=\"panel-hint svelte-16icikf\">Center = amber · hop-1 = blue · hop-2 = slate.</p>`);\n\t\t\t\t\t}\n\t\t\t\t\tTabPanel($$renderer, {\n\t\t\t\t\t\tvalue: \"hop\",\n\t\t\t\t\t\tactive: colorMode,\n\t\t\t\t\t\tchildren,\n\t\t\t\t\t\t$$slots: { default: true }\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\t$$renderer.push(`<!----> `);\n\t\t\t\t{\n\t\t\t\t\tfunction children($$renderer) {\n\t\t\t\t\t\t$$renderer.push(`<p class=\"panel-hint svelte-16icikf\">Substrate-native palette — matches macro + community views.</p>`);\n\t\t\t\t\t}\n\t\t\t\t\tTabPanel($$renderer, {\n\t\t\t\t\t\tvalue: \"kind\",\n\t\t\t\t\t\tactive: colorMode,\n\t\t\t\t\t\tchildren,\n\t\t\t\t\t\t$$slots: { default: true }\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\t$$renderer.push(`<!----> `);\n\t\t\t\tif (callerNodes().length > 0) {\n\t\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t\t$$renderer.push(`<div class=\"panel-section svelte-16icikf\"><h2 class=\"panel-head svelte-16icikf\"><span class=\"dot dot-caller svelte-16icikf\" aria-hidden=\"true\"></span> Callers (${escape_html(callerNodes().length)})</h2> <ul class=\"chip-list svelte-16icikf\"><!--[-->`);\n\t\t\t\t\tconst each_array_1 = ensure_array_like(callerNodes());\n\t\t\t\t\tfor (let $$index_1 = 0, $$length = each_array_1.length; $$index_1 < $$length; $$index_1++) {\n\t\t\t\t\t\tlet node = each_array_1[$$index_1];\n\t\t\t\t\t\t$$renderer.push(`<li><a${attr(\"href\", `/code/symbol/${encodeURIComponent(node.label)}`)} class=\"chip chip-caller svelte-16icikf\"><span class=\"chip-label svelte-16icikf\">${escape_html(node.label)}</span> <span class=\"chip-kind svelte-16icikf\">${escape_html(node.kind)}</span></a></li>`);\n\t\t\t\t\t}\n\t\t\t\t\t$$renderer.push(`<!--]--></ul></div>`);\n\t\t\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t\t\t$$renderer.push(`<!--]--> `);\n\t\t\t\tif (calleeNodes().length > 0) {\n\t\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t\t$$renderer.push(`<div class=\"panel-section svelte-16icikf\"><h2 class=\"panel-head svelte-16icikf\"><span class=\"dot dot-callee svelte-16icikf\" aria-hidden=\"true\"></span> Callees (${escape_html(calleeNodes().length)})</h2> <ul class=\"chip-list svelte-16icikf\"><!--[-->`);\n\t\t\t\t\tconst each_array_2 = ensure_array_like(calleeNodes());\n\t\t\t\t\tfor (let $$index_2 = 0, $$length = each_array_2.length; $$index_2 < $$length; $$index_2++) {\n\t\t\t\t\t\tlet node = each_array_2[$$index_2];\n\t\t\t\t\t\t$$renderer.push(`<li><a${attr(\"href\", `/code/symbol/${encodeURIComponent(node.label)}`)} class=\"chip chip-callee svelte-16icikf\"><span class=\"chip-label svelte-16icikf\">${escape_html(node.label)}</span> <span class=\"chip-kind svelte-16icikf\">${escape_html(node.kind)}</span></a></li>`);\n\t\t\t\t\t}\n\t\t\t\t\t$$renderer.push(`<!--]--></ul></div>`);\n\t\t\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t\t\t$$renderer.push(`<!--]--> `);\n\t\t\t\tif (data.center?.filePath) {\n\t\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t\t$$renderer.push(`<div class=\"panel-section svelte-16icikf\"><h2 class=\"panel-head svelte-16icikf\">File</h2> <p class=\"file-path svelte-16icikf\"${attr(\"title\", data.center.filePath)}>${escape_html(shortPath(data.center.filePath))}</p></div>`);\n\t\t\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t\t\t$$renderer.push(`<!--]--></div>`);\n\t\t\t}\n\t\t\tCard($$renderer, {\n\t\t\t\televation: 1,\n\t\t\t\tpadding: \"cozy\",\n\t\t\t\tchildren,\n\t\t\t\t$$slots: { default: true }\n\t\t\t});\n\t\t}\n\t\t$$renderer.push(`<!----></aside></div></section>`);\n\t});\n}\n//#endregion\nexport { _page as default };\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAOA;AACA,SAAS,KAAK,CAAC,UAAU,EAAE,OAAO,EAAE;AACpC,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,UAAU,KAAK;AACtC,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,OAAO;AACxB,EAAE,IAAI,SAAS,GAAG,KAAK;AACvB;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,MAAM,SAAS,GAAG;AACpB,GAAG,CAAC,EAAE,gBAAgB;AACtB,GAAG,CAAC,EAAE,aAAa;AACnB,GAAG,CAAC,EAAE;AACN,GAAG;AACH,EAAE,MAAM,UAAU,GAAG,OAAO,CAAC,MAAM;AACnC,GAAG,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK;AACvC,IAAI,MAAM,IAAI,GAAG,SAAS,KA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CAAC,CAAC,cAAc,CAAC,CAAC;AACrC,GAAG;AACH,GAAG,IAAI,CAAC,UAAU,EAAE;AACpB,IAAI,SAAS,EAAE,CAAC;AAChB,IAAI,OAAO,EAAE,MAAM;AACnB,IAAI,QAED,CAAC,CAAC;AACL,EAAE;AACF,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC,+BAA+B,CAAC,CAAC;AACpD,CAAC,CAAC,CAAC;AACH;;;;"}
1
+ {"version":3,"file":"_page.svelte-DR0AY_gZ.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/code/symbol/_name_/_page.svelte.js"],"sourcesContent":["import { U as escape_html, V as attr, a as derived, n as attr_class, o as ensure_array_like, r as attr_style, s as head } from \"../../../../../chunks/dev.js\";\nimport { t as goto } from \"../../../../../chunks/client.js\";\nimport { i as Breadcrumb, r as Card, t as Tabs } from \"../../../../../chunks/Tabs.js\";\nimport { n as TabPanel } from \"../../../../../chunks/ui.js\";\nimport { a as describeEdgeKind, i as EDGE_STYLE } from \"../../../../../chunks/no-face-up.js\";\nimport \"../../../../../chunks/navigation.js\";\nimport { i as CosmosRenderer, r as mapNexusRelationToEdgeKind } from \"../../../../../chunks/nexus-adapter.js\";\n//#region src/routes/code/symbol/[name]/+page.svelte\nfunction _page($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\tlet { data } = $$props;\n\t\tlet colorMode = \"hop\";\n\t\t/**\n\t\t* Hop colour → semantic CSS token.\n\t\t* hop 0 — amber (self)\n\t\t* hop 1 — info (direct neighbours)\n\t\t* hop 2 — faint (two-hop ring)\n\t\t*/\n\t\tconst HOP_TOKEN = {\n\t\t\t0: \"var(--warning)\",\n\t\t\t1: \"var(--info)\",\n\t\t\t2: \"var(--text-faint)\"\n\t\t};\n\t\tconst graphModel = derived(() => {\n\t\t\tconst nodes = data.nodes.map((n) => {\n\t\t\t\tconst tint = colorMode === \"hop\" ? HOP_TOKEN[n.hop] : void 0;\n\t\t\t\tconst meta = {\n\t\t\t\t\thop: n.hop,\n\t\t\t\t\tfilePath: n.filePath,\n\t\t\t\t\tcallerCount: n.callerCount\n\t\t\t\t};\n\t\t\t\tif (tint) meta.colorOverride = tint;\n\t\t\t\treturn {\n\t\t\t\t\tid: n.id,\n\t\t\t\t\tsubstrate: \"nexus\",\n\t\t\t\t\tkind: n.kind || \"symbol\",\n\t\t\t\t\tlabel: n.label,\n\t\t\t\t\tcategory: n.communityId ?? null,\n\t\t\t\t\tweight: Math.min(1, Math.log10(n.callerCount + 1) / 3),\n\t\t\t\t\tmeta\n\t\t\t\t};\n\t\t\t});\n\t\t\tconst validIds = new Set(nodes.map((n) => n.id));\n\t\t\treturn {\n\t\t\t\tnodes,\n\t\t\t\tedges: data.edges.filter((e) => validIds.has(e.source) && validIds.has(e.target) && e.source !== e.target).map((e, idx) => {\n\t\t\t\t\tconst kind = mapNexusRelationToEdgeKind(e.type);\n\t\t\t\t\treturn {\n\t\t\t\t\t\tid: `ego-${idx}-${e.source}-${e.target}-${kind}`,\n\t\t\t\t\t\tsource: e.source,\n\t\t\t\t\t\ttarget: e.target,\n\t\t\t\t\t\tkind,\n\t\t\t\t\t\tdirectional: true\n\t\t\t\t\t};\n\t\t\t\t})\n\t\t\t};\n\t\t});\n\t\tconst graphNodes = derived(() => graphModel().nodes);\n\t\tconst graphEdges = derived(() => graphModel().edges);\n\t\tconst EGO_EDGE_KINDS = [\n\t\t\t\"calls\",\n\t\t\t\"extends\",\n\t\t\t\"implements\",\n\t\t\t\"defines\",\n\t\t\t\"imports\",\n\t\t\t\"has_method\",\n\t\t\t\"has_property\",\n\t\t\t\"accesses\",\n\t\t\t\"references\"\n\t\t];\n\t\tlet visibleEdgeKinds = new Set(EGO_EDGE_KINDS);\n\t\tconst callerNodes = derived(() => data.nodes.filter((n) => {\n\t\t\tif (n.hop !== 1) return false;\n\t\t\treturn data.edges.some((e) => e.target === data.center?.id && e.source === n.id);\n\t\t}));\n\t\tconst calleeNodes = derived(() => data.nodes.filter((n) => {\n\t\t\tif (n.hop !== 1) return false;\n\t\t\treturn data.edges.some((e) => e.source === data.center?.id && e.target === n.id);\n\t\t}));\n\t\tconst hop2Count = derived(() => data.nodes.filter((n) => n.hop === 2).length);\n\t\tfunction onNodeClick(node) {\n\t\t\tif (node.id !== data.center?.id) goto(`/code/symbol/${encodeURIComponent(node.label)}`);\n\t\t}\n\t\tconst edgeKindCounts = derived(() => {\n\t\t\tconst counts = /* @__PURE__ */ new Map();\n\t\t\tfor (const e of graphEdges()) counts.set(e.kind, (counts.get(e.kind) ?? 0) + 1);\n\t\t\treturn counts;\n\t\t});\n\t\tfunction shortPath(filePath) {\n\t\t\treturn filePath.split(\"/\").slice(-2).join(\"/\");\n\t\t}\n\t\tconst breadcrumbs = derived(() => [\n\t\t\t{\n\t\t\t\tlabel: \"Studio\",\n\t\t\t\thref: \"/\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tlabel: \"Code\",\n\t\t\t\thref: \"/code\"\n\t\t\t},\n\t\t\t...data.center?.communityId && data.communityLabel ? [{\n\t\t\t\tlabel: data.communityLabel,\n\t\t\t\thref: `/code/community/${encodeURIComponent(data.center.communityId)}`\n\t\t\t}] : [],\n\t\t\t{ label: data.symbolName }\n\t\t]);\n\t\thead(\"16icikf\", $$renderer, ($$renderer) => {\n\t\t\t$$renderer.title(($$renderer) => {\n\t\t\t\t$$renderer.push(`<title>${escape_html(data.symbolName)} — Code — CLEO Studio</title>`);\n\t\t\t});\n\t\t});\n\t\t$$renderer.push(`<section class=\"symbol-view svelte-16icikf\" aria-labelledby=\"symbol-title\"><header class=\"page-head svelte-16icikf\">`);\n\t\tBreadcrumb($$renderer, { items: breadcrumbs() });\n\t\t$$renderer.push(`<!----> <div class=\"title-row svelte-16icikf\"><div><span class=\"eyebrow svelte-16icikf\">NEXUS · Ego</span> <h1 id=\"symbol-title\" class=\"sym-title svelte-16icikf\">${escape_html(data.symbolName)}</h1> <p class=\"subtitle svelte-16icikf\">`);\n\t\tif (data.center) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`<span class=\"kind-badge svelte-16icikf\">${escape_html(data.center.kind)}</span> `);\n\t\t\tif (data.center.filePath) {\n\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t$$renderer.push(`<span class=\"sep svelte-16icikf\" aria-hidden=\"true\">·</span> <span class=\"path svelte-16icikf\">${escape_html(data.center.filePath)}</span>`);\n\t\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t\t$$renderer.push(`<!--]-->`);\n\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]--></p></div> <div class=\"stat-row svelte-16icikf\"><div class=\"stat callers-stat svelte-16icikf\"><span class=\"stat-num svelte-16icikf\">${escape_html(callerNodes().length)}</span> <span class=\"stat-lbl svelte-16icikf\">Callers</span></div> <div class=\"stat callees-stat svelte-16icikf\"><span class=\"stat-num svelte-16icikf\">${escape_html(calleeNodes().length)}</span> <span class=\"stat-lbl svelte-16icikf\">Callees</span></div> <div class=\"stat svelte-16icikf\"><span class=\"stat-num svelte-16icikf\">${escape_html(hop2Count())}</span> <span class=\"stat-lbl svelte-16icikf\">Hop-2</span></div></div></div></header> <div class=\"workbench svelte-16icikf\"><div${attr_class(\"stage svelte-16icikf\", void 0, { \"mode-hop\": colorMode === \"hop\" })}><div class=\"stage-scanlines svelte-16icikf\" aria-hidden=\"true\"></div> `);\n\t\tif (colorMode === \"hop\") {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`<div class=\"hop-rings svelte-16icikf\" aria-hidden=\"true\"><span class=\"ring ring-1 svelte-16icikf\"></span> <span class=\"ring ring-2 svelte-16icikf\"></span></div>`);\n\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]--> `);\n\t\tCosmosRenderer($$renderer, {\n\t\t\tnodes: graphNodes(),\n\t\t\tedges: graphEdges(),\n\t\t\tvisibleEdgeKinds,\n\t\t\tonNodeClick,\n\t\t\tshowClusterLabels: false,\n\t\t\theight: \"calc(100vh - 220px)\",\n\t\t\tbaseAlpha: .94\n\t\t});\n\t\t$$renderer.push(`<!----> <footer class=\"legend-dock svelte-16icikf\" aria-label=\"Edge legend\"><span class=\"legend-eyebrow svelte-16icikf\">EDGES</span> <ul class=\"svelte-16icikf\"><!--[-->`);\n\t\tconst each_array = ensure_array_like(EGO_EDGE_KINDS);\n\t\tfor (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {\n\t\t\tlet kind = each_array[$$index];\n\t\t\tconst style = EDGE_STYLE[kind];\n\t\t\tconst active = visibleEdgeKinds.has(kind);\n\t\t\tconst count = edgeKindCounts().get(kind) ?? 0;\n\t\t\t$$renderer.push(`<li><button type=\"button\"${attr_class(\"legend-item svelte-16icikf\", void 0, {\n\t\t\t\t\"active\": active,\n\t\t\t\t\"disabled\": count === 0\n\t\t\t})}${attr(\"disabled\", count === 0, true)}${attr(\"aria-pressed\", active)}${attr(\"title\", describeEdgeKind(kind))}><span${attr_class(\"swatch svelte-16icikf\", void 0, { \"dashed\": Boolean(style.dash) })} aria-hidden=\"true\"${attr_style(\"\", { background: style.color })}></span> <span>${escape_html(kind)}</span> <span class=\"legend-count svelte-16icikf\">${escape_html(count)}</span></button></li>`);\n\t\t}\n\t\t$$renderer.push(`<!--]--></ul></footer></div> <aside class=\"side-panel svelte-16icikf\" aria-label=\"Ego network details\">`);\n\t\t{\n\t\t\tfunction children($$renderer) {\n\t\t\t\t$$renderer.push(`<div class=\"panel-stack svelte-16icikf\">`);\n\t\t\t\tTabs($$renderer, {\n\t\t\t\t\titems: [{\n\t\t\t\t\t\tvalue: \"hop\",\n\t\t\t\t\t\tlabel: \"Hop coloring\"\n\t\t\t\t\t}, {\n\t\t\t\t\t\tvalue: \"kind\",\n\t\t\t\t\t\tlabel: \"Kind coloring\"\n\t\t\t\t\t}],\n\t\t\t\t\tvalue: colorMode,\n\t\t\t\t\tonchange: (v) => {\n\t\t\t\t\t\tcolorMode = v === \"kind\" ? \"kind\" : \"hop\";\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\t$$renderer.push(`<!----> `);\n\t\t\t\t{\n\t\t\t\t\tfunction children($$renderer) {\n\t\t\t\t\t\t$$renderer.push(`<p class=\"panel-hint svelte-16icikf\">Center = amber · hop-1 = blue · hop-2 = slate.</p>`);\n\t\t\t\t\t}\n\t\t\t\t\tTabPanel($$renderer, {\n\t\t\t\t\t\tvalue: \"hop\",\n\t\t\t\t\t\tactive: colorMode,\n\t\t\t\t\t\tchildren,\n\t\t\t\t\t\t$$slots: { default: true }\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\t$$renderer.push(`<!----> `);\n\t\t\t\t{\n\t\t\t\t\tfunction children($$renderer) {\n\t\t\t\t\t\t$$renderer.push(`<p class=\"panel-hint svelte-16icikf\">Substrate-native palette — matches macro + community views.</p>`);\n\t\t\t\t\t}\n\t\t\t\t\tTabPanel($$renderer, {\n\t\t\t\t\t\tvalue: \"kind\",\n\t\t\t\t\t\tactive: colorMode,\n\t\t\t\t\t\tchildren,\n\t\t\t\t\t\t$$slots: { default: true }\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\t$$renderer.push(`<!----> `);\n\t\t\t\tif (callerNodes().length > 0) {\n\t\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t\t$$renderer.push(`<div class=\"panel-section svelte-16icikf\"><h2 class=\"panel-head svelte-16icikf\"><span class=\"dot dot-caller svelte-16icikf\" aria-hidden=\"true\"></span> Callers (${escape_html(callerNodes().length)})</h2> <ul class=\"chip-list svelte-16icikf\"><!--[-->`);\n\t\t\t\t\tconst each_array_1 = ensure_array_like(callerNodes());\n\t\t\t\t\tfor (let $$index_1 = 0, $$length = each_array_1.length; $$index_1 < $$length; $$index_1++) {\n\t\t\t\t\t\tlet node = each_array_1[$$index_1];\n\t\t\t\t\t\t$$renderer.push(`<li><a${attr(\"href\", `/code/symbol/${encodeURIComponent(node.label)}`)} class=\"chip chip-caller svelte-16icikf\"><span class=\"chip-label svelte-16icikf\">${escape_html(node.label)}</span> <span class=\"chip-kind svelte-16icikf\">${escape_html(node.kind)}</span></a></li>`);\n\t\t\t\t\t}\n\t\t\t\t\t$$renderer.push(`<!--]--></ul></div>`);\n\t\t\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t\t\t$$renderer.push(`<!--]--> `);\n\t\t\t\tif (calleeNodes().length > 0) {\n\t\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t\t$$renderer.push(`<div class=\"panel-section svelte-16icikf\"><h2 class=\"panel-head svelte-16icikf\"><span class=\"dot dot-callee svelte-16icikf\" aria-hidden=\"true\"></span> Callees (${escape_html(calleeNodes().length)})</h2> <ul class=\"chip-list svelte-16icikf\"><!--[-->`);\n\t\t\t\t\tconst each_array_2 = ensure_array_like(calleeNodes());\n\t\t\t\t\tfor (let $$index_2 = 0, $$length = each_array_2.length; $$index_2 < $$length; $$index_2++) {\n\t\t\t\t\t\tlet node = each_array_2[$$index_2];\n\t\t\t\t\t\t$$renderer.push(`<li><a${attr(\"href\", `/code/symbol/${encodeURIComponent(node.label)}`)} class=\"chip chip-callee svelte-16icikf\"><span class=\"chip-label svelte-16icikf\">${escape_html(node.label)}</span> <span class=\"chip-kind svelte-16icikf\">${escape_html(node.kind)}</span></a></li>`);\n\t\t\t\t\t}\n\t\t\t\t\t$$renderer.push(`<!--]--></ul></div>`);\n\t\t\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t\t\t$$renderer.push(`<!--]--> `);\n\t\t\t\tif (data.center?.filePath) {\n\t\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t\t$$renderer.push(`<div class=\"panel-section svelte-16icikf\"><h2 class=\"panel-head svelte-16icikf\">File</h2> <p class=\"file-path svelte-16icikf\"${attr(\"title\", data.center.filePath)}>${escape_html(shortPath(data.center.filePath))}</p></div>`);\n\t\t\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t\t\t$$renderer.push(`<!--]--></div>`);\n\t\t\t}\n\t\t\tCard($$renderer, {\n\t\t\t\televation: 1,\n\t\t\t\tpadding: \"cozy\",\n\t\t\t\tchildren,\n\t\t\t\t$$slots: { default: true }\n\t\t\t});\n\t\t}\n\t\t$$renderer.push(`<!----></aside></div></section>`);\n\t});\n}\n//#endregion\nexport { _page as default };\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAOA;AACA,SAAS,KAAK,CAAC,UAAU,EAAE,OAAO,EAAE;AACpC,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,UAAU,KAAK;AACtC,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,OAAO;AACxB,EAAE,IAAI,SAAS,GAAG,KAAK;AACvB;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,MAAM,SAAS,GAAG;AACpB,GAAG,CAAC,EAAE,gBAAgB;AACtB,GAAG,CAAC,EAAE,aAAa;AACnB,GAAG,CAAC,EAAE;AACN,GAAG;AACH,EAAE,MAAM,UAAU,GAAG,OAAO,CAAC,MAAM;AACnC,GAAG,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK;AACvC,IAAI,MAAM,IAAI,GAAG,SAAS,KAAK,KAAK,GAAG,SAAS,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,MAAM;AAChE,IAAI,MAAM,IAAI,GAAG;AACjB,KAAK,GAAG,EAAE,CAAC,CAAC,GAAG;AACf,KAAK,QAAQ,EAAE,CAAC,CAAC,QAAQ;AACzB,KAAK,WAAW,EAAE,CAAC,CAAC;AACpB,KAAK;AACL,IAAI,IAAI,IAAI,EAAE,IAAI,CAAC,aAAa,GAAG,IAAI;AACvC,IAAI,OAAO;AACX,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE;AACb,KAAK,SAAS,EAAE,OAAO;AACvB,KAAK,IAAI,EAAE,CAAC,CAAC,IAAI,IAAI,QAAQ;AAC7B,KAAK,KAAK,EAAE,CAAC,CAA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AAC,CAAC,CAAC,iFAAiF,EAAE,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,+CAA+C,EAAE,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,gBAAgB,CAAC,CAAC;AACnS,KAAK;AACL,KAAK,UAAU,CAAC,IAAI,CAAC,CAAC,mBAAmB,CAAC,CAAC;AAC3C,IAAI,CAAC,MAAM,UAAU,CAAC,IAAI,CAAC,YAAY,CAAC;AACxC,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC,SAAS,CAAC,CAAC;AAChC,IAAI,IAAI,IAAI,CAAC,MAAM,EAAE,QAAQ,EAAE;AAC/B,KAAK,UAAU,CAAC,IAAI,CAAC,WAAW,CAAC;AACjC,KAAK,UAAU,CAAC,IAAI,CAAC,CAAC,6HAA6H,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC;AACrP,IAAI,CAAC,MAAM,UAAU,CAAC,IAAI,CAAC,YAAY,CAAC;AACxC,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC,cAAc,CAAC,CAAC;AACrC,GAAG;AACH,GAAG,IAAI,CAAC,UAAU,EAAE;AACpB,IAAI,SAAS,EAAE,CAAC;AAChB,IAAI,OAAO,EAAE,MAAM;AACnB,IAAI,QAED,CAAC,CAAC;AACL,EAAE;AACF,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC,+BAA+B,CAAC,CAAC;AACpD,CAAC,CAAC,CAAC;AACH;;;;"}
@@ -1,11 +1,11 @@
1
1
  import { x as head, a as attr, c as escape_html, b as attr_class, g as derived, s as store_get, e as ensure_array_like, y as bind_props, u as unsubscribe_stores } from './dev-BNpEUZI3.js';
2
2
  import 'node:module';
3
- import { p as page } from './stores-ye7Cop_n.js';
3
+ import { p as page } from './stores-BcV2X8z1.js';
4
4
  import { B as Badge } from './Tabs-DzG6Bn9a.js';
5
- import './client-CnSSIJRB.js';
5
+ import './client-2rpcRzcr.js';
6
6
  import { S as SvgRenderer, D as DetailDrawer, t as tasksToGraph } from './tasks2-Bf9VHrv-.js';
7
7
  import './tasks-SHX7UPGY.js';
8
- import './internal-Cs1b0-2z.js';
8
+ import './internal-xyE_opYp.js';
9
9
  import '@sveltejs/kit/internal';
10
10
  import './index-server-DocJvixA.js';
11
11
  import './chunk-DDP5xfzh.js';
@@ -385,4 +385,4 @@ function _page($$renderer, $$props) {
385
385
  }
386
386
 
387
387
  export { _page as default };
388
- //# sourceMappingURL=_page.svelte-CvTF_ebH.js.map
388
+ //# sourceMappingURL=_page.svelte-EWYHbzl0.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"_page.svelte-CvTF_ebH.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/studio/_projectId_/_sagaId_/_page.svelte.js"],"sourcesContent":["import { U as escape_html, V as attr, a as derived, d as unsubscribe_stores, i as bind_props, l as store_get, n as attr_class, o as ensure_array_like, s as head } from \"../../../../../chunks/dev.js\";\nimport \"../../../../../chunks/index-server.js\";\nimport \"../../../../../chunks/lane-transition.js\";\nimport { t as page } from \"../../../../../chunks/stores.js\";\nimport { a as Badge } from \"../../../../../chunks/Tabs.js\";\nimport \"../../../../../chunks/ui.js\";\nimport \"../../../../../chunks/navigation.js\";\nimport { _ as SvgRenderer, d as DetailDrawer, v as tasksToGraph } from \"../../../../../chunks/tasks2.js\";\nimport \"../../../../../chunks/saga-board.svelte.js\";\n//#region src/lib/components/WorkGraphView.svelte\nfunction WorkGraphView($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\t/** Full task set (from the gateway-backed explorer bundle). */\n\t\t/** All dependency edges from the bundle. */\n\t\t/**\n\t\t* The saga (or any ancestor) id to scope the graph to. Every descendant\n\t\t* epic / task / subtask is included via the adapter's ancestor walk.\n\t\t* When omitted the full bundle projects (parity with GraphTab).\n\t\t*/\n\t\t/** Include cancelled epics in the projection. Default false. */\n\t\t/** Optional initially-selected node id (drives the drawer on mount). */\n\t\tlet { tasks, deps, sagaId = null, includeCancelled = false, selectedId = null } = $$props;\n\t\tconst graph = derived(() => tasksToGraph(tasks, deps, {\n\t\t\tepicScope: sagaId,\n\t\t\tincludeCancelled,\n\t\t\tincludeArchived: false\n\t\t}));\n\t\t/** Visible edge kinds — containment + both dependency families. */\n\t\tconst VISIBLE_EDGE_KINDS = new Set([\n\t\t\t\"parent\",\n\t\t\t\"blocks\",\n\t\t\t\"depends\"\n\t\t]);\n\t\tconst tasksById = derived(() => new Map(tasks.map((t) => [t.id, t])));\n\t\tconst selectedTask = derived(() => selectedId ? tasksById().get(selectedId) ?? null : null);\n\t\t/** Upstream dependency links: tasks the selected node depends on. */\n\t\tconst upstreamLinks = derived(() => {\n\t\t\tif (!selectedTask()) return [];\n\t\t\tconst out = [];\n\t\t\tfor (const d of deps) {\n\t\t\t\tif (d.taskId !== selectedTask().id) continue;\n\t\t\t\tconst blocker = tasksById().get(d.dependsOn);\n\t\t\t\tif (!blocker) continue;\n\t\t\t\tout.push({\n\t\t\t\t\tid: blocker.id,\n\t\t\t\t\ttitle: blocker.title,\n\t\t\t\t\tstatus: blocker.status,\n\t\t\t\t\tpriority: blocker.priority\n\t\t\t\t});\n\t\t\t}\n\t\t\treturn out;\n\t\t});\n\t\t/** Downstream dependency links: tasks that depend on the selected node. */\n\t\tconst downstreamLinks = derived(() => {\n\t\t\tif (!selectedTask()) return [];\n\t\t\tconst out = [];\n\t\t\tfor (const d of deps) {\n\t\t\t\tif (d.dependsOn !== selectedTask().id) continue;\n\t\t\t\tconst dependent = tasksById().get(d.taskId);\n\t\t\t\tif (!dependent) continue;\n\t\t\t\tout.push({\n\t\t\t\t\tid: dependent.id,\n\t\t\t\t\ttitle: dependent.title,\n\t\t\t\t\tstatus: dependent.status,\n\t\t\t\t\tpriority: dependent.priority\n\t\t\t\t});\n\t\t\t}\n\t\t\treturn out;\n\t\t});\n\t\t/** Containment chain: walk `parentId` up to (and including) the saga root. */\n\t\tconst parentChain = derived(() => {\n\t\t\tif (!selectedTask()) return [];\n\t\t\tconst chain = [];\n\t\t\tlet current = selectedTask().parentId ? tasksById().get(selectedTask().parentId) : void 0;\n\t\t\tconst seen = /* @__PURE__ */ new Set();\n\t\t\twhile (current && !seen.has(current.id)) {\n\t\t\t\tseen.add(current.id);\n\t\t\t\tchain.unshift({\n\t\t\t\t\tid: current.id,\n\t\t\t\t\ttitle: current.title,\n\t\t\t\t\ttype: current.type\n\t\t\t\t});\n\t\t\t\tcurrent = current.parentId ? tasksById().get(current.parentId) : void 0;\n\t\t\t}\n\t\t\treturn chain;\n\t\t});\n\t\tfunction onNodeClicked(n) {\n\t\t\tselectedId = n.id;\n\t\t}\n\t\tfunction onDrawerClose() {\n\t\t\tselectedId = null;\n\t\t}\n\t\tfunction onDrawerSelectDep(id) {\n\t\t\tselectedId = id;\n\t\t}\n\t\t$$renderer.push(`<div class=\"workgraph-view svelte-1lzd0zi\"><div class=\"workgraph-meta svelte-1lzd0zi\"><span class=\"count svelte-1lzd0zi\"><strong class=\"svelte-1lzd0zi\">${escape_html(graph().nodes.length)}</strong> nodes · <strong class=\"svelte-1lzd0zi\">${escape_html(graph().edges.length)}</strong> edges `);\n\t\tif (sagaId) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`· scoped to <code class=\"svelte-1lzd0zi\">${escape_html(sagaId)}</code>`);\n\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]--></span> <span class=\"legend-hint svelte-1lzd0zi\">containment · depends · blocks</span></div> <div class=\"workgraph-body svelte-1lzd0zi\"><div class=\"graph-wrap svelte-1lzd0zi\">`);\n\t\tif (graph().nodes.length === 0) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`<div class=\"empty-state svelte-1lzd0zi\"><p>No tasks in this workgraph `);\n\t\t\tif (sagaId) {\n\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t$$renderer.push(`for <code class=\"svelte-1lzd0zi\">${escape_html(sagaId)}</code>`);\n\t\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t\t$$renderer.push(`<!--]-->.</p></div>`);\n\t\t} else {\n\t\t\t$$renderer.push(\"<!--[-1-->\");\n\t\t\tSvgRenderer($$renderer, {\n\t\t\t\tnodes: graph().nodes,\n\t\t\t\tedges: graph().edges,\n\t\t\t\tclusters: graph().clusters,\n\t\t\t\tvisibleEdgeKinds: VISIBLE_EDGE_KINDS,\n\t\t\t\tselectedNodeId: selectedId,\n\t\t\t\tonNodeClick: onNodeClicked,\n\t\t\t\tshowLabels: \"id-only\",\n\t\t\t\tnodeRenderer: \"pill\",\n\t\t\t\tshowToolbar: true,\n\t\t\t\tshowLegend: true,\n\t\t\t\tariaLabel: \"Saga workgraph — containment and dependency edges\"\n\t\t\t});\n\t\t}\n\t\t$$renderer.push(`<!--]--></div> `);\n\t\tif (selectedTask()) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\tDetailDrawer($$renderer, {\n\t\t\t\ttask: selectedTask(),\n\t\t\t\tupstream: upstreamLinks(),\n\t\t\t\tdownstream: downstreamLinks(),\n\t\t\t\tparentChain: parentChain(),\n\t\t\t\tonClose: onDrawerClose,\n\t\t\t\tonSelectDep: onDrawerSelectDep\n\t\t\t});\n\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]--></div></div>`);\n\t\tbind_props($$props, { selectedId });\n\t});\n}\n//#endregion\n//#region src/lib/stores/theme.svelte.ts\nvar STUDIO_THEMES = [\n\t\"hermes\",\n\t\"nous\",\n\t\"bronze\",\n\t\"slate\",\n\t\"mono\"\n];\nvar STUDIO_THEME_LABELS = {\n\thermes: \"Hermes\",\n\tnous: \"Nous\",\n\tbronze: \"Bronze\",\n\tslate: \"Slate\",\n\tmono: \"Mono\"\n};\nvar DEFAULT_STUDIO_THEME = \"hermes\";\nvar THEME_KEY = \"cleo-studio-theme\";\nvar MODE_KEY = \"cleo-studio-theme-mode\";\nfunction coerceTheme(value) {\n\treturn STUDIO_THEMES.includes(value ?? \"\") ? value : DEFAULT_STUDIO_THEME;\n}\n/**\n* The reactive theme store. Construct via {@link createThemeStore}.\n*\n* Holds the active theme + light-mode flag as `$state`; `apply()` reflects\n* them onto `<html>` (`data-theme` + a `.light` class). All DOM access is\n* SSR-guarded so the store is safe to instantiate at module scope and\n* `apply()` from a client `$effect`.\n*/\nvar ThemeStore = class {\n\t/** The active operator-console theme. */\n\t#active = DEFAULT_STUDIO_THEME;\n\t/** Whether the light operator-console variant is active. */\n\t#light = false;\n\t/**\n\t* @param initial - Optional SSR-provided initial theme (e.g. from a cookie).\n\t*/\n\tconstructor(initial) {\n\t\tif (initial) this.#active = initial;\n\t}\n\t/** The active theme id. */\n\tget active() {\n\t\treturn this.#active;\n\t}\n\t/** Whether the light variant is active. */\n\tget light() {\n\t\treturn this.#light;\n\t}\n\t/** The ordered theme catalogue (static). */\n\tget themes() {\n\t\treturn STUDIO_THEMES;\n\t}\n\t/**\n\t* Hydrate from `localStorage` (client-only) then reflect onto `<html>`.\n\t* Idempotent + SSR-safe (no-op on the server). A route calls this once\n\t* from a client `$effect`.\n\t*/\n\thydrate() {\n\t\tif (typeof localStorage !== \"undefined\") {\n\t\t\tthis.#active = coerceTheme(localStorage.getItem(THEME_KEY));\n\t\t\tthis.#light = localStorage.getItem(MODE_KEY) === \"light\";\n\t\t}\n\t\tthis.apply();\n\t}\n\t/**\n\t* Switch to a new theme, persist it, and re-apply.\n\t*\n\t* @param theme - The theme to activate.\n\t*/\n\tset(theme) {\n\t\tthis.#active = theme;\n\t\tif (typeof localStorage !== \"undefined\") localStorage.setItem(THEME_KEY, theme);\n\t\tthis.apply();\n\t}\n\t/**\n\t* Toggle the light operator-console variant, persist it, and re-apply.\n\t*/\n\ttoggleLight() {\n\t\tthis.#light = !this.#light;\n\t\tif (typeof localStorage !== \"undefined\") localStorage.setItem(MODE_KEY, this.#light ? \"light\" : \"dark\");\n\t\tthis.apply();\n\t}\n\t/**\n\t* Reflect the current `$state` onto the document root. SSR-safe (the\n\t* `document` guard makes this a no-op on the server).\n\t*/\n\tapply() {\n\t\tif (typeof document === \"undefined\") return;\n\t\tconst root = document.documentElement;\n\t\troot.setAttribute(\"data-theme\", this.#active);\n\t\troot.classList.toggle(\"light\", this.#light);\n\t}\n};\n/**\n* Create a {@link ThemeStore}. The ergonomic entry point a route uses.\n*\n* @param initial - Optional SSR initial theme.\n* @returns A fresh reactive theme store.\n*\n* @example\n* ```ts\n* const theme = createThemeStore();\n* $effect(() => { theme.hydrate(); });\n* ```\n*/\nfunction createThemeStore(initial) {\n\treturn new ThemeStore(initial);\n}\n//#endregion\n//#region src/lib/components/shell/ThemeSwitcher.svelte\nfunction ThemeSwitcher($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\t/** The shared theme rune store (constructed + hydrated by the host route). */\n\t\tlet { theme } = $$props;\n\t\t$$renderer.push(`<div class=\"theme-switcher svelte-2szurj\" role=\"group\" aria-label=\"Operator console theme\"><div class=\"seg svelte-2szurj\" role=\"radiogroup\" aria-label=\"Theme palette\"><!--[-->`);\n\t\tconst each_array = ensure_array_like(theme.themes);\n\t\tfor (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {\n\t\t\tlet t = each_array[$$index];\n\t\t\t$$renderer.push(`<button type=\"button\"${attr_class(\"seg-btn svelte-2szurj\", void 0, { \"active\": theme.active === t })} role=\"radio\"${attr(\"aria-checked\", theme.active === t)}${attr(\"title\", `${STUDIO_THEME_LABELS[t]} theme`)}><span class=\"swatch svelte-2szurj\"${attr(\"data-theme\", t)} aria-hidden=\"true\"></span> ${escape_html(STUDIO_THEME_LABELS[t])}</button>`);\n\t\t}\n\t\t$$renderer.push(`<!--]--></div> <button type=\"button\" class=\"mode-btn svelte-2szurj\"${attr(\"aria-pressed\", theme.light)} title=\"Toggle light operator console\">${escape_html(theme.light ? \"Light\" : \"Dark\")}</button></div>`);\n\t});\n}\n//#endregion\n//#region src/routes/studio/[projectId]/[sagaId]/+page.svelte\nfunction _page($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\tvar $$store_subs;\n\t\tlet { data } = $$props;\n\t\tconst theme = createThemeStore();\n\t\tconst view = derived(() => store_get($$store_subs ??= {}, \"$page\", page).url.searchParams.get(\"view\") === \"kanban\" ? \"kanban\" : \"workgraph\");\n\t\tderived(() => {\n\t\t\tconst out = new Set([data.sagaId]);\n\t\t\tconst tasks = data.explorer?.tasks ?? [];\n\t\t\tlet grew = true;\n\t\t\twhile (grew) {\n\t\t\t\tgrew = false;\n\t\t\t\tfor (const t of tasks) {\n\t\t\t\t\tif (out.has(t.id)) continue;\n\t\t\t\t\tif (t.parentId && out.has(t.parentId)) {\n\t\t\t\t\t\tout.add(t.id);\n\t\t\t\t\t\tgrew = true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn out;\n\t\t});\n\t\tconst sagaTitle = derived(() => data.saga?.title ?? data.sagaId);\n\t\tconst nodeCount = derived(() => data.explorer?.tasks.length ?? 0);\n\t\thead(\"b7bs0\", $$renderer, ($$renderer) => {\n\t\t\t$$renderer.title(($$renderer) => {\n\t\t\t\t$$renderer.push(`<title>${escape_html(data.sagaId)} · ${escape_html(data.projectName)} — CLEO Studio</title>`);\n\t\t\t});\n\t\t\t$$renderer.push(`<meta name=\"robots\" content=\"noindex\"/>`);\n\t\t});\n\t\t$$renderer.push(`<section class=\"saga-shell svelte-b7bs0\"${attr(\"data-view\", view())}><header class=\"command-bar svelte-b7bs0\"><nav class=\"crumbs svelte-b7bs0\" aria-label=\"Breadcrumb\"><a class=\"crumb svelte-b7bs0\" href=\"/projects\">${escape_html(data.projectName)}</a> <span class=\"sep svelte-b7bs0\" aria-hidden=\"true\">▸</span> <span class=\"crumb current svelte-b7bs0\"${attr(\"title\", sagaTitle())}><code class=\"svelte-b7bs0\">${escape_html(data.sagaId)}</code> `);\n\t\tif (data.saga) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`<span class=\"crumb-title svelte-b7bs0\">${escape_html(data.saga.title)}</span>`);\n\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]--></span> `);\n\t\tif (data.saga) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\tBadge($$renderer, {\n\t\t\t\ttone: \"info\",\n\t\t\t\tsize: \"sm\",\n\t\t\t\tchildren: ($$renderer) => {\n\t\t\t\t\t$$renderer.push(`<!---->${escape_html(data.saga.type)}`);\n\t\t\t\t},\n\t\t\t\t$$slots: { default: true }\n\t\t\t});\n\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]--></nav> <div class=\"toggle svelte-b7bs0\" role=\"tablist\" aria-label=\"Saga view\"><button type=\"button\"${attr_class(\"toggle-btn svelte-b7bs0\", void 0, { \"active\": view() === \"workgraph\" })} role=\"tab\"${attr(\"aria-selected\", view() === \"workgraph\")}>Workgraph</button> <button type=\"button\"${attr_class(\"toggle-btn svelte-b7bs0\", void 0, { \"active\": view() === \"kanban\" })} role=\"tab\"${attr(\"aria-selected\", view() === \"kanban\")}>Kanban</button></div> <div class=\"bar-right svelte-b7bs0\">`);\n\t\tThemeSwitcher($$renderer, { theme });\n\t\t$$renderer.push(`<!----></div></header> <div class=\"canvas svelte-b7bs0\">`);\n\t\tif (data.error) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`<div class=\"shell-error svelte-b7bs0\" role=\"alert\"><p>${escape_html(data.error)}</p></div>`);\n\t\t} else if (!data.explorer) {\n\t\t\t$$renderer.push(\"<!--[1-->\");\n\t\t\t$$renderer.push(`<div class=\"shell-error svelte-b7bs0\" role=\"alert\"><p>No workgraph bundle available for this saga.</p></div>`);\n\t\t} else if (view() === \"workgraph\") {\n\t\t\t$$renderer.push(\"<!--[2-->\");\n\t\t\tWorkGraphView($$renderer, {\n\t\t\t\ttasks: data.explorer.tasks,\n\t\t\t\tdeps: data.explorer.deps,\n\t\t\t\tsagaId: data.sagaId\n\t\t\t});\n\t\t} else {\n\t\t\t$$renderer.push(\"<!--[-1-->\");\n\t\t\t$$renderer.push(\"<!--[-1-->\");\n\t\t\t$$renderer.push(`<div class=\"ssr-placeholder svelte-b7bs0\"><p>Loading the live board…</p></div>`);\n\t\t\t$$renderer.push(`<!--]-->`);\n\t\t}\n\t\t$$renderer.push(`<!--]--></div> <footer class=\"shell-foot svelte-b7bs0\"><span class=\"hint svelte-b7bs0\">${escape_html(nodeCount())} tasks in bundle · containment + depends · operator console</span></footer></section>`);\n\t\tif ($$store_subs) unsubscribe_stores($$store_subs);\n\t});\n}\n//#endregion\nexport { _page as default };\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA;AACA,SAAS,aAAa,CAAC,UAAU,EAAE,OAAO,EAAE;AAC5C,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,UAAU,KAAK;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI,EAAE,gBAAgB,GAAG,KAAK,EAAE,UAAU,GAAG,IAAI,EAAE,GAAG,OAAO;AAC3F,EAAE,MAAM,KAAK,GAAG,OAAO,CAAC,MAAM,YAAY,CAAC,KAAK,EAAE,IAAI,EAAE;AACxD,GAAG,SAAS,EAAE,MAAM;AACpB,GAAG,gBAAgB;AACnB,GAAG,eAAe,EAAE;AACpB,GAAG,CAAC,CAAC;AACL;AACA,EAAE,MAAM,kBAAkB,GAAG,IAAI,GAAG,CAAC;AACrC,GAAG,QAAQ;AACX,GAAG,QAAQ;AACX,GAAG;AACH,GAAG,CAAC;AACJ,EAAE,MAAM,SA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-kit/adapter-node/entries/pages/studio/_projectId_/_sagaId_/_page.svelte.js"],"sourcesContent":["import { U as escape_html, V as attr, a as derived, d as unsubscribe_stores, i as bind_props, l as store_get, n as attr_class, o as ensure_array_like, s as head } from \"../../../../../chunks/dev.js\";\nimport \"../../../../../chunks/index-server.js\";\nimport \"../../../../../chunks/lane-transition.js\";\nimport { t as page } from \"../../../../../chunks/stores.js\";\nimport { a as Badge } from \"../../../../../chunks/Tabs.js\";\nimport \"../../../../../chunks/ui.js\";\nimport \"../../../../../chunks/navigation.js\";\nimport { _ as SvgRenderer, d as DetailDrawer, v as tasksToGraph } from \"../../../../../chunks/tasks2.js\";\nimport \"../../../../../chunks/saga-board.svelte.js\";\n//#region src/lib/components/WorkGraphView.svelte\nfunction WorkGraphView($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\t/** Full task set (from the gateway-backed explorer bundle). */\n\t\t/** All dependency edges from the bundle. */\n\t\t/**\n\t\t* The saga (or any ancestor) id to scope the graph to. Every descendant\n\t\t* epic / task / subtask is included via the adapter's ancestor walk.\n\t\t* When omitted the full bundle projects (parity with GraphTab).\n\t\t*/\n\t\t/** Include cancelled epics in the projection. Default false. */\n\t\t/** Optional initially-selected node id (drives the drawer on mount). */\n\t\tlet { tasks, deps, sagaId = null, includeCancelled = false, selectedId = null } = $$props;\n\t\tconst graph = derived(() => tasksToGraph(tasks, deps, {\n\t\t\tepicScope: sagaId,\n\t\t\tincludeCancelled,\n\t\t\tincludeArchived: false\n\t\t}));\n\t\t/** Visible edge kinds — containment + both dependency families. */\n\t\tconst VISIBLE_EDGE_KINDS = new Set([\n\t\t\t\"parent\",\n\t\t\t\"blocks\",\n\t\t\t\"depends\"\n\t\t]);\n\t\tconst tasksById = derived(() => new Map(tasks.map((t) => [t.id, t])));\n\t\tconst selectedTask = derived(() => selectedId ? tasksById().get(selectedId) ?? null : null);\n\t\t/** Upstream dependency links: tasks the selected node depends on. */\n\t\tconst upstreamLinks = derived(() => {\n\t\t\tif (!selectedTask()) return [];\n\t\t\tconst out = [];\n\t\t\tfor (const d of deps) {\n\t\t\t\tif (d.taskId !== selectedTask().id) continue;\n\t\t\t\tconst blocker = tasksById().get(d.dependsOn);\n\t\t\t\tif (!blocker) continue;\n\t\t\t\tout.push({\n\t\t\t\t\tid: blocker.id,\n\t\t\t\t\ttitle: blocker.title,\n\t\t\t\t\tstatus: blocker.status,\n\t\t\t\t\tpriority: blocker.priority\n\t\t\t\t});\n\t\t\t}\n\t\t\treturn out;\n\t\t});\n\t\t/** Downstream dependency links: tasks that depend on the selected node. */\n\t\tconst downstreamLinks = derived(() => {\n\t\t\tif (!selectedTask()) return [];\n\t\t\tconst out = [];\n\t\t\tfor (const d of deps) {\n\t\t\t\tif (d.dependsOn !== selectedTask().id) continue;\n\t\t\t\tconst dependent = tasksById().get(d.taskId);\n\t\t\t\tif (!dependent) continue;\n\t\t\t\tout.push({\n\t\t\t\t\tid: dependent.id,\n\t\t\t\t\ttitle: dependent.title,\n\t\t\t\t\tstatus: dependent.status,\n\t\t\t\t\tpriority: dependent.priority\n\t\t\t\t});\n\t\t\t}\n\t\t\treturn out;\n\t\t});\n\t\t/** Containment chain: walk `parentId` up to (and including) the saga root. */\n\t\tconst parentChain = derived(() => {\n\t\t\tif (!selectedTask()) return [];\n\t\t\tconst chain = [];\n\t\t\tlet current = selectedTask().parentId ? tasksById().get(selectedTask().parentId) : void 0;\n\t\t\tconst seen = /* @__PURE__ */ new Set();\n\t\t\twhile (current && !seen.has(current.id)) {\n\t\t\t\tseen.add(current.id);\n\t\t\t\tchain.unshift({\n\t\t\t\t\tid: current.id,\n\t\t\t\t\ttitle: current.title,\n\t\t\t\t\ttype: current.type\n\t\t\t\t});\n\t\t\t\tcurrent = current.parentId ? tasksById().get(current.parentId) : void 0;\n\t\t\t}\n\t\t\treturn chain;\n\t\t});\n\t\tfunction onNodeClicked(n) {\n\t\t\tselectedId = n.id;\n\t\t}\n\t\tfunction onDrawerClose() {\n\t\t\tselectedId = null;\n\t\t}\n\t\tfunction onDrawerSelectDep(id) {\n\t\t\tselectedId = id;\n\t\t}\n\t\t$$renderer.push(`<div class=\"workgraph-view svelte-1lzd0zi\"><div class=\"workgraph-meta svelte-1lzd0zi\"><span class=\"count svelte-1lzd0zi\"><strong class=\"svelte-1lzd0zi\">${escape_html(graph().nodes.length)}</strong> nodes · <strong class=\"svelte-1lzd0zi\">${escape_html(graph().edges.length)}</strong> edges `);\n\t\tif (sagaId) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`· scoped to <code class=\"svelte-1lzd0zi\">${escape_html(sagaId)}</code>`);\n\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]--></span> <span class=\"legend-hint svelte-1lzd0zi\">containment · depends · blocks</span></div> <div class=\"workgraph-body svelte-1lzd0zi\"><div class=\"graph-wrap svelte-1lzd0zi\">`);\n\t\tif (graph().nodes.length === 0) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`<div class=\"empty-state svelte-1lzd0zi\"><p>No tasks in this workgraph `);\n\t\t\tif (sagaId) {\n\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t$$renderer.push(`for <code class=\"svelte-1lzd0zi\">${escape_html(sagaId)}</code>`);\n\t\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t\t$$renderer.push(`<!--]-->.</p></div>`);\n\t\t} else {\n\t\t\t$$renderer.push(\"<!--[-1-->\");\n\t\t\tSvgRenderer($$renderer, {\n\t\t\t\tnodes: graph().nodes,\n\t\t\t\tedges: graph().edges,\n\t\t\t\tclusters: graph().clusters,\n\t\t\t\tvisibleEdgeKinds: VISIBLE_EDGE_KINDS,\n\t\t\t\tselectedNodeId: selectedId,\n\t\t\t\tonNodeClick: onNodeClicked,\n\t\t\t\tshowLabels: \"id-only\",\n\t\t\t\tnodeRenderer: \"pill\",\n\t\t\t\tshowToolbar: true,\n\t\t\t\tshowLegend: true,\n\t\t\t\tariaLabel: \"Saga workgraph — containment and dependency edges\"\n\t\t\t});\n\t\t}\n\t\t$$renderer.push(`<!--]--></div> `);\n\t\tif (selectedTask()) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\tDetailDrawer($$renderer, {\n\t\t\t\ttask: selectedTask(),\n\t\t\t\tupstream: upstreamLinks(),\n\t\t\t\tdownstream: downstreamLinks(),\n\t\t\t\tparentChain: parentChain(),\n\t\t\t\tonClose: onDrawerClose,\n\t\t\t\tonSelectDep: onDrawerSelectDep\n\t\t\t});\n\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]--></div></div>`);\n\t\tbind_props($$props, { selectedId });\n\t});\n}\n//#endregion\n//#region src/lib/stores/theme.svelte.ts\nvar STUDIO_THEMES = [\n\t\"hermes\",\n\t\"nous\",\n\t\"bronze\",\n\t\"slate\",\n\t\"mono\"\n];\nvar STUDIO_THEME_LABELS = {\n\thermes: \"Hermes\",\n\tnous: \"Nous\",\n\tbronze: \"Bronze\",\n\tslate: \"Slate\",\n\tmono: \"Mono\"\n};\nvar DEFAULT_STUDIO_THEME = \"hermes\";\nvar THEME_KEY = \"cleo-studio-theme\";\nvar MODE_KEY = \"cleo-studio-theme-mode\";\nfunction coerceTheme(value) {\n\treturn STUDIO_THEMES.includes(value ?? \"\") ? value : DEFAULT_STUDIO_THEME;\n}\n/**\n* The reactive theme store. Construct via {@link createThemeStore}.\n*\n* Holds the active theme + light-mode flag as `$state`; `apply()` reflects\n* them onto `<html>` (`data-theme` + a `.light` class). All DOM access is\n* SSR-guarded so the store is safe to instantiate at module scope and\n* `apply()` from a client `$effect`.\n*/\nvar ThemeStore = class {\n\t/** The active operator-console theme. */\n\t#active = DEFAULT_STUDIO_THEME;\n\t/** Whether the light operator-console variant is active. */\n\t#light = false;\n\t/**\n\t* @param initial - Optional SSR-provided initial theme (e.g. from a cookie).\n\t*/\n\tconstructor(initial) {\n\t\tif (initial) this.#active = initial;\n\t}\n\t/** The active theme id. */\n\tget active() {\n\t\treturn this.#active;\n\t}\n\t/** Whether the light variant is active. */\n\tget light() {\n\t\treturn this.#light;\n\t}\n\t/** The ordered theme catalogue (static). */\n\tget themes() {\n\t\treturn STUDIO_THEMES;\n\t}\n\t/**\n\t* Hydrate from `localStorage` (client-only) then reflect onto `<html>`.\n\t* Idempotent + SSR-safe (no-op on the server). A route calls this once\n\t* from a client `$effect`.\n\t*/\n\thydrate() {\n\t\tif (typeof localStorage !== \"undefined\") {\n\t\t\tthis.#active = coerceTheme(localStorage.getItem(THEME_KEY));\n\t\t\tthis.#light = localStorage.getItem(MODE_KEY) === \"light\";\n\t\t}\n\t\tthis.apply();\n\t}\n\t/**\n\t* Switch to a new theme, persist it, and re-apply.\n\t*\n\t* @param theme - The theme to activate.\n\t*/\n\tset(theme) {\n\t\tthis.#active = theme;\n\t\tif (typeof localStorage !== \"undefined\") localStorage.setItem(THEME_KEY, theme);\n\t\tthis.apply();\n\t}\n\t/**\n\t* Toggle the light operator-console variant, persist it, and re-apply.\n\t*/\n\ttoggleLight() {\n\t\tthis.#light = !this.#light;\n\t\tif (typeof localStorage !== \"undefined\") localStorage.setItem(MODE_KEY, this.#light ? \"light\" : \"dark\");\n\t\tthis.apply();\n\t}\n\t/**\n\t* Reflect the current `$state` onto the document root. SSR-safe (the\n\t* `document` guard makes this a no-op on the server).\n\t*/\n\tapply() {\n\t\tif (typeof document === \"undefined\") return;\n\t\tconst root = document.documentElement;\n\t\troot.setAttribute(\"data-theme\", this.#active);\n\t\troot.classList.toggle(\"light\", this.#light);\n\t}\n};\n/**\n* Create a {@link ThemeStore}. The ergonomic entry point a route uses.\n*\n* @param initial - Optional SSR initial theme.\n* @returns A fresh reactive theme store.\n*\n* @example\n* ```ts\n* const theme = createThemeStore();\n* $effect(() => { theme.hydrate(); });\n* ```\n*/\nfunction createThemeStore(initial) {\n\treturn new ThemeStore(initial);\n}\n//#endregion\n//#region src/lib/components/shell/ThemeSwitcher.svelte\nfunction ThemeSwitcher($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\t/** The shared theme rune store (constructed + hydrated by the host route). */\n\t\tlet { theme } = $$props;\n\t\t$$renderer.push(`<div class=\"theme-switcher svelte-2szurj\" role=\"group\" aria-label=\"Operator console theme\"><div class=\"seg svelte-2szurj\" role=\"radiogroup\" aria-label=\"Theme palette\"><!--[-->`);\n\t\tconst each_array = ensure_array_like(theme.themes);\n\t\tfor (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {\n\t\t\tlet t = each_array[$$index];\n\t\t\t$$renderer.push(`<button type=\"button\"${attr_class(\"seg-btn svelte-2szurj\", void 0, { \"active\": theme.active === t })} role=\"radio\"${attr(\"aria-checked\", theme.active === t)}${attr(\"title\", `${STUDIO_THEME_LABELS[t]} theme`)}><span class=\"swatch svelte-2szurj\"${attr(\"data-theme\", t)} aria-hidden=\"true\"></span> ${escape_html(STUDIO_THEME_LABELS[t])}</button>`);\n\t\t}\n\t\t$$renderer.push(`<!--]--></div> <button type=\"button\" class=\"mode-btn svelte-2szurj\"${attr(\"aria-pressed\", theme.light)} title=\"Toggle light operator console\">${escape_html(theme.light ? \"Light\" : \"Dark\")}</button></div>`);\n\t});\n}\n//#endregion\n//#region src/routes/studio/[projectId]/[sagaId]/+page.svelte\nfunction _page($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\tvar $$store_subs;\n\t\tlet { data } = $$props;\n\t\tconst theme = createThemeStore();\n\t\tconst view = derived(() => store_get($$store_subs ??= {}, \"$page\", page).url.searchParams.get(\"view\") === \"kanban\" ? \"kanban\" : \"workgraph\");\n\t\tderived(() => {\n\t\t\tconst out = new Set([data.sagaId]);\n\t\t\tconst tasks = data.explorer?.tasks ?? [];\n\t\t\tlet grew = true;\n\t\t\twhile (grew) {\n\t\t\t\tgrew = false;\n\t\t\t\tfor (const t of tasks) {\n\t\t\t\t\tif (out.has(t.id)) continue;\n\t\t\t\t\tif (t.parentId && out.has(t.parentId)) {\n\t\t\t\t\t\tout.add(t.id);\n\t\t\t\t\t\tgrew = true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn out;\n\t\t});\n\t\tconst sagaTitle = derived(() => data.saga?.title ?? data.sagaId);\n\t\tconst nodeCount = derived(() => data.explorer?.tasks.length ?? 0);\n\t\thead(\"b7bs0\", $$renderer, ($$renderer) => {\n\t\t\t$$renderer.title(($$renderer) => {\n\t\t\t\t$$renderer.push(`<title>${escape_html(data.sagaId)} · ${escape_html(data.projectName)} — CLEO Studio</title>`);\n\t\t\t});\n\t\t\t$$renderer.push(`<meta name=\"robots\" content=\"noindex\"/>`);\n\t\t});\n\t\t$$renderer.push(`<section class=\"saga-shell svelte-b7bs0\"${attr(\"data-view\", view())}><header class=\"command-bar svelte-b7bs0\"><nav class=\"crumbs svelte-b7bs0\" aria-label=\"Breadcrumb\"><a class=\"crumb svelte-b7bs0\" href=\"/projects\">${escape_html(data.projectName)}</a> <span class=\"sep svelte-b7bs0\" aria-hidden=\"true\">▸</span> <span class=\"crumb current svelte-b7bs0\"${attr(\"title\", sagaTitle())}><code class=\"svelte-b7bs0\">${escape_html(data.sagaId)}</code> `);\n\t\tif (data.saga) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`<span class=\"crumb-title svelte-b7bs0\">${escape_html(data.saga.title)}</span>`);\n\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]--></span> `);\n\t\tif (data.saga) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\tBadge($$renderer, {\n\t\t\t\ttone: \"info\",\n\t\t\t\tsize: \"sm\",\n\t\t\t\tchildren: ($$renderer) => {\n\t\t\t\t\t$$renderer.push(`<!---->${escape_html(data.saga.type)}`);\n\t\t\t\t},\n\t\t\t\t$$slots: { default: true }\n\t\t\t});\n\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]--></nav> <div class=\"toggle svelte-b7bs0\" role=\"tablist\" aria-label=\"Saga view\"><button type=\"button\"${attr_class(\"toggle-btn svelte-b7bs0\", void 0, { \"active\": view() === \"workgraph\" })} role=\"tab\"${attr(\"aria-selected\", view() === \"workgraph\")}>Workgraph</button> <button type=\"button\"${attr_class(\"toggle-btn svelte-b7bs0\", void 0, { \"active\": view() === \"kanban\" })} role=\"tab\"${attr(\"aria-selected\", view() === \"kanban\")}>Kanban</button></div> <div class=\"bar-right svelte-b7bs0\">`);\n\t\tThemeSwitcher($$renderer, { theme });\n\t\t$$renderer.push(`<!----></div></header> <div class=\"canvas svelte-b7bs0\">`);\n\t\tif (data.error) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`<div class=\"shell-error svelte-b7bs0\" role=\"alert\"><p>${escape_html(data.error)}</p></div>`);\n\t\t} else if (!data.explorer) {\n\t\t\t$$renderer.push(\"<!--[1-->\");\n\t\t\t$$renderer.push(`<div class=\"shell-error svelte-b7bs0\" role=\"alert\"><p>No workgraph bundle available for this saga.</p></div>`);\n\t\t} else if (view() === \"workgraph\") {\n\t\t\t$$renderer.push(\"<!--[2-->\");\n\t\t\tWorkGraphView($$renderer, {\n\t\t\t\ttasks: data.explorer.tasks,\n\t\t\t\tdeps: data.explorer.deps,\n\t\t\t\tsagaId: data.sagaId\n\t\t\t});\n\t\t} else {\n\t\t\t$$renderer.push(\"<!--[-1-->\");\n\t\t\t$$renderer.push(\"<!--[-1-->\");\n\t\t\t$$renderer.push(`<div class=\"ssr-placeholder svelte-b7bs0\"><p>Loading the live board…</p></div>`);\n\t\t\t$$renderer.push(`<!--]-->`);\n\t\t}\n\t\t$$renderer.push(`<!--]--></div> <footer class=\"shell-foot svelte-b7bs0\"><span class=\"hint svelte-b7bs0\">${escape_html(nodeCount())} tasks in bundle · containment + depends · operator console</span></footer></section>`);\n\t\tif ($$store_subs) unsubscribe_stores($$store_subs);\n\t});\n}\n//#endregion\nexport { _page as default };\n"],"names":[],"mappings":";;;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AAU,EAAE;AAC7B,IAAI,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,KAAK;AAC9B,IAAI,IAAI,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI;AAC5B,IAAI,MAAM,EAAE,IAAI,CAAC;AACjB,IAAI,CAAC;AACL,EAAE,CAAC,MAAM;AACT,GAAG,UAAU,CAAC,IAAI,CAAC,YAAY,CAAC;AAChC,GAAG,UAAU,CAAC,IAAI,CAAC,YAAY,CAAC;AAChC,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC,8EAA8E,CAAC,CAAC;AACpG,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC;AAC9B,EAAE;AACF,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC,uFAAuF,EAAE,WAAW,CAAC,SAAS,EAAE,CAAC,CAAC,qFAAqF,CAAC,CAAC;AAC5N,EAAE,IAAI,YAAY,EAAE,kBAAkB,CAAC,YAAY,CAAC;AACpD,CAAC,CAAC,CAAC;AACH;;;;"}
@@ -1,10 +1,10 @@
1
1
  import { x as head, c as escape_html, e as ensure_array_like, b as attr_class, a as attr, d as attr_style, g as derived } from './dev-BNpEUZI3.js';
2
- import { g as goto } from './client-CnSSIJRB.js';
2
+ import { g as goto } from './client-2rpcRzcr.js';
3
3
  import { a as Breadcrumb, C as Card } from './Tabs-DzG6Bn9a.js';
4
4
  import { E as EmptyState, I as Input, C as ChipGroup, b as Chip } from './ui-DR8zOSpC.js';
5
5
  import { d as describeEdgeKind, E as EDGE_STYLE } from './no-face-up-DcejJLy-.js';
6
6
  import { C as CosmosRenderer, a as adaptNexusMacro, m as mapNexusRelationToEdgeKind } from './nexus-adapter-9EL_VlGI.js';
7
- import './internal-Cs1b0-2z.js';
7
+ import './internal-xyE_opYp.js';
8
8
  import 'node:module';
9
9
  import '@sveltejs/kit/internal';
10
10
  import './index-server-DocJvixA.js';
@@ -281,4 +281,4 @@ function _page($$renderer, $$props) {
281
281
  }
282
282
 
283
283
  export { _page as default };
284
- //# sourceMappingURL=_page.svelte-veJzLVtt.js.map
284
+ //# sourceMappingURL=_page.svelte-h0JOhZab.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"_page.svelte-veJzLVtt.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/code/_page.svelte.js"],"sourcesContent":["import { U as escape_html, V as attr, a as derived, n as attr_class, o as ensure_array_like, r as attr_style, s as head } from \"../../../chunks/dev.js\";\nimport { t as goto } from \"../../../chunks/client.js\";\nimport { i as Breadcrumb, r as Card } from \"../../../chunks/Tabs.js\";\nimport { a as Input, c as Chip, o as EmptyState, s as ChipGroup } from \"../../../chunks/ui.js\";\nimport { a as describeEdgeKind, i as EDGE_STYLE } from \"../../../chunks/no-face-up.js\";\nimport \"../../../chunks/navigation.js\";\nimport { i as CosmosRenderer, r as mapNexusRelationToEdgeKind, t as adaptNexusMacro } from \"../../../chunks/nexus-adapter.js\";\n//#region src/routes/code/+page.svelte\nfunction _page($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\tlet { data } = $$props;\n\t\tconst macroModel = derived(() => adaptNexusMacro(data.communities.map((c) => ({\n\t\t\tid: c.id,\n\t\t\tlabel: c.rawLabel,\n\t\t\tmemberCount: c.size,\n\t\t\ttopKind: c.topKind\n\t\t})), data.edges.map((e) => ({\n\t\t\tsource: e.source,\n\t\t\ttarget: e.target,\n\t\t\tkind: mapNexusRelationToEdgeKind(e.dominantType),\n\t\t\tweight: e.weight\n\t\t}))));\n\t\tconst graphNodes = derived(() => macroModel().nodes);\n\t\tconst graphEdges = derived(() => macroModel().edges);\n\t\tconst graphClusters = derived(() => macroModel().clusters);\n\t\tconst CALL_EDGE_KINDS = [\n\t\t\t\"contains\",\n\t\t\t\"defines\",\n\t\t\t\"imports\",\n\t\t\t\"calls\",\n\t\t\t\"extends\",\n\t\t\t\"implements\",\n\t\t\t\"has_method\",\n\t\t\t\"has_property\",\n\t\t\t\"member_of\",\n\t\t\t\"accesses\",\n\t\t\t\"references\",\n\t\t\t\"relates_to\"\n\t\t];\n\t\tconst LABEL_KINDS = [\n\t\t\t\"community\",\n\t\t\t\"folder\",\n\t\t\t\"file\",\n\t\t\t\"class\",\n\t\t\t\"function\",\n\t\t\t\"method\",\n\t\t\t\"interface\",\n\t\t\t\"enum\",\n\t\t\t\"type_alias\"\n\t\t];\n\t\tlet visibleEdgeKinds = new Set(CALL_EDGE_KINDS);\n\t\tlet visibleNodeKinds = new Set(LABEL_KINDS);\n\t\tlet showClusterLabels = true;\n\t\tlet highlightedNodeId = null;\n\t\tlet selectedNode = null;\n\t\tfunction toggleEdge(kind) {\n\t\t\tconst next = new Set(visibleEdgeKinds);\n\t\t\tif (next.has(kind)) next.delete(kind);\n\t\t\telse next.add(kind);\n\t\t\tvisibleEdgeKinds = next;\n\t\t}\n\t\tfunction toggleLabel(kind) {\n\t\t\tconst next = new Set(visibleNodeKinds);\n\t\t\tif (next.has(kind)) next.delete(kind);\n\t\t\telse next.add(kind);\n\t\t\tvisibleNodeKinds = next;\n\t\t}\n\t\tlet searchQuery = \"\";\n\t\tlet searchResults = [];\n\t\tlet searchDebounce = null;\n\t\tfunction onSearchInput() {\n\t\t\tif (searchDebounce) clearTimeout(searchDebounce);\n\t\t\tconst q = searchQuery.trim();\n\t\t\tif (q.length < 2) {\n\t\t\t\tsearchResults = [];\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tsearchDebounce = setTimeout(async () => {\n\t\t\t\ttry {\n\t\t\t\t\tconst resp = await fetch(`/api/nexus/search?q=${encodeURIComponent(q)}`);\n\t\t\t\t\tif (!resp.ok) {\n\t\t\t\t\t\tsearchResults = [];\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tsearchResults = await resp.json();\n\t\t\t\t} catch {\n\t\t\t\t\tsearchResults = [];\n\t\t\t\t}\n\t\t\t}, 180);\n\t\t}\n\t\tfunction onNodeClick(node) {\n\t\t\tselectedNode = node;\n\t\t\tif (node.kind === \"community\") goto(`/code/community/${encodeURIComponent(node.id)}`);\n\t\t}\n\t\tconst topCommunities = derived(() => data.communities.slice(0, 12));\n\t\tfunction formatCount(n) {\n\t\t\tif (n >= 1e3) return `${(n / 1e3).toFixed(1)}k`;\n\t\t\treturn String(n);\n\t\t}\n\t\tconst totalEdgeWeight = derived(() => data.edges.reduce((s, e) => s + e.weight, 0));\n\t\tlet $$settled = true;\n\t\tlet $$inner_renderer;\n\t\tfunction $$render_inner($$renderer) {\n\t\t\thead(\"1cjo1uu\", $$renderer, ($$renderer) => {\n\t\t\t\t$$renderer.title(($$renderer) => {\n\t\t\t\t\t$$renderer.push(`<title>Code Intelligence — CLEO Studio</title>`);\n\t\t\t\t});\n\t\t\t});\n\t\t\t$$renderer.push(`<section class=\"code-macro svelte-1cjo1uu\" aria-labelledby=\"code-title\"><header class=\"page-head svelte-1cjo1uu\">`);\n\t\t\tBreadcrumb($$renderer, { items: [{\n\t\t\t\tlabel: \"Studio\",\n\t\t\t\thref: \"/\"\n\t\t\t}, { label: \"Code\" }] });\n\t\t\t$$renderer.push(`<!----> <div class=\"title-row svelte-1cjo1uu\"><div class=\"title-block\"><span class=\"eyebrow svelte-1cjo1uu\">NEXUS · Macro</span> <h1 id=\"code-title\" class=\"svelte-1cjo1uu\">Code Intelligence</h1> <p class=\"subtitle svelte-1cjo1uu\"><span class=\"stat-inline svelte-1cjo1uu\">${escape_html(formatCount(data.totalNodes))} symbols</span> <span class=\"sep svelte-1cjo1uu\" aria-hidden=\"true\">·</span> <span class=\"stat-inline svelte-1cjo1uu\">${escape_html(formatCount(data.totalRelations))} relations</span> <span class=\"sep svelte-1cjo1uu\" aria-hidden=\"true\">·</span> <span class=\"stat-inline svelte-1cjo1uu\">${escape_html(data.communities.length)} communities</span></p></div> <div class=\"title-stats svelte-1cjo1uu\" role=\"list\" aria-label=\"Graph summary\"><div class=\"stat-card svelte-1cjo1uu\" role=\"listitem\"><span class=\"stat-num svelte-1cjo1uu\">${escape_html(formatCount(data.totalNodes))}</span> <span class=\"stat-lbl svelte-1cjo1uu\">Symbols</span></div> <div class=\"stat-card svelte-1cjo1uu\" role=\"listitem\"><span class=\"stat-num svelte-1cjo1uu\">${escape_html(formatCount(data.totalRelations))}</span> <span class=\"stat-lbl svelte-1cjo1uu\">Relations</span></div> <div class=\"stat-card svelte-1cjo1uu\" role=\"listitem\"><span class=\"stat-num svelte-1cjo1uu\">${escape_html(data.communities.length)}</span> <span class=\"stat-lbl svelte-1cjo1uu\">Communities</span></div></div></div></header> `);\n\t\t\tif (data.empty) {\n\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\tEmptyState($$renderer, {\n\t\t\t\t\ttitle: \"No code graph yet\",\n\t\t\t\t\tsubtitle: data.emptyReason ?? \"Run cleo nexus analyze to populate nexus.db.\"\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\t$$renderer.push(\"<!--[-1-->\");\n\t\t\t\t$$renderer.push(`<div class=\"workbench svelte-1cjo1uu\"><div class=\"stage svelte-1cjo1uu\"><div class=\"stage-scanlines svelte-1cjo1uu\" aria-hidden=\"true\"></div> `);\n\t\t\t\tCosmosRenderer($$renderer, {\n\t\t\t\t\tnodes: graphNodes(),\n\t\t\t\t\tedges: graphEdges(),\n\t\t\t\t\tclusters: graphClusters(),\n\t\t\t\t\tvisibleEdgeKinds,\n\t\t\t\t\tvisibleNodeKinds,\n\t\t\t\t\thighlightNodeId: highlightedNodeId,\n\t\t\t\t\tshowClusterLabels,\n\t\t\t\t\tonNodeClick,\n\t\t\t\t\theight: \"calc(100vh - 220px)\",\n\t\t\t\t\tbaseAlpha: .92\n\t\t\t\t});\n\t\t\t\t$$renderer.push(`<!----> <footer class=\"legend-dock svelte-1cjo1uu\" aria-label=\"Edge legend\"><span class=\"legend-eyebrow svelte-1cjo1uu\">EDGE KINDS</span> <ul class=\"svelte-1cjo1uu\"><!--[-->`);\n\t\t\t\tconst each_array = ensure_array_like(CALL_EDGE_KINDS);\n\t\t\t\tfor (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {\n\t\t\t\t\tlet kind = each_array[$$index];\n\t\t\t\t\tconst style = EDGE_STYLE[kind];\n\t\t\t\t\tconst active = visibleEdgeKinds.has(kind);\n\t\t\t\t\t$$renderer.push(`<li><button type=\"button\"${attr_class(\"legend-item svelte-1cjo1uu\", void 0, { \"active\": active })}${attr(\"aria-pressed\", active)}${attr(\"title\", describeEdgeKind(kind))}><span${attr_class(\"swatch svelte-1cjo1uu\", void 0, { \"dashed\": Boolean(style.dash) })} aria-hidden=\"true\"${attr_style(\"\", { background: style.color })}></span> <span class=\"legend-label\">${escape_html(kind)}</span> `);\n\t\t\t\t\tif (style.arrow) {\n\t\t\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t\t\t$$renderer.push(`<span class=\"arrow-mark svelte-1cjo1uu\" aria-hidden=\"true\">›</span>`);\n\t\t\t\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t\t\t\t$$renderer.push(`<!--]--></button></li>`);\n\t\t\t\t}\n\t\t\t\t$$renderer.push(`<!--]--></ul></footer></div> <aside class=\"side-panel svelte-1cjo1uu\" aria-label=\"Graph controls and details\">`);\n\t\t\t\t{\n\t\t\t\t\tfunction children($$renderer) {\n\t\t\t\t\t\t$$renderer.push(`<div class=\"panel-stack svelte-1cjo1uu\">`);\n\t\t\t\t\t\tInput($$renderer, {\n\t\t\t\t\t\t\ttype: \"search\",\n\t\t\t\t\t\t\tlabel: \"Search symbols\",\n\t\t\t\t\t\t\tplaceholder: \"Search symbols, classes, functions…\",\n\t\t\t\t\t\t\toninput: onSearchInput,\n\t\t\t\t\t\t\tget value() {\n\t\t\t\t\t\t\t\treturn searchQuery;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tset value($$value) {\n\t\t\t\t\t\t\t\tsearchQuery = $$value;\n\t\t\t\t\t\t\t\t$$settled = false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t\t$$renderer.push(`<!----> `);\n\t\t\t\t\t\tif (searchResults.length > 0) {\n\t\t\t\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t\t\t\t$$renderer.push(`<ul class=\"search-results svelte-1cjo1uu\" role=\"listbox\" aria-label=\"Search results\"><!--[-->`);\n\t\t\t\t\t\t\tconst each_array_1 = ensure_array_like(searchResults);\n\t\t\t\t\t\t\tfor (let $$index_1 = 0, $$length = each_array_1.length; $$index_1 < $$length; $$index_1++) {\n\t\t\t\t\t\t\t\tlet hit = each_array_1[$$index_1];\n\t\t\t\t\t\t\t\t$$renderer.push(`<li><button type=\"button\" class=\"search-hit svelte-1cjo1uu\"><span class=\"hit-label svelte-1cjo1uu\">${escape_html(hit.label)}</span> <span class=\"hit-meta svelte-1cjo1uu\"><span class=\"hit-kind svelte-1cjo1uu\">${escape_html(hit.kind)}</span> `);\n\t\t\t\t\t\t\t\tif (hit.filePath) {\n\t\t\t\t\t\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t\t\t\t\t\t$$renderer.push(`<span class=\"hit-path svelte-1cjo1uu\">${escape_html(hit.filePath.split(\"/\").slice(-2).join(\"/\"))}</span>`);\n\t\t\t\t\t\t\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t\t\t\t\t\t\t$$renderer.push(`<!--]--></span></button></li>`);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$$renderer.push(`<!--]--></ul>`);\n\t\t\t\t\t\t} else if (searchQuery.trim().length >= 2) {\n\t\t\t\t\t\t\t$$renderer.push(\"<!--[1-->\");\n\t\t\t\t\t\t\t$$renderer.push(`<p class=\"search-empty svelte-1cjo1uu\">No matches for \"${escape_html(searchQuery)}\"</p>`);\n\t\t\t\t\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t\t\t\t\t$$renderer.push(`<!--]--> <div class=\"panel-section svelte-1cjo1uu\"><h2 class=\"panel-head svelte-1cjo1uu\">Visible Labels</h2> <p class=\"panel-hint svelte-1cjo1uu\">Toggles WHICH kinds may render a cluster caption — never leaf labels.</p> `);\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tfunction children($$renderer) {\n\t\t\t\t\t\t\t\t$$renderer.push(`<!--[-->`);\n\t\t\t\t\t\t\t\tconst each_array_2 = ensure_array_like(LABEL_KINDS);\n\t\t\t\t\t\t\t\tfor (let $$index_2 = 0, $$length = each_array_2.length; $$index_2 < $$length; $$index_2++) {\n\t\t\t\t\t\t\t\t\tlet kind = each_array_2[$$index_2];\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tfunction children($$renderer) {\n\t\t\t\t\t\t\t\t\t\t\t$$renderer.push(`<!---->${escape_html(kind)}`);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tChip($$renderer, {\n\t\t\t\t\t\t\t\t\t\t\tactive: visibleNodeKinds.has(kind),\n\t\t\t\t\t\t\t\t\t\t\tonclick: () => toggleLabel(kind),\n\t\t\t\t\t\t\t\t\t\t\tchildren,\n\t\t\t\t\t\t\t\t\t\t\t$$slots: { default: true }\n\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t$$renderer.push(`<!--]-->`);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tChipGroup($$renderer, {\n\t\t\t\t\t\t\t\tchildren,\n\t\t\t\t\t\t\t\t$$slots: { default: true }\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$$renderer.push(`<!----> <label class=\"toggle-row svelte-1cjo1uu\"><input type=\"checkbox\"${attr(\"checked\", showClusterLabels, true)} class=\"svelte-1cjo1uu\"/> <span>Show cluster captions</span></label></div> <div class=\"panel-section svelte-1cjo1uu\"><h2 class=\"panel-head svelte-1cjo1uu\">Visible Edges</h2> <p class=\"panel-hint svelte-1cjo1uu\">Hides the kind entirely from the canvas.</p> `);\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tfunction children($$renderer) {\n\t\t\t\t\t\t\t\t$$renderer.push(`<!--[-->`);\n\t\t\t\t\t\t\t\tconst each_array_3 = ensure_array_like(CALL_EDGE_KINDS);\n\t\t\t\t\t\t\t\tfor (let $$index_3 = 0, $$length = each_array_3.length; $$index_3 < $$length; $$index_3++) {\n\t\t\t\t\t\t\t\t\tlet kind = each_array_3[$$index_3];\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tfunction children($$renderer) {\n\t\t\t\t\t\t\t\t\t\t\t$$renderer.push(`<!---->${escape_html(kind)}`);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tChip($$renderer, {\n\t\t\t\t\t\t\t\t\t\t\tactive: visibleEdgeKinds.has(kind),\n\t\t\t\t\t\t\t\t\t\t\tonclick: () => toggleEdge(kind),\n\t\t\t\t\t\t\t\t\t\t\tchildren,\n\t\t\t\t\t\t\t\t\t\t\t$$slots: { default: true }\n\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t$$renderer.push(`<!--]-->`);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tChipGroup($$renderer, {\n\t\t\t\t\t\t\t\tchildren,\n\t\t\t\t\t\t\t\t$$slots: { default: true }\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$$renderer.push(`<!----></div> <div class=\"panel-section svelte-1cjo1uu\"><h2 class=\"panel-head svelte-1cjo1uu\">Top Communities</h2> <ul class=\"community-list svelte-1cjo1uu\"><!--[-->`);\n\t\t\t\t\t\tconst each_array_4 = ensure_array_like(topCommunities());\n\t\t\t\t\t\tfor (let $$index_4 = 0, $$length = each_array_4.length; $$index_4 < $$length; $$index_4++) {\n\t\t\t\t\t\t\tlet comm = each_array_4[$$index_4];\n\t\t\t\t\t\t\t$$renderer.push(`<li><a${attr(\"href\", `/code/community/${encodeURIComponent(comm.id)}`)} class=\"community-row svelte-1cjo1uu\"${attr_style(\"\", { \"--tint\": comm.color })}><span class=\"tick svelte-1cjo1uu\" aria-hidden=\"true\"></span> <span class=\"row-body svelte-1cjo1uu\"><span class=\"row-label svelte-1cjo1uu\">${escape_html(comm.rawLabel)}</span> <span class=\"row-meta svelte-1cjo1uu\">${escape_html(comm.size)} symbols · ${escape_html(comm.topKind)}</span></span> <span class=\"row-chev svelte-1cjo1uu\" aria-hidden=\"true\">→</span></a></li>`);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$$renderer.push(`<!--]--></ul></div> <div class=\"panel-section svelte-1cjo1uu\"><a href=\"/code/flows\" class=\"flow-link svelte-1cjo1uu\"><span class=\"flow-arrow svelte-1cjo1uu\" aria-hidden=\"true\">▸</span> <span class=\"flow-body svelte-1cjo1uu\"><span class=\"flow-title svelte-1cjo1uu\">Execution Flows</span> <span class=\"flow-sub svelte-1cjo1uu\">Trace entry-points through the call graph</span></span></a></div> `);\n\t\t\t\t\t\tif (selectedNode) {\n\t\t\t\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t\t\t\t$$renderer.push(`<div class=\"panel-section selected svelte-1cjo1uu\"><h2 class=\"panel-head svelte-1cjo1uu\">Selected</h2> <div class=\"selected-card svelte-1cjo1uu\"><span class=\"selected-label svelte-1cjo1uu\">${escape_html(selectedNode.label)}</span> <span class=\"selected-kind svelte-1cjo1uu\">${escape_html(selectedNode.kind)}</span> `);\n\t\t\t\t\t\t\tif (typeof selectedNode.meta?.memberCount === \"number\") {\n\t\t\t\t\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t\t\t\t\t$$renderer.push(`<span class=\"selected-meta svelte-1cjo1uu\">${escape_html(selectedNode.meta.memberCount)} members</span>`);\n\t\t\t\t\t\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t\t\t\t\t\t$$renderer.push(`<!--]--></div></div>`);\n\t\t\t\t\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t\t\t\t\t$$renderer.push(`<!--]--></div>`);\n\t\t\t\t\t}\n\t\t\t\t\tCard($$renderer, {\n\t\t\t\t\t\televation: 1,\n\t\t\t\t\t\tpadding: \"cozy\",\n\t\t\t\t\t\tchildren,\n\t\t\t\t\t\t$$slots: { default: true }\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\t$$renderer.push(`<!----> <div class=\"keyboard-list svelte-1cjo1uu\" aria-label=\"Keyboard-accessible community list\"><h2 class=\"panel-head sr-subhead svelte-1cjo1uu\">All Communities</h2> <p class=\"panel-hint svelte-1cjo1uu\">Keyboard-accessible mirror of the graph for screen readers and focus nav.</p> <ol class=\"svelte-1cjo1uu\"><!--[-->`);\n\t\t\t\tconst each_array_5 = ensure_array_like(data.communities);\n\t\t\t\tfor (let $$index_5 = 0, $$length = each_array_5.length; $$index_5 < $$length; $$index_5++) {\n\t\t\t\t\tlet comm = each_array_5[$$index_5];\n\t\t\t\t\t$$renderer.push(`<li><a${attr(\"href\", `/code/community/${encodeURIComponent(comm.id)}`)} class=\"svelte-1cjo1uu\"><span class=\"kb-label svelte-1cjo1uu\">${escape_html(comm.rawLabel)}</span> <span class=\"kb-meta svelte-1cjo1uu\">${escape_html(comm.size)} symbols · ${escape_html(comm.topKind)}</span></a></li>`);\n\t\t\t\t}\n\t\t\t\t$$renderer.push(`<!--]--></ol></div></aside></div> <p class=\"telemetry svelte-1cjo1uu\" aria-hidden=\"true\">Aggregate cross-community relations: ${escape_html(formatCount(totalEdgeWeight()))} · Top-600 shown ·\n Dominant-type preserved</p>`);\n\t\t\t}\n\t\t\t$$renderer.push(`<!--]--></section>`);\n\t\t}\n\t\tdo {\n\t\t\t$$settled = true;\n\t\t\t$$inner_renderer = $$renderer.copy();\n\t\t\t$$render_inner($$inner_renderer);\n\t\t} while (!$$settled);\n\t\t$$renderer.subsume($$inner_renderer);\n\t});\n}\n//#endregion\nexport { _page as default };\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAOA;AACA,S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AAgB,GAAG,UAAU,CAAC,IAAI,EAAE;AACvC,GAAG,cAAc,CAAC,gBAAgB,CAAC;AACnC,EAAE,CAAC,QAAQ,CAAC,SAAS;AACrB,EAAE,UAAU,CAAC,OAAO,CAAC,gBAAgB,CAAC;AACtC,CAAC,CAAC,CAAC;AACH;;;;"}
1
+ {"version":3,"file":"_page.svelte-h0JOhZab.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/code/_page.svelte.js"],"sourcesContent":["import { U as escape_html, V as attr, a as derived, n as attr_class, o as ensure_array_like, r as attr_style, s as head } from \"../../../chunks/dev.js\";\nimport { t as goto } from \"../../../chunks/client.js\";\nimport { i as Breadcrumb, r as Card } from \"../../../chunks/Tabs.js\";\nimport { a as Input, c as Chip, o as EmptyState, s as ChipGroup } from \"../../../chunks/ui.js\";\nimport { a as describeEdgeKind, i as EDGE_STYLE } from \"../../../chunks/no-face-up.js\";\nimport \"../../../chunks/navigation.js\";\nimport { i as CosmosRenderer, r as mapNexusRelationToEdgeKind, t as adaptNexusMacro } from \"../../../chunks/nexus-adapter.js\";\n//#region src/routes/code/+page.svelte\nfunction _page($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\tlet { data } = $$props;\n\t\tconst macroModel = derived(() => adaptNexusMacro(data.communities.map((c) => ({\n\t\t\tid: c.id,\n\t\t\tlabel: c.rawLabel,\n\t\t\tmemberCount: c.size,\n\t\t\ttopKind: c.topKind\n\t\t})), data.edges.map((e) => ({\n\t\t\tsource: e.source,\n\t\t\ttarget: e.target,\n\t\t\tkind: mapNexusRelationToEdgeKind(e.dominantType),\n\t\t\tweight: e.weight\n\t\t}))));\n\t\tconst graphNodes = derived(() => macroModel().nodes);\n\t\tconst graphEdges = derived(() => macroModel().edges);\n\t\tconst graphClusters = derived(() => macroModel().clusters);\n\t\tconst CALL_EDGE_KINDS = [\n\t\t\t\"contains\",\n\t\t\t\"defines\",\n\t\t\t\"imports\",\n\t\t\t\"calls\",\n\t\t\t\"extends\",\n\t\t\t\"implements\",\n\t\t\t\"has_method\",\n\t\t\t\"has_property\",\n\t\t\t\"member_of\",\n\t\t\t\"accesses\",\n\t\t\t\"references\",\n\t\t\t\"relates_to\"\n\t\t];\n\t\tconst LABEL_KINDS = [\n\t\t\t\"community\",\n\t\t\t\"folder\",\n\t\t\t\"file\",\n\t\t\t\"class\",\n\t\t\t\"function\",\n\t\t\t\"method\",\n\t\t\t\"interface\",\n\t\t\t\"enum\",\n\t\t\t\"type_alias\"\n\t\t];\n\t\tlet visibleEdgeKinds = new Set(CALL_EDGE_KINDS);\n\t\tlet visibleNodeKinds = new Set(LABEL_KINDS);\n\t\tlet showClusterLabels = true;\n\t\tlet highlightedNodeId = null;\n\t\tlet selectedNode = null;\n\t\tfunction toggleEdge(kind) {\n\t\t\tconst next = new Set(visibleEdgeKinds);\n\t\t\tif (next.has(kind)) next.delete(kind);\n\t\t\telse next.add(kind);\n\t\t\tvisibleEdgeKinds = next;\n\t\t}\n\t\tfunction toggleLabel(kind) {\n\t\t\tconst next = new Set(visibleNodeKinds);\n\t\t\tif (next.has(kind)) next.delete(kind);\n\t\t\telse next.add(kind);\n\t\t\tvisibleNodeKinds = next;\n\t\t}\n\t\tlet searchQuery = \"\";\n\t\tlet searchResults = [];\n\t\tlet searchDebounce = null;\n\t\tfunction onSearchInput() {\n\t\t\tif (searchDebounce) clearTimeout(searchDebounce);\n\t\t\tconst q = searchQuery.trim();\n\t\t\tif (q.length < 2) {\n\t\t\t\tsearchResults = [];\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tsearchDebounce = setTimeout(async () => {\n\t\t\t\ttry {\n\t\t\t\t\tconst resp = await fetch(`/api/nexus/search?q=${encodeURIComponent(q)}`);\n\t\t\t\t\tif (!resp.ok) {\n\t\t\t\t\t\tsearchResults = [];\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tsearchResults = await resp.json();\n\t\t\t\t} catch {\n\t\t\t\t\tsearchResults = [];\n\t\t\t\t}\n\t\t\t}, 180);\n\t\t}\n\t\tfunction onNodeClick(node) {\n\t\t\tselectedNode = node;\n\t\t\tif (node.kind === \"community\") goto(`/code/community/${encodeURIComponent(node.id)}`);\n\t\t}\n\t\tconst topCommunities = derived(() => data.communities.slice(0, 12));\n\t\tfunction formatCount(n) {\n\t\t\tif (n >= 1e3) return `${(n / 1e3).toFixed(1)}k`;\n\t\t\treturn String(n);\n\t\t}\n\t\tconst totalEdgeWeight = derived(() => data.edges.reduce((s, e) => s + e.weight, 0));\n\t\tlet $$settled = true;\n\t\tlet $$inner_renderer;\n\t\tfunction $$render_inner($$renderer) {\n\t\t\thead(\"1cjo1uu\", $$renderer, ($$renderer) => {\n\t\t\t\t$$renderer.title(($$renderer) => {\n\t\t\t\t\t$$renderer.push(`<title>Code Intelligence — CLEO Studio</title>`);\n\t\t\t\t});\n\t\t\t});\n\t\t\t$$renderer.push(`<section class=\"code-macro svelte-1cjo1uu\" aria-labelledby=\"code-title\"><header class=\"page-head svelte-1cjo1uu\">`);\n\t\t\tBreadcrumb($$renderer, { items: [{\n\t\t\t\tlabel: \"Studio\",\n\t\t\t\thref: \"/\"\n\t\t\t}, { label: \"Code\" }] });\n\t\t\t$$renderer.push(`<!----> <div class=\"title-row svelte-1cjo1uu\"><div class=\"title-block\"><span class=\"eyebrow svelte-1cjo1uu\">NEXUS · Macro</span> <h1 id=\"code-title\" class=\"svelte-1cjo1uu\">Code Intelligence</h1> <p class=\"subtitle svelte-1cjo1uu\"><span class=\"stat-inline svelte-1cjo1uu\">${escape_html(formatCount(data.totalNodes))} symbols</span> <span class=\"sep svelte-1cjo1uu\" aria-hidden=\"true\">·</span> <span class=\"stat-inline svelte-1cjo1uu\">${escape_html(formatCount(data.totalRelations))} relations</span> <span class=\"sep svelte-1cjo1uu\" aria-hidden=\"true\">·</span> <span class=\"stat-inline svelte-1cjo1uu\">${escape_html(data.communities.length)} communities</span></p></div> <div class=\"title-stats svelte-1cjo1uu\" role=\"list\" aria-label=\"Graph summary\"><div class=\"stat-card svelte-1cjo1uu\" role=\"listitem\"><span class=\"stat-num svelte-1cjo1uu\">${escape_html(formatCount(data.totalNodes))}</span> <span class=\"stat-lbl svelte-1cjo1uu\">Symbols</span></div> <div class=\"stat-card svelte-1cjo1uu\" role=\"listitem\"><span class=\"stat-num svelte-1cjo1uu\">${escape_html(formatCount(data.totalRelations))}</span> <span class=\"stat-lbl svelte-1cjo1uu\">Relations</span></div> <div class=\"stat-card svelte-1cjo1uu\" role=\"listitem\"><span class=\"stat-num svelte-1cjo1uu\">${escape_html(data.communities.length)}</span> <span class=\"stat-lbl svelte-1cjo1uu\">Communities</span></div></div></div></header> `);\n\t\t\tif (data.empty) {\n\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\tEmptyState($$renderer, {\n\t\t\t\t\ttitle: \"No code graph yet\",\n\t\t\t\t\tsubtitle: data.emptyReason ?? \"Run cleo nexus analyze to populate nexus.db.\"\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\t$$renderer.push(\"<!--[-1-->\");\n\t\t\t\t$$renderer.push(`<div class=\"workbench svelte-1cjo1uu\"><div class=\"stage svelte-1cjo1uu\"><div class=\"stage-scanlines svelte-1cjo1uu\" aria-hidden=\"true\"></div> `);\n\t\t\t\tCosmosRenderer($$renderer, {\n\t\t\t\t\tnodes: graphNodes(),\n\t\t\t\t\tedges: graphEdges(),\n\t\t\t\t\tclusters: graphClusters(),\n\t\t\t\t\tvisibleEdgeKinds,\n\t\t\t\t\tvisibleNodeKinds,\n\t\t\t\t\thighlightNodeId: highlightedNodeId,\n\t\t\t\t\tshowClusterLabels,\n\t\t\t\t\tonNodeClick,\n\t\t\t\t\theight: \"calc(100vh - 220px)\",\n\t\t\t\t\tbaseAlpha: .92\n\t\t\t\t});\n\t\t\t\t$$renderer.push(`<!----> <footer class=\"legend-dock svelte-1cjo1uu\" aria-label=\"Edge legend\"><span class=\"legend-eyebrow svelte-1cjo1uu\">EDGE KINDS</span> <ul class=\"svelte-1cjo1uu\"><!--[-->`);\n\t\t\t\tconst each_array = ensure_array_like(CALL_EDGE_KINDS);\n\t\t\t\tfor (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {\n\t\t\t\t\tlet kind = each_array[$$index];\n\t\t\t\t\tconst style = EDGE_STYLE[kind];\n\t\t\t\t\tconst active = visibleEdgeKinds.has(kind);\n\t\t\t\t\t$$renderer.push(`<li><button type=\"button\"${attr_class(\"legend-item svelte-1cjo1uu\", void 0, { \"active\": active })}${attr(\"aria-pressed\", active)}${attr(\"title\", describeEdgeKind(kind))}><span${attr_class(\"swatch svelte-1cjo1uu\", void 0, { \"dashed\": Boolean(style.dash) })} aria-hidden=\"true\"${attr_style(\"\", { background: style.color })}></span> <span class=\"legend-label\">${escape_html(kind)}</span> `);\n\t\t\t\t\tif (style.arrow) {\n\t\t\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t\t\t$$renderer.push(`<span class=\"arrow-mark svelte-1cjo1uu\" aria-hidden=\"true\">›</span>`);\n\t\t\t\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t\t\t\t$$renderer.push(`<!--]--></button></li>`);\n\t\t\t\t}\n\t\t\t\t$$renderer.push(`<!--]--></ul></footer></div> <aside class=\"side-panel svelte-1cjo1uu\" aria-label=\"Graph controls and details\">`);\n\t\t\t\t{\n\t\t\t\t\tfunction children($$renderer) {\n\t\t\t\t\t\t$$renderer.push(`<div class=\"panel-stack svelte-1cjo1uu\">`);\n\t\t\t\t\t\tInput($$renderer, {\n\t\t\t\t\t\t\ttype: \"search\",\n\t\t\t\t\t\t\tlabel: \"Search symbols\",\n\t\t\t\t\t\t\tplaceholder: \"Search symbols, classes, functions…\",\n\t\t\t\t\t\t\toninput: onSearchInput,\n\t\t\t\t\t\t\tget value() {\n\t\t\t\t\t\t\t\treturn searchQuery;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tset value($$value) {\n\t\t\t\t\t\t\t\tsearchQuery = $$value;\n\t\t\t\t\t\t\t\t$$settled = false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t\t$$renderer.push(`<!----> `);\n\t\t\t\t\t\tif (searchResults.length > 0) {\n\t\t\t\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t\t\t\t$$renderer.push(`<ul class=\"search-results svelte-1cjo1uu\" role=\"listbox\" aria-label=\"Search results\"><!--[-->`);\n\t\t\t\t\t\t\tconst each_array_1 = ensure_array_like(searchResults);\n\t\t\t\t\t\t\tfor (let $$index_1 = 0, $$length = each_array_1.length; $$index_1 < $$length; $$index_1++) {\n\t\t\t\t\t\t\t\tlet hit = each_array_1[$$index_1];\n\t\t\t\t\t\t\t\t$$renderer.push(`<li><button type=\"button\" class=\"search-hit svelte-1cjo1uu\"><span class=\"hit-label svelte-1cjo1uu\">${escape_html(hit.label)}</span> <span class=\"hit-meta svelte-1cjo1uu\"><span class=\"hit-kind svelte-1cjo1uu\">${escape_html(hit.kind)}</span> `);\n\t\t\t\t\t\t\t\tif (hit.filePath) {\n\t\t\t\t\t\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t\t\t\t\t\t$$renderer.push(`<span class=\"hit-path svelte-1cjo1uu\">${escape_html(hit.filePath.split(\"/\").slice(-2).join(\"/\"))}</span>`);\n\t\t\t\t\t\t\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t\t\t\t\t\t\t$$renderer.push(`<!--]--></span></button></li>`);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$$renderer.push(`<!--]--></ul>`);\n\t\t\t\t\t\t} else if (searchQuery.trim().length >= 2) {\n\t\t\t\t\t\t\t$$renderer.push(\"<!--[1-->\");\n\t\t\t\t\t\t\t$$renderer.push(`<p class=\"search-empty svelte-1cjo1uu\">No matches for \"${escape_html(searchQuery)}\"</p>`);\n\t\t\t\t\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t\t\t\t\t$$renderer.push(`<!--]--> <div class=\"panel-section svelte-1cjo1uu\"><h2 class=\"panel-head svelte-1cjo1uu\">Visible Labels</h2> <p class=\"panel-hint svelte-1cjo1uu\">Toggles WHICH kinds may render a cluster caption — never leaf labels.</p> `);\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tfunction children($$renderer) {\n\t\t\t\t\t\t\t\t$$renderer.push(`<!--[-->`);\n\t\t\t\t\t\t\t\tconst each_array_2 = ensure_array_like(LABEL_KINDS);\n\t\t\t\t\t\t\t\tfor (let $$index_2 = 0, $$length = each_array_2.length; $$index_2 < $$length; $$index_2++) {\n\t\t\t\t\t\t\t\t\tlet kind = each_array_2[$$index_2];\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tfunction children($$renderer) {\n\t\t\t\t\t\t\t\t\t\t\t$$renderer.push(`<!---->${escape_html(kind)}`);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tChip($$renderer, {\n\t\t\t\t\t\t\t\t\t\t\tactive: visibleNodeKinds.has(kind),\n\t\t\t\t\t\t\t\t\t\t\tonclick: () => toggleLabel(kind),\n\t\t\t\t\t\t\t\t\t\t\tchildren,\n\t\t\t\t\t\t\t\t\t\t\t$$slots: { default: true }\n\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t$$renderer.push(`<!--]-->`);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tChipGroup($$renderer, {\n\t\t\t\t\t\t\t\tchildren,\n\t\t\t\t\t\t\t\t$$slots: { default: true }\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$$renderer.push(`<!----> <label class=\"toggle-row svelte-1cjo1uu\"><input type=\"checkbox\"${attr(\"checked\", showClusterLabels, true)} class=\"svelte-1cjo1uu\"/> <span>Show cluster captions</span></label></div> <div class=\"panel-section svelte-1cjo1uu\"><h2 class=\"panel-head svelte-1cjo1uu\">Visible Edges</h2> <p class=\"panel-hint svelte-1cjo1uu\">Hides the kind entirely from the canvas.</p> `);\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tfunction children($$renderer) {\n\t\t\t\t\t\t\t\t$$renderer.push(`<!--[-->`);\n\t\t\t\t\t\t\t\tconst each_array_3 = ensure_array_like(CALL_EDGE_KINDS);\n\t\t\t\t\t\t\t\tfor (let $$index_3 = 0, $$length = each_array_3.length; $$index_3 < $$length; $$index_3++) {\n\t\t\t\t\t\t\t\t\tlet kind = each_array_3[$$index_3];\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tfunction children($$renderer) {\n\t\t\t\t\t\t\t\t\t\t\t$$renderer.push(`<!---->${escape_html(kind)}`);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tChip($$renderer, {\n\t\t\t\t\t\t\t\t\t\t\tactive: visibleEdgeKinds.has(kind),\n\t\t\t\t\t\t\t\t\t\t\tonclick: () => toggleEdge(kind),\n\t\t\t\t\t\t\t\t\t\t\tchildren,\n\t\t\t\t\t\t\t\t\t\t\t$$slots: { default: true }\n\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t$$renderer.push(`<!--]-->`);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tChipGroup($$renderer, {\n\t\t\t\t\t\t\t\tchildren,\n\t\t\t\t\t\t\t\t$$slots: { default: true }\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$$renderer.push(`<!----></div> <div class=\"panel-section svelte-1cjo1uu\"><h2 class=\"panel-head svelte-1cjo1uu\">Top Communities</h2> <ul class=\"community-list svelte-1cjo1uu\"><!--[-->`);\n\t\t\t\t\t\tconst each_array_4 = ensure_array_like(topCommunities());\n\t\t\t\t\t\tfor (let $$index_4 = 0, $$length = each_array_4.length; $$index_4 < $$length; $$index_4++) {\n\t\t\t\t\t\t\tlet comm = each_array_4[$$index_4];\n\t\t\t\t\t\t\t$$renderer.push(`<li><a${attr(\"href\", `/code/community/${encodeURIComponent(comm.id)}`)} class=\"community-row svelte-1cjo1uu\"${attr_style(\"\", { \"--tint\": comm.color })}><span class=\"tick svelte-1cjo1uu\" aria-hidden=\"true\"></span> <span class=\"row-body svelte-1cjo1uu\"><span class=\"row-label svelte-1cjo1uu\">${escape_html(comm.rawLabel)}</span> <span class=\"row-meta svelte-1cjo1uu\">${escape_html(comm.size)} symbols · ${escape_html(comm.topKind)}</span></span> <span class=\"row-chev svelte-1cjo1uu\" aria-hidden=\"true\">→</span></a></li>`);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$$renderer.push(`<!--]--></ul></div> <div class=\"panel-section svelte-1cjo1uu\"><a href=\"/code/flows\" class=\"flow-link svelte-1cjo1uu\"><span class=\"flow-arrow svelte-1cjo1uu\" aria-hidden=\"true\">▸</span> <span class=\"flow-body svelte-1cjo1uu\"><span class=\"flow-title svelte-1cjo1uu\">Execution Flows</span> <span class=\"flow-sub svelte-1cjo1uu\">Trace entry-points through the call graph</span></span></a></div> `);\n\t\t\t\t\t\tif (selectedNode) {\n\t\t\t\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t\t\t\t$$renderer.push(`<div class=\"panel-section selected svelte-1cjo1uu\"><h2 class=\"panel-head svelte-1cjo1uu\">Selected</h2> <div class=\"selected-card svelte-1cjo1uu\"><span class=\"selected-label svelte-1cjo1uu\">${escape_html(selectedNode.label)}</span> <span class=\"selected-kind svelte-1cjo1uu\">${escape_html(selectedNode.kind)}</span> `);\n\t\t\t\t\t\t\tif (typeof selectedNode.meta?.memberCount === \"number\") {\n\t\t\t\t\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t\t\t\t\t$$renderer.push(`<span class=\"selected-meta svelte-1cjo1uu\">${escape_html(selectedNode.meta.memberCount)} members</span>`);\n\t\t\t\t\t\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t\t\t\t\t\t$$renderer.push(`<!--]--></div></div>`);\n\t\t\t\t\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t\t\t\t\t$$renderer.push(`<!--]--></div>`);\n\t\t\t\t\t}\n\t\t\t\t\tCard($$renderer, {\n\t\t\t\t\t\televation: 1,\n\t\t\t\t\t\tpadding: \"cozy\",\n\t\t\t\t\t\tchildren,\n\t\t\t\t\t\t$$slots: { default: true }\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\t$$renderer.push(`<!----> <div class=\"keyboard-list svelte-1cjo1uu\" aria-label=\"Keyboard-accessible community list\"><h2 class=\"panel-head sr-subhead svelte-1cjo1uu\">All Communities</h2> <p class=\"panel-hint svelte-1cjo1uu\">Keyboard-accessible mirror of the graph for screen readers and focus nav.</p> <ol class=\"svelte-1cjo1uu\"><!--[-->`);\n\t\t\t\tconst each_array_5 = ensure_array_like(data.communities);\n\t\t\t\tfor (let $$index_5 = 0, $$length = each_array_5.length; $$index_5 < $$length; $$index_5++) {\n\t\t\t\t\tlet comm = each_array_5[$$index_5];\n\t\t\t\t\t$$renderer.push(`<li><a${attr(\"href\", `/code/community/${encodeURIComponent(comm.id)}`)} class=\"svelte-1cjo1uu\"><span class=\"kb-label svelte-1cjo1uu\">${escape_html(comm.rawLabel)}</span> <span class=\"kb-meta svelte-1cjo1uu\">${escape_html(comm.size)} symbols · ${escape_html(comm.topKind)}</span></a></li>`);\n\t\t\t\t}\n\t\t\t\t$$renderer.push(`<!--]--></ol></div></aside></div> <p class=\"telemetry svelte-1cjo1uu\" aria-hidden=\"true\">Aggregate cross-community relations: ${escape_html(formatCount(totalEdgeWeight()))} · Top-600 shown ·\n Dominant-type preserved</p>`);\n\t\t\t}\n\t\t\t$$renderer.push(`<!--]--></section>`);\n\t\t}\n\t\tdo {\n\t\t\t$$settled = true;\n\t\t\t$$inner_renderer = $$renderer.copy();\n\t\t\t$$render_inner($$inner_renderer);\n\t\t} while (!$$settled);\n\t\t$$renderer.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AAkB,CAAC,CAAC;AACxC,EAAE;AACF,EAAE,GAAG;AACL,GAAG,SAAS,GAAG,IAAI;AACnB,GAAG,gBAAgB,GAAG,UAAU,CAAC,IAAI,EAAE;AACvC,GAAG,cAAc,CAAC,gBAAgB,CAAC;AACnC,EAAE,CAAC,QAAQ,CAAC,SAAS;AACrB,EAAE,UAAU,CAAC,OAAO,CAAC,gBAAgB,CAAC;AACtC,CAAC,CAAC,CAAC;AACH;;;;"}
@@ -1,4 +1,4 @@
1
- import './internal-Cs1b0-2z.js';
1
+ import './internal-xyE_opYp.js';
2
2
  import { n as noop } from './dev-BNpEUZI3.js';
3
3
  import { i as index_server_exports } from './index-server-DocJvixA.js';
4
4
  import '@sveltejs/kit/internal';
@@ -43,4 +43,4 @@ function goto(url, opts = {}) {
43
43
  }
44
44
 
45
45
  export { goto as g };
46
- //# sourceMappingURL=client-CnSSIJRB.js.map
46
+ //# sourceMappingURL=client-2rpcRzcr.js.map