@yemi33/minions 0.1.285 → 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 CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.286 (2026-04-03)
4
+
5
+ ### Features
6
+ - all doc-chats use Sonnet with full tools (agent change)
7
+
3
8
  ## 0.1.285 (2026-04-03)
4
9
 
5
10
  ### Fixes
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
- // Plans + meetings: Sonnet with tools for multi-turn codebase-aware Q&A
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}, model=${isRich ? 'sonnet' : 'haiku'}, stderr=${(result.stderr || '').slice(0, 200)}`);
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.285",
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"