@orbit-build/cli 0.1.5 → 0.1.7
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 +91 -57
- package/dist/index.js +1601 -1091
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,94 +1,128 @@
|
|
|
1
1
|
# @orbit-build/cli
|
|
2
2
|
|
|
3
|
-
Orbit is a local-first AI coding agent for the terminal
|
|
3
|
+
Orbit is a local-first AI coding agent for the terminal, browser, and editor. It
|
|
4
|
+
is optimized for DeepSeek V4, supports compatible hosted providers and local
|
|
5
|
+
Ollama models, and keeps project chats, active model state, approvals, and
|
|
6
|
+
context synchronized between its TUI and Web UI.
|
|
4
7
|
|
|
5
|
-
##
|
|
8
|
+
## Install
|
|
6
9
|
|
|
7
|
-
|
|
8
|
-
- A supported model provider API key, or a local Ollama installation
|
|
10
|
+
Requires Node.js 20 or newer.
|
|
9
11
|
|
|
10
|
-
|
|
12
|
+
```bash
|
|
13
|
+
npm install --global @orbit-build/cli
|
|
14
|
+
orbit --version
|
|
15
|
+
orbit login
|
|
16
|
+
```
|
|
11
17
|
|
|
12
|
-
|
|
18
|
+
Run `orbit` from a project folder:
|
|
13
19
|
|
|
14
20
|
```bash
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
pnpm install-global
|
|
21
|
+
cd path/to/project
|
|
22
|
+
orbit
|
|
18
23
|
```
|
|
19
24
|
|
|
20
|
-
The global command works in Command Prompt and
|
|
25
|
+
The global command works in PowerShell, Command Prompt, and POSIX shells. Open a
|
|
26
|
+
new terminal if an existing shell has not refreshed npm's global binary path.
|
|
27
|
+
|
|
28
|
+
## Main workflows
|
|
21
29
|
|
|
22
30
|
```bash
|
|
23
|
-
orbit
|
|
24
|
-
orbit
|
|
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 update --check
|
|
37
|
+
orbit lsp
|
|
25
38
|
```
|
|
26
39
|
|
|
27
|
-
|
|
40
|
+
Inspect or remove Orbit-owned runtime data with `orbit clean`. It never removes
|
|
41
|
+
project source, `ORBIT.md`, or `orbit.config.yaml`:
|
|
28
42
|
|
|
29
|
-
|
|
43
|
+
```bash
|
|
44
|
+
orbit clean --project
|
|
45
|
+
orbit clean --user
|
|
46
|
+
orbit clean --all
|
|
47
|
+
orbit clean --all --yes --json
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Interactive cleanup requires the exact confirmation `DELETE`. Non-interactive
|
|
51
|
+
cleanup requires `--yes`; `--json` without `--yes` only returns the cleanup
|
|
52
|
+
preview. Uninstall the executable separately with
|
|
53
|
+
`npm uninstall --global @orbit-build/cli`.
|
|
30
54
|
|
|
31
|
-
|
|
32
|
-
- Full-screen terminal UI: [`src/tui/README.md`](src/tui/README.md)
|
|
33
|
-
- Loopback browser UI: [`src/runtime/webui/README.md`](src/runtime/webui/README.md)
|
|
34
|
-
- Repository maintenance guide: [`../../docs/MAINTAINER_GUIDE.md`](../../docs/MAINTAINER_GUIDE.md)
|
|
55
|
+
Updates are explicit and use the installed npm runtime:
|
|
35
56
|
|
|
36
|
-
|
|
37
|
-
|
|
57
|
+
```bash
|
|
58
|
+
orbit update --check # network check only
|
|
59
|
+
orbit update # check, then confirm interactively
|
|
60
|
+
orbit update --yes # explicit non-interactive install
|
|
61
|
+
orbit update --check --json
|
|
62
|
+
```
|
|
38
63
|
|
|
39
|
-
|
|
64
|
+
The TUI performs one bounded background version check per process: the cat heart
|
|
65
|
+
blinks when a newer release exists and stays steady otherwise. This check never
|
|
66
|
+
installs anything or blocks input, and Orbit never silently replaces itself.
|
|
67
|
+
The interactive `/update` command invokes this same Orbit CLI updater; it no
|
|
68
|
+
longer runs a package-manager install inside the active project. From the Web
|
|
69
|
+
UI it remains check-only to avoid interrupting the local server; the TUI can
|
|
70
|
+
confirm and install an available release.
|
|
40
71
|
|
|
41
|
-
|
|
72
|
+
Enter `/webui` inside the TUI to open Orbit's authenticated local browser UI.
|
|
73
|
+
Projects map to codebase folders and contain independent persisted chats that
|
|
74
|
+
can be resumed, archived, or deleted.
|
|
42
75
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
76
|
+
Use `/goal`, `/plan`, opt-in `/memory`, `/compact`, `/metrics`, `/model`,
|
|
77
|
+
`/timeline`, `/rewind`, and `/rollback` to manage durable work. Switching models
|
|
78
|
+
preserves the chat and recalculates context against the selected model window;
|
|
79
|
+
automatic compaction protects continuity when the new window is smaller.
|
|
47
80
|
|
|
48
|
-
|
|
81
|
+
## Providers
|
|
49
82
|
|
|
50
|
-
|
|
83
|
+
`orbit login` creates and deletes saved provider profiles. For an
|
|
84
|
+
OpenAI-compatible provider, supply its exact base URL, including `/v1` when the
|
|
85
|
+
service requires it; Orbit does not guess URL suffixes. Authenticated provider
|
|
86
|
+
catalogs and the local Ollama API populate the model selector with models that
|
|
87
|
+
are actually available.
|
|
51
88
|
|
|
52
|
-
|
|
53
|
-
|
|
89
|
+
The default official provider is DeepSeek's OpenAI-compatible endpoint at
|
|
90
|
+
`https://api.deepseek.com`:
|
|
54
91
|
|
|
55
|
-
|
|
92
|
+
| Model | Default roles | Thinking | Context | Orbit output default |
|
|
93
|
+
| ------------------- | ------------------------- | -------- | --------: | -------------------: |
|
|
94
|
+
| `deepseek-v4-flash` | default, fast, summarizer | disabled | 1,000,000 | 8,192 |
|
|
95
|
+
| `deepseek-v4-pro` | planner, coder, reviewer | high | 1,000,000 | 16,384 |
|
|
56
96
|
|
|
57
|
-
|
|
97
|
+
Orbit keeps reusable prefixes stable and reports measured DeepSeek cache
|
|
98
|
+
hit/miss usage. It does not send synthetic cache primers or promise a fixed hit
|
|
99
|
+
rate.
|
|
58
100
|
|
|
59
101
|
```bash
|
|
60
|
-
orbit doctor --deepseek
|
|
61
102
|
orbit doctor --probe --deepseek
|
|
62
|
-
orbit doctor --json
|
|
63
|
-
orbit doctor --strict
|
|
64
|
-
|
|
103
|
+
orbit doctor --json --strict
|
|
65
104
|
orbit bench --model deepseek-v4-flash --thinking disabled --repeat 3 --max-tokens 256
|
|
66
105
|
orbit bench --model deepseek-v4-pro --thinking high --repeat 3 --max-tokens 4096
|
|
67
|
-
orbit bench --model deepseek-v4-flash --thinking disabled --cache-profile --repeat 3 --min-cache-hit 75
|
|
68
106
|
```
|
|
69
107
|
|
|
70
|
-
|
|
108
|
+
## Automation contract
|
|
71
109
|
|
|
72
|
-
`
|
|
73
|
-
|
|
74
|
-
|
|
110
|
+
`orbit exec "task" --jsonl` never opens interactive approval menus. Approved
|
|
111
|
+
operations continue; operations that require user approval are denied safely.
|
|
112
|
+
The final event contains the structured outcome. Exit codes are `0` for
|
|
113
|
+
completion, `2` for task or verification failure, `4` for provider startup
|
|
114
|
+
failure, and `130` for abort.
|
|
75
115
|
|
|
76
|
-
|
|
116
|
+
## Documentation and development
|
|
77
117
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
orbit config Show resolved, redacted configuration
|
|
83
|
-
orbit init Create project ORBIT.md instructions
|
|
84
|
-
orbit lsp Start the local autocomplete language server
|
|
85
|
-
orbit exec Run a non-interactive task with optional JSONL events
|
|
86
|
-
```
|
|
118
|
+
- [Repository overview](https://github.com/Hephaestus-DevKit/Orbit#readme)
|
|
119
|
+
- [Maintainer guide](https://github.com/Hephaestus-DevKit/Orbit/blob/main/docs/MAINTAINER_GUIDE.md)
|
|
120
|
+
- [Security policy](https://github.com/Hephaestus-DevKit/Orbit/blob/main/SECURITY.md)
|
|
121
|
+
- [Changelog](https://github.com/Hephaestus-DevKit/Orbit/blob/main/CHANGELOG.md)
|
|
87
122
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
the structured outcome. Exit codes are stable: `0` completed, `2` task or
|
|
92
|
-
verification failure, `4` provider startup failure, and `130` aborted.
|
|
123
|
+
From a source checkout, run `pnpm install`, `pnpm build`, and
|
|
124
|
+
`pnpm install-global`. Use `pnpm verify:cli` for focused CLI verification or
|
|
125
|
+
`pnpm verify:release` before publishing.
|
|
93
126
|
|
|
94
|
-
|
|
127
|
+
License terms have not yet been finalized; repository visibility alone does not
|
|
128
|
+
grant permission to use, modify, or redistribute the source.
|