From ba1e5ceb36f4a0bb204ceee40e92725d3fc57c5f Mon Sep 17 00:00:00 2001 From: Brian Madison Date: Sun, 15 Jun 2025 14:23:25 -0500 Subject: [PATCH] fix: update dependency resolver to support both yml and yaml code blocks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fix regex pattern to match both yml and yaml in agent markdown files - This resolves validation failures after yaml-format standardized to 'yaml' 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- tools/lib/dependency-resolver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/lib/dependency-resolver.js b/tools/lib/dependency-resolver.js index 89ab1af9..8af3ea2e 100644 --- a/tools/lib/dependency-resolver.js +++ b/tools/lib/dependency-resolver.js @@ -14,7 +14,7 @@ class DependencyResolver { const agentContent = await fs.readFile(agentPath, 'utf8'); // Extract YAML from markdown content - const yamlMatch = agentContent.match(/```yml\n([\s\S]*?)\n```/); + const yamlMatch = agentContent.match(/```ya?ml\n([\s\S]*?)\n```/); if (!yamlMatch) { throw new Error(`No YAML configuration found in agent ${agentId}`); }