/** * OpenCode config generator. * * Config file: opencode.json / opencode.jsonc * Format: * { * "$schema": "https://opencode.ai/config.json", * "mcp": { * "name": { * "type": "local", * "command": ["npx", "-y", "package"], * "environment": { "KEY": "value" }, * "enabled": true, * "timeout": 5000 * } * } * } * * Key differences from canonical: * - Root key: "mcp" (not "mcpServers") * - "command" is an ARRAY that merges command + args * - "environment" (not "env") * - Requires explicit "type": "local" | "remote" * - Has "enabled" field * - Env var syntax: {env:VAR} (no $ prefix) */ import type { AppMetadata, LooseServerConfigType } from "@getmcp/core"; import { BaseGenerator } from "./base.js"; export declare class OpenCodeGenerator extends BaseGenerator { app: AppMetadata; generate(serverName: string, config: LooseServerConfigType): Record; generateAll(servers: Record): Record; detectInstalled(): boolean; } //# sourceMappingURL=opencode.d.ts.map