From cfd7ea92379e3e27b1e843d977090879b481551a Mon Sep 17 00:00:00 2001 From: Lauren ten Hoor <32955832+laurentenhoor@users.noreply.github.com> Date: Fri, 13 Feb 2026 20:49:20 +0800 Subject: [PATCH] fix: update heartbeat.ts type signatures to accept SessionLookup | null (#169) (#175) --- lib/services/heartbeat.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/services/heartbeat.ts b/lib/services/heartbeat.ts index 1b1f381..f82b640 100644 --- a/lib/services/heartbeat.ts +++ b/lib/services/heartbeat.ts @@ -224,7 +224,7 @@ export async function tick(opts: { agentId?: string; config: HeartbeatConfig; pluginConfig?: Record; - sessions: SessionLookup; + sessions: SessionLookup | null; logger: { info(msg: string): void; warn(msg: string): void }; }): Promise { const { workspaceDir, agentId, config, pluginConfig, sessions } = opts; @@ -301,7 +301,7 @@ async function performHealthPass( workspaceDir: string, groupId: string, project: any, - sessions: SessionLookup, + sessions: SessionLookup | null, ): Promise { const { provider } = await createProvider({ repo: project.repo }); let fixedCount = 0;