Skip to content

Commit 1ed71d7

Browse files
chore(release): version packages (#2605)
1 parent 34fda7d commit 1ed71d7

8 files changed

Lines changed: 19 additions & 26 deletions

File tree

.changeset/cli-inquirer-core-dep.md

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

.changeset/funky-sides-behave.md

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

.changeset/mcp-auth-prompt.md

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

.changeset/validate-skill-names.md

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

packages/cli/CHANGELOG.md

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

3+
## 0.4.3
4+
5+
### Patch Changes
6+
7+
- dea0e43: Declare `@inquirer/core` as a direct dependency of the CLI. It was previously imported in `selectOrInput.ts` but only resolvable as a transitive of `@inquirer/prompts`, which caused `ctx7` to fail at startup with `ERR_MODULE_NOT_FOUND` under pnpm's isolated node linker.
8+
- 34fda7d: Add `--stdio` flag to `ctx7 setup` to configure Context7 as a local stdio MCP server.
9+
- 61de754: Harden skill name handling during `ctx7 skills install` and `ctx7 skills remove`. Skill names from remote `SKILL.md` files are now restricted to a safe character set, and the install sinks assert the target directory is a direct child of the skills root before writing.
10+
311
## 0.4.2
412

513
### 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.4.2",
3+
"version": "0.4.3",
44
"description": "Context7 CLI - Manage AI coding skills and documentation context",
55
"type": "module",
66
"bin": {

packages/mcp/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# @upstash/context7-mcp
22

3+
## 2.3.0
4+
5+
### Minor Changes
6+
7+
- 34fda7d: Prompt anonymous users to sign in. After the backend signals (via the `X-Context7-Auth-Prompt: 1` response header on `/v2/libs/search` or `/v2/context`) that an anonymous client has crossed the per-IP threshold, the MCP server appends a one-time sign-in invitation to the tool result.
8+
- Both **stdio** and **HTTP** transports surface the same nudge: a tool-result notice asking the assistant to run `npx ctx7 setup --<client> --mcp -y` (with `--stdio` appended when the MCP server is running on stdio) after explicit user confirmation. The CLI handles OAuth and writes credentials into the MCP client's config; the user restarts their MCP server / editor to pick up the new credentials.
9+
- Detects the calling client from `X-Context7-Client-IDE` / User-Agent and selects the matching CLI flag (`--cursor`, `--claude`, `--codex`, `--opencode`, `--gemini`); falls back to interactive setup when unknown.
10+
- HTTP transport remains stateless — the threshold is tracked by the backend (per-IP, 24h TTL), the MCP server only reacts to the signal.
11+
312
## 2.2.5
413

514
### Patch Changes

packages/mcp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@upstash/context7-mcp",
3-
"version": "2.2.5",
3+
"version": "2.3.0",
44
"mcpName": "io.github.upstash/context7",
55
"description": "MCP server for Context7",
66
"scripts": {

0 commit comments

Comments
 (0)