Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
Starter runs two turns at once and keeps five bots awake (#4880)
Milind Soni86fd0ee19c0d
diff --git a/server/coordinator.ts b/server/coordinator.tsindex 141427c558..2f5fdac8d8 100644--- a/server/coordinator.ts+++ b/server/coordinator.ts@@ -217,9 +217,17 @@ export interface Coordinator {awaitingAnswer(threadId: string): boolean;}+/** A plan's limit on handing out work. */+export interface HandoffLimit {+ /** Why handing work to this bot is refused now, in words for the model that asked; null when it may go. `open` counts the+ * hand-offs not yet ended. */+ refusal(botId: string, open: () => number): string | null;+}+export interface CoordinatorOptions {dataDir: string;host: CoordinatorHost;+ handoffLimit?: HandoffLimit;now?: () => number;runtimeLimits?: Partial<Limits>;log?: (line: string) => void;diff --git a/server/engine-memory.test.ts b/server/engine-memory.test.tsindex 2417650f0b..c13e20ffaa 100644--- a/server/engine-memory.test.ts+++ b/server/engine-memory.test.ts@@ -621,6 +621,82 @@ describe("an engine's adapter on a Cloud home", () => {});});+describe("a plan's limit on turns at once", () => {+ const signal = () => new AbortController().signal;+ const capped = (most: number | undefined, waitsOnOthers: (threadId: string) => boolean = () => false) => {+ const h = host();+ h.memory.useCap({ most: () => most, waitsOnOthers });+ h.memory.useWaits({ text: (_threadId, wait) => `limit ${wait.limit} ahead ${wait.ahead}`, began: () => {}, changed: () => {} });+ return h;+ };++ it("runs the plan's number of turns, whatever memory allows, and the next starts once one ends, saying why it waits", async () => {+ const h = capped(2);+ expect(h.memory.limited()).toBe(true);+ expect(await h.memory.admit("a", signal(), () => {}, "turn")).toBe(true);+ expect(await h.memory.admit("b", signal(), () => {}, "turn")).toBe(true);+ const said: string[] = [];+ let third: boolean | null = null;+ void h.memory.admit("c", signal(), (text) => said.push(text), "turn").then((admitted) => { third = admitted; });+ await settle();+ expect([third, said]).toEqual([null, ["limit 2 ahead 0"]]);+ h.memory.turnEnded("a");+ await settle();+ expect(third).toBe(true);+ });++ it("lets two woken together take only the places there are", async () => {+ const h = capped(2);+ await h.memory.admit("a", signal(), () => {}, "turn");+ const admitted: string[] = [];+ for (const threadId of ["b", "c"]) void h.memory.admit(threadId, signal(), () => {}, "turn").then(() => admitted.push(threadId));+ await settle();+ expect(admitted).toEqual(["b"]);+ });++ it("holds no place for a turn waiting on work it handed out, so that work runs", async () => {+ const waiting = new Set(["a", "b"]);+ const h = capped(2, (threadId) => waiting.has(threadId));+ await h.memory.admit("a", signal(), () => {}, "turn");+ await h.memory.admit("b", signal(), () => {}, "turn");+ expect(await h.memory.admit("child", signal(), () => {}, "turn")).toBe(true);+ });++ it("limits nothing where the plan sets no number", async () => {+ const h = capped(undefined);+ expect(h.memory.limited()).toBe(false);+ for (const threadId of ["a", "b", "c", "d"]) expect(await h.memory.admit(threadId, signal(), () => {}, "turn")).toBe(true);+ });++ it("makes a turn wait for a place even when its thread's engine is still running", async () => {+ const h = capped(1);+ h.memory.turnStarted("t1"); h.spawn("t1"); h.memory.turnEnded("t1");+ h.memory.turnStarted("busy"); h.spawn("busy");+ const fake = fakeInstance();+ const decorated = withEngineMemory(fake.instance, h.memory);+ const turn = decorated.adapter.sendTurn({ threadId: "t1", text: "again" } as SendTurnInput);+ await settle();+ expect(fake.sent).toEqual([]);+ h.memory.turnEnded("busy");+ expect(await turn).toEqual({ turnId: "turn-t1" });+ expect(fake.sent).toEqual(["t1"]);+ });++ it("gives the place back when a turn is stopped while it waits for memory", async () => {+ const h = capped(2);+ h.state.available = 300 * MB;+ h.memory.turnStarted("busy"); h.spawn("busy");+ const fake = fakeInstance();+ const decorated = withEngineMemory(fake.instance, h.memory);+ const turn = decorated.adapter.sendTurn({ threadId: "t1", text: "hi" } as SendTurnInput);+ await settle();+ await decorated.adapter.interruptTurn("t1");+ await expect(turn).rejects.toBeInstanceOf(TurnNotStartedError);+ expect(h.memory.busy()).toBe(1);+ expect(await h.memory.admit("t2", signal(), () => {}, "turn")).toBe(true);+ });+});+describe("engines that run several threads' sessions", () => {it("lets a session into a running engine where a whole new engine would not fit", async () => {// One busy engine on 1.6 GB: 900 MB free less the 410 MB kept back fits a 200 MB session but not a 700 MB engine.diff --git a/server/engine-memory.ts b/server/engine-memory.tsindex 1fa154e704..b0ea0f46e9 100644--- a/server/engine-memory.ts+++ b/server/engine-memory.ts@@ -91,8 +91,9 @@ export const memoryWaitText = (count: number) => `Waiting for memory: ${running(export const memoryStillWaitingText = (count: number) => `Still waiting for memory: ${running(count)}.`;/** How a wait reads to the person, in their language, and where else it shows. */export interface EngineWaits {- text(threadId: string, wait: { first: boolean; running: number; ahead: number }): string;- began(threadId: string, wait: { running: number; ahead: number }): void;+ /** `limit`: the plan's most turns at once, when that is what this one waits for rather than memory. */+ text(threadId: string, wait: { first: boolean; running: number; ahead: number; limit?: number }): string;+ began(threadId: string, wait: { running: number; ahead: number; limit?: number }): void;/** Whether anything is waiting for memory changed. */changed(): void;}@@ -140,6 +141,14 @@ export interface EngineBrowsers {stopped(threadId: string): void;}+/** A plan's limit on how many turns run at once, whatever memory allows. */+export interface EngineCap {+ /** The most turns that may run at once; undefined when the plan sets no such limit. */+ most(): number | undefined;+ /** Whether this thread's running turn waits on work it handed out: it holds no place, so the work it waits on can run. */+ waitsOnOthers(threadId: string): boolean;+}+/** An engine process and the threads whose sessions it runs: one, or several when the driver shares processes. */interface Engine { child: ChildProcess; threads: Set<string>; startedAt: number; stopping: boolean }interface Waiter { wake: () => void; threadId: string; since: number }@@ -181,6 +190,7 @@ export class EngineMemory {private browsers: EngineBrowsers | null = null;private personsOwn: (threadId: string) => boolean = () => false;private waits: EngineWaits | null = null;+ private cap: EngineCap | null = null;constructor(options: EngineMemoryOptions) {this.enabled = options.enabled;@@ -199,6 +209,23 @@ export class EngineMemory {useWaits(waits: EngineWaits): void { this.waits = waits; }+ useCap(cap: EngineCap): void { this.cap = cap; }++ /** Whether every turn here waits for a place under the plan's limit, not only one that starts an engine. */+ limited(): boolean { return this.enabled && this.cap?.most() !== undefined; }++ /** The plan's limit when it is what this thread's turn must wait for now; undefined when there is a place. */+ private capped(threadId: string): number | undefined {+ const most = this.cap?.most();+ if (most === undefined) return undefined;+ let running = 0;+ for (const other of new Set([...this.active, ...this.reserved.keys()])) {+ if (other === threadId || this.cap!.waitsOnOthers(other)) continue;+ if (++running >= most) return most;+ }+ return undefined;+ }+/** Whether a task is waiting for memory now. */waiting(): boolean { return this.waitingSince.size > 0; }@@ -263,10 +290,11 @@ export class EngineMemory {return threads;}- /** Resolves once a new engine process, or a session in the running one `joining` names by pid, fits for this thread;- * `notify` tells the person when it has to wait. False when aborted. A thread joining a process counts on it at once, so- * that process is never stopped as idle to make room for its own new session. */- async admit(threadId: string, abort: AbortSignal, notify: (text: string) => void, start: "process" | "session" = "process",+ /** Resolves once a new engine process, or a session in the running one `joining` names by pid, fits for this thread, or+ * for `turn` once the plan's limit has a place for its turn; `notify` tells the person when it has to wait. False when+ * aborted. A thread joining a process counts on it at once, so that process is never stopped as idle to make room for its+ * own new session. */+ async admit(threadId: string, abort: AbortSignal, notify: (text: string) => void, start: "process" | "session" | "turn" = "process",joining?: number): Promise<boolean> {if (!this.enabled) return true;if (joining !== undefined) this.engines.get(joining)?.threads.add(threadId);@@ -276,7 +304,9 @@ export class EngineMemory {try {for (;;) {if (abort.aborted) return false;- if (this.order()[0] === waiter) {+ if (this.order()[0] === waiter && this.capped(threadId) === undefined) {+ // Counted at once: another waiter woken with this one must see its place taken.+ if (start === "turn") { this.active.add(threadId); return true; }const room = this.room(start, threadId);if (room === "admit") {this.reserved.set(threadId, { at: this.now(), start, browser: this.browserStarts(threadId) });@@ -287,13 +317,14 @@ export class EngineMemory {}if (announced === null || this.now() - announced >= NOTICE_REPEAT_MS) {const others = this.othersBusy(threadId), first = announced === null, ahead = this.order().indexOf(waiter);+ const limit = this.capped(threadId), wait = { running: others, ahead, ...(limit === undefined ? {} : { limit }) };if (first) {this.waitingSince.set(waiter, this.now());this.ledger.note(this.now(), "waits");- this.waits?.began(threadId, { running: others, ahead });+ this.waits?.began(threadId, wait);if (this.waitingSince.size === 1) this.waits?.changed();}- notify(this.waits?.text(threadId, { first, running: others, ahead }) ?? (first ? memoryWaitText(others) : memoryStillWaitingText(others)));+ notify(this.waits?.text(threadId, { first, ...wait }) ?? (first ? memoryWaitText(others) : memoryStillWaitingText(others)));announced = this.now();}await new Promise<void>((resolve) => {@@ -514,7 +545,7 @@ export function withEngineMemory(instance: ProviderInstance, memory: EngineMemor},sendTurn: async (input) => {const { threadId } = input;- const admit = async (start: "process" | "session", joining?: number) => {+ const admit = async (start: "process" | "session" | "turn", joining?: number) => {const controller = new AbortController();waiting.get(threadId)?.abort();waiting.set(threadId, controller);@@ -527,8 +558,14 @@ export function withEngineMemory(instance: ProviderInstance, memory: EngineMemorif (waiting.get(threadId) === controller) waiting.delete(threadId);}};- const driverAdmits = adapter.capabilities.engineAdmission === true;- if (!driverAdmits && !memory.hasEngine(threadId)) await admit("process");+ const driverAdmits = adapter.capabilities.engineAdmission === true, limited = memory.limited();+ if (limited) await admit("turn");+ try {+ if (!driverAdmits && !memory.hasEngine(threadId)) await admit("process");+ } catch (error) {+ if (limited) memory.turnEnded(threadId);+ throw error;+ }memory.turnStarted(threadId);try {return await memory.within(threadId, () => adapter.sendTurn(driverAdmits ? { ...input, engineAdmission: admit } : input));diff --git a/server/host/starter-awake.test.ts b/server/host/starter-awake.test.tsnew file mode 100644index 0000000000..2905a13c33--- /dev/null+++ b/server/host/starter-awake.test.ts@@ -0,0 +1,61 @@+import { mkdtempSync, readFileSync, rmSync, writeFileSync } from "node:fs";+import { tmpdir } from "node:os";+import { join } from "node:path";+import { afterEach, describe, expect, it } from "vitest";++import { createStarterAwake, STARTER_AWAKE_FILE, type AwakeBot } from "./starter-awake.ts";++const dirs: string[] = [];+const dataDir = () => { const dir = mkdtempSync(join(tmpdir(), "starter-awake-")); dirs.push(dir); return dir; };+afterEach(() => { for (const dir of dirs.splice(0)) rmSync(dir, { recursive: true, force: true }); });++/** Bot `b<n>` was last active at minute n. */+const bots = (count: number): AwakeBot[] => Array.from({ length: count }, (_, n) => ({ id: `b${n}`, createdAt: 0, tasks: [{ updatedAt: n * 60_000 }] }));++describe("which of a Starter Cloud's bots stay awake", () => {+ it("keeps the five most recently active awake and pauses the rest, written down so a message never reshuffles them", () => {+ const dir = dataDir(), list = bots(8);+ const awake = createStarterAwake({ dataDir: dir, starter: () => true, bots: () => list });+ expect(awake.limit()).toBe(5);+ expect(awake.paused()).toEqual(["b0", "b1", "b2"]);+ expect(JSON.parse(readFileSync(join(dir, STARTER_AWAKE_FILE), "utf8")).awake).toEqual(["b7", "b6", "b5", "b4", "b3"]);+ // A paused bot gets a message: it stays paused.+ list[0]!.tasks = [{ updatedAt: 99 * 60_000 }];+ expect(awake.isPaused("b0")).toBe(true);+ // And a restart reads the same set.+ expect(createStarterAwake({ dataDir: dir, starter: () => true, bots: () => list }).paused()).toEqual(["b0", "b1", "b2"]);+ });++ it("pauses nobody within the limit, off Starter, or the MausBot and chief of staff", () => {+ expect(createStarterAwake({ dataDir: dataDir(), starter: () => true, bots: () => bots(5) }).paused()).toEqual([]);+ const off = createStarterAwake({ dataDir: dataDir(), starter: () => false, bots: () => bots(30) });+ expect([off.limit(), off.paused()]).toEqual([undefined, []]);+ const list: AwakeBot[] = [...bots(5), { id: "maus", defaultBot: {}, createdAt: 0 }, { id: "chief", chiefOfStaff: true, createdAt: 0 }, { id: "gone", hidden: true, createdAt: 0 }];+ expect(createStarterAwake({ dataDir: dataDir(), starter: () => true, bots: () => list }).paused()).toEqual([]);+ });++ it("swaps in the person's choice, refusing anything but this Cloud's bots in the plan's number", () => {+ let changed = 0;+ const awake = createStarterAwake({ dataDir: dataDir(), starter: () => true, bots: () => bots(7), changed: () => { changed++; } });+ expect(awake.choose(["b0", "b1", "b2", "b3"])).toMatchObject({ ok: false });+ expect(awake.choose(["b0", "b1", "b2", "b3", "nope"])).toMatchObject({ ok: false });+ expect(awake.choose(["b0", "b1", "b2", "b3", "b4"])).toEqual({ ok: true });+ expect([awake.paused(), changed]).toEqual([["b5", "b6"], 1]);+ });++ it("fills a chosen bot that was deleted from the most recently active, and reads a damaged file as no choice", () => {+ const dir = dataDir();+ writeFileSync(join(dir, STARTER_AWAKE_FILE), JSON.stringify({ v: 1, awake: ["b0", "b1", "b2", "b3", "deleted"] }));+ expect(createStarterAwake({ dataDir: dir, starter: () => true, bots: () => bots(7) }).paused()).toEqual(["b4", "b5"]);+ writeFileSync(join(dir, STARTER_AWAKE_FILE), "not json");+ expect(createStarterAwake({ dataDir: dir, starter: () => true, bots: () => bots(7) }).paused()).toEqual(["b0", "b1"]);+ });++ it("wakes every bot at once on an upgrade", () => {+ let starter = true;+ const awake = createStarterAwake({ dataDir: dataDir(), starter: () => starter, bots: () => bots(9) });+ expect(awake.paused()).toHaveLength(4);+ starter = false;+ expect(awake.paused()).toEqual([]);+ });+});diff --git a/server/host/starter-awake.ts b/server/host/starter-awake.tsnew file mode 100644index 0000000000..19ce0ace72--- /dev/null+++ b/server/host/starter-awake.ts@@ -0,0 +1,81 @@+// Which of a Starter Cloud's bots stay awake. A restore or a move brings every bot whatever the plan, so past its limit the+// bots are all kept but only that many take turns; the rest are paused until the person swaps them in or upgrades. The set+// is written down the first time it is needed, so a paused bot that receives a message never pushes an awake one out.+import { readFileSync } from "node:fs";+import { join } from "node:path";+import { z } from "zod";++import { botsTowardLimit } from "../../shared/bot-limit.ts";+import { writeFileAtomic } from "../atomic.ts";+import { STARTER_BOT_LIMIT } from "./starter-bot-limit.ts";++export const STARTER_AWAKE_FILE = "starter-awake.json";+const fileSchema = z.object({ v: z.literal(1), awake: z.array(z.string().min(1).max(200)).max(STARTER_BOT_LIMIT) });++type CountedBot = Parameters<typeof botsTowardLimit>[0][number];+export type AwakeBot = CountedBot & { id: string; chiefOfStaff?: boolean; createdAt?: number; tasks?: ReadonlyArray<{ updatedAt?: number }> };++export interface StarterAwake {+ /** How many bots this plan keeps awake; undefined when it keeps them all. */+ limit(): number | undefined;+ /** The bots paused now; empty when every bot is awake. */+ paused(): string[];+ isPaused(botId: string): boolean;+ /** Keeps exactly these awake; an error when they are not this Cloud's bots or not as many as the plan keeps. */+ choose(ids: readonly string[]): { ok: true } | { ok: false; error: string };+}++/** A bot's latest activity: its newest thread's last message, or when it was made. */+const lastActive = (bot: AwakeBot) => Math.max(bot.createdAt ?? 0, ...(bot.tasks ?? []).map((task) => task.updatedAt ?? 0));++export function createStarterAwake(deps: { dataDir: string; starter(): boolean; bots(): readonly AwakeBot[]; changed?: () => void }): StarterAwake {+ const file = join(deps.dataDir, STARTER_AWAKE_FILE);+ let chosen: string[] | null = null;+ try {+ const parsed = fileSchema.safeParse(JSON.parse(readFileSync(file, "utf8")));+ if (parsed.success) chosen = parsed.data.awake;+ } catch {+ // none yet, or unreadable: chosen afresh when first needed+ }+ const save = (awake: string[]) => {+ chosen = awake;+ try {+ writeFileAtomic(file, `${JSON.stringify({ v: 1, awake })}\n`, { mode: 0o600 });+ } catch (error) {+ console.warn(`starter awake: could not save ${file}: ${error instanceof Error ? error.message : String(error)}`);+ }+ };+ /** The bots the limit counts, the chief of staff aside: it hands out the work, so it never sleeps. */+ const candidates = () => deps.bots().filter((bot) => botsTowardLimit([bot]) === 1 && !bot.chiefOfStaff);+ const limit = () => (deps.starter() ? STARTER_BOT_LIMIT : undefined);+ const awake = (): Set<string> | null => {+ const most = limit(), bots = candidates();+ if (most === undefined || bots.length <= most) return null;+ const ids = new Set(bots.map((bot) => bot.id));+ const kept = (chosen ?? []).filter((id) => ids.has(id));+ if (kept.length < most) {+ const rest = bots.filter((bot) => !kept.includes(bot.id)).sort((a, b) => lastActive(b) - lastActive(a));+ kept.push(...rest.slice(0, most - kept.length).map((bot) => bot.id));+ }+ if (kept.length !== chosen?.length || kept.some((id, index) => chosen![index] !== id)) save(kept);+ return new Set(kept);+ };+ const paused = () => {+ const keep = awake();+ return keep ? candidates().filter((bot) => !keep.has(bot.id)).map((bot) => bot.id) : [];+ };+ return {+ limit,+ paused,+ isPaused: (botId) => paused().includes(botId),+ choose(ids) {+ const most = limit(), bots = new Set(candidates().map((bot) => bot.id)), unique = [...new Set(ids)];+ if (most === undefined) return { ok: false, error: "this Cloud's plan keeps every bot awake" };+ if (unique.some((id) => !bots.has(id))) return { ok: false, error: "choose this Cloud's own bots" };+ if (unique.length !== Math.min(most, bots.size)) return { ok: false, error: `choose ${Math.min(most, bots.size)} bots to keep awake` };+ save(unique);+ deps.changed?.();+ return { ok: true };+ },+ };+}diff --git a/server/host/starter-caps.test.ts b/server/host/starter-caps.test.tsnew file mode 100644index 0000000000..475385a075--- /dev/null+++ b/server/host/starter-caps.test.ts@@ -0,0 +1,47 @@+import { describe, expect, it } from "vitest";++import type { StarterAwake } from "./starter-awake.ts";+import { createStarterCaps, STARTER_RUNNING_TURNS, STARTER_WAITING_HANDOFFS } from "./starter-caps.ts";++const awake = (paused: string[]): StarterAwake => ({ limit: () => 5, paused: () => paused, isPaused: (id) => paused.includes(id), choose: () => ({ ok: true }) });++function caps(options: { starter?: boolean; paused?: string[] } = {}) {+ let refused = 0, clock = 1_000;+ const made = createStarterCaps({+ starter: () => options.starter ?? true, awake: awake(options.paused ?? []), waitsOnOthers: () => false, botName: (id) => id,+ pausedLine: (language, limit) => `${language ?? "en"}: paused, ${limit} awake`, now: () => clock, refused: () => { refused++; },+ });+ return { made, refusals: () => refused, advance: (ms: number) => { clock += ms; } };+}++describe("how much work a Starter Cloud runs at once", () => {+ it("runs two turns at once on Starter and leaves other plans alone", () => {+ expect(STARTER_RUNNING_TURNS).toBe(2);+ expect(caps().made.engine.most()).toBe(2);+ expect(caps({ starter: false }).made.engine.most()).toBeUndefined();+ });++ it("refuses a hand-off once two run and four wait, telling the model and the app", () => {+ const { made, refusals } = caps();+ const full = STARTER_RUNNING_TURNS + STARTER_WAITING_HANDOFFS;+ expect(made.handoffs.refusal("helper", () => full - 1)).toBeNull();+ expect(made.status()).toEqual({ running: 2, waiting: 4 });+ expect(made.handoffs.refusal("helper", () => full)).toMatch(/runs 2 tasks at once and holds 4 more waiting/);+ expect([refusals(), made.status()]).toEqual([1, { running: 2, waiting: 4, refusedAt: 1_000, refused: "tasks" }]);+ });++ it("refuses work for a paused bot whatever the queue holds, and its own turn in the person's language", () => {+ const { made } = caps({ paused: ["sleepy"] });+ let counted = false;+ expect(made.handoffs.refusal("sleepy", () => { counted = true; return 0; })).toMatch(/^@sleepy is paused/);+ expect([counted, made.status()?.refused]).toEqual([false, "paused"]);+ expect(made.pausedText("sleepy", "de")).toBe("de: paused, 5 awake");+ expect(made.pausedText("awake", "de")).toBeNull();+ });++ it("refuses nothing off Starter", () => {+ const { made, refusals } = caps({ starter: false, paused: ["sleepy"] });+ expect(made.handoffs.refusal("sleepy", () => 100)).toBeNull();+ expect([made.pausedText("sleepy", undefined), made.status(), refusals()]).toEqual([null, undefined, 0]);+ });+});diff --git a/server/host/starter-caps.ts b/server/host/starter-caps.tsnew file mode 100644index 0000000000..4a73fad5ae--- /dev/null+++ b/server/host/starter-caps.ts@@ -0,0 +1,62 @@+// How much work a Starter Cloud runs at once. Its machine is the smallest and shares its CPU, so past a few turns at once it+// slows until nothing answers: the limit holds turns back before memory or CPU run out, whatever the bots ask for.+import type { EngineCap } from "../engine-memory.ts";+import type { HandoffLimit } from "../coordinator.ts";+import type { StarterAwake } from "./starter-awake.ts";++/** Turns a Starter Cloud runs at once, Cloud-wide. */+export const STARTER_RUNNING_TURNS = 2;+/** Hand-offs a Starter Cloud holds waiting beyond the ones running; past this a new one is refused. */+export const STARTER_WAITING_HANDOFFS = 4;++export type PlanLimitReason = "tasks" | "paused";++export interface StarterCaps {+ engine: EngineCap;+ handoffs: HandoffLimit;+ /** What the app shows: the limits, and when work was last refused for one. Undefined off Starter. */+ status(): { running: number; waiting: number; refusedAt?: number; refused?: PlanLimitReason } | undefined;+ /** The words a paused bot's turn is refused with, in the person's language; null when the bot is awake. */+ pausedText(botId: string, language: string | undefined): string | null;+}++export function createStarterCaps(deps: {+ starter(): boolean;+ awake: StarterAwake;+ /** Whether this thread's running turn waits on hand-offs it made. */+ waitsOnOthers(threadId: string): boolean;+ botName(botId: string): string | undefined;+ /** The paused bot's line in this language. */+ pausedLine(language: string | undefined, limit: number): string;+ now?: () => number;+ /** Work was just refused for a limit: the app shows the plan popup. */+ refused(): void;+}): StarterCaps {+ const now = deps.now ?? Date.now;+ let last: { at: number; reason: PlanLimitReason } | undefined;+ const refuse = (reason: PlanLimitReason, words: string) => {+ last = { at: now(), reason };+ deps.refused();+ return words;+ };+ return {+ engine: { most: () => (deps.starter() ? STARTER_RUNNING_TURNS : undefined), waitsOnOthers: deps.waitsOnOthers },+ handoffs: {+ refusal(botId, open) {+ if (!deps.starter()) return null;+ if (deps.awake.isPaused(botId)) {+ const name = deps.botName(botId) ?? "That bot";+ return refuse("paused", `@${name} is paused: this Cloud's Starter plan keeps ${deps.awake.limit()} bots awake, so nothing was handed to it. `+ + "Tell the person in one line: they can swap which bots are awake, or upgrade this Cloud to wake them all. Do not retry, and do not hand this to another bot to work around it.");+ }+ if (open() < STARTER_RUNNING_TURNS + STARTER_WAITING_HANDOFFS) return null;+ return refuse("tasks", `This Cloud's Starter plan runs ${STARTER_RUNNING_TURNS} tasks at once and holds ${STARTER_WAITING_HANDOFFS} more waiting, and that is full, so nothing was handed out. `+ + "Wait for the work already handed out to finish before handing out more, and tell the person in one line that upgrading this Cloud runs more at once. Do not retry right away.");+ },+ },+ status: () => (deps.starter() ? { running: STARTER_RUNNING_TURNS, waiting: STARTER_WAITING_HANDOFFS, ...(last ? { refusedAt: last.at, refused: last.reason } : {}) } : undefined),+ pausedText(botId, language) {+ return deps.starter() && deps.awake.isPaused(botId) ? deps.pausedLine(language, deps.awake.limit() ?? 0) : null;+ },+ };+}diff --git a/server/host/wait-words.test.ts b/server/host/wait-words.test.tsindex 6e16cabc08..d2153c1088 100644--- a/server/host/wait-words.test.ts+++ b/server/host/wait-words.test.ts@@ -27,7 +27,14 @@ describe("how a wait for memory reads", () => {it("records the limit and what is ahead", () => {const { waits, held } = words(true);waits.began("t", { running: 1, ahead: 3 });- expect(held).toEqual([["t", "memory: 1 running, 3 ahead, on Starter"]]);+ waits.began("u", { running: 2, ahead: 1, limit: 2 });+ expect(held).toEqual([["t", "memory: 1 running, 3 ahead, on Starter"], ["u", "plan: 2 at once, 1 ahead"]]);+ });++ it("names the plan's limit, not memory, when that is what the turn waits for", () => {+ expect(words(true).waits.text("t", { first: true, running: 2, ahead: 1, limit: 2 }))+ .toBe("Waiting for a turn: Starter runs 2 tasks at once on this Cloud. Ahead of this one: 1. It starts by itself when one finishes, and a bigger plan runs more at once.");+ expect(words(true).waits.text("t", { first: false, running: 2, ahead: 0, limit: 2 })).toBe("Still waiting: Starter runs 2 tasks at once. Ahead of this one: 0.");});});diff --git a/server/host/wait-words.ts b/server/host/wait-words.tsindex 6df1da7a6a..6c1ee360f3 100644--- a/server/host/wait-words.ts+++ b/server/host/wait-words.ts@@ -18,14 +18,15 @@ export interface WaitWordsDeps {export function createWaitWords(deps: WaitWordsDeps): EngineWaits & { queued(threadId: string, reason: SteerQueueReason | undefined): string | undefined } {return {- text(threadId, { first, running, ahead }) {+ text(threadId, { first, running, ahead, limit }) {const language = deps.language(threadId);+ if (limit !== undefined) return serverLine(language, first ? "server.planTurns.wait" : "server.planTurns.still", { limit, ahead });if (!first) return serverLine(language, "server.memory.still", { running, ahead });const wait = serverLine(language, "server.memory.wait", { running, ahead });return deps.starter() ? `${wait} ${serverLine(language, "server.memory.starter")}` : wait;},- began(threadId, { running, ahead }) {- deps.held(threadId, `memory: ${running} running, ${ahead} ahead${deps.starter() ? ", on Starter" : ""}`);+ began(threadId, { running, ahead, limit }) {+ deps.held(threadId, limit !== undefined ? `plan: ${limit} at once, ${ahead} ahead` : `memory: ${running} running, ${ahead} ahead${deps.starter() ? ", on Starter" : ""}`);},changed: deps.changed,queued(threadId, reason) {diff --git a/server/index.ts b/server/index.tsindex 3ba2072fd0..0685b0dddb 100644--- a/server/index.ts+++ b/server/index.ts@@ -118,7 +118,7 @@ import { vpsLeftBehindNotice } from "./cloud-backend.ts";import * as composio from "./composio.ts";import { connectorCallFromFrame, connectorRefusalText, connectorScopeRefusalText, connectorUnrecognizedText, evaluateConnectorTools } from "./connector-verdict.ts";import { connectorCardDescription, connectorCardText, signInCardText } from "./connector-card-text.ts";-import { BOT_LIMIT_CODE } from "../shared/bot-limit.ts"; import { createBotLimit } from "./host/starter-bot-limit.ts"; import { chiefOfStaffSystemPrompt } from "./chief-of-staff.ts"; import { chiefLevel, readTeamRolesWith } from "./chief-level.ts"; import { defaultBotRefusal, ensureDefaultBot } from "./default-bot.ts";+import { BOT_LIMIT_CODE, BOT_PAUSED_CODE } from "../shared/bot-limit.ts"; import { createBotLimit } from "./host/starter-bot-limit.ts"; import { createStarterAwake } from "./host/starter-awake.ts"; import { createStarterCaps } from "./host/starter-caps.ts"; import { createStarterAwakeRoutes } from "./routes/starter-awake.ts"; import { chiefOfStaffSystemPrompt } from "./chief-of-staff.ts"; import { chiefLevel, readTeamRolesWith } from "./chief-level.ts"; import { defaultBotRefusal, ensureDefaultBot } from "./default-bot.ts";import { buildRecall, recallRooms, recallThreadIds, withRecalled } from "./recall.ts";import { hostTimeZone, takesTurnClock, turnClockLine, withTurnClock } from "./turn-clock.ts";import { createMemoryUpkeep, dreamConversations, upkeepEnabled } from "./memory-upkeep.ts";@@ -2850,7 +2850,7 @@ const phones = createPhones({mint: (botId, turn) => mintInternalCapability({ botId, ...turn, kind: "device", depth: 0, skillAuthoring: false, createdBots: 0, openedThreads: 0 }),active: (turn) => internalCapabilityIsActive(turn as InternalCapability),});-const cloudPlanTier = createCloudPlanTier({ dataDir: DATA_DIR, cloudHome: Boolean(CLOUD_HOME), changed: () => broadcast({ kind: "config", ...configStatus() }) }); const botLimit = createBotLimit({ starter: () => cloudPlanTier.starter(), bots: () => store.bots }); let cloudPower: CloudPower | null = null; // The sleep handshake of a plan that sleeps (server/cloud-power.ts), made just before the server listens.+const cloudPlanTier = createCloudPlanTier({ dataDir: DATA_DIR, cloudHome: Boolean(CLOUD_HOME), changed: () => broadcast({ kind: "config", ...configStatus() }) }); const botLimit = createBotLimit({ starter: () => cloudPlanTier.starter(), bots: () => store.bots }); const starterAwake = createStarterAwake({ dataDir: DATA_DIR, starter: () => cloudPlanTier.starter(), bots: () => store.bots, changed: () => broadcast({ kind: "config", ...configStatus() }) }); const starterCaps = createStarterCaps({ starter: () => cloudPlanTier.starter(), awake: starterAwake, waitsOnOthers: (threadId) => coordinator.outstandingFor(threadId).length > 0, botName: (botId) => store.bot(botId)?.name, pausedLine: (language, limit) => serverLine(language, "server.botPaused", { limit }), refused: () => broadcast({ kind: "config", ...configStatus() }) }); engineMemory.useCap(starterCaps.engine); let cloudPower: CloudPower | null = null; // The sleep handshake of a plan that sleeps (server/cloud-power.ts), made just before the server listens.const { cloudHealth, cloudSigned } = createCloudSignedHost({ cloudHome: CLOUD_HOME, sessions, power: () => cloudPower, box: () => botBox.report(), teamAdmin: teamAdminHost(), policyChanged: nudgeCloudTeamPolicy, plan: (cancelled) => routineHolds?.plan(cancelled), planTier: (tier) => cloudPlanTier.set(tier), memberLeft: (email) => leaveTeam ? leaveTeam(email).then((result) => { botApi.manager.revokeMintedBy(personKey({ id: "", email })); teamOwners.left(email); teamMessages.inbox.forget(personKey({ id: "", email })); forgetSetupPresser(store, personKey({ id: "", email })); devsReports.forget(personKey({ id: "", email })); return result; }) : Promise.reject(new Error("not a team")), health: { store, bus, dataDir: DATA_DIR, eventsDir: EVENTS_DIR, version: serverVersion(), image: process.env.OMB_CLOUD_IMAGE,engines: () => registry.instances().map((instance) => ({ instanceId: instance.instanceId, driverKind: instance.driverKind, snapshot: registry.knownSnapshot(instance.instanceId) })),connectors: () => emailHost.health(composio.configured(cfg) ? composio.connectedServices(cfg) : null),@@ -3917,7 +3917,7 @@ const questionRouting = createQuestionRouting({ store, active: () => coordinatorsteer: async (threadId, text) => canSteerThread(threadId) && (await steerThread(threadId, text)) !== "refused", mayReach: outsideLineage.mayReach });const handoffTicks = createHandoffTicks(), coordinator: Coordinator = createCoordinator({dataDir: DATA_DIR,- now: Date.now, wrote: handoffTicks.kick,+ now: Date.now, wrote: handoffTicks.kick, handoffLimit: starterCaps.handoffs,log: line => console.error("coordinator:", line),legacyThreads: {standingThreadOf: botId => botMainThread(botId) ?? store.bot(botId)?.threadId,@@ -7575,7 +7575,7 @@ async function beginTurn(workspaceMaintenance.assertAvailable(); moveFreeze.assertTurns();const profile = store.bot(botId); assertBotHere(profile);if (!profile) throw Object.assign(new Error("no such bot"), { status: 404 });- const threadId = opts?.threadId ?? profile.threadId;+ const threadId = opts?.threadId ?? profile.threadId, paused = starterCaps.pausedText(botId, threadLanguage(threadId)); if (paused) throw Object.assign(new Error(paused), { status: 409, code: BOT_PAUSED_CODE });const continuingRoutine = opts?.cardContinuation ? activeRoutineRunForThread(threadId) : null;if (continuingRoutine) {const onDispatchError = opts?.onDispatchError;@@ -11755,7 +11755,7 @@ function configStatus() {const eventLogMaxBytes = threadEventLogMaxBytes(cfg);const eventLogRetentionDays = threadEventLogRetentionDays(cfg);return {- cloudStarter: cloudPlanTier.starter(), botLimit: botLimit.limit(), waitingForRoom: engineMemory.waiting(), xai: keyStatus(cfg.xai?.key),+ cloudStarter: cloudPlanTier.starter(), botLimit: botLimit.limit(), waitingForRoom: engineMemory.waiting(), planTurns: starterCaps.status(), awakeLimit: starterAwake.limit(), pausedBots: starterAwake.paused(), xai: keyStatus(cfg.xai?.key),mistral: keyStatus(cfg.mistral?.key),cerebras: keyStatus(cfg.cerebras?.key),groq: keyStatus(cfg.groq?.key), greenference: keyStatus(cfg.greenference?.key),@@ -12117,7 +12117,7 @@ const cloudMoveRoutes = createCloudMoveRoutes();// `workspaceAccess` is assigned at boot, after this line: read it per request.ROUTES.push(createHostedSlackRoutes({ bot: (id) => store.bot(id), hostedReady: () => Boolean(workspaceAccess) && entitled("admin") })); ROUTES.push(createStopLineRoutes());const orgInstallStatuses = () => orgLibrary?.installStatuses() ?? new Map();-ROUTES.push(createBotPresetRoutes({ presets: presetStore, orgStatuses: orgInstallStatuses })); ROUTES.push(createWorkspaceBannerRoutes({ changed: () => broadcast({ kind: "config", ...configStatus() }) }));+ROUTES.push(createBotPresetRoutes({ presets: presetStore, orgStatuses: orgInstallStatuses })); ROUTES.push(createWorkspaceBannerRoutes({ changed: () => broadcast({ kind: "config", ...configStatus() }) })); ROUTES.push(createStarterAwakeRoutes({ awake: starterAwake }));ROUTES.push(createSharedComputerRoutes({ enabled: (auth) => lendingEnabled() || (ownerLends() && ownHome.owner(auth)), computers: sharedComputers, sessionLive: (id) => sessions.isLive(id), environmentId: ENVIRONMENT_ID,cloudHomeLender: CLOUD_HOME ? CLOUD_HOME_LENDER : null, principal: sessionLendingPrincipal, personKey, power: () => cloudPower, links: CLOUD_HOME ? deviceLinks : null, upgrades, asks: computerAsks?.asks ?? null, answerer: cardAnswererFor }));// `routines` is assigned at boot, so it is read per request.@@ -15420,7 +15420,7 @@ const handleRequest = async (req: IncomingMessage, res: ServerResponse) => {} catch (e) {const status = (e as any)?.status ?? 500;const candidateCode = (e as { code?: unknown })?.code;- const code = typeof candidateCode === "string" && ["guarded_busy", "guarded_branch", "guarded_permissions", "guarded_request_changed", "guarded_request_untracked", "outside_workspace", "file_too_large", "no_ai", BOT_LIMIT_CODE].includes(candidateCode)+ const code = typeof candidateCode === "string" && ["guarded_busy", "guarded_branch", "guarded_permissions", "guarded_request_changed", "guarded_request_untracked", "outside_workspace", "file_too_large", "no_ai", BOT_LIMIT_CODE, BOT_PAUSED_CODE].includes(candidateCode)? candidateCode : undefined;return json(res, status, { error: e instanceof Error ? e.message : String(e), ...(code ? { code } : {}), ...userErrorFields(e) });} finally {diff --git a/server/routes/starter-awake.test.ts b/server/routes/starter-awake.test.tsnew file mode 100644index 0000000000..a290d11a9e--- /dev/null+++ b/server/routes/starter-awake.test.ts@@ -0,0 +1,60 @@+import { createServer, type Server } from "node:http";+import type { AddressInfo } from "node:net";+import { afterEach, describe, expect, it } from "vitest";++import { json, readBody } from "../harness/http.ts";+import type { StarterAwake } from "../host/starter-awake.ts";+import { requiredScope } from "../request-auth.ts";+import { createStarterAwakeRoutes, STARTER_AWAKE_PATH } from "./starter-awake.ts";+import { dispatchRoutes } from "./table.ts";++const servers: Server[] = [];+afterEach(async () => {+ await Promise.all(servers.splice(0).map((server) => new Promise((done) => server.close(done))));+});++async function serve(awake: StarterAwake): Promise<string> {+ const routes = [createStarterAwakeRoutes({ awake })];+ const server = createServer(async (req, res) => {+ const url = new URL(req.url ?? "/", "http://localhost");+ const handled = await dispatchRoutes(routes, { req, res, url, path: url.pathname, method: req.method ?? "GET", auth: { kind: "loopback", scopes: ["admin"] }, json, readBody });+ if (!handled) json(res, 404, { from: "inline routes" });+ });+ servers.push(server);+ await new Promise<void>((ready) => server.listen(0, "127.0.0.1", ready));+ return `http://127.0.0.1:${(server.address() as AddressInfo).port}${STARTER_AWAKE_PATH}`;+}++function fakeAwake() {+ const chosen: string[][] = [];+ const awake: StarterAwake = {+ limit: () => 5, paused: () => ["b5"], isPaused: () => false,+ choose: (ids) => { if (ids.length !== 5) return { ok: false, error: "choose 5 bots to keep awake" }; chosen.push([...ids]); return { ok: true }; },+ };+ return { awake, chosen };+}++const post = (url: string, body: unknown) => fetch(url, { method: "POST", headers: { "content-type": "application/json" }, body: JSON.stringify(body) });++describe("choosing a Starter Cloud's awake bots", () => {+ it("is an admin's", () => {+ expect(requiredScope("POST", STARTER_AWAKE_PATH)).toBe("admin");+ });++ it("keeps the chosen bots awake and answers with who is paused now", async () => {+ const { awake, chosen } = fakeAwake();+ const response = await post(await serve(awake), { awake: ["b0", "b1", "b2", "b3", "b4"] });+ expect([response.status, await response.json(), chosen]).toEqual([200, { paused: ["b5"] }, [["b0", "b1", "b2", "b3", "b4"]]]);+ });++ it("refuses anything but a list of ids, and a choice the plan refuses", async () => {+ const { awake, chosen } = fakeAwake();+ const url = await serve(awake);+ expect((await post(url, { awake: "b0" })).status).toBe(400);+ expect((await post(url, { awake: [1, 2] })).status).toBe(400);+ const refused = await post(url, { awake: ["b0"] });+ expect([refused.status, await refused.json()]).toEqual([400, { error: "choose 5 bots to keep awake" }]);+ expect((await fetch(url)).status).toBe(405);+ expect(chosen).toEqual([]);+ });+});diff --git a/server/routes/starter-awake.ts b/server/routes/starter-awake.tsnew file mode 100644index 0000000000..c3c48caf17--- /dev/null+++ b/server/routes/starter-awake.ts@@ -0,0 +1,19 @@+// POST /api/starter/awake { awake: string[] } chooses which bots a Starter Cloud keeps awake past its limit. An admin's:+// request-auth.ts lists no client scope for it. What is paused now reaches the app with the config.+import type { StarterAwake } from "../host/starter-awake.ts";+import { PASS, type RouteHandler } from "./table.ts";++export const STARTER_AWAKE_PATH = "/api/starter/awake";++export function createStarterAwakeRoutes({ awake }: { awake: StarterAwake }): RouteHandler {+ return async ({ req, res, method, path, json, readBody }) => {+ if (path !== STARTER_AWAKE_PATH) return PASS;+ if (method !== "POST") return json(res, 405, { error: "Use POST." });+ const body = await readBody(req);+ const ids = (body as { awake?: unknown } | null)?.awake;+ if (!Array.isArray(ids) || ids.some((id) => typeof id !== "string")) return json(res, 400, { error: "awake must be a list of bot ids" });+ const chosen = awake.choose(ids as string[]);+ if (!chosen.ok) return json(res, 400, { error: chosen.error });+ return json(res, 200, { paused: awake.paused() });+ };+}diff --git a/server/runtime-coordinator.test.ts b/server/runtime-coordinator.test.tsindex 2ebedbefe5..f8f7b928f9 100644--- a/server/runtime-coordinator.test.ts+++ b/server/runtime-coordinator.test.ts@@ -4,7 +4,7 @@ import { join } from "node:path";import { DatabaseSync } from "node:sqlite";import { describe, expect, it, vi } from "vitest";-import type { BeginTurnRequest, ComposedTurn, CoordinatorHost, HandoffOpener, HandoffOptions, HandoffView, HostTurnResult } from "./coordinator.ts";+import type { BeginTurnRequest, ComposedTurn, CoordinatorHost, HandoffLimit, HandoffOpener, HandoffOptions, HandoffView, HostTurnResult } from "./coordinator.ts";import type { RoomAddress } from "./coordinator.ts";import { needsInputQuestion, RuntimeCoordinator, view } from "./runtime-coordinator.ts";import { ENVELOPE_MARK } from "./runtime/envelope.ts";@@ -70,10 +70,10 @@ function fakeHost(script: Script = () => undefined): Host {}interface World { host: Host; coordinator: RuntimeCoordinator; logs: string[] }-function world(script?: Script, runtimeLimits: Partial<Limits> = {}, dataDir = ":memory:"): World {+function world(script?: Script, runtimeLimits: Partial<Limits> = {}, dataDir = ":memory:", handoffLimit?: HandoffLimit): World {const host = fakeHost(script);const logs: string[] = [];- const coordinator = new RuntimeCoordinator({ dataDir, host, runtimeLimits, log: line => logs.push(line) });+ const coordinator = new RuntimeCoordinator({ dataDir, host, runtimeLimits, log: line => logs.push(line), ...(handoffLimit ? { handoffLimit } : {}) });return { host, coordinator, logs };}@@ -258,6 +258,17 @@ describe("RuntimeCoordinator: the requesting turn and its tree", () => {expect(w.coordinator.active()).toEqual([]);});+ it("refuses a hand-off a plan's limit refuses, counting the hand-offs still open, and hands out nothing", () => {+ const counted: number[] = [];+ const w = world(hold, {}, ":memory:", { refusal: (botId, open) => { counted.push(open()); return botId === "tester" || open() >= 2 ? `no room for ${botId}` : null; } });+ send(w, chief, "gen-1", undefined, builder, "Build it");+ expect(() => send(w, chief, "gen-1", undefined, tester, "Test it")).toThrow("no room for tester");+ send(w, chief, "gen-1", undefined, inRoom("helper", "g1", "helper-work"), "Help");+ expect(() => send(w, chief, "gen-1", undefined, { botId: "writer", threadId: "writer-work" }, "Write it")).toThrow("no room for writer");+ expect(counted.slice(-1)).toEqual([2]);+ expect(w.coordinator.active().filter(n => n.parentId).map(n => n.botId)).toEqual(["builder", "helper"]);+ });+it("runningIn() is active()'s running nodes in that thread", async () => {const w = world(hold);const same = () => { for (const threadId of ["chief-chat", node.threadId, "nobody"]) expect(w.coordinator.runningIn(threadId)).toEqual(w.coordinator.active().filter(n => n.threadId === threadId && n.status === "running")); };diff --git a/server/runtime-coordinator.ts b/server/runtime-coordinator.tsindex 3aae41389d..3a9cb4eb7a 100644--- a/server/runtime-coordinator.ts+++ b/server/runtime-coordinator.ts@@ -1,6 +1,6 @@import { join } from "node:path";-import type { BeginTurnRequest, Coordinator, CoordinatorHost, CoordinatorOptions, HandoffOptions, HandoffView, HostTurnResult, LiveHandoffEdge, RoomAddress } from "./coordinator.ts";+import type { BeginTurnRequest, Coordinator, CoordinatorHost, CoordinatorOptions, HandoffLimit, HandoffOptions, HandoffView, HostTurnResult, LiveHandoffEdge, RoomAddress } from "./coordinator.ts";import type { WorkOrigin } from "./peer-provenance.ts";import { composeEnvelope, composeQuestion, composeReport, composeResume, composeRootTurn, continuationLine, envelopeNote } from "./runtime/envelope.ts";import { Runtime } from "./runtime/runtime.ts";@@ -135,6 +135,7 @@ const JOINED_NOTE = "Another teammate asked this a moment ago, so it was answereexport class RuntimeCoordinator implements Coordinator {private readonly host: CoordinatorHost;+ private readonly handoffLimit: HandoffLimit | undefined;private readonly store: RuntimeStore;private readonly runtime: Runtime;private readonly legacyFile: string | undefined;@@ -149,6 +150,7 @@ export class RuntimeCoordinator implements Coordinator {constructor(options: CoordinatorOptions) {this.host = options.host;+ this.handoffLimit = options.handoffLimit;this.legacyDir = options.dataDir === ":memory:" ? undefined : options.dataDir;this.legacyFile = this.legacyDir === undefined ? undefined : join(this.legacyDir, "room-handoffs.json");this.legacyThreads = options.legacyThreads;@@ -241,6 +243,8 @@ export class RuntimeCoordinator implements Coordinator {const siblings = this.store.children(parent.id);const existing = siblings.findLast(c => c.assignee.botId === target.botId && c.assignee.destination.groupId === target.groupId && c.brief === brief && c.mode === mode);if (existing && !(rework && isTerminal(existing))) return { node: view(existing, parent), duplicate: true };+ const limited = this.handoffLimit?.refusal(target.botId, () => this.live().filter(a => a.parentId !== undefined).length);+ if (limited) throw new Error(limited);if (mode === "work" && !rework && siblings.some(c => c.mode === "work" && kindOf(c.assignee.destination.groupId, parent) === kind &&c.assignee.destination.groupId === target.groupId && c.assignee.botId === target.botId && c.status === "completed")) throw new Error(ALREADY_COMPLETED);if (kind === "work" && target.groupId && lineage.some(n => n.assignee.destination.groupId === target.groupId)) throw new Error(ROOM_ANCESTOR);diff --git a/shared/bot-limit.ts b/shared/bot-limit.tsindex ffc1f2566d..dcdb2ff0fd 100644--- a/shared/bot-limit.ts+++ b/shared/bot-limit.ts@@ -3,6 +3,9 @@ import type { DefaultBotFields } from "./default-bot.ts";/** The code on a refused creation, `409 { error, code }`: this plan has no room for it. `error` is plain text any client can show. */export const BOT_LIMIT_CODE = "bot_limit";+/** The code on a turn refused because its bot is paused: a Starter Cloud keeps only so many bots awake. */+export const BOT_PAUSED_CODE = "bot_paused";+export interface BotLimitRefusal { error: string; code: typeof BOT_LIMIT_CODE }/** The bots a plan's limit counts. A place's MausBot comes with it; an archived bot or one that moved away isn't at work here. */diff --git a/src/components/AwakeBotsPicker.tsx b/src/components/AwakeBotsPicker.tsxnew file mode 100644index 0000000000..1afa9e3a60--- /dev/null+++ b/src/components/AwakeBotsPicker.tsx@@ -0,0 +1,72 @@+import { useState } from "react";+import { Check } from "lucide-react";+import { awakeCandidates, showBotLimit } from "@/lib/bot-limit";+import { cn } from "@/lib/cn";+import { t } from "@/lib/i18n";+import { api } from "@/state/api";+import { useStore } from "@/state/store";+import { BotAvatar } from "./Avatar";+import { PRIMARY_BUTTON } from "./NoticeCard";++/** Which of a Starter Cloud's bots stay awake: the plan's number of them, the rest paused until swapped in or an upgrade. */+export function AwakeBotsPicker({ limit, onSaved }: { limit: number; onSaved: () => void }) {+ const { state } = useStore();+ const bots = awakeCandidates(state.bots);+ const paused = new Set(state.config?.pausedBots ?? []);+ const [chosen, setChosen] = useState<Set<string>>(() => new Set(bots.filter((bot) => !paused.has(bot.id)).map((bot) => bot.id)));+ const [busy, setBusy] = useState(false);+ const [failed, setFailed] = useState(false);+ const wanted = Math.min(limit, bots.length);+ const toggle = (id: string) => setChosen((before) => {+ const next = new Set(before);+ if (next.has(id)) next.delete(id);+ else if (next.size < wanted) next.add(id);+ return next;+ });+ const save = async () => {+ setBusy(true);+ setFailed(false);+ try {+ await api("/api/starter/awake", { method: "POST", body: JSON.stringify({ awake: [...chosen] }) });+ onSaved();+ } catch {+ setFailed(true);+ } finally {+ setBusy(false);+ }+ };++ return (+ <div className="mt-4 w-full text-start" data-awake-bots="">+ <p className="mb-1.5 text-[12px] text-ink-tertiary">{t("botLimit.paused.chosen", { chosen: chosen.size, count: wanted })}</p>+ <ul className="max-h-[220px] overflow-y-auto rounded-md border border-line">+ {bots.map((bot) => {+ const on = chosen.has(bot.id);+ return (+ <li key={bot.id}>+ <button type="button" role="checkbox" aria-checked={on} disabled={!on && chosen.size >= wanted} onClick={() => toggle(bot.id)}+ className="flex w-full items-center gap-2.5 px-3 py-2 text-[14px] hover:bg-surface-hover disabled:opacity-50">+ <BotAvatar bot={bot} size={22} animated={false} />+ <span className="min-w-0 flex-1 truncate">{bot.name}</span>+ {!on && <span className="text-[12px] text-ink-tertiary">{t("botLimit.paused.badge")}</span>}+ {on && <Check size={15} aria-hidden="true" />}+ </button>+ </li>+ );+ })}+ </ul>+ <button type="button" disabled={busy || chosen.size !== wanted} onClick={() => void save()} className={cn(PRIMARY_BUTTON, "mt-3 w-full justify-center")}>+ {t("botLimit.paused.keep")}+ </button>+ {failed && <p role="alert" className="mt-2 text-[12px] text-danger">{t("botLimit.paused.saveFailed")}</p>}+ </div>+ );+}++/** Opens the picker from settings while bots are paused. */+export function PausedBotsButton() {+ const { state } = useStore();+ const paused = state.config?.pausedBots?.length ?? 0;+ if (!paused || state.config?.awakeLimit === undefined) return null;+ return <button type="button" className="ui-button" onClick={() => showBotLimit("paused")}>{t("botLimit.paused.chooseAction", { count: paused })}</button>;+}diff --git a/src/components/BotLimitPopup.test.ts b/src/components/BotLimitPopup.test.tsindex 86a1238131..b02d786f8e 100644--- a/src/components/BotLimitPopup.test.ts+++ b/src/components/BotLimitPopup.test.ts@@ -5,7 +5,9 @@ import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";const fixture = vi.hoisted(() => ({ state: { config: { cloudHome: true, botLimit: 5 } as Record<string, unknown>, bots: [] as unknown[] } }));vi.mock("@/state/store", () => ({ useStore: () => ({ state: fixture.state, dispatch: vi.fn() }) }));-vi.mock("./Avatar", () => ({ MausAvatar: () => createElement("i", { "data-mark": "" }) }));+vi.mock("./Avatar", () => ({ MausAvatar: () => createElement("i", { "data-mark": "" }), BotAvatar: () => createElement("i", { "data-avatar": "" }) }));+const posted = vi.hoisted(() => [] as Array<{ path: string; body: unknown }>);+vi.mock("@/state/api", () => ({ api: vi.fn(async (path: string, init?: { body?: string }) => { posted.push({ path, body: init?.body ? JSON.parse(init.body) : undefined }); return {}; }) }));vi.mock("@/lib/app-links", async (original) => ({ ...await original<typeof import("@/lib/app-links")>(), openExternalLink: vi.fn(async () => {}) }));import { botLimitShown, closeBotLimit, showBotLimit } from "@/lib/bot-limit";@@ -33,10 +35,10 @@ function bridge(snapshot: Record<string, unknown>) {upgrade: vi.fn(async (plan: string) => ({ outcome: "upgraded", tier: plan })),};}-async function open(plan?: ReturnType<typeof bridge>) {+async function open(plan?: ReturnType<typeof bridge>, reason?: "tasks" | "paused") {(window as unknown as { ogb?: unknown }).ogb = plan ? { cloudPlan: plan } : undefined;await act(async () => { root.render(createElement(BotLimitPopup)); });- await act(async () => { showBotLimit(); });+ await act(async () => { showBotLimit(reason); });await act(async () => {});}@@ -150,3 +152,38 @@ describe("the bot limit popup", () => {expect(dialog(), "back to the card").not.toBeNull();});});++describe("the popup for Starter's other limits", () => {+ it("says Starter runs two tasks at once when work handed out was refused, with the upgrade", async () => {+ fixture.state = { config: { cloudHome: true, botLimit: 5, planTurns: { running: 2, waiting: 4 } }, bots: made(3) };+ await open(bridge({ status: "paid", tier: "starter", usage: STARTER }), "tasks");+ expect(dialog()!.querySelector("h2")?.textContent).toBe("Starter runs 2 tasks at once");+ expect(dialog()!.querySelector("p")?.textContent).toContain("Upgrade to run more at once");+ expect(buttons()).toContain("Upgrade to Pro · $49/month");+ });++ it("opens by itself when a config frame says work was just refused, and not for a refusal from before", async () => {+ fixture.state = { config: { cloudHome: true, botLimit: 5, planTurns: { running: 2, waiting: 4, refusedAt: 1, refused: "tasks" } }, bots: made(3) };+ await act(async () => { root.render(createElement(BotLimitPopup)); });+ expect(dialog()).toBeNull();+ fixture.state = { config: { cloudHome: true, botLimit: 5, planTurns: { running: 2, waiting: 4, refusedAt: 2, refused: "tasks" } }, bots: made(3) };+ await act(async () => { root.render(createElement(BotLimitPopup)); });+ expect(dialog()!.querySelector("h2")?.textContent).toBe("Starter runs 2 tasks at once");+ });++ it("lets the person choose which five stay awake, and saves exactly five", async () => {+ posted.length = 0;+ fixture.state = { config: { cloudHome: true, botLimit: 5, awakeLimit: 5, pausedBots: ["b5", "b6"] }, bots: made(7).map((bot) => ({ ...bot, name: bot.id })) };+ await open(bridge({ status: "paid", tier: "starter", usage: STARTER }), "paused");+ expect(dialog()!.querySelector("h2")?.textContent).toBe("Starter keeps 5 bots awake");+ const picker = dialog()!.querySelector("[data-awake-bots]")!;+ expect(picker.textContent).toContain("5 of 5 chosen");+ const row = (id: string) => [...picker.querySelectorAll<HTMLButtonElement>('[role="checkbox"]')].find((node) => node.textContent?.includes(id))!;+ expect([row("b5").disabled, row("b0").getAttribute("aria-checked")]).toEqual([true, "true"]);+ await act(async () => { row("b0").click(); });+ await act(async () => { row("b5").click(); });+ await press("Keep these awake", picker);+ expect(posted).toEqual([{ path: "/api/starter/awake", body: { awake: ["b1", "b2", "b3", "b4", "b5"] } }]);+ expect(botLimitShown()).toBe(false);+ });+});diff --git a/src/components/BotLimitPopup.tsx b/src/components/BotLimitPopup.tsxindex 241a7db593..206532d7d7 100644--- a/src/components/BotLimitPopup.tsx+++ b/src/components/BotLimitPopup.tsx@@ -1,13 +1,14 @@-import { useEffect, useState } from "react";+import { useEffect, useRef, useState } from "react";import { createPortal } from "react-dom";import { ArrowUpRight, X } from "lucide-react";import { CLOUD_PLAN_URL } from "@/lib/app-links";-import { botRoom, closeBotLimit, useBotLimitOpen } from "@/lib/bot-limit";+import { botRoom, closeBotLimit, planRefusal, showBotLimit, useBotLimitReason, type BotLimitReason } from "@/lib/bot-limit";import { cloudPlanLabel } from "@/lib/cloud-plan";import { cn } from "@/lib/cn";import { t } from "@/lib/i18n";import { useStore } from "@/state/store";import { MausAvatar } from "./Avatar";+import { AwakeBotsPicker } from "./AwakeBotsPicker";import { useCloudPlanSnapshot } from "./CloudTrialNotice";import { NoteLine, UpgradeButton, usageBridge, useUpgrade } from "./CloudUsageMeter";import { LinkButton, NotNowButton, PRIMARY_BUTTON } from "./NoticeCard";@@ -19,10 +20,19 @@ const BODY = "bot-limit-body";const LAYER = "z-[80]";export function BotLimitPopup() {- return useBotLimitOpen() ? <BotLimitDialog onClose={closeBotLimit} /> : null;+ const { state } = useStore();+ const turns = state.config?.planTurns, loaded = Boolean(state.config), seen = useRef<number | undefined | null>(null);+ useEffect(() => {+ if (!loaded) return;+ const next = planRefusal(seen.current, turns);+ seen.current = next.seen;+ if (next.show) showBotLimit(next.show);+ }, [loaded, turns?.refusedAt]);+ const reason = useBotLimitReason();+ return reason ? <BotLimitDialog reason={reason} onClose={closeBotLimit} /> : null;}-function BotLimitDialog({ onClose }: { onClose: () => void }) {+function BotLimitDialog({ reason, onClose }: { reason: BotLimitReason; onClose: () => void }) {const { state } = useStore();const bridge = usageBridge(state.config?.cloudHome === true);const plan = useCloudPlanSnapshot(bridge);@@ -34,8 +44,9 @@ function BotLimitDialog({ onClose }: { onClose: () => void }) {// The Admin tells this Cloud about a new plan within a minute; until then the plan page and this Cloud disagree.const goingThrough = plan?.tier !== undefined && plan.tier !== "starter";const settled = upgraded !== null || goingThrough;- const limit = state.config?.botLimit;+ const limit = state.config?.botLimit, awake = state.config?.awakeLimit;const noRoom = limit !== undefined && botRoom(state) === 0;+ const picking = reason === "paused" && awake !== undefined && !settled;useEffect(() => {document.querySelector<HTMLElement>(`${POPUP} button`)?.focus();@@ -63,7 +74,10 @@ function BotLimitDialog({ onClose }: { onClose: () => void }) {const title = upgraded ? t("usageMeter.done", { plan: cloudPlanLabel(upgraded) }): goingThrough ? t("usageMeter.pending")- : noRoom ? t("botLimit.title", { count: limit }) : t("botLimit.titleTooMany");+ : reason === "tasks" ? t("botLimit.tasks.title", { count: state.config?.planTurns?.running ?? 2 })+ : reason === "paused" ? t("botLimit.paused.title", { count: awake ?? limit ?? 5 })+ : noRoom ? t("botLimit.title", { count: limit }) : t("botLimit.titleTooMany");+ const body = reason === "tasks" ? t("botLimit.tasks.body") : reason === "paused" ? t("botLimit.paused.body", { count: awake ?? limit ?? 5 }) : null;// A person's other Cloud reads its plan but upgrades on its Plan page; a browser tab or a paired device has no bridge at all.const inApp = Boolean(bridge && (usage || plan === null));@@ -74,7 +88,8 @@ function BotLimitDialog({ onClose }: { onClose: () => void }) {className="ui-modal animate-pop-in relative flex w-[min(380px,calc(100vw-32px))] flex-col items-center border-0 px-6 pb-3 pt-8 text-center text-ink motion-reduce:animate-none"><div aria-hidden="true"><MausAvatar color="chrome" size={52} state="idle" animated={false} /></div><h2 id={TITLE} className="mt-5 text-[19px] font-semibold leading-6 tracking-[-0.012em] [text-wrap:balance]">{title}</h2>- {!settled && <p id={BODY} className="mt-1.5 text-[14px] leading-5 text-ink-secondary [text-wrap:pretty]">{t(inApp ? "botLimit.body" : "botLimit.bodyElsewhere")}</p>}+ {!settled && <p id={BODY} className="mt-1.5 text-[14px] leading-5 text-ink-secondary [text-wrap:pretty]">{body ?? t(inApp ? "botLimit.body" : "botLimit.bodyElsewhere")}</p>}+ {picking && <AwakeBotsPicker limit={awake} onSaved={onClose} />}{settled ? (<button type="button" onClick={onClose} className={cn(PRIMARY_BUTTON, "mt-5 w-full justify-center")}>{t("roomCard.gotIt")}</button>) : usage ? (diff --git a/src/components/CloudAccountSettings.tsx b/src/components/CloudAccountSettings.tsxindex 55c8c1aa10..751c0c8db5 100644--- a/src/components/CloudAccountSettings.tsx+++ b/src/components/CloudAccountSettings.tsx@@ -17,6 +17,7 @@ import { CloudSetupSteps } from "./CloudSetupSteps";import { useCloudSendNotice } from "./CloudSendStrip";import { OpenFilesButton } from "./OpenFilesButton";import { useDesktopCapabilities } from "./DesktopCapabilities";+import { PausedBotsButton } from "./AwakeBotsPicker";export { cloudPlanLabel };@@ -160,6 +161,7 @@ export function CloudPlanOnCloud({ bridge, onConnectPhone }: { bridge: CloudPlan{plan?.status === "signin" && bridge.signIn && <button type="button" className="ui-button ui-button-primary" onClick={() => act(() => bridge.signIn!())}>{t("cloudAccount.signInAgain")}</button>}<button type="button" className="ui-button" onClick={() => act(() => bridge.manage())}>{(plan?.trial && !plan.renewal?.cancelled && cloudTrialView(plan.trial).action?.label) || t("cloudAccount.manageInBrowser")}</button>{plan && onConnectPhone && <button type="button" className="ui-button" onClick={onConnectPhone}>{t("cloudPhone.action")}</button>}+ <PausedBotsButton /></div>{plan?.renewal && <CloudCancelPlan renewal={plan.renewal} actions={renewal} onChanged={() => setReads(count => count + 1)} />}{failed && <p role="alert" className="text-[13px] text-danger">{t("cloudAccount.actionFailed")}</p>}diff --git a/src/lib/bot-limit.test.ts b/src/lib/bot-limit.test.tsindex 5eb4e65fbf..caa2bd388d 100644--- a/src/lib/bot-limit.test.ts+++ b/src/lib/bot-limit.test.ts@@ -1,5 +1,5 @@import { afterEach, describe, expect, it } from "vitest";-import { botLimitShown, botRoom, closeBotLimit, isBotLimitRefusal, showBotLimit, stoppedAtBotLimit } from "./bot-limit";+import { awakeCandidates, botLimitReason, botLimitShown, botRoom, closeBotLimit, isBotLimitRefusal, isBotPausedRefusal, planRefusal, showBotLimit, stoppedAtBotLimit } from "./bot-limit";afterEach(closeBotLimit);const state = (botLimit: number | undefined, bots: Array<{ defaultBot?: object; hidden?: boolean; movedTo?: unknown }>) => ({ config: { botLimit }, bots });@@ -45,3 +45,32 @@ describe("a refused request", () => {expect(botLimitShown()).toBe(false);});});++describe("the popup's other plan limits", () => {+ it("says which limit it is about, making bots when nothing says", () => {+ showBotLimit();+ expect(botLimitReason()).toBe("bots");+ showBotLimit("tasks");+ expect(botLimitReason()).toBe("tasks");+ closeBotLimit();+ expect(botLimitReason()).toBeNull();+ });++ it("opens once for each refusal a config frame reports, never for one from before the page opened", () => {+ expect(planRefusal(null, { refusedAt: 10, refused: "tasks" })).toEqual({ seen: 10, show: null });+ expect(planRefusal(10, { refusedAt: 10, refused: "tasks" })).toEqual({ seen: 10, show: null });+ expect(planRefusal(10, { refusedAt: 20, refused: "paused" })).toEqual({ seen: 20, show: "paused" });+ expect(planRefusal(undefined, { refusedAt: 5 })).toEqual({ seen: 5, show: "tasks" });+ expect(planRefusal(20, undefined)).toEqual({ seen: 20, show: null });+ });++ it("knows a paused bot's refusal by its code", () => {+ expect(isBotPausedRefusal({ body: { code: "bot_paused" } })).toBe(true);+ expect(isBotPausedRefusal({ body: { code: "bot_limit" } })).toBe(false);+ });++ it("counts for the awake limit the bots the bot limit counts, the chief of staff aside", () => {+ const bots = [{ id: "a" }, { id: "maus", defaultBot: {} }, { id: "chief", chiefOfStaff: true }, { id: "old", hidden: true }, { id: "b" }];+ expect(awakeCandidates(bots).map((bot) => bot.id)).toEqual(["a", "b"]);+ });+});diff --git a/src/lib/bot-limit.ts b/src/lib/bot-limit.tsindex 0c38728623..b4a18b7c5d 100644--- a/src/lib/bot-limit.ts+++ b/src/lib/bot-limit.ts@@ -1,20 +1,44 @@import { useSyncExternalStore } from "react";-import { BOT_LIMIT_CODE, botsTowardLimit } from "../../shared/bot-limit";+import { BOT_LIMIT_CODE, BOT_PAUSED_CODE, botsTowardLimit } from "../../shared/bot-limit";-let open = false;+/** Which plan limit the popup is about: making bots, work handed out past what runs at once, or a paused bot. */+export type BotLimitReason = "bots" | "tasks" | "paused";++let open: BotLimitReason | null = null;const listeners = new Set<() => void>();-function setOpen(next: boolean): void {+function setOpen(next: BotLimitReason | null): void {if (open === next) return;open = next;for (const listener of listeners) listener();}-export const botLimitShown = () => open;-export const showBotLimit = () => setOpen(true);-export const closeBotLimit = () => setOpen(false);+export const botLimitShown = () => open !== null;+export const botLimitReason = () => open;+export const showBotLimit = (reason: BotLimitReason = "bots") => setOpen(reason);+export const closeBotLimit = () => setOpen(null);++const subscribe = (listener: () => void) => { listeners.add(listener); return () => { listeners.delete(listener); }; };export function useBotLimitOpen(): boolean {- return useSyncExternalStore((listener) => { listeners.add(listener); return () => listeners.delete(listener); }, botLimitShown);+ return useSyncExternalStore(subscribe, botLimitShown);+}++export function useBotLimitReason(): BotLimitReason | null {+ return useSyncExternalStore(subscribe, botLimitReason);+}++/** What a config frame's refusal means for the popup: `seen` is the last refusal noted, null before the first frame, so one+ * from before the page opened never opens it. */+export function planRefusal(seen: number | undefined | null, turns: { refusedAt?: number; refused?: "tasks" | "paused" } | undefined):+ { seen: number | undefined; show: BotLimitReason | null } {+ const at = turns?.refusedAt;+ if (seen === null || at === undefined || at === seen) return { seen: seen === null ? at : seen, show: null };+ return { seen: at, show: turns?.refused ?? "tasks" };+}++/** The bots a Starter Cloud's awake limit counts: the limit's own, its chief of staff aside, which never sleeps. */+export function awakeCandidates<T extends Parameters<typeof botsTowardLimit>[0][number] & { chiefOfStaff?: boolean }>(bots: readonly T[]): T[] {+ return bots.filter((bot) => botsTowardLimit([bot]) === 1 && !bot.chiefOfStaff);}type LimitFacts = { config?: { botLimit?: number } | null; bots: Parameters<typeof botsTowardLimit>[0] };@@ -35,3 +59,7 @@ export function stoppedAtBotLimit(state: LimitFacts): boolean {export function isBotLimitRefusal(error: unknown): boolean {return (error as { body?: { code?: unknown } } | null | undefined)?.body?.code === BOT_LIMIT_CODE;}++export function isBotPausedRefusal(error: unknown): boolean {+ return (error as { body?: { code?: unknown } } | null | undefined)?.body?.code === BOT_PAUSED_CODE;+}diff --git a/src/locales/de.json b/src/locales/de.jsonindex 6195c140a9..72c2037f5b 100644--- a/src/locales/de.json+++ b/src/locales/de.json@@ -197,6 +197,9 @@"server.memory.wait": "Wartet auf Arbeitsspeicher in dieser Cloud. Läuft gerade: {running}. Davor in der Reihe: {ahead}. Startet von selbst, sobald Platz ist.","server.memory.still": "Wartet weiter auf Arbeitsspeicher. Läuft gerade: {running}. Davor in der Reihe: {ahead}.","server.memory.starter": "Starter hat Platz für etwa eine Aufgabe gleichzeitig. Ein größerer Plan führt mehr gleichzeitig aus.",+ "server.planTurns.wait": "Wartet auf einen Platz: Starter führt auf dieser Cloud {limit} Aufgaben gleichzeitig aus. Davor in der Reihe: {ahead}. Es startet von selbst, sobald eine fertig ist, und ein größerer Plan führt mehr gleichzeitig aus.",+ "server.planTurns.still": "Wartet noch: Starter führt {limit} Aufgaben gleichzeitig aus. Davor in der Reihe: {ahead}.",+ "server.botPaused": "Pausiert: Starter hält {limit} Bots wach. Führe ein Upgrade durch, um ihn zu wecken, oder tausche, welche Bots wach sind.","server.teammates.queued.thread": "{bot} hat damit noch nicht begonnen: Ein früherer Durchlauf in diesem Thread läuft noch.","server.teammates.queued.slots": "{bot} hat damit noch nicht begonnen: Es laufen bereits {busy} von {limit} Threads gleichzeitig.","server.teammates.queued.room": "{bot} hat damit noch nicht begonnen: Es beendet gerade einen Durchlauf in einem Raum.",@@ -2633,6 +2636,15 @@"botLimit.body": "Um weitere zu erstellen, stufe diese Cloud hoch. Alle deine Bots bleiben, wie sie sind.","botLimit.bodyElsewhere": "Um weitere zu erstellen, stufe diese Cloud auf ihrer Tarifseite hoch. Alle deine Bots bleiben, wie sie sind.","botLimit.openPlan": "Tarifseite öffnen",+ "botLimit.tasks.title": "Starter führt {count} Aufgaben gleichzeitig aus",+ "botLimit.tasks.body": "Deine Bots wollten mehr Arbeit verteilen, als diese Cloud fasst, daher wurde ein Teil nicht gestartet. Mit einem Upgrade läuft mehr gleichzeitig.",+ "botLimit.paused.title": "Starter hält {count} Bots wach",+ "botLimit.paused.body": "Die anderen sind pausiert, mit allem, was sie wissen. Wähle, welche {count} wach bleiben, oder führe ein Upgrade durch, um alle zu wecken.",+ "botLimit.paused.keep": "Diese wach halten",+ "botLimit.paused.chosen": "{chosen} von {count} ausgewählt",+ "botLimit.paused.badge": "Pausiert",+ "botLimit.paused.saveFailed": "Konnte nicht gespeichert werden. Versuch es noch einmal.",+ "botLimit.paused.chooseAction": "Wache Bots wählen ({count} pausiert)","chat.compactionExcerptTitle": "Früherer Kontext auf aktuelle Auszüge gekürzt","chat.compactionExcerptHint": "Es gab keine geschriebene Zusammenfassung, deshalb macht der Agent mit diesen Auszügen und den letzten Nachrichten weiter. Ältere Details können in seinem Kontext fehlen. Dein ganzes Gespräch ist weiterhin hier.","chat.turnStoppedByYou": "Du hast das gestoppt.",diff --git a/src/locales/en.json b/src/locales/en.jsonindex 6cc4239413..775f073a84 100644--- a/src/locales/en.json+++ b/src/locales/en.json@@ -311,6 +311,9 @@"server.memory.wait": "Waiting for memory on this Cloud. Running now: {running}. Ahead of this one: {ahead}. It starts by itself when there's room.","server.memory.still": "Still waiting for memory. Running now: {running}. Ahead of this one: {ahead}.","server.memory.starter": "Starter has room for about one task at a time. A bigger plan runs more at once.",+ "server.planTurns.wait": "Waiting for a turn: Starter runs {limit} tasks at once on this Cloud. Ahead of this one: {ahead}. It starts by itself when one finishes, and a bigger plan runs more at once.",+ "server.planTurns.still": "Still waiting: Starter runs {limit} tasks at once. Ahead of this one: {ahead}.",+ "server.botPaused": "Paused: Starter keeps {limit} bots awake. Upgrade to wake it, or swap which bots are awake.","server.teammates.queued.thread": "{bot} hasn't started this yet: an earlier turn in that thread is still running.","server.teammates.queued.slots": "{bot} hasn't started this yet: it's already running {busy} of {limit} threads at once.","server.teammates.queued.room": "{bot} hasn't started this yet: it's finishing a turn in a room.",@@ -7484,6 +7487,15 @@"botLimit.body": "To create more, upgrade this Cloud. Every bot you have stays as it is.","botLimit.bodyElsewhere": "To create more, upgrade this Cloud on its Plan page. Every bot you have stays as it is.","botLimit.openPlan": "Open the Plan page",+ "botLimit.tasks.title": "Starter runs {count} tasks at once",+ "botLimit.tasks.body": "Your bots tried to hand out more work than this Cloud holds, so some of it wasn't started. Upgrade to run more at once.",+ "botLimit.paused.title": "Starter keeps {count} bots awake",+ "botLimit.paused.body": "The others are paused, with everything they know kept. Choose which {count} stay awake, or upgrade to wake them all.",+ "botLimit.paused.keep": "Keep these awake",+ "botLimit.paused.chosen": "{chosen} of {count} chosen",+ "botLimit.paused.badge": "Paused",+ "botLimit.paused.saveFailed": "Couldn't save that. Try again.",+ "botLimit.paused.chooseAction": "Choose awake bots ({count} paused)","roomCard.restartNow": "Restart now","roomCard.restartHint": "Takes about a minute, and stops anything running now.","roomCard.restarting": "Restarting this Cloud with its new size. It's back in about a minute.",diff --git a/src/locales/es.json b/src/locales/es.jsonindex dd46b4bbde..73bea372a9 100644--- a/src/locales/es.json+++ b/src/locales/es.json@@ -199,6 +199,9 @@"server.memory.wait": "Esperando memoria en este Cloud. En marcha ahora: {running}. Por delante: {ahead}. Empieza sola cuando haya espacio.","server.memory.still": "Sigue esperando memoria. En marcha ahora: {running}. Por delante: {ahead}.","server.memory.starter": "Starter tiene espacio para una tarea a la vez, más o menos. Un plan mayor ejecuta más a la vez.",+ "server.planTurns.wait": "Esperando turno: Starter ejecuta {limit} tareas a la vez en esta Cloud. Delante de esta: {ahead}. Empieza sola cuando termine una, y un plan mayor ejecuta más a la vez.",+ "server.planTurns.still": "Sigue esperando: Starter ejecuta {limit} tareas a la vez. Delante de esta: {ahead}.",+ "server.botPaused": "En pausa: Starter mantiene {limit} bots despiertos. Mejora el plan para despertarlo o cambia qué bots están despiertos.","server.teammates.queued.thread": "{bot} aún no ha empezado esto: sigue en marcha un turno anterior de ese hilo.","server.teammates.queued.slots": "{bot} aún no ha empezado esto: ya ejecuta {busy} de {limit} hilos a la vez.","server.teammates.queued.room": "{bot} aún no ha empezado esto: está terminando un turno en una sala.",@@ -5661,6 +5664,15 @@"botLimit.body": "Para crear más, mejora el plan de esta Cloud. Todos tus bots seguirán como están.","botLimit.bodyElsewhere": "Para crear más, mejora el plan de esta Cloud en su página del plan. Todos tus bots seguirán como están.","botLimit.openPlan": "Abrir la página del plan",+ "botLimit.tasks.title": "Starter ejecuta {count} tareas a la vez",+ "botLimit.tasks.body": "Tus bots intentaron repartir más trabajo del que cabe en esta Cloud, así que parte no se inició. Mejora el plan para ejecutar más a la vez.",+ "botLimit.paused.title": "Starter mantiene {count} bots despiertos",+ "botLimit.paused.body": "Los demás están en pausa y conservan todo lo que saben. Elige cuáles {count} siguen despiertos, o mejora el plan para despertarlos a todos.",+ "botLimit.paused.keep": "Mantener estos despiertos",+ "botLimit.paused.chosen": "{chosen} de {count} elegidos",+ "botLimit.paused.badge": "En pausa",+ "botLimit.paused.saveFailed": "No se pudo guardar. Inténtalo de nuevo.",+ "botLimit.paused.chooseAction": "Elegir bots despiertos ({count} en pausa)","voice.search": "Busca voces o pega un enlace","voice.noMatches": "Ninguna voz coincide","voice.noMatchesHint": "Prueba con otro nombre o pega un enlace a la voz.",diff --git a/src/locales/fr.json b/src/locales/fr.jsonindex 63833a0eca..46eb631ac2 100644--- a/src/locales/fr.json+++ b/src/locales/fr.json@@ -169,6 +169,9 @@"server.memory.wait": "En attente de mémoire sur ce Cloud. En cours : {running}. Avant celle-ci : {ahead}. Elle démarre d'elle-même dès qu'il y a de la place.","server.memory.still": "Toujours en attente de mémoire. En cours : {running}. Avant celle-ci : {ahead}.","server.memory.starter": "Starter a de la place pour environ une tâche à la fois. Un plan supérieur en exécute davantage en même temps.",+ "server.planTurns.wait": "En attente d'une place : Starter exécute {limit} tâches à la fois sur ce Cloud. Avant celle-ci : {ahead}. Elle démarre d'elle-même dès qu'une se termine, et un plan supérieur en exécute davantage en même temps.",+ "server.planTurns.still": "Toujours en attente : Starter exécute {limit} tâches à la fois. Avant celle-ci : {ahead}.",+ "server.botPaused": "En pause : Starter garde {limit} bots éveillés. Passez à un plan supérieur pour le réveiller, ou changez les bots éveillés.","server.teammates.queued.thread": "{bot} n'a pas encore commencé : un tour précédent de ce fil est toujours en cours.","server.teammates.queued.slots": "{bot} n'a pas encore commencé : {busy} fils sur {limit} sont déjà en cours en même temps.","server.teammates.queued.room": "{bot} n'a pas encore commencé : il termine un tour dans un salon.",@@ -2564,6 +2567,15 @@"botLimit.body": "Pour en créer d'autres, passez ce Cloud au forfait supérieur. Tous vos bots restent tels quels.","botLimit.bodyElsewhere": "Pour en créer d'autres, passez ce Cloud au forfait supérieur sur sa page Forfait. Tous vos bots restent tels quels.","botLimit.openPlan": "Ouvrir la page Forfait",+ "botLimit.tasks.title": "Starter exécute {count} tâches à la fois",+ "botLimit.tasks.body": "Vos bots ont voulu distribuer plus de travail que ce Cloud n'en contient, donc une partie n'a pas démarré. Passez à un plan supérieur pour en exécuter davantage en même temps.",+ "botLimit.paused.title": "Starter garde {count} bots éveillés",+ "botLimit.paused.body": "Les autres sont en pause et gardent tout ce qu'ils savent. Choisissez les {count} qui restent éveillés, ou passez à un plan supérieur pour tous les réveiller.",+ "botLimit.paused.keep": "Garder ceux-ci éveillés",+ "botLimit.paused.chosen": "{chosen} sur {count} choisis",+ "botLimit.paused.badge": "En pause",+ "botLimit.paused.saveFailed": "Impossible d'enregistrer. Réessayez.",+ "botLimit.paused.chooseAction": "Choisir les bots éveillés ({count} en pause)","chat.compactionExcerptTitle": "Contexte antérieur réduit à des extraits récents","chat.compactionExcerptHint": "Aucun résumé rédigé n'était disponible : l'agent continue donc à partir de ces extraits et des messages récents. Des détails plus anciens peuvent manquer dans son contexte. Toute votre conversation est toujours là.","chat.turnStoppedByYou": "Vous l'avez arrêté.",diff --git a/src/locales/hi.json b/src/locales/hi.jsonindex 9d9ff2ebdb..e0ccf79af5 100644--- a/src/locales/hi.json+++ b/src/locales/hi.json@@ -169,6 +169,9 @@"server.memory.wait": "इस Cloud पर मेमोरी का इंतज़ार है। अभी चल रहे हैं: {running}। इससे आगे: {ahead}। जगह मिलते ही यह अपने आप शुरू होगा।","server.memory.still": "अभी भी मेमोरी का इंतज़ार है। अभी चल रहे हैं: {running}। इससे आगे: {ahead}।","server.memory.starter": "Starter में एक समय में लगभग एक काम की जगह होती है। बड़ा प्लान एक साथ ज़्यादा चलाता है।",+ "server.planTurns.wait": "बारी का इंतज़ार: इस Cloud पर Starter एक साथ {limit} काम चलाता है। इससे आगे: {ahead}। एक काम ख़त्म होते ही यह अपने आप शुरू होगा, और बड़ा प्लान एक साथ ज़्यादा चलाता है।",+ "server.planTurns.still": "अब भी इंतज़ार: Starter एक साथ {limit} काम चलाता है। इससे आगे: {ahead}।",+ "server.botPaused": "रुका हुआ: Starter {limit} बॉट जगाए रखता है। इसे जगाने के लिए अपग्रेड करें, या बदलें कि कौन से बॉट जगे रहें।","server.teammates.queued.thread": "{bot} ने इसे अभी शुरू नहीं किया: उस थ्रेड का पिछला काम अभी चल रहा है।","server.teammates.queued.slots": "{bot} ने इसे अभी शुरू नहीं किया: वह पहले से {limit} में से {busy} थ्रेड एक साथ चला रहा है।","server.teammates.queued.room": "{bot} ने इसे अभी शुरू नहीं किया: वह एक रूम में अपना काम पूरा कर रहा है।",@@ -2564,6 +2567,15 @@"botLimit.body": "और बनाने के लिए इस Cloud को अपग्रेड करें। आपके सभी बॉट जैसे हैं वैसे ही रहेंगे।","botLimit.bodyElsewhere": "और बनाने के लिए इस Cloud को उसके प्लान पेज पर अपग्रेड करें। आपके सभी बॉट जैसे हैं वैसे ही रहेंगे।","botLimit.openPlan": "प्लान पेज खोलें",+ "botLimit.tasks.title": "Starter एक साथ {count} काम चलाता है",+ "botLimit.tasks.body": "आपके बॉट इस Cloud की क्षमता से ज़्यादा काम बाँटना चाहते थे, इसलिए कुछ शुरू नहीं हुआ। एक साथ ज़्यादा चलाने के लिए अपग्रेड करें।",+ "botLimit.paused.title": "Starter {count} बॉट जगाए रखता है",+ "botLimit.paused.body": "बाकी बॉट रुके हुए हैं, उनकी सारी जानकारी सुरक्षित है। चुनें कि कौन से {count} जगे रहें, या सबको जगाने के लिए अपग्रेड करें।",+ "botLimit.paused.keep": "इन्हें जगाए रखें",+ "botLimit.paused.chosen": "{count} में से {chosen} चुने गए",+ "botLimit.paused.badge": "रुका हुआ",+ "botLimit.paused.saveFailed": "सेव नहीं हो सका। फिर से कोशिश करें।",+ "botLimit.paused.chooseAction": "जगे रहने वाले बॉट चुनें ({count} रुके हुए)","chat.compactionExcerptTitle": "पिछला संदर्भ हाल के अंशों तक छोटा किया गया","chat.compactionExcerptHint": "लिखित सारांश उपलब्ध नहीं था, इसलिए एजेंट इन अंशों और हाल के संदेशों से आगे बढ़ता है। पुराने विवरण उसके संदर्भ से छूट सकते हैं। आपकी पूरी बातचीत अब भी यहीं है।","chat.turnStoppedByYou": "आपने इसे रोका।",diff --git a/src/locales/it.json b/src/locales/it.jsonindex 883f575c2c..de8fe5c0b0 100644--- a/src/locales/it.json+++ b/src/locales/it.json@@ -205,6 +205,9 @@"server.memory.wait": "In attesa di memoria su questo Cloud. In esecuzione ora: {running}. Prima di questa: {ahead}. Parte da sola appena c'è spazio.","server.memory.still": "Ancora in attesa di memoria. In esecuzione ora: {running}. Prima di questa: {ahead}.","server.memory.starter": "Starter ha spazio per circa un'attività alla volta. Un piano più grande ne esegue di più insieme.",+ "server.planTurns.wait": "In attesa di un posto: Starter esegue {limit} attività alla volta su questo Cloud. Prima di questa: {ahead}. Parte da sola appena una finisce, e un piano più grande ne esegue di più insieme.",+ "server.planTurns.still": "Ancora in attesa: Starter esegue {limit} attività alla volta. Prima di questa: {ahead}.",+ "server.botPaused": "In pausa: Starter tiene svegli {limit} bot. Passa a un piano superiore per svegliarlo, oppure cambia quali bot restano svegli.","server.teammates.queued.thread": "{bot} non ha ancora iniziato: un turno precedente in quel thread è ancora in corso.","server.teammates.queued.slots": "{bot} non ha ancora iniziato: sta già eseguendo {busy} thread su {limit} insieme.","server.teammates.queued.room": "{bot} non ha ancora iniziato: sta finendo un turno in una stanza.",@@ -6297,6 +6300,15 @@"botLimit.body": "Per crearne altri, passa questo Cloud a un piano superiore. Tutti i tuoi bot restano come sono.","botLimit.bodyElsewhere": "Per crearne altri, passa questo Cloud a un piano superiore dalla pagina del piano. Tutti i tuoi bot restano come sono.","botLimit.openPlan": "Apri la pagina del piano",+ "botLimit.tasks.title": "Starter esegue {count} attività alla volta",+ "botLimit.tasks.body": "I tuoi bot hanno provato a distribuire più lavoro di quanto questo Cloud possa contenere, quindi una parte non è partita. Passa a un piano superiore per eseguirne di più insieme.",+ "botLimit.paused.title": "Starter tiene svegli {count} bot",+ "botLimit.paused.body": "Gli altri sono in pausa e conservano tutto ciò che sanno. Scegli quali {count} restano svegli, oppure passa a un piano superiore per svegliarli tutti.",+ "botLimit.paused.keep": "Tieni svegli questi",+ "botLimit.paused.chosen": "{chosen} di {count} scelti",+ "botLimit.paused.badge": "In pausa",+ "botLimit.paused.saveFailed": "Impossibile salvare. Riprova.",+ "botLimit.paused.chooseAction": "Scegli i bot svegli ({count} in pausa)","inbox.from": "Da {name}","inbox.via": "tramite {name}","inbox.in": "in {title}",diff --git a/src/locales/ja.json b/src/locales/ja.jsonindex a5b714a0b9..d85fca018a 100644--- a/src/locales/ja.json+++ b/src/locales/ja.json@@ -256,6 +256,9 @@"server.memory.wait": "この Cloud のメモリが空くのを待っています。実行中: {running}。この前に待っている数: {ahead}。空きができると自動で始まります。","server.memory.still": "まだメモリが空くのを待っています。実行中: {running}。この前に待っている数: {ahead}。","server.memory.starter": "Starter で一度に実行できるタスクはおよそ 1 つです。より大きなプランでは同時にもっと実行できます。",+ "server.planTurns.wait": "順番待ち: この Cloud の Starter では同時に {limit} 件のタスクを実行します。前に {ahead} 件あります。1 件終わると自動で始まります。より大きなプランなら同時にもっと実行できます。",+ "server.planTurns.still": "まだ待機中: Starter では同時に {limit} 件のタスクを実行します。前に {ahead} 件あります。",+ "server.botPaused": "一時停止中: Starter で起動しておけるボットは {limit} 体です。アップグレードして起こすか、起動しておくボットを入れ替えてください。","server.teammates.queued.thread": "{bot} はまだこれを始めていません。そのスレッドの前のターンが実行中です。","server.teammates.queued.slots": "{bot} はまだこれを始めていません。すでに {limit} 個中 {busy} 個のスレッドを同時に実行しています。","server.teammates.queued.room": "{bot} はまだこれを始めていません。ルームでのターンを終えるところです。",@@ -7334,6 +7337,15 @@"botLimit.body": "さらに作成するには、この Cloud をアップグレードしてください。今あるボットはそのまま残ります。","botLimit.bodyElsewhere": "さらに作成するには、プランページでこの Cloud をアップグレードしてください。今あるボットはそのまま残ります。","botLimit.openPlan": "プランページを開く",+ "botLimit.tasks.title": "Starter では同時に {count} 件のタスクを実行します",+ "botLimit.tasks.body": "ボットがこの Cloud で扱える以上の作業を割り振ろうとしたため、一部は開始されませんでした。アップグレードすると同時にもっと実行できます。",+ "botLimit.paused.title": "Starter で起動しておけるボットは {count} 体です",+ "botLimit.paused.body": "ほかのボットは一時停止中で、覚えていることはすべて保たれています。起動しておく {count} 体を選ぶか、アップグレードしてすべて起こしてください。",+ "botLimit.paused.keep": "この組み合わせで起動しておく",+ "botLimit.paused.chosen": "{count} 体中 {chosen} 体を選択",+ "botLimit.paused.badge": "一時停止中",+ "botLimit.paused.saveFailed": "保存できませんでした。もう一度お試しください。",+ "botLimit.paused.chooseAction": "起動しておくボットを選ぶ({count} 体が一時停止中)","approval.yourComputer.browserSite": "{site} にサインインしているあなたの {app} を使う必要があります。今回だけ許可しますか?","approval.yourComputer.browser": "サインインしているあなたの {app} を使う必要があります。今回だけ許可しますか?","approval.yourComputer.site": "{site} にサインインしているあなたのブラウザーを使う必要があります。今回だけ許可しますか?",diff --git a/src/locales/ko.json b/src/locales/ko.jsonindex 0b8eeb5d35..6f1b529fbd 100644--- a/src/locales/ko.json+++ b/src/locales/ko.json@@ -249,6 +249,9 @@"server.memory.wait": "이 Cloud의 메모리를 기다리는 중이에요. 지금 실행 중: {running}. 앞선 작업: {ahead}. 자리가 나면 자동으로 시작돼요.","server.memory.still": "아직 메모리를 기다리는 중이에요. 지금 실행 중: {running}. 앞선 작업: {ahead}.","server.memory.starter": "Starter는 한 번에 작업 하나 정도를 실행할 수 있어요. 더 큰 요금제는 동시에 더 많이 실행해요.",+ "server.planTurns.wait": "차례를 기다리는 중: 이 Cloud의 Starter는 작업을 한 번에 {limit}개 실행해요. 앞에 {ahead}개가 있어요. 하나가 끝나면 자동으로 시작되고, 더 큰 요금제는 동시에 더 많이 실행해요.",+ "server.planTurns.still": "아직 기다리는 중: Starter는 작업을 한 번에 {limit}개 실행해요. 앞에 {ahead}개가 있어요.",+ "server.botPaused": "일시 중지됨: Starter는 봇 {limit}개만 깨어 있게 해요. 업그레이드해서 깨우거나, 깨어 있을 봇을 바꾸세요.","server.teammates.queued.thread": "{bot}이(가) 아직 시작하지 않았어요. 그 스레드의 이전 작업이 아직 실행 중이에요.","server.teammates.queued.slots": "{bot}이(가) 아직 시작하지 않았어요. 이미 스레드 {limit}개 중 {busy}개를 동시에 실행 중이에요.","server.teammates.queued.room": "{bot}이(가) 아직 시작하지 않았어요. 룸에서 작업을 마무리하는 중이에요.",@@ -6993,6 +6996,15 @@"botLimit.body": "더 만들려면 이 Cloud를 업그레이드하세요. 지금 있는 봇은 모두 그대로 남아요.","botLimit.bodyElsewhere": "더 만들려면 요금제 페이지에서 이 Cloud를 업그레이드하세요. 지금 있는 봇은 모두 그대로 남아요.","botLimit.openPlan": "요금제 페이지 열기",+ "botLimit.tasks.title": "Starter는 작업을 한 번에 {count}개 실행해요",+ "botLimit.tasks.body": "봇들이 이 Cloud가 감당할 수 있는 것보다 많은 작업을 나눠 주려고 해서 일부는 시작되지 않았어요. 업그레이드하면 동시에 더 많이 실행할 수 있어요.",+ "botLimit.paused.title": "Starter는 봇 {count}개만 깨어 있게 해요",+ "botLimit.paused.body": "나머지 봇은 일시 중지되었고, 알고 있는 내용은 모두 그대로 있어요. 깨어 있을 봇 {count}개를 고르거나, 업그레이드해서 모두 깨우세요.",+ "botLimit.paused.keep": "이 봇들을 깨어 있게 하기",+ "botLimit.paused.chosen": "{count}개 중 {chosen}개 선택됨",+ "botLimit.paused.badge": "일시 중지됨",+ "botLimit.paused.saveFailed": "저장하지 못했어요. 다시 시도하세요.",+ "botLimit.paused.chooseAction": "깨어 있을 봇 고르기 ({count}개 일시 중지됨)","chat.setupCard.title": "무엇부터 도와드릴까요?","chat.setupCard.other": "다른 것","chat.setupCard.answer": "내 답변",diff --git a/src/locales/pl.json b/src/locales/pl.jsonindex d6d2447818..fbf926802c 100644--- a/src/locales/pl.json+++ b/src/locales/pl.json@@ -206,6 +206,9 @@"server.memory.wait": "Czeka na pamięć w tym Cloud. Działa teraz: {running}. Przed tym zadaniem: {ahead}. Uruchomi się samo, gdy będzie miejsce.","server.memory.still": "Nadal czeka na pamięć. Działa teraz: {running}. Przed tym zadaniem: {ahead}.","server.memory.starter": "Starter ma miejsce na mniej więcej jedno zadanie naraz. Większy plan uruchamia więcej naraz.",+ "server.planTurns.wait": "Czeka na miejsce: Starter uruchamia w tej chmurze {limit} zadania naraz. Przed tym: {ahead}. Zacznie samo, gdy któreś się skończy, a większy plan uruchamia więcej naraz.",+ "server.planTurns.still": "Nadal czeka: Starter uruchamia {limit} zadania naraz. Przed tym: {ahead}.",+ "server.botPaused": "Wstrzymany: Starter utrzymuje aktywne {limit} boty. Zmień plan na wyższy, aby go obudzić, albo wybierz inne aktywne boty.","server.teammates.queued.thread": "{bot} jeszcze tego nie zaczął: wcześniejsza tura w tym wątku wciąż trwa.","server.teammates.queued.slots": "{bot} jeszcze tego nie zaczął: uruchamia już {busy} z {limit} wątków naraz.","server.teammates.queued.room": "{bot} jeszcze tego nie zaczął: kończy turę w pokoju.",@@ -6425,6 +6428,15 @@"botLimit.body": "Aby utworzyć więcej, zmień plan tej chmury na wyższy. Wszystkie Twoje boty zostają bez zmian.","botLimit.bodyElsewhere": "Aby utworzyć więcej, zmień plan tej chmury na wyższy na stronie planu. Wszystkie Twoje boty zostają bez zmian.","botLimit.openPlan": "Otwórz stronę planu",+ "botLimit.tasks.title": "Starter uruchamia {count} zadania naraz",+ "botLimit.tasks.body": "Twoje boty próbowały rozdzielić więcej pracy, niż mieści ta chmura, więc część nie wystartowała. Większy plan uruchamia więcej naraz.",+ "botLimit.paused.title": "Starter utrzymuje aktywne {count} boty",+ "botLimit.paused.body": "Pozostałe są wstrzymane i zachowują wszystko, co wiedzą. Wybierz, które {count} mają pozostać aktywne, albo zmień plan, aby obudzić wszystkie.",+ "botLimit.paused.keep": "Zostaw te aktywne",+ "botLimit.paused.chosen": "Wybrano {chosen} z {count}",+ "botLimit.paused.badge": "Wstrzymany",+ "botLimit.paused.saveFailed": "Nie udało się zapisać. Spróbuj ponownie.",+ "botLimit.paused.chooseAction": "Wybierz aktywne boty (wstrzymane: {count})","voice.search": "Szukaj głosów lub wklej link","voice.noMatches": "Brak pasujących głosów","voice.noMatchesHint": "Spróbuj innej nazwy lub wklej link do głosu.",diff --git a/src/locales/pt-br.json b/src/locales/pt-br.jsonindex 99b381afce..821130470c 100644--- a/src/locales/pt-br.json+++ b/src/locales/pt-br.json@@ -294,6 +294,9 @@"server.memory.wait": "Aguardando memória disponível neste Cloud. Tarefas em execução: {running}. Tarefas à frente desta: {ahead}. Esta tarefa começa automaticamente quando houver espaço.","server.memory.still": "Ainda aguardando memória disponível. Tarefas em execução: {running}. Tarefas à frente desta: {ahead}.","server.memory.starter": "O Starter tem capacidade para cerca de uma tarefa por vez. Um plano maior roda mais tarefas ao mesmo tempo.",+ "server.planTurns.wait": "Aguardando a vez: o Starter roda {limit} tarefas ao mesmo tempo nesta Cloud. À frente desta: {ahead}. Ela começa sozinha quando uma terminar, e um plano maior roda mais ao mesmo tempo.",+ "server.planTurns.still": "Ainda aguardando: o Starter roda {limit} tarefas ao mesmo tempo. À frente desta: {ahead}.",+ "server.botPaused": "Pausado: o Starter mantém {limit} bots ativos. Faça upgrade para ativá-lo ou troque quais bots ficam ativos.","server.teammates.queued.thread": "{bot} ainda não começou esta tarefa: uma sessão anterior nessa conversa ainda está em andamento.","server.teammates.queued.slots": "{bot} ainda não começou esta tarefa. Conversas simultâneas em andamento: {busy} de {limit}.","server.teammates.queued.room": "{bot} ainda não começou esta tarefa: está terminando uma sessão em um grupo.",@@ -7404,6 +7407,15 @@"botLimit.body": "Para criar mais bots, mude para um plano maior neste Cloud. Todos os bots que você já tem continuam como estão.","botLimit.bodyElsewhere": "Para criar mais bots, mude para um plano maior na página do Plano deste Cloud. Todos os bots que você já tem continuam como estão.","botLimit.openPlan": "Abrir a página do Plano",+ "botLimit.tasks.title": "O Starter roda {count} tarefas ao mesmo tempo",+ "botLimit.tasks.body": "Seus bots tentaram distribuir mais trabalho do que esta Cloud comporta, então parte dele não foi iniciada. Faça upgrade para rodar mais ao mesmo tempo.",+ "botLimit.paused.title": "O Starter mantém {count} bots ativos",+ "botLimit.paused.body": "Os outros estão pausados e mantêm tudo o que sabem. Escolha quais {count} ficam ativos ou faça upgrade para ativar todos.",+ "botLimit.paused.keep": "Manter estes ativos",+ "botLimit.paused.chosen": "{chosen} de {count} escolhidos",+ "botLimit.paused.badge": "Pausado",+ "botLimit.paused.saveFailed": "Não foi possível salvar. Tente de novo.",+ "botLimit.paused.chooseAction": "Escolher bots ativos ({count} pausados)","roomCard.restartNow": "Reiniciar agora","roomCard.restartHint": "Leva cerca de um minuto e interrompe tudo que estiver em execução.","roomCard.restarting": "Reiniciando este Cloud com a nova capacidade. Ele volta em cerca de um minuto.",diff --git a/src/locales/ru.json b/src/locales/ru.jsonindex 74a68c3111..19d9b430c3 100644--- a/src/locales/ru.json+++ b/src/locales/ru.json@@ -206,6 +206,9 @@"server.memory.wait": "Ожидание памяти в этом Cloud. Сейчас выполняется: {running}. Впереди: {ahead}. Запустится само, когда освободится место.","server.memory.still": "Всё ещё ожидание памяти. Сейчас выполняется: {running}. Впереди: {ahead}.","server.memory.starter": "В Starter хватает места примерно на одну задачу за раз. Более крупный план запускает больше одновременно.",+ "server.planTurns.wait": "Ждёт очереди: Starter запускает в этом Cloud {limit} задачи одновременно. Перед этой: {ahead}. Она начнётся сама, когда одна завершится, а более крупный план запускает больше одновременно.",+ "server.planTurns.still": "Всё ещё ждёт: Starter запускает {limit} задачи одновременно. Перед этой: {ahead}.",+ "server.botPaused": "На паузе: Starter держит активными {limit} ботов. Перейдите на план выше, чтобы разбудить его, или поменяйте, какие боты активны.","server.teammates.queued.thread": "{bot} ещё не начал: предыдущий ход в этом потоке всё ещё выполняется.","server.teammates.queued.slots": "{bot} ещё не начал: уже выполняется {busy} из {limit} потоков одновременно.","server.teammates.queued.room": "{bot} ещё не начал: завершает ход в комнате.",@@ -6521,6 +6524,15 @@"botLimit.body": "Чтобы создать ещё, перейдите на другой тариф для этого Cloud. Все ваши боты останутся как есть.","botLimit.bodyElsewhere": "Чтобы создать ещё, смените тариф этого Cloud на странице тарифов. Все ваши боты останутся как есть.","botLimit.openPlan": "Открыть страницу тарифов",+ "botLimit.tasks.title": "Starter запускает {count} задачи одновременно",+ "botLimit.tasks.body": "Ваши боты попытались раздать больше работы, чем вмещает этот Cloud, поэтому часть не запустилась. Перейдите на план выше, чтобы запускать больше одновременно.",+ "botLimit.paused.title": "Starter держит активными {count} ботов",+ "botLimit.paused.body": "Остальные на паузе и сохраняют всё, что знают. Выберите, какие {count} останутся активными, или перейдите на план выше, чтобы разбудить всех.",+ "botLimit.paused.keep": "Оставить этих активными",+ "botLimit.paused.chosen": "Выбрано {chosen} из {count}",+ "botLimit.paused.badge": "На паузе",+ "botLimit.paused.saveFailed": "Не удалось сохранить. Попробуйте ещё раз.",+ "botLimit.paused.chooseAction": "Выбрать активных ботов (на паузе: {count})","composer.setupRequest.placeholder": "Напишите {name}, с чем нужна помощь","composer.setupRequest.waiting": "{name} готов к настройке","composer.setupRequest.cancel": "Остановить настройку {name}",diff --git a/src/locales/source-hashes.json b/src/locales/source-hashes.jsonindex 66f6a47e1e..e6cf75fefa 100644--- a/src/locales/source-hashes.json+++ b/src/locales/source-hashes.json@@ -3400,7 +3400,19 @@"computer.linux.hyprlandPlugin": "06ee1a5a576ac7a5f461914b632927e1a9bc0e499e5cf155d772f9ab9b3f35ac","computer.linux.omarchyGuide": "3d9a19727d87f6bf4b9d0114b6d5388c94156f84ce5589ee70be453633f83ab4","computer.linux.hyprlandReady": "b534b242784fd11035f4518ed297b0014cd14514a4c0d95e34eb1751f2b4c0d7",- "computer.problem.localHyprlandPlugin": "1311e4bdddbde6a209aa2fd0aa99af48183eb734d1a3eee207fbc4ff650c5855"+ "computer.problem.localHyprlandPlugin": "1311e4bdddbde6a209aa2fd0aa99af48183eb734d1a3eee207fbc4ff650c5855",+ "server.planTurns.wait": "4dbae7d3d46768148b7a5b4aabef68fef270cdbbd76cf03d22f8a5be747faef0",+ "server.planTurns.still": "51775f0db963d196a61bc2e5ccf974e2349b05b9577304f16eea007555bc0904",+ "server.botPaused": "44a1a67145a3178073e8dd5ecbc95a7bba0e9bdb2a4daca56b58c81c0a5a9105",+ "botLimit.tasks.title": "406225acaae475dfba01e5670171a780563961c82f6cb05f9c74eed8d564c373",+ "botLimit.tasks.body": "8858c581592229bb8a2c27d0c646c80294e5832f15be671067eda856926b55b1",+ "botLimit.paused.title": "aa5e2f5c74bacd383cf8d0fd606aa6abe158fabb6ac3074e0355b9eab846cae8",+ "botLimit.paused.body": "c72f56983e083d08645095ea9e34f36010989a7052969b931d294afe8a426c13",+ "botLimit.paused.keep": "2170c7592281f4e2f8e4317d95576dc18536e6a81d1ac487234ade822ecfc871",+ "botLimit.paused.chosen": "bb6b6546373e7d0c6fb29ab15dc00f64cdc965f77cf5689478c71c51fbc6549f",+ "botLimit.paused.badge": "e159b06187d369a0615f66ce577582b5c983d4ea59b3a62b702049f61753f0bf",+ "botLimit.paused.saveFailed": "680c88ccf5d4c9fe60c44c3a541c39e5aa80c9d6e76377c886e7c00a1421dc0d",+ "botLimit.paused.chooseAction": "a79a6acb715b89549164ec01e72282653c74175dff445e98a40612870f8e650e"},"es": {"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",@@ -9451,7 +9463,19 @@"computer.linux.hyprlandPlugin": "06ee1a5a576ac7a5f461914b632927e1a9bc0e499e5cf155d772f9ab9b3f35ac","computer.linux.omarchyGuide": "3d9a19727d87f6bf4b9d0114b6d5388c94156f84ce5589ee70be453633f83ab4","computer.linux.hyprlandReady": "b534b242784fd11035f4518ed297b0014cd14514a4c0d95e34eb1751f2b4c0d7",- "computer.problem.localHyprlandPlugin": "1311e4bdddbde6a209aa2fd0aa99af48183eb734d1a3eee207fbc4ff650c5855"+ "computer.problem.localHyprlandPlugin": "1311e4bdddbde6a209aa2fd0aa99af48183eb734d1a3eee207fbc4ff650c5855",+ "server.planTurns.wait": "4dbae7d3d46768148b7a5b4aabef68fef270cdbbd76cf03d22f8a5be747faef0",+ "server.planTurns.still": "51775f0db963d196a61bc2e5ccf974e2349b05b9577304f16eea007555bc0904",+ "server.botPaused": "44a1a67145a3178073e8dd5ecbc95a7bba0e9bdb2a4daca56b58c81c0a5a9105",+ "botLimit.tasks.title": "406225acaae475dfba01e5670171a780563961c82f6cb05f9c74eed8d564c373",+ "botLimit.tasks.body": "8858c581592229bb8a2c27d0c646c80294e5832f15be671067eda856926b55b1",+ "botLimit.paused.title": "aa5e2f5c74bacd383cf8d0fd606aa6abe158fabb6ac3074e0355b9eab846cae8",+ "botLimit.paused.body": "c72f56983e083d08645095ea9e34f36010989a7052969b931d294afe8a426c13",+ "botLimit.paused.keep": "2170c7592281f4e2f8e4317d95576dc18536e6a81d1ac487234ade822ecfc871",+ "botLimit.paused.chosen": "bb6b6546373e7d0c6fb29ab15dc00f64cdc965f77cf5689478c71c51fbc6549f",+ "botLimit.paused.badge": "e159b06187d369a0615f66ce577582b5c983d4ea59b3a62b702049f61753f0bf",+ "botLimit.paused.saveFailed": "680c88ccf5d4c9fe60c44c3a541c39e5aa80c9d6e76377c886e7c00a1421dc0d",+ "botLimit.paused.chooseAction": "a79a6acb715b89549164ec01e72282653c74175dff445e98a40612870f8e650e"},"fr": {"pro.fromPrice": "a48a04a457d60b08b54fc83e7a6c4584ffedb1e23621859084900c8521a3af7b",@@ -12718,7 +12742,19 @@"computer.linux.hyprlandPlugin": "06ee1a5a576ac7a5f461914b632927e1a9bc0e499e5cf155d772f9ab9b3f35ac","computer.linux.omarchyGuide": "3d9a19727d87f6bf4b9d0114b6d5388c94156f84ce5589ee70be453633f83ab4","computer.linux.hyprlandReady": "b534b242784fd11035f4518ed297b0014cd14514a4c0d95e34eb1751f2b4c0d7",- "computer.problem.localHyprlandPlugin": "1311e4bdddbde6a209aa2fd0aa99af48183eb734d1a3eee207fbc4ff650c5855"+ "computer.problem.localHyprlandPlugin": "1311e4bdddbde6a209aa2fd0aa99af48183eb734d1a3eee207fbc4ff650c5855",+ "server.planTurns.wait": "4dbae7d3d46768148b7a5b4aabef68fef270cdbbd76cf03d22f8a5be747faef0",+ "server.planTurns.still": "51775f0db963d196a61bc2e5ccf974e2349b05b9577304f16eea007555bc0904",+ "server.botPaused": "44a1a67145a3178073e8dd5ecbc95a7bba0e9bdb2a4daca56b58c81c0a5a9105",+ "botLimit.tasks.title": "406225acaae475dfba01e5670171a780563961c82f6cb05f9c74eed8d564c373",+ "botLimit.tasks.body": "8858c581592229bb8a2c27d0c646c80294e5832f15be671067eda856926b55b1",+ "botLimit.paused.title": "aa5e2f5c74bacd383cf8d0fd606aa6abe158fabb6ac3074e0355b9eab846cae8",+ "botLimit.paused.body": "c72f56983e083d08645095ea9e34f36010989a7052969b931d294afe8a426c13",+ "botLimit.paused.keep": "2170c7592281f4e2f8e4317d95576dc18536e6a81d1ac487234ade822ecfc871",+ "botLimit.paused.chosen": "bb6b6546373e7d0c6fb29ab15dc00f64cdc965f77cf5689478c71c51fbc6549f",+ "botLimit.paused.badge": "e159b06187d369a0615f66ce577582b5c983d4ea59b3a62b702049f61753f0bf",+ "botLimit.paused.saveFailed": "680c88ccf5d4c9fe60c44c3a541c39e5aa80c9d6e76377c886e7c00a1421dc0d",+ "botLimit.paused.chooseAction": "a79a6acb715b89549164ec01e72282653c74175dff445e98a40612870f8e650e"},"hi": {"pro.fromPrice": "a48a04a457d60b08b54fc83e7a6c4584ffedb1e23621859084900c8521a3af7b",@@ -15837,7 +15873,19 @@"computer.linux.hyprlandPlugin": "06ee1a5a576ac7a5f461914b632927e1a9bc0e499e5cf155d772f9ab9b3f35ac","computer.linux.omarchyGuide": "3d9a19727d87f6bf4b9d0114b6d5388c94156f84ce5589ee70be453633f83ab4","computer.linux.hyprlandReady": "b534b242784fd11035f4518ed297b0014cd14514a4c0d95e34eb1751f2b4c0d7",- "computer.problem.localHyprlandPlugin": "1311e4bdddbde6a209aa2fd0aa99af48183eb734d1a3eee207fbc4ff650c5855"+ "computer.problem.localHyprlandPlugin": "1311e4bdddbde6a209aa2fd0aa99af48183eb734d1a3eee207fbc4ff650c5855",+ "server.planTurns.wait": "4dbae7d3d46768148b7a5b4aabef68fef270cdbbd76cf03d22f8a5be747faef0",+ "server.planTurns.still": "51775f0db963d196a61bc2e5ccf974e2349b05b9577304f16eea007555bc0904",+ "server.botPaused": "44a1a67145a3178073e8dd5ecbc95a7bba0e9bdb2a4daca56b58c81c0a5a9105",+ "botLimit.tasks.title": "406225acaae475dfba01e5670171a780563961c82f6cb05f9c74eed8d564c373",+ "botLimit.tasks.body": "8858c581592229bb8a2c27d0c646c80294e5832f15be671067eda856926b55b1",+ "botLimit.paused.title": "aa5e2f5c74bacd383cf8d0fd606aa6abe158fabb6ac3074e0355b9eab846cae8",+ "botLimit.paused.body": "c72f56983e083d08645095ea9e34f36010989a7052969b931d294afe8a426c13",+ "botLimit.paused.keep": "2170c7592281f4e2f8e4317d95576dc18536e6a81d1ac487234ade822ecfc871",+ "botLimit.paused.chosen": "bb6b6546373e7d0c6fb29ab15dc00f64cdc965f77cf5689478c71c51fbc6549f",+ "botLimit.paused.badge": "e159b06187d369a0615f66ce577582b5c983d4ea59b3a62b702049f61753f0bf",+ "botLimit.paused.saveFailed": "680c88ccf5d4c9fe60c44c3a541c39e5aa80c9d6e76377c886e7c00a1421dc0d",+ "botLimit.paused.chooseAction": "a79a6acb715b89549164ec01e72282653c74175dff445e98a40612870f8e650e"},"ja": {"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",@@ -23565,7 +23613,19 @@"computer.linux.hyprlandPlugin": "06ee1a5a576ac7a5f461914b632927e1a9bc0e499e5cf155d772f9ab9b3f35ac","computer.linux.omarchyGuide": "3d9a19727d87f6bf4b9d0114b6d5388c94156f84ce5589ee70be453633f83ab4","computer.linux.hyprlandReady": "b534b242784fd11035f4518ed297b0014cd14514a4c0d95e34eb1751f2b4c0d7",- "computer.problem.localHyprlandPlugin": "1311e4bdddbde6a209aa2fd0aa99af48183eb734d1a3eee207fbc4ff650c5855"+ "computer.problem.localHyprlandPlugin": "1311e4bdddbde6a209aa2fd0aa99af48183eb734d1a3eee207fbc4ff650c5855",+ "server.planTurns.wait": "4dbae7d3d46768148b7a5b4aabef68fef270cdbbd76cf03d22f8a5be747faef0",+ "server.planTurns.still": "51775f0db963d196a61bc2e5ccf974e2349b05b9577304f16eea007555bc0904",+ "server.botPaused": "44a1a67145a3178073e8dd5ecbc95a7bba0e9bdb2a4daca56b58c81c0a5a9105",+ "botLimit.tasks.title": "406225acaae475dfba01e5670171a780563961c82f6cb05f9c74eed8d564c373",+ "botLimit.tasks.body": "8858c581592229bb8a2c27d0c646c80294e5832f15be671067eda856926b55b1",+ "botLimit.paused.title": "aa5e2f5c74bacd383cf8d0fd606aa6abe158fabb6ac3074e0355b9eab846cae8",+ "botLimit.paused.body": "c72f56983e083d08645095ea9e34f36010989a7052969b931d294afe8a426c13",+ "botLimit.paused.keep": "2170c7592281f4e2f8e4317d95576dc18536e6a81d1ac487234ade822ecfc871",+ "botLimit.paused.chosen": "bb6b6546373e7d0c6fb29ab15dc00f64cdc965f77cf5689478c71c51fbc6549f",+ "botLimit.paused.badge": "e159b06187d369a0615f66ce577582b5c983d4ea59b3a62b702049f61753f0bf",+ "botLimit.paused.saveFailed": "680c88ccf5d4c9fe60c44c3a541c39e5aa80c9d6e76377c886e7c00a1421dc0d",+ "botLimit.paused.chooseAction": "a79a6acb715b89549164ec01e72282653c74175dff445e98a40612870f8e650e"},"pt-br": {"voice.gemini.keyPlaceholder": "8c87ba2043a4a89d63c90cae8a6dafd5cbd193652e923b97988e381a74773e10",@@ -33346,7 +33406,19 @@"computer.linux.hyprlandPlugin": "06ee1a5a576ac7a5f461914b632927e1a9bc0e499e5cf155d772f9ab9b3f35ac","computer.linux.omarchyGuide": "3d9a19727d87f6bf4b9d0114b6d5388c94156f84ce5589ee70be453633f83ab4","computer.linux.hyprlandReady": "b534b242784fd11035f4518ed297b0014cd14514a4c0d95e34eb1751f2b4c0d7",- "computer.problem.localHyprlandPlugin": "1311e4bdddbde6a209aa2fd0aa99af48183eb734d1a3eee207fbc4ff650c5855"+ "computer.problem.localHyprlandPlugin": "1311e4bdddbde6a209aa2fd0aa99af48183eb734d1a3eee207fbc4ff650c5855",+ "server.planTurns.wait": "4dbae7d3d46768148b7a5b4aabef68fef270cdbbd76cf03d22f8a5be747faef0",+ "server.planTurns.still": "51775f0db963d196a61bc2e5ccf974e2349b05b9577304f16eea007555bc0904",+ "server.botPaused": "44a1a67145a3178073e8dd5ecbc95a7bba0e9bdb2a4daca56b58c81c0a5a9105",+ "botLimit.tasks.title": "406225acaae475dfba01e5670171a780563961c82f6cb05f9c74eed8d564c373",+ "botLimit.tasks.body": "8858c581592229bb8a2c27d0c646c80294e5832f15be671067eda856926b55b1",+ "botLimit.paused.title": "aa5e2f5c74bacd383cf8d0fd606aa6abe158fabb6ac3074e0355b9eab846cae8",+ "botLimit.paused.body": "c72f56983e083d08645095ea9e34f36010989a7052969b931d294afe8a426c13",+ "botLimit.paused.keep": "2170c7592281f4e2f8e4317d95576dc18536e6a81d1ac487234ade822ecfc871",+ "botLimit.paused.chosen": "bb6b6546373e7d0c6fb29ab15dc00f64cdc965f77cf5689478c71c51fbc6549f",+ "botLimit.paused.badge": "e159b06187d369a0615f66ce577582b5c983d4ea59b3a62b702049f61753f0bf",+ "botLimit.paused.saveFailed": "680c88ccf5d4c9fe60c44c3a541c39e5aa80c9d6e76377c886e7c00a1421dc0d",+ "botLimit.paused.chooseAction": "a79a6acb715b89549164ec01e72282653c74175dff445e98a40612870f8e650e"},"zh": {"pro.fromPrice": "a48a04a457d60b08b54fc83e7a6c4584ffedb1e23621859084900c8521a3af7b",@@ -40960,7 +41032,19 @@"computer.linux.hyprlandPlugin": "06ee1a5a576ac7a5f461914b632927e1a9bc0e499e5cf155d772f9ab9b3f35ac","computer.linux.omarchyGuide": "3d9a19727d87f6bf4b9d0114b6d5388c94156f84ce5589ee70be453633f83ab4","computer.linux.hyprlandReady": "b534b242784fd11035f4518ed297b0014cd14514a4c0d95e34eb1751f2b4c0d7",- "computer.problem.localHyprlandPlugin": "1311e4bdddbde6a209aa2fd0aa99af48183eb734d1a3eee207fbc4ff650c5855"+ "computer.problem.localHyprlandPlugin": "1311e4bdddbde6a209aa2fd0aa99af48183eb734d1a3eee207fbc4ff650c5855",+ "server.planTurns.wait": "4dbae7d3d46768148b7a5b4aabef68fef270cdbbd76cf03d22f8a5be747faef0",+ "server.planTurns.still": "51775f0db963d196a61bc2e5ccf974e2349b05b9577304f16eea007555bc0904",+ "server.botPaused": "44a1a67145a3178073e8dd5ecbc95a7bba0e9bdb2a4daca56b58c81c0a5a9105",+ "botLimit.tasks.title": "406225acaae475dfba01e5670171a780563961c82f6cb05f9c74eed8d564c373",+ "botLimit.tasks.body": "8858c581592229bb8a2c27d0c646c80294e5832f15be671067eda856926b55b1",+ "botLimit.paused.title": "aa5e2f5c74bacd383cf8d0fd606aa6abe158fabb6ac3074e0355b9eab846cae8",+ "botLimit.paused.body": "c72f56983e083d08645095ea9e34f36010989a7052969b931d294afe8a426c13",+ "botLimit.paused.keep": "2170c7592281f4e2f8e4317d95576dc18536e6a81d1ac487234ade822ecfc871",+ "botLimit.paused.chosen": "bb6b6546373e7d0c6fb29ab15dc00f64cdc965f77cf5689478c71c51fbc6549f",+ "botLimit.paused.badge": "e159b06187d369a0615f66ce577582b5c983d4ea59b3a62b702049f61753f0bf",+ "botLimit.paused.saveFailed": "680c88ccf5d4c9fe60c44c3a541c39e5aa80c9d6e76377c886e7c00a1421dc0d",+ "botLimit.paused.chooseAction": "a79a6acb715b89549164ec01e72282653c74175dff445e98a40612870f8e650e"},"zh-tw": {"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",@@ -50736,7 +50820,19 @@"computer.linux.hyprlandPlugin": "06ee1a5a576ac7a5f461914b632927e1a9bc0e499e5cf155d772f9ab9b3f35ac","computer.linux.omarchyGuide": "3d9a19727d87f6bf4b9d0114b6d5388c94156f84ce5589ee70be453633f83ab4","computer.linux.hyprlandReady": "b534b242784fd11035f4518ed297b0014cd14514a4c0d95e34eb1751f2b4c0d7",- "computer.problem.localHyprlandPlugin": "1311e4bdddbde6a209aa2fd0aa99af48183eb734d1a3eee207fbc4ff650c5855"+ "computer.problem.localHyprlandPlugin": "1311e4bdddbde6a209aa2fd0aa99af48183eb734d1a3eee207fbc4ff650c5855",+ "server.planTurns.wait": "4dbae7d3d46768148b7a5b4aabef68fef270cdbbd76cf03d22f8a5be747faef0",+ "server.planTurns.still": "51775f0db963d196a61bc2e5ccf974e2349b05b9577304f16eea007555bc0904",+ "server.botPaused": "44a1a67145a3178073e8dd5ecbc95a7bba0e9bdb2a4daca56b58c81c0a5a9105",+ "botLimit.tasks.title": "406225acaae475dfba01e5670171a780563961c82f6cb05f9c74eed8d564c373",+ "botLimit.tasks.body": "8858c581592229bb8a2c27d0c646c80294e5832f15be671067eda856926b55b1",+ "botLimit.paused.title": "aa5e2f5c74bacd383cf8d0fd606aa6abe158fabb6ac3074e0355b9eab846cae8",+ "botLimit.paused.body": "c72f56983e083d08645095ea9e34f36010989a7052969b931d294afe8a426c13",+ "botLimit.paused.keep": "2170c7592281f4e2f8e4317d95576dc18536e6a81d1ac487234ade822ecfc871",+ "botLimit.paused.chosen": "bb6b6546373e7d0c6fb29ab15dc00f64cdc965f77cf5689478c71c51fbc6549f",+ "botLimit.paused.badge": "e159b06187d369a0615f66ce577582b5c983d4ea59b3a62b702049f61753f0bf",+ "botLimit.paused.saveFailed": "680c88ccf5d4c9fe60c44c3a541c39e5aa80c9d6e76377c886e7c00a1421dc0d",+ "botLimit.paused.chooseAction": "a79a6acb715b89549164ec01e72282653c74175dff445e98a40612870f8e650e"},"uk": {"pro.fromPrice": "a48a04a457d60b08b54fc83e7a6c4584ffedb1e23621859084900c8521a3af7b",@@ -54296,7 +54392,19 @@"computer.linux.hyprlandPlugin": "06ee1a5a576ac7a5f461914b632927e1a9bc0e499e5cf155d772f9ab9b3f35ac","computer.linux.omarchyGuide": "3d9a19727d87f6bf4b9d0114b6d5388c94156f84ce5589ee70be453633f83ab4","computer.linux.hyprlandReady": "b534b242784fd11035f4518ed297b0014cd14514a4c0d95e34eb1751f2b4c0d7",- "computer.problem.localHyprlandPlugin": "1311e4bdddbde6a209aa2fd0aa99af48183eb734d1a3eee207fbc4ff650c5855"+ "computer.problem.localHyprlandPlugin": "1311e4bdddbde6a209aa2fd0aa99af48183eb734d1a3eee207fbc4ff650c5855",+ "server.planTurns.wait": "4dbae7d3d46768148b7a5b4aabef68fef270cdbbd76cf03d22f8a5be747faef0",+ "server.planTurns.still": "51775f0db963d196a61bc2e5ccf974e2349b05b9577304f16eea007555bc0904",+ "server.botPaused": "44a1a67145a3178073e8dd5ecbc95a7bba0e9bdb2a4daca56b58c81c0a5a9105",+ "botLimit.tasks.title": "406225acaae475dfba01e5670171a780563961c82f6cb05f9c74eed8d564c373",+ "botLimit.tasks.body": "8858c581592229bb8a2c27d0c646c80294e5832f15be671067eda856926b55b1",+ "botLimit.paused.title": "aa5e2f5c74bacd383cf8d0fd606aa6abe158fabb6ac3074e0355b9eab846cae8",+ "botLimit.paused.body": "c72f56983e083d08645095ea9e34f36010989a7052969b931d294afe8a426c13",+ "botLimit.paused.keep": "2170c7592281f4e2f8e4317d95576dc18536e6a81d1ac487234ade822ecfc871",+ "botLimit.paused.chosen": "bb6b6546373e7d0c6fb29ab15dc00f64cdc965f77cf5689478c71c51fbc6549f",+ "botLimit.paused.badge": "e159b06187d369a0615f66ce577582b5c983d4ea59b3a62b702049f61753f0bf",+ "botLimit.paused.saveFailed": "680c88ccf5d4c9fe60c44c3a541c39e5aa80c9d6e76377c886e7c00a1421dc0d",+ "botLimit.paused.chooseAction": "a79a6acb715b89549164ec01e72282653c74175dff445e98a40612870f8e650e"},"vi": {"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",@@ -59846,7 +59954,19 @@"computer.linux.hyprlandPlugin": "06ee1a5a576ac7a5f461914b632927e1a9bc0e499e5cf155d772f9ab9b3f35ac","computer.linux.omarchyGuide": "3d9a19727d87f6bf4b9d0114b6d5388c94156f84ce5589ee70be453633f83ab4","computer.linux.hyprlandReady": "b534b242784fd11035f4518ed297b0014cd14514a4c0d95e34eb1751f2b4c0d7",- "computer.problem.localHyprlandPlugin": "1311e4bdddbde6a209aa2fd0aa99af48183eb734d1a3eee207fbc4ff650c5855"+ "computer.problem.localHyprlandPlugin": "1311e4bdddbde6a209aa2fd0aa99af48183eb734d1a3eee207fbc4ff650c5855",+ "server.planTurns.wait": "4dbae7d3d46768148b7a5b4aabef68fef270cdbbd76cf03d22f8a5be747faef0",+ "server.planTurns.still": "51775f0db963d196a61bc2e5ccf974e2349b05b9577304f16eea007555bc0904",+ "server.botPaused": "44a1a67145a3178073e8dd5ecbc95a7bba0e9bdb2a4daca56b58c81c0a5a9105",+ "botLimit.tasks.title": "406225acaae475dfba01e5670171a780563961c82f6cb05f9c74eed8d564c373",+ "botLimit.tasks.body": "8858c581592229bb8a2c27d0c646c80294e5832f15be671067eda856926b55b1",+ "botLimit.paused.title": "aa5e2f5c74bacd383cf8d0fd606aa6abe158fabb6ac3074e0355b9eab846cae8",+ "botLimit.paused.body": "c72f56983e083d08645095ea9e34f36010989a7052969b931d294afe8a426c13",+ "botLimit.paused.keep": "2170c7592281f4e2f8e4317d95576dc18536e6a81d1ac487234ade822ecfc871",+ "botLimit.paused.chosen": "bb6b6546373e7d0c6fb29ab15dc00f64cdc965f77cf5689478c71c51fbc6549f",+ "botLimit.paused.badge": "e159b06187d369a0615f66ce577582b5c983d4ea59b3a62b702049f61753f0bf",+ "botLimit.paused.saveFailed": "680c88ccf5d4c9fe60c44c3a541c39e5aa80c9d6e76377c886e7c00a1421dc0d",+ "botLimit.paused.chooseAction": "a79a6acb715b89549164ec01e72282653c74175dff445e98a40612870f8e650e"},"tr": {"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",@@ -65396,7 +65516,19 @@"computer.linux.hyprlandPlugin": "06ee1a5a576ac7a5f461914b632927e1a9bc0e499e5cf155d772f9ab9b3f35ac","computer.linux.omarchyGuide": "3d9a19727d87f6bf4b9d0114b6d5388c94156f84ce5589ee70be453633f83ab4","computer.linux.hyprlandReady": "b534b242784fd11035f4518ed297b0014cd14514a4c0d95e34eb1751f2b4c0d7",- "computer.problem.localHyprlandPlugin": "1311e4bdddbde6a209aa2fd0aa99af48183eb734d1a3eee207fbc4ff650c5855"+ "computer.problem.localHyprlandPlugin": "1311e4bdddbde6a209aa2fd0aa99af48183eb734d1a3eee207fbc4ff650c5855",+ "server.planTurns.wait": "4dbae7d3d46768148b7a5b4aabef68fef270cdbbd76cf03d22f8a5be747faef0",+ "server.planTurns.still": "51775f0db963d196a61bc2e5ccf974e2349b05b9577304f16eea007555bc0904",+ "server.botPaused": "44a1a67145a3178073e8dd5ecbc95a7bba0e9bdb2a4daca56b58c81c0a5a9105",+ "botLimit.tasks.title": "406225acaae475dfba01e5670171a780563961c82f6cb05f9c74eed8d564c373",+ "botLimit.tasks.body": "8858c581592229bb8a2c27d0c646c80294e5832f15be671067eda856926b55b1",+ "botLimit.paused.title": "aa5e2f5c74bacd383cf8d0fd606aa6abe158fabb6ac3074e0355b9eab846cae8",+ "botLimit.paused.body": "c72f56983e083d08645095ea9e34f36010989a7052969b931d294afe8a426c13",+ "botLimit.paused.keep": "2170c7592281f4e2f8e4317d95576dc18536e6a81d1ac487234ade822ecfc871",+ "botLimit.paused.chosen": "bb6b6546373e7d0c6fb29ab15dc00f64cdc965f77cf5689478c71c51fbc6549f",+ "botLimit.paused.badge": "e159b06187d369a0615f66ce577582b5c983d4ea59b3a62b702049f61753f0bf",+ "botLimit.paused.saveFailed": "680c88ccf5d4c9fe60c44c3a541c39e5aa80c9d6e76377c886e7c00a1421dc0d",+ "botLimit.paused.chooseAction": "a79a6acb715b89549164ec01e72282653c74175dff445e98a40612870f8e650e"},"pl": {"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",@@ -72209,7 +72341,19 @@"computer.linux.hyprlandPlugin": "06ee1a5a576ac7a5f461914b632927e1a9bc0e499e5cf155d772f9ab9b3f35ac","computer.linux.omarchyGuide": "3d9a19727d87f6bf4b9d0114b6d5388c94156f84ce5589ee70be453633f83ab4","computer.linux.hyprlandReady": "b534b242784fd11035f4518ed297b0014cd14514a4c0d95e34eb1751f2b4c0d7",- "computer.problem.localHyprlandPlugin": "1311e4bdddbde6a209aa2fd0aa99af48183eb734d1a3eee207fbc4ff650c5855"+ "computer.problem.localHyprlandPlugin": "1311e4bdddbde6a209aa2fd0aa99af48183eb734d1a3eee207fbc4ff650c5855",+ "server.planTurns.wait": "4dbae7d3d46768148b7a5b4aabef68fef270cdbbd76cf03d22f8a5be747faef0",+ "server.planTurns.still": "51775f0db963d196a61bc2e5ccf974e2349b05b9577304f16eea007555bc0904",+ "server.botPaused": "44a1a67145a3178073e8dd5ecbc95a7bba0e9bdb2a4daca56b58c81c0a5a9105",+ "botLimit.tasks.title": "406225acaae475dfba01e5670171a780563961c82f6cb05f9c74eed8d564c373",+ "botLimit.tasks.body": "8858c581592229bb8a2c27d0c646c80294e5832f15be671067eda856926b55b1",+ "botLimit.paused.title": "aa5e2f5c74bacd383cf8d0fd606aa6abe158fabb6ac3074e0355b9eab846cae8",+ "botLimit.paused.body": "c72f56983e083d08645095ea9e34f36010989a7052969b931d294afe8a426c13",+ "botLimit.paused.keep": "2170c7592281f4e2f8e4317d95576dc18536e6a81d1ac487234ade822ecfc871",+ "botLimit.paused.chosen": "bb6b6546373e7d0c6fb29ab15dc00f64cdc965f77cf5689478c71c51fbc6549f",+ "botLimit.paused.badge": "e159b06187d369a0615f66ce577582b5c983d4ea59b3a62b702049f61753f0bf",+ "botLimit.paused.saveFailed": "680c88ccf5d4c9fe60c44c3a541c39e5aa80c9d6e76377c886e7c00a1421dc0d",+ "botLimit.paused.chooseAction": "a79a6acb715b89549164ec01e72282653c74175dff445e98a40612870f8e650e"},"ru": {"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",@@ -79084,7 +79228,19 @@"computer.linux.hyprlandPlugin": "06ee1a5a576ac7a5f461914b632927e1a9bc0e499e5cf155d772f9ab9b3f35ac","computer.linux.omarchyGuide": "3d9a19727d87f6bf4b9d0114b6d5388c94156f84ce5589ee70be453633f83ab4","computer.linux.hyprlandReady": "b534b242784fd11035f4518ed297b0014cd14514a4c0d95e34eb1751f2b4c0d7",- "computer.problem.localHyprlandPlugin": "1311e4bdddbde6a209aa2fd0aa99af48183eb734d1a3eee207fbc4ff650c5855"+ "computer.problem.localHyprlandPlugin": "1311e4bdddbde6a209aa2fd0aa99af48183eb734d1a3eee207fbc4ff650c5855",+ "server.planTurns.wait": "4dbae7d3d46768148b7a5b4aabef68fef270cdbbd76cf03d22f8a5be747faef0",+ "server.planTurns.still": "51775f0db963d196a61bc2e5ccf974e2349b05b9577304f16eea007555bc0904",+ "server.botPaused": "44a1a67145a3178073e8dd5ecbc95a7bba0e9bdb2a4daca56b58c81c0a5a9105",+ "botLimit.tasks.title": "406225acaae475dfba01e5670171a780563961c82f6cb05f9c74eed8d564c373",+ "botLimit.tasks.body": "8858c581592229bb8a2c27d0c646c80294e5832f15be671067eda856926b55b1",+ "botLimit.paused.title": "aa5e2f5c74bacd383cf8d0fd606aa6abe158fabb6ac3074e0355b9eab846cae8",+ "botLimit.paused.body": "c72f56983e083d08645095ea9e34f36010989a7052969b931d294afe8a426c13",+ "botLimit.paused.keep": "2170c7592281f4e2f8e4317d95576dc18536e6a81d1ac487234ade822ecfc871",+ "botLimit.paused.chosen": "bb6b6546373e7d0c6fb29ab15dc00f64cdc965f77cf5689478c71c51fbc6549f",+ "botLimit.paused.badge": "e159b06187d369a0615f66ce577582b5c983d4ea59b3a62b702049f61753f0bf",+ "botLimit.paused.saveFailed": "680c88ccf5d4c9fe60c44c3a541c39e5aa80c9d6e76377c886e7c00a1421dc0d",+ "botLimit.paused.chooseAction": "a79a6acb715b89549164ec01e72282653c74175dff445e98a40612870f8e650e"},"it": {"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",@@ -85759,7 +85915,19 @@"computer.linux.hyprlandPlugin": "06ee1a5a576ac7a5f461914b632927e1a9bc0e499e5cf155d772f9ab9b3f35ac","computer.linux.omarchyGuide": "3d9a19727d87f6bf4b9d0114b6d5388c94156f84ce5589ee70be453633f83ab4","computer.linux.hyprlandReady": "b534b242784fd11035f4518ed297b0014cd14514a4c0d95e34eb1751f2b4c0d7",- "computer.problem.localHyprlandPlugin": "1311e4bdddbde6a209aa2fd0aa99af48183eb734d1a3eee207fbc4ff650c5855"+ "computer.problem.localHyprlandPlugin": "1311e4bdddbde6a209aa2fd0aa99af48183eb734d1a3eee207fbc4ff650c5855",+ "server.planTurns.wait": "4dbae7d3d46768148b7a5b4aabef68fef270cdbbd76cf03d22f8a5be747faef0",+ "server.planTurns.still": "51775f0db963d196a61bc2e5ccf974e2349b05b9577304f16eea007555bc0904",+ "server.botPaused": "44a1a67145a3178073e8dd5ecbc95a7bba0e9bdb2a4daca56b58c81c0a5a9105",+ "botLimit.tasks.title": "406225acaae475dfba01e5670171a780563961c82f6cb05f9c74eed8d564c373",+ "botLimit.tasks.body": "8858c581592229bb8a2c27d0c646c80294e5832f15be671067eda856926b55b1",+ "botLimit.paused.title": "aa5e2f5c74bacd383cf8d0fd606aa6abe158fabb6ac3074e0355b9eab846cae8",+ "botLimit.paused.body": "c72f56983e083d08645095ea9e34f36010989a7052969b931d294afe8a426c13",+ "botLimit.paused.keep": "2170c7592281f4e2f8e4317d95576dc18536e6a81d1ac487234ade822ecfc871",+ "botLimit.paused.chosen": "bb6b6546373e7d0c6fb29ab15dc00f64cdc965f77cf5689478c71c51fbc6549f",+ "botLimit.paused.badge": "e159b06187d369a0615f66ce577582b5c983d4ea59b3a62b702049f61753f0bf",+ "botLimit.paused.saveFailed": "680c88ccf5d4c9fe60c44c3a541c39e5aa80c9d6e76377c886e7c00a1421dc0d",+ "botLimit.paused.chooseAction": "a79a6acb715b89549164ec01e72282653c74175dff445e98a40612870f8e650e"},"ko": {"connectedWorkspaces.localTitle": "7d6deafeab011d734c3fdd1bfd6f69544fbb746a004019269bdb48544b01164b",@@ -93156,7 +93324,19 @@"computer.linux.hyprlandPlugin": "06ee1a5a576ac7a5f461914b632927e1a9bc0e499e5cf155d772f9ab9b3f35ac","computer.linux.omarchyGuide": "3d9a19727d87f6bf4b9d0114b6d5388c94156f84ce5589ee70be453633f83ab4","computer.linux.hyprlandReady": "b534b242784fd11035f4518ed297b0014cd14514a4c0d95e34eb1751f2b4c0d7",- "computer.problem.localHyprlandPlugin": "1311e4bdddbde6a209aa2fd0aa99af48183eb734d1a3eee207fbc4ff650c5855"+ "computer.problem.localHyprlandPlugin": "1311e4bdddbde6a209aa2fd0aa99af48183eb734d1a3eee207fbc4ff650c5855",+ "server.planTurns.wait": "4dbae7d3d46768148b7a5b4aabef68fef270cdbbd76cf03d22f8a5be747faef0",+ "server.planTurns.still": "51775f0db963d196a61bc2e5ccf974e2349b05b9577304f16eea007555bc0904",+ "server.botPaused": "44a1a67145a3178073e8dd5ecbc95a7bba0e9bdb2a4daca56b58c81c0a5a9105",+ "botLimit.tasks.title": "406225acaae475dfba01e5670171a780563961c82f6cb05f9c74eed8d564c373",+ "botLimit.tasks.body": "8858c581592229bb8a2c27d0c646c80294e5832f15be671067eda856926b55b1",+ "botLimit.paused.title": "aa5e2f5c74bacd383cf8d0fd606aa6abe158fabb6ac3074e0355b9eab846cae8",+ "botLimit.paused.body": "c72f56983e083d08645095ea9e34f36010989a7052969b931d294afe8a426c13",+ "botLimit.paused.keep": "2170c7592281f4e2f8e4317d95576dc18536e6a81d1ac487234ade822ecfc871",+ "botLimit.paused.chosen": "bb6b6546373e7d0c6fb29ab15dc00f64cdc965f77cf5689478c71c51fbc6549f",+ "botLimit.paused.badge": "e159b06187d369a0615f66ce577582b5c983d4ea59b3a62b702049f61753f0bf",+ "botLimit.paused.saveFailed": "680c88ccf5d4c9fe60c44c3a541c39e5aa80c9d6e76377c886e7c00a1421dc0d",+ "botLimit.paused.chooseAction": "a79a6acb715b89549164ec01e72282653c74175dff445e98a40612870f8e650e"}}}diff --git a/src/locales/tr.json b/src/locales/tr.jsonindex 0580cc809e..ec085f383b 100644--- a/src/locales/tr.json+++ b/src/locales/tr.json@@ -200,6 +200,9 @@"server.memory.wait": "Bu Cloud'da bellek bekleniyor. Şu anda çalışan: {running}. Bundan önce sırada: {ahead}. Yer açılınca kendiliğinden başlar.","server.memory.still": "Hâlâ bellek bekleniyor. Şu anda çalışan: {running}. Bundan önce sırada: {ahead}.","server.memory.starter": "Starter'da aynı anda yaklaşık bir görev için yer vardır. Daha büyük bir plan aynı anda daha fazlasını çalıştırır.",+ "server.planTurns.wait": "Sıra bekleniyor: Starter bu Cloud'da aynı anda {limit} görev çalıştırır. Önünde: {ahead}. Biri bitince kendiliğinden başlar; daha büyük bir plan aynı anda daha fazlasını çalıştırır.",+ "server.planTurns.still": "Hâlâ bekliyor: Starter aynı anda {limit} görev çalıştırır. Önünde: {ahead}.",+ "server.botPaused": "Duraklatıldı: Starter {limit} botu uyanık tutar. Uyandırmak için yükseltin ya da hangi botların uyanık kalacağını değiştirin.","server.teammates.queued.thread": "{bot} buna henüz başlamadı: o konudaki önceki tur hâlâ çalışıyor.","server.teammates.queued.slots": "{bot} buna henüz başlamadı: zaten aynı anda {limit} konudan {busy} tanesini çalıştırıyor.","server.teammates.queued.room": "{bot} buna henüz başlamadı: bir odadaki turunu bitiriyor.",@@ -5023,6 +5026,15 @@"botLimit.body": "Daha fazla oluşturmak için bu Cloud'u yükseltin. Mevcut botlarınız olduğu gibi kalır.","botLimit.bodyElsewhere": "Daha fazla oluşturmak için bu Cloud'u plan sayfasından yükseltin. Mevcut botlarınız olduğu gibi kalır.","botLimit.openPlan": "Plan sayfasını aç",+ "botLimit.tasks.title": "Starter aynı anda {count} görev çalıştırır",+ "botLimit.tasks.body": "Botlarınız bu Cloud'un alabileceğinden fazla iş dağıtmaya çalıştı, bu yüzden bir kısmı başlamadı. Aynı anda daha fazlasını çalıştırmak için yükseltin.",+ "botLimit.paused.title": "Starter {count} botu uyanık tutar",+ "botLimit.paused.body": "Diğerleri duraklatıldı ve bildikleri her şey korunuyor. Hangi {count} botun uyanık kalacağını seçin ya da hepsini uyandırmak için yükseltin.",+ "botLimit.paused.keep": "Bunları uyanık tut",+ "botLimit.paused.chosen": "{count} içinden {chosen} seçildi",+ "botLimit.paused.badge": "Duraklatıldı",+ "botLimit.paused.saveFailed": "Kaydedilemedi. Tekrar deneyin.",+ "botLimit.paused.chooseAction": "Uyanık botları seç ({count} duraklatıldı)","voice.search": "Ses arayın veya bağlantı yapıştırın","voice.noMatches": "Eşleşen ses yok","voice.noMatchesHint": "Başka bir ad deneyin veya sesin bağlantısını yapıştırın.",diff --git a/src/locales/uk.json b/src/locales/uk.jsonindex a15e21b394..8be88c74d0 100644--- a/src/locales/uk.json+++ b/src/locales/uk.json@@ -169,6 +169,9 @@"server.memory.wait": "Очікування пам'яті в цьому Cloud. Зараз виконується: {running}. Попереду: {ahead}. Запуститься саме, коли звільниться місце.","server.memory.still": "Досі очікування пам'яті. Зараз виконується: {running}. Попереду: {ahead}.","server.memory.starter": "У Starter вистачає місця приблизно на одне завдання за раз. Більший план запускає більше одночасно.",+ "server.planTurns.wait": "Чекає черги: Starter запускає в цьому Cloud {limit} завдання одночасно. Перед цим: {ahead}. Воно почнеться саме, щойно одне завершиться, а більший план запускає більше одночасно.",+ "server.planTurns.still": "Досі чекає: Starter запускає {limit} завдання одночасно. Перед цим: {ahead}.",+ "server.botPaused": "Призупинено: Starter тримає активними {limit} ботів. Перейдіть на вищий план, щоб розбудити його, або змініть, які боти активні.","server.teammates.queued.thread": "{bot} ще не почав: попередній хід у цьому потоці досі виконується.","server.teammates.queued.slots": "{bot} ще не почав: уже виконується {busy} з {limit} потоків одночасно.","server.teammates.queued.room": "{bot} ще не почав: завершує хід у кімнаті.",@@ -3009,6 +3012,15 @@"botLimit.body": "Щоб створити більше, покращте тариф цього Cloud. Усі ваші боти залишаться такими, як є.","botLimit.bodyElsewhere": "Щоб створити більше, покращте тариф цього Cloud на сторінці плану. Усі ваші боти залишаться такими, як є.","botLimit.openPlan": "Відкрити сторінку плану",+ "botLimit.tasks.title": "Starter запускає {count} завдання одночасно",+ "botLimit.tasks.body": "Ваші боти спробували роздати більше роботи, ніж вміщує цей Cloud, тому частина не запустилася. Перейдіть на вищий план, щоб запускати більше одночасно.",+ "botLimit.paused.title": "Starter тримає активними {count} ботів",+ "botLimit.paused.body": "Інші призупинені й зберігають усе, що знають. Виберіть, які {count} залишаться активними, або перейдіть на вищий план, щоб розбудити всіх.",+ "botLimit.paused.keep": "Залишити цих активними",+ "botLimit.paused.chosen": "Вибрано {chosen} з {count}",+ "botLimit.paused.badge": "Призупинено",+ "botLimit.paused.saveFailed": "Не вдалося зберегти. Спробуйте ще раз.",+ "botLimit.paused.chooseAction": "Вибрати активних ботів (призупинено: {count})","chat.compactionExcerptTitle": "Попередній контекст скорочено до останніх уривків","chat.compactionExcerptHint": "Письмового підсумку не було, тож агент продовжує з цих уривків і останніх повідомлень. Давніших подробиць може бракувати в його контексті. Уся ваша розмова досі тут.","chat.turnStoppedByYou": "Ви це зупинили.",diff --git a/src/locales/vi.json b/src/locales/vi.jsonindex 4bfedaad76..d3a6d0a03b 100644--- a/src/locales/vi.json+++ b/src/locales/vi.json@@ -200,6 +200,9 @@"server.memory.wait": "Đang chờ bộ nhớ trên Cloud này. Đang chạy: {running}. Phía trước: {ahead}. Sẽ tự bắt đầu khi có chỗ.","server.memory.still": "Vẫn đang chờ bộ nhớ. Đang chạy: {running}. Phía trước: {ahead}.","server.memory.starter": "Starter chỉ đủ chỗ cho khoảng một việc mỗi lúc. Gói lớn hơn chạy được nhiều việc cùng lúc hơn.",+ "server.planTurns.wait": "Đang chờ lượt: Starter chạy {limit} việc cùng lúc trên Cloud này. Phía trước việc này: {ahead}. Việc này tự bắt đầu khi có việc xong, và gói lớn hơn chạy được nhiều việc cùng lúc hơn.",+ "server.planTurns.still": "Vẫn đang chờ: Starter chạy {limit} việc cùng lúc. Phía trước việc này: {ahead}.",+ "server.botPaused": "Tạm dừng: Starter giữ {limit} bot hoạt động. Nâng cấp để đánh thức bot này, hoặc đổi những bot đang hoạt động.","server.teammates.queued.thread": "{bot} chưa bắt đầu việc này: lượt trước trong luồng đó vẫn đang chạy.","server.teammates.queued.slots": "{bot} chưa bắt đầu việc này: đang chạy cùng lúc {busy} trên {limit} luồng.","server.teammates.queued.room": "{bot} chưa bắt đầu việc này: đang hoàn tất một lượt trong phòng.",@@ -5023,6 +5026,15 @@"botLimit.body": "Để tạo thêm, hãy nâng cấp Cloud này. Mọi bot bạn đang có vẫn giữ nguyên.","botLimit.bodyElsewhere": "Để tạo thêm, hãy nâng cấp Cloud này trên trang Gói. Mọi bot bạn đang có vẫn giữ nguyên.","botLimit.openPlan": "Mở trang Gói",+ "botLimit.tasks.title": "Starter chạy {count} việc cùng lúc",+ "botLimit.tasks.body": "Các bot của bạn định giao nhiều việc hơn mức Cloud này chứa được, nên một phần chưa được bắt đầu. Nâng cấp để chạy nhiều việc cùng lúc hơn.",+ "botLimit.paused.title": "Starter giữ {count} bot hoạt động",+ "botLimit.paused.body": "Các bot còn lại đang tạm dừng và vẫn giữ mọi thứ chúng biết. Chọn {count} bot tiếp tục hoạt động, hoặc nâng cấp để đánh thức tất cả.",+ "botLimit.paused.keep": "Giữ các bot này hoạt động",+ "botLimit.paused.chosen": "Đã chọn {chosen}/{count}",+ "botLimit.paused.badge": "Tạm dừng",+ "botLimit.paused.saveFailed": "Không lưu được. Hãy thử lại.",+ "botLimit.paused.chooseAction": "Chọn bot hoạt động ({count} đang tạm dừng)","voice.search": "Tìm giọng nói hoặc dán liên kết","voice.noMatches": "Không có giọng nói nào khớp","voice.noMatchesHint": "Hãy thử tên khác hoặc dán liên kết tới giọng nói.",diff --git a/src/locales/zh-tw.json b/src/locales/zh-tw.jsonindex dac34b6330..36d04c73a0 100644--- a/src/locales/zh-tw.json+++ b/src/locales/zh-tw.json@@ -311,6 +311,9 @@"server.memory.wait": "正在等待這個 Cloud 的記憶體。正在執行:{running}。排在前面:{ahead}。有空間時會自動開始。","server.memory.still": "仍在等待記憶體。正在執行:{running}。排在前面:{ahead}。","server.memory.starter": "Starter 一次大約只能執行一個任務。更大的方案可以同時執行更多。",+ "server.planTurns.wait": "等待中:此 Cloud 的 Starter 一次執行 {limit} 個任務。前面還有 {ahead} 個。有任務完成後會自動開始;更大的方案可以同時執行更多。",+ "server.planTurns.still": "仍在等待:Starter 一次執行 {limit} 個任務。前面還有 {ahead} 個。",+ "server.botPaused": "已暫停:Starter 只讓 {limit} 個機器人保持運作。升級即可喚醒它,或調整哪些機器人保持運作。","server.teammates.queued.thread": "{bot} 還沒有開始:那個對話中上一輪仍在執行。","server.teammates.queued.slots": "{bot} 還沒有開始:它已在同時執行 {limit} 個對話中的 {busy} 個。","server.teammates.queued.room": "{bot} 還沒有開始:它正在完成某個房間裡的一輪。",@@ -7482,6 +7485,15 @@"botLimit.body": "如要建立更多,請升級這個 Cloud。你現有的機器人都會保持原樣。","botLimit.bodyElsewhere": "如要建立更多,請在方案頁面升級這個 Cloud。你現有的機器人都會保持原樣。","botLimit.openPlan": "開啟方案頁面",+ "botLimit.tasks.title": "Starter 一次執行 {count} 個任務",+ "botLimit.tasks.body": "你的機器人想分派的工作超出此 Cloud 的容量,所以有一部分沒有開始。升級後可以同時執行更多。",+ "botLimit.paused.title": "Starter 只讓 {count} 個機器人保持運作",+ "botLimit.paused.body": "其他機器人已暫停,它們知道的一切都會保留。選擇要保持運作的 {count} 個,或升級以喚醒全部。",+ "botLimit.paused.keep": "讓這些保持運作",+ "botLimit.paused.chosen": "已選 {chosen}/{count}",+ "botLimit.paused.badge": "已暫停",+ "botLimit.paused.saveFailed": "無法儲存,請再試一次。",+ "botLimit.paused.chooseAction": "選擇保持運作的機器人({count} 個已暫停)","roomCard.restartNow": "立即重新啟動","roomCard.restartHint": "大約需要一分鐘,並會停止目前正在執行的工作。","roomCard.restarting": "正在以新的大小重新啟動這個 Cloud,大約一分鐘後就會恢復。",diff --git a/src/locales/zh.json b/src/locales/zh.jsonindex fbea5547eb..98557a1f2b 100644--- a/src/locales/zh.json+++ b/src/locales/zh.json@@ -254,6 +254,9 @@"server.memory.wait": "正在等待这个 Cloud 的内存。正在运行:{running}。排在前面:{ahead}。有空间时会自动开始。","server.memory.still": "仍在等待内存。正在运行:{running}。排在前面:{ahead}。","server.memory.starter": "Starter 一次大约只能运行一个任务。更大的方案可以同时运行更多。",+ "server.planTurns.wait": "等待中:此 Cloud 的 Starter 一次运行 {limit} 个任务。前面还有 {ahead} 个。有任务完成后会自动开始;更大的方案可以同时运行更多。",+ "server.planTurns.still": "仍在等待:Starter 一次运行 {limit} 个任务。前面还有 {ahead} 个。",+ "server.botPaused": "已暂停:Starter 只保持 {limit} 个机器人在线。升级即可唤醒它,或调整哪些机器人保持在线。","server.teammates.queued.thread": "{bot} 还没有开始:那个对话中上一轮仍在运行。","server.teammates.queued.slots": "{bot} 还没有开始:它已在同时运行 {limit} 个对话中的 {busy} 个。","server.teammates.queued.room": "{bot} 还没有开始:它正在完成某个房间里的一轮。",@@ -7232,6 +7235,15 @@"botLimit.body": "如需创建更多,请升级这个 Cloud。你现有的机器人都会保持原样。","botLimit.bodyElsewhere": "如需创建更多,请在方案页面升级这个 Cloud。你现有的机器人都会保持原样。","botLimit.openPlan": "打开方案页面",+ "botLimit.tasks.title": "Starter 一次运行 {count} 个任务",+ "botLimit.tasks.body": "你的机器人想分派的工作超出了此 Cloud 的容量,所以有一部分没有开始。升级后可以同时运行更多。",+ "botLimit.paused.title": "Starter 只保持 {count} 个机器人在线",+ "botLimit.paused.body": "其他机器人已暂停,它们知道的一切都会保留。选择保持在线的 {count} 个,或升级以唤醒全部。",+ "botLimit.paused.keep": "保持这些在线",+ "botLimit.paused.chosen": "已选 {chosen}/{count}",+ "botLimit.paused.badge": "已暂停",+ "botLimit.paused.saveFailed": "无法保存,请重试。",+ "botLimit.paused.chooseAction": "选择在线的机器人({count} 个已暂停)","roomCard.restartNow": "立即重启","roomCard.restartHint": "大约需要一分钟,并且会停止当前正在运行的任务。","roomCard.restarting": "正在以新容量重启此 Cloud,大约一分钟后恢复。",diff --git a/src/state/api.ts b/src/state/api.tsindex 4f8a3ade2d..3a8989531f 100644--- a/src/state/api.ts+++ b/src/state/api.ts@@ -2,7 +2,7 @@// (src/lib/cloud-power.ts), and a page out of sight sends none at all.import { asleepAnswer, BACKGROUND_HEADER, cloudAsleep, markCloudAsleep, markCloudAwake, pageHidden, pageShown } from "../lib/cloud-power";import { lacksAdminScope } from "../lib/admin-scope";-import { isBotLimitRefusal, showBotLimit } from "../lib/bot-limit";+import { isBotLimitRefusal, isBotPausedRefusal, showBotLimit } from "../lib/bot-limit";import { noteRefusedRequest } from "../lib/session-ended";import { serverErrorText } from "../lib/server-error";@@ -51,6 +51,7 @@ export async function api<T = any>(path: string, init?: ApiInit): Promise<T> {const refused = new ApiError(serverErrorText(body, message), res.status, body);if (res.status === 401 || (res.status === 403 && !lacksAdminScope(refused))) noteRefusedRequest();if (res.status === 409 && isBotLimitRefusal(refused)) showBotLimit();+ if (res.status === 409 && isBotPausedRefusal(refused)) showBotLimit("paused");throw refused;}return body;diff --git a/src/state/config-status.ts b/src/state/config-status.tsindex 4f33e47159..49c1cb1a92 100644--- a/src/state/config-status.ts+++ b/src/state/config-status.ts@@ -62,6 +62,12 @@ export interface ConfigStatus {botLimit?: number;/** A task on this Cloud is waiting for memory right now. */waitingForRoom?: boolean;+ /** On Starter: the turns it runs at once and the hand-offs it holds waiting, and when work was last refused for a limit. */+ planTurns?: { running: number; waiting: number; refusedAt?: number; refused?: "tasks" | "paused" };+ /** On Starter: how many bots stay awake; absent when every bot does. */+ awakeLimit?: number;+ /** Bots paused for the plan's limit: kept, but taking no turns. */+ pausedBots?: string[];threads?: { maxConcurrentPerBot: number; eventLogMaxBytes?: number; eventLogRetentionDays?: number };automaticRecovery?: { enabled: boolean; backup?: ModelSelection };/** Prompt-cache keep-warm for idle Claude threads. Absent from older servers. */