resolves the currently-open editor project's note id (null ⇒ none).
values() — list immediate children of a directory.
getDirectoryHandle(create) — create a directory.
getFile().text()/arrayBuffer() — read a file (base64 when binary).
removeEntry — delete a file or directory.
createWritable().write — write a file (data is base64 when binary).
Host-side handler for FS-adapter RPC, mirroring the HostFsAdapter/FsDirHandle surface the editor consumes. Each method returns its matching FsResult variant (or throws — serialized into a
texbrain:fs:result { ok: false }).