Release v2.1.2: Chronicle Repair & Context Stability improvements
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user