Class: TargetRegistry
Implements
Constructors
Constructor
new TargetRegistry():
TargetRegistry
Returns
TargetRegistry
Methods
artifactLayout()
artifactLayout(
name):TargetArtifactLayout
Parameters
name
string
Returns
TargetArtifactLayout
artifactValidation()
artifactValidation(
name):TargetArtifactValidationContract
Parameters
name
string
Returns
TargetArtifactValidationContract
binSources()
binSources(
config,targetNames): readonlyNormalizationHostBinSource[]
Parameters
config
Readonly<AgentBundleConfig>
targetNames
readonly string[]
Returns
readonly NormalizationHostBinSource[]
Implementation of
NormalizationTargetRegistry.binSources
capabilityState()
capabilityState(
name,capability):CapabilityState|undefined
Parameters
name
string
capability
string
Returns
CapabilityState | undefined
Implementation of
NormalizationTargetRegistry.capabilityState
componentCapabilityState()
componentCapabilityState(
name,capability):CapabilityState|undefined
The judgment that decides component emission for one target: the
adapter's componentCapabilities override when it publishes one (a key
it omits reads as no row), otherwise its capabilities. Emission and
inspect accounting must consult the same judgment.
Parameters
name
string
capability
string
Returns
CapabilityState | undefined
Implementation of
NormalizationTargetRegistry.componentCapabilityState
configExtensions()
configExtensions(): readonly
NormalizationConfigExtension[]
Returns
readonly NormalizationConfigExtension[]
Implementation of
NormalizationTargetRegistry.configExtensions
defaultTargetNames()
defaultTargetNames(): readonly
string[]
Returns
readonly string[]
Implementation of
NormalizationTargetRegistry.defaultTargetNames
get()
get(
name):TargetAdapter
Parameters
name
string
Returns
has()
has(
name):boolean
Parameters
name
string
Returns
boolean
Implementation of
NormalizationTargetRegistry.has
hookContract()
hookContract(
name):TargetHookContract|undefined
Parameters
name
string
Returns
TargetHookContract | undefined
hostsComponent()
hostsComponent(
name,capability):boolean
True when the target emits components needing capability, by the same judgment inspect reports.
Parameters
name
string
capability
string
Returns
boolean
lowersConfigExtension()
lowersConfigExtension(
name,key):boolean
True when the target's adapter reads the config extension key (its own key or a declared composite side).
Parameters
name
string
key
string
Returns
boolean
Implementation of
NormalizationTargetRegistry.lowersConfigExtension
mcpRuntime()
mcpRuntime(
name):TargetMcpRuntimeContract|undefined
Parameters
name
string
Returns
TargetMcpRuntimeContract | undefined
metadata()
metadata(
name):TargetAdapterMetadata
Parameters
name
string
Returns
names()
names(): readonly
string[]
Returns
readonly string[]
nativeHookSources()
nativeHookSources(
config,targetNames): readonlyNormalizationNativeHookSource[]
Parameters
config
Readonly<AgentBundleConfig>
targetNames
readonly string[]
Returns
readonly NormalizationNativeHookSource[]
Implementation of
NormalizationTargetRegistry.nativeHookSources
noticeDelivery()
noticeDelivery(
name):Readonly<Record<"current-response"|"next-event"|"mcp-inbox"|"mcp-resource-updated"|"directed-push"|"host-toast",NoticeDeliveryRouteState>> |undefined
The validated notice delivery advertisement, or undefined for a host that declares none.
Parameters
name
string
Returns
Readonly<Record<"current-response" | "next-event" | "mcp-inbox" | "mcp-resource-updated" | "directed-push" | "host-toast", NoticeDeliveryRouteState>> | undefined
outputStyleSources()
outputStyleSources(
config,targetNames): readonlyNormalizationHostBinSource[]
Parameters
config
Readonly<AgentBundleConfig>
targetNames
readonly string[]
Returns
readonly NormalizationHostBinSource[]
Implementation of
NormalizationTargetRegistry.outputStyleSources
register()
register(
adapter,options?):this
Parameters
adapter
options?
default?
boolean
Returns
this
supports()
supports(
name,capability):boolean
Parameters
name
string
capability
string
Returns
boolean
Implementation of
NormalizationTargetRegistry.supports
workflowSources()
workflowSources(
config,targetNames): readonlyNormalizationHostBinSource[]
Parameters
config
Readonly<AgentBundleConfig>
targetNames
readonly string[]
Returns
readonly NormalizationHostBinSource[]