import type { LocalUsageStore } from '../../usage-local/index.js'; import type { ReconciliationEngine } from '../../reconciliation/index.js'; import type { CheckupReport } from '../../checkup/index.js'; import type { SkillFmToolResult } from '../_vendored-contracts/beacon-mcp-tools-v1.js'; export interface SkillFmCheckupInput { /** 是否返完整 finding 列表 (默认 false, 主入口模式只返 score + 6 维度 + top_focus) */ full?: boolean; /** * 是否按"上次报告 → 现在"的时间窗扫描. 触发自 /skillfm slash command 或 * 客户端手动 trigger. tool 内部: * 1. 读 ~/.skillfm/last-report.json 的 last_report_at (默认 24h ago) * 2. 用作安全维度 sinceHours (其它维度暂 snapshot) * 3. 完成后写 last_report_at = now (side-effect) * Default false (snapshot mode, 跟旧行为兼容). */ since_last_report?: boolean; } export interface SkillFmCheckupOutput { /** 渲染好的主入口文本 (< 300 字, 含扫描期间标注 if since_last_report) */ rendered: string; /** 完整 report (agent 可深挖) */ report: CheckupReport; /** 扫描期间 (ISO timestamps), 仅 since_last_report=true 时有 */ scan_window?: { since: string; until: string; hours_since: number; }; } export interface CheckupToolDeps { store: LocalUsageStore; reconciliationEngine: ReconciliationEngine; is_pro: boolean; } export declare function handleSkillFmCheckup(input: SkillFmCheckupInput, deps: CheckupToolDeps): Promise>; //# sourceMappingURL=checkup.d.ts.map