perf: narrow Matrix monitor reply imports

This commit is contained in:
Peter Steinberger
2026-04-17 17:14:44 +01:00
parent 24f8d6470e
commit 54d9a09912
4 changed files with 13 additions and 2 deletions

View File

@@ -15,8 +15,10 @@ export {
patchAllowlistUsersInConfigEntries,
summarizeMapping,
} from "openclaw/plugin-sdk/allow-from";
export { createReplyPrefixOptions } from "openclaw/plugin-sdk/channel-reply-pipeline";
export { createTypingCallbacks } from "openclaw/plugin-sdk/channel-reply-pipeline";
export {
createReplyPrefixOptions,
createTypingCallbacks,
} from "openclaw/plugin-sdk/channel-reply-options-runtime";
export { formatLocationText, toLocationContext } from "openclaw/plugin-sdk/channel-location";
export { getAgentScopedMediaLocalRoots } from "openclaw/plugin-sdk/agent-media-payload";
export { logInboundDrop, logTypingFailure } from "openclaw/plugin-sdk/channel-logging";

View File

@@ -212,6 +212,10 @@
"types": "./dist/plugin-sdk/channel-reply-pipeline.d.ts",
"default": "./dist/plugin-sdk/channel-reply-pipeline.js"
},
"./plugin-sdk/channel-reply-options-runtime": {
"types": "./dist/plugin-sdk/channel-reply-options-runtime.d.ts",
"default": "./dist/plugin-sdk/channel-reply-options-runtime.js"
},
"./plugin-sdk/channel-runtime": {
"types": "./dist/plugin-sdk/channel-runtime.d.ts",
"default": "./dist/plugin-sdk/channel-runtime.js"

View File

@@ -39,6 +39,7 @@
"inbound-reply-dispatch",
"inbound-envelope",
"channel-reply-pipeline",
"channel-reply-options-runtime",
"channel-runtime",
"interactive-runtime",
"outbound-media",

View File

@@ -0,0 +1,4 @@
// Narrow reply helper surface for channel handlers that do not need the full
// reply pipeline factory.
export { createReplyPrefixOptions } from "../channels/reply-prefix.js";
export { createTypingCallbacks } from "../channels/typing.js";