Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
fix(local-profiles): rework #5279 so a busy switch waits on its own, no dialog
milind-soniac5b121794cd
diff --git a/electron/local-profiles.d.mts b/electron/local-profiles.d.mtsindex f7bae3f280..3b06d25248 100644--- a/electron/local-profiles.d.mts+++ b/electron/local-profiles.d.mts@@ -4,7 +4,6 @@ import type { CleanWorkspace } from "./clean-workspace.mjs";export declare const PROFILES_FILE: "profiles.json";export declare const PROFILE_NAME_LIMIT: number;export declare const MAX_PROFILES: number;-export declare const SETTLE_MS: number;export declare const SETTLE_POLL_MS: number;/** One workspace of this computer's own, as the registry keeps it: `name` null is This Mac's own (This Mac or This PC). */@@ -49,10 +48,6 @@ export function createLocalProfiles(deps: {onLocal(): boolean;busy(): Promise<{ name: string; what?: string } | null>;trash(dir: string): Promise<void>;- /** Asked once when a switch finds work under way in the workspace it would stop (`leaving`: its id, null for This- * computer's own copy; `target`: the one that would open, null likewise; `name`: who works there, "" when unknown).- * "wait": no time limit; "stop": at most settleMs from the answer; "cancel": nothing switches. */- ask?: ((input: { leaving: string | null; target: string | null; name: string }) => Promise<"wait" | "stop" | "cancel">) | null;reserved?(): string | null;allowed?(): boolean;remember?(place: { profile: string } | null): void;@@ -61,5 +56,4 @@ export function createLocalProfiles(deps: {fs?: typeof import("node:fs");sleep?(ms: number): Promise<void>;now?(): number;- settleMs?: number;}): LocalProfiles;diff --git a/electron/local-profiles.mjs b/electron/local-profiles.mjsindex 077381abe5..f16baf3547 100644--- a/electron/local-profiles.mjs+++ b/electron/local-profiles.mjs@@ -1,7 +1,7 @@// The workspaces of this computer's own on the rail (each a profile, clean-workspace.mjs): their names and colours, a new// one from the rail's +, and switching between them. One runs at a time, on this computer's one server: opening another// stops the one that runs once the work under way in it has finished (as the move waits for it, server/move-waits.ts),-// or after SETTLE_MS, when its server notes each turn cut short as a quit does.+// or at once on a second click on the place that waits, when its server notes each turn cut short as a quit does.//// Who sees them: once My Cloud is home, every one, This Mac (`default`) first; before any home, This computer is the data// folder as ever and the named ones sit beside it, so This Mac's profile is never offered there. A server of the person's@@ -20,8 +20,6 @@ import { DEFAULT_PROFILE, PROFILE_ID, profileDir, profilesDir } from "./clean-woexport const PROFILES_FILE = "profiles.json";export const PROFILE_NAME_LIMIT = 40;export const MAX_PROFILES = 20;-/** The longest a switch waits for the work under way in the workspace it leaves. */-export const SETTLE_MS = 60_000;export const SETTLE_POLL_MS = 1_000;/** A name as a person typed it: one line, no control characters, at most PROFILE_NAME_LIMIT characters; null when empty. */@@ -131,7 +129,6 @@ export function createProfileRegistry({ dataDir, fs = nodeFs, now = Date.now, ra* fs?: typeof nodeFs,* sleep?(ms: number): Promise<void>,* now?(): number,- * settleMs?: number,* }} deps `home()`: My Cloud is home ("cloud"), no home but this computer ("local"), or another home (null). `window`: the* home window's profile on screen (home-window.mjs), and My Cloud shown again. `showLocal()`: the window onto this* computer's page, LOCAL_ID active. `onLocal()`: this computer's page is on screen. `busy()`: what the server that runs now@@ -139,8 +136,8 @@ export function createProfileRegistry({ dataDir, fs = nodeFs, now = Date.now, ra* what This Mac is called here (This Mac or This PC). `remember(place)`: the place the next launch opens:* the workspace that opened, or null once This computer's own copy is back.*/-export function createLocalProfiles({ registry, clean, dataDir, home, window: shown, showLocal, onLocal, busy, trash, ask = null, reserved = () => null, allowed = () => true,- remember = () => {}, changed = () => {}, log = () => {}, fs = nodeFs, sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms)), now = Date.now, settleMs = SETTLE_MS }) {+export function createLocalProfiles({ registry, clean, dataDir, home, window: shown, showLocal, onLocal, busy, trash, reserved = () => null, allowed = () => true,+ remember = () => {}, changed = () => {}, log = () => {}, fs = nodeFs, sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms)), now = Date.now }) {/** Each switch asked for; a newer one (another tile, My Cloud) ends the wait of the one before. */let turn = 0;/** The workspace a switch waits to open (null: This computer's own copy), and for whom. */@@ -150,28 +147,16 @@ export function createLocalProfiles({ registry, clean, dataDir, home, window: shconst running = () => clean.profile();const tell = () => { try { changed(); } catch {} };- /** Waits while the server that runs now still works and will stop for this switch, at most `settleMs`, or as long as it- * takes when `ask` says to wait. False when a newer switch took over or `ask` said to stay. */+ /** Waits while the server that runs now still works and will stop for this switch, for as long as it works. False when a+ * newer switch took over. */async function settle(mine, target, stops) {if (!stops) return true;- let until = now() + settleMs;- let asked = !ask;for (;;) {if (mine !== turn) return false;let who = null;try { who = await busy(); } catch {}if (mine !== turn) return false;if (!who) break;- if (!asked) {- asked = true;- let choice = "stop";- try { choice = await ask({ leaving: running(), target, name: who.name || "" }); } catch {}- if (mine !== turn) return false;- if (choice === "cancel") { turn++; if (settling) { settling = null; tell(); } return false; }- until = choice === "wait" ? Infinity : now() + settleMs;- continue;- }- if (now() >= until) { log(`local profiles: ${target} opens though ${who.name || who.what || "a turn"} still works`); break; }if (settling?.id !== target || settling.name !== who.name) { settling = { id: target, name: who.name || "" }; tell(); }await sleep(SETTLE_POLL_MS);}@@ -179,12 +164,21 @@ export function createLocalProfiles({ registry, clean, dataDir, home, window: shreturn mine === turn;}+ /** A second click on the place a switch waits for: it opens now, and the server stops as a quit stops it. */+ function hurry() {+ log(`local profiles: ${settling.id ?? "this computer"} opens though ${settling.name || "a turn"} still works`);+ settling = null;+ tell();+ return true;+ }+/** True once workspace `id` is on screen, false when it can't open, null when a newer switch took over. */async function open(id) {+ const again = settling?.id === id;const mine = ++turn;if (!allowed() || !listed(id)) return false;const stops = running() !== id && (home() === "local" || running() !== null);- if (!(await settle(mine, id, stops))) return null;+ if (!(again ? hurry() : await settle(mine, id, stops))) return null;const opened = home() === "cloud" ? await shown.openProfile(id) : running() === id ? (await showLocal(), true) : await clean.open(id);if (opened) remember({ profile: id });return opened || mine === turn ? opened : null;@@ -206,9 +200,10 @@ export function createLocalProfiles({ registry, clean, dataDir, home, window: shopen,/** Back to This computer's own copy from a workspace (no home but this computer). */async computer() {+ const again = settling?.id === null;const mine = ++turn;if (running() === null) { await showLocal(); remember(null); return true; }- if (!(await settle(mine, null, true))) return null;+ if (!(again ? hurry() : await settle(mine, null, true))) return null;const left = await clean.leave();if (left && mine === turn) remember(null);return left;diff --git a/electron/local-profiles.node-test.mjs b/electron/local-profiles.node-test.mjsindex df7633f7ca..cf243a09b2 100644--- a/electron/local-profiles.node-test.mjs+++ b/electron/local-profiles.node-test.mjs@@ -5,7 +5,7 @@ import { join } from "node:path";import test from "node:test";import { createCleanWorkspace, DEFAULT_PROFILE, profileDir, profilesDir } from "./clean-workspace.mjs";-import { createLocalProfiles, createProfileRegistry, MAX_PROFILES, PROFILES_FILE, profileName, SETTLE_MS } from "./local-profiles.mjs";+import { createLocalProfiles, createProfileRegistry, MAX_PROFILES, PROFILES_FILE, profileName } from "./local-profiles.mjs";/** This computer's data folder on disk, with the one server the app runs at a time (`running`), the real profile swap* (clean-workspace.mjs) over it, the registry beside it and the home window's side of a profile on screen. */@@ -16,7 +16,7 @@ function computer(t, { home = "cloud", frozen = home === "cloud" } = {}) {mkdirSync(dataDir, { recursive: true });if (frozen) writeFileSync(join(dataDir, "moved.json"), JSON.stringify({ v: 1, at: 1, cloud: "https://omb-t-1.fly.dev" }));let clock = 1_000;- const w = { dataDir, running: dataDir, swaps: [], home, shown: null, onScreen: "cloud", busy: [], trashed: [], trashFails: false, changes: 0, logs: [], waits: 0, remembered: [], asked: [] };+ const w = { dataDir, running: dataDir, swaps: [], home, shown: null, onScreen: "cloud", busy: [], trashed: [], trashFails: false, changes: 0, logs: [], waits: 0, remembered: [] };w.now = () => clock;w.clean = createCleanWorkspace({ dataDir: () => dataDir, running: () => w.running,swap: async (dir) => { w.swaps.push(dir); await new Promise((resolve) => setImmediate(resolve)); w.running = dir; w.onScreen = "local"; return { ok: true }; } });@@ -29,10 +29,9 @@ function computer(t, { home = "cloud", frozen = home === "cloud" } = {}) {},showLocal: () => { w.onScreen = "local"; }, onLocal: () => w.onScreen === "local",busy: async () => w.busy[0] ?? null,- ask: async (input) => { w.asked.push(input); return w.answer ? w.answer(input) : "stop"; },trash: async (dir) => { if (w.trashFails) throw new Error("no Trash here"); w.trashed.push(dir); rmSync(dir, { recursive: true, force: true }); },reserved: () => "This Mac", remember: (place) => w.remembered.push(place), changed: () => { w.changes++; }, log: (line) => w.logs.push(line), now: w.now,- sleep: w.sleep = async (ms) => { clock += ms; w.waits++; w.onWait?.(); } });+ sleep: async (ms) => { clock += ms; w.waits++; w.onWait?.(); } });w.file = () => join(profilesDir(dataDir), PROFILES_FILE);w.saved = () => JSON.parse(readFileSync(w.file(), "utf8"));return w;@@ -150,41 +149,42 @@ test("a switch waits for the work under way in the workspace it leaves, says soassert.equal(w.running, profileDir(w.dataDir, "work"));});-test(`a switch waits at most ${SETTLE_MS / 1000} s: then the server stops as a quit stops it, and each cut turn says so there`, async (t) => {+test("a switch waits with no time limit while the work goes on: nothing is cut short", async (t) => {const w = computer(t);w.profiles.create({ name: "Work" });await w.profiles.open(DEFAULT_PROFILE);w.busy = [{ name: "Scout", what: "bot" }];+ w.onWait = () => { if (w.waits === 600) w.busy = []; };assert.equal(await w.profiles.open("work"), true);- assert.equal(w.waits, SETTLE_MS / 1000);- assert.match(w.logs.at(-1), /work opens though Scout still works/);+ assert.equal(w.waits, 600, "ten minutes of Scout working, and it still waited");+ assert.equal(w.running, profileDir(w.dataDir, "work"));+ assert.equal(w.logs.some((line) => /still works/.test(line)), false);});-test("the person picks how a busy switch goes: asked once, wait has no time limit, cancel opens nothing", async (t) => {+test("a second click on the place that waits opens it at once: the server stops as a quit stops it, and each cut turn says so there", async (t) => {const w = computer(t);w.profiles.create({ name: "Work" });await w.profiles.open(DEFAULT_PROFILE);- assert.deepEqual(w.asked, [], "nothing busy: never asked");w.busy = [{ name: "Scout", what: "bot" }];- w.answer = () => "wait";- w.onWait = () => { if (w.waits === SETTLE_MS / 1000 + 5) w.busy = []; };- assert.equal(await w.profiles.open("work"), true);- assert.equal(w.waits, SETTLE_MS / 1000 + 5, "waited past the limit until Scout finished");- assert.deepEqual(w.asked, [{ leaving: DEFAULT_PROFILE, target: "work", name: "Scout" }], "asked once");+ let again = null;+ w.onWait = () => { if (w.waits === 2) again = w.profiles.open("work"); };+ assert.equal(await w.profiles.open("work"), null, "the first click's wait ends");+ assert.equal(await again, true);+ assert.equal(w.waits, 2, "no more waiting after the second click");+ assert.equal(w.running, profileDir(w.dataDir, "work"));assert.equal(w.profiles.settling(), null);+ assert.match(w.logs.at(-1), /work opens though Scout still works/);- w.busy = [{ name: "Scout", what: "bot" }];- w.waits = 0; w.asked = []; w.onWait = null; w.answer = () => "cancel";- const swaps = w.swaps.length;- assert.equal(await w.profiles.open(DEFAULT_PROFILE), null, "stayed");- assert.equal(w.swaps.length, swaps, "nothing stopped or started");- assert.equal(w.waits, 0);- assert.equal(w.asked.length, 1);-- w.answer = async () => { await w.sleep(2 * SETTLE_MS); return "stop"; };- w.waits = 0;- assert.equal(await w.profiles.open(DEFAULT_PROFILE), true);- assert.equal(w.waits, 1 + SETTLE_MS / 1000, "stop keeps the limit, counted from the answer");+ const local = computer(t, { home: "local" });+ local.onScreen = "local";+ local.profiles.create({ name: "Work" });+ await local.profiles.open("work");+ local.busy = [{ name: "Juno", what: "bot" }];+ local.onWait = () => { if (local.waits === 1) again = local.profiles.computer(); };+ assert.equal(await local.profiles.computer(), null);+ assert.equal(await again, true, "This computer clicked again: back at once");+ assert.equal(local.running, local.dataDir);+ assert.match(local.logs.at(-1), /this computer opens though Juno still works/);});test("nothing to wait for when the frozen copy runs: My Cloud's first This Mac opens at once", async (t) => {diff --git a/electron/main.mjs b/electron/main.mjsindex 224b1f89f8..d36f70af1f 100644--- a/electron/main.mjs+++ b/electron/main.mjs@@ -2623,7 +2623,7 @@ function showHome(options) {}const showStartPlace = () => openStartPlace({ home: homeWindow, places: homePlaces, profiles: localProfiles, log: slog, server: id => { const entry = environmentsState.environments.find(candidate => candidate.id === id && handSaved(candidate)); return entry ? reopenSavedServer(entry, { saved: () => environmentsState.environments.filter(handSaved), fetch: (...args) => session.defaultSession.fetch(...args), opened: async (found) => { if (!mainWindow || mainWindow.isDestroyed()) createWindow({ deferNavigation: true }); persistEnvironments(withActive(environmentsState, found.id)); return navigateMainWindow(activeOrigin()); } }) : Promise.resolve(false); } }).catch(error => slog(`start: ${error?.message ?? error}`)); const openOwnCloud = id => { homeWindow.cancel(); return showHome({ place: { cloud: id, name: environmentsState.environments.find(entry => entry.cloud?.id === id)?.name } }); };const placeInbox = createPlaceInboxWatch({ places: () => [{ id: LOCAL_ID, local: true }, ...environmentsState.environments.filter(entry => entry.kind !== "local" && entry.origin)], activeId: () => environmentsState.activeId, local: localServerRequest, cloudFetch: (...args) => session.defaultSession.fetch(...args), asleep: origin => homeWindow.asleepAt(origin), shown: () => !desktopRemoteAccess && serverReady && Boolean(mainWindow && !mainWindow.isDestroyed() && mainWindow.isVisible()), changed: () => railChanged() });-const thisComputerName = () => nativeT(process.platform === "darwin" ? "rail.thisMac" : "rail.thisPc"); const localProfiles = createLocalProfiles({ registry: createProfileRegistry({ dataDir: desktopDataDir }), clean: cleanWorkspace, dataDir: desktopDataDir, allowed: () => app.isPackaged && !desktopRemoteAccess, home: () => (homeWindow.cloudOrigin() ? "cloud" : ownHome?.origin() || cleanWorkspace.marker().frozen ? null : "local"), window: { openProfile: id => homeWindow.openProfile(id), profile: () => homeWindow.profile(), showCloud: () => showHome({ place: "cloud" }) }, showLocal: () => { homeWindow.cancel(); persistEnvironments(withActive(environmentsState, LOCAL_ID)); return navigateMainWindow(rendererOrigin()); }, onLocal: () => Boolean(mainWindow && !mainWindow.isDestroyed() && senderIsLocal({ sender: mainWindow.webContents })), busy: async () => { const said = await (await localServerRequest("/api/move/freeze", { signal: AbortSignal.timeout(5_000) })).json(); return typeof said?.busy === "string" ? { name: said.busy, what: said.what } : null; }, trash: dir => shell.trashItem(dir), reserved: thisComputerName, ask: async ({ leaving, target, name: bot }) => { const label = id => (id && localProfiles.name(id)) || thisComputerName(); const name = label(leaving); const options = { type: "question", buttons: [nativeT("native.places.busyWait"), nativeT("native.places.busyStop"), nativeT("native.common.cancel")], defaultId: 0, cancelId: 2, message: bot ? nativeT("native.places.busyMessage", { bot, name }) : nativeT("native.places.busyMessageAny", { name }), detail: nativeT("native.places.busyDetail", { name, target: label(target) }) }; const shownOn = mainWindow && !mainWindow.isDestroyed() ? mainWindow : null; return ["wait", "stop", "cancel"][(await (shownOn ? dialog.showMessageBox(shownOn, options) : dialog.showMessageBox(options))).response] ?? "cancel"; }, remember: homePlaces.remember, changed: () => railChanged(), log: slog }); const railList = () => { ownHome?.refresh(); const settling = localProfiles.settling(); return railPlaces({ saved: environmentsState, waiting: placeInbox.waiting, home: homeWindow.cloudOrigin() ?? ownHome?.origin() ?? null, mine: myCloud(), state: desktopRemoteAccess ? null : cloudAccount?.state(), offers: entry => !desktopRemoteAccess && ownHome?.offers(entry) === true, accounts: accountRing.waiting(), profiles: localProfiles.places({ activeLocal: environmentsState.activeId === LOCAL_ID }), computerSettling: settling && settling.id === null ? settling.name : null }); };+const localProfiles = createLocalProfiles({ registry: createProfileRegistry({ dataDir: desktopDataDir }), clean: cleanWorkspace, dataDir: desktopDataDir, allowed: () => app.isPackaged && !desktopRemoteAccess, home: () => (homeWindow.cloudOrigin() ? "cloud" : ownHome?.origin() || cleanWorkspace.marker().frozen ? null : "local"), window: { openProfile: id => homeWindow.openProfile(id), profile: () => homeWindow.profile(), showCloud: () => showHome({ place: "cloud" }) }, showLocal: () => { homeWindow.cancel(); persistEnvironments(withActive(environmentsState, LOCAL_ID)); return navigateMainWindow(rendererOrigin()); }, onLocal: () => Boolean(mainWindow && !mainWindow.isDestroyed() && senderIsLocal({ sender: mainWindow.webContents })), busy: async () => { const said = await (await localServerRequest("/api/move/freeze", { signal: AbortSignal.timeout(5_000) })).json(); return typeof said?.busy === "string" ? { name: said.busy, what: said.what } : null; }, trash: dir => shell.trashItem(dir), reserved: () => nativeT(process.platform === "darwin" ? "rail.thisMac" : "rail.thisPc"), remember: homePlaces.remember, changed: () => railChanged(), log: slog }); const railList = () => { ownHome?.refresh(); const settling = localProfiles.settling(); return railPlaces({ saved: environmentsState, waiting: placeInbox.waiting, home: homeWindow.cloudOrigin() ?? ownHome?.origin() ?? null, mine: myCloud(), state: desktopRemoteAccess ? null : cloudAccount?.state(), offers: entry => !desktopRemoteAccess && ownHome?.offers(entry) === true, accounts: accountRing.waiting(), profiles: localProfiles.places({ activeLocal: environmentsState.activeId === LOCAL_ID }), computerSettling: settling && settling.id === null ? settling.name : null }); };// The rail as the window's own chrome (chrome-rail.mjs): this app's page beside every place's page, the one that lists.const chromeRail = createChromeRail({ createView: options => new WebContentsView(options), preload: path.join(__dirname, "preload.cjs"), log: slog, prefs: () => desktopPrefs, changed: () => rail.changed(),args: () => [...desktopCompanionRendererArguments(rendererOrigin(), desktopRemoteAccess), ...(app.isPackaged && !desktopRemoteAccess ? ["--omb-company-desktop=1"] : []), `--omb-app-version=${app.getVersion()}`],diff --git a/src/locales/en.json b/src/locales/en.jsonindex 0f03c8ed85..676994cb67 100644--- a/src/locales/en.json+++ b/src/locales/en.json@@ -9500,11 +9500,6 @@"native.cloud.ready.quotedTitle": "“{name}” is ready","native.places.noLongerHere": "That place isn't here any more.","native.places.profileFailed": "This computer's own place didn't open. Try again in a moment.",- "native.places.busyMessage": "{bot} is still working in {name}",- "native.places.busyMessageAny": "Work is still under way in {name}",- "native.places.busyDetail": "Only one place on this computer runs at a time. Switching to {target} stops {name}'s bots and automations until you come back. Wait, and {target} opens as soon as the work finishes; stop it, and it gets up to a minute before it stops.",- "native.places.busyWait": "Wait for it to finish",- "native.places.busyStop": "Stop it and switch","native.places.cannotAdd": "That isn't something to add here.","native.cloud.addSignIn": "Sign in to MausBot Cloud first.","native.cloud.addPlanAndName": "Choose a plan and a name to continue.",diff --git a/src/locales/pt-br.json b/src/locales/pt-br.jsonindex 1a85b8e1c6..6ccccd5d3e 100644--- a/src/locales/pt-br.json+++ b/src/locales/pt-br.json@@ -657,11 +657,6 @@"homeLine.profile": "{name} começa do zero, separado do My Cloud. Os bots que você tinha aqui estão no My Cloud; para trazer uma cópia antiga, importe o backup dela em Configurações → Backups.","homeLine.local": "{name} começa do zero: um lugar separado neste computador, com bots, conversas e arquivos próprios.","native.places.profileFailed": "O lugar próprio deste computador não abriu. Tente de novo em instantes.",- "native.places.busyMessage": "{bot} ainda está trabalhando em {name}",- "native.places.busyMessageAny": "Ainda há trabalho em andamento em {name}",- "native.places.busyDetail": "Só um lugar roda por vez neste computador. Mudar para {target} para os bots e automações de {name} até você voltar. Se esperar, {target} abre assim que o trabalho terminar; se parar, ele tem até um minuto antes de parar.",- "native.places.busyWait": "Esperar terminar",- "native.places.busyStop": "Parar e mudar","rail.settingUp": "{name}: em configuração","rail.waiting": "{name}: aguardando pagamento","rail.attention": "{name}: aguardando você",diff --git a/src/locales/source-hashes.json b/src/locales/source-hashes.jsonindex 08e897d5ed..d34fc4668d 100644--- a/src/locales/source-hashes.json+++ b/src/locales/source-hashes.json@@ -33852,12 +33852,7 @@"secretCard.modelgo.description": "b09e97c010524be77e50e4429d199218a3a3199a187f3edbacd81c9c661b1439","native.teamLink.otherTitle": "d160e3032fd4f4fedabfad5fc84852563d0cf85dcdbf92e82f9a06359a8d8522","native.teamLink.otherDetail": "11b8a9828b4afd5d0e6aef778751b00fe688893eee2e81e9865e834f21f8391d",- "native.teamLink.signIn": "bdfe6b9bdb9f911ecbe705d31d1dcc1b58295c05617c16d8b743cffa8084c2e0",- "native.places.busyMessage": "32d8f1dd6e0d2e4ac8b8f0439bc016f0524c62d07c5a191b47a4aaaefebdfb80",- "native.places.busyMessageAny": "0c556ff52d91843d73cfa9232af0f2829c8ac1ace73d0a377c5e8d08816a9374",- "native.places.busyDetail": "c6a9c3ceedbb50350174c7f0f632a1c22b98d343d09f09e47e0f93a273a2de44",- "native.places.busyWait": "fd0383a0789a3d3eb7f5364d6e54d66b5c35291e933ce65db232f89522e03b3a",- "native.places.busyStop": "caa52bc4eb1b79daff26ddfa58aaa33c8dba0142d325764438dea939c3b8a426"+ "native.teamLink.signIn": "bdfe6b9bdb9f911ecbe705d31d1dcc1b58295c05617c16d8b743cffa8084c2e0"},"zh": {"pro.fromPrice": "a48a04a457d60b08b54fc83e7a6c4584ffedb1e23621859084900c8521a3af7b",