refactor: migrate messaging plugins to sdk

This commit is contained in:
Peter Steinberger committed 2026-01-18 08:54:00 +00:00
1 parent 9241e21114
commit c5e19f5c67
63 files changed
+4082 -376

No files matched your search

+9 -3
View File
@@ -8,9 +8,15 @@ const mocks = vi.hoisted(() => ({
appendAssistantMessageToSessionTranscript: vi.fn(async () => ({ ok: true, sessionFile: "x" })),
}));
vi.mock("../../config/config.js", () => ({
loadConfig: () => ({}),
}));
vi.mock("../../config/config.js", async () => {
const actual = await vi.importActual<typeof import("../../config/config.js")>(
"../../config/config.js",
);
return {
...actual,
loadConfig: () => ({}),
};
});
vi.mock("../../channels/plugins/index.js", () => ({
getChannelPlugin: () => ({ outbound: {} }),