File tree Expand file tree Collapse file tree
packages/adapters/claude-local/src/server Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1203,28 +1203,28 @@ export async function execute(ctx: AdapterExecutionContext): Promise<AdapterExec
12031203 parsed,
12041204 stdout : proc . stdout ,
12051205 stderr : proc . stderr ,
1206- errorMessage,
1206+ errorMessage : rawErrorMessage ,
12071207 } ) ;
12081208 const transientRetryNotBefore = providerQuota || transientUpstream
12091209 ? extractClaudeRetryNotBefore ( {
12101210 parsed,
12111211 stdout : proc . stdout ,
12121212 stderr : proc . stderr ,
1213- errorMessage,
1213+ errorMessage : rawErrorMessage ,
12141214 } )
12151215 : null ;
12161216 const resolvedErrorCode = proc . errorCode
12171217 // Forward the transport-level error code from the run-disposition seam
12181218 // first. A lost duplex control channel surfaces the typed
12191219 // `duplex_channel_lost` code before any provider classification.
12201220 ? proc . errorCode
1221- : loginMeta . requiresLogin
1221+ : loginMeta . requiresLogin || invalidCredential
12221222 ? "claude_auth_required"
12231223 : failed && isClaudeModelNotFoundError ( {
12241224 parsed,
12251225 stdout : proc . stdout ,
12261226 stderr : proc . stderr ,
1227- errorMessage,
1227+ errorMessage : rawErrorMessage ,
12281228 } )
12291229 ? "model_not_found"
12301230 : failed && clearSessionForMaxTurns
Original file line number Diff line number Diff line change @@ -355,10 +355,7 @@ export function InviteLandingPage() {
355355 setSelectedCompanyId ( companyId , { source : "manual" } ) ;
356356 let present = false ;
357357 for ( let attempt = 0 ; attempt < 4 ; attempt += 1 ) {
358- const { companies } = await queryClient . fetchQuery ( {
359- ...companiesListQueryOptions ,
360- staleTime : 0 ,
361- } ) ;
358+ const { companies } = await fetchCompanyListForCurrentAccount ( queryClient ) ;
362359 if ( companies . some ( ( company ) => company . id === companyId ) ) {
363360 present = true ;
364361 break ;
You can’t perform that action at this time.
0 commit comments