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/functions/mcp-entry.createHeartbeat.md.
  • 简体中文
  • Function: createHeartbeat()

    createHeartbeat(__namedParameters): Heartbeat

    Lightweight liveness logging, stderr only — stdout is the protocol channel. Logs on a slow interval plus on request activity (throttled), so a silently stalled server is visible in the client's logs without spamming them.

    Parameters

    __namedParameters

    HeartbeatOptions

    Returns

    Heartbeat