Files
Mert Koseoglu 163023a4a6 chore(kiro): mirror external-MCP matcher in configs/kiro/agent.json
Follow-up to e4846fc — the agent.json file mirror was missed in the previous
commit. Keep configs/kiro/agent.json in sync with src/adapters/kiro/hooks.ts
so users who install via the configs template (rather than `context-mode
upgrade`) also get the external-MCP routing protection.
2026-05-12 13:19:45 +03:00

19 lines
488 B
JSON

{
"name": "context-mode",
"description": "Context-mode hooks for context window protection",
"hooks": {
"preToolUse": [
{
"matcher": "execute_bash|fs_read|@context-mode/ctx_execute|@context-mode/ctx_execute_file|@context-mode/ctx_batch_execute|@(?!context-mode/)",
"command": "context-mode hook kiro pretooluse"
}
],
"postToolUse": [
{
"matcher": "*",
"command": "context-mode hook kiro posttooluse"
}
]
}
}