mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-19 22:10:51 +00:00
fix: repair plugin runtime api imports
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -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({
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
export * from "openclaw/plugin-sdk/signal";
|
||||
export * from "openclaw/plugin-sdk/signal-core";
|
||||
export * from "./src/index.js";
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -11,7 +11,7 @@ import {
|
||||
normalizeE164,
|
||||
SignalConfigSchema,
|
||||
type ChannelPlugin,
|
||||
} from "../runtime-api.js";
|
||||
} from "openclaw/plugin-sdk/signal";
|
||||
import {
|
||||
listSignalAccountIds,
|
||||
resolveDefaultSignalAccountId,
|
||||
|
||||
Reference in New Issue
Block a user