@locusai/cli 0.26.2 → 0.26.4

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 (3) hide show
  1. package/README.md +48 -0
  2. package/bin/locus.js +15 -15
  3. package/package.json +3 -3
package/README.md CHANGED
@@ -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 memory` | | List, search, and manage structured project memory |
105
106
  | `locus commit` | | AI-powered commit message generation |
106
107
 
107
108
  ### Visibility
@@ -134,6 +135,20 @@ locus iterate → Agents address review feedback until ready to mer
134
135
  | `locus pkg <name> [cmd]` | Run a package-provided command |
135
136
  | `locus create <name>` | Scaffold a new community package |
136
137
 
138
+ ### MCP Server Management
139
+
140
+ | Command | Description |
141
+ |---------|-------------|
142
+ | `locus mcp add <template>` | Add a server from a built-in template |
143
+ | `locus mcp add-custom` | Add a custom MCP server |
144
+ | `locus mcp remove <name>` | Remove an MCP server |
145
+ | `locus mcp list` | List configured servers |
146
+ | `locus mcp sync` | Sync config to provider-specific formats |
147
+ | `locus mcp test <name>` | Test an MCP server connection |
148
+ | `locus mcp status` | Show config and provider sync status |
149
+ | `locus mcp enable <name>` | Enable a server |
150
+ | `locus mcp disable <name>` | Disable a server |
151
+
137
152
  ### Sandbox Management
138
153
 
139
154
  | Command | Description |
@@ -204,6 +219,39 @@ locus commit --dry-run # Preview message without committing
204
219
  locus commit --model <name> # Override AI model
205
220
  ```
206
221
 
222
+ ### `locus memory`
223
+
224
+ Inspect, search, and manage structured project memory:
225
+
226
+ ```bash
227
+ locus memory list # List all memory entries
228
+ locus memory list --category architecture # Filter by category
229
+ locus memory search "auth" # Search entries by keyword
230
+ locus memory stats # Show per-category statistics
231
+ locus memory reset --confirm # Clear all entries
232
+ ```
233
+
234
+ ### `locus mcp`
235
+
236
+ Multi-provider MCP server management — configure, sync, and manage MCP servers across AI coding agents:
237
+
238
+ ```bash
239
+ locus mcp add github # Add from built-in template
240
+ locus mcp add postgres --name mydb # Add with custom name
241
+ locus mcp add-custom --name api --transport stdio --command node --args server.js
242
+ locus mcp remove mydb # Remove a server
243
+ locus mcp list # List configured servers
244
+ locus mcp list --json # JSON output
245
+ locus mcp sync # Sync to provider configs
246
+ locus mcp sync --provider claude # Sync to specific provider
247
+ locus mcp test mydb # Test server connection
248
+ locus mcp status # Show config and sync status
249
+ locus mcp enable mydb # Enable a server
250
+ locus mcp disable mydb # Disable a server
251
+ ```
252
+
253
+ Built-in templates: `github`, `postgres`, `filesystem`, `fetch`, `memory`.
254
+
207
255
  ### `locus skills`
208
256
 
209
257
  Discover and install agent skills from a centralized registry:
package/bin/locus.js CHANGED
@@ -37631,11 +37631,6 @@ var init_store = __esm(() => {
37631
37631
  EMPTY_CONFIG = { servers: {} };
37632
37632
  });
37633
37633
 
37634
- // ../mcp/src/lifecycle/health.ts
37635
- var init_health = __esm(() => {
37636
- init_test_client();
37637
- });
37638
-
37639
37634
  // ../mcp/src/registry/templates.ts
37640
37635
  function getTemplate(name) {
37641
37636
  return TEMPLATES.get(name);
@@ -37964,9 +37959,9 @@ async function addCommand(projectRoot, args) {
37964
37959
  `);
37965
37960
  }
37966
37961
  var init_add = __esm(() => {
37967
- init_store();
37968
- init_test_client();
37969
37962
  init_sync();
37963
+ init_test_client();
37964
+ init_store();
37970
37965
  init_templates();
37971
37966
  });
37972
37967
 
@@ -38225,9 +38220,9 @@ async function addCustomCommand(projectRoot, args) {
38225
38220
  `);
38226
38221
  }
38227
38222
  var init_add_custom = __esm(() => {
38228
- init_store();
38229
- init_test_client();
38230
38223
  init_sync();
38224
+ init_test_client();
38225
+ init_store();
38231
38226
  });
38232
38227
 
38233
38228
  // ../mcp/src/commands/list.ts
@@ -38352,8 +38347,8 @@ async function removeCommand(projectRoot, args) {
38352
38347
  `);
38353
38348
  }
38354
38349
  var init_remove = __esm(() => {
38355
- init_store();
38356
38350
  init_sync();
38351
+ init_store();
38357
38352
  });
38358
38353
 
38359
38354
  // ../mcp/src/commands/status.ts
@@ -38746,6 +38741,11 @@ var init_toggle = __esm(() => {
38746
38741
  init_store();
38747
38742
  });
38748
38743
 
38744
+ // ../mcp/src/lifecycle/health.ts
38745
+ var init_health = __esm(() => {
38746
+ init_test_client();
38747
+ });
38748
+
38749
38749
  // ../mcp/src/index.ts
38750
38750
  var init_src = __esm(() => {
38751
38751
  init_errors();
@@ -38753,11 +38753,6 @@ var init_src = __esm(() => {
38753
38753
  init_codex2();
38754
38754
  init_sync();
38755
38755
  init_test_client();
38756
- init_schema();
38757
- init_store();
38758
- init_errors();
38759
- init_health();
38760
- init_templates();
38761
38756
  init_add();
38762
38757
  init_add_custom();
38763
38758
  init_list();
@@ -38766,6 +38761,11 @@ var init_src = __esm(() => {
38766
38761
  init_sync2();
38767
38762
  init_test();
38768
38763
  init_toggle();
38764
+ init_schema();
38765
+ init_store();
38766
+ init_errors();
38767
+ init_health();
38768
+ init_templates();
38769
38769
  });
38770
38770
 
38771
38771
  // src/commands/mcp.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@locusai/cli",
3
- "version": "0.26.2",
3
+ "version": "0.26.4",
4
4
  "description": "GitHub-native AI engineering assistant",
5
5
  "type": "module",
6
6
  "bin": {
@@ -36,8 +36,8 @@
36
36
  "license": "MIT",
37
37
  "dependencies": {},
38
38
  "devDependencies": {
39
- "@locusai/locus-mcp": "^0.26.2",
40
- "@locusai/sdk": "^0.26.2",
39
+ "@locusai/locus-mcp": "^0.26.4",
40
+ "@locusai/sdk": "^0.26.4",
41
41
  "@types/bun": "latest",
42
42
  "typescript": "^5.8.3"
43
43
  },