Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .changes/context7/chore-context7-sync-upstream-708de01d.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
bump: patch
---

### Changed

- **`/context7:lookup` synced to upstash/context7 `ceaf5f9`.** The vendored `context7-cli` baseline is refreshed, and `metadata.upstream-version` names that commit. Its new `ctx7 search` command is not ported: the current `ctx7` release does not have it, so the CLI reference records that with a recheck trigger, and lookups stay `ctx7 library`, then `ctx7 docs`.
4 changes: 2 additions & 2 deletions plugins/context7/skills/lookup/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ disable-model-invocation: false
allowed-tools:
- "Bash(ctx7 --version*)"
metadata:
upstream-version: upstash/context7@158ad26261019f4036571b475d9ba87065c4973f
synced: 2026-10-20
upstream-version: upstash/context7@ceaf5f91f48949eaa6e4da5e66f3f59d1b44556d
synced: 2026-11-03
workflow-stage: research
summary: Look up current library docs, API references, and examples via Context7
shell: bash
Expand Down
11 changes: 11 additions & 0 deletions plugins/context7/skills/lookup/context/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,17 @@ Set it wherever your project manages local environment variables (shell profile,
runnable, with an in-tool warning that it "will stop working in the next major release". This plugin
never invokes it (see below), so no behavior here depends on it.

**This plugin does not use `ctx7 search`, because the installed CLI does not have it.** The upstream
`context7-cli` skill lists the command, so `vendor/cli/SKILL.md` names it. On `ctx7` 0.8.2,
`ctx7 --help` does not list it and `ctx7 search "react hooks"` exits 1 with a too-many-arguments
error. Lookups stay `ctx7 library`, then `ctx7 docs`.

- **Pointer**: when deciding whether `search` can be used, run those two probes on the installed
CLI and fetch [upstash/context7#3396](https://github.com/upstash/context7/pull/3396) live.
- **As of**: 2026-11-02
- **Recheck trigger**: `ctx7 --help` lists `search`, or the `update` action reports an npm `latest`
newer than 0.8.2.

## Flags

### Global
Expand Down
1 change: 1 addition & 0 deletions plugins/context7/skills/lookup/vendor/cli/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ npx ctx7@latest <command>

```bash
# Documentation
ctx7 search <query> # Search all libraries in one step
ctx7 library <name> <query> # Step 1: resolve library ID
ctx7 docs <libraryId> <query> # Step 2: fetch docs

Expand Down
Loading