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
{{ message }}
Repository navigation
Voice Mode: migrate from vendored libs to VS Code patterns #321142
The voice UI currently uses lit-html for templating and @preact/signals-core for reactive state, carried over from the standalone voice-code prototype. These should be migrated to VS Code's native patterns as the UX stabilizes.
1. lit-html → VS Code DOM construction
Replace html`` tagged templates in the 8 component files (~860 lines in src/vs/workbench/contrib/agentsVoice/browser/components/) with VS Code-style imperative DOM ($(), h(), document.createElement`).
Files:
headerComponent.ts
sessionListComponent.ts
feedbackDialog.ts
voiceBarComponent.ts
transcriptComponent.ts
statusRowsComponent.ts
onboardingComponent.ts
confirmationComponent.ts
agentsVoiceWidget.ts (render loop)
2. preact-signals → VS Code observables
Replace signal()/computed()/effect() in agentsVoiceWidget.ts with observableValue()/derived()/autorun(). Currently ~23 signals, 1 computed, 3 effects — all local widget state in a single file.
Activity