fix(feishu): narrow channel sdk seams

This commit is contained in:
Peter Steinberger
2026-04-04 08:50:21 +01:00
parent 19036ef394
commit 4c450ede65
4 changed files with 10 additions and 10 deletions

View File

@@ -1,12 +1,12 @@
import {
DEFAULT_ACCOUNT_ID,
type OpenClawConfig as ClawdbotConfig,
createAccountListHelpers,
normalizeAccountId,
normalizeOptionalAccountId,
resolveMergedAccountConfig,
} from "openclaw/plugin-sdk/account-resolution";
import { coerceSecretRef } from "openclaw/plugin-sdk/config-runtime";
import type { ClawdbotConfig } from "../runtime-api.js";
import { coerceSecretRef } from "openclaw/plugin-sdk/provider-auth";
import type {
FeishuConfig,
FeishuAccountConfig,

View File

@@ -5,12 +5,12 @@ export type {
ClawdbotConfig,
} from "../runtime-api.js";
export { DEFAULT_ACCOUNT_ID } from "openclaw/plugin-sdk/account-resolution";
export { createActionGate } from "openclaw/plugin-sdk/channel-actions";
export { buildChannelConfigSchema } from "openclaw/plugin-sdk/channel-config-primitives";
export {
buildChannelConfigSchema,
buildProbeChannelStatusSummary,
chunkTextForOutbound,
createActionGate,
createDefaultChannelRuntimeState,
DEFAULT_ACCOUNT_ID,
PAIRING_APPROVED_MESSAGE,
} from "../runtime-api.js";
} from "openclaw/plugin-sdk/status-helpers";
export { PAIRING_APPROVED_MESSAGE } from "openclaw/plugin-sdk/channel-status";
export { chunkTextForOutbound } from "openclaw/plugin-sdk/text-chunking";

View File

@@ -9,13 +9,13 @@ import type {
ChannelMessageActionAdapter,
ChannelMessageToolDiscovery,
} from "openclaw/plugin-sdk/channel-contract";
import { createChatChannelPlugin } from "openclaw/plugin-sdk/channel-core";
import { createPairingPrefixStripper } from "openclaw/plugin-sdk/channel-pairing";
import {
createAllowlistProviderGroupPolicyWarningCollector,
projectConfigAccountIdWarningCollector,
} from "openclaw/plugin-sdk/channel-policy";
import { getSessionBindingService } from "openclaw/plugin-sdk/conversation-runtime";
import { createChatChannelPlugin } from "openclaw/plugin-sdk/core";
import {
createChannelDirectoryAdapter,
createRuntimeDirectoryLiveAdapter,

View File

@@ -2,7 +2,7 @@ import {
buildChannelOutboundSessionRoute,
stripChannelTargetPrefix,
type ChannelOutboundSessionRouteParams,
} from "openclaw/plugin-sdk/core";
} from "openclaw/plugin-sdk/channel-core";
export function resolveFeishuOutboundSessionRoute(params: ChannelOutboundSessionRouteParams) {
let trimmed = stripChannelTargetPrefix(params.target, "feishu", "lark");