


























@@ -1,7 +1,24 @@
11import type { IncomingMessage, ServerResponse } from "node:http";
2+import { logTypingFailure } from "openclaw/plugin-sdk/channel-feedback";
3+import { createChannelPairingController } from "openclaw/plugin-sdk/channel-pairing";
4+import { createChannelReplyPipeline } from "openclaw/plugin-sdk/channel-reply-pipeline";
5+import {
6+resolveDirectDmAuthorizationOutcome,
7+resolveSenderCommandAuthorizationWithRuntime,
8+} from "openclaw/plugin-sdk/command-auth";
29import type { MarkdownTableMode, OpenClawConfig } from "openclaw/plugin-sdk/config-runtime";
10+import { resolveInboundRouteEnvelopeBuilderWithRuntime } from "openclaw/plugin-sdk/inbound-envelope";
311import { resolveSendableOutboundReplyParts } from "openclaw/plugin-sdk/reply-payload";
4-import type { OutboundReplyPayload } from "openclaw/plugin-sdk/reply-payload";
12+import {
13+deliverTextOrMediaReply,
14+type OutboundReplyPayload,
15+} from "openclaw/plugin-sdk/reply-payload";
16+import { waitForAbortSignal } from "openclaw/plugin-sdk/runtime-env";
17+import {
18+resolveDefaultGroupPolicy,
19+warnMissingProviderGroupPolicyFallbackOnce,
20+} from "openclaw/plugin-sdk/runtime-group-policy";
21+import { registerPluginHttpRoute, resolveWebhookPath } from "openclaw/plugin-sdk/webhook-ingress";
522import type { ResolvedZaloAccount } from "./accounts.js";
623import {
724ZaloApiError,
@@ -22,20 +39,6 @@ import {
2239resolveZaloRuntimeGroupPolicy,
2340} from "./group-access.js";
2441import { resolveZaloProxyFetch } from "./proxy.js";
25-import {
26-createChannelPairingController,
27-createChannelReplyPipeline,
28-deliverTextOrMediaReply,
29-logTypingFailure,
30-registerPluginHttpRoute,
31-resolveWebhookPath,
32-resolveDefaultGroupPolicy,
33-resolveDirectDmAuthorizationOutcome,
34-resolveInboundRouteEnvelopeBuilderWithRuntime,
35-resolveSenderCommandAuthorizationWithRuntime,
36-waitForAbortSignal,
37-warnMissingProviderGroupPolicyFallbackOnce,
38-} from "./runtime-api.js";
3942import { getZaloRuntime } from "./runtime.js";
4043export type { ZaloRuntimeEnv } from "./monitor.types.js";
4144import type { ZaloRuntimeEnv } from "./monitor.types.js";
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。