@alook/cli 0.0.30 → 0.0.31
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 +4 -2
- package/package.json +1 -1
package/dist/session-runner.js
CHANGED
|
@@ -16747,8 +16747,10 @@ class OpenCodeBackend {
|
|
|
16747
16747
|
clearTimeout(timeoutTimer);
|
|
16748
16748
|
if (timedOut) {
|
|
16749
16749
|
resultStatus = "timeout";
|
|
16750
|
-
} else if (code !== 0 && resultStatus === "completed") {
|
|
16751
|
-
|
|
16750
|
+
} else if (code !== 0 && resultStatus === "completed" && !turnDoneTriggered) {
|
|
16751
|
+
if (!lastOutput) {
|
|
16752
|
+
resultStatus = "failed";
|
|
16753
|
+
}
|
|
16752
16754
|
}
|
|
16753
16755
|
const stderr = stderrChunks.join("");
|
|
16754
16756
|
if (stderr && !lastError) {
|