replicas-cli 0.3.34 → 0.3.36
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 -7
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -22349,14 +22349,11 @@ var CLIENT_MESSAGE_SOURCES = ["web", "desktop", "mobile", "tui"];
|
|
|
22349
22349
|
var MESSAGE_SOURCES = [...CLIENT_MESSAGE_SOURCES, ...WORKSPACE_SOURCES];
|
|
22350
22350
|
var AUTOMATED_SOURCES = ["api", "automation"];
|
|
22351
22351
|
var AUTOMATED_SOURCES_SQL = AUTOMATED_SOURCES.map((s) => `'${s}'`).join(", ");
|
|
22352
|
-
var DEVELOPER_SEAT_MINUTES = 150 * 60;
|
|
22353
|
-
var DEVELOPER_SEAT_HOURS = DEVELOPER_SEAT_MINUTES / 60;
|
|
22354
22352
|
var PLANS = {
|
|
22355
22353
|
trial: {
|
|
22356
22354
|
id: "trial",
|
|
22357
22355
|
name: "Free Trial",
|
|
22358
22356
|
monthlyPrice: 0,
|
|
22359
|
-
seatPriceCents: 0,
|
|
22360
22357
|
features: [
|
|
22361
22358
|
`${TRIAL_DURATION_DAYS} days free, no credit card required`,
|
|
22362
22359
|
`$${TRIAL_CREDIT_CENTS / 100} of usage across every workspace`,
|
|
@@ -22370,7 +22367,6 @@ var PLANS = {
|
|
|
22370
22367
|
id: "developer",
|
|
22371
22368
|
name: "Developer",
|
|
22372
22369
|
monthlyPrice: 50,
|
|
22373
|
-
seatPriceCents: 5e3,
|
|
22374
22370
|
features: [
|
|
22375
22371
|
"$50 of included usage every month",
|
|
22376
22372
|
"Usage beyond that billed at the overage rate",
|
|
@@ -22387,7 +22383,6 @@ var PLANS = {
|
|
|
22387
22383
|
id: "team",
|
|
22388
22384
|
name: "Team",
|
|
22389
22385
|
monthlyPrice: 200,
|
|
22390
|
-
seatPriceCents: 2e4,
|
|
22391
22386
|
features: [
|
|
22392
22387
|
"$200+ of included usage every month, in $100 steps",
|
|
22393
22388
|
"Usage beyond that billed at the overage rate",
|
|
@@ -22402,7 +22397,6 @@ var PLANS = {
|
|
|
22402
22397
|
id: "enterprise",
|
|
22403
22398
|
name: "Enterprise",
|
|
22404
22399
|
monthlyPrice: 0,
|
|
22405
|
-
seatPriceCents: 0,
|
|
22406
22400
|
features: [
|
|
22407
22401
|
"Unlimited manual workspace minutes",
|
|
22408
22402
|
"Unlimited automated workspace minutes",
|
|
@@ -22892,6 +22886,7 @@ var CODEX_TURN_EVENT_TYPE = "codex-turn";
|
|
|
22892
22886
|
var CODEX_QUOTA_STATUS_EVENT_TYPE = "codex-quota-status";
|
|
22893
22887
|
var CHAT_INTERRUPTED_EVENT_TYPE = "replicas-interrupted";
|
|
22894
22888
|
var CHAT_MESSAGE_REJECTED_EVENT_TYPE = "replicas-message-rejected";
|
|
22889
|
+
var CHAT_TURN_LOST_EVENT_TYPE = "replicas-turn-lost";
|
|
22895
22890
|
var AUTH_FALLBACK_EVENT_TYPE = "auth-fallback";
|
|
22896
22891
|
function coerceAuthFallbackPayload(payload) {
|
|
22897
22892
|
const { provider: provider2, reason, exhaustedMethod, exhaustedScope, candidateMethod, candidateScope, status, detail } = payload;
|
|
@@ -28088,6 +28083,15 @@ function applyEngineNotices(messages, events) {
|
|
|
28088
28083
|
});
|
|
28089
28084
|
return;
|
|
28090
28085
|
}
|
|
28086
|
+
if (event.type === CHAT_TURN_LOST_EVENT_TYPE) {
|
|
28087
|
+
notices.push({
|
|
28088
|
+
id: `turn-lost-${event.timestamp}-${index}`,
|
|
28089
|
+
type: "error",
|
|
28090
|
+
message: "The agent stopped because the workspace restarted. Send a message to continue.",
|
|
28091
|
+
timestamp: event.timestamp
|
|
28092
|
+
});
|
|
28093
|
+
return;
|
|
28094
|
+
}
|
|
28091
28095
|
if (event.type !== AUTH_FALLBACK_EVENT_TYPE) return;
|
|
28092
28096
|
const payload = coerceAuthFallbackPayload(event.payload);
|
|
28093
28097
|
if (!payload) return;
|
|
@@ -28434,7 +28438,7 @@ var headlessAgentRequestSchema = external_exports.object({
|
|
|
28434
28438
|
});
|
|
28435
28439
|
|
|
28436
28440
|
// ../shared/src/cli-version.ts
|
|
28437
|
-
var CLI_VERSION = "0.3.
|
|
28441
|
+
var CLI_VERSION = "0.3.36";
|
|
28438
28442
|
|
|
28439
28443
|
// ../shared/src/version.ts
|
|
28440
28444
|
function compareVersions(v1, v2) {
|