perf: avoid heavy slack provider chunk import · openclaw/openclaw@6586cfa
steipete
·
2026-04-24
·
via Recent Commits to openclaw:main
File tree
extensions/slack/src/monitor
| Original file line number | Diff line number | Diff line change |
|---|
@@ -10,6 +10,7 @@ import {
|
10 | 10 | import { CHANNEL_APPROVAL_NATIVE_RUNTIME_CONTEXT_CAPABILITY } from "openclaw/plugin-sdk/approval-handler-adapter-runtime"; |
11 | 11 | import { registerChannelRuntimeContext } from "openclaw/plugin-sdk/channel-runtime-context"; |
12 | 12 | import type { SessionScope } from "openclaw/plugin-sdk/config-runtime"; |
| 13 | +import { resolveTextChunkLimit } from "openclaw/plugin-sdk/reply-chunking"; |
13 | 14 | import { DEFAULT_GROUP_HISTORY_LIMIT } from "openclaw/plugin-sdk/reply-history"; |
14 | 15 | import { normalizeMainKey } from "openclaw/plugin-sdk/routing"; |
15 | 16 | import { warn } from "openclaw/plugin-sdk/runtime-env"; |
@@ -62,7 +63,6 @@ import {
|
62 | 63 | SLACK_SOCKET_RECONNECT_POLICY, |
63 | 64 | waitForSlackSocketDisconnect, |
64 | 65 | } from "./reconnect-policy.js"; |
65 | | -import { resolveTextChunkLimit } from "./reply.runtime.js"; |
66 | 66 | import { registerSlackMonitorSlashCommands } from "./slash.js"; |
67 | 67 | import type { MonitorSlackOpts } from "./types.js"; |
68 | 68 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。