Skip to main content

SHEET 06 OF 41

/DOC/:SLUG

PART:
03 DOCUMENTATION
CIRCULATION:
PUBLIC
SOURCE:
pages/Doc/[...Slug].astro
AS OF:
2026-12-02

The verified build and runtime relationships between the element directories - which element declares which, and which process talks to which.

/Elements

Element Dependency Map

The verified build and runtime relationships between the element directories - which element declares which, and which process talks to which.

PUBLISHED ELEMENTS Source/Content/doc/element-dependency-map.md UNAVAILABLE UNAVAILABLE ARCHITECTURE 15

Project Structure maps the Element directory by role. This page is the other axis: the relationships between the elements, read from the manifests that declare them and the protocols they speak. A name that suggests a dependency is not one; every edge below is either a path or workspace entry in a Cargo or pnpm manifest, or a service contract in a .proto file.

The tree has sixteen element directories. Fifteen have a dedicated element page, and fourteen have a deep dive; Cache has neither, so its row links to Project Structure.

How to Read an Edge 🔗

Edge kind Evidence Meaning
Build (Rust) A Cargo.toml [dependencies] entry with workspace = true The crate is compiled against the other crate
Build (pnpm) A package.json dependency on @codeeditorland/<name> The package is installed from the workspace
Runtime (gRPC) A service in Vine.proto or Air.proto One process calls the other over TCP
Runtime (Tauri) A command or event in the workbench The webview calls the native host in-process

“Build” and “runtime” are different questions. A crate can be a build dependency and still never run as a separate process (Common, Vine, Cache); a process can talk to another with no package dependency at all (Mountain and Cocoon are separate runtimes joined by gRPC).

The Build Graph 🏗️

Rust (Cargo)

The workspace members are declared in Land/Cargo.toml: Common, Echo, Maintain, Mountain, Air, Cache, Grove, Mist, Rest, SideCar and Vine. The internal edges in their [dependencies] sections are:

Element Depends on (build) Source
Air Common, Mist, Vine Element/Air/Cargo.toml
Cache - Element/Cache/Cargo.toml
Common - Element/Common/Cargo.toml
Echo Common Element/Echo/Cargo.toml
Grove Common; Mist (optional) Element/Grove/Cargo.toml
Maintain - Element/Maintain/Cargo.toml
Mist Common Element/Mist/Cargo.toml
Mountain Common, Echo, Air, Cache, Mist, Vine Element/Mountain/Cargo.toml
Rest Common Element/Rest/Cargo.toml
SideCar Common, Mist Element/SideCar/Cargo.toml
Vine - Element/Vine/Cargo.toml

Grove’s Mist edge is feature-gated (optional = true); it is a dependency of the feature, not of every build. Mountain’s Vine edge enables the multiplexer feature.

TypeScript (pnpm)

The pnpm workspace covers Element/** (Land/pnpm-workspace.yaml). The internal edges in the element package.json files are:

Package Depends on (build) Source
Cocoon @codeeditorland/output Element/Cocoon/package.json
Echo @codeeditorland/common Element/Echo/package.json
Output @codeeditorland/rest (optional) Element/Output/package.json
Rest its four platform packages (optional) Element/Rest/package.json
Sky @codeeditorland/cocoon, common, output, wind, worker Element/Sky/package.json
Wind @codeeditorland/output Element/Wind/package.json
Worker - Element/Worker/package.json

Output’s Rest edge and Rest’s platform packages are optional dependencies: the compiler is an optional replacement, and a build that does not install it still builds.

The Runtime Graph ⚙️

From To Protocol Evidence
Mountain Cocoon Vine gRPC, port 50052 Vine.proto, service CocoonService
Cocoon Mountain Vine gRPC, port 50051 Vine.proto, service MountainService
Mountain Air Air gRPC, [::1]:50053 Element/Air/Proto/Air.proto; DEFAULT_AIR_SERVER_ADDRESS
Wind / Sky Mountain Tauri commands and events @tauri-apps/api invoke(); Architecture, IPC matrix
Cocoon extensions Mountain Vine gRPC via Cocoon Vine.proto; Architecture, IPC matrix
Land components Mist Private DNS for *.editor.land Element/Mist/Source/Library.rs

Mist resolves every *.editor.land query to 127.0.0.1 and is authoritative for the private zone; it is the name-resolution layer, not a message bus. Air is a persistent daemon that Mountain spawns and manages. Maintain is build orchestration and has no runtime edge. SideCar manages the Node.js runtime binaries bundled into the app. Worker is the service worker implementation for asset caching and offline support. Grove is the work-in-progress WASM extension host; it depends on Common and, optionally, Mist.

The Sixteen, and Where Each Is Documented 📚

Element Build system Role Page Deep dive
Air Rust Persistent background daemon Air Deep Dive
Cache Rust Memory-mapped asset cache and canonical-path cache Project Structure -
Cocoon pnpm Node.js extension host sidecar Cocoon Deep Dive
Common Rust + pnpm Abstract core traits, ActionEffect, DTOs Common Deep Dive
Echo Rust + pnpm Bounded work-stealing task scheduler Echo Deep Dive
Grove Rust WASM extension host (work in progress) Grove Deep Dive
Maintain Rust Build orchestration Maintain Deep Dive
Mist Rust Private DNS for *.editor.land Mist Deep Dive
Mountain Rust Tauri application, gRPC server, OS capabilities Mountain Deep Dive
Output pnpm Build artifact management for @codeeditorland/output Output -
Rest Rust + pnpm OXC-based TypeScript compiler Rest Deep Dive
SideCar Rust Node.js runtime binary management SideCar Deep Dive
Sky pnpm Astro UI component layer Sky Deep Dive
Vine Rust gRPC protocol definitions Vine Deep Dive
Wind pnpm Effect-TS UI service layer Wind Deep Dive
Worker pnpm Service worker for asset caching Worker Deep Dive

The element repositories are named in Element/.gitmodules: each is an independent Git repository on its own Current branch.

Source 📐

Read for this page:

  • Land/Cargo.toml - the Rust workspace members
  • Land/pnpm-workspace.yaml - the pnpm workspace globs
  • Land/Element/*/Cargo.toml - the Rust build edges above
  • Land/Element/*/package.json - the pnpm build edges above
  • Land/Element/.gitmodules - the sixteen element repositories
  • Land/Element/Vine/Proto/Vine.proto - the Mountain and Cocoon gRPC services
  • Land/Element/Air/Proto/Air.proto - the Air service
  • Land/Element/Mist/Source/Library.rs - the private DNS zone

Project Maintainers: Source Open (Source/[email protected]) | GitHub Repository | Report an Issue

Elements, 17 PAGES, page 17 of 17

THE LAYER'S INDEX

NEXT: /BLOG 04 BLOG

NOTES FROM THE BUILD, NEWEST FIRST

〈06〉 /DOC/:SLUG 41 SHEETS AS OF: 2026-12-02