Commit 4fda6f9
committed
feat(Common): Add core effect modules for filesystem and language features
- Introduces `FsReader`/`FsWriter` traits and action effects in `fs_effects.rs` to abstract filesystem operations, enabling integration with Mountain's native `River`/`Sun` libraries
- Implements `LanguageFeatureProviderRegistry` trait and DTOs in `language_feature_effects.rs` to handle VS Code extension interoperability through Cocoon shims
- Adds runtime foundation with `Runtime` trait in `runtime.rs` to execute effects within Mountain's environment
- Configures build script to expose package version, supporting version-aware effect handling
- Establishes `Library.rs` as central module export for Common element utilities
These changes advance MVP Path A by enabling declarative interaction with extension-provided language services and native filesystem operations through the Track dispatcher. The effect system forms the backbone of Cocoon-Mountain communication via Vine IPC, critical for handling VS Code extension API requests through shimmed providers.1 parent d45f3e6 commit 4fda6f9
File tree
6 files changed
+2060
-13
lines changed- Source
6 files changed
+2060
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
14 | 4 | | |
15 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
0 commit comments