2026-02-12 10:49:44 -08:00
|
|
|
{
|
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
|
|
|
"definitions": {
|
2026-03-18 22:24:09 -07:00
|
|
|
"FuzzyFileSearchMatchType": {
|
|
|
|
|
"enum": [
|
|
|
|
|
"file",
|
|
|
|
|
"directory"
|
|
|
|
|
],
|
|
|
|
|
"type": "string"
|
|
|
|
|
},
|
2026-02-12 10:49:44 -08:00
|
|
|
"FuzzyFileSearchResult": {
|
|
|
|
|
"description": "Superset of [`codex_file_search::FileMatch`]",
|
|
|
|
|
"properties": {
|
|
|
|
|
"file_name": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
},
|
|
|
|
|
"indices": {
|
|
|
|
|
"items": {
|
|
|
|
|
"format": "uint32",
|
|
|
|
|
"minimum": 0.0,
|
|
|
|
|
"type": "integer"
|
|
|
|
|
},
|
|
|
|
|
"type": [
|
|
|
|
|
"array",
|
|
|
|
|
"null"
|
|
|
|
|
]
|
|
|
|
|
},
|
2026-03-18 22:24:09 -07:00
|
|
|
"match_type": {
|
|
|
|
|
"$ref": "#/definitions/FuzzyFileSearchMatchType"
|
|
|
|
|
},
|
2026-02-12 10:49:44 -08:00
|
|
|
"path": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
},
|
|
|
|
|
"root": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
},
|
|
|
|
|
"score": {
|
|
|
|
|
"format": "uint32",
|
|
|
|
|
"minimum": 0.0,
|
|
|
|
|
"type": "integer"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"required": [
|
|
|
|
|
"file_name",
|
2026-03-18 22:24:09 -07:00
|
|
|
"match_type",
|
2026-02-12 10:49:44 -08:00
|
|
|
"path",
|
|
|
|
|
"root",
|
|
|
|
|
"score"
|
|
|
|
|
],
|
|
|
|
|
"type": "object"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"properties": {
|
|
|
|
|
"files": {
|
|
|
|
|
"items": {
|
|
|
|
|
"$ref": "#/definitions/FuzzyFileSearchResult"
|
|
|
|
|
},
|
|
|
|
|
"type": "array"
|
|
|
|
|
},
|
|
|
|
|
"query": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
},
|
|
|
|
|
"sessionId": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"required": [
|
|
|
|
|
"files",
|
|
|
|
|
"query",
|
|
|
|
|
"sessionId"
|
|
|
|
|
],
|
|
|
|
|
"title": "FuzzyFileSearchSessionUpdatedNotification",
|
|
|
|
|
"type": "object"
|
|
|
|
|
}
|