From 6a776e5851291241e61b79a9dd71b7bfcc014dd3 Mon Sep 17 00:00:00 2001 From: Iliya Lyan <68940374+12ya@users.noreply.github.com> Date: Sun, 8 Nov 2026 16:11:21 +0900 Subject: [PATCH 1/8] feat(web,mobile): take over a device an idle thread still holds A thread keeps its device session after its run ends, so its agent-device claim refuses other threads' agents with DEVICE_IN_USE and names only a session hash. Nothing showed which thread held the device or offered a way to release it. The Device panel and the mobile device viewer now name other threads that have the same device open, linked to the thread. When that thread isn't running, Take over closes the device there through the existing device.close request, which releases its agent-device claim. --- .../devices/DevicePreviewRouteScreen.tsx | 84 ++++++++++++++++++- .../device/DevicePanel.browser.test.tsx | 64 ++++++++++++++ .../web/src/components/device/DevicePanel.tsx | 66 +++++++++++++++ docs/user/devices.md | 5 ++ packages/client-runtime/src/state/device.ts | 20 ++++- 5 files changed, 236 insertions(+), 3 deletions(-) diff --git a/apps/mobile/src/features/devices/DevicePreviewRouteScreen.tsx b/apps/mobile/src/features/devices/DevicePreviewRouteScreen.tsx index 1a380949e14fb..5f0d9ed8b41b2 100644 --- a/apps/mobile/src/features/devices/DevicePreviewRouteScreen.tsx +++ b/apps/mobile/src/features/devices/DevicePreviewRouteScreen.tsx @@ -1,13 +1,21 @@ import { SheetCloseButton } from "../../components/ui/SheetHeader"; import { Button } from "../../components/ui/Button"; import * as Dialog from "../../components/ui/Dialog"; +import { scopeThreadRef } from "@t3tools/client-runtime/environment"; import { deviceToolVersionLabels, deviceToolUpdateOwnership, deviceToolUpdatePolicy, + otherThreadDeviceSessions, } from "@t3tools/client-runtime/state/device"; -import { useIsFocused, useNavigation, type StaticScreenProps } from "@react-navigation/native"; -import { EnvironmentId, ThreadId } from "@t3tools/contracts"; +import { threadRuntimeIsActive } from "@t3tools/client-runtime/state/shell"; +import { + StackActions, + useIsFocused, + useNavigation, + type StaticScreenProps, +} from "@react-navigation/native"; +import { EnvironmentId, ThreadId, type DeviceSession } from "@t3tools/contracts"; import * as Cause from "effect/Cause"; import { useEffect, useRef, useState, type RefObject } from "react"; import * as Haptics from "expo-haptics"; @@ -35,6 +43,7 @@ import { deriveBottomControlInsets } from "../../lib/reserved-regions"; import { useNativeColumnLayoutMetrics } from "../../native/native-layout-metrics"; import { uuidv4 } from "../../lib/uuid"; import { deviceEnvironment, useDeviceHubAccess } from "../../state/device"; +import { useThreadShell } from "../../state/entities"; import { useEnvironmentQuery } from "../../state/query"; import { useAtomCommand } from "../../state/use-atom-command"; import { useAppearancePreferences } from "../settings/appearance/AppearancePreferencesProvider"; @@ -89,6 +98,7 @@ export function DevicePreviewScreen({ readonly initialDeviceKey?: string; }) { const embedded = onMaximize !== undefined; + const navigation = useNavigation(); const insets = useSafeAreaInsets(); // In a pane the stream sits below the pane's bar, which content otherwise slides under. const barOverlap = useBarOverlap(); @@ -104,10 +114,14 @@ export function DevicePreviewScreen({ const [controlsVisible, setControlsVisible] = useState(true); const retryHost = useAtomCommand(deviceEnvironment.list); const shutdown = useAtomCommand(deviceEnvironment.shutdown, { reportFailure: false }); + const close = useAtomCommand(deviceEnvironment.close, { reportFailure: false }); const streamRef = useRef(null); const state = useEnvironmentQuery(deviceEnvironment.state({ environmentId, input: {} })); const previews = threadDevicePreviews(state.data, threadId); const preview = selectedThreadDevicePreview(previews, selectedKey); + const holders = preview + ? otherThreadDeviceSessions(state.data?.sessions ?? [], preview.session) + : []; const onInputConnected = async (connected: boolean) => { setInputConnected(connected); if (!connected) setControlsVisible(true); @@ -149,6 +163,29 @@ export function DevicePreviewScreen({ } }; + const takeOver = async (holder: DeviceSession) => { + const result = await close({ + environmentId, + input: { threadId: holder.threadId, hostId: holder.hostId, deviceId: holder.deviceId }, + }); + if (result._tag === "Failure") { + Dialog.alert("Could not take over device", String(Cause.squash(result.cause))); + } + }; + const holderBanners = holders.map((holder) => ( + + navigation.dispatch( + StackActions.replace("Thread", { environmentId, threadId: holder.threadId }), + ) + } + onTakeOver={() => takeOver(holder)} + /> + )); + const controls: AppBarMenuItem[] = [ ...(state.data?.hosts .filter( @@ -281,6 +318,9 @@ export function DevicePreviewScreen({ ]} /> + {holderBanners.length > 0 ? ( + {holderBanners} + ) : null} ) : null} {preview && focused && foreground ? ( @@ -348,6 +388,7 @@ export function DevicePreviewScreen({ /> + {holderBanners.length > 0 ? {holderBanners} : null} ) : ( @@ -373,6 +414,45 @@ export function DevicePreviewScreen({ ); } +function DeviceHolderBanner(props: { + readonly environmentId: EnvironmentId; + readonly holder: DeviceSession; + readonly onOpenThread: () => void; + readonly onTakeOver: () => Promise; +}) { + const shell = useThreadShell(scopeThreadRef(props.environmentId, props.holder.threadId)); + const running = threadRuntimeIsActive(shell?.runtime); + const [takingOver, setTakingOver] = useState(false); + const title = shell?.title.trim() || "another thread"; + return ( + + + + Busy in {title} + {running ? ", which is running." : ", which isn't running."} + + + {running ? null : ( + + )} + + ); +} + function DeviceNotice(props: { readonly onDismiss: () => void; readonly children: ReactNode }) { return (
, + session: Pick, +) { + return sessions.filter( + (other) => + other.threadId !== session.threadId && + other.hostId === session.hostId && + other.deviceId === session.deviceId, + ); +} + export const deviceToolUpdateOwnership = "This environment's T3 server chooses device tool versions for itself and its SSH hosts. Update that server to receive newer tool versions; updating only your browser or mobile app does not update a remote server."; From 1b15169ccdebdf02c4045d00a7158428ed35dca2 Mon Sep 17 00:00:00 2001 From: Iliya Lyan <68940374+12ya@users.noreply.github.com> Date: Sun, 8 Nov 2026 16:44:44 +0900 Subject: [PATCH 2/8] fix(server): only take a device over from a thread with no work in flight Take over relied on the client's view of the holding thread. Clients omit older settled threads from their shells, and a thread can start a run between render and click, so a stale or missing shell could release a session a working agent was using. `device.close` now accepts `takeOver: { openedAt }`. Under the device lifecycle lock the server closes only the session opened at that time, and only when the holder has no active run or pending background task; otherwise it refuses with DeviceTakeoverRefusedError. A takeover never powers the device off. Web and mobile send the session they showed and no longer claim "isn't running" for a thread they cannot see. --- .../devices/DevicePreviewRouteScreen.tsx | 9 ++- apps/server/src/device/DeviceService.test.ts | 75 +++++++++++++++++++ apps/server/src/device/DeviceService.ts | 31 ++++++-- .../server/src/device/DeviceThreadActivity.ts | 33 ++++++++ apps/server/src/server.ts | 2 + .../device/DevicePanel.browser.test.tsx | 7 +- .../web/src/components/device/DevicePanel.tsx | 9 ++- docs/internals/devices.md | 2 + packages/contracts/src/device.ts | 21 ++++++ 9 files changed, 179 insertions(+), 10 deletions(-) create mode 100644 apps/server/src/device/DeviceThreadActivity.ts diff --git a/apps/mobile/src/features/devices/DevicePreviewRouteScreen.tsx b/apps/mobile/src/features/devices/DevicePreviewRouteScreen.tsx index 5f0d9ed8b41b2..1a6e6955d6cd0 100644 --- a/apps/mobile/src/features/devices/DevicePreviewRouteScreen.tsx +++ b/apps/mobile/src/features/devices/DevicePreviewRouteScreen.tsx @@ -166,7 +166,12 @@ export function DevicePreviewScreen({ const takeOver = async (holder: DeviceSession) => { const result = await close({ environmentId, - input: { threadId: holder.threadId, hostId: holder.hostId, deviceId: holder.deviceId }, + input: { + threadId: holder.threadId, + hostId: holder.hostId, + deviceId: holder.deviceId, + takeOver: { openedAt: holder.openedAt }, + }, }); if (result._tag === "Failure") { Dialog.alert("Could not take over device", String(Cause.squash(result.cause))); @@ -434,7 +439,7 @@ function DeviceHolderBanner(props: { > Busy in {title} - {running ? ", which is running." : ", which isn't running."} + {running ? ", which is running." : shell ? ", which isn't running." : "."} {running ? null : ( diff --git a/apps/server/src/device/DeviceService.test.ts b/apps/server/src/device/DeviceService.test.ts index 64054630f0d9c..755e5aee40dc4 100644 --- a/apps/server/src/device/DeviceService.test.ts +++ b/apps/server/src/device/DeviceService.test.ts @@ -40,6 +40,7 @@ import { makeDeviceHubOperations } from "./DeviceHubOperations.ts"; import { NodeRuntimeUnavailableError } from "@t3tools/shared/nodeRuntime"; import * as DeviceService from "./DeviceService.ts"; +import * as DeviceThreadActivity from "./DeviceThreadActivity.ts"; import * as SshDeviceHost from "./SshDeviceHost.ts"; import { agentDeviceSession, releaseAgentDeviceSession } from "./AgentDeviceTarget.ts"; @@ -1792,6 +1793,80 @@ describe("agent session release on close", () => { }), ); + const withActivity = (active: ReadonlySet) => + Effect.provideService( + DeviceThreadActivity.DeviceThreadActivity, + DeviceThreadActivity.DeviceThreadActivity.of({ + isActive: (threadId) => Effect.succeed(active.has(threadId)), + }), + ); + + it.effect("a takeover leaves a busy, unconfirmed, or replaced session claimed", () => + Effect.gen(function* () { + const holder = ThreadId.make("holder"); + const takeOver = ( + service: DeviceService.DeviceService["Service"], + session: { readonly deviceId: string; readonly openedAt: string }, + ) => + service.close({ + threadId: holder, + deviceId: session.deviceId, + shutdown: true, + takeOver: { openedAt: session.openedAt }, + }); + + const busy = yield* fixture().pipe(withActivity(new Set([holder]))); + yield* busy.service.configure({ enabled: true, agentAccessEnabled: true }); + const busySession = yield* openClaim(busy.service, holder); + expect(yield* takeOver(busy.service, busySession).pipe(Effect.flip)).toMatchObject({ + _tag: "DeviceTakeoverRefusedError", + reason: "thread_active", + }); + yield* takeOver(busy.service, { ...busySession, openedAt: "2000-01-01T00:00:00.000Z" }); + + // Without a thread activity source the server cannot vouch that the holder is idle. + const unknown = yield* fixture(); + yield* unknown.service.configure({ enabled: true, agentAccessEnabled: true }); + const unknownSession = yield* openClaim(unknown.service, holder); + expect(yield* takeOver(unknown.service, unknownSession).pipe(Effect.flip)).toMatchObject({ + _tag: "DeviceTakeoverRefusedError", + reason: "activity_unknown", + }); + + for (const { service, closedSessions, requests } of [busy, unknown]) { + expect(closedSessions).toEqual([]); + expect((yield* service.state).sessions.map((entry) => entry.threadId)).toEqual([holder]); + expect(requests.some((url) => url.endsWith("/shutdown"))).toBe(false); + } + }), + ); + + it.effect("a takeover releases an idle holder's exact session without powering off", () => + Effect.gen(function* () { + const { service, closedSessions, requests } = yield* fixture().pipe(withActivity(new Set())); + yield* service.configure({ enabled: true, agentAccessEnabled: true }); + const holder = ThreadId.make("holder"); + const taker = ThreadId.make("taker"); + const session = yield* openClaim(service, holder); + yield* openClaim(service, taker, session.deviceId); + + yield* service.close({ + threadId: holder, + deviceId: session.deviceId, + shutdown: true, + takeOver: { openedAt: session.openedAt }, + }); + + const name = yield* agentDeviceSession(holder, session.hostId, session.deviceId).pipe( + Effect.provide(NodeCrypto.layer), + ); + expect(closedSessions).toMatchObject([{ params: { command: "close", session: name } }]); + const state = yield* service.state; + expect(state.sessions.map((entry) => entry.threadId)).toEqual([taker]); + expect(requests.some((url) => url.endsWith("/shutdown"))).toBe(false); + }), + ); + it.effect.each(["reject", "http_error", "malformed"] as const)( "retains retryable state on %s", (failure) => diff --git a/apps/server/src/device/DeviceService.ts b/apps/server/src/device/DeviceService.ts index 790daabe7a445..bd5607edc78b1 100644 --- a/apps/server/src/device/DeviceService.ts +++ b/apps/server/src/device/DeviceService.ts @@ -23,6 +23,7 @@ import { type DeviceSimlockIdentity, DeviceSimlockIdentityError, type DeviceSimlockIdentityInput, + DeviceTakeoverRefusedError, type DeviceHostConfig, type EasDeviceHostConfig, type SimlockDeviceHostConfig, @@ -72,6 +73,7 @@ import * as SecretResolver from "@t3tools/secret-provider-core/server/SecretReso import * as SecretResolverLayer from "../secrets/SecretResolver.ts"; import { requireSettingsSecret } from "../secrets/settingsSecretValue.ts"; import * as DeviceHost from "./DeviceHost.ts"; +import * as DeviceThreadActivity from "./DeviceThreadActivity.ts"; import * as SshDeviceHost from "./SshDeviceHost.ts"; import * as EasDeviceHost from "./EasDeviceHost.ts"; import * as SimlockDeviceHost from "./SimlockDeviceHost.ts"; @@ -279,6 +281,7 @@ export const makeWithHosts = Effect.fn("DeviceService.makeWithHosts")(function* ) { const settings = yield* ServerSettings.ServerSettingsService; const digest = yield* Digest.Digest; + const threadActivity = yield* Effect.serviceOption(DeviceThreadActivity.DeviceThreadActivity); const lifecycleLock = yield* Semaphore.make(1); const readDeviceSettings = settings.getSettings.pipe( Effect.map((value) => ({ @@ -896,8 +899,22 @@ export const makeWithHosts = Effect.fn("DeviceService.makeWithHosts")(function* })); }); + const requireIdleHolder = (threadId: ThreadId) => { + const refuse = (reason: DeviceTakeoverRefusedError["reason"]) => + new DeviceTakeoverRefusedError({ threadId, reason }); + return Option.match(threadActivity, { + onNone: () => Effect.fail(refuse("activity_unknown")), + onSome: (activity) => + activity.isActive(threadId).pipe( + Effect.mapError(() => refuse("activity_unknown")), + Effect.flatMap((active) => (active ? Effect.fail(refuse("thread_active")) : Effect.void)), + ), + }); + }; + const close: DeviceService["Service"]["close"] = Effect.fn("DeviceService.close")( function* (input) { + const poweringOff = input.shutdown === true && input.takeOver === undefined; // Open publishes under the same lock; an old close must not release a reopened claim. const closing = yield* lifecycleLock.withPermit( Effect.gen(function* () { @@ -906,9 +923,13 @@ export const makeWithHosts = Effect.fn("DeviceService.makeWithHosts")(function* (session) => session.threadId === input.threadId && (input.hostId === undefined || session.hostId === input.hostId) && - (input.deviceId === undefined || session.deviceId === input.deviceId), + (input.deviceId === undefined || session.deviceId === input.deviceId) && + (input.takeOver === undefined || session.openedAt === input.takeOver.openedAt), ); - const ending = input.shutdown + if (input.takeOver !== undefined && closing.length > 0) { + yield* requireIdleHolder(input.threadId); + } + const ending = poweringOff ? state.sessions.filter((session) => closing.some( (closed) => @@ -935,8 +956,8 @@ export const makeWithHosts = Effect.fn("DeviceService.makeWithHosts")(function* yield* ready.releaseAgentSession(name, session.deviceId); } } - if (input.shutdown) yield* releaseLaunchers(ending); - if (input.shutdown) { + if (poweringOff) yield* releaseLaunchers(ending); + if (poweringOff) { for (const session of closing) { const ready = yield* currentReadiness(session.hostId); if (!ready) @@ -954,7 +975,7 @@ export const makeWithHosts = Effect.fn("DeviceService.makeWithHosts")(function* return closing; }), ); - if (input.shutdown) + if (poweringOff) yield* Effect.forEach( closing, (session) => diff --git a/apps/server/src/device/DeviceThreadActivity.ts b/apps/server/src/device/DeviceThreadActivity.ts new file mode 100644 index 0000000000000..6fac1ea0d822f --- /dev/null +++ b/apps/server/src/device/DeviceThreadActivity.ts @@ -0,0 +1,33 @@ +import type { ThreadId } from "@t3tools/contracts"; +import * as Context from "effect/Context"; +import * as Effect from "effect/Effect"; +import * as Layer from "effect/Layer"; + +import * as ProjectionStore from "../orchestration-v2/ProjectionStore.ts"; + +/** Whether a thread may still be driving its devices, so a takeover must leave them alone. */ +export class DeviceThreadActivity extends Context.Service< + DeviceThreadActivity, + { + readonly isActive: ( + threadId: ThreadId, + ) => Effect.Effect; + } +>()("t3/device/DeviceThreadActivity") {} + +export const layer = Layer.effect( + DeviceThreadActivity, + Effect.gen(function* () { + const projections = yield* ProjectionStore.ProjectionStoreV2; + return DeviceThreadActivity.of({ + // Background commands and subagents outlive their run and can still run agent-device. + isActive: Effect.fn("DeviceThreadActivity.isActive")(function* (threadId: ThreadId) { + const shell = yield* projections.getThreadShell(threadId); + return ( + shell !== null && + (shell.activeRunId !== null || (shell.pendingBackgroundTasks?.length ?? 0) > 0) + ); + }), + }); + }), +); diff --git a/apps/server/src/server.ts b/apps/server/src/server.ts index fe2740a8c7a2d..4c3695a41fe93 100644 --- a/apps/server/src/server.ts +++ b/apps/server/src/server.ts @@ -86,6 +86,7 @@ import * as PeerMcpClient from "./peer/PeerMcpClient.ts"; import * as McpSessionRegistry from "./mcp/McpSessionRegistry.ts"; import * as PreviewAutomationBroker from "./mcp/PreviewAutomationBroker.ts"; import * as DeviceService from "./device/DeviceService.ts"; +import * as DeviceThreadActivity from "./device/DeviceThreadActivity.ts"; import * as DeviceHubProxy from "./device/DeviceHubProxy.ts"; import * as PreviewManager from "./preview/Manager.ts"; import * as PortScanner from "./preview/PortScanner.ts"; @@ -501,6 +502,7 @@ const layerPreview = Layer.empty.pipe( ); const layerDevice = DeviceService.layer.pipe( + Layer.provide(DeviceThreadActivity.layer.pipe(Layer.provide(ProjectionStoreV2.layer))), Layer.provide(layerServerSettings), Layer.provide(ProcessRunner.layer), Layer.provide(NetService.layer), diff --git a/apps/web/src/components/device/DevicePanel.browser.test.tsx b/apps/web/src/components/device/DevicePanel.browser.test.tsx index 130361e538a8e..322e7aa06754b 100644 --- a/apps/web/src/components/device/DevicePanel.browser.test.tsx +++ b/apps/web/src/components/device/DevicePanel.browser.test.tsx @@ -244,7 +244,12 @@ describe("DevicePanel takeover", () => { [ { environmentId: threadA.environmentId, - input: { threadId: holder, hostId: "local", deviceId: "phone" }, + input: { + threadId: holder, + hostId: "local", + deviceId: "phone", + takeOver: { openedAt: session.openedAt }, + }, }, ], ]); diff --git a/apps/web/src/components/device/DevicePanel.tsx b/apps/web/src/components/device/DevicePanel.tsx index b465ff2aa797f..f2444cd1b657b 100644 --- a/apps/web/src/components/device/DevicePanel.tsx +++ b/apps/web/src/components/device/DevicePanel.tsx @@ -186,7 +186,12 @@ export function DevicePanel(props: { const settleOperation = startOperation(null); return close({ environmentId, - input: { threadId: holder.threadId, hostId: holder.hostId, deviceId: holder.deviceId }, + input: { + threadId: holder.threadId, + hostId: holder.hostId, + deviceId: holder.deviceId, + takeOver: { openedAt: holder.openedAt }, + }, }).then((result) => settleOperation(result._tag === "Failure" ? formatEnvironmentQueryError(result.cause) : null), ); @@ -434,7 +439,7 @@ function DeviceHolderNotice(props: { title: "another thread", }} /> - {running ? ", which is running." : ", which isn't running."} + {running ? ", which is running." : shell ? ", which isn't running." : "."} {running ? null : ( - )} +
); } diff --git a/docs/user/devices.md b/docs/user/devices.md index 9dc02435dbf7e..ba0a479c02b56 100644 --- a/docs/user/devices.md +++ b/docs/user/devices.md @@ -80,9 +80,10 @@ viewer stops streaming and leaves the device available to the agent. Device activity also appears in the thread timeline. Only one thread's agent can drive a device at a time. When another thread also -has the device open, the Device panel and the mobile viewer name that thread; -select the name to go there. If that thread isn't running, choose **Take over** -to close the device there so this thread's agent can use it. +has the device open, the Device panel and the mobile viewer name that thread +and say whether it is still running; select the name to go there. Choose +**Take over** to close the device there so this thread's agent can use it. An +agent still working in that thread loses the device. Agents drive the device through the `agent-device` command line. T3 Code installs and starts it only after **Agents can use devices** is on. iOS From 813814496c812149d469d04a7cadd87c0d2dc000 Mon Sep 17 00:00:00 2001 From: maria-rcks Date: Tue, 10 Nov 2026 04:21:01 +0000 Subject: [PATCH 5/8] fix(web,mobile): holder with pending background work reads as running --- .../mobile/src/features/devices/DevicePreviewRouteScreen.tsx | 5 ++++- apps/web/src/components/device/DevicePanel.tsx | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/apps/mobile/src/features/devices/DevicePreviewRouteScreen.tsx b/apps/mobile/src/features/devices/DevicePreviewRouteScreen.tsx index cb7c80eac026a..2a4957460719e 100644 --- a/apps/mobile/src/features/devices/DevicePreviewRouteScreen.tsx +++ b/apps/mobile/src/features/devices/DevicePreviewRouteScreen.tsx @@ -9,6 +9,7 @@ import { otherThreadDeviceSessions, } from "@t3tools/client-runtime/state/device"; import { threadRuntimeIsActive } from "@t3tools/client-runtime/state/shell"; +import { backgroundWorkHoldsCompletion } from "@t3tools/shared/orchestrationV2PendingBackgroundWork"; import { StackActions, useIsFocused, @@ -420,7 +421,9 @@ function DeviceHolderBanner(props: { readonly onTakeOver: () => Promise; }) { const shell = useThreadShell(scopeThreadRef(props.environmentId, props.holder.threadId)); - const running = threadRuntimeIsActive(shell?.runtime); + const running = + threadRuntimeIsActive(shell?.runtime) || + backgroundWorkHoldsCompletion(shell?.pendingBackgroundTasks ?? []); const [takingOver, setTakingOver] = useState(false); const title = shell?.title.trim() || "another thread"; return ( diff --git a/apps/web/src/components/device/DevicePanel.tsx b/apps/web/src/components/device/DevicePanel.tsx index 2696b47aa80a3..a44da04dc2670 100644 --- a/apps/web/src/components/device/DevicePanel.tsx +++ b/apps/web/src/components/device/DevicePanel.tsx @@ -2,6 +2,7 @@ import { DeviceHostUpdates } from "./DeviceHostUpdates"; import { scopeThreadRef } from "@t3tools/client-runtime/environment"; import { otherThreadDeviceSessions } from "@t3tools/client-runtime/state/device"; import { threadRuntimeIsActive } from "@t3tools/client-runtime/state/shell"; +import { backgroundWorkHoldsCompletion } from "@t3tools/shared/orchestrationV2PendingBackgroundWork"; import type { DevicePlatform, DeviceServiceState, @@ -418,7 +419,9 @@ function DeviceHolderNotice(props: { readonly onTakeOver: () => Promise; }) { const shell = useThreadShell(scopeThreadRef(props.environmentId, props.holder.threadId)); - const running = threadRuntimeIsActive(shell?.runtime); + const running = + threadRuntimeIsActive(shell?.runtime) || + backgroundWorkHoldsCompletion(shell?.pendingBackgroundTasks ?? []); const [takingOver, setTakingOver] = useState(false); return (
Date: Tue, 10 Nov 2026 04:36:49 +0000 Subject: [PATCH 6/8] fix(web,mobile): name the holder thread in each Take over button --- apps/mobile/src/features/devices/DevicePreviewRouteScreen.tsx | 1 + apps/web/src/components/device/DevicePanel.browser.test.tsx | 4 ++-- apps/web/src/components/device/DevicePanel.tsx | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/mobile/src/features/devices/DevicePreviewRouteScreen.tsx b/apps/mobile/src/features/devices/DevicePreviewRouteScreen.tsx index 2a4957460719e..a4314e41d164e 100644 --- a/apps/mobile/src/features/devices/DevicePreviewRouteScreen.tsx +++ b/apps/mobile/src/features/devices/DevicePreviewRouteScreen.tsx @@ -441,6 +441,7 @@ function DeviceHolderBanner(props: {
); diff --git a/apps/web/src/i18n/translations/de.json b/apps/web/src/i18n/translations/de.json index 4c9f0f6d27e4f..606fd97a82e42 100644 --- a/apps/web/src/i18n/translations/de.json +++ b/apps/web/src/i18n/translations/de.json @@ -5071,6 +5071,10 @@ "4b4ef3f2e2ed2c56": "{name} starten", "08098a6fb84e8a34": "Öffnen", "c71a5080b2026870": "Starten", + "cfae7ef07c37220e": "einem anderen Thread", + "23d5d026ee80963b": "Von {title} übernehmen", + "01e8d054b2d2f232": "Wird übernommen…", + "746c576ea195806b": "Übernehmen", "a34247bae083cebf": "Gerätefehler schließen", "191353bd8f033118": "Die Listen {first} und {second} auf {host} sind möglicherweise unvollständig.", "b17bcd4cbf80442e": "Die {platform}-Liste auf {host} ist möglicherweise unvollständig.", @@ -5088,6 +5092,33 @@ ], "e902f208c4e6146f": "Keine virtuellen Android-Geräte gefunden. Erstelle eines im Geräte-Manager von Android Studio und aktualisiere dann.", "d9a71f3db685cb0e": "Geräte aktualisieren", + "ce2da8d9521a3ef4": [ + "Belegt durch ", + { + "i": 1, + "k": "_gt_value_1", + "v": "v" + }, + ", läuft gerade." + ], + "5fae5a165e609f5a": [ + "Belegt durch ", + { + "i": 1, + "k": "_gt_value_1", + "v": "v" + }, + ", läuft gerade nicht." + ], + "9c4958e3e914e8e8": [ + "Belegt durch ", + { + "i": 1, + "k": "_gt_value_1", + "v": "v" + }, + "." + ], "4ad8ced64defdf73": "Interaktives 3D-Gerät. Ziehe auf dem Bildschirm, um es zu bedienen. Ziehe außerhalb oder wische mit zwei Fingern, um es zu drehen.", "84e4baf07ad8883d": "Erlaube dieser Umgebung, Simulatoren und Emulatoren zu öffnen, egal ob sie hier oder auf einem entfernten Geräte-Host laufen.", "771365c337509a82": "Neuen Agentensitzungen in dieser Umgebung erlauben, lokale und entfernte Geräte zu starten und zu steuern; die nötigen Tools werden automatisch eingerichtet.", diff --git a/apps/web/src/i18n/translations/en.json b/apps/web/src/i18n/translations/en.json index c40470b46e6ae..7e2783b84798b 100644 --- a/apps/web/src/i18n/translations/en.json +++ b/apps/web/src/i18n/translations/en.json @@ -5071,6 +5071,10 @@ "4b4ef3f2e2ed2c56": "Start {name}", "08098a6fb84e8a34": "Open", "c71a5080b2026870": "Start", + "cfae7ef07c37220e": "another thread", + "23d5d026ee80963b": "Take over from {title}", + "01e8d054b2d2f232": "Taking over…", + "746c576ea195806b": "Take over", "a34247bae083cebf": "Dismiss device error", "191353bd8f033118": "{first} and {second} lists on {host} may be incomplete.", "b17bcd4cbf80442e": "{platform} list on {host} may be incomplete.", @@ -5089,6 +5093,33 @@ ], "e902f208c4e6146f": "No Android virtual devices found. Create one in Android Studio's Device Manager, then refresh.", "d9a71f3db685cb0e": "Refresh devices", + "ce2da8d9521a3ef4": [ + "Busy in ", + { + "i": 1, + "k": "_gt_value_1", + "v": "v" + }, + ", which is running." + ], + "5fae5a165e609f5a": [ + "Busy in ", + { + "i": 1, + "k": "_gt_value_1", + "v": "v" + }, + ", which isn't running." + ], + "9c4958e3e914e8e8": [ + "Busy in ", + { + "i": 1, + "k": "_gt_value_1", + "v": "v" + }, + "." + ], "4ad8ced64defdf73": "Interactive 3D device. Drag the screen to interact. Drag outside it or swipe with two fingers to turn.", "84e4baf07ad8883d": "Enable this environment to open simulators and emulators, whether they run here or on a remote device host.", "771365c337509a82": "Allow new agent sessions in this environment to start and control local and remote devices, with required tools set up automatically.", diff --git a/apps/web/src/i18n/translations/es.json b/apps/web/src/i18n/translations/es.json index 68f63f589f51e..fe4e8bcfecea2 100644 --- a/apps/web/src/i18n/translations/es.json +++ b/apps/web/src/i18n/translations/es.json @@ -5069,6 +5069,10 @@ "4b4ef3f2e2ed2c56": "Iniciar {name}", "08098a6fb84e8a34": "Abrir", "c71a5080b2026870": "Iniciar", + "cfae7ef07c37220e": "otro hilo", + "23d5d026ee80963b": "Tomar control de {title}", + "01e8d054b2d2f232": "Tomando control…", + "746c576ea195806b": "Tomar control", "a34247bae083cebf": "Descartar el error del dispositivo", "191353bd8f033118": "Puede que las listas de {first} y {second} en {host} estén incompletas.", "b17bcd4cbf80442e": "Puede que la lista de {platform} en {host} esté incompleta.", @@ -5087,6 +5091,33 @@ ], "e902f208c4e6146f": "No se encontraron dispositivos virtuales de Android. Crea uno en el Device Manager de Android Studio y actualiza.", "d9a71f3db685cb0e": "Actualizar dispositivos", + "ce2da8d9521a3ef4": [ + "En uso en ", + { + "i": 1, + "k": "_gt_value_1", + "v": "v" + }, + ", que está en ejecución." + ], + "5fae5a165e609f5a": [ + "En uso en ", + { + "i": 1, + "k": "_gt_value_1", + "v": "v" + }, + ", que no está en ejecución." + ], + "9c4958e3e914e8e8": [ + "En uso en ", + { + "i": 1, + "k": "_gt_value_1", + "v": "v" + }, + "." + ], "4ad8ced64defdf73": "Dispositivo 3D interactivo. Arrastra la pantalla para interactuar. Arrastra fuera de ella o desliza con dos dedos para girarlo.", "84e4baf07ad8883d": "Activa este entorno para abrir simuladores y emuladores, tanto si se ejecutan aquí como en un host de dispositivos remoto.", "771365c337509a82": "Permite que las sesiones de agente nuevas de este entorno inicien y controlen dispositivos locales y remotos, con las herramientas necesarias configuradas automáticamente.", diff --git a/apps/web/src/i18n/translations/fr.json b/apps/web/src/i18n/translations/fr.json index 442c22ed3a2d7..803a3137748b9 100644 --- a/apps/web/src/i18n/translations/fr.json +++ b/apps/web/src/i18n/translations/fr.json @@ -5070,6 +5070,10 @@ "4b4ef3f2e2ed2c56": "Démarrer {name}", "08098a6fb84e8a34": "Ouvrir", "c71a5080b2026870": "Démarrer", + "cfae7ef07c37220e": "un autre fil", + "23d5d026ee80963b": "Prendre le contrôle depuis {title}", + "01e8d054b2d2f232": "Prise de contrôle…", + "746c576ea195806b": "Prendre le contrôle", "a34247bae083cebf": "Ignorer l’erreur de l’appareil", "191353bd8f033118": "Les listes {first} et {second} sur {host} sont peut-être incomplètes.", "b17bcd4cbf80442e": "La liste {platform} sur {host} est peut-être incomplète.", @@ -5088,6 +5092,33 @@ ], "e902f208c4e6146f": "Aucun appareil virtuel Android trouvé. Créez-en un dans le Device Manager d’Android Studio, puis actualisez.", "d9a71f3db685cb0e": "Actualiser les appareils", + "ce2da8d9521a3ef4": [ + "Occupé dans ", + { + "i": 1, + "k": "_gt_value_1", + "v": "v" + }, + ", qui est en cours." + ], + "5fae5a165e609f5a": [ + "Occupé dans ", + { + "i": 1, + "k": "_gt_value_1", + "v": "v" + }, + ", qui n'est pas en cours." + ], + "9c4958e3e914e8e8": [ + "Occupé dans ", + { + "i": 1, + "k": "_gt_value_1", + "v": "v" + }, + "." + ], "4ad8ced64defdf73": "Appareil 3D interactif. Faites glisser l’écran pour interagir. Faites glisser en dehors ou balayez avec deux doigts pour le faire tourner.", "84e4baf07ad8883d": "Autorisez cet environnement à ouvrir des simulateurs et des émulateurs, qu’ils tournent ici ou sur un hôte d’appareils distant.", "771365c337509a82": "Autorisez les nouvelles sessions d’agent de cet environnement à démarrer et contrôler des appareils locaux et distants, avec les outils nécessaires configurés automatiquement.", diff --git a/apps/web/src/i18n/translations/ja.json b/apps/web/src/i18n/translations/ja.json index c9417551b208c..3417a49289cb2 100644 --- a/apps/web/src/i18n/translations/ja.json +++ b/apps/web/src/i18n/translations/ja.json @@ -5054,6 +5054,10 @@ "4b4ef3f2e2ed2c56": "{name} を起動", "08098a6fb84e8a34": "開く", "c71a5080b2026870": "起動", + "cfae7ef07c37220e": "別のスレッド", + "23d5d026ee80963b": "{title} から引き継ぐ", + "01e8d054b2d2f232": "引き継ぎ中…", + "746c576ea195806b": "引き継ぐ", "a34247bae083cebf": "デバイスのエラーを閉じる", "191353bd8f033118": "{host} の {first} と {second} の一覧は不完全な可能性があります。", "b17bcd4cbf80442e": "{host} の {platform} の一覧は不完全な可能性があります。", @@ -5071,6 +5075,33 @@ ], "e902f208c4e6146f": "Android の仮想デバイスが見つかりません。Android Studio の Device Manager で作成してから、更新してください。", "d9a71f3db685cb0e": "デバイスを更新", + "ce2da8d9521a3ef4": [ + "", + { + "i": 1, + "k": "_gt_value_1", + "v": "v" + }, + " で使用中です。このスレッドは実行中です。" + ], + "5fae5a165e609f5a": [ + "", + { + "i": 1, + "k": "_gt_value_1", + "v": "v" + }, + " で使用中です。このスレッドは実行中ではありません。" + ], + "9c4958e3e914e8e8": [ + "", + { + "i": 1, + "k": "_gt_value_1", + "v": "v" + }, + " で使用中です。" + ], "4ad8ced64defdf73": "インタラクティブな 3D デバイス。画面をドラッグして操作します。画面の外をドラッグするか 2 本指でスワイプすると回転します。", "84e4baf07ad8883d": "この環境を有効にすると、ここまたはリモートのデバイスホストで実行されるシミュレーターやエミュレーターを開けます。", "771365c337509a82": "この環境の新しいエージェントセッションが、ローカルとリモートのデバイスを起動して操作できるようにします。必要なツールは自動的にセットアップされます。", diff --git a/apps/web/src/i18n/translations/ko.json b/apps/web/src/i18n/translations/ko.json index 362d29d071a87..6a906ebd53d61 100644 --- a/apps/web/src/i18n/translations/ko.json +++ b/apps/web/src/i18n/translations/ko.json @@ -5051,6 +5051,10 @@ "4b4ef3f2e2ed2c56": "{name} 시작", "08098a6fb84e8a34": "열기", "c71a5080b2026870": "시작", + "cfae7ef07c37220e": "다른 스레드", + "23d5d026ee80963b": "{title}에서 가져오기", + "01e8d054b2d2f232": "가져오는 중…", + "746c576ea195806b": "가져오기", "a34247bae083cebf": "기기 오류 닫기", "191353bd8f033118": "{host}의 {first} 및 {second} 목록이 불완전할 수 있습니다.", "b17bcd4cbf80442e": "{host}의 {platform} 목록이 불완전할 수 있습니다.", @@ -5068,6 +5072,33 @@ ], "e902f208c4e6146f": "Android 가상 기기가 없습니다. Android Studio의 Device Manager에서 만든 다음 새로 고치세요.", "d9a71f3db685cb0e": "기기 새로 고침", + "ce2da8d9521a3ef4": [ + "", + { + "i": 1, + "k": "_gt_value_1", + "v": "v" + }, + "에서 사용 중이며, 해당 스레드가 실행 중입니다." + ], + "5fae5a165e609f5a": [ + "", + { + "i": 1, + "k": "_gt_value_1", + "v": "v" + }, + "에서 사용 중이며, 해당 스레드는 실행 중이 아닙니다." + ], + "9c4958e3e914e8e8": [ + "", + { + "i": 1, + "k": "_gt_value_1", + "v": "v" + }, + "에서 사용 중입니다." + ], "4ad8ced64defdf73": "대화형 3D 기기. 화면을 드래그하여 조작하세요. 화면 밖을 드래그하거나 두 손가락으로 스와이프하면 회전합니다.", "84e4baf07ad8883d": "이 환경에서 시뮬레이터와 에뮬레이터를 열 수 있게 합니다. 이곳에서 실행되든 원격 기기 호스트에서 실행되든 상관없습니다.", "771365c337509a82": "이 환경의 새 에이전트 세션이 로컬 및 원격 기기를 시작하고 제어하도록 허용하며, 필요한 도구는 자동으로 설정됩니다.", diff --git a/apps/web/src/i18n/translations/pt-BR.json b/apps/web/src/i18n/translations/pt-BR.json index b598943e92383..081cdb8ce93c1 100644 --- a/apps/web/src/i18n/translations/pt-BR.json +++ b/apps/web/src/i18n/translations/pt-BR.json @@ -5069,6 +5069,10 @@ "4b4ef3f2e2ed2c56": "Iniciar {name}", "08098a6fb84e8a34": "Abrir", "c71a5080b2026870": "Iniciar", + "cfae7ef07c37220e": "outra conversa", + "23d5d026ee80963b": "Assumir controle de {title}", + "01e8d054b2d2f232": "Assumindo controle…", + "746c576ea195806b": "Assumir controle", "a34247bae083cebf": "Dispensar erro do dispositivo", "191353bd8f033118": "As listas de {first} e {second} em {host} podem estar incompletas.", "b17bcd4cbf80442e": "A lista de {platform} em {host} pode estar incompleta.", @@ -5087,6 +5091,33 @@ ], "e902f208c4e6146f": "Nenhum dispositivo virtual Android encontrado. Crie um no Device Manager do Android Studio e atualize.", "d9a71f3db685cb0e": "Atualizar dispositivos", + "ce2da8d9521a3ef4": [ + "Em uso em ", + { + "i": 1, + "k": "_gt_value_1", + "v": "v" + }, + ", que está em execução." + ], + "5fae5a165e609f5a": [ + "Em uso em ", + { + "i": 1, + "k": "_gt_value_1", + "v": "v" + }, + ", que não está em execução." + ], + "9c4958e3e914e8e8": [ + "Em uso em ", + { + "i": 1, + "k": "_gt_value_1", + "v": "v" + }, + "." + ], "4ad8ced64defdf73": "Dispositivo 3D interativo. Arraste a tela para interagir. Arraste fora dela ou deslize com dois dedos para girar.", "84e4baf07ad8883d": "Ative este ambiente para abrir simuladores e emuladores, rodando aqui ou em um host de dispositivos remoto.", "771365c337509a82": "Permite que novas sessões de agente neste ambiente iniciem e controlem dispositivos locais e remotos, com as ferramentas necessárias configuradas automaticamente.", diff --git a/apps/web/src/i18n/translations/ru.json b/apps/web/src/i18n/translations/ru.json index a8a54a6500e59..686f121ffd38c 100644 --- a/apps/web/src/i18n/translations/ru.json +++ b/apps/web/src/i18n/translations/ru.json @@ -5069,6 +5069,10 @@ "4b4ef3f2e2ed2c56": "Запустить {name}", "08098a6fb84e8a34": "Открыть", "c71a5080b2026870": "Запустить", + "cfae7ef07c37220e": "другом потоке", + "23d5d026ee80963b": "Перехватить у {title}", + "01e8d054b2d2f232": "Перехват…", + "746c576ea195806b": "Перехватить", "a34247bae083cebf": "Закрыть ошибку устройства", "191353bd8f033118": "Списки {first} и {second} на {host} могут быть неполными.", "b17bcd4cbf80442e": "Список {platform} на {host} может быть неполным.", @@ -5087,6 +5091,33 @@ ], "e902f208c4e6146f": "Виртуальные устройства Android не найдены. Создайте одно в Device Manager в Android Studio, затем обновите.", "d9a71f3db685cb0e": "Обновить список устройств", + "ce2da8d9521a3ef4": [ + "Занято в ", + { + "i": 1, + "k": "_gt_value_1", + "v": "v" + }, + ", поток выполняется." + ], + "5fae5a165e609f5a": [ + "Занято в ", + { + "i": 1, + "k": "_gt_value_1", + "v": "v" + }, + ", поток не выполняется." + ], + "9c4958e3e914e8e8": [ + "Занято в ", + { + "i": 1, + "k": "_gt_value_1", + "v": "v" + }, + "." + ], "4ad8ced64defdf73": "Интерактивное 3D-устройство. Перетаскивайте экран для взаимодействия. Перетаскивайте вне экрана или проведите двумя пальцами, чтобы повернуть.", "84e4baf07ad8883d": "Включите это окружение, чтобы открывать симуляторы и эмуляторы — локально или на удалённом хосте устройств.", "771365c337509a82": "Разрешить новым сеансам агентов в этом окружении запускать локальные и удалённые устройства и управлять ими; нужные инструменты настраиваются автоматически.", diff --git a/apps/web/src/i18n/translations/sv.json b/apps/web/src/i18n/translations/sv.json index adaf8566b6411..a96912d56c562 100644 --- a/apps/web/src/i18n/translations/sv.json +++ b/apps/web/src/i18n/translations/sv.json @@ -5070,6 +5070,10 @@ "4b4ef3f2e2ed2c56": "Starta {name}", "08098a6fb84e8a34": "Öppna", "c71a5080b2026870": "Starta", + "cfae7ef07c37220e": "en annan tråd", + "23d5d026ee80963b": "Ta över från {title}", + "01e8d054b2d2f232": "Tar över…", + "746c576ea195806b": "Ta över", "a34247bae083cebf": "Stäng enhetsfel", "191353bd8f033118": "Listorna för {first} och {second} på {host} kan vara ofullständiga.", "b17bcd4cbf80442e": "Listan för {platform} på {host} kan vara ofullständig.", @@ -5088,6 +5092,33 @@ ], "e902f208c4e6146f": "Inga virtuella Android-enheter hittades. Skapa en i Android Studios Device Manager och uppdatera sedan.", "d9a71f3db685cb0e": "Uppdatera enheter", + "ce2da8d9521a3ef4": [ + "Upptagen i ", + { + "i": 1, + "k": "_gt_value_1", + "v": "v" + }, + ", som körs." + ], + "5fae5a165e609f5a": [ + "Upptagen i ", + { + "i": 1, + "k": "_gt_value_1", + "v": "v" + }, + ", som inte körs." + ], + "9c4958e3e914e8e8": [ + "Upptagen i ", + { + "i": 1, + "k": "_gt_value_1", + "v": "v" + }, + "." + ], "4ad8ced64defdf73": "Interaktiv enhet i 3D. Dra på skärmen för att interagera. Dra utanför den eller svep med två fingrar för att vrida.", "84e4baf07ad8883d": "Aktivera den här miljön för att öppna simulatorer och emulatorer, oavsett om de körs här eller på en fjärrvärd för enheter.", "771365c337509a82": "Låt nya agentsessioner i den här miljön starta och styra lokala och fjärranslutna enheter, med nödvändiga verktyg konfigurerade automatiskt.", diff --git a/apps/web/src/i18n/translations/zh.json b/apps/web/src/i18n/translations/zh.json index f386e717a0614..62372912e5a33 100644 --- a/apps/web/src/i18n/translations/zh.json +++ b/apps/web/src/i18n/translations/zh.json @@ -5076,6 +5076,10 @@ "4b4ef3f2e2ed2c56": "启动 {name}", "08098a6fb84e8a34": "打开", "c71a5080b2026870": "启动", + "cfae7ef07c37220e": "另一个会话", + "23d5d026ee80963b": "从 {title} 接管", + "01e8d054b2d2f232": "正在接管…", + "746c576ea195806b": "接管", "a34247bae083cebf": "关闭设备错误提示", "191353bd8f033118": "{host} 上的 {first} 和 {second} 列表可能不完整。", "b17bcd4cbf80442e": "{host} 上的 {platform} 列表可能不完整。", @@ -5094,6 +5098,33 @@ ], "e902f208c4e6146f": "未找到 Android 虚拟设备。请在 Android Studio 的 Device Manager 中创建一个,然后刷新。", "d9a71f3db685cb0e": "刷新设备", + "ce2da8d9521a3ef4": [ + "正由 ", + { + "i": 1, + "k": "_gt_value_1", + "v": "v" + }, + " 使用,该会话正在运行。" + ], + "5fae5a165e609f5a": [ + "正由 ", + { + "i": 1, + "k": "_gt_value_1", + "v": "v" + }, + " 使用,该会话未在运行。" + ], + "9c4958e3e914e8e8": [ + "正由 ", + { + "i": 1, + "k": "_gt_value_1", + "v": "v" + }, + " 使用。" + ], "4ad8ced64defdf73": "可交互的 3D 设备。拖动屏幕进行操作,拖动屏幕外区域或用两指滑动可旋转。", "84e4baf07ad8883d": "启用后,此环境即可打开模拟器,无论它们运行在本机还是远程设备主机上。", "771365c337509a82": "允许此环境中的新智能体会话启动和控制本地及远程设备,并自动准备好所需的工具。", From 81afab2004a20c02232f83df7ec2a413f4e9df03 Mon Sep 17 00:00:00 2001 From: maria-rcks Date: Wed, 18 Nov 2026 12:02:07 +0000 Subject: [PATCH 8/8] fix(mobile): sync formatted takeover translation keys --- apps/mobile/src/i18n/translations/de.json | 6 +++--- apps/mobile/src/i18n/translations/en.json | 15 +++++++++------ apps/mobile/src/i18n/translations/es.json | 6 +++--- apps/mobile/src/i18n/translations/fr.json | 6 +++--- apps/mobile/src/i18n/translations/ja.json | 6 +++--- apps/mobile/src/i18n/translations/ko.json | 6 +++--- apps/mobile/src/i18n/translations/pt-BR.json | 6 +++--- apps/mobile/src/i18n/translations/ru.json | 6 +++--- apps/mobile/src/i18n/translations/sv.json | 6 +++--- apps/mobile/src/i18n/translations/zh.json | 6 +++--- 10 files changed, 36 insertions(+), 33 deletions(-) diff --git a/apps/mobile/src/i18n/translations/de.json b/apps/mobile/src/i18n/translations/de.json index aaf6f7164e5b8..660fbc23b8587 100644 --- a/apps/mobile/src/i18n/translations/de.json +++ b/apps/mobile/src/i18n/translations/de.json @@ -1966,7 +1966,7 @@ "746c576ea195806b": "Übernehmen", "23d5d026ee80963b": "Von {title} übernehmen", "59235647923be335": "Geräteoptionen", - "70029129d72da676": [ + "4104bad7a6a8b8b7": [ "Belegt durch ", { "t": "AppText", @@ -1979,7 +1979,7 @@ }, ", läuft gerade." ], - "52cdbb23d4f9ebd8": [ + "337acff156b4268b": [ "Belegt durch ", { "t": "AppText", @@ -1992,7 +1992,7 @@ }, ", läuft gerade nicht." ], - "6c426aaaa138b8eb": [ + "d61c4ee92724bb14": [ "Belegt durch ", { "t": "AppText", diff --git a/apps/mobile/src/i18n/translations/en.json b/apps/mobile/src/i18n/translations/en.json index 0be86ed908a80..753c1b6783b9d 100644 --- a/apps/mobile/src/i18n/translations/en.json +++ b/apps/mobile/src/i18n/translations/en.json @@ -1966,8 +1966,9 @@ "746c576ea195806b": "Take over", "23d5d026ee80963b": "Take over from {title}", "59235647923be335": "Device options", - "70029129d72da676": [ - "Busy in ", + "4104bad7a6a8b8b7": [ + "Busy in", + " ", { "t": "AppText", "i": 1, @@ -1979,8 +1980,9 @@ }, ", which is running." ], - "52cdbb23d4f9ebd8": [ - "Busy in ", + "337acff156b4268b": [ + "Busy in", + " ", { "t": "AppText", "i": 1, @@ -1992,8 +1994,9 @@ }, ", which isn't running." ], - "6c426aaaa138b8eb": [ - "Busy in ", + "d61c4ee92724bb14": [ + "Busy in", + " ", { "t": "AppText", "i": 1, diff --git a/apps/mobile/src/i18n/translations/es.json b/apps/mobile/src/i18n/translations/es.json index 6ff54cfc83c7b..f8658a9380b8e 100644 --- a/apps/mobile/src/i18n/translations/es.json +++ b/apps/mobile/src/i18n/translations/es.json @@ -1966,7 +1966,7 @@ "746c576ea195806b": "Tomar control", "23d5d026ee80963b": "Tomar control de {title}", "59235647923be335": "Opciones del dispositivo", - "70029129d72da676": [ + "4104bad7a6a8b8b7": [ "En uso en ", { "t": "AppText", @@ -1979,7 +1979,7 @@ }, ", que está en ejecución." ], - "52cdbb23d4f9ebd8": [ + "337acff156b4268b": [ "En uso en ", { "t": "AppText", @@ -1992,7 +1992,7 @@ }, ", que no está en ejecución." ], - "6c426aaaa138b8eb": [ + "d61c4ee92724bb14": [ "En uso en ", { "t": "AppText", diff --git a/apps/mobile/src/i18n/translations/fr.json b/apps/mobile/src/i18n/translations/fr.json index d4740b94ae211..6cbee72f75cee 100644 --- a/apps/mobile/src/i18n/translations/fr.json +++ b/apps/mobile/src/i18n/translations/fr.json @@ -1966,7 +1966,7 @@ "746c576ea195806b": "Prendre le contrôle", "23d5d026ee80963b": "Prendre le contrôle depuis {title}", "59235647923be335": "Options de l’appareil", - "70029129d72da676": [ + "4104bad7a6a8b8b7": [ "Occupé dans ", { "t": "AppText", @@ -1979,7 +1979,7 @@ }, ", qui est en cours." ], - "52cdbb23d4f9ebd8": [ + "337acff156b4268b": [ "Occupé dans ", { "t": "AppText", @@ -1992,7 +1992,7 @@ }, ", qui n'est pas en cours." ], - "6c426aaaa138b8eb": [ + "d61c4ee92724bb14": [ "Occupé dans ", { "t": "AppText", diff --git a/apps/mobile/src/i18n/translations/ja.json b/apps/mobile/src/i18n/translations/ja.json index a21acf1415dbb..3a91559ddc486 100644 --- a/apps/mobile/src/i18n/translations/ja.json +++ b/apps/mobile/src/i18n/translations/ja.json @@ -1965,7 +1965,7 @@ "746c576ea195806b": "引き継ぐ", "23d5d026ee80963b": "{title} から引き継ぐ", "59235647923be335": "デバイスのオプション", - "70029129d72da676": [ + "4104bad7a6a8b8b7": [ "", { "t": "AppText", @@ -1978,7 +1978,7 @@ }, " で使用中です。このスレッドは実行中です。" ], - "52cdbb23d4f9ebd8": [ + "337acff156b4268b": [ "", { "t": "AppText", @@ -1991,7 +1991,7 @@ }, " で使用中です。このスレッドは実行中ではありません。" ], - "6c426aaaa138b8eb": [ + "d61c4ee92724bb14": [ "", { "t": "AppText", diff --git a/apps/mobile/src/i18n/translations/ko.json b/apps/mobile/src/i18n/translations/ko.json index f0c5ea0f1c3e9..130c8ffb1c70f 100644 --- a/apps/mobile/src/i18n/translations/ko.json +++ b/apps/mobile/src/i18n/translations/ko.json @@ -1966,7 +1966,7 @@ "746c576ea195806b": "가져오기", "23d5d026ee80963b": "{title}에서 가져오기", "59235647923be335": "기기 옵션", - "70029129d72da676": [ + "4104bad7a6a8b8b7": [ "", { "t": "AppText", @@ -1979,7 +1979,7 @@ }, "에서 사용 중이며, 해당 스레드가 실행 중입니다." ], - "52cdbb23d4f9ebd8": [ + "337acff156b4268b": [ "", { "t": "AppText", @@ -1992,7 +1992,7 @@ }, "에서 사용 중이며, 해당 스레드는 실행 중이 아닙니다." ], - "6c426aaaa138b8eb": [ + "d61c4ee92724bb14": [ "", { "t": "AppText", diff --git a/apps/mobile/src/i18n/translations/pt-BR.json b/apps/mobile/src/i18n/translations/pt-BR.json index 191717678321b..1433312335a4c 100644 --- a/apps/mobile/src/i18n/translations/pt-BR.json +++ b/apps/mobile/src/i18n/translations/pt-BR.json @@ -1966,7 +1966,7 @@ "746c576ea195806b": "Assumir controle", "23d5d026ee80963b": "Assumir controle de {title}", "59235647923be335": "Opções do dispositivo", - "70029129d72da676": [ + "4104bad7a6a8b8b7": [ "Em uso em ", { "t": "AppText", @@ -1979,7 +1979,7 @@ }, ", que está em execução." ], - "52cdbb23d4f9ebd8": [ + "337acff156b4268b": [ "Em uso em ", { "t": "AppText", @@ -1992,7 +1992,7 @@ }, ", que não está em execução." ], - "6c426aaaa138b8eb": [ + "d61c4ee92724bb14": [ "Em uso em ", { "t": "AppText", diff --git a/apps/mobile/src/i18n/translations/ru.json b/apps/mobile/src/i18n/translations/ru.json index 664618a35c9f1..29e66080f65d0 100644 --- a/apps/mobile/src/i18n/translations/ru.json +++ b/apps/mobile/src/i18n/translations/ru.json @@ -1990,7 +1990,7 @@ "746c576ea195806b": "Перехватить", "23d5d026ee80963b": "Перехватить у {title}", "59235647923be335": "Параметры устройства", - "70029129d72da676": [ + "4104bad7a6a8b8b7": [ "Занято в ", { "t": "AppText", @@ -2003,7 +2003,7 @@ }, ", поток выполняется." ], - "52cdbb23d4f9ebd8": [ + "337acff156b4268b": [ "Занято в ", { "t": "AppText", @@ -2016,7 +2016,7 @@ }, ", поток не выполняется." ], - "6c426aaaa138b8eb": [ + "d61c4ee92724bb14": [ "Занято в ", { "t": "AppText", diff --git a/apps/mobile/src/i18n/translations/sv.json b/apps/mobile/src/i18n/translations/sv.json index c63209b6e9a85..b324c15240e62 100644 --- a/apps/mobile/src/i18n/translations/sv.json +++ b/apps/mobile/src/i18n/translations/sv.json @@ -1966,7 +1966,7 @@ "746c576ea195806b": "Ta över", "23d5d026ee80963b": "Ta över från {title}", "59235647923be335": "Enhetsalternativ", - "70029129d72da676": [ + "4104bad7a6a8b8b7": [ "Upptagen i ", { "t": "AppText", @@ -1979,7 +1979,7 @@ }, ", som körs." ], - "52cdbb23d4f9ebd8": [ + "337acff156b4268b": [ "Upptagen i ", { "t": "AppText", @@ -1992,7 +1992,7 @@ }, ", som inte körs." ], - "6c426aaaa138b8eb": [ + "d61c4ee92724bb14": [ "Upptagen i ", { "t": "AppText", diff --git a/apps/mobile/src/i18n/translations/zh.json b/apps/mobile/src/i18n/translations/zh.json index 085988cd87cf1..efddab5dfbdb5 100644 --- a/apps/mobile/src/i18n/translations/zh.json +++ b/apps/mobile/src/i18n/translations/zh.json @@ -1968,7 +1968,7 @@ "746c576ea195806b": "接管", "23d5d026ee80963b": "从 {title} 接管", "59235647923be335": "设备选项", - "70029129d72da676": [ + "4104bad7a6a8b8b7": [ "正由 ", { "t": "AppText", @@ -1981,7 +1981,7 @@ }, " 使用,该会话正在运行。" ], - "52cdbb23d4f9ebd8": [ + "337acff156b4268b": [ "正由 ", { "t": "AppText", @@ -1994,7 +1994,7 @@ }, " 使用,该会话未在运行。" ], - "6c426aaaa138b8eb": [ + "d61c4ee92724bb14": [ "正由 ", { "t": "AppText",