@orbit-build/cli 0.1.8 → 0.1.10
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 +48 -103
- package/dist/index.js +1809 -598
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,23 +1,21 @@
|
|
|
1
1
|
# @orbit-build/cli
|
|
2
2
|
|
|
3
3
|
Orbit is a local-first AI coding agent for the terminal, browser, and editor. It
|
|
4
|
-
is optimized for DeepSeek V4, supports compatible
|
|
5
|
-
Ollama models, and keeps project chats,
|
|
6
|
-
|
|
4
|
+
is optimized for DeepSeek V4, supports OpenAI-compatible providers and local
|
|
5
|
+
Ollama models, and keeps project chats, model state, approvals, and context
|
|
6
|
+
synchronized between its TUI and authenticated local Web UI.
|
|
7
7
|
|
|
8
|
-
## Install
|
|
8
|
+
## Install and start
|
|
9
9
|
|
|
10
|
-
Requires Node.js 20 or newer.
|
|
10
|
+
Requires Node.js 20 or newer. If `node` or `npm` is missing, install a current
|
|
11
|
+
Node.js LTS release from [nodejs.org](https://nodejs.org/); npm is included with
|
|
12
|
+
the standard Windows, macOS, and Linux installers.
|
|
11
13
|
|
|
12
14
|
```bash
|
|
15
|
+
node --version
|
|
16
|
+
npm --version
|
|
13
17
|
npm install --global @orbit-build/cli
|
|
14
|
-
orbit --version
|
|
15
18
|
orbit login
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
Run `orbit` from a project folder:
|
|
19
|
-
|
|
20
|
-
```bash
|
|
21
19
|
cd path/to/project
|
|
22
20
|
orbit
|
|
23
21
|
```
|
|
@@ -25,116 +23,63 @@ orbit
|
|
|
25
23
|
The global command works in PowerShell, Command Prompt, and POSIX shells. Open a
|
|
26
24
|
new terminal if an existing shell has not refreshed npm's global binary path.
|
|
27
25
|
|
|
28
|
-
## Main workflows
|
|
29
|
-
|
|
30
|
-
```bash
|
|
31
|
-
orbit # interactive full-screen TUI
|
|
32
|
-
orbit "Fix the failing tests" # one-shot task
|
|
33
|
-
orbit exec "Review src" --jsonl
|
|
34
|
-
orbit doctor --deepseek
|
|
35
|
-
orbit config
|
|
36
|
-
orbit extension .orbit/extensions/example.yaml
|
|
37
|
-
orbit update --check
|
|
38
|
-
orbit lsp
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
`orbit extension <manifest> [--json]` validates the versioned, workspace-bound
|
|
42
|
-
extension contract without installing or executing third-party code. Automatic
|
|
43
|
-
extension installation and lifecycle loading are intentionally not implied by
|
|
44
|
-
this validation command.
|
|
45
|
-
|
|
46
|
-
Inspect or remove Orbit-owned runtime data with `orbit clean`. It never removes
|
|
47
|
-
project source, `ORBIT.md`, or `orbit.config.yaml`:
|
|
48
|
-
|
|
49
|
-
```bash
|
|
50
|
-
orbit clean --project
|
|
51
|
-
orbit clean --user
|
|
52
|
-
orbit clean --all
|
|
53
|
-
orbit clean --all --yes --json
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
Interactive cleanup requires the exact confirmation `DELETE`. Non-interactive
|
|
57
|
-
cleanup requires `--yes`; `--json` without `--yes` only returns the cleanup
|
|
58
|
-
preview. Uninstall the executable separately with
|
|
59
|
-
`npm uninstall --global @orbit-build/cli`.
|
|
60
|
-
|
|
61
|
-
Updates are explicit and use the installed npm runtime:
|
|
62
|
-
|
|
63
26
|
```bash
|
|
64
|
-
orbit
|
|
65
|
-
orbit
|
|
66
|
-
orbit
|
|
67
|
-
orbit update --check
|
|
68
|
-
orbit update --channel beta --check
|
|
27
|
+
orbit "Fix the failing tests" # direct interactive task
|
|
28
|
+
orbit exec "Review src" --jsonl # automation-friendly JSONL
|
|
29
|
+
orbit doctor --probe --deepseek # configuration + live probe
|
|
30
|
+
orbit update --check # check without installing
|
|
69
31
|
```
|
|
70
32
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
longer runs a package-manager install inside the active project. From the Web
|
|
76
|
-
UI it remains check-only to avoid interrupting the local server; the TUI can
|
|
77
|
-
confirm and install an available release.
|
|
78
|
-
|
|
79
|
-
Stable uses npm's `latest` dist-tag and beta uses `next`. After installation,
|
|
80
|
-
Orbit verifies the globally installed version. A failed install or mismatched
|
|
81
|
-
version triggers a best-effort rollback to the previous exact version and an
|
|
82
|
-
actionable manual recovery command.
|
|
83
|
-
|
|
84
|
-
Enter `/webui` inside the TUI to open Orbit's authenticated local browser UI.
|
|
85
|
-
Projects map to codebase folders and contain independent persisted chats that
|
|
86
|
-
can be resumed, archived, or deleted.
|
|
33
|
+
Inside the TUI, use `/webui` for the synchronized browser workspace. One project
|
|
34
|
+
maps to one codebase folder and can contain multiple persisted chats. Type `/`
|
|
35
|
+
in either interface for the shared command catalog; use `/goal`, `/plan`,
|
|
36
|
+
`/model`, `/compact`, `/timeline`, `/rewind`, and `/rollback` for durable work.
|
|
87
37
|
|
|
88
|
-
|
|
89
|
-
`/timeline`, `/rewind`, and `/rollback` to manage durable work. Switching models
|
|
90
|
-
preserves the chat and recalculates context against the selected model window;
|
|
91
|
-
automatic compaction protects continuity when the new window is smaller.
|
|
38
|
+
## Providers and continuity
|
|
92
39
|
|
|
93
|
-
|
|
40
|
+
`orbit login` adds, lists, and deletes saved provider profiles. Enter the exact
|
|
41
|
+
base URL required by an OpenAI-compatible provider, including `/v1` when
|
|
42
|
+
applicable; Orbit does not guess suffixes. Authenticated catalogs and the local
|
|
43
|
+
Ollama API populate the model selector with models that are actually available.
|
|
94
44
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
are actually available.
|
|
45
|
+
The official DeepSeek profile uses `https://api.deepseek.com` with
|
|
46
|
+
`deepseek-v4-flash` for fast work and `deepseek-v4-pro` for planning, coding,
|
|
47
|
+
and review. Model changes preserve the chat and recalculate context against the
|
|
48
|
+
new window; automatic compaction protects continuity when the window is smaller.
|
|
100
49
|
|
|
101
|
-
|
|
102
|
-
|
|
50
|
+
Orbit exposes validated file, search, symbol, shell, test, Git, web, fetch, and
|
|
51
|
+
plan tools. Arguments are checked before approval or execution, results are
|
|
52
|
+
bounded and redacted, and connected MCP tools retain their declared schemas.
|
|
103
53
|
|
|
104
|
-
|
|
105
|
-
| ------------------- | ------------------------- | -------- | --------: | -------------------: |
|
|
106
|
-
| `deepseek-v4-flash` | default, fast, summarizer | disabled | 1,000,000 | 8,192 |
|
|
107
|
-
| `deepseek-v4-pro` | planner, coder, reviewer | high | 1,000,000 | 16,384 |
|
|
108
|
-
|
|
109
|
-
Orbit keeps reusable prefixes stable and reports measured DeepSeek cache
|
|
110
|
-
hit/miss usage. It does not send synthetic cache primers or promise a fixed hit
|
|
111
|
-
rate.
|
|
54
|
+
## Update, cleanup, and uninstall
|
|
112
55
|
|
|
113
56
|
```bash
|
|
114
|
-
orbit
|
|
115
|
-
orbit
|
|
116
|
-
orbit
|
|
117
|
-
orbit
|
|
57
|
+
orbit update --check
|
|
58
|
+
orbit update # confirm interactively
|
|
59
|
+
orbit update --yes # explicit non-interactive install
|
|
60
|
+
orbit clean --project # preview project-owned runtime data
|
|
61
|
+
orbit clean --user # preview user-owned runtime data
|
|
62
|
+
npm uninstall --global @orbit-build/cli
|
|
118
63
|
```
|
|
119
64
|
|
|
120
|
-
|
|
65
|
+
Orbit never installs an update during startup. Cleanup never removes project
|
|
66
|
+
source, `ORBIT.md`, or `orbit.config.yaml`; deletion requires `DELETE`
|
|
67
|
+
interactively or `--yes` in automation.
|
|
121
68
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
completion, `2` for task or verification failure, `4` for provider startup
|
|
126
|
-
failure, and `130` for abort.
|
|
69
|
+
After an update is installed and verified, restart `orbit` and reopen `/webui`.
|
|
70
|
+
The active TUI and browser server intentionally retain their true running
|
|
71
|
+
version until that restart instead of pretending to hot-update.
|
|
127
72
|
|
|
128
|
-
## Documentation
|
|
73
|
+
## Documentation
|
|
129
74
|
|
|
130
|
-
- [
|
|
131
|
-
- [
|
|
75
|
+
- [Product overview](https://github.com/Hephaestus-DevKit/Orbit#readme)
|
|
76
|
+
- [Task-oriented user guide](https://github.com/Hephaestus-DevKit/Orbit/blob/main/docs/USER_GUIDE.md)
|
|
132
77
|
- [Security policy](https://github.com/Hephaestus-DevKit/Orbit/blob/main/SECURITY.md)
|
|
133
78
|
- [Changelog](https://github.com/Hephaestus-DevKit/Orbit/blob/main/CHANGELOG.md)
|
|
134
79
|
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
`
|
|
80
|
+
Use `orbit --help` or `orbit <command> --help` for the exact options installed
|
|
81
|
+
on your machine. Automation exits with `0` for completion, `2` for task or
|
|
82
|
+
verification failure, `4` for provider startup failure, and `130` for abort.
|
|
138
83
|
|
|
139
84
|
License terms have not yet been finalized; repository visibility alone does not
|
|
140
85
|
grant permission to use, modify, or redistribute the source.
|