@bash0816/claude-code 2.1.206-1 → 2.1.206
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
|
@@ -457,15 +457,6 @@
|
|
|
457
457
|
"status": "termux_verified"
|
|
458
458
|
},
|
|
459
459
|
"2.1.206": {
|
|
460
|
-
"wrapper_spec": "@anthropic-ai/claude-code@2.1.206",
|
|
461
|
-
"native_spec": "@anthropic-ai/claude-code-linux-arm64@2.1.206",
|
|
462
|
-
"entry_js_offset": 230668564,
|
|
463
|
-
"entry_end_offset": 250038062,
|
|
464
|
-
"tarball_integrity": "sha512-z+Zf0BHOH3dSZKHSLhzHt15+JMk1l0WX357F12FiA7Dr5uf/LFOPzvvd6YME/Vr1qVdRpvt0ZbKJMw50oQ/WeA==",
|
|
465
|
-
"tarball_sha256": "968a952e1af789cee0e8e7b4bd3915e3d5971295287e04f3c7f19e72fab34099",
|
|
466
|
-
"status": "termux_verified"
|
|
467
|
-
},
|
|
468
|
-
"2.1.206-1": {
|
|
469
460
|
"wrapper_spec": "@anthropic-ai/claude-code@2.1.206",
|
|
470
461
|
"native_spec": "@anthropic-ai/claude-code-linux-arm64@2.1.206",
|
|
471
462
|
"entry_js_offset": 230668564,
|
|
@@ -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.206
|
|
6
|
-
"previous_stable_version": "2.1.
|
|
4
|
+
"latest_audited_version": "2.1.205",
|
|
5
|
+
"latest_candidate_version": "2.1.206",
|
|
6
|
+
"previous_stable_version": "2.1.204",
|
|
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,6 +743,7 @@ 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}"
|
|
746
747
|
export ENABLE_CLAUDEAI_MCP_SERVERS="${ENABLE_CLAUDEAI_MCP_SERVERS:-0}"
|
|
747
748
|
export CLAUDE_CODE_SIMPLE="${CLAUDE_CODE_SIMPLE:-0}"
|
|
748
749
|
export DISABLE_INSTALLATION_CHECKS="${DISABLE_INSTALLATION_CHECKS:-true}"
|
|
@@ -1439,6 +1440,7 @@ main()
|
|
|
1439
1440
|
process.exit(1);
|
|
1440
1441
|
});
|
|
1441
1442
|
NODE
|
|
1443
|
+
export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC="${CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC:-1}"
|
|
1442
1444
|
export ENABLE_CLAUDEAI_MCP_SERVERS="${ENABLE_CLAUDEAI_MCP_SERVERS:-0}"
|
|
1443
1445
|
export DISABLE_INSTALLATION_CHECKS="${DISABLE_INSTALLATION_CHECKS:-true}"
|
|
1444
1446
|
"$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
|
|
34
|
+
const helperBlock = extractBlock('cat <<\'NODE\' > "$_helper"', '\n export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=');
|
|
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
|
|
95
|
-
const bootstrapBlock = extractBlock('cat <<\'NODE\' > "$_bootstrap"', '\n export
|
|
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=');
|
|
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
|
|
183
|
+
const helperBlock = extractBlock('cat <<\'NODE\' > "$_helper"', '\n export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=');
|
|
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
|
|
192
|
+
const bootstrapBlock = extractBlock('cat <<\'NODE\' > "$_bootstrap"', '\n export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=');
|
|
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
|
|
202
|
-
const bootstrapBlock = extractBlock('cat <<\'NODE\' > "$_bootstrap"', '\n export
|
|
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=');
|
|
203
203
|
|
|
204
204
|
assert.equal(helperBlock.includes('process.pid'), true);
|
|
205
205
|
assert.equal(helperBlock.includes('Math.random'), true);
|
|
@@ -428,7 +428,3 @@ 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
|
-
});
|