@orbit-build/cli 0.3.0 → 0.3.1

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.
Files changed (2) hide show
  1. package/README.md +74 -61
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,90 +1,104 @@
1
+ <div align="center">
2
+
1
3
  # @orbit-build/cli
2
4
 
3
- Orbit is a local-first AI coding agent for the terminal, browser, and editor. It
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.
5
+ **The terminal, browser, and editor runtime for Orbit.**
6
+
7
+ [![npm](https://img.shields.io/npm/v/@orbit-build/cli?label=npm&color=426b63)](https://www.npmjs.com/package/@orbit-build/cli)
8
+ [![Node.js](https://img.shields.io/badge/Node.js-%E2%89%A520-43853d)](https://nodejs.org/)
9
+
10
+ </div>
7
11
 
8
- ## Install and start
12
+ Orbit is a local-first AI coding workspace optimized for DeepSeek V4, with
13
+ OpenAI-compatible, Anthropic, and local Ollama support. Its full-screen TUI and
14
+ authenticated local Web UI share the same project chats, model, task,
15
+ permissions, checkpoints, and cancellation state.
9
16
 
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.
17
+ ## Install
18
+
19
+ Requires Node.js 20 or newer on Windows, macOS, or Linux.
13
20
 
14
21
  ```bash
15
- node --version
16
- npm --version
17
22
  npm install --global @orbit-build/cli
18
23
  orbit login
19
24
  cd path/to/project
20
25
  orbit
21
26
  ```
22
27
 
23
- The global command works in PowerShell, Command Prompt, and POSIX shells. Open a
24
- new terminal if an existing shell has not refreshed npm's global binary path.
28
+ Use natural language to start work or type `/` in the TUI or Web UI to open the
29
+ same localized command catalog:
30
+
31
+ ```text
32
+ Review this codebase, fix the highest-impact problem, and verify it.
33
+ /model Switch model without losing the conversation
34
+ /goal ship this safely Set a durable objective
35
+ /plan Inspect the recoverable task plan
36
+ /webui Start the synchronized browser workspace
37
+ ```
38
+
39
+ `/webui` does not open a browser automatically. It presents an authenticated,
40
+ clickable local URL beside the terminal's completed message.
41
+
42
+ ## Other entry points
25
43
 
26
44
  ```bash
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
45
+ orbit "Fix the failing tests" # immediate interactive task
46
+ orbit exec "Review src" --jsonl # automation-friendly JSONL
47
+ orbit doctor --probe --deepseek # configuration + live probe
48
+ orbit bench --model deepseek-v4-flash --thinking disabled
49
+ orbit update --check # check without installing
31
50
  ```
32
51
 
33
- Inside the TUI, use `/webui` to start the synchronized browser workspace, then
34
- open the authenticated URL beside its `completed` message. Orbit does not open
35
- a browser automatically. One project maps to one codebase folder and can
36
- contain multiple persisted chats. Type `/` in either interface for the shared
37
- command catalog; use `/goal`, `/plan`, `/model`, `/compact`, `/timeline`,
38
- `/rewind`, and `/rollback` for durable work.
52
+ Orbit exits automation with `0` for completion, `2` for task or verification
53
+ failure, `4` for provider startup failure, and `130` for abort.
54
+
55
+ ## What is included
39
56
 
40
- Accepted prompts are persisted before provider work starts. After an unexpected
41
- shutdown, Orbit resumes conservatively without silently replaying unfinished
42
- side-effecting tools. The Web UI Activity view exposes bounded tool timing,
43
- risk, approval, and completion metadata without publishing raw inputs or output.
57
+ - Project-scoped chats with model-aware context compaction and conservative
58
+ crash recovery.
59
+ - Validated file, search, symbol, shell, test, Git, web, fetch, plan, and MCP
60
+ tools with bounded, redacted results.
61
+ - Workspace isolation, approval policy, checkpoints, timeline, rewind,
62
+ rollback, Changes review, verification contracts, and trace export.
63
+ - Browser image input, project switching, queued follow-ups, task and delegated
64
+ agent visibility, responsive layouts, and English/简体中文/繁體中文 controls.
65
+ - Guided Skills and workflows with templates, validation, invocation preview,
66
+ enable/disable controls, and portable catalog export.
67
+ - Secure provider profiles and authenticated model catalogs without storing
68
+ credentials in project sessions or support data.
44
69
 
45
- ## Providers and continuity
70
+ Accepted prompts are persisted before provider work begins. After an unexpected
71
+ shutdown, Orbit repairs the conversation conservatively and never silently
72
+ replays an unfinished side-effecting tool.
46
73
 
47
- `orbit login` adds, lists, and deletes saved provider profiles. Enter the exact
48
- base URL required by an OpenAI-compatible provider, including `/v1` when
49
- applicable; Orbit does not guess suffixes. Authenticated catalogs and the local
50
- Ollama API populate the model selector with models that are actually available.
74
+ ## Providers
51
75
 
52
- The official DeepSeek profile uses `https://api.deepseek.com` with
53
- `deepseek-v4-flash` for fast work and `deepseek-v4-pro` for planning, coding,
54
- and review. Model changes preserve the chat and recalculate context against the
55
- new window; automatic compaction protects continuity when the window is smaller.
76
+ `orbit login` manages DeepSeek, TokenDance, OpenAI, Anthropic,
77
+ OpenAI-compatible, and Ollama profiles. Enter the provider's exact base URL,
78
+ including `/v1` when required; Orbit does not guess URL suffixes. Switching
79
+ providers or models preserves the current chat and recalculates its available
80
+ context.
56
81
 
57
- Orbit exposes validated file, search, symbol, shell, test, Git, web, fetch, and
58
- plan tools. Arguments are checked before approval or execution, results are
59
- bounded and redacted, and connected MCP tools retain their declared schemas.
82
+ Credentials use native OS protection when available and are redacted from
83
+ configuration, diagnostics, events, sessions, and exported traces.
60
84
 
61
- ## Update, backup, cleanup, and uninstall
85
+ ## Maintain local data
62
86
 
63
87
  ```bash
64
- orbit update --check
65
- orbit update # confirm interactively
66
- orbit update --yes # explicit non-interactive install
67
88
  orbit backup create # chats, memory, commands, skills, and plans
68
- orbit backup inspect <file> # validate version, paths, sizes, and SHA-256
69
- orbit backup restore <file> # refuses existing files unless --force is used
70
- orbit clean --project # preview project-owned runtime data
71
- orbit clean --user # preview user-owned runtime data
89
+ orbit backup inspect <file> # validate version, paths, sizes, and checksums
90
+ orbit backup restore <file> # refuses existing files without --force
91
+ orbit clean --project # preview project-owned cleanup
92
+ orbit clean --user # preview user-owned cleanup
72
93
  npm uninstall --global @orbit-build/cli
73
94
  ```
74
95
 
75
- Orbit never installs an update during startup. Cleanup never removes project
76
- source, `ORBIT.md`, or `orbit.config.yaml`; deletion requires `DELETE`
77
- interactively or `--yes` in automation.
78
-
79
- Backups are portable, versioned project-data bundles. Credentials, generated
80
- indexes, caches, evaluations, temporary state, and previous exports are always
81
- excluded. Restore validates the complete bundle before writing anything.
82
-
83
- After an update is installed and verified, restart `orbit` and reopen `/webui`.
84
- The active TUI and browser server intentionally retain their true running
85
- version until that restart instead of pretending to hot-update.
96
+ Cleanup never removes source files, `ORBIT.md`, or `orbit.config.yaml`.
97
+ Interactive deletion requires `DELETE`; automation requires `--yes`. Backups
98
+ exclude credentials, generated indexes, caches, evaluations, temporary state,
99
+ and prior exports.
86
100
 
87
- ## Documentation
101
+ ## Learn more
88
102
 
89
103
  - [Product overview](https://github.com/Hephaestus-DevKit/Orbit#readme)
90
104
  - [Task-oriented user guide](https://github.com/Hephaestus-DevKit/Orbit/blob/main/docs/USER_GUIDE.md)
@@ -92,8 +106,7 @@ version until that restart instead of pretending to hot-update.
92
106
  - [Changelog](https://github.com/Hephaestus-DevKit/Orbit/blob/main/CHANGELOG.md)
93
107
 
94
108
  Use `orbit --help` or `orbit <command> --help` for the exact options installed
95
- on your machine. Automation exits with `0` for completion, `2` for task or
96
- verification failure, `4` for provider startup failure, and `130` for abort.
109
+ on your machine.
97
110
 
98
- License terms have not yet been finalized; repository visibility alone does not
111
+ License terms have not yet been finalized. Repository visibility alone does not
99
112
  grant permission to use, modify, or redistribute the source.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orbit-build/cli",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Local-first AI coding agent CLI, TUI, Web UI, diagnostics, and LSP runtime",
5
5
  "keywords": [
6
6
  "ai",