47bd4fd766
- Added RedisSessionStorage with Redis-backed session JSONL persistence and storage options. - Added create/refresh/list/read behavior with in-memory mirror, SCAN hydration, and monotonic mtime tracking. - Added package exports for SessionStorage backends and a Redis session SDK example with usage guidance. - Added in-memory fake Redis tests covering persistence restore, session listing, rename, and error-injection paths.
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.