Skip to content

CTX7-2817: Add Search API command to CLI - #3212

Open
fahreddinozcan wants to merge 2 commits into
masterfrom
CTX7-2817/search-api-cli
Open

fahreddinozcan wants to merge 2 commits into
masterfrom
CTX7-2817/search-api-cli

Conversation

@fahreddinozcan

@fahreddinozcan fahreddinozcan commented Sep 17, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add ctx7 search for one-request documentation search
  • support repeated --library hints, --version, --language, and --json
  • use the existing authenticated CLI request headers and token refresh flow
  • preserve Git Bash recovery for exact Context7 library IDs
  • share documentation request parsing with ctx7 docs and keep Search response types separate
  • keep library IDs required on Search snippets and preserve optional rules
  • add command, request, and validation tests plus a minor changeset

Validation

  • pnpm --filter ctx7 test
  • pnpm --filter ctx7 typecheck
  • pnpm --filter ctx7 lint:check
  • pnpm --filter ctx7 build

All 379 CLI tests pass.

Dependency

This command calls the endpoint introduced by https://github.com/upstash/context7app/pull/1163.

@linear-code

linear-code Bot commented Sep 17, 2026

Copy link
Copy Markdown

CTX7-2817

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant