Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
GlassScrollFrame test: read styles.css with LF line endings, so it passes on a Windows checkout (#7063)
Milind Soni3aec210054cd
diff --git a/src/components/GlassScrollFrame.test.ts b/src/components/GlassScrollFrame.test.tsindex 7895abe181..f5234456d3 100644--- a/src/components/GlassScrollFrame.test.ts+++ b/src/components/GlassScrollFrame.test.ts@@ -132,7 +132,7 @@ describe("the scroll fade", () => {});describe("a fading bar", () => {- const css = readFileSync("src/styles.css", "utf8");+ const css = readFileSync("src/styles.css", "utf8").replace(/\r\n/g, "\n");const rule = (selector: string) => css.match(new RegExp(`(?:^|\\n)${selector.replace(/[[\]().:"]/g, "\\$&")} \\{[^}]*\\}`))?.[0] ?? "";it("marks itself, and a plain bar stays glass", () => {@@ -152,7 +152,7 @@ describe("a fading bar", () => {});describe("Simple mode's floating chat header", () => {- const css = readFileSync("src/styles.css", "utf8");+ const css = readFileSync("src/styles.css", "utf8").replace(/\r\n/g, "\n");const rule = (selector: string) => css.match(new RegExp(`(?:^|\\n)${selector.replace(/[[\]().:"]/g, "\\$&")} \\{[^}]*\\}`))?.[0] ?? "";it("draws no band, and the transcript fades in linearly over the 60px above the bar's bottom edge", () => {