feat: add cross-context messaging resolver

Co-authored-by: Thinh Dinh <tobalsan@users.noreply.github.com>
This commit is contained in:
Peter Steinberger
2026-01-17 03:17:08 +00:00
parent 1481a3d90f
commit 46015a3dd8
23 changed files with 859 additions and 60 deletions

View File

@@ -120,7 +120,7 @@ describe("messageCommand", () => {
{
action: "send",
channel: "whatsapp",
to: "+1",
to: "+15551234567",
message: "hi",
},
deps,
@@ -135,7 +135,7 @@ describe("messageCommand", () => {
{
action: "poll",
channel: "discord",
to: "channel:123",
to: "channel:123456789",
pollQuestion: "Snack?",
pollOption: ["Pizza", "Sushi"],
},
@@ -145,7 +145,7 @@ describe("messageCommand", () => {
expect(handleDiscordAction).toHaveBeenCalledWith(
expect.objectContaining({
action: "poll",
to: "channel:123",
to: "channel:123456789",
}),
expect.any(Object),
);