Skip to content

Commit 6f876f0

Browse files
kevinelliottclaude
andcommitted
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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/registry/agents.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,8 @@
197197
"command": "kimi",
198198
"description": "Kimi CLI by Moonshot AI",
199199
"docs": "https://github.com/MoonshotAI/kimi-cli",
200-
"package_manager": "uv",
201-
"package_name": "kimi-cli",
200+
"package_manager": "github",
201+
"package_name": "MoonshotAI/kimi-cli",
202202
"install": {
203203
"darwin": "uv tool install --python 3.13 kimi-cli",
204204
"linux": "uv tool install --python 3.13 kimi-cli",

0 commit comments

Comments
 (0)