@yemi33/minions 0.1.285 → 0.1.287
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 +8 -0
- package/dashboard/js/refresh.js +1 -1
- package/dashboard.js +2 -11
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dashboard/js/refresh.js
CHANGED
|
@@ -11,7 +11,7 @@ const _pageCounters = {
|
|
|
11
11
|
meetings: function(d) { return (d.meetings || []).reduce(function(s, m) { return s + (m.round || 0); }, 0); },
|
|
12
12
|
pipelines: function(d) { return (d.pipelines || []).reduce(function(s, p) { return s + (p.runs || []).length; }, 0); },
|
|
13
13
|
schedule: function(d) { return (d.schedules || []).length; },
|
|
14
|
-
engine: function(d) { return (d.dispatch?.
|
|
14
|
+
engine: function(d) { return (d.dispatch?.completed || []).filter(function(c) { return c.result === 'error'; }).length; },
|
|
15
15
|
};
|
|
16
16
|
let _prevCounts = {};
|
|
17
17
|
function _detectPageChanges(data) {
|
package/dashboard.js
CHANGED
|
@@ -645,23 +645,14 @@ async function ccCall(message, { store = 'cc', sessionKey, extraContext, label =
|
|
|
645
645
|
async function ccDocCall({ message, document, title, filePath, selection, canEdit, isJson }) {
|
|
646
646
|
const docContext = `## Document Context\n**${title || 'Document'}**${filePath ? ' (`' + filePath + '`)' : ''}${isJson ? ' (JSON)' : ''}\n${selection ? '\n**Selected text:**\n> ' + selection.slice(0, 1500) + '\n' : ''}\n\`\`\`\n${document.slice(0, 20000)}\n\`\`\`\n${canEdit ? '\nIf editing: respond with your explanation, then `---DOCUMENT---` on its own line, then the COMPLETE updated file.' : '\n(Read-only — answer questions only.)'}`;
|
|
647
647
|
|
|
648
|
-
//
|
|
649
|
-
// Everything else: Haiku, 1 turn, no tools — fast
|
|
650
|
-
const isPlan = filePath && /^plans\//.test(filePath);
|
|
651
|
-
const isMeeting = filePath && /^meetings\//.test(filePath);
|
|
652
|
-
const isRich = isPlan || isMeeting;
|
|
648
|
+
// All doc-chats use Sonnet with full tools and minions state — same brain as Command Center
|
|
653
649
|
const result = await ccCall(message, {
|
|
654
650
|
store: 'doc', sessionKey: filePath || title,
|
|
655
651
|
extraContext: docContext, label: 'doc-chat',
|
|
656
|
-
timeout: isRich ? 300000 : 60000,
|
|
657
|
-
maxTurns: isRich ? 50 : 1,
|
|
658
|
-
model: isRich ? 'sonnet' : 'haiku',
|
|
659
|
-
allowedTools: isRich ? 'Read,Glob,Grep' : '',
|
|
660
|
-
skipStatePreamble: !isRich,
|
|
661
652
|
});
|
|
662
653
|
|
|
663
654
|
if (result.code !== 0 || !result.text) {
|
|
664
|
-
console.error(`[doc-chat] Failed: code=${result.code}, empty=${!result.text}, filePath=${filePath},
|
|
655
|
+
console.error(`[doc-chat] Failed: code=${result.code}, empty=${!result.text}, filePath=${filePath}, stderr=${(result.stderr || '').slice(0, 200)}`);
|
|
665
656
|
return { answer: 'Failed to process request. Try again.', content: null, actions: [] };
|
|
666
657
|
}
|
|
667
658
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.287",
|
|
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"
|