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;