For AI agents: the complete documentation index is available at https://scriptedalchemy.github.io/agent-bundle/llms.txt, the full documentation bundle is available at https://scriptedalchemy.github.io/agent-bundle/llms-full.txt, and this page is available as Markdown at https://scriptedalchemy.github.io/agent-bundle/api/interfaces/api.TargetAdapter.md.
  • English
  • Interface: TargetAdapter

    Properties

    artifactLayout?

    readonly optional artifactLayout?: TargetArtifactLayout

    Declares compiler-owned artifact layouts beyond target-native documents.


    artifactValidation?

    readonly optional artifactValidation?: TargetArtifactValidationContract

    Validates target-native JSON documents against schemas pinned in metadata.


    capabilities

    readonly capabilities: Readonly<Record<string, CapabilityState>>


    componentCapabilities?

    readonly optional componentCapabilities?: Readonly<Record<string, CapabilityState>>

    Per-component-kind emission dispatch used by inspect skip accounting; defaults to capabilities.


    configExtension?

    readonly optional configExtension?: TargetConfigExtension


    hookContract?

    readonly optional hookContract?: TargetHookContract


    lowersConfigExtensions?

    readonly optional lowersConfigExtensions?: readonly string[]

    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?

    readonly optional mcpRuntime?: TargetMcpRuntimeContract


    metadata

    readonly metadata: TargetAdapterMetadata


    name

    readonly name: string


    noticeDelivery?

    readonly optional noticeDelivery?: 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()?

    optional binSource(config): string | undefined

    Parameters

    config

    Readonly<AgentBundleConfig>

    Returns

    string | undefined


    nativeHookSource()?

    optional nativeHookSource(config): string | undefined

    Parameters

    config

    Readonly<AgentBundleConfig>

    Returns

    string | undefined


    outputStylesSource()?

    optional outputStylesSource(config): string | undefined

    Parameters

    config

    Readonly<AgentBundleConfig>

    Returns

    string | undefined


    plan()

    plan(model): TargetArtifactPlan

    Parameters

    model

    NormalizedPlugin

    Returns

    TargetArtifactPlan


    workflowsSource()?

    optional workflowsSource(config): string | undefined

    Parameters

    config

    Readonly<AgentBundleConfig>

    Returns

    string | undefined