File tree Expand file tree Collapse file tree
crates/registry-language-server Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -151,12 +151,21 @@ cargo run --locked -p registry-language-server
151151Use ` registry-language-server --version ` to identify a built binary. The server
152152version follows the Registry Stack workspace version.
153153
154- The server communicates over standard input and output and expects the opened workspace (or a
155- nested directory) to be inside a Registry Stack or Evidence authoring project.
154+ In its default mode, the server communicates over standard input and output and expects the
155+ opened workspace (or a nested directory) to be inside a Registry Stack or Evidence authoring
156+ project.
156157
157158For a caller-supplied Workspace v1 snapshot, ` registry-language-server --workspace-analysis `
158159reads one ` id.registrystack.org/formats/platform/workspace-analysis/v1alpha1 ` JSON request
159160from standard input and writes one JSON response. The caller supplies the exact source bytes,
160161file digests, workspace binding and declarative facts; this mode does not read source paths
161162from disk. Responses distinguish resolved references and impact from incomplete native or
162163generated coverage.
164+
165+ For a Studio Workspace v1 draft, ` registry-language-server --workspace-lsp ` serves LSP over
166+ standard input and output. Each ` registryStudio/authorizedQuery ` request carries the caller's
167+ authorization; a ready authorization supplies exact snapshot bytes and URI bindings. The server
168+ reads no workspace paths from disk in this mode and retains no snapshot between requests. Direct
169+ definition and references requests have no authorization payload and are refused. The embedding
170+ caller must authorize each query before forwarding it; this process analyzes only the supplied
171+ bytes.
You can’t perform that action at this time.
0 commit comments