@orbit-build/cli 0.1.5 → 0.1.6
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 +61 -60
- package/dist/index.js +388 -426
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,94 +1,95 @@
|
|
|
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
|
|
9
|
-
|
|
10
|
-
## Install and open Orbit
|
|
11
|
-
|
|
12
|
-
From the Orbit workspace:
|
|
10
|
+
Requires Node.js 20 or newer.
|
|
13
11
|
|
|
14
12
|
```bash
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
13
|
+
npm install --global @orbit-build/cli
|
|
14
|
+
orbit --version
|
|
15
|
+
orbit login
|
|
18
16
|
```
|
|
19
17
|
|
|
20
|
-
|
|
18
|
+
Run `orbit` from a project folder:
|
|
21
19
|
|
|
22
20
|
```bash
|
|
23
|
-
|
|
21
|
+
cd path/to/project
|
|
24
22
|
orbit
|
|
25
23
|
```
|
|
26
24
|
|
|
27
|
-
|
|
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.
|
|
28
27
|
|
|
29
|
-
##
|
|
28
|
+
## Main workflows
|
|
30
29
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
## DeepSeek V4 defaults
|
|
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 lsp
|
|
37
|
+
```
|
|
40
38
|
|
|
41
|
-
|
|
39
|
+
Enter `/webui` inside the TUI to open Orbit's authenticated local browser UI.
|
|
40
|
+
Projects map to codebase folders and contain independent persisted chats that
|
|
41
|
+
can be resumed, archived, or deleted.
|
|
42
42
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
43
|
+
Use `/goal`, `/plan`, opt-in `/memory`, `/compact`, `/metrics`, `/model`,
|
|
44
|
+
`/timeline`, `/rewind`, and `/rollback` to manage durable work. Switching models
|
|
45
|
+
preserves the chat and recalculates context against the selected model window;
|
|
46
|
+
automatic compaction protects continuity when the new window is smaller.
|
|
47
47
|
|
|
48
|
-
|
|
48
|
+
## Providers
|
|
49
49
|
|
|
50
|
-
|
|
50
|
+
`orbit login` creates and deletes saved provider profiles. For an
|
|
51
|
+
OpenAI-compatible provider, supply its exact base URL, including `/v1` when the
|
|
52
|
+
service requires it; Orbit does not guess URL suffixes. Authenticated provider
|
|
53
|
+
catalogs and the local Ollama API populate the model selector with models that
|
|
54
|
+
are actually available.
|
|
51
55
|
|
|
52
|
-
|
|
53
|
-
|
|
56
|
+
The default official provider is DeepSeek's OpenAI-compatible endpoint at
|
|
57
|
+
`https://api.deepseek.com`:
|
|
54
58
|
|
|
55
|
-
|
|
59
|
+
| Model | Default roles | Thinking | Context | Orbit output default |
|
|
60
|
+
| ------------------- | ------------------------- | -------- | --------: | -------------------: |
|
|
61
|
+
| `deepseek-v4-flash` | default, fast, summarizer | disabled | 1,000,000 | 8,192 |
|
|
62
|
+
| `deepseek-v4-pro` | planner, coder, reviewer | high | 1,000,000 | 16,384 |
|
|
56
63
|
|
|
57
|
-
|
|
64
|
+
Orbit keeps reusable prefixes stable and reports measured DeepSeek cache
|
|
65
|
+
hit/miss usage. It does not send synthetic cache primers or promise a fixed hit
|
|
66
|
+
rate.
|
|
58
67
|
|
|
59
68
|
```bash
|
|
60
|
-
orbit doctor --deepseek
|
|
61
69
|
orbit doctor --probe --deepseek
|
|
62
|
-
orbit doctor --json
|
|
63
|
-
orbit doctor --strict
|
|
64
|
-
|
|
70
|
+
orbit doctor --json --strict
|
|
65
71
|
orbit bench --model deepseek-v4-flash --thinking disabled --repeat 3 --max-tokens 256
|
|
66
72
|
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
73
|
```
|
|
69
74
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
`doctor --json` emits a versioned, credential-safe support snapshot and redacts
|
|
73
|
-
the workspace path by default. Add `--strict` in automation to return a non-zero
|
|
74
|
-
status when the snapshot contains warnings or errors.
|
|
75
|
+
## Automation contract
|
|
75
76
|
|
|
76
|
-
|
|
77
|
+
`orbit exec "task" --jsonl` never opens interactive approval menus. Approved
|
|
78
|
+
operations continue; operations that require user approval are denied safely.
|
|
79
|
+
The final event contains the structured outcome. Exit codes are `0` for
|
|
80
|
+
completion, `2` for task or verification failure, `4` for provider startup
|
|
81
|
+
failure, and `130` for abort.
|
|
77
82
|
|
|
78
|
-
##
|
|
83
|
+
## Documentation and development
|
|
79
84
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
orbit lsp Start the local autocomplete language server
|
|
85
|
-
orbit exec Run a non-interactive task with optional JSONL events
|
|
86
|
-
```
|
|
85
|
+
- [Repository overview](https://github.com/Hephaestus-DevKit/Orbit#readme)
|
|
86
|
+
- [Maintainer guide](https://github.com/Hephaestus-DevKit/Orbit/blob/main/docs/MAINTAINER_GUIDE.md)
|
|
87
|
+
- [Security policy](https://github.com/Hephaestus-DevKit/Orbit/blob/main/SECURITY.md)
|
|
88
|
+
- [Changelog](https://github.com/Hephaestus-DevKit/Orbit/blob/main/CHANGELOG.md)
|
|
87
89
|
|
|
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.
|
|
90
|
+
From a source checkout, run `pnpm install`, `pnpm build`, and
|
|
91
|
+
`pnpm install-global`. Use `pnpm verify:cli` for focused CLI verification or
|
|
92
|
+
`pnpm verify:release` before publishing.
|
|
93
93
|
|
|
94
|
-
|
|
94
|
+
License terms have not yet been finalized; repository visibility alone does not
|
|
95
|
+
grant permission to use, modify, or redistribute the source.
|