- Add company module (3-tier org, CEO planning, parallel departments) - Add company orchestrator, knowledge extractor, presets, scheduler - Add company API endpoints, models, and frontend views - Add 今天吃啥 PWA app (69 dishes, real images, offline support) - Add team_projects output directory structure - Add unified manage.ps1 for service lifecycle - Add Windows startup guide v1.0 - Add TTS troubleshooting doc - Update frontend (AgentChat UX overhaul, new views) - Update backend (voice engine fix, multi-tenant, RBAC) - Remove deprecated startup scripts and old docs Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
25 lines
643 B
TypeScript
25 lines
643 B
TypeScript
import { defineConfig } from 'vite'
|
|
import vue from '@vitejs/plugin-vue'
|
|
import { fileURLToPath, URL } from 'node:url'
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [vue()],
|
|
resolve: {
|
|
alias: {
|
|
'@': fileURLToPath(new URL('./src', import.meta.url))
|
|
}
|
|
},
|
|
server: {
|
|
port: 3001,
|
|
proxy: {
|
|
'/api': {
|
|
// 8037 是后端实际端口;可通过环境变量 AIAGENT_API_PROXY 覆盖
|
|
// PowerShell: $env:AIAGENT_API_PROXY='http://127.0.0.1:8037'; pnpm dev
|
|
target: process.env.AIAGENT_API_PROXY || 'http://127.0.0.1:8038',
|
|
changeOrigin: true
|
|
}
|
|
}
|
|
}
|
|
})
|