mirror of
https://github.com/go-gost/x.git
synced 2026-10-20 00:17:32 +00:00
Pass session ID metadata to plugin Rewriters in non-streaming rewrite paths (plain and compressed) for consistency with the SSE streaming path. Also restore SSE lifecycle metadata (start/end phase emission, event index tracking) and fix a missing Rewriters config merge in parser. The non-streaming paths now carry sid metadata via apply(), while the SSE path provides sid, sse_phase (start/event/end), and event_index for each stream event.