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

This commit is contained in:
Kit Langton 2026-04-15 22:01:53 -04:00 committed by GitHub
commit cce05c1665
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
37 changed files with 32 additions and 94 deletions

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