Multi-Agent Collaboration for Team and Friends
TypeScript agent-automationagent-orchestrationagent-workflowai-agentsai-collaborationai-memoryai-workforceautonomous-agentsclaude-codeclaude-code-skillscodexcoding-agentmulti-agentmultiple-agentone-person-businessone-person-companyone-person-teamopencodesolopreneur
fix(cli): resolve prefer-const lint errors in session-runner
Gener6ed7fe796e62
diff --git a/src/cli/daemon/session-runner.ts b/src/cli/daemon/session-runner.tsindex 8d1caa8f4..f3e62e01a 100644--- a/src/cli/daemon/session-runner.ts+++ b/src/cli/daemon/session-runner.ts@@ -182,8 +182,8 @@ export async function runSession(input: SessionRunnerInput): Promise<void> {// --- State shared by the kill handler, hoisted so the SINGLE handler below// can see it whether the kill lands before or after the agent spawns. ---let killed = false;- let agentPid: number | undefined;- let flushTimer: ReturnType<typeof setInterval> | undefined;+ let agentPid: number | undefined = undefined;+ let flushTimer: ReturnType<typeof setInterval> | undefined = undefined;// Message batchingconst pendingMessages: {