[dart_mcp_server] Tighten input and path validation in package tools (#740)

## Summary

Tightens argument and path validation for the package dependency tools (`rip_grep_packages` and `read_package_uris`):

- Ensure `rip_grep_packages` arguments include at least one `-e`/`--regexp` pattern flag, disallow inline values on boolean flags, and make `_runRipGrep` private.
- Pass `--no-config` and `--no-follow` to `rg` for consistent behavior across user environments, and set `additionalProperties: false` on the `rip_grep_packages` input schema.
- Normalize and resolve paths when checking package root bounds in `rip_grep_packages` and `read_package_uris`.
- Use `-NoProfile`, `-NonInteractive`, and single-quoted `-LiteralPath` arguments when extracting ripgrep archives via PowerShell on Windows.
- Bump version to `1.2.3-wip` and update `CHANGELOG.md`.

## Tests

- Added unit tests in `test/tools/grep_test.dart` and `test/tools/package_uri_reader_test.dart` covering pattern flag validation, inline boolean flag values, NUL character rejection, and symlink path handling.
7 files changed
tree: b4cb6ffabebe9ec4dad53455c1a0e4bbaf0a3b50
  1. .agents/
  2. .gemini/
  3. .github/
  4. .vscode/
  5. mcp_examples/
  6. pkgs/
  7. .gitignore
  8. CONTRIBUTING.md
  9. GEMINI.md
  10. LICENSE
  11. pubspec.lock
  12. README.md
README.md

Overview

A general repository for AI / GenAI packages and explorations.

Packages

PackageDescriptionIssuesVersion
dart_mcpA package for making MCP servers and clients.issuespub package
dart_mcp_serverAn MCP server for Dart projects, exposing various developer tools to AI models.issuespub package
manual_evals(Experimental) A suite of skills and evaluation tools designed for AI agents to benchmark skills, inspect environments, analyze tool usage, and conduct automated A/B evaluations.issuespub package
skillsA CLI for managing skills shipped in packages and from git reposissuespub package