mirror of
https://github.com/openai/codex.git
synced 2026-04-28 10:21:06 +03:00
Add the v2 app-server protocol and implementation for filesystem reads, writes, directory operations, metadata, copying, and removal. This also updates the schema fixtures, app-server documentation, and the v2 integration coverage for the filesystem API surface.
33 lines
828 B
JSON
33 lines
828 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"definitions": {
|
|
"FsReadDirectoryEntry": {
|
|
"description": "A directory entry returned by `fs/readDirectory`.",
|
|
"properties": {
|
|
"fileName": {
|
|
"description": "Direct child entry name only, not an absolute or relative path.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"fileName"
|
|
],
|
|
"type": "object"
|
|
}
|
|
},
|
|
"description": "Directory entries returned by `fs/readDirectory`.",
|
|
"properties": {
|
|
"entries": {
|
|
"description": "Direct child entries in the requested directory.",
|
|
"items": {
|
|
"$ref": "#/definitions/FsReadDirectoryEntry"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"required": [
|
|
"entries"
|
|
],
|
|
"title": "FsReadDirectoryResponse",
|
|
"type": "object"
|
|
} |