mirror of
https://github.com/garrytan/gstack.git
synced 2026-05-06 21:46:40 +02:00
26fd1b2825
Two small server changes, one feature:
1. New POST /security-decision endpoint takes {tabId, decision} JSON
and writes the per-tab decision file. Auth-gated like every other
sidebar-agent control endpoint.
2. processAgentEvent relays the new reviewable/suspected_text/tabId
fields on security_event through to the chat entry so the sidepanel
banner can render [Allow] / [Block] buttons and the excerpt.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>