From ac4b624bfd9861de217c8b1a7140d2a146a445f8 Mon Sep 17 00:00:00 2001 From: Roo Code Date: Wed, 17 Sep 2025 02:13:38 +0000 Subject: [PATCH] fix: add codexCliOpenAiNativeToken to SecretState type definition The token was in SECRET_STATE_KEYS but missing from the SecretState type, causing TypeScript errors in ContextProxy --- packages/types/src/global-settings.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/types/src/global-settings.ts b/packages/types/src/global-settings.ts index 551faf64c3..165141d563 100644 --- a/packages/types/src/global-settings.ts +++ b/packages/types/src/global-settings.ts @@ -220,6 +220,8 @@ type GlobalSecretKey = (typeof GLOBAL_SECRET_KEYS)[number] // Type representing all secrets that can be stored export type SecretState = Pick> & { [K in GlobalSecretKey]?: string +} & { + codexCliOpenAiNativeToken?: string } export const isSecretStateKey = (key: string): key is Keys =>