feat: consolidate /accounts into /account-limits endpoint

- Remove redundant /accounts endpoint
- Enhance /account-limits table output with account status, last used time, and quota reset time
- Filter model list to show only Claude models
- Use local time format for timestamps
- Update documentation (README.md, CLAUDE.md, index.js)

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Badri Narayanan S
2025-12-25 21:55:03 +05:30
parent ed6bd3af2b
commit 9b0b756e72
6 changed files with 255 additions and 27 deletions

View File

@@ -20,7 +20,7 @@ app.listen(PORT, () => {
║ POST /v1/messages - Anthropic Messages API ║
║ GET /v1/models - List available models ║
║ GET /health - Health check ║
║ GET /accounts - Account pool status
║ GET /account-limits - Account status & quotas
║ POST /refresh-token - Force token refresh ║
║ ║
║ Usage with Claude Code: ║