Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ Before publishing:

## Known Limitations

1. **Python required**: npm package needs Python 3.10+ on user's system
1. **Python required**: npm package needs Python 3.9+ on user's system
2. **Gemini OAuth**: Must have Gemini CLI installed for token refresh
3. **Z.AI**: 5h shared quota across GLM-4.7, GLM-4.6, GLM-4.5V, GLM-4.5, GLM-4.5-Air, and Visual Analysis
4. **Codex API key mode**: No quota info (only OAuth has it)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ npm install -g cclimits
cclimits
```

**Requires**: Python 3.10+ installed on your system.
**Requires**: Python 3.9+ installed on your system.

### Via Git

Expand Down Expand Up @@ -209,7 +209,7 @@ export GEMINI_OAUTH_CLIENT_SECRET="..."

## Requirements

- Python 3.10+
- Python 3.9+
- `requests` library (optional, falls back to urllib)

## License
Expand Down
2 changes: 1 addition & 1 deletion bin/cclimits.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const child = spawn('python3', [script, ...process.argv.slice(2)], {

child.on('error', (err) => {
if (err.code === 'ENOENT') {
console.error('Error: python3 not found. Please install Python 3.10+');
console.error('Error: python3 not found. Please install Python 3.9+');
process.exit(1);
}
throw err;
Expand Down
1 change: 1 addition & 0 deletions lib/cclimits.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Fetches remaining quota/usage for Claude Code, Codex, Gemini, and Z.AI
"""

from __future__ import annotations
import json
import os
import subprocess
Expand Down
2 changes: 1 addition & 1 deletion memory-bank/projectbrief.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

### Non-Functional
- No external dependencies required (urllib fallback)
- Python 3.10+ compatible
- Python 3.9+ compatible
- Fast execution (<5s for all tools)
- Graceful degradation if tools unavailable

Expand Down
4 changes: 2 additions & 2 deletions memory-bank/techContext.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

| Component | Technology |
|-----------|------------|
| Core Script | Python 3.10+ |
| Core Script | Python 3.9+ |
| npm Wrapper | Node.js 16+ |
| HTTP Client | requests (optional), urllib (fallback) |
| Distribution | npm, GitHub |
Expand All @@ -26,7 +26,7 @@ cclimits/
## Dependencies

### Runtime
- **Python 3.10+**: Required (type hints, match statements)
- **Python 3.9+**: Required (type hints deferred with __future__)
- **requests**: Optional (improves HTTP handling)
- **Node.js 16+**: Required for npx distribution

Expand Down