Context7 Platform -- Up-to-date docs for AI agents
chore(release): version packages (#2605)
github-actions[bot]1ed71d7edcae
diff --git a/.changeset/cli-inquirer-core-dep.md b/.changeset/cli-inquirer-core-dep.mddeleted file mode 100644index e2de36a9..00000000--- a/.changeset/cli-inquirer-core-dep.md+++ /dev/null@@ -1,5 +0,0 @@-----"ctx7": patch------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.diff --git a/.changeset/funky-sides-behave.md b/.changeset/funky-sides-behave.mddeleted file mode 100644index 49cf4d34..00000000--- a/.changeset/funky-sides-behave.md+++ /dev/null@@ -1,5 +0,0 @@-----"ctx7": patch------Add `--stdio` flag to `ctx7 setup` to configure Context7 as a local stdio MCP server.diff --git a/.changeset/mcp-auth-prompt.md b/.changeset/mcp-auth-prompt.mddeleted file mode 100644index 03cf68fc..00000000--- a/.changeset/mcp-auth-prompt.md+++ /dev/null@@ -1,9 +0,0 @@-----"@upstash/context7-mcp": minor------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.--- 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.-- 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.-- HTTP transport remains stateless — the threshold is tracked by the backend (per-IP, 24h TTL), the MCP server only reacts to the signal.diff --git a/.changeset/validate-skill-names.md b/.changeset/validate-skill-names.mddeleted file mode 100644index 33078028..00000000--- a/.changeset/validate-skill-names.md+++ /dev/null@@ -1,5 +0,0 @@-----"ctx7": patch------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.diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.mdindex 544ee25e..51489145 100644--- a/packages/cli/CHANGELOG.md+++ b/packages/cli/CHANGELOG.md@@ -1,5 +1,13 @@# Changelog+## 0.4.3++### Patch Changes++- 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.+- 34fda7d: Add `--stdio` flag to `ctx7 setup` to configure Context7 as a local stdio MCP server.+- 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.+## 0.4.2### Patch Changesdiff --git a/packages/cli/package.json b/packages/cli/package.jsonindex 23ed3b7d..9a4e160c 100644--- a/packages/cli/package.json+++ b/packages/cli/package.json@@ -1,6 +1,6 @@{"name": "ctx7",- "version": "0.4.2",+ "version": "0.4.3","description": "Context7 CLI - Manage AI coding skills and documentation context","type": "module","bin": {diff --git a/packages/mcp/CHANGELOG.md b/packages/mcp/CHANGELOG.mdindex 0d57490a..c0f99d17 100644--- a/packages/mcp/CHANGELOG.md+++ b/packages/mcp/CHANGELOG.md@@ -1,5 +1,14 @@# @upstash/context7-mcp+## 2.3.0++### Minor Changes++- 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.+ - 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.+ - 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.+ - HTTP transport remains stateless — the threshold is tracked by the backend (per-IP, 24h TTL), the MCP server only reacts to the signal.+## 2.2.5### Patch Changesdiff --git a/packages/mcp/package.json b/packages/mcp/package.jsonindex 34559902..248e0a9f 100644--- a/packages/mcp/package.json+++ b/packages/mcp/package.json@@ -1,6 +1,6 @@{"name": "@upstash/context7-mcp",- "version": "2.2.5",+ "version": "2.3.0","mcpName": "io.github.upstash/context7","description": "MCP server for Context7","scripts": {