@bash0816/claude-code 2.1.161-2 → 2.1.177-1
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
|
@@ -256,7 +256,7 @@
|
|
|
256
256
|
"tarball_integrity": "sha512-rLEzd8/q4UnTLDSAd3eYgog+G0iZ8y6K8yh0gSxf82d7uOkypYaBUkbmFENuHuzIzCIf9Yy/utCJfp6kQFjUow==",
|
|
257
257
|
"tarball_sha256": "e87d973bbe58593e06c101196f6417f7d950bf777cb9f1a8ff002ebf987ea066",
|
|
258
258
|
"tarball_size": 74314760,
|
|
259
|
-
"status": "
|
|
259
|
+
"status": "termux_verified"
|
|
260
260
|
},
|
|
261
261
|
"2.1.165": {
|
|
262
262
|
"wrapper_spec": "@anthropic-ai/claude-code@2.1.165",
|
|
@@ -266,6 +266,24 @@
|
|
|
266
266
|
"tarball_integrity": "sha512-uGwKxRQGTxh3BZGnX096CLf/2us5lUFnk4KerWhG4WCpRiEUSu4TUDojp/S3SUzA//FpM57fViUW07XL3T19lw==",
|
|
267
267
|
"tarball_sha256": "6dc6d84624bedaf5ff0948b178fdfc9c2724d8051cb00e70559e292055f7155e",
|
|
268
268
|
"status": "reverted"
|
|
269
|
+
},
|
|
270
|
+
"2.1.177": {
|
|
271
|
+
"wrapper_spec": "@anthropic-ai/claude-code@2.1.177",
|
|
272
|
+
"native_spec": "@anthropic-ai/claude-code-linux-arm64@2.1.177",
|
|
273
|
+
"entry_js_offset": 231509988,
|
|
274
|
+
"entry_end_offset": 248542413,
|
|
275
|
+
"tarball_integrity": "sha512-qb0K+/xwaZFz9spBUcDX3vNgEFTSNdbDze8AOpU4R9weVrwBY9zAO/OPqxC9qNhb5ZIRnJAZLKiICEeEUHowzA==",
|
|
276
|
+
"tarball_sha256": "dc6f28ab95d8748528a92e207d0f2d1dcd173855d18f11b8f82c5827bbdcb234",
|
|
277
|
+
"status": "offset_discovered"
|
|
278
|
+
},
|
|
279
|
+
"2.1.177-1": {
|
|
280
|
+
"wrapper_spec": "@anthropic-ai/claude-code@2.1.177",
|
|
281
|
+
"native_spec": "@anthropic-ai/claude-code-linux-arm64@2.1.177",
|
|
282
|
+
"entry_js_offset": 231509988,
|
|
283
|
+
"entry_end_offset": 248542413,
|
|
284
|
+
"tarball_integrity": "sha512-qb0K+/xwaZFz9spBUcDX3vNgEFTSNdbDze8AOpU4R9weVrwBY9zAO/OPqxC9qNhb5ZIRnJAZLKiICEeEUHowzA==",
|
|
285
|
+
"tarball_sha256": "dc6f28ab95d8748528a92e207d0f2d1dcd173855d18f11b8f82c5827bbdcb234",
|
|
286
|
+
"status": "offset_discovered"
|
|
269
287
|
}
|
|
270
288
|
}
|
|
271
289
|
}
|
|
@@ -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.159-
|
|
4
|
+
"latest_audited_version": "2.1.161-2",
|
|
5
|
+
"latest_candidate_version": "2.1.177-1",
|
|
6
|
+
"previous_stable_version": "2.1.159-13",
|
|
7
7
|
"manifest_url": "https://raw.githubusercontent.com/bash0816/ClaudeCode-Termux/main/config/claude-termux-release-manifest.json"
|
|
8
8
|
}
|
|
@@ -565,7 +565,14 @@ function rewriteNativeChunkSource(source) {
|
|
|
565
565
|
/\bBun\./g,
|
|
566
566
|
'__claudeBun.',
|
|
567
567
|
'Bun property access',
|
|
568
|
-
|
|
568
|
+
33,
|
|
569
|
+
);
|
|
570
|
+
patched = replaceRequired(
|
|
571
|
+
patched,
|
|
572
|
+
/\bnpmInstallDeprecated:!0\b/g,
|
|
573
|
+
'npmInstallDeprecated:!1',
|
|
574
|
+
'npmInstallDeprecated flag',
|
|
575
|
+
1,
|
|
569
576
|
);
|
|
570
577
|
return patched;
|
|
571
578
|
}
|
|
@@ -705,6 +712,7 @@ NODE
|
|
|
705
712
|
export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC="${CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC:-1}"
|
|
706
713
|
export ENABLE_CLAUDEAI_MCP_SERVERS="${ENABLE_CLAUDEAI_MCP_SERVERS:-0}"
|
|
707
714
|
export CLAUDE_CODE_SIMPLE="${CLAUDE_CODE_SIMPLE:-0}"
|
|
715
|
+
export DISABLE_INSTALLATION_CHECKS="${DISABLE_INSTALLATION_CHECKS:-true}"
|
|
708
716
|
node "$_helper" "$@" </dev/null
|
|
709
717
|
_status=$?
|
|
710
718
|
rm -f "$_helper"
|
|
@@ -1227,7 +1235,14 @@ function rewriteNativeChunkSource(source) {
|
|
|
1227
1235
|
/\bBun\./g,
|
|
1228
1236
|
'__claudeBun.',
|
|
1229
1237
|
'Bun property access',
|
|
1230
|
-
|
|
1238
|
+
33,
|
|
1239
|
+
);
|
|
1240
|
+
patched = replaceRequired(
|
|
1241
|
+
patched,
|
|
1242
|
+
/\bnpmInstallDeprecated:!0\b/g,
|
|
1243
|
+
'npmInstallDeprecated:!1',
|
|
1244
|
+
'npmInstallDeprecated flag',
|
|
1245
|
+
1,
|
|
1231
1246
|
);
|
|
1232
1247
|
return patched;
|
|
1233
1248
|
}
|
|
@@ -1364,6 +1379,7 @@ main().catch(error => {
|
|
|
1364
1379
|
NODE
|
|
1365
1380
|
export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC="${CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC:-1}"
|
|
1366
1381
|
export ENABLE_CLAUDEAI_MCP_SERVERS="${ENABLE_CLAUDEAI_MCP_SERVERS:-0}"
|
|
1382
|
+
export DISABLE_INSTALLATION_CHECKS="${DISABLE_INSTALLATION_CHECKS:-true}"
|
|
1367
1383
|
node "$_bootstrap" "$@"
|
|
1368
1384
|
_status=$?
|
|
1369
1385
|
rm -f "$_bootstrap"
|
|
@@ -279,8 +279,8 @@ 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:
|
|
283
|
-
return `function(exports, require, module, __filename, __dirname) { ${typeofBun}; typeof globalThis.Bun; globalThis.Bun; ${bunProps}; }`;
|
|
282
|
+
const bunProps = Array.from({ length: 33 }, (_, index) => `Bun.p${index}`).join('; ');
|
|
283
|
+
return `function(exports, require, module, __filename, __dirname) { ${typeofBun}; typeof globalThis.Bun; globalThis.Bun; ${bunProps}; npmInstallDeprecated:!0 }`;
|
|
284
284
|
}
|
|
285
285
|
|
|
286
286
|
test('rewriteNativeChunkSource rewrites the synthetic bundle slice', () => {
|
|
@@ -293,6 +293,8 @@ test('rewriteNativeChunkSource rewrites the synthetic bundle slice', () => {
|
|
|
293
293
|
assert.match(patched, /typeof globalThis\.__claudeBun/);
|
|
294
294
|
assert.match(patched, /globalThis\.__claudeBun/);
|
|
295
295
|
assert.match(patched, /__claudeBun\./);
|
|
296
|
+
assert.match(patched, /npmInstallDeprecated:!1/);
|
|
297
|
+
assert.doesNotMatch(patched, /npmInstallDeprecated:!0/);
|
|
296
298
|
});
|
|
297
299
|
|
|
298
300
|
test('rewriteNativeChunkSource rejects unexpected replacement counts', () => {
|
|
@@ -301,11 +303,11 @@ test('rewriteNativeChunkSource rejects unexpected replacement counts', () => {
|
|
|
301
303
|
|
|
302
304
|
assert.throws(
|
|
303
305
|
() => rewriteNativeChunkSource(source),
|
|
304
|
-
/unexpected Bun property access count
|
|
306
|
+
/unexpected Bun property access count 32/,
|
|
305
307
|
);
|
|
306
308
|
});
|
|
307
309
|
|
|
308
|
-
const tarballPath = path.join(__dirname, '..', 'bash0816-claude-code-2.1.
|
|
310
|
+
const tarballPath = path.join(__dirname, '..', 'bash0816-claude-code-2.1.177.tgz');
|
|
309
311
|
|
|
310
312
|
test('tarball contents match the workspace runner and test file', { skip: !fs.existsSync(tarballPath) }, () => {
|
|
311
313
|
const tarRunner = child_process.execFileSync('tar', ['-xOf', tarballPath, 'package/lib/termux-run-claude-native.sh']);
|