replicas-cli 0.3.34 → 0.3.35
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/index.cjs +11 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -22892,6 +22892,7 @@ var CODEX_TURN_EVENT_TYPE = "codex-turn";
|
|
|
22892
22892
|
var CODEX_QUOTA_STATUS_EVENT_TYPE = "codex-quota-status";
|
|
22893
22893
|
var CHAT_INTERRUPTED_EVENT_TYPE = "replicas-interrupted";
|
|
22894
22894
|
var CHAT_MESSAGE_REJECTED_EVENT_TYPE = "replicas-message-rejected";
|
|
22895
|
+
var CHAT_TURN_LOST_EVENT_TYPE = "replicas-turn-lost";
|
|
22895
22896
|
var AUTH_FALLBACK_EVENT_TYPE = "auth-fallback";
|
|
22896
22897
|
function coerceAuthFallbackPayload(payload) {
|
|
22897
22898
|
const { provider: provider2, reason, exhaustedMethod, exhaustedScope, candidateMethod, candidateScope, status, detail } = payload;
|
|
@@ -28088,6 +28089,15 @@ function applyEngineNotices(messages, events) {
|
|
|
28088
28089
|
});
|
|
28089
28090
|
return;
|
|
28090
28091
|
}
|
|
28092
|
+
if (event.type === CHAT_TURN_LOST_EVENT_TYPE) {
|
|
28093
|
+
notices.push({
|
|
28094
|
+
id: `turn-lost-${event.timestamp}-${index}`,
|
|
28095
|
+
type: "error",
|
|
28096
|
+
message: "The agent stopped because the workspace restarted. Send a message to continue.",
|
|
28097
|
+
timestamp: event.timestamp
|
|
28098
|
+
});
|
|
28099
|
+
return;
|
|
28100
|
+
}
|
|
28091
28101
|
if (event.type !== AUTH_FALLBACK_EVENT_TYPE) return;
|
|
28092
28102
|
const payload = coerceAuthFallbackPayload(event.payload);
|
|
28093
28103
|
if (!payload) return;
|
|
@@ -28434,7 +28444,7 @@ var headlessAgentRequestSchema = external_exports.object({
|
|
|
28434
28444
|
});
|
|
28435
28445
|
|
|
28436
28446
|
// ../shared/src/cli-version.ts
|
|
28437
|
-
var CLI_VERSION = "0.3.
|
|
28447
|
+
var CLI_VERSION = "0.3.35";
|
|
28438
28448
|
|
|
28439
28449
|
// ../shared/src/version.ts
|
|
28440
28450
|
function compareVersions(v1, v2) {
|