Expand description
Zed-facing helpers for shipwright host integrations.
Zed extensions often cannot run native --version probes before the
language server starts. This crate re-exports the pure host resolver and
adds small helpers for representing deferred LSP checks and validating the
serverInfo payload returned from LSP initialize.
Structs§
- Dotnet
Tool Config dotnet toolmetadata for thedotnet-toolsource.- EnvConfig
- Env-var names this component consults.
- Error
Details - Expected-vs-found details for a mismatch error.
- LspServer
Info - The
serverInfosubset Zed can verify from an LSP initialize response. - Pkgmgr
Config - Package-manager install targets for the
pkgmgrsource. - Probed
Version - Probe result: what
<binary> --versionreports. - Resolution
- Final output of
resolve. - Resolve
Input - Runtime inputs for a single resolve call.
Enums§
- Deferred
Check - Deferred check kinds.
- Error
Code - Known error codes.
- Platform
- Canonical platform identifiers. Mirrors
schemas/platforms.json. - Prompt
Action - Actionable prompt payload.
- Source
- Ordered discovery sources declared in
shipwright.schema.json. - Status
- High-level outcome category.
- Warning
Code - Known warning codes.
Functions§
- deferred_
lsp_ resolution - Build a deferred LSP version-check result for a resolved command path.
- resolve
- The single entry point. Every host library (TS, Kotlin, C#, Dart, Zed)
ports this function and passes
schemas/test-vectors.jsonbit-for-bit. - verify_
lsp_ server_ info - Verify LSP
serverInfoagainst the manifest component id and version.