{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/allOwO/opencode-codex-orch/main/assets/opencode-codex-orch.schema.json",
  "title": "opencode-codex-orch Configuration",
  "description": "Configuration schema for opencode-codex-orch plugin",
  "type": "object",
  "properties": {
    "$schema": {
      "type": "string"
    },
    "new_task_system_enabled": {
      "type": "boolean"
    },
    "default_run_agent": {
      "type": "string"
    },
    "disabled_mcps": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      }
    },
    "disabled_agents": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "disabled_skills": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "playwright",
          "agent-browser",
          "dev-browser",
          "frontend-ui-ux",
          "git-commit",
          "git-rebase",
          "git-search",
          "skill-creator"
        ]
      }
    },
    "disabled_hooks": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "disabled_commands": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "handoff",
          "init-deep",
          "refactor",
          "skill-creator",
          "stop-continuation"
        ]
      }
    },
    "disabled_tools": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "hashline_edit": {
      "type": "boolean"
    },
    "model_fallback": {
      "type": "boolean"
    },
    "agents": {
      "type": "object",
      "properties": {
        "build": {
          "type": "object",
          "properties": {
            "model": {
              "type": "string"
            },
            "fallback_models": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              ]
            },
            "variant": {
              "type": "string"
            },
            "category": {
              "type": "string",
              "enum": [
                "designer",
                "hard",
                "quick"
              ]
            },
            "skills": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "temperature": {
              "type": "number",
              "minimum": 0,
              "maximum": 2
            },
            "top_p": {
              "type": "number",
              "minimum": 0,
              "maximum": 1
            },
            "prompt": {
              "type": "string"
            },
            "prompt_append": {
              "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"
                  ]
                },
                "task": {
                  "type": "string",
                  "enum": [
                    "ask",
                    "allow",
                    "deny"
                  ]
                },
                "external_directory": {
                  "type": "string",
                  "enum": [
                    "ask",
                    "allow",
                    "deny"
                  ]
                }
              },
              "additionalProperties": false
            },
            "maxTokens": {
              "type": "number"
            },
            "thinking": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "enum": [
                    "enabled",
                    "disabled"
                  ]
                },
                "budgetTokens": {
                  "type": "number"
                }
              },
              "required": [
                "type"
              ],
              "additionalProperties": false
            },
            "reasoningEffort": {
              "type": "string",
              "enum": [
                "low",
                "medium",
                "high",
                "xhigh"
              ]
            },
            "textVerbosity": {
              "type": "string",
              "enum": [
                "low",
                "medium",
                "high"
              ]
            },
            "providerOptions": {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {}
            }
          },
          "additionalProperties": false
        },
        "plan": {
          "type": "object",
          "properties": {
            "model": {
              "type": "string"
            },
            "fallback_models": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              ]
            },
            "variant": {
              "type": "string"
            },
            "category": {
              "type": "string",
              "enum": [
                "designer",
                "hard",
                "quick"
              ]
            },
            "skills": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "temperature": {
              "type": "number",
              "minimum": 0,
              "maximum": 2
            },
            "top_p": {
              "type": "number",
              "minimum": 0,
              "maximum": 1
            },
            "prompt": {
              "type": "string"
            },
            "prompt_append": {
              "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"
                  ]
                },
                "task": {
                  "type": "string",
                  "enum": [
                    "ask",
                    "allow",
                    "deny"
                  ]
                },
                "external_directory": {
                  "type": "string",
                  "enum": [
                    "ask",
                    "allow",
                    "deny"
                  ]
                }
              },
              "additionalProperties": false
            },
            "maxTokens": {
              "type": "number"
            },
            "thinking": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "enum": [
                    "enabled",
                    "disabled"
                  ]
                },
                "budgetTokens": {
                  "type": "number"
                }
              },
              "required": [
                "type"
              ],
              "additionalProperties": false
            },
            "reasoningEffort": {
              "type": "string",
              "enum": [
                "low",
                "medium",
                "high",
                "xhigh"
              ]
            },
            "textVerbosity": {
              "type": "string",
              "enum": [
                "low",
                "medium",
                "high"
              ]
            },
            "providerOptions": {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {}
            }
          },
          "additionalProperties": false
        },
        "orchestrator": {
          "type": "object",
          "properties": {
            "model": {
              "type": "string"
            },
            "fallback_models": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              ]
            },
            "variant": {
              "type": "string"
            },
            "category": {
              "type": "string",
              "enum": [
                "designer",
                "hard",
                "quick"
              ]
            },
            "skills": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "temperature": {
              "type": "number",
              "minimum": 0,
              "maximum": 2
            },
            "top_p": {
              "type": "number",
              "minimum": 0,
              "maximum": 1
            },
            "prompt": {
              "type": "string"
            },
            "prompt_append": {
              "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"
                  ]
                },
                "task": {
                  "type": "string",
                  "enum": [
                    "ask",
                    "allow",
                    "deny"
                  ]
                },
                "external_directory": {
                  "type": "string",
                  "enum": [
                    "ask",
                    "allow",
                    "deny"
                  ]
                }
              },
              "additionalProperties": false
            },
            "maxTokens": {
              "type": "number"
            },
            "thinking": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "enum": [
                    "enabled",
                    "disabled"
                  ]
                },
                "budgetTokens": {
                  "type": "number"
                }
              },
              "required": [
                "type"
              ],
              "additionalProperties": false
            },
            "reasoningEffort": {
              "type": "string",
              "enum": [
                "low",
                "medium",
                "high",
                "xhigh"
              ]
            },
            "textVerbosity": {
              "type": "string",
              "enum": [
                "low",
                "medium",
                "high"
              ]
            },
            "providerOptions": {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {}
            }
          },
          "additionalProperties": false
        },
        "reviewer": {
          "type": "object",
          "properties": {
            "model": {
              "type": "string"
            },
            "fallback_models": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              ]
            },
            "variant": {
              "type": "string"
            },
            "category": {
              "type": "string",
              "enum": [
                "designer",
                "hard",
                "quick"
              ]
            },
            "skills": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "temperature": {
              "type": "number",
              "minimum": 0,
              "maximum": 2
            },
            "top_p": {
              "type": "number",
              "minimum": 0,
              "maximum": 1
            },
            "prompt": {
              "type": "string"
            },
            "prompt_append": {
              "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"
                  ]
                },
                "task": {
                  "type": "string",
                  "enum": [
                    "ask",
                    "allow",
                    "deny"
                  ]
                },
                "external_directory": {
                  "type": "string",
                  "enum": [
                    "ask",
                    "allow",
                    "deny"
                  ]
                }
              },
              "additionalProperties": false
            },
            "maxTokens": {
              "type": "number"
            },
            "thinking": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "enum": [
                    "enabled",
                    "disabled"
                  ]
                },
                "budgetTokens": {
                  "type": "number"
                }
              },
              "required": [
                "type"
              ],
              "additionalProperties": false
            },
            "reasoningEffort": {
              "type": "string",
              "enum": [
                "low",
                "medium",
                "high",
                "xhigh"
              ]
            },
            "textVerbosity": {
              "type": "string",
              "enum": [
                "low",
                "medium",
                "high"
              ]
            },
            "providerOptions": {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {}
            }
          },
          "additionalProperties": false
        },
        "executor": {
          "type": "object",
          "properties": {
            "model": {
              "type": "string"
            },
            "fallback_models": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              ]
            },
            "variant": {
              "type": "string"
            },
            "category": {
              "type": "string",
              "enum": [
                "designer",
                "hard",
                "quick"
              ]
            },
            "skills": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "temperature": {
              "type": "number",
              "minimum": 0,
              "maximum": 2
            },
            "top_p": {
              "type": "number",
              "minimum": 0,
              "maximum": 1
            },
            "prompt": {
              "type": "string"
            },
            "prompt_append": {
              "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"
                  ]
                },
                "task": {
                  "type": "string",
                  "enum": [
                    "ask",
                    "allow",
                    "deny"
                  ]
                },
                "external_directory": {
                  "type": "string",
                  "enum": [
                    "ask",
                    "allow",
                    "deny"
                  ]
                }
              },
              "additionalProperties": false
            },
            "maxTokens": {
              "type": "number"
            },
            "thinking": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "enum": [
                    "enabled",
                    "disabled"
                  ]
                },
                "budgetTokens": {
                  "type": "number"
                }
              },
              "required": [
                "type"
              ],
              "additionalProperties": false
            },
            "reasoningEffort": {
              "type": "string",
              "enum": [
                "low",
                "medium",
                "high",
                "xhigh"
              ]
            },
            "textVerbosity": {
              "type": "string",
              "enum": [
                "low",
                "medium",
                "high"
              ]
            },
            "providerOptions": {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {}
            }
          },
          "additionalProperties": false
        },
        "deepsearch": {
          "type": "object",
          "properties": {
            "model": {
              "type": "string"
            },
            "fallback_models": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              ]
            },
            "variant": {
              "type": "string"
            },
            "category": {
              "type": "string",
              "enum": [
                "designer",
                "hard",
                "quick"
              ]
            },
            "skills": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "temperature": {
              "type": "number",
              "minimum": 0,
              "maximum": 2
            },
            "top_p": {
              "type": "number",
              "minimum": 0,
              "maximum": 1
            },
            "prompt": {
              "type": "string"
            },
            "prompt_append": {
              "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"
                  ]
                },
                "task": {
                  "type": "string",
                  "enum": [
                    "ask",
                    "allow",
                    "deny"
                  ]
                },
                "external_directory": {
                  "type": "string",
                  "enum": [
                    "ask",
                    "allow",
                    "deny"
                  ]
                }
              },
              "additionalProperties": false
            },
            "maxTokens": {
              "type": "number"
            },
            "thinking": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "enum": [
                    "enabled",
                    "disabled"
                  ]
                },
                "budgetTokens": {
                  "type": "number"
                }
              },
              "required": [
                "type"
              ],
              "additionalProperties": false
            },
            "reasoningEffort": {
              "type": "string",
              "enum": [
                "low",
                "medium",
                "high",
                "xhigh"
              ]
            },
            "textVerbosity": {
              "type": "string",
              "enum": [
                "low",
                "medium",
                "high"
              ]
            },
            "providerOptions": {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {}
            }
          },
          "additionalProperties": false
        },
        "quicktask": {
          "type": "object",
          "properties": {
            "model": {
              "type": "string"
            },
            "fallback_models": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              ]
            },
            "variant": {
              "type": "string"
            },
            "category": {
              "type": "string",
              "enum": [
                "designer",
                "hard",
                "quick"
              ]
            },
            "skills": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "temperature": {
              "type": "number",
              "minimum": 0,
              "maximum": 2
            },
            "top_p": {
              "type": "number",
              "minimum": 0,
              "maximum": 1
            },
            "prompt": {
              "type": "string"
            },
            "prompt_append": {
              "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"
                  ]
                },
                "task": {
                  "type": "string",
                  "enum": [
                    "ask",
                    "allow",
                    "deny"
                  ]
                },
                "external_directory": {
                  "type": "string",
                  "enum": [
                    "ask",
                    "allow",
                    "deny"
                  ]
                }
              },
              "additionalProperties": false
            },
            "maxTokens": {
              "type": "number"
            },
            "thinking": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "enum": [
                    "enabled",
                    "disabled"
                  ]
                },
                "budgetTokens": {
                  "type": "number"
                }
              },
              "required": [
                "type"
              ],
              "additionalProperties": false
            },
            "reasoningEffort": {
              "type": "string",
              "enum": [
                "low",
                "medium",
                "high",
                "xhigh"
              ]
            },
            "textVerbosity": {
              "type": "string",
              "enum": [
                "low",
                "medium",
                "high"
              ]
            },
            "providerOptions": {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {}
            }
          },
          "additionalProperties": false
        },
        "OpenCode-Builder": {
          "type": "object",
          "properties": {
            "model": {
              "type": "string"
            },
            "fallback_models": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              ]
            },
            "variant": {
              "type": "string"
            },
            "category": {
              "type": "string",
              "enum": [
                "designer",
                "hard",
                "quick"
              ]
            },
            "skills": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "temperature": {
              "type": "number",
              "minimum": 0,
              "maximum": 2
            },
            "top_p": {
              "type": "number",
              "minimum": 0,
              "maximum": 1
            },
            "prompt": {
              "type": "string"
            },
            "prompt_append": {
              "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"
                  ]
                },
                "task": {
                  "type": "string",
                  "enum": [
                    "ask",
                    "allow",
                    "deny"
                  ]
                },
                "external_directory": {
                  "type": "string",
                  "enum": [
                    "ask",
                    "allow",
                    "deny"
                  ]
                }
              },
              "additionalProperties": false
            },
            "maxTokens": {
              "type": "number"
            },
            "thinking": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "enum": [
                    "enabled",
                    "disabled"
                  ]
                },
                "budgetTokens": {
                  "type": "number"
                }
              },
              "required": [
                "type"
              ],
              "additionalProperties": false
            },
            "reasoningEffort": {
              "type": "string",
              "enum": [
                "low",
                "medium",
                "high",
                "xhigh"
              ]
            },
            "textVerbosity": {
              "type": "string",
              "enum": [
                "low",
                "medium",
                "high"
              ]
            },
            "providerOptions": {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {}
            }
          },
          "additionalProperties": false
        },
        "oracle": {
          "type": "object",
          "properties": {
            "model": {
              "type": "string"
            },
            "fallback_models": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              ]
            },
            "variant": {
              "type": "string"
            },
            "category": {
              "type": "string",
              "enum": [
                "designer",
                "hard",
                "quick"
              ]
            },
            "skills": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "temperature": {
              "type": "number",
              "minimum": 0,
              "maximum": 2
            },
            "top_p": {
              "type": "number",
              "minimum": 0,
              "maximum": 1
            },
            "prompt": {
              "type": "string"
            },
            "prompt_append": {
              "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"
                  ]
                },
                "task": {
                  "type": "string",
                  "enum": [
                    "ask",
                    "allow",
                    "deny"
                  ]
                },
                "external_directory": {
                  "type": "string",
                  "enum": [
                    "ask",
                    "allow",
                    "deny"
                  ]
                }
              },
              "additionalProperties": false
            },
            "maxTokens": {
              "type": "number"
            },
            "thinking": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "enum": [
                    "enabled",
                    "disabled"
                  ]
                },
                "budgetTokens": {
                  "type": "number"
                }
              },
              "required": [
                "type"
              ],
              "additionalProperties": false
            },
            "reasoningEffort": {
              "type": "string",
              "enum": [
                "low",
                "medium",
                "high",
                "xhigh"
              ]
            },
            "textVerbosity": {
              "type": "string",
              "enum": [
                "low",
                "medium",
                "high"
              ]
            },
            "providerOptions": {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {}
            }
          },
          "additionalProperties": false
        },
        "librarian": {
          "type": "object",
          "properties": {
            "model": {
              "type": "string"
            },
            "fallback_models": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              ]
            },
            "variant": {
              "type": "string"
            },
            "category": {
              "type": "string",
              "enum": [
                "designer",
                "hard",
                "quick"
              ]
            },
            "skills": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "temperature": {
              "type": "number",
              "minimum": 0,
              "maximum": 2
            },
            "top_p": {
              "type": "number",
              "minimum": 0,
              "maximum": 1
            },
            "prompt": {
              "type": "string"
            },
            "prompt_append": {
              "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"
                  ]
                },
                "task": {
                  "type": "string",
                  "enum": [
                    "ask",
                    "allow",
                    "deny"
                  ]
                },
                "external_directory": {
                  "type": "string",
                  "enum": [
                    "ask",
                    "allow",
                    "deny"
                  ]
                }
              },
              "additionalProperties": false
            },
            "maxTokens": {
              "type": "number"
            },
            "thinking": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "enum": [
                    "enabled",
                    "disabled"
                  ]
                },
                "budgetTokens": {
                  "type": "number"
                }
              },
              "required": [
                "type"
              ],
              "additionalProperties": false
            },
            "reasoningEffort": {
              "type": "string",
              "enum": [
                "low",
                "medium",
                "high",
                "xhigh"
              ]
            },
            "textVerbosity": {
              "type": "string",
              "enum": [
                "low",
                "medium",
                "high"
              ]
            },
            "providerOptions": {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {}
            }
          },
          "additionalProperties": false
        },
        "explore": {
          "type": "object",
          "properties": {
            "model": {
              "type": "string"
            },
            "fallback_models": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              ]
            },
            "variant": {
              "type": "string"
            },
            "category": {
              "type": "string",
              "enum": [
                "designer",
                "hard",
                "quick"
              ]
            },
            "skills": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "temperature": {
              "type": "number",
              "minimum": 0,
              "maximum": 2
            },
            "top_p": {
              "type": "number",
              "minimum": 0,
              "maximum": 1
            },
            "prompt": {
              "type": "string"
            },
            "prompt_append": {
              "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"
                  ]
                },
                "task": {
                  "type": "string",
                  "enum": [
                    "ask",
                    "allow",
                    "deny"
                  ]
                },
                "external_directory": {
                  "type": "string",
                  "enum": [
                    "ask",
                    "allow",
                    "deny"
                  ]
                }
              },
              "additionalProperties": false
            },
            "maxTokens": {
              "type": "number"
            },
            "thinking": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "enum": [
                    "enabled",
                    "disabled"
                  ]
                },
                "budgetTokens": {
                  "type": "number"
                }
              },
              "required": [
                "type"
              ],
              "additionalProperties": false
            },
            "reasoningEffort": {
              "type": "string",
              "enum": [
                "low",
                "medium",
                "high",
                "xhigh"
              ]
            },
            "textVerbosity": {
              "type": "string",
              "enum": [
                "low",
                "medium",
                "high"
              ]
            },
            "providerOptions": {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {}
            }
          },
          "additionalProperties": false
        }
      },
      "additionalProperties": false
    },
    "categories": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string"
          },
          "model": {
            "type": "string"
          },
          "fallback_models": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "variant": {
            "type": "string"
          },
          "temperature": {
            "type": "number",
            "minimum": 0,
            "maximum": 2
          },
          "top_p": {
            "type": "number",
            "minimum": 0,
            "maximum": 1
          },
          "maxTokens": {
            "type": "number"
          },
          "thinking": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "enabled",
                  "disabled"
                ]
              },
              "budgetTokens": {
                "type": "number"
              }
            },
            "required": [
              "type"
            ],
            "additionalProperties": false
          },
          "reasoningEffort": {
            "type": "string",
            "enum": [
              "low",
              "medium",
              "high",
              "xhigh"
            ]
          },
          "textVerbosity": {
            "type": "string",
            "enum": [
              "low",
              "medium",
              "high"
            ]
          },
          "tools": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {
              "type": "boolean"
            }
          },
          "prompt_append": {
            "type": "string"
          },
          "max_prompt_tokens": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          },
          "is_unstable_agent": {
            "type": "boolean"
          },
          "disable": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      }
    },
    "claude_code": {
      "type": "object",
      "properties": {
        "mcp": {
          "type": "boolean"
        },
        "commands": {
          "type": "boolean"
        },
        "skills": {
          "type": "boolean"
        },
        "agents": {
          "type": "boolean"
        },
        "hooks": {
          "type": "boolean"
        },
        "plugins": {
          "type": "boolean"
        },
        "plugins_override": {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {
            "type": "boolean"
          }
        }
      },
      "additionalProperties": false
    },
    "orchestrator_agent": {
      "type": "object",
      "properties": {
        "disabled": {
          "type": "boolean"
        },
        "default_builder_enabled": {
          "type": "boolean"
        },
        "planner_enabled": {
          "type": "boolean"
        },
        "replace_plan": {
          "type": "boolean"
        }
      },
      "additionalProperties": false
    },
    "comment_checker": {
      "type": "object",
      "properties": {
        "custom_prompt": {
          "type": "string"
        }
      },
      "additionalProperties": false
    },
    "experimental": {
      "type": "object",
      "properties": {
        "aggressive_truncation": {
          "type": "boolean"
        },
        "auto_resume": {
          "type": "boolean"
        },
        "preemptive_compaction": {
          "type": "boolean"
        },
        "truncate_all_tool_outputs": {
          "type": "boolean"
        },
        "dynamic_context_pruning": {
          "type": "object",
          "properties": {
            "enabled": {
              "default": false,
              "type": "boolean"
            },
            "notification": {
              "default": "detailed",
              "type": "string",
              "enum": [
                "off",
                "minimal",
                "detailed"
              ]
            },
            "turn_protection": {
              "type": "object",
              "properties": {
                "enabled": {
                  "default": true,
                  "type": "boolean"
                },
                "turns": {
                  "default": 3,
                  "type": "number",
                  "minimum": 1,
                  "maximum": 10
                }
              },
              "required": [
                "enabled",
                "turns"
              ],
              "additionalProperties": false
            },
            "protected_tools": {
              "default": [
                "task",
                "todowrite",
                "todoread",
                "lsp_rename",
                "session_read",
                "session_write",
                "session_search"
              ],
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "strategies": {
              "type": "object",
              "properties": {
                "deduplication": {
                  "type": "object",
                  "properties": {
                    "enabled": {
                      "default": true,
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "enabled"
                  ],
                  "additionalProperties": false
                },
                "supersede_writes": {
                  "type": "object",
                  "properties": {
                    "enabled": {
                      "default": true,
                      "type": "boolean"
                    },
                    "aggressive": {
                      "default": false,
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "enabled",
                    "aggressive"
                  ],
                  "additionalProperties": false
                },
                "purge_errors": {
                  "type": "object",
                  "properties": {
                    "enabled": {
                      "default": true,
                      "type": "boolean"
                    },
                    "turns": {
                      "default": 5,
                      "type": "number",
                      "minimum": 1,
                      "maximum": 20
                    }
                  },
                  "required": [
                    "enabled",
                    "turns"
                  ],
                  "additionalProperties": false
                }
              },
              "additionalProperties": false
            }
          },
          "required": [
            "enabled",
            "notification",
            "protected_tools"
          ],
          "additionalProperties": false
        },
        "task_system": {
          "type": "boolean"
        },
        "plugin_load_timeout_ms": {
          "type": "number",
          "minimum": 1000
        },
        "safe_hook_creation": {
          "type": "boolean"
        },
        "disable_oco_env": {
          "type": "boolean"
        },
        "disable_omo_env": {
          "type": "boolean"
        },
        "hashline_edit": {
          "type": "boolean"
        },
        "model_fallback_title": {
          "type": "boolean"
        }
      },
      "additionalProperties": false
    },
    "auto_update": {
      "type": "boolean"
    },
    "skills": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        {
          "type": "object",
          "properties": {
            "sources": {
              "type": "array",
              "items": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "path": {
                        "type": "string"
                      },
                      "recursive": {
                        "type": "boolean"
                      },
                      "glob": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "path"
                    ],
                    "additionalProperties": false
                  }
                ]
              }
            },
            "enable": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "disable": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          "additionalProperties": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "object",
                "properties": {
                  "description": {
                    "type": "string"
                  },
                  "template": {
                    "type": "string"
                  },
                  "from": {
                    "type": "string"
                  },
                  "model": {
                    "type": "string"
                  },
                  "agent": {
                    "type": "string"
                  },
                  "subtask": {
                    "type": "boolean"
                  },
                  "argument-hint": {
                    "type": "string"
                  },
                  "license": {
                    "type": "string"
                  },
                  "compatibility": {
                    "type": "string"
                  },
                  "metadata": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {}
                  },
                  "allowed-tools": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "disable": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              }
            ]
          }
        }
      ]
    },
    "ralph_loop": {
      "type": "object",
      "properties": {
        "enabled": {
          "default": false,
          "type": "boolean"
        },
        "default_max_iterations": {
          "default": 100,
          "type": "number",
          "minimum": 1,
          "maximum": 1000
        },
        "state_dir": {
          "type": "string"
        },
        "default_strategy": {
          "default": "continue",
          "type": "string",
          "enum": [
            "reset",
            "continue"
          ]
        }
      },
      "required": [
        "enabled",
        "default_max_iterations",
        "default_strategy"
      ],
      "additionalProperties": false
    },
    "runtime_fallback": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "object",
          "properties": {
            "enabled": {
              "type": "boolean"
            },
            "retry_on_errors": {
              "type": "array",
              "items": {
                "type": "number"
              }
            },
            "max_fallback_attempts": {
              "type": "number",
              "minimum": 1,
              "maximum": 20
            },
            "cooldown_seconds": {
              "type": "number",
              "minimum": 0
            },
            "timeout_seconds": {
              "type": "number",
              "minimum": 0
            },
            "notify_on_fallback": {
              "type": "boolean"
            }
          },
          "additionalProperties": false
        }
      ]
    },
    "background_task": {
      "type": "object",
      "properties": {
        "defaultConcurrency": {
          "type": "number",
          "minimum": 1
        },
        "providerConcurrency": {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {
            "type": "number",
            "minimum": 0
          }
        },
        "modelConcurrency": {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {
            "type": "number",
            "minimum": 0
          }
        },
        "staleTimeoutMs": {
          "type": "number",
          "minimum": 60000
        },
        "messageStalenessTimeoutMs": {
          "type": "number",
          "minimum": 60000
        },
        "syncPollTimeoutMs": {
          "type": "number",
          "minimum": 60000
        }
      },
      "additionalProperties": false
    },
    "notification": {
      "type": "object",
      "properties": {
        "force_enable": {
          "type": "boolean"
        }
      },
      "additionalProperties": false
    },
    "babysitting": {
      "type": "object",
      "properties": {
        "timeout_ms": {
          "default": 120000,
          "type": "number"
        }
      },
      "required": [
        "timeout_ms"
      ],
      "additionalProperties": false
    },
    "browser_automation_engine": {
      "type": "object",
      "properties": {
        "provider": {
          "default": "playwright",
          "type": "string",
          "enum": [
            "playwright",
            "agent-browser",
            "dev-browser",
            "playwright-cli"
          ]
        }
      },
      "required": [
        "provider"
      ],
      "additionalProperties": false
    },
    "websearch": {
      "type": "object",
      "properties": {
        "provider": {
          "type": "string",
          "enum": [
            "exa",
            "tavily"
          ]
        }
      },
      "additionalProperties": false
    },
    "tmux": {
      "type": "object",
      "properties": {
        "enabled": {
          "default": false,
          "type": "boolean"
        },
        "layout": {
          "default": "main-vertical",
          "type": "string",
          "enum": [
            "main-horizontal",
            "main-vertical",
            "tiled",
            "even-horizontal",
            "even-vertical"
          ]
        },
        "main_pane_size": {
          "default": 60,
          "type": "number",
          "minimum": 20,
          "maximum": 80
        },
        "main_pane_min_width": {
          "default": 120,
          "type": "number",
          "minimum": 40
        },
        "agent_pane_min_width": {
          "default": 40,
          "type": "number",
          "minimum": 20
        }
      },
      "required": [
        "enabled",
        "layout",
        "main_pane_size",
        "main_pane_min_width",
        "agent_pane_min_width"
      ],
      "additionalProperties": false
    },
    "orchestrator": {
      "type": "object",
      "properties": {
        "tasks": {
          "type": "object",
          "properties": {
            "storage_path": {
              "type": "string"
            },
            "task_list_id": {
              "type": "string"
            },
            "claude_code_compat": {
              "default": false,
              "type": "boolean"
            }
          },
          "required": [
            "claude_code_compat"
          ],
          "additionalProperties": false
        }
      },
      "additionalProperties": false
    },
    "start_work": {
      "type": "object",
      "properties": {
        "auto_commit": {
          "default": true,
          "type": "boolean"
        }
      },
      "required": [
        "auto_commit"
      ],
      "additionalProperties": false
    },
    "lsp": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": "object",
        "properties": {
          "disabled": {
            "type": "boolean"
          },
          "command": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "extensions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "priority": {
            "type": "number"
          },
          "env": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {
              "type": "string"
            }
          },
          "initialization": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      }
    },
    "_migrations": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "additionalProperties": false
}