fix: reorder mergeModuleHelpCatalogs after generateManifests
The mergeModuleHelpCatalogs function depends on agent-manifest.csv being populated, but was being called before generateManifests. This caused new modules' agent info to be empty in the help catalog. Fixes issue where game-dev-studio workflows weren't appearing in bmad-help.csv and IDE commands weren't being generated.
This commit is contained in:
parent
77a53a20ed
commit
9b9f43fcb9
|
|
@ -958,11 +958,6 @@ class Installer {
|
||||||
|
|
||||||
// All content is now installed as modules - no separate custom content handling needed
|
// All content is now installed as modules - no separate custom content handling needed
|
||||||
|
|
||||||
// Merge all module-help.csv files into bmad-help.csv
|
|
||||||
spinner.start('Generating workflow help catalog...');
|
|
||||||
await this.mergeModuleHelpCatalogs(bmadDir);
|
|
||||||
spinner.succeed('Workflow help catalog generated');
|
|
||||||
|
|
||||||
// Generate clean config.yaml files for each installed module
|
// Generate clean config.yaml files for each installed module
|
||||||
spinner.start('Generating module configurations...');
|
spinner.start('Generating module configurations...');
|
||||||
await this.generateModuleConfigs(bmadDir, moduleConfigs);
|
await this.generateModuleConfigs(bmadDir, moduleConfigs);
|
||||||
|
|
@ -980,6 +975,7 @@ class Installer {
|
||||||
this.installedFiles.add(path.join(cfgDir, 'task-manifest.csv'));
|
this.installedFiles.add(path.join(cfgDir, 'task-manifest.csv'));
|
||||||
|
|
||||||
// Generate CSV manifests for workflows, agents, tasks AND ALL FILES with hashes BEFORE IDE setup
|
// Generate CSV manifests for workflows, agents, tasks AND ALL FILES with hashes BEFORE IDE setup
|
||||||
|
// This must happen BEFORE mergeModuleHelpCatalogs because it depends on agent-manifest.csv
|
||||||
spinner.start('Generating workflow and agent manifests...');
|
spinner.start('Generating workflow and agent manifests...');
|
||||||
const manifestGen = new ManifestGenerator();
|
const manifestGen = new ManifestGenerator();
|
||||||
|
|
||||||
|
|
@ -1012,6 +1008,12 @@ class Installer {
|
||||||
`Manifests generated: ${manifestStats.workflows} workflows, ${manifestStats.agents} agents, ${manifestStats.tasks} tasks, ${manifestStats.tools} tools, ${manifestStats.files} files`,
|
`Manifests generated: ${manifestStats.workflows} workflows, ${manifestStats.agents} agents, ${manifestStats.tasks} tasks, ${manifestStats.tools} tools, ${manifestStats.files} files`,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// Merge all module-help.csv files into bmad-help.csv
|
||||||
|
// This must happen AFTER generateManifests because it depends on agent-manifest.csv
|
||||||
|
spinner.start('Generating workflow help catalog...');
|
||||||
|
await this.mergeModuleHelpCatalogs(bmadDir);
|
||||||
|
spinner.succeed('Workflow help catalog generated');
|
||||||
|
|
||||||
// Configure IDEs and copy documentation
|
// Configure IDEs and copy documentation
|
||||||
if (!config.skipIde && config.ides && config.ides.length > 0) {
|
if (!config.skipIde && config.ides && config.ides.length > 0) {
|
||||||
// Filter out any undefined/null values from the IDE list
|
// Filter out any undefined/null values from the IDE list
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue