/** * copy_template tool implementation for spec-kit * * Copies template files from the templates directory to feature directories. * Supports multiple templates, custom filenames, and special handling for * checklists (subdirectory) and agent files (repo root). * * Uses the templates module for: * - Template definitions (TEMPLATES registry) * - Template resolution (custom path first, embedded default fallback) * - Variable substitution ({{variable}} placeholders) * - Destination path calculation */ import type { AgencyTool, AgencyCoreAPI } from '@generacy-ai/agency'; import type { SpecKitConfig } from '../config.js'; /** * Create the spec_kit.copy_template tool. * * This tool copies template files from the templates directory to feature * directories. It supports copying multiple templates in a single call, * custom destination filenames for single-template copies, and special * handling for checklists (placed in checklists/ subdirectory) and agent * files (placed at repo root). * * Template content is resolved from: * 1. Custom template in config.paths.templates (if exists) * 2. Built-in embedded default content * * Variable substitution is applied using {{variable}} placeholders. * * @param config - Plugin configuration * @param _core - Agency core API (unused) * @returns AgencyTool instance */ export declare function createCopyTemplateTool(config: SpecKitConfig, _core: AgencyCoreAPI): AgencyTool; //# sourceMappingURL=copy-template.d.ts.map