skalpel 3.0.2 → 3.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/npm-bin/colors.js CHANGED
@@ -13,7 +13,7 @@ const pc = require('picocolors');
13
13
 
14
14
  const tokens = require(path.resolve(__dirname, '..', 'design-tokens.json'));
15
15
 
16
- const palette = (tokens.themes && tokens.themes.frappe) || {};
16
+ const palette = (tokens.themes && tokens.themes['tokyo-night-storm']) || {};
17
17
 
18
18
  function rgbFromHex(hex) {
19
19
  const m = String(hex || '').replace('#', '').match(/^([0-9a-fA-F]{6})$/);
@@ -87,22 +87,22 @@ function markInstalled() {
87
87
 
88
88
  function renderWelcome(version, platformLabel, opts) {
89
89
  const colored = opts && opts.colored;
90
- const v = colored ? theme.bold(theme.mauve(`skalpel v${version}`)) : `skalpel v${version}`;
90
+ const v = colored ? theme.bold(theme.lilac(`skalpel v${version}`)) : `skalpel v${version}`;
91
91
  const detect = colored
92
- ? `${theme.green('✓')} ${theme.text(`Detecting platform… ${platformLabel}`)}`
92
+ ? `${theme.mint('✓')} ${theme.text(`Detecting platform… ${platformLabel}`)}`
93
93
  : `✓ Detecting platform… ${platformLabel}`;
94
94
  const resolve = colored
95
- ? `${theme.green('✓')} ${theme.text('Resolving binary… found')}`
95
+ ? `${theme.mint('✓')} ${theme.text('Resolving binary… found')}`
96
96
  : `✓ Resolving binary… found`;
97
97
  const body = [v, '', detect, resolve].join('\n');
98
- return box(body, colored ? 'mauve' : null, { padding: 1 });
98
+ return box(body, colored ? 'lilac' : null, { padding: 1 });
99
99
  }
100
100
 
101
101
  function renderError(title, body, hint, opts) {
102
102
  const colored = opts && opts.colored;
103
103
  const t = colored ? theme.bold(theme.red(`✗ ${title}`)) : `✗ ${title}`;
104
104
  const b = colored ? theme.dim(theme.text(body)) : body;
105
- const h = colored ? theme.mauve(hint) : hint;
105
+ const h = colored ? theme.lilac(hint) : hint;
106
106
  const content = [t, '', b, '', h].join('\n');
107
107
  return box(content, colored ? 'red' : null, { padding: 1 });
108
108
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skalpel",
3
- "version": "3.0.2",
3
+ "version": "3.0.3",
4
4
  "description": "Skalpel — local proxy and TUI for coding agents (skalpel + skalpeld bundle).",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://skalpel.ai",
@@ -32,7 +32,7 @@ function printStyledSuccess() {
32
32
  if (!process.stdout.isTTY) return;
33
33
  const colored = !process.env.NO_COLOR;
34
34
  const platformLabel = `${process.platform}-${process.arch}`;
35
- const check = colored ? colors.theme.green('✓') : '✓';
35
+ const check = colored ? colors.theme.mint('✓') : '✓';
36
36
  const text = colored
37
37
  ? colors.theme.text(` skalpel installed for ${platformLabel}`)
38
38
  : ` skalpel installed for ${platformLabel}`;