ring/platforms/opencode/ring-config.schema.json

141 lines
3.3 KiB
JSON
Raw Normal View History

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/LerianStudio/ring-for-opencode/main/assets/ring-config.schema.json",
"title": "Ring Configuration",
"description": "Configuration schema for Ring",
"type": "object",
"properties": {
"$schema": {
"type": "string"
},
"disabled_hooks": {
"default": [],
"type": "array",
"items": {
"type": "string",
"enum": [
"session-start",
"context-injection"
]
}
},
"disabled_agents": {
"default": [],
"type": "array",
"items": {
"type": "string",
"enum": [
"code-reviewer",
"security-reviewer",
"business-logic-reviewer",
"test-reviewer",
"nil-safety-reviewer",
"consequences-reviewer",
"dead-code-reviewer",
"codebase-explorer",
"write-plan",
"backend-engineer-golang",
"backend-engineer-typescript",
"frontend-engineer",
"frontend-designer",
"devops-engineer",
"sre",
"qa-analyst"
]
}
},
"disabled_skills": {
"default": [],
"type": "array",
"items": {
"type": "string",
"enum": [
"using-ring-opencode",
"test-driven-development",
"requesting-code-review",
"writing-plans",
"executing-plans",
"brainstorming",
"linting-codebase",
"using-git-worktrees",
"exploring-codebase",
"handoff-tracking",
"interviewing-user",
"receiving-code-review",
"using-dev-team",
"writing-skills",
"dev-cycle",
"dev-devops",
"dev-feedback-loop",
"dev-implementation",
"dev-refactor",
"dev-sre",
"dev-testing",
"dev-validation",
"visual-explainer"
]
}
},
"disabled_commands": {
"default": [],
"type": "array",
"items": {
"type": "string",
"enum": [
"brainstorm",
"codereview",
"commit",
"create-handoff",
"dev-cancel",
"dev-cycle",
"dev-refactor",
"dev-report",
"dev-status",
"execute-plan",
"explore-codebase",
"lint",
"md-to-html",
"worktree",
"write-plan"
]
}
},
"experimental": {
"default": {
"preemptiveCompaction": false,
"compactionThreshold": 0.8,
"aggressiveTruncation": false
},
"type": "object",
"properties": {
"preemptiveCompaction": {
"default": false,
"type": "boolean"
},
"compactionThreshold": {
"default": 0.8,
"type": "number",
"minimum": 0.5,
"maximum": 0.95
},
"aggressiveTruncation": {
"default": false,
"type": "boolean"
}
}
},
"hooks": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
}
}
}