Skip to content

feat: Extension Host Stabilization & Marketplace Support#54

Open
meftunca wants to merge 1 commit into
Sidenai:Sidexbrandedfrom
meftunca:fix/extension-host-stabilization-and-marketplace-support
Open

feat: Extension Host Stabilization & Marketplace Support#54
meftunca wants to merge 1 commit into
Sidenai:Sidexbrandedfrom
meftunca:fix/extension-host-stabilization-and-marketplace-support

Conversation

@meftunca
Copy link
Copy Markdown

@meftunca meftunca commented May 6, 2026

This PR addresses critical stability issues in the SideX extension host and enhances compatibility with marketplace extensions.

Key Changes

1. Extension Host Stabilization

  • Platform Readiness Gate: Implemented a synchronization mechanism in host.cjs to defer extension activations until the backend environment and document state are fully synchronized.
  • Shim Hardening: Added defensive null/undefined checks for vscode.window.activeTextEditor and visibleTextEditors.
  • DiagnosticCollection Binding: Explicitly bound methods in DiagnosticCollection to prevent this context loss.

2. Marketplace & Nightly Extension Support

  • Engine Compatibility: Bypassed strict engine version and API proposal checks when SIDEX_TAURI is detected.
  • CodeLens RPC Infrastructure: Implemented a full RPC bridge for CodeLens resolution.

3. Core Infrastructure & Build

  • Vite 8 & Rolldown Migration: Upgraded build pipeline to Vite 8/Rolldown.
  • macOS Environment Synchronization: Fixed PATH inheritance for macOS.
  • Remote Agent Compatibility: Added stubbed handlers for remote_internal_set_active_folders.

- Implement PlatformReady gate in extension host to prevent startup race conditions
- Harden vscode API shims (activeTextEditor, visibleTextEditors, DiagnosticCollection)
- Relax engine compatibility checks for Tauri environment to support Nightly extensions
- Implement CodeLens resolution RPC bridge
- Upgrade build infrastructure to Vite 8 / Rolldown
- Fix macOS PATH inheritance from shell
- Add remote agent compatibility stubs
Copilot AI review requested due to automatic review settings May 6, 2026 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant