fix(ci): restore plugin sdk boundary seams

This commit is contained in:
Vincent Koc 2026-04-04 08:51:37 +09:00
parent df83374a54
commit bb4e54ccf7
3 changed files with 11 additions and 8 deletions

View File

@ -1,6 +1,7 @@
import type { ChannelOutboundAdapter, ChannelPlugin } from "../../../src/channels/plugins/types.js";
import { resolveOutboundSendDep } from "../../../src/infra/outbound/send-deps.js";
import { collectStatusIssuesFromLastError } from "../../../src/plugin-sdk/status-helpers.js";
import type { ChannelOutboundAdapter } from "openclaw/plugin-sdk/channel-contract";
import type { ChannelPlugin } from "openclaw/plugin-sdk/core";
import { resolveOutboundSendDep } from "openclaw/plugin-sdk/outbound-runtime";
import { collectStatusIssuesFromLastError } from "openclaw/plugin-sdk/status-helpers";
function normalizeIMessageTestHandle(raw: string): string {
const trimmed = raw.trim();

View File

@ -28,7 +28,7 @@ export {
buildBaseChannelStatusSummary,
} from "openclaw/plugin-sdk/channel-status";
export { createChannelPairingController } from "openclaw/plugin-sdk/channel-pairing";
export { createAccountStatusSink } from "openclaw/plugin-sdk/compat";
export { createAccountStatusSink } from "openclaw/plugin-sdk/channel-lifecycle";
export {
readStoreAllowFromForDmPolicy,
resolveEffectiveAllowFromLists,

View File

@ -1,8 +1,10 @@
import type { ChannelOutboundAdapter } from "openclaw/plugin-sdk/channel-contract";
import type { ReplyPayload } from "openclaw/plugin-sdk/reply-runtime";
import {
loadBundledPluginTestApiSync,
primeChannelOutboundSendMock,
} from "openclaw/plugin-sdk/testing";
import { vi, type Mock } from "vitest";
import type { ReplyPayload } from "../../../src/auto-reply/types.js";
import { primeChannelOutboundSendMock } from "../../../src/channels/plugins/contracts/test-helpers.js";
import type { ChannelOutboundAdapter } from "../../../src/channels/plugins/types.js";
import { loadBundledPluginTestApiSync } from "../../../src/test-utils/bundled-plugin-public-surface.js";
type OutboundSendMock = Mock<(...args: unknown[]) => Promise<Record<string, unknown>>>;