"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.OpencodeAdapter = void 0;
class OpencodeAdapter {
    constructor() {
        this.tool = 'opencode';
    }
    buildCommand(_permissionMode, _continueSession) {
        // opencode TUI is the default command — no permission flags needed.
        // opencode has no --yolo or equivalent; auto-approve is configured via its own config.
        return 'opencode';
    }
    supportsContinue() { return false; }
    // OpenCode uses SQLite — session reading not yet supported
    getSessionDir() { return null; }
    parseLineBlocks() { return null; }
    // Hooks: not yet investigated for opencode
    getHooksSettingsPath() { return null; }
    getHookEvents() { return []; }
    buildHookCommand() { return null; }
    getCurrentModel() { return null; }
    getAvailableModels() { return []; }
    getSkills() { return null; }
    async queryUsage() { return {}; }
    clearUsageCache() { }
    getProjectInstructionsFilename() { return 'AGENTS.md'; }
}
exports.OpencodeAdapter = OpencodeAdapter;
//# sourceMappingURL=opencode-adapter.js.map