lody 0.89.1 → 0.89.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.
|
@@ -80,7 +80,7 @@ let __tla = Promise.all([
|
|
|
80
80
|
}
|
|
81
81
|
})()
|
|
82
82
|
]).then(async () => {
|
|
83
|
-
const reviewViewerVersion = "0.89.
|
|
83
|
+
const reviewViewerVersion = "0.89.3";
|
|
84
84
|
const reviewViewerSha256 = "dc9c7fc1dde49bb39c5fe86392d69219b469c0cab4fd492d8b562045e7f676e4";
|
|
85
85
|
const reviewViewerFileName = "standalone.html";
|
|
86
86
|
const DEFAULT_CDN_BASES = [
|
package/dist/index.js
CHANGED
|
@@ -4325,7 +4325,7 @@ Upgrade Node, then re-run: npx lody@latest`;
|
|
|
4325
4325
|
}
|
|
4326
4326
|
const name$2 = "lody";
|
|
4327
4327
|
const name$1 = "@lody/cli-cloud";
|
|
4328
|
-
const version$9 = "0.89.
|
|
4328
|
+
const version$9 = "0.89.3";
|
|
4329
4329
|
const type$2 = "module";
|
|
4330
4330
|
const scripts = {
|
|
4331
4331
|
"dev": "node dev.mjs",
|
|
@@ -14103,6 +14103,7 @@ Requirements:
|
|
|
14103
14103
|
"acp_auth_required",
|
|
14104
14104
|
"acp_internal_error",
|
|
14105
14105
|
"acp_upstream_api_error",
|
|
14106
|
+
"acp_provider_overloaded",
|
|
14106
14107
|
"acp_session_storage_incompatible",
|
|
14107
14108
|
"acp_resource_not_found",
|
|
14108
14109
|
"acp_request_cancelled",
|
|
@@ -134297,6 +134298,7 @@ The postId is ${normalizedFeedbackPostId}. Use the feedback-progress-reporter sk
|
|
|
134297
134298
|
return firstDataMessage ?? error2.message;
|
|
134298
134299
|
};
|
|
134299
134300
|
const isUpstreamApiACPError = (error2) => /API Error:\s*(?:500|502|503|529)\b/.test(getACPDiagnosticText(error2, error2));
|
|
134301
|
+
const isProviderOverloadedACPError = (error2) => getStringField(error2.data, "codexErrorInfo") === "serverOverloaded";
|
|
134300
134302
|
const isAcpSessionStorageIncompatibleError = (error2) => {
|
|
134301
134303
|
const diagnosticText = getACPDiagnosticText(error2);
|
|
134302
134304
|
return /session artifact[\s\S]{0,1000}uses \.jsonl(?:\.zstd)?[\s\S]{0,1000}configured for compression/iu.test(diagnosticText) || /session root[\s\S]{0,1000}contains both raw and Zstandard session artifacts/iu.test(diagnosticText);
|
|
@@ -134329,6 +134331,9 @@ The postId is ${normalizedFeedbackPostId}. Use the feedback-progress-reporter sk
|
|
|
134329
134331
|
if (isAgentDisconnectedError(error2) || isAcpSessionNotFoundError(error2)) {
|
|
134330
134332
|
return "agent_disconnected";
|
|
134331
134333
|
}
|
|
134334
|
+
if (isProviderOverloadedACPError(error2)) {
|
|
134335
|
+
return "acp_provider_overloaded";
|
|
134336
|
+
}
|
|
134332
134337
|
if (isUpstreamApiACPError(error2)) {
|
|
134333
134338
|
return "acp_upstream_api_error";
|
|
134334
134339
|
}
|
|
@@ -134359,6 +134364,9 @@ The postId is ${normalizedFeedbackPostId}. Use the feedback-progress-reporter sk
|
|
|
134359
134364
|
if (failureReason === "acp_upstream_api_error") {
|
|
134360
134365
|
return false;
|
|
134361
134366
|
}
|
|
134367
|
+
if (failureReason === "acp_provider_overloaded") {
|
|
134368
|
+
return false;
|
|
134369
|
+
}
|
|
134362
134370
|
return error2.code === ACP_ERROR_CODES.INTERNAL_ERROR;
|
|
134363
134371
|
};
|
|
134364
134372
|
const shouldRecoverStaleACPConnectionPrompt = (args2) => !args2.alreadyAttempted && !args2.hasPromptOutput && (isAgentDisconnectedError(args2.error) || isAcpSessionNotFoundError(args2.error));
|
|
@@ -221554,7 +221562,7 @@ ${page}${helpTipBottom}${choiceDescription}${ansiEscapes.cursorHide}`;
|
|
|
221554
221562
|
data = createReviewBundleSnapshot(bundle);
|
|
221555
221563
|
}
|
|
221556
221564
|
const { injectReviewSnapshot } = await import("./chunks/index-VoI6Ds2-.js");
|
|
221557
|
-
const { resolveReviewViewerTemplate } = await import("./chunks/review-viewer-
|
|
221565
|
+
const { resolveReviewViewerTemplate } = await import("./chunks/review-viewer-bQ2iglyz.js").then(async (m) => {
|
|
221558
221566
|
await m.__tla;
|
|
221559
221567
|
return m;
|
|
221560
221568
|
});
|