Initial commit: GPT CLI (Rust)

- Complete Rust implementation of GPT CLI
- Support for OpenAI and Anthropic models
- Session persistence and management
- Web search integration via Responses API
- Interactive commands and model switching
- Comprehensive error handling and logging

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
leach
2025-08-15 15:01:28 -04:00
commit b171a6b2b2
15 changed files with 3913 additions and 0 deletions

44
.gitignore vendored Normal file
View File

@@ -0,0 +1,44 @@
# Rust build artifacts
/target/
**/*.rs.bk
*.pdb
# Cargo lock file (include for applications, exclude for libraries)
# Cargo.lock
# IDE files
.vscode/
.idea/
*.swp
*.swo
*~
# OS generated files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
# Environment files
.env
.env.local
.env.development.local
.env.test.local
.env.production.local
# Session storage (for this CLI app specifically)
.chat_cli_sessions/
# Log files
*.log
# Temporary files
*.tmp
*.temp
# Backup files
*.bak
*.backup