addedInput schema / $defs
Added value: +{
+ "RefactorTargetKind": {
+ "description": "Engine selector for `topos_refactor`.",
+ "oneOf": [
+ {
+ "const": "cycles",
+ "description": "CFG cycle-basis: loop/branch bodies driving cyclomatic complexity.",
+ "type": "string"
+ },
+ {
+ "const": "dependencies",
+ "description": "MDG Forman curvature: load-bearing import edges (needs `.gitnexus`).",
+ "type": "string"
+ },
+ {
+ "const": "process",
+ "description": "Process-graph choke points (needs `.gitnexus`).",
+ "type": "string"
+ },
+ {
+ "const": "graphify",
+ "description": "Graphify orphan nodes / fragile inferred edges.",
+ "type": "string"
+ }
+ ]
+ }
+}
addedInput schema / $schema
Added value: +"https://json-schema.org/draft/2020-12/schema"
addedInput schema / properties / filepath
Added value: +{
+ "description": "Source file path relative to the MCP file root.",
+ "type": "string"
+}
addedInput schema / properties / gitnexus_dir
Added value: +{
+ "default": null,
+ "description": "Override `.gitnexus` directory (`dependencies` / `process` targets).",
+ "type": [
+ "string",
+ "null"
+ ]
+}
addedInput schema / properties / graphify_dir
Added value: +{
+ "default": null,
+ "description": "Override Graphify output directory (`target=graphify` only).",
+ "type": [
+ "string",
+ "null"
+ ]
+}
addedInput schema / properties / limit
Added value: +{
+ "default": 5,
+ "description": "Maximum hotspots to return (default 5).",
+ "format": "uint",
+ "minimum": 0,
+ "type": "integer"
+}
removedInput schema / properties / params
Removed value: -{
- "additionalProperties": false,
- "properties": {
- "filepath": {
- "minLength": 1,
- "type": "string"
- },
- "gitnexus_dir": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "limit": {
- "default": 5,
- "maximum": 50,
- "minimum": 1,
- "type": "integer"
- },
- "target": {
- "enum": [
- "cycles",
- "dependencies",
- "process"
- ],
- "type": "string"
- }
- },
- "required": [
- "target",
- "filepath"
- ],
- "type": "object"
-}
addedInput schema / properties / target
Added value: +{
+ "$ref": "#/$defs/RefactorTargetKind",
+ "description": "Which analysis engine to run: `cycles` (CFG), `dependencies` /\n`process` (need `.gitnexus`), or `graphify` (need Graphify graph)."
+}
changedInput schema / required
Previous value: -[
- "params"
-]New value: +[
+ "target",
+ "filepath"
+]