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
|
* Collect all workflows from core and selected modules
|
||||||
|
* Scans the INSTALLED bmad directory, not the source
|
||||||
*/
|
*/
|
||||||
async collectWorkflows(selectedModules) {
|
async collectWorkflows(selectedModules) {
|
||||||
this.workflows = [];
|
this.workflows = [];
|
||||||
|
|
||||||
// Get core workflows
|
// Get core workflows from installed bmad directory
|
||||||
const corePath = getModulePath('core');
|
const corePath = path.join(this.bmadDir, 'core');
|
||||||
const coreWorkflows = await this.getWorkflowsFromPath(corePath, 'core');
|
if (await fs.pathExists(corePath)) {
|
||||||
this.workflows.push(...coreWorkflows);
|
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) {
|
for (const moduleName of selectedModules) {
|
||||||
const modulePath = getSourcePath(`modules/${moduleName}`);
|
const modulePath = path.join(this.bmadDir, moduleName);
|
||||||
const moduleWorkflows = await this.getWorkflowsFromPath(modulePath, moduleName);
|
|
||||||
this.workflows.push(...moduleWorkflows);
|
if (await fs.pathExists(modulePath)) {
|
||||||
|
const moduleWorkflows = await this.getWorkflowsFromPath(modulePath, moduleName);
|
||||||
|
this.workflows.push(...moduleWorkflows);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue