Skip to main content

Crate corsa_orchestrator

Crate corsa_orchestrator 

Source
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

  • ApiOrchestrator manages a local pool of API workers plus caches.
  • distributed replication is available only with the experimental-distributed cargo feature.
  • DistributedApiOrchestrator mirrors 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§

TsgoError
Workspace-wide error type for process, transport, and protocol failures.
TsgoEvent
Structured runtime events that embedders can observe.

Traits§

TsgoObserver
Sink for structured operational events emitted by the workspace.

Type Aliases§

Result
Standard result alias used across the workspace.
SharedObserver
Shared observer handle used across configs and transports.