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.
Files changed (238) hide show
  1. package/README.md +14 -14
  2. package/docs/CHANGELOG.md +107 -0
  3. package/docs/_layouts/base.html +1 -1
  4. package/docs/cli/index.md +1 -1
  5. package/docs/index.md +5 -5
  6. package/docs/karnel/ai/index.md +1 -1
  7. package/docs/karnel/auto/index.md +1 -1
  8. package/docs/karnel/db/index.md +1 -1
  9. package/docs/karnel/deploy/index.md +1 -1
  10. package/docs/karnel/dev/index.md +1 -1
  11. package/docs/karnel/editor/index.md +1 -1
  12. package/docs/karnel/games/index.md +1 -1
  13. package/docs/karnel/lang/index.md +1 -1
  14. package/docs/karnel/network/index.md +1 -1
  15. package/docs/karnel/npm/index.md +1 -1
  16. package/docs/karnel/osint/index.md +1 -1
  17. package/docs/karnel/plugin/index.md +1 -1
  18. package/docs/karnel/security/index.md +1 -1
  19. package/docs/karnel/shell/index.md +1 -1
  20. package/docs/karnel/ui/index.md +1 -1
  21. package/docs/karnel/utils/index.md +1 -1
  22. package/docs/karnel/voice/index.md +1 -1
  23. package/docs/troubleshooting/index.md +8 -8
  24. package/install.sh +1 -1
  25. package/karnel/RELEASE_COMMIT +1 -1
  26. package/karnel/bin/karnel +2 -2
  27. package/karnel/cli/commands/agent.sh +1 -1
  28. package/karnel/cli/commands/brain.sh +3 -3
  29. package/karnel/cli/commands/cleanup.sh +2 -1
  30. package/karnel/cli/commands/doctor/code_langs.sh +1 -1
  31. package/karnel/cli/commands/doctor/fixes.sh +9 -22
  32. package/karnel/cli/commands/doctor.sh +18 -10
  33. package/karnel/cli/commands/env.sh +2 -2
  34. package/karnel/cli/commands/init.sh +10 -9
  35. package/karnel/cli/commands/install.sh +16 -9
  36. package/karnel/cli/commands/list.sh +15 -10
  37. package/karnel/cli/commands/open.sh +50 -15
  38. package/karnel/cli/commands/pg.sh +2 -2
  39. package/karnel/cli/commands/reinstall.sh +3 -3
  40. package/karnel/cli/commands/restore.sh +1 -1
  41. package/karnel/cli/commands/search.sh +47 -14
  42. package/karnel/cli/commands/stats.sh +70 -10
  43. package/karnel/cli/commands/uninstall.sh +7 -0
  44. package/karnel/cli/commands/update.sh +9 -8
  45. package/karnel/cli/karnel.sh +94 -131
  46. package/karnel/tools/ai/10router/install.sh +4 -3
  47. package/karnel/tools/ai/all.sh +4 -10
  48. package/karnel/tools/ai/ampcode/install.sh +3 -8
  49. package/karnel/tools/ai/antigravity-cli/README.md +1 -1
  50. package/karnel/tools/ai/antigravity-cli/install.sh +17 -202
  51. package/karnel/tools/ai/cactus-needle/README.md +1 -1
  52. package/karnel/tools/ai/cactus-needle/install.sh +15 -15
  53. package/karnel/tools/ai/claude-code/README.md +1 -1
  54. package/karnel/tools/ai/claude-code/install.sh +0 -1
  55. package/karnel/tools/ai/cline/install.sh +7 -6
  56. package/karnel/tools/ai/codebuff/README.md +1 -1
  57. package/karnel/tools/ai/codebuff/install.sh +3 -17
  58. package/karnel/tools/ai/codegraph/README.md +1 -1
  59. package/karnel/tools/ai/codex/README.md +1 -1
  60. package/karnel/tools/ai/codex/install.sh +4 -3
  61. package/karnel/tools/ai/command-code/README.md +1 -1
  62. package/karnel/tools/ai/command-code/install.sh +4 -3
  63. package/karnel/tools/ai/copilot-termux/install.sh +5 -4
  64. package/karnel/tools/ai/crush/install.sh +4 -3
  65. package/karnel/tools/ai/ctx7/install.sh +4 -3
  66. package/karnel/tools/ai/engram/README.md +1 -1
  67. package/karnel/tools/ai/freebuff/install.sh +5 -4
  68. package/karnel/tools/ai/gemini-cli/README.md +1 -1
  69. package/karnel/tools/ai/gemini-cli/install.sh +4 -3
  70. package/karnel/tools/ai/gga/README.md +1 -1
  71. package/karnel/tools/ai/hermes-agent/README.md +1 -1
  72. package/karnel/tools/ai/keelcode/install.sh +14 -8
  73. package/karnel/tools/ai/kilocode-cli/README.md +1 -1
  74. package/karnel/tools/ai/kimchi-code/README.md +1 -1
  75. package/karnel/tools/ai/kimi-code/README.md +1 -1
  76. package/karnel/tools/ai/kimi-code/install.sh +4 -3
  77. package/karnel/tools/ai/mimocode/README.md +1 -1
  78. package/karnel/tools/ai/mimocode/install.sh +3 -14
  79. package/karnel/tools/ai/minimax-cli/README.md +1 -1
  80. package/karnel/tools/ai/minimax-cli/install.sh +4 -3
  81. package/karnel/tools/ai/mistral-vibe/README.md +1 -1
  82. package/karnel/tools/ai/ollama/README.md +1 -1
  83. package/karnel/tools/ai/omni-route/README.md +1 -3
  84. package/karnel/tools/ai/omni-route/install.sh +3 -2
  85. package/karnel/tools/ai/openclaude/README.md +1 -1
  86. package/karnel/tools/ai/openclaude/install.sh +4 -3
  87. package/karnel/tools/ai/openclaw/README.md +1 -1
  88. package/karnel/tools/ai/openclaw/install.sh +5 -4
  89. package/karnel/tools/ai/opencode/README.md +1 -1
  90. package/karnel/tools/ai/opencode/install.sh +0 -1
  91. package/karnel/tools/ai/openspec/install.sh +4 -3
  92. package/karnel/tools/ai/pi/README.md +1 -1
  93. package/karnel/tools/ai/pi/install.sh +4 -3
  94. package/karnel/tools/ai/puter/install.sh +4 -3
  95. package/karnel/tools/ai/qwen-code/README.md +1 -1
  96. package/karnel/tools/ai/qwen-code/install.sh +4 -3
  97. package/karnel/tools/ai/supercode-cli/README.md +1 -1
  98. package/karnel/tools/ai/supercode-cli/install.sh +6 -5
  99. package/karnel/tools/ai/walkie/install.sh +6 -5
  100. package/karnel/tools/auto/n8n/README.md +1 -1
  101. package/karnel/tools/auto/n8n/install.sh +4 -3
  102. package/karnel/tools/db/mariadb/README.md +1 -1
  103. package/karnel/tools/db/mongodb/README.md +1 -1
  104. package/karnel/tools/db/postgresql/README.md +1 -1
  105. package/karnel/tools/db/redis/README.md +1 -1
  106. package/karnel/tools/db/sqlite/README.md +1 -1
  107. package/karnel/tools/deploy/netlify/install.sh +5 -4
  108. package/karnel/tools/deploy/railway/install.sh +4 -3
  109. package/karnel/tools/deploy/vercel/install.sh +4 -3
  110. package/karnel/tools/dev/bat/README.md +1 -1
  111. package/karnel/tools/dev/bc/README.md +1 -1
  112. package/karnel/tools/dev/cloudflared/README.md +1 -1
  113. package/karnel/tools/dev/curl/README.md +1 -1
  114. package/karnel/tools/dev/fzf/README.md +1 -1
  115. package/karnel/tools/dev/gh/README.md +1 -1
  116. package/karnel/tools/dev/html2text/README.md +1 -1
  117. package/karnel/tools/dev/imagemagick/README.md +1 -1
  118. package/karnel/tools/dev/jq/README.md +1 -1
  119. package/karnel/tools/dev/lsd/README.md +1 -1
  120. package/karnel/tools/dev/make/README.md +1 -1
  121. package/karnel/tools/dev/ncurses/README.md +1 -1
  122. package/karnel/tools/dev/openssh/README.md +1 -1
  123. package/karnel/tools/dev/proot/README.md +1 -1
  124. package/karnel/tools/dev/shfmt/README.md +1 -1
  125. package/karnel/tools/dev/snyk/install.sh +4 -3
  126. package/karnel/tools/dev/tmate/README.md +2 -2
  127. package/karnel/tools/dev/tmux/README.md +1 -1
  128. package/karnel/tools/dev/translate/README.md +1 -1
  129. package/karnel/tools/dev/tree/README.md +1 -1
  130. package/karnel/tools/dev/udocker/README.md +1 -1
  131. package/karnel/tools/dev/wget/README.md +1 -1
  132. package/karnel/tools/editor/neovim/README.md +1 -1
  133. package/karnel/tools/editor/nvchad/README.md +1 -1
  134. package/karnel/tools/lang/clang/README.md +1 -1
  135. package/karnel/tools/lang/golang/README.md +1 -1
  136. package/karnel/tools/lang/nodejs/README.md +1 -1
  137. package/karnel/tools/lang/perl/README.md +1 -1
  138. package/karnel/tools/lang/php/README.md +1 -1
  139. package/karnel/tools/lang/python/README.md +1 -1
  140. package/karnel/tools/lang/rust/README.md +1 -1
  141. package/karnel/tools/network/dark/README.md +1 -1
  142. package/karnel/tools/network/dark/install.sh +2 -1
  143. package/karnel/tools/network/dedsec-network/README.md +1 -1
  144. package/karnel/tools/network/dedsec-network/install.sh +2 -1
  145. package/karnel/tools/npm/live-server/README.md +1 -1
  146. package/karnel/tools/npm/live-server/install.sh +4 -3
  147. package/karnel/tools/npm/localtunnel/README.md +1 -1
  148. package/karnel/tools/npm/localtunnel/install.sh +4 -3
  149. package/karnel/tools/npm/markserv/README.md +1 -1
  150. package/karnel/tools/npm/markserv/install.sh +4 -3
  151. package/karnel/tools/npm/ncu/README.md +1 -1
  152. package/karnel/tools/npm/ncu/install.sh +4 -3
  153. package/karnel/tools/npm/nestjs/README.md +1 -1
  154. package/karnel/tools/npm/nestjs/install.sh +4 -3
  155. package/karnel/tools/npm/ngrok/README.md +1 -1
  156. package/karnel/tools/npm/ngrok/install.sh +4 -3
  157. package/karnel/tools/npm/prettier/README.md +1 -1
  158. package/karnel/tools/npm/prettier/install.sh +4 -3
  159. package/karnel/tools/npm/psqlformat/README.md +1 -1
  160. package/karnel/tools/npm/psqlformat/install.sh +4 -3
  161. package/karnel/tools/npm/turbopack/README.md +37 -5
  162. package/karnel/tools/npm/turbopack/bin/next-turbopack +1 -1
  163. package/karnel/tools/npm/turbopack/bin/node-glibc.sh +1 -1
  164. package/karnel/tools/npm/typescript/README.md +1 -1
  165. package/karnel/tools/npm/typescript/install.sh +4 -3
  166. package/karnel/tools/npm/vercel/README.md +1 -1
  167. package/karnel/tools/npm/vercel/install.sh +4 -3
  168. package/karnel/tools/plugins/install.sh +2 -2
  169. package/karnel/tools/security/aircrack-ng/install.sh +19 -8
  170. package/karnel/tools/security/binwalk/install.sh +16 -6
  171. package/karnel/tools/security/dirb/install.sh +16 -6
  172. package/karnel/tools/security/exiftool/install.sh +16 -6
  173. package/karnel/tools/security/foremost/install.sh +16 -6
  174. package/karnel/tools/security/hashcat/install.sh +16 -6
  175. package/karnel/tools/security/hydra/install.sh +16 -6
  176. package/karnel/tools/security/john/install.sh +16 -6
  177. package/karnel/tools/security/netcat/install.sh +19 -8
  178. package/karnel/tools/security/nmap/install.sh +16 -6
  179. package/karnel/tools/security/smbclient/install.sh +16 -6
  180. package/karnel/tools/security/steghide/install.sh +16 -6
  181. package/karnel/tools/security/tcpdump/install.sh +16 -6
  182. package/karnel/tools/security/template.sh +39 -18
  183. package/karnel/tools/security/wafw00f/install.sh +3 -1
  184. package/karnel/tools/security/whois/install.sh +16 -6
  185. package/karnel/tools/security/wpscan/install.sh +3 -1
  186. package/karnel/tools/shell/better-npm/README.md +1 -1
  187. package/karnel/tools/shell/fzf-tab/README.md +1 -1
  188. package/karnel/tools/shell/history-substring/README.md +1 -1
  189. package/karnel/tools/shell/powerlevel10k/README.md +1 -1
  190. package/karnel/tools/shell/you-should-use/README.md +1 -1
  191. package/karnel/tools/shell/zsh-autopair/README.md +1 -1
  192. package/karnel/tools/shell/zsh-autosuggestions/README.md +1 -1
  193. package/karnel/tools/shell/zsh-completions/README.md +1 -1
  194. package/karnel/tools/shell/zsh-defer/README.md +1 -1
  195. package/karnel/tools/shell/zsh-syntax-highlighting/README.md +1 -1
  196. package/karnel/tools/ui/banner/README.md +1 -1
  197. package/karnel/tools/ui/banner/install.sh +9 -0
  198. package/karnel/tools/ui/cursor/README.md +1 -1
  199. package/karnel/tools/ui/extra-keys/README.md +1 -1
  200. package/karnel/tools/ui/font/README.md +1 -1
  201. package/karnel/tools/utils/applaunch/README.md +1 -1
  202. package/karnel/tools/utils/fconv/README.md +1 -1
  203. package/karnel/tools/utils/filecheck/README.md +1 -1
  204. package/karnel/tools/utils/httptmux/README.md +1 -1
  205. package/karnel/tools/utils/httptmux/install.sh +4 -3
  206. package/karnel/tools/utils/notes/README.md +1 -1
  207. package/karnel/tools/utils/passman/README.md +1 -1
  208. package/karnel/tools/utils/qrcode/README.md +1 -1
  209. package/karnel/tools/utils/qrcode/install.sh +2 -1
  210. package/karnel/tools/utils/splash/README.md +1 -1
  211. package/karnel/tools/utils/treex/README.md +1 -1
  212. package/karnel/tools/utils/websites/README.md +1 -1
  213. package/karnel/tools/utils/zork/README.md +1 -1
  214. package/karnel/tools/utils/zork/install.sh +18 -7
  215. package/karnel/tools/utils/zork/zork.sh +1 -1
  216. package/karnel/utils/agent_actions.sh +9 -5
  217. package/karnel/utils/banner.sh +128 -35
  218. package/karnel/utils/env.sh +5 -3
  219. package/karnel/utils/log.sh +15 -5
  220. package/karnel/utils/npm.sh +95 -0
  221. package/karnel/utils/tools.sh +165 -13
  222. package/karnel/utils/version.sh +10 -8
  223. package/package.json +4 -3
  224. package/scripts/check-package.js +71 -1
  225. package/scripts/publish.js +49 -0
  226. package/karnel/tools/ai/ampcode/bin/amp.proot +0 -22
  227. package/karnel/tools/ai/antigravity-cli/bin/agy.proot +0 -22
  228. package/karnel/tools/ai/claude-code/bin/claude.proot +0 -22
  229. package/karnel/tools/ai/cline/bin/cline.proot +0 -28
  230. package/karnel/tools/ai/cline/helper/cline_helper.c +0 -54
  231. package/karnel/tools/ai/cursor-cli/bin/cursor.proot +0 -33
  232. package/karnel/tools/ai/gga/termux.patch +0 -70
  233. package/karnel/tools/ai/keelcode/bin/keelcode.proot +0 -23
  234. package/karnel/tools/ai/kilocode-cli/bin/kilocode.proot +0 -22
  235. package/karnel/tools/ai/mimocode/bin/mimo.proot +0 -22
  236. package/karnel/tools/ai/oh-my-pi/bin/omp.proot +0 -22
  237. package/karnel/tools/ai/opencode/bin/opencode.proot +0 -22
  238. 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/israelmarques1024-dotcom/karnel-termux/main/assets/images/karnel-logo.png" alt="Karnel Termux Logo" width="400">
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/israelmarques1024-dotcom/karnel-termux">
11
- <img src="https://img.shields.io/badge/version-4.17.43-0078D4?style=for-the-badge" alt="Version">
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/israelmarques1024-dotcom/karnel-termux/blob/main/LICENSE">
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.43
81
+ version=4.17.45
82
82
  tmpdir=$(mktemp -d) && trap 'rm -rf "$tmpdir"' EXIT
83
- base="https://github.com/israelmarques1024-dotcom/karnel-termux/releases/download/v$version"
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/israelmarques1024-dotcom/karnel-plugins)
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/israelmarques1024-dotcom/karnel-termux/blob/main/docs/doctor/index.md)** for modes,
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/israelmarques1024-dotcom/karnel-termux/blob/main/docs/index.md)
569
- - [CLI reference](https://github.com/israelmarques1024-dotcom/karnel-termux/blob/main/docs/cli/index.md)
570
- - [Doctor reference](https://github.com/israelmarques1024-dotcom/karnel-termux/blob/main/docs/doctor/index.md)
571
- - [Troubleshooting](https://github.com/israelmarques1024-dotcom/karnel-termux/blob/main/docs/troubleshooting/index.md)
572
- - [Architecture](https://github.com/israelmarques1024-dotcom/karnel-termux/blob/main/docs/ARCHITECTURE/index.md)
573
- - [Documentation changelog](https://github.com/israelmarques1024-dotcom/karnel-termux/blob/main/docs/CHANGELOG.md)
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.
@@ -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/israelmarques1024-dotcom/karnel-termux">GitHub</a>
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/israelmarques1024-dotcom/karnel-termux/blob/main/karnel/tools/osint/robin/README.md) for detailed
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/israelmarques1024-dotcom/karnel-termux/blob/main/karnel/tools/osint/robin/README.md">Robin OSINT — responsible use, lifecycle, data locations</a>
41
- <a href="https://github.com/israelmarques1024-dotcom/karnel-termux/blob/main/karnel/tools/network/dark/README.md">Network Tools — dark, dedsec-network</a>
42
- <a href="https://github.com/israelmarques1024-dotcom/karnel-termux/blob/main/karnel/tools/ai/keelcode/README.md">KeelCode — hosted coding-agent CLI</a>
43
- <a href="https://github.com/israelmarques1024-dotcom/karnel-termux/blob/main/karnel/tools/utils/superfile/README.md">SuperFile — terminal file manager</a>
44
- <a href="https://github.com/israelmarques1024-dotcom/karnel-termux/blob/main/karnel/tools/utils/fconv/README.md">Utility Scripts — fconv, notes, treex, and more</a>
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>
@@ -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/israelmarques1024-dotcom/karnel-termux/tree/main/karnel/modules/ai.sh).
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/israelmarques1024-dotcom/karnel-termux/tree/main/karnel/modules/auto.sh).
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 }})
@@ -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/israelmarques1024-dotcom/karnel-termux/tree/main/karnel/modules/db.sh).
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/israelmarques1024-dotcom/karnel-termux/tree/main/karnel/modules/deploy.sh).
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 }})
@@ -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/israelmarques1024-dotcom/karnel-termux/tree/main/karnel/modules/dev.sh).
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/israelmarques1024-dotcom/karnel-termux/tree/main/karnel/modules/editor.sh).
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/israelmarques1024-dotcom/karnel-termux/tree/main/karnel/modules/games.sh).
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/israelmarques1024-dotcom/karnel-termux/tree/main/karnel/modules/lang.sh).
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/israelmarques1024-dotcom/karnel-termux/tree/main/karnel/modules/network.sh).
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 }})
@@ -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/israelmarques1024-dotcom/karnel-termux/tree/main/karnel/modules/npm.sh).
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/israelmarques1024-dotcom/karnel-termux/tree/main/karnel/modules/osint.sh).
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/israelmarques1024-dotcom/karnel-termux/tree/main/karnel/modules/plugin.sh).
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/israelmarques1024-dotcom/karnel-termux/tree/main/karnel/modules/security.sh).
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/israelmarques1024-dotcom/karnel-termux/tree/main/karnel/modules/shell.sh).
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 }})
@@ -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/israelmarques1024-dotcom/karnel-termux/tree/main/karnel/modules/ui.sh).
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/israelmarques1024-dotcom/karnel-termux/tree/main/karnel/modules/utils.sh).
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/israelmarques1024-dotcom/karnel-termux/tree/main/karnel/modules/voice.sh).
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
- `israelmarques1024-dotcom/karnel-termux` repository. Never paste a token into
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 mirror is a Jekyll (cayman theme) site built from the `docs/`
57
- directory and published to GitHub Pages by the `Publish Docs` workflow
58
- (`.github/workflows/docs.yml`) on every push to `main` that changes `docs/**`.
59
- The workflow runs `actions/jekyll-build-pages` (from `docs/`, output to
60
- `docs/_site`), uploads the result as a Pages artifact, and deploys it to the
61
- `github-pages` environment. The mirror is
62
- `https://israelmarques1024-dotcom.github.io/karnel-termux/`.
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/israelmarques1024-dotcom/karnel-termux"
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)"
@@ -1 +1 @@
1
- 3b64b17a6f9d7a93bcbfbcd7f0c86e858cd5195d
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/israelmarques1024-dotcom/karnel-termux/main/package.json" 2>/dev/null); then
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
@@ -115,7 +115,7 @@ agent_main() {
115
115
  log_error "Unknown subcommand: ${D_CYAN}$cmd${D_NC}"
116
116
  echo
117
117
  agent_help
118
- exit 1
118
+ return 1
119
119
  ;;
120
120
  esac
121
121
  }
@@ -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
- rm -f "$KARNEL_CACHE/banner_cache" 2>/dev/null
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\" --no-missiglob|npx --no-install markdownlint-cli2 --fix \"**/*.md\"|safe|native"
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 "$dir" && chmod 755 "$dir" 2>/dev/null || { rc=1; log_warn "Failed to create $dir"; }
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
- local shell_config=""
124
- if [[ -f "$HOME/.zshrc" ]]; then
125
- shell_config="$HOME/.zshrc"
126
- elif [[ -f "$HOME/.bashrc" ]]; then
127
- shell_config="$HOME/.bashrc"
128
- fi
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() {