@ekkos/cli 1.0.17 → 1.0.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.
|
@@ -412,7 +412,7 @@ async function waitForNewSession() {
|
|
|
412
412
|
if (launchCwd) {
|
|
413
413
|
const latestJsonl = findLatestJsonl(launchCwd, launchTs);
|
|
414
414
|
if (latestJsonl) {
|
|
415
|
-
const name = candidateName || '
|
|
415
|
+
const name = candidateName || path.basename(latestJsonl, '.jsonl');
|
|
416
416
|
console.log(chalk_1.default.green(` Found session via CWD: ${name}`));
|
|
417
417
|
return { sessionName: name, jsonlPath: latestJsonl };
|
|
418
418
|
}
|
|
@@ -443,9 +443,12 @@ async function waitForNewSession() {
|
|
|
443
443
|
})
|
|
444
444
|
.sort((a, b) => b.birthtime - a.birthtime);
|
|
445
445
|
if (allNewJsonl.length > 0) {
|
|
446
|
-
const
|
|
446
|
+
const jsonlPath = allNewJsonl[0].path;
|
|
447
|
+
// Derive name from filename (e.g. abc123.jsonl → use candidateName if set, else basename)
|
|
448
|
+
const baseName = path.basename(jsonlPath, '.jsonl');
|
|
449
|
+
const name = candidateName || baseName;
|
|
447
450
|
console.log(chalk_1.default.green(` Found session via scan: ${name}`));
|
|
448
|
-
return { sessionName: name, jsonlPath
|
|
451
|
+
return { sessionName: name, jsonlPath };
|
|
449
452
|
}
|
|
450
453
|
}
|
|
451
454
|
}
|
|
@@ -564,7 +567,7 @@ async function launchDashboard(initialSessionName, jsonlPath, refreshMs) {
|
|
|
564
567
|
function calcLayout() {
|
|
565
568
|
const H = screen.height;
|
|
566
569
|
const remaining = Math.max(6, H - FIXED_H);
|
|
567
|
-
const chartH = Math.max(
|
|
570
|
+
const chartH = Math.max(8, Math.floor(remaining * 0.30));
|
|
568
571
|
const tableH = Math.max(4, remaining - chartH);
|
|
569
572
|
return {
|
|
570
573
|
header: { top: 0, height: HEADER_H },
|
package/package.json
CHANGED
|
@@ -302,7 +302,7 @@ if ($skillReminders.Count -gt 0) {
|
|
|
302
302
|
|
|
303
303
|
$output += @"
|
|
304
304
|
|
|
305
|
-
<footer-format>End responses with: Claude Code ({Model})
|
|
305
|
+
<footer-format>End responses with: Claude Code ({Model}) · 🧠 ekkOS_™ · $sessionName · $timestamp</footer-format>
|
|
306
306
|
"@
|
|
307
307
|
|
|
308
308
|
Write-Output $output
|