Files
fusion/packages/dashboard/src/index.ts
gsxdsm 4927346f57 feat(KB-136): add shared badge pub/sub for multi-instance deployments
- Add BadgePubSub interface with Redis and in-memory adapters

- Implement cross-instance badge snapshot delivery via Redis pub/sub

- Add message validation, echo loop prevention, and structured caching

- Support graceful fallback to in-memory mode when Redis unavailable

- Update ServerOptions for dependency injection and add documentation
2026-03-30 12:52:07 -07:00

15 lines
675 B
TypeScript

export { createServer, type ServerOptions } from "./server.js";
export { GitHubClient, isPrMergeReady, type PrMergeStatus, type PrCheckStatus, type ReviewDecision, type MergePrParams, type FindPrParams } from "./github.js";
export { rateLimit, RATE_LIMITS, type RateLimitOptions } from "./rate-limit.js";
export { GitHubPollingService, type GitHubPollingServiceOptions, type TaskWatchInput, type WatchedBadgeType } from "./github-poll.js";
export {
type BadgePubSub,
type BadgePubSubEvents,
type BadgePubSubMessage,
type BadgePubSubFactory,
type BadgePubSubFactoryOptions,
InMemoryBadgePubSub,
RedisBadgePubSub,
createBadgePubSub,
} from "./badge-pubsub.js";