@cleocode/cleo 2026.8.8 → 2026.8.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +13 -13
- package/studio-dist/client/_app/immutable/chunks/{CDw6gs1j.js → BRRdJhEv.js} +1 -1
- package/studio-dist/client/_app/immutable/chunks/{HZAC-_X3.js → C1pi8y41.js} +1 -1
- package/studio-dist/client/_app/immutable/chunks/DRkoDkvW.js +1 -0
- package/studio-dist/client/_app/immutable/chunks/ZLuACntR.js +3 -0
- package/studio-dist/client/_app/immutable/entry/{app.BKnAOevr.js → app.DuqzMDna.js} +2 -2
- package/studio-dist/client/_app/immutable/entry/start.D6Q4k_jR.js +1 -0
- package/studio-dist/client/_app/immutable/nodes/{0.DlaggN6h.js → 0.BZ6Nsd5W.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{1.DOtw4xV7.js → 1.C_MXWQgc.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{15.DkRotmb4.js → 15.D3eIuixk.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{16.CiFR8L0O.js → 16.CE25IhcR.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{17.BMc_WVow.js → 17.BZmwoxZm.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{18.D1IModpR.js → 18.DWM4_tpq.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{20.BuMMF-e6.js → 20.B7bE4cxC.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{24.DXrUQsdu.js → 24.Bg-rjKkG.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{25.BenKEC97.js → 25.DEbqbHyD.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{26.kgWBn4SN.js → 26.Br1GdmW8.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{3.emZKGHbc.js → 3.DCtXj-GX.js} +1 -1
- package/studio-dist/client/_app/version.json +1 -1
- package/studio-dist/server/chunks/{0-BBbJZvti.js → 0-CdXdJFeW.js} +3 -3
- package/studio-dist/server/chunks/{0-BBbJZvti.js.map → 0-CdXdJFeW.js.map} +1 -1
- package/studio-dist/server/chunks/{1-3MbA7up8.js → 1-BFA1XRsU.js} +3 -3
- package/studio-dist/server/chunks/{1-3MbA7up8.js.map → 1-BFA1XRsU.js.map} +1 -1
- package/studio-dist/server/chunks/{15-Bi7pL9bQ.js → 15-CUApcnQB.js} +3 -3
- package/studio-dist/server/chunks/{15-Bi7pL9bQ.js.map → 15-CUApcnQB.js.map} +1 -1
- package/studio-dist/server/chunks/{16-DN_IBGHH.js → 16-ahJ6Pzas.js} +3 -3
- package/studio-dist/server/chunks/{16-DN_IBGHH.js.map → 16-ahJ6Pzas.js.map} +1 -1
- package/studio-dist/server/chunks/{17-BnkAEj0w.js → 17-C_GY09QM.js} +3 -3
- package/studio-dist/server/chunks/{17-BnkAEj0w.js.map → 17-C_GY09QM.js.map} +1 -1
- package/studio-dist/server/chunks/{18-VhR6WOyn.js → 18-CoHhwijX.js} +3 -3
- package/studio-dist/server/chunks/{18-VhR6WOyn.js.map → 18-CoHhwijX.js.map} +1 -1
- package/studio-dist/server/chunks/{20-BtIGH5A0.js → 20-BYk_Uabv.js} +3 -3
- package/studio-dist/server/chunks/{20-BtIGH5A0.js.map → 20-BYk_Uabv.js.map} +1 -1
- package/studio-dist/server/chunks/{24-xIS27iRx.js → 24-CDuloKbo.js} +3 -3
- package/studio-dist/server/chunks/{24-xIS27iRx.js.map → 24-CDuloKbo.js.map} +1 -1
- package/studio-dist/server/chunks/{25-CNkyellP.js → 25-BmV5m-_n.js} +3 -3
- package/studio-dist/server/chunks/{25-CNkyellP.js.map → 25-BmV5m-_n.js.map} +1 -1
- package/studio-dist/server/chunks/{26-BDQF-j4Q.js → 26-CwJSqVK9.js} +3 -3
- package/studio-dist/server/chunks/{26-BDQF-j4Q.js.map → 26-CwJSqVK9.js.map} +1 -1
- package/studio-dist/server/chunks/{3-egmpchAV.js → 3-BEMsaZ1y.js} +3 -3
- package/studio-dist/server/chunks/{3-egmpchAV.js.map → 3-BEMsaZ1y.js.map} +1 -1
- package/studio-dist/server/chunks/{_layout.svelte-DbMbfzag.js → _layout.svelte-CV5BE3LU.js} +4 -4
- package/studio-dist/server/chunks/{_layout.svelte-DbMbfzag.js.map → _layout.svelte-CV5BE3LU.js.map} +1 -1
- package/studio-dist/server/chunks/{_page.svelte-C3liY5bM.js → _page.svelte-BE0ePGf6.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-C3liY5bM.js.map → _page.svelte-BE0ePGf6.js.map} +1 -1
- package/studio-dist/server/chunks/{_page.svelte-H7T-J_sP.js → _page.svelte-C5B7nKP0.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-H7T-J_sP.js.map → _page.svelte-C5B7nKP0.js.map} +1 -1
- package/studio-dist/server/chunks/{_page.svelte-BRcel5VD.js → _page.svelte-CGTHspcp.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-BRcel5VD.js.map → _page.svelte-CGTHspcp.js.map} +1 -1
- package/studio-dist/server/chunks/{_page.svelte-z0dc_jzC.js → _page.svelte-D3K3Pi1o.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-z0dc_jzC.js.map → _page.svelte-D3K3Pi1o.js.map} +1 -1
- package/studio-dist/server/chunks/{_page.svelte-BglEvXWF.js → _page.svelte-DNGyGIWk.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-BglEvXWF.js.map → _page.svelte-DNGyGIWk.js.map} +1 -1
- package/studio-dist/server/chunks/{_page.svelte-CrGuHMsW.js → _page.svelte-T3bMoORu.js} +4 -4
- package/studio-dist/server/chunks/{_page.svelte-CrGuHMsW.js.map → _page.svelte-T3bMoORu.js.map} +1 -1
- package/studio-dist/server/chunks/{_page.svelte-CWWAq9BB.js → _page.svelte-WEHUy5WW.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-CWWAq9BB.js.map → _page.svelte-WEHUy5WW.js.map} +1 -1
- package/studio-dist/server/chunks/{_page.svelte-Bo-x7GRV.js → _page.svelte-qU3XM3Ft.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-Bo-x7GRV.js.map → _page.svelte-qU3XM3Ft.js.map} +1 -1
- package/studio-dist/server/chunks/{_page.svelte-Ch8Uxfyw.js → _page.svelte-wP5RBhY9.js} +4 -4
- package/studio-dist/server/chunks/{_page.svelte-Ch8Uxfyw.js.map → _page.svelte-wP5RBhY9.js.map} +1 -1
- package/studio-dist/server/chunks/{client-D2qx6O3f.js → client-D6kcmtib.js} +2 -2
- package/studio-dist/server/chunks/{client-D2qx6O3f.js.map → client-D6kcmtib.js.map} +1 -1
- package/studio-dist/server/chunks/{error.svelte-BUbXraBv.js → error.svelte-WwS161rt.js} +3 -3
- package/studio-dist/server/chunks/{error.svelte-BUbXraBv.js.map → error.svelte-WwS161rt.js.map} +1 -1
- package/studio-dist/server/chunks/{internal-eLpNrc4X.js → internal-CmtLRaJG.js} +2 -2
- package/studio-dist/server/chunks/{internal-eLpNrc4X.js.map → internal-CmtLRaJG.js.map} +1 -1
- package/studio-dist/server/chunks/{stores-Cy9yrbO0.js → stores-CPDsIflz.js} +2 -2
- package/studio-dist/server/chunks/{stores-Cy9yrbO0.js.map → stores-CPDsIflz.js.map} +1 -1
- package/studio-dist/server/index.js +1 -1
- package/studio-dist/server/index.js.map +1 -1
- package/studio-dist/server/manifest.js +12 -12
- package/studio-dist/server/manifest.js.map +1 -1
- package/studio-dist/client/_app/immutable/chunks/0KY5nH0B.js +0 -1
- package/studio-dist/client/_app/immutable/chunks/CD_u6UwO.js +0 -3
- package/studio-dist/client/_app/immutable/entry/start.C9YyMpU_.js +0 -1
package/studio-dist/server/chunks/{_page.svelte-H7T-J_sP.js.map → _page.svelte-C5B7nKP0.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_page.svelte-H7T-J_sP.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/code/community/_id_/_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, u as stringify } from \"../../../../../chunks/dev.js\";\nimport { t as goto } from \"../../../../../chunks/client.js\";\nimport { i as Breadcrumb, r as Card } from \"../../../../../chunks/Tabs.js\";\nimport { c as Chip, 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, n as adaptNexusRows } from \"../../../../../chunks/nexus-adapter.js\";\n//#region src/routes/code/community/[id]/+page.svelte\nfunction _page($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\tlet { data } = $$props;\n\t\tconst adapted = derived(() => {\n\t\t\treturn adaptNexusRows(data.nodes.map((n) => ({\n\t\t\t\tid: n.id,\n\t\t\t\tlabel: n.label,\n\t\t\t\tkind: n.kind,\n\t\t\t\tfilePath: n.filePath,\n\t\t\t\tcallerCount: n.callerCount,\n\t\t\t\tcommunityId: data.communityId\n\t\t\t})), data.edges.map((e) => ({\n\t\t\t\tsource: e.source,\n\t\t\t\ttarget: e.target,\n\t\t\t\ttype: e.type\n\t\t\t})));\n\t\t});\n\t\tconst graphNodes = derived(() => adapted().nodes);\n\t\tconst graphEdges = derived(() => adapted().edges);\n\t\tconst graphClusters = derived(() => adapted().clusters);\n\t\tconst COMMUNITY_EDGE_KINDS = [\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\"defines\",\n\t\t\t\"imports\",\n\t\t\t\"accesses\",\n\t\t\t\"references\"\n\t\t];\n\t\tconst MEMBER_KINDS = [\n\t\t\t\"class\",\n\t\t\t\"interface\",\n\t\t\t\"function\",\n\t\t\t\"method\",\n\t\t\t\"enum\",\n\t\t\t\"type_alias\",\n\t\t\t\"file\"\n\t\t];\n\t\tlet visibleEdgeKinds = new Set(COMMUNITY_EDGE_KINDS);\n\t\tlet visibleNodeKinds = new Set(MEMBER_KINDS);\n\t\tlet highlightedNodeId = null;\n\t\tlet selectedNode = null;\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\tfunction onNodeClick(node) {\n\t\t\tselectedNode = node;\n\t\t\tif (node.kind !== \"community\") goto(`/code/symbol/${encodeURIComponent(node.label)}`);\n\t\t}\n\t\tconst topMembers = derived(() => [...data.nodes].sort((a, b) => b.callerCount - a.callerCount).slice(0, 20));\n\t\tfunction shortPath(filePath) {\n\t\t\treturn filePath.split(\"/\").slice(-2).join(\"/\");\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\tconst nodeKindCounts = derived(() => {\n\t\t\tconst counts = /* @__PURE__ */ new Map();\n\t\t\tfor (const n of graphNodes()) counts.set(n.kind, (counts.get(n.kind) ?? 0) + 1);\n\t\t\treturn counts;\n\t\t});\n\t\thead(\"1ewb8aw\", $$renderer, ($$renderer) => {\n\t\t\t$$renderer.title(($$renderer) => {\n\t\t\t\t$$renderer.push(`<title>${escape_html(data.communityLabel)} — Code — CLEO Studio</title>`);\n\t\t\t});\n\t\t});\n\t\t$$renderer.push(`<section class=\"community-view svelte-1ewb8aw\" aria-labelledby=\"community-title\"><header class=\"page-head svelte-1ewb8aw\">`);\n\t\tBreadcrumb($$renderer, { items: [\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{ label: data.communityLabel }\n\t\t] });\n\t\t$$renderer.push(`<!----> <div class=\"title-row svelte-1ewb8aw\"><div><span class=\"eyebrow svelte-1ewb8aw\">NEXUS · Community</span> <h1 id=\"community-title\" class=\"svelte-1ewb8aw\">${escape_html(data.communityLabel)}</h1> <p class=\"subtitle svelte-1ewb8aw\"><span>${escape_html(data.summary.memberCount)} members</span> <span class=\"sep svelte-1ewb8aw\" aria-hidden=\"true\">·</span> <span>${escape_html(data.summary.internalEdgeCount)} internal edges</span> <span class=\"sep svelte-1ewb8aw\" aria-hidden=\"true\">·</span> <span>top kind: <span class=\"kind-badge svelte-1ewb8aw\">${escape_html(data.summary.topKind)}</span></span></p></div></div></header> <div class=\"workbench svelte-1ewb8aw\"><div class=\"stage svelte-1ewb8aw\"><div class=\"stage-scanlines svelte-1ewb8aw\" aria-hidden=\"true\"></div> `);\n\t\tCosmosRenderer($$renderer, {\n\t\t\tnodes: graphNodes(),\n\t\t\tedges: graphEdges(),\n\t\t\tclusters: graphClusters(),\n\t\t\tvisibleEdgeKinds,\n\t\t\tvisibleNodeKinds,\n\t\t\thighlightNodeId: highlightedNodeId,\n\t\t\tshowClusterLabels: false,\n\t\t\tonNodeClick,\n\t\t\theight: \"calc(100vh - 220px)\",\n\t\t\tbaseAlpha: .92\n\t\t});\n\t\t$$renderer.push(`<!----> <footer class=\"legend-dock svelte-1ewb8aw\" aria-label=\"Edge legend\"><span class=\"legend-eyebrow svelte-1ewb8aw\">EDGES (${escape_html(data.summary.internalEdgeCount)})</span> <ul class=\"svelte-1ewb8aw\"><!--[-->`);\n\t\tconst each_array = ensure_array_like(COMMUNITY_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-1ewb8aw\", 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-1ewb8aw\", void 0, { \"dashed\": Boolean(style.dash) })} aria-hidden=\"true\"${attr_style(\"\", { background: style.color })}></span> <span class=\"legend-label\">${escape_html(kind)}</span> <span class=\"legend-count svelte-1ewb8aw\">${escape_html(count)}</span></button></li>`);\n\t\t}\n\t\t$$renderer.push(`<!--]--></ul></footer></div> <aside class=\"side-panel svelte-1ewb8aw\" aria-label=\"Community controls\">`);\n\t\t{\n\t\t\tfunction children($$renderer) {\n\t\t\t\t$$renderer.push(`<div class=\"panel-stack svelte-1ewb8aw\"><div class=\"panel-section svelte-1ewb8aw\"><h2 class=\"panel-head svelte-1ewb8aw\">Member kinds</h2> `);\n\t\t\t\t{\n\t\t\t\t\tfunction children($$renderer) {\n\t\t\t\t\t\t$$renderer.push(`<!--[-->`);\n\t\t\t\t\t\tconst each_array_1 = ensure_array_like(MEMBER_KINDS);\n\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\tlet kind = each_array_1[$$index_1];\n\t\t\t\t\t\t\tconst count = nodeKindCounts().get(kind) ?? 0;\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tfunction children($$renderer) {\n\t\t\t\t\t\t\t\t\t$$renderer.push(`<!---->${escape_html(kind)}`);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tChip($$renderer, {\n\t\t\t\t\t\t\t\t\tactive: visibleNodeKinds.has(kind),\n\t\t\t\t\t\t\t\t\tdisabled: count === 0,\n\t\t\t\t\t\t\t\t\tcount,\n\t\t\t\t\t\t\t\t\tonclick: () => toggleLabel(kind),\n\t\t\t\t\t\t\t\t\tchildren,\n\t\t\t\t\t\t\t\t\t$$slots: { default: true }\n\t\t\t\t\t\t\t\t});\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}\n\t\t\t\t\tChipGroup($$renderer, {\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> <div class=\"panel-section svelte-1ewb8aw\"><h2 class=\"panel-head svelte-1ewb8aw\">Top by callers</h2> <ol class=\"member-list svelte-1ewb8aw\"><!--[-->`);\n\t\t\t\tconst each_array_2 = ensure_array_like(topMembers());\n\t\t\t\tfor (let $$index_2 = 0, $$length = each_array_2.length; $$index_2 < $$length; $$index_2++) {\n\t\t\t\t\tlet m = each_array_2[$$index_2];\n\t\t\t\t\t$$renderer.push(`<li><a class=\"member-row svelte-1ewb8aw\"${attr(\"href\", `/code/symbol/${stringify(encodeURIComponent(m.label))}`)}><span class=\"member-label svelte-1ewb8aw\">${escape_html(m.label)}</span> <span class=\"member-meta svelte-1ewb8aw\"><span class=\"member-kind svelte-1ewb8aw\">${escape_html(m.kind)}</span> `);\n\t\t\t\t\tif (m.filePath) {\n\t\t\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t\t\t$$renderer.push(`<span class=\"member-path svelte-1ewb8aw\">${escape_html(shortPath(m.filePath))}</span>`);\n\t\t\t\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t\t\t\t$$renderer.push(`<!--]--> <span class=\"member-count svelte-1ewb8aw\">${escape_html(m.callerCount)}×</span></span></a></li>`);\n\t\t\t\t}\n\t\t\t\t$$renderer.push(`<!--]--></ol></div> `);\n\t\t\t\tif (selectedNode) {\n\t\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t\t$$renderer.push(`<div class=\"panel-section svelte-1ewb8aw\"><h2 class=\"panel-head svelte-1ewb8aw\">Selected</h2> <div class=\"selected-card svelte-1ewb8aw\"><span class=\"selected-label svelte-1ewb8aw\">${escape_html(selectedNode.label)}</span> <span class=\"selected-kind svelte-1ewb8aw\">${escape_html(selectedNode.kind)}</span> `);\n\t\t\t\t\tif (typeof selectedNode.meta?.filePath === \"string\") {\n\t\t\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t\t\t$$renderer.push(`<span class=\"selected-meta svelte-1ewb8aw\">${escape_html(shortPath(selectedNode.meta.filePath))}</span>`);\n\t\t\t\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t\t\t\t$$renderer.push(`<!--]--></div></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,MAAM,OAAO,GAAG,OAAO,CAAC,MAAM;AAChC,GAAG,OAAO,cAAc,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM;AAChD,IAAI,EAAE,EAAE,CAAC,CAAC,EAAE;AACZ,IAAI,KAAK,EAAE,CAAC,CAAC,KAAK;AAClB,IAAI,IAAI,EAAE,CAAC,CAAC,IAAI;AAChB,IAAI,QAAQ,EAAE,CAAC,CAAC,QAAQ;AACxB,IAAI,WAAW,EAAE,CAAC,CAAC,WAAW;AAC9B,IAAI,WAAW,EAAE,IAAI,CAAC;AACtB,IAAI,CAAC,CAAC,E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5B7nKP0.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/code/community/_id_/_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, u as stringify } from \"../../../../../chunks/dev.js\";\nimport { t as goto } from \"../../../../../chunks/client.js\";\nimport { i as Breadcrumb, r as Card } from \"../../../../../chunks/Tabs.js\";\nimport { c as Chip, 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, n as adaptNexusRows } from \"../../../../../chunks/nexus-adapter.js\";\n//#region src/routes/code/community/[id]/+page.svelte\nfunction _page($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\tlet { data } = $$props;\n\t\tconst adapted = derived(() => {\n\t\t\treturn adaptNexusRows(data.nodes.map((n) => ({\n\t\t\t\tid: n.id,\n\t\t\t\tlabel: n.label,\n\t\t\t\tkind: n.kind,\n\t\t\t\tfilePath: n.filePath,\n\t\t\t\tcallerCount: n.callerCount,\n\t\t\t\tcommunityId: data.communityId\n\t\t\t})), data.edges.map((e) => ({\n\t\t\t\tsource: e.source,\n\t\t\t\ttarget: e.target,\n\t\t\t\ttype: e.type\n\t\t\t})));\n\t\t});\n\t\tconst graphNodes = derived(() => adapted().nodes);\n\t\tconst graphEdges = derived(() => adapted().edges);\n\t\tconst graphClusters = derived(() => adapted().clusters);\n\t\tconst COMMUNITY_EDGE_KINDS = [\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\"defines\",\n\t\t\t\"imports\",\n\t\t\t\"accesses\",\n\t\t\t\"references\"\n\t\t];\n\t\tconst MEMBER_KINDS = [\n\t\t\t\"class\",\n\t\t\t\"interface\",\n\t\t\t\"function\",\n\t\t\t\"method\",\n\t\t\t\"enum\",\n\t\t\t\"type_alias\",\n\t\t\t\"file\"\n\t\t];\n\t\tlet visibleEdgeKinds = new Set(COMMUNITY_EDGE_KINDS);\n\t\tlet visibleNodeKinds = new Set(MEMBER_KINDS);\n\t\tlet highlightedNodeId = null;\n\t\tlet selectedNode = null;\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\tfunction onNodeClick(node) {\n\t\t\tselectedNode = node;\n\t\t\tif (node.kind !== \"community\") goto(`/code/symbol/${encodeURIComponent(node.label)}`);\n\t\t}\n\t\tconst topMembers = derived(() => [...data.nodes].sort((a, b) => b.callerCount - a.callerCount).slice(0, 20));\n\t\tfunction shortPath(filePath) {\n\t\t\treturn filePath.split(\"/\").slice(-2).join(\"/\");\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\tconst nodeKindCounts = derived(() => {\n\t\t\tconst counts = /* @__PURE__ */ new Map();\n\t\t\tfor (const n of graphNodes()) counts.set(n.kind, (counts.get(n.kind) ?? 0) + 1);\n\t\t\treturn counts;\n\t\t});\n\t\thead(\"1ewb8aw\", $$renderer, ($$renderer) => {\n\t\t\t$$renderer.title(($$renderer) => {\n\t\t\t\t$$renderer.push(`<title>${escape_html(data.communityLabel)} — Code — CLEO Studio</title>`);\n\t\t\t});\n\t\t});\n\t\t$$renderer.push(`<section class=\"community-view svelte-1ewb8aw\" aria-labelledby=\"community-title\"><header class=\"page-head svelte-1ewb8aw\">`);\n\t\tBreadcrumb($$renderer, { items: [\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{ label: data.communityLabel }\n\t\t] });\n\t\t$$renderer.push(`<!----> <div class=\"title-row svelte-1ewb8aw\"><div><span class=\"eyebrow svelte-1ewb8aw\">NEXUS · Community</span> <h1 id=\"community-title\" class=\"svelte-1ewb8aw\">${escape_html(data.communityLabel)}</h1> <p class=\"subtitle svelte-1ewb8aw\"><span>${escape_html(data.summary.memberCount)} members</span> <span class=\"sep svelte-1ewb8aw\" aria-hidden=\"true\">·</span> <span>${escape_html(data.summary.internalEdgeCount)} internal edges</span> <span class=\"sep svelte-1ewb8aw\" aria-hidden=\"true\">·</span> <span>top kind: <span class=\"kind-badge svelte-1ewb8aw\">${escape_html(data.summary.topKind)}</span></span></p></div></div></header> <div class=\"workbench svelte-1ewb8aw\"><div class=\"stage svelte-1ewb8aw\"><div class=\"stage-scanlines svelte-1ewb8aw\" aria-hidden=\"true\"></div> `);\n\t\tCosmosRenderer($$renderer, {\n\t\t\tnodes: graphNodes(),\n\t\t\tedges: graphEdges(),\n\t\t\tclusters: graphClusters(),\n\t\t\tvisibleEdgeKinds,\n\t\t\tvisibleNodeKinds,\n\t\t\thighlightNodeId: highlightedNodeId,\n\t\t\tshowClusterLabels: false,\n\t\t\tonNodeClick,\n\t\t\theight: \"calc(100vh - 220px)\",\n\t\t\tbaseAlpha: .92\n\t\t});\n\t\t$$renderer.push(`<!----> <footer class=\"legend-dock svelte-1ewb8aw\" aria-label=\"Edge legend\"><span class=\"legend-eyebrow svelte-1ewb8aw\">EDGES (${escape_html(data.summary.internalEdgeCount)})</span> <ul class=\"svelte-1ewb8aw\"><!--[-->`);\n\t\tconst each_array = ensure_array_like(COMMUNITY_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-1ewb8aw\", 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-1ewb8aw\", void 0, { \"dashed\": Boolean(style.dash) })} aria-hidden=\"true\"${attr_style(\"\", { background: style.color })}></span> <span class=\"legend-label\">${escape_html(kind)}</span> <span class=\"legend-count svelte-1ewb8aw\">${escape_html(count)}</span></button></li>`);\n\t\t}\n\t\t$$renderer.push(`<!--]--></ul></footer></div> <aside class=\"side-panel svelte-1ewb8aw\" aria-label=\"Community controls\">`);\n\t\t{\n\t\t\tfunction children($$renderer) {\n\t\t\t\t$$renderer.push(`<div class=\"panel-stack svelte-1ewb8aw\"><div class=\"panel-section svelte-1ewb8aw\"><h2 class=\"panel-head svelte-1ewb8aw\">Member kinds</h2> `);\n\t\t\t\t{\n\t\t\t\t\tfunction children($$renderer) {\n\t\t\t\t\t\t$$renderer.push(`<!--[-->`);\n\t\t\t\t\t\tconst each_array_1 = ensure_array_like(MEMBER_KINDS);\n\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\tlet kind = each_array_1[$$index_1];\n\t\t\t\t\t\t\tconst count = nodeKindCounts().get(kind) ?? 0;\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tfunction children($$renderer) {\n\t\t\t\t\t\t\t\t\t$$renderer.push(`<!---->${escape_html(kind)}`);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tChip($$renderer, {\n\t\t\t\t\t\t\t\t\tactive: visibleNodeKinds.has(kind),\n\t\t\t\t\t\t\t\t\tdisabled: count === 0,\n\t\t\t\t\t\t\t\t\tcount,\n\t\t\t\t\t\t\t\t\tonclick: () => toggleLabel(kind),\n\t\t\t\t\t\t\t\t\tchildren,\n\t\t\t\t\t\t\t\t\t$$slots: { default: true }\n\t\t\t\t\t\t\t\t});\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}\n\t\t\t\t\tChipGroup($$renderer, {\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> <div class=\"panel-section svelte-1ewb8aw\"><h2 class=\"panel-head svelte-1ewb8aw\">Top by callers</h2> <ol class=\"member-list svelte-1ewb8aw\"><!--[-->`);\n\t\t\t\tconst each_array_2 = ensure_array_like(topMembers());\n\t\t\t\tfor (let $$index_2 = 0, $$length = each_array_2.length; $$index_2 < $$length; $$index_2++) {\n\t\t\t\t\tlet m = each_array_2[$$index_2];\n\t\t\t\t\t$$renderer.push(`<li><a class=\"member-row svelte-1ewb8aw\"${attr(\"href\", `/code/symbol/${stringify(encodeURIComponent(m.label))}`)}><span class=\"member-label svelte-1ewb8aw\">${escape_html(m.label)}</span> <span class=\"member-meta svelte-1ewb8aw\"><span class=\"member-kind svelte-1ewb8aw\">${escape_html(m.kind)}</span> `);\n\t\t\t\t\tif (m.filePath) {\n\t\t\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t\t\t$$renderer.push(`<span class=\"member-path svelte-1ewb8aw\">${escape_html(shortPath(m.filePath))}</span>`);\n\t\t\t\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t\t\t\t$$renderer.push(`<!--]--> <span class=\"member-count svelte-1ewb8aw\">${escape_html(m.callerCount)}×</span></span></a></li>`);\n\t\t\t\t}\n\t\t\t\t$$renderer.push(`<!--]--></ol></div> `);\n\t\t\t\tif (selectedNode) {\n\t\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t\t$$renderer.push(`<div class=\"panel-section svelte-1ewb8aw\"><h2 class=\"panel-head svelte-1ewb8aw\">Selected</h2> <div class=\"selected-card svelte-1ewb8aw\"><span class=\"selected-label svelte-1ewb8aw\">${escape_html(selectedNode.label)}</span> <span class=\"selected-kind svelte-1ewb8aw\">${escape_html(selectedNode.kind)}</span> `);\n\t\t\t\t\tif (typeof selectedNode.meta?.filePath === \"string\") {\n\t\t\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t\t\t$$renderer.push(`<span class=\"selected-meta svelte-1ewb8aw\">${escape_html(shortPath(selectedNode.meta.filePath))}</span>`);\n\t\t\t\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t\t\t\t$$renderer.push(`<!--]--></div></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,MAAM,OAAO,GAAG,OAAO,CAAC,MAAM;AAChC,GAAG,OAAO,cAAc,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM;AAChD,IAAI,EAAE,EAAE,CAAC,CAAC,EAAE;AACZ,IAAI,KAAK,EAAE,CAAC,CAAC,KAAK;AAClB,IAAI,IAAI,EAAE,CAAC,CAAC,IAAI;AAChB,IAAI,QAAQ,EAAE,CAAC,CAAC,QAAQ;AACxB,IAAI,WAAW,EAAE,CAAC,CAAC,WAAW;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AAC,CAAC,CAAC;AACH;;;;"}
|
|
@@ -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-
|
|
2
|
+
import { g as goto } from './client-D6kcmtib.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-
|
|
7
|
+
import './internal-CmtLRaJG.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-
|
|
234
|
+
//# sourceMappingURL=_page.svelte-CGTHspcp.js.map
|
package/studio-dist/server/chunks/{_page.svelte-BRcel5VD.js.map → _page.svelte-CGTHspcp.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_page.svelte-BRcel5VD.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,CAA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AQ,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
|
+
{"version":3,"file":"_page.svelte-CGTHspcp.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,C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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-
|
|
2
|
+
import { g as goto } from './client-D6kcmtib.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-
|
|
7
|
+
import './internal-CmtLRaJG.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-
|
|
284
|
+
//# sourceMappingURL=_page.svelte-D3K3Pi1o.js.map
|
package/studio-dist/server/chunks/{_page.svelte-z0dc_jzC.js.map → _page.svelte-D3K3Pi1o.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_page.svelte-z0dc_jzC.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,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,MAAM,UAAU,GAAG,OAAO,CAAC,MAAM,eAAe,CAAC,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM;AAChF,GAAG,EAAE,EAAE,CAAC,CAAC,EAAE;AACX,GAAG,KAAK,EAAE,CAAC,CAAC,QAAQ;AACpB,GAAG,WAAW,EAAE,CAAC,CAAC,IAAI;AACtB,GAAG,OAAO,EAAE,CAAC,CAAC;AACd,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM;AAC9B,GAA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SAAS,EAAE,EAAE;AAC/F,KAAK,IAAI,IAAI,GAAG,YAAY,CAAC,SAAS,CAAC;AACvC,KAAK,UAAU,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,8DAA8D,EAAE,WAAW,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,6CAA6C,EAAE,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,WAAW,EAAE,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,gBAAgB,CAAC,CAAC;AACvT,IAAI;AACJ,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC,8HAA8H,EAAE,WAAW,CAAC,WAAW,CAAC,eAAe,EAAE,CAAC,CAAC,CAAC;AACjM,iCAAiC,CAAC,CAAC;AACnC,GAAG;AACH,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC,kBAAkB,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
|
+
{"version":3,"file":"_page.svelte-D3K3Pi1o.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,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,MAAM,UAAU,GAAG,OAAO,CAAC,MAAM,eAAe,CAAC,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM;AAChF,GAAG,EAAE,EAAE,CAAC,CAAC,EAAE;AACX,GAAG,KAAK,EAAE,CAAC,CAAC,QAAQ;AACpB,GAAG,WAAW,EAAE,CAAC,CAAC,IAAI;AACtB,GAAG,OAAO,EAAE,CAAC,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,KAAK,IAAI,SAAS,GAAG,CAAC,EAAE,QAAQ,GAAG,YAAY,CAAC,MAAM,EAAE,SAAS,GAAG,QAAQ,EAAE,SAAS,EAAE,EAAE;AAC/F,KAAK,IAAI,IAAI,GAAG,YAAY,CAAC,SAAS,CAAC;AACvC,KAAK,UAAU,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,8DAA8D,EAAE,WAAW,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,6CAA6C,EAAE,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,WAAW,EAAE,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,gBAAgB,CAAC,CAAC;AACvT,IAAI;AACJ,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC,8HAA8H,EAAE,WAAW,CAAC,WAAW,CAAC,eAAe,EAAE,CAAC,CAAC,CAAC;AACjM,iCAAiC,CAAC,CAAC;AACnC,GAAG;AACH,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC,kBAAkB,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,9 +1,9 @@
|
|
|
1
1
|
import { x as head, c as escape_html, e as ensure_array_like, g as derived, b as attr_class } from './dev-BNpEUZI3.js';
|
|
2
|
-
import { g as goto } from './client-
|
|
2
|
+
import { g as goto } from './client-D6kcmtib.js';
|
|
3
3
|
import { a as Breadcrumb, C as Card } from './Tabs-DzG6Bn9a.js';
|
|
4
4
|
import { E as EmptyState } from './ui-DR8zOSpC.js';
|
|
5
5
|
import { C as CosmosRenderer, m as mapNexusRelationToEdgeKind } from './nexus-adapter-9EL_VlGI.js';
|
|
6
|
-
import './internal-
|
|
6
|
+
import './internal-CmtLRaJG.js';
|
|
7
7
|
import 'node:module';
|
|
8
8
|
import '@sveltejs/kit/internal';
|
|
9
9
|
import './index-server-DocJvixA.js';
|
|
@@ -178,4 +178,4 @@ function _page($$renderer, $$props) {
|
|
|
178
178
|
}
|
|
179
179
|
|
|
180
180
|
export { _page as default };
|
|
181
|
-
//# sourceMappingURL=_page.svelte-
|
|
181
|
+
//# sourceMappingURL=_page.svelte-DNGyGIWk.js.map
|
package/studio-dist/server/chunks/{_page.svelte-BglEvXWF.js.map → _page.svelte-DNGyGIWk.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_page.svelte-BglEvXWF.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/code/flows/_page.svelte.js"],"sourcesContent":["import { U as escape_html, a as derived, n as attr_class, o as ensure_array_like, 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 { o as EmptyState } from \"../../../../chunks/ui.js\";\nimport \"../../../../chunks/navigation.js\";\nimport { i as CosmosRenderer, r as mapNexusRelationToEdgeKind } from \"../../../../chunks/nexus-adapter.js\";\n//#region src/routes/code/flows/+page.svelte\nfunction _page($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\tlet { data } = $$props;\n\t\tlet selectedFlowId = null;\n\t\tconst selectedFlow = derived(() => {\n\t\t\tconst flows = data.flows;\n\t\t\tif (flows.length === 0) return null;\n\t\t\tconst id = selectedFlowId ?? flows[0].id;\n\t\t\treturn flows.find((f) => f.id === id) ?? flows[0];\n\t\t});\n\t\tconst reachSet = derived(() => new Set(selectedFlow()?.reachIds ?? []));\n\t\tconst graphModel = derived(() => {\n\t\t\tif (!selectedFlow()) return {\n\t\t\t\tnodes: [],\n\t\t\t\tedges: []\n\t\t\t};\n\t\t\treturn {\n\t\t\t\tnodes: data.nodes.filter((n) => reachSet().has(n.id)).map((n) => ({\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.id === selectedFlow().id ? \"entry\" : \"reached\",\n\t\t\t\t\tweight: n.id === selectedFlow().id ? 1 : .35,\n\t\t\t\t\tmeta: { filePath: n.filePath }\n\t\t\t\t})),\n\t\t\t\tedges: data.edges.filter((e) => reachSet().has(e.source) && reachSet().has(e.target) && e.source !== e.target).map((e, idx) => ({\n\t\t\t\t\tid: `flow-${idx}-${e.source}-${e.target}`,\n\t\t\t\t\tsource: e.source,\n\t\t\t\t\ttarget: e.target,\n\t\t\t\t\tkind: mapNexusRelationToEdgeKind(e.type),\n\t\t\t\t\tdirectional: true\n\t\t\t\t}))\n\t\t\t};\n\t\t});\n\t\tconst stepEntries = derived(() => {\n\t\t\tif (!selectedFlow()) return [];\n\t\t\tconst steps = data.edges.filter((e) => reachSet().has(e.source) && reachSet().has(e.target) && typeof e.stepIndex === \"number\").sort((a, b) => (a.stepIndex ?? 0) - (b.stepIndex ?? 0));\n\t\t\tconst lookupLabel = (id) => data.nodes.find((n) => n.id === id)?.label ?? id;\n\t\t\treturn steps.map((s) => ({\n\t\t\t\tsource: lookupLabel(s.source),\n\t\t\t\ttarget: lookupLabel(s.target),\n\t\t\t\ttype: s.type,\n\t\t\t\tstepIndex: s.stepIndex ?? 0\n\t\t\t}));\n\t\t});\n\t\tconst flowsByKind = derived(() => {\n\t\t\tconst groups = /* @__PURE__ */ new Map();\n\t\t\tfor (const flow of data.flows) {\n\t\t\t\tconst k = flow.kind || \"other\";\n\t\t\t\tconst bucket = groups.get(k) ?? [];\n\t\t\t\tbucket.push(flow);\n\t\t\t\tgroups.set(k, bucket);\n\t\t\t}\n\t\t\treturn [...groups.entries()].sort((a, b) => b[1].length - a[1].length);\n\t\t});\n\t\tfunction onNodeClick(node) {\n\t\t\tif (node.id === selectedFlow()?.id) return;\n\t\t\tgoto(`/code/symbol/${encodeURIComponent(node.label)}`);\n\t\t}\n\t\tconst visibleEdgeKinds = new Set([\n\t\t\t\"calls\",\n\t\t\t\"defines\",\n\t\t\t\"imports\",\n\t\t\t\"extends\",\n\t\t\t\"implements\",\n\t\t\t\"references\",\n\t\t\t\"has_method\"\n\t\t]);\n\t\thead(\"1c4j9m0\", $$renderer, ($$renderer) => {\n\t\t\t$$renderer.title(($$renderer) => {\n\t\t\t\t$$renderer.push(`<title>Execution Flows — Code — CLEO Studio</title>`);\n\t\t\t});\n\t\t});\n\t\t$$renderer.push(`<section class=\"flows-view svelte-1c4j9m0\" aria-labelledby=\"flows-title\"><header class=\"page-head svelte-1c4j9m0\">`);\n\t\tBreadcrumb($$renderer, { items: [\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{ label: \"Flows\" }\n\t\t] });\n\t\t$$renderer.push(`<!----> <div class=\"title-row svelte-1c4j9m0\"><div><span class=\"eyebrow svelte-1c4j9m0\">NEXUS · Flows</span> <h1 id=\"flows-title\" class=\"svelte-1c4j9m0\">Execution Flows</h1> <p class=\"subtitle svelte-1c4j9m0\">${escape_html(data.flows.length)} entry-points · ${escape_html(data.hasProcesses ? \"process-annotated\" : \"call-graph derived\")}</p></div></div></header> `);\n\t\tif (data.empty) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\tEmptyState($$renderer, {\n\t\t\t\ttitle: \"No flows yet\",\n\t\t\t\tsubtitle: \"Nexus hasn't captured any entry-points. Run cleo nexus analyze and ensure your project exposes entry-point symbols (functions with entry_point_of edges or high-out-degree call roots).\"\n\t\t\t});\n\t\t} else {\n\t\t\t$$renderer.push(\"<!--[-1-->\");\n\t\t\t$$renderer.push(`<div class=\"workbench svelte-1c4j9m0\"><aside class=\"flow-list svelte-1c4j9m0\" aria-label=\"Entry-point list\">`);\n\t\t\t{\n\t\t\t\tfunction children($$renderer) {\n\t\t\t\t\t$$renderer.push(`<div class=\"list-stack svelte-1c4j9m0\"><!--[-->`);\n\t\t\t\t\tconst each_array = ensure_array_like(flowsByKind());\n\t\t\t\t\tfor (let $$index_1 = 0, $$length = each_array.length; $$index_1 < $$length; $$index_1++) {\n\t\t\t\t\t\tlet [kind, flows] = each_array[$$index_1];\n\t\t\t\t\t\t$$renderer.push(`<div class=\"group svelte-1c4j9m0\"><h2 class=\"group-head svelte-1c4j9m0\"><span class=\"kind-mark svelte-1c4j9m0\" aria-hidden=\"true\"></span> ${escape_html(kind)} <span class=\"group-count svelte-1c4j9m0\">${escape_html(flows.length)}</span></h2> <ul class=\"svelte-1c4j9m0\"><!--[-->`);\n\t\t\t\t\t\tconst each_array_1 = ensure_array_like(flows);\n\t\t\t\t\t\tfor (let $$index = 0, $$length = each_array_1.length; $$index < $$length; $$index++) {\n\t\t\t\t\t\t\tlet flow = each_array_1[$$index];\n\t\t\t\t\t\t\t$$renderer.push(`<li><button type=\"button\"${attr_class(\"flow-item svelte-1c4j9m0\", void 0, { \"active\": selectedFlowId === flow.id })}><span class=\"flow-label svelte-1c4j9m0\">${escape_html(flow.label)}</span> <span class=\"flow-sub svelte-1c4j9m0\"><span>${escape_html(flow.reachIds.length - 1)} fanout</span> `);\n\t\t\t\t\t\t\tif (flow.filePath) {\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=\"sep svelte-1c4j9m0\" aria-hidden=\"true\">·</span> <span class=\"flow-path svelte-1c4j9m0\">${escape_html(flow.filePath.split(\"/\").slice(-2).join(\"/\"))}</span>`);\n\t\t\t\t\t\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t\t\t\t\t\t$$renderer.push(`<!--]--></span></button></li>`);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$$renderer.push(`<!--]--></ul></div>`);\n\t\t\t\t\t}\n\t\t\t\t\t$$renderer.push(`<!--]--></div>`);\n\t\t\t\t}\n\t\t\t\tCard($$renderer, {\n\t\t\t\t\televation: 1,\n\t\t\t\t\tpadding: \"compact\",\n\t\t\t\t\tchildren,\n\t\t\t\t\t$$slots: { default: true }\n\t\t\t\t});\n\t\t\t}\n\t\t\t$$renderer.push(`<!----></aside> <div class=\"flow-stage svelte-1c4j9m0\"><div class=\"stage svelte-1c4j9m0\" aria-label=\"Selected flow canvas\"><div class=\"stage-scanlines svelte-1c4j9m0\" aria-hidden=\"true\"></div> `);\n\t\t\tif (selectedFlow()) {\n\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\tCosmosRenderer($$renderer, {\n\t\t\t\t\tnodes: graphModel().nodes,\n\t\t\t\t\tedges: graphModel().edges,\n\t\t\t\t\tvisibleEdgeKinds,\n\t\t\t\t\tshowClusterLabels: false,\n\t\t\t\t\tonNodeClick,\n\t\t\t\t\thighlightNodeId: selectedFlow().id,\n\t\t\t\t\theight: \"calc(100vh - 440px)\",\n\t\t\t\t\tbaseAlpha: .92\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=\"placeholder svelte-1c4j9m0\">Select an entry-point to trace.</div>`);\n\t\t\t}\n\t\t\t$$renderer.push(`<!--]--></div> <div class=\"timeline svelte-1c4j9m0\" aria-label=\"Step timeline\"><h2 class=\"group-head svelte-1c4j9m0\"><span class=\"kind-mark kind-mark-timeline svelte-1c4j9m0\" aria-hidden=\"true\"></span> Timeline `);\n\t\t\tif (stepEntries().length > 0) {\n\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t$$renderer.push(`<span class=\"group-count svelte-1c4j9m0\">${escape_html(stepEntries().length)}</span>`);\n\t\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t\t$$renderer.push(`<!--]--></h2> `);\n\t\t\tif (stepEntries().length === 0) {\n\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t$$renderer.push(`<p class=\"timeline-empty svelte-1c4j9m0\">This flow has no explicit \\`step_in_process\\` ordering — the canvas above shows the BFS reach set instead.</p>`);\n\t\t\t} else {\n\t\t\t\t$$renderer.push(\"<!--[-1-->\");\n\t\t\t\t$$renderer.push(`<ol class=\"timeline-list svelte-1c4j9m0\"><!--[-->`);\n\t\t\t\tconst each_array_2 = ensure_array_like(stepEntries());\n\t\t\t\tfor (let i = 0, $$length = each_array_2.length; i < $$length; i++) {\n\t\t\t\t\tlet step = each_array_2[i];\n\t\t\t\t\t$$renderer.push(`<li class=\"timeline-step svelte-1c4j9m0\"><span class=\"step-idx svelte-1c4j9m0\">${escape_html(step.stepIndex)}</span> <span class=\"step-arrow svelte-1c4j9m0\" aria-hidden=\"true\">→</span> <span class=\"step-body svelte-1c4j9m0\"><span class=\"step-src svelte-1c4j9m0\">${escape_html(step.source)}</span> <span class=\"step-sep svelte-1c4j9m0\" aria-hidden=\"true\">⟶</span> <span class=\"step-dst svelte-1c4j9m0\">${escape_html(step.target)}</span> <span class=\"step-type svelte-1c4j9m0\">${escape_html(step.type)}</span></span></li>`);\n\t\t\t\t}\n\t\t\t\t$$renderer.push(`<!--]--></ol>`);\n\t\t\t}\n\t\t\t$$renderer.push(`<!--]--></div></div></div>`);\n\t\t}\n\t\t$$renderer.push(`<!--]--></section>`);\n\t});\n}\n//#endregion\nexport { _page as default };\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAMA;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,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CAAC,yJAAyJ,EAAE,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,gHAAgH,EAAE,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,+CAA+C,EAAE,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,mBAAmB,CAAC,CAAC;AAC/hB,IAAI;AACJ,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC,aAAa,CAAC,CAAC;AACpC,GAAG;AACH,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC,0BAA0B,CAAC,CAAC;AAChD,EAAE;AACF,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC,kBAAkB,CAAC,CAAC;AACvC,CAAC,CAAC,CAAC;AACH;;;;"}
|
|
1
|
+
{"version":3,"file":"_page.svelte-DNGyGIWk.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/code/flows/_page.svelte.js"],"sourcesContent":["import { U as escape_html, a as derived, n as attr_class, o as ensure_array_like, 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 { o as EmptyState } from \"../../../../chunks/ui.js\";\nimport \"../../../../chunks/navigation.js\";\nimport { i as CosmosRenderer, r as mapNexusRelationToEdgeKind } from \"../../../../chunks/nexus-adapter.js\";\n//#region src/routes/code/flows/+page.svelte\nfunction _page($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\tlet { data } = $$props;\n\t\tlet selectedFlowId = null;\n\t\tconst selectedFlow = derived(() => {\n\t\t\tconst flows = data.flows;\n\t\t\tif (flows.length === 0) return null;\n\t\t\tconst id = selectedFlowId ?? flows[0].id;\n\t\t\treturn flows.find((f) => f.id === id) ?? flows[0];\n\t\t});\n\t\tconst reachSet = derived(() => new Set(selectedFlow()?.reachIds ?? []));\n\t\tconst graphModel = derived(() => {\n\t\t\tif (!selectedFlow()) return {\n\t\t\t\tnodes: [],\n\t\t\t\tedges: []\n\t\t\t};\n\t\t\treturn {\n\t\t\t\tnodes: data.nodes.filter((n) => reachSet().has(n.id)).map((n) => ({\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.id === selectedFlow().id ? \"entry\" : \"reached\",\n\t\t\t\t\tweight: n.id === selectedFlow().id ? 1 : .35,\n\t\t\t\t\tmeta: { filePath: n.filePath }\n\t\t\t\t})),\n\t\t\t\tedges: data.edges.filter((e) => reachSet().has(e.source) && reachSet().has(e.target) && e.source !== e.target).map((e, idx) => ({\n\t\t\t\t\tid: `flow-${idx}-${e.source}-${e.target}`,\n\t\t\t\t\tsource: e.source,\n\t\t\t\t\ttarget: e.target,\n\t\t\t\t\tkind: mapNexusRelationToEdgeKind(e.type),\n\t\t\t\t\tdirectional: true\n\t\t\t\t}))\n\t\t\t};\n\t\t});\n\t\tconst stepEntries = derived(() => {\n\t\t\tif (!selectedFlow()) return [];\n\t\t\tconst steps = data.edges.filter((e) => reachSet().has(e.source) && reachSet().has(e.target) && typeof e.stepIndex === \"number\").sort((a, b) => (a.stepIndex ?? 0) - (b.stepIndex ?? 0));\n\t\t\tconst lookupLabel = (id) => data.nodes.find((n) => n.id === id)?.label ?? id;\n\t\t\treturn steps.map((s) => ({\n\t\t\t\tsource: lookupLabel(s.source),\n\t\t\t\ttarget: lookupLabel(s.target),\n\t\t\t\ttype: s.type,\n\t\t\t\tstepIndex: s.stepIndex ?? 0\n\t\t\t}));\n\t\t});\n\t\tconst flowsByKind = derived(() => {\n\t\t\tconst groups = /* @__PURE__ */ new Map();\n\t\t\tfor (const flow of data.flows) {\n\t\t\t\tconst k = flow.kind || \"other\";\n\t\t\t\tconst bucket = groups.get(k) ?? [];\n\t\t\t\tbucket.push(flow);\n\t\t\t\tgroups.set(k, bucket);\n\t\t\t}\n\t\t\treturn [...groups.entries()].sort((a, b) => b[1].length - a[1].length);\n\t\t});\n\t\tfunction onNodeClick(node) {\n\t\t\tif (node.id === selectedFlow()?.id) return;\n\t\t\tgoto(`/code/symbol/${encodeURIComponent(node.label)}`);\n\t\t}\n\t\tconst visibleEdgeKinds = new Set([\n\t\t\t\"calls\",\n\t\t\t\"defines\",\n\t\t\t\"imports\",\n\t\t\t\"extends\",\n\t\t\t\"implements\",\n\t\t\t\"references\",\n\t\t\t\"has_method\"\n\t\t]);\n\t\thead(\"1c4j9m0\", $$renderer, ($$renderer) => {\n\t\t\t$$renderer.title(($$renderer) => {\n\t\t\t\t$$renderer.push(`<title>Execution Flows — Code — CLEO Studio</title>`);\n\t\t\t});\n\t\t});\n\t\t$$renderer.push(`<section class=\"flows-view svelte-1c4j9m0\" aria-labelledby=\"flows-title\"><header class=\"page-head svelte-1c4j9m0\">`);\n\t\tBreadcrumb($$renderer, { items: [\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{ label: \"Flows\" }\n\t\t] });\n\t\t$$renderer.push(`<!----> <div class=\"title-row svelte-1c4j9m0\"><div><span class=\"eyebrow svelte-1c4j9m0\">NEXUS · Flows</span> <h1 id=\"flows-title\" class=\"svelte-1c4j9m0\">Execution Flows</h1> <p class=\"subtitle svelte-1c4j9m0\">${escape_html(data.flows.length)} entry-points · ${escape_html(data.hasProcesses ? \"process-annotated\" : \"call-graph derived\")}</p></div></div></header> `);\n\t\tif (data.empty) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\tEmptyState($$renderer, {\n\t\t\t\ttitle: \"No flows yet\",\n\t\t\t\tsubtitle: \"Nexus hasn't captured any entry-points. Run cleo nexus analyze and ensure your project exposes entry-point symbols (functions with entry_point_of edges or high-out-degree call roots).\"\n\t\t\t});\n\t\t} else {\n\t\t\t$$renderer.push(\"<!--[-1-->\");\n\t\t\t$$renderer.push(`<div class=\"workbench svelte-1c4j9m0\"><aside class=\"flow-list svelte-1c4j9m0\" aria-label=\"Entry-point list\">`);\n\t\t\t{\n\t\t\t\tfunction children($$renderer) {\n\t\t\t\t\t$$renderer.push(`<div class=\"list-stack svelte-1c4j9m0\"><!--[-->`);\n\t\t\t\t\tconst each_array = ensure_array_like(flowsByKind());\n\t\t\t\t\tfor (let $$index_1 = 0, $$length = each_array.length; $$index_1 < $$length; $$index_1++) {\n\t\t\t\t\t\tlet [kind, flows] = each_array[$$index_1];\n\t\t\t\t\t\t$$renderer.push(`<div class=\"group svelte-1c4j9m0\"><h2 class=\"group-head svelte-1c4j9m0\"><span class=\"kind-mark svelte-1c4j9m0\" aria-hidden=\"true\"></span> ${escape_html(kind)} <span class=\"group-count svelte-1c4j9m0\">${escape_html(flows.length)}</span></h2> <ul class=\"svelte-1c4j9m0\"><!--[-->`);\n\t\t\t\t\t\tconst each_array_1 = ensure_array_like(flows);\n\t\t\t\t\t\tfor (let $$index = 0, $$length = each_array_1.length; $$index < $$length; $$index++) {\n\t\t\t\t\t\t\tlet flow = each_array_1[$$index];\n\t\t\t\t\t\t\t$$renderer.push(`<li><button type=\"button\"${attr_class(\"flow-item svelte-1c4j9m0\", void 0, { \"active\": selectedFlowId === flow.id })}><span class=\"flow-label svelte-1c4j9m0\">${escape_html(flow.label)}</span> <span class=\"flow-sub svelte-1c4j9m0\"><span>${escape_html(flow.reachIds.length - 1)} fanout</span> `);\n\t\t\t\t\t\t\tif (flow.filePath) {\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=\"sep svelte-1c4j9m0\" aria-hidden=\"true\">·</span> <span class=\"flow-path svelte-1c4j9m0\">${escape_html(flow.filePath.split(\"/\").slice(-2).join(\"/\"))}</span>`);\n\t\t\t\t\t\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t\t\t\t\t\t$$renderer.push(`<!--]--></span></button></li>`);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$$renderer.push(`<!--]--></ul></div>`);\n\t\t\t\t\t}\n\t\t\t\t\t$$renderer.push(`<!--]--></div>`);\n\t\t\t\t}\n\t\t\t\tCard($$renderer, {\n\t\t\t\t\televation: 1,\n\t\t\t\t\tpadding: \"compact\",\n\t\t\t\t\tchildren,\n\t\t\t\t\t$$slots: { default: true }\n\t\t\t\t});\n\t\t\t}\n\t\t\t$$renderer.push(`<!----></aside> <div class=\"flow-stage svelte-1c4j9m0\"><div class=\"stage svelte-1c4j9m0\" aria-label=\"Selected flow canvas\"><div class=\"stage-scanlines svelte-1c4j9m0\" aria-hidden=\"true\"></div> `);\n\t\t\tif (selectedFlow()) {\n\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\tCosmosRenderer($$renderer, {\n\t\t\t\t\tnodes: graphModel().nodes,\n\t\t\t\t\tedges: graphModel().edges,\n\t\t\t\t\tvisibleEdgeKinds,\n\t\t\t\t\tshowClusterLabels: false,\n\t\t\t\t\tonNodeClick,\n\t\t\t\t\thighlightNodeId: selectedFlow().id,\n\t\t\t\t\theight: \"calc(100vh - 440px)\",\n\t\t\t\t\tbaseAlpha: .92\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=\"placeholder svelte-1c4j9m0\">Select an entry-point to trace.</div>`);\n\t\t\t}\n\t\t\t$$renderer.push(`<!--]--></div> <div class=\"timeline svelte-1c4j9m0\" aria-label=\"Step timeline\"><h2 class=\"group-head svelte-1c4j9m0\"><span class=\"kind-mark kind-mark-timeline svelte-1c4j9m0\" aria-hidden=\"true\"></span> Timeline `);\n\t\t\tif (stepEntries().length > 0) {\n\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t$$renderer.push(`<span class=\"group-count svelte-1c4j9m0\">${escape_html(stepEntries().length)}</span>`);\n\t\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t\t$$renderer.push(`<!--]--></h2> `);\n\t\t\tif (stepEntries().length === 0) {\n\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t$$renderer.push(`<p class=\"timeline-empty svelte-1c4j9m0\">This flow has no explicit \\`step_in_process\\` ordering — the canvas above shows the BFS reach set instead.</p>`);\n\t\t\t} else {\n\t\t\t\t$$renderer.push(\"<!--[-1-->\");\n\t\t\t\t$$renderer.push(`<ol class=\"timeline-list svelte-1c4j9m0\"><!--[-->`);\n\t\t\t\tconst each_array_2 = ensure_array_like(stepEntries());\n\t\t\t\tfor (let i = 0, $$length = each_array_2.length; i < $$length; i++) {\n\t\t\t\t\tlet step = each_array_2[i];\n\t\t\t\t\t$$renderer.push(`<li class=\"timeline-step svelte-1c4j9m0\"><span class=\"step-idx svelte-1c4j9m0\">${escape_html(step.stepIndex)}</span> <span class=\"step-arrow svelte-1c4j9m0\" aria-hidden=\"true\">→</span> <span class=\"step-body svelte-1c4j9m0\"><span class=\"step-src svelte-1c4j9m0\">${escape_html(step.source)}</span> <span class=\"step-sep svelte-1c4j9m0\" aria-hidden=\"true\">⟶</span> <span class=\"step-dst svelte-1c4j9m0\">${escape_html(step.target)}</span> <span class=\"step-type svelte-1c4j9m0\">${escape_html(step.type)}</span></span></li>`);\n\t\t\t\t}\n\t\t\t\t$$renderer.push(`<!--]--></ol>`);\n\t\t\t}\n\t\t\t$$renderer.push(`<!--]--></div></div></div>`);\n\t\t}\n\t\t$$renderer.push(`<!--]--></section>`);\n\t});\n}\n//#endregion\nexport { _page as default };\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAMA;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,cAAc,GAAG,IAAI;AAC3B,EAAE,MAAM,YAAY,GAAG,OAAO,CAAC,MAAM;AACrC,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AAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,+CAA+C,EAAE,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,mBAAmB,CAAC,CAAC;AAC/hB,IAAI;AACJ,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC,aAAa,CAAC,CAAC;AACpC,GAAG;AACH,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC,0BAA0B,CAAC,CAAC;AAChD,EAAE;AACF,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC,kBAAkB,CAAC,CAAC;AACvC,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-
|
|
3
|
+
import { p as page } from './stores-CPDsIflz.js';
|
|
4
4
|
import { B as Badge } from './Tabs-DzG6Bn9a.js';
|
|
5
|
-
import './client-
|
|
5
|
+
import './client-D6kcmtib.js';
|
|
6
6
|
import { S as SvgRenderer, D as DetailDrawer, t as tasksToGraph } from './tasks2-B1Wmksu1.js';
|
|
7
7
|
import './tasks-CKwl6Nuj.js';
|
|
8
|
-
import './internal-
|
|
8
|
+
import './internal-CmtLRaJG.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-
|
|
388
|
+
//# sourceMappingURL=_page.svelte-T3bMoORu.js.map
|