singularity-forge/packages
Mannan Kant 96f5b58bd3 fix(pi-ai): address review comments on #504 — exhaustive switch, tests, cleanup (#587)
- Restore exhaustive never check in mapStopReason (throw on unhandled FinishReason)
- Add 12 unit tests for sanitizeSchemaForGoogle covering patternProperties removal,
  const→enum conversion at various depths, arrays, deeply nested objects, pass-through
- Simplify redundant recursion branches into single typeof object catch-all
- Fix misleading comment ("only in anyOf/oneOf") — conversion happens everywhere
- Drop unnecessary (p: Part) annotation; TypeScript infers it from @google/genai types

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 22:21:20 -06:00
..
native perf: optimize discovery and interactive hot paths 2026-03-14 16:03:44 -05:00
pi-agent-core fix(agent-core): await event queue in tool hooks for safe parallel execution (#439) 2026-03-14 21:16:17 -06:00
pi-ai fix(pi-ai): address review comments on #504 — exhaustive switch, tests, cleanup (#587) 2026-03-15 22:21:20 -06:00
pi-coding-agent fix: arrow key cursor not updating + Shift+Enter not inserting newlines (#485) 2026-03-15 19:47:49 -06:00
pi-tui fix: arrow key cursor not updating + Shift+Enter not inserting newlines (#485) 2026-03-15 19:47:49 -06:00