827841d19f
- Fixed Google provider schema sanitization to collapse anyOf/oneOf with const values into enum arrays. - Fixed const-to-enum conversion to infer type from const value when type is not specified. - Changed review finding priority format from numeric (0-3) to string labels (P0-P3). - Replaced Type.Union with Type.Literal patterns with StringEnum helper across tool schemas. - Added const modifier to StringEnum generic type parameter for improved TypeScript type inference. - Consolidated priority metadata into single PRIORITY_INFO record with exported getPriorityInfo function.
Examples
Example code for omp-coding-agent SDK, hooks, and custom tools.
Directories
sdk/
Programmatic usage via createAgentSession(). Shows how to customize models, prompts, tools, hooks, and session management.
hooks/
Example hooks for intercepting tool calls, adding safety gates, and integrating with external systems.
custom-tools/
Example custom tools that extend the agent's capabilities.