codex: sync app-server schema fixtures (#16747)

This commit is contained in:
starr-openai
2026-04-03 21:47:04 -07:00
parent 29069c17a6
commit a10c96bbf2
25 changed files with 2633 additions and 17 deletions

View File

@@ -660,6 +660,224 @@
],
"type": "object"
},
"FileSystemAccessMode": {
"description": "Access mode for a filesystem entry.\n\nWhen two equally specific entries target the same path, we compare these by conflict precedence rather than by capability breadth: `none` beats `write`, and `write` beats `read`.",
"enum": [
"read",
"write",
"none"
],
"type": "string"
},
"FileSystemPath": {
"oneOf": [
{
"properties": {
"path": {
"$ref": "#/definitions/AbsolutePathBuf"
},
"type": {
"enum": [
"path"
],
"title": "PathFileSystemPathType",
"type": "string"
}
},
"required": [
"path",
"type"
],
"title": "PathFileSystemPath",
"type": "object"
},
{
"properties": {
"type": {
"enum": [
"special"
],
"title": "SpecialFileSystemPathType",
"type": "string"
},
"value": {
"$ref": "#/definitions/FileSystemSpecialPath"
}
},
"required": [
"type",
"value"
],
"title": "SpecialFileSystemPath",
"type": "object"
}
]
},
"FileSystemSandboxEntry": {
"properties": {
"access": {
"$ref": "#/definitions/FileSystemAccessMode"
},
"path": {
"$ref": "#/definitions/FileSystemPath"
}
},
"required": [
"access",
"path"
],
"type": "object"
},
"FileSystemSandboxKind": {
"enum": [
"restricted",
"unrestricted",
"external-sandbox"
],
"type": "string"
},
"FileSystemSandboxPolicy": {
"properties": {
"entries": {
"items": {
"$ref": "#/definitions/FileSystemSandboxEntry"
},
"type": "array"
},
"kind": {
"$ref": "#/definitions/FileSystemSandboxKind"
}
},
"required": [
"kind"
],
"type": "object"
},
"FileSystemSpecialPath": {
"oneOf": [
{
"properties": {
"kind": {
"enum": [
"root"
],
"type": "string"
}
},
"required": [
"kind"
],
"title": "RootFileSystemSpecialPath",
"type": "object"
},
{
"properties": {
"kind": {
"enum": [
"minimal"
],
"type": "string"
}
},
"required": [
"kind"
],
"title": "MinimalFileSystemSpecialPath",
"type": "object"
},
{
"properties": {
"kind": {
"enum": [
"current_working_directory"
],
"type": "string"
}
},
"required": [
"kind"
],
"title": "CurrentWorkingDirectoryFileSystemSpecialPath",
"type": "object"
},
{
"properties": {
"kind": {
"enum": [
"project_roots"
],
"type": "string"
},
"subpath": {
"type": [
"string",
"null"
]
}
},
"required": [
"kind"
],
"title": "KindFileSystemSpecialPath",
"type": "object"
},
{
"properties": {
"kind": {
"enum": [
"tmpdir"
],
"type": "string"
}
},
"required": [
"kind"
],
"title": "TmpdirFileSystemSpecialPath",
"type": "object"
},
{
"properties": {
"kind": {
"enum": [
"slash_tmp"
],
"type": "string"
}
},
"required": [
"kind"
],
"title": "SlashTmpFileSystemSpecialPath",
"type": "object"
},
{
"description": "WARNING: `:special_path` tokens are part of config compatibility. Do not make older runtimes reject newly introduced tokens. New parser support should be additive, while unknown values must stay representable so config from a newer Codex degrades to warn-and-ignore instead of failing to load. Codex 0.112.0 rejected unknown values here, which broke forward compatibility for newer config. Preserves future special-path tokens so older runtimes can ignore them without rejecting config authored by a newer release.",
"properties": {
"kind": {
"enum": [
"unknown"
],
"type": "string"
},
"path": {
"type": "string"
},
"subpath": {
"type": [
"string",
"null"
]
}
},
"required": [
"kind",
"path"
],
"type": "object"
}
]
},
"FsCopyParams": {
"description": "Copy a file or directory tree on the host filesystem.",
"properties": {
@@ -675,6 +893,17 @@
"description": "Required for directory copies; ignored for file copies.",
"type": "boolean"
},
"sandboxPolicy": {
"anyOf": [
{
"$ref": "#/definitions/FileSystemSandboxPolicy"
},
{
"type": "null"
}
],
"description": "Optional sandbox policy for re-invoking this filesystem operation under a sandbox."
},
"sourcePath": {
"allOf": [
{
@@ -707,6 +936,17 @@
"boolean",
"null"
]
},
"sandboxPolicy": {
"anyOf": [
{
"$ref": "#/definitions/FileSystemSandboxPolicy"
},
{
"type": "null"
}
],
"description": "Optional sandbox policy for re-invoking this filesystem operation under a sandbox."
}
},
"required": [
@@ -724,6 +964,17 @@
}
],
"description": "Absolute path to inspect."
},
"sandboxPolicy": {
"anyOf": [
{
"$ref": "#/definitions/FileSystemSandboxPolicy"
},
{
"type": "null"
}
],
"description": "Optional sandbox policy for re-invoking this filesystem operation under a sandbox."
}
},
"required": [
@@ -741,6 +992,17 @@
}
],
"description": "Absolute directory path to read."
},
"sandboxPolicy": {
"anyOf": [
{
"$ref": "#/definitions/FileSystemSandboxPolicy"
},
{
"type": "null"
}
],
"description": "Optional sandbox policy for re-invoking this filesystem operation under a sandbox."
}
},
"required": [
@@ -758,6 +1020,17 @@
}
],
"description": "Absolute path to read."
},
"sandboxPolicy": {
"anyOf": [
{
"$ref": "#/definitions/FileSystemSandboxPolicy"
},
{
"type": "null"
}
],
"description": "Optional sandbox policy for re-invoking this filesystem operation under a sandbox."
}
},
"required": [
@@ -789,6 +1062,17 @@
"boolean",
"null"
]
},
"sandboxPolicy": {
"anyOf": [
{
"$ref": "#/definitions/FileSystemSandboxPolicy"
},
{
"type": "null"
}
],
"description": "Optional sandbox policy for re-invoking this filesystem operation under a sandbox."
}
},
"required": [
@@ -840,6 +1124,17 @@
}
],
"description": "Absolute path to write."
},
"sandboxPolicy": {
"anyOf": [
{
"$ref": "#/definitions/FileSystemSandboxPolicy"
},
{
"type": "null"
}
],
"description": "Optional sandbox policy for re-invoking this filesystem operation under a sandbox."
}
},
"required": [