@mmmbuto/gemini-cli-termux 0.20.3-termux → 0.21.0-termux
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 +18 -7
- package/bundle/gemini.js +4004 -6869
- package/bundle/policies/discovered.toml +8 -0
- package/bundle/policies/read-only.toml +56 -0
- package/bundle/policies/write.toml +73 -0
- package/bundle/policies/yolo.toml +31 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# 🤖 Gemini CLI – Termux Edition
|
|
2
2
|
|
|
3
|
-
Android/Termux compatible fork of Google Gemini CLI. Installs cleanly on Termux
|
|
3
|
+
Android/Termux compatible fork of Google Gemini CLI. Installs cleanly on Termux
|
|
4
|
+
by skipping native modules and adding clipboard detection for Termux.
|
|
4
5
|
|
|
5
6
|
[](https://www.npmjs.com/package/@mmmbuto/gemini-cli-termux)
|
|
6
7
|
[](https://www.npmjs.com/package/@mmmbuto/gemini-cli-termux)
|
|
@@ -13,9 +14,11 @@ Android/Termux compatible fork of Google Gemini CLI. Installs cleanly on Termux
|
|
|
13
14
|
Temporary compatibility fork of `google-gemini/gemini-cli` for Android Termux.
|
|
14
15
|
|
|
15
16
|
- Tracks upstream regularly.
|
|
16
|
-
- Minimal patches only: Termux clipboard env fix, native modules marked
|
|
17
|
+
- Minimal patches only: Termux clipboard env fix, native modules marked
|
|
18
|
+
optional.
|
|
17
19
|
- Bundled for ARM64/Android.
|
|
18
|
-
- Sunset: once upstream adds Termux support, migrate back to
|
|
20
|
+
- Sunset: once upstream adds Termux support, migrate back to
|
|
21
|
+
`@google/gemini-cli`.
|
|
19
22
|
|
|
20
23
|
## Installation (Termux)
|
|
21
24
|
|
|
@@ -24,7 +27,7 @@ pkg update && pkg upgrade -y
|
|
|
24
27
|
pkg install nodejs-lts -y
|
|
25
28
|
npm install -g @mmmbuto/gemini-cli-termux
|
|
26
29
|
|
|
27
|
-
gemini --version # expected: 0.
|
|
30
|
+
gemini --version # expected: 0.21.0-termux (latest)
|
|
28
31
|
```
|
|
29
32
|
|
|
30
33
|
Build from source:
|
|
@@ -40,7 +43,8 @@ node bundle/gemini.js --version
|
|
|
40
43
|
## Patches
|
|
41
44
|
|
|
42
45
|
- Clipboardy: sets `TERMUX__PREFIX` from `PREFIX` on Android.
|
|
43
|
-
- Native modules (`keytar`, `node-pty`, `tree-sitter-bash`) kept optional;
|
|
46
|
+
- Native modules (`keytar`, `node-pty`, `tree-sitter-bash`) kept optional;
|
|
47
|
+
install with `--ignore-optional --ignore-scripts`.
|
|
44
48
|
|
|
45
49
|
## Known Limitations on Termux
|
|
46
50
|
|
|
@@ -54,6 +58,11 @@ node bundle/gemini.js --version
|
|
|
54
58
|
npm install -g @mmmbuto/gemini-cli-termux@latest
|
|
55
59
|
```
|
|
56
60
|
|
|
61
|
+
### Versions
|
|
62
|
+
|
|
63
|
+
- **latest**: 0.21.0-termux (this build)
|
|
64
|
+
- **previous/stable**: 0.20.3-termux (current npm dist-tag until publish)
|
|
65
|
+
|
|
57
66
|
## Tests
|
|
58
67
|
|
|
59
68
|
Smoke suite:
|
|
@@ -62,12 +71,14 @@ Smoke suite:
|
|
|
62
71
|
npm run test:termux
|
|
63
72
|
```
|
|
64
73
|
|
|
65
|
-
Checks version, help output, and presence of the Termux clipboard patch inside
|
|
74
|
+
Checks version, help output, and presence of the Termux clipboard patch inside
|
|
75
|
+
the bundle.
|
|
66
76
|
|
|
67
77
|
## Upstream Tracking
|
|
68
78
|
|
|
69
79
|
- Upstream: https://github.com/google-gemini/gemini-cli
|
|
70
|
-
- Divergent files: `esbuild.config.js`, `docs/TERMUX.md`, `package.json`,
|
|
80
|
+
- Divergent files: `esbuild.config.js`, `docs/TERMUX.md`, `package.json`,
|
|
81
|
+
`README.md`, `test-gemini/*`
|
|
71
82
|
|
|
72
83
|
## License
|
|
73
84
|
|