import { type Sensitivity, type SlotManagerState, type TaskClass } from '@sofagent/orchestrator'; export interface RouterSlotsArgs { /** 动作:snapshot 查槽位态(缺省)/ route-preview 预览路由决策 / adjudicate 判定链接入去向下达 */ action?: 'snapshot' | 'route-preview' | 'adjudicate'; /** 槽位上限(snapshot 空态时用;缺省 5) */ max_slots?: number; /** 任务类型(route-preview 用) */ task_class?: TaskClass; /** 数据敏感度(route-preview / adjudicate 用) */ sensitivity?: Sensitivity; /** 云端可用性(route-preview / adjudicate 用) */ cloud_available?: boolean; /** 本地可用性(route-preview / adjudicate 用) */ local_available?: boolean; /** 槽位态注入(缺省读 data/router-slots.json——测试 / 巡检直接注入) */ state?: SlotManagerState; /** 判定链语义输入文本(adjudicate 用——待判定工作流节点上下文 / 变更描述) */ text?: string; /** 判定链结构化解引用(adjudicate 用——workflow 节点 id / 规则编号,供 L0 先判) */ refs?: string[]; /** 判定链问句集(adjudicate 用——缺省单问句 choice[allow,deny]) */ questions?: Array<{ id: string; primitive: 'choice' | 'score' | 'noul'; options?: string[]; fallback?: string; range?: { min: number; max: number; }; evidence?: 'structural' | 'trace'; }>; /** 证据就绪度(adjudicate 用——缺省 none;none + 需证据判据 ⇒ 拒绝启用) */ evidence_readiness?: 'structural' | 'trace' | 'none'; /** 是否在判定域内(adjudicate 用;false → SKIP 走 L0 兜底) */ in_domain?: boolean; /** ⚡ 节点(adjudicate 用——强制 ASK) */ critical_node?: boolean; /** 排队优先级(adjudicate 用) */ priority?: 'high' | 'normal' | 'low'; } export interface RouterSlotsResult { text: string; data: { isError: boolean; ok: boolean; issues: string[]; /** snapshot 面 */ snapshot?: { maxSlots: number; inUse: number; available: number; queueDepth: number; decisionInFlight: number; queued: SlotManagerState['queued']; }; /** route-preview 面 */ decision?: { target: string; reason: string; sensitivity: string; taskClass: string; routeReason: string; }; /** adjudicate 面(判定分层链产出 + 去向下达) */ adjudication?: { layer: string; triageTarget: string; target: string; sensitivity: string; routeReason: string; decisionId: string; dispatched: boolean; }; }; } /** * router_slots MCP tool。 * * @param args.action 'snapshot'(查槽位态)| 'route-preview'(预览路由决策)| 'adjudicate'(判定链接入去向下达) */ export declare function routerSlots(args: RouterSlotsArgs): Promise; //# sourceMappingURL=router-slots.d.ts.map