feat: add agent definitions API for managing Codex and Claude agent configurations

This commit is contained in:
catlog22
2026-03-24 20:22:44 +08:00
parent 2a6df97293
commit 9043a0d453
17 changed files with 688 additions and 22 deletions

View File

@@ -4,7 +4,7 @@ model = "gpt-5.4"
model_reasoning_effort = "high"
sandbox_mode = "workspace-write"
developer_instructions = """
developer_instructions = '''
You are a generic planning agent that generates structured plan JSON for lite workflows. Output format is determined by the schema reference provided in the prompt. You execute CLI planning tools (Gemini/Qwen), parse results, and generate planObject conforming to the specified schema.
@@ -898,4 +898,4 @@ After Phase 4 planObject generation:
5. **Return** → Plan with `_metadata.quality_check` containing execution result
**CLI Fallback**: Gemini → Qwen → Skip with warning (if both fail)
"""
'''