From d02f9d3c06a8b2245b0d571098bd4b76e6eaf8c3 Mon Sep 17 00:00:00 2001 From: Sawyer Cutler Date: Sun, 25 Oct 2026 17:29:27 -0700 Subject: [PATCH] fix: bump grok-shell client identity to 1.0.70 --- src/constants.ts | 2 +- src/responses-adapter.test.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/constants.ts b/src/constants.ts index 0ca3626..8380724 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -42,7 +42,7 @@ export const XAI_RESPONSES_PATH = "/responses"; export const XAI_CLIENT_IDENTIFIER = "grok-shell"; // The proxy version-gates this header. Values below the current floor // (1.0.13+ as of 2026-09-30) return HTTP 426 Upgrade Required. -export const XAI_CLIENT_VERSION = "1.0.62"; +export const XAI_CLIENT_VERSION = "1.0.70"; export const XAI_USER_AGENT = `grok-shell/${XAI_CLIENT_VERSION} (macos; aarch64)`; export const XAI_CLIENT_MODE = "interactive"; // Required by the CLI chat proxy auth middleware on known proxy URLs. diff --git a/src/responses-adapter.test.ts b/src/responses-adapter.test.ts index 81bf40b..259f938 100644 --- a/src/responses-adapter.test.ts +++ b/src/responses-adapter.test.ts @@ -10,9 +10,9 @@ import { createXaiResponsesAdapter } from "./index.js"; // not to re-export more internals to reach them. const RESPONSES_PATH = "/responses"; const CLIENT_IDENTIFIER = "grok-shell"; -const CLIENT_VERSION = "1.0.62"; +const CLIENT_VERSION = "1.0.70"; const CLIENT_MODE = "interactive"; -const USER_AGENT = "grok-shell/1.0.62 (macos; aarch64)"; +const USER_AGENT = "grok-shell/1.0.70 (macos; aarch64)"; const TOKEN_AUTH = "xai-grok-cli"; const AUTHENTICATE_RESPONSE = "authenticate-response";