fix(ci): resync generated baselines and line runtime seam

This commit is contained in:
Vincent Koc
2026-03-22 19:53:12 -07:00
parent dbeac0763c
commit ac0fd26e16
45 changed files with 274 additions and 409 deletions

View File

@@ -48,23 +48,6 @@ import {
updateLastRoute,
} from "../../config/sessions.js";
import { getChannelActivity, recordChannelActivity } from "../../infra/channel-activity.js";
import {
listLineAccountIds,
normalizeAccountId as normalizeLineAccountId,
resolveDefaultLineAccountId,
resolveLineAccount,
buildTemplateMessageFromPayload,
createQuickReplyItems,
pushFlexMessage,
pushLocationMessage,
pushMessageLine,
pushMessagesLine,
pushTemplateMessage,
pushTextMessageWithQuickReplies,
monitorLineProvider,
probeLineBot,
sendMessageLine,
} from "../../../extensions/line/runtime-api.js";
import { convertMarkdownTables } from "../../markdown/tables.js";
import { fetchRemoteMedia } from "../../media/fetch.js";
import { saveMediaBuffer } from "../../media/store.js";
@@ -73,6 +56,25 @@ import {
readChannelAllowFromStore,
upsertChannelPairingRequest,
} from "../../pairing/pairing-store.js";
import {
buildTemplateMessageFromPayload,
createQuickReplyItems,
monitorLineProvider,
probeLineBot,
pushFlexMessage,
pushLocationMessage,
pushMessageLine,
pushMessagesLine,
pushTemplateMessage,
pushTextMessageWithQuickReplies,
sendMessageLine,
} from "../../plugin-sdk/line-runtime.js";
import {
listLineAccountIds,
normalizeAccountId as normalizeLineAccountId,
resolveDefaultLineAccountId,
resolveLineAccount,
} from "../../plugin-sdk/line.js";
import { buildAgentSessionKey, resolveAgentRoute } from "../../routing/resolve-route.js";
import { createRuntimeDiscord } from "./runtime-discord.js";
import { createRuntimeIMessage } from "./runtime-imessage.js";

View File

@@ -8,4 +8,4 @@ export {
pushTemplateMessage,
pushTextMessageWithQuickReplies,
sendMessageLine,
} from "../../../extensions/line/runtime-api.js";
} from "../../plugin-sdk/line-runtime.js";

View File

@@ -227,28 +227,20 @@ export type PluginRuntimeChannel = {
createLoginTool: typeof import("./runtime-whatsapp-login-tool.js").createRuntimeWhatsAppLoginTool;
};
line: {
listLineAccountIds: typeof import("../../../extensions/line/runtime-api.js").listLineAccountIds;
resolveDefaultLineAccountId: typeof import(
"../../../extensions/line/runtime-api.js"
).resolveDefaultLineAccountId;
resolveLineAccount: typeof import("../../../extensions/line/runtime-api.js").resolveLineAccount;
normalizeAccountId: typeof import("../../../extensions/line/runtime-api.js").normalizeAccountId;
probeLineBot: typeof import("../../../extensions/line/runtime-api.js").probeLineBot;
sendMessageLine: typeof import("../../../extensions/line/runtime-api.js").sendMessageLine;
pushMessageLine: typeof import("../../../extensions/line/runtime-api.js").pushMessageLine;
pushMessagesLine: typeof import("../../../extensions/line/runtime-api.js").pushMessagesLine;
pushFlexMessage: typeof import("../../../extensions/line/runtime-api.js").pushFlexMessage;
pushTemplateMessage: typeof import("../../../extensions/line/runtime-api.js").pushTemplateMessage;
pushLocationMessage: typeof import("../../../extensions/line/runtime-api.js").pushLocationMessage;
pushTextMessageWithQuickReplies: typeof import(
"../../../extensions/line/runtime-api.js"
).pushTextMessageWithQuickReplies;
createQuickReplyItems: typeof import(
"../../../extensions/line/runtime-api.js"
).createQuickReplyItems;
buildTemplateMessageFromPayload: typeof import(
"../../../extensions/line/runtime-api.js"
).buildTemplateMessageFromPayload;
monitorLineProvider: typeof import("../../../extensions/line/runtime-api.js").monitorLineProvider;
listLineAccountIds: typeof import("../../plugin-sdk/line.js").listLineAccountIds;
resolveDefaultLineAccountId: typeof import("../../plugin-sdk/line.js").resolveDefaultLineAccountId;
resolveLineAccount: typeof import("../../plugin-sdk/line.js").resolveLineAccount;
normalizeAccountId: typeof import("../../plugin-sdk/line.js").normalizeAccountId;
probeLineBot: typeof import("../../plugin-sdk/line-runtime.js").probeLineBot;
sendMessageLine: typeof import("../../plugin-sdk/line-runtime.js").sendMessageLine;
pushMessageLine: typeof import("../../plugin-sdk/line-runtime.js").pushMessageLine;
pushMessagesLine: typeof import("../../plugin-sdk/line-runtime.js").pushMessagesLine;
pushFlexMessage: typeof import("../../plugin-sdk/line-runtime.js").pushFlexMessage;
pushTemplateMessage: typeof import("../../plugin-sdk/line-runtime.js").pushTemplateMessage;
pushLocationMessage: typeof import("../../plugin-sdk/line-runtime.js").pushLocationMessage;
pushTextMessageWithQuickReplies: typeof import("../../plugin-sdk/line-runtime.js").pushTextMessageWithQuickReplies;
createQuickReplyItems: typeof import("../../plugin-sdk/line-runtime.js").createQuickReplyItems;
buildTemplateMessageFromPayload: typeof import("../../plugin-sdk/line-runtime.js").buildTemplateMessageFromPayload;
monitorLineProvider: typeof import("../../plugin-sdk/line-runtime.js").monitorLineProvider;
};
};