feat(agent): add controlled task execution

This commit is contained in:
2026-09-24 04:19:02 +08:00
parent d018bcae67
commit b31033e9ce
48 changed files with 14498 additions and 86 deletions
+5
View File
@@ -1,11 +1,16 @@
PORT=8787
HOST=0.0.0.0
LOG_LEVEL=info
TJWATER_SERVER_TIMEOUT_MS=10000
OPENCODE_MODE=embedded
OPENCODE_MODEL=deepseek/deepseek-v4-flash
# 可选:后台工况任务首选模型,必须同时出现在 OPENCODE_MODEL_OPTIONS 中。
# OPERATIONAL_TASK_MODEL=deepseek/deepseek-v4-pro
OPENCODE_HOSTNAME=127.0.0.1
OPENCODE_PORT=0
# client 模式必须在 Agent 与外部 OpenCode 进程配置同一个高熵值;embedded 模式可留空。
# AGENT_INTERNAL_TOKEN=replace-with-a-random-server-only-secret
AGENT_LOCAL_USER_ID=local-user
# 必须填写 Server /api/v1/projects 返回的项目 UUID。