From d46b087b90f85473641c7d892bdea1a6fefb3f61 Mon Sep 17 00:00:00 2001 From: patlux <4481570+patlux@users.noreply.github.com> Date: Thu, 19 Nov 2026 15:43:32 +0000 Subject: [PATCH] chore(models): sync Command Code catalog --- README.md | 2 +- src/commandcode-catalog.ts | 13 +++++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 10dd46f..50ce2c7 100644 --- a/README.md +++ b/README.md @@ -180,7 +180,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.89.2`; 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, also dropping manual effort overrides that upstream has published itself, 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.91.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, also dropping manual effort overrides that upstream has published itself, 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 5209f2c..1dbfc7d 100644 --- a/src/commandcode-catalog.ts +++ b/src/commandcode-catalog.ts @@ -1,4 +1,4 @@ -export const COMMAND_CODE_CLI_VERSION = "1.89.2" +export const COMMAND_CODE_CLI_VERSION = "1.91.1" export type CommandCodeInputType = "text" | "image" export type CommandCodeReasoningEffort = @@ -11,7 +11,7 @@ export type CommandCodeReasoningEffort = | "max" /** - * Generated from command-code@1.89.2 by `npm run sync:commandcode-catalog`. + * Generated from command-code@1.91.1 by `npm run sync:commandcode-catalog`. * Do not edit manually. */ export const MODEL_INPUT_MODALITIES: Readonly> = { @@ -51,6 +51,8 @@ export const MODEL_INPUT_MODALITIES: Readonly> = { "gpt-6-sol": true, "gpt-6.1-sol": true, "gpt-6.1-terra": true, + "gpt-6.2-astra": true, + "gpt-6.2-sol": true, "inclusionai/ling-3.1-flash": true, "inclusionai/ling-3.1-flash-1019": true, "meituan/LongCat-2.0": true, @@ -176,6 +181,7 @@ export const MODEL_REASONING: Readonly> = { "stepfun/Step-3.7-Flash": true, "stepfun/Step-5-Preview": true, "tencent/hy3-paid": true, + "tencent/hy4": true, "tencent/hy4-flash": true, "tencent/hy4-preview": true, "thinkingmachines/inkling": true, @@ -229,6 +235,8 @@ export const MODEL_EFFORTS: Readonly