@aixnn/aixautots 0.6.5 → 0.6.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-LMSN6Z3N.js → chunk-A2CKXQ7U.js} +212 -6
- package/dist/{chunk-FBWJUW4X.js → chunk-AVRM42RS.js} +2 -2
- package/dist/{chunk-7CN37G3W.js → chunk-QZ3XJS2W.js} +1 -1
- package/dist/{chunk-YWA47ARA.js → chunk-SF5R25DU.js} +1 -1
- package/dist/{chunk-IFARWPMU.js → chunk-WUT5OUBG.js} +54 -0
- package/dist/i18n/index.js +1 -1
- package/dist/ui/billing.js +1 -1
- package/dist/ui/device-create.js +3 -3
- package/dist/ui/device-mirror.js +2 -2
- package/dist/ui/devices.js +5 -5
- package/dist/ui/editor.js +1 -1
- package/dist/ui/index.js +2 -2
- package/dist/ui/inspector.js +1 -1
- package/dist/ui/market.js +1 -1
- package/dist/ui/scripts.js +1 -1
- package/dist/ui/tasks.js +5 -5
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { LogConsole } from './chunk-D7J4EQTA.js';
|
|
2
|
-
import { requestPreviewFrame, MirrorSurface, DeviceMirror } from './chunk-
|
|
2
|
+
import { requestPreviewFrame, MirrorSurface, DeviceMirror } from './chunk-SF5R25DU.js';
|
|
3
3
|
import { ControlBar, MirrorView } from './chunk-E7WMHM63.js';
|
|
4
|
-
import { deviceProxyCapabilities, createProxyProbeGuard, proxySummaryFromDevice, isProxyApplyStatus, proxyCapabilityReason, proxyProbeExitIp, proxyProbeMessage, DeviceCreate, isProxyProbeUnsupported, isRedactedProxyUrl, isSupportedProxyUrl, redactProxyUrl } from './chunk-
|
|
5
|
-
import { isPhysicalIos, IosDeviceDiagnostics } from './chunk-
|
|
6
|
-
import { useAixT, useAixLang } from './chunk-
|
|
4
|
+
import { deviceProxyCapabilities, createProxyProbeGuard, proxySummaryFromDevice, isProxyApplyStatus, proxyCapabilityReason, proxyProbeExitIp, proxyProbeMessage, DeviceCreate, isProxyProbeUnsupported, isRedactedProxyUrl, isSupportedProxyUrl, redactProxyUrl } from './chunk-AVRM42RS.js';
|
|
5
|
+
import { isPhysicalIos, IosDeviceDiagnostics, canConnectPhysicalDevice } from './chunk-QZ3XJS2W.js';
|
|
6
|
+
import { useAixT, useAixLang } from './chunk-WUT5OUBG.js';
|
|
7
7
|
import { cn, Badge, Button, Dialog, Input, Popover, Select, useToast, ToastViewport, Drawer } from './chunk-SKTL6ACT.js';
|
|
8
8
|
import { useClient, useDevicesView, useShortcutsView, GROUP_MIRROR_MAX, useGroupMirror, useScripts, useFleetRun, useTaskAgentRun, preflightTaskAgentDevice, createAgentTaskRunner, useNodesView } from './chunk-LWTL4AIC.js';
|
|
9
9
|
import { DeviceSession, pushFile, pullFile } from './chunk-F76N3GOA.js';
|
|
@@ -5153,6 +5153,195 @@ function DeviceEditDialog({ device, onClose }) {
|
|
|
5153
5153
|
}
|
|
5154
5154
|
);
|
|
5155
5155
|
}
|
|
5156
|
+
|
|
5157
|
+
// src/ui/devices/device-connect.ts
|
|
5158
|
+
function adbAddress(serial) {
|
|
5159
|
+
const value = serial.trim();
|
|
5160
|
+
const match = /^(\[[^\]]+\]|[^:\[\]\/\?#@\s]+):([0-9]{1,5})$/.exec(value);
|
|
5161
|
+
if (!match || Number(match[2]) < 1 || Number(match[2]) > 65535) return null;
|
|
5162
|
+
try {
|
|
5163
|
+
const parsed = new URL(`http://${value}`);
|
|
5164
|
+
if (!parsed.hostname || parsed.username || parsed.password || parsed.search || parsed.hash) return null;
|
|
5165
|
+
return value;
|
|
5166
|
+
} catch {
|
|
5167
|
+
return null;
|
|
5168
|
+
}
|
|
5169
|
+
}
|
|
5170
|
+
function connectionMode(device) {
|
|
5171
|
+
if (device.meta.provisioned === true || device.id.startsWith("rd-") || device.id.startsWith("vp-")) return { kind: "blocked", code: "virtual" };
|
|
5172
|
+
if (device.platform === "macos" || device.platform === "windows") return { kind: "blocked", code: "desktop" };
|
|
5173
|
+
if (device.platform !== "android") return { kind: "blocked", code: "unsupported" };
|
|
5174
|
+
if (device.platform === "android") {
|
|
5175
|
+
const address = adbAddress(device.udid);
|
|
5176
|
+
if (address) return { kind: "wireless", address };
|
|
5177
|
+
if (device.udid.includes(":")) return { kind: "blocked", code: "invalidAddress" };
|
|
5178
|
+
}
|
|
5179
|
+
return { kind: "inventory" };
|
|
5180
|
+
}
|
|
5181
|
+
function eligibleConnectionNodes(nodes, device) {
|
|
5182
|
+
return nodes.filter((node) => canConnectPhysicalDevice(node, device.platform === "android" ? "android" : "ios") && (device.platform !== "android" || node.effective_caps?.android !== false));
|
|
5183
|
+
}
|
|
5184
|
+
async function connectSelectedDevices(client, devices, choices = {}, isCurrent = () => true) {
|
|
5185
|
+
const result = (device, code, error) => ({
|
|
5186
|
+
id: device.id,
|
|
5187
|
+
name: device.name,
|
|
5188
|
+
ok: code === "requested" || code === "alreadyOnline",
|
|
5189
|
+
code,
|
|
5190
|
+
...error ? { error } : {}
|
|
5191
|
+
});
|
|
5192
|
+
if (!devices.length) return [];
|
|
5193
|
+
let nodes;
|
|
5194
|
+
try {
|
|
5195
|
+
nodes = await client.nodes.list();
|
|
5196
|
+
} catch (error) {
|
|
5197
|
+
return devices.map((device) => result(device, "requestFailed", String(error.message ?? error)));
|
|
5198
|
+
}
|
|
5199
|
+
const results = [];
|
|
5200
|
+
for (const device of devices) {
|
|
5201
|
+
if (!isCurrent()) {
|
|
5202
|
+
results.push(result(device, "cancelled"));
|
|
5203
|
+
continue;
|
|
5204
|
+
}
|
|
5205
|
+
if (device.online) {
|
|
5206
|
+
results.push(result(device, "alreadyOnline"));
|
|
5207
|
+
continue;
|
|
5208
|
+
}
|
|
5209
|
+
const mode = connectionMode(device);
|
|
5210
|
+
if (mode.kind === "blocked") {
|
|
5211
|
+
results.push(result(device, mode.code));
|
|
5212
|
+
continue;
|
|
5213
|
+
}
|
|
5214
|
+
const nodeId = device.nodeId ?? choices[device.id];
|
|
5215
|
+
if (!nodeId) {
|
|
5216
|
+
results.push(result(device, "chooseNode"));
|
|
5217
|
+
continue;
|
|
5218
|
+
}
|
|
5219
|
+
const node = nodes.find((candidate) => candidate.id === nodeId);
|
|
5220
|
+
if (!node) {
|
|
5221
|
+
results.push(result(device, "nodeMissing"));
|
|
5222
|
+
continue;
|
|
5223
|
+
}
|
|
5224
|
+
if (!node.is_owner) {
|
|
5225
|
+
results.push(result(device, "notOwner"));
|
|
5226
|
+
continue;
|
|
5227
|
+
}
|
|
5228
|
+
if (node.status !== "online") {
|
|
5229
|
+
results.push(result(device, "nodeOffline"));
|
|
5230
|
+
continue;
|
|
5231
|
+
}
|
|
5232
|
+
if (!eligibleConnectionNodes([node], device).length) {
|
|
5233
|
+
results.push(result(device, "permission"));
|
|
5234
|
+
continue;
|
|
5235
|
+
}
|
|
5236
|
+
let requested = false;
|
|
5237
|
+
try {
|
|
5238
|
+
if (mode.kind === "wireless") {
|
|
5239
|
+
await client.nodes.adbConnect(node.id, mode.address);
|
|
5240
|
+
requested = true;
|
|
5241
|
+
if (!isCurrent()) {
|
|
5242
|
+
results.push(result(device, "cancelled"));
|
|
5243
|
+
continue;
|
|
5244
|
+
}
|
|
5245
|
+
}
|
|
5246
|
+
await client.nodes.discoverDevices(node.id);
|
|
5247
|
+
if (!isCurrent()) {
|
|
5248
|
+
results.push(result(device, "cancelled"));
|
|
5249
|
+
continue;
|
|
5250
|
+
}
|
|
5251
|
+
results.push(result(device, requested ? "requested" : "inventoryOnly"));
|
|
5252
|
+
} catch (error) {
|
|
5253
|
+
results.push(result(device, requested ? "refreshFailed" : "requestFailed", String(error.message ?? error)));
|
|
5254
|
+
}
|
|
5255
|
+
}
|
|
5256
|
+
return results;
|
|
5257
|
+
}
|
|
5258
|
+
function ConnectDevicesDialog({ devices, onClose, onComplete }) {
|
|
5259
|
+
const client = useClient();
|
|
5260
|
+
const t = useAixT();
|
|
5261
|
+
const [nodes, setNodes] = useState([]);
|
|
5262
|
+
const [choices, setChoices] = useState({});
|
|
5263
|
+
const [loading, setLoading] = useState(false);
|
|
5264
|
+
const [busy, setBusy] = useState(false);
|
|
5265
|
+
const [error, setError] = useState("");
|
|
5266
|
+
const [results, setResults] = useState(null);
|
|
5267
|
+
const active = useRef(true);
|
|
5268
|
+
const pending = useRef(false);
|
|
5269
|
+
const unassigned = devices.filter((device) => !device.online && !device.nodeId && connectionMode(device).kind !== "blocked");
|
|
5270
|
+
const needsChoice = unassigned.some((device) => !choices[device.id]);
|
|
5271
|
+
const run = async () => {
|
|
5272
|
+
if (!active.current || pending.current || needsChoice) return;
|
|
5273
|
+
pending.current = true;
|
|
5274
|
+
setBusy(true);
|
|
5275
|
+
setError("");
|
|
5276
|
+
try {
|
|
5277
|
+
const next = await connectSelectedDevices(client, devices, choices, () => active.current);
|
|
5278
|
+
if (!active.current) return;
|
|
5279
|
+
setResults(next);
|
|
5280
|
+
await onComplete(next);
|
|
5281
|
+
} catch (error2) {
|
|
5282
|
+
if (active.current) setError(error2.message);
|
|
5283
|
+
} finally {
|
|
5284
|
+
pending.current = false;
|
|
5285
|
+
if (active.current) setBusy(false);
|
|
5286
|
+
}
|
|
5287
|
+
};
|
|
5288
|
+
useEffect(() => {
|
|
5289
|
+
active.current = true;
|
|
5290
|
+
if (unassigned.length) {
|
|
5291
|
+
setLoading(true);
|
|
5292
|
+
void client.nodes.list().then((rows) => {
|
|
5293
|
+
if (active.current) setNodes(rows);
|
|
5294
|
+
}).catch((error2) => {
|
|
5295
|
+
if (active.current) setError(error2.message);
|
|
5296
|
+
}).finally(() => {
|
|
5297
|
+
if (active.current) setLoading(false);
|
|
5298
|
+
});
|
|
5299
|
+
} else {
|
|
5300
|
+
void run();
|
|
5301
|
+
}
|
|
5302
|
+
return () => {
|
|
5303
|
+
active.current = false;
|
|
5304
|
+
};
|
|
5305
|
+
}, []);
|
|
5306
|
+
return /* @__PURE__ */ jsx(Dialog, { open: true, onClose, title: t("deviceConnect.title"), description: t("deviceConnect.description"), children: /* @__PURE__ */ jsxs("div", { className: "space-y-3", children: [
|
|
5307
|
+
unassigned.map((device) => {
|
|
5308
|
+
const available = eligibleConnectionNodes(nodes, device);
|
|
5309
|
+
return /* @__PURE__ */ jsxs("div", { children: [
|
|
5310
|
+
/* @__PURE__ */ jsxs("label", { className: "block text-xs font-medium", children: [
|
|
5311
|
+
/* @__PURE__ */ jsx("span", { className: "mb-1 block", children: t("deviceConnect.chooseFor", { name: device.name }) }),
|
|
5312
|
+
/* @__PURE__ */ jsx(
|
|
5313
|
+
Select,
|
|
5314
|
+
{
|
|
5315
|
+
value: choices[device.id] ?? "",
|
|
5316
|
+
disabled: busy || loading,
|
|
5317
|
+
onChange: (nodeId) => setChoices((previous) => ({ ...previous, [device.id]: nodeId })),
|
|
5318
|
+
placeholder: t("deviceConnect.chooseNode"),
|
|
5319
|
+
options: available.map((node) => ({ value: node.id, label: node.name }))
|
|
5320
|
+
}
|
|
5321
|
+
)
|
|
5322
|
+
] }),
|
|
5323
|
+
!loading && !available.length && /* @__PURE__ */ jsx("p", { className: "mt-1 text-xs text-muted-foreground", children: t("deviceConnect.noNodes") })
|
|
5324
|
+
] }, device.id);
|
|
5325
|
+
}),
|
|
5326
|
+
loading && /* @__PURE__ */ jsx("p", { role: "status", className: "text-xs", children: t("deviceConnect.loading") }),
|
|
5327
|
+
busy && /* @__PURE__ */ jsx("p", { role: "status", className: "text-xs", children: t("deviceConnect.running") }),
|
|
5328
|
+
error && /* @__PURE__ */ jsx("p", { role: "alert", className: "text-xs text-destructive", children: error }),
|
|
5329
|
+
results && /* @__PURE__ */ jsx("ul", { className: "max-h-64 space-y-2 overflow-auto", "aria-live": "polite", children: results.map((result) => /* @__PURE__ */ jsxs("li", { className: "text-xs", children: [
|
|
5330
|
+
/* @__PURE__ */ jsxs("span", { className: "font-medium", children: [
|
|
5331
|
+
result.name,
|
|
5332
|
+
": "
|
|
5333
|
+
] }),
|
|
5334
|
+
/* @__PURE__ */ jsxs("span", { className: result.ok ? "text-muted-foreground" : "text-destructive", children: [
|
|
5335
|
+
t(`deviceConnect.${result.code}`),
|
|
5336
|
+
result.error ? ` ${result.error}` : ""
|
|
5337
|
+
] })
|
|
5338
|
+
] }, result.id)) }),
|
|
5339
|
+
/* @__PURE__ */ jsxs("div", { className: "flex justify-end gap-2", children: [
|
|
5340
|
+
/* @__PURE__ */ jsx(Button, { size: "sm", variant: "ghost", onClick: onClose, children: t("common.close") }),
|
|
5341
|
+
!results && unassigned.length > 0 && /* @__PURE__ */ jsx(Button, { size: "sm", disabled: busy || loading || needsChoice, onClick: () => void run(), children: busy ? t("deviceConnect.running") : t("devices.bulk.connect") })
|
|
5342
|
+
] })
|
|
5343
|
+
] }) });
|
|
5344
|
+
}
|
|
5156
5345
|
function DevicesPage({ taskAgentRunner: providedTaskAgentRunner } = {}) {
|
|
5157
5346
|
const t = useAixT();
|
|
5158
5347
|
const client = useClient();
|
|
@@ -5183,6 +5372,7 @@ function DevicesPage({ taskAgentRunner: providedTaskAgentRunner } = {}) {
|
|
|
5183
5372
|
const [taskAgentDevices, setTaskAgentDevices] = useState(null);
|
|
5184
5373
|
const [bulkInstallDevices, setBulkInstallDevices] = useState(null);
|
|
5185
5374
|
const [bulkPowering, setBulkPowering] = useState(false);
|
|
5375
|
+
const [connectTargets, setConnectTargets] = useState(null);
|
|
5186
5376
|
const [editDeviceId, setEditDeviceId] = useState(null);
|
|
5187
5377
|
const [deleteTarget, setDeleteTarget] = useState(null);
|
|
5188
5378
|
const [poweringId, setPoweringId] = useState(null);
|
|
@@ -5425,8 +5615,16 @@ function DevicesPage({ taskAgentRunner: providedTaskAgentRunner } = {}) {
|
|
|
5425
5615
|
/* @__PURE__ */ jsx("span", { children: t("devices.selectAll") })
|
|
5426
5616
|
] }),
|
|
5427
5617
|
/* @__PURE__ */ jsx("div", { className: "h-4 w-px bg-border" }),
|
|
5428
|
-
/* @__PURE__ */ jsx(
|
|
5429
|
-
|
|
5618
|
+
/* @__PURE__ */ jsx(
|
|
5619
|
+
BulkAction,
|
|
5620
|
+
{
|
|
5621
|
+
icon: /* @__PURE__ */ jsx(Link, { className: "w-3.5 h-3.5" }),
|
|
5622
|
+
label: t("devices.bulk.connect"),
|
|
5623
|
+
disabled: !devices.some((device) => checkedIds.has(device.id)) || connectTargets !== null,
|
|
5624
|
+
onClick: () => setConnectTargets(devices.filter((device) => checkedIds.has(device.id)))
|
|
5625
|
+
}
|
|
5626
|
+
),
|
|
5627
|
+
/* @__PURE__ */ jsx("span", { tabIndex: 0, title: t("deviceConnect.disconnectUnsupported"), "aria-label": t("deviceConnect.disconnectUnsupported"), children: /* @__PURE__ */ jsx(BulkAction, { icon: /* @__PURE__ */ jsx(Link2Off, { className: "w-3.5 h-3.5" }), label: t("devices.bulk.disconnect"), disabled: true }) }),
|
|
5430
5628
|
/* @__PURE__ */ jsx(
|
|
5431
5629
|
BulkAction,
|
|
5432
5630
|
{
|
|
@@ -5755,6 +5953,14 @@ function DevicesPage({ taskAgentRunner: providedTaskAgentRunner } = {}) {
|
|
|
5755
5953
|
}
|
|
5756
5954
|
),
|
|
5757
5955
|
/* @__PURE__ */ jsx(BulkInstallAppsDialog, { devices: bulkInstallDevices, onClose: () => setBulkInstallDevices(null) }),
|
|
5956
|
+
connectTargets && /* @__PURE__ */ jsx(ConnectDevicesDialog, { devices: connectTargets, onClose: () => setConnectTargets(null), onComplete: async (results) => {
|
|
5957
|
+
const failed = results.filter((result) => !result.ok).length;
|
|
5958
|
+
const message = t("deviceConnect.summary", { ok: results.length - failed, failed });
|
|
5959
|
+
if (failed) toast.error(message);
|
|
5960
|
+
else toast.success(message);
|
|
5961
|
+
await fetchDevices();
|
|
5962
|
+
await fetchNodes();
|
|
5963
|
+
} }),
|
|
5758
5964
|
/* @__PURE__ */ jsx(
|
|
5759
5965
|
DeviceEditDialog,
|
|
5760
5966
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { canConnectPhysicalDevice, IosDeviceDiagnostics } from './chunk-
|
|
2
|
-
import { useAixT } from './chunk-
|
|
1
|
+
import { canConnectPhysicalDevice, IosDeviceDiagnostics } from './chunk-QZ3XJS2W.js';
|
|
2
|
+
import { useAixT } from './chunk-WUT5OUBG.js';
|
|
3
3
|
import { cn, Select, Dialog, Button, Input, Badge } from './chunk-SKTL6ACT.js';
|
|
4
4
|
import { useNodes, useClient, useDevices } from './chunk-LWTL4AIC.js';
|
|
5
5
|
import { useMemo, useEffect, useState, useCallback, useRef } from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MirrorView, ControlBar } from './chunk-E7WMHM63.js';
|
|
2
|
-
import { useAixT } from './chunk-
|
|
2
|
+
import { useAixT } from './chunk-WUT5OUBG.js';
|
|
3
3
|
import { Popover, Button } from './chunk-SKTL6ACT.js';
|
|
4
4
|
import { useMirror, useClient, useDevices } from './chunk-LWTL4AIC.js';
|
|
5
5
|
import { useState, useRef, useEffect, useCallback, useMemo } from 'react';
|
|
@@ -4,6 +4,33 @@ import { createContext, useMemo, createElement, useContext } from 'react';
|
|
|
4
4
|
|
|
5
5
|
// src/ui/i18n/dict.ts
|
|
6
6
|
var en = {
|
|
7
|
+
"deviceConnect.title": "Connect selected devices",
|
|
8
|
+
"deviceConnect.description": "Reconnect paired Android network devices. USB entries only refresh reported inventory; restore their USB connection on the host. Use Add device for iOS pairing.",
|
|
9
|
+
"deviceConnect.chooseFor": "Choose the node attached to {name}",
|
|
10
|
+
"deviceConnect.chooseNode": "Choose an owned online node",
|
|
11
|
+
"deviceConnect.noNodes": "No eligible owned online node. Start your node and enable physical-device access.",
|
|
12
|
+
"deviceConnect.loading": "Loading nodes\u2026",
|
|
13
|
+
"deviceConnect.running": "Connecting / refreshing inventory\u2026",
|
|
14
|
+
"deviceConnect.summary": "Completed {ok}; need attention {failed}.",
|
|
15
|
+
"deviceConnect.inventoryOnly": "Reported inventory refreshed; this is not a live USB scan. Check the host cable, driver and device authorization, then refresh status.",
|
|
16
|
+
"deviceConnect.refreshFailed": "Connection request completed, but inventory refresh failed:",
|
|
17
|
+
"deviceConnect.alreadyOnline": "Already online; no connection request sent.",
|
|
18
|
+
"deviceConnect.requested": "Connection request completed. Reported inventory does not verify current connectivity; refresh device status.",
|
|
19
|
+
"deviceConnect.virtual": "Use Power on for virtual devices; Connect does not start a virtual machine.",
|
|
20
|
+
"deviceConnect.desktop": "Start the SDK node on the original computer. Connect cannot move a desktop device.",
|
|
21
|
+
"deviceConnect.unsupported": "Use Add device to configure this device type.",
|
|
22
|
+
"deviceConnect.invalidAddress": "Invalid wireless address. Use host:port or [IPv6]:port through Add device.",
|
|
23
|
+
"deviceConnect.nodeMissing": "Original node is missing. Restore it, or use Add device to set up the target node explicitly.",
|
|
24
|
+
"deviceConnect.nodeOffline": "Original node is offline. Start it and try again.",
|
|
25
|
+
"deviceConnect.notOwner": "Physical-device connections require a node you own.",
|
|
26
|
+
"deviceConnect.permission": "Enable this platform and physical-device access on the selected node.",
|
|
27
|
+
"deviceConnect.notReported": "Not reported by this node. Check the USB cable/driver, or wireless pairing and address, then use Add device.",
|
|
28
|
+
"deviceConnect.unauthorized": "Device is offline or unauthorized. Unlock it and approve USB debugging/trust, or pair it through Add device.",
|
|
29
|
+
"deviceConnect.needsEnrollment": "Device found; use Add device to claim or register it explicitly on this node.",
|
|
30
|
+
"deviceConnect.ownedOther": "This device belongs to another owner. No claim or migration was attempted.",
|
|
31
|
+
"deviceConnect.requestFailed": "Connection or inventory refresh failed:",
|
|
32
|
+
"deviceConnect.cancelled": "Stopped before the next operation.",
|
|
33
|
+
"deviceConnect.disconnectUnsupported": "Disconnect is unavailable here. Use the device or node transport controls; closing a mirror does not disconnect the device.",
|
|
7
34
|
"creation.status.applying_proxy": "Device created \xB7 waiting for proxy application",
|
|
8
35
|
"creation.startupNetwork": "The proxy is configured after device startup. The device may use its original network until proxy application is confirmed.",
|
|
9
36
|
"creation.title": "Create with an AIxIps IP",
|
|
@@ -849,6 +876,33 @@ var en = {
|
|
|
849
876
|
"agent.send": "Send"
|
|
850
877
|
};
|
|
851
878
|
var zh = {
|
|
879
|
+
"deviceConnect.title": "\u8FDE\u63A5\u6240\u9009\u8BBE\u5907",
|
|
880
|
+
"deviceConnect.description": "\u91CD\u8FDE\u5DF2\u914D\u5BF9\u7684 Android \u7F51\u7EDC\u8BBE\u5907\u3002USB \u8BBE\u5907\u4EC5\u5237\u65B0\u5DF2\u4E0A\u62A5\u8BB0\u5F55\uFF0C\u8BF7\u5728\u5BBF\u4E3B\u6062\u590D USB \u8FDE\u63A5\uFF1BiOS \u914D\u5BF9\u8BF7\u4F7F\u7528\u6DFB\u52A0\u8BBE\u5907\u3002",
|
|
881
|
+
"deviceConnect.chooseFor": "\u4E3A {name} \u9009\u62E9\u5B9E\u9645\u63A5\u5165\u7684\u8282\u70B9",
|
|
882
|
+
"deviceConnect.chooseNode": "\u9009\u62E9\u672C\u4EBA\u5728\u7EBF\u8282\u70B9",
|
|
883
|
+
"deviceConnect.noNodes": "\u6CA1\u6709\u53EF\u7528\u7684\u672C\u4EBA\u5728\u7EBF\u8282\u70B9\uFF0C\u8BF7\u542F\u52A8\u8282\u70B9\u5E76\u542F\u7528\u5BF9\u5E94\u771F\u673A\u6743\u9650\u3002",
|
|
884
|
+
"deviceConnect.loading": "\u52A0\u8F7D\u8282\u70B9\u4E2D\u2026",
|
|
885
|
+
"deviceConnect.running": "\u8FDE\u63A5 / \u5237\u65B0\u8BB0\u5F55\u4E2D\u2026",
|
|
886
|
+
"deviceConnect.summary": "\u5DF2\u5B8C\u6210 {ok} \u53F0\uFF0C{failed} \u53F0\u9700\u8981\u5904\u7406\u3002",
|
|
887
|
+
"deviceConnect.inventoryOnly": "\u5DF2\u5237\u65B0\u4E0A\u62A5\u8BB0\u5F55\uFF0C\u672A\u5B9E\u65F6\u626B\u63CF USB\u3002\u8BF7\u68C0\u67E5\u5BBF\u4E3B\u7EBF\u7F06\u3001\u9A71\u52A8\u548C\u8BBE\u5907\u6388\u6743\u540E\u5237\u65B0\u72B6\u6001\u3002",
|
|
888
|
+
"deviceConnect.refreshFailed": "\u8FDE\u63A5\u8BF7\u6C42\u5DF2\u5B8C\u6210\uFF0C\u4F46\u5237\u65B0\u4E0A\u62A5\u8BB0\u5F55\u5931\u8D25\uFF1A",
|
|
889
|
+
"deviceConnect.alreadyOnline": "\u8BBE\u5907\u5DF2\u5728\u7EBF\uFF0C\u672A\u91CD\u590D\u53D1\u9001\u8FDE\u63A5\u8BF7\u6C42\u3002",
|
|
890
|
+
"deviceConnect.requested": "\u8FDE\u63A5\u8BF7\u6C42\u5DF2\u5B8C\u6210\uFF0C\u8BB0\u5F55\u4E0D\u4EE3\u8868\u5F53\u524D\u5DF2\u8FDE\u63A5\uFF0C\u8BF7\u5237\u65B0\u8BBE\u5907\u72B6\u6001\u3002",
|
|
891
|
+
"deviceConnect.virtual": "\u865A\u62DF\u8BBE\u5907\u8BF7\u4F7F\u7528\u5F00\u673A\u64CD\u4F5C\uFF1B\u8FDE\u63A5\u4E0D\u4F1A\u542F\u52A8\u865A\u62DF\u673A\u3002",
|
|
892
|
+
"deviceConnect.desktop": "\u8BF7\u5728\u539F\u7535\u8111\u542F\u52A8 SDK \u8282\u70B9\uFF1B\u8FDE\u63A5\u4E0D\u80FD\u8FC1\u79FB\u684C\u9762\u8BBE\u5907\u3002",
|
|
893
|
+
"deviceConnect.unsupported": "\u8BF7\u901A\u8FC7\u6DFB\u52A0\u8BBE\u5907\u914D\u7F6E\u6B64\u7C7B\u578B\u3002",
|
|
894
|
+
"deviceConnect.invalidAddress": "\u65E0\u7EBF\u5730\u5740\u65E0\u6548\uFF0C\u8BF7\u901A\u8FC7\u6DFB\u52A0\u8BBE\u5907\u586B\u5199 \u4E3B\u673A:\u7AEF\u53E3 \u6216 [IPv6]:\u7AEF\u53E3\u3002",
|
|
895
|
+
"deviceConnect.nodeMissing": "\u539F\u8282\u70B9\u4E0D\u5B58\u5728\uFF0C\u8BF7\u6062\u590D\u539F\u8282\u70B9\uFF0C\u6216\u901A\u8FC7\u6DFB\u52A0\u8BBE\u5907\u660E\u786E\u914D\u7F6E\u76EE\u6807\u8282\u70B9\u3002",
|
|
896
|
+
"deviceConnect.nodeOffline": "\u539F\u8282\u70B9\u79BB\u7EBF\uFF0C\u8BF7\u5148\u542F\u52A8\u540E\u91CD\u8BD5\u3002",
|
|
897
|
+
"deviceConnect.notOwner": "\u771F\u673A\u8FDE\u63A5\u53EA\u80FD\u5728\u672C\u4EBA\u8282\u70B9\u6267\u884C\u3002",
|
|
898
|
+
"deviceConnect.permission": "\u8BF7\u4E3A\u6240\u9009\u8282\u70B9\u542F\u7528\u5BF9\u5E94\u5E73\u53F0\u53CA\u771F\u673A\u63A5\u5165\u6743\u9650\u3002",
|
|
899
|
+
"deviceConnect.notReported": "\u6B64\u8282\u70B9\u5C1A\u672A\u53D1\u73B0\u8BBE\u5907\uFF0C\u8BF7\u68C0\u67E5 USB \u7EBF\u7F06/\u9A71\u52A8\uFF0C\u6216\u65E0\u7EBF\u914D\u5BF9\u4E0E\u5730\u5740\uFF0C\u518D\u901A\u8FC7\u6DFB\u52A0\u8BBE\u5907\u914D\u7F6E\u3002",
|
|
900
|
+
"deviceConnect.unauthorized": "\u8BBE\u5907\u79BB\u7EBF\u6216\u672A\u6388\u6743\uFF0C\u8BF7\u89E3\u9501\u5E76\u786E\u8BA4 USB \u8C03\u8BD5/\u4FE1\u4EFB\u63D0\u793A\uFF0C\u6216\u901A\u8FC7\u6DFB\u52A0\u8BBE\u5907\u914D\u5BF9\u3002",
|
|
901
|
+
"deviceConnect.needsEnrollment": "\u5DF2\u53D1\u73B0\u8BBE\u5907\uFF0C\u8BF7\u901A\u8FC7\u6DFB\u52A0\u8BBE\u5907\u660E\u786E\u8BA4\u9886\u6216\u6CE8\u518C\u5230\u6B64\u8282\u70B9\u3002",
|
|
902
|
+
"deviceConnect.ownedOther": "\u8BBE\u5907\u5C5E\u4E8E\u5176\u4ED6\u7528\u6237\uFF0C\u672A\u6267\u884C\u8BA4\u9886\u6216\u8FC1\u79FB\u3002",
|
|
903
|
+
"deviceConnect.requestFailed": "\u8FDE\u63A5\u6216\u5237\u65B0\u8BB0\u5F55\u5931\u8D25\uFF1A",
|
|
904
|
+
"deviceConnect.cancelled": "\u540E\u7EED\u64CD\u4F5C\u5DF2\u505C\u6B62\u3002",
|
|
905
|
+
"deviceConnect.disconnectUnsupported": "\u6B64\u5904\u6682\u4E0D\u652F\u6301\u65AD\u5F00\uFF0C\u8BF7\u4F7F\u7528\u8BBE\u5907\u6216\u8282\u70B9\u7684\u8FDE\u63A5\u7BA1\u7406\uFF1B\u5173\u95ED\u955C\u50CF\u4E0D\u4F1A\u65AD\u5F00\u8BBE\u5907\u3002",
|
|
852
906
|
"creation.status.applying_proxy": "\u8BBE\u5907\u5DF2\u521B\u5EFA \xB7 \u7B49\u5F85\u4EE3\u7406\u5E94\u7528\u786E\u8BA4",
|
|
853
907
|
"creation.startupNetwork": "\u8BBE\u5907\u542F\u52A8\u540E\u5B8C\u6210\u4EE3\u7406\u914D\u7F6E\uFF1B\u4EE3\u7406\u5E94\u7528\u786E\u8BA4\u524D\u53EF\u80FD\u4F7F\u7528\u539F\u7F51\u7EDC\u3002",
|
|
854
908
|
"creation.title": "\u4F7F\u7528 AIxIps IP \u521B\u5EFA\u8BBE\u5907",
|
package/dist/i18n/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { AixI18nProvider, useAixLang, useAixT } from '../chunk-
|
|
1
|
+
export { AixI18nProvider, useAixLang, useAixT } from '../chunk-WUT5OUBG.js';
|
package/dist/ui/billing.js
CHANGED
package/dist/ui/device-create.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { AddWirelessDeviceDialog, DeviceCreate, NodePicker, ProxySpoofStep, RealDiscoverStep, VirtualSpecStep } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { AddWirelessDeviceDialog, DeviceCreate, NodePicker, ProxySpoofStep, RealDiscoverStep, VirtualSpecStep } from '../chunk-AVRM42RS.js';
|
|
2
|
+
import '../chunk-QZ3XJS2W.js';
|
|
3
|
+
import '../chunk-WUT5OUBG.js';
|
|
4
4
|
import '../chunk-SKTL6ACT.js';
|
|
5
5
|
import '../chunk-LWTL4AIC.js';
|
|
6
6
|
import '../chunk-7H4CYM42.js';
|
package/dist/ui/device-mirror.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { DeviceBootSplash, DeviceMirror, MirrorSurface, parseIosMediaCapabilities } from '../chunk-
|
|
1
|
+
export { DeviceBootSplash, DeviceMirror, MirrorSurface, parseIosMediaCapabilities } from '../chunk-SF5R25DU.js';
|
|
2
2
|
import '../chunk-OEZFYKL6.js';
|
|
3
3
|
import '../chunk-E7WMHM63.js';
|
|
4
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-WUT5OUBG.js';
|
|
5
5
|
import '../chunk-SKTL6ACT.js';
|
|
6
6
|
import '../chunk-LWTL4AIC.js';
|
|
7
7
|
import '../chunk-7H4CYM42.js';
|
package/dist/ui/devices.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { BulkInstallAppsDialog, DeleteDeviceDialog, DeviceCard, DeviceConnect, DeviceDetailDrawer, DeviceEditDialog, DeviceSelector, DeviceTerminal, DevicesPage, FileManager, FingerprintPanel, GroupMirrorModal, NodeRegister, RecycleBinPanel, RefreshParamsButton, RunScriptDialog, ScriptParamForm, SharedParamsForm, ShortcutBar, ShortcutEditDialog, ShortcutRunDialog, TagEditor, TaskAgentDialog, resolveSharedRow, variablesToParams } from '../chunk-
|
|
1
|
+
export { BulkInstallAppsDialog, DeleteDeviceDialog, DeviceCard, DeviceConnect, DeviceDetailDrawer, DeviceEditDialog, DeviceSelector, DeviceTerminal, DevicesPage, FileManager, FingerprintPanel, GroupMirrorModal, NodeRegister, RecycleBinPanel, RefreshParamsButton, RunScriptDialog, ScriptParamForm, SharedParamsForm, ShortcutBar, ShortcutEditDialog, ShortcutRunDialog, TagEditor, TaskAgentDialog, resolveSharedRow, variablesToParams } from '../chunk-A2CKXQ7U.js';
|
|
2
2
|
import '../chunk-D7J4EQTA.js';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-SF5R25DU.js';
|
|
4
4
|
import '../chunk-OEZFYKL6.js';
|
|
5
5
|
import '../chunk-E7WMHM63.js';
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import '../chunk-
|
|
8
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-AVRM42RS.js';
|
|
7
|
+
import '../chunk-QZ3XJS2W.js';
|
|
8
|
+
import '../chunk-WUT5OUBG.js';
|
|
9
9
|
import '../chunk-SKTL6ACT.js';
|
|
10
10
|
export { createAgentTaskRunner, preflightTaskAgentDevice } from '../chunk-LWTL4AIC.js';
|
|
11
11
|
import '../chunk-7H4CYM42.js';
|
package/dist/ui/editor.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ScriptStudio } from '../chunk-X5KVYWUK.js';
|
|
2
2
|
import { useAixNav } from '../chunk-5BMFMDQR.js';
|
|
3
3
|
import '../chunk-D7J4EQTA.js';
|
|
4
|
-
import { useAixT } from '../chunk-
|
|
4
|
+
import { useAixT } from '../chunk-WUT5OUBG.js';
|
|
5
5
|
import { Select, cn } from '../chunk-SKTL6ACT.js';
|
|
6
6
|
import { useClient } from '../chunk-LWTL4AIC.js';
|
|
7
7
|
import '../chunk-7H4CYM42.js';
|
package/dist/ui/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { ControlBar, MirrorView } from '../chunk-E7WMHM63.js';
|
|
2
|
-
import { iosPhysicalUnavailableReason, IosDeviceDiagnostics } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
2
|
+
import { iosPhysicalUnavailableReason, IosDeviceDiagnostics } from '../chunk-QZ3XJS2W.js';
|
|
3
|
+
import '../chunk-WUT5OUBG.js';
|
|
4
4
|
import { Button, Input } from '../chunk-SKTL6ACT.js';
|
|
5
5
|
import { useScript, useEnvRun, useClient } from '../chunk-LWTL4AIC.js';
|
|
6
6
|
import '../chunk-7H4CYM42.js';
|
package/dist/ui/inspector.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useAixT } from '../chunk-
|
|
1
|
+
import { useAixT } from '../chunk-WUT5OUBG.js';
|
|
2
2
|
import { Select, Button, cn, Input, Dialog } from '../chunk-SKTL6ACT.js';
|
|
3
3
|
import { useInspectorView, useDevicesView, useClient, useLocators } from '../chunk-LWTL4AIC.js';
|
|
4
4
|
import '../chunk-7H4CYM42.js';
|
package/dist/ui/market.js
CHANGED
package/dist/ui/scripts.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useAixNav } from '../chunk-5BMFMDQR.js';
|
|
2
|
-
import { useAixT } from '../chunk-
|
|
2
|
+
import { useAixT } from '../chunk-WUT5OUBG.js';
|
|
3
3
|
import { cn, Badge, Button, Input } from '../chunk-SKTL6ACT.js';
|
|
4
4
|
import { useScripts } from '../chunk-LWTL4AIC.js';
|
|
5
5
|
import '../chunk-7H4CYM42.js';
|
package/dist/ui/tasks.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { SharedParamsForm, resolveSharedRow } from '../chunk-
|
|
1
|
+
import { SharedParamsForm, resolveSharedRow } from '../chunk-A2CKXQ7U.js';
|
|
2
2
|
import '../chunk-D7J4EQTA.js';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-SF5R25DU.js';
|
|
4
4
|
import '../chunk-OEZFYKL6.js';
|
|
5
5
|
import '../chunk-E7WMHM63.js';
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import '../chunk-
|
|
8
|
-
import { useAixT } from '../chunk-
|
|
6
|
+
import '../chunk-AVRM42RS.js';
|
|
7
|
+
import '../chunk-QZ3XJS2W.js';
|
|
8
|
+
import { useAixT } from '../chunk-WUT5OUBG.js';
|
|
9
9
|
import { Button, cn, Select, Input, Badge } from '../chunk-SKTL6ACT.js';
|
|
10
10
|
import { useDevicesView, useAutomationQueue, useClient, useAixConfig, useApiTokens } from '../chunk-LWTL4AIC.js';
|
|
11
11
|
import { targetParam, variablesToSchema, schemaDefaults } from '../chunk-7H4CYM42.js';
|