mirror of
https://github.com/openai/codex.git
synced 2026-04-29 00:55:38 +00:00
Add sandbox policy support to filesystem APIs
This commit is contained in:
@@ -4182,6 +4182,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": [
|
||||
{
|
||||
@@ -4222,6 +4233,17 @@
|
||||
"boolean",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"sandboxPolicy": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/SandboxPolicy"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "Optional sandbox policy for this filesystem mutation."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -4247,6 +4269,17 @@
|
||||
}
|
||||
],
|
||||
"description": "Absolute path to inspect."
|
||||
},
|
||||
"sandboxPolicy": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/SandboxPolicy"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "Optional sandbox policy for this filesystem metadata lookup."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -4321,6 +4354,17 @@
|
||||
}
|
||||
],
|
||||
"description": "Absolute directory path to read."
|
||||
},
|
||||
"sandboxPolicy": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/SandboxPolicy"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "Optional sandbox policy for this directory read."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -4358,6 +4402,17 @@
|
||||
}
|
||||
],
|
||||
"description": "Absolute path to read."
|
||||
},
|
||||
"sandboxPolicy": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/SandboxPolicy"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "Optional sandbox policy for this filesystem read."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -4406,6 +4461,17 @@
|
||||
"boolean",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"sandboxPolicy": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/SandboxPolicy"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "Optional sandbox policy for this filesystem mutation."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -4499,6 +4565,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