fix: clean up 49 unused variables, catch params, and stale imports (#22695)

This commit is contained in:
Kit Langton
2026-04-16 02:01:53 +00:00
committed by GitHub
parent 34213d4446
commit cce05c1665
37 changed files with 32 additions and 94 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ const sessions = new Map<string, { client: any; server: any; sessionId: string;
const part = event.properties.part
if (part.type === "tool") {
// Find the session for this tool update
for (const [sessionKey, session] of sessions.entries()) {
for (const [_sessionKey, session] of sessions.entries()) {
if (session.sessionId === part.sessionID) {
handleToolUpdate(part, session.channel, session.thread)
break