@bash0816/claude-code 2.1.206 → 2.1.207

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.205
40
+ npm install -g @bash0816/claude-code@2.1.206-1
41
41
  ```
42
42
 
43
43
  ## Update / 更新
@@ -463,6 +463,24 @@
463
463
  "entry_end_offset": 250038062,
464
464
  "tarball_integrity": "sha512-z+Zf0BHOH3dSZKHSLhzHt15+JMk1l0WX357F12FiA7Dr5uf/LFOPzvvd6YME/Vr1qVdRpvt0ZbKJMw50oQ/WeA==",
465
465
  "tarball_sha256": "968a952e1af789cee0e8e7b4bd3915e3d5971295287e04f3c7f19e72fab34099",
466
+ "status": "termux_verified"
467
+ },
468
+ "2.1.206-1": {
469
+ "wrapper_spec": "@anthropic-ai/claude-code@2.1.206",
470
+ "native_spec": "@anthropic-ai/claude-code-linux-arm64@2.1.206",
471
+ "entry_js_offset": 230668564,
472
+ "entry_end_offset": 250038062,
473
+ "tarball_integrity": "sha512-z+Zf0BHOH3dSZKHSLhzHt15+JMk1l0WX357F12FiA7Dr5uf/LFOPzvvd6YME/Vr1qVdRpvt0ZbKJMw50oQ/WeA==",
474
+ "tarball_sha256": "968a952e1af789cee0e8e7b4bd3915e3d5971295287e04f3c7f19e72fab34099",
475
+ "status": "termux_verified"
476
+ },
477
+ "2.1.207": {
478
+ "wrapper_spec": "@anthropic-ai/claude-code@2.1.207",
479
+ "native_spec": "@anthropic-ai/claude-code-linux-arm64@2.1.207",
480
+ "entry_js_offset": 231402020,
481
+ "entry_end_offset": 250874310,
482
+ "tarball_integrity": "sha512-Jmcvn8Sg8+FaPLOy9t4h7ip+K1i5YYrimT1+iZL1YHBTA44WHJ9H/F8DW3QKnVyqUGqEza9Tg5PPVjzhi5fwyg==",
483
+ "tarball_sha256": "02c381be3269489119287dc0b5f4b99b870d886f058918994b51e06b701dd1be",
466
484
  "status": "offset_discovered"
467
485
  }
468
486
  }
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "manifest_version": 1,
3
3
  "package_name": "@bash0816/claude-code",
4
- "latest_audited_version": "2.1.205",
5
- "latest_candidate_version": "2.1.206",
6
- "previous_stable_version": "2.1.204",
4
+ "latest_audited_version": "2.1.206-1",
5
+ "latest_candidate_version": "2.1.207",
6
+ "previous_stable_version": "2.1.206",
7
7
  "stable_pinned_version": "2.1.193",
8
8
  "manifest_url": "https://raw.githubusercontent.com/bash0816/ClaudeCode-Termux/main/config/claude-termux-release-manifest.json"
9
9
  }
@@ -743,7 +743,6 @@ main().catch(error => {
743
743
  process.exit(1);
744
744
  });
745
745
  NODE
746
- export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC="${CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC:-1}"
747
746
  export ENABLE_CLAUDEAI_MCP_SERVERS="${ENABLE_CLAUDEAI_MCP_SERVERS:-0}"
748
747
  export CLAUDE_CODE_SIMPLE="${CLAUDE_CODE_SIMPLE:-0}"
749
748
  export DISABLE_INSTALLATION_CHECKS="${DISABLE_INSTALLATION_CHECKS:-true}"
@@ -1440,7 +1439,6 @@ main()
1440
1439
  process.exit(1);
1441
1440
  });
1442
1441
  NODE
1443
- export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC="${CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC:-1}"
1444
1442
  export ENABLE_CLAUDEAI_MCP_SERVERS="${ENABLE_CLAUDEAI_MCP_SERVERS:-0}"
1445
1443
  export DISABLE_INSTALLATION_CHECKS="${DISABLE_INSTALLATION_CHECKS:-true}"
1446
1444
  "$NODE" "$_bootstrap" "$@"
@@ -31,7 +31,7 @@ function extractFunction(block, startName, endName) {
31
31
  }
32
32
 
33
33
  function loadHelperApi() {
34
- const helperBlock = extractBlock('cat <<\'NODE\' > "$_helper"', '\n export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=');
34
+ const helperBlock = extractBlock('cat <<\'NODE\' > "$_helper"', '\n export ENABLE_CLAUDEAI_MCP_SERVERS=');
35
35
  const replaceSource = extractFunction(
36
36
  helperBlock,
37
37
  'function replaceRequired(source, pattern, replacement, label, expectedCount) {',
@@ -91,8 +91,8 @@ function sha256(filePath) {
91
91
  }
92
92
 
93
93
  test('helper and bootstrap rewrite helpers stay identical', () => {
94
- const helperBlock = extractBlock('cat <<\'NODE\' > "$_helper"', '\n export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=');
95
- const bootstrapBlock = extractBlock('cat <<\'NODE\' > "$_bootstrap"', '\n export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=');
94
+ const helperBlock = extractBlock('cat <<\'NODE\' > "$_helper"', '\n export ENABLE_CLAUDEAI_MCP_SERVERS=');
95
+ const bootstrapBlock = extractBlock('cat <<\'NODE\' > "$_bootstrap"', '\n export ENABLE_CLAUDEAI_MCP_SERVERS=');
96
96
 
97
97
  const helperReplace = extractFunction(
98
98
  helperBlock,
@@ -180,7 +180,7 @@ test('helper and bootstrap rewrite helpers stay identical', () => {
180
180
  });
181
181
 
182
182
  test('print path does not defer cleanup to exit', () => {
183
- const helperBlock = extractBlock('cat <<\'NODE\' > "$_helper"', '\n export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=');
183
+ const helperBlock = extractBlock('cat <<\'NODE\' > "$_helper"', '\n export ENABLE_CLAUDEAI_MCP_SERVERS=');
184
184
 
185
185
  assert.equal(helperBlock.includes('CLAUDE_TERMUX_PRINT_WAIT_MS'), true);
186
186
  assert.equal(helperBlock.includes('setTimeout(resolve, printWaitMs)'), true);
@@ -189,7 +189,7 @@ test('print path does not defer cleanup to exit', () => {
189
189
  });
190
190
 
191
191
  test('bootstrap path defers cleanup to exit', () => {
192
- const bootstrapBlock = extractBlock('cat <<\'NODE\' > "$_bootstrap"', '\n export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=');
192
+ const bootstrapBlock = extractBlock('cat <<\'NODE\' > "$_bootstrap"', '\n export ENABLE_CLAUDEAI_MCP_SERVERS=');
193
193
 
194
194
  assert.equal(bootstrapBlock.includes('CLAUDE_TERMUX_PRINT_WAIT_MS'), false);
195
195
  assert.equal(bootstrapBlock.includes('setTimeout(resolve, printWaitMs)'), false);
@@ -198,8 +198,8 @@ test('bootstrap path defers cleanup to exit', () => {
198
198
  });
199
199
 
200
200
  test('entry extraction uses a process-unique filename', () => {
201
- const helperBlock = extractBlock('cat <<\'NODE\' > "$_helper"', '\n export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=');
202
- const bootstrapBlock = extractBlock('cat <<\'NODE\' > "$_bootstrap"', '\n export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=');
201
+ const helperBlock = extractBlock('cat <<\'NODE\' > "$_helper"', '\n export ENABLE_CLAUDEAI_MCP_SERVERS=');
202
+ const bootstrapBlock = extractBlock('cat <<\'NODE\' > "$_bootstrap"', '\n export ENABLE_CLAUDEAI_MCP_SERVERS=');
203
203
 
204
204
  assert.equal(helperBlock.includes('process.pid'), true);
205
205
  assert.equal(helperBlock.includes('Math.random'), true);
@@ -428,3 +428,7 @@ test('tarball contents match the workspace runner and test file', { skip: !fs.ex
428
428
  assert.equal(tarRunner.length, worktreeRunner.length);
429
429
  assert.equal(tarTest.length, worktreeTest.length);
430
430
  });
431
+
432
+ test('CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC is never forced (regression guard)', () => {
433
+ assert.equal(script.includes('CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC'), false);
434
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bash0816/claude-code",
3
- "version": "2.1.206",
3
+ "version": "2.1.207",
4
4
  "description": "Unofficial Termux-native Claude Code wrapper with audited native replay",
5
5
  "license": "GPL-3.0-only",
6
6
  "bin": {