mirror of
https://github.com/openai/codex.git
synced 2026-04-29 08:56:38 +00:00
feat: support cloud managed config
This commit is contained in:
@@ -6920,6 +6920,15 @@
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"apps": {
|
||||
"additionalProperties": {
|
||||
"$ref": "#/definitions/v2/ConfigRequirementsApp"
|
||||
},
|
||||
"type": [
|
||||
"object",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"enforceResidency": {
|
||||
"anyOf": [
|
||||
{
|
||||
@@ -6938,10 +6947,151 @@
|
||||
"object",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"guardianPolicyConfig": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"mcpServers": {
|
||||
"additionalProperties": {
|
||||
"$ref": "#/definitions/v2/ConfigRequirementsMcpServer"
|
||||
},
|
||||
"type": [
|
||||
"object",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"rules": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/v2/ConfigRequirementsRules"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ConfigRequirementsApp": {
|
||||
"properties": {
|
||||
"enabled": {
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ConfigRequirementsMcpServer": {
|
||||
"properties": {
|
||||
"identity": {
|
||||
"$ref": "#/definitions/v2/ConfigRequirementsMcpServerIdentity"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"identity"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"ConfigRequirementsMcpServerIdentity": {
|
||||
"oneOf": [
|
||||
{
|
||||
"properties": {
|
||||
"command": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"enum": [
|
||||
"command"
|
||||
],
|
||||
"title": "CommandConfigRequirementsMcpServerIdentityType",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"command",
|
||||
"type"
|
||||
],
|
||||
"title": "CommandConfigRequirementsMcpServerIdentity",
|
||||
"type": "object"
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
"type": {
|
||||
"enum": [
|
||||
"url"
|
||||
],
|
||||
"title": "UrlConfigRequirementsMcpServerIdentityType",
|
||||
"type": "string"
|
||||
},
|
||||
"url": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"type",
|
||||
"url"
|
||||
],
|
||||
"title": "UrlConfigRequirementsMcpServerIdentity",
|
||||
"type": "object"
|
||||
}
|
||||
]
|
||||
},
|
||||
"ConfigRequirementsPatternToken": {
|
||||
"properties": {
|
||||
"anyOf": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": [
|
||||
"array",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"token": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ConfigRequirementsPrefixRule": {
|
||||
"properties": {
|
||||
"decision": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/v2/ConfigRequirementsRuleDecision"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"justification": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"pattern": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/v2/ConfigRequirementsPatternToken"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"pattern"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"ConfigRequirementsReadResponse": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"properties": {
|
||||
@@ -6960,6 +7110,28 @@
|
||||
"title": "ConfigRequirementsReadResponse",
|
||||
"type": "object"
|
||||
},
|
||||
"ConfigRequirementsRuleDecision": {
|
||||
"enum": [
|
||||
"allow",
|
||||
"prompt",
|
||||
"forbidden"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ConfigRequirementsRules": {
|
||||
"properties": {
|
||||
"prefixRules": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/v2/ConfigRequirementsPrefixRule"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"prefixRules"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"ConfigValueWriteParams": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"properties": {
|
||||
|
||||
Reference in New Issue
Block a user