refactor: rename command and config prefix from aiCommit to zemit

This commit is contained in:
2026-04-15 14:34:55 -04:00
parent b9e0273d57
commit a102b0d714
3 changed files with 19 additions and 19 deletions
+3 -3
View File
@@ -36,7 +36,7 @@ export async function generateCommitMsg(scm?: vscode.SourceControl): Promise<voi
export function abortGeneration(): void {
abortController?.abort()
vscode.commands.executeCommand("setContext", "aiCommit.isGenerating", false)
vscode.commands.executeCommand("setContext", "zemit.isGenerating", false)
}
// ─── Multi-repo orchestration ─────────────────────────────────────────────────
@@ -135,7 +135,7 @@ async function performGeneration(
token.onCancellationRequested(() => abortController?.abort())
try {
await vscode.commands.executeCommand("setContext", "aiCommit.isGenerating", true)
await vscode.commands.executeCommand("setContext", "zemit.isGenerating", true)
const provider = createProvider(config)
let response = ""
@@ -150,7 +150,7 @@ async function performGeneration(
throw new Error("The AI returned an empty response")
}
} finally {
await vscode.commands.executeCommand("setContext", "aiCommit.isGenerating", false)
await vscode.commands.executeCommand("setContext", "zemit.isGenerating", false)
}
}