protect-context for Zed
io.github.xjtlumedia/protect-context
Agent guardrails: contract, evidence ledger, loop brake, diff-scope warnings, durable journal.
client:Zed
transport:stdio
runtime:pypi
Install protect-context in Zed
~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json
{
"context_servers": {
"protect-context": {
"command": "uvx",
"args": [
"protect-context"
],
"env": {
"PC_SESSION_ID": "<PC_SESSION_ID>"
}
}
}
}
Merge this into your existing settings object — do not replace the file. Zed docs