@locusai/sdk 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.
@@ -1776,7 +1776,7 @@ class GitWorkflow {
1776
1776
  const suffix = sprintId ? sprintId.slice(0, 8) : Date.now().toString(36);
1777
1777
  this.branchName = `locus/${suffix}`;
1778
1778
  try {
1779
- this.gitExec(["branch", "-D", this.branchName]);
1779
+ this.gitExec(["checkout", this.branchName]);
1780
1780
  } catch {}
1781
1781
  this.gitExec(["checkout", "-b", this.branchName]);
1782
1782
  this.log(`Created branch: ${this.branchName} (from ${defaultBranch})`, "success");
@@ -1776,7 +1776,7 @@ class GitWorkflow {
1776
1776
  const suffix = sprintId ? sprintId.slice(0, 8) : Date.now().toString(36);
1777
1777
  this.branchName = `locus/${suffix}`;
1778
1778
  try {
1779
- this.gitExec(["branch", "-D", this.branchName]);
1779
+ this.gitExec(["checkout", this.branchName]);
1780
1780
  } catch {}
1781
1781
  this.gitExec(["checkout", "-b", this.branchName]);
1782
1782
  this.log(`Created branch: ${this.branchName} (from ${defaultBranch})`, "success");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@locusai/sdk",
3
- "version": "0.11.3",
3
+ "version": "0.11.4",
4
4
  "type": "module",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -30,7 +30,7 @@
30
30
  "clean": "rm -rf node_modules"
31
31
  },
32
32
  "dependencies": {
33
- "@locusai/shared": "^0.11.3",
33
+ "@locusai/shared": "^0.11.4",
34
34
  "axios": "^1.13.2",
35
35
  "events": "^3.3.0",
36
36
  "globby": "^14.0.2"