dual-brain 0.1.14 → 0.1.16
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/bin/dual-brain.mjs +3 -2
- package/package.json +1 -1
package/bin/dual-brain.mjs
CHANGED
|
@@ -499,8 +499,9 @@ async function cmdStatus(args = []) {
|
|
|
499
499
|
.filter(([k]) => k.startsWith(`${p.name}:`));
|
|
500
500
|
const sess = sessionStats[p.name] ?? { calls: 0, tokens: 0 };
|
|
501
501
|
|
|
502
|
+
const planStr = p.plan ? ` plan=${p.plan}` : '';
|
|
502
503
|
if (provStates.length === 0) {
|
|
503
|
-
console.log(` ${label}
|
|
504
|
+
console.log(` ${label}${planStr} status=healthy calls=${sess.calls} tokens=${sess.tokens}`);
|
|
504
505
|
} else {
|
|
505
506
|
for (const [k, st] of provStates) {
|
|
506
507
|
const modelClass = k.split(':').slice(1).join(':');
|
|
@@ -509,7 +510,7 @@ async function cmdStatus(args = []) {
|
|
|
509
510
|
const remaining = remainingCooldownMinutes(p.name, modelClass, cwd);
|
|
510
511
|
statusStr = remaining > 0 ? `hot (retry in ${remaining}m)` : 'hot (cooling)';
|
|
511
512
|
}
|
|
512
|
-
console.log(` ${label}
|
|
513
|
+
console.log(` ${label}${planStr} model=${modelClass} status=${statusStr} calls=${sess.calls} tokens=${sess.tokens}`);
|
|
513
514
|
}
|
|
514
515
|
}
|
|
515
516
|
}
|
package/package.json
CHANGED