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

@@ -1,10 +1,12 @@
import {
buildOpenGroupPolicyWarning,
collectAllowlistProviderGroupPolicyWarnings,
createScopedAccountConfigAccessors,
createScopedChannelConfigBase,
createScopedDmSecurityResolver,
} from "openclaw/plugin-sdk/compat";
} from "openclaw/plugin-sdk/channel-config-helpers";
import {
buildOpenGroupPolicyWarning,
collectAllowlistProviderGroupPolicyWarnings,
} from "openclaw/plugin-sdk/channel-policy";
import {
buildChannelConfigSchema,
buildProbeChannelStatusSummary,

View File

@@ -3,7 +3,7 @@ import {
buildNestedDmConfigSchema,
DmPolicySchema,
GroupPolicySchema,
} from "openclaw/plugin-sdk/compat";
} from "openclaw/plugin-sdk/channel-config-schema";
import { MarkdownConfigSchema, ToolPolicySchema } from "openclaw/plugin-sdk/matrix";
import { z } from "zod";
import { buildSecretInputSchema } from "./secret-input.js";

View File

@@ -1,4 +1,4 @@
import { mapAllowlistResolutionInputs } from "openclaw/plugin-sdk/compat";
import { mapAllowlistResolutionInputs } from "openclaw/plugin-sdk/allowlist-resolution";
import type {
ChannelDirectoryEntry,
ChannelResolveKind,

View File

@@ -1,5 +1,5 @@
import { createPluginRuntimeStore } from "openclaw/plugin-sdk/compat";
import type { PluginRuntime } from "openclaw/plugin-sdk/matrix";
import { createPluginRuntimeStore } from "openclaw/plugin-sdk/runtime-store";
const { setRuntime: setMatrixRuntime, getRuntime: getMatrixRuntime } =
createPluginRuntimeStore<PluginRuntime>("Matrix runtime not initialized");