Fix lints.

This commit is contained in:
Mario Zechner 2025-10-03 23:21:59 +02:00
parent 6d046236bf
commit 99983af597
27 changed files with 855 additions and 1060 deletions

View file

@ -1,6 +1,5 @@
import { getProviders } from "@mariozechner/pi-ai";
// @ts-ignore - browser global may exist in Firefox
declare const browser: any;
/**

View file

@ -304,6 +304,8 @@ export class AgentSession {
}
private emit(e: AgentSessionEvent) {
this.listeners.forEach((l) => l(e));
for (const listener of this.listeners) {
listener(e);
}
}
}