Adds Budget panel (B key) to TUI with per-bead/per-worker cost tracking, EMA-smoothed burn rate, time-series storage, and CostDashboard web component. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
21 lines
416 B
TypeScript
21 lines
416 B
TypeScript
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
root: 'src/web/frontend',
|
|
build: {
|
|
outDir: '../../../dist/web/public',
|
|
emptyOutDir: true,
|
|
},
|
|
server: {
|
|
port: 5173,
|
|
proxy: {
|
|
'/api': 'http://localhost:3000',
|
|
'/ws': {
|
|
target: 'ws://localhost:3000',
|
|
ws: true,
|
|
},
|
|
},
|
|
},
|
|
});
|