@yemi33/minions 0.1.604 → 0.1.605
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/CHANGELOG.md +5 -0
- package/dashboard.js +6 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dashboard.js
CHANGED
|
@@ -770,16 +770,17 @@ async function ccDocCall({ message, document, title, filePath, selection, canEdi
|
|
|
770
770
|
return { answer: 'Failed to process request. Try again.', content: null, actions: [] };
|
|
771
771
|
}
|
|
772
772
|
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
const delimIdx = stripped.indexOf('---DOCUMENT---');
|
|
773
|
+
// Parse ---DOCUMENT--- BEFORE actions — document content may contain ===ACTIONS=== literally
|
|
774
|
+
const delimIdx = result.text.indexOf('---DOCUMENT---');
|
|
776
775
|
if (delimIdx >= 0) {
|
|
777
|
-
const
|
|
778
|
-
|
|
776
|
+
const answerPart = result.text.slice(0, delimIdx).trim();
|
|
777
|
+
const { text: answer, actions } = parseCCActions(answerPart);
|
|
778
|
+
let content = result.text.slice(delimIdx + '---DOCUMENT---'.length).trim();
|
|
779
779
|
content = content.replace(/^```\w*\n?/, '').replace(/\n?```$/, '').trim();
|
|
780
780
|
return { answer, content, actions };
|
|
781
781
|
}
|
|
782
782
|
|
|
783
|
+
const { text: stripped, actions } = parseCCActions(result.text);
|
|
783
784
|
return { answer: stripped, content: null, actions };
|
|
784
785
|
}
|
|
785
786
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.605",
|
|
4
4
|
"description": "Multi-agent AI dev team that runs from ~/.minions/ — five autonomous agents share a single engine, dashboard, and knowledge base",
|
|
5
5
|
"bin": {
|
|
6
6
|
"minions": "bin/minions.js"
|