// schemas/plugins-schemas.ts — Zod schemas for plugin tools (SPEC-085)
import { z } from 'zod';
export const PluginActionEnum = z
    .enum(['list', 'install', 'activate', 'deactivate', 'uninstall', 'info'])
    .describe('Action: list | install | activate | deactivate | uninstall | info');
export const PluginExtensionTypeEnum = z
    .enum(['tools', 'workers', 'analyzers', 'templates'])
    .describe('Extension type: tools | workers | analyzers | templates');
export const ManagePluginsSchema = {
    action: PluginActionEnum,
    pluginId: z
        .string()
        .optional()
        .describe('Plugin ID — required for activate, deactivate, uninstall, info'),
    pluginPath: z
        .string()
        .optional()
        .describe('Filesystem path to plugin source — required for install'),
    projectPath: z.string().optional().describe('Project root path (defaults to current directory)'),
};
export const ScaffoldPluginSchema = {
    name: z.string().describe('Plugin name (lowercase, hyphens allowed, e.g. "my-plugin")'),
    description: z.string().describe('Short description of what the plugin does'),
    extensions: z
        .array(PluginExtensionTypeEnum)
        .describe('Extension types to scaffold: tools | workers | analyzers | templates'),
    outputDir: z.string().optional().describe('Output directory (defaults to current directory)'),
};
//# sourceMappingURL=plugins-schemas.js.map