1
0

Integrate ai.card Rust API with ai.gpt MCP and implement daily limit system

### Major Changes:
- **Rust Migration**: Move api-rs to root directory, rename binary to 'aicard'
- **MCP Integration**: Add card tools to ai.gpt MCP server (get_user_cards, draw_card, get_draw_status)
- **Daily Limit System**: Implement 2-day interval card drawing limits in API and iOS
- **iOS Enhancements**: Add DrawStatusView, backup functionality, and limit integration

### Technical Details:
- ai.gpt MCP now has 20 tools including 3 card-related tools
- ServiceClient enhanced with missing card API methods
- iOS app includes daily limit UI and atproto OAuth backup features
- Database migration for last_draw_date field
- Complete feature parity between web and iOS implementations

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-06-08 10:35:43 +09:00
parent 2e55e6ce09
commit 9f9208e160
14 changed files with 384 additions and 12 deletions

View File

@ -34,6 +34,9 @@ class Settings(BaseSettings):
# Unique card settings
max_unique_cards: int = 1000 # Maximum number of unique cards
# Draw limit settings
draw_limit_days: int = 2 # Number of days between allowed draws (every other day)
# CORS
cors_origins: list[str] = [
"http://localhost:3000",