11da79a6bf
- Column truncation is now applied to a cloned array so `collectedLines` retains on-disk content for snapshot recording. - Snapshots bound to hashline TAGs now hold the original file text, preventing hash-mismatch failures on subsequent edits to files with long lines. - Added regression tests covering full-file, range, multi-range reads and a live edit-after-read scenario.
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.