Expand description
Re-exports the tsgo stdio API bindings.
Modules§
- api
- Typed bindings for the
tsgostdio API surface. Typed request/response layer for thetsgostdio API. - error
- Re-exports shared error types used by the client APIs.
- jsonrpc
- Re-exports low-level JSON-RPC helpers used by the stdio client transport.
- lsp_
types - Re-exports shared LSP model types used by editor-style API responses.
- observability
- Re-exports structured operational events used by the client configs.
- process
- Re-exports process-spawning primitives used to launch
tsgo.
Structs§
- ApiClient
- High-level client for the tsgo stdio API.
- ApiProfile
- Named API profile reused by orchestrators and caches.
- ApiProfile
Event - Single profiling sample emitted by the optional API profiler.
- ApiSpawn
Config - Process configuration for spawning a tsgo API worker.
- Capabilities
Response - Runtime capability summary returned by
describeCapabilities. - Config
Response - Parsed
tsconfigmetadata returned byparseConfigFile. - Diagnostics
Capabilities - Diagnostics API support grouped by scope.
- Directory
Entries - Directory listing returned by
getAccessibleEntries. - Document
Position - A UTF-16 position inside a document.
- Editor
Capabilities - Editor API support grouped by feature.
- Encoded
Payload - Opaque binary payload returned by binary tsgo endpoints.
- File
Change Summary - Per-file snapshot delta grouped by operation kind.
- File
Diagnostics Response - Diagnostics for a single file grouped by TypeScript category.
- File
System Capabilities - Declares which filesystem callbacks are implemented by an
ApiFileSystem. - Index
Info - Index signature information returned by checker queries.
- Initialize
Response - Response returned by the
initializeendpoint. - Managed
Snapshot - Live snapshot handle with automatic release-on-drop semantics.
- Node
Handle - Opaque handle returned by tsgo.
- Overlay
Capabilities - Overlay support exposed by the runtime.
- Overlay
Changes - Overlay delta accepted by
updateSnapshot. - Overlay
Update - In-memory document update applied through
updateSnapshot. - Print
Node Options - Formatting knobs accepted by the
printNodeendpoint. - Project
Diagnostics Response - Diagnostics for every file in a project.
- Project
Handle - Opaque handle returned by tsgo.
- Project
Response - Project descriptor returned by endpoints that resolve a project handle.
- Project
Session - Snapshot-backed project session for repeated checker queries.
- Runtime
Capabilities - Runtime identity details for the active worker.
- Signature
Handle - Opaque handle returned by tsgo.
- Signature
Response - Call signature metadata returned by checker-oriented endpoints.
- Snapshot
Changes - Project-level delta information returned by tsgo.
- Snapshot
Diagnostics Response - Diagnostics for every project in a snapshot.
- Snapshot
Handle - Opaque handle returned by tsgo.
- Symbol
Handle - Opaque handle returned by tsgo.
- Symbol
Response - Symbol metadata returned by
tsgo. - Type
Handle - Opaque handle returned by tsgo.
- Type
Predicate Response - Type predicate metadata such as
value is Foo. - Type
Probe - Aggregated checker view of a type at a single query site.
- Type
Probe Options - Options that control how much checker detail is loaded for a type probe.
- Type
Response - Type metadata returned by checker-oriented endpoints.
- Update
Snapshot Params - Parameters passed to
ApiClient::update_snapshot.
Enums§
- ApiMode
- Transport mode used to talk to the tsgo API.
- ApiProfile
Phase - Fine-grained client request phase used by optional profiling hooks.
- Document
Identifier - File or URI identifier accepted by tsgo API endpoints.
- File
Changes - Change payload accepted by
updateSnapshot. - Read
File Result - Result of a
readFilecallback. - Tsgo
Error - Workspace-wide error type for process, transport, and protocol failures.
- Tsgo
Event - Structured runtime events that embedders can observe.
Traits§
- ApiFile
System - Filesystem interface exposed to tsgo.
- ApiProfiler
- Sink for fine-grained API profiling samples.
- Tsgo
Observer - Sink for structured operational events emitted by the workspace.
Functions§
- callback_
flag - Renders the
--callbacks=...argument for a filesystem implementation. - callback_
names - Returns the enabled callback names in the order expected by tsgo.
Type Aliases§
- Result
- Standard result alias used across the workspace.
- Shared
Observer - Shared observer handle used across configs and transports.
- Shared
Profiler - Shared profiler handle passed through spawn configs and clients.