gearbox-code 0.1.4 → 0.1.5
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.
- package/README.md +31 -4
- package/dist/cli.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -44,17 +44,44 @@ No provider configured? Gearbox opens a setup screen and will not run a fake mod
|
|
|
44
44
|
bun run scripts/preview.tsx
|
|
45
45
|
```
|
|
46
46
|
|
|
47
|
-
## Install
|
|
47
|
+
## Install
|
|
48
48
|
|
|
49
|
-
|
|
49
|
+
One command, no sudo, no npm global permissions:
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
curl -fsSL https://raw.githubusercontent.com/AnayGarodia/gearbox/main/install.sh | bash
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
The installer downloads the published `gearbox-code` package and creates a
|
|
56
|
+
user-owned `gearbox` command in `~/.local/bin`.
|
|
57
|
+
|
|
58
|
+
Then:
|
|
50
59
|
|
|
51
60
|
```bash
|
|
52
|
-
./install.sh # bun install + bun link → 'gearbox' on your PATH
|
|
53
61
|
gearbox auth add <api-key> # each person uses their own provider account
|
|
54
62
|
cd ~/any/project && gearbox # the current directory is the workspace
|
|
55
63
|
```
|
|
56
64
|
|
|
57
|
-
|
|
65
|
+
If `~/.local/bin` is not on your PATH, the installer prints the exact line to
|
|
66
|
+
add to your shell config.
|
|
67
|
+
|
|
68
|
+
You can still run without installing:
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
npx gearbox-code@latest
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
**Upgrade** later by rerunning the install command. `gearbox upgrade` still works
|
|
75
|
+
for git checkouts.
|
|
76
|
+
|
|
77
|
+
## Develop From Source
|
|
78
|
+
|
|
79
|
+
Requires [Bun](https://bun.sh). Clone the repo, then:
|
|
80
|
+
|
|
81
|
+
```bash
|
|
82
|
+
bun install
|
|
83
|
+
bun run src/cli.tsx
|
|
84
|
+
```
|
|
58
85
|
|
|
59
86
|
**Standalone binary** (no clone/install on the target, same OS/arch):
|
|
60
87
|
|
package/dist/cli.mjs
CHANGED
|
@@ -136099,7 +136099,7 @@ function App2({ selector: initialSelector, runner, fullscreen = false, resumeId
|
|
|
136099
136099
|
var jsx_dev_runtime13 = __toESM(require_jsx_dev_runtime(), 1);
|
|
136100
136100
|
process.env.LANG = process.env.LANG || "en_US.UTF-8";
|
|
136101
136101
|
process.env.LC_ALL = process.env.LC_ALL || "en_US.UTF-8";
|
|
136102
|
-
var VERSION16 = "0.1.
|
|
136102
|
+
var VERSION16 = "0.1.5";
|
|
136103
136103
|
var args = process.argv.slice(2);
|
|
136104
136104
|
if (args[0] === "upgrade" || args[0] === "update") {
|
|
136105
136105
|
const root2 = resolve11(import.meta.dir, "..");
|
package/package.json
CHANGED