Expand description
Β§Mountain RPC Services
βοΈ π’ MOUNTAIN_SKY_ONLY - Core RPC service implementations
This module contains the complete RPC services for Mountainβs Spine contract. All services support extension hosts based on their feature gates:
Β§Service Classification by Support Level
Β§π’ GREEN - Full Support (All Hosts)
- EchoAction: Bidirectional actions, host registration, routing
- Commands: Command registration and execution
- Workspace: File operations, document management
- Configuration: Configuration read/write
Β§π‘ YELLOW - Partial Support (Grove, Cocoon)
- Windows: Webviews, documents (limited in Sky)
- Tree Views: Tree data providers (read-only in Sky)
- Language Features: Completion, diagnostics (basic in Sky)
Β§π΄ RED - Cocoon Only Services
- Terminals: Terminal emulation and pseudo-terminals
- Debug: Debug adapter protocol integration
- SCM: Source control management (git)
- Processes: Child process execution
Β§π΅ BLUE - WASM Optimized
- Document Operations: Zero-copy memory access in WASM
- File Operations: Parallel search in WASM
Β§Module Structure
Services are split into atomic submodules for granular feature gates:
RPC/
βββ EchoAction/ # βοΈ π’ Central EchoAction system
βββ Commands/ # βοΈ π’ Command registration
β βββ Validation/ # Input validation
βββ Workspace/ # βοΈ π’ File/workspace operations
βββ Configuration/ # βοΈ π’ Configuration management
βββ Windows/ # βοΈ π‘ Window and document services
βββ Terminals/ # βοΈ π΄ Terminal services (Cocoon only)
βββ Debug/ # βοΈ π΄ Debug protocol (Cocoon only)
βββ SCM/ # βοΈ π΄ Source control (Cocoon only)
βββ Processes/ # βοΈ π΄ Child processes (Cocoon only)
βββ Telemetry/ # OTEL integration
β βββ Spans/ # Span management
β βββ Metrics/ # Metrics recording
βββ types/ # Shared typesRe-exportsΒ§
pub use CocoonService::CocoonServiceImpl;pub use echo_action::EchoActionServer;pub use echo_action::ExtensionHostRegistry;pub use echo_action::ExtensionRouter;pub use commands::CommandService;pub use commands::CommandValidation;pub use workspace::WorkspaceService;pub use configuration::ConfigurationService;pub use windows::WindowService;pub use terminals::TerminalService;pub use debug::DebugService;pub use scm::SCMService;pub use processes::ProcessService;pub use telemetry::TelemetryService;pub use telemetry::metrics::ServiceMetrics;pub use telemetry::spans::TraceSpan;
ModulesΒ§
- Cocoon
Service - CocoonServiceImpl Implementation
- commands
- Commands RPC Service
- configuration
- Configuration RPC Service
- debug
- Debug Protocol RPC Service
- echo_
action - EchoAction RPC Service
- processes
- Child Processes RPC Service
- scm
- Source Control Management (SCM) RPC Service
- telemetry
- Telemetry RPC Service
- terminals
- Terminals RPC Service
- types
- Shared RPC Types
- vine
- Vine RPC Types
- windows
- Windows RPC Service
- workspace
- Workspace RPC Service