Interface: TargetAdapter
Properties
artifactLayout?
readonlyoptionalartifactLayout?:TargetArtifactLayout
Declares compiler-owned artifact layouts beyond target-native documents.
artifactValidation?
readonlyoptionalartifactValidation?:TargetArtifactValidationContract
Validates target-native JSON documents against schemas pinned in metadata.
capabilities
readonlycapabilities:Readonly<Record<string,CapabilityState>>
componentCapabilities?
readonlyoptionalcomponentCapabilities?:Readonly<Record<string,CapabilityState>>
Per-component-kind emission dispatch used by inspect skip accounting; defaults to capabilities.
configExtension?
readonlyoptionalconfigExtension?:TargetConfigExtension
hookContract?
readonlyoptionalhookContract?:TargetHookContract
lowersConfigExtensions?
readonlyoptionallowersConfigExtensions?: readonlystring[]
Config extension keys this adapter lowers besides its own (a composite
that plans other hosts' sides). Host-scoped declarations such as
<key>.lspServers are eligible for emission only on adapters that lower
that key, so an opaque declaration never counts as emitted by a host whose
planner never reads it.
mcpRuntime?
readonlyoptionalmcpRuntime?:TargetMcpRuntimeContract
metadata
readonlymetadata:TargetAdapterMetadata
name
readonlyname:string
noticeDelivery?
readonlyoptionalnoticeDelivery?:Readonly<Record<"current-response"|"next-event"|"mcp-inbox"|"mcp-resource-updated"|"directed-push"|"host-toast",NoticeDeliveryRouteState>>
The host's per-route notice delivery advertisement (#99 stage 4), read from its pinned capability table. The generated MCP entry selects its cross-request delivery routes from this; an adapter that declares none advertises no cross-request route and its artifacts wire none.
Methods
binSource()?
optionalbinSource(config):string|undefined
Parameters
config
Readonly<AgentBundleConfig>
Returns
string | undefined
nativeHookSource()?
optionalnativeHookSource(config):string|undefined
Parameters
config
Readonly<AgentBundleConfig>
Returns
string | undefined
outputStylesSource()?
optionaloutputStylesSource(config):string|undefined
Parameters
config
Readonly<AgentBundleConfig>
Returns
string | undefined
plan()
plan(
model):TargetArtifactPlan
Parameters
model
Returns
workflowsSource()?
optionalworkflowsSource(config):string|undefined
Parameters
config
Readonly<AgentBundleConfig>
Returns
string | undefined