@bash0816/claude-code 2.1.181 → 2.1.185
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
|
@@ -310,6 +310,24 @@
|
|
|
310
310
|
"entry_end_offset": 228336440,
|
|
311
311
|
"tarball_integrity": "sha512-Xjf3hWeqQ2G3uu+XcOLmqCT4ZbLVsHSohWO4My9XH3NUQaXYoziqU+UWxZx9LGBrNVzckkagznNB0WxG2SY0qA==",
|
|
312
312
|
"tarball_sha256": "0745632d28ebf52f4c8056516a461ef4f5457add7dd035f8225e33a3c62249ee",
|
|
313
|
+
"status": "termux_verified"
|
|
314
|
+
},
|
|
315
|
+
"2.1.183": {
|
|
316
|
+
"wrapper_spec": "@anthropic-ai/claude-code@2.1.183",
|
|
317
|
+
"native_spec": "@anthropic-ai/claude-code-linux-arm64@2.1.183",
|
|
318
|
+
"entry_js_offset": 211766676,
|
|
319
|
+
"entry_end_offset": 229091290,
|
|
320
|
+
"tarball_integrity": "sha512-TA+ixBwIKOZywNGOdi/q2abW1ibG9aJMwIe+O3BtEvrkcQD62jEyThW1jeC7/8Cdp0uyT5v5ilb63qD0YX59Ig==",
|
|
321
|
+
"tarball_sha256": "9da734e6b9355179e585498ee367c570531722ca8f8aab2c3ceabc852134d230",
|
|
322
|
+
"status": "termux_verified"
|
|
323
|
+
},
|
|
324
|
+
"2.1.185": {
|
|
325
|
+
"wrapper_spec": "@anthropic-ai/claude-code@2.1.185",
|
|
326
|
+
"native_spec": "@anthropic-ai/claude-code-linux-arm64@2.1.185",
|
|
327
|
+
"entry_js_offset": 211766740,
|
|
328
|
+
"entry_end_offset": 229091355,
|
|
329
|
+
"tarball_integrity": "sha512-z/HIA74aQ2PKs0XqgI6G1mykAXrlbuOSun/EIcHRRm0sy1hA75H9fkGCR0d/DvKRq3+P2ehcXzGxlpmHmQCj0A==",
|
|
330
|
+
"tarball_sha256": "0679a07d6a5da72c06c4557c3b48698065d1559e01746f9887c6fd7732b2986c",
|
|
313
331
|
"status": "offset_discovered"
|
|
314
332
|
}
|
|
315
333
|
}
|
|
@@ -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.
|
|
4
|
+
"latest_audited_version": "2.1.183",
|
|
5
|
+
"latest_candidate_version": "2.1.185",
|
|
6
|
+
"previous_stable_version": "2.1.181",
|
|
7
7
|
"manifest_url": "https://raw.githubusercontent.com/bash0816/ClaudeCode-Termux/main/config/claude-termux-release-manifest.json"
|
|
8
8
|
}
|
|
@@ -57,6 +57,11 @@ for _a in "$@"; do
|
|
|
57
57
|
esac
|
|
58
58
|
done
|
|
59
59
|
|
|
60
|
+
_tui=0
|
|
61
|
+
if [ "$_pf" = "0" ] && [ -t 0 ]; then
|
|
62
|
+
_tui=1
|
|
63
|
+
fi
|
|
64
|
+
|
|
60
65
|
if [ "$_pf" = "1" ] && [ "${CLAUDE_TERMUX_STDIN:-}" != "inherit" ]; then
|
|
61
66
|
_helper=$(mktemp "${TERMUX_TMPDIR}/claude-helper.XXXXXX.js")
|
|
62
67
|
trap 'rm -f "$_helper"' EXIT HUP INT TERM
|
|
@@ -730,6 +735,7 @@ NODE
|
|
|
730
735
|
else
|
|
731
736
|
_bootstrap=$(mktemp "${TERMUX_TMPDIR}/claude-bootstrap.XXXXXX.js")
|
|
732
737
|
trap 'rm -f "$_bootstrap"' EXIT HUP INT TERM
|
|
738
|
+
export CLAUDE_TERMUX_TUI="${_tui}"
|
|
733
739
|
cat <<'NODE' > "$_bootstrap"
|
|
734
740
|
const fs = require('fs');
|
|
735
741
|
const path = require('path');
|
|
@@ -1377,14 +1383,22 @@ async function main() {
|
|
|
1377
1383
|
}
|
|
1378
1384
|
}
|
|
1379
1385
|
|
|
1380
|
-
main()
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1386
|
+
main()
|
|
1387
|
+
.then(() => {
|
|
1388
|
+
if (process.env.CLAUDE_TERMUX_TUI === '1' && process.exitCode === undefined) {
|
|
1389
|
+
return;
|
|
1390
|
+
}
|
|
1391
|
+
process.exit(process.exitCode ?? 0);
|
|
1392
|
+
})
|
|
1393
|
+
.catch(error => {
|
|
1394
|
+
if (error && error.code === 'CLAUDE_TERMUX_OFFICIAL_UPDATE_BLOCKED') {
|
|
1395
|
+
console.error(BLOCK_MESSAGE);
|
|
1396
|
+
process.exit(error.status || 1);
|
|
1397
|
+
return;
|
|
1398
|
+
}
|
|
1399
|
+
console.error(error && error.stack ? error.stack : String(error));
|
|
1400
|
+
process.exit(1);
|
|
1401
|
+
});
|
|
1388
1402
|
NODE
|
|
1389
1403
|
export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC="${CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC:-1}"
|
|
1390
1404
|
export ENABLE_CLAUDEAI_MCP_SERVERS="${ENABLE_CLAUDEAI_MCP_SERVERS:-0}"
|