@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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/core/cli.js +4 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raolin2025/claude-code-node",
3
- "version": "2.3.4",
3
+ "version": "2.3.5",
4
4
  "description": "Node.js AI Code Agent CLI - Zero dependencies, pure JavaScript, security hardened, multi-channel notifications",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
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, CYAN + '$&' + RESET)
167
+ .replace(/[█]/g, RED + '$&' + RESET)
167
168
 
168
169
  const robotColored = robotRaw.map(colorize)
169
170