bitsrun 0.5.43 → 0.5.45
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 +27 -3
- package/dist/bitsrun.js +316 -298
- package/dist/npm.js +16 -0
- package/package.json +7 -2
package/README.md
CHANGED
|
@@ -15,6 +15,10 @@ The install script picks the right binary for your computer, checks its SHA-256
|
|
|
15
15
|
`~/.local/bin` (Windows: `%LOCALAPPDATA%\bitsrun\bin`, added to your PATH). Set `BITSRUN_INSTALL_DIR` to choose
|
|
16
16
|
another folder. Update any time with `bitsrun upgrade`. Alpine needs `apk add libstdc++ libgcc` first.
|
|
17
17
|
|
|
18
|
+
With npm, the first run downloads the same signed binary for your computer into your cache folder and checks for a newer
|
|
19
|
+
release once a day, so it stays current without `npm update`. Where there is no binary for your computer, or the download is
|
|
20
|
+
blocked, the JavaScript copy in the package runs instead (`BITSRUN_NPM_JS=1` always uses it).
|
|
21
|
+
|
|
18
22
|
## Sign in
|
|
19
23
|
`bitsrun login` opens bitsrun.com in your browser. Sign in, click **Allow**, and the terminal picks up the session.
|
|
20
24
|
Over SSH, or with `--no-browser`, it prints a link instead: open it anywhere, click Allow and paste the code it shows.
|
|
@@ -29,13 +33,33 @@ See and sign out every signed-in CLI under **API keys** in your dashboard, or ru
|
|
|
29
33
|
| `bitsrun hf-token [show \| set \| rm]` | The Hugging Face token for gated and private repos: `set` asks for it hidden, or reads it from a pipe (`echo "$HF_TOKEN" \| bitsrun hf-token set`); never an argument |
|
|
30
34
|
| `bitsrun upload <path>` | Upload a `.gguf` file or a safetensors model folder to deploy later (counts toward your plan's storage) |
|
|
31
35
|
| `bitsrun uploads [ls \| rm <upload> [--yes]]` | List uploads, or delete one no endpoint uses |
|
|
32
|
-
| `bitsrun ls` / `status <endpoint>` / `update <endpoint>` / `rm <endpoint
|
|
36
|
+
| `bitsrun ls` / `status <endpoint>` / `update <endpoint>` / `rm <endpoint> [--yes]` | Manage endpoints, by name or id (`-y` is short for `--yes`) |
|
|
33
37
|
| `bitsrun update <endpoint> --always-on on\|off` | Keep one replica running (no cold starts), billed per second at the always-on rate; needs one day of credit to turn on |
|
|
38
|
+
| `bitsrun update <endpoint> --priority on\|off` | Cold starts launch on a dedicated GPU at once, 1.7 times the rate, from the next start |
|
|
39
|
+
| `bitsrun retry <endpoint>` | Restart copying an endpoint's model after the copy failed or stalled |
|
|
34
40
|
| `bitsrun size <model>` | Which GPU a model needs, before you deploy |
|
|
35
41
|
| `bitsrun keys` / `keys create <name> [--endpoint]` / `keys revoke <key>` | API keys (secrets are shown once) |
|
|
36
42
|
| `bitsrun usage [--from] [--to]` | Running time and cost for a period |
|
|
37
43
|
| `bitsrun whoami` | Plan, balance and endpoint count |
|
|
38
|
-
| `bitsrun
|
|
44
|
+
| `bitsrun logout` | Sign out this computer |
|
|
45
|
+
| `bitsrun upgrade` | Update the CLI now (npm installs also update themselves once a day) |
|
|
46
|
+
| `bitsrun licenses` | The open source licenses of the libraries bitsrun includes |
|
|
47
|
+
| `bitsrun mcp` | List, add, remove or import MCP servers for the agent (`bitsrun mcp --help`) |
|
|
48
|
+
| `bitsrun browser` | The agent's browser and saved secrets (`bitsrun browser --help`) |
|
|
49
|
+
|
|
50
|
+
## The bitsrun agent
|
|
51
|
+
Run `bitsrun` (or `bitsrun code`) in a project folder to code with any model: a BitsRun endpoint, another provider, or a model
|
|
52
|
+
on this computer. `bitsrun code connect` sets up a model without starting a session.
|
|
53
|
+
|
|
54
|
+
| Option | What it does |
|
|
55
|
+
|---|---|
|
|
56
|
+
| `-c`, `--continue` | Continue the newest session in this folder |
|
|
57
|
+
| `-r`, `--resume` | Pick an earlier session to continue |
|
|
58
|
+
| `-p "<task>"` | Run one task without questions, for scripts and CI (`--output json`, `--mode`, `--trust-project`) |
|
|
59
|
+
| `--mode auto` | Edits, commands, pages on this computer and reads outside the project run without asking; it still asks for credentials, pushes, publishes, deletes outside the project and system changes, and "don't ask again" covers most of those |
|
|
60
|
+
| `--allow-sleep` | Let the computer sleep while a task runs (by default bitsrun keeps it awake during a task, never while it waits for you; `"preventSleep": false` in settings.json) |
|
|
61
|
+
|
|
62
|
+
`bitsrun code --help` lists every option. Guide: https://bitsrun.com/docs/agent/
|
|
39
63
|
|
|
40
64
|
Add `--json` to any command for machine-readable output. In CI, set `BITSRUN_TOKEN` to a CLI session token.
|
|
41
65
|
|
|
@@ -43,4 +67,4 @@ Help: support@bitsrun.com
|
|
|
43
67
|
|
|
44
68
|
## License
|
|
45
69
|
|
|
46
|
-
Free to use, closed source: see
|
|
70
|
+
Free to use, closed source: see the LICENSE.md file in this package and the [BitsRun Terms](https://bitsrun.com/terms/), section 6. `bitsrun licenses` lists the open source libraries it includes.
|