mirror of
https://github.com/openai/codex.git
synced 2026-11-21 22:50:37 +00:00
config: add cloud-managed layer provenance
This commit is contained in:
@@ -5,6 +5,14 @@
|
||||
"description": "A path that is guaranteed to be absolute and normalized (though it is not guaranteed to be canonicalized or exist on the filesystem).\n\nIMPORTANT: When deserializing an `AbsolutePathBuf`, a base path must be set using [AbsolutePathBufGuard::new]. If no base path is set, the deserialization will fail unless the path being deserialized is already absolute.",
|
||||
"type": "string"
|
||||
},
|
||||
"CloudManagedLayer": {
|
||||
"description": "Position of a fragment within the cloud-managed configuration contract.",
|
||||
"enum": [
|
||||
"baseline",
|
||||
"systemOverlay"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ConfigLayerMetadata": {
|
||||
"properties": {
|
||||
"name": {
|
||||
@@ -100,6 +108,42 @@
|
||||
"title": "EnterpriseManagedConfigLayerSource",
|
||||
"type": "object"
|
||||
},
|
||||
{
|
||||
"description": "Config fragment delivered through the cloud-managed layer contract.",
|
||||
"properties": {
|
||||
"id": {
|
||||
"description": "Stable identifier for the delivered fragment.",
|
||||
"type": "string"
|
||||
},
|
||||
"layer": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/CloudManagedLayer"
|
||||
}
|
||||
],
|
||||
"description": "Precedence tier that contains the fragment."
|
||||
},
|
||||
"name": {
|
||||
"description": "Human-readable name for diagnostics and source attribution.",
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"enum": [
|
||||
"cloudManaged"
|
||||
],
|
||||
"title": "CloudManagedConfigLayerSourceType",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"layer",
|
||||
"name",
|
||||
"type"
|
||||
],
|
||||
"title": "CloudManagedConfigLayerSource",
|
||||
"type": "object"
|
||||
},
|
||||
{
|
||||
"description": "User config layer from $CODEX_HOME/config.toml. This layer is special in that it is expected to be: - writable by the user - generally outside the workspace directory",
|
||||
"properties": {
|
||||
|
||||
Reference in New Issue
Block a user