zammy 1.3.2 → 1.3.3

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 (34) hide show
  1. package/README.md +18 -1
  2. package/dist/{chunk-LLLEINP6.js → chunk-7U44TOFW.js} +7 -0
  3. package/dist/index.js +6396 -1922
  4. package/dist/plugins.js +1 -1
  5. package/package.json +1 -1
  6. package/packages/plugins/docker/dist/index.d.ts.map +1 -1
  7. package/packages/plugins/docker/dist/index.js +96 -0
  8. package/packages/plugins/docker/dist/index.js.map +1 -1
  9. package/packages/plugins/docker/package.json +1 -1
  10. package/packages/plugins/docker/zammy-plugin.json +1 -1
  11. package/packages/plugins/faker/dist/index.d.ts.map +1 -1
  12. package/packages/plugins/faker/dist/index.js +95 -0
  13. package/packages/plugins/faker/dist/index.js.map +1 -1
  14. package/packages/plugins/faker/package.json +1 -1
  15. package/packages/plugins/faker/zammy-plugin.json +1 -1
  16. package/packages/plugins/http-mock/dist/index.d.ts +4 -0
  17. package/packages/plugins/http-mock/dist/index.d.ts.map +1 -0
  18. package/packages/plugins/http-mock/dist/index.js +226 -0
  19. package/packages/plugins/http-mock/dist/index.js.map +1 -0
  20. package/packages/plugins/http-mock/package.json +20 -0
  21. package/packages/plugins/http-mock/zammy-plugin.json +16 -0
  22. package/packages/plugins/network/package.json +1 -1
  23. package/packages/plugins/network/zammy-plugin.json +1 -1
  24. package/packages/plugins/port/dist/index.d.ts.map +1 -1
  25. package/packages/plugins/port/dist/index.js +69 -0
  26. package/packages/plugins/port/dist/index.js.map +1 -1
  27. package/packages/plugins/port/package.json +1 -1
  28. package/packages/plugins/port/zammy-plugin.json +1 -1
  29. package/packages/plugins/quiz/dist/index.d.ts +4 -0
  30. package/packages/plugins/quiz/dist/index.d.ts.map +1 -0
  31. package/packages/plugins/quiz/dist/index.js +405 -0
  32. package/packages/plugins/quiz/dist/index.js.map +1 -0
  33. package/packages/plugins/quiz/package.json +20 -0
  34. package/packages/plugins/quiz/zammy-plugin.json +14 -0
package/README.md CHANGED
@@ -156,6 +156,14 @@ Everything is styled with colors, icons, and proper formatting:
156
156
  | `/history` | Command history |
157
157
  | `/env [name]` | View environment variables |
158
158
  | `/size [path]` | Analyze file/folder sizes |
159
+ | `/config` | Manage settings (show, set, reset, edit) |
160
+ | `/alias` | Persistent command aliases (add, remove, list) |
161
+ | `/datetime` | Timezone conversions, date math, formatting |
162
+ | `/text` | Text processing (sort, uniq, upper, lower, replace) |
163
+ | `/envfile` | Manage .env files (get, set, diff, template) |
164
+ | `/snippet` | Save and manage code snippets |
165
+ | `/monitor` | Live system resource monitor |
166
+ | `/ssh` | Manage SSH keys (list, generate, copy) |
159
167
  | `/exit` | Exit Zammy |
160
168
 
161
169
  ### Developer Tools
@@ -168,6 +176,11 @@ Everything is styled with colors, icons, and proper formatting:
168
176
  | `/json <action>` | JSON tools (validate, format, query) |
169
177
  | `/request <method> <url>` | Make HTTP requests (no curl needed) |
170
178
  | `/diff <file1> <file2>` | Compare two files |
179
+ | `/base <number>` | Convert between binary, octal, decimal, hex |
180
+ | `/regex <pattern> <input>` | Test regex patterns with match highlighting |
181
+ | `/cron <expression>` | Parse cron expressions, show next runs |
182
+ | `/changelog` | Generate changelog from git commits |
183
+ | `/scaffold` | Create projects from templates (node-cli, ts-lib, express-api) |
171
184
 
172
185
  ### Fun
173
186
 
@@ -180,15 +193,17 @@ Everything is styled with colors, icons, and proper formatting:
180
193
  | `/dice [n] [sides]` | Roll dice with ASCII art |
181
194
  | `/flip [count]` | Flip coins |
182
195
  | `/pomodoro` | 25/5 Pomodoro timer |
196
+ | `/motivate` | Programming quotes, tips & affirmations |
183
197
 
184
198
  ### Creative
185
199
 
186
200
  | Command | Description |
187
201
  |---------|-------------|
188
202
  | `/asciiart @<image>` | Convert images to ASCII art |
189
- | `/figlet <text>` | Generate ASCII text art |
203
+ | `/figlet <text>` | ASCII text art with gradients & animation |
190
204
  | `/lorem [n]` | Lorem ipsum generator |
191
205
  | `/color <hex>` | Color converter & preview |
206
+ | `/md <file>` | Render markdown in terminal |
192
207
 
193
208
  ### Info
194
209
 
@@ -266,6 +281,8 @@ Zammy is extensible through plugins. Install community plugins or create your ow
266
281
  | **Port Manager** | `/plugin install zammy-plugin-port` | List, check, and kill processes by port |
267
282
  | **Network Tools** | `/plugin install zammy-plugin-network` | IP lookup, ping, DNS, speed test |
268
283
  | **Docker** | `/plugin install zammy-plugin-docker` | Manage containers with pretty output |
284
+ | **Quiz** | `/plugin install zammy-plugin-quiz` | Test your dev knowledge (git, http, js, regex) |
285
+ | **HTTP Mock** | `/plugin install zammy-plugin-http-mock` | Mock HTTP server for API testing |
269
286
 
270
287
  ### Creating a Plugin
271
288
 
@@ -1,4 +1,10 @@
1
1
  #!/usr/bin/env node
2
+ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
3
+ get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
4
+ }) : x)(function(x) {
5
+ if (typeof require !== "undefined") return require.apply(this, arguments);
6
+ throw Error('Dynamic require of "' + x + '" is not supported');
7
+ });
2
8
 
3
9
  // src/ui/colors.ts
4
10
  import chalk from "chalk";
@@ -1193,6 +1199,7 @@ function detectSourceType(source) {
1193
1199
  }
1194
1200
 
1195
1201
  export {
1202
+ __require,
1196
1203
  theme,
1197
1204
  symbols,
1198
1205
  box,