@mmmbuto/gemini-cli-termux 0.24.4-termux → 0.24.5-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 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.24.3-termux (npm latest)
32
+ gemini --version # expected: 0.24.5-termux (npm latest)
33
33
  ```
34
34
 
35
35
  Build from source:
@@ -65,8 +65,8 @@ node bundle/gemini.js --version
65
65
  ### 📚 Complete Documentation
66
66
 
67
67
  - **Test Results**
68
- - [GEMINI_TEST_REPORT_v0.24.3.md](./GEMINI_TEST_REPORT_v0.24.3.md) — PASS
69
- (partial execution; interactive steps pending)
68
+ - [GEMINI_TEST_REPORT_v0.24.5.md](./GEMINI_TEST_REPORT_v0.24.5.md) — PARTIAL
69
+ (interactive steps pending; build OK)
70
70
  - **[Test Suite](./GEMINI_TEST_SUITE.md)** - Test methodology and checklist
71
71
  - **[Context Memory](./docs/cli/context-memory.md)** - Memory modes, JIT + JSON,
72
72
  and setup guide
@@ -105,19 +105,19 @@ See [docs/patches/README.md](./docs/patches/README.md) for complete solutions.
105
105
  npm install -g @mmmbuto/gemini-cli-termux@latest
106
106
  ```
107
107
 
108
- ### Changelog (0.24.3-termux)
108
+ ### Changelog (0.24.5-termux)
109
109
 
110
- - **Upstream merge**: v0.25.0-nightly integrated with Termux patches preserved.
111
- - **Build fixes**: MessageBus import compatibility + `@types/js-yaml` added.
112
- - **Docs/tests**: new test report for v0.24.3-termux.
110
+ - **Build fix**: MCP SDK typings shim for strict TypeScript builds on Termux.
111
+ - **Auto-update**: Update command uses `@mmmbuto/gemini-cli-termux`.
112
+ - **Docs/tests**: new test report for v0.24.5-termux.
113
113
 
114
114
  ## Tests
115
115
 
116
116
  - Suite: [`GEMINI_TEST_SUITE.md`](./GEMINI_TEST_SUITE.md)
117
117
  - Latest report:
118
- - [`GEMINI_TEST_REPORT_v0.24.3.md`](./GEMINI_TEST_REPORT_v0.24.3.md) — PASS
119
- (partial execution; interactive steps pending). Notes include
120
- non‑interactive tool confirmation limits.
118
+ - [`GEMINI_TEST_REPORT_v0.24.5.md`](./GEMINI_TEST_REPORT_v0.24.5.md) — PARTIAL
119
+ (interactive steps pending). Notes include non‑interactive tool confirmation
120
+ limits.
121
121
 
122
122
  ## Termux-API Integration
123
123
 
@@ -26,6 +26,9 @@ it updated whenever a new patch is added or removed.
26
26
  Termux; TTS toggle exposed (opt-in).
27
27
  11. **Shell parser fix** – Base64 polyfill in bundle banner to support
28
28
  web-tree-sitter on Node 22/24 (fixes `run_shell_command`).
29
+ 12. **MCP SDK typings shim** – Local `.d.ts` shims for
30
+ `@modelcontextprotocol/sdk` to satisfy strict builds.
31
+ [Details](./mcp-sdk-typings-shim.md)
29
32
 
30
33
  ## Expected Warnings
31
34
 
@@ -0,0 +1,27 @@
1
+ # MCP SDK Type Shims (Termux Build)
2
+
3
+ **Purpose**: Work around missing TypeScript declarations in
4
+ `@modelcontextprotocol/sdk` for the Termux build, so `tsc --build` succeeds
5
+ under strict settings.
6
+
7
+ ## Problem
8
+
9
+ The MCP SDK package currently ships JS modules without `.d.ts` declarations in
10
+ our environment, which causes TypeScript errors (TS7016/TS2339/TS2722) during
11
+ CLI/core builds.
12
+
13
+ ## Patch Summary
14
+
15
+ We add minimal local `.d.ts` shims that cover only the APIs this fork uses.
16
+ These shims are **type-only** and **do not change runtime behavior**.
17
+
18
+ ## Files
19
+
20
+ - `packages/core/src/types/mcp-sdk-shims.d.ts`
21
+ - `packages/cli/src/types/mcp-sdk-shims.d.ts`
22
+
23
+ ## Notes
24
+
25
+ - Keep the shim surface aligned with actual usage in core/cli.
26
+ - Remove this patch once upstream ships proper TypeScript declarations for the
27
+ SDK (or once our build can consume them directly).