Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
feat(notifications): let scheduled routine reports notify on their own switch
Bugfixer 24b2f021e647c
diff --git a/packages/phone-protocol/src/notification.ts b/packages/phone-protocol/src/notification.tsindex 026701fb51..1acada106d 100644--- a/packages/phone-protocol/src/notification.ts+++ b/packages/phone-protocol/src/notification.ts@@ -53,6 +53,9 @@ export interface Notification {/** On a Team Cloud, the one person this is for (their person key): a teammate tagged by name, or the person a bot* passed a message to. It reaches nobody else, an admin included. */forPerson?: string;+ /** On a `done`: the report of a scheduled routine run, not a reply in a chat. Clients may let the person keep these+ * while chat replies stay quiet. Absent from older servers and from the saved feed. */+ routine?: true;}/** A `Notification` as the feed stores it: the live `notify` frame and `GET /api/notifications` carry the same entry. */diff --git a/server/index.ts b/server/index.tsindex a91036467f..c23c59498d 100644--- a/server/index.ts+++ b/server/index.ts@@ -5538,7 +5538,7 @@ const activityNotice = (threadId: string, text: string) => { store.appendMessageconst placeMoves = createPlaceMoves({ home: CLOUD_PERSONAL ? "my-cloud" : CLOUD_HOME ? "team-cloud" : null, folder: (botId, threadId) => messageFileRootsForThread(botId, threadId)[0], vps: (botId) => store.bot(botId)?.cloudBackend === "vps", language: threadLanguage, notice: activityNotice });let routines: RoutineManager | null = null;const automationReports = createAutomationReports({ store, routines: () => routines, busy: threadBusy, wrote: markTaskContextExternallyUpdated, brief: (run, turnId) => proactive.runSettled(run, turnId), threadLanguage, notes: { has: (id) => refusedLending.notes.has(id) || noTerminal.notes.has(id), take: (id, language) => [refusedLending.notes.take(id, language), noTerminal.notes.take(id, language)].filter(Boolean).join("\n\n") || null },- notify: (kind, bot, threadId, detail) => notify(buildNotification(kind, bot, threadId, detail, { avatarUrl: bot.avatarUrl }), { routine: true }) });+ notify: (kind, bot, threadId, detail) => notify(buildNotification(kind, bot, threadId, detail, { avatarUrl: bot.avatarUrl, routine: true }), { routine: true }) });const proactive = createProactive({ store, cfg, composio, registry, dataDir: DATA_DIR, ideas: (botId) => memoryUpkeep.ideas(botId), ...firstHourHooks.proactive, team: Boolean(HOSTED_WORKSPACE || CLOUD_TEAM), frozen: moveFreeze.frozen, routines: () => routines, mainThread: botMainThread, threadBusy, notify, helpers: { decider, extractor }, cloud: Boolean(CLOUD_HOME || HOSTED_WORKSPACE || CLOUD_TEAM),engineName: (instanceId) => engineName(instanceId), hostTimeZone: () => (CLOUD_HOME ? undefined : hostTimeZone()), decide: (row) => appendDecision(DATA_DIR, row), stale: shouldIgnoreProviderEvent, release: (threadId) => watchdog.setWaitingOnHuman(threadId, false),owned: (routine) => { (cloudRoutineAuthors ?? phones.routineAuthors)?.record(routine.id, routine); if (CLOUD_OWNER_KEY) cloudRoutineAuthors?.wrote(routine.id, CLOUD_OWNER_KEY); }, needsYou: () => needsYouNow({ bots: store.bots, groups: store.groups, routines, parked: coordinator.active(), engines: registry.instances().map((instance) => ({ instanceId: instance.instanceId, snapshot: registry.lastSnapshot(instance.instanceId) })) }, { admin: true, thread: () => true, routine: () => true }) });@@ -6748,7 +6748,7 @@ bus.subscribe((event: RuntimeEvent) => {if (!routineReportThread && (!internal || reviewAnswer) && !checkWork.holds(event.threadId) && (!routineRun || routineRunNeedsReview(routineRun, reply) || personWaits.open(event.threadId))) store.patchTask(bot.id, event.threadId, { unread: true }, { turnEnd: true });if (routineRun && routineReportThread !== event.threadId) automationReports.runSettled(routineRun, completedTurnId);else if ((!routineRun || routineRun.status === "completed") && (!internal || reviewAnswer) && !computerSelectionTurns.get(event.threadId)?.selected && doneNotice.atTurnEnd({ botId: bot.id, threadId: event.threadId, review: reviewAnswer, ok: event.ok, routine: Boolean(routineRun) }) === "notify" && !personWaits.atTurnEnd(event.threadId, reply) && !unaskedBotThread(settledTask, store.activePath(event.threadId))) {- notify(buildNotification("done", bot, event.threadId, routineRun ? reply || routineRun.output || routineRun.routineName : reply, { avatarUrl: bot.avatarUrl }), routineRun ? { routine: true } : reviewAnswer ? { summary: true } : undefined);+ notify(buildNotification("done", bot, event.threadId, routineRun ? reply || routineRun.output || routineRun.routineName : reply, { avatarUrl: bot.avatarUrl, routine: Boolean(routineRun) }), routineRun ? { routine: true } : reviewAnswer ? { summary: true } : undefined);}if (screenPollers.has(event.threadId)) {// Keep the thread busy until the final END-state capture: an accepted follow-up must not take the desktop first.diff --git a/server/notify.test.ts b/server/notify.test.tsindex 4c1e336402..1472fb8a57 100644--- a/server/notify.test.ts+++ b/server/notify.test.ts@@ -84,6 +84,12 @@ describe("buildNotification", () => {expect(buildNotification("done", bot, "thread-1", "pushed")?.avatarUrl).toBeUndefined();});+ it("marks a scheduled routine's finish as a report, and nothing else", () => {+ expect(buildNotification("done", bot, "thread-1", "Daily digest ready", { routine: true })?.routine).toBe(true);+ expect(buildNotification("done", bot, "thread-1", "Daily digest ready")).not.toHaveProperty("routine");+ expect(buildNotification("done", bot, "thread-1", "Daily digest ready", { routine: false })).not.toHaveProperty("routine");+ expect(buildNotification("routine-failed", bot, "thread-1", "boom", { routine: true })).not.toHaveProperty("routine");+ });it("titles a finished wait and keeps its line as the body", () => {expect(buildNotification("wait", { id: "b", name: "Pepper" }, "t", "the build: done. ci passed.")).toEqual({kind: "wait", botId: "b", botName: "Pepper", threadId: "t", title: "Pepper's wait is over", body: "the build: done. ci passed.",diff --git a/server/notify.ts b/server/notify.tsindex a8c1a30cef..72a9d26d92 100644--- a/server/notify.ts+++ b/server/notify.ts@@ -54,7 +54,7 @@ export function buildNotification(bot: Omit<NotifyBot, "threadId"> & { threadId?: string },threadId: string,detail: string,- extra?: { avatarUrl?: string; group?: { id: string; name: string }; site?: string; label?: string; app?: string; handoff?: boolean },+ extra?: { avatarUrl?: string; group?: { id: string; name: string }; site?: string; label?: string; app?: string; handoff?: boolean; routine?: boolean },): Notification | null {if (bot.notifications === false) return null;@@ -73,6 +73,7 @@ export function buildNotification(const notification: Notification = { kind, botId: bot.id, botName: bot.name, threadId, title, body };if (extra?.avatarUrl) notification.avatarUrl = extra.avatarUrl;if (extra?.group) notification.groupId = extra.group.id;+ if (extra?.routine && kind === "done") notification.routine = true;return notification;}diff --git a/src/components/NotificationSettingsRows.test.ts b/src/components/NotificationSettingsRows.test.tsindex d6bb7c9a9b..e4efd25603 100644--- a/src/components/NotificationSettingsRows.test.ts+++ b/src/components/NotificationSettingsRows.test.ts@@ -3,9 +3,9 @@ import { act, createElement, StrictMode } from "react";import { createRoot, type Root } from "react-dom/client";import { afterEach, beforeEach, expect, it, vi } from "vitest";import { setLocale } from "@/lib/i18n";-import { DeviceNotificationsRow } from "./NotificationSettingsRows";+import { DeviceNotificationsRow, ReportNotificationsRow } from "./NotificationSettingsRows";-const fixture = vi.hoisted(() => ({ optedIn: true, setFinishedNotifications: vi.fn() }));+const fixture = vi.hoisted(() => ({ optedIn: true, reports: true, setFinishedNotifications: vi.fn(), setReportNotifications: vi.fn() }));vi.mock("@/lib/notification-preferences", () => ({useNotificationSounds: () => true,setNotificationSounds: vi.fn(),@@ -13,6 +13,8 @@ vi.mock("@/lib/notification-preferences", () => ({setNotificationFeed: vi.fn(),useFinishedNotifications: () => fixture.optedIn,setFinishedNotifications: fixture.setFinishedNotifications,+ useReportNotifications: () => fixture.reports,+ setReportNotifications: fixture.setReportNotifications,}));let root: Root | undefined;@@ -24,6 +26,7 @@ const requestPermission = vi.fn(async (): Promise<NotificationPermission> => "grbeforeEach(() => {vi.clearAllMocks();fixture.optedIn = true;+ fixture.reports = true;permission = "granted";setLocale("en");vi.stubGlobal("IS_REACT_ACT_ENVIRONMENT", true);@@ -105,3 +108,17 @@ it("ignores hidden pages and stops listening once unmounted", async () => {await resume("focus");expect(readPermission).not.toHaveBeenCalled();});++it("turns scheduled report notices on and off by themselves, only once the browser allows notifications", async () => {+ fixture.reports = false;+ await act(async () => root!.render(createElement(ReportNotificationsRow)));+ expect(container.textContent).toContain("Scheduled report notifications");+ expect(toggle().getAttribute("aria-checked")).toBe("false");+ await act(async () => toggle().click());+ expect(fixture.setReportNotifications).toHaveBeenCalledWith(true);+ expect(fixture.setFinishedNotifications).not.toHaveBeenCalled();+ permission = "denied";+ await resume("focus");+ expect(toggle().disabled).toBe(true);+ expect(requestPermission).not.toHaveBeenCalled();+});diff --git a/src/components/NotificationSettingsRows.tsx b/src/components/NotificationSettingsRows.tsxindex e3fa27b91e..0a7fd76263 100644--- a/src/components/NotificationSettingsRows.tsx+++ b/src/components/NotificationSettingsRows.tsx@@ -4,9 +4,11 @@ import {setFinishedNotifications,setNotificationFeed,setNotificationSounds,+ setReportNotifications,useFinishedNotifications,useNotificationFeed,useNotificationSounds,+ useReportNotifications,} from "@/lib/notification-preferences";import { requestNotificationPermission } from "@/lib/notify";import { SettingRow, Switch } from "./SettingsPrimitives";@@ -15,6 +17,7 @@ export function NotificationRows({ simple = false }: { simple?: boolean }) {return (<><DeviceNotificationsRow simple={simple} />+ <ReportNotificationsRow simple={simple} /><NotificationSoundsRow simple={simple} /><NotificationFeedRow simple={simple} /></>@@ -23,10 +26,9 @@ export function NotificationRows({ simple = false }: { simple?: boolean }) {const currentPermission = (): NotificationPermission => (typeof Notification !== "undefined" ? Notification.permission : "default");-/** A browser shows nothing until it is asked from a click; the person may also change the site permission elsewhere. */-export function DeviceNotificationsRow({ simple = false }: { simple?: boolean }) {+/** The person may change the site permission elsewhere, so it is read again whenever the app comes back. */+function useNotificationPermission() {const [permission, setPermission] = useState(currentPermission);- const enabled = useFinishedNotifications();useEffect(() => {const refresh = () => {if (document.visibilityState === "visible") setPermission(currentPermission());@@ -38,6 +40,13 @@ export function DeviceNotificationsRow({ simple = false }: { simple?: boolean })document.removeEventListener("visibilitychange", refresh);};}, []);+ return [permission, setPermission] as const;+}++/** A browser shows nothing until it is asked from a click. */+export function DeviceNotificationsRow({ simple = false }: { simple?: boolean }) {+ const [permission, setPermission] = useNotificationPermission();+ const enabled = useFinishedNotifications();if (typeof Notification === "undefined") return null;const blocked = permission === "denied";@@ -64,6 +73,24 @@ export function DeviceNotificationsRow({ simple = false }: { simple?: boolean }));}+/** Scheduled routine reports, apart from chat replies; it can be changed once the browser lets this app notify. */+export function ReportNotificationsRow({ simple = false }: { simple?: boolean }) {+ const [permission] = useNotificationPermission();+ const enabled = useReportNotifications();+ if (typeof Notification === "undefined") return null;+ const allowed = permission === "granted";+ return (+ <SettingRow title={t("settings.reportNotifications.title")} subtitle={t(simple ? "settings.simple.reportNotifications" : "settings.reportNotifications.subtitle")}>+ <Switch+ checked={allowed && enabled}+ disabled={!allowed}+ aria-label={t("settings.reportNotifications.show")}+ onClick={() => setReportNotifications(!enabled)}+ />+ </SettingRow>+ );+}+export function NotificationSoundsRow({ simple = false }: { simple?: boolean }) {const enabled = useNotificationSounds();return (diff --git a/src/lib/notification-preferences.test.ts b/src/lib/notification-preferences.test.tsindex 2abeec91a5..fbd76c00ad 100644--- a/src/lib/notification-preferences.test.ts+++ b/src/lib/notification-preferences.test.ts@@ -205,3 +205,22 @@ describe("notification tray pin (email 1a1a4fb0)", () => {expect(preference.notificationTrayPinned()).toBe(false);});});++describe("scheduled report notifications preference", () => {+ it("follows the finished switch until set, then keeps its own choice", async () => {+ let preference = await import("./notification-preferences");+ expect(preference.reportNotificationsEnabled()).toBe(true);+ preference.setFinishedNotifications(false);+ expect(preference.reportNotificationsEnabled()).toBe(false);+ preference.setReportNotifications(true);+ expect(local.getItem(preference.REPORT_NOTIFICATIONS_KEY)).toBe("1");+ expect(preference.useReportNotifications()).toBe(true);+ vi.resetModules();+ preference = await import("./notification-preferences");+ expect(preference.finishedNotificationsEnabled()).toBe(false);+ expect(preference.reportNotificationsEnabled()).toBe(true);+ preference.setReportNotifications(false);+ preference.setFinishedNotifications(true);+ expect(preference.reportNotificationsEnabled()).toBe(false);+ });+});diff --git a/src/lib/notification-preferences.ts b/src/lib/notification-preferences.tsindex 032434a37f..e602a3690e 100644--- a/src/lib/notification-preferences.ts+++ b/src/lib/notification-preferences.ts@@ -4,11 +4,13 @@ import { windowPrefChanged } from "./window-pref-changes";export const NOTIFICATION_SOUNDS_KEY = "omb-notification-sounds";export const NOTIFICATION_FEED_KEY = "omb-notification-feed";export const FINISHED_NOTIFICATIONS_KEY = "omb-finished-notifications";+export const REPORT_NOTIFICATIONS_KEY = "omb-report-notifications";export const NOTIFICATION_TRAY_PINNED_KEY = "omb-notification-tray-pinned";let sessionChoice: boolean | undefined;let feedSessionChoice: boolean | undefined;let finishedSessionChoice: boolean | undefined;+let reportSessionChoice: boolean | undefined;const listeners = new Set<() => void>();function storage(): Storage | undefined {@@ -33,11 +35,12 @@ function notify() {}function onStorage(event: StorageEvent) {- if (event.key !== NOTIFICATION_SOUNDS_KEY && event.key !== NOTIFICATION_FEED_KEY && event.key !== FINISHED_NOTIFICATIONS_KEY && event.key !== null) return;+ if (event.key !== NOTIFICATION_SOUNDS_KEY && event.key !== NOTIFICATION_FEED_KEY && event.key !== FINISHED_NOTIFICATIONS_KEY && event.key !== REPORT_NOTIFICATIONS_KEY && event.key !== null) return;if (event.storageArea && event.storageArea !== storage()) return;sessionChoice = undefined;feedSessionChoice = undefined;finishedSessionChoice = undefined;+ reportSessionChoice = undefined;notify();}@@ -122,6 +125,33 @@ export function useFinishedNotifications(): boolean {return useSyncExternalStore(subscribe, finishedNotificationsEnabled, () => true);}+/** Per device: the "done" notices of scheduled routine runs. Until the person sets it, it follows the finished switch. */+export function reportNotificationsEnabled(): boolean {+ if (reportSessionChoice !== undefined) return reportSessionChoice;+ try {+ const saved = storage()?.getItem(REPORT_NOTIFICATIONS_KEY);+ if (saved === "1" || saved === "0") return saved === "1";+ } catch {+ }+ return finishedNotificationsEnabled();+}++export function setReportNotifications(enabled: boolean): void {+ reportSessionChoice = enabled;+ try {+ const local = storage();+ const value = enabled ? "1" : "0";+ local?.setItem(REPORT_NOTIFICATIONS_KEY, value);+ if (local?.getItem(REPORT_NOTIFICATIONS_KEY) === value) reportSessionChoice = undefined;+ } catch {+ }+ notify();+}++export function useReportNotifications(): boolean {+ return useSyncExternalStore(subscribe, reportNotificationsEnabled, () => true);+}+/** Per device: the notification tray stays open while the person switches chats. */export function notificationTrayPinned(): boolean {try {diff --git a/src/lib/notify.test.ts b/src/lib/notify.test.tsindex 009d1f4af0..211459d2eb 100644--- a/src/lib/notify.test.ts+++ b/src/lib/notify.test.ts@@ -1,9 +1,10 @@import { afterEach, describe, expect, it, vi } from "vitest";-const sounds = vi.hoisted(() => ({ enabled: true, finished: true }));+const sounds = vi.hoisted(() => ({ enabled: true, finished: true, reports: true }));vi.mock("./notification-preferences", () => ({notificationSoundsEnabled: () => sounds.enabled,finishedNotificationsEnabled: () => sounds.finished,+ reportNotificationsEnabled: () => sounds.reports,}));import { setLocale } from "./i18n";@@ -44,6 +45,7 @@ afterEach(() => {vi.unstubAllGlobals();sounds.enabled = true;sounds.finished = true;+ sounds.reports = true;});describe("desktop notifications", () => {@@ -86,6 +88,20 @@ describe("desktop notifications", () => {expect(notices).toHaveLength(3);});+ it("keeps scheduled reports on their own switch, apart from chat replies", () => {+ const { notices } = installNotification("granted");+ const report: NotifyFrame = { ...frame, routine: true, title: "Maus finished: Daily digest" };+ sounds.finished = false;+ showNotification(frame, vi.fn());+ showNotification(report, vi.fn());+ expect(notices.map((notice) => notice.title)).toEqual([report.title]);+ sounds.finished = true;+ sounds.reports = false;+ showNotification(frame, vi.fn());+ showNotification(report, vi.fn());+ expect(notices.map((notice) => notice.title)).toEqual([report.title, frame.title]);+ });+it("shows a notification after permission is granted", () => {const { notices } = installNotification("granted");showNotification(frame, vi.fn());diff --git a/src/lib/notify.ts b/src/lib/notify.tsindex e84fda3586..f51b3f1b65 100644--- a/src/lib/notify.ts+++ b/src/lib/notify.ts@@ -1,6 +1,6 @@import type { Notification } from "../../shared/notification";import { plainPreviewText } from "../../shared/plain-preview";-import { finishedNotificationsEnabled, notificationSoundsEnabled } from "./notification-preferences";+import { finishedNotificationsEnabled, notificationSoundsEnabled, reportNotificationsEnabled } from "./notification-preferences";export type NotifyFrame = Notification;@@ -38,7 +38,7 @@ export function showNotification(visibleThreadId?: string | null,) {if (typeof Notification === "undefined") return;- if (frame.kind === "done" && !finishedNotificationsEnabled()) return;+ if (frame.kind === "done" && !(frame.routine ? reportNotificationsEnabled() : finishedNotificationsEnabled())) return;const spend = frame.kind === "spend";if (!spend && document.hasFocus() && visibleThreadId === frame.threadId) return;if (Notification.permission !== "granted") return;diff --git a/src/locales/de.json b/src/locales/de.jsonindex 9c8f8d1f1f..ed700c6d5e 100644--- a/src/locales/de.json+++ b/src/locales/de.json@@ -4034,6 +4034,9 @@"settings.newBotEffort.error": "Der Aufwand für neue Bots konnte nicht gespeichert werden.","settings.newBotEffort.title": "Aufwand für neue Bots","settings.notificationFeed.show": "Mitteilungsfeed zeigen",+ "settings.reportNotifications.title": "Benachrichtigungen zu geplanten Berichten",+ "settings.reportNotifications.subtitle": "Hier eine Benachrichtigung zeigen, wenn eine Routine einen geplanten Lauf beendet. Lass dies an und schalte den Schalter oben aus, um nur Berichte zu sehen.",+ "settings.reportNotifications.show": "Bei geplanten Berichten benachrichtigen","settings.notificationFeed.title": "Mitteilungsfeed","settings.notificationSounds.play": "Mitteilungstöne","settings.notificationSounds.title": "Mitteilungstöne",@@ -4106,6 +4109,7 @@"settings.simple.followUp": "{key} macht für eine einzelne Nachricht das andere.","settings.simple.language.system": "Systemsprache verwenden","settings.simple.notificationFeed": "Eine Glocke rechts, die deine letzten 500 Mitteilungen behält.",+ "settings.simple.reportNotifications": "Wenn eine Routine einen geplanten Lauf beendet.","settings.simple.notificationSounds": "Spielt einen Ton, wenn ein Bot fertig ist oder dich braucht.","settings.simple.openAtLogin": "Startet, wenn du dich anmeldest, damit deine Bots bereit sind.","settings.simple.sendKey": "Wähle Umschalt+Eingabe oder {key}, wenn Eingabe getippten Text bestätigt, wie bei japanischer Eingabe.",diff --git a/src/locales/en.json b/src/locales/en.jsonindex 293b0f0101..a3b06eb3c8 100644--- a/src/locales/en.json+++ b/src/locales/en.json@@ -1974,6 +1974,9 @@"settings.notificationFeed.title": "Notification feed","settings.notificationFeed.subtitle": "Show a bell on the right edge of the window that keeps the last 500 notifications from every bot, read or not.","settings.notificationFeed.show": "Show the notification feed",+ "settings.reportNotifications.title": "Scheduled report notifications",+ "settings.reportNotifications.subtitle": "Show a notification here when a routine finishes a scheduled run. Keep this on and turn the switch above off to hear only about reports.",+ "settings.reportNotifications.show": "Notify me about scheduled reports","notifications.title": "Notifications","notifications.railUnread": "Notifications, {count} unread","notifications.unread": "{count} unread",@@ -7115,6 +7118,7 @@"settings.simple.deviceNotifications": "Only while the app is open. Questions, approvals and warnings always show.","settings.simple.notificationSounds": "Plays a sound when a bot finishes or needs you.","settings.simple.notificationFeed": "A bell on the right that keeps your last 500 notifications.",+ "settings.simple.reportNotifications": "When a routine finishes a scheduled run.","settings.simple.openAtLogin": "Starts when you sign in, so your bots are ready.","settings.simple.defaultBot": "Your helper. Hidden, it keeps working and search still finds it.","settings.simple.analytics": "Anonymous usage events. Never your messages, files or keys. Your email only if you shared it at setup or on a Cloud plan screen.",diff --git a/src/locales/es.json b/src/locales/es.jsonindex 6b69e6c59f..1631265ef5 100644--- a/src/locales/es.json+++ b/src/locales/es.json@@ -1289,6 +1289,9 @@"settings.notificationFeed.title": "Panel de notificaciones","settings.notificationFeed.subtitle": "Muestra una campana en el borde derecho de la ventana que guarda las últimas 500 notificaciones de todos los bots, leídas o no.","settings.notificationFeed.show": "Mostrar el panel de notificaciones",+ "settings.reportNotifications.title": "Notificaciones de informes programados",+ "settings.reportNotifications.subtitle": "Mostrar una notificación aquí cuando una rutina termina una ejecución programada. Deja esto activado y desactiva la opción de arriba para ver solo los informes.",+ "settings.reportNotifications.show": "Notificarme de informes programados","notifications.title": "Notificaciones","notifications.railUnread": "Notificaciones, {count} sin leer","notifications.unread": "{count} sin leer",@@ -6448,6 +6451,7 @@"settings.simple.followUp": "{key} hace lo otro para un solo mensaje.","settings.simple.language.system": "Seguir el sistema","settings.simple.notificationFeed": "Una campana a la derecha que guarda tus últimas 500 notificaciones.",+ "settings.simple.reportNotifications": "Cuando una rutina termina una ejecución programada.","settings.simple.notificationSounds": "Suena cuando un bot termina o te necesita.","settings.simple.openAtLogin": "Se inicia cuando inicias sesión, para que tus bots estén listos.","settings.simple.sendKey": "Elige Mayús+Intro o {key} si Intro confirma el texto escrito, como en la escritura japonesa.",diff --git a/src/locales/fr.json b/src/locales/fr.jsonindex 5a15c23316..f9204863df 100644--- a/src/locales/fr.json+++ b/src/locales/fr.json@@ -3773,6 +3773,9 @@"settings.newBotEffort.error": "Impossible d'enregistrer l'effort des nouveaux bots.","settings.newBotEffort.title": "Effort des nouveaux bots","settings.notificationFeed.show": "Afficher le fil de notifications",+ "settings.reportNotifications.title": "Notifications des rapports planifiés",+ "settings.reportNotifications.subtitle": "Afficher une notification ici quand une routine termine une exécution planifiée. Laissez ceci activé et désactivez l'option du dessus pour ne voir que les rapports.",+ "settings.reportNotifications.show": "M'avertir des rapports planifiés","settings.notificationFeed.title": "Fil de notifications","settings.notificationSounds.play": "Sons de notification","settings.notificationSounds.title": "Sons de notification",@@ -3845,6 +3848,7 @@"settings.simple.followUp": "{key} fait l'autre pour un seul message.","settings.simple.language.system": "Suivre le système","settings.simple.notificationFeed": "Une cloche à droite qui garde vos 500 dernières notifications.",+ "settings.simple.reportNotifications": "Quand une routine termine une exécution planifiée.","settings.simple.notificationSounds": "Joue un son quand un bot a fini ou a besoin de vous.","settings.simple.openAtLogin": "Démarre quand vous vous connectez, pour que vos bots soient prêts.","settings.simple.sendKey": "Choisissez Maj+Entrée ou {key} si Entrée valide le texte saisi, comme en saisie japonaise.",diff --git a/src/locales/hi.json b/src/locales/hi.jsonindex 044528f21f..2cbee9bfc3 100644--- a/src/locales/hi.json+++ b/src/locales/hi.json@@ -3625,6 +3625,9 @@"settings.newBotEffort.error": "नए बॉट्स का प्रयास सहेजा नहीं जा सका।","settings.newBotEffort.title": "नए बॉट्स के लिए प्रयास","settings.notificationFeed.show": "सूचना फ़ीड दिखाएँ",+ "settings.reportNotifications.title": "निर्धारित रिपोर्ट की सूचनाएँ",+ "settings.reportNotifications.subtitle": "जब कोई रूटीन अपना निर्धारित रन पूरा करे, तो यहाँ सूचना दिखाएँ। सिर्फ़ रिपोर्ट के लिए इसे चालू रखें और ऊपर वाला स्विच बंद करें।",+ "settings.reportNotifications.show": "निर्धारित रिपोर्ट पर सूचित करें","settings.notificationFeed.title": "सूचना फ़ीड","settings.notificationSounds.play": "सूचना ध्वनियाँ","settings.notificationSounds.title": "सूचना ध्वनियाँ",@@ -3697,6 +3700,7 @@"settings.simple.followUp": "{key} किसी एक संदेश के लिए दूसरा तरीका करता है।","settings.simple.language.system": "सिस्टम के अनुसार","settings.simple.notificationFeed": "दाईं ओर एक घंटी जो आपकी आख़िरी 500 सूचनाएँ रखती है।",+ "settings.simple.reportNotifications": "जब कोई रूटीन निर्धारित रन पूरा करे।","settings.simple.notificationSounds": "जब कोई बॉट काम पूरा करे या आपकी ज़रूरत हो, तो आवाज़ बजाता है।","settings.simple.openAtLogin": "साइन इन करते ही शुरू होता है, ताकि आपके बॉट्स तैयार रहें।","settings.simple.sendKey": "अगर Enter टाइप किया टेक्स्ट पक्का करता है, जैसे जापानी इनपुट में, तो Shift+Enter या {key} चुनें।",diff --git a/src/locales/it.json b/src/locales/it.jsonindex 524b4c2ed5..6a8219eb3d 100644--- a/src/locales/it.json+++ b/src/locales/it.json@@ -1974,6 +1974,9 @@"settings.notificationFeed.title": "Elenco notifiche","settings.notificationFeed.subtitle": "Mostra una campanella sul bordo destro della finestra con le ultime 500 notifiche di ogni bot, lette o no.","settings.notificationFeed.show": "Mostra l'elenco notifiche",+ "settings.reportNotifications.title": "Notifiche dei report pianificati",+ "settings.reportNotifications.subtitle": "Mostra una notifica qui quando una routine termina un'esecuzione pianificata. Lascia questa attiva e disattiva l'opzione sopra per vedere solo i report.",+ "settings.reportNotifications.show": "Avvisami dei report pianificati","notifications.title": "Notifiche","notifications.railUnread": "Notifiche, {count} non lette","notifications.unread": "{count} non lette",@@ -7108,6 +7111,7 @@"settings.simple.deviceNotifications": "Solo mentre l'app è aperta. Domande, approvazioni e avvisi compaiono sempre.","settings.simple.notificationSounds": "Suona quando un bot finisce o ha bisogno di te.","settings.simple.notificationFeed": "Una campanella a destra che tiene le tue ultime 500 notifiche.",+ "settings.simple.reportNotifications": "Quando una routine termina un'esecuzione pianificata.","settings.simple.openAtLogin": "Si avvia quando accedi, così i tuoi bot sono pronti.","settings.simple.defaultBot": "Il tuo aiutante. Nascosto, continua a lavorare e la ricerca lo trova comunque.","settings.simple.analytics": "Eventi d'uso anonimi. Mai i tuoi messaggi, file o chiavi. La tua email solo se l'hai condivisa durante la configurazione o in una schermata del piano Cloud.",diff --git a/src/locales/ja.json b/src/locales/ja.jsonindex f080a68f94..4cb5833b9a 100644--- a/src/locales/ja.json+++ b/src/locales/ja.json@@ -1593,6 +1593,9 @@"settings.notificationFeed.title": "通知フィード","settings.notificationFeed.subtitle": "ウィンドウの右端にベルを表示し、すべてのボットの直近500件の通知を、既読・未読を問わず保持します。","settings.notificationFeed.show": "通知フィードを表示",+ "settings.reportNotifications.title": "スケジュールされたレポートの通知",+ "settings.reportNotifications.subtitle": "ルーティンが予定された実行を終えたときに、ここに通知を表示します。これをオンにして上のスイッチをオフにすると、レポートだけ通知されます。",+ "settings.reportNotifications.show": "スケジュールされたレポートを通知する","notifications.title": "通知","notifications.railUnread": "通知、未読{count}件","notifications.unread": "未読{count}件",@@ -6183,6 +6186,7 @@"settings.simple.deviceNotifications": "アプリが開いている間だけ表示されます。質問、承認、警告は常に表示されます。","settings.simple.notificationSounds": "ボットの作業が終わったときや、対応が必要なときに音を鳴らします。","settings.simple.notificationFeed": "右側にベルを表示し、直近 500 件の通知を残します。",+ "settings.simple.reportNotifications": "ルーティンが予定された実行を終えたとき。","settings.simple.openAtLogin": "サインインしたときに起動し、ボットをすぐ使える状態にします。","settings.simple.defaultBot": "あなたのアシスタントです。非表示にしても動き続け、検索で見つけられます。","settings.simple.analytics": "匿名の利用イベントです。メッセージ、ファイル、キーは送信しません。メールアドレスは、セットアップ時か Cloud のプラン画面で共有した場合にのみ送信します。",diff --git a/src/locales/ko.json b/src/locales/ko.jsonindex 99abf16edf..34373a835f 100644--- a/src/locales/ko.json+++ b/src/locales/ko.json@@ -1510,6 +1510,9 @@"settings.notificationFeed.title": "알림 피드","settings.notificationFeed.subtitle": "창 오른쪽 가장자리에 종 모양 아이콘을 보여 줘요. 읽었든 안 읽었든 모든 봇의 최근 알림 500개를 보관해요.","settings.notificationFeed.show": "알림 피드 표시",+ "settings.reportNotifications.title": "예약된 보고서 알림",+ "settings.reportNotifications.subtitle": "루틴이 예약된 실행을 마치면 여기에 알림을 표시해요. 이 설정을 켜고 위 스위치를 끄면 보고서 알림만 받아요.",+ "settings.reportNotifications.show": "예약된 보고서 알림 받기","notifications.title": "알림","notifications.railUnread": "알림, 읽지 않음 {count}개","notifications.unread": "읽지 않음 {count}개",@@ -5936,6 +5939,7 @@"settings.simple.deviceNotifications": "앱이 열려 있는 동안만 표시돼요. 질문, 승인, 경고는 항상 표시돼요.","settings.simple.notificationSounds": "봇이 작업을 마치거나 내가 필요할 때 소리를 내요.","settings.simple.notificationFeed": "오른쪽의 종 모양 아이콘에 최근 알림 500개를 보관해요.",+ "settings.simple.reportNotifications": "루틴이 예약된 실행을 마쳤을 때.","settings.simple.openAtLogin": "로그인하면 시작되어 봇이 준비돼요.","settings.simple.defaultBot": "나의 도우미예요. 숨겨도 계속 일하고 검색으로 찾을 수 있어요.","settings.simple.analytics": "익명 사용 이벤트예요. 메시지, 파일, 키는 절대 보내지 않아요. 이메일은 설정할 때나 클라우드 요금제 화면에서 공유한 경우에만 보내요.",diff --git a/src/locales/pl.json b/src/locales/pl.jsonindex 9773f285bf..2505406d75 100644--- a/src/locales/pl.json+++ b/src/locales/pl.json@@ -1441,6 +1441,9 @@"settings.notificationFeed.title": "Kanał powiadomień","settings.notificationFeed.subtitle": "Pokazuj dzwonek na prawej krawędzi okna, który przechowuje ostatnie 500 powiadomień od każdego bota, przeczytanych lub nie.","settings.notificationFeed.show": "Pokaż kanał powiadomień",+ "settings.reportNotifications.title": "Powiadomienia o zaplanowanych raportach",+ "settings.reportNotifications.subtitle": "Pokazuj tu powiadomienie, gdy rutyna zakończy zaplanowane uruchomienie. Zostaw to włączone i wyłącz przełącznik powyżej, aby widzieć tylko raporty.",+ "settings.reportNotifications.show": "Powiadamiaj o zaplanowanych raportach","notifications.title": "Powiadomienia","notifications.railUnread": "Powiadomienia, nieprzeczytane: {count}","notifications.unread": "Nieprzeczytane: {count}",@@ -7148,6 +7151,7 @@"settings.simple.followUp": "{key} robi to drugie dla pojedynczej wiadomości.","settings.simple.language.system": "Jak w systemie","settings.simple.notificationFeed": "Dzwonek po prawej, który trzyma Twoje ostatnie 500 powiadomień.",+ "settings.simple.reportNotifications": "Gdy rutyna zakończy zaplanowane uruchomienie.","settings.simple.notificationSounds": "Odtwarza dźwięk, gdy bot skończy lub cię potrzebuje.","settings.simple.openAtLogin": "Startuje po zalogowaniu, aby boty były gotowe.","settings.simple.sendKey": "Wybierz Shift+Enter lub {key}, jeśli Enter zatwierdza wpisany tekst, jak przy japońskim wprowadzaniu.",diff --git a/src/locales/pt-br.json b/src/locales/pt-br.jsonindex cdadd9256a..d9b1363ec9 100644--- a/src/locales/pt-br.json+++ b/src/locales/pt-br.json@@ -1795,6 +1795,9 @@"settings.notificationFeed.title": "Feed de notificações","settings.notificationFeed.subtitle": "Mostra um sino na borda direita da janela com as últimas 500 notificações de todos os bots, lidas ou não.","settings.notificationFeed.show": "Mostrar o feed de notificações",+ "settings.reportNotifications.title": "Notificações de relatórios agendados",+ "settings.reportNotifications.subtitle": "Mostrar uma notificação aqui quando uma rotina termina uma execução agendada. Deixe isto ligado e desligue a opção acima para ver só os relatórios.",+ "settings.reportNotifications.show": "Notificar sobre relatórios agendados","notifications.title": "Notificações","notifications.railUnread": "Notificações, não lidas: {count}","notifications.unread": "Não lidas: {count}",@@ -6774,6 +6777,7 @@"settings.simple.deviceNotifications": "Só enquanto o app estiver aberto. Perguntas, aprovações e alertas sempre aparecem.","settings.simple.notificationSounds": "Toca um som quando um bot termina ou precisa de você.","settings.simple.notificationFeed": "Um sino à direita que guarda as últimas 500 notificações.",+ "settings.simple.reportNotifications": "Quando uma rotina termina uma execução agendada.","settings.simple.openAtLogin": "Inicia quando você entra, para deixar os bots prontos.","settings.simple.defaultBot": "Seu ajudante. Mesmo oculto, continua trabalhando e aparece na busca.","settings.simple.analytics": "Eventos anônimos de uso. Nunca suas mensagens, arquivos ou chaves. Seu e-mail, só se você o compartilhou na configuração ou em uma tela de plano do Cloud.",diff --git a/src/locales/ru.json b/src/locales/ru.jsonindex 244330dae4..56a04f75a4 100644--- a/src/locales/ru.json+++ b/src/locales/ru.json@@ -1446,6 +1446,9 @@"settings.notificationFeed.title": "Лента уведомлений","settings.notificationFeed.subtitle": "Показывать колокольчик у правого края окна, в котором хранятся последние 500 уведомлений от всех ботов, как прочитанные, так и непрочитанные.","settings.notificationFeed.show": "Показывать ленту уведомлений",+ "settings.reportNotifications.title": "Уведомления о плановых отчётах",+ "settings.reportNotifications.subtitle": "Показывать здесь уведомление, когда процедура завершает плановый запуск. Оставьте это включённым и выключите переключатель выше, чтобы видеть только отчёты.",+ "settings.reportNotifications.show": "Уведомлять о плановых отчётах","notifications.title": "Уведомления","notifications.railUnread": "Уведомления, {count} непрочитанных","notifications.unread": "{count} непрочитанных",@@ -7202,6 +7205,7 @@"settings.simple.followUp": "{key} делает другое для одного сообщения.","settings.simple.language.system": "Как в системе","settings.simple.notificationFeed": "Колокольчик справа, который хранит ваши последние 500 уведомлений.",+ "settings.simple.reportNotifications": "Когда процедура завершает плановый запуск.","settings.simple.notificationSounds": "Звучит, когда бот закончил или нуждается в вас.","settings.simple.openAtLogin": "Запускается при входе, чтобы ваши боты были готовы.","settings.simple.sendKey": "Выберите Shift+Enter или {key}, если Enter подтверждает набранный текст, как при японском вводе.",diff --git a/src/locales/tr.json b/src/locales/tr.jsonindex 763800365a..2b086ff632 100644--- a/src/locales/tr.json+++ b/src/locales/tr.json@@ -999,6 +999,9 @@"settings.notificationFeed.title": "Bildirim akışı","settings.notificationFeed.subtitle": "Pencerenin sağ kenarında, okunmuş olsun olmasın her bottan gelen son 500 bildirimi tutan bir zil göster.","settings.notificationFeed.show": "Bildirim akışını göster",+ "settings.reportNotifications.title": "Zamanlanmış rapor bildirimleri",+ "settings.reportNotifications.subtitle": "Bir rutin zamanlanmış çalışmasını bitirdiğinde burada bildirim göster. Yalnızca raporlar için bunu açık bırak ve üstteki anahtarı kapat.",+ "settings.reportNotifications.show": "Zamanlanmış raporları bildir","notifications.title": "Bildirimler","notifications.railUnread": "Bildirimler, {count} okunmamış","notifications.unread": "{count} okunmamış",@@ -5943,6 +5946,7 @@"settings.simple.followUp": "{key} tek bir mesaj için diğerini yapar.","settings.simple.language.system": "Sistemi izle","settings.simple.notificationFeed": "Sağda son 500 bildirimini tutan bir zil.",+ "settings.simple.reportNotifications": "Bir rutin zamanlanmış çalışmasını bitirdiğinde.","settings.simple.notificationSounds": "Bir bot bitirdiğinde veya sana ihtiyaç duyduğunda ses çalar.","settings.simple.openAtLogin": "Oturum açtığında başlar, böylece botların hazır olur.","settings.simple.sendKey": "Enter yazılan metni onaylıyorsa, Japonca girişte olduğu gibi, Shift+Enter veya {key} seç.",diff --git a/src/locales/uk.json b/src/locales/uk.jsonindex fced011fb9..9e546ecc7b 100644--- a/src/locales/uk.json+++ b/src/locales/uk.json@@ -4056,6 +4056,9 @@"settings.newBotEffort.error": "Не вдалося зберегти зусилля для нових ботів.","settings.newBotEffort.title": "Зусилля для нових ботів","settings.notificationFeed.show": "Показувати стрічку сповіщень",+ "settings.reportNotifications.title": "Сповіщення про планові звіти",+ "settings.reportNotifications.subtitle": "Показувати тут сповіщення, коли рутина завершує плановий запуск. Залиште це ввімкненим і вимкніть перемикач вище, щоб бачити лише звіти.",+ "settings.reportNotifications.show": "Сповіщати про планові звіти","settings.notificationFeed.title": "Стрічка сповіщень","settings.notificationSounds.play": "Звуки сповіщень","settings.notificationSounds.title": "Звуки сповіщень",@@ -4121,6 +4124,7 @@"settings.simple.followUp": "{key} робить інше для одного повідомлення.","settings.simple.language.system": "Як у системі","settings.simple.notificationFeed": "Дзвіночок праворуч, що зберігає ваші останні 500 сповіщень.",+ "settings.simple.reportNotifications": "Коли рутина завершує плановий запуск.","settings.simple.notificationSounds": "Відтворює звук, коли бот закінчив або потребує вас.","settings.simple.openAtLogin": "Запускається під час входу, щоб ваші боти були готові.","settings.simple.sendKey": "Виберіть Shift+Enter або {key}, якщо Enter підтверджує введений текст, як у японському введенні.",diff --git a/src/locales/vi.json b/src/locales/vi.jsonindex 0d7604cf0f..d4bb3d548b 100644--- a/src/locales/vi.json+++ b/src/locales/vi.json@@ -999,6 +999,9 @@"settings.notificationFeed.title": "Bảng tin thông báo","settings.notificationFeed.subtitle": "Hiển thị biểu tượng chuông ở cạnh phải cửa sổ, lưu giữ 500 thông báo gần nhất từ mọi bot, dù đã đọc hay chưa.","settings.notificationFeed.show": "Hiển thị bảng tin thông báo",+ "settings.reportNotifications.title": "Thông báo báo cáo theo lịch",+ "settings.reportNotifications.subtitle": "Hiện thông báo ở đây khi một tác vụ định kỳ chạy xong theo lịch. Bật mục này và tắt công tắc phía trên để chỉ nhận báo cáo.",+ "settings.reportNotifications.show": "Thông báo cho tôi về báo cáo theo lịch","notifications.title": "Thông báo","notifications.railUnread": "Thông báo, {count} chưa đọc","notifications.unread": "{count} chưa đọc",@@ -5943,6 +5946,7 @@"settings.simple.followUp": "{key} làm cách còn lại cho một tin nhắn.","settings.simple.language.system": "Theo hệ thống","settings.simple.notificationFeed": "Một chiếc chuông bên phải giữ 500 thông báo gần nhất của bạn.",+ "settings.simple.reportNotifications": "Khi một tác vụ định kỳ chạy xong theo lịch.","settings.simple.notificationSounds": "Phát âm thanh khi bot xong việc hoặc cần bạn.","settings.simple.openAtLogin": "Khởi động khi bạn đăng nhập, để bot của bạn sẵn sàng.","settings.simple.sendKey": "Chọn Shift+Enter hoặc {key} nếu Enter xác nhận văn bản đã gõ, như khi nhập tiếng Nhật.",diff --git a/src/locales/zh-tw.json b/src/locales/zh-tw.jsonindex 10949f96ca..be84cfc638 100644--- a/src/locales/zh-tw.json+++ b/src/locales/zh-tw.json@@ -1720,6 +1720,9 @@"settings.notificationFeed.title": "通知動態","settings.notificationFeed.subtitle": "在視窗右側顯示一個鈴鐺,保留所有機器人最近 500 則通知,不論是否已讀。","settings.notificationFeed.show": "顯示通知動態",+ "settings.reportNotifications.title": "排程報告通知",+ "settings.reportNotifications.subtitle": "例行工作完成一次排程執行時,在這裡顯示通知。保持此項開啟並關閉上面的開關,即可只收到報告。",+ "settings.reportNotifications.show": "排程報告時通知我","notifications.title": "通知","notifications.railUnread": "通知,{count} 則未讀","notifications.unread": "{count} 則未讀",@@ -6400,6 +6403,7 @@"settings.simple.deviceNotifications": "僅在應用程式開啟時。問題、核准和警告一律會顯示。","settings.simple.notificationSounds": "機器人完成或需要你時播放音效。","settings.simple.notificationFeed": "右側的鈴鐺會保留你最近 500 則通知。",+ "settings.simple.reportNotifications": "例行工作完成排程執行時。","settings.simple.openAtLogin": "你登入時就啟動,讓機器人隨時準備就緒。","settings.simple.defaultBot": "你的助手。隱藏後仍會繼續工作,搜尋也找得到它。","settings.simple.analytics": "匿名使用事件。絕不包含你的訊息、檔案或金鑰。只有在你於設定時或在 Cloud 方案畫面中分享過電子郵件時,才會附上。",diff --git a/src/locales/zh.json b/src/locales/zh.jsonindex bc1a65af0a..988e5cfa10 100644--- a/src/locales/zh.json+++ b/src/locales/zh.json@@ -1833,6 +1833,9 @@"settings.notificationFeed.title": "通知列表","settings.notificationFeed.subtitle": "在窗口右边缘显示一个铃铛,保留所有机器人的最近 500 条通知,无论是否已读。","settings.notificationFeed.show": "显示通知列表",+ "settings.reportNotifications.title": "定时报告通知",+ "settings.reportNotifications.subtitle": "例行任务完成一次定时运行时,在这里显示通知。保持此项开启并关闭上面的开关,即可只收到报告。",+ "settings.reportNotifications.show": "定时报告时通知我","notifications.title": "通知","notifications.railUnread": "通知,{count} 条未读","notifications.unread": "{count} 条未读",@@ -6373,6 +6376,7 @@"settings.simple.deviceNotifications": "仅在应用打开时有效。提问、批准和警告始终会显示。","settings.simple.notificationSounds": "机器人完成工作或需要你时播放提示音。","settings.simple.notificationFeed": "在右侧显示一个铃铛,保留最近 500 条通知。",+ "settings.simple.reportNotifications": "例行任务完成定时运行时。","settings.simple.openAtLogin": "登录时自动启动,让你的机器人随时就绪。","settings.simple.defaultBot": "你的助手。隐藏后它仍会继续工作,搜索也仍然能找到它。","settings.simple.analytics": "匿名的使用事件,绝不包含你的消息、文件或密钥。只有你在初次设置或 Cloud 方案页面提供了邮箱时才会附带邮箱。",