mirror of
https://github.com/openai/codex.git
synced 2026-04-25 07:05:38 +00:00
This allows clients to get enough information to interact with the codex skills/configuration/etc.
38 lines
1.3 KiB
JSON
38 lines
1.3 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"definitions": {
|
|
"AbsolutePathBuf": {
|
|
"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"
|
|
}
|
|
},
|
|
"properties": {
|
|
"codexHome": {
|
|
"allOf": [
|
|
{
|
|
"$ref": "#/definitions/AbsolutePathBuf"
|
|
}
|
|
],
|
|
"description": "Absolute path to the server's $CODEX_HOME directory."
|
|
},
|
|
"platformFamily": {
|
|
"description": "Platform family for the running app-server target, for example `\"unix\"` or `\"windows\"`.",
|
|
"type": "string"
|
|
},
|
|
"platformOs": {
|
|
"description": "Operating system for the running app-server target, for example `\"macos\"`, `\"linux\"`, or `\"windows\"`.",
|
|
"type": "string"
|
|
},
|
|
"userAgent": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"codexHome",
|
|
"platformFamily",
|
|
"platformOs",
|
|
"userAgent"
|
|
],
|
|
"title": "InitializeResponse",
|
|
"type": "object"
|
|
} |