UNPKG

@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.

32 lines 1.06 kB
/** * Lightweight in-memory accumulator for Gatekeeper policy enforcement metrics. * * Records allowed/denied/confirmation-pending decisions, policy source * distribution, and permission level usage. The companion * GatekeeperMetricsCollector reads from this tracker each collection cycle. */ export interface GatekeeperDecisionRecord { allowed: boolean; permissionLevel: string; policySource?: string; confirmationPending?: boolean; } export interface GatekeeperMetrics { totalDecisions: number; allowed: number; denied: number; confirmationsPending: number; byPolicySource: Map<string, number>; byPermissionLevel: Map<string, number>; } export declare class GatekeeperMetricsTracker { private totalDecisions; private allowed; private denied; private confirmationsPending; private readonly byPolicySource; private readonly byPermissionLevel; record(decision: GatekeeperDecisionRecord): void; getMetrics(): GatekeeperMetrics; } //# sourceMappingURL=GatekeeperMetricsTracker.d.ts.map