replicas-engine 0.1.414 → 0.1.415

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.
Files changed (2) hide show
  1. package/dist/src/index.js +16 -7
  2. package/package.json +1 -1
package/dist/src/index.js CHANGED
@@ -144,7 +144,10 @@ var CLAUDE_OPUS_4_8_BEDROCK_MODEL = "us.anthropic.claude-opus-4-8";
144
144
  var CLAUDE_SONNET_5_BEDROCK_MODEL = "anthropic.claude-sonnet-5";
145
145
  var CLAUDE_HAIKU_4_5_BEDROCK_MODEL = "us.anthropic.claude-haiku-4-5-20251001-v1:0";
146
146
  var DEFAULT_CLAUDE_MODEL = CLAUDE_OPUS_4_8_MODEL;
147
- var DEFAULT_CODEX_MODEL = "gpt-5.5";
147
+ var GPT_5_6_SOL_MODEL = "gpt-5.6-sol";
148
+ var GPT_5_6_TERRA_MODEL = "gpt-5.6-terra";
149
+ var GPT_5_6_LUNA_MODEL = "gpt-5.6-luna";
150
+ var DEFAULT_CODEX_MODEL = GPT_5_6_SOL_MODEL;
148
151
  var DEFAULT_CURSOR_MODEL = "composer-2.5";
149
152
  var DEFAULT_OPENCODE_MODEL = "z-ai/glm-5.2";
150
153
  function normalizeClaudeModel(model) {
@@ -187,10 +190,13 @@ function canUseClaudeFastMode(model) {
187
190
  }
188
191
  var AGENT_MODELS = {
189
192
  claude: [CLAUDE_FABLE_5_MODEL, DEFAULT_CLAUDE_MODEL, CLAUDE_SONNET_5_MODEL, CLAUDE_HAIKU_4_5_MODEL],
190
- codex: [DEFAULT_CODEX_MODEL, "gpt-5.4", "gpt-5.4-mini", "gpt-5.3-codex", "gpt-5.2"],
193
+ codex: [DEFAULT_CODEX_MODEL, GPT_5_6_TERRA_MODEL, GPT_5_6_LUNA_MODEL, "gpt-5.5", "gpt-5.4", "gpt-5.4-mini", "gpt-5.2"],
191
194
  cursor: [
192
195
  CLAUDE_FABLE_5_MODEL,
193
196
  CLAUDE_OPUS_4_8_MODEL,
197
+ GPT_5_6_SOL_MODEL,
198
+ GPT_5_6_TERRA_MODEL,
199
+ GPT_5_6_LUNA_MODEL,
194
200
  "gpt-5.5",
195
201
  "composer-2.5",
196
202
  CLAUDE_SONNET_5_MODEL,
@@ -224,7 +230,10 @@ var MODEL_LABELS = {
224
230
  [CLAUDE_OPUS_1M_MODEL]: "Opus 4.8 (1M)",
225
231
  [LEGACY_CLAUDE_OPUS_1M_MODEL]: "Opus 4.8 (1M)",
226
232
  haiku: "Haiku 4.5",
227
- [DEFAULT_CODEX_MODEL]: "GPT-5.5",
233
+ [GPT_5_6_SOL_MODEL]: "GPT-5.6 Sol",
234
+ [GPT_5_6_TERRA_MODEL]: "GPT-5.6 Terra",
235
+ [GPT_5_6_LUNA_MODEL]: "GPT-5.6 Luna",
236
+ "gpt-5.5": "GPT-5.5",
228
237
  [DEFAULT_OPENCODE_MODEL]: "GLM 5.2 via OpenRouter",
229
238
  "minimax/minimax-m3": "MiniMax M3 via OpenRouter",
230
239
  "xiaomi/mimo-v2.5-pro": "MiMo V2.5 Pro via OpenRouter",
@@ -481,7 +490,7 @@ var WORKSPACE_SIZES = ["small", "large"];
481
490
  var INVALID_WORKSPACE_SIZE_ERROR = `Invalid size: must be one of ${WORKSPACE_SIZES.join(", ")}`;
482
491
 
483
492
  // ../shared/src/e2b.ts
484
- var E2B_TEMPLATE_NAME = "replicas-sandbox-2026-07-09-v3";
493
+ var E2B_TEMPLATE_NAME = "replicas-sandbox-2026-07-09-v4";
485
494
 
486
495
  // ../shared/src/runtime-env.ts
487
496
  function parsePosixEnvFile(content) {
@@ -8216,7 +8225,7 @@ var AspClient = class {
8216
8225
  // src/managers/codex-asp/app-server-process.ts
8217
8226
  var DEFAULT_CODEX_BINARY = "codex";
8218
8227
  var DEFAULT_CODEX_ARGS = ["app-server", "--listen", "stdio://"];
8219
- var ENGINE_PACKAGE_VERSION = "0.1.414";
8228
+ var ENGINE_PACKAGE_VERSION = "0.1.415";
8220
8229
  var INITIALIZE_METHOD = "initialize";
8221
8230
  var INITIALIZED_NOTIFICATION = "initialized";
8222
8231
  var ACCOUNT_LOGIN_START_METHOD = "account/login/start";
@@ -11430,7 +11439,7 @@ You will also receive the chatId so you can send follow-up messages or clean up
11430
11439
  prompt: z.string().describe("The full prompt/instructions for the subagent. Be detailed - it has no context from your conversation."),
11431
11440
  model: z.string().optional().describe([
11432
11441
  `Model override. Claude: ${AGENT_MODELS.claude.join(", ")} (opus is the default; sonnet is faster).`,
11433
- codexAvailable ? "Codex: gpt-5.5, gpt-5.4, gpt-5.3-codex, etc." : null,
11442
+ codexAvailable ? `Codex: ${AGENT_MODELS.codex.join(", ")}.` : null,
11434
11443
  cursorAvailable ? `Cursor: ${AGENT_MODELS.cursor.join(", ")}.` : null,
11435
11444
  opencodeAvailable ? `Opencode: ${AGENT_MODELS.opencode.join(", ")}.` : null
11436
11445
  ].filter(Boolean).join(" ")),
@@ -11672,7 +11681,7 @@ function getDelegationSection(codexAvailable, cursorAvailable, opencodeAvailable
11672
11681
  const spawnDesc = `Create a new subagent with a specific provider (${providerList}), send it a prompt, and wait for its response. Returns the chatId and the agent's final response. You can set a custom timeout via the timeout_minutes parameter (default: 10 minutes).`;
11673
11682
  const claudeModelList = AGENT_MODELS.claude.join(", ");
11674
11683
  const extraAgentLines = [
11675
- codexAvailable ? `Use provider 'codex' for heavy code writing, implementation, and large refactors. Suggested models: gpt-5.5 (default), gpt-5.4, gpt-5.3-codex.` : null,
11684
+ codexAvailable ? `Use provider 'codex' for heavy code writing, implementation, and large refactors. Suggested models: ${AGENT_MODELS.codex.join(", ")} (${AGENT_MODELS.codex[0]} is the default).` : null,
11676
11685
  opencodeAvailable ? `Use provider 'opencode' for cheaper routine implementation tasks through OpenRouter-backed open source models. Suggested models: ${AGENT_MODELS.opencode.join(", ")}.` : null,
11677
11686
  cursorAvailable ? `Use provider 'cursor' for fast iteration on code changes. Suggested models: ${AGENT_MODELS.cursor.join(", ")}.` : null
11678
11687
  ].filter(Boolean);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-engine",
3
- "version": "0.1.414",
3
+ "version": "0.1.415",
4
4
  "description": "Lightweight API server for Replicas workspaces",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",