wormclaude 1.0.63 → 1.0.65
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 +8 -10
- package/dist/i18n.js +2 -2
- package/dist/theme.js +1 -1
- package/package.json +1 -1
package/dist/ansi.js
CHANGED
|
@@ -78,18 +78,16 @@ 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
|
-
//
|
|
82
|
-
// İki-tonlu yıldız: tek glif yarı-renk yapılamaz → yan yana 1 kırmızı + 1 beyaz (iki yanda ayna).
|
|
81
|
+
// Tek satır: SOLDA alt-yazı (uncensored security + code), SAĞDA imza (✶ By S.Y ✶ — "DE" altında).
|
|
83
82
|
const sign = (process.env.WORMCLAUDE_SIGN || 'S.Y').trim();
|
|
84
|
-
const
|
|
85
|
-
const
|
|
86
|
-
const
|
|
87
|
-
const
|
|
88
|
-
const plain = '✶✶ By ' + sign + '® ✶✶'; // genişlik hesabı (ANSI'siz)
|
|
83
|
+
const star = paint('✶', theme.redBright, true);
|
|
84
|
+
const subtitle = t('banner.subtitle');
|
|
85
|
+
const sigPlain = '✶ By ' + sign + ' ✶';
|
|
86
|
+
const leftPlain = ' ' + subtitle;
|
|
89
87
|
const bannerW = Math.min(Math.max(...rows.map((r) => r.length)), w);
|
|
90
|
-
const
|
|
91
|
-
const
|
|
92
|
-
return body + '\n' +
|
|
88
|
+
const gap = ' '.repeat(Math.max(2, bannerW - leftPlain.length - sigPlain.length));
|
|
89
|
+
const line = paint(leftPlain, theme.greyDim) + gap + star + paint(' By ' + sign + ' ', theme.greyDim) + star;
|
|
90
|
+
return body + '\n' + line;
|
|
93
91
|
}
|
|
94
92
|
// ── Markdown bloğu → ANSI (kod blokları sözdizimi-vurgulu) ──
|
|
95
93
|
export function markdownAnsi(text, cols) {
|
package/dist/i18n.js
CHANGED
|
@@ -46,7 +46,7 @@ const STR = {
|
|
|
46
46
|
'trust.yes': '1. Evet, bu klasöre güveniyorum',
|
|
47
47
|
'trust.no': '2. Hayır, çık',
|
|
48
48
|
'trust.hint': 'Enter onayla · Esc iptal · ↑↓ veya 1-2 seç',
|
|
49
|
-
'banner.subtitle': 'uncensored security + code
|
|
49
|
+
'banner.subtitle': 'uncensored security + code',
|
|
50
50
|
'input.placeholder': 'bir şey yaz... (/ komutlar)',
|
|
51
51
|
'menu.navHint': '↑↓ gez · Enter seç',
|
|
52
52
|
'menu.noCmd': '(komut yok)',
|
|
@@ -106,7 +106,7 @@ const STR = {
|
|
|
106
106
|
'trust.yes': '1. Yes, I trust this folder',
|
|
107
107
|
'trust.no': '2. No, exit',
|
|
108
108
|
'trust.hint': 'Enter to confirm · Esc to cancel · ↑↓ or 1-2 to select',
|
|
109
|
-
'banner.subtitle': 'uncensored security + code
|
|
109
|
+
'banner.subtitle': 'uncensored security + code',
|
|
110
110
|
'input.placeholder': 'type something... (/ for commands)',
|
|
111
111
|
'menu.navHint': '↑↓ move · Enter select',
|
|
112
112
|
'menu.noCmd': '(no command)',
|
package/dist/theme.js
CHANGED