replicas-cli 0.3.627 → 0.3.637
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 +27 -16
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -20976,7 +20976,7 @@ function isReplicasModel(model2) {
|
|
|
20976
20976
|
function replicasChatModel(model2) {
|
|
20977
20977
|
return model2 && RETIRED_REPLICAS_MODELS[model2] || model2;
|
|
20978
20978
|
}
|
|
20979
|
-
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, OPEN_DEEPSEEK_V4_1_FLASH_MODEL, OPEN_DEEPSEEK_V4_PRO_MODEL, OPEN_GLM_5_3_MODEL, OPEN_GLM_5_3_FLASH_MODEL, GEMINI_4_NEON_MODEL, REPLICAS_MODEL_PROVIDERS, DEEPSEEK_V4_1_FLASH_HOSTS, REPLICAS_MODEL_CATALOG, CATALOG_IDS, OPEN_MODEL_CATALOG, catalogModels, REPLICAS_MODELS, RETIRED_REPLICAS_MODELS;
|
|
20979
|
+
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, OPEN_DEEPSEEK_V4_1_FLASH_MODEL, OPEN_DEEPSEEK_V4_PRO_MODEL, OPEN_GLM_5_3_MODEL, OPEN_GLM_5_3_FLASH_MODEL, GEMINI_4_NEON_MODEL, REPLICAS_MODEL_PROVIDERS, SERVICE_TIERS, DEEPSEEK_V4_1_FLASH_HOSTS, REPLICAS_MODEL_CATALOG, CATALOG_IDS, OPEN_MODEL_CATALOG, catalogModels, REPLICAS_MODELS, RETIRED_REPLICAS_MODELS;
|
|
20980
20980
|
var init_models2 = __esm({
|
|
20981
20981
|
"../shared/src/harness/models.ts"() {
|
|
20982
20982
|
"use strict";
|
|
@@ -20994,9 +20994,10 @@ var init_models2 = __esm({
|
|
|
20994
20994
|
OPEN_GLM_5_3_FLASH_MODEL = "glm-5.3-flash";
|
|
20995
20995
|
GEMINI_4_NEON_MODEL = "gemini-4-neon";
|
|
20996
20996
|
REPLICAS_MODEL_PROVIDERS = ["openai", "anthropic", "baseten", "openrouter", "google-vertex", "open"];
|
|
20997
|
+
SERVICE_TIERS = ["default", "fast", "ultrafast"];
|
|
20997
20998
|
DEEPSEEK_V4_1_FLASH_HOSTS = {
|
|
20998
|
-
// Baseten's standard endpoint (https://www.baseten.co/pricing, also in its /v1/models), which charges no cache writes.
|
|
20999
|
-
baseten: { provider: "baseten", cost: { input: 0.3, output: 1.2, cacheRead: 7e-3, cacheWrite: 0 }, priceVersion: "2026-11-
|
|
20999
|
+
// Baseten's standard endpoint (https://www.baseten.co/pricing, also in its /v1/models), which charges no cache writes. Fast is its -Fast endpoint.
|
|
21000
|
+
baseten: { provider: "baseten", cost: { input: 0.3, output: 1.2, cacheRead: 7e-3, cacheWrite: 0 }, priceVersion: "2026-11-24", speeds: { fast: 2 } },
|
|
21000
21001
|
// The hosts the worker pins OpenRouter to (https://openrouter.ai/api/v1/models/deepseek/deepseek-v4.1-flash-1017/endpoints).
|
|
21001
21002
|
// Recorded cost is the one OpenRouter reports for each call; this only prices calls cut off before it arrives.
|
|
21002
21003
|
openrouter: { provider: "openrouter", cost: { input: 0.3, output: 1.2, cacheRead: 6e-3, cacheWrite: 0 }, priceVersion: "2026-11-24" }
|
|
@@ -21006,45 +21007,52 @@ var init_models2 = __esm({
|
|
|
21006
21007
|
label: "GPT-6.2 Sol",
|
|
21007
21008
|
provider: "openai",
|
|
21008
21009
|
cost: { input: 2, output: 10, cacheRead: 0.1, cacheWrite: 2.5, tiers: [{ inputTokensAbove: 272e3, input: 4, output: 15, cacheRead: 0.2, cacheWrite: 5 }] },
|
|
21009
|
-
priceVersion: "2026-11-
|
|
21010
|
+
priceVersion: "2026-11-24",
|
|
21011
|
+
speeds: { fast: 2, ultrafast: 3 }
|
|
21010
21012
|
},
|
|
21011
21013
|
[GPT_6_1_SOL_MODEL]: {
|
|
21012
21014
|
label: "GPT-6.1 Sol",
|
|
21013
21015
|
provider: "openai",
|
|
21014
21016
|
cost: { input: 2, output: 10, cacheRead: 0.1, cacheWrite: 2.5, tiers: [{ inputTokensAbove: 272e3, input: 4, output: 15, cacheRead: 0.2, cacheWrite: 5 }] },
|
|
21015
|
-
priceVersion: "2026-11-
|
|
21017
|
+
priceVersion: "2026-11-24",
|
|
21018
|
+
speeds: { fast: 2, ultrafast: 6 }
|
|
21016
21019
|
},
|
|
21017
21020
|
[GPT_6_1_TERRA_MODEL]: {
|
|
21018
21021
|
label: "GPT-6.1 Terra",
|
|
21019
21022
|
provider: "openai",
|
|
21020
21023
|
cost: { input: 1, output: 5, cacheRead: 0.05, cacheWrite: 1.25, tiers: [{ inputTokensAbove: 272e3, input: 2, output: 7.5, cacheRead: 0.1, cacheWrite: 2.5 }] },
|
|
21021
|
-
priceVersion: "2026-11-
|
|
21024
|
+
priceVersion: "2026-11-24",
|
|
21025
|
+
speeds: { fast: 2 }
|
|
21022
21026
|
},
|
|
21023
21027
|
[GPT_6_2_ASTRA_MODEL]: {
|
|
21024
21028
|
label: "GPT-6.2 Astra",
|
|
21025
21029
|
provider: "openai",
|
|
21026
21030
|
cost: { input: 8, output: 40, cacheRead: 0.4, cacheWrite: 10, tiers: [{ inputTokensAbove: 272e3, input: 16, output: 60, cacheRead: 0.8, cacheWrite: 20 }] },
|
|
21027
|
-
priceVersion: "2026-11-
|
|
21031
|
+
priceVersion: "2026-11-24",
|
|
21032
|
+
speeds: { fast: 2, ultrafast: 3 }
|
|
21028
21033
|
},
|
|
21029
21034
|
[CLAUDE_OPUS_5_5_MODEL]: {
|
|
21030
21035
|
label: "Opus 5.5",
|
|
21031
21036
|
provider: "anthropic",
|
|
21032
21037
|
cost: { input: 4, output: 20, cacheRead: 0.2, cacheWrite: 5 },
|
|
21033
|
-
priceVersion: "2026-11-
|
|
21038
|
+
priceVersion: "2026-11-24",
|
|
21039
|
+
speeds: { fast: 2 }
|
|
21034
21040
|
},
|
|
21035
21041
|
[CLAUDE_FABLE_5_2_MODEL]: {
|
|
21036
21042
|
label: "Fable 5.2",
|
|
21037
21043
|
provider: "anthropic",
|
|
21038
21044
|
cost: { input: 8, output: 40, cacheRead: 0.2, cacheWrite: 10 },
|
|
21039
|
-
priceVersion: "2026-11-
|
|
21045
|
+
priceVersion: "2026-11-24",
|
|
21046
|
+
speeds: { fast: 2 }
|
|
21040
21047
|
},
|
|
21041
21048
|
[DEEPSEEK_V4_1_FLASH_MODEL]: { label: "DeepSeek V4.1 Flash", ...DEEPSEEK_V4_1_FLASH_HOSTS.openrouter },
|
|
21042
|
-
// https://cloud.google.com/vertex-ai/generative-ai/pricing. Caching is implicit and its writes are free.
|
|
21049
|
+
// https://cloud.google.com/vertex-ai/generative-ai/pricing. Caching is implicit and its writes are free. Fast is Priority PayGo.
|
|
21043
21050
|
[GEMINI_4_NEON_MODEL]: {
|
|
21044
21051
|
label: "Gemini 4 Neon",
|
|
21045
21052
|
provider: "google-vertex",
|
|
21046
21053
|
cost: { input: 3, output: 15, cacheRead: 0.15, cacheWrite: 0 },
|
|
21047
|
-
priceVersion: "2026-11-
|
|
21054
|
+
priceVersion: "2026-11-24",
|
|
21055
|
+
speeds: { fast: 1.8 }
|
|
21048
21056
|
}
|
|
21049
21057
|
};
|
|
21050
21058
|
CATALOG_IDS = Object.keys(REPLICAS_MODEL_CATALOG).filter(isReplicasModel);
|
|
@@ -23921,7 +23929,7 @@ var init_pixel_crew = __esm({
|
|
|
23921
23929
|
});
|
|
23922
23930
|
|
|
23923
23931
|
// ../shared/src/routes/manager.ts
|
|
23924
|
-
var avatarColorSchema, MANAGER_AVATAR_BACKGROUNDS, MANAGER_AVATAR_PRIMARIES, managerPresetAvatarSchema, managerEmojiAvatarSchema, managerChosenAvatarSchema, managerAvatarSchema, setUpManagerTextingRequestSchema, linearRuleFields, withLabelIds, managerLinearRuleSchema,
|
|
23932
|
+
var avatarColorSchema, MANAGER_AVATAR_BACKGROUNDS, MANAGER_AVATAR_PRIMARIES, managerPresetAvatarSchema, managerEmojiAvatarSchema, managerChosenAvatarSchema, managerAvatarSchema, setUpManagerTextingRequestSchema, linearRuleFields, withLabelIds, managerLinearRuleSchema, managerSubagentSettingsSchema, QUEUE_SECTIONS, MANAGER_QUEUE_GROUPS, MANAGER_SHIPPING_LOOKBACK_MS;
|
|
23925
23933
|
var init_manager = __esm({
|
|
23926
23934
|
"../shared/src/routes/manager.ts"() {
|
|
23927
23935
|
"use strict";
|
|
@@ -23933,6 +23941,7 @@ var init_manager = __esm({
|
|
|
23933
23941
|
init_design_tokens();
|
|
23934
23942
|
init_pixel_crew();
|
|
23935
23943
|
init_urls();
|
|
23944
|
+
init_models2();
|
|
23936
23945
|
avatarColorSchema = external_exports.union([external_exports.literal("theme"), external_exports.string().regex(/^#[0-9a-f]{6}$/i)]);
|
|
23937
23946
|
MANAGER_AVATAR_BACKGROUNDS = [
|
|
23938
23947
|
["Forest", PALETTE_COLORS.light.default.foreground],
|
|
@@ -23981,12 +23990,11 @@ var init_manager = __esm({
|
|
|
23981
23990
|
return { ...rest, label_ids: [label_id] };
|
|
23982
23991
|
};
|
|
23983
23992
|
managerLinearRuleSchema = external_exports.preprocess(withLabelIds, linearRuleFields);
|
|
23984
|
-
SUBAGENT_SERVICE_TIERS = ["default", "fast", "ultrafast"];
|
|
23985
23993
|
managerSubagentSettingsSchema = external_exports.object({
|
|
23986
23994
|
coding_agent: external_exports.enum(VALID_AGENT_PROVIDERS),
|
|
23987
23995
|
model: external_exports.string().nullable(),
|
|
23988
23996
|
thinking_level: external_exports.enum(VALID_THINKING_LEVELS).nullable(),
|
|
23989
|
-
service_tier: external_exports.enum(
|
|
23997
|
+
service_tier: external_exports.enum(SERVICE_TIERS),
|
|
23990
23998
|
goal_mode: external_exports.boolean()
|
|
23991
23999
|
});
|
|
23992
24000
|
QUEUE_SECTIONS = [
|
|
@@ -42025,13 +42033,14 @@ var init_slash_commands = __esm({
|
|
|
42025
42033
|
"use strict";
|
|
42026
42034
|
init_agent();
|
|
42027
42035
|
init_types4();
|
|
42036
|
+
init_models2();
|
|
42028
42037
|
init_environment();
|
|
42029
42038
|
SIDE_CHAT_COMMANDS = ["/btw", "/side"];
|
|
42030
42039
|
SLASH_COMMANDS = [
|
|
42031
42040
|
{
|
|
42032
42041
|
command: "/fast",
|
|
42033
42042
|
description: "Use the fast service tier for future turns.",
|
|
42034
|
-
providers: ["claude", "codex"]
|
|
42043
|
+
providers: ["claude", "codex", "replicas"]
|
|
42035
42044
|
},
|
|
42036
42045
|
{
|
|
42037
42046
|
command: "/goal",
|
|
@@ -42750,6 +42759,7 @@ var init_types8 = __esm({
|
|
|
42750
42759
|
init_zod();
|
|
42751
42760
|
init_agent();
|
|
42752
42761
|
init_v1();
|
|
42762
|
+
init_models2();
|
|
42753
42763
|
HARNESS_THREAD_STATUSES = ["idle", "working", "error"];
|
|
42754
42764
|
textSchema = external_exports.looseObject({ type: external_exports.literal("text"), text: external_exports.string() });
|
|
42755
42765
|
imageSchema = external_exports.looseObject({ type: external_exports.literal("image"), data: external_exports.string(), mimeType: external_exports.string() });
|
|
@@ -42810,6 +42820,7 @@ var init_types8 = __esm({
|
|
|
42810
42820
|
agentOutcome: harnessAgentOutcomeSchema.optional(),
|
|
42811
42821
|
model: external_exports.string().optional(),
|
|
42812
42822
|
thinkingLevel: external_exports.enum(VALID_THINKING_LEVELS).optional(),
|
|
42823
|
+
serviceTier: external_exports.enum(SERVICE_TIERS).exclude(["default"]).optional(),
|
|
42813
42824
|
instructionsHash: external_exports.string().optional(),
|
|
42814
42825
|
queued: external_exports.boolean().optional(),
|
|
42815
42826
|
/** Stored only on a message whose `instructionsHash` differs from the message before it; later ones find it by hash. */
|
|
@@ -43136,7 +43147,7 @@ var CLI_VERSION;
|
|
|
43136
43147
|
var init_cli_version = __esm({
|
|
43137
43148
|
"../shared/src/cli-version.ts"() {
|
|
43138
43149
|
"use strict";
|
|
43139
|
-
CLI_VERSION = "0.3.
|
|
43150
|
+
CLI_VERSION = "0.3.637";
|
|
43140
43151
|
}
|
|
43141
43152
|
});
|
|
43142
43153
|
|