mirror of https://github.com/openclaw/openclaw.git
perf(whatsapp): narrow reply chunking imports
This commit is contained in:
parent
e7e383b7cf
commit
5b7443d175
|
|
@ -1,10 +1,10 @@
|
|||
import type { MarkdownTableMode } from "openclaw/plugin-sdk/config-runtime";
|
||||
import { chunkMarkdownTextWithMode, type ChunkMode } from "openclaw/plugin-sdk/reply-chunking";
|
||||
import type { ReplyPayload } from "openclaw/plugin-sdk/reply-chunking";
|
||||
import {
|
||||
resolveOutboundMediaUrls,
|
||||
sendMediaWithLeadingCaption,
|
||||
} from "openclaw/plugin-sdk/reply-payload";
|
||||
import { chunkMarkdownTextWithMode, type ChunkMode } from "openclaw/plugin-sdk/reply-runtime";
|
||||
import type { ReplyPayload } from "openclaw/plugin-sdk/reply-runtime";
|
||||
import { logVerbose, shouldLogVerbose } from "openclaw/plugin-sdk/runtime-env";
|
||||
import { convertMarkdownTables } from "openclaw/plugin-sdk/text-runtime";
|
||||
import { markdownToWhatsApp } from "openclaw/plugin-sdk/text-runtime";
|
||||
|
|
|
|||
|
|
@ -3,4 +3,6 @@ export {
|
|||
resolveChunkMode,
|
||||
resolveTextChunkLimit,
|
||||
} from "../auto-reply/chunk.js";
|
||||
export type { ChunkMode } from "../auto-reply/chunk.js";
|
||||
export { isSilentReplyText } from "../auto-reply/tokens.js";
|
||||
export type { ReplyPayload } from "../auto-reply/types.js";
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@
|
|||
"durationMs": 2300
|
||||
},
|
||||
"extensions/whatsapp/src/auto-reply/deliver-reply.test.ts": {
|
||||
"durationMs": 12400
|
||||
"durationMs": 10260
|
||||
},
|
||||
"extensions/slack/src/monitor/events/reactions.test.ts": {
|
||||
"durationMs": 2200
|
||||
|
|
|
|||
Loading…
Reference in New Issue