@bash0816/claude-code 2.1.183 → 2.1.186
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/README.md
CHANGED
|
@@ -319,7 +319,34 @@
|
|
|
319
319
|
"entry_end_offset": 229091290,
|
|
320
320
|
"tarball_integrity": "sha512-TA+ixBwIKOZywNGOdi/q2abW1ibG9aJMwIe+O3BtEvrkcQD62jEyThW1jeC7/8Cdp0uyT5v5ilb63qD0YX59Ig==",
|
|
321
321
|
"tarball_sha256": "9da734e6b9355179e585498ee367c570531722ca8f8aab2c3ceabc852134d230",
|
|
322
|
-
"status": "
|
|
322
|
+
"status": "termux_verified"
|
|
323
|
+
},
|
|
324
|
+
"2.1.185": {
|
|
325
|
+
"wrapper_spec": "@anthropic-ai/claude-code@2.1.185",
|
|
326
|
+
"native_spec": "@anthropic-ai/claude-code-linux-arm64@2.1.185",
|
|
327
|
+
"entry_js_offset": 211766740,
|
|
328
|
+
"entry_end_offset": 229091355,
|
|
329
|
+
"tarball_integrity": "sha512-z/HIA74aQ2PKs0XqgI6G1mykAXrlbuOSun/EIcHRRm0sy1hA75H9fkGCR0d/DvKRq3+P2ehcXzGxlpmHmQCj0A==",
|
|
330
|
+
"tarball_sha256": "0679a07d6a5da72c06c4557c3b48698065d1559e01746f9887c6fd7732b2986c",
|
|
331
|
+
"status": "termux_verified"
|
|
332
|
+
},
|
|
333
|
+
"2.1.176": {
|
|
334
|
+
"wrapper_spec": "@anthropic-ai/claude-code@2.1.176",
|
|
335
|
+
"native_spec": "@anthropic-ai/claude-code-linux-arm64@2.1.176",
|
|
336
|
+
"entry_js_offset": 231495236,
|
|
337
|
+
"entry_end_offset": 248526480,
|
|
338
|
+
"tarball_integrity": "sha512-akM/1Z8RVJuS2hss/XvcvoUCJcrkYrWLK2R/2bAUvz/dGIZ1sqXQRtVm5DDU6GPkfTHUlCHkcz8uSE9iKotoXg==",
|
|
339
|
+
"tarball_sha256": "c58f01017b9b235044304779d91101a1c83735ba237c827de045079a2e8001c4",
|
|
340
|
+
"status": "termux_verified"
|
|
341
|
+
},
|
|
342
|
+
"2.1.186": {
|
|
343
|
+
"wrapper_spec": "@anthropic-ai/claude-code@2.1.186",
|
|
344
|
+
"native_spec": "@anthropic-ai/claude-code-linux-arm64@2.1.186",
|
|
345
|
+
"entry_js_offset": 212736740,
|
|
346
|
+
"entry_end_offset": 229944324,
|
|
347
|
+
"tarball_integrity": "sha512-+O4cgs/Jmloy/gRx9Y/x8DG+whDSLCww2riwOYNM8FSl7J0gF0ecCU/7Wo6LdCjKYW8Jyy3g1FPP1xtln5Rj1w==",
|
|
348
|
+
"tarball_sha256": "8fb8a131d15d37a9ba825e634e9016aefd9e420853b9765664bf7eb36d95e89d",
|
|
349
|
+
"status": "termux_verified"
|
|
323
350
|
}
|
|
324
351
|
}
|
|
325
352
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"manifest_version": 1,
|
|
3
3
|
"package_name": "@bash0816/claude-code",
|
|
4
|
-
"latest_audited_version": "2.1.
|
|
5
|
-
"latest_candidate_version": "2.1.
|
|
6
|
-
"previous_stable_version": "2.1.
|
|
4
|
+
"latest_audited_version": "2.1.186",
|
|
5
|
+
"latest_candidate_version": "2.1.186",
|
|
6
|
+
"previous_stable_version": "2.1.185",
|
|
7
7
|
"manifest_url": "https://raw.githubusercontent.com/bash0816/ClaudeCode-Termux/main/config/claude-termux-release-manifest.json"
|
|
8
8
|
}
|
|
@@ -57,6 +57,11 @@ for _a in "$@"; do
|
|
|
57
57
|
esac
|
|
58
58
|
done
|
|
59
59
|
|
|
60
|
+
_tui=0
|
|
61
|
+
if [ "$_pf" = "0" ] && [ -t 0 ]; then
|
|
62
|
+
_tui=1
|
|
63
|
+
fi
|
|
64
|
+
|
|
60
65
|
if [ "$_pf" = "1" ] && [ "${CLAUDE_TERMUX_STDIN:-}" != "inherit" ]; then
|
|
61
66
|
_helper=$(mktemp "${TERMUX_TMPDIR}/claude-helper.XXXXXX.js")
|
|
62
67
|
trap 'rm -f "$_helper"' EXIT HUP INT TERM
|
|
@@ -574,7 +579,7 @@ function rewriteNativeChunkSource(source) {
|
|
|
574
579
|
/\bBun\./g,
|
|
575
580
|
'__claudeBun.',
|
|
576
581
|
'Bun property access',
|
|
577
|
-
|
|
582
|
+
34,
|
|
578
583
|
);
|
|
579
584
|
patched = replaceRequired(
|
|
580
585
|
patched,
|
|
@@ -730,6 +735,7 @@ NODE
|
|
|
730
735
|
else
|
|
731
736
|
_bootstrap=$(mktemp "${TERMUX_TMPDIR}/claude-bootstrap.XXXXXX.js")
|
|
732
737
|
trap 'rm -f "$_bootstrap"' EXIT HUP INT TERM
|
|
738
|
+
export CLAUDE_TERMUX_TUI="${_tui}"
|
|
733
739
|
cat <<'NODE' > "$_bootstrap"
|
|
734
740
|
const fs = require('fs');
|
|
735
741
|
const path = require('path');
|
|
@@ -1244,7 +1250,7 @@ function rewriteNativeChunkSource(source) {
|
|
|
1244
1250
|
/\bBun\./g,
|
|
1245
1251
|
'__claudeBun.',
|
|
1246
1252
|
'Bun property access',
|
|
1247
|
-
|
|
1253
|
+
34,
|
|
1248
1254
|
);
|
|
1249
1255
|
patched = replaceRequired(
|
|
1250
1256
|
patched,
|
|
@@ -1377,14 +1383,22 @@ async function main() {
|
|
|
1377
1383
|
}
|
|
1378
1384
|
}
|
|
1379
1385
|
|
|
1380
|
-
main()
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1386
|
+
main()
|
|
1387
|
+
.then(() => {
|
|
1388
|
+
if (process.env.CLAUDE_TERMUX_TUI === '1' && process.exitCode === undefined) {
|
|
1389
|
+
return;
|
|
1390
|
+
}
|
|
1391
|
+
process.exit(process.exitCode ?? 0);
|
|
1392
|
+
})
|
|
1393
|
+
.catch(error => {
|
|
1394
|
+
if (error && error.code === 'CLAUDE_TERMUX_OFFICIAL_UPDATE_BLOCKED') {
|
|
1395
|
+
console.error(BLOCK_MESSAGE);
|
|
1396
|
+
process.exit(error.status || 1);
|
|
1397
|
+
return;
|
|
1398
|
+
}
|
|
1399
|
+
console.error(error && error.stack ? error.stack : String(error));
|
|
1400
|
+
process.exit(1);
|
|
1401
|
+
});
|
|
1388
1402
|
NODE
|
|
1389
1403
|
export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC="${CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC:-1}"
|
|
1390
1404
|
export ENABLE_CLAUDEAI_MCP_SERVERS="${ENABLE_CLAUDEAI_MCP_SERVERS:-0}"
|
|
@@ -279,7 +279,7 @@ test('cleanupStaleEntryFiles removes only stale extracted files for the same off
|
|
|
279
279
|
|
|
280
280
|
function buildSyntheticBundleSource() {
|
|
281
281
|
const typeofBun = Array.from({ length: 3 }, () => 'typeof Bun').join('; ');
|
|
282
|
-
const bunProps = Array.from({ length:
|
|
282
|
+
const bunProps = Array.from({ length: 34 }, (_, index) => `Bun.p${index}`).join('; ');
|
|
283
283
|
return `function(exports, require, module, __filename, __dirname) { ${typeofBun}; typeof globalThis.Bun; globalThis.Bun; ${bunProps}; npmInstallDeprecated:!0 }`;
|
|
284
284
|
}
|
|
285
285
|
|
|
@@ -303,7 +303,7 @@ test('rewriteNativeChunkSource rejects unexpected replacement counts', () => {
|
|
|
303
303
|
|
|
304
304
|
assert.throws(
|
|
305
305
|
() => rewriteNativeChunkSource(source),
|
|
306
|
-
/unexpected Bun property access count
|
|
306
|
+
/unexpected Bun property access count 33/,
|
|
307
307
|
);
|
|
308
308
|
});
|
|
309
309
|
|