@vanthaita/orca 0.1.26 β†’ 0.1.28

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 +112 -29
  2. package/package.json +3 -2
package/README.md CHANGED
@@ -28,7 +28,11 @@ It's not just a wrapper; it's a workflow engine designed for the era of AI-assis
28
28
  ## ✨ Features
29
29
 
30
30
  - **🧠 Intelligent Commits**: Analyzes your diffs and generates conventional commit messages automatically.
31
- - **πŸ—ΊοΈ Strategic Planning**: Generates a `plan.json` for complex tasks, allowing you to review and edit the strategy before execution.
31
+ - **🌊 Workflow Orchestration**: Manage feature branches and lifecycles with `orca flow`.
32
+ - **πŸ“š Stacked Branches**: handle complex dependencies with `orca stack`.
33
+ - **🧹 History Tidying**: Clean up your commit history with interactive rebase and autosquash using `orca tidy`.
34
+ - **πŸ›‘οΈ Safety Checks**: Prevent secret leaks and run preflight checks with `orca safe`.
35
+ - **πŸ—ΊοΈ Strategic Planning**: Generates a `plan.json` for complex tasks.
32
36
  - **πŸš€ Zero-Friction Releases**: Handles the entire publish flowβ€”commits, pushes, and creates a PR with a generated summary in one command.
33
37
  - **πŸ”’ Local-First Privacy**: Your code stays on your machine. Orca interacts with AI providers securely using your own API keys.
34
38
  - **⚑ Blazing Fast**: Built with Rust for instant startup times and high performance.
@@ -39,14 +43,19 @@ Choose your preferred installation method:
39
43
 
40
44
  ### npm (Cross-platform)
41
45
 
46
+ **Recommended for global installation:**
47
+
42
48
  ```bash
43
- npm install -g orca
49
+ npm install -g @vanthaita/orca
44
50
  ```
45
51
 
52
+ > [!NOTE]
53
+ > Installing globally (`-g` flag) makes the `orca` command available system-wide. If you've previously installed via MSI or other methods, see the [Installation Notes](#-installation-notes) section below.
54
+
46
55
  ### Bun (Cross-platform)
47
56
 
48
57
  ```bash
49
- bun install -g orca
58
+ bun install -g @vanthaita/orca
50
59
  ```
51
60
 
52
61
  ### Homebrew (macOS/Linux)
@@ -76,16 +85,6 @@ curl -fsSL https://raw.githubusercontent.com/vanthaita/orca-releases/main/instal
76
85
  2. Run the installer.
77
86
  3. Open a new terminal and type `orca --help`.
78
87
 
79
- ### Portable Archive
80
-
81
- Download the appropriate archive for your platform from [Releases](https://github.com/vanthaita/orca-releases/releases/latest):
82
-
83
- - **Windows**: `orca-x86_64-pc-windows-msvc.zip`
84
- - **macOS**: `orca-x86_64-apple-darwin.tar.gz`
85
- - **Linux**: `orca-x86_64-unknown-linux-gnu.tar.gz`
86
-
87
- Extract and add to your system PATH.
88
-
89
88
  ### From Source
90
89
 
91
90
  Requirements: [Rust](https://rustup.rs/) (stable)
@@ -99,12 +98,67 @@ cd Orca/cli
99
98
  cargo install --path .
100
99
  ```
101
100
 
101
+ ## πŸ“ Installation Notes
102
+
103
+ ### Choosing the Right Installation Method
104
+
105
+ - **Windows users**: Use the [MSI Installer](#windows-msi-installer) for the best experience. It handles PATH configuration automatically.
106
+ - **npm/bun users**: Use the `-g` (global) flag to install system-wide. This makes `orca` available in any directory.
107
+ - **Homebrew/winget users**: These package managers handle global installation automatically.
108
+
109
+ ### NPM Installation Tips
110
+
111
+ > [!IMPORTANT]
112
+ > **If you've installed via MSI or another method**, installing via npm may cause conflicts. Choose one installation method and stick with it.
113
+
114
+ **Prevent automatic updates:**
115
+
116
+ By default, npm may update packages automatically depending on your configuration. To lock to a specific version:
117
+
118
+ ```bash
119
+ # Install a specific version
120
+ npm install -g @vanthaita/orca@0.1.27
121
+
122
+ # Check your installed version
123
+ orca --version
124
+ ```
125
+
126
+ **Troubleshooting npm installation:**
127
+
128
+ ```bash
129
+ # If the command is not found after installation:
130
+ which orca # macOS/Linux
131
+ where orca # Windows
132
+
133
+ # Reinstall if needed:
134
+ npm uninstall -g @vanthaita/orca
135
+ npm install -g @vanthaita/orca
136
+ ```
137
+
138
+ ### MSI and NPM Conflicts
139
+
140
+ > [!WARNING]
141
+ > If you installed Orca using the **Windows MSI installer**, do not install it again via npm. The MSI installer places the binary in your system PATH, and npm cannot update or manage it.
142
+
143
+ **If you need to switch from MSI to npm:**
144
+
145
+ 1. Uninstall Orca via Windows Settings β†’ Apps β†’ Orca
146
+ 2. Then install via npm: `npm install -g @vanthaita/orca`
147
+
148
+ **To update an MSI installation:**
149
+
150
+ Download and run the latest MSI installer from [Releases](https://github.com/vanthaita/orca-releases/releases/latest).
151
+
102
152
  ## πŸ› οΈ Usage
103
153
 
104
154
  ### 1. Setup
105
- Configure your preferred AI provider and API keys.
155
+ Configure your preferred AI provider (Gemini, OpenAI, etc.) and API keys.
106
156
 
107
157
  ```bash
158
+ # Setup with Gemini (default)
159
+ orca setup --provider gemini --api-key YOUR_API_KEY
160
+
161
+ # Setup with OpenAI
108
162
  orca setup --provider openai --api-key sk-...
109
163
  ```
110
164
 
@@ -116,20 +170,42 @@ Stage changes and generate a commit message in one go.
116
170
  orca commit
117
171
  ```
118
172
 
119
- ### 3. Advanced Planning
173
+ ### 3. Workflow Management
174
+ Start and finish features with ease.
175
+
176
+ ```bash
177
+ # Start a new feature
178
+ orca flow start --type feat --name user-auth
179
+
180
+ # ... do work ...
181
+
182
+ # Finish the feature (push and create PR)
183
+ orca flow finish --push --pr
184
+ ```
185
+
186
+ ### 4. Stacked Branches
187
+ Manage dependent branches without the headache.
188
+
189
+ ```bash
190
+ # Create a child branch
191
+ orca stack start my-child-branch
192
+
193
+ # Rebase the stack if the parent moves
194
+ orca stack rebase
195
+ ```
196
+
197
+ ### 5. Advanced Planning
120
198
  For complex features, generate a plan first.
121
199
 
122
200
  ```bash
123
- # Generate a plan based on current changes or a prompt
201
+ # Generate a plan
124
202
  orca plan --out plan.json
125
203
 
126
- # ... Edit plan.json manually if needed ...
127
-
128
204
  # Execute the plan
129
205
  orca apply --file plan.json
130
206
  ```
131
207
 
132
- ### 4. Publishing
208
+ ### 6. Publishing
133
209
  Ship your changes to GitHub without leaving the terminal.
134
210
 
135
211
  ```bash
@@ -139,16 +215,23 @@ orca publish --branch feat/my-new-feature
139
215
 
140
216
  ## ⌨️ Commands
141
217
 
142
- | Command | Description |
143
- |---------|-------------|
144
- | `orca commit` | Analyze changes and create a commit. |
145
- | `orca plan` | Generate a detailed execution plan. |
146
- | `orca apply` | Execute a plan file. |
147
- | `orca publish` | Commit, push, and create a PR. |
148
- | `orca setup` | Configure AI providers and settings. |
149
- | `orca login` | Authenticate with Orca Cloud. |
150
- | `orca doctor` | Check environment health. |
151
- | `orca update` | Update to the latest version. |
218
+ | Command | Alias | Description |
219
+ |---------|-------|-------------|
220
+ | `orca commit` | | Analyze changes and create a commit. |
221
+ | `orca flow` | `fl` | Manage feature/fix workflows (`start`, `finish`). |
222
+ | `orca stack` | `sk` | Manage stacked branches (`start`, `list`, `rebase`, `publish`). |
223
+ | `orca tidy` | `td` | Clean up history (`rebase`, `squash`, `fixup`, `amend`). |
224
+ | `orca conflict` | `cf` | Resolve conflicts (`status`, `guide`, `continue`, `abort`). |
225
+ | `orca release` | `rl` | Manage releases (`tag`, `notes`, `create`). |
226
+ | `orca safe` | | Safety checks (`scan`, `preflight`). |
227
+ | `orca git` | `g` | Enhanced git wrappers (`status`, `log`, `sync`). |
228
+ | `orca branch` | `br` | Branch management (`current`, `list`, `new`, `publish`). |
229
+ | `orca plan` | | Generate a detailed execution plan. |
230
+ | `orca apply` | | Execute a plan file. |
231
+ | `orca publish` | | Commit, push, and create a PR. |
232
+ | `orca setup` | | Configure AI providers and settings. |
233
+ | `orca update` | | Update to the latest version. |
234
+ | `orca doctor` | | Check environment health. |
152
235
 
153
236
  ## 🀝 Contributing
154
237
 
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@vanthaita/orca",
3
- "version": "0.1.26",
4
- "description": "AI-powered Git Workflow automation for modern developers",
3
+ "version": "0.1.28",
4
+ "description": "AI-powered Git workflow CLI for modern developers. Intelligent commits, workflow orchestration, and zero-friction releases.",
5
+ "preferGlobal": true,
5
6
  "scripts": {
6
7
  "postinstall": "node install.js"
7
8
  },