@caddis/cli 0.4.14 → 0.4.16

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.
@@ -1,7 +1,7 @@
1
1
  {
2
- "poolVersion": "1.3.105",
2
+ "poolVersion": "1.3.109",
3
3
  "bundles": {
4
- "antigravity-plugin": "1.3.105",
4
+ "antigravity-plugin": "1.3.109",
5
5
  "antigravity-plugin-extras": "1.3.29",
6
6
  "codex": "unknown"
7
7
  }
@@ -435,22 +435,62 @@ function maskKey(key) {
435
435
  }
436
436
 
437
437
  // src/util/log.ts
438
+ var import_picocolors2 = __toESM(require_picocolors(), 1);
439
+
440
+ // src/util/theme.ts
438
441
  var import_picocolors = __toESM(require_picocolors(), 1);
439
- var OK = import_picocolors.default.green("OK");
440
- var WARN = import_picocolors.default.yellow("!!");
441
- var FAIL = import_picocolors.default.red("XX");
442
- var SKIP = import_picocolors.default.dim("--");
442
+ function hex(hexStr) {
443
+ const clean = hexStr.replace("#", "");
444
+ const r = parseInt(clean.substring(0, 2), 16);
445
+ const g = parseInt(clean.substring(2, 4), 16);
446
+ const b = parseInt(clean.substring(4, 6), 16);
447
+ return (text) => import_picocolors.default.isColorSupported ? `\x1B[38;2;${r};${g};${b}m${text}\x1B[39m` : text;
448
+ }
449
+ var theme = {
450
+ // Primary Brand
451
+ mint: hex("#00FFA6"),
452
+ // Radiant Cyber Mint (#00FFA6)
453
+ // Contrasting Accents
454
+ violet: hex("#A855F7"),
455
+ // Electric Violet (high-contrast complement)
456
+ magenta: hex("#FF007F"),
457
+ // Neon Magenta (warm contrast)
458
+ sky: hex("#00D2FF"),
459
+ // Electric Sky Cyan (cool highlight)
460
+ amber: hex("#FFB703"),
461
+ // Neon Amber (warning / drift)
462
+ coral: hex("#FF4A6E"),
463
+ // Electric Coral (errors)
464
+ // Formatter utilities
465
+ dim: import_picocolors.default.dim,
466
+ bold: import_picocolors.default.bold,
467
+ isColorSupported: import_picocolors.default.isColorSupported
468
+ };
469
+
470
+ // src/util/log.ts
471
+ var OK = theme.mint("OK");
472
+ var WARN = theme.amber("!!");
473
+ var FAIL = theme.coral("XX");
474
+ var SKIP = import_picocolors2.default.dim("--");
443
475
  var MARKS = {
444
- ok: import_picocolors.default.green("\u2713"),
445
- warn: import_picocolors.default.yellow("\u25B2"),
446
- fail: import_picocolors.default.red("\u2717"),
447
- skip: import_picocolors.default.dim("\xB7"),
448
- info: import_picocolors.default.cyan("\u2022")
476
+ ok: theme.mint("\u2713"),
477
+ warn: theme.amber("\u25B2"),
478
+ fail: theme.coral("\u2717"),
479
+ skip: import_picocolors2.default.dim("\xB7"),
480
+ info: theme.sky("\u2022")
449
481
  };
450
482
  function errorLine(text) {
451
- process.stderr.write(`${import_picocolors.default.red("error")} ${text}
483
+ process.stderr.write(`${theme.coral("error")} ${text}
452
484
  `);
453
485
  }
486
+ var color = Object.assign(import_picocolors2.default, {
487
+ mint: theme.mint,
488
+ violet: theme.violet,
489
+ magenta: theme.magenta,
490
+ sky: theme.sky,
491
+ amber: theme.amber,
492
+ coral: theme.coral
493
+ });
454
494
 
455
495
  // src/util/which.ts
456
496
  var import_which = __toESM(require_lib(), 1);
@@ -435,22 +435,62 @@ function maskKey(key) {
435
435
  }
436
436
 
437
437
  // src/util/log.ts
438
+ var import_picocolors2 = __toESM(require_picocolors(), 1);
439
+
440
+ // src/util/theme.ts
438
441
  var import_picocolors = __toESM(require_picocolors(), 1);
439
- var OK = import_picocolors.default.green("OK");
440
- var WARN = import_picocolors.default.yellow("!!");
441
- var FAIL = import_picocolors.default.red("XX");
442
- var SKIP = import_picocolors.default.dim("--");
442
+ function hex(hexStr) {
443
+ const clean = hexStr.replace("#", "");
444
+ const r = parseInt(clean.substring(0, 2), 16);
445
+ const g = parseInt(clean.substring(2, 4), 16);
446
+ const b = parseInt(clean.substring(4, 6), 16);
447
+ return (text) => import_picocolors.default.isColorSupported ? `\x1B[38;2;${r};${g};${b}m${text}\x1B[39m` : text;
448
+ }
449
+ var theme = {
450
+ // Primary Brand
451
+ mint: hex("#00FFA6"),
452
+ // Radiant Cyber Mint (#00FFA6)
453
+ // Contrasting Accents
454
+ violet: hex("#A855F7"),
455
+ // Electric Violet (high-contrast complement)
456
+ magenta: hex("#FF007F"),
457
+ // Neon Magenta (warm contrast)
458
+ sky: hex("#00D2FF"),
459
+ // Electric Sky Cyan (cool highlight)
460
+ amber: hex("#FFB703"),
461
+ // Neon Amber (warning / drift)
462
+ coral: hex("#FF4A6E"),
463
+ // Electric Coral (errors)
464
+ // Formatter utilities
465
+ dim: import_picocolors.default.dim,
466
+ bold: import_picocolors.default.bold,
467
+ isColorSupported: import_picocolors.default.isColorSupported
468
+ };
469
+
470
+ // src/util/log.ts
471
+ var OK = theme.mint("OK");
472
+ var WARN = theme.amber("!!");
473
+ var FAIL = theme.coral("XX");
474
+ var SKIP = import_picocolors2.default.dim("--");
443
475
  var MARKS = {
444
- ok: import_picocolors.default.green("\u2713"),
445
- warn: import_picocolors.default.yellow("\u25B2"),
446
- fail: import_picocolors.default.red("\u2717"),
447
- skip: import_picocolors.default.dim("\xB7"),
448
- info: import_picocolors.default.cyan("\u2022")
476
+ ok: theme.mint("\u2713"),
477
+ warn: theme.amber("\u25B2"),
478
+ fail: theme.coral("\u2717"),
479
+ skip: import_picocolors2.default.dim("\xB7"),
480
+ info: theme.sky("\u2022")
449
481
  };
450
482
  function errorLine(text) {
451
- process.stderr.write(`${import_picocolors.default.red("error")} ${text}
483
+ process.stderr.write(`${theme.coral("error")} ${text}
452
484
  `);
453
485
  }
486
+ var color = Object.assign(import_picocolors2.default, {
487
+ mint: theme.mint,
488
+ violet: theme.violet,
489
+ magenta: theme.magenta,
490
+ sky: theme.sky,
491
+ amber: theme.amber,
492
+ coral: theme.coral
493
+ });
454
494
 
455
495
  // src/util/which.ts
456
496
  var import_which = __toESM(require_lib(), 1);
@@ -435,22 +435,62 @@ function maskKey(key) {
435
435
  }
436
436
 
437
437
  // src/util/log.ts
438
+ var import_picocolors2 = __toESM(require_picocolors(), 1);
439
+
440
+ // src/util/theme.ts
438
441
  var import_picocolors = __toESM(require_picocolors(), 1);
439
- var OK = import_picocolors.default.green("OK");
440
- var WARN = import_picocolors.default.yellow("!!");
441
- var FAIL = import_picocolors.default.red("XX");
442
- var SKIP = import_picocolors.default.dim("--");
442
+ function hex(hexStr) {
443
+ const clean = hexStr.replace("#", "");
444
+ const r = parseInt(clean.substring(0, 2), 16);
445
+ const g = parseInt(clean.substring(2, 4), 16);
446
+ const b = parseInt(clean.substring(4, 6), 16);
447
+ return (text) => import_picocolors.default.isColorSupported ? `\x1B[38;2;${r};${g};${b}m${text}\x1B[39m` : text;
448
+ }
449
+ var theme = {
450
+ // Primary Brand
451
+ mint: hex("#00FFA6"),
452
+ // Radiant Cyber Mint (#00FFA6)
453
+ // Contrasting Accents
454
+ violet: hex("#A855F7"),
455
+ // Electric Violet (high-contrast complement)
456
+ magenta: hex("#FF007F"),
457
+ // Neon Magenta (warm contrast)
458
+ sky: hex("#00D2FF"),
459
+ // Electric Sky Cyan (cool highlight)
460
+ amber: hex("#FFB703"),
461
+ // Neon Amber (warning / drift)
462
+ coral: hex("#FF4A6E"),
463
+ // Electric Coral (errors)
464
+ // Formatter utilities
465
+ dim: import_picocolors.default.dim,
466
+ bold: import_picocolors.default.bold,
467
+ isColorSupported: import_picocolors.default.isColorSupported
468
+ };
469
+
470
+ // src/util/log.ts
471
+ var OK = theme.mint("OK");
472
+ var WARN = theme.amber("!!");
473
+ var FAIL = theme.coral("XX");
474
+ var SKIP = import_picocolors2.default.dim("--");
443
475
  var MARKS = {
444
- ok: import_picocolors.default.green("\u2713"),
445
- warn: import_picocolors.default.yellow("\u25B2"),
446
- fail: import_picocolors.default.red("\u2717"),
447
- skip: import_picocolors.default.dim("\xB7"),
448
- info: import_picocolors.default.cyan("\u2022")
476
+ ok: theme.mint("\u2713"),
477
+ warn: theme.amber("\u25B2"),
478
+ fail: theme.coral("\u2717"),
479
+ skip: import_picocolors2.default.dim("\xB7"),
480
+ info: theme.sky("\u2022")
449
481
  };
450
482
  function errorLine(text) {
451
- process.stderr.write(`${import_picocolors.default.red("error")} ${text}
483
+ process.stderr.write(`${theme.coral("error")} ${text}
452
484
  `);
453
485
  }
486
+ var color = Object.assign(import_picocolors2.default, {
487
+ mint: theme.mint,
488
+ violet: theme.violet,
489
+ magenta: theme.magenta,
490
+ sky: theme.sky,
491
+ amber: theme.amber,
492
+ coral: theme.coral
493
+ });
454
494
 
455
495
  // src/util/which.ts
456
496
  var import_which = __toESM(require_lib(), 1);