karnel-termux 4.13.9 → 4.13.11

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 (119) hide show
  1. package/README.md +6 -2
  2. package/docs/ARCHITECTURE.md +131 -0
  3. package/docs/CHANGELOG.md +194 -0
  4. package/docs/README.md +31 -0
  5. package/docs/cli/README.md +788 -0
  6. package/docs/doctor/README.md +243 -0
  7. package/docs/troubleshooting.md +69 -0
  8. package/install.sh +8 -2
  9. package/karnel/bin/karnel +1 -1
  10. package/karnel/cli/commands/doctor.sh +1 -1
  11. package/karnel/cli/commands/install.sh +4 -4
  12. package/karnel/cli/commands/list.sh +29 -14
  13. package/karnel/cli/commands/open.sh +4 -0
  14. package/karnel/cli/commands/supabase.sh +1 -1
  15. package/karnel/cli/karnel.sh +7 -5
  16. package/karnel/modules/ai.sh +0 -15
  17. package/karnel/modules/auto.sh +0 -4
  18. package/karnel/modules/db.sh +0 -4
  19. package/karnel/modules/deploy.sh +0 -4
  20. package/karnel/modules/dev.sh +0 -4
  21. package/karnel/modules/editor.sh +0 -4
  22. package/karnel/modules/games.sh +0 -4
  23. package/karnel/modules/lang.sh +0 -4
  24. package/karnel/modules/network.sh +0 -4
  25. package/karnel/modules/npm.sh +0 -4
  26. package/karnel/modules/osint.sh +0 -4
  27. package/karnel/modules/shell.sh +3 -5
  28. package/karnel/modules/ui.sh +0 -4
  29. package/karnel/modules/utils.sh +0 -4
  30. package/karnel/tools/ai/all.sh +0 -12
  31. package/karnel/tools/ai/antigravity-cli/install.sh +5 -3
  32. package/karnel/tools/ai/claude-code/README.md +2 -3
  33. package/karnel/tools/ai/claude-code/install.sh +3 -3
  34. package/karnel/tools/ai/codegraph/install.sh +36 -8
  35. package/karnel/tools/ai/command-code/install.sh +33 -4
  36. package/karnel/tools/ai/cursor-cli/install.sh +49 -5
  37. package/karnel/tools/ai/droid/README.md +2 -1
  38. package/karnel/tools/ai/droid/install.sh +9 -45
  39. package/karnel/tools/ai/gga/README.md +0 -1
  40. package/karnel/tools/ai/goose/install.sh +30 -14
  41. package/karnel/tools/ai/hermes-agent/README.md +1 -1
  42. package/karnel/tools/ai/keelcode/README.md +15 -0
  43. package/karnel/tools/ai/keelcode/install.sh +50 -5
  44. package/karnel/tools/ai/kilocode-cli/install.sh +71 -25
  45. package/karnel/tools/ai/kiro/install.sh +16 -6
  46. package/karnel/tools/ai/mimocode/install.sh +5 -3
  47. package/karnel/tools/ai/odysseus/install.sh +98 -25
  48. package/karnel/tools/ai/oh-my-pi/install.sh +45 -17
  49. package/karnel/tools/ai/omni-route/README.md +5 -7
  50. package/karnel/tools/ai/omni-route/install.sh +39 -23
  51. package/karnel/tools/ai/opencode/README.md +4 -5
  52. package/karnel/tools/ai/opencode/install.sh +3 -3
  53. package/karnel/tools/ai/puter/install.sh +13 -20
  54. package/karnel/tools/ai/qoder/README.md +0 -1
  55. package/karnel/tools/deploy/netlify/install.sh +18 -2
  56. package/karnel/tools/deploy/railway/install.sh +109 -15
  57. package/karnel/tools/editor/code-server/install.sh +7 -3
  58. package/karnel/tools/editor/nvchad/install.sh +7 -3
  59. package/karnel/tools/games/arcade/install.sh +8 -15
  60. package/karnel/tools/games/buzz/install.sh +8 -16
  61. package/karnel/tools/games/ctfgod/install.sh +8 -15
  62. package/karnel/tools/games/detective/install.sh +8 -15
  63. package/karnel/tools/games/pet-friends/install.sh +8 -15
  64. package/karnel/tools/games/tamagotchi/install.sh +8 -15
  65. package/karnel/tools/lang/bun/install.sh +111 -31
  66. package/karnel/tools/network/dark/install.sh +8 -15
  67. package/karnel/tools/network/dedsec-network/install.sh +8 -15
  68. package/karnel/tools/npm/markserv/README.md +1 -2
  69. package/karnel/tools/npm/psqlformat/README.md +1 -2
  70. package/karnel/tools/npm/turbopack/README.md +1 -1
  71. package/karnel/tools/npm/turbopack/bin/next-turbopack +2 -2
  72. package/karnel/tools/npm/turbopack/bin/node-glibc.sh +1 -1
  73. package/karnel/tools/npm/turbopack/bin/precheck-native.js +0 -1
  74. package/karnel/tools/npm/turbopack/install.sh +92 -31
  75. package/karnel/tools/plugins/install.sh +18 -1
  76. package/karnel/tools/security/amass/install.sh +24 -13
  77. package/karnel/tools/security/burpsuite/install.sh +5 -2
  78. package/karnel/tools/security/dnsrecon/install.sh +5 -2
  79. package/karnel/tools/security/enum4linux/install.sh +5 -2
  80. package/karnel/tools/security/ffuf/install.sh +23 -9
  81. package/karnel/tools/security/gobuster/install.sh +22 -11
  82. package/karnel/tools/security/masscan/install.sh +13 -7
  83. package/karnel/tools/security/metasploit/install.sh +9 -5
  84. package/karnel/tools/security/nikto/install.sh +5 -2
  85. package/karnel/tools/security/sqlmap/install.sh +5 -2
  86. package/karnel/tools/security/subfinder/install.sh +23 -9
  87. package/karnel/tools/security/theharvester/install.sh +5 -2
  88. package/karnel/tools/security/whatweb/install.sh +5 -2
  89. package/karnel/tools/security/zap/install.sh +41 -22
  90. package/karnel/tools/ui/banner/README.md +1 -2
  91. package/karnel/tools/ui/banner/install.sh +24 -16
  92. package/karnel/tools/ui/cursor/install.sh +14 -5
  93. package/karnel/tools/ui/extra-keys/README.md +1 -2
  94. package/karnel/tools/ui/extra-keys/install.sh +14 -5
  95. package/karnel/tools/ui/font/install.sh +12 -3
  96. package/karnel/tools/utils/applaunch/install.sh +7 -14
  97. package/karnel/tools/utils/fconv/install.sh +7 -15
  98. package/karnel/tools/utils/filecheck/install.sh +7 -15
  99. package/karnel/tools/utils/notes/install.sh +7 -15
  100. package/karnel/tools/utils/passman/install.sh +7 -15
  101. package/karnel/tools/utils/qrcode/install.sh +7 -15
  102. package/karnel/tools/utils/splash/install.sh +7 -15
  103. package/karnel/tools/utils/superfile/install.sh +41 -13
  104. package/karnel/tools/utils/treex/install.sh +7 -15
  105. package/karnel/tools/utils/websites/install.sh +7 -15
  106. package/karnel/tools/utils/zork/install.sh +55 -13
  107. package/karnel/utils/downloaded-python.sh +50 -0
  108. package/karnel/utils/log.sh +0 -143
  109. package/karnel/utils/uninstall.sh +10 -0
  110. package/package.json +2 -1
  111. package/scripts/npm-install.js +5 -3
  112. package/karnel/tools/games/arcade/arcade.py +0 -193
  113. package/karnel/tools/games/buzz/buzz.py +0 -1264
  114. package/karnel/tools/games/ctfgod/ctfgod.py +0 -1576
  115. package/karnel/tools/games/detective/detective.py +0 -2091
  116. package/karnel/tools/games/pet-friends/pet-friends.py +0 -42677
  117. package/karnel/tools/games/tamagotchi/tamagotchi.py +0 -1224
  118. package/karnel/tools/network/dark/dark.py +0 -709
  119. package/karnel/tools/network/dedsec-network/dedsec-network.py +0 -709
package/README.md CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  <p align="center">
10
10
  <a href="https://github.com/israelmarques1024-dotcom/karnel-termux">
11
- <img src="https://img.shields.io/badge/version-4.13.9-0078D4?style=for-the-badge" alt="Version">
11
+ <img src="https://img.shields.io/badge/version-4.13.11-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">
@@ -166,6 +166,10 @@ user's permissions. They are not sandboxed. Registry plugins have reviewed
166
166
  metadata and are staged, validated, and atomically activated, but you should
167
167
  still review code you do not trust.
168
168
 
169
+ Each Karnel release pins and verifies one reviewed registry snapshot. New
170
+ registry entries become available after updating Karnel to a release that
171
+ includes that snapshot.
172
+
169
173
  Installing an arbitrary GitHub repository requires both `--unsafe` and an
170
174
  interactive confirmation:
171
175
 
@@ -304,7 +308,7 @@ karnel install ai --opencode --ollama # Install specific agents
304
308
  | **Cursor CLI** | `--cursor-cli` | Official Cursor AI agent adapted for Termux (glibc) |
305
309
  | **Oh-My-Pi** | `--oh-my-pi` | Enhanced Pi agent with native Rust addons |
306
310
  | **Goose CLI** | `--goose` | AI agent framework by Block (native Termux musl) |
307
- | **Factory Droid** | `--droid` | Enterprise AI agent (via proot-distro Ubuntu) |
311
+ | **Factory Droid** | `--droid` | Enterprise AI agent (Ubuntu proot-distro with pinned npm package) |
308
312
  | **Supercode CLI** | `--supercode-cli` | Supercode CLI — official npm package |
309
313
  | **Puter CLI** | `--puter` | Puter CLI for sites and workers |
310
314
  | **KeelCode** | `--keelcode` | Hosted coding-agent CLI |
@@ -0,0 +1,131 @@
1
+ # Karnel Architecture
2
+
3
+ ## Project Structure
4
+
5
+ ```
6
+ karnel-termux/
7
+ ├── karnel/
8
+ │ ├── bin/karnel # Entry point (bash script, in PATH)
9
+ │ ├── cli/
10
+ │ │ ├── karnel.sh # Main CLI dispatcher (TUI + command routing)
11
+ │ │ └── commands/ # Each subcommand is a separate file
12
+ │ │ ├── help.sh
13
+ │ │ ├── install.sh
14
+ │ │ ├── doctor.sh # Doctor command + inline checks
15
+ │ │ ├── doctor/ # Doctor code subsystem (4 modules)
16
+ │ │ ├── brain.sh
17
+ │ │ ├── env.sh
18
+ │ │ ├── pg.sh
19
+ │ │ ├── voice.sh
20
+ │ │ ├── init.sh
21
+ │ │ ├── deploy.sh
22
+ │ │ ├── ... (27 .sh files + doctor/ subdir)
23
+ │ ├── modules/ # Module orchestrators
24
+ │ │ ├── ai.sh # AI agent installer
25
+ │ │ ├── lang.sh # Language installer
26
+ │ │ ├── db.sh # Database installer
27
+ │ │ ├── dev.sh # Dev tools installer
28
+ │ │ └── ...
29
+ │ ├── tools/ # Individual tool installers
30
+ │ │ ├── ai/ # 41 AI agents
31
+ │ │ ├── lang/ # 8 languages
32
+ │ │ ├── db/ # 5 databases
33
+ │ │ ├── dev/ # 22 dev tools
34
+ │ │ ├── editor/ # Code editor
35
+ │ │ ├── npm/ # Global npm packages
36
+ │ │ ├── shell/ # ZSH plugins
37
+ │ │ ├── ui/ # Termux UI
38
+ │ │ ├── auto/ # Automation
39
+ │ │ ├── deploy/ # Deploy CLIs
40
+ │ │ ├── network/ # 2 network tools (dark, dedsec-network)
41
+ │ │ ├── utils/ # 12 utility tools (fconv, notes, zork, SuperFile, etc.)
42
+ │ │ └── osint/ # Robin OSINT integration
43
+ │ └── utils/ # Shared utilities
44
+ │ ├── bootstrap.sh # Import mechanism, shell detection
45
+ │ ├── banner.sh # ASCII banners
46
+ │ ├── colors.sh # ANSI color definitions
47
+ │ ├── log.sh # Logging (info, warn, error, success, box)
48
+ │ ├── env.sh # Environment configuration (XDG paths, UI opts)
49
+ │ └── version.sh # Version comparison utilities
50
+ ├── install.sh # Bootstrap installer
51
+ ├── package.json # npm publishing
52
+ ├── scripts/npm-install.js # postinstall hook
53
+ ├── assets/ # Images, logos
54
+ ├── tests/ # Test scripts
55
+ └── docs/ # Documentation
56
+ ```
57
+
58
+ ## Import Mechanism
59
+
60
+ Karnel uses a custom `import()` function instead of `source`:
61
+
62
+ ```bash
63
+ import() {
64
+ local base="${KARNEL_PATH}"
65
+ local resolved="${1/@/$base}.sh"
66
+ local canonical
67
+ canonical="$(realpath "$resolved" 2>/dev/null || readlink -f "$resolved" 2>/dev/null || echo "$resolved")"
68
+ if [[ "$canonical" != "$base"/* ]] || [[ "$canonical" == *".."* ]]; then
69
+ echo "karnel: import error: path traversal denied: $1" >&2
70
+ return 1
71
+ fi
72
+ if [[ ! -f "$canonical" ]]; then
73
+ echo "karnel: import error: $canonical not found" >&2
74
+ return 1
75
+ fi
76
+ source "$canonical"
77
+ }
78
+
79
+ # Usage:
80
+ import "@/utils/log"
81
+ import "@/cli/commands/doctor/code"
82
+ ```
83
+
84
+ The `@` symbol is replaced with `$KARNEL_PATH`. This avoids hardcoded paths.
85
+
86
+ ### Critical Scope Implication
87
+
88
+ Because `import()` calls `source` from within a function, any `declare` statement
89
+ at the top level of a sourced file creates a **local** variable scoped to `import()`,
90
+ not a global. This is a common source of bugs.
91
+
92
+ **Rules:**
93
+ - `declare -A` at top level → **local** to `import()` ❌
94
+ - `declare -gA` inside a function → **global** ✅
95
+ - `VAR=value` updates the nearest dynamically scoped variable
96
+ - `local var` inside a function → **local** ✅
97
+
98
+ Persistent imported state should use `declare -g` explicitly rather than relying
99
+ on the caller's dynamic scope.
100
+
101
+ ## Module System
102
+
103
+ Each module (`lang`, `db`, `ai`, `dev`, etc.) has:
104
+
105
+ 1. A **module orchestrator** in `karnel/modules/<name>.sh` — handles installation logic
106
+ 2. Individual **tool installers** in `karnel/tools/<name>/<tool>/install.sh` — each installs one tool
107
+
108
+ Robin uses a managed layout because its configuration and investigations are
109
+ persistent user data:
110
+
111
+ - Source checkout: `$KARNEL_TOOLS/osint/robin/app`
112
+ - Virtual environment: `$KARNEL_TOOLS/osint/robin/.venv`
113
+ - Provider configuration: `$KARNEL_CONFIG/robin/.env`
114
+ - Investigations: `$KARNEL_DATA/robin/investigations`
115
+ - PID and logs: `$KARNEL_RUN` and `$KARNEL_LOGS`
116
+
117
+ The upstream release and commit are pinned in `tools/osint/robin/common.sh`.
118
+ Candidate source and virtualenv trees are verified before replacing the active
119
+ installation. Uninstall does not delete persistent data.
120
+
121
+ ### Tool Installer Pattern
122
+
123
+ ```bash
124
+ _tool_dependencies() { ... } # Declare dependencies
125
+ _tool_install() { ... } # Install the tool
126
+ _tool_postinstall() { ... } # Post-installation setup
127
+ ```
128
+
129
+ ## Doctor Subsystem Architecture
130
+
131
+ See [Doctor System](./doctor/README.md) for the complete breakdown of the doctor code analysis engine.
@@ -0,0 +1,194 @@
1
+ # Documentation Changelog
2
+
3
+ ## 4.13.11 - 2026-08-10
4
+
5
+ - Hardened installers to preserve user-managed commands and data, with atomic
6
+ staging for downloaded payloads and native binaries.
7
+ - Added verified plugin registry snapshots, npm release pinning, and regression
8
+ contracts for installers, ownership, and package postinstall behavior.
9
+ - Added Android-compatible Railway installation through Ubuntu Proot and
10
+ verified Railway and Netlify CLI installation on Termux.
11
+ - Synchronized CLI, GitHub README, npm metadata, and site documentation.
12
+ - Corrected the portable npm postinstall fixture used by release validation.
13
+
14
+ ## 4.13.10 - 2026-08-06
15
+
16
+ - Included root documentation in the npm package and synchronized help, TUI, and release assets.
17
+
18
+ ## 4.13.9 - 2026-08-06
19
+
20
+ - Completed tool documentation coverage and corrected CLI references, commands, flags, links, and catalog counts.
21
+
22
+ ## 4.13.8 - 2026-08-06
23
+
24
+ - Added KeelCode through the official `@keelcode-ai/keelcode` npm package.
25
+ - Added SuperFile built from pinned upstream source `v1.5.0`.
26
+
27
+ ## 4.13.7 - 2026-08-04
28
+
29
+ ### Plugin System
30
+
31
+ - Registry entries may now share a repository when each uses a distinct plugin
32
+ path, enabling multiple reviewed plugins from the official registry source.
33
+ - Plugin removal acquires the lifecycle lock before recovery and deletion,
34
+ preventing a concurrent update from restoring a removed plugin.
35
+ - Registry downloads refuse HTTPS-to-HTTP redirect downgrades.
36
+
37
+ ## 4.13.6 - 2026-08-03
38
+
39
+ ### Fixes
40
+
41
+ - Reject missing values for `karnel voice --lang` before argument parsing can
42
+ consume another option.
43
+ - Harden plugin command validation by rejecting hidden, non-shell, symlinked,
44
+ and undeclared command entries.
45
+ - Permit the documented root plugin path (`"path": "."`) in reviewed registry
46
+ entries while retaining traversal protection.
47
+ - Clarified CLI help, deployment requirements, and site documentation so they
48
+ match current behavior.
49
+
50
+ ## 4.13.5 - 2026-08-01
51
+
52
+ ### Release hardening
53
+
54
+ - `karnel update karnel` now resolves the latest GitHub release tag, downloads the
55
+ tag-pinned `karnel-termux-install.sh` and `.sha256` assets, verifies the SHA-256
56
+ checksum before running, and only then falls back to git/npm/pnpm. The Release
57
+ workflow attaches both immutable installer assets to each tag.
58
+ - GitHub Releases are created before npm publishing, so a failing npm publish no
59
+ longer blocks the release.
60
+ - The site catalog CI now verifies that the generated catalog has not drifted from
61
+ a pinned CLI checkout (`generate-catalog.mjs --check`).
62
+
63
+ ### Fixes
64
+
65
+ - Repaired the Freebuff installer (release tag, asset name, download URL, binary
66
+ rename) and verified install/update on Termux aarch64.
67
+ - `karnel list` detects Kiro, KiloCode, and Cursor via any of their binaries.
68
+ - Added troubleshooting documentation covering npm tokens, releases, Vercel, and
69
+ update failures.
70
+ - Synchronized documentation with the 39-entry AI registry and the 4 deploy CLIs.
71
+
72
+ ## 4.9.0 - 2026-07-20
73
+
74
+ ### New modules
75
+
76
+ - Added `network` module with 2 tools: dark (Dark Web OSINT Tor crawler) and
77
+ dedsec-network (multi-purpose network scanner/OSINT/pentest).
78
+ - Added `utils` module with 11 utility scripts: fconv, filecheck, websites,
79
+ notes, treex, passman, applaunch, splash, httptmux, zork, and qrcode.
80
+
81
+ ### Documentation
82
+
83
+ - Created READMEs for all 13 new tools under `karnel/tools/network/` and
84
+ `karnel/tools/utils/`.
85
+ - Updated `open.sh` with `network` and `utils` targets for browser docs.
86
+ - Updated root README, docs index, CLI reference, and architecture docs with
87
+ the new module counts and tool descriptions.
88
+ - Bumped version to 4.9.0.
89
+
90
+ ## 4.8.0 - 2026-07-18
91
+
92
+ ### Robin OSINT
93
+
94
+ - Added the `osint` module and `karnel robin` lifecycle command.
95
+ - Pinned Robin `v2.8` and validated its source commit before activation.
96
+ - Added a transactional source/venv installation path for Termux aarch64.
97
+ - Separated application code, provider configuration, and investigations.
98
+ - Added safe migration from the original single-directory layout.
99
+ - Added process identity validation, Streamlit readiness checks, Tor probes,
100
+ versioned responsible-use acknowledgement, and explicit data purge.
101
+ - Added `karnel start robin`, global status integration, and
102
+ `karnel doctor robin [--network]`.
103
+
104
+ ### Quality and release
105
+
106
+ - Expanded catalog documentation from 24 to 32 development tools.
107
+ - Added complete Bash/Zsh syntax validation, Robin contract tests, ShellCheck
108
+ error gating, npm package inspection, CI, and release automation.
109
+ - Corrected competing stderr redirections in three installers.
110
+
111
+ ## Unreleased - 2026-07-16
112
+
113
+ ### Doctor command surface
114
+
115
+ - Added `karnel doctor code` alongside the existing Termux diagnostics.
116
+ - Kept exactly two operational Doctor subcommands: `termux` and `code`.
117
+ - Removed the stale `karnel doctor fix` entry from the main help. Termux fixes remain
118
+ available through `karnel doctor termux --fix`.
119
+ - Synchronized the Doctor AI probe and documentation with the 39-entry registry,
120
+ including Copilot-Termux.
121
+
122
+ ### Code analysis engine
123
+
124
+ - Added project detection for 25 language and ecosystem labels.
125
+ - Added a registry with 76 check definitions and 68 distinct tool labels.
126
+ - Added quick, standard, and deep modes with 64, 74, and 76 definitions,
127
+ respectively.
128
+ - Added text reports and clean JSON output.
129
+ - Added safe and unclassified auto-fix modes.
130
+ - Added bounded subproject discovery through four directory levels.
131
+
132
+ ### Correctness fixes
133
+
134
+ - Declared persistent arrays with `declare -g`/`declare -gA` so they survive the
135
+ function-scoped `import()` mechanism.
136
+ - Replaced space-delimited tool output with one registry record per line.
137
+ - Added a parser that preserves shell pipelines inside registry commands.
138
+ - Fixed file discovery that incorrectly expected NUL-delimited `find` output.
139
+ - Run language checks and fixes inside the matching manifest directory while
140
+ keeping cross-language checks at the requested project root.
141
+ - Preserve command exit statuses, including silent failures and timeouts.
142
+ - Quote sample file paths with Bash `%q` before shell execution.
143
+ - Prevent `npx` checks from downloading packages by using `--no-install`.
144
+ - Resolve compound tool labels such as `npm audit`, `go test`, `cargo test`, and
145
+ `docker compose` to their real executables.
146
+ - Run gofmt over discovered Go files instead of passing a directory, and send
147
+ javac output to the temporary directory instead of `/dev/null`.
148
+ - Parse Python files through `ast` instead of `compileall`, preventing diagnostics
149
+ from creating `__pycache__` artifacts in the analyzed project.
150
+ - Run cross-language checks once per project instead of once per detected language.
151
+ - Skip placeholder-based checks when no compatible sample file exists.
152
+ - Apply fixes only to findings, preserve the target directory, and report failed
153
+ fix commands accurately.
154
+ - Match fixes by both tool and category so tools with multiple checks do not apply
155
+ unrelated corrections.
156
+ - Emit standalone JSON with the analyzed directory, result count, category,
157
+ severity, and details.
158
+ - Record the requested target directory in text reports instead of `$PWD`.
159
+
160
+ ### Detection fixes
161
+
162
+ - Preserve the root directory through recursive scans so subprojects are registered.
163
+ - Scan `.github/workflows` and detect GitHub Actions YAML files.
164
+ - Merge YAML detection so GitHub Actions is no longer shadowed by Ansible rules.
165
+ - Recognize scoped Angular and NestJS packages.
166
+ - Associate framework names with their language for terminal display.
167
+ - Detect Python for all supported Python manifest variants.
168
+ - Normalize manifest records for JavaScript, Django, CMake, Maven, Gradle, and .NET.
169
+
170
+ ### Termux diagnostics
171
+
172
+ - Made `--quick` stop after essential system and package checks instead of running
173
+ the extended network and I/O probes.
174
+ - Added explicit timeouts to Termux information and battery probes so a missing or
175
+ unresponsive Termux:API service cannot block the full diagnostic run.
176
+ - Generate the Markdown report after auto-fixes so the `Fixed` count is accurate.
177
+ - Use explicit `skipped` values for quick-mode sections in the report.
178
+ - Fixed Python cache cleanup so version-directory globs expand correctly.
179
+ - Quote packages returned by `pip check` before reinstalling them.
180
+
181
+ ### Verification
182
+
183
+ - Expanded `tests/smoke.sh` from 10 to 14 checks.
184
+ - Added syntax coverage for nested Doctor modules.
185
+ - Added registry count and pipeline-parsing regression tests.
186
+ - Added GitHub Actions, Python manifest, TypeScript, and NestJS detection tests.
187
+ - Verified clean JSON with Python's standard JSON parser.
188
+ - Verified modified shell files with ShellCheck at style severity.
189
+
190
+ ## Security note
191
+
192
+ Doctor executes third-party analysis tools in the selected project. Review tool
193
+ configuration and use version control before enabling fixes. `npx` checks do not
194
+ install missing packages automatically.
package/docs/README.md ADDED
@@ -0,0 +1,31 @@
1
+ # Karnel Termux Documentation
2
+
3
+ > Modular Dev Environment for Termux — install languages, databases, AI agents, editors, and more with one command
4
+
5
+ ## Quick Links
6
+
7
+ - [CLI Commands](./cli/README.md) — All `karnel` subcommands
8
+ - [Doctor System](./doctor/README.md) — Environment diagnosis and code analysis
9
+ - [Troubleshooting](./troubleshooting.md) — Common issues and fixes
10
+ - [Architecture Overview](./ARCHITECTURE.md)
11
+ - [Bug Fixes & Changelog](./CHANGELOG.md)
12
+ - [Official Documentation Site](https://karneltermux.vercel.app/karnel/doctor)
13
+
14
+ ## What is Karnel?
15
+
16
+ Karnel Termux transforms your Android device into a complete development workstation.
17
+ With a single CLI (`karnel`), you can install and manage 41 AI agents, 8 languages,
18
+ 5 databases, 22 dev tools, 12 utility tools, 2 network tools, 6 games, responsible OSINT, and more.
19
+
20
+ ## Sections
21
+
22
+ - **[CLI Commands](./cli/README.md)** — Full reference for every `karnel` subcommand
23
+ - **[Doctor System](./doctor/README.md)** — How `karnel doctor` works, code analysis engine, environment checks
24
+ - **[Robin OSINT](../karnel/tools/osint/robin/README.md)** — Responsible use, lifecycle, data locations, and troubleshooting
25
+ - **[Network Tools](../karnel/tools/network/dark/README.md)** — dark, dedsec-network
26
+ - **[KeelCode](../karnel/tools/ai/keelcode/README.md)** — Hosted coding-agent CLI: `karnel install ai --keelcode`
27
+ - **[SuperFile](../karnel/tools/utils/superfile/README.md)** — Terminal file manager: `karnel install utils --superfile`
28
+ - **[Utility Scripts](../karnel/tools/utils/fconv/README.md)** — fconv, notes, treex, SuperFile, passman, applaunch, splash, httptmux, zork, qrcode and more
29
+ - **[Supabase CLI](./cli/README.md#supabase--remote-project-helpers)** — `karnel supabase` remote-project helpers
30
+ - **[Architecture](./ARCHITECTURE.md)** — Project structure, module system, import mechanism
31
+ - **[Changelog](./CHANGELOG.md)** — Version history, bug fixes, known issues