@nemoobc/opencode-termux 1.20.1 โ†’ 1.20.4

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
@@ -4,123 +4,322 @@
4
4
 
5
5
  [![npm](https://img.shields.io/npm/v/@nemoobc/opencode-termux?color=cb3837&logo=npm)](https://www.npmjs.com/package/@nemoobc/opencode-termux)
6
6
  [![release](https://img.shields.io/github/v/release/nemoobc/opencode-termux?color=3B82F6)](https://github.com/nemoobc/opencode-termux/releases)
7
- [![CI](https://img.shields.io/github/actions/workflow/status/nemo-base-eth/opencode-termux/test.yml?label=test&color=22C55E)](.github/workflows/test.yml)
7
+ [![CI](https://img.shields.io/github/actions/workflow/status/nemoobc/opencode-termux/test.yml?label=test&color=22C55E)](.github/workflows/test.yml)
8
8
  [![platform](https://img.shields.io/badge/platform-Android%20%7C%20Termux-3DDC84)](#)
9
9
  [![arch](https://img.shields.io/badge/arch-arm64-blue)](#)
10
10
  [![sync upstream](https://img.shields.io/badge/sync-upstream%20otomatis-C9A227)](.github/workflows/sync-upstream.yml)
11
+ [![license](https://img.shields.io/badge/license-MIT-green)](#)
11
12
 
12
13
  ---
13
14
 
14
- ## ๐Ÿค– Agent & tools otomatis
15
+ ## ๐Ÿ™ **Attribution & Terima Kasih**
15
16
 
16
- Sekali install โ€” agent, command, dan config **langsung terpasang** tanpa setting ulang:
17
+ ### **Source Asli: opencode-ai (anomalyco)**
18
+ **opencode-termux HANYA membungkus & menyesuaikan binary resmi opencode-ai** agar jalan native di Termux/Android.
17
19
 
18
- | Agent | Tugas |
19
- |---|---|
20
- | **autodev** | Developer otonom universal: coding, tools, build, tes, fix, rilis โ€” berurutan |
21
- | **termux-coder** | Coding assistant yang paham Termux (PATH, pkg, tanpa root) |
22
- | **apk-builder** | Build APK Android: payload, align, sign |
23
- | **tester** | Jalankan seluruh test suite + laporan pass/fail |
24
- | **fixer** | Loop perbaikan: uji โ†’ analisis โ†’ fix minimal โ†’ uji ulang (maks 5x) |
20
+ | Komponen | Source | Credit |
21
+ |----------|--------|--------|
22
+ | **Core CLI** | [opencode-ai](https://github.com/anomalyco/opencode) | ๐Ÿ† **FULL CREDIT** |
23
+ | **Agent System** | opencode-ai | ๐Ÿ† **FULL CREDIT** |
24
+ | **LLM Integration** | opencode-ai | ๐Ÿ† **FULL CREDIT** |
25
+ | **Architecture** | opencode-ai | ๐Ÿ† **FULL CREDIT** |
26
+ | **Musl Loader Build** | opencode-termux (custom) | nemoobc |
27
+ | **Termux Adaptation** | opencode-termux | nemoobc |
28
+ | **Agent Ecosystem** | opencode-termux (extended) | nemoobc |
29
+ | **Offline Installer** | opencode-termux | nemoobc |
30
+ | **Automation (CI/CD)** | opencode-termux | nemoobc |
25
31
 
26
- | Command | Fungsi |
27
- |---|---|
28
- | `/build-apk` | Build APK lengkap lewat agent apk-builder |
29
- | `/test` | Seluruh test suite + laporan |
30
- | `/fix` | Loop otomatis perbaiki semua tes gagal sampai hijau |
31
- | `/release` | Bump versi โ†’ tag โ†’ release โ†’ bersih-bersih |
32
+ > **opencode-ai** adalah upstream asli โ€” semua inovasi fundamental, arsitektur agent, integrasi LLM, dan core CLI berasal dari **tim opencode-ai (anomalyco)**. Kami hanya menambal agar jalan di Termux (musl libc, Bionic compat, DNS patch) dan menambah ekosistem agent/automation.
32
33
 
33
- Config default ikut terpasang: **model gratis `opencode/x-preview-f-free`** โ€” tanpa API key.
34
+ ๐Ÿ”— **Upstream:** https://github.com/anomalyco/opencode
35
+ ๐Ÿ“ฆ **npm:** https://www.npmjs.com/package/opencode-ai
36
+ ๐Ÿ“– **Docs:** https://opencode.ai
34
37
 
35
- ## ๐Ÿ”„ Sync upstream otomatis
38
+ ---
39
+
40
+ ## ๐Ÿค– **Agent & Tools Otomatis (Sekali Install, Siap Pakai)**
41
+
42
+ | Agent | Mode | Fungsi |
43
+ |-------|------|--------|
44
+ | **autodev** | primary | **Developer otonom universal multi-bahasa** โ€” full lifecycle: audit โ†’ test โ†’ monitor โ†’ fix โ†’ compact |
45
+ | **termux-coder** | primary | Coding assistant paham Termux (PATH, pkg, tanpa root, storage HP) |
46
+ | **apk-builder** | primary | Spesialis build APK Android: payload, align, sign, release |
47
+ | **tester** | subagent | Jalankan seluruh test suite (UI + mesin) + laporan pass/fail |
48
+ | **fixer** | subagent | Loop perbaikan otomatis: uji โ†’ analisis โ†’ fix minimal โ†’ uji ulang (max 5x) |
49
+
50
+ | Command | Fungsi | Agent |
51
+ |---------|--------|-------|
52
+ | `/coder full` | **Full lifecycle otomatis: audit โ†’ test โ†’ monitor โ†’ fix โ†’ compact** | **autodev** |
53
+ | `/coder audit` | Scan project lengkap: struktur, deps, security, style, arch | autodev |
54
+ | `/coder test` | Jalankan semua test per bahasa (unit, integration, coverage) | autodev |
55
+ | `/coder monitor` | Start daemon: file watch, CI status, perf baseline, log tail | autodev |
56
+ | `/coder fix` | Auto-fix failure loop (max 5 iterasi per bug) | autodev |
57
+ | `/coder compact` | Optimasi: dead code, format, deps, bundle, perf | autodev |
58
+ | `/orchestrator full` | Koordinator tahapan dengan state persistence & resume | orchestrator |
59
+ | `/test` | Seluruh test suite + laporan detail | tester |
60
+ | `/fix` | Loop perbaiki tes gagal sampai hijau | fixer |
61
+ | `/build-apk` | Build APK lengkap lewat agent apk-builder | apk-builder |
62
+ | `/release` | Bump versi โ†’ tag โ†’ release โ†’ bersihkan | apk-builder |
63
+
64
+ **Config default ikut terpasang:** model `opencode-zen/kimi-k2-5` (provider zen, OpenAI-compatible) โ€” **tanpa API key**.
65
+
66
+ ---
67
+
68
+ ## ๐Ÿ”„ **Sync Upstream Otomatis**
36
69
 
37
- Workflow GitHub mengecek [opencode-ai](https://github.com/anomalyco/opencode) baru setiap
38
- 6 jam โ€” begitu ada versi baru, paket ini otomatis menyesuaikan (commit memakai identitas nemoobc).
70
+ Workflow GitHub mengecek [opencode-ai](https://github.com/anomalyco/opencode) baru setiap **6 jam** โ€” begitu ada versi baru, paket ini otomatis menyesuaikan:
71
+
72
+ ```
73
+ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
74
+ โ”‚ sync-upstream.yml (cron 0 */6 * * *) โ”‚
75
+ โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
76
+ โ”‚ 1. Cek npm registry: opencode-ai latest version โ”‚
77
+ โ”‚ 2. Kalau baru: bump opencodeUpstream + version patch โ”‚
78
+ โ”‚ 3. Anti-bentrok: cek tag GitHub & npm registry โ”‚
79
+ โ”‚ 4. Commit + tag vX.Y.Z + push โ”‚
80
+ โ”‚ 5. Trigger release.yml (build 6 artefak) โ”‚
81
+ โ”‚ 6. Kalau NPM_TOKEN ada: npm publish otomatis โ”‚
82
+ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
83
+ ```
84
+
85
+ **Commit memakai identitas nemoobc** โ€” riwayat bersih, traceable.
39
86
 
40
87
  ---
41
88
 
42
- ## Kenapa paket ini ada?
89
+ ## ๐Ÿ—๏ธ **Arsitektur: Kenapa Paket Ini Ada?**
43
90
 
44
- Installer resmi `opencode-ai` gagal di Termux karena tidak mengenali
45
- `process.platform === "android"` dan tidak menyediakan build untuk Bionic libc.
91
+ Installer resmi `opencode-ai` gagal di Termux karena:
92
+ 1. Tidak mengenali `process.platform === "android"`
93
+ 2. Tidak menyediakan build untuk **Bionic libc** (Termux pakai Bionic, bukan glibc)
46
94
 
47
- Paket ini menjembatani tanpa trik aneh:
95
+ **Solusi opencode-termux โ€” tanpa trik aneh:**
48
96
 
49
97
  ```
50
- opencode-termux (shim Node)
51
- โ””โ”€ vendor/ld-musl.so โ† musl libc hasil build khusus Termux*
98
+ opencode-termux (Node shim)
99
+ โ””โ”€ vendor/ld-musl.so โ† musl libc custom build untuk Termux*
52
100
  โ””โ”€ vendor/opencode โ† binary resmi opencode-linux-arm64-musl
53
101
  โคณ LD_LIBRARY_PATH โ†’ libstdc++ / libgcc_s (dari Alpine)
54
102
  ```
55
103
 
56
- \* path `/etc/resolv.conf` & `/etc/hosts` dipatch saat kompilasi menuju
57
- `$PREFIX/etc/` sehingga DNS jalan tanpa root.
104
+ \* Path `/etc/resolv.conf` & `/etc/hosts` dipatch saat kompilasi menuju `$PREFIX/etc/` sehingga **DNS jalan tanpa root**.
58
105
 
59
- ## ๐Ÿš€ Install
106
+ **Auto-heal:** Kalau `postinstall` terlewat (mis. `--ignore-scripts`), binary dipasang otomatis saat pertama kali jalan.
60
107
 
108
+ ---
109
+
110
+ ## ๐Ÿ“ฆ **Paket Rilis (6 Artefak โ€” Semua Versi Terpreservasi)**
111
+
112
+ Setiap rilis (via `release.yml` โ†’ `scripts/build-release.sh`) menghasilkan **6 artefak**:
113
+
114
+ | File | Format | Target | Deskripsi |
115
+ |------|--------|--------|-----------|
116
+ | `nemoobc-opencode-termux-{v}.tgz` | `.tgz` | npm | Package untuk `npm install -g` |
117
+ | `opencode-termux-{v}-aarch64.tar.gz` | `.tar.gz` | Termux ARM64 | **Offline bundle lengkap** (vendor musl + binary + source) |
118
+ | `opencode-termux-{v}-x86_64.tar.gz` | `.tar.gz` | Emulator/x64 | Offline bundle x64 |
119
+ | `opencode-agents-and-config.zip` | `.zip` | Manual | Agents + commands + config saja (bebas versi) |
120
+ | `opencode-termux-installer.sh` | `.sh` | Universal | **POSIX sh installer** (tanpa Node, offline-capable) |
121
+ | `SHA256SUMS.txt` | `.txt` | Verify | Checksum sha256 semua file di atas |
122
+
123
+ > ๐Ÿ’ก **Philosophy:** Semua artefak berbundle **versioned** di nama (kecuali
124
+ > `installer.sh` & `agents-and-config.zip` yang deliberately bebas versi agar
125
+ > gampang ditimpa pada update). History tidak hilang โ€” versi lama tetap di GitHub Releases & npm registry.
126
+
127
+ ---
128
+
129
+ ## ๐Ÿš€ **Instalasi Cepat**
130
+
131
+ ### **Online (npm โ€” Recommended)**
61
132
  ```bash
62
133
  pkg update && pkg install nodejs-lts tar
63
- npm i -g @nemoobc/opencode-termux
134
+ npm install -g @nemoobc/opencode-termux
135
+ opencode-termux --version
64
136
  ```
65
137
 
66
- > ๐Ÿ“– **Panduan lengkap** โ€” persyaratan, verifikasi, update/uninstall,
67
- > troubleshooting, FAQ: [docs/INSTALASI.md](docs/INSTALASI.md)
68
-
69
- > ๐Ÿ“ฆ **Tanpa Node / offline?** Ambil `opencode-termux-installer.sh` +
70
- > bundle `.tar.gz` dari [Releases](https://github.com/nemo-base-eth/opencode-termux/releases) โ€”
71
- > installer murni POSIX sh, auto-detect arm64/x64, sha256 diverifikasi.
72
-
73
- > Jika muncul warning `install-scripts`, izinkan sekali:
138
+ > โš ๏ธ Warning `install-scripts`? Izinkan sekali:
74
139
  > ```bash
75
140
  > npm config set allow-scripts=@nemoobc/opencode-termux --location=user
76
141
  > npm rebuild -g @nemoobc/opencode-termux
77
142
  > ```
78
143
 
79
- ## โœ… Verifikasi
144
+ ### **Offline (Tanpa Node.js / Tanpa Internet)**
145
+ ```bash
146
+ # 1. Download 2 file dari GitHub Releases:
147
+ # - opencode-termux-installer.sh
148
+ # - opencode-termux-{v}-aarch64.tar.gz
149
+ # - SHA256SUMS.txt (opsional, untuk verifikasi)
150
+
151
+ # 2. Taruh di folder yang sama, verifikasi:
152
+ sha256sum -c SHA256SUMS.txt
153
+
154
+ # 3. Jalankan installer (POSIX sh, no Node):
155
+ sh opencode-termux-installer.sh
156
+ ```
157
+
158
+ ### **Instalasi Per-Artefak**
159
+
160
+ Semua file diunduh dari **[GitHub Releases](https://github.com/nemoobc/opencode-termux/releases)** (ganti `{v}` dengan versi, contoh `1.20.3`).
161
+
162
+ | # | Artefak | Cara Install / Pakai |
163
+ |---|---------|----------------------|
164
+ | 1 | `nemoobc-opencode-termux-{v}.tgz` | Paket npm. `npm install -g ./nemoobc-opencode-termux-{v}.tgz` (atau simpan lalu `npm install -g @nemoobc/opencode-termux`) |
165
+ | 2 | `opencode-termux-{v}-aarch64.tar.gz` | **Bundle offline arm64.** Taruh di folder sama dengan installer lalu `sh opencode-termux-installer.sh` (atau ekstrak manual: `tar xzf opencode-termux-{v}-aarch64.tar.gz -C ~/.local/lib/opencode-termux --strip-components=1`) |
166
+ | 3 | `opencode-termux-{v}-x86_64.tar.gz` | Sama seperti #2, tapi untuk emulator/PC **x64**. Bisa dijalankan manual: `./vendor/ld-musl.so ./vendor/opencode --version` |
167
+ | 4 | `opencode-agents-and-config.zip` | **Agent + command + config saja.** Ekstrak ke `~/.config/opencode/`: `unzip opencode-agents-and-config.zip -d ~/.config/opencode` (tidak menimpa `opencode.json` yang sudah ada) |
168
+ | 5 | `opencode-termux-installer.sh` | **Installer universal.** `sh opencode-termux-installer.sh`. Baca bundle `-{arch}.tar.gz` di folder yang sama (offline) atau unduh otomatis dari Releases (online). Target instalasi: Termux โ†’ `$PREFIX/{lib,bin}`, selain itu โ†’ `~/.local/{lib,bin}` |
169
+ | 6 | `SHA256SUMS.txt` | **Verifikasi.** Sebelum install, cek keutuhan: `sha256sum -c SHA256SUMS.txt` (jalankan di folder berisi semua file artefak) |
80
170
 
171
+ > **Selalu verifikasi dulu:** `sha256sum -c SHA256SUMS.txt` sebelum mengekstrak/menjalankan artefak apa pun yang diunduh.
172
+
173
+ ### **Via .deb (Termux apt)**
81
174
  ```bash
82
- opencode-termux --version
175
+ pkg install ./opencode-termux_{v}_aarch64.deb
176
+ ```
177
+ > โš ๏ธ Artefak `.deb` dihapus pada rilis v1.20.3 โ€” paket kini fokus **npm + installer.sh + bundle tarball**. Kalau kamu butuh `.deb`, arahkan ke rilis lama.
178
+
179
+ ---
180
+
181
+ ## โœ… **Verifikasi & Diagnostik**
182
+
183
+ ```bash
184
+ opencode-termux --version # Versi binary upstream
185
+ opencode-termux doctor # Diagnosis lengkap environment
186
+ opencode-termux version # Info versi paket + binary
187
+ opencode-termux update # Update binary ke upstream terbaru
188
+ ```
189
+
190
+ **Doctor output interpretation:**
191
+ | Output | Arti | Tindakan |
192
+ |--------|------|----------|
193
+ | โœ… semua baris | Sehat | Lanjut pakai |
194
+ | โŒ vendor lengkap | Bundle belum ada | `opencode-termux update` |
195
+ | โŒ tar tersedia | Utilitas hilang | `pkg install tar` |
196
+ | โš ๏ธ platform bukan android | Di luar Android | Wajar di CI/emulator |
197
+
198
+ ---
199
+
200
+ ## ๐ŸŽฏ **Pemakaian Pertama**
201
+
202
+ ```bash
203
+ mkdir -p ~/project-coba && cd ~/project-coba
204
+ opencode-termux
83
205
  ```
84
206
 
85
- ### ๐Ÿ›  Perintah bawaan CLI
207
+ **Config default** sudah terpasang otomatis dengan **model `opencode-zen/kimi-k2-5`** (provider zen) โ€” **tanpa API key**.
208
+ Lokasi: `~/.config/opencode/opencode.json` (milik user; installer **tidak pernah menimpa**).
209
+
210
+ ---
86
211
 
87
- | Perintah | Fungsi |
88
- |---|---|
89
- | `opencode-termux` | Jalankan CLI opencode (argumen diteruskan) |
90
- | `opencode-termux update` | Perbarui binary ke upstream terbaru |
91
- | `opencode-termux doctor` | Diagnosis lingkungan & bundle (exit code jujur) |
92
- | `opencode-termux version` | Info versi paket + binary |
212
+ ## ๐Ÿงช **Testing**
93
213
 
94
- > Identitas perintah konsisten satu nama: **`opencode-termux`** โ€” tanpa alias,
95
- > tanpa nama lain, di semua dokumentasi, log, dan script internal.
214
+ ```bash
215
+ npm test # Struktur + unit (cepat, tanpa unduhan besar)
216
+ npm run test:e2e # E2E penuh: install bundle + smoke test + subcommand
217
+ ```
96
218
 
97
- ## ๐Ÿงช Tes
219
+ CI GitHub menjalankan:
220
+ - Struktur test di setiap push
221
+ - **E2E ARM64 sungguhan** (native di runner `ubuntu-24.04-arm` via container Alpine โ€” loader musl prebuilt Termux benar-benar dieksekusi)
222
+
223
+ ---
224
+
225
+ ## ๐Ÿ”’ **Keamanan**
226
+
227
+ - Tarball binary diverifikasi **sha512** terhadap metadata resmi registry npm
228
+ - Unduhan memakai retry + backoff eksponensial (tahan jaringan gemetar)
229
+ - gitleaks scan di CI untuk deteksi secrets
230
+ - Binary upstream tidak dimodifikasi โ€” hanya dibungkus
231
+
232
+ ---
233
+
234
+ ## ๐Ÿ“š **Dokumentasi Lengkap (Termasuk di Setiap Rilis)**
235
+
236
+ | File | Deskripsi |
237
+ |------|-----------|
238
+ | **[INSTALASI.md](docs/INSTALASI.md)** | Panduan end-to-end: persyaratan โ†’ install โ†’ verifikasi โ†’ update/uninstall โ†’ troubleshooting โ†’ FAQ |
239
+ | **[RELEASE-HISTORY.md](RELEASE-HISTORY.md)** | Release notes adaptif semua versi (auto-generated) |
240
+ | **prebuilt/README.md** | Cara rebuild musl loader custom |
241
+ | **Agent & Command** | `agents/*.md` & `commands/*.md` โ€” docs per agent/command |
242
+
243
+ ---
244
+
245
+ ## ๐Ÿ›  **Development & Build**
98
246
 
99
247
  ```bash
100
- npm test # struktur + unit (cepat, tanpa unduhan besar)
101
- npm run test:e2e # e2e penuh: install bundle + smoke test + subcommand
248
+ # Clone & install deps
249
+ git clone https://github.com/nemoobc/opencode-termux.git
250
+ cd opencode-termux
251
+ npm install
252
+
253
+ # Build semua artefak rilis (6 format)
254
+ ./scripts/build-release.sh
255
+
256
+ # Output di ./dist/
257
+ ls -la dist/
102
258
  ```
103
259
 
104
- CI GitHub menjalankan tes struktur di setiap push, plus **e2e arm64 sungguhan**
105
- (emulasi QEMU โ€” loader musl prebuilt Termux benar-benar dieksekusi).
260
+ **Scripts tersedia:**
261
+ | Script | Fungsi |
262
+ |--------|--------|
263
+ | `npm run postinstall` | Install bundle vendor (auto dijalankan npm) |
264
+ | `npm test` | Struktur + unit test |
265
+ | `npm run test:e2e` | E2E test penuh |
266
+ | `npm run typecheck` | TypeScript type check |
267
+ | `npm run lint` | Lint placeholder |
268
+ | `./scripts/build-release.sh` | Build 6 artefak rilis |
269
+ | `./scripts/generate-release-notes.sh` | Generate release notes adaptive |
270
+ | `./scripts/build-install-guide.sh` | Generate panduan instalasi lengkap |
271
+
272
+ ---
273
+
274
+ ## ๐Ÿ“ฆ **Versi & Rilis**
275
+
276
+ | Link | Deskripsi |
277
+ |------|-----------|
278
+ | [GitHub Releases](https://github.com/nemoobc/opencode-termux/releases) | **Semua versi** (termasuk lama) + 6 artefak per versi |
279
+ | [npm Versions](https://www.npmjs.com/package/@nemoobc/opencode-termux?activeTab=versions) | History versi npm |
280
+ | [RELEASE-HISTORY.md](RELEASE-HISTORY.md) | Release notes/riwayat perubahan per versi |
281
+
282
+ **Skema versi:** `paket.opencodeUpstream.patch` โ€” contoh: `1.20.3` (paket v1.20, upstream opencode-ai 1.18.23, patch 3)
106
283
 
107
- ## ๐Ÿ”’ Keamanan
284
+ ---
285
+
286
+ ## ๐Ÿค **Kontribusi**
108
287
 
109
- - Tarball binary diverifikasi **sha512** terhadap metadata resmi registry npm.
110
- - Unduhan memakai retry + backoff eksponensial (tahan jaringan gemetar).
288
+ 1. Fork & branch
289
+ 2. Commit conventional (`feat:`, `fix:`, `docs:`, `chore:`)
290
+ 3. Push & buat PR
291
+ 4. CI otomatis jalan (test + build)
292
+ 5. Review & merge
111
293
 
112
- ## ๐Ÿ“ฆ Versi
294
+ **Ide kontribusi:**
295
+ - Tambah agent/command baru di `agents/` & `commands/`
296
+ - Perbaiki docs di `docs/`
297
+ - Tambah bahasa support di skills (Rust, PHP, Ruby, dll)
298
+ - Optimasi musl loader build
299
+ - CI/CD improvement
113
300
 
114
- Semua versi npm: [npmjs.com/@nemoobc/opencode-termux](https://www.npmjs.com/package/@nemoobc/opencode-termux?activeTab=versions) ยท
115
- Rilis & changelog: [GitHub Releases](https://github.com/nemo-base-eth/opencode-termux/releases)
301
+ ---
116
302
 
117
- ## ๐ŸŒ Ekosistem
303
+ ## ๐Ÿ“„ **Lisensi**
118
304
 
119
- | Proyek | Fungsi |
120
- |---|---|
121
- | **[opencode-termux](https://github.com/nemo-base-eth/opencode-termux)** | CLI opencode native di Termux โ€” repo ini |
122
- | **[opencode-android](https://github.com/nemo-base-eth/opencode-android)** | opencode sebagai aplikasi Android native ([unduh APK v1.5.0](https://github.com/nemoobc/opencode-android/releases/download/v1.5.0/OpenCode-v1.5.0.apk)) |
305
+ **MIT License** โ€” bebas pakai, modifikasi, distribusi.
123
306
 
124
- ## ๐Ÿ“„ Lisensi
307
+ **Binary opencode resmi** dari upstream opencode-ai โ€” paket ini hanya membungkus + menambah agent/automation.
308
+
309
+ ---
310
+
311
+ ## ๐Ÿ”— **Link Penting**
312
+
313
+ | Link | Deskripsi |
314
+ |------|-----------|
315
+ | [GitHub Repo](https://github.com/nemoobc/opencode-termux) | Source code & issues |
316
+ | [GitHub Releases](https://github.com/nemoobc/opencode-termux/releases) | **Semua artefak rilis terpreservasi** |
317
+ | [npm Package](https://www.npmjs.com/package/@nemoobc/opencode-termux) | Install via npm |
318
+ | [opencode-ai (Upstream)](https://github.com/anomalyco/opencode) | **Source asli โ€” credit utama** |
319
+ | [opencode.ai Docs](https://opencode.ai) | Dokumentasi upstream |
320
+ | [Termux F-Droid](https://f-droid.org/en/packages/com.termux/) | Termux yang benar (bukan Play Store) |
321
+
322
+ ---
125
323
 
126
- MIT. Binary opencode resmi dari upstream โ€” paket ini hanya membungkus + menambah agent.
324
+ **Dibangun dengan โค๏ธ untuk komunitas Termux/Android**
325
+ **Powered by [opencode-ai](https://github.com/anomalyco/opencode) โ€” terima kasih tim anomalyco!** ๐Ÿ™
@@ -1,12 +1,13 @@
1
1
  ---
2
2
  description: Spesialis build APK Android di Termux โ€” hafal seluruh pipeline
3
3
  mode: primary
4
- model: opencode/x-preview-f-free
4
+ model: opencode/big-pickle
5
5
  tools:
6
6
  write: true
7
7
  edit: true
8
8
  bash: true
9
9
  ---
10
+ > ATURAN: JANGAN PERNAH menulis raw tool-call XML sebagai teks (tarif: tag literal seperti <parameter>, <parameter name="...">, </parameter>, <invoke>, <function_calls>, <antml:...>). Selalu panggil tool beneran; kalau perlu menyebut nilai opsi, tulis sebagai teks biasa, JANGAN sebagai tag mentah. Ini mencegah tag literal bocor ke tampilan TUI.
10
11
 
11
12
  Kamu adalah spesialis build APK untuk project Android di folder aktif.
12
13
  Kuasai resep ini dan jalankan tanpa bertanya.
@@ -27,7 +28,7 @@ RAKIT PAYLOAD (assets/payload/rootfs.bin):
27
28
  - libs (libgcc_s.so.1, libstdc++.so.6) โ†’ rootfs/usr/lib/
28
29
  - rootfs/etc/resolv.conf: nameserver 1.1.1.1 + 8.8.8.8
29
30
  - rootfs/usr/bin/oc: wrapper exec /usr/bin/opencode (chmod +x)
30
- - rootfs/root/.config/opencode/opencode.json: model opencode/x-preview-f-free
31
+ - rootfs/root/.config/opencode/opencode.json: model opencode/big-pickle
31
32
  - tar -czf assets/payload/rootfs.bin -C staging/rootfs .
32
33
 
33
34
  BUILD: