AI/manifest.json

{
  "RESOLVE-RIPGREP": {
    "Name": "RESOLVE-RIPGREP",
    "Description": "Resolve ripgrep executable path from environment or PATH",
    "Parameters": {},
    "Module": "TechToolbox.Agent.Builtin",
    "Meta": {}
  },
  "RIPGREP": {
    "Name": "RIPGREP",
    "Description": "Dedicated ripgrep line-counting and search tool.",
    "Parameters": {
      "command": { "Mandatory": true, "Type": "System.String", "Help": "Allowed command name: count-lines, count-matches, or search." },
      "directory": { "Mandatory": true, "Type": "System.String", "Help": "Directory to search." },
      "glob": { "Mandatory": false, "Type": "System.String", "Help": "Optional glob filter such as *.cs." },
      "pattern": { "Mandatory": false, "Type": "System.String", "Help": "Optional search pattern. Required for search commands." }
    },
    "Module": "External",
    "Meta": {
      "Executable": "RESOLVE-RIPGREP",
      "AllowedCommands": {
        "count-lines": "rg --count \"^\" {directory}",
        "count-matches": "rg --count-matches \"\" {directory}",
        "search": "rg {pattern} {directory}"
      }
    }
  }
}