Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
Settings: a card for teammates on other servers
Bugfixer 22b5c05a92ca0
diff --git a/shared/settings-places.ts b/shared/settings-places.tsindex 4029412426..93fc3d1385 100644--- a/shared/settings-places.ts+++ b/shared/settings-places.ts@@ -52,6 +52,7 @@ export const SETTINGS_PLACES = [{"id":"about-you","path":"Settings → You and your bots → About you","words":["name","my name","photo","avatar","picture","profile","profile picture","about me","rules","rules for every bot"],"advanced":true},{"id":"away-emails","path":"Settings → You and your bots → About you → Email me when I'm away","words":["away","emails","email me"],"advanced":true},{"id":"new-bots","path":"Settings → You and your bots → New bots","words":["defaults","effort","reasoning","preset","share as preset"],"advanced":true},+ {"id":"remote-teammates","path":"Settings → You and your bots → Teammates on other servers","words":["other servers","remote","another server","bot api key","teammates"],"advanced":true},{"id":"limits","path":"Settings → You and your bots → Limits","words":["group turns","timeout","tool time limit","parallel threads","concurrency","keep warm"],"advanced":true},{"id":"parallel","path":"Settings → You and your bots → Limits → Parallel threads","words":["parallel","threads","concurrency"],"advanced":true},{"id":"group-turns","path":"Settings → You and your bots → Limits → Group turns","words":["group","turns"],"advanced":true},diff --git a/src/components/RemoteTeammatesSettings.dom.test.ts b/src/components/RemoteTeammatesSettings.dom.test.tsnew file mode 100644index 0000000000..7d71fc1cd0--- /dev/null+++ b/src/components/RemoteTeammatesSettings.dom.test.ts@@ -0,0 +1,116 @@+// @vitest-environment happy-dom+import { act, createElement } from "react";+import { createRoot, type Root } from "react-dom/client";+import { afterEach, beforeEach, expect, it, vi } from "vitest";++type Teammate = { id: string; name: string; base: string; botId: string; createdAt: string };+const fixture = vi.hoisted(() => ({+ teammates: [] as Teammate[],+ calls: [] as Array<{ path: string; method: string; body?: Record<string, string> }>,+ check: { ok: true } as Record<string, unknown>,+ addError: null as string | null,+}));+vi.mock("@/state/store", () => ({+ api: async (path: string, init: { method?: string; body?: string } = {}) => {+ const method = init.method ?? "GET";+ fixture.calls.push({ path, method, ...(init.body ? { body: JSON.parse(init.body) } : {}) });+ if (path === "/api/remote-teammates" && method === "GET") return { teammates: fixture.teammates };+ if (path === "/api/remote-teammates" && method === "POST") {+ if (fixture.addError) throw new Error(fixture.addError);+ const body = JSON.parse(init.body!);+ return { teammate: { id: "22222222-2222-4222-8222-222222222222", name: body.name, base: body.address, botId: body.botId, createdAt: "2026-11-23T00:00:00.000Z" } };+ }+ if (path.endsWith("/check")) return fixture.check;+ if (method === "DELETE") return { removed: true };+ throw new Error(`unexpected ${method} ${path}`);+ },+}));+import { RemoteTeammatesSettings } from "./RemoteTeammatesSettings";++const SAVED: Teammate = { id: "11111111-1111-4111-8111-111111111111", name: "Sales desk", base: "https://bots.example.com", botId: "sales-bot", createdAt: "2026-11-22T00:00:00.000Z" };+let container: HTMLDivElement, root: Root;+beforeEach(() => {+ vi.stubGlobal("IS_REACT_ACT_ENVIRONMENT", true);+ Object.assign(fixture, { teammates: [], calls: [], check: { ok: true }, addError: null });+ container = document.createElement("div"); document.body.append(container); root = createRoot(container);+});+afterEach(async () => { await act(async () => root.unmount()); container.remove(); vi.unstubAllGlobals(); });++const render = () => act(async () => root.render(createElement(RemoteTeammatesSettings)));+const button = (label: string) => [...document.body.querySelectorAll("button")].find((one) => one.textContent === label);+async function click(label: string) {+ const found = button(label);+ expect(found, label).toBeTruthy();+ await act(async () => found!.click());+}+async function input(label: string, value: string) {+ const field = container.querySelector<HTMLInputElement>(`input[aria-label="${label}"]`)!;+ expect(field, label).toBeTruthy();+ await act(async () => {+ Object.getOwnPropertyDescriptor(HTMLInputElement.prototype, "value")!.set!.call(field, value);+ field.dispatchEvent(new Event("input", { bubbles: true }));+ });+}++it("adds a teammate on another server and lists it without its key", async () => {+ await render();+ expect(container.textContent).toContain("Teammates on other servers");+ expect(container.textContent).toContain("No teammates on other servers yet.");+ await click("Add");+ expect(button("Add teammate")!.disabled).toBe(true);+ await input("Name", "Sales desk");+ await input("Address", "https://bots.example.com");+ await input("Bot id (if the address has none)", "sales-bot");+ await input("Bot API key", "bak_fixture_key_0123456789");+ await click("Add teammate");+ expect(fixture.calls.at(-1)).toEqual({ path: "/api/remote-teammates", method: "POST",+ body: { name: "Sales desk", address: "https://bots.example.com", botId: "sales-bot", key: "bak_fixture_key_0123456789" } });+ expect(container.textContent).toContain("Sales desk was added.");+ expect(container.textContent).toContain("sales-bot · https://bots.example.com");+ expect(container.textContent).not.toContain("No teammates on other servers yet.");+ expect(container.innerHTML).not.toContain("bak_fixture_key");+});++it("shows the server's reason when it refuses a new teammate, and keeps the form", async () => {+ fixture.addError = "that bot is already a teammate";+ await render();+ await click("Add");+ await input("Name", "Sales desk");+ await input("Address", "https://bots.example.com");+ await input("Bot API key", "bak_fixture_key_0123456789");+ await click("Add teammate");+ expect(container.querySelector('[role="alert"]')!.textContent).toBe("that bot is already a teammate");+ expect(container.querySelector('input[aria-label="Name"]')).toBeTruthy();+});++it("tests a saved teammate and says in words whether its key still works", async () => {+ fixture.teammates = [SAVED];+ await render();+ await click("Test");+ expect(fixture.calls.at(-1)).toEqual({ path: `/api/remote-teammates/${SAVED.id}/check`, method: "POST" });+ expect(container.querySelector('[role="status"]')!.textContent).toBe("Connected: the other server takes this key.");+ fixture.check = { ok: false, problem: "wrong_key", status: 401 };+ await click("Test");+ expect(container.querySelector('[role="alert"]')!.textContent).toBe("That server doesn't take this key. Remove this teammate and add it again with a new key.");+ fixture.check = { ok: false, problem: "constructor" };+ await click("Test");+ expect(container.querySelector('[role="alert"]')!.textContent).toBe("That address didn't answer like a Bot API.");+});++it("removes a teammate only after asking, and drops the note that it was added", async () => {+ await render();+ await click("Add");+ await input("Name", "Sales desk");+ await input("Address", "https://bots.example.com");+ await input("Bot API key", "bak_fixture_key_0123456789");+ await click("Add teammate");+ expect(container.textContent).toContain("Sales desk was added.");+ await act(async () => container.querySelector<HTMLButtonElement>('button[aria-label="Remove Sales desk"]')!.click());+ expect(fixture.calls.some((call) => call.method === "DELETE")).toBe(false);+ expect(document.body.textContent).toContain("Remove Sales desk?");+ const confirm = [...document.body.querySelectorAll("button")].filter((one) => one.textContent === "Remove").at(-1)!;+ await act(async () => confirm.click());+ expect(fixture.calls.at(-1)).toEqual({ path: "/api/remote-teammates/22222222-2222-4222-8222-222222222222", method: "DELETE" });+ expect(container.textContent).not.toContain("Sales desk");+ expect(container.textContent).toContain("No teammates on other servers yet.");+});diff --git a/src/components/RemoteTeammatesSettings.tsx b/src/components/RemoteTeammatesSettings.tsxnew file mode 100644index 0000000000..4cd4b26c5e--- /dev/null+++ b/src/components/RemoteTeammatesSettings.tsx@@ -0,0 +1,193 @@+import { useEffect, useState } from "react";+import { api } from "@/state/store";+import { t } from "@/lib/i18n";+import type { LocaleKey } from "@/locales";+import { ConfirmDialog } from "./ConfirmDialog";+import { SETTINGS_INPUT, SettingRow, SettingsEmptyRow, SettingsField, SettingsGroup, SettingsRows } from "./SettingsPrimitives";+import { SettingsSkeletonRows } from "./settings/SettingsStates";++/** A teammate on another server as the server lists it (server/remote-teammates.ts): never its key. */+interface RemoteTeammate {+ id: string;+ name: string;+ base: string;+ botId: string;+}++type RemoteCheck = { ok: true } | { ok: false; problem: string };++const PROBLEM_TEXT: Record<string, LocaleKey> = {+ unreachable: "settings.remoteTeammates.unreachable",+ wrong_key: "settings.remoteTeammates.wrongKey",+ refused: "settings.remoteTeammates.refused",+ busy: "settings.remoteTeammates.busy",+ rate_limited: "settings.remoteTeammates.busy",+};++/** What Test shows: Connected, or why the other server gave no answer to use. */+function remoteCheckText(result: RemoteCheck): string {+ return result.ok ? t("settings.remoteTeammates.connected") : t(Object.hasOwn(PROBLEM_TEXT, result.problem) ? PROBLEM_TEXT[result.problem] : "settings.remoteTeammates.badAnswer");+}++const failure = (cause: unknown) => (cause instanceof Error && cause.message ? cause.message : t("settings.remoteTeammates.failed"));++interface Draft { name: string; address: string; botId: string; key: string }++function AddTeammateForm({ onAdded }: { onAdded: (teammate: RemoteTeammate) => void }) {+ const [draft, setDraft] = useState<Draft>({ name: "", address: "", botId: "", key: "" });+ const [saving, setSaving] = useState(false);+ const [error, setError] = useState<string | null>(null);+ const field = (key: keyof Draft) => ({+ value: draft[key],+ disabled: saving,+ spellCheck: false,+ autoCapitalize: "none",+ autoCorrect: "off",+ className: SETTINGS_INPUT,+ onChange: (event: { target: { value: string } }) => { setDraft((current) => ({ ...current, [key]: event.target.value })); setError(null); },+ });+ const ready = Boolean(draft.name.trim() && draft.address.trim() && draft.key.trim());++ const save = async () => {+ if (saving || !ready) return;+ setSaving(true);+ setError(null);+ try {+ const { teammate } = await api<{ teammate: RemoteTeammate }>("/api/remote-teammates", {+ method: "POST",+ body: JSON.stringify({+ name: draft.name.trim(),+ address: draft.address.trim(),+ ...(draft.botId.trim() ? { botId: draft.botId.trim() } : {}),+ key: draft.key.trim(),+ }),+ });+ onAdded(teammate);+ } catch (cause) {+ setError(failure(cause));+ } finally {+ setSaving(false);+ }+ };++ return (+ <form onSubmit={(event) => { event.preventDefault(); void save(); }} className="flex flex-col gap-2 px-4 pb-4 pt-3">+ <SettingsField label={t("settings.remoteTeammates.name")}>+ <input {...field("name")} maxLength={80} autoFocus aria-label={t("settings.remoteTeammates.name")} />+ </SettingsField>+ <SettingsField label={t("settings.remoteTeammates.address")} hint={t("settings.remoteTeammates.addressHint")}>+ <input {...field("address")} maxLength={500} placeholder="https://bots.example.com" aria-label={t("settings.remoteTeammates.address")} />+ </SettingsField>+ <SettingsField label={t("settings.remoteTeammates.botId")}>+ <input {...field("botId")} maxLength={128} aria-label={t("settings.remoteTeammates.botId")} />+ </SettingsField>+ <SettingsField label={t("settings.remoteTeammates.key")}+ hint={error ? <span role="alert" className="text-danger">{error}</span> : t("settings.remoteTeammates.keyHint")}>+ <input {...field("key")} type="password" autoComplete="new-password" maxLength={200} placeholder="bak_…" aria-label={t("settings.remoteTeammates.key")} />+ </SettingsField>+ <div className="flex items-center justify-end gap-2" data-settings-form-foot="">+ <button type="submit" disabled={saving || !ready} className="ui-button ui-button-md ui-button-primary rounded-full">+ {t(saving ? "settings.remoteTeammates.adding" : "settings.remoteTeammates.save")}+ </button>+ </div>+ </form>+ );+}++function TeammateRow({ teammate, onRemoved }: { teammate: RemoteTeammate; onRemoved: (id: string) => void }) {+ const [busy, setBusy] = useState<"testing" | "removing" | null>(null);+ const [said, setSaid] = useState<{ text: string; ok: boolean } | null>(null);+ const [confirming, setConfirming] = useState(false);+ const path = `/api/remote-teammates/${encodeURIComponent(teammate.id)}`;++ const test = async () => {+ setBusy("testing");+ setSaid(null);+ try {+ const result = await api<RemoteCheck>(`${path}/check`, { method: "POST" });+ setSaid({ text: remoteCheckText(result), ok: result.ok });+ } catch (cause) {+ setSaid({ text: failure(cause), ok: false });+ } finally {+ setBusy(null);+ }+ };++ const remove = async () => {+ setBusy("removing");+ setSaid(null);+ try {+ await api(path, { method: "DELETE" });+ onRemoved(teammate.id);+ } catch (cause) {+ setConfirming(false);+ setSaid({ text: failure(cause), ok: false });+ setBusy(null);+ }+ };++ return (+ <>+ <SettingRow title={teammate.name}+ subtitle={<span className="break-all">{teammate.botId} · {teammate.base}</span>}+ message={said ? <span role={said.ok ? "status" : "alert"} className={said.ok ? "text-success" : "text-danger"}>{said.text}</span> : undefined}>+ <div className="flex items-center gap-2">+ <button type="button" className="ui-button" disabled={busy !== null} onClick={() => void test()}>+ {t(busy === "testing" ? "settings.remoteTeammates.testing" : "settings.remoteTeammates.test")}+ </button>+ <button type="button" className="settings-quiet cursor-pointer" data-danger="" disabled={busy !== null}+ aria-label={t("settings.remoteTeammates.removeNamed", { name: teammate.name })} onClick={() => setConfirming(true)}>+ {t("settings.remoteTeammates.remove")}+ </button>+ </div>+ </SettingRow>+ <ConfirmDialog open={confirming} title={t("settings.remoteTeammates.removeTitle", { name: teammate.name })}+ body={t("settings.remoteTeammates.removeBody")} confirmLabel={t("settings.remoteTeammates.remove")} pending={busy === "removing"}+ onCancel={() => setConfirming(false)} onConfirm={() => void remove()} />+ </>+ );+}++/** Settings → You and your bots: bots on another server this server's bots may hand work to, each with its Bot API key.+ * Admin only, as the routes are. */+export function RemoteTeammatesSettings() {+ const [teammates, setTeammates] = useState<RemoteTeammate[] | null>(null);+ const [error, setError] = useState<string | null>(null);+ const [open, setOpen] = useState(false);+ const [notice, setNotice] = useState<string | null>(null);++ useEffect(() => {+ const controller = new AbortController();+ void api<{ teammates: RemoteTeammate[] }>("/api/remote-teammates", { signal: controller.signal })+ .then((loaded) => { if (!controller.signal.aborted) setTeammates(loaded.teammates); })+ .catch((cause: unknown) => { if (!controller.signal.aborted) setError(failure(cause)); });+ return () => controller.abort();+ }, []);++ return (+ <SettingsGroup label={t("settings.remoteTeammates.title")} block="remote-teammates">+ <SettingsRows>+ {!teammates && !error && <SettingsSkeletonRows />}+ {error && <SettingsEmptyRow><span role="alert" className="text-danger">{error}</span></SettingsEmptyRow>}+ {teammates?.length === 0 && <SettingsEmptyRow>{t("settings.remoteTeammates.empty")}</SettingsEmptyRow>}+ {teammates?.map((teammate) => (+ <TeammateRow key={teammate.id} teammate={teammate}+ onRemoved={(id) => { setTeammates((current) => current?.filter((one) => one.id !== id) ?? null); setNotice(null); }} />+ ))}+ {teammates && <>+ <SettingRow title={t("settings.remoteTeammates.add")} subtitle={t("settings.remoteTeammates.line")}+ message={!open && notice ? <span role="status">{notice}</span> : undefined}>+ <button type="button" className="ui-button" aria-expanded={open} onClick={() => { setOpen(!open); setNotice(null); }}>+ {t(open ? "common.close" : "settings.remoteTeammates.addButton")}+ </button>+ </SettingRow>+ {open && <AddTeammateForm onAdded={(teammate) => {+ setTeammates((current) => [...(current ?? []), teammate]);+ setOpen(false);+ setNotice(t("settings.remoteTeammates.added", { name: teammate.name }));+ }} />}+ </>}+ </SettingsRows>+ </SettingsGroup>+ );+}diff --git a/src/components/settings/pages/PlacePages.tsx b/src/components/settings/pages/PlacePages.tsxindex 924fea4742..da5d36b745 100644--- a/src/components/settings/pages/PlacePages.tsx+++ b/src/components/settings/pages/PlacePages.tsx@@ -25,6 +25,7 @@ import { McpCallTimeoutSettings } from "../../McpCallTimeoutSettings";import { DefaultBotSettings } from "../../NewBotDialog";import { PlaceLookRows } from "../../PlaceLookCard";import { ProfileFields } from "../../ProfileSettings";+import { RemoteTeammatesSettings } from "../../RemoteTeammatesSettings";import { RoomTurnTimeoutSettings } from "../../RoomTurnTimeoutSettings";import { SavedStepsRow } from "../../SavedStepsRow";import { Card, SettingRow, SettingsDisclosureRow, SettingsFoldRow, SettingsGroup, SettingsLinkRow, SettingsRows } from "../../SettingsPrimitives";@@ -164,6 +165,7 @@ export function BotsPage() {<SettingsGroup label={t("settings.bots.newBots")} block="new-bots"><SettingsRows><NewBotEffortRow /><DefaultBotSettings simple /></SettingsRows></SettingsGroup>+ {!(ctx.team && !ctx.admin) && <AdvancedSection anchor="remote-teammates"><AdminOnly><RemoteTeammatesSettings /></AdminOnly></AdvancedSection>}{!(ctx.team && !ctx.admin) && <AdvancedSection anchor="limits" also={["parallel", "group-turns", "tool-time", "keep-warm"]}><SettingsGroup label={t("settings.simple.more.limits")} block="limits"><SettingsRows selectWidth={160}><div data-settings-block="group-turns" className="contents"><RoomTurnTimeoutSettings /></div>diff --git a/src/components/settings/settings-index.ts b/src/components/settings/settings-index.tsindex be5d2ff1f2..a7841ada50 100644--- a/src/components/settings/settings-index.ts+++ b/src/components/settings/settings-index.ts@@ -200,6 +200,7 @@ export const SETTINGS_INDEX: readonly SettingsIndexEntry[] = [{ id: "about-you", page: "bots", anchor: "about-you", labelKey: "settings.bots.aboutYou", topFor: ["name", "my name", "photo", "avatar", "picture", "profile", "profile picture", "about me"], synonyms: ["rules", "rules for every bot"] },{ id: "away-emails", page: "bots", anchor: "about-you", labelKey: "settings.profile.awayEmails", sectionKey: "settings.bots.aboutYou", synonyms: ["away", "emails", "email me"] },{ id: "new-bots", page: "bots", anchor: "new-bots", labelKey: "settings.bots.newBots", synonyms: ["defaults", "effort", "reasoning", "preset", "share as preset"] },+ { id: "remote-teammates", page: "bots", anchor: "remote-teammates", labelKey: "settings.remoteTeammates.title", advanced: true, when: adminPage, synonyms: ["other servers", "remote", "another server", "bot api key", "teammates"] },{ id: "limits", page: "bots", anchor: "limits", labelKey: "settings.simple.more.limits", advanced: true, synonyms: ["group turns", "timeout", "tool time limit", "parallel threads", "concurrency", "keep warm"] },{ id: "parallel", page: "bots", anchor: "parallel", labelKey: "settings.threads.title", sectionKey: "settings.simple.more.limits", advanced: true, synonyms: ["parallel", "threads", "concurrency"] },{ id: "group-turns", page: "bots", anchor: "group-turns", labelKey: "settings.roomTurns.title", sectionKey: "settings.simple.more.limits", advanced: true, synonyms: ["group", "turns"] },diff --git a/src/locales/de.json b/src/locales/de.jsonindex 0f46260a0c..239f2d1660 100644--- a/src/locales/de.json+++ b/src/locales/de.json@@ -3610,6 +3610,33 @@"settings.bots.aboutYouLine": "Wie Bots auf {place} dich nennen und was sie über dich wissen.","settings.bots.awakeLine": "Dein Tarif hält nur wenige Bots gleichzeitig wach. Wähle, welche.","settings.bots.awakeTitle": "Einige Bots sind pausiert",+ "settings.remoteTeammates.title": "Teammitglieder auf anderen Servern",+ "settings.remoteTeammates.line": "Ein Bot auf einem anderen Server, dem deine Bots Arbeit übergeben dürfen, mit einem Schlüssel aus seiner Bot-API-Karte.",+ "settings.remoteTeammates.add": "Teammitglied hinzufügen",+ "settings.remoteTeammates.addButton": "Hinzufügen",+ "settings.remoteTeammates.empty": "Noch keine Teammitglieder auf anderen Servern.",+ "settings.remoteTeammates.name": "Name",+ "settings.remoteTeammates.address": "Adresse",+ "settings.remoteTeammates.addressHint": "Die Bot-API-Adresse des Bots oder die Adresse seines Servers mit der Bot-ID unten.",+ "settings.remoteTeammates.botId": "Bot-ID (falls die Adresse keine enthält)",+ "settings.remoteTeammates.key": "Bot-API-Schlüssel",+ "settings.remoteTeammates.keyHint": "Der Schlüssel, den die Bot-API-Karte des anderen Servers gezeigt hat. Er beginnt mit bak_.",+ "settings.remoteTeammates.save": "Teammitglied hinzufügen",+ "settings.remoteTeammates.adding": "Wird hinzugefügt…",+ "settings.remoteTeammates.added": "{name} wurde hinzugefügt.",+ "settings.remoteTeammates.test": "Testen",+ "settings.remoteTeammates.testing": "Wird getestet…",+ "settings.remoteTeammates.connected": "Verbunden: Der andere Server nimmt diesen Schlüssel an.",+ "settings.remoteTeammates.unreachable": "Dieser Server ist nicht erreichbar.",+ "settings.remoteTeammates.wrongKey": "Dieser Server nimmt diesen Schlüssel nicht an. Entferne dieses Teammitglied und füge es mit einem neuen Schlüssel wieder hinzu.",+ "settings.remoteTeammates.refused": "Dieser Server hat den Aufruf abgelehnt.",+ "settings.remoteTeammates.busy": "Dieser Server ist ausgelastet. Versuche es später noch einmal.",+ "settings.remoteTeammates.badAnswer": "Diese Adresse hat nicht wie eine Bot-API geantwortet.",+ "settings.remoteTeammates.remove": "Entfernen",+ "settings.remoteTeammates.removeNamed": "{name} entfernen",+ "settings.remoteTeammates.removeTitle": "{name} entfernen?",+ "settings.remoteTeammates.removeBody": "Deine Bots können diesem Bot keine Arbeit mehr übergeben. Der gespeicherte Schlüssel wird hier gelöscht.",+ "settings.remoteTeammates.failed": "Etwas ist schiefgelaufen. Versuche es noch einmal.","settings.bots.early": "Frühe Funktionen","settings.bots.intro": "Was Bots auf {place} über dich wissen, und Einstellungen für alle.","settings.bots.newBots": "Neue Bots",diff --git a/src/locales/en.json b/src/locales/en.jsonindex 4ab6cc9053..3d1fa52049 100644--- a/src/locales/en.json+++ b/src/locales/en.json@@ -10887,6 +10887,33 @@"settings.bots.aboutYouLine": "What bots on {place} call you and know about you.","settings.bots.awakeLine": "Your plan keeps a few bots awake at once. Pick which ones.","settings.bots.awakeTitle": "Some bots are paused",+ "settings.remoteTeammates.title": "Teammates on other servers",+ "settings.remoteTeammates.line": "A bot on another server that your bots may hand work to, with a key from its Bot API card.",+ "settings.remoteTeammates.add": "Add a teammate",+ "settings.remoteTeammates.addButton": "Add",+ "settings.remoteTeammates.empty": "No teammates on other servers yet.",+ "settings.remoteTeammates.name": "Name",+ "settings.remoteTeammates.address": "Address",+ "settings.remoteTeammates.addressHint": "The bot's Bot API address, or its server's address with the bot id below.",+ "settings.remoteTeammates.botId": "Bot id (if the address has none)",+ "settings.remoteTeammates.key": "Bot API key",+ "settings.remoteTeammates.keyHint": "The key the other server's Bot API card showed. It starts with bak_.",+ "settings.remoteTeammates.save": "Add teammate",+ "settings.remoteTeammates.adding": "Adding…",+ "settings.remoteTeammates.added": "{name} was added.",+ "settings.remoteTeammates.test": "Test",+ "settings.remoteTeammates.testing": "Testing…",+ "settings.remoteTeammates.connected": "Connected: the other server takes this key.",+ "settings.remoteTeammates.unreachable": "Can't reach that server.",+ "settings.remoteTeammates.wrongKey": "That server doesn't take this key. Remove this teammate and add it again with a new key.",+ "settings.remoteTeammates.refused": "That server refused the call.",+ "settings.remoteTeammates.busy": "That server is busy. Try again later.",+ "settings.remoteTeammates.badAnswer": "That address didn't answer like a Bot API.",+ "settings.remoteTeammates.remove": "Remove",+ "settings.remoteTeammates.removeNamed": "Remove {name}",+ "settings.remoteTeammates.removeTitle": "Remove {name}?",+ "settings.remoteTeammates.removeBody": "Your bots can no longer hand work to this bot. The saved key is deleted here.",+ "settings.remoteTeammates.failed": "Something went wrong. Try again.","settings.bots.early": "Early features","settings.bots.intro": "What bots on {place} know about you, and settings for all of them.","settings.bots.newBots": "New bots",diff --git a/src/locales/es.json b/src/locales/es.jsonindex fb9913dfe3..74446e2bf9 100644--- a/src/locales/es.json+++ b/src/locales/es.json@@ -6033,6 +6033,7 @@"settings.bots.aboutYouLine": "Cómo te llaman los bots de {place} y qué saben de ti.","settings.bots.awakeLine": "Tu plan mantiene despiertos unos pocos bots a la vez. Elige cuáles.","settings.bots.awakeTitle": "Algunos bots están en pausa",+ "settings.remoteTeammates.title": "Compañeros en otros servidores","settings.bots.early": "Funciones en prueba","settings.bots.intro": "Lo que los bots de {place} saben de ti, y ajustes para todos ellos.","settings.bots.newBots": "Bots nuevos",diff --git a/src/locales/fr.json b/src/locales/fr.jsonindex 6dab18f064..c1669e10e0 100644--- a/src/locales/fr.json+++ b/src/locales/fr.json@@ -3373,6 +3373,7 @@"settings.bots.aboutYouLine": "Comment les bots de {place} vous appellent et ce qu'ils savent de vous.","settings.bots.awakeLine": "Votre forfait garde quelques bots éveillés à la fois. Choisissez lesquels.","settings.bots.awakeTitle": "Certains bots sont en pause",+ "settings.remoteTeammates.title": "Coéquipiers sur d'autres serveurs","settings.bots.early": "Fonctions en avant-première","settings.bots.intro": "Ce que les bots de {place} savent de vous, et les réglages pour tous.","settings.bots.newBots": "Nouveaux bots",diff --git a/src/locales/hi.json b/src/locales/hi.jsonindex 29c9cc340e..9ee0e7532e 100644--- a/src/locales/hi.json+++ b/src/locales/hi.json@@ -3224,6 +3224,7 @@"settings.bots.aboutYouLine": "{place} पर बॉट आपको क्या कहते हैं और आपके बारे में क्या जानते हैं।","settings.bots.awakeLine": "आपका प्लान एक साथ कुछ ही बॉट जगाए रखता है। चुनें कौन से।","settings.bots.awakeTitle": "कुछ बॉट रुके हुए हैं",+ "settings.remoteTeammates.title": "दूसरे सर्वर पर टीम के साथी","settings.bots.early": "शुरुआती सुविधाएँ","settings.bots.intro": "{place} पर बॉट आपके बारे में क्या जानते हैं, और सभी के लिए सेटिंग।","settings.bots.newBots": "नए बॉट",diff --git a/src/locales/it.json b/src/locales/it.jsonindex 64ed87bd81..62cb0152a3 100644--- a/src/locales/it.json+++ b/src/locales/it.json@@ -6595,6 +6595,7 @@"settings.bots.aboutYouLine": "Come ti chiamano i bot su {place} e cosa sanno di te.","settings.bots.awakeLine": "Il tuo piano tiene svegli pochi bot alla volta. Scegli quali.","settings.bots.awakeTitle": "Alcuni bot sono in pausa",+ "settings.remoteTeammates.title": "Compagni di squadra su altri server","settings.bots.early": "Funzioni in anteprima","settings.bots.intro": "Cosa sanno di te i bot su {place}, e le impostazioni per tutti.","settings.bots.newBots": "Nuovi bot",diff --git a/src/locales/ja.json b/src/locales/ja.jsonindex 31ff6ed551..01de63f9d8 100644--- a/src/locales/ja.json+++ b/src/locales/ja.json@@ -7632,6 +7632,7 @@"settings.bots.aboutYouLine": "{place} のボットがあなたをどう呼び、あなたについて何を知っているか。","settings.bots.awakeLine": "プランでは同時に起きていられるボットが限られます。どれにするか選んでください。","settings.bots.awakeTitle": "一部のボットが一時停止中です",+ "settings.remoteTeammates.title": "他のサーバーのチームメイト","settings.bots.early": "先行機能","settings.bots.intro": "{place} のボットがあなたについて知っていることと、すべてのボットの設定。","settings.bots.newBots": "新しいボット",diff --git a/src/locales/ko.json b/src/locales/ko.jsonindex fb1a3056fa..8ada44ca92 100644--- a/src/locales/ko.json+++ b/src/locales/ko.json@@ -7304,6 +7304,7 @@"settings.bots.aboutYouLine": "{place}의 봇이 나를 부르는 이름과 나에 대해 아는 내용.","settings.bots.awakeLine": "요금제에서는 한 번에 몇 개의 봇만 깨어 있을 수 있어요. 어떤 봇인지 고르세요.","settings.bots.awakeTitle": "일부 봇이 일시 중지됨",+ "settings.remoteTeammates.title": "다른 서버의 팀원","settings.bots.early": "미리 보기 기능","settings.bots.intro": "{place}의 봇이 나에 대해 아는 내용과 모든 봇의 설정.","settings.bots.newBots": "새 봇",diff --git a/src/locales/pl.json b/src/locales/pl.jsonindex 451b7c3723..ad1f25020f 100644--- a/src/locales/pl.json+++ b/src/locales/pl.json@@ -6725,6 +6725,7 @@"settings.bots.aboutYouLine": "Jak boty w {place} Cię nazywają i co o Tobie wiedzą.","settings.bots.awakeLine": "Twój plan utrzymuje aktywne tylko kilka botów naraz. Wybierz które.","settings.bots.awakeTitle": "Niektóre boty są wstrzymane",+ "settings.remoteTeammates.title": "Członkowie zespołu na innych serwerach","settings.bots.early": "Wczesne funkcje","settings.bots.intro": "Co boty w {place} wiedzą o Tobie, i ustawienia dla wszystkich.","settings.bots.newBots": "Nowe boty",diff --git a/src/locales/pt-br.json b/src/locales/pt-br.jsonindex 58acbdaf31..2bf70bd7b1 100644--- a/src/locales/pt-br.json+++ b/src/locales/pt-br.json@@ -10813,6 +10813,33 @@"settings.bots.aboutYouLine": "Como os bots em {place} chamam você e o que sabem sobre você.","settings.bots.awakeLine": "Seu plano mantém poucos bots acordados ao mesmo tempo. Escolha quais.","settings.bots.awakeTitle": "Alguns bots estão pausados",+ "settings.remoteTeammates.title": "Colegas em outros servidores",+ "settings.remoteTeammates.line": "Um bot em outro servidor para quem seus bots podem passar trabalho, com uma chave do cartão de API do bot dele.",+ "settings.remoteTeammates.add": "Adicionar colega",+ "settings.remoteTeammates.addButton": "Adicionar",+ "settings.remoteTeammates.empty": "Ainda não há colegas em outros servidores.",+ "settings.remoteTeammates.name": "Nome",+ "settings.remoteTeammates.address": "Endereço",+ "settings.remoteTeammates.addressHint": "O endereço da API do bot, ou o endereço do servidor dele com o ID do bot abaixo.",+ "settings.remoteTeammates.botId": "ID do bot (se o endereço não tiver)",+ "settings.remoteTeammates.key": "Chave da API do bot",+ "settings.remoteTeammates.keyHint": "A chave que o cartão de API do bot do outro servidor mostrou. Ela começa com bak_.",+ "settings.remoteTeammates.save": "Adicionar colega",+ "settings.remoteTeammates.adding": "Adicionando…",+ "settings.remoteTeammates.added": "{name} foi adicionado.",+ "settings.remoteTeammates.test": "Testar",+ "settings.remoteTeammates.testing": "Testando…",+ "settings.remoteTeammates.connected": "Conectado: o outro servidor aceita esta chave.",+ "settings.remoteTeammates.unreachable": "Não foi possível acessar esse servidor.",+ "settings.remoteTeammates.wrongKey": "Esse servidor não aceita esta chave. Remova este colega e adicione de novo com uma chave nova.",+ "settings.remoteTeammates.refused": "Esse servidor recusou a chamada.",+ "settings.remoteTeammates.busy": "Esse servidor está ocupado. Tente de novo mais tarde.",+ "settings.remoteTeammates.badAnswer": "Esse endereço não respondeu como uma API de bot.",+ "settings.remoteTeammates.remove": "Remover",+ "settings.remoteTeammates.removeNamed": "Remover {name}",+ "settings.remoteTeammates.removeTitle": "Remover {name}?",+ "settings.remoteTeammates.removeBody": "Seus bots não poderão mais passar trabalho para este bot. A chave salva é apagada aqui.",+ "settings.remoteTeammates.failed": "Algo deu errado. Tente de novo.","settings.bots.early": "Recursos em teste","settings.bots.intro": "O que os bots em {place} sabem sobre você, e configurações para todos eles.","settings.bots.newBots": "Novos bots",diff --git a/src/locales/ru.json b/src/locales/ru.jsonindex f8c982c37f..6debe00d91 100644--- a/src/locales/ru.json+++ b/src/locales/ru.json@@ -6786,6 +6786,7 @@"settings.bots.aboutYouLine": "Как боты на {place} вас называют и что о вас знают.","settings.bots.awakeLine": "Ваш тариф держит активными лишь несколько ботов одновременно. Выберите каких.","settings.bots.awakeTitle": "Некоторые боты приостановлены",+ "settings.remoteTeammates.title": "Участники команды на других серверах","settings.bots.early": "Ранние функции","settings.bots.intro": "Что боты на {place} знают о вас, и настройки для всех ботов.","settings.bots.newBots": "Новые боты",diff --git a/src/locales/tr.json b/src/locales/tr.jsonindex 10d65bd745..01f1b77f26 100644--- a/src/locales/tr.json+++ b/src/locales/tr.json@@ -5525,6 +5525,7 @@"settings.bots.aboutYouLine": "{place} üzerindeki botların size nasıl seslendiği ve sizin hakkınızda ne bildiği.","settings.bots.awakeLine": "Planınız aynı anda yalnızca birkaç botu uyanık tutar. Hangilerini seçin.","settings.bots.awakeTitle": "Bazı botlar duraklatıldı",+ "settings.remoteTeammates.title": "Diğer sunuculardaki ekip arkadaşları","settings.bots.early": "Erken özellikler","settings.bots.intro": "{place} üzerindeki botların sizin hakkınızda bildikleri ve hepsi için ayarlar.","settings.bots.newBots": "Yeni botlar",diff --git a/src/locales/uk.json b/src/locales/uk.jsonindex 6534585587..865e6cd7b7 100644--- a/src/locales/uk.json+++ b/src/locales/uk.json@@ -3660,6 +3660,7 @@"settings.bots.aboutYouLine": "Як боти на {place} вас називають і що про вас знають.","settings.bots.awakeLine": "Ваш план тримає активними лише кількох ботів одночасно. Виберіть яких.","settings.bots.awakeTitle": "Деякі боти призупинені",+ "settings.remoteTeammates.title": "Учасники команди на інших серверах","settings.bots.early": "Ранні функції","settings.bots.intro": "Що боти на {place} знають про вас, і налаштування для всіх ботів.","settings.bots.newBots": "Нові боти",diff --git a/src/locales/vi.json b/src/locales/vi.jsonindex 192388c530..a56eeed23c 100644--- a/src/locales/vi.json+++ b/src/locales/vi.json@@ -5525,6 +5525,7 @@"settings.bots.aboutYouLine": "Bot trên {place} gọi bạn là gì và biết gì về bạn.","settings.bots.awakeLine": "Gói của bạn chỉ giữ vài bot thức cùng lúc. Hãy chọn những bot nào.","settings.bots.awakeTitle": "Một số bot đang tạm dừng",+ "settings.remoteTeammates.title": "Đồng đội trên máy chủ khác","settings.bots.early": "Tính năng thử sớm","settings.bots.intro": "Những gì bot trên {place} biết về bạn, và cài đặt cho tất cả.","settings.bots.newBots": "Bot mới",diff --git a/src/locales/zh-tw.json b/src/locales/zh-tw.jsonindex 7e45ff466d..1e1eca6be3 100644--- a/src/locales/zh-tw.json+++ b/src/locales/zh-tw.json@@ -9844,6 +9844,7 @@"settings.bots.aboutYouLine": "{place} 上的機器人怎麼稱呼你,以及對你的了解。","settings.bots.awakeLine": "你的方案一次只讓少數機器人保持喚醒。選擇哪些。","settings.bots.awakeTitle": "部分機器人已暫停",+ "settings.remoteTeammates.title": "其他伺服器上的隊友","settings.bots.early": "搶先體驗功能","settings.bots.intro": "{place} 上的機器人對你的了解,以及所有機器人的設定。","settings.bots.newBots": "新機器人",diff --git a/src/locales/zh.json b/src/locales/zh.jsonindex fa1aa21aa7..30a53858db 100644--- a/src/locales/zh.json+++ b/src/locales/zh.json@@ -8137,6 +8137,7 @@"settings.bots.aboutYouLine": "{place} 上的机器人怎么称呼你,以及对你的了解。","settings.bots.awakeLine": "你的方案一次只让少数机器人保持唤醒。选择哪些。","settings.bots.awakeTitle": "部分机器人已暂停",+ "settings.remoteTeammates.title": "其他服务器上的队友","settings.bots.early": "抢先体验功能","settings.bots.intro": "{place} 上的机器人对你的了解,以及所有机器人的设置。","settings.bots.newBots": "新机器人",