Skip to content

Conversation

@tlongwell-block
Copy link
Owner

Closes:

- Enable TextMatch on search_code (Accept: text-match+json header)
  so results include code fragment context without a second API call
- Fix search_code tool description: document only legacy REST API
  qualifiers, warn about unsupported new-search syntax (content:,
  symbol:, is:, NOT, OR, regex, globs) that silently fails
- Add MinimalCodeResult/MinimalCodeSearchResult structs to strip
  ~2KB Repository bloat per result (~6x token reduction)
- Rename 'q' -> 'query' param in SearchCode and SearchUsers
  for consistency with SearchRepositories (ref: upstream github#221)
- Improve search_repositories and search_users descriptions
  with examples
- Add tests: TextMatchFragments, ZeroResults, TextMatchHeaderSent
  (16/16 pass, go build/vet/gofmt clean)
@tlongwell-block tlongwell-block changed the base branch from main to toolset_ro_rw February 12, 2026 17:56
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