replicas-cli 0.3.10 → 0.3.12
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 +15 -5
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -22379,7 +22379,7 @@ var PLANS = {
|
|
|
22379
22379
|
"Higher API rate limits",
|
|
22380
22380
|
"Mobile app",
|
|
22381
22381
|
"Access to a static egress IP",
|
|
22382
|
-
"Auto-upgraded
|
|
22382
|
+
"Auto-upgraded to Large workspaces (4 vCPU, 16 GB memory)",
|
|
22383
22383
|
"Shared Slack support channel"
|
|
22384
22384
|
]
|
|
22385
22385
|
},
|
|
@@ -22876,6 +22876,7 @@ var CODEX_ITEM_PARTIAL_EVENT_TYPE = "codex-item-partial";
|
|
|
22876
22876
|
var CODEX_TURN_EVENT_TYPE = "codex-turn";
|
|
22877
22877
|
var CODEX_QUOTA_STATUS_EVENT_TYPE = "codex-quota-status";
|
|
22878
22878
|
var CHAT_INTERRUPTED_EVENT_TYPE = "replicas-interrupted";
|
|
22879
|
+
var CHAT_MESSAGE_REJECTED_EVENT_TYPE = "replicas-message-rejected";
|
|
22879
22880
|
var AUTH_FALLBACK_EVENT_TYPE = "auth-fallback";
|
|
22880
22881
|
function coerceAuthFallbackPayload(payload) {
|
|
22881
22882
|
const { provider: provider2, reason, exhaustedMethod, exhaustedScope, candidateMethod, candidateScope, status, detail } = payload;
|
|
@@ -23676,7 +23677,7 @@ var SANDBOX_PATHS = {
|
|
|
23676
23677
|
REPLICAS_CANVAS_DIR: "/home/user/.replicas/canvas",
|
|
23677
23678
|
REPLICAS_RUNTIME_ENV_FILE: "/home/user/.replicas/runtime-env.sh"
|
|
23678
23679
|
};
|
|
23679
|
-
var WORKSPACE_SIZES = ["small", "large"];
|
|
23680
|
+
var WORKSPACE_SIZES = ["small", "large", "ultra"];
|
|
23680
23681
|
var INVALID_WORKSPACE_SIZE_ERROR = `Invalid size: must be one of ${WORKSPACE_SIZES.join(", ")}`;
|
|
23681
23682
|
|
|
23682
23683
|
// ../shared/src/learned-skills.ts
|
|
@@ -27981,7 +27982,7 @@ function parseDisplayMessages(events, agentType, options = {}) {
|
|
|
27981
27982
|
else reconciledEvents.push(message2);
|
|
27982
27983
|
}
|
|
27983
27984
|
if (options.filter === false) return reconciledEvents;
|
|
27984
|
-
return
|
|
27985
|
+
return applyEngineNotices(
|
|
27985
27986
|
applyInterruptions(filterDisplayMessages(reconciledEvents, agentType), events),
|
|
27986
27987
|
events
|
|
27987
27988
|
);
|
|
@@ -28022,9 +28023,18 @@ function applyInterruptions(messages, events) {
|
|
|
28022
28023
|
}
|
|
28023
28024
|
return finalized;
|
|
28024
28025
|
}
|
|
28025
|
-
function
|
|
28026
|
+
function applyEngineNotices(messages, events) {
|
|
28026
28027
|
const notices = [];
|
|
28027
28028
|
events.forEach((event, index) => {
|
|
28029
|
+
if (event.type === CHAT_MESSAGE_REJECTED_EVENT_TYPE) {
|
|
28030
|
+
notices.push({
|
|
28031
|
+
id: `message-rejected-${event.timestamp}-${index}`,
|
|
28032
|
+
type: "error",
|
|
28033
|
+
message: typeof event.payload.message === "string" ? event.payload.message : "Message was rejected",
|
|
28034
|
+
timestamp: event.timestamp
|
|
28035
|
+
});
|
|
28036
|
+
return;
|
|
28037
|
+
}
|
|
28028
28038
|
if (event.type !== AUTH_FALLBACK_EVENT_TYPE) return;
|
|
28029
28039
|
const payload = coerceAuthFallbackPayload(event.payload);
|
|
28030
28040
|
if (!payload) return;
|
|
@@ -28370,7 +28380,7 @@ var headlessAgentRequestSchema = external_exports.object({
|
|
|
28370
28380
|
});
|
|
28371
28381
|
|
|
28372
28382
|
// ../shared/src/cli-version.ts
|
|
28373
|
-
var CLI_VERSION = "0.3.
|
|
28383
|
+
var CLI_VERSION = "0.3.12";
|
|
28374
28384
|
|
|
28375
28385
|
// ../shared/src/version.ts
|
|
28376
28386
|
function compareVersions(v1, v2) {
|