Skip to content

v3.0.0

Latest

Choose a tag to compare

@SarfDime SarfDime released this 08 Nov 18:24

3.0.0 (2026-11-08)

  • feat!: remove validate and complete MCP refactor (#57) (a3adc7b)

BREAKING CHANGES

  • the validate tool is no longer advertised or callable. Use run_package_scripts_batch with the narrowest allowed script (for example check) instead, and search_code for merge-conflict markers. Update saved prompts and agent instructions that name validate. See docs/MIGRATION.md.

  • fix(validation): check an object's own properties after an anyOf match

validateToolArguments returned as soon as one anyOf branch matched, so the properties declared beside the anyOf (for search_code: paths, globs, context, maxResults, maxBytes) were never checked against the schema. They fell through to ad hoc checks inside the tool, with different messages and a failed request record.

A matching branch now falls through to the schema's own properties. When no branch matches, the error comes from the branch that got past the presence check, so queries sent as a string reports a type error instead of "'query' is required", and two missing alternatives are named once. Type errors now use the right article and name the received type.

  • refactor(mcp): move argument validation into src/validation.ts

Moves validateToolArguments, its helpers and types, and the isRecord guard out of mcp.ts. No behaviour change: the code moved verbatim, and the validation tests now import it from the new module.

  • docs(audit): merge the audit notes into docs/audit.md

  • fix(read): add typed errors for read_range failures

  • feat(commands): add batch-wide ok exit codes

  • fix(telemetry): classify expected 405s and capture type details

  • feat(telemetry): summarize MCP requests by method

  • feat(files): suggest paths for missing tool inputs

  • feat(batch): summarize successful script output tails

Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com

  • feat(search): accept single-string filters and queries

Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com

  • feat(search): add per-file counts to truncated results

Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com

  • feat(telemetry): compact analytics summaries

  • feat(read): add session-aware repeat hints

  • refactor(mcp): extract telemetry error classification

  • refactor(mcp): extract analytics formatting

  • refactor(mcp): extract per-tool handlers

  • feat(guidance): add search footer experiment

  • feat(tools): trim tool descriptions

  • test: isolate package script tests

  • chore(ci): report Node test coverage

  • docs: clarify ignored-tree search boundaries

  • test: cover optional git grep policy

  • feat(search): identify ignored path scopes

  • fix(telemetry): type command and integration failures

  • refactor(mcp): extract metadata and telemetry modules

  • refactor(mcp): extract protocol helpers

  • docs(audit): reconcile completed refactor notes

  • fix(telemetry): calculate even medians correctly

  • fix(telemetry): count multi-query search results

  • fix: clarify stress-test edge cases

  • docs: uppercase audit and telemetry guide names

  • The validate MCP tool has been removed. Use run_package_scripts_batch to run configured validation scripts.