Expand description
Orchestration layers for coordinating one or more tsgo workers.
The orchestration crates are where corsa can outperform naive CLI usage:
by prewarming workers, reusing snapshots, memoizing results, and replicating
editor state, higher-level workflows avoid paying full initialization cost
for every query.
§Entry Points
ApiOrchestratormanages a local pool of API workers plus caches.- distributed replication is available only with the
experimental-distributedcargo feature. DistributedApiOrchestratormirrors that state through an in-process Raft implementation for multi-node experiments and tests.
Re-exports§
pub use orchestrator::*;
Modules§
- api
- Re-exports the typed stdio API client layer used by the orchestrators.
- lsp
- Re-exports the LSP overlay types used for replicated virtual documents.
- observability
- Re-exports structured operational events used by the orchestrator configs.
- orchestrator
- Local and distributed orchestration helpers. Orchestrator implementations and replicated-state data models.
Enums§
- Tsgo
Error - Workspace-wide error type for process, transport, and protocol failures.
- Tsgo
Event - Structured runtime events that embedders can observe.
Traits§
- Tsgo
Observer - Sink for structured operational events emitted by the workspace.
Type Aliases§
- Result
- Standard result alias used across the workspace.
- Shared
Observer - Shared observer handle used across configs and transports.