Skip to content

CTX7-3769: Correct a docs-style query in query-code instead of grepping it - #3760

Open
fahreddinozcan wants to merge 1 commit into
masterfrom
CTX7-3769/query-code-query-alias
Open

fahreddinozcan wants to merge 1 commit into
masterfrom
CTX7-3769/query-code-query-alias

Conversation

@fahreddinozcan

Copy link
Copy Markdown
Collaborator

query-code answers a several-word query with a correction instead of grepping it as one regex that matches nothing.

  • query is no longer a plain alias of pattern; it becomes the pattern only when it is one token, or a phrase with fixed_strings
  • Otherwise the call fails validation with a message that pattern is a regex matched within one line, with examples, and points how-to questions to query-docs
  • The pattern description says the same; its max length is 1000, like the server (lib/code/params.ts)

Closes CTX7-3769

@vercel

vercel Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
context7-admin-mcp Ignored Ignored Nov 11, 2026 12:58pm UTC

Request Review

@linear-code

linear-code Bot commented Nov 11, 2026

Copy link
Copy Markdown

CTX7-3769

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