185 lines
4.7 KiB
JSON
185 lines
4.7 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"$id": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json",
|
|
"title": "Oh My OpenCode Configuration",
|
|
"description": "Configuration schema for oh-my-opencode plugin",
|
|
"type": "object",
|
|
"properties": {
|
|
"$schema": {
|
|
"type": "string"
|
|
},
|
|
"disabled_mcps": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"enum": [
|
|
"websearch_exa",
|
|
"context7"
|
|
]
|
|
}
|
|
},
|
|
"disabled_agents": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"enum": [
|
|
"oracle",
|
|
"librarian",
|
|
"explore",
|
|
"frontend-ui-ux-engineer",
|
|
"document-writer"
|
|
]
|
|
}
|
|
},
|
|
"agents": {
|
|
"type": "object",
|
|
"propertyNames": {
|
|
"type": "string",
|
|
"enum": [
|
|
"oracle",
|
|
"librarian",
|
|
"explore",
|
|
"frontend-ui-ux-engineer",
|
|
"document-writer"
|
|
]
|
|
},
|
|
"additionalProperties": {
|
|
"type": "object",
|
|
"properties": {
|
|
"model": {
|
|
"type": "string"
|
|
},
|
|
"temperature": {
|
|
"type": "number",
|
|
"minimum": 0,
|
|
"maximum": 2
|
|
},
|
|
"top_p": {
|
|
"type": "number",
|
|
"minimum": 0,
|
|
"maximum": 1
|
|
},
|
|
"prompt": {
|
|
"type": "string"
|
|
},
|
|
"tools": {
|
|
"type": "object",
|
|
"propertyNames": {
|
|
"type": "string"
|
|
},
|
|
"additionalProperties": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"disable": {
|
|
"type": "boolean"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"mode": {
|
|
"type": "string",
|
|
"enum": [
|
|
"subagent",
|
|
"primary",
|
|
"all"
|
|
]
|
|
},
|
|
"color": {
|
|
"type": "string",
|
|
"pattern": "^#[0-9A-Fa-f]{6}$"
|
|
},
|
|
"permission": {
|
|
"type": "object",
|
|
"properties": {
|
|
"edit": {
|
|
"type": "string",
|
|
"enum": [
|
|
"ask",
|
|
"allow",
|
|
"deny"
|
|
]
|
|
},
|
|
"bash": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"enum": [
|
|
"ask",
|
|
"allow",
|
|
"deny"
|
|
]
|
|
},
|
|
{
|
|
"type": "object",
|
|
"propertyNames": {
|
|
"type": "string"
|
|
},
|
|
"additionalProperties": {
|
|
"type": "string",
|
|
"enum": [
|
|
"ask",
|
|
"allow",
|
|
"deny"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"webfetch": {
|
|
"type": "string",
|
|
"enum": [
|
|
"ask",
|
|
"allow",
|
|
"deny"
|
|
]
|
|
},
|
|
"doom_loop": {
|
|
"type": "string",
|
|
"enum": [
|
|
"ask",
|
|
"allow",
|
|
"deny"
|
|
]
|
|
},
|
|
"external_directory": {
|
|
"type": "string",
|
|
"enum": [
|
|
"ask",
|
|
"allow",
|
|
"deny"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"claude_code": {
|
|
"type": "object",
|
|
"description": "Toggle Claude Code compatibility features on/off. All default to true (enabled).",
|
|
"properties": {
|
|
"mcp": {
|
|
"type": "boolean",
|
|
"description": "Load MCP servers from ~/.claude/.mcp.json, ./.mcp.json, ./.claude/.mcp.json"
|
|
},
|
|
"commands": {
|
|
"type": "boolean",
|
|
"description": "Load commands from ~/.claude/commands/*.md, ./.claude/commands/*.md"
|
|
},
|
|
"skills": {
|
|
"type": "boolean",
|
|
"description": "Load skills from ~/.claude/skills/*/SKILL.md, ./.claude/skills/*/SKILL.md"
|
|
},
|
|
"agents": {
|
|
"type": "boolean",
|
|
"description": "Load agents from ~/.claude/agents/*.md, ./.claude/agents/*.md"
|
|
},
|
|
"hooks": {
|
|
"type": "boolean",
|
|
"description": "Execute hooks from ~/.claude/settings.json, ./.claude/settings.json, ./.claude/settings.local.json"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |