Slack: add some fixes and connect it all up

This commit is contained in:
Shadow
2026-01-04 01:53:15 -06:00
parent 02d7e286ea
commit 8c38a7fee8
45 changed files with 1568 additions and 89 deletions

View File

@@ -63,7 +63,10 @@ describe("resolveTextChunkLimit", () => {
});
it("uses the matching provider override", () => {
const cfg = { discord: { textChunkLimit: 111 }, slack: { textChunkLimit: 222 } };
const cfg = {
discord: { textChunkLimit: 111 },
slack: { textChunkLimit: 222 },
};
expect(resolveTextChunkLimit(cfg, "discord")).toBe(111);
expect(resolveTextChunkLimit(cfg, "slack")).toBe(222);
expect(resolveTextChunkLimit(cfg, "telegram")).toBe(4000);