@nemoobc/opencode-termux 1.19.0 โ 1.19.1
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 +34 -14
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -3,28 +3,22 @@
|
|
|
3
3
|
**[opencode](https://opencode.ai) CLI native di Termux/Android โ tanpa proot, tanpa root, plus agent & tools otomatis.**
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@nemoobc/opencode-termux)
|
|
6
|
+
[](https://github.com/nemoobc/opencode-termux/releases)
|
|
6
7
|
[](#)
|
|
7
8
|
[](#)
|
|
8
9
|
[](.github/workflows/sync-upstream.yml)
|
|
9
10
|
|
|
10
11
|
---
|
|
11
12
|
|
|
12
|
-
##
|
|
13
|
-
|
|
14
|
-
```bash
|
|
15
|
-
pkg update && pkg install nodejs-lts
|
|
16
|
-
npm i -g @nemoobc/opencode-termux
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
Selesai. Tidak ada setting ulang โ agent, command, dan config **otomatis terpasang**.
|
|
13
|
+
## ๐ค Agent & tools otomatis
|
|
20
14
|
|
|
21
|
-
|
|
15
|
+
Sekali install โ agent, command, dan config **langsung terpasang** tanpa setting ulang:
|
|
22
16
|
|
|
23
17
|
| Agent | Tugas |
|
|
24
18
|
|---|---|
|
|
25
19
|
| **autodev** | Developer otonom universal: coding, tools, build, tes, fix, rilis โ berurutan |
|
|
26
20
|
| **termux-coder** | Coding assistant yang paham Termux (PATH, pkg, tanpa root) |
|
|
27
|
-
| **apk-builder** | Build APK Android: payload, align, sign
|
|
21
|
+
| **apk-builder** | Build APK Android: payload, align, sign |
|
|
28
22
|
| **tester** | Jalankan seluruh test suite + laporan pass/fail |
|
|
29
23
|
| **fixer** | Loop perbaikan: uji โ analisis โ fix minimal โ uji ulang (maks 5x) |
|
|
30
24
|
|
|
@@ -39,13 +33,33 @@ Config default ikut terpasang: **model gratis `opencode/x-preview-f-free`** โ
|
|
|
39
33
|
|
|
40
34
|
## ๐ Sync upstream otomatis
|
|
41
35
|
|
|
42
|
-
Workflow GitHub mengecek [opencode-ai](https://github.com/anomalyco/opencode) baru
|
|
43
|
-
|
|
36
|
+
Workflow GitHub mengecek [opencode-ai](https://github.com/anomalyco/opencode) baru setiap
|
|
37
|
+
6 jam โ begitu ada versi baru, paket ini otomatis menyesuaikan (commit memakai identitas nemoobc).
|
|
44
38
|
|
|
45
|
-
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
## Kenapa paket ini ada?
|
|
42
|
+
|
|
43
|
+
Installer resmi `opencode-ai` gagal di Termux karena tidak mengenali
|
|
44
|
+
`process.platform === "android"` dan tidak menyediakan build untuk Bionic libc.
|
|
45
|
+
|
|
46
|
+
Paket ini menjembatani tanpa trik aneh:
|
|
47
|
+
|
|
48
|
+
```
|
|
49
|
+
opencode-termux (shim Node)
|
|
50
|
+
โโ vendor/ld-musl.so โ musl libc hasil build khusus Termux*
|
|
51
|
+
โโ vendor/opencode โ binary resmi opencode-linux-arm64-musl
|
|
52
|
+
โคณ LD_LIBRARY_PATH โ libstdc++ / libgcc_s (dari Alpine)
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
\* path `/etc/resolv.conf` & `/etc/hosts` dipatch saat kompilasi menuju
|
|
56
|
+
`$PREFIX/etc/` sehingga DNS jalan tanpa root.
|
|
57
|
+
|
|
58
|
+
## ๐ Install
|
|
46
59
|
|
|
47
60
|
```bash
|
|
48
|
-
|
|
61
|
+
pkg update && pkg install nodejs-lts
|
|
62
|
+
npm i -g @nemoobc/opencode-termux
|
|
49
63
|
```
|
|
50
64
|
|
|
51
65
|
> Jika muncul warning `install-scripts`, izinkan sekali:
|
|
@@ -54,6 +68,12 @@ opencode-termux --version
|
|
|
54
68
|
> npm rebuild -g @nemoobc/opencode-termux
|
|
55
69
|
> ```
|
|
56
70
|
|
|
71
|
+
## โ
Verifikasi
|
|
72
|
+
|
|
73
|
+
```bash
|
|
74
|
+
opencode-termux --version
|
|
75
|
+
```
|
|
76
|
+
|
|
57
77
|
Alias biar terasa asli:
|
|
58
78
|
|
|
59
79
|
```bash
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nemoobc/opencode-termux",
|
|
3
|
-
"version": "1.19.
|
|
4
|
-
"description": "opencode CLI native untuk Termux/Android tanpa proot
|
|
3
|
+
"version": "1.19.1",
|
|
4
|
+
"description": "opencode CLI native untuk Termux/Android tanpa proot โ membundel loader musl + binary opencode resmi (upstream opencode-ai)",
|
|
5
5
|
"bin": {
|
|
6
6
|
"opencode-termux": "./bin/opencode.js"
|
|
7
7
|
},
|
|
@@ -34,4 +34,4 @@
|
|
|
34
34
|
"url": "git+https://github.com/nemoobc/opencode-termux.git"
|
|
35
35
|
},
|
|
36
36
|
"homepage": "https://github.com/nemoobc/opencode-termux#readme"
|
|
37
|
-
}
|
|
37
|
+
}
|