/** * Agent adapter: OpenCode * * MCP config : opencode.json (project root) * Hint file : AGENTS.md (OpenCode reads this automatically each session) * * OpenCode uses a different MCP config shape than other agents: * { * "mcp": { * "webiny": { "type": "local", "command": ["npx", "webiny", "mcp-server"], "enabled": true } * } * } * * Docs: https://opencode.ai/docs/mcp-servers/ */ import type { IUi } from "../ui.js"; import type { AgentPreset } from "./types.js"; export declare const preset: AgentPreset; interface InitParams { ui: IUi; cwd: string; } export declare function init({ ui, cwd }: InitParams): Promise; export {};