feat: add code agent sandbox skeleton

This commit is contained in:
Codex
2026-05-20 06:50:25 +00:00
parent e19ea26b0a
commit bbda3e87a9
12 changed files with 869 additions and 5 deletions
+49
View File
@@ -716,6 +716,55 @@
"integrated": false
}
},
{
"id": "code-agent-sandbox",
"name": "Code Agent Sandbox",
"providerId": "main-server",
"description": "独立 Code Agent Sandbox 微服务骨架,承载 Codex/OpenCode/未来 agent 的统一状态机、adapter 契约、模式边界和凭证分发语义;当前不依赖 Code Queue。",
"repository": {
"url": "https://github.com/pikasTech/unidesk",
"commitId": "local",
"dockerfile": "src/components/microservices/code-agent-sandbox/Dockerfile",
"composeFile": "docker-compose.yml",
"composeService": "code-agent-sandbox",
"containerName": "code-agent-sandbox-backend"
},
"backend": {
"nodeBaseUrl": "http://code-agent-sandbox:4260",
"nodeBindHost": "code-agent-sandbox",
"nodePort": 4260,
"proxyMode": "unidesk-direct",
"frontendOnly": true,
"public": false,
"allowedMethods": [
"GET",
"HEAD",
"POST",
"PUT"
],
"allowedPathPrefixes": [
"/health",
"/diagnostics",
"/trace",
"/logs",
"/api/"
],
"healthPath": "/health",
"timeoutMs": 10000
},
"development": {
"providerId": "main-server",
"sshPassthrough": false,
"worktreePath": "/root/unidesk/src/components/microservices/code-agent-sandbox"
},
"frontend": {
"route": "/apps/code-agent-sandbox",
"integrated": false
},
"deployment": {
"mode": "internal-sidecar"
}
},
{
"id": "mdtodo",
"name": "MDTODO",