Plugins: fix pnpm check regressions

This commit is contained in:
Gustavo Madeira Santana
2026-03-17 23:25:40 +00:00
parent f118191182
commit ffe24955c8
17 changed files with 13 additions and 77 deletions

View File

@@ -1,8 +1,4 @@
import {
buildChannelConfigSchema,
SlackConfigSchema,
type ChannelPlugin,
} from "openclaw/plugin-sdk/slack";
import { type ChannelPlugin } from "openclaw/plugin-sdk/slack";
import { type ResolvedSlackAccount } from "./accounts.js";
import { slackSetupAdapter } from "./setup-core.js";
import { slackSetupWizard } from "./setup-surface.js";
@@ -10,7 +6,6 @@ import { createSlackPluginBase } from "./shared.js";
export const slackSetupPlugin: ChannelPlugin<ResolvedSlackAccount> = {
...createSlackPluginBase({
configSchema: buildChannelConfigSchema(SlackConfigSchema),
setupWizard: slackSetupWizard,
setup: slackSetupAdapter,
}),

View File

@@ -11,7 +11,6 @@ import { resolveOutboundSendDep } from "openclaw/plugin-sdk/channel-runtime";
import { buildOutboundBaseSessionKey, normalizeOutboundThreadId } from "openclaw/plugin-sdk/core";
import { resolveThreadSessionKeys, type RoutePeer } from "openclaw/plugin-sdk/routing";
import {
buildChannelConfigSchema,
buildComputedAccountStatusSnapshot,
DEFAULT_ACCOUNT_ID,
listSlackDirectoryGroupsFromConfig,
@@ -23,7 +22,6 @@ import {
resolveConfiguredFromRequiredCredentialStatuses,
resolveSlackGroupRequireMention,
resolveSlackGroupToolPolicy,
SlackConfigSchema,
createSlackActions,
type ChannelPlugin,
type OpenClawConfig,
@@ -309,7 +307,6 @@ async function resolveSlackAllowlistNames(params: {
export const slackPlugin: ChannelPlugin<ResolvedSlackAccount> = {
...createSlackPluginBase({
configSchema: buildChannelConfigSchema(SlackConfigSchema),
setupWizard: slackSetupWizard,
setup: slackSetupAdapter,
}),