karnel-termux 4.17.43 → 4.17.45
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 +14 -14
- package/docs/CHANGELOG.md +107 -0
- package/docs/_layouts/base.html +1 -1
- package/docs/cli/index.md +1 -1
- package/docs/index.md +5 -5
- package/docs/karnel/ai/index.md +1 -1
- package/docs/karnel/auto/index.md +1 -1
- package/docs/karnel/db/index.md +1 -1
- package/docs/karnel/deploy/index.md +1 -1
- package/docs/karnel/dev/index.md +1 -1
- package/docs/karnel/editor/index.md +1 -1
- package/docs/karnel/games/index.md +1 -1
- package/docs/karnel/lang/index.md +1 -1
- package/docs/karnel/network/index.md +1 -1
- package/docs/karnel/npm/index.md +1 -1
- package/docs/karnel/osint/index.md +1 -1
- package/docs/karnel/plugin/index.md +1 -1
- package/docs/karnel/security/index.md +1 -1
- package/docs/karnel/shell/index.md +1 -1
- package/docs/karnel/ui/index.md +1 -1
- package/docs/karnel/utils/index.md +1 -1
- package/docs/karnel/voice/index.md +1 -1
- package/docs/troubleshooting/index.md +8 -8
- package/install.sh +1 -1
- package/karnel/RELEASE_COMMIT +1 -1
- package/karnel/bin/karnel +2 -2
- package/karnel/cli/commands/agent.sh +1 -1
- package/karnel/cli/commands/brain.sh +3 -3
- package/karnel/cli/commands/cleanup.sh +2 -1
- package/karnel/cli/commands/doctor/code_langs.sh +1 -1
- package/karnel/cli/commands/doctor/fixes.sh +9 -22
- package/karnel/cli/commands/doctor.sh +18 -10
- package/karnel/cli/commands/env.sh +2 -2
- package/karnel/cli/commands/init.sh +10 -9
- package/karnel/cli/commands/install.sh +16 -9
- package/karnel/cli/commands/list.sh +15 -10
- package/karnel/cli/commands/open.sh +50 -15
- package/karnel/cli/commands/pg.sh +2 -2
- package/karnel/cli/commands/reinstall.sh +3 -3
- package/karnel/cli/commands/restore.sh +1 -1
- package/karnel/cli/commands/search.sh +47 -14
- package/karnel/cli/commands/stats.sh +70 -10
- package/karnel/cli/commands/uninstall.sh +7 -0
- package/karnel/cli/commands/update.sh +9 -8
- package/karnel/cli/karnel.sh +94 -131
- package/karnel/tools/ai/10router/install.sh +4 -3
- package/karnel/tools/ai/all.sh +4 -10
- package/karnel/tools/ai/ampcode/install.sh +3 -8
- package/karnel/tools/ai/antigravity-cli/README.md +1 -1
- package/karnel/tools/ai/antigravity-cli/install.sh +17 -202
- package/karnel/tools/ai/cactus-needle/README.md +1 -1
- package/karnel/tools/ai/cactus-needle/install.sh +15 -15
- package/karnel/tools/ai/claude-code/README.md +1 -1
- package/karnel/tools/ai/claude-code/install.sh +0 -1
- package/karnel/tools/ai/cline/install.sh +7 -6
- package/karnel/tools/ai/codebuff/README.md +1 -1
- package/karnel/tools/ai/codebuff/install.sh +3 -17
- package/karnel/tools/ai/codegraph/README.md +1 -1
- package/karnel/tools/ai/codex/README.md +1 -1
- package/karnel/tools/ai/codex/install.sh +4 -3
- package/karnel/tools/ai/command-code/README.md +1 -1
- package/karnel/tools/ai/command-code/install.sh +4 -3
- package/karnel/tools/ai/copilot-termux/install.sh +5 -4
- package/karnel/tools/ai/crush/install.sh +4 -3
- package/karnel/tools/ai/ctx7/install.sh +4 -3
- package/karnel/tools/ai/engram/README.md +1 -1
- package/karnel/tools/ai/freebuff/install.sh +5 -4
- package/karnel/tools/ai/gemini-cli/README.md +1 -1
- package/karnel/tools/ai/gemini-cli/install.sh +4 -3
- package/karnel/tools/ai/gga/README.md +1 -1
- package/karnel/tools/ai/hermes-agent/README.md +1 -1
- package/karnel/tools/ai/keelcode/install.sh +14 -8
- package/karnel/tools/ai/kilocode-cli/README.md +1 -1
- package/karnel/tools/ai/kimchi-code/README.md +1 -1
- package/karnel/tools/ai/kimi-code/README.md +1 -1
- package/karnel/tools/ai/kimi-code/install.sh +4 -3
- package/karnel/tools/ai/mimocode/README.md +1 -1
- package/karnel/tools/ai/mimocode/install.sh +3 -14
- package/karnel/tools/ai/minimax-cli/README.md +1 -1
- package/karnel/tools/ai/minimax-cli/install.sh +4 -3
- package/karnel/tools/ai/mistral-vibe/README.md +1 -1
- package/karnel/tools/ai/ollama/README.md +1 -1
- package/karnel/tools/ai/omni-route/README.md +1 -3
- package/karnel/tools/ai/omni-route/install.sh +3 -2
- package/karnel/tools/ai/openclaude/README.md +1 -1
- package/karnel/tools/ai/openclaude/install.sh +4 -3
- package/karnel/tools/ai/openclaw/README.md +1 -1
- package/karnel/tools/ai/openclaw/install.sh +5 -4
- package/karnel/tools/ai/opencode/README.md +1 -1
- package/karnel/tools/ai/opencode/install.sh +0 -1
- package/karnel/tools/ai/openspec/install.sh +4 -3
- package/karnel/tools/ai/pi/README.md +1 -1
- package/karnel/tools/ai/pi/install.sh +4 -3
- package/karnel/tools/ai/puter/install.sh +4 -3
- package/karnel/tools/ai/qwen-code/README.md +1 -1
- package/karnel/tools/ai/qwen-code/install.sh +4 -3
- package/karnel/tools/ai/supercode-cli/README.md +1 -1
- package/karnel/tools/ai/supercode-cli/install.sh +6 -5
- package/karnel/tools/ai/walkie/install.sh +6 -5
- package/karnel/tools/auto/n8n/README.md +1 -1
- package/karnel/tools/auto/n8n/install.sh +4 -3
- package/karnel/tools/db/mariadb/README.md +1 -1
- package/karnel/tools/db/mongodb/README.md +1 -1
- package/karnel/tools/db/postgresql/README.md +1 -1
- package/karnel/tools/db/redis/README.md +1 -1
- package/karnel/tools/db/sqlite/README.md +1 -1
- package/karnel/tools/deploy/netlify/install.sh +5 -4
- package/karnel/tools/deploy/railway/install.sh +4 -3
- package/karnel/tools/deploy/vercel/install.sh +4 -3
- package/karnel/tools/dev/bat/README.md +1 -1
- package/karnel/tools/dev/bc/README.md +1 -1
- package/karnel/tools/dev/cloudflared/README.md +1 -1
- package/karnel/tools/dev/curl/README.md +1 -1
- package/karnel/tools/dev/fzf/README.md +1 -1
- package/karnel/tools/dev/gh/README.md +1 -1
- package/karnel/tools/dev/html2text/README.md +1 -1
- package/karnel/tools/dev/imagemagick/README.md +1 -1
- package/karnel/tools/dev/jq/README.md +1 -1
- package/karnel/tools/dev/lsd/README.md +1 -1
- package/karnel/tools/dev/make/README.md +1 -1
- package/karnel/tools/dev/ncurses/README.md +1 -1
- package/karnel/tools/dev/openssh/README.md +1 -1
- package/karnel/tools/dev/proot/README.md +1 -1
- package/karnel/tools/dev/shfmt/README.md +1 -1
- package/karnel/tools/dev/snyk/install.sh +4 -3
- package/karnel/tools/dev/tmate/README.md +2 -2
- package/karnel/tools/dev/tmux/README.md +1 -1
- package/karnel/tools/dev/translate/README.md +1 -1
- package/karnel/tools/dev/tree/README.md +1 -1
- package/karnel/tools/dev/udocker/README.md +1 -1
- package/karnel/tools/dev/wget/README.md +1 -1
- package/karnel/tools/editor/neovim/README.md +1 -1
- package/karnel/tools/editor/nvchad/README.md +1 -1
- package/karnel/tools/lang/clang/README.md +1 -1
- package/karnel/tools/lang/golang/README.md +1 -1
- package/karnel/tools/lang/nodejs/README.md +1 -1
- package/karnel/tools/lang/perl/README.md +1 -1
- package/karnel/tools/lang/php/README.md +1 -1
- package/karnel/tools/lang/python/README.md +1 -1
- package/karnel/tools/lang/rust/README.md +1 -1
- package/karnel/tools/network/dark/README.md +1 -1
- package/karnel/tools/network/dark/install.sh +2 -1
- package/karnel/tools/network/dedsec-network/README.md +1 -1
- package/karnel/tools/network/dedsec-network/install.sh +2 -1
- package/karnel/tools/npm/live-server/README.md +1 -1
- package/karnel/tools/npm/live-server/install.sh +4 -3
- package/karnel/tools/npm/localtunnel/README.md +1 -1
- package/karnel/tools/npm/localtunnel/install.sh +4 -3
- package/karnel/tools/npm/markserv/README.md +1 -1
- package/karnel/tools/npm/markserv/install.sh +4 -3
- package/karnel/tools/npm/ncu/README.md +1 -1
- package/karnel/tools/npm/ncu/install.sh +4 -3
- package/karnel/tools/npm/nestjs/README.md +1 -1
- package/karnel/tools/npm/nestjs/install.sh +4 -3
- package/karnel/tools/npm/ngrok/README.md +1 -1
- package/karnel/tools/npm/ngrok/install.sh +4 -3
- package/karnel/tools/npm/prettier/README.md +1 -1
- package/karnel/tools/npm/prettier/install.sh +4 -3
- package/karnel/tools/npm/psqlformat/README.md +1 -1
- package/karnel/tools/npm/psqlformat/install.sh +4 -3
- package/karnel/tools/npm/turbopack/README.md +37 -5
- package/karnel/tools/npm/turbopack/bin/next-turbopack +1 -1
- package/karnel/tools/npm/turbopack/bin/node-glibc.sh +1 -1
- package/karnel/tools/npm/typescript/README.md +1 -1
- package/karnel/tools/npm/typescript/install.sh +4 -3
- package/karnel/tools/npm/vercel/README.md +1 -1
- package/karnel/tools/npm/vercel/install.sh +4 -3
- package/karnel/tools/plugins/install.sh +2 -2
- package/karnel/tools/security/aircrack-ng/install.sh +19 -8
- package/karnel/tools/security/binwalk/install.sh +16 -6
- package/karnel/tools/security/dirb/install.sh +16 -6
- package/karnel/tools/security/exiftool/install.sh +16 -6
- package/karnel/tools/security/foremost/install.sh +16 -6
- package/karnel/tools/security/hashcat/install.sh +16 -6
- package/karnel/tools/security/hydra/install.sh +16 -6
- package/karnel/tools/security/john/install.sh +16 -6
- package/karnel/tools/security/netcat/install.sh +19 -8
- package/karnel/tools/security/nmap/install.sh +16 -6
- package/karnel/tools/security/smbclient/install.sh +16 -6
- package/karnel/tools/security/steghide/install.sh +16 -6
- package/karnel/tools/security/tcpdump/install.sh +16 -6
- package/karnel/tools/security/template.sh +39 -18
- package/karnel/tools/security/wafw00f/install.sh +3 -1
- package/karnel/tools/security/whois/install.sh +16 -6
- package/karnel/tools/security/wpscan/install.sh +3 -1
- package/karnel/tools/shell/better-npm/README.md +1 -1
- package/karnel/tools/shell/fzf-tab/README.md +1 -1
- package/karnel/tools/shell/history-substring/README.md +1 -1
- package/karnel/tools/shell/powerlevel10k/README.md +1 -1
- package/karnel/tools/shell/you-should-use/README.md +1 -1
- package/karnel/tools/shell/zsh-autopair/README.md +1 -1
- package/karnel/tools/shell/zsh-autosuggestions/README.md +1 -1
- package/karnel/tools/shell/zsh-completions/README.md +1 -1
- package/karnel/tools/shell/zsh-defer/README.md +1 -1
- package/karnel/tools/shell/zsh-syntax-highlighting/README.md +1 -1
- package/karnel/tools/ui/banner/README.md +1 -1
- package/karnel/tools/ui/banner/install.sh +9 -0
- package/karnel/tools/ui/cursor/README.md +1 -1
- package/karnel/tools/ui/extra-keys/README.md +1 -1
- package/karnel/tools/ui/font/README.md +1 -1
- package/karnel/tools/utils/applaunch/README.md +1 -1
- package/karnel/tools/utils/fconv/README.md +1 -1
- package/karnel/tools/utils/filecheck/README.md +1 -1
- package/karnel/tools/utils/httptmux/README.md +1 -1
- package/karnel/tools/utils/httptmux/install.sh +4 -3
- package/karnel/tools/utils/notes/README.md +1 -1
- package/karnel/tools/utils/passman/README.md +1 -1
- package/karnel/tools/utils/qrcode/README.md +1 -1
- package/karnel/tools/utils/qrcode/install.sh +2 -1
- package/karnel/tools/utils/splash/README.md +1 -1
- package/karnel/tools/utils/treex/README.md +1 -1
- package/karnel/tools/utils/websites/README.md +1 -1
- package/karnel/tools/utils/zork/README.md +1 -1
- package/karnel/tools/utils/zork/install.sh +18 -7
- package/karnel/tools/utils/zork/zork.sh +1 -1
- package/karnel/utils/agent_actions.sh +9 -5
- package/karnel/utils/banner.sh +128 -35
- package/karnel/utils/env.sh +5 -3
- package/karnel/utils/log.sh +15 -5
- package/karnel/utils/npm.sh +95 -0
- package/karnel/utils/tools.sh +165 -13
- package/karnel/utils/version.sh +10 -8
- package/package.json +4 -3
- package/scripts/check-package.js +71 -1
- package/scripts/publish.js +49 -0
- package/karnel/tools/ai/ampcode/bin/amp.proot +0 -22
- package/karnel/tools/ai/antigravity-cli/bin/agy.proot +0 -22
- package/karnel/tools/ai/claude-code/bin/claude.proot +0 -22
- package/karnel/tools/ai/cline/bin/cline.proot +0 -28
- package/karnel/tools/ai/cline/helper/cline_helper.c +0 -54
- package/karnel/tools/ai/cursor-cli/bin/cursor.proot +0 -33
- package/karnel/tools/ai/gga/termux.patch +0 -70
- package/karnel/tools/ai/keelcode/bin/keelcode.proot +0 -23
- package/karnel/tools/ai/kilocode-cli/bin/kilocode.proot +0 -22
- package/karnel/tools/ai/mimocode/bin/mimo.proot +0 -22
- package/karnel/tools/ai/oh-my-pi/bin/omp.proot +0 -22
- package/karnel/tools/ai/opencode/bin/opencode.proot +0 -22
- package/karnel/tools/ai/qoder/bin/qodercli.proot +0 -22
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<p align="center">
|
|
2
|
-
<img src="https://raw.githubusercontent.com/
|
|
2
|
+
<img src="https://raw.githubusercontent.com/karnel-termuxOFC/karnel-termux/main/assets/images/karnel-logo.png" alt="Karnel Termux Logo" width="400">
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
5
|
<p align="center">
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
</p>
|
|
8
8
|
|
|
9
9
|
<p align="center">
|
|
10
|
-
<a href="https://github.com/
|
|
11
|
-
<img src="https://img.shields.io/badge/version-4.17.
|
|
10
|
+
<a href="https://github.com/karnel-termuxOFC/karnel-termux">
|
|
11
|
+
<img src="https://img.shields.io/badge/version-4.17.45-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">
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
<a href="https://www.npmjs.com/package/karnel-termux">
|
|
17
17
|
<img src="https://img.shields.io/npm/dt/karnel-termux?style=for-the-badge&logo=npm&color=cb3837" alt="npm downloads">
|
|
18
18
|
</a>
|
|
19
|
-
<a href="https://github.com/
|
|
19
|
+
<a href="https://github.com/karnel-termuxOFC/karnel-termux/blob/main/LICENSE">
|
|
20
20
|
<img src="https://img.shields.io/badge/license-MIT-0078D4?style=for-the-badge" alt="License">
|
|
21
21
|
</a>
|
|
22
22
|
<a href="https://termux.dev/">
|
|
@@ -78,9 +78,9 @@ Why it's great:
|
|
|
78
78
|
### Via checksummed GitHub release (recommended)
|
|
79
79
|
|
|
80
80
|
```bash
|
|
81
|
-
version=4.17.
|
|
81
|
+
version=4.17.45
|
|
82
82
|
tmpdir=$(mktemp -d) && trap 'rm -rf "$tmpdir"' EXIT
|
|
83
|
-
base="https://github.com/
|
|
83
|
+
base="https://github.com/karnel-termuxOFC/karnel-termux/releases/download/v$version"
|
|
84
84
|
curl -fsSL "$base/karnel-termux-install.sh" -o "$tmpdir/karnel-termux-install.sh"
|
|
85
85
|
curl -fsSL "$base/karnel-termux-install.sh.sha256" -o "$tmpdir/karnel-termux-install.sh.sha256"
|
|
86
86
|
(cd "$tmpdir" && sha256sum -c karnel-termux-install.sh.sha256) && bash "$tmpdir/karnel-termux-install.sh" --ref "v$version"
|
|
@@ -250,7 +250,7 @@ optional checksum, and informational capabilities. Native command names and
|
|
|
250
250
|
plugin-to-plugin command collisions are rejected.
|
|
251
251
|
|
|
252
252
|
The installed plugin directory is `${XDG_DATA_HOME:-$HOME/.local/share}/karnel-data/plugins`.
|
|
253
|
-
See the [official plugin registry](https://github.com/
|
|
253
|
+
See the [official plugin registry](https://github.com/karnel-termuxOFC/karnel-plugins)
|
|
254
254
|
for schemas, review policy, and safe publication requirements.
|
|
255
255
|
|
|
256
256
|
## AI CLIs
|
|
@@ -408,7 +408,7 @@ definitions across 68 distinct tool labels. It detects subprojects, executes
|
|
|
408
408
|
checks in the matching project or subproject directory, preserves command exit status, and writes
|
|
409
409
|
timestamped text reports under `$KARNEL_DATA/doctor_code_reports/`.
|
|
410
410
|
|
|
411
|
-
Read the **[complete Doctor reference](https://github.com/
|
|
411
|
+
Read the **[complete Doctor reference](https://github.com/karnel-termuxOFC/karnel-termux/blob/main/docs/doctor/index.md)** for modes,
|
|
412
412
|
supported ecosystems, tool coverage, JSON schema, reports, and auto-fix safety.
|
|
413
413
|
|
|
414
414
|
---
|
|
@@ -565,12 +565,12 @@ Documentation loads from https://karneltermux.vercel.app.
|
|
|
565
565
|
|
|
566
566
|
## Documentation
|
|
567
567
|
|
|
568
|
-
- [Documentation index](https://github.com/
|
|
569
|
-
- [CLI reference](https://github.com/
|
|
570
|
-
- [Doctor reference](https://github.com/
|
|
571
|
-
- [Troubleshooting](https://github.com/
|
|
572
|
-
- [Architecture](https://github.com/
|
|
573
|
-
- [Documentation changelog](https://github.com/
|
|
568
|
+
- [Documentation index](https://github.com/karnel-termuxOFC/karnel-termux/blob/main/docs/index.md)
|
|
569
|
+
- [CLI reference](https://github.com/karnel-termuxOFC/karnel-termux/blob/main/docs/cli/index.md)
|
|
570
|
+
- [Doctor reference](https://github.com/karnel-termuxOFC/karnel-termux/blob/main/docs/doctor/index.md)
|
|
571
|
+
- [Troubleshooting](https://github.com/karnel-termuxOFC/karnel-termux/blob/main/docs/troubleshooting/index.md)
|
|
572
|
+
- [Architecture](https://github.com/karnel-termuxOFC/karnel-termux/blob/main/docs/ARCHITECTURE/index.md)
|
|
573
|
+
- [Documentation changelog](https://github.com/karnel-termuxOFC/karnel-termux/blob/main/docs/CHANGELOG.md)
|
|
574
574
|
- [Official website](https://karneltermux.vercel.app)
|
|
575
575
|
|
|
576
576
|
---
|
package/docs/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,113 @@ layout: base
|
|
|
6
6
|
|
|
7
7
|
# Documentation Changelog
|
|
8
8
|
|
|
9
|
+
## 4.17.45
|
|
10
|
+
|
|
11
|
+
- **npm on a real Termux host:** every npm call goes through `karnel_npm()`, which runs npm through `node` when its `#!/usr/bin/env node` shebang cannot be executed (Termux ships no `/usr`, so the kernel answered `bad interpreter`) and retries with `--force` only on `EBADPLATFORM`. The remaining bare `npm install/uninstall/update/view/ls` calls in the installers were converted; guests inside proot keep plain npm.
|
|
12
|
+
- **Installers that could never succeed:** wpscan and wafw00f read their recorded backend with a redirection-only command (`< file`) that prints nothing, so update and uninstall always failed; KeelCode validated the base package digest instead of the `linux-arm64` release it actually downloads; Cline, Command Code, Copilot Termux and Walkie repaired the shebang on the failure branch, leaving the installed binary unrunnable.
|
|
13
|
+
- **Stub detection:** `karnel_is_stub_binary()` replaces a word-list heuristic that reported real CLIs (`supercode`, `python-config`) as offline placeholders right after a successful install.
|
|
14
|
+
- **Test harness:** `run_test` runs the body under `set -e` so intermediate failures surface. This exposed a Turbopack contract that always failed on the x86_64 CI runner, a Kilo Code install aborted by a `tar` stub and an Odysseus uninstall that had to assert its refusal explicitly.
|
|
15
|
+
- **Output noise:** the version spinner probes `/dev/tty` for real instead of trusting `-c`, which passed without a controlling terminal and leaked `No such device or address` into every `karnel update`.
|
|
16
|
+
|
|
17
|
+
## 4.17.44
|
|
18
|
+
|
|
19
|
+
- **CLI correctness:** `karnel search` builds its catalog from tool READMEs in one pass instead of per-directory subshells; `karnel stats` counts modules that actually carry install markers and prints `not installed` instead of empty probes; `karnel open` gained routes for `doctor`, `brain`, `pg`, `init`, `env`, `backup`, `show`, `cleanup`, `supabase`, `linux`, `plugin`, `voice`, `security`, `osint`, `termux`, `termux-api` and `terms`.
|
|
20
|
+
- **Confirmation safety:** `--auto` now takes the safe answer on destructive prompts instead of answering `y`, and the agent declines to run code unless `-y`/`AGENT_YES` says so explicitly; doctor's dangerous fixes require `-t 0` and a non-auto run.
|
|
21
|
+
- **Installer method selection:** menus only list methods that can succeed — AMP Code, Codebuff, MiMo Code and Antigravity CLI no longer offer a proot entry that always failed, and Antigravity's proot install/update refuse before provisioning or mutating a container.
|
|
22
|
+
- **Installer fixes:** Freebuff repairs the npm shebang after a successful install instead of inside the failure branch; Claude Code and OpenCode no longer call a host-only shebang helper inside the Ubuntu container; the doctor markdownlint entry no longer passes a nonexistent `--no-missiglob` flag.
|
|
23
|
+
- **Ownership and stats:** central ownership covers 96 of 166 tools (was 61), modules write install markers on success, and security installers keep their per-package ownership intact.
|
|
24
|
+
- **Packaging:** `pack:check` normalizes modes from the git index on a real filesystem (shared storage masks every mode to 0660), asserts the CLI entry point ships executable, and `npm run release` publishes the validated tarball.
|
|
25
|
+
- **Links and data safety:** Zork downloads over HTTP with pinned SHA-256 digests because the host's TLS does not validate; dead `karnelroute.online` references were dropped and GitHub Pages links now name the Vercel production site as canonical.
|
|
26
|
+
- **Banner portability:** `banner.sh` keys its colour, figlet and tip tables as associative arrays so bash and zsh draw the same picture (zsh was losing the left border and shifting the gradient), resolves `KARNEL_VERSION` from `package.json` instead of always showing `v4.x`, draws the text logo as valid UTF-8 at the exact terminal width, caches per width for the `clear()` override, bounds the tip picker and restores the caller's traps.
|
|
27
|
+
- **List coverage:** every group exposes the same `Install Flag`/`Status` columns, `karnel list plugins` is accepted, the TUI counts installers at runtime instead of advertising a stale `AI Tools (43)`, and dialog menus/checklists show the whole list (they used to render half and a third of it, which hid lower entries such as Walkie).
|
|
28
|
+
- **Installer exit codes:** KeelCode and Supercode CLI now capture npm's exit status instead of a `rc` that was always zero, and repair the shebang only after a successful install.
|
|
29
|
+
- **Regression tests:** `tests/list-coverage.sh` proves all 17 targets list all 166 installers, `tests/banner.sh` renders in bash and zsh at the exact width as valid UTF-8, and the site catalog is checked against the CLI registries.
|
|
30
|
+
- **Housekeeping:** removed 11 unreferenced `.proot` wrapper templates, `gga/termux.patch`, `cline/helper/cline_helper.c` and `assets/banner/banner.txt`; restored 16 files deleted from the site worktree; `lint:shell` no longer depends on how the suite was invoked.
|
|
31
|
+
|
|
32
|
+
## 4.17.43
|
|
33
|
+
|
|
34
|
+
- Added `stats` to the bash and zsh completion catalogs.
|
|
35
|
+
|
|
36
|
+
## 4.17.42
|
|
37
|
+
|
|
38
|
+
- **Audit fixes:** `$module` vs `$target` in `reinstall` for full security/deploy reinstalls; games routed through the module layer for consistent headers and error handling; security module gained separator/box/log feedback; `ia.sh` hardcoded paths now respect `KARNEL_DATA`; the default `LOG_FILE` moved off `install_ai.log`; `upgrade` captures the cleanup exit code.
|
|
39
|
+
|
|
40
|
+
## 4.17.41
|
|
41
|
+
|
|
42
|
+
- Version references bumped to `4.17.41`.
|
|
43
|
+
|
|
44
|
+
## 4.17.40
|
|
45
|
+
|
|
46
|
+
- **Deduplication:** extracted `pkg-tool.sh` (14 security tools) and a `module-lifecycle.sh` factory (4 modules), converting deploy, games, network, utils and 14 pkg-only security installers to them — roughly 700 lines of duplicated boilerplate removed.
|
|
47
|
+
|
|
48
|
+
## 4.17.39
|
|
49
|
+
|
|
50
|
+
- **Plugins:** `karnel plugin enable|disable <name>` and `karnel plugin config <name> [key] [value]`; metadata tracks enabled state (default `true`) and a config object; disabled plugins are skipped by command collection and tagged in listings.
|
|
51
|
+
|
|
52
|
+
## 4.17.38
|
|
53
|
+
|
|
54
|
+
- **Installer consistency:** 129 `reinstall_*` functions now check the uninstall return code; 13 AI tools gained the Termux shebang repair they were missing.
|
|
55
|
+
|
|
56
|
+
## 4.17.37
|
|
57
|
+
|
|
58
|
+
- **Installer bugs:** nine utils tools logged to `install_dev.log` instead of `install_utils.log`; 14 security pkg uninstallers silently ignored failures; the opencode uninstall `sed` pattern mangled unrelated `.bashrc` lines.
|
|
59
|
+
|
|
60
|
+
## 4.17.36
|
|
61
|
+
|
|
62
|
+
- **Managed lifecycle:** netlify, vercel, masscan and metasploit installers preserve managed files, and `utils/env.sh` hardened the environment they run in.
|
|
63
|
+
|
|
64
|
+
## 4.17.35
|
|
65
|
+
|
|
66
|
+
- **Ownership hardening:** `update.sh` and the amass, burpsuite, ffuf, gobuster and subfinder installers refuse to touch installs Karnel does not own.
|
|
67
|
+
|
|
68
|
+
## 4.17.34
|
|
69
|
+
|
|
70
|
+
- **Auto mode:** added non-interactive `--auto` (`read_confirm` gained an auto answer, `agent_actions` participates) with matching completion entries and tests.
|
|
71
|
+
|
|
72
|
+
## 4.17.33
|
|
73
|
+
|
|
74
|
+
- **Supply chain:** hardened release downloads across installers.
|
|
75
|
+
|
|
76
|
+
## 4.17.32
|
|
77
|
+
|
|
78
|
+
- **Supply chain:** GitHub release asset digests are verified before install.
|
|
79
|
+
|
|
80
|
+
## 4.17.31
|
|
81
|
+
|
|
82
|
+
- **Docs:** README synchronized with the current AI catalog.
|
|
83
|
+
|
|
84
|
+
## 4.17.30
|
|
85
|
+
|
|
86
|
+
- **10Router:** repaired Termux shebangs on already-installed 10Router CLIs.
|
|
87
|
+
|
|
88
|
+
## 4.17.29
|
|
89
|
+
|
|
90
|
+
- **10Router:** added the 10Router AI server CLI to the AI catalog, registry and completions.
|
|
91
|
+
|
|
92
|
+
## 4.17.28
|
|
93
|
+
|
|
94
|
+
- **QR Code:** resolved launcher symlinks.
|
|
95
|
+
|
|
96
|
+
## 4.17.27
|
|
97
|
+
|
|
98
|
+
- **QR Code:** isolated dependency tests.
|
|
99
|
+
|
|
100
|
+
## 4.17.26
|
|
101
|
+
|
|
102
|
+
- **QR Code:** stabilized release validation.
|
|
103
|
+
|
|
104
|
+
## 4.17.25
|
|
105
|
+
|
|
106
|
+
- **QR Code:** covered installer dependencies in tests.
|
|
107
|
+
|
|
108
|
+
## 4.17.24
|
|
109
|
+
|
|
110
|
+
- **QR Code:** made QR code installation Termux-safe.
|
|
111
|
+
|
|
112
|
+
## 4.17.23
|
|
113
|
+
|
|
114
|
+
- **Tool installation:** repaired the Termux tool installation runtime across doctor, AI installers and the npm module.
|
|
115
|
+
|
|
9
116
|
## 4.17.22
|
|
10
117
|
|
|
11
118
|
- **Data safety and correctness (8):** restore rejects ambiguous multiple archives; Brain preserves same-day title collisions, uses file paths for AI context, initializes/pushes `main`, detects missing `origin`, and supports editors with arguments; PostgreSQL backup filenames are path-safe; AI-session persistence escapes JSON correctly.
|
package/docs/_layouts/base.html
CHANGED
|
@@ -9,7 +9,7 @@ layout: default
|
|
|
9
9
|
<a href="{{ '/troubleshooting/' | relative_url }}">Troubleshooting</a>
|
|
10
10
|
<a href="{{ '/ARCHITECTURE/' | relative_url }}">Architecture</a>
|
|
11
11
|
<a href="{{ '/CHANGELOG/' | relative_url }}">Changelog</a>
|
|
12
|
-
<a href="https://github.com/
|
|
12
|
+
<a href="https://github.com/karnel-termuxOFC/karnel-termux">GitHub</a>
|
|
13
13
|
</nav>
|
|
14
14
|
|
|
15
15
|
{{ content }}
|
package/docs/cli/index.md
CHANGED
|
@@ -349,7 +349,7 @@ karnel robin doctor --network
|
|
|
349
349
|
karnel robin purge-data --yes
|
|
350
350
|
```
|
|
351
351
|
|
|
352
|
-
See the [Robin reference](https://github.com/
|
|
352
|
+
See the [Robin reference](https://github.com/karnel-termuxOFC/karnel-termux/blob/main/karnel/tools/osint/robin/README.md) for detailed
|
|
353
353
|
lifecycle, data locations, and troubleshooting.
|
|
354
354
|
|
|
355
355
|
---
|
package/docs/index.md
CHANGED
|
@@ -37,11 +37,11 @@ Open its docs with `karnel open herdr`.
|
|
|
37
37
|
<a href="./cli/">CLI Commands — full reference for every <code>karnel</code> subcommand</a>
|
|
38
38
|
<a href="./doctor/">Doctor System — environment checks and the code-analysis engine</a>
|
|
39
39
|
<a href="./troubleshooting/">Troubleshooting — common issues and fixes</a>
|
|
40
|
-
<a href="https://github.com/
|
|
41
|
-
<a href="https://github.com/
|
|
42
|
-
<a href="https://github.com/
|
|
43
|
-
<a href="https://github.com/
|
|
44
|
-
<a href="https://github.com/
|
|
40
|
+
<a href="https://github.com/karnel-termuxOFC/karnel-termux/blob/main/karnel/tools/osint/robin/README.md">Robin OSINT — responsible use, lifecycle, data locations</a>
|
|
41
|
+
<a href="https://github.com/karnel-termuxOFC/karnel-termux/blob/main/karnel/tools/network/dark/README.md">Network Tools — dark, dedsec-network</a>
|
|
42
|
+
<a href="https://github.com/karnel-termuxOFC/karnel-termux/blob/main/karnel/tools/ai/keelcode/README.md">KeelCode — hosted coding-agent CLI</a>
|
|
43
|
+
<a href="https://github.com/karnel-termuxOFC/karnel-termux/blob/main/karnel/tools/utils/superfile/README.md">SuperFile — terminal file manager</a>
|
|
44
|
+
<a href="https://github.com/karnel-termuxOFC/karnel-termux/blob/main/karnel/tools/utils/fconv/README.md">Utility Scripts — fconv, notes, treex, and more</a>
|
|
45
45
|
<a href="./cli/#supabase--remote-project-helpers">Supabase CLI — remote-project helpers</a>
|
|
46
46
|
<a href="./CHANGELOG/">Changelog — version history and fixes</a>
|
|
47
47
|
</div>
|
package/docs/karnel/ai/index.md
CHANGED
|
@@ -12,6 +12,6 @@ AI coding agents and assistants (Claude Code, Codex, Cline, Goose, and many more
|
|
|
12
12
|
| `ai` | `--qwen-code`, `--gemini-cli`, `--claude-code`, `--mistral-vibe`, `--openclaude`, `--openclaw`, `--ollama`, `--codex`, `--opencode`, `--mimocode`, `--engram`, `--codegraph`, `--pi`, `--antigravity-cli`, `--minimax-cli`, `--gentle-ai`, `--gga`, `--hermes-agent`, `--kimi-code`, `--command-code`, `--codebuff`, `--freebuff`, `--kilocode-cli`, `--kiro`, `--crush`, `--cline`, `--odysseus`, `--kimchi-code`, `--omni-route`, `--ctx7`, `--openspec`, `--supercode-cli`, `--puter`, `--keelcode`, `--copilot-termux`, `--qoder`, `--ampcode`, `--cursor-cli`, `--oh-my-pi`, `--goose`, `--droid`, `--cactus`, `--cactus-needle`, `--walkie`, `--hugging-face` |
|
|
13
13
|
|
|
14
14
|
See the [CLI reference]({{ '/cli/' | relative_url }}#ai) for the full command list, or the
|
|
15
|
-
[source on GitHub](https://github.com/
|
|
15
|
+
[source on GitHub](https://github.com/karnel-termuxOFC/karnel-termux/tree/main/karnel/modules/ai.sh).
|
|
16
16
|
|
|
17
17
|
[← Back to docs]({{ '/' | relative_url }}) · [CLI reference]({{ '/cli/' | relative_url }})
|
|
@@ -12,6 +12,6 @@ Automation and workflow tooling (n8n).
|
|
|
12
12
|
| `auto` | `--n8n` |
|
|
13
13
|
|
|
14
14
|
See the [CLI reference]({{ '/cli/' | relative_url }}#auto) for the full command list, or the
|
|
15
|
-
[source on GitHub](https://github.com/
|
|
15
|
+
[source on GitHub](https://github.com/karnel-termuxOFC/karnel-termux/tree/main/karnel/modules/auto.sh).
|
|
16
16
|
|
|
17
17
|
[← Back to docs]({{ '/' | relative_url }}) · [CLI reference]({{ '/cli/' | relative_url }})
|
package/docs/karnel/db/index.md
CHANGED
|
@@ -12,6 +12,6 @@ Databases such as PostgreSQL, MongoDB, Redis and companions.
|
|
|
12
12
|
| `db` | `--postgresql`, `--mariadb`, `--sqlite`, `--mongodb`, `--redis` |
|
|
13
13
|
|
|
14
14
|
See the [CLI reference]({{ '/cli/' | relative_url }}#db) for the full command list, or the
|
|
15
|
-
[source on GitHub](https://github.com/
|
|
15
|
+
[source on GitHub](https://github.com/karnel-termuxOFC/karnel-termux/tree/main/karnel/modules/db.sh).
|
|
16
16
|
|
|
17
17
|
[← Back to docs]({{ '/' | relative_url }}) · [CLI reference]({{ '/cli/' | relative_url }})
|
|
@@ -12,6 +12,6 @@ Deploy CLIs (Railway, Netlify, Vercel, Supabase).
|
|
|
12
12
|
| `deploy` | `--vercel`, `--railway`, `--netlify`, `--supabase` |
|
|
13
13
|
|
|
14
14
|
See the [CLI reference]({{ '/cli/' | relative_url }}#deploy) for the full command list, or the
|
|
15
|
-
[source on GitHub](https://github.com/
|
|
15
|
+
[source on GitHub](https://github.com/karnel-termuxOFC/karnel-termux/tree/main/karnel/modules/deploy.sh).
|
|
16
16
|
|
|
17
17
|
[← Back to docs]({{ '/' | relative_url }}) · [CLI reference]({{ '/cli/' | relative_url }})
|
package/docs/karnel/dev/index.md
CHANGED
|
@@ -12,6 +12,6 @@ General development utilities (fzf, bat, make, proot, tmux, and more).
|
|
|
12
12
|
| `dev` | `--gh`, `--wget`, `--curl`, `--lsd`, `--bat`, `--proot`, `--ncurses`, `--tmate`, `--openssh`, `--tmux`, `--cloudflared`, `--translate`, `--html2text`, `--jq`, `--bc`, `--tree`, `--fzf`, `--imagemagick`, `--shfmt`, `--make`, `--udocker`, `--snyk` |
|
|
13
13
|
|
|
14
14
|
See the [CLI reference]({{ '/cli/' | relative_url }}#dev) for the full command list, or the
|
|
15
|
-
[source on GitHub](https://github.com/
|
|
15
|
+
[source on GitHub](https://github.com/karnel-termuxOFC/karnel-termux/tree/main/karnel/modules/dev.sh).
|
|
16
16
|
|
|
17
17
|
[← Back to docs]({{ '/' | relative_url }}) · [CLI reference]({{ '/cli/' | relative_url }})
|
|
@@ -12,6 +12,6 @@ Terminal and browser-based editors (code-server, Neovim, and more).
|
|
|
12
12
|
| `editor` | `--code-server`, `--neovim`, `--nvchad` |
|
|
13
13
|
|
|
14
14
|
See the [CLI reference]({{ '/cli/' | relative_url }}#editor) for the full command list, or the
|
|
15
|
-
[source on GitHub](https://github.com/
|
|
15
|
+
[source on GitHub](https://github.com/karnel-termuxOFC/karnel-termux/tree/main/karnel/modules/editor.sh).
|
|
16
16
|
|
|
17
17
|
[← Back to docs]({{ '/' | relative_url }}) · [CLI reference]({{ '/cli/' | relative_url }})
|
|
@@ -12,6 +12,6 @@ Terminal games to relax between sessions.
|
|
|
12
12
|
| `games` | `--buzz`, `--ctfgod`, `--detective`, `--pet-friends`, `--tamagotchi`, `--arcade` |
|
|
13
13
|
|
|
14
14
|
See the [CLI reference]({{ '/cli/' | relative_url }}#games) for the full command list, or the
|
|
15
|
-
[source on GitHub](https://github.com/
|
|
15
|
+
[source on GitHub](https://github.com/karnel-termuxOFC/karnel-termux/tree/main/karnel/modules/games.sh).
|
|
16
16
|
|
|
17
17
|
[← Back to docs]({{ '/' | relative_url }}) · [CLI reference]({{ '/cli/' | relative_url }})
|
|
@@ -12,6 +12,6 @@ Programming-language runtimes (Python, Node.js, Rust, Go, and more).
|
|
|
12
12
|
| `lang` | `--bun`, `--nodejs`, `--python`, `--perl`, `--php`, `--rust`, `--clang`, `--golang` |
|
|
13
13
|
|
|
14
14
|
See the [CLI reference]({{ '/cli/' | relative_url }}#lang) for the full command list, or the
|
|
15
|
-
[source on GitHub](https://github.com/
|
|
15
|
+
[source on GitHub](https://github.com/karnel-termuxOFC/karnel-termux/tree/main/karnel/modules/lang.sh).
|
|
16
16
|
|
|
17
17
|
[← Back to docs]({{ '/' | relative_url }}) · [CLI reference]({{ '/cli/' | relative_url }})
|
|
@@ -12,6 +12,6 @@ Network utilities (dark, dedsec-network).
|
|
|
12
12
|
| `network` | `--dark`, `--dedsec-network` |
|
|
13
13
|
|
|
14
14
|
See the [CLI reference]({{ '/cli/' | relative_url }}#network) for the full command list, or the
|
|
15
|
-
[source on GitHub](https://github.com/
|
|
15
|
+
[source on GitHub](https://github.com/karnel-termuxOFC/karnel-termux/tree/main/karnel/modules/network.sh).
|
|
16
16
|
|
|
17
17
|
[← Back to docs]({{ '/' | relative_url }}) · [CLI reference]({{ '/cli/' | relative_url }})
|
package/docs/karnel/npm/index.md
CHANGED
|
@@ -12,6 +12,6 @@ Node.js packages and JavaScript tooling.
|
|
|
12
12
|
| `npm` | `--typescript`, `--nestjs`, `--prettier`, `--live-server`, `--localtunnel`, `--vercel`, `--markserv`, `--psqlformat`, `--ncu`, `--ngrok`, `--turbopack` |
|
|
13
13
|
|
|
14
14
|
See the [CLI reference]({{ '/cli/' | relative_url }}#npm) for the full command list, or the
|
|
15
|
-
[source on GitHub](https://github.com/
|
|
15
|
+
[source on GitHub](https://github.com/karnel-termuxOFC/karnel-termux/tree/main/karnel/modules/npm.sh).
|
|
16
16
|
|
|
17
17
|
[← Back to docs]({{ '/' | relative_url }}) · [CLI reference]({{ '/cli/' | relative_url }})
|
|
@@ -12,6 +12,6 @@ OSINT tooling, centered on Robin.
|
|
|
12
12
|
| `osint` | Robin OSINT |
|
|
13
13
|
|
|
14
14
|
See the [CLI reference]({{ '/cli/' | relative_url }}#osint) for the full command list, or the
|
|
15
|
-
[source on GitHub](https://github.com/
|
|
15
|
+
[source on GitHub](https://github.com/karnel-termuxOFC/karnel-termux/tree/main/karnel/modules/osint.sh).
|
|
16
16
|
|
|
17
17
|
[← Back to docs]({{ '/' | relative_url }}) · [CLI reference]({{ '/cli/' | relative_url }})
|
|
@@ -12,6 +12,6 @@ The plugin system and manager.
|
|
|
12
12
|
| `plugin` | Plugin system |
|
|
13
13
|
|
|
14
14
|
See the [CLI reference]({{ '/cli/' | relative_url }}#plugin) for the full command list, or the
|
|
15
|
-
[source on GitHub](https://github.com/
|
|
15
|
+
[source on GitHub](https://github.com/karnel-termuxOFC/karnel-termux/tree/main/karnel/modules/plugin.sh).
|
|
16
16
|
|
|
17
17
|
[← Back to docs]({{ '/' | relative_url }}) · [CLI reference]({{ '/cli/' | relative_url }})
|
|
@@ -12,6 +12,6 @@ Security and pentest tooling (30 tools).
|
|
|
12
12
|
| `security` | Security tools |
|
|
13
13
|
|
|
14
14
|
See the [CLI reference]({{ '/cli/' | relative_url }}#security) for the full command list, or the
|
|
15
|
-
[source on GitHub](https://github.com/
|
|
15
|
+
[source on GitHub](https://github.com/karnel-termuxOFC/karnel-termux/tree/main/karnel/modules/security.sh).
|
|
16
16
|
|
|
17
17
|
[← Back to docs]({{ '/' | relative_url }}) · [CLI reference]({{ '/cli/' | relative_url }})
|
|
@@ -12,6 +12,6 @@ Shell enhancements (ZSH, Oh My Zsh, zoxide).
|
|
|
12
12
|
| `shell` | `--powerlevel10k`, `--zsh-defer`, `--zsh-autosuggestions`, `--zsh-syntax-highlighting`, `--history-substring`, `--zsh-completions`, `--fzf-tab`, `--you-should-use`, `--zsh-autopair`, `--better-npm` |
|
|
13
13
|
|
|
14
14
|
See the [CLI reference]({{ '/cli/' | relative_url }}#shell) for the full command list, or the
|
|
15
|
-
[source on GitHub](https://github.com/
|
|
15
|
+
[source on GitHub](https://github.com/karnel-termuxOFC/karnel-termux/tree/main/karnel/modules/shell.sh).
|
|
16
16
|
|
|
17
17
|
[← Back to docs]({{ '/' | relative_url }}) · [CLI reference]({{ '/cli/' | relative_url }})
|
package/docs/karnel/ui/index.md
CHANGED
|
@@ -12,6 +12,6 @@ Termux UI components.
|
|
|
12
12
|
| `ui` | `--font`, `--extra-keys`, `--cursor`, `--banner` |
|
|
13
13
|
|
|
14
14
|
See the [CLI reference]({{ '/cli/' | relative_url }}#ui) for the full command list, or the
|
|
15
|
-
[source on GitHub](https://github.com/
|
|
15
|
+
[source on GitHub](https://github.com/karnel-termuxOFC/karnel-termux/tree/main/karnel/modules/ui.sh).
|
|
16
16
|
|
|
17
17
|
[← Back to docs]({{ '/' | relative_url }}) · [CLI reference]({{ '/cli/' | relative_url }})
|
|
@@ -16,6 +16,6 @@ and tracked with Karnel ownership markers so `karnel uninstall utils --herdr` is
|
|
|
16
16
|
| `utils` | `--fconv`, `--filecheck`, `--websites`, `--notes`, `--treex`, `--passman`, `--applaunch`, `--splash`, `--httptmux`, `--zork`, `--qrcode`, `--superfile`, `--herdr` |
|
|
17
17
|
|
|
18
18
|
See the [CLI reference]({{ '/cli/' | relative_url }}#utils) for the full command list, or the
|
|
19
|
-
[source on GitHub](https://github.com/
|
|
19
|
+
[source on GitHub](https://github.com/karnel-termuxOFC/karnel-termux/tree/main/karnel/modules/utils.sh).
|
|
20
20
|
|
|
21
21
|
[← Back to docs]({{ '/' | relative_url }}) · [CLI reference]({{ '/cli/' | relative_url }})
|
|
@@ -12,6 +12,6 @@ Voice commands for AI agents.
|
|
|
12
12
|
| `voice` | Voice command |
|
|
13
13
|
|
|
14
14
|
See the [CLI reference]({{ '/cli/' | relative_url }}#voice) for the full command list, or the
|
|
15
|
-
[source on GitHub](https://github.com/
|
|
15
|
+
[source on GitHub](https://github.com/karnel-termuxOFC/karnel-termux/tree/main/karnel/modules/voice.sh).
|
|
16
16
|
|
|
17
17
|
[← Back to docs]({{ '/' | relative_url }}) · [CLI reference]({{ '/cli/' | relative_url }})
|
|
@@ -40,7 +40,7 @@ Create an npm **granular access token** with:
|
|
|
40
40
|
- **Permissions**: Automation (Bypass 2FA)
|
|
41
41
|
|
|
42
42
|
Save it as the `NPM_TOKEN` Actions secret in the
|
|
43
|
-
`
|
|
43
|
+
`karnel-termuxOFC/karnel-termux` repository. Never paste a token into
|
|
44
44
|
issues, chat, shell history, or screenshots. If a token is ever exposed,
|
|
45
45
|
revoke it immediately at https://www.npmjs.com/settings/<user>/tokens.
|
|
46
46
|
|
|
@@ -53,13 +53,13 @@ exists and the token used by GitHub Actions has write access.
|
|
|
53
53
|
|
|
54
54
|
## Documentation mirror (GitHub Pages)
|
|
55
55
|
|
|
56
|
-
The documentation
|
|
57
|
-
|
|
58
|
-
(`.github/workflows/docs.yml`)
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
`github-
|
|
62
|
-
|
|
56
|
+
The documentation source is the `docs/` directory, and the published site is
|
|
57
|
+
the Vercel production site, `https://karneltermux.vercel.app`. The `Publish Docs`
|
|
58
|
+
workflow (`.github/workflows/docs.yml`) runs `actions/jekyll-build-pages` on
|
|
59
|
+
every push to `main` that changes `docs/**`, uploads the result as a Pages
|
|
60
|
+
artifact and deploys it to the `github-pages` environment; that mirror,
|
|
61
|
+
`https://karnel-termuxOFC.github.io/karnel-termux/`, is served only
|
|
62
|
+
while GitHub Pages is enabled for the repository.
|
|
63
63
|
|
|
64
64
|
If a build fails, open the Actions run for the failing job and read the Jekyll
|
|
65
65
|
output: the usual causes are invalid `_config.yml` YAML, an SCSS compile error
|
package/install.sh
CHANGED
|
@@ -11,7 +11,7 @@ readonly P_FAIL='\e[1;31m'
|
|
|
11
11
|
readonly P_HL='\e[38;5;213m'
|
|
12
12
|
readonly P_NC='\e[0m'
|
|
13
13
|
|
|
14
|
-
REPO="https://github.com/
|
|
14
|
+
REPO="https://github.com/karnel-termuxOFC/karnel-termux"
|
|
15
15
|
BRANCH="main"
|
|
16
16
|
RELEASE_REF=""
|
|
17
17
|
INSTALL_SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
package/karnel/RELEASE_COMMIT
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
29fb2632bc7558b002e10d68272418bcb4450cb1
|
package/karnel/bin/karnel
CHANGED
|
@@ -36,7 +36,7 @@ set -- "${_karnel_args[@]}"
|
|
|
36
36
|
|
|
37
37
|
# Informational flags must not initialize user state or trigger update checks.
|
|
38
38
|
case "${1:-}" in
|
|
39
|
-
--help|-h|--version|help|version|list|show) KARNEL_READ_ONLY=1 ;;
|
|
39
|
+
--help|-h|--version|help|version|list|show|search|stats|status) KARNEL_READ_ONLY=1 ;;
|
|
40
40
|
esac
|
|
41
41
|
|
|
42
42
|
# cargar entorno
|
|
@@ -90,7 +90,7 @@ check_for_updates() {
|
|
|
90
90
|
fi
|
|
91
91
|
if ! _valid_semver "$remote_version"; then
|
|
92
92
|
remote_version=""
|
|
93
|
-
if remote_output=$(curl -fsSL --max-time 5 "https://raw.githubusercontent.com/
|
|
93
|
+
if remote_output=$(curl -fsSL --max-time 5 "https://raw.githubusercontent.com/karnel-termuxOFC/karnel-termux/main/package.json" 2>/dev/null); then
|
|
94
94
|
remote_version=$(printf '%s\n' "$remote_output" | sed -nE 's/^[[:space:]]*"version":[[:space:]]*"([^"]+)".*/\1/p' | head -1)
|
|
95
95
|
fi
|
|
96
96
|
fi
|
|
@@ -1122,7 +1122,7 @@ brain_skill() {
|
|
|
1122
1122
|
local skill_dir="$base_dir/$skill_name"
|
|
1123
1123
|
if [[ -d "$skill_dir" ]]; then
|
|
1124
1124
|
log_warn "Skill already exists: $skill_dir"
|
|
1125
|
-
read_confirm "Overwrite?" confirm
|
|
1125
|
+
read_confirm "Overwrite?" confirm n
|
|
1126
1126
|
[[ "$confirm" != "y" ]] && return 0
|
|
1127
1127
|
rm -rf "$skill_dir"
|
|
1128
1128
|
fi
|
|
@@ -1294,7 +1294,7 @@ brain_delete() {
|
|
|
1294
1294
|
title=$(_brain_title "$file")
|
|
1295
1295
|
echo
|
|
1296
1296
|
log_warn "Delete memory: ${D_CYAN}$title${D_NC}?"
|
|
1297
|
-
read_confirm "This cannot be undone" confirm
|
|
1297
|
+
read_confirm "This cannot be undone" confirm n
|
|
1298
1298
|
if [[ "$confirm" != "y" ]]; then
|
|
1299
1299
|
log_info "Cancelled"
|
|
1300
1300
|
return 0
|
|
@@ -1344,7 +1344,7 @@ brain_reset() {
|
|
|
1344
1344
|
list_item "Location: ${D_CYAN}$BRAIN_DIR${D_NC}"
|
|
1345
1345
|
echo
|
|
1346
1346
|
|
|
1347
|
-
read_confirm "Are you sure?" confirm
|
|
1347
|
+
read_confirm "Are you sure?" confirm n
|
|
1348
1348
|
if [[ "$confirm" != "y" ]]; then
|
|
1349
1349
|
log_info "Cancelled"
|
|
1350
1350
|
separator
|
|
@@ -63,7 +63,8 @@ cleanup_main() {
|
|
|
63
63
|
fi
|
|
64
64
|
|
|
65
65
|
# karnel banner cache (regenerate)
|
|
66
|
-
|
|
66
|
+
# The cache is keyed by terminal width (banner_cache.<cols>).
|
|
67
|
+
rm -f "$KARNEL_CACHE"/banner_cache* 2>/dev/null
|
|
67
68
|
rm -f "$KARNEL_CACHE/.last_tip_index" 2>/dev/null
|
|
68
69
|
|
|
69
70
|
echo
|
|
@@ -13,7 +13,7 @@ _init_lang_tools() {
|
|
|
13
13
|
LANG_TOOLS["JavaScript:npm_audit"]="npm audit|deps|npm audit --audit-level=high|||native"
|
|
14
14
|
LANG_TOOLS["JavaScript:vitest"]="vitest|test|npx --no-install vitest run|||native"
|
|
15
15
|
LANG_TOOLS["JavaScript:jest"]="jest|test|npx --no-install jest|||native"
|
|
16
|
-
LANG_TOOLS["JavaScript:markdownlint"]="markdownlint-cli2|docs|npx --no-install markdownlint-cli2 \"**/*.md\"
|
|
16
|
+
LANG_TOOLS["JavaScript:markdownlint"]="markdownlint-cli2|docs|npx --no-install markdownlint-cli2 \"**/*.md\"|npx --no-install markdownlint-cli2 --fix \"**/*.md\"|safe|native"
|
|
17
17
|
|
|
18
18
|
# TypeScript
|
|
19
19
|
LANG_TOOLS["TypeScript:tsc"]="tsc|type-check|npx --no-install tsc --noEmit|||native"
|
|
@@ -13,7 +13,9 @@ _fix_storage() {
|
|
|
13
13
|
_fix_mkdir() {
|
|
14
14
|
local rc=0
|
|
15
15
|
for dir in "$KARNEL_CONFIG" "$KARNEL_CACHE" "$KARNEL_DATA"; do
|
|
16
|
-
mkdir -p
|
|
16
|
+
mkdir -p -m 700 "$dir" 2>/dev/null &&
|
|
17
|
+
{ [[ -d "$dir" && ! -L "$dir" ]] && chmod 700 "$dir"; } ||
|
|
18
|
+
{ rc=1; log_warn "Failed to create $dir"; }
|
|
17
19
|
done
|
|
18
20
|
return $rc
|
|
19
21
|
}
|
|
@@ -120,27 +122,12 @@ _fix_symlinks() {
|
|
|
120
122
|
}
|
|
121
123
|
|
|
122
124
|
_fix_banner() {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
if [[ -z "$shell_config" ]]; then
|
|
130
|
-
shell_config="$HOME/.zshrc"
|
|
131
|
-
touch "$shell_config"
|
|
132
|
-
fi
|
|
133
|
-
local marker="# ===== Karnel Banner ====="
|
|
134
|
-
if ! grep -qF "$marker" "$shell_config" 2>/dev/null; then
|
|
135
|
-
cat >>"$shell_config" <<EOF
|
|
136
|
-
|
|
137
|
-
$marker
|
|
138
|
-
source "$KARNEL_UTILS/banner.sh"
|
|
139
|
-
render_banner
|
|
140
|
-
EOF
|
|
141
|
-
return 0
|
|
142
|
-
fi
|
|
143
|
-
return 0
|
|
125
|
+
# Always go through the canonical installer: it writes the full block with
|
|
126
|
+
# start *and* end markers (plus the zsh precmd hook), which is what the
|
|
127
|
+
# uninstall path expects. Hand-rolled blocks used to leave `render_banner`
|
|
128
|
+
# orphaned in .zshrc after an uninstall.
|
|
129
|
+
import "@/tools/ui/banner/install"
|
|
130
|
+
install_banner
|
|
144
131
|
}
|
|
145
132
|
|
|
146
133
|
_fix_ai_install() {
|