refactor: split backend into standalone server project

Remove embedded frontend and workflow editor assets, add standalone API deployment configuration, and retain the current backend service updates.
This commit is contained in:
t
2026-08-20 21:46:55 +08:00
parent 954a3fe8d9
commit 3d47227fbd
612 changed files with 515 additions and 97334 deletions
+2 -24
View File
@@ -2,39 +2,17 @@
"version": "0.2.0",
"configurations": [
{
"name": "server",
"name": "Agent Desk API",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/cmd/server/main.go",
"cwd": "${workspaceFolder}",
"buildFlags": "-tags=dev,lancedb",
"env": {
"CGO_ENABLED": "1",
"CGO_CFLAGS": "-I${workspaceFolder}/include",
"CGO_LDFLAGS": "${workspaceFolder}/lib/darwin_arm64/liblancedb_go.a -framework Security -framework CoreFoundation"
},
"buildFlags": "-tags=dev",
"args": [
"-config",
"${workspaceFolder}/config/config.yaml"
]
},
{
"name": "web",
"type": "node-terminal",
"request": "launch",
"command": "pnpm dev",
"cwd": "${workspaceFolder}/web"
}
],
"compounds": [
{
"name": "server + web",
"configurations": [
"server",
"web"
],
"stopAll": true
}
]
}
+4 -19
View File
@@ -2,29 +2,14 @@
"version": "2.0.0",
"tasks": [
{
"label": "web:dev",
"label": "server:dev",
"type": "shell",
"command": "pnpm dev",
"command": "make dev",
"options": {
"cwd": "${workspaceFolder}/web"
"cwd": "${workspaceFolder}"
},
"isBackground": true,
"presentation": {
"reveal": "always",
"panel": "dedicated",
"group": "web"
},
"problemMatcher": {
"owner": "custom",
"pattern": {
"regexp": "."
},
"background": {
"activeOnStart": true,
"beginsPattern": ".",
"endsPattern": "Ready in|Local:"
}
}
"problemMatcher": []
}
]
}