ARTEX/intercept
BaaRai d9df84d2e5 feat(traffic): record WebSocket and SSE stream messages
The recording proxy now stores WebSocket and Server-Sent Events streams: one exchange per stream (101 websocket, or the real text/event-stream response) and its messages in stream_messages, with per-message and per-exchange limits and blob spill. Messages are readable through Traffic.StreamMessages, GET /api/traffic/stream and the traffic_messages agent tool; deletion and blob GC cover them.
2026-11-16 07:47:25 +01:00
..
alwaysallow_denylist.go Intercept: always allow a pending Bash prefix (argv allow rule, code-owned denylist) 2026-11-13 11:24:25 +01:00
alwaysallow_denylist_test.go Intercept: always allow a pending Bash prefix (argv allow rule, code-owned denylist) 2026-11-13 11:24:25 +01:00
argv.go Intercept: argv prefix rules (match_type=argv) 2026-11-13 10:14:39 +01:00
argv_test.go Intercept: argv prefix rules (match_type=argv) 2026-11-13 10:14:39 +01:00
closed_judge.go Intercept judge: review fixes for the closed-question mode 2026-11-13 08:40:02 +01:00
closed_judge_pg_test.go Intercept judge: closed-question mode, fail-closed to ask 2026-11-12 22:35:11 +01:00
closed_judge_test.go Intercept judge: review fixes for the closed-question mode 2026-11-13 08:40:02 +01:00
enrich_probe_test.go enrich: route the HTTP probe through the pinned dialer (F13) 2026-11-12 11:53:33 +01:00
export_test.go enrich: route the HTTP probe through the pinned dialer (F13) 2026-11-12 11:53:33 +01:00
intercept.go Intercept: always allow a pending Bash prefix (argv allow rule, code-owned denylist) 2026-11-13 11:24:25 +01:00
prompt.go Intercept judge: closed-question mode, fail-closed to ask 2026-11-12 22:35:11 +01:00
prompt_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
review_context.go Intercept judge: closed-question mode, fail-closed to ask 2026-11-12 22:35:11 +01:00
review_context_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
risk.go fix(intercept): destructive commands score high; chunk batch decisions to the server limit 2026-11-14 22:46:18 +01:00
risk_test.go fix(intercept): destructive commands score high; chunk batch decisions to the server limit 2026-11-14 22:46:18 +01:00
target.go feat(intercept): target extraction, resolver, exemptions and the gate in the hook (S3b 1.5-1.7) 2026-11-11 00:34:55 +01:00
target_declared_test.go fix(intercept): match block rules on the declared targets before any lookup 2026-11-11 15:47:58 +01:00
target_dial.go feat(intercept): pinned dialer for WebFetch and the custom http tool (S3b 2.1) 2026-11-11 19:19:55 +01:00
target_dial_pg_test.go feat(intercept): pinned dialer for WebFetch and the custom http tool (S3b 2.1) 2026-11-11 19:19:55 +01:00
target_dial_test.go feat(intercept): pinned dialer for WebFetch and the custom http tool (S3b 2.1) 2026-11-11 19:19:55 +01:00
target_exempt.go feat(intercept): pinned dialer for WebFetch and the custom http tool (S3b 2.1) 2026-11-11 19:19:55 +01:00
target_exempt_test.go feat(intercept): pinned dialer for WebFetch and the custom http tool (S3b 2.1) 2026-11-11 19:19:55 +01:00
target_extract.go feat(traffic): record WebSocket and SSE stream messages 2026-11-16 07:47:25 +01:00
target_gate.go feat(intercept): pinned dialer for WebFetch and the custom http tool (S3b 2.1) 2026-11-11 19:19:55 +01:00
target_gate_pg_test.go feat(intercept): target extraction, resolver, exemptions and the gate in the hook (S3b 1.5-1.7) 2026-11-11 00:34:55 +01:00
target_gate_test.go feat(intercept): target extraction, resolver, exemptions and the gate in the hook (S3b 1.5-1.7) 2026-11-11 00:34:55 +01:00
target_redirect.go feat(intercept): check every redirect hop against the target gate (S3b 1.9) 2026-11-11 17:07:35 +01:00
target_redirect_pg_test.go feat(intercept): check every redirect hop against the target gate (S3b 1.9) 2026-11-11 17:07:35 +01:00
target_redirect_test.go feat(intercept): check every redirect hop against the target gate (S3b 1.9) 2026-11-11 17:07:35 +01:00
target_rendered.go fix(intercept): match block rules on the declared targets before any lookup 2026-11-11 15:47:58 +01:00
target_rendered_test.go feat(intercept): gate the rendered targets of custom tools (S3b 1.8) 2026-11-11 15:04:42 +01:00
target_request.go feat(intercept): pinned dialer for WebFetch and the custom http tool (S3b 2.1) 2026-11-11 19:19:55 +01:00
target_request_test.go feat(intercept): target-gate schema, opt-in flag and approval requests (S3b 1.2-1.4) 2026-11-10 23:05:47 +01:00
target_resolve.go feat(intercept): pinned dialer for WebFetch and the custom http tool (S3b 2.1) 2026-11-11 19:19:55 +01:00
target_test.go feat(traffic): record WebSocket and SSE stream messages 2026-11-16 07:47:25 +01:00
testmain_test.go feat(intercept): target-gate schema, opt-in flag and approval requests (S3b 1.2-1.4) 2026-11-10 23:05:47 +01:00
trace.go Intercept judge: closed-question mode, fail-closed to ask 2026-11-12 22:35:11 +01:00
trace_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00