@aixnn/aixautots 0.6.22 → 0.6.23
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/{automation-queue-GhfQtZLm.d.ts → automation-queue-YOX8NFyZ.d.ts} +2 -2
- package/dist/{chunk-E7V7KP3L.js → chunk-32WQD4C3.js} +193 -23
- package/dist/{chunk-UEZVXYGP.js → chunk-767ADNCO.js} +2 -2
- package/dist/{chunk-UUTOAOW4.js → chunk-7LZ56DBX.js} +2 -2
- package/dist/{chunk-LNO4N3CX.js → chunk-7WNB7JNK.js} +8 -8
- package/dist/{chunk-RQA7P65K.js → chunk-BI4S5BUY.js} +2 -2
- package/dist/{chunk-V3TKO45N.js → chunk-DLYZTJCU.js} +2 -2
- package/dist/{chunk-OJK35AQD.js → chunk-EDHEYVB2.js} +7 -1
- package/dist/{chunk-ED6CB3B4.js → chunk-GKLW2IKV.js} +1 -1
- package/dist/{chunk-LHQ5MHQD.js → chunk-QGD7XSH4.js} +2 -2
- package/dist/{chunk-H2AJLWCO.js → chunk-UOCHB65G.js} +2 -2
- package/dist/{chunk-ACVKYB3F.js → chunk-VDRBMIMZ.js} +5 -5
- package/dist/{chunk-APSXWTSO.js → chunk-VS24JACZ.js} +2 -2
- package/dist/{config-C79rcedl.d.ts → config-tG21t9DZ.d.ts} +3 -1
- package/dist/core/index.d.ts +10 -10
- package/dist/core/index.js +2 -2
- package/dist/core/network-adb-node.d.ts +3 -3
- package/dist/{device-channel-OiZwAqNQ.d.ts → device-channel-Y8R-ln4w.d.ts} +1 -1
- package/dist/{device-normalize-ODrxJb-a.d.ts → device-normalize-D2tlJi1G.d.ts} +1 -1
- package/dist/device-session-R4ASLXYI.js +1 -0
- package/dist/i18n/index.js +1 -1
- package/dist/{mirror-session-DifANocH.d.ts → mirror-session-HYQkxdsw.d.ts} +1 -1
- package/dist/react/index.d.ts +9 -9
- package/dist/react/index.js +3 -3
- package/dist/{script-debugger-DjxpvdaN.d.ts → script-debugger-BMUzNL-B.d.ts} +2 -2
- package/dist/{task-agent-runner-CAt-z8gr.d.ts → task-agent-runner-Bp0FmGhZ.d.ts} +3 -3
- package/dist/{types-CBI5SIH5.d.ts → types-CibZTzJ1.d.ts} +6 -1
- package/dist/ui/billing.d.ts +1 -1
- package/dist/ui/billing.js +6 -6
- package/dist/ui/device-create.d.ts +1 -1
- package/dist/ui/device-create.js +7 -7
- package/dist/ui/device-mirror.js +5 -5
- package/dist/ui/devices.d.ts +5 -5
- package/dist/ui/devices.js +9 -9
- package/dist/ui/editor.d.ts +2 -2
- package/dist/ui/editor.js +5 -5
- package/dist/ui/index.d.ts +24 -7
- package/dist/ui/index.js +8 -8
- package/dist/ui/inspector.js +4 -4
- package/dist/ui/ip-commerce.d.ts +2 -2
- package/dist/ui/ip-commerce.js +5 -5
- package/dist/ui/market.js +4 -4
- package/dist/ui/mirror.d.ts +3 -3
- package/dist/ui/script-studio.js +4 -4
- package/dist/ui/scripts.d.ts +1 -1
- package/dist/ui/scripts.js +4 -4
- package/dist/ui/settings.d.ts +3 -2
- package/dist/ui/settings.js +7 -7
- package/dist/ui/tasks.js +9 -9
- package/package.json +1 -1
- package/dist/device-session-PVHD6PNR.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as RunEventKind, A as AixConfig, R as ResolvedConfig } from './config-
|
|
2
|
-
import { S as Script } from './types-
|
|
1
|
+
import { b as RunEventKind, A as AixConfig, R as ResolvedConfig } from './config-tG21t9DZ.js';
|
|
2
|
+
import { S as Script } from './types-CibZTzJ1.js';
|
|
3
3
|
|
|
4
4
|
interface FlowSubmit {
|
|
5
5
|
/** Inline flow JSON (XOR scriptId). */
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { ledgerKindMeta, RechargeDrawer, BillingPage } from './chunk-
|
|
2
|
-
import { IosDeviceDiagnostics } from './chunk-
|
|
1
|
+
import { ledgerKindMeta, RechargeDrawer, BillingPage } from './chunk-VS24JACZ.js';
|
|
2
|
+
import { IosDeviceDiagnostics } from './chunk-QGD7XSH4.js';
|
|
3
3
|
import { iosPhysicalUnavailableReason } from './chunk-ZB5ET67B.js';
|
|
4
|
-
import { cn, Button, Input, Drawer, Select } from './chunk-7GCAXBUH.js';
|
|
5
|
-
import { useAixT } from './chunk-
|
|
6
|
-
import { useEnvRun, useClient, useOptionalAixConfig, AixResolvedProvider } from './chunk-
|
|
7
|
-
import { summarizeEnv, envBlocker, detectEnvOs } from './chunk-
|
|
4
|
+
import { cn, Button, Input, Drawer, Popover, Select } from './chunk-7GCAXBUH.js';
|
|
5
|
+
import { useAixT } from './chunk-BI4S5BUY.js';
|
|
6
|
+
import { useEnvRun, useClient, useOptionalAixConfig, AixResolvedProvider } from './chunk-767ADNCO.js';
|
|
7
|
+
import { summarizeEnv, envBlocker, detectEnvOs } from './chunk-EDHEYVB2.js';
|
|
8
8
|
import React, { useState, useRef, useEffect, useMemo, useCallback } from 'react';
|
|
9
|
-
import { Info, Loader2, Wallet, Receipt, RefreshCw } from 'lucide-react';
|
|
9
|
+
import { Info, Loader2, Wallet, Receipt, RefreshCw, Trash2 } from 'lucide-react';
|
|
10
10
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
11
11
|
|
|
12
12
|
// src/ui/settings/types.ts
|
|
@@ -502,6 +502,53 @@ function supportsRuntimeDataRoot(node) {
|
|
|
502
502
|
const capability = node.reported_caps?.runtime_data_root;
|
|
503
503
|
return capability?.supported === true;
|
|
504
504
|
}
|
|
505
|
+
function supportsNodeImageDelete(node) {
|
|
506
|
+
const capability = node.reported_caps?.node_image_delete;
|
|
507
|
+
return capability?.supported === true;
|
|
508
|
+
}
|
|
509
|
+
function formatImageVersion(imageTag) {
|
|
510
|
+
const lastColon = imageTag.lastIndexOf(":");
|
|
511
|
+
const lastSlash = imageTag.lastIndexOf("/");
|
|
512
|
+
if (lastColon > lastSlash && lastColon < imageTag.length - 1) {
|
|
513
|
+
return imageTag.slice(lastColon + 1);
|
|
514
|
+
}
|
|
515
|
+
return imageTag;
|
|
516
|
+
}
|
|
517
|
+
function extraImageLabel(tag) {
|
|
518
|
+
const lastColon = tag.lastIndexOf(":");
|
|
519
|
+
const lastSlash = tag.lastIndexOf("/");
|
|
520
|
+
const repo = lastColon > lastSlash ? tag.slice(0, lastColon) : tag;
|
|
521
|
+
const name = repo.slice(lastSlash + 1);
|
|
522
|
+
const match = name.match(/xandroid-([0-9]+(?:\.[0-9]+)*)/i);
|
|
523
|
+
return match ? `Android ${match[1]}` : name || tag;
|
|
524
|
+
}
|
|
525
|
+
function buildAndroidImageItems(images, installed) {
|
|
526
|
+
const seenTags = /* @__PURE__ */ new Set();
|
|
527
|
+
const items = images.map((img) => {
|
|
528
|
+
seenTags.add(img.image_tag);
|
|
529
|
+
return {
|
|
530
|
+
key: img.id,
|
|
531
|
+
label: img.label,
|
|
532
|
+
imageTag: img.image_tag,
|
|
533
|
+
version: formatImageVersion(img.image_tag),
|
|
534
|
+
installed: installed.includes(img.image_tag),
|
|
535
|
+
extra: false
|
|
536
|
+
};
|
|
537
|
+
});
|
|
538
|
+
for (const tag of installed) {
|
|
539
|
+
if (!tag || seenTags.has(tag)) continue;
|
|
540
|
+
seenTags.add(tag);
|
|
541
|
+
items.push({
|
|
542
|
+
key: `extra:${tag}`,
|
|
543
|
+
label: extraImageLabel(tag),
|
|
544
|
+
imageTag: tag,
|
|
545
|
+
version: formatImageVersion(tag),
|
|
546
|
+
installed: true,
|
|
547
|
+
extra: true
|
|
548
|
+
});
|
|
549
|
+
}
|
|
550
|
+
return items;
|
|
551
|
+
}
|
|
505
552
|
function envOsOf(node) {
|
|
506
553
|
const os = str(sys(node, "os"));
|
|
507
554
|
return os === "macos" ? "mac" : os === "windows" ? "win" : null;
|
|
@@ -638,23 +685,128 @@ function DataRootConfig({ node }) {
|
|
|
638
685
|
message && /* @__PURE__ */ jsx("p", { className: "text-[11px] text-muted-foreground", children: message })
|
|
639
686
|
] });
|
|
640
687
|
}
|
|
641
|
-
function
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
688
|
+
function AndroidImageRow({
|
|
689
|
+
item,
|
|
690
|
+
node,
|
|
691
|
+
canDelete,
|
|
692
|
+
onDelete
|
|
693
|
+
}) {
|
|
694
|
+
const [deleting, setDeleting] = useState(false);
|
|
695
|
+
const [error, setError] = useState(null);
|
|
696
|
+
const interactive = item.installed && node.is_owner;
|
|
697
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
698
|
+
/* @__PURE__ */ jsx("span", { className: `h-1 w-1 shrink-0 rounded-full ${item.installed ? "bg-success" : "bg-muted-foreground/40"}` }),
|
|
699
|
+
/* @__PURE__ */ jsx("span", { className: "flex-1 min-w-0 truncate text-[11px] text-muted-foreground", children: item.label }),
|
|
700
|
+
interactive ? /* @__PURE__ */ jsx(
|
|
701
|
+
Popover,
|
|
702
|
+
{
|
|
703
|
+
align: "end",
|
|
704
|
+
className: "w-72",
|
|
705
|
+
trigger: ({ open, toggle }) => /* @__PURE__ */ jsxs(
|
|
706
|
+
"button",
|
|
707
|
+
{
|
|
708
|
+
type: "button",
|
|
709
|
+
onClick: () => {
|
|
710
|
+
if (!open) setError(null);
|
|
711
|
+
toggle();
|
|
712
|
+
},
|
|
713
|
+
title: item.imageTag,
|
|
714
|
+
"aria-expanded": open,
|
|
715
|
+
"aria-label": `\u64CD\u4F5C\u955C\u50CF ${item.label} ${item.version}`,
|
|
716
|
+
className: "inline-flex items-center gap-1 rounded border border-border/80 bg-secondary/60 px-1.5 py-0.5 font-mono text-[10px] text-foreground transition-colors hover:border-destructive/50 hover:bg-destructive/10 hover:text-destructive",
|
|
717
|
+
children: [
|
|
718
|
+
/* @__PURE__ */ jsx("span", { className: "max-w-[180px] truncate", children: item.version }),
|
|
719
|
+
/* @__PURE__ */ jsx(Trash2, { className: "h-2.5 w-2.5 shrink-0 opacity-70" })
|
|
720
|
+
]
|
|
721
|
+
}
|
|
722
|
+
),
|
|
723
|
+
children: (close) => /* @__PURE__ */ jsxs("div", { className: "space-y-2 text-xs", children: [
|
|
724
|
+
/* @__PURE__ */ jsx("div", { className: "font-medium text-foreground", children: "\u5220\u9664\u955C\u50CF" }),
|
|
725
|
+
/* @__PURE__ */ jsxs("p", { className: "text-[11px] leading-relaxed text-muted-foreground", children: [
|
|
726
|
+
"\u786E\u8BA4\u4ECE\u5F53\u524D\u8282\u70B9\u5220\u9664\u955C\u50CF",
|
|
727
|
+
" ",
|
|
728
|
+
/* @__PURE__ */ jsx("code", { className: "rounded bg-secondary px-1 py-0.5 font-mono text-[10px] text-foreground break-all", children: item.imageTag }),
|
|
729
|
+
"\uFF1F"
|
|
730
|
+
] }),
|
|
731
|
+
canDelete ? /* @__PURE__ */ jsx("p", { className: "text-[11px] text-muted-foreground", children: "\u5220\u9664\u540E\u5C06\u4ECE\u8282\u70B9\u672C\u5730\u5BB9\u5668\u5B58\u50A8\u79FB\u9664\u8BE5\u955C\u50CF\u4EE5\u91CA\u653E\u7A7A\u95F4\uFF1B\u82E5\u6709\u5BB9\u5668\u6B63\u5728\u4F7F\u7528\u8BE5\u955C\u50CF\uFF0C\u5220\u9664\u4F1A\u88AB\u62D2\u7EDD\u3002" }) : node.status !== "online" ? /* @__PURE__ */ jsx("p", { className: "text-[11px] text-warning", children: "\u8282\u70B9\u5F53\u524D\u79BB\u7EBF\uFF0C\u65E0\u6CD5\u5220\u9664\u955C\u50CF\u3002" }) : /* @__PURE__ */ jsx("p", { className: "text-[11px] text-warning", children: "\u5F53\u524D\u8282\u70B9 SDK \u6682\u4E0D\u652F\u6301\u8FDC\u7A0B\u5220\u9664\u955C\u50CF\uFF0C\u8BF7\u5347\u7EA7\u8282\u70B9 SDK \u540E\u91CD\u8BD5\u3002" }),
|
|
732
|
+
error && /* @__PURE__ */ jsx("p", { role: "alert", className: "break-words text-[11px] text-destructive", children: error }),
|
|
733
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-end gap-2 pt-1", children: [
|
|
734
|
+
/* @__PURE__ */ jsx(Button, { size: "sm", variant: "ghost", disabled: deleting, onClick: close, children: "\u53D6\u6D88" }),
|
|
735
|
+
/* @__PURE__ */ jsxs(
|
|
736
|
+
Button,
|
|
737
|
+
{
|
|
738
|
+
size: "sm",
|
|
739
|
+
variant: "ghost",
|
|
740
|
+
disabled: !canDelete || deleting,
|
|
741
|
+
className: "text-destructive hover:bg-destructive/10 hover:text-destructive",
|
|
742
|
+
onClick: () => {
|
|
743
|
+
void (async () => {
|
|
744
|
+
setDeleting(true);
|
|
745
|
+
setError(null);
|
|
746
|
+
try {
|
|
747
|
+
await onDelete(item.imageTag);
|
|
748
|
+
close();
|
|
749
|
+
} catch (e) {
|
|
750
|
+
setError(e instanceof Error ? e.message : String(e));
|
|
751
|
+
} finally {
|
|
752
|
+
setDeleting(false);
|
|
753
|
+
}
|
|
754
|
+
})();
|
|
755
|
+
},
|
|
756
|
+
children: [
|
|
757
|
+
deleting && /* @__PURE__ */ jsx(Loader2, { className: "h-3 w-3 animate-spin" }),
|
|
758
|
+
deleting ? "\u5220\u9664\u4E2D\u2026" : "\u5220\u9664\u955C\u50CF"
|
|
759
|
+
]
|
|
760
|
+
}
|
|
761
|
+
)
|
|
762
|
+
] })
|
|
763
|
+
] })
|
|
764
|
+
}
|
|
765
|
+
) : /* @__PURE__ */ jsx(
|
|
766
|
+
"span",
|
|
767
|
+
{
|
|
768
|
+
title: item.imageTag,
|
|
769
|
+
className: "max-w-[180px] truncate rounded bg-secondary/40 px-1.5 py-0.5 font-mono text-[10px] text-muted-foreground",
|
|
770
|
+
children: item.version
|
|
771
|
+
}
|
|
772
|
+
),
|
|
773
|
+
/* @__PURE__ */ jsx("span", { className: `w-10 text-right text-[10px] ${item.installed ? "text-success" : "text-muted-foreground"}`, children: item.installed ? "\u5DF2\u5B89\u88C5" : "\u672A\u5B89\u88C5" })
|
|
774
|
+
] });
|
|
775
|
+
}
|
|
776
|
+
function AndroidImageRows({
|
|
777
|
+
items,
|
|
778
|
+
node,
|
|
779
|
+
canDelete,
|
|
780
|
+
onDelete
|
|
781
|
+
}) {
|
|
782
|
+
const seen = /* @__PURE__ */ new Map();
|
|
783
|
+
return /* @__PURE__ */ jsx("div", { className: "mt-1.5 ml-3.5 space-y-1 border-l border-border/60 pl-3", children: items.map((item) => {
|
|
784
|
+
const count = seen.get(item.imageTag) ?? 0;
|
|
785
|
+
seen.set(item.imageTag, count + 1);
|
|
786
|
+
const stableKey = count === 0 ? item.imageTag : `${item.imageTag}#${count}`;
|
|
787
|
+
return /* @__PURE__ */ jsx(AndroidImageRow, { item, node, canDelete, onDelete }, stableKey);
|
|
649
788
|
}) });
|
|
650
789
|
}
|
|
651
|
-
function NodeCapabilityPanel({
|
|
790
|
+
function NodeCapabilityPanel({
|
|
791
|
+
node: reportedNode,
|
|
792
|
+
isTauri,
|
|
793
|
+
onInstallWsl,
|
|
794
|
+
localEnvOs,
|
|
795
|
+
beforeSetup,
|
|
796
|
+
onNodeUpdated,
|
|
797
|
+
onDeleteImage
|
|
798
|
+
}) {
|
|
652
799
|
const client = useClient();
|
|
653
800
|
const localOs = localEnvOs ?? (client.localNode?.nodeId === reportedNode.id ? client.localNode.envOs ?? detectEnvOs() : null);
|
|
654
801
|
const node = withLocalEnvOs(reportedNode, localOs);
|
|
655
802
|
const [init, setInit] = useState(null);
|
|
656
803
|
const initOs = sys(node, "os") === "linux" ? "linux" : envOsOf(node);
|
|
657
804
|
const [androidImages, setAndroidImages] = useState([]);
|
|
805
|
+
const [installedOverride, setInstalledOverride] = useState(null);
|
|
806
|
+
const reportedInstalledKey = installedTags(reportedNode).join("\n");
|
|
807
|
+
useEffect(() => {
|
|
808
|
+
setInstalledOverride(null);
|
|
809
|
+
}, [reportedNode.id, reportedInstalledKey]);
|
|
658
810
|
useEffect(() => {
|
|
659
811
|
let cancelled = false;
|
|
660
812
|
client.images.options("android").then((imgs) => {
|
|
@@ -665,7 +817,15 @@ function NodeCapabilityPanel({ node: reportedNode, isTauri, onInstallWsl, localE
|
|
|
665
817
|
cancelled = true;
|
|
666
818
|
};
|
|
667
819
|
}, [client]);
|
|
668
|
-
const installed = installedTags(node);
|
|
820
|
+
const installed = installedOverride ?? installedTags(node);
|
|
821
|
+
const androidImageItems = buildAndroidImageItems(androidImages, installed);
|
|
822
|
+
const canDeleteImage = Boolean(onDeleteImage) || node.status === "online" && supportsNodeImageDelete(node);
|
|
823
|
+
const handleDeleteImage = async (imageTag) => {
|
|
824
|
+
const res = onDeleteImage ? await onDeleteImage(imageTag) : await client.nodes.deleteImage(node.id, imageTag);
|
|
825
|
+
const nextInstalled = Array.isArray(res) ? res : res && Array.isArray(res.installed_images) ? res.installed_images : installed.filter((t) => t !== imageTag);
|
|
826
|
+
setInstalledOverride(nextInstalled);
|
|
827
|
+
await onNodeUpdated?.();
|
|
828
|
+
};
|
|
669
829
|
const usbDiagnostic = node.reported_caps?.ios_usb_diagnostic;
|
|
670
830
|
return /* @__PURE__ */ jsxs("section", { children: [
|
|
671
831
|
/* @__PURE__ */ jsx("h3", { className: "text-xs font-semibold text-muted-foreground uppercase tracking-wide mb-2", children: "\u865A\u62DF\u673A\u4E0E\u8BBE\u5907\u80FD\u529B" }),
|
|
@@ -686,7 +846,15 @@ function NodeCapabilityPanel({ node: reportedNode, isTauri, onInstallWsl, localE
|
|
|
686
846
|
onDownload: () => setInit(vm)
|
|
687
847
|
}
|
|
688
848
|
),
|
|
689
|
-
vm.key === "android" && vm.state !== "unavailable" &&
|
|
849
|
+
vm.key === "android" && vm.state !== "unavailable" && androidImageItems.length > 0 && /* @__PURE__ */ jsx(
|
|
850
|
+
AndroidImageRows,
|
|
851
|
+
{
|
|
852
|
+
items: androidImageItems,
|
|
853
|
+
node,
|
|
854
|
+
canDelete: canDeleteImage,
|
|
855
|
+
onDelete: handleDeleteImage
|
|
856
|
+
}
|
|
857
|
+
)
|
|
690
858
|
] }, vm.key))
|
|
691
859
|
] }),
|
|
692
860
|
node.is_owner && node.status === "online" && node.reported_caps?.ios_control?.diagnostics === true && /* @__PURE__ */ jsx(IosDeviceDiagnostics, { nodeId: node.id }, node.id),
|
|
@@ -907,10 +1075,11 @@ function DesktopNodeDetailsView({
|
|
|
907
1075
|
};
|
|
908
1076
|
const node = nodes.data?.find((n) => boundNodeId ? n.id === boundNodeId : Boolean(nodeName) && n.name === nodeName) ?? null;
|
|
909
1077
|
const renderPanel = (target) => {
|
|
1078
|
+
const onNodeUpdated = () => void nodes.refetch();
|
|
910
1079
|
if (renderNodeCapability) {
|
|
911
|
-
return renderNodeCapability({ node: target, isTauri: true, beforeSetup: prepareSetup });
|
|
1080
|
+
return renderNodeCapability({ node: target, isTauri: true, beforeSetup: prepareSetup, onNodeUpdated });
|
|
912
1081
|
}
|
|
913
|
-
const inner = /* @__PURE__ */ jsx(NodeCapabilityPanel, { node: target, isTauri: true, beforeSetup: prepareSetup });
|
|
1082
|
+
const inner = /* @__PURE__ */ jsx(NodeCapabilityPanel, { node: target, isTauri: true, beforeSetup: prepareSetup, onNodeUpdated });
|
|
914
1083
|
if (!optionalConfig && "cfg" in client && client.cfg) {
|
|
915
1084
|
return /* @__PURE__ */ jsx(AixResolvedProvider, { config: client.cfg, children: inner });
|
|
916
1085
|
}
|
|
@@ -1008,10 +1177,11 @@ function WebNodeDetailsView({
|
|
|
1008
1177
|
}, [client, sessionKey, authenticated]);
|
|
1009
1178
|
const selected = nodes?.find((n) => n.id === selectedId) ?? nodes?.[0] ?? null;
|
|
1010
1179
|
const renderPanel = (target) => {
|
|
1180
|
+
const onNodeUpdated = () => void load();
|
|
1011
1181
|
if (renderNodeCapability) {
|
|
1012
|
-
return renderNodeCapability({ node: target, isTauri: false });
|
|
1182
|
+
return renderNodeCapability({ node: target, isTauri: false, onNodeUpdated });
|
|
1013
1183
|
}
|
|
1014
|
-
const inner = /* @__PURE__ */ jsx(NodeCapabilityPanel, { node: target, isTauri: false });
|
|
1184
|
+
const inner = /* @__PURE__ */ jsx(NodeCapabilityPanel, { node: target, isTauri: false, onNodeUpdated });
|
|
1015
1185
|
if (!optionalConfig && "cfg" in client && client.cfg) {
|
|
1016
1186
|
return /* @__PURE__ */ jsx(AixResolvedProvider, { config: client.cfg, children: inner });
|
|
1017
1187
|
}
|
|
@@ -1723,4 +1893,4 @@ function SdkSettingsPage({
|
|
|
1723
1893
|
] });
|
|
1724
1894
|
}
|
|
1725
1895
|
|
|
1726
|
-
export { EnvInitDialog, NodeCapabilityPanel, SdkLocalNodeSection, SdkNodeDetailsSection, SdkSettingsPage, SdkVersionSection, SdkWalletSection, parseSdkUpdate, sdkVersion, verifySdkCompletion, vmPlan };
|
|
1896
|
+
export { EnvInitDialog, NodeCapabilityPanel, SdkLocalNodeSection, SdkNodeDetailsSection, SdkSettingsPage, SdkVersionSection, SdkWalletSection, buildAndroidImageItems, formatImageVersion, parseSdkUpdate, sdkVersion, supportsNodeImageDelete, verifySdkCompletion, vmPlan };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DeviceChannel, ScriptDebugger, FlowRun, MirrorSession, normalizeDevices, submitBatch } from './chunk-
|
|
2
|
-
import { resolveConfig, AixClient, isFleetRunTerminal, joinUrl, AixAuthError, AixError, EnvRun, detectEnvOs, summarizeEnv, ReconnectingSocket, executionWsTicketUrl } from './chunk-
|
|
1
|
+
import { DeviceChannel, ScriptDebugger, FlowRun, MirrorSession, normalizeDevices, submitBatch } from './chunk-GKLW2IKV.js';
|
|
2
|
+
import { resolveConfig, AixClient, isFleetRunTerminal, joinUrl, AixAuthError, AixError, EnvRun, detectEnvOs, summarizeEnv, ReconnectingSocket, executionWsTicketUrl } from './chunk-EDHEYVB2.js';
|
|
3
3
|
import React, { createContext, useContext, useState, useRef, useEffect, useCallback, useMemo, createElement } from 'react';
|
|
4
4
|
import { jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ControlBar, MirrorView } from './chunk-MBBVYSPD.js';
|
|
2
2
|
import { canConnectPhysicalDevice } from './chunk-ZB5ET67B.js';
|
|
3
3
|
import { Dialog, Select, Button, useToast, ToastViewport, Popover } from './chunk-7GCAXBUH.js';
|
|
4
|
-
import { useAixT } from './chunk-
|
|
5
|
-
import { useClient, useDevices, useMirror, createAgentTaskRunner, useTaskAgentRun } from './chunk-
|
|
4
|
+
import { useAixT } from './chunk-BI4S5BUY.js';
|
|
5
|
+
import { useClient, useDevices, useMirror, createAgentTaskRunner, useTaskAgentRun } from './chunk-767ADNCO.js';
|
|
6
6
|
import { useState, useRef, useEffect, useId, useCallback, useMemo } from 'react';
|
|
7
7
|
import { ClipboardPaste, Wrench, Check, Settings2, VolumeX, Volume2, RotateCw, X, PanelsTopLeft, Minimize2, Maximize2, Rocket, Loader2, Square, Video, Download } from 'lucide-react';
|
|
8
8
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { LogConsole } from './chunk-OKNU6FSH.js';
|
|
2
|
-
import { requestPreviewFrame, MirrorSurface, DeviceMirror, ConnectDevicesDialog } from './chunk-
|
|
2
|
+
import { requestPreviewFrame, MirrorSurface, DeviceMirror, ConnectDevicesDialog } from './chunk-7LZ56DBX.js';
|
|
3
3
|
import { ControlBar, MirrorView } from './chunk-MBBVYSPD.js';
|
|
4
|
-
import { deviceProxyCapabilities, createProxyProbeGuard, proxySummaryFromDevice, isProxyApplyStatus, safeCustomProxyAddress, usesAndroidSystemProxy, normalizeManualProxyUrl, proxyCapabilityReason, proxyProbeExitIp, proxyProbeMessage, DeviceCreate, isProxyProbeUnsupported, customProxyAddress, isRedactedProxyUrl, isSupportedProxyUrl } from './chunk-
|
|
5
|
-
import { IpCommercePanel } from './chunk-
|
|
6
|
-
import { IosDeviceDiagnostics } from './chunk-
|
|
4
|
+
import { deviceProxyCapabilities, createProxyProbeGuard, proxySummaryFromDevice, isProxyApplyStatus, safeCustomProxyAddress, usesAndroidSystemProxy, normalizeManualProxyUrl, proxyCapabilityReason, proxyProbeExitIp, proxyProbeMessage, DeviceCreate, isProxyProbeUnsupported, customProxyAddress, isRedactedProxyUrl, isSupportedProxyUrl } from './chunk-VDRBMIMZ.js';
|
|
5
|
+
import { IpCommercePanel } from './chunk-UOCHB65G.js';
|
|
6
|
+
import { IosDeviceDiagnostics } from './chunk-QGD7XSH4.js';
|
|
7
7
|
import { isPhysicalIos } from './chunk-ZB5ET67B.js';
|
|
8
8
|
import { cn, Badge, Button, Dialog, Input, Popover, Select, useToast, ToastViewport, Drawer } from './chunk-7GCAXBUH.js';
|
|
9
|
-
import { useAixT } from './chunk-
|
|
10
|
-
import { useClient, useDevicesView, useShortcutsView, useAixConfig, GROUP_MIRROR_MAX, useGroupMirror, useScripts, useFleetRun, useTaskAgentRun, preflightTaskAgentDevice, createAgentTaskRunner, useNodesView } from './chunk-
|
|
11
|
-
import { DeviceChannel } from './chunk-
|
|
12
|
-
import { DeviceSession, isQueuedPowerReceipt, pushFile, pullFile, AixError } from './chunk-
|
|
9
|
+
import { useAixT } from './chunk-BI4S5BUY.js';
|
|
10
|
+
import { useClient, useDevicesView, useShortcutsView, useAixConfig, GROUP_MIRROR_MAX, useGroupMirror, useScripts, useFleetRun, useTaskAgentRun, preflightTaskAgentDevice, createAgentTaskRunner, useNodesView } from './chunk-767ADNCO.js';
|
|
11
|
+
import { DeviceChannel } from './chunk-GKLW2IKV.js';
|
|
12
|
+
import { DeviceSession, isQueuedPowerReceipt, pushFile, pullFile, AixError } from './chunk-EDHEYVB2.js';
|
|
13
13
|
import { useState, useRef, useCallback, useEffect, useMemo, useLayoutEffect } from 'react';
|
|
14
14
|
import * as Icons from 'lucide-react';
|
|
15
15
|
import { Monitor, Eye, Play, Power, RefreshCw, Server, Pencil, Trash2, FolderPlus, Upload, ArrowUp, Folder, File, Download, Dices, ShieldCheck, AlertTriangle, X, Crown, RotateCcw, Square, Plus, Search, LayoutGrid, List, ChevronLeft, Link, Link2Off, Terminal as Terminal$1, PackagePlus, MonitorPlay, ChevronRight, ChevronDown, PlusSquare, Maximize2, Info, ChevronsLeft, ChevronsRight, Check, Copy, Tablet, Smartphone } from 'lucide-react';
|
|
@@ -448,7 +448,7 @@ var en = {
|
|
|
448
448
|
"drawer.noResults": "No results",
|
|
449
449
|
"drawer.chooseFile": "Choose file\u2026",
|
|
450
450
|
"drawer.proxy": "Proxy",
|
|
451
|
-
"drawer.proxyDesc": "HTTP proxy, e.g. http://proxy.example.com:7890; username and password are optional.
|
|
451
|
+
"drawer.proxyDesc": "HTTP proxy, e.g. http://proxy.example.com:7890; username and password are optional. Local Windows/WSL and macOS nodes also support LAN proxy IPs (e.g. 192.168.x.x:7890); on Windows/WSL, 127.0.0.1 maps to the host WSL gateway (the proxy must accept connections beyond loopback).",
|
|
452
452
|
"drawer.proxyPlaceholder": "http://[user:password@]host:8080",
|
|
453
453
|
"drawer.proxyClear": "Clear proxy",
|
|
454
454
|
"drawer.proxySaved": "Proxy saved; apply status updated below",
|
|
@@ -1513,7 +1513,7 @@ var zh = {
|
|
|
1513
1513
|
"drawer.noResults": "\u65E0\u7ED3\u679C",
|
|
1514
1514
|
"drawer.chooseFile": "\u9009\u62E9\u6587\u4EF6\u2026",
|
|
1515
1515
|
"drawer.proxy": "\u4EE3\u7406 Proxy",
|
|
1516
|
-
"drawer.proxyDesc": "HTTP \u4EE3\u7406\uFF0C\u5982 http://proxy.example.com:7890\uFF1B\u7528\u6237\u540D\u548C\u5BC6\u7801\u53EF\u9009\
|
|
1516
|
+
"drawer.proxyDesc": "HTTP \u4EE3\u7406\uFF0C\u5982 http://proxy.example.com:7890\uFF1B\u7528\u6237\u540D\u548C\u5BC6\u7801\u53EF\u9009\u3002Windows/WSL \u53CA macOS \u672C\u5730\u8282\u70B9\u652F\u6301\u5C40\u57DF\u7F51\u4EE3\u7406 IP\uFF08\u5982 192.168.x.x:7890\uFF09\uFF1BWindows/WSL \u4E0A 127.0.0.1 \u4F1A\u6620\u5C04\u5230\u5BBF\u4E3B\u673A WSL \u7F51\u5173\uFF08\u4EE3\u7406\u4E0D\u80FD\u53EA\u7ED1\u5B9A\u56DE\u73AF\u5730\u5740\uFF09\u3002",
|
|
1517
1517
|
"drawer.proxyPlaceholder": "http://[\u7528\u6237\u540D:\u5BC6\u7801@]\u4E3B\u673A:8080",
|
|
1518
1518
|
"drawer.proxyClear": "\u6E05\u9664\u4EE3\u7406",
|
|
1519
1519
|
"drawer.proxySaved": "\u4EE3\u7406\u5DF2\u4FDD\u5B58\uFF1B\u4E0B\u65B9\u663E\u793A\u4E0B\u53D1\u72B6\u6001",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LogConsole } from './chunk-OKNU6FSH.js';
|
|
2
2
|
import { cn, Button, Select } from './chunk-7GCAXBUH.js';
|
|
3
|
-
import { useDevices, useClient, useScripts, useScriptRun } from './chunk-
|
|
4
|
-
import { variablesToSchema, normalizeDevices, schemaToVariables } from './chunk-
|
|
3
|
+
import { useDevices, useClient, useScripts, useScriptRun } from './chunk-767ADNCO.js';
|
|
4
|
+
import { variablesToSchema, normalizeDevices, schemaToVariables } from './chunk-GKLW2IKV.js';
|
|
5
5
|
import { useMemo, useState, useEffect, useRef, useCallback } from 'react';
|
|
6
6
|
import { Trash2, Plus, Play, Pause, Square, ArrowDownToLine, WrapText, ChevronRight, Save, XCircle, CheckCircle2, Loader2, Circle } from 'lucide-react';
|
|
7
7
|
import CodeMirror, { EditorView } from '@uiw/react-codemirror';
|
|
@@ -1047,6 +1047,12 @@ var NodesApi = class {
|
|
|
1047
1047
|
setDataRoot(nodeId, dataRoot) {
|
|
1048
1048
|
return this.c.post(`/api/nodes/${nodeId}/runtime/data-root`, { data_root: dataRoot });
|
|
1049
1049
|
}
|
|
1050
|
+
/** Delete a locally installed container image on an owned node (`POST /api/nodes/:id/images/delete`). */
|
|
1051
|
+
deleteImage(nodeId, imageTag) {
|
|
1052
|
+
return this.c.post(`/api/nodes/${encodeURIComponent(nodeId)}/images/delete`, {
|
|
1053
|
+
image_tag: imageTag
|
|
1054
|
+
});
|
|
1055
|
+
}
|
|
1050
1056
|
/** Submit a durable node-owned agent task (`POST /api/agent-tasks`). */
|
|
1051
1057
|
submitAgentTask(input) {
|
|
1052
1058
|
return this.c.post("/api/agent-tasks", input);
|
|
@@ -1903,7 +1909,7 @@ var AixClient = class {
|
|
|
1903
1909
|
* 即可,不必回依赖 client 实例)。
|
|
1904
1910
|
*/
|
|
1905
1911
|
async deviceSession(deviceId, opts = {}) {
|
|
1906
|
-
const { DeviceSession: DeviceSession2 } = await import('./device-session-
|
|
1912
|
+
const { DeviceSession: DeviceSession2 } = await import('./device-session-R4ASLXYI.js');
|
|
1907
1913
|
return DeviceSession2.open(this.cfg, deviceId, opts);
|
|
1908
1914
|
}
|
|
1909
1915
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { joinUrl, AixAuthError, AixLocked, AixError, resolveConfig, ReconnectingSocket, AixTimeout, AixProtocolError, parseIncoming, isRetFrame, errorFromRet, isStatusFrame, isFridaEventFrame, isScriptletEventFrame, executionWsTicketUrl, isExecutionFrame, mintViewerToken, getIceServers, mintViewerGrant, validateViewerGrant, validUuid, executionStreamEventsAfter } from './chunk-
|
|
1
|
+
import { joinUrl, AixAuthError, AixLocked, AixError, resolveConfig, ReconnectingSocket, AixTimeout, AixProtocolError, parseIncoming, isRetFrame, errorFromRet, isStatusFrame, isFridaEventFrame, isScriptletEventFrame, executionWsTicketUrl, isExecutionFrame, mintViewerToken, getIceServers, mintViewerGrant, validateViewerGrant, validUuid, executionStreamEventsAfter } from './chunk-EDHEYVB2.js';
|
|
2
2
|
|
|
3
3
|
// src/core/ws-access.ts
|
|
4
4
|
async function mintDeviceAccess(cfg, deviceId) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Button } from './chunk-7GCAXBUH.js';
|
|
2
|
-
import { useAixT } from './chunk-
|
|
3
|
-
import { useClient } from './chunk-
|
|
2
|
+
import { useAixT } from './chunk-BI4S5BUY.js';
|
|
3
|
+
import { useClient } from './chunk-767ADNCO.js';
|
|
4
4
|
import { useSyncExternalStore, useState, useEffect } from 'react';
|
|
5
5
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Button } from './chunk-7GCAXBUH.js';
|
|
2
|
-
import { useAixLang } from './chunk-
|
|
3
|
-
import { useClient } from './chunk-
|
|
2
|
+
import { useAixLang } from './chunk-BI4S5BUY.js';
|
|
3
|
+
import { useClient } from './chunk-767ADNCO.js';
|
|
4
4
|
import { useState, useRef, useEffect } from 'react';
|
|
5
5
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
6
6
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { IpCommercePanel } from './chunk-
|
|
2
|
-
import { IosDeviceDiagnostics } from './chunk-
|
|
1
|
+
import { IpCommercePanel } from './chunk-UOCHB65G.js';
|
|
2
|
+
import { IosDeviceDiagnostics } from './chunk-QGD7XSH4.js';
|
|
3
3
|
import { canConnectPhysicalDevice } from './chunk-ZB5ET67B.js';
|
|
4
4
|
import { cn, Select, Dialog, Button, Input, Badge } from './chunk-7GCAXBUH.js';
|
|
5
|
-
import { useAixT } from './chunk-
|
|
6
|
-
import { useNodes, useClient, useDevices } from './chunk-
|
|
5
|
+
import { useAixT } from './chunk-BI4S5BUY.js';
|
|
6
|
+
import { useNodes, useClient, useDevices } from './chunk-767ADNCO.js';
|
|
7
7
|
import { useState, useEffect, useMemo, useCallback, useRef } from 'react';
|
|
8
8
|
import { Server, RefreshCw, Smartphone, Usb, Wifi, Info } from 'lucide-react';
|
|
9
9
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
@@ -976,7 +976,7 @@ function ProxySpoofStep({ spec, onChange, isReal, showProxy = !isReal, proxyDisa
|
|
|
976
976
|
className: proxyInvalid ? "border-destructive" : void 0
|
|
977
977
|
}
|
|
978
978
|
),
|
|
979
|
-
/* @__PURE__ */ jsx("p", { className: "mt-1 text-xs text-muted-foreground", children: proxyDisabled ? "\u5F53\u524D\u8282\u70B9\u6682\u4E0D\u652F\u6301\u4EE3\u7406\uFF0C\u8BBE\u5907\u5C06\u4F7F\u7528\u8282\u70B9\u7F51\u7EDC\u3002" : "\u586B\u5199 HTTP \u4EE3\u7406\u5730\u5740\uFF08\u5982 http://proxy.example.com:7890\uFF09\uFF1B\u7528\u6237\u540D\u548C\u5BC6\u7801\u53EF\u9009\
|
|
979
|
+
/* @__PURE__ */ jsx("p", { className: "mt-1 text-xs text-muted-foreground", children: proxyDisabled ? "\u5F53\u524D\u8282\u70B9\u6682\u4E0D\u652F\u6301\u4EE3\u7406\uFF0C\u8BBE\u5907\u5C06\u4F7F\u7528\u8282\u70B9\u7F51\u7EDC\u3002" : "\u586B\u5199 HTTP \u4EE3\u7406\u5730\u5740\uFF08\u5982 http://proxy.example.com:7890\uFF09\uFF1B\u7528\u6237\u540D\u548C\u5BC6\u7801\u53EF\u9009\u3002Windows/WSL \u53CA macOS \u672C\u5730\u8282\u70B9\u652F\u6301\u5C40\u57DF\u7F51\u4EE3\u7406 IP\uFF08\u5982 192.168.x.x:7890\uFF09\uFF1BWindows/WSL \u4E0A 127.0.0.1 \u4F1A\u6620\u5C04\u5230\u5BBF\u4E3B\u673A WSL \u7F51\u5173\uFF08\u4EE3\u7406\u4E0D\u80FD\u53EA\u7ED1\u5B9A\u56DE\u73AF\u5730\u5740\uFF09\u3002\u7559\u7A7A\u5219\u4F7F\u7528\u8282\u70B9\u7F51\u7EDC\u3002" }),
|
|
980
980
|
proxyInvalid && /* @__PURE__ */ jsx("p", { className: "mt-1 text-[11px] text-destructive", children: "\u8BF7\u8F93\u5165 http://\u4E3B\u673A:\u7AEF\u53E3 \u6216 http://\u7528\u6237\u540D:\u5BC6\u7801@\u4E3B\u673A:\u7AEF\u53E3\uFF1B\u4E0D\u652F\u6301 socks/https\u3002" }),
|
|
981
981
|
proxyAction
|
|
982
982
|
] })
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Button, cn, Badge } from './chunk-7GCAXBUH.js';
|
|
2
|
-
import { useAixT } from './chunk-
|
|
3
|
-
import { useClient, useQuery, useBilling } from './chunk-
|
|
2
|
+
import { useAixT } from './chunk-BI4S5BUY.js';
|
|
3
|
+
import { useClient, useQuery, useBilling } from './chunk-767ADNCO.js';
|
|
4
4
|
import { SlidersHorizontal, Globe, ArrowUpCircle, Server, CalendarClock, Smartphone, ArrowDownCircle, RefreshCw, ExternalLink, CreditCard, HeadphonesIcon, Wallet, X } from 'lucide-react';
|
|
5
5
|
import { useState, useEffect, useRef, useCallback } from 'react';
|
|
6
6
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { v as AuthResult,
|
|
1
|
+
import { v as AuthResult, aQ as SendCodeResult, bk as VerifyCodeResult, az as ProjectUserResult, ax as Project, H as CreateProjectInput, J as CreateProjectResult, aB as ProvisionUserInput, aC as ProvisionUserResult, D as DeviceRow, P as ProvisionSpec, a as ProvisionResult, aA as ProvisionOperation, C as CatalogBrand, W as DeviceOp, aP as ScreenshotResult, a1 as ElementNode, au as PowerAction, U as DeveloperSettingsReceipt, _ as DeviceSnapshotList, q as AppCandidate, aM as RecycledDeviceRow, aF as ProxyPatchResult, O as CustomProxyAddress, aG as ProxyProbe, X as DeviceProfileView, aT as SetProfileResult, aw as ProfileOverrides, a8 as InstallAntiDetectResult, aS as SetDisguiseResult, N as NodeRow, aN as RegisterNodeInput, aO as RegisterNodeResult, bi as UpdateNodeInput, aR as SetDataRootResult, R as DeleteNodeImageResult, n as AgentTaskSubmitInput, o as AgentTaskSubmitResult, l as AgentTaskReadResult, k as AgentTaskEventsResult, b as DiscoveredDevice, h as AdbScanResult, af as IosScanResult, ac as IosDiagnostics, a9 as IosAccountState, ae as IosLoginResult, ad as IosLibraryApp, z as Cluster, F as CreateClusterInput, f as ScriptSummary, S as Script, aU as Shortcut, al as NewShortcut, ai as Locator, G as CreateLocatorInput, a5 as FleetRunSubmit, a3 as FleetRunDetail, b9 as TaskStatus, b7 as TaskListFilter, b8 as TaskListResult, b6 as TaskEventsResult, bl as WebhookConfig, L as CreateWebhookInput, ah as LlmTestResult, Y as DeviceRate, aK as RateInput, x as BillingPlan, aq as PlanInput, $ as DeviceUsageSession, aL as RebateLedgerRow, ar as PlatformOem, as as PlatformOemInput, a6 as ImageArtifact, a7 as ImageInput, I as ImageOption, w as BalanceResp, ay as ProjectSubscription, b4 as SubscribeInput, ap as OwnNodeDailyCharge, bf as TopupMethods, bn as WiseOrders, bm as WiseOrder, b3 as StripeTopupOrder, b0 as StripeCheckoutInput, b1 as StripeCheckoutResult, b2 as StripeReconcileResult, be as TopupLookup, bd as TopupInput, bh as TopupResult, p as ApiTokenRow, K as CreateTokenInput, M as CreatedToken, s as AppTemplate, ak as NewAppTemplate, at as PortableSnapshot, aY as SnapshotKind, a_ as SnapshotOperationReceipt, aZ as SnapshotOperation, aX as SnapshotGrant, ao as NodeScope } from './types-CibZTzJ1.js';
|
|
2
2
|
|
|
3
3
|
type OutgoingFrame = {
|
|
4
4
|
t: 'network_adb';
|
|
@@ -844,6 +844,8 @@ declare class NodesApi {
|
|
|
844
844
|
/** Persist the only remotely configurable runtime value. The node validates
|
|
845
845
|
* the native absolute path and returns a restart-required receipt. */
|
|
846
846
|
setDataRoot(nodeId: string, dataRoot: string): Promise<SetDataRootResult>;
|
|
847
|
+
/** Delete a locally installed container image on an owned node (`POST /api/nodes/:id/images/delete`). */
|
|
848
|
+
deleteImage(nodeId: string, imageTag: string): Promise<DeleteNodeImageResult>;
|
|
847
849
|
/** Submit a durable node-owned agent task (`POST /api/agent-tasks`). */
|
|
848
850
|
submitAgentTask(input: AgentTaskSubmitInput): Promise<AgentTaskSubmitResult>;
|
|
849
851
|
/** Reload a durable AgentTask, including each target's current attempt. */
|
package/dist/core/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { R as ResolvedConfig, W as WebSocketFactory } from '../config-
|
|
2
|
-
export { f as AdminApi, c as AixClient, A as AixConfig, g as ApiTokensApi, h as AuthApi, i as AuthProvider, B as BillingApi, C as CachedUserCredentialOpts, j as ClustersApi, k as Credential, D as DcStream, l as DeviceReq, m as DeviceResp, n as DeviceSession, o as DevicesApi, p as EnvAction, e as EnvEventKind, q as EnvFinished, E as EnvOs, r as EnvResultDto, d as EnvRoute, s as EnvRun, t as EnvSetupInput, u as EnvStepMeta, v as EnvStepView, w as EnvSummary, x as EnvTeardownInput, y as ExecutionFrame, z as ExecutionStreamEvent, G as ExecutionStreamEventsResult, H as FileEntry, I as FleetApi, F as FridaEventFrame, J as IRTCDataChannel, K as IRTCPeerConnection, L as IWebSocket, M as ImagesApi, N as IncomingFrame, P as IpCatalog, Q as IpCatalogFilter, T as IpCommerceApi, U as IpOffer, V as IpOrder, X as IpQuote, Y as IpQuoteInput, Z as IpResource, _ as IpResourceConnection, $ as LlmApi, a0 as LocalNodeController, a1 as LocalNodeOptions, a2 as LocatorsApi, a3 as ManagedCreationInput, a4 as ManagedCreationQuote, a5 as ManagedCreationReceipt, a6 as ManagedCreations, a7 as ManagedProxiesApi, a8 as ManagedProxyCatalog, a9 as ManagedProxyOrder, aa as ManagedProxyProduct, ab as ManagedProxyPurchaseInput, ac as ManagedProxyQuote, ad as ManagedProxyQuoteInput, ae as NodeHost, af as NodeHostStatus, ag as NodesApi, O as OutgoingFrame, ah as ProgressFn, ai as ProjectsApi, aj as ProxyIntegrationStatus, ak as PullResult, al as PushInput, am as RTCFactory, an as RequestOpts, ao as RestClient, ap as RetFrame, b as RunEventKind, aq as Scope, S as ScriptletEventFrame, ar as ScriptsApi, as as ShortcutsApi, at as SnapshotsApi, a as StatusFrame, au as StreamTarget, av as TasksApi, aw as TransferOpts, ax as TransferProgress, ay as TransferResult, az as UsersApi, aA as WebhooksApi, aB as authHeader, aC as buildAuthProvider, aD as createCachedUserCredential, aE as createClient, aF as detectEnvOs, aG as envBlocker, aH as executionStreamEventsAfter, aI as executionWsTicketUrl, aJ as executionWsUrl, aK as isEnvEventFrame, aL as isExecutionFrame, aM as isFleetRunTerminal, aN as isFridaEventFrame, aO as isRetFrame, aP as isScriptletEventFrame, aQ as isStatusFrame, aR as joinUrl, aS as parseIncoming, aT as pullFile, aU as pushFile, aV as resolveConfig, aW as restClient, aX as runEnvToFinish, aY as summarizeEnv } from '../config-
|
|
3
|
-
export { A as AdbResult, D as DeviceChannel, a as DeviceTunnel, N as NetworkAdbGrant, b as NetworkAdbState, W as WdaResult } from '../device-channel-
|
|
4
|
-
export { b as ScriptDebugger, c as ScriptDebuggerOptions, a as ScriptEngine, S as ScriptEvent, d as ScriptRunInput } from '../script-debugger-
|
|
5
|
-
export { A as AutomationQueue, B as BatchConfig, F as FlowEvent, a as FlowRun, b as FlowSubmit, Q as QueueMode, s as submitBatch } from '../automation-queue-
|
|
6
|
-
import { g as ScriptParam } from '../types-
|
|
7
|
-
export { h as AdbScanResult, d as AgentTaskBlocker, i as AgentTaskCurrentAttempt, j as AgentTaskEvent, k as AgentTaskEventsResult, e as AgentTaskEvidence, l as AgentTaskReadResult, m as AgentTaskReadTarget, n as AgentTaskSubmitInput, o as AgentTaskSubmitResult, c as AgentTaskTarget, A as AgentTaskTargetStatus, p as ApiTokenRow, q as AppCandidate, r as AppEntry, s as AppTemplate, t as AppTemplateItemAndroid, u as AppTemplateItemIos, v as AuthResult, B as BalanceLedgerRow, w as BalanceResp, x as BillingPlan, C as CatalogBrand, y as CatalogModel, z as Cluster, E as ClusterMode, F as CreateClusterInput, G as CreateLocatorInput, H as CreateProjectInput,
|
|
8
|
-
import { C as ControlMessage } from '../mirror-session-
|
|
9
|
-
export { I as InputMessage, M as MirrorJoinOptions, a as MirrorSession, S as SCRCPY_PROFILES, b as ScrcpyProfile, c as ScrcpyProfileName, q as qualityMessage } from '../mirror-session-
|
|
1
|
+
import { R as ResolvedConfig, W as WebSocketFactory } from '../config-tG21t9DZ.js';
|
|
2
|
+
export { f as AdminApi, c as AixClient, A as AixConfig, g as ApiTokensApi, h as AuthApi, i as AuthProvider, B as BillingApi, C as CachedUserCredentialOpts, j as ClustersApi, k as Credential, D as DcStream, l as DeviceReq, m as DeviceResp, n as DeviceSession, o as DevicesApi, p as EnvAction, e as EnvEventKind, q as EnvFinished, E as EnvOs, r as EnvResultDto, d as EnvRoute, s as EnvRun, t as EnvSetupInput, u as EnvStepMeta, v as EnvStepView, w as EnvSummary, x as EnvTeardownInput, y as ExecutionFrame, z as ExecutionStreamEvent, G as ExecutionStreamEventsResult, H as FileEntry, I as FleetApi, F as FridaEventFrame, J as IRTCDataChannel, K as IRTCPeerConnection, L as IWebSocket, M as ImagesApi, N as IncomingFrame, P as IpCatalog, Q as IpCatalogFilter, T as IpCommerceApi, U as IpOffer, V as IpOrder, X as IpQuote, Y as IpQuoteInput, Z as IpResource, _ as IpResourceConnection, $ as LlmApi, a0 as LocalNodeController, a1 as LocalNodeOptions, a2 as LocatorsApi, a3 as ManagedCreationInput, a4 as ManagedCreationQuote, a5 as ManagedCreationReceipt, a6 as ManagedCreations, a7 as ManagedProxiesApi, a8 as ManagedProxyCatalog, a9 as ManagedProxyOrder, aa as ManagedProxyProduct, ab as ManagedProxyPurchaseInput, ac as ManagedProxyQuote, ad as ManagedProxyQuoteInput, ae as NodeHost, af as NodeHostStatus, ag as NodesApi, O as OutgoingFrame, ah as ProgressFn, ai as ProjectsApi, aj as ProxyIntegrationStatus, ak as PullResult, al as PushInput, am as RTCFactory, an as RequestOpts, ao as RestClient, ap as RetFrame, b as RunEventKind, aq as Scope, S as ScriptletEventFrame, ar as ScriptsApi, as as ShortcutsApi, at as SnapshotsApi, a as StatusFrame, au as StreamTarget, av as TasksApi, aw as TransferOpts, ax as TransferProgress, ay as TransferResult, az as UsersApi, aA as WebhooksApi, aB as authHeader, aC as buildAuthProvider, aD as createCachedUserCredential, aE as createClient, aF as detectEnvOs, aG as envBlocker, aH as executionStreamEventsAfter, aI as executionWsTicketUrl, aJ as executionWsUrl, aK as isEnvEventFrame, aL as isExecutionFrame, aM as isFleetRunTerminal, aN as isFridaEventFrame, aO as isRetFrame, aP as isScriptletEventFrame, aQ as isStatusFrame, aR as joinUrl, aS as parseIncoming, aT as pullFile, aU as pushFile, aV as resolveConfig, aW as restClient, aX as runEnvToFinish, aY as summarizeEnv } from '../config-tG21t9DZ.js';
|
|
3
|
+
export { A as AdbResult, D as DeviceChannel, a as DeviceTunnel, N as NetworkAdbGrant, b as NetworkAdbState, W as WdaResult } from '../device-channel-Y8R-ln4w.js';
|
|
4
|
+
export { b as ScriptDebugger, c as ScriptDebuggerOptions, a as ScriptEngine, S as ScriptEvent, d as ScriptRunInput } from '../script-debugger-BMUzNL-B.js';
|
|
5
|
+
export { A as AutomationQueue, B as BatchConfig, F as FlowEvent, a as FlowRun, b as FlowSubmit, Q as QueueMode, s as submitBatch } from '../automation-queue-YOX8NFyZ.js';
|
|
6
|
+
import { g as ScriptParam } from '../types-CibZTzJ1.js';
|
|
7
|
+
export { h as AdbScanResult, d as AgentTaskBlocker, i as AgentTaskCurrentAttempt, j as AgentTaskEvent, k as AgentTaskEventsResult, e as AgentTaskEvidence, l as AgentTaskReadResult, m as AgentTaskReadTarget, n as AgentTaskSubmitInput, o as AgentTaskSubmitResult, c as AgentTaskTarget, A as AgentTaskTargetStatus, p as ApiTokenRow, q as AppCandidate, r as AppEntry, s as AppTemplate, t as AppTemplateItemAndroid, u as AppTemplateItemIos, v as AuthResult, B as BalanceLedgerRow, w as BalanceResp, x as BillingPlan, C as CatalogBrand, y as CatalogModel, z as Cluster, E as ClusterMode, F as CreateClusterInput, G as CreateLocatorInput, H as CreateProjectInput, J as CreateProjectResult, K as CreateTokenInput, L as CreateWebhookInput, M as CreatedToken, O as CustomProxyAddress, Q as Decimal, R as DeleteNodeImageResult, T as DeveloperRef, U as DeveloperSettingsReceipt, V as DeviceLocation, W as DeviceOp, X as DeviceProfileView, Y as DeviceRate, D as DeviceRow, Z as DeviceSnapshot, _ as DeviceSnapshotList, $ as DeviceUsageSession, b as DiscoveredDevice, a0 as DiscoveredStatus, a1 as ElementNode, a2 as FleetMode, a3 as FleetRunDetail, a4 as FleetRunDeviceRow, a5 as FleetRunSubmit, a6 as ImageArtifact, a7 as ImageInput, I as ImageOption, a8 as InstallAntiDetectResult, a9 as IosAccountState, aa as IosDeviceRow, ab as IosDiagnosticStage, ac as IosDiagnostics, ad as IosLibraryApp, ae as IosLoginResult, af as IosScanResult, ag as KnownDeviceOpName, ah as LlmTestResult, ai as Locator, aj as MdnsEntry, ak as NewAppTemplate, al as NewShortcut, am as NodeEffectiveCaps, an as NodeOwnerPolicy, N as NodeRow, ao as NodeScope, ap as OwnNodeDailyCharge, aq as PlanInput, ar as PlatformOem, as as PlatformOemInput, at as PortableSnapshot, au as PowerAction, av as PowerRunResult, aw as ProfileOverrides, ax as Project, ay as ProjectSubscription, az as ProjectUserResult, aA as ProvisionOperation, a as ProvisionResult, P as ProvisionSpec, aB as ProvisionUserInput, aC as ProvisionUserResult, aD as ProxyApplyReceipt, aE as ProxyApplyStatus, aF as ProxyPatchResult, aG as ProxyProbe, aH as ProxyProbeErrorCode, aI as ProxySummary, aJ as ProxyUrl, aK as RateInput, aL as RebateLedgerRow, aM as RecycledDeviceRow, aN as RegisterNodeInput, aO as RegisterNodeResult, aP as ScreenshotResult, S as Script, f as ScriptSummary, aQ as SendCodeResult, aR as SetDataRootResult, aS as SetDisguiseResult, aT as SetProfileResult, aU as Shortcut, aV as ShortcutParam, aW as ShortcutRunResult, aX as SnapshotGrant, aY as SnapshotKind, aZ as SnapshotOperation, a_ as SnapshotOperationReceipt, a$ as SnapshotOperationStatus, b0 as StripeCheckoutInput, b1 as StripeCheckoutResult, b2 as StripeReconcileResult, b3 as StripeTopupOrder, b4 as SubscribeInput, b5 as TaskEvent, b6 as TaskEventsResult, b7 as TaskListFilter, b8 as TaskListResult, b9 as TaskStatus, ba as TaskSubmitResult, bb as TaskSummary, bc as TaskTarget, bd as TopupInput, be as TopupLookup, bf as TopupMethods, bg as TopupReceipt, bh as TopupResult, bi as UpdateNodeInput, bj as User, bk as VerifyCodeResult, bl as WebhookConfig, bm as WiseOrder, bn as WiseOrders } from '../types-CibZTzJ1.js';
|
|
8
|
+
import { C as ControlMessage } from '../mirror-session-HYQkxdsw.js';
|
|
9
|
+
export { I as InputMessage, M as MirrorJoinOptions, a as MirrorSession, S as SCRCPY_PROFILES, b as ScrcpyProfile, c as ScrcpyProfileName, q as qualityMessage } from '../mirror-session-HYQkxdsw.js';
|
|
10
10
|
import { B as Box, D as DeviceSize } from '../coords-LPR_MPyp.js';
|
|
11
11
|
export { a as DevicePoint, t as toDevicePoint } from '../coords-LPR_MPyp.js';
|
|
12
|
-
export { D as DeviceTransport, N as NormalizedDevice, n as normalizeDevices } from '../device-normalize-
|
|
12
|
+
export { D as DeviceTransport, N as NormalizedDevice, n as normalizeDevices } from '../device-normalize-D2tlJi1G.js';
|
|
13
13
|
|
|
14
14
|
type AixErrorCode = 'auth' | 'network' | 'timeout' | 'offline' | 'locked' | 'protocol' | 'unknown';
|
|
15
15
|
interface AixErrorDetails {
|
package/dist/core/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { AutomationQueue, DeviceChannel, DeviceTunnel, FlowRun, MirrorSession, SCHEMA_KEY, SCRCPY_PROFILES, ScriptDebugger, mintDeviceAccess, normalizeDevices, qualityMessage, schemaDefaults, schemaToVariables, submitBatch, targetParam, variablesToSchema, wsUrlFromAccess } from '../chunk-
|
|
2
|
-
export { AdminApi, AixAuthError, AixClient, AixDeviceOffline, AixError, AixLocked, AixProtocolError, AixTimeout, ApiTokensApi, AuthApi, BillingApi, ClustersApi, DeviceSession, DevicesApi, EnvRun, FleetApi, ImagesApi, IpCommerceApi, LlmApi, LocalNodeController, LocatorsApi, ManagedProxiesApi, NodesApi, ProjectsApi, ReconnectingSocket, RestClient, ScriptsApi, ShortcutsApi, SnapshotsApi, TasksApi, UsersApi, WebhooksApi, authHeader, buildAuthProvider, createCachedUserCredential, createClient, detectEnvOs, envBlocker, errorFromRet, executionStreamEventsAfter, executionWsTicketUrl, executionWsUrl, getIceServers, getLocale, isEnvEventFrame, isExecutionFrame, isFleetRunTerminal, isFridaEventFrame, isRetFrame, isScriptletEventFrame, isStatusFrame, joinUrl, mintViewerGrant, mintViewerToken, parseIncoming, pullFile, pushFile, resolveConfig, restClient, runEnvToFinish, setLocale, summarizeEnv, t } from '../chunk-
|
|
1
|
+
export { AutomationQueue, DeviceChannel, DeviceTunnel, FlowRun, MirrorSession, SCHEMA_KEY, SCRCPY_PROFILES, ScriptDebugger, mintDeviceAccess, normalizeDevices, qualityMessage, schemaDefaults, schemaToVariables, submitBatch, targetParam, variablesToSchema, wsUrlFromAccess } from '../chunk-GKLW2IKV.js';
|
|
2
|
+
export { AdminApi, AixAuthError, AixClient, AixDeviceOffline, AixError, AixLocked, AixProtocolError, AixTimeout, ApiTokensApi, AuthApi, BillingApi, ClustersApi, DeviceSession, DevicesApi, EnvRun, FleetApi, ImagesApi, IpCommerceApi, LlmApi, LocalNodeController, LocatorsApi, ManagedProxiesApi, NodesApi, ProjectsApi, ReconnectingSocket, RestClient, ScriptsApi, ShortcutsApi, SnapshotsApi, TasksApi, UsersApi, WebhooksApi, authHeader, buildAuthProvider, createCachedUserCredential, createClient, detectEnvOs, envBlocker, errorFromRet, executionStreamEventsAfter, executionWsTicketUrl, executionWsUrl, getIceServers, getLocale, isEnvEventFrame, isExecutionFrame, isFleetRunTerminal, isFridaEventFrame, isRetFrame, isScriptletEventFrame, isStatusFrame, joinUrl, mintViewerGrant, mintViewerToken, parseIncoming, pullFile, pushFile, resolveConfig, restClient, runEnvToFinish, setLocale, summarizeEnv, t } from '../chunk-EDHEYVB2.js';
|
|
3
3
|
export { classifyDrag, mapKey, toDevicePoint } from '../chunk-NWFYTFMI.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D as DeviceChannel } from '../device-channel-
|
|
2
|
-
import '../config-
|
|
3
|
-
import '../types-
|
|
1
|
+
import { D as DeviceChannel } from '../device-channel-Y8R-ln4w.js';
|
|
2
|
+
import '../config-tG21t9DZ.js';
|
|
3
|
+
import '../types-CibZTzJ1.js';
|
|
4
4
|
|
|
5
5
|
/** Node-only TCP adapter. Call close() to revoke the grant. */
|
|
6
6
|
interface NetworkAdbBridge {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as AixConfig, R as ResolvedConfig, F as FridaEventFrame, S as ScriptletEventFrame, a as StatusFrame, O as OutgoingFrame } from './config-
|
|
1
|
+
import { A as AixConfig, R as ResolvedConfig, F as FridaEventFrame, S as ScriptletEventFrame, a as StatusFrame, O as OutgoingFrame } from './config-tG21t9DZ.js';
|
|
2
2
|
|
|
3
3
|
declare class DeviceTunnel {
|
|
4
4
|
readonly streamId: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DeviceRow } from './types-
|
|
1
|
+
import { D as DeviceRow } from './types-CibZTzJ1.js';
|
|
2
2
|
|
|
3
3
|
/** One backend device row as a transport of a (possibly de-duplicated) physical
|
|
4
4
|
* device. The same phone reachable over both USB and WiFi yields two rows with
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { DeviceSession, pullFile, pushFile } from './chunk-EDHEYVB2.js';
|
package/dist/i18n/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { AixI18nProvider, useAixLang, useAixT } from '../chunk-
|
|
1
|
+
export { AixI18nProvider, useAixLang, useAixT } from '../chunk-BI4S5BUY.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as AixConfig, R as ResolvedConfig } from './config-
|
|
1
|
+
import { A as AixConfig, R as ResolvedConfig } from './config-tG21t9DZ.js';
|
|
2
2
|
|
|
3
3
|
/** Mirrors the node's `ControlMsg` (webrtc/control.rs): `t`-tagged, coords
|
|
4
4
|
* normalized [0,1] (node scales to px). Sent over the `control` DataChannel. */
|
package/dist/react/index.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import react__default, { ReactNode } from 'react';
|
|
3
|
-
import { A as AixConfig, R as ResolvedConfig, c as AixClient, e as EnvEventKind, q as EnvFinished, t as EnvSetupInput, x as EnvTeardownInput, E as EnvOs } from '../config-
|
|
4
|
-
import { D as DeviceChannel, A as AdbResult, W as WdaResult } from '../device-channel-
|
|
5
|
-
import { S as ScriptEvent, d as ScriptRunInput } from '../script-debugger-
|
|
6
|
-
import { F as FlowEvent, b as FlowSubmit, B as BatchConfig } from '../automation-queue-
|
|
7
|
-
import { a as MirrorSession, I as InputMessage, c as ScrcpyProfileName, M as MirrorJoinOptions } from '../mirror-session-
|
|
8
|
-
import { v as AuthResult,
|
|
9
|
-
import { a as TaskAgentDevice, b as TaskAgentDeviceStatus, T as TaskAgentRunner } from '../task-agent-runner-
|
|
10
|
-
export { D as Device, i as DevicesProvider, j as DevicesProviderProps, k as DevicesView, c as TaskAgentNodeSnapshot, d as TaskAgentPreflightResult, e as TaskAgentRunRequest, f as TaskAgentStreamEvent, g as TaskAgentTarget, m as mapDevice, p as preflightTaskAgentDevice, u as useDevicesView } from '../task-agent-runner-
|
|
3
|
+
import { A as AixConfig, R as ResolvedConfig, c as AixClient, e as EnvEventKind, q as EnvFinished, t as EnvSetupInput, x as EnvTeardownInput, E as EnvOs } from '../config-tG21t9DZ.js';
|
|
4
|
+
import { D as DeviceChannel, A as AdbResult, W as WdaResult } from '../device-channel-Y8R-ln4w.js';
|
|
5
|
+
import { S as ScriptEvent, d as ScriptRunInput } from '../script-debugger-BMUzNL-B.js';
|
|
6
|
+
import { F as FlowEvent, b as FlowSubmit, B as BatchConfig } from '../automation-queue-YOX8NFyZ.js';
|
|
7
|
+
import { a as MirrorSession, I as InputMessage, c as ScrcpyProfileName, M as MirrorJoinOptions } from '../mirror-session-HYQkxdsw.js';
|
|
8
|
+
import { v as AuthResult, aQ as SendCodeResult, bk as VerifyCodeResult, ax as Project, H as CreateProjectInput, J as CreateProjectResult, au as PowerAction, aP as ScreenshotResult, a1 as ElementNode, D as DeviceRow, N as NodeRow, ao as NodeScope, aO as RegisterNodeResult, an as NodeOwnerPolicy, aU as Shortcut, al as NewShortcut, aW as ShortcutRunResult, av as PowerRunResult, f as ScriptSummary, S as Script, z as Cluster, F as CreateClusterInput, a3 as FleetRunDetail, a2 as FleetMode, d as AgentTaskBlocker, e as AgentTaskEvidence, b9 as TaskStatus, bb as TaskSummary, b7 as TaskListFilter, bl as WebhookConfig, L as CreateWebhookInput, aN as RegisterNodeInput, ai as Locator, G as CreateLocatorInput, a6 as ImageArtifact, a7 as ImageInput, ah as LlmTestResult, Y as DeviceRate, aK as RateInput, x as BillingPlan, aq as PlanInput, $ as DeviceUsageSession, aL as RebateLedgerRow, w as BalanceResp, bd as TopupInput, bh as TopupResult, be as TopupLookup, p as ApiTokenRow, K as CreateTokenInput, M as CreatedToken } from '../types-CibZTzJ1.js';
|
|
9
|
+
import { a as TaskAgentDevice, b as TaskAgentDeviceStatus, T as TaskAgentRunner } from '../task-agent-runner-Bp0FmGhZ.js';
|
|
10
|
+
export { D as Device, i as DevicesProvider, j as DevicesProviderProps, k as DevicesView, c as TaskAgentNodeSnapshot, d as TaskAgentPreflightResult, e as TaskAgentRunRequest, f as TaskAgentStreamEvent, g as TaskAgentTarget, m as mapDevice, p as preflightTaskAgentDevice, u as useDevicesView } from '../task-agent-runner-Bp0FmGhZ.js';
|
|
11
11
|
import { L as LogEntry } from '../use-script-run-Diay7ibY.js';
|
|
12
12
|
export { b as LogLevel, S as ScriptRunStatus, a as StepEvent, U as UseScriptRun, u as useScriptRun } from '../use-script-run-Diay7ibY.js';
|
|
13
13
|
import { A as AgentKind } from '../agent-runner-V60B0is1.js';
|
|
14
|
-
import '../device-normalize-
|
|
14
|
+
import '../device-normalize-D2tlJi1G.js';
|
|
15
15
|
|
|
16
16
|
declare function AixProvider({ config, children }: {
|
|
17
17
|
config: AixConfig;
|
package/dist/react/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AixProvider, AixResolvedProvider, DevicesProvider, GROUP_MIRROR_MAX, InspectorProvider, NodesProvider, ShortcutsProvider, mapDevice, preflightTaskAgentDevice, useAdmin, useAixConfig, useApiTokens, useAuth, useAutomationQueue, useBilling, useClient, useClusters, useCommands, useDevice, useDeviceActions, useDevices, useDevicesView, useEnvGate, useEnvRun, useFleetRun, useFlowRun, useGroupMirror, useImages, useInspector, useInspectorView, useLlm, useLocators, useMirror, useNodes, useNodesView, useOptionalAixConfig, useProjects, useQuery, useScript, useScriptRun, useScripts, useShortcutsView, useTaskAgentRun, useTaskStatus, useTasks, useWebhooks } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { AixProvider, AixResolvedProvider, DevicesProvider, GROUP_MIRROR_MAX, InspectorProvider, NodesProvider, ShortcutsProvider, mapDevice, preflightTaskAgentDevice, useAdmin, useAixConfig, useApiTokens, useAuth, useAutomationQueue, useBilling, useClient, useClusters, useCommands, useDevice, useDeviceActions, useDevices, useDevicesView, useEnvGate, useEnvRun, useFleetRun, useFlowRun, useGroupMirror, useImages, useInspector, useInspectorView, useLlm, useLocators, useMirror, useNodes, useNodesView, useOptionalAixConfig, useProjects, useQuery, useScript, useScriptRun, useScripts, useShortcutsView, useTaskAgentRun, useTaskStatus, useTasks, useWebhooks } from '../chunk-767ADNCO.js';
|
|
2
|
+
import '../chunk-GKLW2IKV.js';
|
|
3
|
+
import '../chunk-EDHEYVB2.js';
|
|
4
4
|
import '../chunk-NWFYTFMI.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as DeviceChannel } from './device-channel-
|
|
2
|
-
import { A as AixConfig, R as ResolvedConfig } from './config-
|
|
1
|
+
import { D as DeviceChannel } from './device-channel-Y8R-ln4w.js';
|
|
2
|
+
import { A as AixConfig, R as ResolvedConfig } from './config-tG21t9DZ.js';
|
|
3
3
|
|
|
4
4
|
type ScriptEngine = 'frida' | 'scriptlet' | 'flow';
|
|
5
5
|
/** A normalized streaming event from a running script (engine-agnostic). */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { P as ProvisionSpec, a as ProvisionResult, b as DiscoveredDevice, A as AgentTaskTargetStatus, c as AgentTaskTarget, d as AgentTaskBlocker, e as AgentTaskEvidence } from './types-
|
|
4
|
-
import { N as NormalizedDevice } from './device-normalize-
|
|
5
|
-
import { A as AixConfig, R as ResolvedConfig } from './config-
|
|
3
|
+
import { P as ProvisionSpec, a as ProvisionResult, b as DiscoveredDevice, A as AgentTaskTargetStatus, c as AgentTaskTarget, d as AgentTaskBlocker, e as AgentTaskEvidence } from './types-CibZTzJ1.js';
|
|
4
|
+
import { N as NormalizedDevice } from './device-normalize-D2tlJi1G.js';
|
|
5
|
+
import { A as AixConfig, R as ResolvedConfig } from './config-tG21t9DZ.js';
|
|
6
6
|
import { A as AgentKind } from './agent-runner-V60B0is1.js';
|
|
7
7
|
|
|
8
8
|
interface Device {
|
|
@@ -419,6 +419,11 @@ interface SetDataRootResult {
|
|
|
419
419
|
data_root: string;
|
|
420
420
|
restart_required: true;
|
|
421
421
|
}
|
|
422
|
+
interface DeleteNodeImageResult {
|
|
423
|
+
deleted: string;
|
|
424
|
+
installed_images: string[];
|
|
425
|
+
android_image_ready?: boolean;
|
|
426
|
+
}
|
|
422
427
|
interface MdnsEntry {
|
|
423
428
|
name: string;
|
|
424
429
|
host: string;
|
|
@@ -1169,4 +1174,4 @@ interface IosLoginResult {
|
|
|
1169
1174
|
};
|
|
1170
1175
|
}
|
|
1171
1176
|
|
|
1172
|
-
export type {
|
|
1177
|
+
export type { DeviceUsageSession as $, AgentTaskTargetStatus as A, BalanceLedgerRow as B, CatalogBrand as C, DeviceRow as D, ClusterMode as E, CreateClusterInput as F, CreateLocatorInput as G, CreateProjectInput as H, ImageOption as I, CreateProjectResult as J, CreateTokenInput as K, CreateWebhookInput as L, CreatedToken as M, NodeRow as N, CustomProxyAddress as O, ProvisionSpec as P, Decimal as Q, DeleteNodeImageResult as R, Script as S, DeveloperRef as T, DeveloperSettingsReceipt as U, DeviceLocation as V, DeviceOp as W, DeviceProfileView as X, DeviceRate as Y, DeviceSnapshot as Z, DeviceSnapshotList as _, ProvisionResult as a, SnapshotOperationStatus as a$, DiscoveredStatus as a0, ElementNode as a1, FleetMode as a2, FleetRunDetail as a3, FleetRunDeviceRow as a4, FleetRunSubmit as a5, ImageArtifact as a6, ImageInput as a7, InstallAntiDetectResult as a8, IosAccountState as a9, ProvisionOperation as aA, ProvisionUserInput as aB, ProvisionUserResult as aC, ProxyApplyReceipt as aD, ProxyApplyStatus as aE, ProxyPatchResult as aF, ProxyProbe as aG, ProxyProbeErrorCode as aH, ProxySummary as aI, ProxyUrl as aJ, RateInput as aK, RebateLedgerRow as aL, RecycledDeviceRow as aM, RegisterNodeInput as aN, RegisterNodeResult as aO, ScreenshotResult as aP, SendCodeResult as aQ, SetDataRootResult as aR, SetDisguiseResult as aS, SetProfileResult as aT, Shortcut as aU, ShortcutParam as aV, ShortcutRunResult as aW, SnapshotGrant as aX, SnapshotKind as aY, SnapshotOperation as aZ, SnapshotOperationReceipt as a_, IosDeviceRow as aa, IosDiagnosticStage as ab, IosDiagnostics as ac, IosLibraryApp as ad, IosLoginResult as ae, IosScanResult as af, KnownDeviceOpName as ag, LlmTestResult as ah, Locator as ai, MdnsEntry as aj, NewAppTemplate as ak, NewShortcut as al, NodeEffectiveCaps as am, NodeOwnerPolicy as an, NodeScope as ao, OwnNodeDailyCharge as ap, PlanInput as aq, PlatformOem as ar, PlatformOemInput as as, PortableSnapshot as at, PowerAction as au, PowerRunResult as av, ProfileOverrides as aw, Project as ax, ProjectSubscription as ay, ProjectUserResult as az, DiscoveredDevice as b, StripeCheckoutInput as b0, StripeCheckoutResult as b1, StripeReconcileResult as b2, StripeTopupOrder as b3, SubscribeInput as b4, TaskEvent as b5, TaskEventsResult as b6, TaskListFilter as b7, TaskListResult as b8, TaskStatus as b9, TaskSubmitResult as ba, TaskSummary as bb, TaskTarget as bc, TopupInput as bd, TopupLookup as be, TopupMethods as bf, TopupReceipt as bg, TopupResult as bh, UpdateNodeInput as bi, User as bj, VerifyCodeResult as bk, WebhookConfig as bl, WiseOrder as bm, WiseOrders as bn, AgentTaskTarget as c, AgentTaskBlocker as d, AgentTaskEvidence as e, ScriptSummary as f, ScriptParam as g, AdbScanResult as h, AgentTaskCurrentAttempt as i, AgentTaskEvent as j, AgentTaskEventsResult as k, AgentTaskReadResult as l, AgentTaskReadTarget as m, AgentTaskSubmitInput as n, AgentTaskSubmitResult as o, ApiTokenRow as p, AppCandidate as q, AppEntry as r, AppTemplate as s, AppTemplateItemAndroid as t, AppTemplateItemIos as u, AuthResult as v, BalanceResp as w, BillingPlan as x, CatalogModel as y, Cluster as z };
|
package/dist/ui/billing.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { b2 as StripeReconcileResult, Q as Decimal, B as BalanceLedgerRow } from '../types-CibZTzJ1.js';
|
|
3
3
|
import { LucideIcon } from 'lucide-react';
|
|
4
4
|
|
|
5
5
|
interface BillingPageProps {
|
package/dist/ui/billing.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { RechargeMethods } from '../chunk-
|
|
2
|
-
export { BillingPage, RechargeDrawer, RechargeMethods, StripeTopupPanel, ledgerKindMeta } from '../chunk-
|
|
1
|
+
import { RechargeMethods } from '../chunk-VS24JACZ.js';
|
|
2
|
+
export { BillingPage, RechargeDrawer, RechargeMethods, StripeTopupPanel, ledgerKindMeta } from '../chunk-VS24JACZ.js';
|
|
3
3
|
import { Button, cn, Input } from '../chunk-7GCAXBUH.js';
|
|
4
|
-
import { useAixT } from '../chunk-
|
|
5
|
-
import { useBilling } from '../chunk-
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import { normalizeTopupAmount, AixError } from '../chunk-
|
|
4
|
+
import { useAixT } from '../chunk-BI4S5BUY.js';
|
|
5
|
+
import { useBilling } from '../chunk-767ADNCO.js';
|
|
6
|
+
import '../chunk-GKLW2IKV.js';
|
|
7
|
+
import { normalizeTopupAmount, AixError } from '../chunk-EDHEYVB2.js';
|
|
8
8
|
import '../chunk-NWFYTFMI.js';
|
|
9
9
|
import { RefreshCw, Wallet, X } from 'lucide-react';
|
|
10
10
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { a as ProvisionResult, P as ProvisionSpec, b as DiscoveredDevice } from '../types-
|
|
3
|
+
import { a as ProvisionResult, P as ProvisionSpec, b as DiscoveredDevice } from '../types-CibZTzJ1.js';
|
|
4
4
|
|
|
5
5
|
interface DeviceCreateProps {
|
|
6
6
|
open: boolean;
|
package/dist/ui/device-create.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
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-VDRBMIMZ.js';
|
|
2
|
+
import '../chunk-UOCHB65G.js';
|
|
3
|
+
import '../chunk-QGD7XSH4.js';
|
|
4
4
|
import '../chunk-ZB5ET67B.js';
|
|
5
5
|
import '../chunk-7GCAXBUH.js';
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import '../chunk-
|
|
8
|
-
import '../chunk-
|
|
9
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-BI4S5BUY.js';
|
|
7
|
+
import '../chunk-767ADNCO.js';
|
|
8
|
+
import '../chunk-GKLW2IKV.js';
|
|
9
|
+
import '../chunk-EDHEYVB2.js';
|
|
10
10
|
import '../chunk-NWFYTFMI.js';
|
package/dist/ui/device-mirror.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { DeviceBootSplash, DeviceMirror, MirrorSurface, parseIosMediaCapabilities } from '../chunk-
|
|
1
|
+
export { DeviceBootSplash, DeviceMirror, MirrorSurface, parseIosMediaCapabilities } from '../chunk-7LZ56DBX.js';
|
|
2
2
|
import '../chunk-OEZFYKL6.js';
|
|
3
3
|
import '../chunk-MBBVYSPD.js';
|
|
4
4
|
import '../chunk-ZB5ET67B.js';
|
|
5
5
|
import '../chunk-7GCAXBUH.js';
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import '../chunk-
|
|
8
|
-
import '../chunk-
|
|
9
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-BI4S5BUY.js';
|
|
7
|
+
import '../chunk-767ADNCO.js';
|
|
8
|
+
import '../chunk-GKLW2IKV.js';
|
|
9
|
+
import '../chunk-EDHEYVB2.js';
|
|
10
10
|
import '../chunk-NWFYTFMI.js';
|
package/dist/ui/devices.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import { T as TaskAgentRunner, D as Device, a as TaskAgentDevice } from '../task-agent-runner-
|
|
3
|
-
export { A as AgentTaskRunnerOptions, b as TaskAgentDeviceStatus, c as TaskAgentNodeSnapshot, d as TaskAgentPreflightResult, e as TaskAgentRunRequest, f as TaskAgentStreamEvent, g as TaskAgentTarget, h as createAgentTaskRunner, p as preflightTaskAgentDevice } from '../task-agent-runner-
|
|
4
|
-
import {
|
|
5
|
-
import '../device-normalize-
|
|
6
|
-
import '../config-
|
|
2
|
+
import { T as TaskAgentRunner, D as Device, a as TaskAgentDevice } from '../task-agent-runner-Bp0FmGhZ.js';
|
|
3
|
+
export { A as AgentTaskRunnerOptions, b as TaskAgentDeviceStatus, c as TaskAgentNodeSnapshot, d as TaskAgentPreflightResult, e as TaskAgentRunRequest, f as TaskAgentStreamEvent, g as TaskAgentTarget, h as createAgentTaskRunner, p as preflightTaskAgentDevice } from '../task-agent-runner-Bp0FmGhZ.js';
|
|
4
|
+
import { aU as Shortcut, g as ScriptParam } from '../types-CibZTzJ1.js';
|
|
5
|
+
import '../device-normalize-D2tlJi1G.js';
|
|
6
|
+
import '../config-tG21t9DZ.js';
|
|
7
7
|
import '../agent-runner-V60B0is1.js';
|
|
8
8
|
|
|
9
9
|
interface DevicesPageProps {
|
package/dist/ui/devices.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
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-7WNB7JNK.js';
|
|
2
2
|
import '../chunk-OKNU6FSH.js';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-7LZ56DBX.js';
|
|
4
4
|
import '../chunk-OEZFYKL6.js';
|
|
5
5
|
import '../chunk-MBBVYSPD.js';
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import '../chunk-
|
|
8
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-VDRBMIMZ.js';
|
|
7
|
+
import '../chunk-UOCHB65G.js';
|
|
8
|
+
import '../chunk-QGD7XSH4.js';
|
|
9
9
|
import '../chunk-ZB5ET67B.js';
|
|
10
10
|
import '../chunk-7GCAXBUH.js';
|
|
11
|
-
import '../chunk-
|
|
12
|
-
export { createAgentTaskRunner, preflightTaskAgentDevice } from '../chunk-
|
|
13
|
-
import '../chunk-
|
|
14
|
-
import '../chunk-
|
|
11
|
+
import '../chunk-BI4S5BUY.js';
|
|
12
|
+
export { createAgentTaskRunner, preflightTaskAgentDevice } from '../chunk-767ADNCO.js';
|
|
13
|
+
import '../chunk-GKLW2IKV.js';
|
|
14
|
+
import '../chunk-EDHEYVB2.js';
|
|
15
15
|
import '../chunk-NWFYTFMI.js';
|
package/dist/ui/editor.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import { S as ScriptStudioProps } from '../ScriptStudio-DaCqOF5H.js';
|
|
|
3
3
|
export { a as ScriptStudioSlotContext } from '../ScriptStudio-DaCqOF5H.js';
|
|
4
4
|
import { a as AgentRunner } from '../agent-runner-V60B0is1.js';
|
|
5
5
|
export { A as AgentKind, b as AgentSendRequest, c as AgentStreamEvent } from '../agent-runner-V60B0is1.js';
|
|
6
|
-
import { c as AixClient } from '../config-
|
|
7
|
-
import '../types-
|
|
6
|
+
import { c as AixClient } from '../config-tG21t9DZ.js';
|
|
7
|
+
import '../types-CibZTzJ1.js';
|
|
8
8
|
|
|
9
9
|
interface ScriptEditorPageProps {
|
|
10
10
|
/** Route param: the script to open. Undefined ⇒ a fresh "New Script". */
|
package/dist/ui/editor.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ScriptStudio } from '../chunk-
|
|
1
|
+
import { ScriptStudio } from '../chunk-DLYZTJCU.js';
|
|
2
2
|
import { useAixNav } from '../chunk-5BMFMDQR.js';
|
|
3
3
|
import '../chunk-OKNU6FSH.js';
|
|
4
4
|
import { Select, cn } from '../chunk-7GCAXBUH.js';
|
|
5
|
-
import { useAixT } from '../chunk-
|
|
6
|
-
import { useClient } from '../chunk-
|
|
7
|
-
import '../chunk-
|
|
8
|
-
import '../chunk-
|
|
5
|
+
import { useAixT } from '../chunk-BI4S5BUY.js';
|
|
6
|
+
import { useClient } from '../chunk-767ADNCO.js';
|
|
7
|
+
import '../chunk-GKLW2IKV.js';
|
|
8
|
+
import '../chunk-EDHEYVB2.js';
|
|
9
9
|
import '../chunk-NWFYTFMI.js';
|
|
10
10
|
import { useState, useEffect, useRef, useCallback } from 'react';
|
|
11
11
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
package/dist/ui/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import react__default from 'react';
|
|
3
|
-
import { S as ScriptEvent, a as ScriptEngine } from '../script-debugger-
|
|
3
|
+
import { S as ScriptEvent, a as ScriptEngine } from '../script-debugger-BMUzNL-B.js';
|
|
4
4
|
import * as _uiw_react_codemirror from '@uiw/react-codemirror';
|
|
5
5
|
export { ControlBar, ControlBarProps, MirrorView, MirrorViewProps } from './mirror.js';
|
|
6
|
-
import { E as EnvOs, d as EnvRoute, e as EnvEventKind } from '../config-
|
|
7
|
-
import { N as NodeRow } from '../types-
|
|
6
|
+
import { E as EnvOs, d as EnvRoute, e as EnvEventKind } from '../config-tG21t9DZ.js';
|
|
7
|
+
import { N as NodeRow, I as ImageOption } from '../types-CibZTzJ1.js';
|
|
8
8
|
export { SdkLocalNodeSection, SdkLocalNodeSectionProps, SdkLocalRuntimeAdapter, SdkNodeCapabilityRenderer, SdkNodeDetailsSection, SdkNodeDetailsSectionProps, SdkRuntimeHealthSnapshot, SdkServicePhase, SdkSessionScope, SdkSettingsGatewayBridge, SdkSettingsPage, SdkSettingsPageProps, SdkSettingsSectionsConfig, SdkUpdatePhase, SdkUpdateStatus, SdkVersionSection, SdkVersionSectionProps, SdkWalletClient, SdkWalletSection, SdkWalletSectionProps, parseSdkUpdate, sdkVersion, verifySdkCompletion } from './settings.js';
|
|
9
9
|
export { IpCommercePanel, IpCommercePanelProps } from './ip-commerce.js';
|
|
10
|
-
import '../device-channel-
|
|
10
|
+
import '../device-channel-Y8R-ln4w.js';
|
|
11
11
|
import '../coords-LPR_MPyp.js';
|
|
12
|
-
import '../mirror-session-
|
|
12
|
+
import '../mirror-session-HYQkxdsw.js';
|
|
13
13
|
|
|
14
14
|
interface DebugConsoleProps {
|
|
15
15
|
events: ScriptEvent[];
|
|
@@ -82,6 +82,17 @@ interface EnvInitDialogProps {
|
|
|
82
82
|
* ancestor (it streams via `useEnvRun`). */
|
|
83
83
|
declare function EnvInitDialog(props: EnvInitDialogProps): react__default.ReactElement | null;
|
|
84
84
|
|
|
85
|
+
declare function supportsNodeImageDelete(node: NodeRow): boolean;
|
|
86
|
+
declare function formatImageVersion(imageTag: string): string;
|
|
87
|
+
interface AndroidImageItem {
|
|
88
|
+
key: string;
|
|
89
|
+
label: string;
|
|
90
|
+
imageTag: string;
|
|
91
|
+
version: string;
|
|
92
|
+
installed: boolean;
|
|
93
|
+
extra: boolean;
|
|
94
|
+
}
|
|
95
|
+
declare function buildAndroidImageItems(images: ImageOption[], installed: string[]): AndroidImageItem[];
|
|
85
96
|
type VmState = 'available' | 'needs-init' | 'needs-image' | 'checking' | 'unavailable';
|
|
86
97
|
interface VmItem {
|
|
87
98
|
key: 'android' | 'ios' | 'ios-real' | 'android-real';
|
|
@@ -104,8 +115,14 @@ interface NodeCapabilityPanelProps {
|
|
|
104
115
|
localEnvOs?: EnvOs | null;
|
|
105
116
|
/** Host-side WSL2 install resolver (Windows desktop). */
|
|
106
117
|
onInstallWsl?: () => void | Promise<void>;
|
|
118
|
+
/** Notify parent to refresh node list after mutating node images. */
|
|
119
|
+
onNodeUpdated?: () => void | Promise<void>;
|
|
120
|
+
/** Optional override for deleting a locally installed node image by `image_tag`. */
|
|
121
|
+
onDeleteImage?: (imageTag: string) => Promise<void | string[] | {
|
|
122
|
+
installed_images?: string[];
|
|
123
|
+
}>;
|
|
107
124
|
}
|
|
108
125
|
/** 「虚拟机与设备能力」面板:四平台能力行 + 初始化/下载镜像 + 流式进度。 */
|
|
109
|
-
declare function NodeCapabilityPanel({ node: reportedNode, isTauri, onInstallWsl, localEnvOs, beforeSetup }: NodeCapabilityPanelProps): react.JSX.Element;
|
|
126
|
+
declare function NodeCapabilityPanel({ node: reportedNode, isTauri, onInstallWsl, localEnvOs, beforeSetup, onNodeUpdated, onDeleteImage, }: NodeCapabilityPanelProps): react.JSX.Element;
|
|
110
127
|
|
|
111
|
-
export { AIX_CSS_VARS, DebugConsole, type DebugConsoleProps, EnvInitDialog, type EnvInitDialogProps, NodeCapabilityPanel, type NodeCapabilityPanelProps, ScriptEditor, type ScriptEditorProps, ScriptPanel, type ScriptPanelProps, aixCodeMirrorTheme, vmPlan };
|
|
128
|
+
export { AIX_CSS_VARS, type AndroidImageItem, DebugConsole, type DebugConsoleProps, EnvInitDialog, type EnvInitDialogProps, NodeCapabilityPanel, type NodeCapabilityPanelProps, ScriptEditor, type ScriptEditorProps, ScriptPanel, type ScriptPanelProps, aixCodeMirrorTheme, buildAndroidImageItems, formatImageVersion, supportsNodeImageDelete, vmPlan };
|
package/dist/ui/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import '../chunk-ZCTAYVPK.js';
|
|
2
|
-
export { EnvInitDialog, NodeCapabilityPanel, SdkLocalNodeSection, SdkNodeDetailsSection, SdkSettingsPage, SdkVersionSection, SdkWalletSection, parseSdkUpdate, sdkVersion, verifySdkCompletion, vmPlan } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
2
|
+
export { EnvInitDialog, NodeCapabilityPanel, SdkLocalNodeSection, SdkNodeDetailsSection, SdkSettingsPage, SdkVersionSection, SdkWalletSection, buildAndroidImageItems, formatImageVersion, parseSdkUpdate, sdkVersion, supportsNodeImageDelete, verifySdkCompletion, vmPlan } from '../chunk-32WQD4C3.js';
|
|
3
|
+
import '../chunk-VS24JACZ.js';
|
|
4
4
|
export { ControlBar, MirrorView } from '../chunk-MBBVYSPD.js';
|
|
5
|
-
export { IpCommercePanel } from '../chunk-
|
|
6
|
-
import '../chunk-
|
|
5
|
+
export { IpCommercePanel } from '../chunk-UOCHB65G.js';
|
|
6
|
+
import '../chunk-QGD7XSH4.js';
|
|
7
7
|
import '../chunk-ZB5ET67B.js';
|
|
8
8
|
import '../chunk-7GCAXBUH.js';
|
|
9
|
-
import '../chunk-
|
|
10
|
-
import { useScript } from '../chunk-
|
|
11
|
-
import '../chunk-
|
|
12
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-BI4S5BUY.js';
|
|
10
|
+
import { useScript } from '../chunk-767ADNCO.js';
|
|
11
|
+
import '../chunk-GKLW2IKV.js';
|
|
12
|
+
import '../chunk-EDHEYVB2.js';
|
|
13
13
|
import '../chunk-NWFYTFMI.js';
|
|
14
14
|
import { useState, useId } from 'react';
|
|
15
15
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
package/dist/ui/inspector.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Select, Button, cn, Input, Dialog } from '../chunk-7GCAXBUH.js';
|
|
2
|
-
import { useAixT } from '../chunk-
|
|
3
|
-
import { useInspectorView, useDevicesView, useClient, useLocators } from '../chunk-
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
2
|
+
import { useAixT } from '../chunk-BI4S5BUY.js';
|
|
3
|
+
import { useInspectorView, useDevicesView, useClient, useLocators } from '../chunk-767ADNCO.js';
|
|
4
|
+
import '../chunk-GKLW2IKV.js';
|
|
5
|
+
import '../chunk-EDHEYVB2.js';
|
|
6
6
|
import '../chunk-NWFYTFMI.js';
|
|
7
7
|
import { useState, useMemo, useEffect, useCallback, useRef } from 'react';
|
|
8
8
|
import { Upload, RefreshCw, ChevronsUp, ChevronsDown, MousePointer2, Circle, Square, Search, Laptop, Smartphone, Check, Copy, Crosshair, TimerReset, Eraser, ImageDown, Keyboard, Save, Trash2, X, ChevronDown, ChevronRight, ArrowLeft, Home, SquareStack, CornerDownLeft, Delete } from 'lucide-react';
|
package/dist/ui/ip-commerce.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import { P as ProvisionSpec } from '../types-
|
|
3
|
-
import { c as AixClient, Z as IpResource, V as IpOrder, _ as IpResourceConnection } from '../config-
|
|
2
|
+
import { P as ProvisionSpec } from '../types-CibZTzJ1.js';
|
|
3
|
+
import { c as AixClient, Z as IpResource, V as IpOrder, _ as IpResourceConnection } from '../config-tG21t9DZ.js';
|
|
4
4
|
|
|
5
5
|
interface IpCommercePanelProps {
|
|
6
6
|
/** Inject a stable, user-authenticated client to render without a React SDK provider. */
|
package/dist/ui/ip-commerce.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import '../chunk-ZCTAYVPK.js';
|
|
2
|
-
export { IpCommercePanel } from '../chunk-
|
|
2
|
+
export { IpCommercePanel } from '../chunk-UOCHB65G.js';
|
|
3
3
|
import '../chunk-7GCAXBUH.js';
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-BI4S5BUY.js';
|
|
5
|
+
import '../chunk-767ADNCO.js';
|
|
6
|
+
import '../chunk-GKLW2IKV.js';
|
|
7
|
+
import '../chunk-EDHEYVB2.js';
|
|
8
8
|
import '../chunk-NWFYTFMI.js';
|
package/dist/ui/market.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useAixNav } from '../chunk-5BMFMDQR.js';
|
|
2
|
-
import { useAixT } from '../chunk-
|
|
3
|
-
import { useScripts } from '../chunk-
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
2
|
+
import { useAixT } from '../chunk-BI4S5BUY.js';
|
|
3
|
+
import { useScripts } from '../chunk-767ADNCO.js';
|
|
4
|
+
import '../chunk-GKLW2IKV.js';
|
|
5
|
+
import '../chunk-EDHEYVB2.js';
|
|
6
6
|
import '../chunk-NWFYTFMI.js';
|
|
7
7
|
import { Pencil, Store } from 'lucide-react';
|
|
8
8
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
package/dist/ui/mirror.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import react__default from 'react';
|
|
2
2
|
import { D as DeviceSize } from '../coords-LPR_MPyp.js';
|
|
3
|
-
import { C as ControlMessage } from '../mirror-session-
|
|
4
|
-
import '../config-
|
|
5
|
-
import '../types-
|
|
3
|
+
import { C as ControlMessage } from '../mirror-session-HYQkxdsw.js';
|
|
4
|
+
import '../config-tG21t9DZ.js';
|
|
5
|
+
import '../types-CibZTzJ1.js';
|
|
6
6
|
|
|
7
7
|
interface MirrorViewProps {
|
|
8
8
|
permission?: 'control' | 'video_only';
|
package/dist/ui/script-studio.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { CodeEditor, DeviceSelect, RunPanel, ScriptParamEditor, ScriptStudio, TimelineStep } from '../chunk-
|
|
1
|
+
export { CodeEditor, DeviceSelect, RunPanel, ScriptParamEditor, ScriptStudio, TimelineStep } from '../chunk-DLYZTJCU.js';
|
|
2
2
|
export { LogConsole } from '../chunk-OKNU6FSH.js';
|
|
3
3
|
import '../chunk-7GCAXBUH.js';
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-767ADNCO.js';
|
|
5
|
+
import '../chunk-GKLW2IKV.js';
|
|
6
|
+
import '../chunk-EDHEYVB2.js';
|
|
7
7
|
import '../chunk-NWFYTFMI.js';
|
package/dist/ui/scripts.d.ts
CHANGED
package/dist/ui/scripts.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { useAixNav } from '../chunk-5BMFMDQR.js';
|
|
2
2
|
import { cn, Badge, Button, Input } from '../chunk-7GCAXBUH.js';
|
|
3
|
-
import { useAixT } from '../chunk-
|
|
4
|
-
import { useScripts } from '../chunk-
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-
|
|
3
|
+
import { useAixT } from '../chunk-BI4S5BUY.js';
|
|
4
|
+
import { useScripts } from '../chunk-767ADNCO.js';
|
|
5
|
+
import '../chunk-GKLW2IKV.js';
|
|
6
|
+
import '../chunk-EDHEYVB2.js';
|
|
7
7
|
import '../chunk-NWFYTFMI.js';
|
|
8
8
|
import { useState, useMemo } from 'react';
|
|
9
9
|
import { AppWindow, Monitor, Smartphone, FileText, Play, Copy, Trash2, PlusCircle, LayoutGrid, Plus, Search } from 'lucide-react';
|
package/dist/ui/settings.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { c as AixClient, B as BillingApi, R as ResolvedConfig } from '../config-
|
|
4
|
-
import { N as NodeRow,
|
|
3
|
+
import { c as AixClient, B as BillingApi, R as ResolvedConfig } from '../config-tG21t9DZ.js';
|
|
4
|
+
import { N as NodeRow, b2 as StripeReconcileResult } from '../types-CibZTzJ1.js';
|
|
5
5
|
|
|
6
6
|
type SdkServicePhase = 'disabled' | 'preparing' | 'starting' | 'running' | 'cleaning' | 'backoff' | 'blocked' | 'stopping' | 'stopped' | 'unavailable';
|
|
7
7
|
interface SdkRuntimeHealthSnapshot {
|
|
@@ -64,6 +64,7 @@ type SdkNodeCapabilityRenderer = (props: {
|
|
|
64
64
|
node: NodeRow;
|
|
65
65
|
isTauri?: boolean;
|
|
66
66
|
beforeSetup?: (nodeId: string) => Promise<void>;
|
|
67
|
+
onNodeUpdated?: () => void | Promise<void>;
|
|
67
68
|
}) => ReactNode;
|
|
68
69
|
|
|
69
70
|
interface SdkSettingsGatewayBridge {
|
package/dist/ui/settings.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { SdkLocalNodeSection, SdkNodeDetailsSection, SdkSettingsPage, SdkVersionSection, SdkWalletSection, parseSdkUpdate, sdkVersion, verifySdkCompletion } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { SdkLocalNodeSection, SdkNodeDetailsSection, SdkSettingsPage, SdkVersionSection, SdkWalletSection, parseSdkUpdate, sdkVersion, verifySdkCompletion } from '../chunk-32WQD4C3.js';
|
|
2
|
+
import '../chunk-VS24JACZ.js';
|
|
3
|
+
import '../chunk-QGD7XSH4.js';
|
|
4
4
|
import '../chunk-ZB5ET67B.js';
|
|
5
5
|
import '../chunk-7GCAXBUH.js';
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import '../chunk-
|
|
8
|
-
import '../chunk-
|
|
9
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-BI4S5BUY.js';
|
|
7
|
+
import '../chunk-767ADNCO.js';
|
|
8
|
+
import '../chunk-GKLW2IKV.js';
|
|
9
|
+
import '../chunk-EDHEYVB2.js';
|
|
10
10
|
import '../chunk-NWFYTFMI.js';
|
package/dist/ui/tasks.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { SharedParamsForm, resolveSharedRow } from '../chunk-
|
|
1
|
+
import { SharedParamsForm, resolveSharedRow } from '../chunk-7WNB7JNK.js';
|
|
2
2
|
import '../chunk-OKNU6FSH.js';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-7LZ56DBX.js';
|
|
4
4
|
import '../chunk-OEZFYKL6.js';
|
|
5
5
|
import '../chunk-MBBVYSPD.js';
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import '../chunk-
|
|
8
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-VDRBMIMZ.js';
|
|
7
|
+
import '../chunk-UOCHB65G.js';
|
|
8
|
+
import '../chunk-QGD7XSH4.js';
|
|
9
9
|
import '../chunk-ZB5ET67B.js';
|
|
10
10
|
import { Button, cn, Select, Input, Badge } from '../chunk-7GCAXBUH.js';
|
|
11
|
-
import { useAixT } from '../chunk-
|
|
12
|
-
import { useDevicesView, useAutomationQueue, useClient, useAixConfig, useApiTokens } from '../chunk-
|
|
13
|
-
import { targetParam, variablesToSchema, schemaDefaults } from '../chunk-
|
|
14
|
-
import '../chunk-
|
|
11
|
+
import { useAixT } from '../chunk-BI4S5BUY.js';
|
|
12
|
+
import { useDevicesView, useAutomationQueue, useClient, useAixConfig, useApiTokens } from '../chunk-767ADNCO.js';
|
|
13
|
+
import { targetParam, variablesToSchema, schemaDefaults } from '../chunk-GKLW2IKV.js';
|
|
14
|
+
import '../chunk-EDHEYVB2.js';
|
|
15
15
|
import '../chunk-NWFYTFMI.js';
|
|
16
16
|
import { useState, useEffect, useMemo } from 'react';
|
|
17
17
|
import { RefreshCw, Plug, Plus, X, Play, ChevronDown, ChevronRight, PlayCircle, Pause, Ban, Trash2, Webhook, MonitorSmartphone, Copy } from 'lucide-react';
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { DeviceSession, pullFile, pushFile } from './chunk-OJK35AQD.js';
|