diff --git a/src/infra/heartbeat-runner.ghost-reminder.test.ts b/src/infra/heartbeat-runner.ghost-reminder.test.ts index cf815b0d38f..7a29bf3c6b9 100644 --- a/src/infra/heartbeat-runner.ghost-reminder.test.ts +++ b/src/infra/heartbeat-runner.ghost-reminder.test.ts @@ -498,6 +498,8 @@ describe("Ghost reminder bug (issue #13317)", () => { [sessionKey]: { sessionId: "sid", updatedAt: Date.now(), + lastChannel: "telegram", + lastTo: "-100155462274", deliveryContext: { channel: "telegram", to: "-100155462274", @@ -519,6 +521,7 @@ describe("Ghost reminder bug (issue #13317)", () => { agentId: "main", reason: "timer", deps: { + getReplyFromConfig: replySpy, telegram: sendTelegram, }, }); diff --git a/src/infra/outbound/targets.ts b/src/infra/outbound/targets.ts index 501ad159366..33006fd42aa 100644 --- a/src/infra/outbound/targets.ts +++ b/src/infra/outbound/targets.ts @@ -49,7 +49,7 @@ export type HeartbeatSenderContext = { export type { OutboundTargetResolution } from "./targets-resolve-shared.js"; export { resolveSessionDeliveryTarget, type SessionDeliveryTarget } from "./targets-session.js"; -import { resolveSessionDeliveryTarget } from "./targets-session.js"; +import { resolveSessionDeliveryTarget, type SessionDeliveryTarget } from "./targets-session.js"; // Channel docking: prefer plugin.outbound.resolveTarget + allowFrom to normalize destinations. export function resolveOutboundTarget(params: {