fix: repair plugin runtime api imports

This commit is contained in:
Peter Steinberger 2026-03-18 04:37:57 +00:00
parent 9932d2984c
commit 2fbf2c0a47
6 changed files with 19 additions and 20 deletions

View File

@ -16,9 +16,9 @@ export {
export {
buildOpenGroupPolicyConfigureRouteAllowlistWarning,
collectAllowlistProviderGroupPolicyWarnings,
resolveMentionGatingWithBypass,
} from "../../src/channels/channel-policy.js";
export { formatNormalizedAllowFromEntries } from "../../src/channels/allow-from.js";
} from "../../src/plugin-sdk/channel-policy.js";
export { resolveMentionGatingWithBypass } from "../../src/channels/mention-gating.js";
export { formatNormalizedAllowFromEntries } from "../../src/plugin-sdk/allow-from.js";
export { buildComputedAccountStatusSnapshot } from "../../src/plugin-sdk/status-helpers.js";
export {
createAccountStatusSink,

View File

@ -8,6 +8,16 @@ import {
buildOpenGroupPolicyWarning,
collectAllowlistProviderGroupPolicyWarnings,
} from "openclaw/plugin-sdk/channel-policy";
import {
buildBaseAccountStatusSnapshot,
buildBaseChannelStatusSummary,
buildChannelConfigSchema,
createAccountStatusSink,
DEFAULT_ACCOUNT_ID,
getChatChannelMeta,
PAIRING_APPROVED_MESSAGE,
type ChannelPlugin,
} from "openclaw/plugin-sdk/irc";
import { runStoppablePassiveMonitor } from "../../shared/passive-monitor.js";
import {
listIrcAccountIds,
@ -25,16 +35,6 @@ import {
} from "./normalize.js";
import { resolveIrcGroupMatch, resolveIrcRequireMention } from "./policy.js";
import { probeIrc } from "./probe.js";
import {
buildBaseAccountStatusSnapshot,
buildBaseChannelStatusSummary,
buildChannelConfigSchema,
createAccountStatusSink,
DEFAULT_ACCOUNT_ID,
getChatChannelMeta,
PAIRING_APPROVED_MESSAGE,
type ChannelPlugin,
} from "./runtime-api.js";
import { getIrcRuntime } from "./runtime.js";
import { sendMessageIrc } from "./send.js";
import { ircSetupAdapter } from "./setup-core.js";

View File

@ -1,5 +1,3 @@
import { z } from "zod";
import { requireChannelOpenAllowFrom } from "../../shared/config-schema-helpers.js";
import {
BlockStreamingCoalesceSchema,
DmConfigSchema,
@ -9,7 +7,9 @@ import {
ReplyRuntimeConfigSchemaShape,
ToolPolicySchema,
requireOpenAllowFrom,
} from "./runtime-api.js";
} from "openclaw/plugin-sdk/irc";
import { z } from "zod";
import { requireChannelOpenAllowFrom } from "../../shared/config-schema-helpers.js";
const IrcGroupSchema = z
.object({

View File

@ -1,2 +1 @@
export * from "openclaw/plugin-sdk/signal";
export * from "openclaw/plugin-sdk/signal-core";
export * from "./src/index.js";

View File

@ -16,7 +16,7 @@ import {
PAIRING_APPROVED_MESSAGE,
resolveChannelMediaMaxBytes,
type ChannelPlugin,
} from "../runtime-api.js";
} from "openclaw/plugin-sdk/signal";
import { resolveSignalAccount, type ResolvedSignalAccount } from "./accounts.js";
import { markdownToSignalTextChunks } from "./format.js";
import {

View File

@ -11,7 +11,7 @@ import {
normalizeE164,
SignalConfigSchema,
type ChannelPlugin,
} from "../runtime-api.js";
} from "openclaw/plugin-sdk/signal";
import {
listSignalAccountIds,
resolveDefaultSignalAccountId,