Expand description
ExtensionHost atoms - VS Code extension-host lifecycle handlers.
Starter: extensionHostStarter:* channel (create/start/kill/exit/wait).
DebugService: extensionhostdebugservice:* channel (reload/close).
Modules§
- Debug
Service Close - Wire method:
extensionhostdebugservice:close. Emitssky://exthost/debug-closeso the Sky bridge can react. - Debug
Service Reload - Wire method:
extensionhostdebugservice:reload. Emitssky://exthost/debug-reloadso Wind can tear down caches before a fresh Cocoon spawn. - Starter
Create - Wire method:
extensionHostStarter:createExtensionHost. Allocates a stub extension-host ID for VS Code’s starter protocol. - Starter
GetExit Info - Wire method:
extensionHostStarter:getExitInfo. Returns stub exit-info shape - Cocoon runs while Mountain is alive. - Starter
Kill - Wire method:
extensionHostStarter:kill. Acknowledged no-op - Cocoon lifecycle is managed by Mountain directly. - Starter
Start - Wire method:
extensionHostStarter:start. Returns Cocoon’s real PID so debuggers attach to the correct Node.js process. Falls back to Mountain’s PID only if Cocoon has not spawned yet. - Starter
Wait ForExit - Wire method:
extensionHostStarter:waitForExit. Resolves when the extension host exits. Returns stub exit-info so callers do not hang - Cocoon runs indefinitely while Mountain is alive.