/** Languages the symbol provider handles (kept dependency-free so the daemon's main bundle stays small). */ export type SymbolLang = 'typescript' | 'javascript' | 'tsx' | 'jsx' | 'vue' /** Maps VS Code language ids (and pipeline langs) onto what the symbol provider handles. */ export function symbolLang(languageId: string): SymbolLang | null { const map: Record = { typescript: 'typescript', javascript: 'javascript', typescriptreact: 'tsx', javascriptreact: 'jsx', tsx: 'tsx', jsx: 'jsx', vue: 'vue', } return map[languageId] ?? null }