@raolin2025/claude-code-node 2.3.4 → 2.3.5
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/core/cli.js +4 -3
package/package.json
CHANGED
package/src/core/cli.js
CHANGED
|
@@ -144,6 +144,7 @@ function buildBanner({ model, permissionMode, session, maxTokens }) {
|
|
|
144
144
|
const BLUE = '\x1b[34m'
|
|
145
145
|
const CYAN = '\x1b[36m'
|
|
146
146
|
const RESET = '\x1b[0m'
|
|
147
|
+
const RED = '\x1b[31m'
|
|
147
148
|
|
|
148
149
|
// 像素风格 CC 机器人(19字符宽,带颜色边框)
|
|
149
150
|
const robotRaw = [
|
|
@@ -151,8 +152,8 @@ function buildBanner({ model, permissionMode, session, maxTokens }) {
|
|
|
151
152
|
' │ ██ ██ │ ',
|
|
152
153
|
' │ ██████ │ ',
|
|
153
154
|
' │ ██ ██ │ ',
|
|
154
|
-
' │
|
|
155
|
-
' │ ███████
|
|
155
|
+
' │ │ ',
|
|
156
|
+
' │ ███████ │ ',
|
|
156
157
|
' │ ██ ██ │ ',
|
|
157
158
|
' │ ██████ │ ',
|
|
158
159
|
' │ ██ ██ ██ │ ',
|
|
@@ -163,7 +164,7 @@ function buildBanner({ model, permissionMode, session, maxTokens }) {
|
|
|
163
164
|
const colorize = (line) =>
|
|
164
165
|
line
|
|
165
166
|
.replace(/[┌└─╭╮┐┘│]/g, BLUE + '$&' + RESET)
|
|
166
|
-
.replace(/[█]/g,
|
|
167
|
+
.replace(/[█]/g, RED + '$&' + RESET)
|
|
167
168
|
|
|
168
169
|
const robotColored = robotRaw.map(colorize)
|
|
169
170
|
|