Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
companion: type the fake relay's admitted() for the server typecheck
milind-soni3078af5838b4
diff --git a/companion/test/e2e/fake-relay.ts b/companion/test/e2e/fake-relay.tsindex 77ec75013a..d08f25e9cf 100644--- a/companion/test/e2e/fake-relay.ts+++ b/companion/test/e2e/fake-relay.ts@@ -171,7 +171,7 @@ export async function startFakeRelay(options: FakeRelayOptions): Promise<FakeRelurl: `ws://127.0.0.1:${port}`,hosts,closes,- admitted: (hid) => hosts.get(hid)?.set ?? new Set(),+ admitted: (hid: string) => hosts.get(hid)?.set ?? new Set<string>(),restart() {for (const host of hosts.values()) host.control.send(JSON.stringify({ t: "restarting", reconnectInMs: 0, tryForMs: 200 }));},