wormclaude 1.0.61 → 1.0.63
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/dist/ansi.js +10 -2
- package/dist/theme.js +1 -1
- package/package.json +1 -1
package/dist/ansi.js
CHANGED
|
@@ -78,9 +78,17 @@ export function bannerAnsi(cols) {
|
|
|
78
78
|
const w = Math.max(10, cols);
|
|
79
79
|
const rows = cols >= 90 ? WORM_ROWS.map((r, i) => r + CLAUDE_ROWS[i]) : [...WORM_ROWS, ...CLAUDE_ROWS];
|
|
80
80
|
const body = rows.map((r) => paint(r.length > w ? r.slice(0, w) : r, theme.red, true)).join('\n');
|
|
81
|
-
// İmza
|
|
81
|
+
// İmza: "✶✶ By S.Y® ✶✶" — büyük WORMCLAUDE'un SAĞ ucuna (CLAUDE'un "DE"si) hizalı.
|
|
82
|
+
// İki-tonlu yıldız: tek glif yarı-renk yapılamaz → yan yana 1 kırmızı + 1 beyaz (iki yanda ayna).
|
|
82
83
|
const sign = (process.env.WORMCLAUDE_SIGN || 'S.Y').trim();
|
|
83
|
-
const
|
|
84
|
+
const st = (c) => paint('✶', c, true);
|
|
85
|
+
const left = st(theme.white) + st(theme.red); // ✶beyaz ✶kırmızı
|
|
86
|
+
const right = st(theme.red) + st(theme.white); // ✶kırmızı ✶beyaz (ayna)
|
|
87
|
+
const sigCore = paint(' By ' + sign, theme.greyDim) + paint('®', theme.red, true) + ' ';
|
|
88
|
+
const plain = '✶✶ By ' + sign + '® ✶✶'; // genişlik hesabı (ANSI'siz)
|
|
89
|
+
const bannerW = Math.min(Math.max(...rows.map((r) => r.length)), w);
|
|
90
|
+
const pad = ' '.repeat(Math.max(2, bannerW - plain.length)); // sağa hizala → "DE" altına
|
|
91
|
+
const sig = pad + left + sigCore + right;
|
|
84
92
|
return body + '\n' + sig + '\n' + paint(' ' + t('banner.subtitle'), theme.greyDim);
|
|
85
93
|
}
|
|
86
94
|
// ── Markdown bloğu → ANSI (kod blokları sözdizimi-vurgulu) ──
|
package/dist/theme.js
CHANGED