You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added focused typed runtime coverage in packages/core/src/streaming/__tests__/sse.test.ts for explicit event-mapper payload typing, default JSON serialization, retry prelude emission, and multi-line SSE formatting
Added a standalone typecheck regression fixture in packages/core/tests/streaming/sse.typecheck.ts covering unknown-first mapper input and rejection of direct property access without an explicit payload type
Added story documentation in docs/st09042-sse-formatter-generic-contracts.md capturing the contract tightening, validation evidence, and explicit-any delta
Tightened packages/core/src/streaming/types.ts and packages/core/src/streaming/sse.ts so SSEFormatterOptions, SSEFormatter, and createSSEFormatter(...) use unknown-first generic defaults instead of broad any
Preserved default JSON fallback, mapper-driven event formatting, retry prelude behavior, heartbeat timing, and event ID sequencing while making untyped mapper inputs require narrowing or explicit payload annotation
Fixed
@agentforge/core - SSE Formatter Type Safety
Removed the remaining broad explicit-any seams from the shared SSE formatter source files, reducing touched SSE explicit-any usage from 3 to 0
Lowered the core explicit-any baseline from 33/119 to 28/119 and the workspace baseline from 104/289 to 99/289 without changing SSE runtime semantics
Published
All packages published to npm registry at version 0.16.29: