@bash0816/claude-code 2.1.177 → 2.1.178

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
@@ -37,7 +37,7 @@ npm が `claude` bin link を管理する状態になれば、通常の `npm ins
37
37
  Latest audited version / 最新監査済み版:
38
38
 
39
39
  ```sh
40
- npm install -g @bash0816/claude-code@2.1.161-2
40
+ npm install -g @bash0816/claude-code@2.1.177-1
41
41
  ```
42
42
 
43
43
  ## Update / 更新
@@ -275,6 +275,24 @@
275
275
  "tarball_integrity": "sha512-qb0K+/xwaZFz9spBUcDX3vNgEFTSNdbDze8AOpU4R9weVrwBY9zAO/OPqxC9qNhb5ZIRnJAZLKiICEeEUHowzA==",
276
276
  "tarball_sha256": "dc6f28ab95d8748528a92e207d0f2d1dcd173855d18f11b8f82c5827bbdcb234",
277
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": "termux_verified"
287
+ },
288
+ "2.1.178": {
289
+ "wrapper_spec": "@anthropic-ai/claude-code@2.1.178",
290
+ "native_spec": "@anthropic-ai/claude-code-linux-arm64@2.1.178",
291
+ "entry_js_offset": 232322196,
292
+ "entry_end_offset": 249438303,
293
+ "tarball_integrity": "sha512-tDdcLyUNahnj71lj5c/BEsAHt6Ad1KjRznfzE2IuHflUrHgQtCpObjV8QK2YtoDVgDaPT7frGekse/SK6eKweQ==",
294
+ "tarball_sha256": "01376198944226dc8107f6d7104a029e2197c280282ba409bebed816cd760585",
295
+ "status": "offset_discovered"
278
296
  }
279
297
  }
280
298
  }
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "manifest_version": 1,
3
3
  "package_name": "@bash0816/claude-code",
4
- "latest_audited_version": "2.1.161-2",
5
- "latest_candidate_version": "2.1.177",
6
- "previous_stable_version": "2.1.159-13",
4
+ "latest_audited_version": "2.1.177-1",
5
+ "latest_candidate_version": "2.1.178",
6
+ "previous_stable_version": "2.1.161-2",
7
7
  "manifest_url": "https://raw.githubusercontent.com/bash0816/ClaudeCode-Termux/main/config/claude-termux-release-manifest.json"
8
8
  }
@@ -567,6 +567,13 @@ function rewriteNativeChunkSource(source) {
567
567
  'Bun property access',
568
568
  33,
569
569
  );
570
+ patched = replaceRequired(
571
+ patched,
572
+ /\bnpmInstallDeprecated:!0\b/g,
573
+ 'npmInstallDeprecated:!1',
574
+ 'npmInstallDeprecated flag',
575
+ 1,
576
+ );
570
577
  return patched;
571
578
  }
572
579
 
@@ -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"
@@ -1229,6 +1237,13 @@ function rewriteNativeChunkSource(source) {
1229
1237
  'Bun property access',
1230
1238
  33,
1231
1239
  );
1240
+ patched = replaceRequired(
1241
+ patched,
1242
+ /\bnpmInstallDeprecated:!0\b/g,
1243
+ 'npmInstallDeprecated:!1',
1244
+ 'npmInstallDeprecated flag',
1245
+ 1,
1246
+ );
1232
1247
  return patched;
1233
1248
  }
1234
1249
 
@@ -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"
@@ -280,7 +280,7 @@ test('cleanupStaleEntryFiles removes only stale extracted files for the same off
280
280
  function buildSyntheticBundleSource() {
281
281
  const typeofBun = Array.from({ length: 3 }, () => 'typeof Bun').join('; ');
282
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}; }`;
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', () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bash0816/claude-code",
3
- "version": "2.1.177",
3
+ "version": "2.1.178",
4
4
  "description": "Unofficial Termux-native Claude Code wrapper with audited native replay",
5
5
  "license": "Apache-2.0",
6
6
  "bin": {