Types
FilesystemTypeOption = enum typeFile = "file", typeDirectory = "directory"
GetApiFsFindResponse = object
GetApiFsListResponse = object
Procs
proc getApiFsFind(client: OpencodeClient; location: JsonNode = default(JsonNode); query: string; type: set[FilesystemTypeOption] = {}; limit: string = default(string)): Future[GetApiFsFindResponse] {. ...stackTrace: false, raises: [Exception, ValueError, KeyError, HttpRequestError, LibraryError, SslError, OSError, IOError, ProtocolError, OpenParserJsonError, OpencodeClientError], tags: [RootEffect, ReadIOEffect, TimeEffect], forbids: [].}
- Find recursively ranked filesystem entries relative to the requested location.
proc getApiFsList(client: OpencodeClient; location: JsonNode = default(JsonNode); path: string = default(string)): Future[GetApiFsListResponse] {. ...stackTrace: false, raises: [Exception, ValueError, KeyError, HttpRequestError, LibraryError, SslError, OSError, IOError, ProtocolError, OpenParserJsonError, OpencodeClientError], tags: [RootEffect, ReadIOEffect, TimeEffect], forbids: [].}
- List direct children of one directory relative to the requested location.
proc getApiFsRead(client: OpencodeClient; location: JsonNode = default(JsonNode)): Future[ AsyncResponse] {....stackTrace: false, raises: [Exception, ValueError, KeyError, HttpRequestError, LibraryError, SslError, OSError, IOError, ProtocolError], tags: [RootEffect, ReadIOEffect, TimeEffect], forbids: [].}
- Serve one file relative to the requested location.