mirror of
https://github.com/openai/codex.git
synced 2026-04-24 06:35:50 +00:00
It's easier for clients to maintain watchers if they define the watch id, so move it into the request. It's not used yet, so should be a safe change.
25 lines
864 B
JSON
25 lines
864 B
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"
|
|
}
|
|
},
|
|
"description": "Successful response for `fs/watch`.",
|
|
"properties": {
|
|
"path": {
|
|
"allOf": [
|
|
{
|
|
"$ref": "#/definitions/AbsolutePathBuf"
|
|
}
|
|
],
|
|
"description": "Canonicalized path associated with the watch."
|
|
}
|
|
},
|
|
"required": [
|
|
"path"
|
|
],
|
|
"title": "FsWatchResponse",
|
|
"type": "object"
|
|
} |