mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 10:20:42 +00:00
refactor: delete unused extension shared shims
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
export {
|
||||
buildPassiveChannelStatusSummary,
|
||||
buildPassiveProbedChannelStatusSummary,
|
||||
buildTrafficStatusSummary,
|
||||
} from "openclaw/plugin-sdk/extension-shared";
|
||||
@@ -1,17 +0,0 @@
|
||||
import { requireOpenAllowFrom } from "openclaw/plugin-sdk/channel-config-primitives";
|
||||
import type { z } from "openclaw/plugin-sdk/zod";
|
||||
|
||||
export function requireChannelOpenAllowFrom(params: {
|
||||
channel: string;
|
||||
policy?: string;
|
||||
allowFrom?: Array<string | number>;
|
||||
ctx: z.RefinementCtx;
|
||||
}) {
|
||||
requireOpenAllowFrom({
|
||||
policy: params.policy,
|
||||
allowFrom: params.allowFrom,
|
||||
ctx: params.ctx,
|
||||
path: ["allowFrom"],
|
||||
message: `channels.${params.channel}.dmPolicy="open" requires channels.${params.channel}.allowFrom to include "*"`,
|
||||
});
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
export { createDeferred } from "openclaw/plugin-sdk/extension-shared";
|
||||
@@ -1 +0,0 @@
|
||||
export { runStoppablePassiveMonitor } from "openclaw/plugin-sdk/extension-shared";
|
||||
@@ -1 +0,0 @@
|
||||
export { resolveLoggerBackedRuntime } from "openclaw/plugin-sdk/extension-shared";
|
||||
@@ -1,4 +0,0 @@
|
||||
export {
|
||||
coerceStatusIssueAccountId,
|
||||
readStatusIssueFields,
|
||||
} from "openclaw/plugin-sdk/extension-shared";
|
||||
@@ -1 +0,0 @@
|
||||
export { createWindowsCmdShimFixture } from "openclaw/plugin-sdk/test-env";
|
||||
Reference in New Issue
Block a user