Files
vibe-kanban/shared/schemas/codex.json
Solomon 851678c30e fix: align sandbox and approval settings with codex for the "auto" preset (#1076)
Codex auto preset uses: sandbox=workspace-write and ask-for-approval=on-request.

Move AskForApproval docstrings to the enum level to fix the config form-builder selector.
2025-10-22 14:04:44 +01:00

138 lines
3.0 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"append_prompt": {
"title": "Append Prompt",
"description": "Extra text appended to the prompt",
"type": [
"string",
"null"
],
"format": "textarea",
"default": null
},
"sandbox": {
"description": "Sandbox policy modes for Codex",
"type": [
"string",
"null"
],
"enum": [
"auto",
"read-only",
"workspace-write",
"danger-full-access",
null
]
},
"ask_for_approval": {
"description": "Determines when the user is consulted to approve Codex actions.\n\n- `UnlessTrusted`: Read-only commands are auto-approved. Everything else will\n ask the user to approve.\n- `OnFailure`: All commands run in a restricted sandbox initially. If a\n command fails, the user is asked to approve execution without the sandbox.\n- `OnRequest`: The model decides when to ask the user for approval.\n- `Never`: Commands never ask for approval. Commands that fail in the\n restricted sandbox are not retried.",
"type": [
"string",
"null"
],
"enum": [
"unless-trusted",
"on-failure",
"on-request",
"never",
null
]
},
"oss": {
"type": [
"boolean",
"null"
]
},
"model": {
"type": [
"string",
"null"
]
},
"model_reasoning_effort": {
"description": "Reasoning effort for the underlying model",
"type": [
"string",
"null"
],
"enum": [
"low",
"medium",
"high",
null
]
},
"model_reasoning_summary": {
"description": "Model reasoning summary style",
"type": [
"string",
"null"
],
"enum": [
"auto",
"concise",
"detailed",
"none",
null
]
},
"model_reasoning_summary_format": {
"description": "Format for model reasoning summaries",
"type": [
"string",
"null"
],
"enum": [
"none",
"experimental",
null
]
},
"profile": {
"type": [
"string",
"null"
]
},
"base_instructions": {
"type": [
"string",
"null"
]
},
"include_plan_tool": {
"type": [
"boolean",
"null"
]
},
"include_apply_patch_tool": {
"type": [
"boolean",
"null"
]
},
"base_command_override": {
"title": "Base Command Override",
"description": "Override the base command with a custom command",
"type": [
"string",
"null"
]
},
"additional_params": {
"title": "Additional Parameters",
"description": "Additional parameters to append to the base command",
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
}
},
"type": "object"
}