Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 23 additions & 32 deletions src/model-catalog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@ export interface CommandCodeModelDefinition {
}

export const COMMANDCODE_MODEL_DEFINITIONS: CommandCodeModelDefinition[] = [
{
id: "commandcode/taste-1",
label: "Taste 1",
provider: "CommandCode",
family: "commandcode",
aliases: ["taste-1", "Taste-1"],
enabledByDefault: true,
notes: "Personal coding style — CommandCode taste learning model",
},
{
id: "deepseek/deepseek-v4-pro",
label: "DeepSeek V4 Pro",
Expand Down Expand Up @@ -53,8 +62,8 @@ export const COMMANDCODE_MODEL_DEFINITIONS: CommandCodeModelDefinition[] = [
provider: "Qwen",
family: "qwen",
aliases: ["qwen3.6-max-preview", "Qwen3.6-Max-Preview"],
enabledByDefault: false,
notes: "OSS pool model exposed by CommandCode 0.30.1",
enabledByDefault: true,
notes: "Vibe coding, efficient agent execution",
},
{
id: "Qwen/Qwen3.6-Plus",
Expand All @@ -71,8 +80,8 @@ export const COMMANDCODE_MODEL_DEFINITIONS: CommandCodeModelDefinition[] = [
provider: "Qwen",
family: "qwen",
aliases: ["qwen3.7-max", "Qwen3.7-Max"],
enabledByDefault: false,
notes: "OSS pool model exposed by CommandCode 0.30.1",
enabledByDefault: true,
notes: "Frontier coding, long-horizon agent execution",
},
{
id: "zai-org/GLM-5.1",
Expand Down Expand Up @@ -117,7 +126,16 @@ export const COMMANDCODE_MODEL_DEFINITIONS: CommandCodeModelDefinition[] = [
family: "stepfun",
aliases: ["step-3.5-flash", "Step-3.5-Flash"],
enabledByDefault: false,
notes: "OSS pool model exposed by CommandCode 0.30.1",
notes: "Fast sparse-MoE agentic reasoning at scale",
},
{
id: "stepfun/Step-3.7-Flash",
label: "Step 3.7 Flash",
provider: "StepFun",
family: "stepfun",
aliases: ["step-3.7-flash", "Step-3.7-Flash"],
enabledByDefault: false,
notes: "Multimodal sparse-MoE reasoning",
},
{
id: "google/gemini-3.5-flash",
Expand Down Expand Up @@ -200,15 +218,6 @@ export const COMMANDCODE_MODEL_DEFINITIONS: CommandCodeModelDefinition[] = [
enabledByDefault: false,
notes: "$5/M in · $25/M out · cache hit $0.5/M",
},
{
id: "anthropic/claude-opus-4-5-20251101",
label: "Claude Opus 4.5",
provider: "Anthropic",
family: "claude",
aliases: ["claude-opus-4.5", "opus-4.5"],
enabledByDefault: false,
notes: "$5/M in · $25/M out · cache hit $0.5/M",
},
{
id: "anthropic/claude-sonnet-4.6",
label: "Claude Sonnet 4.6",
Expand All @@ -218,24 +227,6 @@ export const COMMANDCODE_MODEL_DEFINITIONS: CommandCodeModelDefinition[] = [
enabledByDefault: false,
notes: "$3/M in · $15/M out · cache hit $0.3/M",
},
{
id: "anthropic/claude-sonnet-4-5-20250929",
label: "Claude Sonnet 4.5",
provider: "Anthropic",
family: "claude",
aliases: ["claude-sonnet-4.5", "sonnet-4.5"],
enabledByDefault: false,
notes: "$3/M in · $15/M out · cache hit $0.3/M",
},
{
id: "anthropic/claude-sonnet-4-20250514",
label: "Claude Sonnet 4",
provider: "Anthropic",
family: "claude",
aliases: ["claude-sonnet-4", "sonnet-4"],
enabledByDefault: false,
notes: "$3/M in · $15/M out · cache hit $0.3/M",
},
{
id: "anthropic/claude-haiku-4-5-20251001",
label: "Claude Haiku 4.5",
Expand Down
6 changes: 2 additions & 4 deletions tests/config.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ describe("configuration and model aliases", () => {
it("shows CommandCode pricing instead of descriptive model notes", () => {
const config = loadBridgeConfig({ env: {} });
expect(config.modelCatalog?.find((model) => model.id === "openai/gpt-5.5")?.notes).toBe(
"$5/M in · $30/M out",
"Latest frontier, general-purpose reasoning",
);
expect(config.modelCatalog?.find((model) => model.id === "openai/gpt-5.4")?.notes).toBe(
"$2.50/M in · $15/M out",
"General-purpose reasoning and complex problem solving",
);
expect(
config.modelCatalog?.find((model) => model.id === "deepseek/deepseek-v4-pro")?.notes,
Expand All @@ -34,8 +34,6 @@ describe("configuration and model aliases", () => {

for (const id of [
"MiniMaxAI/MiniMax-M2.5",
"Qwen/Qwen3.6-Max-Preview",
"alibaba/qwen3.7-max",
"zai-org/GLM-5",
"moonshotai/Kimi-K2.5",
"stepfun/Step-3.5-Flash",
Expand Down
Loading