mirror of
https://github.com/openai/codex.git
synced 2026-10-25 18:28:38 +00:00
app-server: expose thread permission profiles
This commit is contained in:
+59
@@ -7279,6 +7279,53 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"PermissionProfile": {
|
||||
"properties": {
|
||||
"fileSystem": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/PermissionProfileFileSystemPermissions"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"network": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/AdditionalNetworkPermissions"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"PermissionProfileFileSystemPermissions": {
|
||||
"properties": {
|
||||
"entries": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/FileSystemSandboxEntry"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"globScanMaxDepth": {
|
||||
"format": "uint",
|
||||
"minimum": 1.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"entries"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"Personality": {
|
||||
"enum": [
|
||||
"none",
|
||||
@@ -11556,6 +11603,9 @@
|
||||
"modelProvider": {
|
||||
"type": "string"
|
||||
},
|
||||
"permissionProfile": {
|
||||
"$ref": "#/definitions/PermissionProfile"
|
||||
},
|
||||
"reasoningEffort": {
|
||||
"anyOf": [
|
||||
{
|
||||
@@ -11589,6 +11639,7 @@
|
||||
"cwd",
|
||||
"model",
|
||||
"modelProvider",
|
||||
"permissionProfile",
|
||||
"sandbox",
|
||||
"thread"
|
||||
],
|
||||
@@ -12940,6 +12991,9 @@
|
||||
"modelProvider": {
|
||||
"type": "string"
|
||||
},
|
||||
"permissionProfile": {
|
||||
"$ref": "#/definitions/PermissionProfile"
|
||||
},
|
||||
"reasoningEffort": {
|
||||
"anyOf": [
|
||||
{
|
||||
@@ -12973,6 +13027,7 @@
|
||||
"cwd",
|
||||
"model",
|
||||
"modelProvider",
|
||||
"permissionProfile",
|
||||
"sandbox",
|
||||
"thread"
|
||||
],
|
||||
@@ -13239,6 +13294,9 @@
|
||||
"modelProvider": {
|
||||
"type": "string"
|
||||
},
|
||||
"permissionProfile": {
|
||||
"$ref": "#/definitions/PermissionProfile"
|
||||
},
|
||||
"reasoningEffort": {
|
||||
"anyOf": [
|
||||
{
|
||||
@@ -13272,6 +13330,7 @@
|
||||
"cwd",
|
||||
"model",
|
||||
"modelProvider",
|
||||
"permissionProfile",
|
||||
"sandbox",
|
||||
"thread"
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user