replicas-cli 0.3.552 → 0.3.554

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 +18 -6
  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,
@@ -40393,12 +40402,15 @@ var init_worker_routes = __esm({
40393
40402
  harnessWorkerCredentialRequestSchema = external_exports.object({
40394
40403
  /** The credential the model rejected, so the monolith refreshes it or moves to the next one instead of handing it back. */
40395
40404
  failedCredential: agentCredentialSnapshotSchema.optional(),
40405
+ failure: external_exports.enum(["auth", "rate_limit", "quota"]).optional(),
40396
40406
  // A worker from before Claude models sends none, and only ever calls OpenAI.
40397
40407
  modelProvider: external_exports.enum(REPLICAS_MODEL_PROVIDERS).default("openai")
40398
40408
  });
40399
40409
  harnessWorkerCredentialResponseSchema = external_exports.discriminatedUnion("method", [
40400
40410
  external_exports.object({ method: external_exports.literal("oauth"), accessToken: external_exports.string(), expiresAt: external_exports.string(), credential: agentCredentialSnapshotSchema }),
40401
- external_exports.object({ method: external_exports.literal("api_key"), apiKey: external_exports.string(), credential: agentCredentialSnapshotSchema })
40411
+ external_exports.object({ method: external_exports.literal("api_key"), apiKey: external_exports.string(), credential: agentCredentialSnapshotSchema }),
40412
+ /** Run the call on our own key, which the worker reads from its environment; it's billed to the organization at cost. */
40413
+ external_exports.object({ method: external_exports.literal("replicas") })
40402
40414
  ]);
40403
40415
  harnessWorkerTurnCompleteRequestSchema = external_exports.object({ errors: external_exports.array(external_exports.string()) });
40404
40416
  }
@@ -40468,7 +40480,7 @@ var CLI_VERSION;
40468
40480
  var init_cli_version = __esm({
40469
40481
  "../shared/src/cli-version.ts"() {
40470
40482
  "use strict";
40471
- CLI_VERSION = "0.3.552";
40483
+ CLI_VERSION = "0.3.554";
40472
40484
  }
40473
40485
  });
40474
40486
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-cli",
3
- "version": "0.3.552",
3
+ "version": "0.3.554",
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": {