driftguard_compress_log
Compresses verbose build logs and stack traces by stripping ANSI colors, node_modules boilerplate, and internal noise, reducing context tokens for AI coding agents.
Instructions
Comprime log di compilazione prolissi e stack trace (rimuovendo ANSI colors, boilerplate di node_modules e rumore interno), risparmiando fino all'85-90% di token di contesto.
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": {
"rawLog": "<rawLog>"
},
"name": "driftguard_compress_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rawLog | Yes | L'intero output del comando terminale da comprimere. |