|
a17d2c9d66
|
Major refactoring: HTTP client unification and project restructuring
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 13m53s
## HTTP Client Refactoring
- Create unified HttpClient module (src/http_client.rs)
- Refactor 24 files to use shared HTTP client
- Replace .unwrap() with proper error handling
- Eliminate code duplication in HTTP requests
## Project Restructuring
- Rename package: ai → aibot
- Add dual binary support: aibot (main) + ai (compatibility alias)
- Migrate config directory: ~/.config/ai/ → ~/.config/syui/ai/bot/
- Implement backward compatibility with automatic migration
## Testing Infrastructure
- Add unit tests for HttpClient
- Create test infrastructure with cargo-make
- Add test commands: test, test-quick, test-verbose
## Documentation
- Complete migration guide with step-by-step instructions
- Updated development guide with new structure
- HTTP client API reference documentation
- Comprehensive refactoring summary
## Files Changed
- Modified: 24 source files (HTTP client integration)
- Added: src/http_client.rs, src/alias.rs, src/tests/
- Added: 5 documentation files in docs/
- Added: migration setup script
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-06-06 23:47:12 +09:00 |
|
|
bf31cf2a8f
|
add bot comment system
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 16s
|
2024-05-14 03:38:59 +09:00 |
|
|
840320d0d2
|
add bot custom feed
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 5s
|
2024-04-22 22:30:43 +09:00 |
|
|
e7c06cf9d1
|
test manga
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s
|
2024-04-04 13:53:39 +09:00 |
|
|
d6777a0c6a
|
fix sp
|
2024-03-30 02:57:38 +09:00 |
|
|
87a333d744
|
fix card handle
|
2024-03-30 02:57:38 +09:00 |
|
|
2f0bfe08b0
|
fix print
|
2024-03-30 02:57:37 +09:00 |
|
|
7b03adda1f
|
v0.1
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 9s
|
2024-03-05 04:09:43 +09:00 |
|