/** * Consolidated Secret Management Tool * * Replaces 9 individual secret tools with a single action-based tool: * - create_secret -> action: 'create' * - get_secret -> action: 'get' * - list_secrets -> action: 'list' * - update_secret -> action: 'update' * - delete_secret -> action: 'delete' * - reveal_secret -> action: 'reveal' * - check_reveal_conditions -> action: 'check_conditions' * - get_secrets_for_context -> action: 'get_context' * - check_for_leaks -> action: 'check_leaks' */ import { z } from 'zod'; import { SessionContext } from '../types.js'; import { McpResponse } from '../../utils/action-router.js'; export declare const SecretManageTool: { name: string; description: string; inputSchema: z.ZodObject<{ action: z.ZodString; worldId: z.ZodOptional; secretId: z.ZodOptional; type: z.ZodOptional>; category: z.ZodOptional; name: z.ZodOptional; publicDescription: z.ZodOptional; secretDescription: z.ZodOptional; linkedEntityId: z.ZodOptional; linkedEntityType: z.ZodOptional; sensitivity: z.ZodOptional>; leakPatterns: z.ZodOptional>; revealConditions: z.ZodOptional; skill: z.ZodOptional; dc: z.ZodOptional; questId: z.ZodOptional; itemId: z.ZodOptional; locationId: z.ZodOptional; npcId: z.ZodOptional; dialogueTrigger: z.ZodOptional; hoursRequired: z.ZodOptional; partialReveal: z.ZodDefault; partialText: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "skill_check" | "quest_complete" | "item_interact" | "dialogue" | "location_enter" | "combat_end" | "time_passed" | "manual"; partialReveal: boolean; skill?: string | undefined; dc?: number | undefined; questId?: string | undefined; itemId?: string | undefined; locationId?: string | undefined; npcId?: string | undefined; dialogueTrigger?: string | undefined; hoursRequired?: number | undefined; partialText?: string | undefined; }, { type: "skill_check" | "quest_complete" | "item_interact" | "dialogue" | "location_enter" | "combat_end" | "time_passed" | "manual"; skill?: string | undefined; dc?: number | undefined; questId?: string | undefined; itemId?: string | undefined; locationId?: string | undefined; npcId?: string | undefined; dialogueTrigger?: string | undefined; hoursRequired?: number | undefined; partialReveal?: boolean | undefined; partialText?: string | undefined; }>, "many">>; notes: z.ZodOptional; includeRevealed: z.ZodOptional; triggeredBy: z.ZodOptional; partial: z.ZodOptional; event: z.ZodOptional; skill: z.ZodOptional; result: z.ZodOptional; questId: z.ZodOptional; itemId: z.ZodOptional; locationId: z.ZodOptional; text: z.ZodOptional; hoursPassed: z.ZodOptional; characterId: z.ZodOptional; encounterId: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "skill_check" | "quest_complete" | "item_interact" | "dialogue" | "location_enter" | "combat_end" | "time_passed"; skill?: string | undefined; questId?: string | undefined; itemId?: string | undefined; locationId?: string | undefined; result?: number | undefined; text?: string | undefined; hoursPassed?: number | undefined; characterId?: string | undefined; encounterId?: string | undefined; }, { type: "skill_check" | "quest_complete" | "item_interact" | "dialogue" | "location_enter" | "combat_end" | "time_passed"; skill?: string | undefined; questId?: string | undefined; itemId?: string | undefined; locationId?: string | undefined; result?: number | undefined; text?: string | undefined; hoursPassed?: number | undefined; characterId?: string | undefined; encounterId?: string | undefined; }>>; text: z.ZodOptional; }, "strip", z.ZodTypeAny, { action: string; type?: "quest" | "npc" | "custom" | "location" | "item" | "plot" | "mechanic" | undefined; worldId?: string | undefined; category?: string | undefined; name?: string | undefined; publicDescription?: string | undefined; secretDescription?: string | undefined; linkedEntityId?: string | undefined; linkedEntityType?: string | undefined; revealConditions?: { type: "skill_check" | "quest_complete" | "item_interact" | "dialogue" | "location_enter" | "combat_end" | "time_passed" | "manual"; partialReveal: boolean; skill?: string | undefined; dc?: number | undefined; questId?: string | undefined; itemId?: string | undefined; locationId?: string | undefined; npcId?: string | undefined; dialogueTrigger?: string | undefined; hoursRequired?: number | undefined; partialText?: string | undefined; }[] | undefined; sensitivity?: "low" | "medium" | "high" | "critical" | undefined; leakPatterns?: string[] | undefined; notes?: string | undefined; text?: string | undefined; partial?: boolean | undefined; secretId?: string | undefined; includeRevealed?: boolean | undefined; triggeredBy?: string | undefined; event?: { type: "skill_check" | "quest_complete" | "item_interact" | "dialogue" | "location_enter" | "combat_end" | "time_passed"; skill?: string | undefined; questId?: string | undefined; itemId?: string | undefined; locationId?: string | undefined; result?: number | undefined; text?: string | undefined; hoursPassed?: number | undefined; characterId?: string | undefined; encounterId?: string | undefined; } | undefined; }, { action: string; type?: "quest" | "npc" | "custom" | "location" | "item" | "plot" | "mechanic" | undefined; worldId?: string | undefined; category?: string | undefined; name?: string | undefined; publicDescription?: string | undefined; secretDescription?: string | undefined; linkedEntityId?: string | undefined; linkedEntityType?: string | undefined; revealConditions?: { type: "skill_check" | "quest_complete" | "item_interact" | "dialogue" | "location_enter" | "combat_end" | "time_passed" | "manual"; skill?: string | undefined; dc?: number | undefined; questId?: string | undefined; itemId?: string | undefined; locationId?: string | undefined; npcId?: string | undefined; dialogueTrigger?: string | undefined; hoursRequired?: number | undefined; partialReveal?: boolean | undefined; partialText?: string | undefined; }[] | undefined; sensitivity?: "low" | "medium" | "high" | "critical" | undefined; leakPatterns?: string[] | undefined; notes?: string | undefined; text?: string | undefined; partial?: boolean | undefined; secretId?: string | undefined; includeRevealed?: boolean | undefined; triggeredBy?: string | undefined; event?: { type: "skill_check" | "quest_complete" | "item_interact" | "dialogue" | "location_enter" | "combat_end" | "time_passed"; skill?: string | undefined; questId?: string | undefined; itemId?: string | undefined; locationId?: string | undefined; result?: number | undefined; text?: string | undefined; hoursPassed?: number | undefined; characterId?: string | undefined; encounterId?: string | undefined; } | undefined; }>; }; export declare function handleSecretManage(args: unknown, _ctx: SessionContext): Promise; //# sourceMappingURL=secret-manage.d.ts.map