Release v2.1.2: Chronicle Repair & Context Stability improvements

This commit is contained in:
g1nation
2026-05-14 02:37:49 +09:00
parent a374aa703a
commit f521c3f557
13 changed files with 142 additions and 54 deletions
+7
View File
@@ -150,6 +150,13 @@ export async function activate(context: vscode.ExtensionContext) {
activity: activityTracker,
loadedModels: () => lmStudioClient.listLoadedCached(),
});
// One-time repair: rewrite any chronicle projects that were saved with the
// workspace parent as their `projectRoot` (a side-effect of the old
// pre-multi-subproject activation code). Idempotent and silent when there's
// nothing to fix.
void provider._repairCorruptedChronicleProjectRoots().catch((e: any) => {
logError('architecture: chronicle repair failed.', { error: e?.message ?? String(e) });
});
context.subscriptions.push(
vscode.commands.registerCommand('g1nation.openChat', () => {
provider!.openAsPanel(vscode.ViewColumn.Three);