@austinthesing/magic-shell 0.2.0 → 0.2.2

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 (6) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +6 -9
  3. package/dist/cli.js +14794 -14767
  4. package/dist/index.js +1147 -23815
  5. package/dist/tui.js +23450 -0
  6. package/package.json +4 -5
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2026 Magic Shell Contributors
3
+ Copyright (c) 2026 austin-thesing and Magic Shell Contributors
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
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`.
70
+ Use `msh` for CLI mode and `mshell` for TUI mode.
71
71
 
72
72
  ### Basic Commands
73
73
 
@@ -83,9 +83,7 @@ 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 just
88
- msh
86
+ mshell
89
87
  ```
90
88
 
91
89
  ### Command Reference
@@ -95,7 +93,7 @@ msh
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 `msh` 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
 
@@ -356,13 +354,12 @@ src/
356
354
  ```json
357
355
  {
358
356
  "name": "@austinthesing/magic-shell",
359
- "version": "0.1.0",
357
+ "version": "0.2.2",
360
358
  "description": "Natural language to terminal commands with safety features",
361
359
  "main": "dist/index.js",
362
360
  "bin": {
363
- "magic-shell": "./dist/index.js",
364
361
  "msh": "./dist/index.js",
365
- "ms": "./dist/index.js"
362
+ "mshell": "./dist/tui.js"
366
363
  },
367
364
  "files": [
368
365
  "dist",