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 EchoAction::EchoActionServer;pub use EchoAction::ExtensionHostRegistry;pub use EchoAction::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 - 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