@locusai/cli 0.11.4 → 0.11.5
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/bin/agent/worker.js +5 -3
- package/bin/locus.js +5 -3
- package/package.json +2 -2
package/bin/agent/worker.js
CHANGED
|
@@ -31405,9 +31405,11 @@ class GitWorkflow {
|
|
|
31405
31405
|
this.branchName = `locus/${suffix}`;
|
|
31406
31406
|
try {
|
|
31407
31407
|
this.gitExec(["checkout", this.branchName]);
|
|
31408
|
-
} catch {
|
|
31409
|
-
|
|
31410
|
-
|
|
31408
|
+
} catch {
|
|
31409
|
+
this.log(`Branch ${this.branchName} does not exist, creating it`, "info");
|
|
31410
|
+
this.gitExec(["checkout", "-b", this.branchName]);
|
|
31411
|
+
this.log(`Created branch: ${this.branchName} (from ${defaultBranch})`, "success");
|
|
31412
|
+
}
|
|
31411
31413
|
return this.branchName;
|
|
31412
31414
|
}
|
|
31413
31415
|
commitAndPush(task2) {
|
package/bin/locus.js
CHANGED
|
@@ -6603,9 +6603,11 @@ class GitWorkflow {
|
|
|
6603
6603
|
this.branchName = `locus/${suffix}`;
|
|
6604
6604
|
try {
|
|
6605
6605
|
this.gitExec(["checkout", this.branchName]);
|
|
6606
|
-
} catch {
|
|
6607
|
-
|
|
6608
|
-
|
|
6606
|
+
} catch {
|
|
6607
|
+
this.log(`Branch ${this.branchName} does not exist, creating it`, "info");
|
|
6608
|
+
this.gitExec(["checkout", "-b", this.branchName]);
|
|
6609
|
+
this.log(`Created branch: ${this.branchName} (from ${defaultBranch})`, "success");
|
|
6610
|
+
}
|
|
6609
6611
|
return this.branchName;
|
|
6610
6612
|
}
|
|
6611
6613
|
commitAndPush(task) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@locusai/cli",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.5",
|
|
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.
|
|
36
|
+
"@locusai/sdk": "^0.11.5"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {}
|
|
39
39
|
}
|