@yemi33/minions 0.1.603 → 0.1.604

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,8 +1,9 @@
1
1
  # Changelog
2
2
 
3
- ## 0.1.603 (2026-04-08)
3
+ ## 0.1.604 (2026-04-08)
4
4
 
5
5
  ### Fixes
6
+ - revert doc-chat session key to stable filePath || title
6
7
  - doc-chat session key collision and model passthrough
7
8
 
8
9
  ## 0.1.602 (2026-04-08)
package/dashboard.js CHANGED
@@ -757,8 +757,8 @@ async function ccCall(message, { store = 'cc', sessionKey, extraContext, label =
757
757
  async function ccDocCall({ message, document, title, filePath, selection, canEdit, isJson, model }) {
758
758
  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.)'}`;
759
759
 
760
- // Session key: use filePath if available, otherwise title+filePath hash to avoid collisions
761
- const sessionKey = filePath || `${title || 'doc'}:${(document || '').slice(0, 100)}`;
760
+ // Session key: filePath is stable and unique; title is the fallback for read-only Q&A
761
+ const sessionKey = filePath || title;
762
762
  const result = await ccCall(message, {
763
763
  store: 'doc', sessionKey,
764
764
  extraContext: docContext, label: 'doc-chat',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.603",
3
+ "version": "0.1.604",
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"