/** * @ 触发的单轮回复:WebSocket BEGIN、OpenClaw dispatchReplyWithBufferedBlockDispatcher、HTTP deliver、RUN_USAGE、FINISHED。 */ import type { OpenClawConfig } from "openclaw/plugin-sdk"; import type { ImStreamClient } from "./connection.js"; import type { Logger } from "./channel-log.js"; import { type InboundTrigger } from "./inbound-chat-type.js"; import type { AutoRouteResult } from "./auto-model-router.js"; import type { BotIdentity, WsMessageParams, XgImConfig } from "./types.js"; import type { NasVolume } from "./agent-context-types.js"; /** 流式 BEGIN → dispatch → 可选 RUN_USAGE → 必发 FINISHED;首包超时仅日志(不对 IM 发超时话术) */ export declare function dispatchMentionedReply(args: { accountId: string; rt: any; cfg: OpenClawConfig; config: XgImConfig; log: Logger; logPrefix: string; route: { sessionKey: string; agentId: string; }; inboundCtx: unknown; params: WsMessageParams; currentIdentity: BotIdentity; streamClient: ImStreamClient; /** Agent 在宿主机的 workspace 绝对路径,用于解析 /workspace/ 沙箱路径 */ agentWorkspaceDir?: string; /** agentContext.nasVolumes;在 dispatch 前注入当前 session 的 Docker binds。 */ nasVolumes?: NasVolume[]; /** 单轮模型覆盖(msgContent.ext.ai_model → OpenClaw replyOptions.modelOverride) */ modelOverride?: string; /** 单轮推理等级覆盖(Auto Router / 模型默认;用户显式 /think 时由入站侧置空) */ thinkingLevelOverride?: string; /** Auto Router 结果元数据(仅日志/监控,不参与 dispatch 语义) */ autoRouteMeta?: AutoRouteResult; /** 入站触发源(用户 / runtime continue 等) */ inboundTrigger?: InboundTrigger; /** 严格匹配 `/stop` 的控制轮次:仍交给 OpenClaw fast-abort,但不创建 IM 流生命周期。 */ isStopControl?: boolean; }): Promise; //# sourceMappingURL=dispatch-mentioned-reply.d.ts.map