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

    The CLI command surface assembled from custom CLI routes and selected projected MCP tools.

    Properties

    commands?

    readonly optional commands?: readonly CompiledCliCommand[]

    The collision-checked command graph compiled from the route surface; present only in generated mode. Plain (.ts) routes execute directly; rendered (.tsx) routes render through the dispatcher.


    mode

    readonly mode: CompiledCliMode


    routes

    readonly routes: readonly CompiledAgentRoute[]

    Backing routes for every compiled command; empty when conventional mode omits them.