/** * OpenCode templates * * These are GENERIC templates for user projects. * * Directory structure: * opencode/ * ├── commands/ # Slash commands * ├── agents/ # Multi-agent pipeline agents * ├── lib/ # Shared library code * └── plugin/ # Plugin hooks */ /** * Command template with name and content */ export interface CommandTemplate { name: string; content: string; } /** * Agent template with name and content */ export interface AgentTemplate { name: string; content: string; } /** * Plugin file template with target path and content */ export interface PluginTemplate { targetPath: string; content: string; } /** * Get all command templates * Commands are stored in commands/aim/ subdirectory * This creates commands like /aim:start, /aim:finish-work, etc. */ export declare function getAllCommands(): CommandTemplate[]; /** * Get all agent templates */ export declare function getAllAgents(): AgentTemplate[]; /** * Get all plugin files (lib + plugin directories) */ export declare function getAllPlugins(): PluginTemplate[]; //# sourceMappingURL=index.d.ts.map