fix: harden plugin docker e2e

This commit is contained in:
Peter Steinberger
2026-03-22 23:32:48 -07:00
parent d2a1b24b83
commit 202b588db5
12 changed files with 340 additions and 77 deletions

View File

@@ -25,6 +25,7 @@ export type {
TelegramInlineButtons,
} from "../../../extensions/telegram/api.js";
export type { StickerMetadata } from "../../../extensions/telegram/api.js";
export type { TelegramApiOverride } from "../../../extensions/telegram/runtime-api.js";
export { emptyPluginConfigSchema } from "../config-schema.js";
export { DEFAULT_ACCOUNT_ID, normalizeAccountId } from "../../routing/session-key.js";

View File

@@ -182,7 +182,7 @@ export type PluginRuntimeChannel = {
token?: string;
accountId?: string;
verbose?: boolean;
api?: Partial<import("grammy").Bot["api"]>;
api?: import("../../plugin-sdk/telegram.js").TelegramApiOverride;
retry?: import("../../infra/retry.js").RetryConfig;
cfg?: ReturnType<typeof import("../../config/config.js").loadConfig>;
},