Stack: Vue 3 + Pinia + WaveSurfer.js + TypeScript, proxied to FastAPI on :8513 Components - ChainSidebar: chain list, create/delete, active chain highlight - ChainTree: spine row (committed nodes) + branch row, upload drop zone, export buttons - NodeCard: status dot + label, duration, commit/discard actions, generating spinner - BranchPanel: WaveSurfer waveform + branch form (prompt, duration, cfg, prompt window) - WavePlayer: WaveSurfer.js waveform with play/pause and time display State & SSE - Pinia chain store: REST for tree, SSE patch for live node status updates - useNodeSSE composable: EventSource per active chain, auto-reconnects on error - applyStatusEvent(): merges node-status SSE events into store without full refetch UX - Dark theme by default, light theme via prefers-color-scheme - CSS custom properties throughout for easy theming - Responsive: sidebar + main split, compact at <640px manage.sh updated: start/stop both API (:8513) and frontend (:8514) together
24 lines
591 B
JSON
24 lines
591 B
JSON
{
|
|
"compilerOptions": {
|
|
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
|
|
"target": "es2023",
|
|
"lib": ["ES2023"],
|
|
"module": "esnext",
|
|
"types": ["node"],
|
|
"skipLibCheck": true,
|
|
|
|
/* Bundler mode */
|
|
"moduleResolution": "bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"verbatimModuleSyntax": true,
|
|
"moduleDetection": "force",
|
|
"noEmit": true,
|
|
|
|
/* Linting */
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"erasableSyntaxOnly": true,
|
|
"noFallthroughCasesInSwitch": true
|
|
},
|
|
"include": ["vite.config.ts"]
|
|
}
|