Slack: move action runtime into extension

This commit is contained in:
Gustavo Madeira Santana
2026-03-18 02:07:26 +00:00
parent c3386d34d2
commit b3ae50c71c
7 changed files with 264 additions and 212 deletions

View File

@@ -7,7 +7,7 @@ import { probeSlack as probeSlackImpl } from "../../../extensions/slack/runtime-
import { resolveSlackChannelAllowlist as resolveSlackChannelAllowlistImpl } from "../../../extensions/slack/runtime-api.js";
import { resolveSlackUserAllowlist as resolveSlackUserAllowlistImpl } from "../../../extensions/slack/runtime-api.js";
import { sendMessageSlack as sendMessageSlackImpl } from "../../../extensions/slack/runtime-api.js";
import { handleSlackAction as handleSlackActionImpl } from "../../agents/tools/slack-actions.js";
import { handleSlackAction as handleSlackActionImpl } from "../../../extensions/slack/runtime-api.js";
import type { PluginRuntimeChannel } from "./types-channel.js";
type RuntimeSlackOps = Pick<

View File

@@ -144,7 +144,7 @@ export type PluginRuntimeChannel = {
resolveUserAllowlist: typeof import("../../../extensions/slack/runtime-api.js").resolveSlackUserAllowlist;
sendMessageSlack: typeof import("../../../extensions/slack/runtime-api.js").sendMessageSlack;
monitorSlackProvider: typeof import("../../../extensions/slack/runtime-api.js").monitorSlackProvider;
handleSlackAction: typeof import("../../agents/tools/slack-actions.js").handleSlackAction;
handleSlackAction: typeof import("../../../extensions/slack/runtime-api.js").handleSlackAction;
};
telegram: {
auditGroupMembership: typeof import("../../../extensions/telegram/runtime-api.js").auditTelegramGroupMembership;