Skip to content

Commit ac4b624

Browse files
committed
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
1 parent 6430042 commit ac4b624

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/types/src/global-settings.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,8 @@ type GlobalSecretKey = (typeof GLOBAL_SECRET_KEYS)[number]
220220
// Type representing all secrets that can be stored
221221
export type SecretState = Pick<ProviderSettings, Extract<ProviderSecretKey, keyof ProviderSettings>> & {
222222
[K in GlobalSecretKey]?: string
223+
} & {
224+
codexCliOpenAiNativeToken?: string
223225
}
224226

225227
export const isSecretStateKey = (key: string): key is Keys<SecretState> =>

0 commit comments

Comments
 (0)