✔ Messages builds native system/tool history, bounds images, and seals a distinct mixed-pool variant (6.533ms) ✔ Messages URL and native parameter contracts preserve other protocol paths and hard output budget (0.686ms) ✔ native usage includes both cache buckets once, retains raw and rejects invalid counters (0.2148ms) ✔ real HTTP Messages JSON executes one tool, retains opaque history, actual URL and cache accounting (2131.0459ms) ✔ real HTTP Messages SSE executes one tool, retains opaque history, actual URL and cache accounting (2072.9066ms) ✔ Messages api-key authentication is explicit; mismatched model remains blocked with original usage (4.9657ms) ✔ Messages bearer authentication is explicit; mismatched model remains blocked with original usage (4.1735ms) ✔ Messages redirect is not followed, either credential stays at the original server (3.6458ms) ✔ strict native SSE reads the nested start model and retains mismatch source without retries (2.9781ms) ✔ a closed native tool block cannot execute before message_stop, then executes exactly once (2344.3154ms) ✔ mixed Chat/Messages pool seals both variants and preserves one completed tool on failover (2432.9891ms) ✔ native JSON rejects incomplete stops, duplicate tools and hosted content (0.4488ms) ▶ strict SSE validates all blocks, terminal, event names, UTF8 and tool JSON before dispatch ✔ reject native stream 0 (1.5562ms) ✔ reject native stream 1 (0.2573ms) ✔ reject native stream 2 (0.2434ms) ✔ reject native stream 3 (0.2015ms) ✔ reject native stream 4 (0.1671ms) ✔ reject native stream 5 (0.1992ms) ✔ reject native stream 6 (0.1361ms) ✔ reject native stream 7 (0.1296ms) ✔ reject native stream 8 (0.5456ms) ✔ strict SSE validates all blocks, terminal, event names, UTF8 and tool JSON before dispatch (4.2376ms) ✔ upstream SSE error retains original type/request ID and initial usage, never retries (4.2842ms) ✔ stop cancels the owned stream and retains partial consumption without running tool or replaying (59.0864ms) ✔ saved Messages import preserves auth choice, rejects endpoint duplication, and keeps source file untouched (540.091ms) ℹ tests 25 ℹ suites 0 ℹ pass 25 ℹ fail 0 ℹ cancelled 0 ℹ skipped 0 ℹ todo 0 ℹ duration_ms 9805.3693