writethevision 7.0.2 → 7.0.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/package.json +1 -1
- package/src/cli.js +24 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "writethevision",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.3",
|
|
4
4
|
"description": "Write The Vision (WTV): vision-driven development with the Habakkuk workflow. 10 agents + 21 skills for Claude Code, Codex CLI, and OpenCode.",
|
|
5
5
|
"author": "Christopher Hogg",
|
|
6
6
|
"license": "MIT",
|
package/src/cli.js
CHANGED
|
@@ -402,6 +402,15 @@ function getAgentLocations() {
|
|
|
402
402
|
return locations;
|
|
403
403
|
}
|
|
404
404
|
|
|
405
|
+
function brickifyAsciiArt(asciiArt) {
|
|
406
|
+
if (!asciiArt) return asciiArt;
|
|
407
|
+
|
|
408
|
+
return asciiArt
|
|
409
|
+
.split('\n')
|
|
410
|
+
.map(line => line.replace(/[^\s]/g, '█'))
|
|
411
|
+
.join('\n');
|
|
412
|
+
}
|
|
413
|
+
|
|
405
414
|
function parseAgentFile(filePath) {
|
|
406
415
|
if (!existsSync(filePath)) return null;
|
|
407
416
|
|
|
@@ -444,7 +453,7 @@ function parseAgentFile(filePath) {
|
|
|
444
453
|
let asciiArt = '';
|
|
445
454
|
const asciiMatch = content.match(/```text\n([\s\S]+?)\n```/);
|
|
446
455
|
if (asciiMatch) {
|
|
447
|
-
asciiArt = asciiMatch[1];
|
|
456
|
+
asciiArt = brickifyAsciiArt(asciiMatch[1]);
|
|
448
457
|
}
|
|
449
458
|
|
|
450
459
|
return {
|
|
@@ -3205,12 +3214,14 @@ async function dashboard() {
|
|
|
3205
3214
|
|
|
3206
3215
|
// Header
|
|
3207
3216
|
console.log(
|
|
3208
|
-
` ${c.magenta}
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
3217
|
+
` ${c.magenta}${c.bold}
|
|
3218
|
+
██╗ ██╗████████╗██╗ ██╗
|
|
3219
|
+
██║ ██║╚══██╔══╝██║ ██║
|
|
3220
|
+
██║ █╗ ██║ ██║ ██║ ██║
|
|
3221
|
+
██║███╗██║ ██║ ╚██╗ ██╔╝
|
|
3222
|
+
╚███╔███╔╝ ██║ ╚████╔╝
|
|
3223
|
+
╚══╝╚══╝ ╚═╝ ╚═══╝
|
|
3224
|
+
${c.reset}`
|
|
3214
3225
|
);
|
|
3215
3226
|
|
|
3216
3227
|
console.log(` ${c.dim}v${getVersion()} • ${tool.toUpperCase()} MODE${c.reset}\n`);
|
|
@@ -3284,11 +3295,12 @@ function dashboardStatic() {
|
|
|
3284
3295
|
// Banner
|
|
3285
3296
|
console.log('');
|
|
3286
3297
|
const wtvAscii = `
|
|
3287
|
-
${c.magenta}
|
|
3288
|
-
${c.magenta}
|
|
3289
|
-
${c.magenta}
|
|
3290
|
-
${c.magenta}
|
|
3291
|
-
${c.magenta}
|
|
3298
|
+
${c.magenta}${c.bold}██╗ ██╗████████╗██╗ ██╗${c.reset}
|
|
3299
|
+
${c.magenta}${c.bold}██║ ██║╚══██╔══╝██║ ██║${c.reset}
|
|
3300
|
+
${c.magenta}${c.bold}██║ █╗ ██║ ██║ ██║ ██║${c.reset}
|
|
3301
|
+
${c.magenta}${c.bold}██║███╗██║ ██║ ╚██╗ ██╔╝${c.reset}
|
|
3302
|
+
${c.magenta}${c.bold}╚███╔███╔╝ ██║ ╚████╔╝ ${c.reset}
|
|
3303
|
+
${c.magenta}${c.bold} ╚══╝╚══╝ ╚═╝ ╚═══╝ ${c.reset}`;
|
|
3292
3304
|
|
|
3293
3305
|
console.log(wtvAscii);
|
|
3294
3306
|
console.log(drawBox([
|