replicas-cli 0.3.616 → 0.3.617
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 +17 -14
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -21994,7 +21994,7 @@ function isReplicasModel(model2) {
|
|
|
21994
21994
|
function replicasChatModel(model2) {
|
|
21995
21995
|
return model2 && RETIRED_REPLICAS_MODELS[model2] || model2;
|
|
21996
21996
|
}
|
|
21997
|
-
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, GEMINI_4_NEON_MODEL, REPLICAS_MODEL_PROVIDERS, REPLICAS_MODEL_CATALOG, CATALOG_IDS, REPLICAS_MODELS, RETIRED_REPLICAS_MODELS;
|
|
21997
|
+
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, GEMINI_4_NEON_MODEL, REPLICAS_MODEL_PROVIDERS, DEEPSEEK_V4_1_FLASH_HOSTS, REPLICAS_MODEL_CATALOG, CATALOG_IDS, catalogModels, REPLICAS_MODELS, RETIRED_REPLICAS_MODELS;
|
|
21998
21998
|
var init_models = __esm({
|
|
21999
21999
|
"../shared/src/harness/models.ts"() {
|
|
22000
22000
|
"use strict";
|
|
@@ -22006,7 +22006,14 @@ var init_models = __esm({
|
|
|
22006
22006
|
CLAUDE_FABLE_5_2_MODEL = "claude-fable-5-2";
|
|
22007
22007
|
DEEPSEEK_V4_1_FLASH_MODEL = "deepseek-v4.1-flash";
|
|
22008
22008
|
GEMINI_4_NEON_MODEL = "gemini-4-neon";
|
|
22009
|
-
REPLICAS_MODEL_PROVIDERS = ["openai", "anthropic", "baseten", "google-vertex"];
|
|
22009
|
+
REPLICAS_MODEL_PROVIDERS = ["openai", "anthropic", "baseten", "openrouter", "google-vertex"];
|
|
22010
|
+
DEEPSEEK_V4_1_FLASH_HOSTS = {
|
|
22011
|
+
// Baseten's standard endpoint (https://www.baseten.co/pricing, also in its /v1/models), which charges no cache writes.
|
|
22012
|
+
baseten: { provider: "baseten", cost: { input: 0.3, output: 1.2, cacheRead: 7e-3, cacheWrite: 0 }, priceVersion: "2026-11-21" },
|
|
22013
|
+
// The hosts the worker pins OpenRouter to (https://openrouter.ai/api/v1/models/deepseek/deepseek-v4.1-flash-1017/endpoints).
|
|
22014
|
+
// Recorded cost is the one OpenRouter reports for each call; this only prices calls cut off before it arrives.
|
|
22015
|
+
openrouter: { provider: "openrouter", cost: { input: 0.3, output: 1.2, cacheRead: 6e-3, cacheWrite: 0 }, priceVersion: "2026-11-24" }
|
|
22016
|
+
};
|
|
22010
22017
|
REPLICAS_MODEL_CATALOG = {
|
|
22011
22018
|
[GPT_6_2_SOL_MODEL]: {
|
|
22012
22019
|
label: "GPT-6.2 Sol",
|
|
@@ -22044,13 +22051,7 @@ var init_models = __esm({
|
|
|
22044
22051
|
cost: { input: 8, output: 40, cacheRead: 0.2, cacheWrite: 10 },
|
|
22045
22052
|
priceVersion: "2026-11-19"
|
|
22046
22053
|
},
|
|
22047
|
-
|
|
22048
|
-
[DEEPSEEK_V4_1_FLASH_MODEL]: {
|
|
22049
|
-
label: "DeepSeek V4.1 Flash",
|
|
22050
|
-
provider: "baseten",
|
|
22051
|
-
cost: { input: 0.3, output: 1.2, cacheRead: 7e-3, cacheWrite: 0 },
|
|
22052
|
-
priceVersion: "2026-11-21"
|
|
22053
|
-
},
|
|
22054
|
+
[DEEPSEEK_V4_1_FLASH_MODEL]: { label: "DeepSeek V4.1 Flash", ...DEEPSEEK_V4_1_FLASH_HOSTS.openrouter },
|
|
22054
22055
|
// https://cloud.google.com/vertex-ai/generative-ai/pricing. Caching is implicit and its writes are free.
|
|
22055
22056
|
[GEMINI_4_NEON_MODEL]: {
|
|
22056
22057
|
label: "Gemini 4 Neon",
|
|
@@ -22060,11 +22061,13 @@ var init_models = __esm({
|
|
|
22060
22061
|
}
|
|
22061
22062
|
};
|
|
22062
22063
|
CATALOG_IDS = Object.keys(REPLICAS_MODEL_CATALOG).filter(isReplicasModel);
|
|
22064
|
+
catalogModels = (provider2) => CATALOG_IDS.filter((id) => REPLICAS_MODEL_CATALOG[id].provider === provider2);
|
|
22063
22065
|
REPLICAS_MODELS = {
|
|
22064
|
-
openai:
|
|
22065
|
-
anthropic:
|
|
22066
|
-
baseten:
|
|
22067
|
-
|
|
22066
|
+
openai: catalogModels("openai"),
|
|
22067
|
+
anthropic: catalogModels("anthropic"),
|
|
22068
|
+
baseten: catalogModels("baseten"),
|
|
22069
|
+
openrouter: catalogModels("openrouter"),
|
|
22070
|
+
"google-vertex": catalogModels("google-vertex")
|
|
22068
22071
|
};
|
|
22069
22072
|
RETIRED_REPLICAS_MODELS = {
|
|
22070
22073
|
"claude-sonnet-5-5": CLAUDE_OPUS_5_5_MODEL,
|
|
@@ -40796,7 +40799,7 @@ var CLI_VERSION;
|
|
|
40796
40799
|
var init_cli_version = __esm({
|
|
40797
40800
|
"../shared/src/cli-version.ts"() {
|
|
40798
40801
|
"use strict";
|
|
40799
|
-
CLI_VERSION = "0.3.
|
|
40802
|
+
CLI_VERSION = "0.3.617";
|
|
40800
40803
|
}
|
|
40801
40804
|
});
|
|
40802
40805
|
|