mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 11:40:42 +00:00
fix(heartbeat): repair prep regressions
This commit is contained in:
@@ -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,
|
||||
},
|
||||
});
|
||||
|
||||
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user