chekk 0.5.1 → 0.5.3

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/chekk.js CHANGED
@@ -4,7 +4,7 @@ import { execSync, spawn } from 'child_process';
4
4
  import { Command } from 'commander';
5
5
  import { run } from '../src/index.js';
6
6
 
7
- const LOCAL_VERSION = '0.5.1';
7
+ const LOCAL_VERSION = '0.5.3';
8
8
 
9
9
  // ── Auto-update check ──
10
10
  // If running from a cached npx install, check if there's a newer version
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chekk",
3
- "version": "0.5.1",
3
+ "version": "0.5.3",
4
4
  "description": "See how you prompt. Chekk analyzes your AI coding workflow, tells you what kind of engineer you are, and shows what your habits actually cost.",
5
5
  "bin": {
6
6
  "chekk": "./bin/chekk.js"
package/src/display.js CHANGED
@@ -173,7 +173,7 @@ export function displayHeader() {
173
173
  console.log();
174
174
  const lines = [
175
175
  '',
176
- ` ${bold.white('chekk')}${dim(' v0.5.1')}`,
176
+ ` ${bold.white('chekk')}${dim(' v0.5.3')}`,
177
177
  ` ${dim('prompt engineering capability profile')}`,
178
178
  '',
179
179
  ];
@@ -213,7 +213,10 @@ export async function displayProgressBar(durationMs = 2000) {
213
213
  console.log();
214
214
  console.log();
215
215
  console.log(` ${green('\u2713')} ${dim('Profile generated.')}`);
216
- console.log();
216
+ // Brief pause so user sees "Profile generated" before clearing
217
+ await sleep(600);
218
+ // Clear screen + scrollback buffer, then move cursor to top-left
219
+ process.stdout.write('\x1b[3J\x1b[2J\x1b[H');
217
220
  }
218
221
 
219
222
  // ══════════════════════════════════════════════
@@ -231,7 +234,7 @@ function displayProfileHeader(result, extra = {}) {
231
234
  console.log(` ${bold.white('PROMPT ENGINEERING CAPABILITY PROFILE')}`);
232
235
  console.log();
233
236
  if (sessionStats) {
234
- console.log(` ${dim(`Generated ${dateStr} | chekk v0.5.1`)}`);
237
+ console.log(` ${dim(`Generated ${dateStr} | chekk v0.5.3`)}`);
235
238
  console.log(` ${dim(`Analysis: ${sessionStats.totalSessions} sessions \u00B7 ${sessionStats.tools.length} tool${sessionStats.tools.length > 1 ? 's' : ''} \u00B7 ${numberFormat(sessionStats.totalExchanges)} exchanges`)}`);
236
239
  if (sessionStats.dateRangeShort) {
237
240
  console.log(` ${dim(`Period: ${sessionStats.dateRangeShort}`)}`);