























暂无文章
Define your agent’s environment with JSON configuration.
{
"agents": {
"opencode": {
"working_directory": "/workspace/acme-app",
"auth": {
"openai": {
"type": "api",
"key": "${{ env.OPENAI_API_KEY }}"
}
},
"config": {
"model": "openai/gpt-5.5",
"permission": "allow"
}
}
},
"actions": {
"init": [
{
"use": "setup_bun"
},
{
"run": "git clone https://github.com/.../acme-app.git",
"working_directory": "/workspace"
},
{
"run": "bun install",
"working_directory": "/workspace/acme-app"
}
],
"start": [
{
"run": "nohup bun run dev &",
"working_directory": "/workspace/acme-app"
}
]
}
}
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。