@locusai/cli 0.11.3 → 0.11.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.
@@ -31404,7 +31404,7 @@ class GitWorkflow {
31404
31404
  const suffix = sprintId ? sprintId.slice(0, 8) : Date.now().toString(36);
31405
31405
  this.branchName = `locus/${suffix}`;
31406
31406
  try {
31407
- this.gitExec(["branch", "-D", this.branchName]);
31407
+ this.gitExec(["checkout", this.branchName]);
31408
31408
  } catch {}
31409
31409
  this.gitExec(["checkout", "-b", this.branchName]);
31410
31410
  this.log(`Created branch: ${this.branchName} (from ${defaultBranch})`, "success");
package/bin/locus.js CHANGED
@@ -6602,7 +6602,7 @@ class GitWorkflow {
6602
6602
  const suffix = sprintId ? sprintId.slice(0, 8) : Date.now().toString(36);
6603
6603
  this.branchName = `locus/${suffix}`;
6604
6604
  try {
6605
- this.gitExec(["branch", "-D", this.branchName]);
6605
+ this.gitExec(["checkout", this.branchName]);
6606
6606
  } catch {}
6607
6607
  this.gitExec(["checkout", "-b", this.branchName]);
6608
6608
  this.log(`Created branch: ${this.branchName} (from ${defaultBranch})`, "success");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@locusai/cli",
3
- "version": "0.11.3",
3
+ "version": "0.11.4",
4
4
  "description": "CLI for Locus - AI-native project management platform",
5
5
  "type": "module",
6
6
  "bin": {
@@ -33,7 +33,7 @@
33
33
  "author": "",
34
34
  "license": "MIT",
35
35
  "dependencies": {
36
- "@locusai/sdk": "^0.11.3"
36
+ "@locusai/sdk": "^0.11.4"
37
37
  },
38
38
  "devDependencies": {}
39
39
  }