replicas-cli 0.3.554 → 0.3.556
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 +22 -6
- 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, DEEPSEEK_V4_1_FLASH_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, GEMINI_4_NEON_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";
|
|
@@ -21986,7 +21986,8 @@ var init_models = __esm({
|
|
|
21986
21986
|
CLAUDE_OPUS_5_5_MODEL = "claude-opus-5-5";
|
|
21987
21987
|
CLAUDE_FABLE_5_2_MODEL = "claude-fable-5-2";
|
|
21988
21988
|
DEEPSEEK_V4_1_FLASH_MODEL = "deepseek-v4.1-flash";
|
|
21989
|
-
|
|
21989
|
+
GEMINI_4_NEON_MODEL = "gemini-4-neon";
|
|
21990
|
+
REPLICAS_MODEL_PROVIDERS = ["openai", "anthropic", "baseten", "google-vertex"];
|
|
21990
21991
|
REPLICAS_MODEL_CATALOG = {
|
|
21991
21992
|
[GPT_6_2_SOL_MODEL]: {
|
|
21992
21993
|
label: "GPT-6.2 Sol",
|
|
@@ -22030,13 +22031,21 @@ var init_models = __esm({
|
|
|
22030
22031
|
provider: "baseten",
|
|
22031
22032
|
cost: { input: 0.3, output: 1.2, cacheRead: 7e-3, cacheWrite: 0 },
|
|
22032
22033
|
priceVersion: "2026-11-21"
|
|
22034
|
+
},
|
|
22035
|
+
// https://cloud.google.com/vertex-ai/generative-ai/pricing. Caching is implicit and its writes are free.
|
|
22036
|
+
[GEMINI_4_NEON_MODEL]: {
|
|
22037
|
+
label: "Gemini 4 Neon",
|
|
22038
|
+
provider: "google-vertex",
|
|
22039
|
+
cost: { input: 3, output: 15, cacheRead: 0.15, cacheWrite: 0 },
|
|
22040
|
+
priceVersion: "2026-11-21"
|
|
22033
22041
|
}
|
|
22034
22042
|
};
|
|
22035
22043
|
CATALOG_IDS = Object.keys(REPLICAS_MODEL_CATALOG).filter(isReplicasModel);
|
|
22036
22044
|
REPLICAS_MODELS = {
|
|
22037
22045
|
openai: CATALOG_IDS.filter((id) => REPLICAS_MODEL_CATALOG[id].provider === "openai"),
|
|
22038
22046
|
anthropic: CATALOG_IDS.filter((id) => REPLICAS_MODEL_CATALOG[id].provider === "anthropic"),
|
|
22039
|
-
baseten: CATALOG_IDS.filter((id) => REPLICAS_MODEL_CATALOG[id].provider === "baseten")
|
|
22047
|
+
baseten: CATALOG_IDS.filter((id) => REPLICAS_MODEL_CATALOG[id].provider === "baseten"),
|
|
22048
|
+
"google-vertex": CATALOG_IDS.filter((id) => REPLICAS_MODEL_CATALOG[id].provider === "google-vertex")
|
|
22040
22049
|
};
|
|
22041
22050
|
RETIRED_REPLICAS_MODELS = {
|
|
22042
22051
|
"claude-sonnet-5-5": CLAUDE_OPUS_5_5_MODEL,
|
|
@@ -40384,7 +40393,7 @@ var init_context = __esm({
|
|
|
40384
40393
|
});
|
|
40385
40394
|
|
|
40386
40395
|
// ../shared/src/harness/worker-routes.ts
|
|
40387
|
-
var harnessWorkerEngineRequestSchema, harnessWorkerEngineResponseSchema, harnessWorkerCredentialRequestSchema, harnessWorkerCredentialResponseSchema, harnessWorkerTurnCompleteRequestSchema;
|
|
40396
|
+
var harnessWorkerEngineRequestSchema, harnessWorkerEngineResponseSchema, harnessWorkerCredentialRequestSchema, harnessWorkerCredentialResponseSchema, harnessWorkerWebAccessResponseSchema, harnessWorkerTurnCompleteRequestSchema;
|
|
40388
40397
|
var init_worker_routes = __esm({
|
|
40389
40398
|
"../shared/src/harness/worker-routes.ts"() {
|
|
40390
40399
|
"use strict";
|
|
@@ -40396,7 +40405,13 @@ var init_worker_routes = __esm({
|
|
|
40396
40405
|
unreachable: external_exports.boolean().optional()
|
|
40397
40406
|
});
|
|
40398
40407
|
harnessWorkerEngineResponseSchema = external_exports.discriminatedUnion("status", [
|
|
40399
|
-
external_exports.object({
|
|
40408
|
+
external_exports.object({
|
|
40409
|
+
status: external_exports.literal("ready"),
|
|
40410
|
+
engineUrl: external_exports.string(),
|
|
40411
|
+
headers: external_exports.record(external_exports.string(), external_exports.string()),
|
|
40412
|
+
/** 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. */
|
|
40413
|
+
webAccess: external_exports.boolean().default(false)
|
|
40414
|
+
}),
|
|
40400
40415
|
external_exports.object({ status: external_exports.literal("waking") })
|
|
40401
40416
|
]);
|
|
40402
40417
|
harnessWorkerCredentialRequestSchema = external_exports.object({
|
|
@@ -40412,6 +40427,7 @@ var init_worker_routes = __esm({
|
|
|
40412
40427
|
/** Run the call on our own key, which the worker reads from its environment; it's billed to the organization at cost. */
|
|
40413
40428
|
external_exports.object({ method: external_exports.literal("replicas") })
|
|
40414
40429
|
]);
|
|
40430
|
+
harnessWorkerWebAccessResponseSchema = external_exports.object({ allowed: external_exports.boolean() });
|
|
40415
40431
|
harnessWorkerTurnCompleteRequestSchema = external_exports.object({ errors: external_exports.array(external_exports.string()) });
|
|
40416
40432
|
}
|
|
40417
40433
|
});
|
|
@@ -40480,7 +40496,7 @@ var CLI_VERSION;
|
|
|
40480
40496
|
var init_cli_version = __esm({
|
|
40481
40497
|
"../shared/src/cli-version.ts"() {
|
|
40482
40498
|
"use strict";
|
|
40483
|
-
CLI_VERSION = "0.3.
|
|
40499
|
+
CLI_VERSION = "0.3.555";
|
|
40484
40500
|
}
|
|
40485
40501
|
});
|
|
40486
40502
|
|