@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 +2 -1
- package/dashboard.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
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:
|
|
761
|
-
const sessionKey = filePath ||
|
|
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.
|
|
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"
|