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.CompiledAgentRoute.md.
  • English
  • Interface: CompiledAgentRoute

    One conventional route module compiled into the immutable route graph.

    Properties

    config

    readonly config: Readonly<Record<string, unknown>>

    Statically extracted from the module's export const config declaration; emptyRouteConfig when absent or rejected.


    event?

    readonly optional event?: "session/start" | "tool/before" | "tool/after" | "stop" | "agent/start" | "agent/stop" | "workspace/open" | "session/end" | "prompt/submit" | "tool/failure" | "compact/before" | "compact/after" | "permission/request" | "permission/denied" | "stop/failure" | "file/change" | "config/change" | "task/create" | "task/complete" | "agent/idle"

    Canonical event identity; present only when kind is event-route.


    id

    readonly id: string


    inputSchema?

    readonly optional inputSchema?: RouteInputSchema

    Statically projected bounded JSON Schema subset; absent for missing or richer input schemas.


    kind

    readonly kind: CompiledRouteKind


    provenance

    readonly provenance: RouteProvenance


    serverId?

    readonly optional serverId?: string

    The owning MCP server id (mcp:<name>); MCP route kinds only.


    source

    readonly source: string

    Absolute route module path.