@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 || 'session';
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 name = candidateName || 'session';
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: allNewJsonl[0].path };
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(4, Math.floor(remaining * 0.30));
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ekkos/cli",
3
- "version": "1.0.17",
3
+ "version": "1.0.19",
4
4
  "description": "Setup ekkOS memory for AI coding assistants (Claude Code, Cursor, Windsurf)",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -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}) - ekkOS - Turn $turn - $sessionName - $timestamp</footer-format>
305
+ <footer-format>End responses with: Claude Code ({Model}) · 🧠 ekkOS_™ · $sessionName · $timestamp</footer-format>
306
306
  "@
307
307
 
308
308
  Write-Output $output