mirror of
https://github.com/openai/codex.git
synced 2026-04-30 17:36:40 +00:00
Add sandbox policy support to filesystem APIs
This commit is contained in:
@@ -675,6 +675,17 @@
|
||||
"description": "Required for directory copies; ignored for file copies.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"sandboxPolicy": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/SandboxPolicy"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "Optional sandbox policy for this filesystem copy."
|
||||
},
|
||||
"sourcePath": {
|
||||
"allOf": [
|
||||
{
|
||||
@@ -707,6 +718,17 @@
|
||||
"boolean",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"sandboxPolicy": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/SandboxPolicy"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "Optional sandbox policy for this filesystem mutation."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -724,6 +746,17 @@
|
||||
}
|
||||
],
|
||||
"description": "Absolute path to inspect."
|
||||
},
|
||||
"sandboxPolicy": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/SandboxPolicy"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "Optional sandbox policy for this filesystem metadata lookup."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -741,6 +774,17 @@
|
||||
}
|
||||
],
|
||||
"description": "Absolute directory path to read."
|
||||
},
|
||||
"sandboxPolicy": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/SandboxPolicy"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "Optional sandbox policy for this directory read."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -758,6 +802,17 @@
|
||||
}
|
||||
],
|
||||
"description": "Absolute path to read."
|
||||
},
|
||||
"sandboxPolicy": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/SandboxPolicy"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "Optional sandbox policy for this filesystem read."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -789,6 +844,17 @@
|
||||
"boolean",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"sandboxPolicy": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/SandboxPolicy"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "Optional sandbox policy for this filesystem mutation."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -840,6 +906,17 @@
|
||||
}
|
||||
],
|
||||
"description": "Absolute path to write."
|
||||
},
|
||||
"sandboxPolicy": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/SandboxPolicy"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "Optional sandbox policy for this filesystem write."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
|
||||
Reference in New Issue
Block a user