- 新增 CLIPluginAdapter 统一接口 (backend/app/core/agent_adapter.py) - 新增 LLM 服务层,支持 Anthropic/OpenAI/DeepSeek/Ollama (backend/app/services/llm_service.py) - 新增 Agent 执行引擎,支持文件锁自动管理 (backend/app/services/agent_executor.py) - 新增 NativeLLMAgent 原生 LLM 适配器 (backend/app/adapters/native_llm_agent.py) - 新增进程管理器 (backend/app/services/process_manager.py) - 新增 Agent 控制 API (backend/app/routers/agents_control.py) - 新增 WebSocket 实时通信 (backend/app/routers/websocket.py) - 更新前端 AgentsPage,支持启动/停止 Agent - 测试通过:Agent 启动、批量操作、栅栏同步 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
36 lines
477 B
Plaintext
36 lines
477 B
Plaintext
# FastAPI 核心依赖
|
||
fastapi>=0.110.0
|
||
uvicorn[standard]>=0.27.0
|
||
pydantic>=2.0.0
|
||
|
||
# CLI 工具
|
||
typer>=0.9.0
|
||
rich>=13.0.0
|
||
|
||
# 异步文件操作
|
||
aiofiles>=23.0.0
|
||
|
||
# 文件锁
|
||
filelock>=3.13.0
|
||
|
||
# YAML 解析
|
||
pyyaml>=6.0
|
||
|
||
# HTTP 客户端(调用 LLM API)
|
||
httpx>=0.25.0
|
||
|
||
# Anthropic API(Claude)
|
||
anthropic>=0.18.0
|
||
|
||
# OpenAI API(可选)
|
||
openai>=1.0.0
|
||
|
||
# WebSocket 支持
|
||
websockets>=12.0
|
||
|
||
# 进程管理
|
||
psutil>=5.9.0
|
||
|
||
# APscheduler(定时任务)
|
||
apscheduler>=3.10.0
|