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 names: count, count-lines, count-matches, files, files-with-matches, files-without-match, line-count, 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-oriented commands." }
    },
    "Module": "External",
    "Meta": {
      "Executable": "RESOLVE-RIPGREP",
      "AllowedCommands": {
        "count": "rg --count \"^\" {directory}",
        "count-lines": "rg --count \"^\" {directory}",
        "count-matches": "rg --count-matches \"\" {directory}",
        "files": "rg --files {directory}",
        "files-with-matches": "rg --files-with-matches {pattern} {directory}",
        "files-without-match": "rg --files-without-match {pattern} {directory}",
        "line-count": "rg --count \"^\" {directory}",
        "search": "rg {pattern} {directory}"
      }
    }
  },
  "POWERSHELL-PARSER": {
    "Name": "POWERSHELL-PARSER",
    "Description": "Governed static-only PowerShell parser contract; no execution, shell, runspace, file, or remote operations.",
    "Parameters": {
      "command": { "Mandatory": true, "Type": "System.String", "Help": "Allowed commands: PARSE, GET-AST, GET-DIAGNOSTICS, FIND-COMMANDS, CHECK-POLICY." },
      "source": { "Mandatory": false, "Type": "System.String", "Help": "PowerShell source text; mutually exclusive with path.", "MaxChars": 1000000 },
      "path": { "Mandatory": false, "Type": "System.String", "Help": "Governed input path; mutually exclusive with source." },
      "maxNodes": { "Mandatory": false, "Type": "System.Int32", "Help": "Bounded node limit from 1 through 10000." },
      "maxDiagnostics": { "Mandatory": false, "Type": "System.Int32", "Help": "Bounded diagnostic limit from 1 through 1000." },
      "policyProfile": { "Mandatory": false, "Type": "System.String", "Help": "Optional policy profile: default, strict, or static-only." }
    },
    "Module": "GovernedStaticOnly",
    "Meta": {
      "Provider": "Optional",
      "Governed": true,
      "ReadOnly": true,
      "StaticOnly": true,
      "ExecutionAllowed": false,
      "ShellFallbackAllowed": false,
      "RunspaceAllowed": false,
      "RemoteOperationsAllowed": false,
      "AllowedCommands": {
        "PARSE": "static validation only",
        "GET-AST": "static contract only",
        "GET-DIAGNOSTICS": "static diagnostics only",
        "FIND-COMMANDS": "static discovery only",
        "CHECK-POLICY": "static policy contract only"
      },
      "ResponseSchemaVersion": "1.0"
    }
  }
}