This commit is contained in:
Brian Madison
2025-06-08 23:01:50 -05:00
parent 3a46f93047
commit 6251fd9f9d
24 changed files with 1295 additions and 316 deletions

View File

@@ -285,12 +285,19 @@ class WebBuilder {
// Add agent configurations section
content += `==================== START: agent-config ====================\n`;
content += yaml.dump({
const configData = {
name: bundle.metadata.name,
version: bundle.metadata.version || '1.0.0',
agents: bundle.agents,
commands: config.output?.orchestrator_commands || []
});
};
// Include workflows if defined
if (config.workflows) {
configData.workflows = config.workflows;
}
content += yaml.dump(configData);
content += `==================== END: agent-config ====================\n\n`;
// Add resource sections
@@ -429,6 +436,10 @@ class WebBuilder {
if (config.agents && !bundleConfig.agents) {
bundleConfig.agents = config.agents;
}
// Include workflows if defined
if (config.workflows) {
bundleConfig.workflows = config.workflows;
}
configs.push(bundleConfig);
}
} catch (error) {