TTSR (Time Traveling Stream Rules) monitored streaming output against regex patterns. Guardrails blocked dangerous actions and redacted secrets. Both are safety/guardrail concerns — merging them into one extension reduces surface area and simplifies the safety model. Changes: - Copied ttsr-rule-loader.js, ttsr-manager.js, ttsr-interrupt.md into guardrails/ - Updated guardrails extension-manifest.json with ttsr hooks (turn_start, message_update, turn_end, agent_end) - Integrated TTSR session_start/turn_start/message_update/turn_end/agent_end handlers into guardrails/index.js - Deleted ttsr/ extension directory Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
12 lines
454 B
JSON
12 lines
454 B
JSON
{
|
|
"id": "guardrails",
|
|
"name": "Guardrails",
|
|
"version": "1.0.0",
|
|
"description": "Redact sensitive outputs, block dangerous actions, and monitor streaming output against regex patterns",
|
|
"tier": "bundled",
|
|
"requires": { "platform": ">=2.29.0" },
|
|
"provides": {
|
|
"commands": ["safegit", "safegit-level", "safegit-status", "yolo"],
|
|
"hooks": ["session_start", "tool_call", "tool_result", "turn_start", "message_update", "turn_end", "agent_end"]
|
|
}
|
|
}
|