mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-03 13:22:14 +00:00
perf(whatsapp): narrow reply chunking imports
This commit is contained in:
@@ -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";
|
||||
|
||||
2
test/fixtures/test-timings.channels.json
vendored
2
test/fixtures/test-timings.channels.json
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user