@cleocode/cleo 2026.8.3 → 2026.8.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/index.js +140 -104
- package/dist/cli/index.js.map +3 -3
- package/package.json +13 -13
- package/studio-dist/client/_app/immutable/chunks/{B_IgYp0Q.js → BUGCWghM.js} +1 -1
- package/studio-dist/client/_app/immutable/chunks/BYc4Jvn4.js +1 -0
- package/studio-dist/client/_app/immutable/chunks/{CKl0GUXg.js → Buy7LnV8.js} +1 -1
- package/studio-dist/client/_app/immutable/chunks/{Cnf8fGu7.js → DE-1PFLR.js} +1 -1
- package/studio-dist/client/_app/immutable/entry/{app.BCazOf3D.js → app.qaAaulo2.js} +2 -2
- package/studio-dist/client/_app/immutable/entry/start.geHIExPE.js +1 -0
- package/studio-dist/client/_app/immutable/nodes/{0.DkQR1Qhk.js → 0.DukdGTgf.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{1.sQRW-2Yx.js → 1.B5QmqOp_.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{15.Bthdk1uH.js → 15.C8C7o4Ke.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{16.E0OqiJHc.js → 16.gWaB82Pi.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{17.D5s8A2vJ.js → 17.DArfjohh.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{18.BGJV6j5H.js → 18.bLTgiKRB.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{20.D5Qgiozt.js → 20.CiZMN_Ni.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{24.fg7r7xAq.js → 24.BOeywHAp.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{25.DMINB1-t.js → 25.-wr6OrE5.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{26.D5JsjBp1.js → 26.AjZ_Fv7F.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{3.CbKDVLlu.js → 3.3BhS05qm.js} +1 -1
- package/studio-dist/client/_app/version.json +1 -1
- package/studio-dist/server/chunks/{0-CrN368X_.js → 0-Cj8lp-vV.js} +3 -3
- package/studio-dist/server/chunks/{0-CrN368X_.js.map → 0-Cj8lp-vV.js.map} +1 -1
- package/studio-dist/server/chunks/{1-CfcFNOpp.js → 1-mvAddk8l.js} +3 -3
- package/studio-dist/server/chunks/{1-CfcFNOpp.js.map → 1-mvAddk8l.js.map} +1 -1
- package/studio-dist/server/chunks/{15-tVNJQWMr.js → 15-BaFi1Rz0.js} +3 -3
- package/studio-dist/server/chunks/{15-tVNJQWMr.js.map → 15-BaFi1Rz0.js.map} +1 -1
- package/studio-dist/server/chunks/{16-BokuGN_z.js → 16-DaoLkZbH.js} +3 -3
- package/studio-dist/server/chunks/{16-BokuGN_z.js.map → 16-DaoLkZbH.js.map} +1 -1
- package/studio-dist/server/chunks/{17-CDD-Ov5m.js → 17-DE32nTRa.js} +3 -3
- package/studio-dist/server/chunks/{17-CDD-Ov5m.js.map → 17-DE32nTRa.js.map} +1 -1
- package/studio-dist/server/chunks/{18-DsDyFwyZ.js → 18-DaAfWhLL.js} +3 -3
- package/studio-dist/server/chunks/{18-DsDyFwyZ.js.map → 18-DaAfWhLL.js.map} +1 -1
- package/studio-dist/server/chunks/{20-ipaJADB4.js → 20-BPT7f_2T.js} +3 -3
- package/studio-dist/server/chunks/{20-ipaJADB4.js.map → 20-BPT7f_2T.js.map} +1 -1
- package/studio-dist/server/chunks/{24-DMor7iHN.js → 24-Cpe3n5Fe.js} +3 -3
- package/studio-dist/server/chunks/{24-DMor7iHN.js.map → 24-Cpe3n5Fe.js.map} +1 -1
- package/studio-dist/server/chunks/{25-BMRgppbY.js → 25-BfZnRvHX.js} +3 -3
- package/studio-dist/server/chunks/{25-BMRgppbY.js.map → 25-BfZnRvHX.js.map} +1 -1
- package/studio-dist/server/chunks/{26-DLr7iTMz.js → 26-CslOdFIr.js} +3 -3
- package/studio-dist/server/chunks/{26-DLr7iTMz.js.map → 26-CslOdFIr.js.map} +1 -1
- package/studio-dist/server/chunks/{3-CBEuYMKL.js → 3-DMJI0J_l.js} +3 -3
- package/studio-dist/server/chunks/{3-CBEuYMKL.js.map → 3-DMJI0J_l.js.map} +1 -1
- package/studio-dist/server/chunks/{_layout.svelte-BdYJ0XOr.js → _layout.svelte-Bt5JLnI6.js} +4 -4
- package/studio-dist/server/chunks/{_layout.svelte-BdYJ0XOr.js.map → _layout.svelte-Bt5JLnI6.js.map} +1 -1
- package/studio-dist/server/chunks/{_page.svelte-DOrUlkcl.js → _page.svelte--X49zLt2.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-DOrUlkcl.js.map → _page.svelte--X49zLt2.js.map} +1 -1
- package/studio-dist/server/chunks/{_page.svelte-anmDho-n.js → _page.svelte-BsnroOSv.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-anmDho-n.js.map → _page.svelte-BsnroOSv.js.map} +1 -1
- package/studio-dist/server/chunks/{_page.svelte-CDOTeiB_.js → _page.svelte-C8U3IifT.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-CDOTeiB_.js.map → _page.svelte-C8U3IifT.js.map} +1 -1
- package/studio-dist/server/chunks/{_page.svelte-CU_2T-us.js → _page.svelte-C9fNWql1.js} +4 -4
- package/studio-dist/server/chunks/{_page.svelte-CU_2T-us.js.map → _page.svelte-C9fNWql1.js.map} +1 -1
- package/studio-dist/server/chunks/{_page.svelte-DG43u848.js → _page.svelte-CmfYjWds.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-DG43u848.js.map → _page.svelte-CmfYjWds.js.map} +1 -1
- package/studio-dist/server/chunks/{_page.svelte-C1SLWnmf.js → _page.svelte-DiklQPxf.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-C1SLWnmf.js.map → _page.svelte-DiklQPxf.js.map} +1 -1
- package/studio-dist/server/chunks/{_page.svelte-DBJqZ4tH.js → _page.svelte-Dss1dsLk.js} +4 -4
- package/studio-dist/server/chunks/{_page.svelte-DBJqZ4tH.js.map → _page.svelte-Dss1dsLk.js.map} +1 -1
- package/studio-dist/server/chunks/{_page.svelte-BmKwnSmo.js → _page.svelte-l8g_SB07.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-BmKwnSmo.js.map → _page.svelte-l8g_SB07.js.map} +1 -1
- package/studio-dist/server/chunks/{_page.svelte-N1-4fyD8.js → _page.svelte-sKCSKyCk.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-N1-4fyD8.js.map → _page.svelte-sKCSKyCk.js.map} +1 -1
- package/studio-dist/server/chunks/{client-CpS5Z5ic.js → client-0XYxDqM7.js} +2 -2
- package/studio-dist/server/chunks/{client-CpS5Z5ic.js.map → client-0XYxDqM7.js.map} +1 -1
- package/studio-dist/server/chunks/{error.svelte-OTAkvfqc.js → error.svelte-uwNG2w3h.js} +3 -3
- package/studio-dist/server/chunks/{error.svelte-OTAkvfqc.js.map → error.svelte-uwNG2w3h.js.map} +1 -1
- package/studio-dist/server/chunks/{internal-DRwgsLmF.js → internal-C6KP7eXK.js} +2 -2
- package/studio-dist/server/chunks/{internal-DRwgsLmF.js.map → internal-C6KP7eXK.js.map} +1 -1
- package/studio-dist/server/chunks/{stores-kdOSK__S.js → stores-tMbHvxQz.js} +2 -2
- package/studio-dist/server/chunks/{stores-kdOSK__S.js.map → stores-tMbHvxQz.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/DWgHjJc2.js +0 -1
- package/studio-dist/client/_app/immutable/entry/start.BmXgG-qs.js +0 -1
package/studio-dist/server/chunks/{_page.svelte-CDOTeiB_.js.map → _page.svelte-C8U3IifT.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_page.svelte-CDOTeiB_.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,GAAG,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK;AAC3B,GAAG,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE,OAAO,IAAI;AACtC,GAAG,MAAM,EAAE,GAAqB,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE;AAC3C,GAAG,OAAO,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,IAAI,KAAK,CAAC,CAAC,CAAC;AACpD,EAAE,CAAC,CAAC;AACJ,EAAE,MAAM,QAAQ,GAAG,OAAO,CAAC,MAAM,IAAI,GAAG,CAAC,YAAY,EAAE,EAAE,QAAQ,IAAI,EAAE,CAAC,CAAC;AACzE,EAAE,MAAM,UAAU,GAAG,OAAO,CAAC,MAAM;AACnC,GAAG,IAAI,CAAC,YAAY,EAAE,EAA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AE,CAAC,MAAM,KAAK,CAAC,EAAE;AACnC,IAAI,UAAU,CAAC,IAAI,CAAC,WAAW,CAAC;AAChC,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC,uJAAuJ,CAAC,CAAC;AAC9K,GAAG,CAAC,MAAM;AACV,IAAI,UAAU,CAAC,IAAI,CAAC,YAAY,CAAC;AACjC,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC,iDAAiD,CAAC,CAAC;AACxE,IAAI,MAAM,YAAY,GAAG,iBAAiB,CAAC,WAAW,EAAE,CAAC;AACzD,IAAI,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,QAAQ,GAAG,YAAY,CAAC,MAAM,EAAE,CAAC,GAAG,QAAQ,EAAE,CAAC,EAAE,EAAE;AACvE,KAAK,IAAI,IAAI,GAAG,YAAY,CAAC,CAAC,CAAC;AAC/B,KAAK,UAAU,CAAC,IAAI,CAAC,CAAC,+EAA+E,EAAE,WAAW,CAAC,IAAI,CAAC,SAAS,CAAC,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-C8U3IifT.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,GAAG,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK;AAC3B,GAAG,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE,OAAO,IAAI;AACtC,GAAG,MAAM,EAAE,GAAqB,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE;AAC3C,GAAG,OAAO,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,IAAI,KAAK,CAAC,CAAC,CAAC;AACpD,EAAE,CAAC,CAAC;AACJ,EAAE,MAAM,QAAQ,GAAG,OAAO,CAAC,MAAM,IAAI,GAAG,CAAC,YAAY,EAAE,EAAE,QAAQ,IAAI,EAAE,CAAC,CAAC;AACzE,EAAE,MAAM,UAAU,GAAG,OAAO,CAAC,MAAM;AACnC,GAAG,IAAI,CAAC,YAAY,EAAE,EAAE,OAAO;AAC/B,IAAI,KAAK,EAAE,EAAE;AACb,IAAI,KAAK,EAAE;AACX,IAAI;AACJ,G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;AAChC,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC,uJAAuJ,CAAC,CAAC;AAC9K,GAAG,CAAC,MAAM;AACV,IAAI,UAAU,CAAC,IAAI,CAAC,YAAY,CAAC;AACjC,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC,iDAAiD,CAAC,CAAC;AACxE,IAAI,MAAM,YAAY,GAAG,iBAAiB,CAAC,WAAW,EAAE,CAAC;AACzD,IAAI,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,QAAQ,GAAG,YAAY,CAAC,MAAM,EAAE,CAAC,GAAG,QAAQ,EAAE,CAAC,EAAE,EAAE;AACvE,KAAK,IAAI,IAAI,GAAG,YAAY,CAAC,CAAC,CAAC;AAC/B,KAAK,UAAU,CAAC,IAAI,CAAC,CAAC,+EAA+E,EAAE,WAAW,CAAC,IAAI,CAAC,SAAS,CAAC,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,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-tMbHvxQz.js';
|
|
4
4
|
import { B as Badge } from './Tabs-DzG6Bn9a.js';
|
|
5
|
-
import './client-
|
|
5
|
+
import './client-0XYxDqM7.js';
|
|
6
6
|
import { S as SvgRenderer, D as DetailDrawer, t as tasksToGraph } from './tasks2-rDjqc44j.js';
|
|
7
7
|
import './tasks-MUxDBED8.js';
|
|
8
|
-
import './internal-
|
|
8
|
+
import './internal-C6KP7eXK.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-C9fNWql1.js.map
|
package/studio-dist/server/chunks/{_page.svelte-CU_2T-us.js.map → _page.svelte-C9fNWql1.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_page.svelte-CU_2T-us.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/studio/_projectId_/_sagaId_/_page.svelte.js"],"sourcesContent":["import { U as escape_html, V as attr, a as derived, d as unsubscribe_stores, i as bind_props, l as store_get, n as attr_class, o as ensure_array_like, s as head } from \"../../../../../chunks/dev.js\";\nimport \"../../../../../chunks/index-server.js\";\nimport \"../../../../../chunks/lane-transition.js\";\nimport { t as page } from \"../../../../../chunks/stores.js\";\nimport { a as Badge } from \"../../../../../chunks/Tabs.js\";\nimport \"../../../../../chunks/ui.js\";\nimport \"../../../../../chunks/navigation.js\";\nimport { _ as SvgRenderer, d as DetailDrawer, v as tasksToGraph } from \"../../../../../chunks/tasks2.js\";\nimport \"../../../../../chunks/saga-board.svelte.js\";\n//#region src/lib/components/WorkGraphView.svelte\nfunction WorkGraphView($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\t/** Full task set (from the gateway-backed explorer bundle). */\n\t\t/** All dependency edges from the bundle. */\n\t\t/**\n\t\t* The saga (or any ancestor) id to scope the graph to. Every descendant\n\t\t* epic / task / subtask is included via the adapter's ancestor walk.\n\t\t* When omitted the full bundle projects (parity with GraphTab).\n\t\t*/\n\t\t/** Include cancelled epics in the projection. Default false. */\n\t\t/** Optional initially-selected node id (drives the drawer on mount). */\n\t\tlet { tasks, deps, sagaId = null, includeCancelled = false, selectedId = null } = $$props;\n\t\tconst graph = derived(() => tasksToGraph(tasks, deps, {\n\t\t\tepicScope: sagaId,\n\t\t\tincludeCancelled,\n\t\t\tincludeArchived: false\n\t\t}));\n\t\t/** Visible edge kinds — containment + both dependency families. */\n\t\tconst VISIBLE_EDGE_KINDS = new Set([\n\t\t\t\"parent\",\n\t\t\t\"blocks\",\n\t\t\t\"depends\"\n\t\t]);\n\t\tconst tasksById = derived(() => new Map(tasks.map((t) => [t.id, t])));\n\t\tconst selectedTask = derived(() => selectedId ? tasksById().get(selectedId) ?? null : null);\n\t\t/** Upstream dependency links: tasks the selected node depends on. */\n\t\tconst upstreamLinks = derived(() => {\n\t\t\tif (!selectedTask()) return [];\n\t\t\tconst out = [];\n\t\t\tfor (const d of deps) {\n\t\t\t\tif (d.taskId !== selectedTask().id) continue;\n\t\t\t\tconst blocker = tasksById().get(d.dependsOn);\n\t\t\t\tif (!blocker) continue;\n\t\t\t\tout.push({\n\t\t\t\t\tid: blocker.id,\n\t\t\t\t\ttitle: blocker.title,\n\t\t\t\t\tstatus: blocker.status,\n\t\t\t\t\tpriority: blocker.priority\n\t\t\t\t});\n\t\t\t}\n\t\t\treturn out;\n\t\t});\n\t\t/** Downstream dependency links: tasks that depend on the selected node. */\n\t\tconst downstreamLinks = derived(() => {\n\t\t\tif (!selectedTask()) return [];\n\t\t\tconst out = [];\n\t\t\tfor (const d of deps) {\n\t\t\t\tif (d.dependsOn !== selectedTask().id) continue;\n\t\t\t\tconst dependent = tasksById().get(d.taskId);\n\t\t\t\tif (!dependent) continue;\n\t\t\t\tout.push({\n\t\t\t\t\tid: dependent.id,\n\t\t\t\t\ttitle: dependent.title,\n\t\t\t\t\tstatus: dependent.status,\n\t\t\t\t\tpriority: dependent.priority\n\t\t\t\t});\n\t\t\t}\n\t\t\treturn out;\n\t\t});\n\t\t/** Containment chain: walk `parentId` up to (and including) the saga root. */\n\t\tconst parentChain = derived(() => {\n\t\t\tif (!selectedTask()) return [];\n\t\t\tconst chain = [];\n\t\t\tlet current = selectedTask().parentId ? tasksById().get(selectedTask().parentId) : void 0;\n\t\t\tconst seen = /* @__PURE__ */ new Set();\n\t\t\twhile (current && !seen.has(current.id)) {\n\t\t\t\tseen.add(current.id);\n\t\t\t\tchain.unshift({\n\t\t\t\t\tid: current.id,\n\t\t\t\t\ttitle: current.title,\n\t\t\t\t\ttype: current.type\n\t\t\t\t});\n\t\t\t\tcurrent = current.parentId ? tasksById().get(current.parentId) : void 0;\n\t\t\t}\n\t\t\treturn chain;\n\t\t});\n\t\tfunction onNodeClicked(n) {\n\t\t\tselectedId = n.id;\n\t\t}\n\t\tfunction onDrawerClose() {\n\t\t\tselectedId = null;\n\t\t}\n\t\tfunction onDrawerSelectDep(id) {\n\t\t\tselectedId = id;\n\t\t}\n\t\t$$renderer.push(`<div class=\"workgraph-view svelte-1lzd0zi\"><div class=\"workgraph-meta svelte-1lzd0zi\"><span class=\"count svelte-1lzd0zi\"><strong class=\"svelte-1lzd0zi\">${escape_html(graph().nodes.length)}</strong> nodes · <strong class=\"svelte-1lzd0zi\">${escape_html(graph().edges.length)}</strong> edges `);\n\t\tif (sagaId) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`· scoped to <code class=\"svelte-1lzd0zi\">${escape_html(sagaId)}</code>`);\n\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]--></span> <span class=\"legend-hint svelte-1lzd0zi\">containment · depends · blocks</span></div> <div class=\"workgraph-body svelte-1lzd0zi\"><div class=\"graph-wrap svelte-1lzd0zi\">`);\n\t\tif (graph().nodes.length === 0) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`<div class=\"empty-state svelte-1lzd0zi\"><p>No tasks in this workgraph `);\n\t\t\tif (sagaId) {\n\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t$$renderer.push(`for <code class=\"svelte-1lzd0zi\">${escape_html(sagaId)}</code>`);\n\t\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t\t$$renderer.push(`<!--]-->.</p></div>`);\n\t\t} else {\n\t\t\t$$renderer.push(\"<!--[-1-->\");\n\t\t\tSvgRenderer($$renderer, {\n\t\t\t\tnodes: graph().nodes,\n\t\t\t\tedges: graph().edges,\n\t\t\t\tclusters: graph().clusters,\n\t\t\t\tvisibleEdgeKinds: VISIBLE_EDGE_KINDS,\n\t\t\t\tselectedNodeId: selectedId,\n\t\t\t\tonNodeClick: onNodeClicked,\n\t\t\t\tshowLabels: \"id-only\",\n\t\t\t\tnodeRenderer: \"pill\",\n\t\t\t\tshowToolbar: true,\n\t\t\t\tshowLegend: true,\n\t\t\t\tariaLabel: \"Saga workgraph — containment and dependency edges\"\n\t\t\t});\n\t\t}\n\t\t$$renderer.push(`<!--]--></div> `);\n\t\tif (selectedTask()) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\tDetailDrawer($$renderer, {\n\t\t\t\ttask: selectedTask(),\n\t\t\t\tupstream: upstreamLinks(),\n\t\t\t\tdownstream: downstreamLinks(),\n\t\t\t\tparentChain: parentChain(),\n\t\t\t\tonClose: onDrawerClose,\n\t\t\t\tonSelectDep: onDrawerSelectDep\n\t\t\t});\n\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]--></div></div>`);\n\t\tbind_props($$props, { selectedId });\n\t});\n}\n//#endregion\n//#region src/lib/stores/theme.svelte.ts\nvar STUDIO_THEMES = [\n\t\"hermes\",\n\t\"nous\",\n\t\"bronze\",\n\t\"slate\",\n\t\"mono\"\n];\nvar STUDIO_THEME_LABELS = {\n\thermes: \"Hermes\",\n\tnous: \"Nous\",\n\tbronze: \"Bronze\",\n\tslate: \"Slate\",\n\tmono: \"Mono\"\n};\nvar DEFAULT_STUDIO_THEME = \"hermes\";\nvar THEME_KEY = \"cleo-studio-theme\";\nvar MODE_KEY = \"cleo-studio-theme-mode\";\nfunction coerceTheme(value) {\n\treturn STUDIO_THEMES.includes(value ?? \"\") ? value : DEFAULT_STUDIO_THEME;\n}\n/**\n* The reactive theme store. Construct via {@link createThemeStore}.\n*\n* Holds the active theme + light-mode flag as `$state`; `apply()` reflects\n* them onto `<html>` (`data-theme` + a `.light` class). All DOM access is\n* SSR-guarded so the store is safe to instantiate at module scope and\n* `apply()` from a client `$effect`.\n*/\nvar ThemeStore = class {\n\t/** The active operator-console theme. */\n\t#active = DEFAULT_STUDIO_THEME;\n\t/** Whether the light operator-console variant is active. */\n\t#light = false;\n\t/**\n\t* @param initial - Optional SSR-provided initial theme (e.g. from a cookie).\n\t*/\n\tconstructor(initial) {\n\t\tif (initial) this.#active = initial;\n\t}\n\t/** The active theme id. */\n\tget active() {\n\t\treturn this.#active;\n\t}\n\t/** Whether the light variant is active. */\n\tget light() {\n\t\treturn this.#light;\n\t}\n\t/** The ordered theme catalogue (static). */\n\tget themes() {\n\t\treturn STUDIO_THEMES;\n\t}\n\t/**\n\t* Hydrate from `localStorage` (client-only) then reflect onto `<html>`.\n\t* Idempotent + SSR-safe (no-op on the server). A route calls this once\n\t* from a client `$effect`.\n\t*/\n\thydrate() {\n\t\tif (typeof localStorage !== \"undefined\") {\n\t\t\tthis.#active = coerceTheme(localStorage.getItem(THEME_KEY));\n\t\t\tthis.#light = localStorage.getItem(MODE_KEY) === \"light\";\n\t\t}\n\t\tthis.apply();\n\t}\n\t/**\n\t* Switch to a new theme, persist it, and re-apply.\n\t*\n\t* @param theme - The theme to activate.\n\t*/\n\tset(theme) {\n\t\tthis.#active = theme;\n\t\tif (typeof localStorage !== \"undefined\") localStorage.setItem(THEME_KEY, theme);\n\t\tthis.apply();\n\t}\n\t/**\n\t* Toggle the light operator-console variant, persist it, and re-apply.\n\t*/\n\ttoggleLight() {\n\t\tthis.#light = !this.#light;\n\t\tif (typeof localStorage !== \"undefined\") localStorage.setItem(MODE_KEY, this.#light ? \"light\" : \"dark\");\n\t\tthis.apply();\n\t}\n\t/**\n\t* Reflect the current `$state` onto the document root. SSR-safe (the\n\t* `document` guard makes this a no-op on the server).\n\t*/\n\tapply() {\n\t\tif (typeof document === \"undefined\") return;\n\t\tconst root = document.documentElement;\n\t\troot.setAttribute(\"data-theme\", this.#active);\n\t\troot.classList.toggle(\"light\", this.#light);\n\t}\n};\n/**\n* Create a {@link ThemeStore}. The ergonomic entry point a route uses.\n*\n* @param initial - Optional SSR initial theme.\n* @returns A fresh reactive theme store.\n*\n* @example\n* ```ts\n* const theme = createThemeStore();\n* $effect(() => { theme.hydrate(); });\n* ```\n*/\nfunction createThemeStore(initial) {\n\treturn new ThemeStore(initial);\n}\n//#endregion\n//#region src/lib/components/shell/ThemeSwitcher.svelte\nfunction ThemeSwitcher($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\t/** The shared theme rune store (constructed + hydrated by the host route). */\n\t\tlet { theme } = $$props;\n\t\t$$renderer.push(`<div class=\"theme-switcher svelte-2szurj\" role=\"group\" aria-label=\"Operator console theme\"><div class=\"seg svelte-2szurj\" role=\"radiogroup\" aria-label=\"Theme palette\"><!--[-->`);\n\t\tconst each_array = ensure_array_like(theme.themes);\n\t\tfor (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {\n\t\t\tlet t = each_array[$$index];\n\t\t\t$$renderer.push(`<button type=\"button\"${attr_class(\"seg-btn svelte-2szurj\", void 0, { \"active\": theme.active === t })} role=\"radio\"${attr(\"aria-checked\", theme.active === t)}${attr(\"title\", `${STUDIO_THEME_LABELS[t]} theme`)}><span class=\"swatch svelte-2szurj\"${attr(\"data-theme\", t)} aria-hidden=\"true\"></span> ${escape_html(STUDIO_THEME_LABELS[t])}</button>`);\n\t\t}\n\t\t$$renderer.push(`<!--]--></div> <button type=\"button\" class=\"mode-btn svelte-2szurj\"${attr(\"aria-pressed\", theme.light)} title=\"Toggle light operator console\">${escape_html(theme.light ? \"Light\" : \"Dark\")}</button></div>`);\n\t});\n}\n//#endregion\n//#region src/routes/studio/[projectId]/[sagaId]/+page.svelte\nfunction _page($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\tvar $$store_subs;\n\t\tlet { data } = $$props;\n\t\tconst theme = createThemeStore();\n\t\tconst view = derived(() => store_get($$store_subs ??= {}, \"$page\", page).url.searchParams.get(\"view\") === \"kanban\" ? \"kanban\" : \"workgraph\");\n\t\tderived(() => {\n\t\t\tconst out = new Set([data.sagaId]);\n\t\t\tconst tasks = data.explorer?.tasks ?? [];\n\t\t\tlet grew = true;\n\t\t\twhile (grew) {\n\t\t\t\tgrew = false;\n\t\t\t\tfor (const t of tasks) {\n\t\t\t\t\tif (out.has(t.id)) continue;\n\t\t\t\t\tif (t.parentId && out.has(t.parentId)) {\n\t\t\t\t\t\tout.add(t.id);\n\t\t\t\t\t\tgrew = true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn out;\n\t\t});\n\t\tconst sagaTitle = derived(() => data.saga?.title ?? data.sagaId);\n\t\tconst nodeCount = derived(() => data.explorer?.tasks.length ?? 0);\n\t\thead(\"b7bs0\", $$renderer, ($$renderer) => {\n\t\t\t$$renderer.title(($$renderer) => {\n\t\t\t\t$$renderer.push(`<title>${escape_html(data.sagaId)} · ${escape_html(data.projectName)} — CLEO Studio</title>`);\n\t\t\t});\n\t\t\t$$renderer.push(`<meta name=\"robots\" content=\"noindex\"/>`);\n\t\t});\n\t\t$$renderer.push(`<section class=\"saga-shell svelte-b7bs0\"${attr(\"data-view\", view())}><header class=\"command-bar svelte-b7bs0\"><nav class=\"crumbs svelte-b7bs0\" aria-label=\"Breadcrumb\"><a class=\"crumb svelte-b7bs0\" href=\"/projects\">${escape_html(data.projectName)}</a> <span class=\"sep svelte-b7bs0\" aria-hidden=\"true\">▸</span> <span class=\"crumb current svelte-b7bs0\"${attr(\"title\", sagaTitle())}><code class=\"svelte-b7bs0\">${escape_html(data.sagaId)}</code> `);\n\t\tif (data.saga) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`<span class=\"crumb-title svelte-b7bs0\">${escape_html(data.saga.title)}</span>`);\n\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]--></span> `);\n\t\tif (data.saga) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\tBadge($$renderer, {\n\t\t\t\ttone: \"info\",\n\t\t\t\tsize: \"sm\",\n\t\t\t\tchildren: ($$renderer) => {\n\t\t\t\t\t$$renderer.push(`<!---->${escape_html(data.saga.type)}`);\n\t\t\t\t},\n\t\t\t\t$$slots: { default: true }\n\t\t\t});\n\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]--></nav> <div class=\"toggle svelte-b7bs0\" role=\"tablist\" aria-label=\"Saga view\"><button type=\"button\"${attr_class(\"toggle-btn svelte-b7bs0\", void 0, { \"active\": view() === \"workgraph\" })} role=\"tab\"${attr(\"aria-selected\", view() === \"workgraph\")}>Workgraph</button> <button type=\"button\"${attr_class(\"toggle-btn svelte-b7bs0\", void 0, { \"active\": view() === \"kanban\" })} role=\"tab\"${attr(\"aria-selected\", view() === \"kanban\")}>Kanban</button></div> <div class=\"bar-right svelte-b7bs0\">`);\n\t\tThemeSwitcher($$renderer, { theme });\n\t\t$$renderer.push(`<!----></div></header> <div class=\"canvas svelte-b7bs0\">`);\n\t\tif (data.error) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`<div class=\"shell-error svelte-b7bs0\" role=\"alert\"><p>${escape_html(data.error)}</p></div>`);\n\t\t} else if (!data.explorer) {\n\t\t\t$$renderer.push(\"<!--[1-->\");\n\t\t\t$$renderer.push(`<div class=\"shell-error svelte-b7bs0\" role=\"alert\"><p>No workgraph bundle available for this saga.</p></div>`);\n\t\t} else if (view() === \"workgraph\") {\n\t\t\t$$renderer.push(\"<!--[2-->\");\n\t\t\tWorkGraphView($$renderer, {\n\t\t\t\ttasks: data.explorer.tasks,\n\t\t\t\tdeps: data.explorer.deps,\n\t\t\t\tsagaId: data.sagaId\n\t\t\t});\n\t\t} else {\n\t\t\t$$renderer.push(\"<!--[-1-->\");\n\t\t\t$$renderer.push(\"<!--[-1-->\");\n\t\t\t$$renderer.push(`<div class=\"ssr-placeholder svelte-b7bs0\"><p>Loading the live board…</p></div>`);\n\t\t\t$$renderer.push(`<!--]-->`);\n\t\t}\n\t\t$$renderer.push(`<!--]--></div> <footer class=\"shell-foot svelte-b7bs0\"><span class=\"hint svelte-b7bs0\">${escape_html(nodeCount())} tasks in bundle · containment + depends · operator console</span></footer></section>`);\n\t\tif ($$store_subs) unsubscribe_stores($$store_subs);\n\t});\n}\n//#endregion\nexport { _page as default };\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA;AACA,SAAS,aAAa,CAAC,UAAU,EAAE,OAAO,EAAE;AAC5C,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,UAAU,KAAK;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI,EAAE,gBAAgB,GAAG,KAAK,EAAE,UAAU,GAAG,IAAI,EAAE,GAAG,OAAO;AAC3F,EAAE,MAAM,KAAK,GAAG,OAAO,CAAC,MAAM,YAAY,CAAC,KAAK,EAAE,IAAI,EAAE;AACxD,GAAG,SAAS,EAAE,MAAM;AACpB,GAAG,gBAAgB;AACnB,GAAG,eAAe,EAAE;AACpB,GAAG,CAAC,CAAC;AACL;AACA,EAAE,MA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,EAAE,kBAAkB,CAAC,YAAY,CAAC;AACpD,CAAC,CAAC,CAAC;AACH;;;;"}
|
|
1
|
+
{"version":3,"file":"_page.svelte-C9fNWql1.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/studio/_projectId_/_sagaId_/_page.svelte.js"],"sourcesContent":["import { U as escape_html, V as attr, a as derived, d as unsubscribe_stores, i as bind_props, l as store_get, n as attr_class, o as ensure_array_like, s as head } from \"../../../../../chunks/dev.js\";\nimport \"../../../../../chunks/index-server.js\";\nimport \"../../../../../chunks/lane-transition.js\";\nimport { t as page } from \"../../../../../chunks/stores.js\";\nimport { a as Badge } from \"../../../../../chunks/Tabs.js\";\nimport \"../../../../../chunks/ui.js\";\nimport \"../../../../../chunks/navigation.js\";\nimport { _ as SvgRenderer, d as DetailDrawer, v as tasksToGraph } from \"../../../../../chunks/tasks2.js\";\nimport \"../../../../../chunks/saga-board.svelte.js\";\n//#region src/lib/components/WorkGraphView.svelte\nfunction WorkGraphView($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\t/** Full task set (from the gateway-backed explorer bundle). */\n\t\t/** All dependency edges from the bundle. */\n\t\t/**\n\t\t* The saga (or any ancestor) id to scope the graph to. Every descendant\n\t\t* epic / task / subtask is included via the adapter's ancestor walk.\n\t\t* When omitted the full bundle projects (parity with GraphTab).\n\t\t*/\n\t\t/** Include cancelled epics in the projection. Default false. */\n\t\t/** Optional initially-selected node id (drives the drawer on mount). */\n\t\tlet { tasks, deps, sagaId = null, includeCancelled = false, selectedId = null } = $$props;\n\t\tconst graph = derived(() => tasksToGraph(tasks, deps, {\n\t\t\tepicScope: sagaId,\n\t\t\tincludeCancelled,\n\t\t\tincludeArchived: false\n\t\t}));\n\t\t/** Visible edge kinds — containment + both dependency families. */\n\t\tconst VISIBLE_EDGE_KINDS = new Set([\n\t\t\t\"parent\",\n\t\t\t\"blocks\",\n\t\t\t\"depends\"\n\t\t]);\n\t\tconst tasksById = derived(() => new Map(tasks.map((t) => [t.id, t])));\n\t\tconst selectedTask = derived(() => selectedId ? tasksById().get(selectedId) ?? null : null);\n\t\t/** Upstream dependency links: tasks the selected node depends on. */\n\t\tconst upstreamLinks = derived(() => {\n\t\t\tif (!selectedTask()) return [];\n\t\t\tconst out = [];\n\t\t\tfor (const d of deps) {\n\t\t\t\tif (d.taskId !== selectedTask().id) continue;\n\t\t\t\tconst blocker = tasksById().get(d.dependsOn);\n\t\t\t\tif (!blocker) continue;\n\t\t\t\tout.push({\n\t\t\t\t\tid: blocker.id,\n\t\t\t\t\ttitle: blocker.title,\n\t\t\t\t\tstatus: blocker.status,\n\t\t\t\t\tpriority: blocker.priority\n\t\t\t\t});\n\t\t\t}\n\t\t\treturn out;\n\t\t});\n\t\t/** Downstream dependency links: tasks that depend on the selected node. */\n\t\tconst downstreamLinks = derived(() => {\n\t\t\tif (!selectedTask()) return [];\n\t\t\tconst out = [];\n\t\t\tfor (const d of deps) {\n\t\t\t\tif (d.dependsOn !== selectedTask().id) continue;\n\t\t\t\tconst dependent = tasksById().get(d.taskId);\n\t\t\t\tif (!dependent) continue;\n\t\t\t\tout.push({\n\t\t\t\t\tid: dependent.id,\n\t\t\t\t\ttitle: dependent.title,\n\t\t\t\t\tstatus: dependent.status,\n\t\t\t\t\tpriority: dependent.priority\n\t\t\t\t});\n\t\t\t}\n\t\t\treturn out;\n\t\t});\n\t\t/** Containment chain: walk `parentId` up to (and including) the saga root. */\n\t\tconst parentChain = derived(() => {\n\t\t\tif (!selectedTask()) return [];\n\t\t\tconst chain = [];\n\t\t\tlet current = selectedTask().parentId ? tasksById().get(selectedTask().parentId) : void 0;\n\t\t\tconst seen = /* @__PURE__ */ new Set();\n\t\t\twhile (current && !seen.has(current.id)) {\n\t\t\t\tseen.add(current.id);\n\t\t\t\tchain.unshift({\n\t\t\t\t\tid: current.id,\n\t\t\t\t\ttitle: current.title,\n\t\t\t\t\ttype: current.type\n\t\t\t\t});\n\t\t\t\tcurrent = current.parentId ? tasksById().get(current.parentId) : void 0;\n\t\t\t}\n\t\t\treturn chain;\n\t\t});\n\t\tfunction onNodeClicked(n) {\n\t\t\tselectedId = n.id;\n\t\t}\n\t\tfunction onDrawerClose() {\n\t\t\tselectedId = null;\n\t\t}\n\t\tfunction onDrawerSelectDep(id) {\n\t\t\tselectedId = id;\n\t\t}\n\t\t$$renderer.push(`<div class=\"workgraph-view svelte-1lzd0zi\"><div class=\"workgraph-meta svelte-1lzd0zi\"><span class=\"count svelte-1lzd0zi\"><strong class=\"svelte-1lzd0zi\">${escape_html(graph().nodes.length)}</strong> nodes · <strong class=\"svelte-1lzd0zi\">${escape_html(graph().edges.length)}</strong> edges `);\n\t\tif (sagaId) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`· scoped to <code class=\"svelte-1lzd0zi\">${escape_html(sagaId)}</code>`);\n\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]--></span> <span class=\"legend-hint svelte-1lzd0zi\">containment · depends · blocks</span></div> <div class=\"workgraph-body svelte-1lzd0zi\"><div class=\"graph-wrap svelte-1lzd0zi\">`);\n\t\tif (graph().nodes.length === 0) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`<div class=\"empty-state svelte-1lzd0zi\"><p>No tasks in this workgraph `);\n\t\t\tif (sagaId) {\n\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t$$renderer.push(`for <code class=\"svelte-1lzd0zi\">${escape_html(sagaId)}</code>`);\n\t\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t\t$$renderer.push(`<!--]-->.</p></div>`);\n\t\t} else {\n\t\t\t$$renderer.push(\"<!--[-1-->\");\n\t\t\tSvgRenderer($$renderer, {\n\t\t\t\tnodes: graph().nodes,\n\t\t\t\tedges: graph().edges,\n\t\t\t\tclusters: graph().clusters,\n\t\t\t\tvisibleEdgeKinds: VISIBLE_EDGE_KINDS,\n\t\t\t\tselectedNodeId: selectedId,\n\t\t\t\tonNodeClick: onNodeClicked,\n\t\t\t\tshowLabels: \"id-only\",\n\t\t\t\tnodeRenderer: \"pill\",\n\t\t\t\tshowToolbar: true,\n\t\t\t\tshowLegend: true,\n\t\t\t\tariaLabel: \"Saga workgraph — containment and dependency edges\"\n\t\t\t});\n\t\t}\n\t\t$$renderer.push(`<!--]--></div> `);\n\t\tif (selectedTask()) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\tDetailDrawer($$renderer, {\n\t\t\t\ttask: selectedTask(),\n\t\t\t\tupstream: upstreamLinks(),\n\t\t\t\tdownstream: downstreamLinks(),\n\t\t\t\tparentChain: parentChain(),\n\t\t\t\tonClose: onDrawerClose,\n\t\t\t\tonSelectDep: onDrawerSelectDep\n\t\t\t});\n\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]--></div></div>`);\n\t\tbind_props($$props, { selectedId });\n\t});\n}\n//#endregion\n//#region src/lib/stores/theme.svelte.ts\nvar STUDIO_THEMES = [\n\t\"hermes\",\n\t\"nous\",\n\t\"bronze\",\n\t\"slate\",\n\t\"mono\"\n];\nvar STUDIO_THEME_LABELS = {\n\thermes: \"Hermes\",\n\tnous: \"Nous\",\n\tbronze: \"Bronze\",\n\tslate: \"Slate\",\n\tmono: \"Mono\"\n};\nvar DEFAULT_STUDIO_THEME = \"hermes\";\nvar THEME_KEY = \"cleo-studio-theme\";\nvar MODE_KEY = \"cleo-studio-theme-mode\";\nfunction coerceTheme(value) {\n\treturn STUDIO_THEMES.includes(value ?? \"\") ? value : DEFAULT_STUDIO_THEME;\n}\n/**\n* The reactive theme store. Construct via {@link createThemeStore}.\n*\n* Holds the active theme + light-mode flag as `$state`; `apply()` reflects\n* them onto `<html>` (`data-theme` + a `.light` class). All DOM access is\n* SSR-guarded so the store is safe to instantiate at module scope and\n* `apply()` from a client `$effect`.\n*/\nvar ThemeStore = class {\n\t/** The active operator-console theme. */\n\t#active = DEFAULT_STUDIO_THEME;\n\t/** Whether the light operator-console variant is active. */\n\t#light = false;\n\t/**\n\t* @param initial - Optional SSR-provided initial theme (e.g. from a cookie).\n\t*/\n\tconstructor(initial) {\n\t\tif (initial) this.#active = initial;\n\t}\n\t/** The active theme id. */\n\tget active() {\n\t\treturn this.#active;\n\t}\n\t/** Whether the light variant is active. */\n\tget light() {\n\t\treturn this.#light;\n\t}\n\t/** The ordered theme catalogue (static). */\n\tget themes() {\n\t\treturn STUDIO_THEMES;\n\t}\n\t/**\n\t* Hydrate from `localStorage` (client-only) then reflect onto `<html>`.\n\t* Idempotent + SSR-safe (no-op on the server). A route calls this once\n\t* from a client `$effect`.\n\t*/\n\thydrate() {\n\t\tif (typeof localStorage !== \"undefined\") {\n\t\t\tthis.#active = coerceTheme(localStorage.getItem(THEME_KEY));\n\t\t\tthis.#light = localStorage.getItem(MODE_KEY) === \"light\";\n\t\t}\n\t\tthis.apply();\n\t}\n\t/**\n\t* Switch to a new theme, persist it, and re-apply.\n\t*\n\t* @param theme - The theme to activate.\n\t*/\n\tset(theme) {\n\t\tthis.#active = theme;\n\t\tif (typeof localStorage !== \"undefined\") localStorage.setItem(THEME_KEY, theme);\n\t\tthis.apply();\n\t}\n\t/**\n\t* Toggle the light operator-console variant, persist it, and re-apply.\n\t*/\n\ttoggleLight() {\n\t\tthis.#light = !this.#light;\n\t\tif (typeof localStorage !== \"undefined\") localStorage.setItem(MODE_KEY, this.#light ? \"light\" : \"dark\");\n\t\tthis.apply();\n\t}\n\t/**\n\t* Reflect the current `$state` onto the document root. SSR-safe (the\n\t* `document` guard makes this a no-op on the server).\n\t*/\n\tapply() {\n\t\tif (typeof document === \"undefined\") return;\n\t\tconst root = document.documentElement;\n\t\troot.setAttribute(\"data-theme\", this.#active);\n\t\troot.classList.toggle(\"light\", this.#light);\n\t}\n};\n/**\n* Create a {@link ThemeStore}. The ergonomic entry point a route uses.\n*\n* @param initial - Optional SSR initial theme.\n* @returns A fresh reactive theme store.\n*\n* @example\n* ```ts\n* const theme = createThemeStore();\n* $effect(() => { theme.hydrate(); });\n* ```\n*/\nfunction createThemeStore(initial) {\n\treturn new ThemeStore(initial);\n}\n//#endregion\n//#region src/lib/components/shell/ThemeSwitcher.svelte\nfunction ThemeSwitcher($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\t/** The shared theme rune store (constructed + hydrated by the host route). */\n\t\tlet { theme } = $$props;\n\t\t$$renderer.push(`<div class=\"theme-switcher svelte-2szurj\" role=\"group\" aria-label=\"Operator console theme\"><div class=\"seg svelte-2szurj\" role=\"radiogroup\" aria-label=\"Theme palette\"><!--[-->`);\n\t\tconst each_array = ensure_array_like(theme.themes);\n\t\tfor (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {\n\t\t\tlet t = each_array[$$index];\n\t\t\t$$renderer.push(`<button type=\"button\"${attr_class(\"seg-btn svelte-2szurj\", void 0, { \"active\": theme.active === t })} role=\"radio\"${attr(\"aria-checked\", theme.active === t)}${attr(\"title\", `${STUDIO_THEME_LABELS[t]} theme`)}><span class=\"swatch svelte-2szurj\"${attr(\"data-theme\", t)} aria-hidden=\"true\"></span> ${escape_html(STUDIO_THEME_LABELS[t])}</button>`);\n\t\t}\n\t\t$$renderer.push(`<!--]--></div> <button type=\"button\" class=\"mode-btn svelte-2szurj\"${attr(\"aria-pressed\", theme.light)} title=\"Toggle light operator console\">${escape_html(theme.light ? \"Light\" : \"Dark\")}</button></div>`);\n\t});\n}\n//#endregion\n//#region src/routes/studio/[projectId]/[sagaId]/+page.svelte\nfunction _page($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\tvar $$store_subs;\n\t\tlet { data } = $$props;\n\t\tconst theme = createThemeStore();\n\t\tconst view = derived(() => store_get($$store_subs ??= {}, \"$page\", page).url.searchParams.get(\"view\") === \"kanban\" ? \"kanban\" : \"workgraph\");\n\t\tderived(() => {\n\t\t\tconst out = new Set([data.sagaId]);\n\t\t\tconst tasks = data.explorer?.tasks ?? [];\n\t\t\tlet grew = true;\n\t\t\twhile (grew) {\n\t\t\t\tgrew = false;\n\t\t\t\tfor (const t of tasks) {\n\t\t\t\t\tif (out.has(t.id)) continue;\n\t\t\t\t\tif (t.parentId && out.has(t.parentId)) {\n\t\t\t\t\t\tout.add(t.id);\n\t\t\t\t\t\tgrew = true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn out;\n\t\t});\n\t\tconst sagaTitle = derived(() => data.saga?.title ?? data.sagaId);\n\t\tconst nodeCount = derived(() => data.explorer?.tasks.length ?? 0);\n\t\thead(\"b7bs0\", $$renderer, ($$renderer) => {\n\t\t\t$$renderer.title(($$renderer) => {\n\t\t\t\t$$renderer.push(`<title>${escape_html(data.sagaId)} · ${escape_html(data.projectName)} — CLEO Studio</title>`);\n\t\t\t});\n\t\t\t$$renderer.push(`<meta name=\"robots\" content=\"noindex\"/>`);\n\t\t});\n\t\t$$renderer.push(`<section class=\"saga-shell svelte-b7bs0\"${attr(\"data-view\", view())}><header class=\"command-bar svelte-b7bs0\"><nav class=\"crumbs svelte-b7bs0\" aria-label=\"Breadcrumb\"><a class=\"crumb svelte-b7bs0\" href=\"/projects\">${escape_html(data.projectName)}</a> <span class=\"sep svelte-b7bs0\" aria-hidden=\"true\">▸</span> <span class=\"crumb current svelte-b7bs0\"${attr(\"title\", sagaTitle())}><code class=\"svelte-b7bs0\">${escape_html(data.sagaId)}</code> `);\n\t\tif (data.saga) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`<span class=\"crumb-title svelte-b7bs0\">${escape_html(data.saga.title)}</span>`);\n\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]--></span> `);\n\t\tif (data.saga) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\tBadge($$renderer, {\n\t\t\t\ttone: \"info\",\n\t\t\t\tsize: \"sm\",\n\t\t\t\tchildren: ($$renderer) => {\n\t\t\t\t\t$$renderer.push(`<!---->${escape_html(data.saga.type)}`);\n\t\t\t\t},\n\t\t\t\t$$slots: { default: true }\n\t\t\t});\n\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]--></nav> <div class=\"toggle svelte-b7bs0\" role=\"tablist\" aria-label=\"Saga view\"><button type=\"button\"${attr_class(\"toggle-btn svelte-b7bs0\", void 0, { \"active\": view() === \"workgraph\" })} role=\"tab\"${attr(\"aria-selected\", view() === \"workgraph\")}>Workgraph</button> <button type=\"button\"${attr_class(\"toggle-btn svelte-b7bs0\", void 0, { \"active\": view() === \"kanban\" })} role=\"tab\"${attr(\"aria-selected\", view() === \"kanban\")}>Kanban</button></div> <div class=\"bar-right svelte-b7bs0\">`);\n\t\tThemeSwitcher($$renderer, { theme });\n\t\t$$renderer.push(`<!----></div></header> <div class=\"canvas svelte-b7bs0\">`);\n\t\tif (data.error) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`<div class=\"shell-error svelte-b7bs0\" role=\"alert\"><p>${escape_html(data.error)}</p></div>`);\n\t\t} else if (!data.explorer) {\n\t\t\t$$renderer.push(\"<!--[1-->\");\n\t\t\t$$renderer.push(`<div class=\"shell-error svelte-b7bs0\" role=\"alert\"><p>No workgraph bundle available for this saga.</p></div>`);\n\t\t} else if (view() === \"workgraph\") {\n\t\t\t$$renderer.push(\"<!--[2-->\");\n\t\t\tWorkGraphView($$renderer, {\n\t\t\t\ttasks: data.explorer.tasks,\n\t\t\t\tdeps: data.explorer.deps,\n\t\t\t\tsagaId: data.sagaId\n\t\t\t});\n\t\t} else {\n\t\t\t$$renderer.push(\"<!--[-1-->\");\n\t\t\t$$renderer.push(\"<!--[-1-->\");\n\t\t\t$$renderer.push(`<div class=\"ssr-placeholder svelte-b7bs0\"><p>Loading the live board…</p></div>`);\n\t\t\t$$renderer.push(`<!--]-->`);\n\t\t}\n\t\t$$renderer.push(`<!--]--></div> <footer class=\"shell-foot svelte-b7bs0\"><span class=\"hint svelte-b7bs0\">${escape_html(nodeCount())} tasks in bundle · containment + depends · operator console</span></footer></section>`);\n\t\tif ($$store_subs) unsubscribe_stores($$store_subs);\n\t});\n}\n//#endregion\nexport { _page as default };\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA;AACA,SAAS,aAAa,CAAC,UAAU,EAAE,OAAO,EAAE;AAC5C,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,UAAU,KAAK;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI,EAAE,gBAAgB,GAAG,KAAK,EAAE,UAAU,GAAG,IAAI,EAAE,GAAG,OAAO;AAC3F,EAAE,MAAM,KAAK,GAAG,OAAO,CAAC,MAAM,YAAY,CAAC,KAAK,EAAE,IAAI,EAAE;AACxD,GAAG,SAAS,EAAE,MAAM;AACpB,GAAG,gBAAgB;AACnB,GAAG,eAAe,EAAE;AACpB,GAAG,CAAC,CAAC;AACL;AACA,EAAE,MAAM,kBAAkB,GAAG,IAAI,GAAG,CAAC;AACrC,GAAG,QAAQ;AACX,GAAG,QAAQ;AACX,GAAG;AACH,GAAG,CAAC;AACJ,EAAE,MAAM,SAAS,GAAG,OAAO,CAAC,MAAM,IAAI,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;AACvE,EAAE,MAAM,YAAY,GAAG,OAAO,CAAC,MAAM,UAAU,GAAG,SAAS,EAAE,CAAC,GAAG,CAAC,UAAU,CAAC,IAAI,IAAI,GAAG,IAAI,CAAC;AAC7F;AACA,EAAE,MAAM,aAAa,GAAG,OAAO,CAAC,MAAM;AACtC,GAAG,IAAI,CAAC,YAAY,EAAE,EAAE,OAAO,EAAE;AACjC,GAAG,MAAM,GAAG,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AAE,CAAC,MAAM,IAAI,IAAI,EAAE,KAAK,WAAW,EAAE;AACrC,GAAG,UAAU,CAAC,IAAI,CAAC,WAAW,CAAC;AAC/B,GAAG,aAAa,CAAC,UAAU,EAAE;AAC7B,IAAI,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,KAAK;AAC9B,IAAI,IAAI,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI;AAC5B,IAAI,MAAM,EAAE,IAAI,CAAC;AACjB,IAAI,CAAC;AACL,EAAE,CAAC,MAAM;AACT,GAAG,UAAU,CAAC,IAAI,CAAC,YAAY,CAAC;AAChC,GAAG,UAAU,CAAC,IAAI,CAAC,YAAY,CAAC;AAChC,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC,8EAA8E,CAAC,CAAC;AACpG,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC;AAC9B,EAAE;AACF,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC,uFAAuF,EAAE,WAAW,CAAC,SAAS,EAAE,CAAC,CAAC,qFAAqF,CAAC,CAAC;AAC5N,EAAE,IAAI,YAAY,EAAE,kBAAkB,CAAC,YAAY,CAAC;AACpD,CAAC,CAAC,CAAC;AACH;;;;"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { d as attr_style, f as stringify, x as head, c as escape_html, a as attr, b as attr_class, e as ensure_array_like, y as bind_props, g as derived } from './dev-BNpEUZI3.js';
|
|
2
2
|
import { o as onDestroy } from './index-server-DocJvixA.js';
|
|
3
|
-
import './client-
|
|
3
|
+
import './client-0XYxDqM7.js';
|
|
4
4
|
import { a as Breadcrumb, B as Badge, T as Tabs, C as Card, I as IconButton } from './Tabs-DzG6Bn9a.js';
|
|
5
5
|
import { H as Hover_label, r as resolveEdgeStyleForWebGL, A as ALL_EDGE_KINDS, d as describeEdgeKind, E as EDGE_STYLE } from './no-face-up-DcejJLy-.js';
|
|
6
6
|
import '@cosmograph/cosmos';
|
|
7
7
|
import './chunk-DDP5xfzh.js';
|
|
8
8
|
import 'node:module';
|
|
9
|
-
import './internal-
|
|
9
|
+
import './internal-C6KP7eXK.js';
|
|
10
10
|
import '@sveltejs/kit/internal';
|
|
11
11
|
import '@sveltejs/kit/internal/server';
|
|
12
12
|
|
|
@@ -1161,4 +1161,4 @@ function _page($$renderer, $$props) {
|
|
|
1161
1161
|
}
|
|
1162
1162
|
|
|
1163
1163
|
export { _page as default };
|
|
1164
|
-
//# sourceMappingURL=_page.svelte-
|
|
1164
|
+
//# sourceMappingURL=_page.svelte-CmfYjWds.js.map
|