Files
OmniRoute/tests
diegosouzapw 6052a75390 feat(plugins): expose client request headers in plugin onRequest/onResponse context (#9570)
Adds an optional `headers` field to `PluginContext` so plugin hooks can
read request-scoped HTTP headers (trace ids, correlation ids, session markers)
sent by the client. The `clientRawRequest.headers` value is plumbed through
both `runPluginOnRequestHook` and `runPluginOnResponseHook` at the 3 call sites
in `handleChatCore()`.

Test cases included:
- headers passed to the hook are visible in PluginContext
- no headers arg is backward compatible (undefined in ctx)
2026-08-06 22:00:26 -03:00
..
2026-07-29 15:18:55 -03:00
2026-07-29 15:18:55 -03:00
2026-07-29 15:18:55 -03:00
2026-07-29 15:18:55 -03:00
2026-07-29 15:18:55 -03:00
2026-07-29 15:18:55 -03:00
2026-07-29 15:18:55 -03:00