@yemi33/minions 0.1.284 → 0.1.286
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 +7 -1
- package/dashboard.js +2 -11
- package/minions.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.1.
|
|
3
|
+
## 0.1.286 (2026-04-03)
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
- all doc-chats use Sonnet with full tools (agent change)
|
|
7
|
+
|
|
8
|
+
## 0.1.285 (2026-04-03)
|
|
4
9
|
|
|
5
10
|
### Fixes
|
|
11
|
+
- scan default path uses os.homedir() not env vars
|
|
6
12
|
- render proper thinking layout immediately — no flash of unstyled text
|
|
7
13
|
- thinking indicator layout — text ... dots ... elapsed time right-aligned
|
|
8
14
|
- thinking indicator shows immediately when user sends message
|
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/minions.js
CHANGED
|
@@ -293,7 +293,7 @@ async function scanAndAdd({ root, depth } = {}) {
|
|
|
293
293
|
if (root) {
|
|
294
294
|
scanRoots = [path.resolve(root)];
|
|
295
295
|
} else {
|
|
296
|
-
const homeDir =
|
|
296
|
+
const homeDir = require('os').homedir();
|
|
297
297
|
const answer = await ask('Where are your projects? (comma-separate for multiple)', homeDir);
|
|
298
298
|
scanRoots = answer.split(',').map(s => path.resolve(s.trim())).filter(Boolean);
|
|
299
299
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.286",
|
|
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"
|