installer fixed to not add game assets to slash commands in some ides that read from the manifest. and fixed the manifest.
This commit is contained in:
parent
e93b208902
commit
0ee4fa920a
|
|
@ -1,3 +0,0 @@
|
|||
# foo task
|
||||
|
||||
The user just said foo, respond with bar.
|
||||
|
|
@ -0,0 +1 @@
|
|||
20251028
|
||||
|
|
@ -0,0 +1 @@
|
|||
/Users/brianmadison/.claude/piper-voices
|
||||
|
|
@ -0,0 +1 @@
|
|||
piper
|
||||
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue