mirror of
https://github.com/openai/codex.git
synced 2026-09-04 15:08:45 +00:00
## What changed - Add `maxSessionAgeDays` and `maxSessions` to the external-agent config detection request. - Apply the requested limits when discovering sessions from supported migration sources. - Preserve the existing defaults of a 30-day maximum age and 50 sessions when either option is omitted. GitOrigin-RevId: 46376e94b64f1f61d8776e34d82cdd2cdeb36ca0
53 lines
1.4 KiB
JSON
Generated
53 lines
1.4 KiB
JSON
Generated
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"properties": {
|
|
"cwds": {
|
|
"description": "Zero or more working directories to include for repo-scoped detection.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": [
|
|
"array",
|
|
"null"
|
|
]
|
|
},
|
|
"includeHome": {
|
|
"description": "If true, include detection under the user's home directory.",
|
|
"type": "boolean"
|
|
},
|
|
"maxSessionAgeDays": {
|
|
"description": "Maximum age in days for detected sessions. Missing values use the default limit.",
|
|
"format": "uint32",
|
|
"minimum": 0.0,
|
|
"type": [
|
|
"integer",
|
|
"null"
|
|
]
|
|
},
|
|
"maxSessions": {
|
|
"description": "Maximum number of sessions to detect. Missing values use the default limit.",
|
|
"format": "uint32",
|
|
"minimum": 0.0,
|
|
"type": [
|
|
"integer",
|
|
"null"
|
|
]
|
|
},
|
|
"migrationSource": {
|
|
"description": "Optional migration-source selector. Missing or unrecognized values use the default source.",
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"source": {
|
|
"description": "Deprecated field retained for compatibility. This field is ignored; use `migrationSource` to select the migration source.",
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
}
|
|
},
|
|
"title": "ExternalAgentConfigDetectParams",
|
|
"type": "object"
|
|
} |