/** * OpenCode Tool Installation (Legacy) * * Version Compatibility: OpenCode versions < v1.0.186 * * This module installs raggrep as an OpenCode tool for older versions of OpenCode * that do not support the skill system. Tools are TypeScript files placed in * ~/.config/opencode/tool/ that provide direct execution capabilities. * * Migration Note: * - Users should upgrade to OpenCode v1.0.186+ to use the newer skill-based approach * - This tool-based approach will be deprecated in future versions */ import type { Logger } from "../../../domain/ports"; export interface ToolInstallOptions { logger?: Logger; checkForOldSkill?: boolean; } export interface ToolInstallResult { success: boolean; toolPath?: string; message: string; removedOldSkill?: boolean; } /** * Install raggrep as an OpenCode tool for older versions */ export declare function installTool(options?: ToolInstallOptions): Promise;