@devries-cameron20 / t3code Mirror · read-only / commits / 53245cce53
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 22, 19:30 UTC

fix(server): preserve Codex sign-in guidance in usage notices (#17055)

Co-authored-by: Codex (gpt-6-astra) <noreply@openai.com> Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>

洁月星 committed Oct 23, 2026 at 13:33 UTC 53245cce537af0e7dc722c2850749127a4c90681
2 files changed +5
apps/server/src/provider/CodexProvider.ts
+1
@@ -796,6 +796,7 @@ export const checkCodexProviderStatus = Effect.fn("checkCodexProviderStatus")(fu
796 ? makeUnavailableUsageLimits({
797 checkedAt,
798 reason: "probeFailed",
799 + ...(accountStatus.message ? { message: accountStatus.message } : {}),
800 ...(snapshot.rateLimits ? { message: snapshot.rateLimits.failure } : {}),
801 })
802 : codexRateLimitsToLimits({
apps/server/src/provider/ProviderRegistry.test.ts
+4
@@ -400,6 +400,10 @@ it.layer(
400 status.message,
401 "Codex CLI is not authenticated. Run `codex login` and try again.",
402 );
403 + assert.deepStrictEqual(status.usageLimits?.unavailable, {
404 + reason: "probeFailed",
405 + message: "Codex CLI is not authenticated. Run `codex login` and try again.",
406 + });
407 }),
408 );
409