-
-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Similar to the existing @fedify/botkit-sqlite package, we should create a @fedify/botkit-redis package that implements the Repository interface using Redis as the backend storage.
This would involve creating a new workspace package packages/botkit-redis/ that implements the Repository interface using Redis, supports connection pooling and configuration options, includes proper TypeScript types, has comprehensive tests and documentation with usage examples, and supports both Deno and Node.js environments following existing patterns.
The implementation should follow the same patterns as @fedify/botkit-sqlite, use a well-established Redis client, consider using Redis features like sets and hashes for efficient storage, include proper connection setup utilities, and handle connection errors gracefully. The package should build successfully for both Deno and Node.js, have all Repository interface methods implemented, pass tests in both runtime environments, and be ready for publishing to JSR and npm.