From 0ee4fa920a59075197f101af8ca38260a79472a5 Mon Sep 17 00:00:00 2001 From: Brian Madison Date: Tue, 28 Oct 2025 19:09:43 -0500 Subject: [PATCH] installer fixed to not add game assets to slash commands in some ides that read from the manifest. and fixed the manifest. --- .claude/commands/foo.md | 3 --- .claude/github-star-reminder.txt | 1 + .claude/piper-voices-dir.txt | 1 + .claude/tts-provider.txt | 1 + .../installers/lib/core/manifest-generator.js | 22 ++++++++++++------- 5 files changed, 17 insertions(+), 11 deletions(-) delete mode 100644 .claude/commands/foo.md create mode 100644 .claude/github-star-reminder.txt create mode 100644 .claude/piper-voices-dir.txt create mode 100644 .claude/tts-provider.txt diff --git a/.claude/commands/foo.md b/.claude/commands/foo.md deleted file mode 100644 index bff5cc79..00000000 --- a/.claude/commands/foo.md +++ /dev/null @@ -1,3 +0,0 @@ -# foo task - -The user just said foo, respond with bar. diff --git a/.claude/github-star-reminder.txt b/.claude/github-star-reminder.txt new file mode 100644 index 00000000..0bfc1e98 --- /dev/null +++ b/.claude/github-star-reminder.txt @@ -0,0 +1 @@ +20251028 diff --git a/.claude/piper-voices-dir.txt b/.claude/piper-voices-dir.txt new file mode 100644 index 00000000..77f1832b --- /dev/null +++ b/.claude/piper-voices-dir.txt @@ -0,0 +1 @@ +/Users/brianmadison/.claude/piper-voices \ No newline at end of file diff --git a/.claude/tts-provider.txt b/.claude/tts-provider.txt new file mode 100644 index 00000000..48b567dd --- /dev/null +++ b/.claude/tts-provider.txt @@ -0,0 +1 @@ +piper \ No newline at end of file diff --git a/tools/cli/installers/lib/core/manifest-generator.js b/tools/cli/installers/lib/core/manifest-generator.js index 6495e185..11e7425c 100644 --- a/tools/cli/installers/lib/core/manifest-generator.js +++ b/tools/cli/installers/lib/core/manifest-generator.js @@ -83,20 +83,26 @@ class ManifestGenerator { /** * Collect all workflows from core and selected modules + * Scans the INSTALLED bmad directory, not the source */ async collectWorkflows(selectedModules) { this.workflows = []; - // Get core workflows - const corePath = getModulePath('core'); - const coreWorkflows = await this.getWorkflowsFromPath(corePath, 'core'); - this.workflows.push(...coreWorkflows); + // Get core workflows from installed bmad directory + const corePath = path.join(this.bmadDir, 'core'); + if (await fs.pathExists(corePath)) { + const coreWorkflows = await this.getWorkflowsFromPath(corePath, 'core'); + this.workflows.push(...coreWorkflows); + } - // Get module workflows + // Get module workflows from installed bmad directory for (const moduleName of selectedModules) { - const modulePath = getSourcePath(`modules/${moduleName}`); - const moduleWorkflows = await this.getWorkflowsFromPath(modulePath, moduleName); - this.workflows.push(...moduleWorkflows); + const modulePath = path.join(this.bmadDir, moduleName); + + if (await fs.pathExists(modulePath)) { + const moduleWorkflows = await this.getWorkflowsFromPath(modulePath, moduleName); + this.workflows.push(...moduleWorkflows); + } } }