""" Claude Agent 项目目录结构设计
新的项目结构将更加清晰和专业化:
claude-agent/ ├── src/ # 源代码目录 │ └── claude_agent/ # 主要包 │ ├── init.py │ ├── core/ # 核心功能 │ │ ├── init.py │ │ └── agent.py │ ├── cli/ # 命令行界面 │ │ ├── init.py │ │ ├── interface.py # 原版CLI │ │ └── enhanced_interface.py # 增强版CLI │ ├── sshout/ # SSHOUT集成 │ │ ├── init.py │ │ └── integration.py │ ├── mcp/ # MCP工具集成 │ │ ├── init.py │ │ ├── integration.py │ │ └── tool_manager.py │ └── utils/ # 工具函数 │ ├── init.py │ └── helpers.py ├── tests/ # 测试目录 │ ├── init.py │ ├── unit/ # 单元测试 │ │ ├── init.py │ │ ├── test_core/ │ │ │ ├── init.py │ │ │ └── test_agent.py │ │ ├── test_cli/ │ │ │ ├── init.py │ │ │ └── test_enhanced_interface.py │ │ ├── test_sshout/ │ │ │ ├── init.py │ │ │ └── test_integration.py │ │ └── test_mcp/ │ │ ├── init.py │ │ └── test_integration.py │ ├── integration/ # 集成测试 │ │ ├── init.py │ │ └── test_full_workflow.py │ ├── blackbox/ # 黑盒测试 │ │ ├── init.py │ │ └── test_end_to_end.py │ ├── fixtures/ # 测试夹具和数据 │ │ ├── init.py │ │ └── test_data.py │ └── conftest.py # pytest配置 ├── docs/ # 文档目录 │ ├── README.md │ ├── ENHANCED_FEATURES.md │ ├── API_REFERENCE.md │ ├── DEVELOPMENT.md │ └── TESTING.md ├── scripts/ # 脚本目录 │ ├── main.py # 主入口 │ ├── main_enhanced.py # 增强版入口 │ └── setup.py # 安装脚本 ├── configs/ # 配置文件 │ ├── default.yaml │ └── production.yaml ├── assets/ # 资源文件 │ └── ssh-keys/ ├── .gitignore ├── pyproject.toml ├── requirements.txt └── README.md # 项目主README
重构原则: