Skip to content
Source
Sign inSign up
pingdotgg/t3code

[codex] Fix Claude auth probe fallback #3559

Closedjuliusmarmingewants to merge 1 commit intomain fromt3code/fix-claude-oauth-authenticationopened View on GitHub

Showing 2 changed files with 142 additions and 5 deletions.

x
0 of 2 viewed, 2 left
112 additions and 1 deletionapps/server/src/provider/Layers/ClaudeProvider.tsModified
View file
@@ -3,8 +3,10 @@
type ModelCapabilities,
type ModelSelection,
ProviderDriverKind,
+ type ServerProviderAuth,
type ServerProviderModel,
type ServerProviderSlashCommand,
+ type ServerProviderState,
} from "@t3tools/contracts";
import * as DateTime from "effect/DateTime";
import * as Effect from "effect/Effect";
@@ -30,11 +32,14 @@
buildBooleanOptionDescriptor,
buildSelectOptionDescriptor,
buildServerProvider,
+ AUTH_PROBE_TIMEOUT_MS,
DEFAULT_TIMEOUT_MS,
+ extractAuthBoolean,
isCommandMissingCause,
parseGenericCliVersion,
providerModelsFromSettings,
spawnAndCollect,
+ type CommandResult,
type ServerProviderDraft,
} from "../providerSnapshot.ts";
import { makeClaudeEnvironment } from "../Drivers/ClaudeHome.ts";
@@ -444,6 +449,81 @@
return undefined;