/** * SpecKitPlugin class implementing AgencyPlugin interface * * Provides specification management tools for structured feature development. */ import type { AgencyPlugin, PluginManifest, AgencyCoreAPI } from '@generacy-ai/agency'; import { type SpecKitConfig } from './config.js'; /** * Spec Kit plugin for Agency * * Provides specification-driven development toolkit with: * - Feature spec creation and validation * - Template-based scaffolding * - Backlog provider abstraction * - Mode affiliations (coding, research) * * @example * ```typescript * import { createSpecKitPlugin } from '@generacy-ai/agency-plugin-spec-kit'; * * const plugin = createSpecKitPlugin(); * await agency.loadPlugin(plugin); * ``` */ export declare class SpecKitPlugin implements AgencyPlugin { readonly manifest: PluginManifest; private coreAPI?; private config?; private cleanups; /** * Initialize the plugin with core API access * * Parses configuration from agency config and registers all tools. * Tools will be added in subsequent features (F5-F9). */ initialize(core: AgencyCoreAPI): Promise; /** * Clean shutdown of the plugin * * Unregisters all tools and clears internal state. */ shutdown(): Promise; /** * Handle mode changes * * Mode-specific behavior will be implemented with tools. */ onModeChange?(_mode: string): void; /** * Get the current plugin configuration * * @returns The parsed configuration or undefined if not initialized */ getConfig(): SpecKitConfig | undefined; } /** * Create a new SpecKitPlugin instance * * Factory function for consistent plugin creation. * * @returns A new SpecKitPlugin instance */ export declare function createSpecKitPlugin(): SpecKitPlugin; //# sourceMappingURL=plugin.d.ts.map