Skip to content

Commit ceee8c4

Browse files
feat(Mountain/Shim): Add TypeConverter module structure for IPC data conversion
- Creates module declarations mirroring TypeScript `cocoon-type-converters` structure in Rust - Establishes foundation for type-safe serialization between `Mountain` and `Cocoon` processes via `Vine` IPC - Prepares conversion logic for VS Code extension API surface areas including CodeActions, Completions, and WorkspaceEdits - Enables future implementation of bidirectional type mapping as part of MVP Path A's extension support - Aligns with recent ProtoValueConverter work (d271a2b) to handle complex IPC data structures - Includes Notebook type conversions for potential future expansion of supported extension capabilities
1 parent d271a2b commit ceee8c4

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

  • Source/Shim/TypeConverter

Source/Shim/TypeConverter/mod.rs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// File: Shim/TypeConverter/mod.rs
2+
// This module file is conceptual for Rust, as the `cocoon-type-converters`
3+
// directory exists in the TypeScript codebase. In a parallel Rust structure,
4+
// this would declare and re-export converter modules.
5+
6+
#![allow(non_snake_case, non_camel_case_types)]
7+
8+
// In a Rust implementation, this `mod.rs` would look something like this:
9+
mod CodeAction;
10+
mod Completion;
11+
mod LanguageFeature;
12+
mod Main;
13+
mod Notebook; // Added for completeness
14+
mod WorkspaceEdit;
15+
16+
pub use self::{CodeAction::*, Completion::*, LanguageFeature::*, Main::*, Notebook::*, WorkspaceEdit::*};

0 commit comments

Comments
 (0)