agency-orchestrator 0.6.2 → 0.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/compose.js +4 -0
- package/package.json +1 -1
package/dist/cli/compose.js
CHANGED
|
@@ -265,6 +265,10 @@ export function extractYamlFromResponse(response) {
|
|
|
265
265
|
const codeBlock = response.match(/```\s*\n([\s\S]*?)```/);
|
|
266
266
|
if (codeBlock)
|
|
267
267
|
return codeBlock[1].trim();
|
|
268
|
+
// 小模型可能只有开头的 ``` 没有闭合,兜底去掉
|
|
269
|
+
const unclosed = response.match(/```ya?ml?\s*\n([\s\S]+)/);
|
|
270
|
+
if (unclosed)
|
|
271
|
+
return unclosed[1].trim().replace(/```\s*$/, '').trim();
|
|
268
272
|
// 没有代码块,整个回复当 YAML
|
|
269
273
|
return response.trim();
|
|
270
274
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agency-orchestrator",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.3",
|
|
4
4
|
"description": "Multi-agent YAML workflow engine — 211 AI roles, auto DAG parallelism, zero code. One sentence → multiple AI roles collaborate → complete plan in minutes. 10 LLM providers, 7 need no API key.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"multi-agent",
|