From 17175abd28bd4119ea1297ea4d66520d7ad3bc64 Mon Sep 17 00:00:00 2001 From: Patrick Wozniak Date: Thu, 28 May 2026 22:50:54 +0200 Subject: [PATCH] Bump CLI version header to 0.29.0 for API parity --- src/core.ts | 2 +- tests/test-stream.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core.ts b/src/core.ts index cce3a1a..95b52f8 100644 --- a/src/core.ts +++ b/src/core.ts @@ -39,7 +39,7 @@ export * from "./converters.ts" export * from "./types.ts" export const DEFAULT_API_BASE = "https://api.commandcode.ai" -export const COMMAND_CODE_CLI_VERSION = "0.27.2" +export const COMMAND_CODE_CLI_VERSION = "0.29.0" const DEFAULT_GENERATE_MAX_TOKENS = 64_000 diff --git a/tests/test-stream.ts b/tests/test-stream.ts index 2d525dc..225b52d 100644 --- a/tests/test-stream.ts +++ b/tests/test-stream.ts @@ -341,7 +341,7 @@ describe("streamCommandCode — request serialization", () => { const headers = server.lastRequestHeaders() assert.equal(headers.authorization, "Bearer mock-key") - assert.equal(headers["x-command-code-version"], "0.27.2") + assert.equal(headers["x-command-code-version"], "0.29.0") assert.equal(headers["x-project-slug"], "repo") assert.equal(headers["x-taste-learning"], "true") assert.equal(headers["x-co-flag"], "false")