/** * OpenCode ConfigReader. * * Reads and writes OpenCode configuration from opencode.json. * * Supports OpenCode v1.1.1+ permission format with: * - Simple string values: "allow" | "deny" | "ask" * - Object syntax with pattern matching for path/command patterns * * Note: The "ask" permission action is treated as "allow" when reading. * This is intentional because axrun is designed for headless operation * and doesn't support interactive prompts. Configs containing "ask" will * be interpreted as "allow" to maintain consistent non-interactive behavior. */ import type { ConfigReader } from "../types.js"; /** OpenCode ConfigReader */ declare const openCodeConfigReader: ConfigReader; export { openCodeConfigReader };