dual-brain 7.1.18 → 7.1.19
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 +4 -2
- package/package.json +1 -1
package/bin/dual-brain.mjs
CHANGED
|
@@ -1133,7 +1133,8 @@ async function mainScreen(rl, ask) {
|
|
|
1133
1133
|
const active = sess.isActive ? ' ●' : '';
|
|
1134
1134
|
const cat = sess.category ? ` [${sess.category}]` : '';
|
|
1135
1135
|
const tool = (sess.tool === 'codex') ? 'cdx' : 'cld';
|
|
1136
|
-
|
|
1136
|
+
const displayName = (sess.name && sess.name.length > 40) ? sess.name.slice(0, 37) + '...' : (sess.name || sess.id.slice(0, 8));
|
|
1137
|
+
console.log(` [${i + 1}] ${pin}${tool} ${sess.age.padEnd(8)} ${displayName}${active}${cat}`);
|
|
1137
1138
|
});
|
|
1138
1139
|
console.log('');
|
|
1139
1140
|
}
|
|
@@ -1148,7 +1149,7 @@ async function mainScreen(rl, ask) {
|
|
|
1148
1149
|
};
|
|
1149
1150
|
console.log(brandTop);
|
|
1150
1151
|
console.log(` │ ${brandPad('Dual Brain Session Manager')}│`);
|
|
1151
|
-
console.log(` │ ${brandPad('by Steve Moraco
|
|
1152
|
+
console.log(` │ ${brandPad('Built on data-tools by Steve Moraco')}│`);
|
|
1152
1153
|
console.log(brandBottom);
|
|
1153
1154
|
console.log('');
|
|
1154
1155
|
|
|
@@ -1163,6 +1164,7 @@ async function mainScreen(rl, ask) {
|
|
|
1163
1164
|
|
|
1164
1165
|
console.log(' [c] Continue last session');
|
|
1165
1166
|
console.log(' [n] New session');
|
|
1167
|
+
console.log('');
|
|
1166
1168
|
if (recentSessions.length > 0) {
|
|
1167
1169
|
console.log(' [1-9] Resume numbered above');
|
|
1168
1170
|
}
|
package/package.json
CHANGED