@bash0816/claude-code 2.1.161 → 2.1.176

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
40
+ npm install -g @bash0816/claude-code@2.1.185
41
41
  ```
42
42
 
43
43
  ## Update / 更新
@@ -54,6 +54,14 @@ claude update
54
54
  npm install -g @bash0816/claude-code@<latest_audited_version>
55
55
  ```
56
56
 
57
+ If you already have the repo's `2.1.161` release or the official upstream
58
+ `2.1.165` installed, install `2.1.159-13` explicitly. `claude update` will not
59
+ roll a newer installed terminal back to this repo's current audited release.
60
+
61
+ この repo の `2.1.161` release または official upstream の `2.1.165` を
62
+ すでに入れている端末では、`2.1.159-13` を明示 install してください。
63
+ `claude update` だけでは、より新しい端末をこの repo の現在の audited release に戻しません。
64
+
57
65
  Normal launch also checks the same manifest with a short timeout and prints a notice when a newer audited version is available.
58
66
 
59
67
  通常起動時も、同じ manifest を短い timeout で確認し、新しい監査済み version があれば通知します。
package/bin/claude CHANGED
@@ -12,20 +12,24 @@ while [ -L "${SELF}" ]; do
12
12
  done
13
13
 
14
14
  PACKAGE_DIR=$(CDPATH= cd -- "$(dirname -- "${SELF}")/.." && pwd)
15
+ NODE="${MAGI_NODE:-node}"
16
+ if [ -n "${MAGI_NODE:-}" ]; then
17
+ export PATH="$(dirname -- "$NODE"):$PATH"
18
+ fi
15
19
  CONFIG_FILE="${PACKAGE_DIR}/config/claude-native-audited-versions.json"
16
- PACKAGE_VERSION=$(node -e 'const fs=require("fs"); const path=require("path"); const p=JSON.parse(fs.readFileSync(path.join(process.argv[1],"package.json"),"utf8")); process.stdout.write(p.version)' "${PACKAGE_DIR}")
20
+ PACKAGE_VERSION=$("$NODE" -e 'const fs=require("fs"); const path=require("path"); const p=JSON.parse(fs.readFileSync(path.join(process.argv[1],"package.json"),"utf8")); process.stdout.write(p.version)' "${PACKAGE_DIR}")
17
21
  CLAUDE_VERSION="${CLAUDE_TERMUX_CLAUDE_VERSION:-${PACKAGE_VERSION}}"
18
22
  UPDATE_HELPER="${PACKAGE_DIR}/lib/check-updates.js"
19
23
 
20
24
  if [ "${1:-}" = "update" ]; then
21
25
  shift
22
- exec node "${UPDATE_HELPER}" update "${CLAUDE_VERSION}" "$@"
26
+ exec "$NODE" "${UPDATE_HELPER}" update "${CLAUDE_VERSION}" "$@"
23
27
  fi
24
28
 
25
- node "${UPDATE_HELPER}" notify "${CLAUDE_VERSION}" || true
29
+ "$NODE" "${UPDATE_HELPER}" notify "${CLAUDE_VERSION}" || true
26
30
 
27
31
  json_field() {
28
- node -e '
32
+ "$NODE" -e '
29
33
  const fs = require("fs");
30
34
  const config = JSON.parse(fs.readFileSync(process.argv[1], "utf8"));
31
35
  const version = process.argv[2];
@@ -44,7 +48,7 @@ CACHE_DIR="${CLAUDE_TERMUX_PACKAGE_CACHE:-${HOME}/.claude-termux-native-package}
44
48
  SOURCE_BIN="${CACHE_DIR}/app/node_modules/@anthropic-ai/claude-code-linux-arm64/claude"
45
49
 
46
50
  if [ ! -f "${SOURCE_BIN}" ]; then
47
- node "${PACKAGE_DIR}/lib/prepare-native.js" "${CLAUDE_VERSION}"
51
+ "$NODE" "${PACKAGE_DIR}/lib/prepare-native.js" "${CLAUDE_VERSION}"
48
52
  fi
49
53
 
50
54
  if [ ! -f "${SOURCE_BIN}" ]; then
@@ -236,6 +236,107 @@
236
236
  "tarball_integrity": "sha512-rLEzd8/q4UnTLDSAd3eYgog+G0iZ8y6K8yh0gSxf82d7uOkypYaBUkbmFENuHuzIzCIf9Yy/utCJfp6kQFjUow==",
237
237
  "tarball_sha256": "e87d973bbe58593e06c101196f6417f7d950bf777cb9f1a8ff002ebf987ea066",
238
238
  "tarball_size": 74314760,
239
+ "status": "offset_discovered"
240
+ },
241
+ "2.1.161-1": {
242
+ "wrapper_spec": "@anthropic-ai/claude-code@2.1.161",
243
+ "native_spec": "@anthropic-ai/claude-code-linux-arm64@2.1.161",
244
+ "entry_js_offset": 225551924,
245
+ "entry_end_offset": 241503454,
246
+ "tarball_integrity": "sha512-rLEzd8/q4UnTLDSAd3eYgog+G0iZ8y6K8yh0gSxf82d7uOkypYaBUkbmFENuHuzIzCIf9Yy/utCJfp6kQFjUow==",
247
+ "tarball_sha256": "e87d973bbe58593e06c101196f6417f7d950bf777cb9f1a8ff002ebf987ea066",
248
+ "tarball_size": 74314760,
249
+ "status": "reverted"
250
+ },
251
+ "2.1.161-2": {
252
+ "wrapper_spec": "@anthropic-ai/claude-code@2.1.161",
253
+ "native_spec": "@anthropic-ai/claude-code-linux-arm64@2.1.161",
254
+ "entry_js_offset": 225551924,
255
+ "entry_end_offset": 241503454,
256
+ "tarball_integrity": "sha512-rLEzd8/q4UnTLDSAd3eYgog+G0iZ8y6K8yh0gSxf82d7uOkypYaBUkbmFENuHuzIzCIf9Yy/utCJfp6kQFjUow==",
257
+ "tarball_sha256": "e87d973bbe58593e06c101196f6417f7d950bf777cb9f1a8ff002ebf987ea066",
258
+ "tarball_size": 74314760,
259
+ "status": "termux_verified"
260
+ },
261
+ "2.1.165": {
262
+ "wrapper_spec": "@anthropic-ai/claude-code@2.1.165",
263
+ "native_spec": "@anthropic-ai/claude-code-linux-arm64@2.1.165",
264
+ "entry_js_offset": 226798932,
265
+ "entry_end_offset": 242980856,
266
+ "tarball_integrity": "sha512-uGwKxRQGTxh3BZGnX096CLf/2us5lUFnk4KerWhG4WCpRiEUSu4TUDojp/S3SUzA//FpM57fViUW07XL3T19lw==",
267
+ "tarball_sha256": "6dc6d84624bedaf5ff0948b178fdfc9c2724d8051cb00e70559e292055f7155e",
268
+ "status": "reverted"
269
+ },
270
+ "2.1.177": {
271
+ "wrapper_spec": "@anthropic-ai/claude-code@2.1.177",
272
+ "native_spec": "@anthropic-ai/claude-code-linux-arm64@2.1.177",
273
+ "entry_js_offset": 231509988,
274
+ "entry_end_offset": 248542413,
275
+ "tarball_integrity": "sha512-qb0K+/xwaZFz9spBUcDX3vNgEFTSNdbDze8AOpU4R9weVrwBY9zAO/OPqxC9qNhb5ZIRnJAZLKiICEeEUHowzA==",
276
+ "tarball_sha256": "dc6f28ab95d8748528a92e207d0f2d1dcd173855d18f11b8f82c5827bbdcb234",
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": "termux_verified"
296
+ },
297
+ "2.1.179": {
298
+ "wrapper_spec": "@anthropic-ai/claude-code@2.1.179",
299
+ "native_spec": "@anthropic-ai/claude-code-linux-arm64@2.1.179",
300
+ "entry_js_offset": 232362996,
301
+ "entry_end_offset": 249480417,
302
+ "tarball_integrity": "sha512-KpB1gvSGW0m73be0gKbIqbKfyu0zTjf7oXuX6U1QfYKZVxarhA/D9n91c/sR6e2tB75nohx24Kg5roL6JvCYdQ==",
303
+ "tarball_sha256": "b59bd89c04695177826c09b19c66e6a7ef1b949a894126a05ededa39e536aa4a",
304
+ "status": "termux_verified"
305
+ },
306
+ "2.1.181": {
307
+ "wrapper_spec": "@anthropic-ai/claude-code@2.1.181",
308
+ "native_spec": "@anthropic-ai/claude-code-linux-arm64@2.1.181",
309
+ "entry_js_offset": 211185876,
310
+ "entry_end_offset": 228336440,
311
+ "tarball_integrity": "sha512-Xjf3hWeqQ2G3uu+XcOLmqCT4ZbLVsHSohWO4My9XH3NUQaXYoziqU+UWxZx9LGBrNVzckkagznNB0WxG2SY0qA==",
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",
331
+ "status": "termux_verified"
332
+ },
333
+ "2.1.176": {
334
+ "wrapper_spec": "@anthropic-ai/claude-code@2.1.176",
335
+ "native_spec": "@anthropic-ai/claude-code-linux-arm64@2.1.176",
336
+ "entry_js_offset": 231495236,
337
+ "entry_end_offset": 248526480,
338
+ "tarball_integrity": "sha512-akM/1Z8RVJuS2hss/XvcvoUCJcrkYrWLK2R/2bAUvz/dGIZ1sqXQRtVm5DDU6GPkfTHUlCHkcz8uSE9iKotoXg==",
339
+ "tarball_sha256": "c58f01017b9b235044304779d91101a1c83735ba237c827de045079a2e8001c4",
239
340
  "status": "termux_verified"
240
341
  }
241
342
  }
@@ -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",
5
- "latest_candidate_version": "2.1.161",
6
- "previous_stable_version": "2.1.159-13",
4
+ "latest_audited_version": "2.1.185",
5
+ "latest_candidate_version": "2.1.176",
6
+ "previous_stable_version": "2.1.183",
7
7
  "manifest_url": "https://raw.githubusercontent.com/bash0816/ClaudeCode-Termux/main/config/claude-termux-release-manifest.json"
8
8
  }