@swarmvaultai/engine 0.1.1 → 0.1.2

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/README.md CHANGED
@@ -95,4 +95,4 @@ Important artifacts include:
95
95
 
96
96
  - The engine expects Node `>=24`
97
97
  - The local search layer currently uses the built-in `node:sqlite` module, which may emit an experimental warning in Node 24
98
- - The graph viewer is served from the companion `@swarmvaultai/viewer` package build output
98
+ - The viewer source lives in the companion `@swarmvaultai/viewer` package, and the built assets are bundled into the engine package for CLI installs
package/dist/index.js CHANGED
@@ -197,7 +197,7 @@ function resolvePaths(rootDir, config, configPath = path2.join(rootDir, PRIMARY_
197
197
  manifestsDir: path2.join(stateDir, "manifests"),
198
198
  extractsDir: path2.join(stateDir, "extracts"),
199
199
  analysesDir: path2.join(stateDir, "analyses"),
200
- viewerDistDir: path2.resolve(moduleDir, "../../viewer/dist"),
200
+ viewerDistDir: path2.resolve(moduleDir, "viewer"),
201
201
  graphPath: path2.join(stateDir, "graph.json"),
202
202
  searchDbPath: path2.join(stateDir, "search.sqlite"),
203
203
  compileStatePath: path2.join(stateDir, "compile-state.json"),
@@ -0,0 +1 @@
1
+ :root{color-scheme:dark;font-family:Avenir Next,Segoe UI,sans-serif;background:radial-gradient(circle at top left,rgba(14,165,233,.18),transparent 30%),radial-gradient(circle at right,rgba(245,158,11,.14),transparent 28%),linear-gradient(180deg,#020617,#0f172a);color:#e2e8f0}*{box-sizing:border-box}body{margin:0;min-height:100vh}#root{min-height:100vh}.app-shell{min-height:100vh;padding:24px;display:grid;gap:20px}.app-header,.stats,.workspace,.panel,.filter,article{border:1px solid rgba(148,163,184,.16);background:#0f172ab8;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-radius:22px}.app-header{padding:24px;display:flex;justify-content:space-between;gap:24px;align-items:start}.app-header h1{margin:0 0 8px;font-size:clamp(2rem,4vw,3.4rem);line-height:.95;max-width:12ch}.eyebrow{margin:0 0 12px;text-transform:uppercase;letter-spacing:.14em;color:#7dd3fc;font-size:.78rem}.lede{margin:0;max-width:56ch;color:#cbd5e1}.filter{display:grid;gap:10px;padding:16px;min-width:180px}.filter select{background:#020617;color:#f8fafc;border:1px solid rgba(148,163,184,.28);border-radius:12px;padding:10px 12px}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:14px}.stats article{padding:16px}.stats span,.panel-label{display:block;color:#94a3b8;font-size:.82rem;text-transform:uppercase;letter-spacing:.08em;margin-bottom:8px}.stats strong{font-size:1.25rem}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:16px;padding:16px;min-height:60vh}.canvas{min-height:60vh;border-radius:18px;overflow:hidden;background:linear-gradient(180deg,#020617eb,#0f172aeb),repeating-linear-gradient(90deg,rgba(148,163,184,.04),rgba(148,163,184,.04) 1px,transparent 1px,transparent 44px)}.panel{padding:20px}.panel h2,.panel h3{margin-top:0}.panel code{font-family:IBM Plex Mono,SFMono-Regular,monospace;font-size:.88rem}@media(max-width:900px){.app-header,.workspace,.stats{grid-template-columns:1fr}.app-header{flex-direction:column}}