Skip to content

Commit a3762f7

Browse files
fix(Vine): Improve IPC reliability and extension host integration
- Added proper Window parameter to `track::dispatch_sidecar_request` calls to enable UI interaction routing - Aligned log notification processing with VS Code's structured log format (level codes + message parts array) - Enhanced error handling during RPC message serialization/deserialization with detailed context preservation - Implemented structured error propagation from Track dispatcher through Vine IPC layer - Improved sidecar process lifecycle management through explicit stdin flushing and writer task cleanup - Added specialized event emission for extension host readiness states (`extHostReadyForInit`/`extHostInitialized`) - Refined pending request cancellation logic during sidecar unregistration with clearer warning diagnostics - Fixed potential resource leaks by ensuring child process stdin closure during writer task termination These changes strengthen the foundation for Cocoon extension host communication by ensuring proper VS Code protocol adherence and error recovery mechanisms critical for maintaining extension state across IPC boundaries.
1 parent 138d3df commit a3762f7

2 files changed

Lines changed: 117 additions & 55 deletions

File tree

Source/Library.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,5 @@ pub mod track;
5757
pub mod rpc;
5858

5959
pub mod runtime;
60+
61+
pub mod vine;

0 commit comments

Comments
 (0)