karnel-termux 4.17.30 → 4.17.32
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 +8 -7
- package/karnel/RELEASE_COMMIT +1 -1
- package/karnel/utils/install.sh +15 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
<p align="center">
|
|
10
10
|
<a href="https://github.com/israelmarques1024-dotcom/karnel-termux">
|
|
11
|
-
<img src="https://img.shields.io/badge/version-4.17.
|
|
11
|
+
<img src="https://img.shields.io/badge/version-4.17.32-0078D4?style=for-the-badge" alt="Version">
|
|
12
12
|
</a>
|
|
13
13
|
<a href="https://www.npmjs.com/package/karnel-termux">
|
|
14
14
|
<img src="https://img.shields.io/npm/v/karnel-termux?style=for-the-badge&logo=npm&color=cb3837" alt="npm">
|
|
@@ -35,7 +35,7 @@ Created by **Israel Marques**. Core agent contributions by **devcorex**.
|
|
|
35
35
|
|
|
36
36
|
With a single CLI (`karnel`), install and manage:
|
|
37
37
|
|
|
38
|
-
- **
|
|
38
|
+
- **46 AI tools** — Claude, Gemini, OpenCode, Cactus, Hugging Face, Ollama, KeelCode, Goose, Factory Droid, 10Router and more
|
|
39
39
|
- **8 languages** — Node.js, Python, Go, Rust, C/C++, PHP, Perl, Bun
|
|
40
40
|
- **5 databases** — PostgreSQL, MariaDB, SQLite, MongoDB, Redis
|
|
41
41
|
- **22 dev tools** — gh, curl, fzf, bat, lsd, jq, tmux, openssh, snyk and more
|
|
@@ -67,7 +67,7 @@ karnel install utils --herdr
|
|
|
67
67
|
Why it's great:
|
|
68
68
|
- **Checksum-verified** download from the official Herdr release manifest (`https://herdr.dev/latest.json`).
|
|
69
69
|
- **Atomic, safe install** into `$PREFIX/bin/herdr` with a Karnel ownership marker — so `karnel uninstall utils --herdr` is clean and never touches files it didn't manage.
|
|
70
|
-
- Pairs perfectly with the
|
|
70
|
+
- Pairs perfectly with the 46 AI agents Karnel manages.
|
|
71
71
|
|
|
72
72
|
> Open its docs anytime with `karnel open herdr`.
|
|
73
73
|
|
|
@@ -78,7 +78,7 @@ Why it's great:
|
|
|
78
78
|
### Via checksummed GitHub release (recommended)
|
|
79
79
|
|
|
80
80
|
```bash
|
|
81
|
-
version=4.17.
|
|
81
|
+
version=4.17.32
|
|
82
82
|
tmpdir=$(mktemp -d) && trap 'rm -rf "$tmpdir"' EXIT
|
|
83
83
|
base="https://github.com/israelmarques1024-dotcom/karnel-termux/releases/download/v$version"
|
|
84
84
|
curl -fsSL "$base/karnel-termux-install.sh" -o "$tmpdir/karnel-termux-install.sh"
|
|
@@ -145,7 +145,7 @@ aliases, or options; use `karnel help` and the CLI reference for the full set.
|
|
|
145
145
|
|--------|-------------|--------------|
|
|
146
146
|
| `lang` | Node.js, Python, Go, Rust, C/C++, PHP, Perl, Bun | `karnel install lang` |
|
|
147
147
|
| `db` | PostgreSQL, MariaDB, SQLite, MongoDB, Redis | `karnel install db` |
|
|
148
|
-
| `ai` |
|
|
148
|
+
| `ai` | 46 AI tools, agents, and local inference clients | `karnel install ai` |
|
|
149
149
|
| `editor` | code-server (VS Code in browser), Neovim, NvChad | `karnel install editor` |
|
|
150
150
|
| `dev` | gh, curl, fzf, bat, lsd, jq and more | `karnel install dev` |
|
|
151
151
|
| `npm` | TypeScript, NestJS CLI, Prettier and more | `karnel install npm` |
|
|
@@ -289,7 +289,7 @@ See the bundled reference with `karnel show osint --robin`.
|
|
|
289
289
|
|
|
290
290
|
---
|
|
291
291
|
|
|
292
|
-
## AI Tools (
|
|
292
|
+
## AI Tools (46)
|
|
293
293
|
|
|
294
294
|
```bash
|
|
295
295
|
karnel install ai # Install all
|
|
@@ -301,6 +301,7 @@ karnel install ai --opencode --ollama # Install specific agents
|
|
|
301
301
|
|
|
302
302
|
| Agent | Flag | Description |
|
|
303
303
|
|-------|------|-------------|
|
|
304
|
+
| **10Router** | `--10router` | Start and manage a 10Router server |
|
|
304
305
|
| **Qwen Code** | `--qwen-code` | Alibaba coding assistant |
|
|
305
306
|
| **Gemini CLI** | `--gemini-cli` | Google Gemini assistant |
|
|
306
307
|
| **Claude Code** | `--claude-code` | Anthropic CLI with Claude AI |
|
|
@@ -583,7 +584,7 @@ karnel/
|
|
|
583
584
|
│ │ └── karnel.sh # Main CLI (with TUI)
|
|
584
585
|
│ ├── modules/ # Module orchestrators
|
|
585
586
|
│ ├── tools/ # Tool installers
|
|
586
|
-
│ │ ├── ai/ #
|
|
587
|
+
│ │ ├── ai/ # 46 AI tools
|
|
587
588
|
│ │ ├── lang/ # 8 languages
|
|
588
589
|
│ │ ├── db/ # 5 databases
|
|
589
590
|
│ │ ├── dev/ # 22 dev tools
|
package/karnel/RELEASE_COMMIT
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
055ef02ecb9f9ddd5bf909126730a5c00e2f09ee
|
package/karnel/utils/install.sh
CHANGED
|
@@ -201,8 +201,21 @@ activate_installer_file() {
|
|
|
201
201
|
|
|
202
202
|
github_release_asset_sha256() {
|
|
203
203
|
local repo="$1" version="$2" asset="$3" digest=""
|
|
204
|
-
# GitHub
|
|
205
|
-
#
|
|
204
|
+
# Modern GitHub releases expose an official SHA-256 in each asset's digest
|
|
205
|
+
# field. Prefer it so installers do not depend on companion checksum files.
|
|
206
|
+
if command -v jq >/dev/null 2>&1; then
|
|
207
|
+
digest=$(curl -fsSL --connect-timeout 10 --max-time 30 \
|
|
208
|
+
-H 'Accept: application/vnd.github+json' \
|
|
209
|
+
"https://api.github.com/repos/$repo/releases/tags/$version" 2>/dev/null \
|
|
210
|
+
| jq -r --arg asset "$asset" '.assets[] | select(.name == $asset) | .digest // empty' 2>/dev/null \
|
|
211
|
+
| awk -F: 'NR == 1 { print $NF }' | tr -d '\r')
|
|
212
|
+
if [[ "$digest" =~ ^[0-9a-f]{64}$ ]]; then
|
|
213
|
+
echo "$digest"
|
|
214
|
+
return 0
|
|
215
|
+
fi
|
|
216
|
+
fi
|
|
217
|
+
# Older GitHub releases may not have an API digest. Try the companion
|
|
218
|
+
# checksum file published alongside the asset (a common convention).
|
|
206
219
|
digest=$(curl -fsSL --connect-timeout 10 --max-time 30 \
|
|
207
220
|
"https://github.com/$repo/releases/download/$version/$asset.sha256" 2>/dev/null \
|
|
208
221
|
| awk '{print $1; exit}' | tr -d '\r')
|
package/package.json
CHANGED