mirror of
https://github.com/openai/codex.git
synced 2026-05-01 11:52:10 +03:00
@@ -85,34 +85,111 @@
|
||||
"additionalProperties": false,
|
||||
"description": "Config values for a single app/connector.",
|
||||
"properties": {
|
||||
"disabled_reason": {
|
||||
"default_tools_approval_mode": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/AppDisabledReason"
|
||||
"$ref": "#/definitions/AppToolApproval"
|
||||
}
|
||||
],
|
||||
"description": "Reason this app was disabled."
|
||||
"description": "Approval mode for tools in this app unless a tool override exists."
|
||||
},
|
||||
"default_tools_enabled": {
|
||||
"description": "Whether tools are enabled by default for this app.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"destructive_enabled": {
|
||||
"description": "Whether tools with `destructive_hint = true` are allowed for this app.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"enabled": {
|
||||
"default": true,
|
||||
"description": "When `false`, Codex does not surface this app.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"open_world_enabled": {
|
||||
"description": "Whether tools with `open_world_hint = true` are allowed for this app.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"tools": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/AppToolsConfig"
|
||||
}
|
||||
],
|
||||
"description": "Per-tool settings for this app."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"AppDisabledReason": {
|
||||
"AppToolApproval": {
|
||||
"enum": [
|
||||
"unknown",
|
||||
"user"
|
||||
"auto",
|
||||
"prompt",
|
||||
"approve"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"AppToolConfig": {
|
||||
"additionalProperties": false,
|
||||
"description": "Per-tool settings for a single app tool.",
|
||||
"properties": {
|
||||
"approval_mode": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/AppToolApproval"
|
||||
}
|
||||
],
|
||||
"description": "Approval mode for this tool."
|
||||
},
|
||||
"enabled": {
|
||||
"description": "Whether this tool is enabled. `Some(true)` explicitly allows this tool.",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"AppToolsConfig": {
|
||||
"additionalProperties": {
|
||||
"$ref": "#/definitions/AppToolConfig"
|
||||
},
|
||||
"description": "Tool settings for a single app.",
|
||||
"type": "object"
|
||||
},
|
||||
"AppsConfigToml": {
|
||||
"additionalProperties": {
|
||||
"$ref": "#/definitions/AppConfig"
|
||||
},
|
||||
"description": "App/connector settings loaded from `config.toml`.",
|
||||
"properties": {
|
||||
"_default": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/AppsDefaultConfig"
|
||||
}
|
||||
],
|
||||
"description": "Default settings for all apps."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"AppsDefaultConfig": {
|
||||
"additionalProperties": false,
|
||||
"description": "Default settings that apply to all apps.",
|
||||
"properties": {
|
||||
"destructive_enabled": {
|
||||
"description": "Whether tools with `destructive_hint = true` are allowed by default.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"enabled": {
|
||||
"default": true,
|
||||
"description": "When `false`, apps are disabled unless overridden by per-app settings.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"open_world_enabled": {
|
||||
"description": "Whether tools with `open_world_hint = true` are allowed by default.",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"AskForApproval": {
|
||||
|
||||
Reference in New Issue
Block a user