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
@agentforge/patterns - Concentrated Model Response Content Representation
Centralized shared textual and JSON-safe Model Response Content representation in one private module while preserving ReAct, Reflection, Plan-and-Execute, and Multi-Agent System behavior, parsing, routing, state transitions, fallbacks, errors, and public interfaces.
Added focused characterization and shared-contract coverage for strings, objects, structured arrays, empty and absent content, circular values, and JSON parsing outcomes.
Routed Cohere and Voyage embedding calls through one private hosted-provider implementation for single-to-batch conversion, retries, HTTP error classification, provider metadata, and result assembly while preserving provider-specific requests, responses, wording, models, and public interfaces.
Added shared behavioral-contract and provider-specific coverage for availability, model selection, request shapes, embedding results, usage metadata, retries, and error handling.
Validation
pnpm release:validate passed with 248 test files passed, 2 skipped, 2,963 tests passed, and 23 skipped.
Skips are intentional opt-in coverage for the Neo4j integration service and web-search performance tests; enable them with a running Neo4j service and RUN_INTEGRATION_TESTS=true, or RUN_WEB_PERFORMANCE_TESTS=true plus network access, respectively.
Published
All packages published to npm registry at version 0.18.7: