vscode-extension v0.0.6: v0.2 grammar, embedded stdlib detection, update check.

Min CLI 0.1.2. See main doc/design/vscode-extension-commit.md for branch workflow.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
cflmyandCursor committed 2026-08-07 09:38:17 +08:00
1 parent cb2f4e4618
commit 76e9bbb8ae
5 files changed
+125 -11

No files matched your search

+6 -1
View File
@@ -9,6 +9,7 @@ import {
resolveCliPath,
resolveLibEnv,
} from "./install";
import { checkForUpdates } from "./updateCheck";
let output: vscode.OutputChannel;
let diagnostics: DiagnosticBag;
@@ -51,7 +52,11 @@ export function activate(context: vscode.ExtensionContext): void {
})
);
void promptIfNeeded(context, output);
void (async () => {
await promptIfNeeded(context, output);
const status = checkInstallStatus(context);
await checkForUpdates(context, output, status.version);
})();
}
export function deactivate(): void {