@mmmbuto/gemini-cli-termux 0.22.2-termux → 0.22.3-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 +24 -8
  2. package/bundle/gemini.js +6016 -5305
  3. package/package.json +2 -11
package/README.md CHANGED
@@ -29,7 +29,7 @@ pkg update && pkg upgrade -y
29
29
  pkg install nodejs-lts -y
30
30
  npm install -g @mmmbuto/gemini-cli-termux
31
31
 
32
- gemini --version # expected: 0.22.0-termux (latest)
32
+ gemini --version # expected: 0.22.3-termux (latest)
33
33
  ```
34
34
 
35
35
  Build from source:
@@ -46,9 +46,8 @@ node bundle/gemini.js --version
46
46
 
47
47
  - **Smart Clipboard:** Auto-detects Android environment to enable seamless
48
48
  clipboard operations (fixes `TERMUX__PREFIX`).
49
- - **Streamlined Install:** Native modules (`node-pty`, `keytar`,
50
- `tree-sitter-bash`) are handled gracefully to ensure instant installation
51
- without compilation errors.
49
+ - **Streamlined Install:** Native PTY/keychain deps are **omitted** on Termux
50
+ (fallback to `child_process` + file-based tokens), avoiding native builds.
52
51
  - **Clean UX:** Suppresses desktop-centric warnings (like home directory checks)
53
52
  to optimize the experience for mobile terminal usage.
54
53
  - **ARM64 Native:** Bundled specifically for Android architecture.
@@ -65,7 +64,7 @@ node bundle/gemini.js --version
65
64
 
66
65
  ### 📚 Complete Documentation
67
66
 
68
- - **[Test Results](./GEMINI_TEST_REPORT_v0.22.0.md)** - Comprehensive test
67
+ - **[Test Results](./GEMINI_TEST_REPORT_v0.22.1.md)** - Comprehensive test
69
68
  report with analysis
70
69
  - **[Test Suite](./GEMINI_TEST_SUITE.md)** - Test methodology and checklist
71
70
  - **[Patches & Fixes](./docs/patches/)** - Known issues and workarounds
@@ -105,14 +104,14 @@ npm install -g @mmmbuto/gemini-cli-termux@latest
105
104
 
106
105
  ### Versions
107
106
 
108
- - **latest**: 0.22.0-termux (this build)
109
- - **stable**: 0.22.0-termux
107
+ - **latest**: 0.22.3-termux (this build)
108
+ - **stable**: 0.22.3-termux
110
109
 
111
110
  ## Tests
112
111
 
113
112
  - Suite: [`GEMINI_TEST_SUITE.md`](./GEMINI_TEST_SUITE.md)
114
113
  - Latest report:
115
- [`GEMINI_TEST_REPORT_v0.22.0.md`](./GEMINI_TEST_REPORT_v0.22.0.md)
114
+ [`GEMINI_TEST_REPORT_v0.22.1.md`](./GEMINI_TEST_REPORT_v0.22.1.md)
116
115
  - PASS with warnings (node-pty optional missing log; `--version --json`
117
116
  outputs plain string; config-path flag unsupported; extensions settings
118
117
  needs subcommand).
@@ -158,6 +157,23 @@ See [docs/termux-api/](./docs/termux-api/) for complete documentation.
158
157
 
159
158
  ---
160
159
 
160
+ ## v0.22.3-termux Highlights
161
+
162
+ - **Context Memory (default ON)**: strict, merge-safe JSON memory at
163
+ `~/.gemini/context_memory/{base.json,user.json,user.journal.jsonl}` with
164
+ per-source autoload, primary selector, and GEMINI.md bootstrap on first run.
165
+ - **Deterministic compaction**: journal append-only with incremental offsets,
166
+ closed JSON schemas, key-based upsert, TTL/ephemeral guardrails,
167
+ sensitivity=high excluded from autoload.
168
+ - **Base write toggle**: enable/disable writes to `base.json` from
169
+ `/save_memory target=base` (off by default, merge-safe).
170
+ - **TTS toggle**: new `/settings` switch to allow/block `termux-tts-speak`;
171
+ shell tool blocks TTS when disabled.
172
+ - **Termux-first shell**: non-interactive commands (`echo`, `pwd`, `ls`) work
173
+ without native PTY deps; optional natives removed for faster installs.
174
+
175
+ See `docs/cli/context-memory.md` for the detailed memory layout and settings.
176
+
161
177
  ## v0.22.1-termux Improvements
162
178
 
163
179
  This release includes significant improvements to the Termux experience: