feat(models): sync model catalog with command-code@1.40.1
Add claude-fable-5-1, deepseek/deepseek-v4-flash-fast, and tencent/hy4-preview with their reasoning efforts, add moonshotai/Kimi-K3 efforts, and drop minimax/minimax-m3-free, which the CLI no longer lists.
This commit is contained in:
@@ -135,7 +135,7 @@ The following environment variables are intended for tests, local mocks, and com
|
|||||||
|
|
||||||
## Image input
|
## 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.
|
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.
|
||||||
|
|
||||||
|
|||||||
@@ -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 CommandCodeInputType = "text" | "image"
|
||||||
export type CommandCodeReasoningEffort = "minimal" | "low" | "medium" | "high" | "xhigh" | "max"
|
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.
|
* Do not edit manually.
|
||||||
*/
|
*/
|
||||||
export const MODEL_INPUT_MODALITIES: Readonly<Record<string, readonly CommandCodeInputType[]>> = {
|
export const MODEL_INPUT_MODALITIES: Readonly<Record<string, readonly CommandCodeInputType[]>> = {
|
||||||
"claude-fable-5": ["text", "image"],
|
"claude-fable-5": ["text", "image"],
|
||||||
|
"claude-fable-5-1": ["text", "image"],
|
||||||
"claude-haiku-4-5-20251001": ["text", "image"],
|
"claude-haiku-4-5-20251001": ["text", "image"],
|
||||||
"claude-opus-4-7": ["text", "image"],
|
"claude-opus-4-7": ["text", "image"],
|
||||||
"claude-opus-4-8": ["text", "image"],
|
"claude-opus-4-8": ["text", "image"],
|
||||||
@@ -31,7 +32,6 @@ export const MODEL_INPUT_MODALITIES: Readonly<Record<string, readonly CommandCod
|
|||||||
"meta/muse-spark-1.1": ["text", "image"],
|
"meta/muse-spark-1.1": ["text", "image"],
|
||||||
"meta/muse-spark-1.2": ["text", "image"],
|
"meta/muse-spark-1.2": ["text", "image"],
|
||||||
"meta/muse-spark-1.2-contributor": ["text", "image"],
|
"meta/muse-spark-1.2-contributor": ["text", "image"],
|
||||||
"minimax/minimax-m3-free": ["text", "image"],
|
|
||||||
"MiniMaxAI/MiniMax-M3": ["text", "image"],
|
"MiniMaxAI/MiniMax-M3": ["text", "image"],
|
||||||
"moonshotai/Kimi-K2.5": ["text", "image"],
|
"moonshotai/Kimi-K2.5": ["text", "image"],
|
||||||
"moonshotai/Kimi-K2.6": ["text", "image"],
|
"moonshotai/Kimi-K2.6": ["text", "image"],
|
||||||
@@ -55,12 +55,14 @@ export const MODEL_INPUT_MODALITIES: Readonly<Record<string, readonly CommandCod
|
|||||||
|
|
||||||
export const MODEL_REASONING: Readonly<Record<string, true>> = {
|
export const MODEL_REASONING: Readonly<Record<string, true>> = {
|
||||||
"claude-fable-5": true,
|
"claude-fable-5": true,
|
||||||
|
"claude-fable-5-1": true,
|
||||||
"claude-opus-4-7": true,
|
"claude-opus-4-7": true,
|
||||||
"claude-opus-4-8": true,
|
"claude-opus-4-8": true,
|
||||||
"claude-opus-5": true,
|
"claude-opus-5": true,
|
||||||
"claude-sonnet-4-6": true,
|
"claude-sonnet-4-6": true,
|
||||||
"claude-sonnet-5": true,
|
"claude-sonnet-5": true,
|
||||||
"deepseek/deepseek-v4-flash": true,
|
"deepseek/deepseek-v4-flash": true,
|
||||||
|
"deepseek/deepseek-v4-flash-fast": true,
|
||||||
"deepseek/deepseek-v4-flash-vision-exp": true,
|
"deepseek/deepseek-v4-flash-vision-exp": true,
|
||||||
"deepseek/deepseek-v4-pro": true,
|
"deepseek/deepseek-v4-pro": true,
|
||||||
"google/gemini-3.1-flash-lite": true,
|
"google/gemini-3.1-flash-lite": true,
|
||||||
@@ -78,7 +80,6 @@ export const MODEL_REASONING: Readonly<Record<string, true>> = {
|
|||||||
"meta/muse-spark-1.1": true,
|
"meta/muse-spark-1.1": true,
|
||||||
"meta/muse-spark-1.2": true,
|
"meta/muse-spark-1.2": true,
|
||||||
"meta/muse-spark-1.2-contributor": true,
|
"meta/muse-spark-1.2-contributor": true,
|
||||||
"minimax/minimax-m3-free": true,
|
|
||||||
"MiniMaxAI/MiniMax-M3": true,
|
"MiniMaxAI/MiniMax-M3": true,
|
||||||
"moonshotai/Kimi-K2.7-Code": true,
|
"moonshotai/Kimi-K2.7-Code": true,
|
||||||
"moonshotai/Kimi-K2.7-Code-Highspeed": true,
|
"moonshotai/Kimi-K2.7-Code-Highspeed": true,
|
||||||
@@ -97,6 +98,7 @@ export const MODEL_REASONING: Readonly<Record<string, true>> = {
|
|||||||
"stepfun/Step-3.5-Flash": true,
|
"stepfun/Step-3.5-Flash": true,
|
||||||
"stepfun/Step-3.7-Flash": true,
|
"stepfun/Step-3.7-Flash": true,
|
||||||
"tencent/hy3-paid": true,
|
"tencent/hy3-paid": true,
|
||||||
|
"tencent/hy4-preview": true,
|
||||||
"thinkingmachines/inkling": true,
|
"thinkingmachines/inkling": true,
|
||||||
"thinkingmachines/inkling-small": true,
|
"thinkingmachines/inkling-small": true,
|
||||||
"xai/grok-4.5": true,
|
"xai/grok-4.5": true,
|
||||||
@@ -108,12 +110,14 @@ export const MODEL_REASONING: Readonly<Record<string, true>> = {
|
|||||||
|
|
||||||
export const MODEL_EFFORTS: Readonly<Record<string, readonly CommandCodeReasoningEffort[]>> = {
|
export const MODEL_EFFORTS: Readonly<Record<string, readonly CommandCodeReasoningEffort[]>> = {
|
||||||
"claude-fable-5": ["low", "medium", "high", "xhigh", "max"],
|
"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-7": ["low", "medium", "high", "xhigh", "max"],
|
||||||
"claude-opus-4-8": ["low", "medium", "high", "xhigh", "max"],
|
"claude-opus-4-8": ["low", "medium", "high", "xhigh", "max"],
|
||||||
"claude-opus-5": ["low", "medium", "high", "xhigh", "max"],
|
"claude-opus-5": ["low", "medium", "high", "xhigh", "max"],
|
||||||
"claude-sonnet-4-6": ["low", "medium", "high", "xhigh", "max"],
|
"claude-sonnet-4-6": ["low", "medium", "high", "xhigh", "max"],
|
||||||
"claude-sonnet-5": ["low", "medium", "high", "xhigh", "max"],
|
"claude-sonnet-5": ["low", "medium", "high", "xhigh", "max"],
|
||||||
"deepseek/deepseek-v4-flash": ["high", "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-flash-vision-exp": ["high", "max"],
|
||||||
"deepseek/deepseek-v4-pro": ["high", "max"],
|
"deepseek/deepseek-v4-pro": ["high", "max"],
|
||||||
"google/gemini-3.1-flash-lite": ["low", "medium", "high"],
|
"google/gemini-3.1-flash-lite": ["low", "medium", "high"],
|
||||||
@@ -128,10 +132,12 @@ export const MODEL_EFFORTS: Readonly<Record<string, readonly CommandCodeReasonin
|
|||||||
"gpt-5.6-luna": ["low", "medium", "high", "xhigh", "max"],
|
"gpt-5.6-luna": ["low", "medium", "high", "xhigh", "max"],
|
||||||
"gpt-5.6-sol": ["low", "medium", "high", "xhigh", "max"],
|
"gpt-5.6-sol": ["low", "medium", "high", "xhigh", "max"],
|
||||||
"gpt-5.6-terra": ["low", "medium", "high", "xhigh", "max"],
|
"gpt-5.6-terra": ["low", "medium", "high", "xhigh", "max"],
|
||||||
|
"moonshotai/Kimi-K3": ["low", "high", "max"],
|
||||||
"Qwen/Qwen3.8-27B": ["low", "medium", "xhigh"],
|
"Qwen/Qwen3.8-27B": ["low", "medium", "xhigh"],
|
||||||
"Qwen/Qwen3.8-Flash": ["low", "medium", "xhigh"],
|
"Qwen/Qwen3.8-Flash": ["low", "medium", "xhigh"],
|
||||||
"Qwen/Qwen3.8-Max": ["low", "medium", "xhigh"],
|
"Qwen/Qwen3.8-Max": ["low", "medium", "xhigh"],
|
||||||
"sakana/fugu-ultra": ["high", "xhigh"],
|
"sakana/fugu-ultra": ["high", "xhigh"],
|
||||||
|
"tencent/hy4-preview": ["low", "medium", "high"],
|
||||||
"xai/grok-4.5": ["low", "medium", "high"],
|
"xai/grok-4.5": ["low", "medium", "high"],
|
||||||
"xai/grok-4.6": ["low", "medium", "high", "xhigh"],
|
"xai/grok-4.6": ["low", "medium", "high", "xhigh"],
|
||||||
"z-ai/glm-5.3-flash": ["low", "high", "max"],
|
"z-ai/glm-5.3-flash": ["low", "high", "max"],
|
||||||
|
|||||||
Reference in New Issue
Block a user