fix(docs): update Command Code version to 1.32.1

This commit is contained in:
Thomas Byr
2026-08-22 23:25:06 +02:00
parent 45565a883f
commit d637a73e06
4 changed files with 7 additions and 6 deletions
+3 -2
View File
@@ -100,7 +100,7 @@ describe("commandCodeModelsFromApiResponse()", () => {
)
})
it("matches command-code@1.15.1 image input capabilities", () => {
it("matches command-code@1.32.1 image input capabilities", () => {
assert.deepEqual(inputModalitiesForModel("gpt-5.6-luna"), ["text", "image"])
assert.deepEqual(inputModalitiesForModel("meta/muse-spark-1.2"), ["text", "image"])
assert.deepEqual(inputModalitiesForModel("deepseek/deepseek-v4-pro"), ["text"])
@@ -123,7 +123,7 @@ describe("commandCodeModelsFromApiResponse()", () => {
assert.equal(models[1]?.reasoning, false)
})
it("matches the exact command-code@1.15.1 reasoning effort catalog", () => {
it("matches the exact command-code@1.32.1 reasoning effort catalog", () => {
assert.deepEqual(MODEL_EFFORTS, {
"Qwen/Qwen3.8-Max": ["low", "medium", "xhigh"],
"claude-fable-5": ["low", "medium", "high", "xhigh", "max"],
@@ -147,6 +147,7 @@ describe("commandCodeModelsFromApiResponse()", () => {
"google/gemini-3.6-flash": ["low", "medium", "high"],
"sakana/fugu-ultra": ["high", "xhigh"],
"xai/grok-4.5": ["low", "medium", "high"],
"zai-org/GLM-5.3": ["low", "high", "max"],
"zai-org/GLM-5.2": ["high", "max"],
})
})
+2 -2
View File
@@ -50,7 +50,7 @@ function assertCost(
describe("MODEL_COSTS pricing overlay", () => {
it("covers the current Command Code model catalog snapshot", () => {
assert.equal(fixture.source, "https://api.commandcode.ai/provider/v1/models")
assert.match(fixture.fetchedAt, /^2026-08-04T/)
assert.match(fixture.fetchedAt, /^2026-08-22T/)
const catalogIds = [...fixture.modelIds].sort()
const pricedIds = Object.keys(MODEL_COSTS).sort()
@@ -169,7 +169,7 @@ describe("MODEL_COSTS pricing overlay", () => {
it("tracks pricing provenance", () => {
assert.equal(PRICING_SOURCE_URL, "https://commandcode.ai/docs/resources/pricing-limits")
assert.equal(PRICING_LAST_VERIFIED, "2026-08-20")
assert.equal(PRICING_LAST_VERIFIED, "2026-08-22")
})
it("fails once temporary pricing needs review", () => {
+1 -1
View File
@@ -488,7 +488,7 @@ describe("streamCommandCode — request serialization", () => {
const headers = server.lastRequestHeaders()
assert.equal(headers.authorization, "Bearer mock-key")
assert.equal(headers["x-command-code-version"], "1.15.1")
assert.equal(headers["x-command-code-version"], "1.32.1")
assert.equal(headers["x-project-slug"], "repo")
assert.equal(headers["x-taste-learning"], "true")
assert.equal(headers["x-co-flag"], "false")