refactor: finalize plugin sdk legacy boundary cleanup

This commit is contained in:
Peter Steinberger
2026-03-16 22:32:25 -07:00
parent 357ce71988
commit f2bd76cd1a
102 changed files with 418 additions and 1647 deletions

View File

@@ -3,7 +3,8 @@ import {
buildAccountScopedDmSecurityPolicy,
collectAllowlistProviderRestrictSendersWarnings,
} from "openclaw/plugin-sdk/channel-config-helpers";
import { buildAgentSessionKey, type RoutePeer } from "openclaw/plugin-sdk/core";
import { resolveOutboundSendDep } from "openclaw/plugin-sdk/channel-runtime";
import { resolveOutboundSendDep } from "openclaw/plugin-sdk/channel-runtime";
import {
collectStatusIssuesFromLastError,
DEFAULT_ACCOUNT_ID,
@@ -14,6 +15,7 @@ import {
resolveIMessageGroupToolPolicy,
type ChannelPlugin,
} from "openclaw/plugin-sdk/imessage";
import { buildAgentSessionKey, type RoutePeer } from "openclaw/plugin-sdk/routing";
import { buildPassiveProbedChannelStatusSummary } from "../../shared/channel-status-summary.js";
import { resolveIMessageAccount, type ResolvedIMessageAccount } from "./accounts.js";
import { getIMessageRuntime } from "./runtime.js";

View File

@@ -1,7 +1,7 @@
import {
buildAccountScopedDmSecurityPolicy,
collectAllowlistProviderRestrictSendersWarnings,
} from "openclaw/plugin-sdk/compat";
} from "openclaw/plugin-sdk/channel-policy";
import {
deleteAccountFromConfigSection,
setAccountEnabledInConfigSection,