/** * PluginGenerator — creates and maintains the Open Plugins manifest. * * Spec: https://open-plugins.com/plugin-builders/specification * * Generates `.plugin/plugin.json` inside the plugin directory * (.agents/plugins/agent-framework/) so any conformant tool * (Cursor, Claude Code, etc.) can discover all installed agents, skills, and rules. */ import { AgentMetadata } from './Agent'; export interface PluginManifest { name: string; version: string; description: string; author: { name: string; url: string; }; homepage: string; repository: string; license: string; keywords: string[]; agents: string; skills: string; rules: string; } /** * Returns the plugin root directory for the Open Plugins structure. */ export declare function getPluginDir(projectRoot: string): string; /** * Write (or overwrite) the `.plugin/plugin.json` manifest. * The manifest is rebuilt from the currently installed agent list each time. */ export declare function writePluginManifest(projectRoot: string, installedAgents: AgentMetadata[], frameworkVersion?: string): Promise; /** * Remove a named agent entry from the Open Plugins structure. * (File deletion is handled by AgentManager; this just updates the manifest.) */ export declare function removeFromPluginManifest(projectRoot: string, agentName: string, remainingAgents: AgentMetadata[], frameworkVersion?: string): Promise; //# sourceMappingURL=PluginGenerator.d.ts.map