Skip to content

Commit 413b6b2

Browse files
Delete stale files
1 parent f881f70 commit 413b6b2

175 files changed

Lines changed: 6379 additions & 4613 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ frontend and the `Cocoon` extension host.
3131
filesystem I/O, process management, secure storage, and more.
3232
3. **Orchestrate Sidecars:** Reliably launch, manage, and communicate with the
3333
`Cocoon` (Node.js) extension host sidecar via a robust gRPC interface.
34-
4. **Power the UI:** Serve as the backend for the `Wind` UI layer, responding
34+
4. **Power the User Interface:** Serve as the backend for the `Wind` User Interface layer, responding
3535
to requests via Tauri commands and pushing state updates via Tauri events.
3636

3737
---
@@ -53,7 +53,7 @@ frontend and the `Cocoon` extension host.
5353
- **Secure Storage Integration:** Leverages the native OS keychain via the
5454
`keyring` crate to securely store sensitive data like authentication tokens.
5555
- **Robust Command Dispatching:** A central `Track` dispatcher intelligently
56-
routes all incoming requests from the UI (`Wind`) and extensions (`Cocoon`) to
56+
routes all incoming requests from the User Interface (`Wind`) and extensions (`Cocoon`) to
5757
the appropriate native Handler or effects.
5858

5959
---
@@ -62,12 +62,12 @@ frontend and the `Cocoon` extension host.
6262

6363
| Principle | Description | Key Components Involved |
6464
| :------------------------------ | :------------------------------------------------------------------------------------------------------------------------------------------------- | :-------------------------------------------------- |
65-
| **Implementation of Contracts** | Faithfully implement the abstract service `trait`s defined in the `Common` crate, providing the concrete logic for the application's architecture. | `environment/*` providers |
66-
| **Separation of Concerns** | Isolate business logic in `Handler` modules, keeping the `environment` provider implementations clean and focused on delegation. | `environment/*`, `Handler/*` |
65+
| **Implementation of Contracts** | Faithfully implement the abstract service `trait`s defined in the `Common` crate, providing the concrete logic for the application's architecture. | `Environment/*` providers |
66+
| **Separation of Concerns** | Isolate business logic in `Handler` modules, keeping the `Environment` provider implementations clean and focused on delegation. | `Environment/*`, `Handler/*` |
6767
| **Declarative Logic** | Express all operations as `ActionEffect`s, which are executed by the `ApplicationRunTime`. This makes logic composable, testable, and robust. | `RunTime/*`, `track/*`, `Common::effect` |
6868
| **Centralized State** | Maintain a single, thread-safe `ApplicationState` struct managed by Tauri to ensure data consistency across the entire application. | `app_state/*` |
69-
| **Secure & Performant IPC** | Utilize gRPC for all communication with the `Cocoon` sidecar, ensuring a well-defined and high-performance API boundary. | `vine/*` |
70-
| **UI-Backend Decoupling** | Interact with the `Wind` frontend exclusively through asynchronous Tauri commands and events, ensuring the backend is UI-agnostic. | `main.rs` (invoke handler), `Handler/*` (emitters) |
69+
| **Secure & Performant IPC** | Utilize gRPC for all communication with the `Cocoon` sidecar, ensuring a well-defined and high-performance API boundary. | `Vine/*` |
70+
| **User Interface-Backend Decoupling** | Interact with the `Wind` frontend exclusively through asynchronous Tauri commands and events, ensuring the backend is User Interface-agnostic. | `main.rs` (invoke handler), `Handler/*` (emitters) |
7171

7272
---
7373

@@ -76,7 +76,7 @@ frontend and the `Cocoon` extension host.
7676
To understand how `Mountain`'s internal components are structured and how they
7777
implement the application's core logic, please refer to the detailed technical
7878
breakdown in [`docs/Deep Dive.md`](docs/Deep%20Dive.md). This document explains
79-
the roles of the `ApplicationRunTime`, `ApplicationState`, `Handler`, `environment`,
79+
the roles of the `ApplicationRunTime`, `ApplicationState`, `Handler`, `Environment`,
8080
and the `Vine` gRPC layer.
8181

8282
---
@@ -91,17 +91,17 @@ graph LR
9191
classDef mountain fill:#f9f,stroke:#333,stroke-width:2px;
9292
classDef cocoon fill:#ccf,stroke:#333,stroke-width:2px;
9393
classDef wind fill:#9cf,stroke:#333,stroke-width:2px;
94-
classDef common fill:#cfc,stroke:#333,stroke-width:1px;
95-
classDef ipc fill:#ff9,stroke:#333,stroke-width:1px,stroke-dasharray: 5 5;
94+
classDef Common fill:#cfc,stroke:#333,stroke-width:1px;
95+
classDef IPC fill:#ff9,stroke:#333,stroke-width:1px,stroke-dasharray: 5 5;
9696
9797
subgraph "Mountain (Native Rust/Tauri Backend)"
9898
TauriRuntime[Tauri App & Window]:::mountain
9999
ApplicationRunTime[ApplicationRunTime Engine]:::mountain
100100
ApplicationState["ApplicationState (Shared State)"]:::mountain
101101
TrackDispatcher[Track Dispatcher]:::mountain
102-
VinegRPC[Vine gRPC Server]:::ipc
102+
VinegRPC[Vine gRPC Server]:::IPC
103103
NativeHandlers[Native Logic Handlers]:::mountain
104-
CommonCrate["Common Crate (Traits & DTOs)"]:::common
104+
CommonCrate["Common Crate (Traits & DTOs)"]:::Common
105105
106106
TauriRuntime -- Manages --> ApplicationState
107107
TauriRuntime -- Manages --> ApplicationRunTime
@@ -110,15 +110,15 @@ graph LR
110110
end
111111
112112
subgraph "Clients"
113-
WindUI["Wind/Sky UI (Webview)"]:::wind
113+
WindUI["Wind/Sky User Interface (WebView)"]:::wind
114114
CocoonSidecar["Cocoon Extension Host (Node.js)"]:::cocoon
115115
end
116116
117117
TauriRuntime -- Hosts --> WindUI
118-
WindUI -- Tauri Commands --> TrackDispatcher
118+
WindUI -- Tauri Command --> TrackDispatcher
119119
TrackDispatcher -- Tauri Events --> WindUI
120120
121-
VinegRPC -- gRPC Protocol <--> CocoonSidecar; class VinegRPC,CocoonSidecar ipc
121+
VinegRPC -- gRPC Protocol <--> CocoonSidecar; class VinegRPC,CocoonSidecar IPC
122122
VinegRPC -- Forwards requests to --> TrackDispatcher
123123
124124
NativeHandlers -- Implements traits from --> CommonCrate
@@ -142,7 +142,7 @@ Mountain/
142142
│ ├── Track/ # The central request dispatcher.
143143
│ └── Vine/ # The gRPC server implementation (using `tonic`).
144144
├── proto/
145-
│ └── vine.proto # The gRPC contract definition file.
145+
│ └── Vine.proto # The gRPC contract definition file.
146146
└── build.rs # Build script to compile the .proto file into Rust code.
147147
```
148148

@@ -187,14 +187,14 @@ of changes specific to **Mountain**.
187187
## Funding & Acknowledgements 🙏🏻
188188

189189
**Mountain** is a core element of the **Land** ecosystem. This project is funded
190-
through [NGI0 Commons Fund](https://nlnet.nl/commonsfund), a fund established by
190+
through [NGI0 Commons Fund](https://nlnet.nl/Commonsfund), a fund established by
191191
[NLnet](https://nlnet.nl) with financial support from the European Commission's
192192
[Next Generation Internet](https://ngi.eu) program. Learn more at the
193193
[NLnet project page](https://nlnet.nl/project/Land).
194194

195195
| **Land** | PlayForm | NLnet | NGI0 Commons Fund |
196196
| :-------------------------------------------------------------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------- | :----------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------ |
197-
| [<img src="https://raw.githubusercontent.com/CodeEditorLand/Asset/refs/heads/Current/Logo/Land.svg" height="80px" alt="Land">](https://editor.land) | [<img src="https://raw.githubusercontent.com/PlayForm/Asset/refs/heads/Current/Logo/PlayForm.svg" height="80px" alt="PlayForm">](https://playform.cloud) | [<img width="240px" src="https://nlnet.nl/logo/banner.svg" alt="NLnet">](https://nlnet.nl) | [<img width="240px" src="https://nlnet.nl/image/logos/NGI0CommonsFund_tag_black_mono.svg" alt="NGI0 Commons Fund">](https://nlnet.nl/commonsfund) |
197+
| [<img src="https://raw.githubusercontent.com/CodeEditorLand/Asset/refs/heads/Current/Logo/Land.svg" height="80px" alt="Land">](https://editor.land) | [<img src="https://raw.githubusercontent.com/PlayForm/Asset/refs/heads/Current/Logo/PlayForm.svg" height="80px" alt="PlayForm">](https://playform.cloud) | [<img width="240px" src="https://nlnet.nl/logo/banner.svg" alt="NLnet">](https://nlnet.nl) | [<img width="240px" src="https://nlnet.nl/image/logos/NGI0CommonsFund_tag_black_mono.svg" alt="NGI0 Commons Fund">](https://nlnet.nl/Commonsfund) |
198198

199199
---
200200

Source/ApplicationState/ApplicationState.rs

Lines changed: 0 additions & 130 deletions
This file was deleted.

Source/ApplicationState/DTO/DocumentStateDTO.rs

Lines changed: 0 additions & 25 deletions
This file was deleted.

Source/ApplicationState/DTO/ExtensionDescriptionStateDTO.rs

Lines changed: 0 additions & 7 deletions
This file was deleted.

Source/ApplicationState/DTO/MergedConfigurationStateDTO.rs

Lines changed: 0 additions & 18 deletions
This file was deleted.

Source/ApplicationState/DTO/mod.rs

Lines changed: 0 additions & 41 deletions
This file was deleted.

0 commit comments

Comments
 (0)