chore(models): sync Command Code catalog (#81)

Co-authored-by: patlux <4481570+patlux@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2026-09-03 13:27:02 +02:00
committed by GitHub
co-authored by patlux
parent 3049ce1544
commit f9879a20ee
2 changed files with 14 additions and 3 deletions
+1 -1
View File
@@ -139,7 +139,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.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. 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.44.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.
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.
+13 -2
View File
@@ -1,10 +1,10 @@
export const COMMAND_CODE_CLI_VERSION = "1.40.1" export const COMMAND_CODE_CLI_VERSION = "1.44.0"
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.40.1 by `npm run sync:commandcode-catalog`. * Generated from command-code@1.44.0 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[]>> = {
@@ -22,6 +22,7 @@ export const MODEL_INPUT_MODALITIES: Readonly<Record<string, readonly CommandCod
"google/gemini-3.5-flash-lite": ["text", "image"], "google/gemini-3.5-flash-lite": ["text", "image"],
"google/gemini-3.6-flash": ["text", "image"], "google/gemini-3.6-flash": ["text", "image"],
"google/gemini-3.7-flash": ["text", "image"], "google/gemini-3.7-flash": ["text", "image"],
"google/gemini-3.8-flash": ["text", "image"],
"gpt-5.3-codex": ["text", "image"], "gpt-5.3-codex": ["text", "image"],
"gpt-5.4": ["text", "image"], "gpt-5.4": ["text", "image"],
"gpt-5.4-mini": ["text", "image"], "gpt-5.4-mini": ["text", "image"],
@@ -32,6 +33,8 @@ 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"],
"meta/muse-spark-1.3": ["text", "image"],
"meta/muse-spark-1.3-contributor": ["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"],
@@ -44,6 +47,7 @@ export const MODEL_INPUT_MODALITIES: Readonly<Record<string, readonly CommandCod
"Qwen/Qwen3.8-27B": ["text", "image"], "Qwen/Qwen3.8-27B": ["text", "image"],
"Qwen/Qwen3.8-Flash": ["text", "image"], "Qwen/Qwen3.8-Flash": ["text", "image"],
"Qwen/Qwen3.8-Max": ["text", "image"], "Qwen/Qwen3.8-Max": ["text", "image"],
"Qwen/Qwen3.8-Max-0902": ["text", "image"],
"sakana/fugu-ultra": ["text", "image"], "sakana/fugu-ultra": ["text", "image"],
"stepfun/Step-3.7-Flash": ["text", "image"], "stepfun/Step-3.7-Flash": ["text", "image"],
"thinkingmachines/inkling": ["text", "image"], "thinkingmachines/inkling": ["text", "image"],
@@ -70,6 +74,7 @@ export const MODEL_REASONING: Readonly<Record<string, true>> = {
"google/gemini-3.5-flash-lite": true, "google/gemini-3.5-flash-lite": true,
"google/gemini-3.6-flash": true, "google/gemini-3.6-flash": true,
"google/gemini-3.7-flash": true, "google/gemini-3.7-flash": true,
"google/gemini-3.8-flash": true,
"gpt-5.3-codex": true, "gpt-5.3-codex": true,
"gpt-5.4": true, "gpt-5.4": true,
"gpt-5.4-mini": true, "gpt-5.4-mini": true,
@@ -77,9 +82,12 @@ export const MODEL_REASONING: Readonly<Record<string, true>> = {
"gpt-5.6-luna": true, "gpt-5.6-luna": true,
"gpt-5.6-sol": true, "gpt-5.6-sol": true,
"gpt-5.6-terra": true, "gpt-5.6-terra": true,
"meituan/LongCat-2.0:free": 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,
"meta/muse-spark-1.3": true,
"meta/muse-spark-1.3-contributor": 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,
@@ -94,6 +102,7 @@ export const MODEL_REASONING: Readonly<Record<string, true>> = {
"Qwen/Qwen3.8-27B": true, "Qwen/Qwen3.8-27B": true,
"Qwen/Qwen3.8-Flash": true, "Qwen/Qwen3.8-Flash": true,
"Qwen/Qwen3.8-Max": true, "Qwen/Qwen3.8-Max": true,
"Qwen/Qwen3.8-Max-0902": true,
"sakana/fugu-ultra": true, "sakana/fugu-ultra": 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,
@@ -125,6 +134,7 @@ export const MODEL_EFFORTS: Readonly<Record<string, readonly CommandCodeReasonin
"google/gemini-3.5-flash-lite": ["low", "medium", "high"], "google/gemini-3.5-flash-lite": ["low", "medium", "high"],
"google/gemini-3.6-flash": ["low", "medium", "high"], "google/gemini-3.6-flash": ["low", "medium", "high"],
"google/gemini-3.7-flash": ["low", "medium", "high"], "google/gemini-3.7-flash": ["low", "medium", "high"],
"google/gemini-3.8-flash": ["low", "medium", "high"],
"gpt-5.3-codex": ["low", "medium", "high", "xhigh"], "gpt-5.3-codex": ["low", "medium", "high", "xhigh"],
"gpt-5.4": ["low", "medium", "high", "xhigh"], "gpt-5.4": ["low", "medium", "high", "xhigh"],
"gpt-5.4-mini": ["low", "medium", "high"], "gpt-5.4-mini": ["low", "medium", "high"],
@@ -136,6 +146,7 @@ export const MODEL_EFFORTS: Readonly<Record<string, readonly CommandCodeReasonin
"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"],
"Qwen/Qwen3.8-Max-0902": ["low", "medium", "xhigh"],
"sakana/fugu-ultra": ["high", "xhigh"], "sakana/fugu-ultra": ["high", "xhigh"],
"tencent/hy4-preview": ["low", "medium", "high"], "tencent/hy4-preview": ["low", "medium", "high"],
"xai/grok-4.5": ["low", "medium", "high"], "xai/grok-4.5": ["low", "medium", "high"],