Skip to content

Commit 48d1e8b

Browse files
kevinelliottclaude
andcommitted
Release v0.4.8: Fixed GitHub API rate limiting
Documentation Updates: - Updated README.md with v0.4.8 release notes - Updated CHANGELOG.md with comprehensive change details - Highlighted PyPI and npm registry integration fixes Key Improvements: - Fixed GitHub API 403 rate limit errors - Kimi now uses PyPI API for version detection - Qwen now uses npm registry for version detection - Much more reliable with no rate limits This release resolves the GitHub API rate limiting issue that was causing 403 errors when checking agent versions. By using the proper package managers (PyPI for Kimi, npm for Qwen), version detection is now faster, more reliable, and aligned with actual installation methods. All quality checks passing: - Tests: go test ./... ✅ - Build: go build ✅ - Linting: golangci-lint run ✅ 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent b35e549 commit 48d1e8b

File tree

2 files changed

+58
-11
lines changed

2 files changed

+58
-11
lines changed

CHANGELOG.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,49 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [v0.4.8] - 2025-10-25
11+
12+
### Fixed
13+
- **GitHub API Rate Limiting (403 Errors)**: Resolved by using proper package managers
14+
- Kimi and Qwen were hitting GitHub's API rate limit (60 requests/hour unauthenticated)
15+
- Changed to use the correct source for each package instead of GitHub releases
16+
17+
### Added
18+
- **PyPI Package Manager Support**
19+
- New `getPyPILatestVersion()` function in version.go
20+
- Fetches from `https://pypi.org/pypi/{package}/json`
21+
- No rate limits, highly reliable
22+
- Used for Python packages like kimi-cli
23+
24+
### Changed
25+
- **Kimi CLI Version Detection**
26+
- Package manager: `github``pypi`
27+
- Package name: `MoonshotAI/kimi-cli``kimi-cli`
28+
- Now fetches from PyPI (aligns with `uv tool install kimi-cli`)
29+
- Eliminates GitHub API 403 errors
30+
31+
- **Qwen Version Detection**
32+
- Package manager: `github``npm`
33+
- Package name: `QwenLM/qwen-code``@qwen-code/qwen-code`
34+
- Now fetches from npm registry (aligns with `npm install -g @qwen-code/qwen-code`)
35+
- Eliminates GitHub API 403 errors
36+
37+
- **Linter Configuration**
38+
- Added dupl exclusion for `internal/registry/` path
39+
- Allows intentional code duplication across package manager HTTP functions
40+
41+
### Benefits
42+
- No more API rate limit errors when checking versions
43+
- Faster version checks (no rate limiting delays)
44+
- More reliable (uses authoritative source for each package)
45+
- Aligns version detection with actual installation methods
46+
47+
### Technical Details
48+
- PyPI API endpoint: `https://pypi.org/pypi/{package}/json`
49+
- npm API endpoint: `https://registry.npmjs.org/{package}/latest` (existing)
50+
- Both have much higher rate limits than GitHub (60/hour)
51+
- Tested and verified with `agentpipe agents list --outdated`
52+
1053
## [v0.4.7] - 2025-10-25
1154

1255
### Changed

README.md

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -96,23 +96,27 @@ All agents now use a **standardized interaction pattern** with structured three-
9696

9797
See [CHANGELOG.md](CHANGELOG.md) for detailed version history and release notes.
9898

99-
**Latest Release**: v0.4.7 - Improved Kimi version detection
99+
**Latest Release**: v0.4.8 - Fixed GitHub API rate limiting
100100

101-
**What's New in v0.4.7**:
101+
**What's New in v0.4.8**:
102102

103-
🔍 **Improved Kimi CLI Version Detection**:
104-
- **GitHub Releases Integration**: Now uses GitHub releases API for reliable version checking
105-
- Changed from custom parsing to standard GitHub releases
106-
- More reliable and consistent with other agents
107-
- Fetches latest version from `MoonshotAI/kimi-cli` releases
108-
- Better update notifications and version tracking
103+
🚀 **Fixed GitHub API Rate Limiting**:
104+
- **PyPI Integration for Kimi**: Now uses PyPI API instead of GitHub releases
105+
- No more 403 rate limit errors
106+
- Fetches from `https://pypi.org/pypi/kimi-cli/json`
107+
- More reliable and aligns with actual installation method (uv/pip)
108+
- **npm Registry for Qwen**: Uses npm registry instead of GitHub releases
109+
- Direct API access without rate limiting
110+
- Package: `@qwen-code/qwen-code`
111+
- Aligns with actual installation method
112+
- **Benefits**: Faster, more reliable version checking with no rate limits
113+
114+
**Previous Release - v0.4.7** (2025-10-25): Improved Kimi version detection
115+
- Initial attempt using GitHub releases (now superseded by PyPI)
109116

110117
**Previous Release - v0.4.6** (2025-10-25): Groq Code CLI support
111118
- Full support for Groq Code CLI powered by Groq LPUs
112119
- Fast inference with temperature configuration support
113-
114-
**Previous Release - v0.4.5** (2025-10-25): Enhanced Kimi CLI installation
115-
- Explicit Python 3.13 specification for Kimi install/upgrade commands
116120
- Dedicated security workflows (Trivy and CodeQL)
117121
- Enhanced README badges with downloads and stars metrics
118122
- Fixed Windows test failures for platform-specific installations

0 commit comments

Comments
 (0)