UNPKG

@vfarcic/dot-ai

Version:

AI-powered development productivity platform that enhances software development workflows through intelligent automation and AI-driven assistance

80 lines 3.09 kB
/** * Organizational Data Management Tool * * Unified MCP tool for managing organizational knowledge: deployment patterns, * governance policies, AI memory, and other institutional data. * * Currently implements: patterns * Future: policies, memory, config */ import { z } from 'zod'; import { DotAI } from '../core/index'; import { Logger } from '../core/error-handling'; export declare const ORGANIZATIONAL_DATA_TOOL_NAME = "manageOrgData"; export declare const ORGANIZATIONAL_DATA_TOOL_DESCRIPTION = "Unified tool for managing cluster data: organizational patterns, policy intents, and resource capabilities. For patterns and policies: supports create, list, get, delete, deleteAll, and search operations (patterns also support step-by-step creation workflow). For capabilities: supports scan, list, get, delete, deleteAll, and progress operations for cluster resource capability discovery and management. Use dataType parameter to specify what to manage: \"pattern\" for organizational patterns, \"policy\" for policy intents, \"capabilities\" for resource capabilities."; export declare const ORGANIZATIONAL_DATA_TOOL_INPUT_SCHEMA: { dataType: z.ZodEnum<{ capabilities: "capabilities"; pattern: "pattern"; policy: "policy"; }>; operation: z.ZodEnum<{ search: "search"; get: "get"; progress: "progress"; list: "list"; create: "create"; delete: "delete"; deleteAll: "deleteAll"; scan: "scan"; analyze: "analyze"; }>; sessionId: z.ZodOptional<z.ZodString>; step: z.ZodOptional<z.ZodString>; response: z.ZodOptional<z.ZodString>; id: z.ZodOptional<z.ZodString>; limit: z.ZodOptional<z.ZodNumber>; resource: z.ZodOptional<z.ZodObject<{ kind: z.ZodString; group: z.ZodString; apiVersion: z.ZodString; }, z.core.$strip>>; resourceList: z.ZodOptional<z.ZodString>; mode: z.ZodOptional<z.ZodEnum<{ full: "full"; }>>; collection: z.ZodOptional<z.ZodString>; interaction_id: z.ZodOptional<z.ZodString>; }; /** * Input type for organizational data tool */ export interface OrganizationalDataInput { dataType: 'pattern' | 'policy' | 'capabilities'; operation: 'create' | 'list' | 'get' | 'delete' | 'deleteAll' | 'scan' | 'analyze' | 'progress' | 'search'; sessionId?: string; step?: string; response?: string; id?: string; limit?: number; resource?: { kind: string; group: string; apiVersion: string; }; resourceList?: string; mode?: 'full'; collection?: string; interaction_id?: string; } /** * Main tool handler - routes to appropriate data type handler * PRD #359: Uses unified plugin registry - no pluginManager parameter needed */ export declare function handleOrganizationalDataTool(args: OrganizationalDataInput, _dotAI: DotAI | null, logger: Logger, requestId: string): Promise<{ content: Array<{ type: 'text'; text: string; }>; }>; //# sourceMappingURL=organizational-data.d.ts.map