You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(Cocoon/ExtensionHost): stabilize extension initialization and API surface alignment
- Restructured service layer initialization to properly sequence IPC handshake and dependency provisioning in line with Effect-TS patterns
- Fixed synchronous effect execution in extension API getters to match VS Code's interface expectations (isActive/exports)
- Aligned Memento implementation with vscode.d.ts contracts through proper dependency injection and error handling
- Corrected IPC configuration types and imports to enforce type safety across Mountain-Cocoon gRPC communication (Vine protocol)
- Addressed extension activation timing reporting by including required activationEvents array in IPC notifications
This refactoring ensures Cocoon's extension host adheres to VS Code API contracts while maintaining strict Effect-TS resource management, critical for Path A MVP's Node.js sidecar stability. The changes directly support implemented workflows #2 (extension activation) and #4 (state persistence).
Refs #4670fed0385b0f0d6bf876d5803f64ccfa3b3156
0 commit comments