配套 encore-backend 的前端 / 旁支应用 monorepo。
从 encore-backend 仓库 apps/ 子目录拆出,拆分原因:Encore Cloud 的 TS parser 全仓扫 .ts 文件却不识别子包 node_modules,导致云端构建失败(issue #1723)。
| 目录 | 是什么 | 入口 |
|---|---|---|
web/ |
Vue 3 + Vite + urql 主前端 SPA(PWA) | cd web && npm install && npm run dev |
browser-extension/ |
浏览器剪藏扩展(Vue popup) | cd browser-extension && npm install && npm run build |
mcp-server/ |
MCP Server 独立 Node 服务 | cd mcp-server && npm install && npm run build |
kb-mcp-client/ |
MCP client npm 包 | cd kb-mcp-client && npm install && npm run build |
- web 和 browser-extension 通过
VITE_API_BASE_URL调后端(默认http://192.168.100.130:4000)。 - mcp-server / kb-mcp-client 通过 PAT 调后端 GraphQL endpoint。
- 后端 CORS allow-list 在
encore-backend/encore.app维护。