Skip to content

Commit 9256fdf

Browse files
chore(release): version packages (#2787)
1 parent acd0d46 commit 9256fdf

3 files changed

Lines changed: 15 additions & 14 deletions

File tree

.changeset/slow-adults-bet.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

packages/cli/CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# Changelog
22

3+
## 0.5.3
4+
5+
### Patch Changes
6+
7+
- acd0d46: Surface GitHub API error details when skill download fails (#2363)
8+
9+
Previously, any GitHub API failure during `ctx7 setup` or `ctx7 setup --cli` produced the opaque message "GitHub API error", making it impossible to distinguish a 403 rate-limit from a 401 bad token or a 404 wrong branch.
10+
11+
Changes:
12+
- `fetchRepoTree` and `fetchDefaultBranch` now extract the HTTP status and GitHub error body, returning descriptive strings like `"HTTP 403: API rate limit exceeded"`
13+
- `listSkillsFromGitHub` distinguishes a true 404 (repo not found) from other errors (rate-limit, bad credentials) that previously all collapsed into the same silent result
14+
- When a request fails unauthenticated with a 403/429, a hint is shown: `run \`gh auth login\` or set the GITHUB_TOKEN env var to increase rate limits`
15+
- Failed skill entries in the setup results table now show a red `` with the error detail on its own line instead of embedding it in the status string
16+
317
## 0.5.2
418

519
### Patch Changes

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ctx7",
3-
"version": "0.5.2",
3+
"version": "0.5.3",
44
"description": "Context7 CLI - Fetch documentation context and configure Context7",
55
"type": "module",
66
"bin": {

0 commit comments

Comments
 (0)