SIGN IN SIGN UP

fix(call-omo-agent): address cubic review findings and add requirement-based tests

- Fix agent-resolver.ts: add defensive validation on agent name (typeof, trim, filter)
- Fix tools.test.ts: correct mock to return {data: agents} matching SDK contract
- Fix agent-config-handler.ts: include opencode global/project agents in customAgentSummaries
- Add agent-resolver.test.ts: 14 requirement-based tests covering R1-R7 behavioral specs
- Add tools-edge-cases.test.ts: 5 integration tests for rollback, whitespace, dedup, session_id
B
Brandon Webb committed
da91c535365e6754c16980799664dba54e5094d6
Parent: 76c5356
Committed by YeonGyu-Kim <code.yeon.gyu@gmail.com> on 4/15/2026, 1:56:50 AM