feat: add CLI agent with file and command tools

- Add agent module with file operations and command execution tools
- Implement create_file, delete_file, read_file, and execute_command tools
- Add colored terminal output and user confirmation for commands
- Update dependencies: dotenv, serde, serde_json, thiserror
- Add .env.example with DEEPSEEK_API_KEY template
- Add CLAUDE.md project documentation
- Refactor main.rs to use agent system with interactive prompt
This commit is contained in:
2025-11-20 17:21:06 +08:00
parent 43896a0028
commit bf4e66ca36
7 changed files with 267 additions and 2 deletions
+1
View File
@@ -0,0 +1 @@
DEEPSEEK_API_KEY=