/** * watch — 连接运行中 Host API,展示 runtime / bots / assistant jobs(TTY 定时刷新) */ import { Command } from 'commander'; import { jobRowsFromApi, type WatchEndpointRow, type WatchStats, type WatchSystemInfo } from './watch-format.js'; export interface WatchSnapshot { baseUrl: string; fetchedAt: string; ok: boolean; error?: string; stats?: WatchStats; system?: WatchSystemInfo; endpoints?: WatchEndpointRow[]; assistant?: { enabled: boolean; eventsActive?: boolean; jobs: ReturnType; }; } export declare function fetchWatchSnapshot(http: { baseUrl: string; token: string; }): Promise; export declare const watchCommand: Command; //# sourceMappingURL=watch.d.ts.map