Skip to main content

Crate SideCar

Crate SideCar 

Source
Expand description

§SideCar: Pre-Built Node.js Binary Manager

Cocoon needs Node.js to run VS Code extensions. SideCar manages the embedded Node.js binary: downloading platform-specific builds, verifying integrity, and spawning Node.js as a Tauri sidecar process.

No system Node.js installation required. Land ships its own.

§What SideCar Does

  1. Downloads the correct Node.js binary for the current OS and arch
  2. Verifies the download checksum before extracting
  3. Spawns Node.js as a managed sidecar that Mountain can monitor

§Modules

  • Download: Platform-aware binary fetching and checksum verification
  • Spawn: Tauri sidecar process launch and lifecycle management

Modules§

Download
============================================================================== Universal Sidecar Vendor - Rust Edition
Spawn

Functions§

main
Main executable function. DEPENDENCY: Move this function to main.rs in a future refactor