omni-catalyst 1.0.0

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 (237) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +1137 -0
  3. package/core/bin/core +85 -0
  4. package/core/bin/omni +21 -0
  5. package/core/cli/commands/--version.sh +8 -0
  6. package/core/cli/commands/brain.sh +1549 -0
  7. package/core/cli/commands/doctor.sh +834 -0
  8. package/core/cli/commands/env.sh +226 -0
  9. package/core/cli/commands/init.sh +1266 -0
  10. package/core/cli/commands/install.sh +759 -0
  11. package/core/cli/commands/list.sh +397 -0
  12. package/core/cli/commands/open.sh +71 -0
  13. package/core/cli/commands/pg.sh +761 -0
  14. package/core/cli/commands/reinstall.sh +694 -0
  15. package/core/cli/commands/show.sh +90 -0
  16. package/core/cli/commands/uninstall.sh +700 -0
  17. package/core/cli/commands/update.sh +754 -0
  18. package/core/cli/commands/voice.sh +170 -0
  19. package/core/cli/core.sh +82 -0
  20. package/core/cli/omni.sh +634 -0
  21. package/core/modules/ai.sh +152 -0
  22. package/core/modules/auto.sh +90 -0
  23. package/core/modules/db.sh +94 -0
  24. package/core/modules/deploy.sh +50 -0
  25. package/core/modules/dev.sh +126 -0
  26. package/core/modules/editor.sh +101 -0
  27. package/core/modules/lang.sh +100 -0
  28. package/core/modules/npm.sh +122 -0
  29. package/core/modules/shell.sh +312 -0
  30. package/core/modules/ui.sh +115 -0
  31. package/core/tools/ai/all.sh +63 -0
  32. package/core/tools/ai/antigravity-cli/README.md +45 -0
  33. package/core/tools/ai/antigravity-cli/bin/agy +28 -0
  34. package/core/tools/ai/antigravity-cli/helper/agy_helper.c +39 -0
  35. package/core/tools/ai/antigravity-cli/install.sh +469 -0
  36. package/core/tools/ai/claude-code/README.md +45 -0
  37. package/core/tools/ai/claude-code/bin/claude +29 -0
  38. package/core/tools/ai/claude-code/helper/claude_helper.c +42 -0
  39. package/core/tools/ai/claude-code/install.sh +278 -0
  40. package/core/tools/ai/codegraph/README.md +43 -0
  41. package/core/tools/ai/codegraph/bin/codegraph +3 -0
  42. package/core/tools/ai/codegraph/install.sh +149 -0
  43. package/core/tools/ai/codex/README.md +44 -0
  44. package/core/tools/ai/codex/install.sh +104 -0
  45. package/core/tools/ai/command-code/README.md +62 -0
  46. package/core/tools/ai/command-code/install.sh +136 -0
  47. package/core/tools/ai/engram/README.md +44 -0
  48. package/core/tools/ai/engram/install.sh +127 -0
  49. package/core/tools/ai/freebuff/README.md +52 -0
  50. package/core/tools/ai/freebuff/bin/freebuff +28 -0
  51. package/core/tools/ai/freebuff/helper/freebuff_helper.c +47 -0
  52. package/core/tools/ai/freebuff/install.sh +301 -0
  53. package/core/tools/ai/gemini-cli/README.md +46 -0
  54. package/core/tools/ai/gemini-cli/install.sh +111 -0
  55. package/core/tools/ai/gentle-ai/README.md +42 -0
  56. package/core/tools/ai/gentle-ai/install.sh +253 -0
  57. package/core/tools/ai/gentle-ai/termux-patches.go +256 -0
  58. package/core/tools/ai/gga/README.md +49 -0
  59. package/core/tools/ai/gga/install.sh +134 -0
  60. package/core/tools/ai/hermes-agent/README.md +50 -0
  61. package/core/tools/ai/hermes-agent/install.sh +80 -0
  62. package/core/tools/ai/heygen/README.md +24 -0
  63. package/core/tools/ai/heygen/install.sh +126 -0
  64. package/core/tools/ai/kilocode-cli/README.md +45 -0
  65. package/core/tools/ai/kilocode-cli/bin/kilocode +21 -0
  66. package/core/tools/ai/kilocode-cli/helper/kilocode_helper.c +47 -0
  67. package/core/tools/ai/kilocode-cli/install.sh +179 -0
  68. package/core/tools/ai/kimchi-code/README.md +8 -0
  69. package/core/tools/ai/kimchi-code/install.sh +120 -0
  70. package/core/tools/ai/kimi-code/README.md +45 -0
  71. package/core/tools/ai/kimi-code/install.sh +111 -0
  72. package/core/tools/ai/kiro-cli/README.md +23 -0
  73. package/core/tools/ai/kiro-cli/install.sh +127 -0
  74. package/core/tools/ai/mimocode/README.md +43 -0
  75. package/core/tools/ai/mimocode/bin/mimo +28 -0
  76. package/core/tools/ai/mimocode/helper/mimocode_helper.c +47 -0
  77. package/core/tools/ai/mimocode/install.sh +287 -0
  78. package/core/tools/ai/minimax-cli/README.md +45 -0
  79. package/core/tools/ai/minimax-cli/install.sh +111 -0
  80. package/core/tools/ai/mistral-vibe/README.md +46 -0
  81. package/core/tools/ai/mistral-vibe/install.sh +119 -0
  82. package/core/tools/ai/odysseus/README.md +35 -0
  83. package/core/tools/ai/odysseus/install.sh +163 -0
  84. package/core/tools/ai/ollama/README.md +44 -0
  85. package/core/tools/ai/ollama/install.sh +78 -0
  86. package/core/tools/ai/openclaude/README.md +46 -0
  87. package/core/tools/ai/openclaude/install.sh +110 -0
  88. package/core/tools/ai/openclaw/README.md +47 -0
  89. package/core/tools/ai/openclaw/install.sh +112 -0
  90. package/core/tools/ai/opencode/README.md +51 -0
  91. package/core/tools/ai/opencode/bin/opencode +28 -0
  92. package/core/tools/ai/opencode/helper/opencode_helper.c +57 -0
  93. package/core/tools/ai/opencode/install.sh +290 -0
  94. package/core/tools/ai/pi/README.md +46 -0
  95. package/core/tools/ai/pi/install.sh +104 -0
  96. package/core/tools/ai/qwen-code/README.md +45 -0
  97. package/core/tools/ai/qwen-code/install.sh +111 -0
  98. package/core/tools/ai/seedance/README.md +22 -0
  99. package/core/tools/ai/seedance/install.sh +134 -0
  100. package/core/tools/ai/veo3/README.md +36 -0
  101. package/core/tools/ai/veo3/install.sh +151 -0
  102. package/core/tools/auto/all.sh +57 -0
  103. package/core/tools/auto/n8n/README.md +47 -0
  104. package/core/tools/auto/n8n/install.sh +102 -0
  105. package/core/tools/db/all.sh +60 -0
  106. package/core/tools/db/mariadb/README.md +43 -0
  107. package/core/tools/db/mariadb/install.sh +65 -0
  108. package/core/tools/db/mongodb/README.md +42 -0
  109. package/core/tools/db/mongodb/install.sh +73 -0
  110. package/core/tools/db/postgresql/README.md +45 -0
  111. package/core/tools/db/postgresql/install.sh +65 -0
  112. package/core/tools/db/sqlite/README.md +44 -0
  113. package/core/tools/db/sqlite/install.sh +65 -0
  114. package/core/tools/deploy/all.sh +39 -0
  115. package/core/tools/deploy/netlify/install.sh +41 -0
  116. package/core/tools/deploy/railway/install.sh +47 -0
  117. package/core/tools/deploy/vercel/install.sh +43 -0
  118. package/core/tools/dev/all.sh +75 -0
  119. package/core/tools/dev/bat/README.md +44 -0
  120. package/core/tools/dev/bat/install.sh +82 -0
  121. package/core/tools/dev/bc/README.md +44 -0
  122. package/core/tools/dev/bc/install.sh +82 -0
  123. package/core/tools/dev/cloudflared/README.md +43 -0
  124. package/core/tools/dev/cloudflared/install.sh +82 -0
  125. package/core/tools/dev/curl/README.md +43 -0
  126. package/core/tools/dev/curl/install.sh +82 -0
  127. package/core/tools/dev/fzf/README.md +44 -0
  128. package/core/tools/dev/fzf/install.sh +82 -0
  129. package/core/tools/dev/gh/README.md +43 -0
  130. package/core/tools/dev/gh/install.sh +82 -0
  131. package/core/tools/dev/html2text/README.md +44 -0
  132. package/core/tools/dev/html2text/install.sh +82 -0
  133. package/core/tools/dev/imagemagick/README.md +44 -0
  134. package/core/tools/dev/imagemagick/install.sh +82 -0
  135. package/core/tools/dev/jq/README.md +44 -0
  136. package/core/tools/dev/jq/install.sh +82 -0
  137. package/core/tools/dev/lsd/README.md +44 -0
  138. package/core/tools/dev/lsd/install.sh +82 -0
  139. package/core/tools/dev/make/README.md +44 -0
  140. package/core/tools/dev/make/install.sh +82 -0
  141. package/core/tools/dev/ncurses/README.md +42 -0
  142. package/core/tools/dev/ncurses/install.sh +82 -0
  143. package/core/tools/dev/proot/README.md +43 -0
  144. package/core/tools/dev/proot/install.sh +82 -0
  145. package/core/tools/dev/shfmt/README.md +44 -0
  146. package/core/tools/dev/shfmt/install.sh +82 -0
  147. package/core/tools/dev/tmate/README.md +44 -0
  148. package/core/tools/dev/tmate/install.sh +82 -0
  149. package/core/tools/dev/translate/README.md +44 -0
  150. package/core/tools/dev/translate/install.sh +82 -0
  151. package/core/tools/dev/tree/README.md +44 -0
  152. package/core/tools/dev/tree/install.sh +82 -0
  153. package/core/tools/dev/udocker/README.md +44 -0
  154. package/core/tools/dev/udocker/install.sh +82 -0
  155. package/core/tools/dev/wget/README.md +44 -0
  156. package/core/tools/dev/wget/install.sh +82 -0
  157. package/core/tools/editor/all.sh +58 -0
  158. package/core/tools/editor/neovim/README.md +43 -0
  159. package/core/tools/editor/neovim/install.sh +66 -0
  160. package/core/tools/editor/nvchad/README.md +45 -0
  161. package/core/tools/editor/nvchad/install.sh +110 -0
  162. package/core/tools/lang/all.sh +63 -0
  163. package/core/tools/lang/clang/README.md +43 -0
  164. package/core/tools/lang/clang/install.sh +79 -0
  165. package/core/tools/lang/golang/README.md +43 -0
  166. package/core/tools/lang/golang/install.sh +79 -0
  167. package/core/tools/lang/nodejs/README.md +43 -0
  168. package/core/tools/lang/nodejs/install.sh +79 -0
  169. package/core/tools/lang/perl/README.md +43 -0
  170. package/core/tools/lang/perl/install.sh +79 -0
  171. package/core/tools/lang/php/README.md +43 -0
  172. package/core/tools/lang/php/install.sh +79 -0
  173. package/core/tools/lang/python/README.md +43 -0
  174. package/core/tools/lang/python/install.sh +79 -0
  175. package/core/tools/lang/rust/README.md +43 -0
  176. package/core/tools/lang/rust/install.sh +79 -0
  177. package/core/tools/npm/all.sh +67 -0
  178. package/core/tools/npm/live-server/README.md +43 -0
  179. package/core/tools/npm/live-server/install.sh +95 -0
  180. package/core/tools/npm/localtunnel/README.md +43 -0
  181. package/core/tools/npm/localtunnel/install.sh +111 -0
  182. package/core/tools/npm/markserv/README.md +43 -0
  183. package/core/tools/npm/markserv/install.sh +94 -0
  184. package/core/tools/npm/ncu/README.md +43 -0
  185. package/core/tools/npm/ncu/install.sh +94 -0
  186. package/core/tools/npm/nestjs/README.md +43 -0
  187. package/core/tools/npm/nestjs/install.sh +94 -0
  188. package/core/tools/npm/ngrok/README.md +44 -0
  189. package/core/tools/npm/ngrok/install.sh +94 -0
  190. package/core/tools/npm/prettier/README.md +43 -0
  191. package/core/tools/npm/prettier/install.sh +94 -0
  192. package/core/tools/npm/psqlformat/README.md +43 -0
  193. package/core/tools/npm/psqlformat/install.sh +94 -0
  194. package/core/tools/npm/turbopack/README.md +8 -0
  195. package/core/tools/npm/turbopack/install.sh +41 -0
  196. package/core/tools/npm/typescript/README.md +43 -0
  197. package/core/tools/npm/typescript/install.sh +94 -0
  198. package/core/tools/npm/vercel/README.md +43 -0
  199. package/core/tools/npm/vercel/install.sh +94 -0
  200. package/core/tools/shell/all.sh +67 -0
  201. package/core/tools/shell/better-npm/README.md +43 -0
  202. package/core/tools/shell/better-npm/install.sh +85 -0
  203. package/core/tools/shell/fzf-tab/README.md +44 -0
  204. package/core/tools/shell/fzf-tab/install.sh +85 -0
  205. package/core/tools/shell/history-substring/README.md +43 -0
  206. package/core/tools/shell/history-substring/install.sh +85 -0
  207. package/core/tools/shell/powerlevel10k/README.md +43 -0
  208. package/core/tools/shell/powerlevel10k/install.sh +85 -0
  209. package/core/tools/shell/you-should-use/README.md +43 -0
  210. package/core/tools/shell/you-should-use/install.sh +85 -0
  211. package/core/tools/shell/zsh-autopair/README.md +44 -0
  212. package/core/tools/shell/zsh-autopair/install.sh +85 -0
  213. package/core/tools/shell/zsh-autosuggestions/README.md +43 -0
  214. package/core/tools/shell/zsh-autosuggestions/install.sh +85 -0
  215. package/core/tools/shell/zsh-completions/README.md +43 -0
  216. package/core/tools/shell/zsh-completions/install.sh +85 -0
  217. package/core/tools/shell/zsh-defer/README.md +43 -0
  218. package/core/tools/shell/zsh-defer/install.sh +85 -0
  219. package/core/tools/shell/zsh-syntax-highlighting/README.md +43 -0
  220. package/core/tools/shell/zsh-syntax-highlighting/install.sh +72 -0
  221. package/core/tools/ui/all.sh +61 -0
  222. package/core/tools/ui/banner/README.md +42 -0
  223. package/core/tools/ui/banner/install.sh +151 -0
  224. package/core/tools/ui/cursor/README.md +42 -0
  225. package/core/tools/ui/cursor/install.sh +58 -0
  226. package/core/tools/ui/extra-keys/README.md +43 -0
  227. package/core/tools/ui/extra-keys/install.sh +62 -0
  228. package/core/tools/ui/font/README.md +43 -0
  229. package/core/tools/ui/font/install.sh +63 -0
  230. package/core/utils/banner.sh +519 -0
  231. package/core/utils/bootstrap.sh +25 -0
  232. package/core/utils/colors.sh +31 -0
  233. package/core/utils/dialogrc +30 -0
  234. package/core/utils/env.sh +53 -0
  235. package/core/utils/log.sh +598 -0
  236. package/install.sh +272 -0
  237. package/package.json +43 -0
@@ -0,0 +1,759 @@
1
+ #!/usr/bin/env bash
2
+
3
+ import "@/utils/log"
4
+ import "@/utils/colors"
5
+
6
+ # Generic tool installer helper
7
+ _install_tool() {
8
+ local tool_name="$1"
9
+ local install_func="$2"
10
+ local display_name="${3:-$tool_name}"
11
+
12
+ if command -v "$tool_name" &>/dev/null; then
13
+ log_info "$display_name is already installed"
14
+ return 2
15
+ fi
16
+
17
+ $install_func
18
+ return $?
19
+ }
20
+
21
+ # Generic module installer with progress tracking
22
+ _install_tools_in_module() {
23
+ local module="$1"
24
+ local action="${2:-install}"
25
+ shift 2
26
+ local -a tools=("$@")
27
+
28
+ local success_count=0
29
+ local failed_count=0
30
+ local total=${#tools[@]}
31
+ local current=0
32
+
33
+ progress_start "$total" "${action^}ing tools..."
34
+
35
+ for tool in "${tools[@]}"; do
36
+ ((current++))
37
+
38
+ local func_name="${action}_${tool//-/_}"
39
+ loading "${action^}ing ${tool}" "$func_name"
40
+ case $? in
41
+ 0) ((success_count++)) ;;
42
+ 1) ((failed_count++)) ;;
43
+ esac
44
+
45
+ progress_update "$current" "$total"
46
+ done
47
+
48
+ progress_done "$total"
49
+ if [[ $success_count -gt 0 ]]; then
50
+ log_success "$success_count tool(s) ${action}ed"
51
+ fi
52
+ if [[ $failed_count -gt 0 ]]; then
53
+ log_warn "$failed_count tool(s) failed to ${action}"
54
+ fi
55
+ echo
56
+
57
+ return 0
58
+ }
59
+
60
+ install_main() {
61
+
62
+ if [[ $# -eq 0 ]]; then
63
+ echo
64
+ box "Omni Install"
65
+ echo
66
+ log_info "Usage: omni install <target>"
67
+ log_info "Usage: omni install <target> --tool1 --tool2"
68
+ echo
69
+ log_info "Available targets:"
70
+ echo
71
+ list_item "lang - Language packages (Node.js, Python, Perl, PHP, Rust, C, C++, Go)"
72
+ list_item "db - Databases (PostgreSQL, MariaDB, SQLite, MongoDB)"
73
+ list_item "ai - AI tools (OpenCode, Gentle AI, Claude Code, etc.)"
74
+ list_item "editor - Code editor (Neovim + NvChad)"
75
+ list_item "dev - Development tools"
76
+ list_item "npm - Node.js global modules (npm packages)"
77
+ list_item "shell - ZSH + Oh My Zsh + plugins"
78
+ list_item "ui - Termux UI (font, cursor, extra-keys, banner)"
79
+ list_item "auto - Automation Tools (n8n)"
80
+ list_item "deploy - Deploy CLIs (Vercel, Railway, Netlify)"
81
+
82
+ echo
83
+ log_info "Install specific tools with flags:"
84
+ echo
85
+ list_item "omni install ai --qwen-code --ollama"
86
+ list_item "omni install db --postgresql --sqlite"
87
+ list_item "omni install dev --gh --fzf --jq"
88
+ list_item "Run ${D_CYAN}omni list <target>${NC} to see all available tools"
89
+ echo
90
+ return
91
+ fi
92
+
93
+ # Separate module target from tool flags
94
+ local module_target=""
95
+ local -a tool_flags=()
96
+
97
+ for arg in "$@"; do
98
+ if [[ "$arg" == --* ]]; then
99
+ # Remove -- prefix and convert to lowercase
100
+ local flag="${arg#--}"
101
+ tool_flags+=("$flag")
102
+ elif [[ -z "$module_target" ]]; then
103
+ module_target="$arg"
104
+ fi
105
+ done
106
+
107
+ # If no module target specified, show error
108
+ if [[ -z "$module_target" ]]; then
109
+ log_error "No target specified"
110
+ echo "Run 'omni install' to see available targets"
111
+ return 1
112
+ fi
113
+
114
+ # If no tool flags, install entire module (original behavior)
115
+ if [[ ${#tool_flags[@]} -eq 0 ]]; then
116
+ _install_full_module "$module_target"
117
+ else
118
+ # Install specific tools
119
+ _install_specific_tools "$module_target" "${tool_flags[@]}"
120
+ fi
121
+ }
122
+
123
+ # Install entire module (original behavior)
124
+ _install_full_module() {
125
+ local target="$1"
126
+
127
+ case "$target" in
128
+ db)
129
+ import "@/modules/db"
130
+ install_db
131
+ ;;
132
+ ai)
133
+ import "@/modules/ai"
134
+ install_ai
135
+ ;;
136
+ editor)
137
+ import "@/modules/editor"
138
+ install_editor
139
+ ;;
140
+ lang)
141
+ import "@/modules/lang"
142
+ install_lang
143
+ ;;
144
+ dev)
145
+ import "@/modules/dev"
146
+ install_dev
147
+ ;;
148
+ npm)
149
+ import "@/modules/npm"
150
+ install_npm
151
+ ;;
152
+ shell)
153
+ import "@/modules/shell"
154
+ install_shell
155
+ ;;
156
+ ui)
157
+ import "@/modules/ui"
158
+ setup_ui
159
+ ;;
160
+ auto)
161
+ import "@/modules/auto"
162
+ install_auto
163
+ ;;
164
+ deploy)
165
+ import "@/modules/deploy"
166
+ install_deploy
167
+ ;;
168
+ *)
169
+ log_warn "Unknown install target: $target"
170
+ echo "Run 'omni install' to see available targets"
171
+ ;;
172
+ esac
173
+ }
174
+
175
+ # Install specific tools within a module
176
+ _install_specific_tools() {
177
+ local module="$1"
178
+ shift
179
+ local -a tools=("$@")
180
+
181
+ case "$module" in
182
+ ai)
183
+ import "@/tools/ai/all"
184
+ local installed_count=0
185
+ local failed_count=0
186
+
187
+ for tool in "${tools[@]}"; do
188
+ case "$tool" in
189
+ qwen-code)
190
+ install_qwen_code
191
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
192
+ ;;
193
+ gemini-cli)
194
+ install_gemini_cli
195
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
196
+ ;;
197
+ claude-code)
198
+ install_claude_code
199
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
200
+ ;;
201
+ mistral-vibe)
202
+ install_mistral_vibe
203
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
204
+ ;;
205
+ openclaude)
206
+ install_openclaude
207
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
208
+ ;;
209
+ openclaw)
210
+ install_openclaw
211
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
212
+ ;;
213
+ ollama)
214
+ install_ollama
215
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
216
+ ;;
217
+ codex)
218
+ install_codex
219
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
220
+ ;;
221
+ opencode)
222
+ install_opencode
223
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
224
+ ;;
225
+ kilocode-cli)
226
+ install_kilocode_cli
227
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
228
+ ;;
229
+ mimocode)
230
+ install_mimocode
231
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
232
+ ;;
233
+ engram)
234
+ install_engram
235
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
236
+ ;;
237
+ codegraph)
238
+ install_codegraph
239
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
240
+ ;;
241
+ pi)
242
+ install_pi
243
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
244
+ ;;
245
+ antigravity-cli)
246
+ install_antigravity_cli
247
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
248
+ ;;
249
+ minimax-cli)
250
+ install_minimax_cli
251
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
252
+ ;;
253
+ gentle-ai)
254
+ install_gentle_ai
255
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
256
+ ;;
257
+ gga)
258
+ install_gga
259
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
260
+ ;;
261
+ hermes-agent)
262
+ install_hermes_agent
263
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
264
+ ;;
265
+ kimi-code)
266
+ install_kimi_code
267
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
268
+ ;;
269
+ command-code)
270
+ install_command_code
271
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
272
+ ;;
273
+ freebuff)
274
+ install_freebuff
275
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
276
+ ;;
277
+ kiro-cli)
278
+ install_kiro_cli
279
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
280
+ ;;
281
+ heygen)
282
+ install_heygen
283
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
284
+ ;;
285
+ seedance)
286
+ install_seedance
287
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
288
+ ;;
289
+ veo3)
290
+ install_veo3
291
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
292
+ ;;
293
+ odysseus)
294
+ install_odysseus
295
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
296
+ ;;
297
+ kimchi-code)
298
+ install_kimchi_code
299
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
300
+ ;;
301
+ *)
302
+ log_warn "Unknown AI tool: --$tool"
303
+ ;;
304
+ esac
305
+ done
306
+
307
+ echo
308
+ if [[ $installed_count -gt 0 ]]; then
309
+ log_success "$installed_count AI tool(s) installed"
310
+ fi
311
+ if [[ $failed_count -gt 0 ]]; then
312
+ log_warn "$failed_count tool(s) failed to install"
313
+ fi
314
+ echo
315
+ ;;
316
+ db)
317
+ import "@/tools/db/all"
318
+ local installed_count=0
319
+ local failed_count=0
320
+
321
+ for tool in "${tools[@]}"; do
322
+ case "$tool" in
323
+ postgresql)
324
+ install_postgresql
325
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
326
+ ;;
327
+ mariadb)
328
+ install_mariadb
329
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
330
+ ;;
331
+ sqlite)
332
+ install_sqlite
333
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
334
+ ;;
335
+ mongodb)
336
+ install_mongodb
337
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
338
+ ;;
339
+ *)
340
+ log_warn "Unknown database: --$tool"
341
+ ;;
342
+ esac
343
+ done
344
+
345
+ echo
346
+ if [[ $installed_count -gt 0 ]]; then
347
+ log_success "$installed_count database(s) installed"
348
+ fi
349
+ if [[ $failed_count -gt 0 ]]; then
350
+ log_warn "$failed_count database(s) failed to install"
351
+ fi
352
+ echo
353
+ ;;
354
+ dev)
355
+ import "@/tools/dev/all"
356
+ local installed_count=0
357
+ local failed_count=0
358
+
359
+ for tool in "${tools[@]}"; do
360
+ case "$tool" in
361
+ gh)
362
+ install_gh
363
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
364
+ ;;
365
+ wget)
366
+ install_wget
367
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
368
+ ;;
369
+ curl)
370
+ install_curl
371
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
372
+ ;;
373
+ lsd)
374
+ install_lsd
375
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
376
+ ;;
377
+ bat)
378
+ install_bat
379
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
380
+ ;;
381
+ proot)
382
+ install_proot
383
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
384
+ ;;
385
+ ncurses)
386
+ install_ncurses
387
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
388
+ ;;
389
+ tmate)
390
+ install_tmate
391
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
392
+ ;;
393
+ cloudflared)
394
+ install_cloudflared
395
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
396
+ ;;
397
+ translate)
398
+ install_translate
399
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
400
+ ;;
401
+ html2text)
402
+ install_html2text
403
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
404
+ ;;
405
+ jq)
406
+ install_jq
407
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
408
+ ;;
409
+ bc)
410
+ install_bc
411
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
412
+ ;;
413
+ tree)
414
+ install_tree
415
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
416
+ ;;
417
+ fzf)
418
+ install_fzf
419
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
420
+ ;;
421
+ imagemagick)
422
+ install_imagemagick
423
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
424
+ ;;
425
+ shfmt)
426
+ install_shfmt
427
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
428
+ ;;
429
+ make)
430
+ install_make
431
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
432
+ ;;
433
+ udocker)
434
+ install_udocker
435
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
436
+ ;;
437
+ *)
438
+ log_warn "Unknown tool: --$tool"
439
+ ;;
440
+ esac
441
+ done
442
+
443
+ echo
444
+ if [[ $installed_count -gt 0 ]]; then
445
+ log_success "$installed_count tool(s) installed"
446
+ fi
447
+ if [[ $failed_count -gt 0 ]]; then
448
+ log_warn "$failed_count tool(s) failed to install"
449
+ fi
450
+ echo
451
+ ;;
452
+ npm)
453
+ import "@/tools/npm/all"
454
+ local installed_count=0
455
+ local failed_count=0
456
+
457
+ for tool in "${tools[@]}"; do
458
+ case "$tool" in
459
+ typescript)
460
+ install_typescript
461
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
462
+ ;;
463
+ nestjs)
464
+ install_nestjs
465
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
466
+ ;;
467
+ prettier)
468
+ install_prettier
469
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
470
+ ;;
471
+ live-server)
472
+ install_live_server
473
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
474
+ ;;
475
+ localtunnel)
476
+ install_localtunnel
477
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
478
+ ;;
479
+ vercel)
480
+ install_vercel
481
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
482
+ ;;
483
+ markserv)
484
+ install_markserv
485
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
486
+ ;;
487
+ psqlformat)
488
+ install_psqlformat
489
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
490
+ ;;
491
+ ncu)
492
+ install_ncu
493
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
494
+ ;;
495
+ ngrok)
496
+ install_ngrok
497
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
498
+ ;;
499
+ *)
500
+ log_warn "Unknown node module: --$tool"
501
+ ;;
502
+ esac
503
+ done
504
+
505
+ echo
506
+ if [[ $installed_count -gt 0 ]]; then
507
+ log_success "$installed_count Node.js module(s) installed"
508
+ fi
509
+ if [[ $failed_count -gt 0 ]]; then
510
+ log_warn "$failed_count module(s) failed to install"
511
+ fi
512
+ echo
513
+ ;;
514
+ lang)
515
+ import "@/tools/lang/all"
516
+ local installed_count=0
517
+ local failed_count=0
518
+
519
+ for tool in "${tools[@]}"; do
520
+ case "$tool" in
521
+ nodejs)
522
+ install_nodejs
523
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
524
+ ;;
525
+ python)
526
+ install_python
527
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
528
+ ;;
529
+ perl)
530
+ install_perl
531
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
532
+ ;;
533
+ php)
534
+ install_php
535
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
536
+ ;;
537
+ rust)
538
+ install_rust
539
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
540
+ ;;
541
+ clang)
542
+ install_clang
543
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
544
+ ;;
545
+ golang)
546
+ install_golang
547
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
548
+ ;;
549
+ *)
550
+ log_warn "Unknown language: --$tool"
551
+ ;;
552
+ esac
553
+ done
554
+
555
+ echo
556
+ if [[ $installed_count -gt 0 ]]; then
557
+ log_success "$installed_count language(s) installed"
558
+ fi
559
+ if [[ $failed_count -gt 0 ]]; then
560
+ log_warn "$failed_count language(s) failed to install"
561
+ fi
562
+ echo
563
+ ;;
564
+ shell)
565
+ import "@/tools/shell/all"
566
+ local installed_count=0
567
+ local failed_count=0
568
+
569
+ for tool in "${tools[@]}"; do
570
+ case "$tool" in
571
+ powerlevel10k)
572
+ install_powerlevel10k
573
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
574
+ ;;
575
+ zsh-defer)
576
+ install_zsh_defer
577
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
578
+ ;;
579
+ zsh-autosuggestions)
580
+ install_zsh_autosuggestions
581
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
582
+ ;;
583
+ zsh-syntax-highlighting)
584
+ install_zsh_syntax_highlighting
585
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
586
+ ;;
587
+ history-substring)
588
+ install_history_substring
589
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
590
+ ;;
591
+ zsh-completions)
592
+ install_zsh_completions
593
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
594
+ ;;
595
+ fzf-tab)
596
+ install_fzf_tab
597
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
598
+ ;;
599
+ you-should-use)
600
+ install_you_should_use
601
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
602
+ ;;
603
+ zsh-autopair)
604
+ install_zsh_autopair
605
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
606
+ ;;
607
+ better-npm)
608
+ install_better_npm
609
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
610
+ ;;
611
+ *)
612
+ log_warn "Unknown plugin: --$tool"
613
+ ;;
614
+ esac
615
+ done
616
+
617
+ echo
618
+ if [[ $installed_count -gt 0 ]]; then
619
+ log_success "$installed_count plugin(s) installed"
620
+ fi
621
+ if [[ $failed_count -gt 0 ]]; then
622
+ log_warn "$failed_count plugin(s) failed to install"
623
+ fi
624
+ echo
625
+ ;;
626
+ editor)
627
+ import "@/tools/editor/all"
628
+ local installed_count=0
629
+ local failed_count=0
630
+
631
+ for tool in "${tools[@]}"; do
632
+ case "$tool" in
633
+ neovim)
634
+ install_neovim
635
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
636
+ ;;
637
+ nvchad)
638
+ install_nvchad
639
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
640
+ ;;
641
+ *)
642
+ log_warn "Unknown editor component: --$tool"
643
+ ;;
644
+ esac
645
+ done
646
+
647
+ echo
648
+ if [[ $installed_count -gt 0 ]]; then
649
+ log_success "$installed_count editor component(s) installed"
650
+ fi
651
+ if [[ $failed_count -gt 0 ]]; then
652
+ log_warn "$failed_count component(s) failed to install"
653
+ fi
654
+ echo
655
+ ;;
656
+ ui)
657
+ import "@/tools/ui/all"
658
+ local installed_count=0
659
+ local failed_count=0
660
+
661
+ for tool in "${tools[@]}"; do
662
+ case "$tool" in
663
+ font)
664
+ install_font
665
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
666
+ ;;
667
+ extra-keys)
668
+ install_extra_keys
669
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
670
+ ;;
671
+ cursor)
672
+ install_cursor
673
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
674
+ ;;
675
+ banner)
676
+ install_banner
677
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
678
+ ;;
679
+ *)
680
+ log_warn "Unknown UI component: --$tool"
681
+ ;;
682
+ esac
683
+ done
684
+
685
+ echo
686
+ if [[ $installed_count -gt 0 ]]; then
687
+ log_success "$installed_count UI component(s) installed"
688
+ fi
689
+ if [[ $failed_count -gt 0 ]]; then
690
+ log_warn "$failed_count component(s) failed to install"
691
+ fi
692
+ echo
693
+ ;;
694
+ auto)
695
+ import "@/tools/auto/all"
696
+ local installed_count=0
697
+ local failed_count=0
698
+
699
+ for tool in "${tools[@]}"; do
700
+ case "$tool" in
701
+ n8n)
702
+ install_n8n
703
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
704
+ ;;
705
+ *)
706
+ log_warn "Unknown automation tool: --$tool"
707
+ ;;
708
+ esac
709
+ done
710
+
711
+ echo
712
+ if [[ $installed_count -gt 0 ]]; then
713
+ log_success "$installed_count automation tool(s) installed"
714
+ fi
715
+ if [[ $failed_count -gt 0 ]]; then
716
+ log_warn "$failed_count tool(s) failed to install"
717
+ fi
718
+ echo
719
+ ;;
720
+ deploy)
721
+ import "@/tools/deploy/all"
722
+ local installed_count=0
723
+ local failed_count=0
724
+
725
+ for tool in "${tools[@]}"; do
726
+ case "$tool" in
727
+ vercel)
728
+ install_vercel
729
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
730
+ ;;
731
+ railway)
732
+ install_railway
733
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
734
+ ;;
735
+ netlify)
736
+ install_netlify
737
+ case $? in 0) ((installed_count++));; 1) ((failed_count++));; esac
738
+ ;;
739
+ *)
740
+ log_warn "Unknown deploy tool: --$tool"
741
+ ;;
742
+ esac
743
+ done
744
+
745
+ echo
746
+ if [[ $installed_count -gt 0 ]]; then
747
+ log_success "$installed_count deploy CLI(s) installed"
748
+ fi
749
+ if [[ $failed_count -gt 0 ]]; then
750
+ log_warn "$failed_count CLI(s) failed to install"
751
+ fi
752
+ echo
753
+ ;;
754
+ *)
755
+ log_warn "Unknown install target: $module"
756
+ echo "Run 'omni install' to see available targets"
757
+ ;;
758
+ esac
759
+ }