| 1 | { |
| 2 | "$schema": "http://json-schema.org/draft-07/schema#", |
| 3 | "definitions": { |
| 4 | "AbsolutePathBuf": { |
| 5 | "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.", |
| 6 | "type": "string" |
| 7 | } |
| 8 | }, |
| 9 | "properties": { |
| 10 | "codexHome": { |
| 11 | "allOf": [ |
| 12 | { |
| 13 | "$ref": "#/definitions/AbsolutePathBuf" |
| 14 | } |
| 15 | ], |
| 16 | "description": "Absolute path to the server's $CODEX_HOME directory." |
| 17 | }, |
| 18 | "platformFamily": { |
| 19 | "description": "Platform family for the running app-server target, for example `\"unix\"` or `\"windows\"`.", |
| 20 | "type": "string" |
| 21 | }, |
| 22 | "platformOs": { |
| 23 | "description": "Operating system for the running app-server target, for example `\"macos\"`, `\"linux\"`, or `\"windows\"`.", |
| 24 | "type": "string" |
| 25 | }, |
| 26 | "userAgent": { |
| 27 | "type": "string" |
| 28 | } |
| 29 | }, |
| 30 | "required": [ |
| 31 | "codexHome", |
| 32 | "platformFamily", |
| 33 | "platformOs", |
| 34 | "userAgent" |
| 35 | ], |
| 36 | "title": "InitializeResponse", |
| 37 | "type": "object" |
| 38 | } |