midnight-compare-syntax
Compare file syntax between two versions to identify changes and verify code pattern compatibility with the user's version.
Instructions
Compare a file between two versions to see what changed. Use this before recommending code patterns to ensure they work with the user's version.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"repo": "<repo>",
"path": "<path>",
"oldVersion": "<oldVersion>"
},
"name": "midnight-compare-syntax"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository name (e.g., 'compact') | |
| path | Yes | File path to compare | |
| oldVersion | Yes | Old version tag (e.g., 'v0.9.0') | |
| newVersion | No | New version tag (default: latest stable) |