refactor(plugin-sdk): remove channel-specific sdk shims

This commit is contained in:
Peter Steinberger
2026-03-30 00:59:53 +01:00
parent bff6a6a9c1
commit 471e059b69
27 changed files with 244 additions and 729 deletions

View File

@@ -112,9 +112,6 @@
"googlechat",
"image-generation",
"image-generation-core",
"imessage",
"imessage-policy",
"imessage-runtime",
"irc",
"irc-surface",
"kimi-coding",
@@ -203,12 +200,9 @@
"sglang",
"state-paths",
"synthetic",
"telegram",
"telegram-account",
"telegram-allow-from",
"telegram-core",
"telegram-runtime",
"telegram-runtime-surface",
"telegram-surface",
"thread-ownership",
"tlon",

View File

@@ -462,22 +462,6 @@ export const GENERATED_PLUGIN_SDK_FACADES = [
"KILOCODE_MODEL_CATALOG",
],
},
{
subpath: "imessage-policy",
source: pluginSource("imessage", "api.js"),
exports: [
"normalizeIMessageHandle",
"resolveIMessageRuntimeGroupPolicy",
"resolveIMessageGroupRequireMention",
"resolveIMessageGroupToolPolicy",
],
},
{
subpath: "imessage-runtime",
source: pluginSource("imessage", "runtime-api.js"),
exports: ["monitorIMessageProvider", "probeIMessage", "sendMessageIMessage"],
typeExports: ["IMessageProbe"],
},
{
subpath: "irc-surface",
source: pluginSource("irc", "api.js"),
@@ -1027,41 +1011,6 @@ export const GENERATED_PLUGIN_SDK_FACADES = [
source: pluginSource("telegram", "api.js"),
exports: ["isNumericTelegramUserId", "normalizeTelegramAllowFromEntry"],
},
{
subpath: "telegram-runtime-surface",
source: pluginSource("telegram", "runtime-api.js"),
exports: [
"auditTelegramGroupMembership",
"buildTelegramExecApprovalPendingPayload",
"collectTelegramUnmentionedGroupIds",
"createTelegramThreadBindingManager",
"createForumTopicTelegram",
"deleteMessageTelegram",
"editForumTopicTelegram",
"editMessageReplyMarkupTelegram",
"editMessageTelegram",
"monitorTelegramProvider",
"pinMessageTelegram",
"probeTelegram",
"reactMessageTelegram",
"renameForumTopicTelegram",
"resetTelegramThreadBindingsForTests",
"resolveTelegramRuntimeGroupPolicy",
"resolveTelegramToken",
"sendMessageTelegram",
"sendPollTelegram",
"sendStickerTelegram",
"sendTypingTelegram",
"setTelegramThreadBindingIdleTimeoutBySessionKey",
"setTelegramThreadBindingMaxAgeBySessionKey",
"shouldSuppressTelegramExecApprovalForwardingFallback",
"telegramMessageActions",
"TelegramApiOverride",
"TelegramProbe",
"unpinMessageTelegram",
],
typeExports: ["TelegramApiOverride", "TelegramProbe"],
},
{
subpath: "telegram-surface",
source: pluginSource("telegram", "api.js"),