ograph/packages/board/vite.config.ts
小糯 🐱 6f73544e96 feat(board): dynamic agent profiles from OGraph events (#33)
- Remove hardcoded AGENT_NAME_MAP, load profiles from agent_profile_updated events
- OGraphClient.loadAgentProfiles() fetches agent objects and replays profile events (LWW)
- Hardcoded fallback map retained for graceful degradation
- TaskDialog accepts dynamic agents list as prop
- App.tsx loads profiles in parallel with tasks on startup
2026-04-13 16:51:04 +08:00

15 lines
327 B
TypeScript

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import tailwindcss from '@tailwindcss/vite'
import path from 'path'
// https://vite.dev/config/
export default defineConfig({
plugins: [react(), tailwindcss()],
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),
},
},
})