gstack/browse
Garry Tan 7c309f7817
fix(security): terminal-agent uses the shared PTY cookie parser
The /ws upgrade's cookie fallback hand-parsed the Cookie header inline — the
fourth copy of the session-cookie parse, and the one that had already
diverged from the others. Parsing now goes through extractPtyCookie;
validation deliberately stays against the agent's own in-process validTokens
map (the server's registry lives in a different process). The ws-handler pin
test now pins the shared-parser call instead of the raw cookie-name literal.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-14 21:12:21 -07:00
..
bin
…
scripts
…
src fix(security): terminal-agent uses the shared PTY cookie parser 2026-08-14 21:12:21 -07:00
test fix(security): terminal-agent uses the shared PTY cookie parser 2026-08-14 21:12:21 -07:00
PLAN-snapshot-dropdown-interactive.md
…
SKILL.md
…
SKILL.md.tmpl
…