replicas-cli 0.3.553 → 0.3.555

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/index.cjs +23 -7
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -21975,7 +21975,7 @@ function isReplicasModel(model2) {
21975
21975
  function replicasChatModel(model2) {
21976
21976
  return model2 && RETIRED_REPLICAS_MODELS[model2] || model2;
21977
21977
  }
21978
- var GPT_6_2_SOL_MODEL, GPT_6_1_SOL_MODEL, GPT_6_1_TERRA_MODEL, GPT_6_2_ASTRA_MODEL, CLAUDE_OPUS_5_5_MODEL, CLAUDE_FABLE_5_2_MODEL, REPLICAS_MODEL_PROVIDERS, REPLICAS_MODEL_CATALOG, CATALOG_IDS, REPLICAS_MODELS, RETIRED_REPLICAS_MODELS;
21978
+ var GPT_6_2_SOL_MODEL, GPT_6_1_SOL_MODEL, GPT_6_1_TERRA_MODEL, GPT_6_2_ASTRA_MODEL, CLAUDE_OPUS_5_5_MODEL, CLAUDE_FABLE_5_2_MODEL, DEEPSEEK_V4_1_FLASH_MODEL, REPLICAS_MODEL_PROVIDERS, REPLICAS_MODEL_CATALOG, CATALOG_IDS, REPLICAS_MODELS, RETIRED_REPLICAS_MODELS;
21979
21979
  var init_models = __esm({
21980
21980
  "../shared/src/harness/models.ts"() {
21981
21981
  "use strict";
@@ -21985,7 +21985,8 @@ var init_models = __esm({
21985
21985
  GPT_6_2_ASTRA_MODEL = "gpt-6.2-astra";
21986
21986
  CLAUDE_OPUS_5_5_MODEL = "claude-opus-5-5";
21987
21987
  CLAUDE_FABLE_5_2_MODEL = "claude-fable-5-2";
21988
- REPLICAS_MODEL_PROVIDERS = ["openai", "anthropic"];
21988
+ DEEPSEEK_V4_1_FLASH_MODEL = "deepseek-v4.1-flash";
21989
+ REPLICAS_MODEL_PROVIDERS = ["openai", "anthropic", "baseten"];
21989
21990
  REPLICAS_MODEL_CATALOG = {
21990
21991
  [GPT_6_2_SOL_MODEL]: {
21991
21992
  label: "GPT-6.2 Sol",
@@ -22022,12 +22023,20 @@ var init_models = __esm({
22022
22023
  provider: "anthropic",
22023
22024
  cost: { input: 8, output: 40, cacheRead: 0.2, cacheWrite: 10 },
22024
22025
  priceVersion: "2026-11-19"
22026
+ },
22027
+ // Baseten's standard endpoint (https://www.baseten.co/pricing, also in its /v1/models), which charges no cache writes.
22028
+ [DEEPSEEK_V4_1_FLASH_MODEL]: {
22029
+ label: "DeepSeek V4.1 Flash",
22030
+ provider: "baseten",
22031
+ cost: { input: 0.3, output: 1.2, cacheRead: 7e-3, cacheWrite: 0 },
22032
+ priceVersion: "2026-11-21"
22025
22033
  }
22026
22034
  };
22027
22035
  CATALOG_IDS = Object.keys(REPLICAS_MODEL_CATALOG).filter(isReplicasModel);
22028
22036
  REPLICAS_MODELS = {
22029
22037
  openai: CATALOG_IDS.filter((id) => REPLICAS_MODEL_CATALOG[id].provider === "openai"),
22030
- anthropic: CATALOG_IDS.filter((id) => REPLICAS_MODEL_CATALOG[id].provider === "anthropic")
22038
+ anthropic: CATALOG_IDS.filter((id) => REPLICAS_MODEL_CATALOG[id].provider === "anthropic"),
22039
+ baseten: CATALOG_IDS.filter((id) => REPLICAS_MODEL_CATALOG[id].provider === "baseten")
22031
22040
  };
22032
22041
  RETIRED_REPLICAS_MODELS = {
22033
22042
  "claude-sonnet-5-5": CLAUDE_OPUS_5_5_MODEL,
@@ -22321,7 +22330,7 @@ var init_types4 = __esm({
22321
22330
  AGENT_MODELS = {
22322
22331
  claude: Object.keys(CLAUDE_MODEL_MIN_SANDBOX_IMAGE),
22323
22332
  codex: Object.keys(CODEX_MODEL_MIN_SANDBOX_IMAGE),
22324
- replicas: [...REPLICAS_MODELS.openai, ...REPLICAS_MODELS.anthropic],
22333
+ replicas: Object.values(REPLICAS_MODELS).flat(),
22325
22334
  cursor: [
22326
22335
  CLAUDE_FABLE_5_1_MODEL,
22327
22336
  CLAUDE_FABLE_5_MODEL,
@@ -40375,7 +40384,7 @@ var init_context = __esm({
40375
40384
  });
40376
40385
 
40377
40386
  // ../shared/src/harness/worker-routes.ts
40378
- var harnessWorkerEngineRequestSchema, harnessWorkerEngineResponseSchema, harnessWorkerCredentialRequestSchema, harnessWorkerCredentialResponseSchema, harnessWorkerTurnCompleteRequestSchema;
40387
+ var harnessWorkerEngineRequestSchema, harnessWorkerEngineResponseSchema, harnessWorkerCredentialRequestSchema, harnessWorkerCredentialResponseSchema, harnessWorkerWebAccessResponseSchema, harnessWorkerTurnCompleteRequestSchema;
40379
40388
  var init_worker_routes = __esm({
40380
40389
  "../shared/src/harness/worker-routes.ts"() {
40381
40390
  "use strict";
@@ -40387,7 +40396,13 @@ var init_worker_routes = __esm({
40387
40396
  unreachable: external_exports.boolean().optional()
40388
40397
  });
40389
40398
  harnessWorkerEngineResponseSchema = external_exports.discriminatedUnion("status", [
40390
- external_exports.object({ status: external_exports.literal("ready"), engineUrl: external_exports.string(), headers: external_exports.record(external_exports.string(), external_exports.string()) }),
40399
+ external_exports.object({
40400
+ status: external_exports.literal("ready"),
40401
+ engineUrl: external_exports.string(),
40402
+ headers: external_exports.record(external_exports.string(), external_exports.string()),
40403
+ /** Web search and page reads go to Context.dev, so an organization with a BAA doesn't get them. Absent from an older monolith, so off. */
40404
+ webAccess: external_exports.boolean().default(false)
40405
+ }),
40391
40406
  external_exports.object({ status: external_exports.literal("waking") })
40392
40407
  ]);
40393
40408
  harnessWorkerCredentialRequestSchema = external_exports.object({
@@ -40403,6 +40418,7 @@ var init_worker_routes = __esm({
40403
40418
  /** Run the call on our own key, which the worker reads from its environment; it's billed to the organization at cost. */
40404
40419
  external_exports.object({ method: external_exports.literal("replicas") })
40405
40420
  ]);
40421
+ harnessWorkerWebAccessResponseSchema = external_exports.object({ allowed: external_exports.boolean() });
40406
40422
  harnessWorkerTurnCompleteRequestSchema = external_exports.object({ errors: external_exports.array(external_exports.string()) });
40407
40423
  }
40408
40424
  });
@@ -40471,7 +40487,7 @@ var CLI_VERSION;
40471
40487
  var init_cli_version = __esm({
40472
40488
  "../shared/src/cli-version.ts"() {
40473
40489
  "use strict";
40474
- CLI_VERSION = "0.3.553";
40490
+ CLI_VERSION = "0.3.554";
40475
40491
  }
40476
40492
  });
40477
40493
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-cli",
3
- "version": "0.3.553",
3
+ "version": "0.3.555",
4
4
  "description": "CLI for managing Replicas workspaces - SSH into cloud dev environments with automatic port forwarding",
5
5
  "main": "dist/index.cjs",
6
6
  "bin": {