- models/: GGUFs (Git LFS), manifest.json, model card, Apache-2.0 LICENSE + NOTICE - extensions/vscode/: the Local Autocomplete extension (v0.5.0, publisher harvmaster) - daemon/: acd completion daemon (bundled into the extension; also runs standalone) - shared/: prompt layout + symbol extraction shared with the training pipeline - scripts/: make-model-release.mjs, publish-extension-release.mjs (Gitea releases) - README with quick start, settings, architecture, build and release instructions; MIT license for code; CHANGELOG The default model manifest URL moves to models/manifest.json. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
11 lines
571 B
TypeScript
11 lines
571 B
TypeScript
/** 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<string, SymbolLang> = {
|
|
typescript: 'typescript', javascript: 'javascript', typescriptreact: 'tsx', javascriptreact: 'jsx', tsx: 'tsx', jsx: 'jsx', vue: 'vue',
|
|
}
|
|
return map[languageId] ?? null
|
|
}
|