@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.
22 lines • 826 B
TypeScript
/**
* In-memory ring buffer sink for metric snapshots.
*
* Stores snapshots in an EvictingQueue and provides a query interface
* for the MCP query_metrics tool. Follows the same query pattern as
* MemoryLogSink (see src/logging/sinks/MemoryLogSink.ts).
*/
import type { IMetricsSink, MetricQueryOptions, MetricQueryResult, MetricSnapshot } from '../types.js';
export declare class MemoryMetricsSink implements IMetricsSink {
readonly name = "MemoryMetricsSink";
private readonly queue;
constructor(maxSnapshots?: number);
onSnapshot(snapshot: MetricSnapshot): void;
flush(): Promise<void>;
close(): Promise<void>;
query(options?: MetricQueryOptions): MetricQueryResult;
getStats(): {
size: number;
capacity: number;
};
}
//# sourceMappingURL=MemoryMetricsSink.d.ts.map