@dollhousemcp/mcp-server
Version:
DollhouseMCP - A Model Context Protocol (MCP) server that enables dynamic AI persona management from markdown files, allowing Claude and other compatible AI assistants to activate and switch between different behavioral personas.
13 lines • 479 B
TypeScript
/**
* Simple sliding-window rate limiter.
* Tracks timestamps of recent requests and evicts entries older than the window.
*/
export declare class SlidingWindowRateLimiter {
private readonly maxRequests;
private readonly windowMs;
private timestamps;
constructor(maxRequests: number, windowMs: number);
/** Returns true if the request is allowed, false if rate-limited. */
tryAcquire(): boolean;
}
//# sourceMappingURL=SlidingWindowRateLimiter.d.ts.map