claude-code-termux 1.0.64 → 1.0.66
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 +2 -2
- package/src/ui.js +13 -13
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-code-termux",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.66",
|
|
4
4
|
"description": "Claude Code CLI with Termux/Android compatibility fixes - a wrapper that patches issues with Sharp, ripgrep, and path resolution on ARM64 Android",
|
|
5
5
|
"author": "Jimoh Ovbiagele <findingjimoh@gmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"test": "node scripts/verify-install.js"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@anthropic-ai/claude-code": "^2.1.
|
|
31
|
+
"@anthropic-ai/claude-code": "^2.1.104"
|
|
32
32
|
},
|
|
33
33
|
"engines": {
|
|
34
34
|
"node": ">=18.0.0 <25.0.0"
|
package/src/ui.js
CHANGED
|
@@ -90,10 +90,10 @@ function printBanner(version) {
|
|
|
90
90
|
const mid = ` ${c.cyan}${symbols.boxV}${c.reset}${inner} ${c.cyan}${symbols.boxV}${c.reset}`;
|
|
91
91
|
const bot = ` ${c.cyan}${symbols.boxBL}${symbols.boxH.repeat(width)}${symbols.boxBR}${c.reset}`;
|
|
92
92
|
|
|
93
|
-
console.
|
|
94
|
-
console.
|
|
95
|
-
console.
|
|
96
|
-
console.
|
|
93
|
+
console.error('');
|
|
94
|
+
console.error(top);
|
|
95
|
+
console.error(mid);
|
|
96
|
+
console.error(bot);
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
// ---------------------------------------------------------------------------
|
|
@@ -126,11 +126,11 @@ function renderProgressBar(current, total) {
|
|
|
126
126
|
const empty = BAR_WIDTH - filled;
|
|
127
127
|
const bar = symbols.blockFull.repeat(filled) + symbols.blockEmpty.repeat(empty);
|
|
128
128
|
const line = ` ${c.cyan}${symbols.bolt}${c.reset} Powering up... ${c.cyan}[${bar}]${c.reset} ${current}/${total} boosts`;
|
|
129
|
-
process.
|
|
129
|
+
process.stderr.write(`\r${line}`);
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
function finishProgressBar() {
|
|
133
|
-
process.
|
|
133
|
+
process.stderr.write('\n');
|
|
134
134
|
}
|
|
135
135
|
|
|
136
136
|
// ---------------------------------------------------------------------------
|
|
@@ -149,15 +149,15 @@ function sleep(ms) {
|
|
|
149
149
|
// ---------------------------------------------------------------------------
|
|
150
150
|
|
|
151
151
|
function logStep(message) {
|
|
152
|
-
console.
|
|
152
|
+
console.error(` ${c.green}${symbols.check}${c.reset} ${message}`);
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
function logArrow(message) {
|
|
156
|
-
console.
|
|
156
|
+
console.error(` ${c.cyan}${symbols.arrow}${c.reset} ${message}`);
|
|
157
157
|
}
|
|
158
158
|
|
|
159
159
|
function logWarn(message) {
|
|
160
|
-
console.
|
|
160
|
+
console.error(` ${c.yellow}${symbols.warn}${c.reset} ${message}`);
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
function logError(message) {
|
|
@@ -165,16 +165,16 @@ function logError(message) {
|
|
|
165
165
|
}
|
|
166
166
|
|
|
167
167
|
function logDim(message) {
|
|
168
|
-
console.
|
|
168
|
+
console.error(` ${c.dim}${message}${c.reset}`);
|
|
169
169
|
}
|
|
170
170
|
|
|
171
171
|
function logReady(hasWarnings) {
|
|
172
172
|
if (hasWarnings) {
|
|
173
|
-
console.
|
|
173
|
+
console.error(` ${symbols.rocket} ${c.yellow}Ready with warnings${c.reset}`);
|
|
174
174
|
} else {
|
|
175
|
-
console.
|
|
175
|
+
console.error(` ${symbols.rocket} ${c.green}Ready to go!${c.reset}`);
|
|
176
176
|
}
|
|
177
|
-
console.
|
|
177
|
+
console.error('');
|
|
178
178
|
}
|
|
179
179
|
|
|
180
180
|
// ---------------------------------------------------------------------------
|