@mmmbuto/gemini-cli-termux 0.21.0-termux → 0.21.2-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.
Files changed (3) hide show
  1. package/README.md +51 -9
  2. package/bundle/gemini.js +18909 -17222
  3. package/package.json +3 -9
package/README.md CHANGED
@@ -27,7 +27,7 @@ pkg update && pkg upgrade -y
27
27
  pkg install nodejs-lts -y
28
28
  npm install -g @mmmbuto/gemini-cli-termux
29
29
 
30
- gemini --version # expected: 0.21.0-termux (latest)
30
+ gemini --version # expected: 0.21.2-termux (latest)
31
31
  ```
32
32
 
33
33
  Build from source:
@@ -52,6 +52,42 @@ node bundle/gemini.js --version
52
52
  - No secure keychain → credentials stored in plain config files.
53
53
  - Bash parsing without tree-sitter.
54
54
 
55
+ ## Documentation & Fixes
56
+
57
+ ### 📚 Complete Documentation
58
+
59
+ - **[Test Results](./GEMINI_TEST_REPORT_v0.21.2.md)** - Comprehensive test
60
+ report with analysis
61
+ - **[Test Suite](./GEMINI_TEST_SUITE.md)** - Test methodology and checklist
62
+ - **[Patches & Fixes](./docs/patches/)** - Known issues and workarounds
63
+
64
+ ### 🔧 Common Issues & Solutions
65
+
66
+ | Issue | Quick Fix | Documentation |
67
+ | --------------------- | ----------------------------- | --------------------------------------------------- |
68
+ | node-pty warning | `export NODE_NO_WARNINGS=1` | [Details](./docs/patches/node-pty-warning.md) |
69
+ | CLI syntax (`--json`) | Use `-o json` instead | [Details](./docs/patches/cli-syntax-differences.md) |
70
+ | Hooks commands | Use interactive mode `/hooks` | [Details](./docs/patches/hooks-interactive-only.md) |
71
+
72
+ ### 📝 Quick Reference
73
+
74
+ ```bash
75
+ # Correct usage examples
76
+ gemini -o json "your prompt" # ✅ JSON output
77
+ gemini --output-format json "prompt" # ✅ Also works
78
+ gemini --json "prompt" # ❌ Wrong syntax
79
+
80
+ # Quiet mode (suppress warnings)
81
+ export NODE_NO_WARNINGS=1
82
+ gemini "your prompt"
83
+
84
+ # Hooks management (interactive only)
85
+ gemini # Start interactive mode
86
+ /hooks # Manage hooks
87
+ ```
88
+
89
+ See [docs/patches/README.md](./docs/patches/README.md) for complete solutions.
90
+
55
91
  ## Updating
56
92
 
57
93
  ```bash
@@ -60,19 +96,25 @@ npm install -g @mmmbuto/gemini-cli-termux@latest
60
96
 
61
97
  ### Versions
62
98
 
63
- - **latest**: 0.21.0-termux (this build)
64
- - **previous/stable**: 0.20.3-termux (current npm dist-tag until publish)
99
+ - **latest**: 0.21.2-termux (this build)
100
+ - **stable**: 0.21.2-termux
65
101
 
66
102
  ## Tests
67
103
 
68
- Smoke suite:
104
+ - Suite: [`GEMINI_TEST_SUITE.md`](./GEMINI_TEST_SUITE.md)
105
+ - Latest report:
106
+ [`GEMINI_TEST_REPORT_v0.21.2.md`](./GEMINI_TEST_REPORT_v0.21.2.md)
107
+ - Total: 37 tests; ✅ Pass: 33; ❌ Fail: 4; ⚠️ Skip: 0 (89%).
108
+ - Known gaps (not implemented): `gemini models list`, `gemini hooks` (x2),
109
+ `gemini auth status`.
110
+ - Package/Binary: 6/6 pass; Termux-specific: 8/8 pass.
111
+ - Optional native modules (node-pty, keytar, tree-sitter-bash) not built on
112
+ Termux → warnings expected; CLI remains functional.
69
113
 
70
- ```bash
71
- npm run test:termux
72
- ```
114
+ ## Changelog (Termux)
73
115
 
74
- Checks version, help output, and presence of the Termux clipboard patch inside
75
- the bundle.
116
+ - **0.21.2-termux** (latest/stable): upstream main sync; Termux patches
117
+ retained; bundle export fix for `createInkStdio`; tests pending refresh.
76
118
 
77
119
  ## Upstream Tracking
78
120