diff --git a/README.md b/README.md index a39510c..32a54d2 100644 --- a/README.md +++ b/README.md @@ -135,7 +135,7 @@ The following environment variables are intended for tests, local mocks, and com ## Image input -The provider advertises image input only for models marked with the `image` input modality in the official Command Code CLI model catalog. The capability snapshot currently follows `command-code@1.36.0`; unknown models default to text-only until their upstream metadata is reviewed. A daily GitHub Actions job synchronizes the CLI version, image capabilities, reasoning flags, reasoning efforts, and model-specific output limits with the latest published CLI package and opens or updates a reviewable pull request when they change. Pricing remains manually reviewed because temporary promotions and long-context tiers require explicit review. +The provider advertises image input only for models marked with the `image` input modality in the official Command Code CLI model catalog. The capability snapshot currently follows `command-code@1.40.1`; unknown models default to text-only until their upstream metadata is reviewed. A daily GitHub Actions job synchronizes the CLI version, image capabilities, reasoning flags, reasoning efforts, and model-specific output limits with the latest published CLI package and opens or updates a reviewable pull request when they change. Pricing remains manually reviewed because temporary promotions and long-context tiers require explicit review. For vision-capable models, Pi's native provider adapters forward image blocks from user messages and tool results using the documented OpenAI or Anthropic message schema. Unknown and text-only models remain marked text-only in Pi. diff --git a/src/commandcode-catalog.ts b/src/commandcode-catalog.ts index a136a8b..19db48f 100644 --- a/src/commandcode-catalog.ts +++ b/src/commandcode-catalog.ts @@ -1,14 +1,15 @@ -export const COMMAND_CODE_CLI_VERSION = "1.36.0" +export const COMMAND_CODE_CLI_VERSION = "1.40.1" export type CommandCodeInputType = "text" | "image" export type CommandCodeReasoningEffort = "minimal" | "low" | "medium" | "high" | "xhigh" | "max" /** - * Generated from command-code@1.36.0 by `npm run sync:commandcode-catalog`. + * Generated from command-code@1.40.1 by `npm run sync:commandcode-catalog`. * Do not edit manually. */ export const MODEL_INPUT_MODALITIES: Readonly> = { "claude-fable-5": ["text", "image"], + "claude-fable-5-1": ["text", "image"], "claude-haiku-4-5-20251001": ["text", "image"], "claude-opus-4-7": ["text", "image"], "claude-opus-4-8": ["text", "image"], @@ -31,7 +32,6 @@ export const MODEL_INPUT_MODALITIES: Readonly> = { "claude-fable-5": true, + "claude-fable-5-1": true, "claude-opus-4-7": true, "claude-opus-4-8": true, "claude-opus-5": true, "claude-sonnet-4-6": true, "claude-sonnet-5": true, "deepseek/deepseek-v4-flash": true, + "deepseek/deepseek-v4-flash-fast": true, "deepseek/deepseek-v4-flash-vision-exp": true, "deepseek/deepseek-v4-pro": true, "google/gemini-3.1-flash-lite": true, @@ -78,7 +80,6 @@ export const MODEL_REASONING: Readonly> = { "meta/muse-spark-1.1": true, "meta/muse-spark-1.2": true, "meta/muse-spark-1.2-contributor": true, - "minimax/minimax-m3-free": true, "MiniMaxAI/MiniMax-M3": true, "moonshotai/Kimi-K2.7-Code": true, "moonshotai/Kimi-K2.7-Code-Highspeed": true, @@ -97,6 +98,7 @@ export const MODEL_REASONING: Readonly> = { "stepfun/Step-3.5-Flash": true, "stepfun/Step-3.7-Flash": true, "tencent/hy3-paid": true, + "tencent/hy4-preview": true, "thinkingmachines/inkling": true, "thinkingmachines/inkling-small": true, "xai/grok-4.5": true, @@ -108,12 +110,14 @@ export const MODEL_REASONING: Readonly> = { export const MODEL_EFFORTS: Readonly> = { "claude-fable-5": ["low", "medium", "high", "xhigh", "max"], + "claude-fable-5-1": ["low", "medium", "high", "xhigh", "max"], "claude-opus-4-7": ["low", "medium", "high", "xhigh", "max"], "claude-opus-4-8": ["low", "medium", "high", "xhigh", "max"], "claude-opus-5": ["low", "medium", "high", "xhigh", "max"], "claude-sonnet-4-6": ["low", "medium", "high", "xhigh", "max"], "claude-sonnet-5": ["low", "medium", "high", "xhigh", "max"], "deepseek/deepseek-v4-flash": ["high", "max"], + "deepseek/deepseek-v4-flash-fast": ["low", "high", "max"], "deepseek/deepseek-v4-flash-vision-exp": ["high", "max"], "deepseek/deepseek-v4-pro": ["high", "max"], "google/gemini-3.1-flash-lite": ["low", "medium", "high"], @@ -128,10 +132,12 @@ export const MODEL_EFFORTS: Readonly