2026-07-20 13:43:36 +00:00
<!DOCTYPE html> < html class = "default" lang = "en" data-base = "../" >< head >< meta charset = "utf-8" />< meta http-equiv = "x-ua-compatible" content = "IE=edge" />< title > SessionProviderRouter | rea-agents</ title >< meta name = "description" content = "Documentation for rea-agents" />< meta name = "viewport" content = "width=device-width, initial-scale=1" />< link rel = "stylesheet" href = "../assets/style.css" />< link rel = "stylesheet" href = "../assets/highlight.css" />< script defer src = "../assets/main.js" ></ script >< script async src = "../assets/icons.js" id = "tsd-icons-script" ></ script >< script async src = "../assets/search.js" id = "tsd-search-script" ></ script >< script async src = "../assets/navigation.js" id = "tsd-nav-script" ></ script >< script async src = "../assets/hierarchy.js" id = "tsd-hierarchy-script" ></ script ></ head >< body >< script > document . documentElement . dataset . theme = localStorage . getItem ( "tsd-theme" ) || "os" ; document . body . style . display = "none" ; setTimeout (() => window . app ? app . showPage () : document . body . style . removeProperty ( "display" ), 500 )</ script >< header class = "tsd-page-toolbar" >
< div class = "tsd-toolbar-contents container" >< a href = "../index.html" class = "title" > rea-agents</ a >
2026-07-15 21:06:06 +08:00
< div id = "tsd-toolbar-links" ></ div >< button id = "tsd-search-trigger" class = "tsd-widget" aria-label = "Search" >< svg width = "16" height = "16" viewBox = "0 0 16 16" fill = "none" aria-hidden = "true" >< use href = "../assets/icons.svg#icon-search" ></ use ></ svg ></ button >< dialog id = "tsd-search" aria-label = "Search" >< input role = "combobox" id = "tsd-search-input" aria-controls = "tsd-search-results" aria-autocomplete = "list" aria-expanded = "true" autocapitalize = "off" autocomplete = "off" placeholder = "Search the docs" maxLength = "100" />
< ul role = "listbox" id = "tsd-search-results" ></ ul >
< div id = "tsd-search-status" aria-live = "polite" aria-atomic = "true" >
< div > Preparing search index...</ div ></ div ></ dialog >< a href = "#" class = "tsd-widget menu" id = "tsd-toolbar-menu-trigger" data-toggle = "menu" aria-label = "Menu" >< svg width = "16" height = "16" viewBox = "0 0 16 16" fill = "none" aria-hidden = "true" >< use href = "../assets/icons.svg#icon-menu" ></ use ></ svg ></ a ></ div ></ header >
< div class = "container container-main" >
< div class = "col-content" >
< div class = "tsd-page-title" >
< ul class = "tsd-breadcrumb" aria-label = "Breadcrumb" >
< li >< a href = "../modules/application_SessionProviderRouter.html" > application/SessionProviderRouter</ a ></ li >
< li >< a href = "" aria-current = "page" > SessionProviderRouter</ a ></ li ></ ul >
< h1 > Class SessionProviderRouter</ h1 ></ div >
< section class = "tsd-panel tsd-comment" >
< div class = "tsd-comment tsd-typography" >< p > Resolve either the compatibility single-provider seam or a selectable set.</ p >
</ div ></ section >< aside class = "tsd-sources" >
< ul >
2026-07-15 21:11:21 +08:00
< li > Defined in < a href = "https://github.com/morluto/rea/blob/main/src/application/SessionProviderRouter.ts#L68" > src/application/SessionProviderRouter.ts:68</ a ></ li ></ ul ></ aside >
2026-07-15 21:06:06 +08:00
< section class = "tsd-panel-group tsd-index-group" >
< section class = "tsd-panel tsd-index-panel" >
< details class = "tsd-index-content tsd-accordion" open >< summary class = "tsd-accordion-summary tsd-index-summary" >< svg width = "20" height = "20" viewBox = "0 0 24 24" fill = "none" aria-hidden = "true" >< use href = "../assets/icons.svg#icon-chevronDown" ></ use ></ svg >
< h5 class = "tsd-index-heading uppercase" > Index</ h5 ></ summary >
< div class = "tsd-accordion-details" >
< section class = "tsd-index-section" >
< h3 class = "tsd-index-heading tsd-anchor-link" id = "methods" > Methods< a href = "#methods" aria-label = "Permalink" class = "tsd-anchor-icon" >< svg viewBox = "0 0 24 24" aria-hidden = "true" >< use href = "../assets/icons.svg#icon-anchor" ></ use ></ svg ></ a ></ h3 >
< div class = "tsd-index-list" >< a href = "#candidatestatuses" class = "tsd-index-link" >< svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" >< use href = "../assets/icons.svg#icon-2048" ></ use ></ svg >< span > candidate< wbr /> Statuses</ span ></ a >
< a href = "#configuredidentity" class = "tsd-index-link" >< svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" >< use href = "../assets/icons.svg#icon-2048" ></ use ></ svg >< span > configured< wbr /> Identity</ span ></ a >
< a href = "#initialroute" class = "tsd-index-link" >< svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" >< use href = "../assets/icons.svg#icon-2048" ></ use ></ svg >< span > initial< wbr /> Route</ span ></ a >
< a href = "#provideridentities" class = "tsd-index-link" >< svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" >< use href = "../assets/icons.svg#icon-2048" ></ use ></ svg >< span > provider< wbr /> Identities</ span ></ a >
< a href = "#resolve" class = "tsd-index-link" >< svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" >< use href = "../assets/icons.svg#icon-2048" ></ use ></ svg >< span > resolve</ span ></ a >
< a href = "#unboundoperationerror" class = "tsd-index-link" >< svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" >< use href = "../assets/icons.svg#icon-2048" ></ use ></ svg >< span > unbound< wbr /> Operation< wbr /> Error</ span ></ a >
< a href = "#legacy" class = "tsd-index-link" >< svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" >< use href = "../assets/icons.svg#icon-2048" ></ use ></ svg >< span > legacy</ span ></ a >
< a href = "#selectable" class = "tsd-index-link" >< svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" >< use href = "../assets/icons.svg#icon-2048" ></ use ></ svg >< span > selectable</ span ></ a >
</ div ></ section ></ div ></ details ></ section ></ section >
< details class = "tsd-panel-group tsd-member-group tsd-accordion" open >< summary class = "tsd-accordion-summary" data-key = "section-Methods" >< svg width = "20" height = "20" viewBox = "0 0 24 24" fill = "none" aria-hidden = "true" >< use href = "../assets/icons.svg#icon-chevronDown" ></ use ></ svg >
< h2 class = "tsd-anchor-link" id = "methods-1" > Methods< a href = "#methods-1" aria-label = "Permalink" class = "tsd-anchor-icon" >< svg viewBox = "0 0 24 24" aria-hidden = "true" >< use href = "../assets/icons.svg#icon-anchor" ></ use ></ svg ></ a ></ h2 ></ summary >
< section >
< section class = "tsd-panel tsd-member" >
< h3 class = "tsd-anchor-link" id = "candidatestatuses" >< span > candidate< wbr /> Statuses</ span >< a href = "#candidatestatuses" aria-label = "Permalink" class = "tsd-anchor-icon" >< svg viewBox = "0 0 24 24" aria-hidden = "true" >< use href = "../assets/icons.svg#icon-anchor" ></ use ></ svg ></ a ></ h3 >
< ul class = "tsd-signatures" >
< li class = "" >
< div class = "tsd-signature tsd-anchor-link" id = "candidatestatuses-1" >< span class = "tsd-kind-call-signature" > candidateStatuses</ span >< span class = "tsd-signature-symbol" > (</ span >< br /> < span class = "tsd-kind-parameter" > route</ span >< span class = "tsd-signature-symbol" > :</ span > < a href = "../interfaces/application_SessionProviderRouter.SessionProviderRoute.html" class = "tsd-signature-type tsd-kind-interface" > SessionProviderRoute</ a >< span class = "tsd-signature-symbol" > ,</ span >< br />< span class = "tsd-signature-symbol" > )</ span >< span class = "tsd-signature-symbol" > :</ span > < span class = "tsd-signature-keyword" > readonly</ span > < a href = "../interfaces/application_AnalysisProviderRegistry.AnalysisProviderCandidateStatus.html" class = "tsd-signature-type tsd-kind-interface" > AnalysisProviderCandidateStatus</ a >< span class = "tsd-signature-symbol" > []</ span >< a href = "#candidatestatuses-1" aria-label = "Permalink" class = "tsd-anchor-icon" >< svg viewBox = "0 0 24 24" aria-hidden = "true" >< use href = "../assets/icons.svg#icon-anchor" ></ use ></ svg ></ a ></ div >
< div class = "tsd-description" >
< div class = "tsd-comment tsd-typography" >< p > Candidate status authoritative for the active or target-free route.</ p >
</ div >
< div class = "tsd-parameters" >
< h4 class = "tsd-parameters-title" > Parameters</ h4 >
< ul class = "tsd-parameter-list" >
< li >< span >< span class = "tsd-kind-parameter" > route</ span > : < a href = "../interfaces/application_SessionProviderRouter.SessionProviderRoute.html" class = "tsd-signature-type tsd-kind-interface" > SessionProviderRoute</ a ></ span ></ li ></ ul ></ div >
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-keyword" > readonly</ span > < a href = "../interfaces/application_AnalysisProviderRegistry.AnalysisProviderCandidateStatus.html" class = "tsd-signature-type tsd-kind-interface" > AnalysisProviderCandidateStatus</ a >< span class = "tsd-signature-symbol" > []</ span ></ h4 >< aside class = "tsd-sources" >
< ul >
2026-07-15 21:11:21 +08:00
< li > Defined in < a href = "https://github.com/morluto/rea/blob/main/src/application/SessionProviderRouter.ts#L238" > src/application/SessionProviderRouter.ts:238</ a ></ li ></ ul ></ aside ></ div ></ li ></ ul ></ section >
2026-07-15 21:06:06 +08:00
< section class = "tsd-panel tsd-member" >
< h3 class = "tsd-anchor-link" id = "configuredidentity" >< span > configured< wbr /> Identity</ span >< a href = "#configuredidentity" aria-label = "Permalink" class = "tsd-anchor-icon" >< svg viewBox = "0 0 24 24" aria-hidden = "true" >< use href = "../assets/icons.svg#icon-anchor" ></ use ></ svg ></ a ></ h3 >
< ul class = "tsd-signatures" >
< li class = "" >
< div class = "tsd-signature tsd-anchor-link" id = "configuredidentity-1" >< span class = "tsd-kind-call-signature" > configuredIdentity</ span >< span class = "tsd-signature-symbol" > ()</ span >< span class = "tsd-signature-symbol" > :</ span > < a href = "../interfaces/application_AnalysisProvider.ProviderIdentity.html" class = "tsd-signature-type tsd-kind-interface" > ProviderIdentity</ a >< a href = "#configuredidentity-1" aria-label = "Permalink" class = "tsd-anchor-icon" >< svg viewBox = "0 0 24 24" aria-hidden = "true" >< use href = "../assets/icons.svg#icon-anchor" ></ use ></ svg ></ a ></ div >
< div class = "tsd-description" >
< div class = "tsd-comment tsd-typography" >< p > Compatibility identity covering every configured provider.</ p >
</ div >
< h4 class = "tsd-returns-title" > Returns < a href = "../interfaces/application_AnalysisProvider.ProviderIdentity.html" class = "tsd-signature-type tsd-kind-interface" > ProviderIdentity</ a ></ h4 >< aside class = "tsd-sources" >
< ul >
2026-07-15 21:11:21 +08:00
< li > Defined in < a href = "https://github.com/morluto/rea/blob/main/src/application/SessionProviderRouter.ts#L141" > src/application/SessionProviderRouter.ts:141</ a ></ li ></ ul ></ aside ></ div ></ li ></ ul ></ section >
2026-07-15 21:06:06 +08:00
< section class = "tsd-panel tsd-member" >
< h3 class = "tsd-anchor-link" id = "initialroute" >< span > initial< wbr /> Route</ span >< a href = "#initialroute" aria-label = "Permalink" class = "tsd-anchor-icon" >< svg viewBox = "0 0 24 24" aria-hidden = "true" >< use href = "../assets/icons.svg#icon-anchor" ></ use ></ svg ></ a ></ h3 >
< ul class = "tsd-signatures" >
< li class = "" >
< div class = "tsd-signature tsd-anchor-link" id = "initialroute-1" >< span class = "tsd-kind-call-signature" > initialRoute</ span >< span class = "tsd-signature-symbol" > ()</ span >< span class = "tsd-signature-symbol" > :</ span > < a href = "../interfaces/application_SessionProviderRouter.SessionProviderRoute.html" class = "tsd-signature-type tsd-kind-interface" > SessionProviderRoute</ a >< a href = "#initialroute-1" aria-label = "Permalink" class = "tsd-anchor-icon" >< svg viewBox = "0 0 24 24" aria-hidden = "true" >< use href = "../assets/icons.svg#icon-anchor" ></ use ></ svg ></ a ></ div >
< div class = "tsd-description" >
< div class = "tsd-comment tsd-typography" >< p > Target-free routes and discovery metadata.</ p >
</ div >
< h4 class = "tsd-returns-title" > Returns < a href = "../interfaces/application_SessionProviderRouter.SessionProviderRoute.html" class = "tsd-signature-type tsd-kind-interface" > SessionProviderRoute</ a ></ h4 >< aside class = "tsd-sources" >
< ul >
2026-07-15 21:11:21 +08:00
< li > Defined in < a href = "https://github.com/morluto/rea/blob/main/src/application/SessionProviderRouter.ts#L165" > src/application/SessionProviderRouter.ts:165</ a ></ li ></ ul ></ aside ></ div ></ li ></ ul ></ section >
2026-07-15 21:06:06 +08:00
< section class = "tsd-panel tsd-member" >
< h3 class = "tsd-anchor-link" id = "provideridentities" >< span > provider< wbr /> Identities</ span >< a href = "#provideridentities" aria-label = "Permalink" class = "tsd-anchor-icon" >< svg viewBox = "0 0 24 24" aria-hidden = "true" >< use href = "../assets/icons.svg#icon-anchor" ></ use ></ svg ></ a ></ h3 >
< ul class = "tsd-signatures" >
< li class = "" >
< div class = "tsd-signature tsd-anchor-link" id = "provideridentities-1" >< span class = "tsd-kind-call-signature" > providerIdentities</ span >< span class = "tsd-signature-symbol" > (</ span >< span class = "tsd-kind-parameter" > route</ span >< span class = "tsd-signature-symbol" > :</ span > < a href = "../interfaces/application_SessionProviderRouter.SessionProviderRoute.html" class = "tsd-signature-type tsd-kind-interface" > SessionProviderRoute</ a >< span class = "tsd-signature-symbol" > )</ span >< span class = "tsd-signature-symbol" > :</ span > < span class = "tsd-signature-keyword" > readonly</ span > < a href = "../interfaces/application_AnalysisProvider.ProviderIdentity.html" class = "tsd-signature-type tsd-kind-interface" > ProviderIdentity</ a >< span class = "tsd-signature-symbol" > []</ span >< a href = "#provideridentities-1" aria-label = "Permalink" class = "tsd-anchor-icon" >< svg viewBox = "0 0 24 24" aria-hidden = "true" >< use href = "../assets/icons.svg#icon-anchor" ></ use ></ svg ></ a ></ div >
< div class = "tsd-description" >
< div class = "tsd-comment tsd-typography" >< p > Provider identities exposed through the flat 1.x compatibility field.</ p >
</ div >
< div class = "tsd-parameters" >
< h4 class = "tsd-parameters-title" > Parameters</ h4 >
< ul class = "tsd-parameter-list" >
< li >< span >< span class = "tsd-kind-parameter" > route</ span > : < a href = "../interfaces/application_SessionProviderRouter.SessionProviderRoute.html" class = "tsd-signature-type tsd-kind-interface" > SessionProviderRoute</ a ></ span ></ li ></ ul ></ div >
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-keyword" > readonly</ span > < a href = "../interfaces/application_AnalysisProvider.ProviderIdentity.html" class = "tsd-signature-type tsd-kind-interface" > ProviderIdentity</ a >< span class = "tsd-signature-symbol" > []</ span ></ h4 >< aside class = "tsd-sources" >
< ul >
2026-07-15 21:11:21 +08:00
< li > Defined in < a href = "https://github.com/morluto/rea/blob/main/src/application/SessionProviderRouter.ts#L146" > src/application/SessionProviderRouter.ts:146</ a ></ li ></ ul ></ aside ></ div ></ li ></ ul ></ section >
2026-07-15 21:06:06 +08:00
< section class = "tsd-panel tsd-member" >
< h3 class = "tsd-anchor-link" id = "resolve" >< span > resolve</ span >< a href = "#resolve" aria-label = "Permalink" class = "tsd-anchor-icon" >< svg viewBox = "0 0 24 24" aria-hidden = "true" >< use href = "../assets/icons.svg#icon-anchor" ></ use ></ svg ></ a ></ h3 >
< ul class = "tsd-signatures" >
< li class = "" >
< div class = "tsd-signature tsd-anchor-link" id = "resolve-1" >< span class = "tsd-kind-call-signature" > resolve</ span >< span class = "tsd-signature-symbol" > (</ span >< br /> < span class = "tsd-kind-parameter" > target</ span >< span class = "tsd-signature-symbol" > :</ span > < a href = "../interfaces/domain_binaryTarget.BinaryTarget.html" class = "tsd-signature-type tsd-kind-interface" > BinaryTarget</ a >< span class = "tsd-signature-symbol" > ,</ span >< br /> < span class = "tsd-kind-parameter" > providerId</ span >< span class = "tsd-signature-symbol" > ?:</ span > < span class = "tsd-signature-type" > string</ span >< span class = "tsd-signature-symbol" > ,</ span >< br /> < span class = "tsd-kind-parameter" > signal</ span >< span class = "tsd-signature-symbol" > ?:</ span > < span class = "tsd-signature-type" > AbortSignal</ span >< span class = "tsd-signature-symbol" > ,</ span >< br />< span class = "tsd-signature-symbol" > )</ span >< span class = "tsd-signature-symbol" > :</ span > < span class = "tsd-signature-type" > Promise</ span >< span class = "tsd-signature-symbol" > < </ span >< a href = "../types/domain_result.Result.html" class = "tsd-signature-type tsd-kind-type-alias" > Result</ a >< span class = "tsd-signature-symbol" > < </ span >< a href = "../interfaces/application_SessionProviderRouter.SessionProviderRoute.html" class = "tsd-signature-type tsd-kind-interface" > SessionProviderRoute</ a >< span class = "tsd-signature-symbol" > ,</ span > < a href = "domain_errors.AnalysisError.html" class = "tsd-signature-type tsd-kind-class" > AnalysisError</ a >< span class = "tsd-signature-symbol" > > </ span >< span class = "tsd-signature-symbol" > > </ span >< a href = "#resolve-1" aria-label = "Permalink" class = "tsd-anchor-icon" >< svg viewBox = "0 0 24 24" aria-hidden = "true" >< use href = "../assets/icons.svg#icon-anchor" ></ use ></ svg ></ a ></ div >
< div class = "tsd-description" >
< div class = "tsd-comment tsd-typography" >< p > Resolve target routes before any provider client is created.</ p >
</ div >
< div class = "tsd-parameters" >
< h4 class = "tsd-parameters-title" > Parameters</ h4 >
< ul class = "tsd-parameter-list" >
< li >< span >< span class = "tsd-kind-parameter" > target</ span > : < a href = "../interfaces/domain_binaryTarget.BinaryTarget.html" class = "tsd-signature-type tsd-kind-interface" > BinaryTarget</ a ></ span ></ li >
< li >< span >< code class = "tsd-tag" > Optional</ code >< span class = "tsd-kind-parameter" > providerId</ span > : < span class = "tsd-signature-type" > string</ span ></ span ></ li >
< li >< span >< code class = "tsd-tag" > Optional</ code >< span class = "tsd-kind-parameter" > signal</ span > : < span class = "tsd-signature-type" > AbortSignal</ span ></ span ></ li ></ ul ></ div >
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > Promise</ span >< span class = "tsd-signature-symbol" > < </ span >< a href = "../types/domain_result.Result.html" class = "tsd-signature-type tsd-kind-type-alias" > Result</ a >< span class = "tsd-signature-symbol" > < </ span >< a href = "../interfaces/application_SessionProviderRouter.SessionProviderRoute.html" class = "tsd-signature-type tsd-kind-interface" > SessionProviderRoute</ a >< span class = "tsd-signature-symbol" > ,</ span > < a href = "domain_errors.AnalysisError.html" class = "tsd-signature-type tsd-kind-class" > AnalysisError</ a >< span class = "tsd-signature-symbol" > > </ span >< span class = "tsd-signature-symbol" > > </ span ></ h4 >< aside class = "tsd-sources" >
< ul >
2026-07-15 21:11:21 +08:00
< li > Defined in < a href = "https://github.com/morluto/rea/blob/main/src/application/SessionProviderRouter.ts#L180" > src/application/SessionProviderRouter.ts:180</ a ></ li ></ ul ></ aside ></ div ></ li ></ ul ></ section >
2026-07-15 21:06:06 +08:00
< section class = "tsd-panel tsd-member" >
< h3 class = "tsd-anchor-link" id = "unboundoperationerror" >< span > unbound< wbr /> Operation< wbr /> Error</ span >< a href = "#unboundoperationerror" aria-label = "Permalink" class = "tsd-anchor-icon" >< svg viewBox = "0 0 24 24" aria-hidden = "true" >< use href = "../assets/icons.svg#icon-anchor" ></ use ></ svg ></ a ></ h3 >
< ul class = "tsd-signatures" >
< li class = "" >
< div class = "tsd-signature tsd-anchor-link" id = "unboundoperationerror-1" >< span class = "tsd-kind-call-signature" > unboundOperationError</ span >< span class = "tsd-signature-symbol" > (</ span >< br /> < span class = "tsd-kind-parameter" > operation</ span >< span class = "tsd-signature-symbol" > :</ span > < span class = "tsd-signature-type" > string</ span >< span class = "tsd-signature-symbol" > ,</ span >< br /> < span class = "tsd-kind-parameter" > route</ span >< span class = "tsd-signature-symbol" > :</ span > < a href = "../interfaces/application_SessionProviderRouter.SessionProviderRoute.html" class = "tsd-signature-type tsd-kind-interface" > SessionProviderRoute</ a >< span class = "tsd-signature-symbol" > ,</ span >< br />< span class = "tsd-signature-symbol" > )</ span >< span class = "tsd-signature-symbol" > :</ span > < a href = "domain_errors.ProviderSelectionError.html" class = "tsd-signature-type tsd-kind-class" > ProviderSelectionError</ a > < span class = "tsd-signature-symbol" > |</ span > < span class = "tsd-signature-type" > undefined</ span >< a href = "#unboundoperationerror-1" aria-label = "Permalink" class = "tsd-anchor-icon" >< svg viewBox = "0 0 24 24" aria-hidden = "true" >< use href = "../assets/icons.svg#icon-anchor" ></ use ></ svg ></ a ></ div >
< div class = "tsd-description" >
< div class = "tsd-comment tsd-typography" >< p > Produce exact candidate rejections for an intentionally unbound route.</ p >
</ div >
< div class = "tsd-parameters" >
< h4 class = "tsd-parameters-title" > Parameters</ h4 >
< ul class = "tsd-parameter-list" >
< li >< span >< span class = "tsd-kind-parameter" > operation</ span > : < span class = "tsd-signature-type" > string</ span ></ span ></ li >
< li >< span >< span class = "tsd-kind-parameter" > route</ span > : < a href = "../interfaces/application_SessionProviderRouter.SessionProviderRoute.html" class = "tsd-signature-type tsd-kind-interface" > SessionProviderRoute</ a ></ span ></ li ></ ul ></ div >
< h4 class = "tsd-returns-title" > Returns < a href = "domain_errors.ProviderSelectionError.html" class = "tsd-signature-type tsd-kind-class" > ProviderSelectionError</ a > < span class = "tsd-signature-symbol" > |</ span > < span class = "tsd-signature-type" > undefined</ span ></ h4 >< aside class = "tsd-sources" >
< ul >
2026-07-15 21:11:21 +08:00
< li > Defined in < a href = "https://github.com/morluto/rea/blob/main/src/application/SessionProviderRouter.ts#L246" > src/application/SessionProviderRouter.ts:246</ a ></ li ></ ul ></ aside ></ div ></ li ></ ul ></ section >
2026-07-15 21:06:06 +08:00
< section class = "tsd-panel tsd-member" >
< h3 class = "tsd-anchor-link" id = "legacy" >< code class = "tsd-tag" > Static</ code >< span > legacy</ span >< a href = "#legacy" aria-label = "Permalink" class = "tsd-anchor-icon" >< svg viewBox = "0 0 24 24" aria-hidden = "true" >< use href = "../assets/icons.svg#icon-anchor" ></ use ></ svg ></ a ></ h3 >
< ul class = "tsd-signatures" >
< li class = "" >
< div class = "tsd-signature tsd-anchor-link" id = "legacy-1" >< span class = "tsd-kind-call-signature" > legacy</ span >< span class = "tsd-signature-symbol" > (</ span >< br /> < span class = "tsd-kind-parameter" > provider</ span >< span class = "tsd-signature-symbol" > :</ span > < a href = "../interfaces/application_AnalysisProvider.AnalysisProvider.html" class = "tsd-signature-type tsd-kind-interface" > AnalysisProvider</ a > < span class = "tsd-signature-symbol" > |</ span > < a href = "../types/application_AnalysisProvider.AnalysisClientFactory.html" class = "tsd-signature-type tsd-kind-type-alias" > AnalysisClientFactory</ a >< span class = "tsd-signature-symbol" > ,</ span >< br /> < span class = "tsd-kind-parameter" > options</ span >< span class = "tsd-signature-symbol" > ?:</ span > < span class = "tsd-signature-symbol" > {</ span >< br /> < span class = "tsd-kind-property" > resolveAnalysisProfile</ span >< span class = "tsd-signature-symbol" > ?:</ span > < span class = "tsd-signature-symbol" > (</ span >< br /> < span class = "tsd-kind-parameter" > target</ span >< span class = "tsd-signature-symbol" > :</ span > < a href = "../interfaces/domain_binaryTarget.BinaryTarget.html" class = "tsd-signature-type tsd-kind-interface" > BinaryTarget</ a >< span class = "tsd-signature-symbol" > ,</ span >< br /> < span class = "tsd-kind-parameter" > resolutionOptions</ span >< span class = "tsd-signature-symbol" > ?:</ span > < a href = "../interfaces/application_AnalysisProvider.AnalysisProfileResolutionOptions.html" class = "tsd-signature-type tsd-kind-interface" > AnalysisProfileResolutionOptions</ a >< span class = "tsd-signature-symbol" > ,</ span >< br /> < span class = "tsd-signature-symbol" > )</ span > < span class = "tsd-signature-symbol" > => </ span > < span class = "tsd-signature-type" > Promise</ span >< span class = "tsd-signature-symbol" > < </ span >< a href = "../types/domain_result.Result.html" class = "tsd-signature-type tsd-kind-type-alias" > Result</ a >< span class = "tsd-signature-symbol" > < </ span >< a href = "../interfaces/application_AnalysisProvider.AnalysisProfileResolution.html" class = "tsd-signature-type tsd-kind-interface" > AnalysisProfileResolution</ a >< span class = "tsd-signature-symbol" > ,</ span > < a href = "domain_errors.AnalysisError.html" class = "tsd-signature-type tsd-kind-class" > AnalysisError</ a >< span class = "tsd-signature-symbol" > > </ span >< span class = "tsd-signature-symbol" > > </ span >< span class = "tsd-signature-symbol" > ;</ span >< br /> < span class = "tsd-signature-symbol" > }</ span >< span class = "tsd-signature-symbol" > ,</ span >< br />< span class = "tsd-signature-symbol" > )</ span >< span class = "tsd-signature-symbol" > :</ span > < a href = "" class = "tsd-signature-type tsd-kind-class" > SessionProviderRouter</ a >< a href = "#legacy-1" aria-label = "Permalink" class = "tsd-anchor-icon" >< svg viewBox = "0 0 24 24" aria-hidden = "true" >< use href = "../assets/icons.svg#icon-anchor" ></ use ></ svg ></ a ></ div >
< div class = "tsd-description" >
< div class = "tsd-comment tsd-typography" >< p > Preserve the existing provider/factory seam used by focused embedders.</ p >
</ div >
< div class = "tsd-parameters" >
< h4 class = "tsd-parameters-title" > Parameters</ h4 >
< ul class = "tsd-parameter-list" >
< li >< span >< span class = "tsd-kind-parameter" > provider</ span > : < a href = "../interfaces/application_AnalysisProvider.AnalysisProvider.html" class = "tsd-signature-type tsd-kind-interface" > AnalysisProvider</ a > < span class = "tsd-signature-symbol" > |</ span > < a href = "../types/application_AnalysisProvider.AnalysisClientFactory.html" class = "tsd-signature-type tsd-kind-type-alias" > AnalysisClientFactory</ a ></ span ></ li >
< li >< span >< span class = "tsd-kind-parameter" > options</ span > : < span class = "tsd-signature-symbol" > {</ span >< br /> < span class = "tsd-kind-property" > resolveAnalysisProfile</ span >< span class = "tsd-signature-symbol" > ?:</ span > < span class = "tsd-signature-symbol" > (</ span >< br /> < span class = "tsd-kind-parameter" > target</ span >< span class = "tsd-signature-symbol" > :</ span > < a href = "../interfaces/domain_binaryTarget.BinaryTarget.html" class = "tsd-signature-type tsd-kind-interface" > BinaryTarget</ a >< span class = "tsd-signature-symbol" > ,</ span >< br /> < span class = "tsd-kind-parameter" > resolutionOptions</ span >< span class = "tsd-signature-symbol" > ?:</ span > < a href = "../interfaces/application_AnalysisProvider.AnalysisProfileResolutionOptions.html" class = "tsd-signature-type tsd-kind-interface" > AnalysisProfileResolutionOptions</ a >< span class = "tsd-signature-symbol" > ,</ span >< br /> < span class = "tsd-signature-symbol" > )</ span > < span class = "tsd-signature-symbol" > => </ span > < span class = "tsd-signature-type" > Promise</ span >< span class = "tsd-signature-symbol" > < </ span >< a href = "../types/domain_result.Result.html" class = "tsd-signature-type tsd-kind-type-alias" > Result</ a >< span class = "tsd-signature-symbol" > < </ span >< a href = "../interfaces/application_AnalysisProvider.AnalysisProfileResolution.html" class = "tsd-signature-type tsd-kind-interface" > AnalysisProfileResolution</ a >< span class = "tsd-signature-symbol" > ,</ span > < a href = "domain_errors.AnalysisError.html" class = "tsd-signature-type tsd-kind-class" > AnalysisError</ a >< span class = "tsd-signature-symbol" > > </ span >< span class = "tsd-signature-symbol" > > </ span >< span class = "tsd-signature-symbol" > ;</ span >< br />< span class = "tsd-signature-symbol" > }</ span >< span class = "tsd-signature-symbol" > = {}</ span ></ span ></ li ></ ul ></ div >
< h4 class = "tsd-returns-title" > Returns < a href = "" class = "tsd-signature-type tsd-kind-class" > SessionProviderRouter</ a ></ h4 >< aside class = "tsd-sources" >
< ul >
2026-07-15 21:11:21 +08:00
< li > Defined in < a href = "https://github.com/morluto/rea/blob/main/src/application/SessionProviderRouter.ts#L74" > src/application/SessionProviderRouter.ts:74</ a ></ li ></ ul ></ aside ></ div ></ li ></ ul ></ section >
2026-07-15 21:06:06 +08:00
< section class = "tsd-panel tsd-member" >
< h3 class = "tsd-anchor-link" id = "selectable" >< code class = "tsd-tag" > Static</ code >< span > selectable</ span >< a href = "#selectable" aria-label = "Permalink" class = "tsd-anchor-icon" >< svg viewBox = "0 0 24 24" aria-hidden = "true" >< use href = "../assets/icons.svg#icon-anchor" ></ use ></ svg ></ a ></ h3 >
< ul class = "tsd-signatures" >
< li class = "" >
< div class = "tsd-signature tsd-anchor-link" id = "selectable-1" >< span class = "tsd-kind-call-signature" > selectable</ span >< span class = "tsd-signature-symbol" > (</ span >< br /> < span class = "tsd-kind-parameter" > registry</ span >< span class = "tsd-signature-symbol" > :</ span > < a href = "application_AnalysisProviderRegistry.AnalysisProviderRegistry.html" class = "tsd-signature-type tsd-kind-class" > AnalysisProviderRegistry</ a >< span class = "tsd-signature-symbol" > ,</ span >< br /> < span class = "tsd-kind-parameter" > auxiliaryProviders</ span >< span class = "tsd-signature-symbol" > :</ span > < span class = "tsd-signature-keyword" > readonly</ span > < a href = "../interfaces/application_AnalysisProvider.AnalysisProvider.html" class = "tsd-signature-type tsd-kind-interface" > AnalysisProvider</ a >< span class = "tsd-signature-symbol" > []</ span >< span class = "tsd-signature-symbol" > ,</ span >< br />< span class = "tsd-signature-symbol" > )</ span >< span class = "tsd-signature-symbol" > :</ span > < a href = "" class = "tsd-signature-type tsd-kind-class" > SessionProviderRouter</ a >< a href = "#selectable-1" aria-label = "Permalink" class = "tsd-anchor-icon" >< svg viewBox = "0 0 24 24" aria-hidden = "true" >< use href = "../assets/icons.svg#icon-anchor" ></ use ></ svg ></ a ></ div >
< div class = "tsd-description" >
< div class = "tsd-comment tsd-typography" >< p > Create selection-aware routing while keeping auxiliary families disjoint.</ p >
</ div >
< div class = "tsd-parameters" >
< h4 class = "tsd-parameters-title" > Parameters</ h4 >
< ul class = "tsd-parameter-list" >
< li >< span >< span class = "tsd-kind-parameter" > registry</ span > : < a href = "application_AnalysisProviderRegistry.AnalysisProviderRegistry.html" class = "tsd-signature-type tsd-kind-class" > AnalysisProviderRegistry</ a ></ span ></ li >
< li >< span >< span class = "tsd-kind-parameter" > auxiliaryProviders</ span > : < span class = "tsd-signature-keyword" > readonly</ span > < a href = "../interfaces/application_AnalysisProvider.AnalysisProvider.html" class = "tsd-signature-type tsd-kind-interface" > AnalysisProvider</ a >< span class = "tsd-signature-symbol" > []</ span ></ span ></ li ></ ul ></ div >
< h4 class = "tsd-returns-title" > Returns < a href = "" class = "tsd-signature-type tsd-kind-class" > SessionProviderRouter</ a ></ h4 >< aside class = "tsd-sources" >
< ul >
2026-07-15 21:11:21 +08:00
< li > Defined in < a href = "https://github.com/morluto/rea/blob/main/src/application/SessionProviderRouter.ts#L112" > src/application/SessionProviderRouter.ts:112</ a ></ li ></ ul ></ aside ></ div ></ li ></ ul ></ section ></ section ></ details ></ div >
2026-07-15 21:06:06 +08:00
< div class = "col-sidebar" >
< div class = "page-menu" >
< div class = "tsd-navigation settings" >
< details class = "tsd-accordion" >< summary class = "tsd-accordion-summary" >< svg width = "20" height = "20" viewBox = "0 0 24 24" fill = "none" aria-hidden = "true" >< use href = "../assets/icons.svg#icon-chevronDown" ></ use ></ svg >
< h3 > Settings</ h3 ></ summary >
< div class = "tsd-accordion-details" >
< div class = "tsd-filter-visibility" >< span class = "settings-label" > Member Visibility</ span >
< ul id = "tsd-filter-options" >
< li class = "tsd-filter-item" >< label class = "tsd-filter-input" >< input type = "checkbox" id = "tsd-filter-protected" name = "protected" />< svg width = "32" height = "32" viewBox = "0 0 32 32" aria-hidden = "true" >< rect class = "tsd-checkbox-background" width = "30" height = "30" x = "1" y = "1" rx = "6" fill = "none" ></ rect >< path class = "tsd-checkbox-checkmark" d = "M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke = "none" stroke-width = "3.5" stroke-linejoin = "round" fill = "none" ></ path ></ svg >< span > Protected</ span ></ label ></ li >
< li class = "tsd-filter-item" >< label class = "tsd-filter-input" >< input type = "checkbox" id = "tsd-filter-inherited" name = "inherited" checked />< svg width = "32" height = "32" viewBox = "0 0 32 32" aria-hidden = "true" >< rect class = "tsd-checkbox-background" width = "30" height = "30" x = "1" y = "1" rx = "6" fill = "none" ></ rect >< path class = "tsd-checkbox-checkmark" d = "M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke = "none" stroke-width = "3.5" stroke-linejoin = "round" fill = "none" ></ path ></ svg >< span > Inherited</ span ></ label ></ li ></ ul ></ div >
< div class = "tsd-theme-toggle" >< label class = "settings-label" for = "tsd-theme" > Theme</ label >< select id = "tsd-theme" >< option value = "os" > OS</ option >< option value = "light" > Light</ option >< option value = "dark" > Dark</ option ></ select ></ div ></ div ></ details ></ div >
< details open class = "tsd-accordion tsd-page-navigation" >< summary class = "tsd-accordion-summary" >< svg width = "20" height = "20" viewBox = "0 0 24 24" fill = "none" aria-hidden = "true" >< use href = "../assets/icons.svg#icon-chevronDown" ></ use ></ svg >
< h3 > On This Page</ h3 ></ summary >
< div class = "tsd-accordion-details" >
< details open class = "tsd-accordion tsd-page-navigation-section" >< summary class = "tsd-accordion-summary" data-key = "section-Methods" >< svg width = "20" height = "20" viewBox = "0 0 24 24" fill = "none" aria-hidden = "true" >< use href = "../assets/icons.svg#icon-chevronDown" ></ use ></ svg > Methods</ summary >
< div >< a href = "#candidatestatuses" >< svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" >< use href = "../assets/icons.svg#icon-2048" ></ use ></ svg >< span > candidate< wbr /> Statuses</ span ></ a >< a href = "#configuredidentity" >< svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" >< use href = "../assets/icons.svg#icon-2048" ></ use ></ svg >< span > configured< wbr /> Identity</ span ></ a >< a href = "#initialroute" >< svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" >< use href = "../assets/icons.svg#icon-2048" ></ use ></ svg >< span > initial< wbr /> Route</ span ></ a >< a href = "#provideridentities" >< svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" >< use href = "../assets/icons.svg#icon-2048" ></ use ></ svg >< span > provider< wbr /> Identities</ span ></ a >< a href = "#resolve" >< svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" >< use href = "../assets/icons.svg#icon-2048" ></ use ></ svg >< span > resolve</ span ></ a >< a href = "#unboundoperationerror" >< svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" >< use href = "../assets/icons.svg#icon-2048" ></ use ></ svg >< span > unbound< wbr /> Operation< wbr /> Error</ span ></ a >< a href = "#legacy" >< svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" >< use href = "../assets/icons.svg#icon-2048" ></ use ></ svg >< span > legacy</ span ></ a >< a href = "#selectable" >< svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" >< use href = "../assets/icons.svg#icon-2048" ></ use ></ svg >< span > selectable</ span ></ a ></ div ></ details ></ div ></ details ></ div >
< div class = "site-menu" >
2026-07-20 13:43:36 +00:00
< nav class = "tsd-navigation" >< a href = "../index.html" > rea-agents</ a >
2026-07-15 21:06:06 +08:00
< ul class = "tsd-small-nested-navigation" id = "tsd-nav-container" >
< li > Loading...</ li ></ ul ></ nav ></ div ></ div ></ div >< footer >
< p class = "tsd-generator" > Generated using < a href = "https://typedoc.org/" target = "_blank" > TypeDoc</ a ></ p ></ footer >
< div class = "overlay" ></ div ></ body ></ html >