mirror of
https://github.com/openai/codex.git
synced 2026-04-25 15:15:15 +00:00
### Summary Add the v2 app-server filesystem watch RPCs and notifications, wire them through the message processor, and implement connection-scoped watches with notify-backed change delivery. This also updates the schema fixtures, app-server documentation, and the v2 integration coverage for watch and unwatch behavior. This allows clients to efficiently watch for filesystem updates, e.g. to react on branch changes. ### Testing - exercise watch lifecycles for directory changes, atomic file replacement, missing-file targets, and unwatch cleanup
15 lines
357 B
JSON
15 lines
357 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"description": "Stop filesystem watch notifications for a prior `fs/watch`.",
|
|
"properties": {
|
|
"watchId": {
|
|
"description": "Watch identifier returned by `fs/watch`.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"watchId"
|
|
],
|
|
"title": "FsUnwatchParams",
|
|
"type": "object"
|
|
} |