Commit 6f876f0
Update Kimi CLI version detection to use GitHub releases
Changed Kimi version detection from custom pyproject.toml parsing to
using GitHub releases API, which is more standard and reliable.
Changes:
- Updated internal/registry/agents.json:
- Changed package_manager from "uv" to "github"
- Changed package_name from "kimi-cli" to "MoonshotAI/kimi-cli"
- Uses existing getGitHubLatestRelease() function
- Fetches version from https://api.github.com/repos/MoonshotAI/kimi-cli/releases/latest
Benefits:
- More reliable: Uses official GitHub releases
- Simpler: Reuses existing infrastructure
- Standard: Consistent with other GitHub-based agents
Tested with `agentpipe agents list --outdated`:
- Successfully detects Kimi v0.40 from GitHub releases
- Correctly compares with installed version
All quality checks passing:
- Tests: go test ./... ✅
- Linting: golangci-lint run ✅
- Build: go build ✅
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 41d0324 commit 6f876f0
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
200 | | - | |
201 | | - | |
| 200 | + | |
| 201 | + | |
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
| |||
0 commit comments