SeekMoon Desktop and cloud-agents use this module for Moon IDE queries and workspace file events.
The native language package accepts a workspace-ownership lookup and a toolchain resolver. The host supplies them when constructing MoonCliState. Requests and replies use the shared types package. The native watch package opens a filesystem watcher with the selection used by the editor and emits workspace-relative events.
The native remote package adapts these queries for an HTTP editor. The host creates one remote.Workspace with its authorized root, toolchain paths, file check and event publisher. It passes the operation and request body to workspace.query. The package owns request fields, source-qualified locations and diagnostics payloads.