A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy injectors to reality checkers. Each agent is a specialized expert with personality, processes, and proven deliverables.
Shell
fix(hermes): preserve continued frontmatter metadata
Rudy Celekli2f1008453b5b
diff --git a/scripts/build-hermes-plugin.py b/scripts/build-hermes-plugin.pyindex caffc56b..fb06f9d4 100644--- a/scripts/build-hermes-plugin.py+++ b/scripts/build-hermes-plugin.py@@ -44,11 +44,22 @@ def parse_agent(path: Path, repo_root: Path) -> dict[str, str] | None:frontmatter = parts[1]body = parts[2].lstrip("\n")fields: dict[str, str] = {}+ current_key = Nonefor line in frontmatter.splitlines():- if ":" not in line or line.startswith((" ", "\t")):+ # YAML folds indented plain-scalar continuation lines into one value.+ if line.startswith((" ", "\t")):+ if current_key and line.strip():+ fields[current_key] += " " + line.strip()+ continue+ current_key = None+ if ":" not in line:continuekey, value = line.split(":", 1)- fields[key.strip()] = value.strip().strip('"').strip("'")+ current_key = key.strip()+ fields[current_key] = value.strip()+ for key, value in fields.items():+ if len(value) > 1 and value[0] == value[-1] and value[0] in ('"', "'"):+ fields[key] = value[1:-1]name = fields.get("name", "").strip()if not name:return Nonediff --git a/scripts/check-hermes-plugin.py b/scripts/check-hermes-plugin.pyindex 4ef3ce73..3167c5eb 100644--- a/scripts/check-hermes-plugin.py+++ b/scripts/check-hermes-plugin.py@@ -33,6 +33,28 @@ def main() -> int:builder = load_module("agency_agents_hermes_builder", BUILDER_PATH)with tempfile.TemporaryDirectory() as tmp:+ source = Path(tmp) / "engineering" / "engineering-multiline.md"+ source.parent.mkdir()+ source.write_text(+ "---\n"+ "name: Multiline Specialist\n"+ "description: First part of the description\n"+ " followed by essential context.\n"+ "vibe: First part of the vibe\n"+ " followed by the rest.\n"+ "---\n\n# Multiline Specialist\n",+ encoding="utf-8",+ )+ parsed = builder.parse_agent(source, Path(tmp))+ assert parsed is not None+ assert parsed["description"] == "First part of the description followed by essential context."+ assert parsed["vibe"] == "First part of the vibe followed by the rest."+ quoted_vibe = builder.parse_agent(+ REPO_ROOT / "specialized" / "identity-graph-operator.md", REPO_ROOT+ )+ assert quoted_vibe is not None+ assert quoted_vibe["vibe"].endswith('who is this?"')+out_dir = Path(tmp) / "hermes"builder.build(REPO_ROOT, out_dir)plugin = load_module(diff --git a/scripts/convert-outputs.sha256 b/scripts/convert-outputs.sha256index 44018046..263b3f5a 100644--- a/scripts/convert-outputs.sha256+++ b/scripts/convert-outputs.sha256@@ -43,7 +43,7 @@ agent china-e-commerce-operator 943a8791f03a1b166469cd614d8e338acca4966c0ae87998agent china-market-localization-strategist 3a15eb261c173858b0e231f22edf56e8abdd47265471c03a5cb8c7fde4f3bc5dagent china-network-engineer 406a6032cc7292f28fa46e69ed43bc7e35ec987d9ef8477377e92982cb0b95b3agent civil-engineer 34971dc8dbc1aff0219cdb3518a5c1b7c7042897e37ec806fa180dd2cba81e6c-agent clinical-evidence-agent d72a80025fc7012055e94b9cf46ca459452e913b124df8d9cfb8debf8d199653+agent clinical-evidence-agent 1e33191bdad4e58e0c61476fdbf47c92833705df8809e138b713f16dd3711f0dagent cloud-security-architect 9ba3bb548d448221732a0c09cb5284aa771109c4eb56befde2aacbb6c573ef84agent cms-developer f965acccc97e09470b21604f4edce545fa259d253138b8312c55f879218ca750agent code-reviewer 43a29ff0f7e96405412d84c8a655f1f9947bdd2d26182ed579cedd8d2deb8d3d@@ -109,13 +109,13 @@ agent government-digital-presales-consultant 129c7d17a83a4772c56dcf450ef4bacc334agent grant-writer f06f0805cc718deada92f11a9a0bb6c75771a62422b13ba2b1674c78b88e4bc0agent growth-hacker 8006d939efcfd9636a424d9199370a7adceeab77cc062dec367700da2c4b8aadagent healthcare-customer-service 00c0dbc54a9e02235fc8478f6ab2af242ac4c398f2a523abc0fce1cfea2c6b07-agent healthcare-innovation-strategist 8bade66bc40341e32bb6a3a6b8af76bf85b7ee143a4f568dc0e887718fb184d3+agent healthcare-innovation-strategist 826cd3539aa8491f8e2d3c99ffbb24c4596cbfc909d42090e7708b581914f753agent healthcare-marketing-compliance-specialist 5f2e709deff3066ee2e26a39211824962a48aeb2dedbd0e2808f496175415e83agent historian 883638a108ce343ca5cc06febcf4b99d35142c6fc0be3b6605c8865d6722dea1agent hospitality-guest-services a54428ed85f3c2ea7e75e44e54643b2c5af99dd97e47a3ef517fefc5e975a792agent hr-onboarding dce127ba9b9aaae0261677e57cbb6a21c4d103fd2e05f82ed0f44ea24e6fa6c4agent identity-access-engineer a225edd2a33ff902cddd776bc4bf25529296dfac0d5eddf25e70dfb73c359fcf-agent identity-graph-operator d919870f94e5bddad41c26a57f92b99e613fc787abacf34f6535754d8856067d+agent identity-graph-operator 3a936a5ff82cc99b63aa55899d053dfdd35a65f39a90eb05b9c84ebb12752e06agent image-prompt-engineer ee5abdd56c58435c5e1f00a7d581b1071292ed29d0206e6e5a88172974e2138aagent incident-responder 2b3a1581994c111f4983722e6e6726101bf50d039e75b6c6f19e79ebf73f2a9aagent incident-response-commander 4775e1bfea8756bc8264ad4543da570d388703e2f941892c98c7d3b3ab7230ff@@ -217,7 +217,7 @@ agent social-media-strategist 856ec12e4a3abc323593d0526b2c024162f4bb8790dbbe9046agent software-architect 29d67ef8649ae8c558de15262ff24cb428aff6a3c6ee397cc82c7b48988b018eagent solidity-smart-contract-engineer 96a1d70fcc2671e1593a47a316f1a347dd81673c8aa41680113d49693ff56c4aagent solution-engineer 6f5c989e9b5eafde81eac31be5f9e36c050cf9a3eb9599cf31d8aaff07330f64-agent sovereign-health-systems-agent 1929d039e77ac3b8a86c925fe9a93f0349df0868928b1a1a596bfb8e8ce010ef+agent sovereign-health-systems-agent 2039a19af8b538d0a383bb54e60d553d87ec8250c7e4c2071e8a981041f31927agent spatial-data-engineer 53038692cbe4c7596b40c41dbc208f3e2f577db438f87a2e5f712ed704a49cb5agent spatial-data-scientist cde6d37e6a267cdb890a5261cb72fae6556a229cda95fb22350aefd933a64f91agent sprint-prioritizer 19c3d3b06b4963b624aed7d0da0d67cce46c8f6a492bd580009b218cc9e07f98