@locusai/cli 0.25.0 → 0.25.2

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 CHANGED
@@ -90,7 +90,7 @@ locus iterate → Agents address review feedback until ready to mer
90
90
  | Command | Alias | Description |
91
91
  |---------|-------|-------------|
92
92
  | `locus issue` | `locus i` | Create, list, show, label, and close GitHub issues |
93
- | `locus sprint` | `locus s` | Create, list, show, activate, reorder, and close sprints |
93
+ | `locus sprint` | `locus s` | Create, list, show, reorder, and close sprints |
94
94
  | `locus plan` | | AI-powered sprint planning from a goal description |
95
95
 
96
96
  ### Execution & Review
@@ -102,6 +102,7 @@ locus iterate → Agents address review feedback until ready to mer
102
102
  | `locus review` | | AI code review on pull requests |
103
103
  | `locus iterate` | | Re-execute tasks with PR feedback context |
104
104
  | `locus discuss` | | AI-powered architectural discussions |
105
+ | `locus commit` | | AI-powered commit message generation |
105
106
 
106
107
  ### Visibility
107
108
 
@@ -111,14 +112,27 @@ locus iterate → Agents address review feedback until ready to mer
111
112
  | `locus logs` | View, tail, and manage execution logs |
112
113
  | `locus artifacts` | View and manage AI-generated artifacts |
113
114
 
115
+ ### Skills
116
+
117
+ | Command | Description |
118
+ |---------|-------------|
119
+ | `locus skills` | List available agent skills |
120
+ | `locus skills list` | List remote skills from the registry |
121
+ | `locus skills list --installed` | List locally installed skills |
122
+ | `locus skills install <name>` | Install a skill from the registry |
123
+ | `locus skills remove <name>` | Uninstall a skill |
124
+ | `locus skills update [name]` | Update all or a specific skill |
125
+ | `locus skills info <name>` | Show skill details |
126
+
114
127
  ### Packages
115
128
 
116
129
  | Command | Description |
117
130
  |---------|-------------|
118
- | `locus install` | Install a community package from npm |
119
- | `locus uninstall` | Remove an installed package |
131
+ | `locus install <name>` | Install a community package from npm |
132
+ | `locus uninstall <name>` | Remove an installed package |
120
133
  | `locus packages` | List installed packages |
121
- | `locus pkg <name>` | Run a package-provided command |
134
+ | `locus pkg <name> [cmd]` | Run a package-provided command |
135
+ | `locus create <name>` | Scaffold a new community package |
122
136
 
123
137
  ### Sandbox Management
124
138
 
@@ -133,6 +147,75 @@ locus iterate → Agents address review feedback until ready to mer
133
147
  | `locus sandbox rm` | Destroy provider sandboxes and disable sandbox mode |
134
148
  | `locus sandbox status` | Show current sandbox state |
135
149
 
150
+ ## Command Details
151
+
152
+ ### `locus plan`
153
+
154
+ AI-powered sprint planning with plan management:
155
+
156
+ ```bash
157
+ locus plan "Build OAuth login" # Generate a plan from a goal
158
+ locus plan --sprint "v1.0" # Assign planned issues to a sprint
159
+ locus plan --from-issues --sprint "v1.0" # Organize existing issues into a plan
160
+ locus plan approve <id> <sprintname> # Create GitHub issues from a plan
161
+ locus plan refine <id> "add rate limiting" # Refine an existing plan with feedback
162
+ locus plan list # List saved plans
163
+ locus plan show <id> # Display a saved plan
164
+ locus plan --dry-run # Preview without creating issues
165
+ ```
166
+
167
+ ### `locus run`
168
+
169
+ Execute sprint tasks or standalone issues with AI agents:
170
+
171
+ ```bash
172
+ locus run # Run all open sprints (parallel)
173
+ locus run --sprint "v1.0" # Run a specific sprint
174
+ locus run 42 # Run a single issue (in worktree)
175
+ locus run 42 43 44 # Run multiple issues in parallel
176
+ locus run --resume # Resume an interrupted run
177
+ locus run --dry-run # Preview what would execute
178
+ locus run --model claude # Override AI model
179
+ locus run --no-sandbox # Run without Docker isolation
180
+ locus run --sandbox=require # Fail if Docker sandbox is unavailable
181
+ ```
182
+
183
+ ### `locus exec`
184
+
185
+ Interactive REPL or one-shot prompt execution:
186
+
187
+ ```bash
188
+ locus exec # Start interactive REPL
189
+ locus exec "Add error handling" # One-shot prompt
190
+ locus exec -s <session-id> # Resume a previous session
191
+ locus exec sessions list # List saved sessions
192
+ locus exec sessions show <id> # Show session details
193
+ locus exec sessions delete <id> # Delete a session
194
+ locus exec --json-stream # NDJSON output for IDE integration
195
+ ```
196
+
197
+ ### `locus commit`
198
+
199
+ AI-powered commit message generation from staged changes:
200
+
201
+ ```bash
202
+ locus commit # Generate and commit
203
+ locus commit --dry-run # Preview message without committing
204
+ locus commit --model <name> # Override AI model
205
+ ```
206
+
207
+ ### `locus skills`
208
+
209
+ Discover and install agent skills from a centralized registry:
210
+
211
+ ```bash
212
+ locus skills # List available skills
213
+ locus skills install <name> # Install a skill
214
+ locus skills remove <name> # Uninstall a skill
215
+ locus skills update # Update all installed skills
216
+ locus skills info <name> # Show skill details
217
+ ```
218
+
136
219
  ## Workflows
137
220
 
138
221
  ### Sprint: plan, execute, review, iterate
@@ -178,8 +261,12 @@ locus exec "Refactor the auth middleware to use JWT"
178
261
  | `--dry-run` | Simulate without executing |
179
262
  | `--model <name>` | Override AI model |
180
263
  | `--resume` | Resume interrupted runs |
264
+ | `--sprint <name>` | Target a specific sprint |
265
+ | `--from-issues` | Use existing issues for planning |
181
266
  | `--no-sandbox` | Disable Docker isolation |
182
267
  | `--sandbox=require` | Require Docker (fail if unavailable) |
268
+ | `--json-stream` | NDJSON output for IDE integration |
269
+ | `-s, --session-id <id>` | Resume a REPL session |
183
270
 
184
271
  ## Documentation
185
272
 
package/bin/locus.js CHANGED
@@ -3323,7 +3323,7 @@ var init_table = __esm(() => {
3323
3323
  });
3324
3324
 
3325
3325
  // src/skills/types.ts
3326
- var REGISTRY_REPO = "locusai/skills", REGISTRY_BRANCH = "main", SKILLS_LOCK_FILENAME = "skills-lock.json", CLAUDE_SKILLS_DIR = ".claude/skills", AGENTS_SKILLS_DIR = ".agents/skills";
3326
+ var REGISTRY_REPO = "asgarovf/locusai", REGISTRY_BRANCH = "master", SKILLS_LOCK_FILENAME = "skills-lock.json", CLAUDE_SKILLS_DIR = ".claude/skills", AGENTS_SKILLS_DIR = ".agents/skills";
3327
3327
 
3328
3328
  // src/skills/lock.ts
3329
3329
  import { createHash } from "node:crypto";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@locusai/cli",
3
- "version": "0.25.0",
3
+ "version": "0.25.2",
4
4
  "description": "GitHub-native AI engineering assistant",
5
5
  "type": "module",
6
6
  "bin": {
@@ -36,7 +36,7 @@
36
36
  "license": "MIT",
37
37
  "dependencies": {},
38
38
  "devDependencies": {
39
- "@locusai/sdk": "^0.25.0",
39
+ "@locusai/sdk": "^0.25.2",
40
40
  "@types/bun": "latest",
41
41
  "typescript": "^5.8.3"
42
42
  },