@bash0816/claude-code 2.1.187 → 2.1.193
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
|
@@ -355,6 +355,24 @@
|
|
|
355
355
|
"entry_end_offset": 230384397,
|
|
356
356
|
"tarball_integrity": "sha512-vi7UxnBZTTukCDHa18ubpUHrsdsoMaK5saIr93abc3tMumBHUZqE/WScJb5/Ct9Go38xFDrfeRVpdIPZVTzUzA==",
|
|
357
357
|
"tarball_sha256": "ece8776faa8641c0670585a288793104f6648dcd0c1f067d22ad013c83cbb2f5",
|
|
358
|
+
"status": "termux_verified"
|
|
359
|
+
},
|
|
360
|
+
"2.1.191": {
|
|
361
|
+
"wrapper_spec": "@anthropic-ai/claude-code@2.1.191",
|
|
362
|
+
"native_spec": "@anthropic-ai/claude-code-linux-arm64@2.1.191",
|
|
363
|
+
"entry_js_offset": 217041140,
|
|
364
|
+
"entry_end_offset": 234464001,
|
|
365
|
+
"tarball_integrity": "sha512-i9rmqPRTqkHoZxKjx3DutEZN3g/0ecSd1OYmJn01FOcKsT0Xyc9VCyta0dStTqDYD+9Oj3AhXaooxn1DuK9rMA==",
|
|
366
|
+
"tarball_sha256": "91716b6a342feb68f8538a41e67231722910e4f75f76fde552ec4ca051e442d8",
|
|
367
|
+
"status": "termux_verified"
|
|
368
|
+
},
|
|
369
|
+
"2.1.193": {
|
|
370
|
+
"wrapper_spec": "@anthropic-ai/claude-code@2.1.193",
|
|
371
|
+
"native_spec": "@anthropic-ai/claude-code-linux-arm64@2.1.193",
|
|
372
|
+
"entry_js_offset": 218062772,
|
|
373
|
+
"entry_end_offset": 235598122,
|
|
374
|
+
"tarball_integrity": "sha512-xUD0j9zAsNFjJMbcFuOXBMRbEsRtgsGYd5hFY/lcPbTKL1J3goOTLuDIhFJLLNbZ4Axt+wl7bgUEZO50JhugJw==",
|
|
375
|
+
"tarball_sha256": "e454c6643fc73b028395e152be201cfd5f35b507651ef725a389f8517eebfcc7",
|
|
358
376
|
"status": "offset_discovered"
|
|
359
377
|
}
|
|
360
378
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
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.191",
|
|
5
|
+
"latest_candidate_version": "2.1.193",
|
|
6
|
+
"previous_stable_version": "2.1.187",
|
|
7
7
|
"stable_pinned_version": "2.1.176",
|
|
8
8
|
"manifest_url": "https://raw.githubusercontent.com/bash0816/ClaudeCode-Termux/main/config/claude-termux-release-manifest.json"
|
|
9
9
|
}
|
|
@@ -558,7 +558,7 @@ function rewriteNativeChunkSource(source) {
|
|
|
558
558
|
/\btypeof Bun\b/g,
|
|
559
559
|
'typeof __claudeBun',
|
|
560
560
|
'typeof Bun',
|
|
561
|
-
|
|
561
|
+
4,
|
|
562
562
|
);
|
|
563
563
|
patched = replaceRequired(
|
|
564
564
|
patched,
|
|
@@ -579,7 +579,7 @@ function rewriteNativeChunkSource(source) {
|
|
|
579
579
|
/\bBun\./g,
|
|
580
580
|
'__claudeBun.',
|
|
581
581
|
'Bun property access',
|
|
582
|
-
|
|
582
|
+
36,
|
|
583
583
|
);
|
|
584
584
|
patched = replaceRequired(
|
|
585
585
|
patched,
|
|
@@ -1229,7 +1229,7 @@ function rewriteNativeChunkSource(source) {
|
|
|
1229
1229
|
/\btypeof Bun\b/g,
|
|
1230
1230
|
'typeof __claudeBun',
|
|
1231
1231
|
'typeof Bun',
|
|
1232
|
-
|
|
1232
|
+
4,
|
|
1233
1233
|
);
|
|
1234
1234
|
patched = replaceRequired(
|
|
1235
1235
|
patched,
|
|
@@ -1250,7 +1250,7 @@ function rewriteNativeChunkSource(source) {
|
|
|
1250
1250
|
/\bBun\./g,
|
|
1251
1251
|
'__claudeBun.',
|
|
1252
1252
|
'Bun property access',
|
|
1253
|
-
|
|
1253
|
+
36,
|
|
1254
1254
|
);
|
|
1255
1255
|
patched = replaceRequired(
|
|
1256
1256
|
patched,
|
|
@@ -278,8 +278,8 @@ test('cleanupStaleEntryFiles removes only stale extracted files for the same off
|
|
|
278
278
|
});
|
|
279
279
|
|
|
280
280
|
function buildSyntheticBundleSource() {
|
|
281
|
-
const typeofBun = Array.from({ length:
|
|
282
|
-
const bunProps = Array.from({ length:
|
|
281
|
+
const typeofBun = Array.from({ length: 4 }, () => 'typeof Bun').join('; ');
|
|
282
|
+
const bunProps = Array.from({ length: 36 }, (_, 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,11 +303,12 @@ 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 35/,
|
|
307
307
|
);
|
|
308
308
|
});
|
|
309
309
|
|
|
310
|
-
const
|
|
310
|
+
const packageVersion = require('../package.json').version;
|
|
311
|
+
const tarballPath = path.join(__dirname, '..', `bash0816-claude-code-${packageVersion}.tgz`);
|
|
311
312
|
|
|
312
313
|
test('tarball contents match the workspace runner and test file', { skip: !fs.existsSync(tarballPath) }, () => {
|
|
313
314
|
const tarRunner = child_process.execFileSync('tar', ['-xOf', tarballPath, 'package/lib/termux-run-claude-native.sh']);
|