@locusai/cli 0.11.2 → 0.11.3
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 +3 -1
- package/bin/locus.js +3 -1
- package/package.json +2 -2
package/bin/agent/worker.js
CHANGED
|
@@ -15547,6 +15547,9 @@ class CodexRunner {
|
|
|
15547
15547
|
if (code === 0) {
|
|
15548
15548
|
const result = this.readOutput(outputPath, finalOutput);
|
|
15549
15549
|
this.cleanupTempFile(outputPath);
|
|
15550
|
+
if (result && finalContent.trim().length === 0) {
|
|
15551
|
+
enqueueChunk({ type: "text_delta", content: result });
|
|
15552
|
+
}
|
|
15550
15553
|
enqueueChunk({ type: "result", content: result });
|
|
15551
15554
|
} else {
|
|
15552
15555
|
this.cleanupTempFile(outputPath);
|
|
@@ -15669,7 +15672,6 @@ class CodexRunner {
|
|
|
15669
15672
|
}
|
|
15670
15673
|
buildArgs(outputPath) {
|
|
15671
15674
|
const args = [
|
|
15672
|
-
"--quiet",
|
|
15673
15675
|
"exec",
|
|
15674
15676
|
"--full-auto",
|
|
15675
15677
|
"--skip-git-repo-check",
|
package/bin/locus.js
CHANGED
|
@@ -7643,6 +7643,9 @@ class CodexRunner {
|
|
|
7643
7643
|
if (code === 0) {
|
|
7644
7644
|
const result = this.readOutput(outputPath, finalOutput);
|
|
7645
7645
|
this.cleanupTempFile(outputPath);
|
|
7646
|
+
if (result && finalContent.trim().length === 0) {
|
|
7647
|
+
enqueueChunk({ type: "text_delta", content: result });
|
|
7648
|
+
}
|
|
7646
7649
|
enqueueChunk({ type: "result", content: result });
|
|
7647
7650
|
} else {
|
|
7648
7651
|
this.cleanupTempFile(outputPath);
|
|
@@ -7765,7 +7768,6 @@ class CodexRunner {
|
|
|
7765
7768
|
}
|
|
7766
7769
|
buildArgs(outputPath) {
|
|
7767
7770
|
const args = [
|
|
7768
|
-
"--quiet",
|
|
7769
7771
|
"exec",
|
|
7770
7772
|
"--full-auto",
|
|
7771
7773
|
"--skip-git-repo-check",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@locusai/cli",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.3",
|
|
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.3"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {}
|
|
39
39
|
}
|