Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
Merge pull request #5176 from ryanwake/windows-lend-tray-quit
milind-soni426fddc55e33
diff --cc electron/lend-automatically.node-test.mjsindex c360c611a9,744556410c..c3b0cf64bf--- a/electron/lend-automatically.node-test.mjs+++ b/electron/lend-automatically.node-test.mjs@@@ -12,9 -12,10 +12,10 @@@ import { setTimeout as delay } from "noimport { ownCloud } from "./cloud-list.mjs";import { automaticGrant, createComputerSharing, lendsAsWanted } from "./computer-sharing.mjs";import { activityPage, createActivityWindow } from "./lending-activity-window.mjs";-import { createLendingIndicator, indicatorText } from "./lending-indicator.mjs";+import { actingBot, createLendingIndicator, indicatorText } from "./lending-indicator.mjs";import { createLendingTarget } from "./lending-target.mjs";import { WORDS } from "./lending-words.mjs";+ import nativeText from "./native-text.cjs";const HOME = "https://omb-u-fixture.fly.dev", OTHER = "https://omb-c-client-a.fly.dev", TEAM = "https://omb-t-acme.fly.dev";const myCloud = { id: "my-cloud", name: "My Cloud", origin: HOME, home: true };diff --cc electron/lending-indicator.mjsindex 9ada960f3c,0b3cbda0fc..64d2271328--- a/electron/lending-indicator.mjs+++ b/electron/lending-indicator.mjs@@@ -48,10 -33,9 +48,10 @@@ export function indicatorText({ clouds/** How long lending has to stay broken before a notification says so: a blip is no news. */const NOTICE_AFTER_MS = 10 * 60_000;- export function createLendingIndicator({ Tray, Menu, nativeImage, iconPath, onPause, onResume, onActivity, onTerminal, onStartScreen = () => {}, device = deviceWord(), t = nativeText.englishText.t, Notification = null, setTimer = setTimeout, clearTimer = clearTimeout }) {+ export function createLendingIndicator({ Tray, Menu, nativeImage, iconPath, onPause, onResume, onActivity, onTerminal, onStartScreen = () => {}, onQuit = null, device = deviceWord(), t = nativeText.englishText.t, Notification = null, setTimer = setTimeout, clearTimer = clearTimeout }) {let tray = null;let shown = null;+ const dot = dotIcons(nativeImage);/** Each problem now, by what it says, until the notification for it goes out or it clears. */const noticeTimers = new Map(), notified = new Set();const followProblems = problems => {