@bash0816/claude-code 2.1.126 → 2.1.136
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
|
@@ -4,15 +4,9 @@ Termux-native Claude Code wrapper package.
|
|
|
4
4
|
|
|
5
5
|
Termux 向け Claude Code native wrapper package です。
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
This package is the current Termux wrapper package line.
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
- `https://github.com/bash0816/ClaudeCode-Termux`
|
|
12
|
-
|
|
13
|
-
This package is part of the move from the legacy typo repository to `ClaudeCode-Termux`.
|
|
14
|
-
|
|
15
|
-
この package は、旧 typo repository から `ClaudeCode-Termux` へ移行する正規導線です。
|
|
9
|
+
この package は現行の Termux wrapper package 系です。
|
|
16
10
|
|
|
17
11
|
## Install / インストール
|
|
18
12
|
|
|
@@ -44,22 +38,19 @@ Specific audited versions:
|
|
|
44
38
|
|
|
45
39
|
監査済みの固定 version:
|
|
46
40
|
|
|
41
|
+
Current quick examples:
|
|
42
|
+
|
|
43
|
+
現在の quick example:
|
|
44
|
+
|
|
47
45
|
```sh
|
|
48
46
|
npm install -g @bash0816/claude-code@2.1.118
|
|
49
47
|
npm install -g @bash0816/claude-code@2.1.119
|
|
50
48
|
npm install -g @bash0816/claude-code@2.1.121
|
|
51
49
|
npm install -g @bash0816/claude-code@2.1.122
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
開発・検証用 override:
|
|
57
|
-
|
|
58
|
-
```sh
|
|
59
|
-
CLAUDE_TERMUX_CLAUDE_VERSION=2.1.118 claude --version
|
|
60
|
-
CLAUDE_TERMUX_CLAUDE_VERSION=2.1.119 claude --version
|
|
61
|
-
CLAUDE_TERMUX_CLAUDE_VERSION=2.1.121 claude --version
|
|
62
|
-
CLAUDE_TERMUX_CLAUDE_VERSION=2.1.122 claude --version
|
|
50
|
+
npm install -g @bash0816/claude-code@2.1.123
|
|
51
|
+
npm install -g @bash0816/claude-code@2.1.126
|
|
52
|
+
npm install -g @bash0816/claude-code@2.1.128
|
|
53
|
+
npm install -g @bash0816/claude-code@2.1.136
|
|
63
54
|
```
|
|
64
55
|
|
|
65
56
|
## Update / 更新
|
|
@@ -68,9 +59,9 @@ CLAUDE_TERMUX_CLAUDE_VERSION=2.1.122 claude --version
|
|
|
68
59
|
claude update
|
|
69
60
|
```
|
|
70
61
|
|
|
71
|
-
`claude update`
|
|
62
|
+
`claude update` installs the latest audited package version.
|
|
72
63
|
|
|
73
|
-
`claude update`
|
|
64
|
+
`claude update` は最新の監査済み package version を install します。
|
|
74
65
|
|
|
75
66
|
```sh
|
|
76
67
|
npm install -g @bash0816/claude-code@<latest_audited_version>
|
|
@@ -84,8 +75,10 @@ Normal launch also checks the same manifest with a short timeout and prints a no
|
|
|
84
75
|
|
|
85
76
|
- Only audited versions in `config/claude-native-audited-versions.json` can run.
|
|
86
77
|
- `config/claude-native-audited-versions.json` にある監査済み version だけを実行できます。
|
|
87
|
-
- `2.1.118`, `2.1.119`, `2.1.121`,
|
|
88
|
-
- `2.1.118`、`2.1.119`、`2.1.121`、`2.1.122` を package metadata に含めています。
|
|
78
|
+
- `2.1.118`, `2.1.119`, `2.1.121`, `2.1.122`, `2.1.123`, `2.1.126`, `2.1.128`, `2.1.136` are included in the package metadata.
|
|
79
|
+
- `2.1.118`、`2.1.119`、`2.1.121`、`2.1.122`、`2.1.123`、`2.1.126`、`2.1.128`、`2.1.136` を package metadata に含めています。
|
|
80
|
+
- The metadata file is the source of truth for the currently audited set.
|
|
81
|
+
- 現在の監査済み version 集合の source of truth は metadata file です。
|
|
89
82
|
- Native artifacts are cached under `${HOME}/.claude-termux-native-package`.
|
|
90
83
|
- native artifact は `${HOME}/.claude-termux-native-package` に cache します。
|
|
91
84
|
- If native preparation fails, the command exits with an error.
|
|
@@ -41,6 +41,20 @@
|
|
|
41
41
|
"entry_js_offset": 232535252,
|
|
42
42
|
"entry_end_offset": 246515761,
|
|
43
43
|
"status": "termux_verified"
|
|
44
|
+
},
|
|
45
|
+
"2.1.128": {
|
|
46
|
+
"wrapper_spec": "@anthropic-ai/claude-code@2.1.128",
|
|
47
|
+
"native_spec": "@anthropic-ai/claude-code-linux-arm64@2.1.128",
|
|
48
|
+
"entry_js_offset": 233148036,
|
|
49
|
+
"entry_end_offset": 247200101,
|
|
50
|
+
"status": "termux_verified"
|
|
51
|
+
},
|
|
52
|
+
"2.1.136": {
|
|
53
|
+
"wrapper_spec": "@anthropic-ai/claude-code@2.1.136",
|
|
54
|
+
"native_spec": "@anthropic-ai/claude-code-linux-arm64@2.1.136",
|
|
55
|
+
"entry_js_offset": 214359796,
|
|
56
|
+
"entry_end_offset": 228641008,
|
|
57
|
+
"status": "termux_verified"
|
|
44
58
|
}
|
|
45
59
|
}
|
|
46
60
|
}
|
|
@@ -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.136",
|
|
5
|
+
"latest_candidate_version": "2.1.136",
|
|
6
|
+
"previous_stable_version": "2.1.128",
|
|
7
7
|
"manifest_url": "https://raw.githubusercontent.com/bash0816/ClaudeCode-Termux/main/config/claude-termux-release-manifest.json"
|
|
8
8
|
}
|
|
@@ -73,6 +73,17 @@ function ensureEntryFile() {
|
|
|
73
73
|
return extractedFile;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
+
function stringWidth(value) {
|
|
77
|
+
const text = String(value ?? '');
|
|
78
|
+
if (typeof Intl !== 'undefined' && typeof Intl.Segmenter === 'function') {
|
|
79
|
+
const segmenter = new Intl.Segmenter('en', { granularity: 'grapheme' });
|
|
80
|
+
let width = 0;
|
|
81
|
+
for (const _segment of segmenter.segment(text)) width += 1;
|
|
82
|
+
return width;
|
|
83
|
+
}
|
|
84
|
+
return Array.from(text).length;
|
|
85
|
+
}
|
|
86
|
+
|
|
76
87
|
function createFakeRequire(realRequire) {
|
|
77
88
|
const realChild = realRequire('child_process');
|
|
78
89
|
function rewriteArgs(args) {
|
|
@@ -140,7 +151,7 @@ async function main() {
|
|
|
140
151
|
process.once('uncaughtException', onAsyncError);
|
|
141
152
|
process.once('unhandledRejection', onAsyncError);
|
|
142
153
|
Object.defineProperty(process.versions, 'bun', { value: '1.1.8', configurable: true });
|
|
143
|
-
globalThis.Bun = { version: '1.1.8' };
|
|
154
|
+
globalThis.Bun = { version: '1.1.8', stringWidth };
|
|
144
155
|
process.argv = ['node', extractedFile, ...argv];
|
|
145
156
|
process.exit = code => {
|
|
146
157
|
throw new RequestedExit(code);
|