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