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/functions/test.projectTargetCapabilities.md.
  • English
  • Function: projectTargetCapabilities()

    projectTargetCapabilities(rendered, fixture): Promise<TargetCapabilityProjection>

    Reprojects a real route render-event stream through the runtime's projectMcpRenderStream, using exactly the capabilities and fallback the fixture advertises.

    Proof level: route-unit. The events came from the real Agent renderer and the projection is real, but no MCP transport, packed artifact, or host is involved. A denied rich block either becomes the runtime's exact text placeholder or fails closed; this helper never marks it as accepted.

    Parameters

    rendered

    RenderedRouteEvents

    fixture

    TargetCapabilityFixture

    Returns

    Promise<TargetCapabilityProjection>