Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
Train fix: the theme-color sync passes the page's document through the narrow type
milind-sonid4b5629bfa40
diff --git a/src/lib/browser-chrome.ts b/src/lib/browser-chrome.tsindex 761c67e280..ac60774a59 100644--- a/src/lib/browser-chrome.ts+++ b/src/lib/browser-chrome.ts@@ -42,5 +42,6 @@ export function syncBrowserChrome(doc: Document = document): void {} catch {return;}- applyThemeColor(surface, doc);+ // A real head appends any Node; the narrow type is what the tests can fake.+ applyThemeColor(surface, doc as unknown as ThemeColorDocument);}