Merge branch 'main' into dependabot/github_actions/peter-evans/create-pull-request-8

This commit is contained in:
Erik van der Boom 2026-05-07 15:22:31 +02:00 committed by GitHub
commit 90f3e418d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -318,12 +318,12 @@ export default class BinderyPlugin extends Plugin {
}
}
private async setupAiCommand(): Promise<void> {
private setupAiCommand(): void {
try {
const vaultPath = this.getVaultBasePath();
const bookRoot = resolveBookRoot(vaultPath, this.settings.bookRoot);
const result = await setupAiFiles(this.app, bookRoot, ['claude', 'copilot', 'cursor', 'agents'], ALL_SKILLS, false);
const result = setupAiFiles(this.app, bookRoot, ['claude', 'copilot', 'cursor', 'agents'], ALL_SKILLS, false);
const msg = `Generated: ${result.created.length}, Skipped: ${result.skipped.length}`;
this.notify(`AI setup complete. ${msg}`);
} catch (err) {