chekk 0.5.1 → 0.5.2
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 +1 -1
- package/package.json +1 -1
- package/src/display.js +6 -3
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.
|
|
7
|
+
const LOCAL_VERSION = '0.5.2';
|
|
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
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.
|
|
176
|
+
` ${bold.white('chekk')}${dim(' v0.5.2')}`,
|
|
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
|
-
|
|
216
|
+
// Brief pause so user sees "Profile generated" before clearing
|
|
217
|
+
await sleep(600);
|
|
218
|
+
// Clear screen so results start at the top
|
|
219
|
+
process.stdout.write('\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.
|
|
237
|
+
console.log(` ${dim(`Generated ${dateStr} | chekk v0.5.2`)}`);
|
|
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}`)}`);
|