@alook/cli 0.0.19 → 0.0.20
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/dist/session-runner.js +3 -1
- package/package.json +1 -1
package/dist/session-runner.js
CHANGED
|
@@ -16355,7 +16355,9 @@ class CodexBackend {
|
|
|
16355
16355
|
if (timedOut) {
|
|
16356
16356
|
resultStatus = "timeout";
|
|
16357
16357
|
} else if (code !== 0 && resultStatus === "completed" && !turnCompletedSuccessfully) {
|
|
16358
|
-
|
|
16358
|
+
if (!lastOutput) {
|
|
16359
|
+
resultStatus = "failed";
|
|
16360
|
+
}
|
|
16359
16361
|
}
|
|
16360
16362
|
const stderr = stderrChunks.join("").replace(/\x1b\[[0-9;]*m/g, "");
|
|
16361
16363
|
if (stderr && !lastError) {
|