@yemi33/minions 0.1.561 → 0.1.562
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 +5 -0
- package/dashboard.js +12 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dashboard.js
CHANGED
|
@@ -3368,9 +3368,18 @@ What would you like to discuss or change? When you're happy, say "approve" and I
|
|
|
3368
3368
|
if (result.code !== 0 || !result.text) {
|
|
3369
3369
|
const debugInfo = result.code !== 0 ? `(exit code ${result.code})` : '(empty response)';
|
|
3370
3370
|
const stderrTail = (result.stderr || '').trim().split('\n').filter(Boolean).slice(-3).join(' | ');
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
|
|
3371
|
+
console.error(`[CC-stream] Failed: code=${result.code}, stderr=${(result.stderr || '').slice(0, 500)}, stdout_tail=${(result.raw || '').slice(-500)}`);
|
|
3372
|
+
// If resuming a session failed, auto-reset so next attempt starts fresh
|
|
3373
|
+
let retryHint;
|
|
3374
|
+
if (wasResume && result.code !== 0) {
|
|
3375
|
+
ccSession = { sessionId: null, createdAt: null, lastActiveAt: null, turnCount: 0 };
|
|
3376
|
+
safeWrite(path.join(ENGINE_DIR, 'cc-session.json'), ccSession);
|
|
3377
|
+
retryHint = 'Session was reset — send your message again to start fresh.';
|
|
3378
|
+
} else {
|
|
3379
|
+
retryHint = ccSession.sessionId
|
|
3380
|
+
? 'Your session is still active — just send your message again to retry.'
|
|
3381
|
+
: 'Try clicking **New Session** and sending your message again.';
|
|
3382
|
+
}
|
|
3374
3383
|
res.write('data: ' + JSON.stringify({ type: 'done', text: `I had trouble processing that ${debugInfo}. ${stderrTail ? 'Detail: ' + stderrTail : ''}\n\n${retryHint}`, actions: [], sessionId: ccSession.sessionId }) + '\n\n');
|
|
3375
3384
|
res.end();
|
|
3376
3385
|
return;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.562",
|
|
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"
|