@austinthesing/magic-shell 0.2.1 → 0.2.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 (5) hide show
  1. package/README.md +9 -14
  2. package/dist/cli.js +14609 -14663
  3. package/dist/index.js +755 -23492
  4. package/dist/tui.js +14609 -14663
  5. package/package.json +2 -4
package/README.md CHANGED
@@ -67,7 +67,7 @@ export OPENCODE_ZEN_API_KEY="your-key-here"
67
67
 
68
68
  ## Usage
69
69
 
70
- Magic Shell can be invoked using `magic-shell`, `msh`, or `ms`. For TUI mode directly, use `mshell`.
70
+ Use `msh` for CLI mode and `mshell` for TUI mode.
71
71
 
72
72
  ### Basic Commands
73
73
 
@@ -83,8 +83,6 @@ msh -x "show disk usage"
83
83
  msh -n "delete all node_modules folders"
84
84
 
85
85
  # Launch interactive TUI mode
86
- msh -i
87
- # or directly with
88
86
  mshell
89
87
  ```
90
88
 
@@ -95,7 +93,7 @@ mshell
95
93
  | `msh <query>` | Translate query to command and print it |
96
94
  | `msh -x <query>` | Translate and execute the command |
97
95
  | `msh -n <query>` | Dry run - show command with safety analysis |
98
- | `msh -i, --interactive` | Launch interactive TUI mode |
96
+ | `mshell` | Launch interactive TUI mode |
99
97
  | `msh --setup` | Configure API keys and provider |
100
98
  | `msh --models` | List available models |
101
99
  | `msh --model <id>` | Set default model |
@@ -135,7 +133,7 @@ msh "compress this folder to a zip file" | pbcopy
135
133
 
136
134
  ## Interactive TUI Mode
137
135
 
138
- Launch with `mshell` or `msh -i` for a full interactive experience.
136
+ Launch with `mshell` for a full interactive experience.
139
137
 
140
138
  ### Keyboard Shortcuts
141
139
 
@@ -176,16 +174,16 @@ You can also type commands directly in the TUI:
176
174
  OpenCode Zen provides curated models optimized for coding tasks, including **free models**.
177
175
 
178
176
  **Free Models:**
177
+ - `big-pickle` - Stealth model (default)
179
178
  - `grok-code` - xAI's Grok Code Fast 1
180
179
  - `glm-4.7-free` - GLM 4.7
181
180
  - `minimax-m2.1-free` - MiniMax M2.1
182
- - `big-pickle` - Stealth model
183
181
 
184
182
  **Premium Models:**
185
183
  - Claude Sonnet 4.5, Claude Opus 4.5
186
- - Gemini 3 Flash, Gemini 3 Pro
187
184
  - Kimi K2, Kimi K2 Thinking
188
185
  - Qwen3 Coder 480B
186
+ - GLM 4.6
189
187
  - And more...
190
188
 
191
189
  Get your API key at: https://opencode.ai/auth
@@ -197,13 +195,11 @@ Access to a wide variety of models from different providers.
197
195
  **Free Models:**
198
196
  - MiMo V2 Flash
199
197
  - DeepSeek V3
200
- - Gemini 2.5 Flash
201
198
 
202
199
  **Premium Models:**
203
200
  - Claude Sonnet 4.5, Claude Opus 4.5
204
- - GPT 5.2 Codex
205
- - Gemini 2.5 Pro
206
201
  - DeepSeek R1
202
+ - GLM 4.7
207
203
  - And many more...
208
204
 
209
205
  Get your API key at: https://openrouter.ai/keys
@@ -246,7 +242,7 @@ Configuration is stored in `~/.magic-shell/config.json`.
246
242
  ```json
247
243
  {
248
244
  "provider": "opencode-zen",
249
- "defaultModel": "gemini-3-flash",
245
+ "defaultModel": "big-pickle",
250
246
  "safetyLevel": "moderate",
251
247
  "dryRunByDefault": false,
252
248
  "repoContext": false,
@@ -356,13 +352,12 @@ src/
356
352
  ```json
357
353
  {
358
354
  "name": "@austinthesing/magic-shell",
359
- "version": "0.1.0",
355
+ "version": "0.2.2",
360
356
  "description": "Natural language to terminal commands with safety features",
361
357
  "main": "dist/index.js",
362
358
  "bin": {
363
- "magic-shell": "./dist/index.js",
364
359
  "msh": "./dist/index.js",
365
- "ms": "./dist/index.js"
360
+ "mshell": "./dist/tui.js"
366
361
  },
367
362
  "files": [
368
363
  "dist",