@locusai/cli 0.9.8 → 0.9.10

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/bin/locus.js +2 -1
  2. package/package.json +2 -2
package/bin/locus.js CHANGED
@@ -44009,7 +44009,8 @@ async function runCommand(args) {
44009
44009
  const provider = resolveProvider3(values.provider || settings.provider);
44010
44010
  const model = values.model || settings.model || DEFAULT_MODEL[provider];
44011
44011
  const apiBase = values["api-url"] || settings.apiUrl || "https://api.locusai.dev/api";
44012
- const agentCount = Math.min(Math.max(Number.parseInt(values.agents, 10) || 1, 1), 5);
44012
+ const parsedAgents = Number.parseInt(values.agents, 10);
44013
+ const agentCount = Math.min(Math.max(parsedAgents || settings.agentCount || 1, 1), 5);
44013
44014
  const useWorktrees = values.worktree ?? true;
44014
44015
  const autoPush = values["auto-push"] ?? true;
44015
44016
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@locusai/cli",
3
- "version": "0.9.8",
3
+ "version": "0.9.10",
4
4
  "description": "CLI for Locus - AI-native project management platform",
5
5
  "type": "module",
6
6
  "bin": {
@@ -32,7 +32,7 @@
32
32
  "author": "",
33
33
  "license": "MIT",
34
34
  "dependencies": {
35
- "@locusai/sdk": "^0.9.8"
35
+ "@locusai/sdk": "^0.9.10"
36
36
  },
37
37
  "devDependencies": {}
38
38
  }