The additive contract delivers value at the mapper boundary — every field is non-overlapping and non-negative, so any caller summing arbitrary subsets is correct by construction. Two-line helpers that just sum three or two known fields add API surface without paying for themselves, and there are no in-tree consumers today. If v2 wants them at integration time, the right place is a getter on the `Schema.Class` (matching the `LLMResponse.text` / `reasoning` / `toolCalls` pattern in the same file), not a static namespace helper. |
||
|---|---|---|
| .. | ||
| fixtures/recordings | ||
| lib | ||
| provider | ||
| adapter.test.ts | ||
| auth-options.types.ts | ||
| auth.test.ts | ||
| endpoint.test.ts | ||
| executor.test.ts | ||
| exports.test.ts | ||
| generate-object.test.ts | ||
| llm.test.ts | ||
| provider.types.ts | ||
| recorded-golden.ts | ||
| recorded-runner.ts | ||
| recorded-scenarios.ts | ||
| recorded-test.ts | ||
| recorded-utils.ts | ||
| recorded-websocket.ts | ||
| schema.test.ts | ||
| tool-runtime.test.ts | ||
| tool-stream.test.ts | ||
| tool.types.ts | ||