From f35f620e08a7087ecc2bb32f4b229d7a57d76a1f Mon Sep 17 00:00:00 2001 From: Brian Madison Date: Sun, 15 Mar 2026 01:45:00 -0500 Subject: [PATCH] manifest generate will no longer fail when module has no agents and its first --- tools/cli/installers/lib/core/manifest.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/cli/installers/lib/core/manifest.js b/tools/cli/installers/lib/core/manifest.js index 5fa1229e1..cb5368843 100644 --- a/tools/cli/installers/lib/core/manifest.js +++ b/tools/cli/installers/lib/core/manifest.js @@ -267,9 +267,11 @@ class Manifest { * @param {Object} options - Optional version info */ async addModule(bmadDir, moduleName, options = {}) { - const manifest = await this._readRaw(bmadDir); + let manifest = await this._readRaw(bmadDir); if (!manifest) { - throw new Error('No manifest found'); + // Bootstrap a minimal manifest if it doesn't exist yet + // (e.g., skill-only modules with no agents to compile) + manifest = { modules: [] }; } if (!manifest.modules) {