@locusai/cli 0.11.1 → 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);
|
|
@@ -15672,7 +15675,6 @@ class CodexRunner {
|
|
|
15672
15675
|
"exec",
|
|
15673
15676
|
"--full-auto",
|
|
15674
15677
|
"--skip-git-repo-check",
|
|
15675
|
-
"--quiet",
|
|
15676
15678
|
"--output-last-message",
|
|
15677
15679
|
outputPath
|
|
15678
15680
|
];
|
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);
|
|
@@ -7768,7 +7771,6 @@ class CodexRunner {
|
|
|
7768
7771
|
"exec",
|
|
7769
7772
|
"--full-auto",
|
|
7770
7773
|
"--skip-git-repo-check",
|
|
7771
|
-
"--quiet",
|
|
7772
7774
|
"--output-last-message",
|
|
7773
7775
|
outputPath
|
|
7774
7776
|
];
|
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
|
}
|