@@ -40,11 +40,11 @@ export { CHATGPT_CODEX_PROVIDER_ID };
4040
4141const CHATGPT_CODEX_PROVIDER : ProviderEntry = {
4242 id : CHATGPT_CODEX_PROVIDER_ID ,
43- name : 'ChatGPT 璁㈤槄 ' ,
43+ name : 'ChatGPT 订阅 ' ,
4444 builtin : false ,
4545 wire : 'openai-codex-responses' ,
4646 // pi-ai's openai-codex-responses wire appends `/codex/responses` itself, so
47- // we store the bare base. Do not add `/codex` here 鈥? it'd produce
47+ // we store the bare base. Do not add `/codex` here — it'd produce
4848 // `/codex/codex/responses`.
4949 baseUrl : 'https://chatgpt.com/backend-api' ,
5050 defaultModel : 'gpt-5.3-codex' ,
@@ -90,7 +90,7 @@ export function getCodexTokenStore(): CodexTokenStore {
9090 return tokenStoreSingleton ;
9191}
9292
93- /** Test-only reset hook 鈥? vitest resets module state between test cases. */
93+ /** Test-only reset hook — vitest resets module state between test cases. */
9494export function __resetCodexTokenStoreForTests ( ) : void {
9595 tokenStoreSingleton = null ;
9696 activeLoginAbortController = null ;
@@ -178,7 +178,7 @@ async function runLoginFlow(abortController: AbortController): Promise<CodexOAut
178178 const tokenSet : TokenSet = await exchangeCode ( code , pkce . verifier , server . redirectUri ) ;
179179 if ( tokenSet . accountId === null ) {
180180 throw new CodesignError (
181- 'Codex 鐧诲綍鎴愬姛浣嗘棤娉曡鍙? ChatGPT 璐︽埛 ID锛岃閲嶈瘯鐧诲綍銆? ' ,
181+ 'Codex 登录成功但无法读取 ChatGPT 账户 ID,请重试登录。 ' ,
182182 ERROR_CODES . PROVIDER_ERROR ,
183183 { cause : null } ,
184184 ) ;
@@ -275,7 +275,7 @@ async function runLogout(): Promise<CodexOAuthStatus> {
275275 * `chatgpt-codex` with Phase 1's stale `wire`/`baseUrl`, overwrite with the
276276 * Phase 2 canonical values so the first generate after upgrade works without
277277 * requiring a manual re-login. No-op when the entry is absent or already
278- * canonical. Safe to call on every boot 鈥? writes only when state diverges.
278+ * canonical. Safe to call on every boot — writes only when state diverges.
279279 *
280280 * Phase 1 released the card in "coming soon" disabled mode, so this migration
281281 * only fires for users who ran this feat branch directly; zero writes on
0 commit comments