@aixnn/aixautots 0.6.20 → 0.6.22
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-7RQTSTR6.js → chunk-7GCAXBUH.js} +1 -0
- package/dist/{chunk-FJKMRWYC.js → chunk-ACVKYB3F.js} +4 -4
- package/dist/{chunk-DTXXQPOU.js → chunk-APSXWTSO.js} +2 -2
- package/dist/{chunk-QISBQ532.js → chunk-E7V7KP3L.js} +127 -66
- package/dist/{chunk-JQBSGFAR.js → chunk-H2AJLWCO.js} +2 -2
- package/dist/{chunk-RFOJSDYI.js → chunk-LHQ5MHQD.js} +2 -2
- package/dist/{chunk-4NRIEM5Z.js → chunk-LNO4N3CX.js} +37 -18
- package/dist/{chunk-3OBCSW2J.js → chunk-OKNU6FSH.js} +1 -1
- package/dist/{chunk-HQ2L4NQ2.js → chunk-RQA7P65K.js} +4 -0
- package/dist/{chunk-H7KZUU67.js → chunk-UUTOAOW4.js} +2 -2
- package/dist/{chunk-DAU3FVCV.js → chunk-V3TKO45N.js} +2 -2
- package/dist/i18n/index.js +1 -1
- package/dist/ui/billing.js +4 -4
- package/dist/ui/device-create.js +5 -5
- package/dist/ui/device-mirror.js +3 -3
- package/dist/ui/devices.d.ts +6 -2
- package/dist/ui/devices.js +8 -8
- package/dist/ui/editor.js +4 -4
- package/dist/ui/index.js +6 -6
- package/dist/ui/inspector.js +2 -2
- package/dist/ui/ip-commerce.js +3 -3
- package/dist/ui/market.js +1 -1
- package/dist/ui/primitives/index.js +1 -1
- package/dist/ui/script-studio.js +3 -3
- package/dist/ui/scripts.js +2 -2
- package/dist/ui/settings.d.ts +5 -1
- package/dist/ui/settings.js +5 -5
- package/dist/ui/tasks.js +8 -8
- package/package.json +1 -1
|
@@ -62,6 +62,7 @@ function Drawer({ open, onClose, title, children, widthClass = "max-w-lg" }) {
|
|
|
62
62
|
open ? "translate-x-0" : "translate-x-full"
|
|
63
63
|
),
|
|
64
64
|
role: "dialog",
|
|
65
|
+
"aria-label": typeof title === "string" ? title : void 0,
|
|
65
66
|
children: [
|
|
66
67
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between border-b border-border px-4 py-3 shrink-0", children: [
|
|
67
68
|
/* @__PURE__ */ jsx("span", { className: "truncate text-sm font-semibold text-foreground", children: title }),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { IpCommercePanel } from './chunk-
|
|
2
|
-
import { IosDeviceDiagnostics } from './chunk-
|
|
1
|
+
import { IpCommercePanel } from './chunk-H2AJLWCO.js';
|
|
2
|
+
import { IosDeviceDiagnostics } from './chunk-LHQ5MHQD.js';
|
|
3
3
|
import { canConnectPhysicalDevice } from './chunk-ZB5ET67B.js';
|
|
4
|
-
import { cn, Select, Dialog, Button, Input, Badge } from './chunk-
|
|
5
|
-
import { useAixT } from './chunk-
|
|
4
|
+
import { cn, Select, Dialog, Button, Input, Badge } from './chunk-7GCAXBUH.js';
|
|
5
|
+
import { useAixT } from './chunk-RQA7P65K.js';
|
|
6
6
|
import { useNodes, useClient, useDevices } from './chunk-UEZVXYGP.js';
|
|
7
7
|
import { useState, useEffect, useMemo, useCallback, useRef } from 'react';
|
|
8
8
|
import { Server, RefreshCw, Smartphone, Usb, Wifi, Info } from 'lucide-react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Button, cn, Badge } from './chunk-
|
|
2
|
-
import { useAixT } from './chunk-
|
|
1
|
+
import { Button, cn, Badge } from './chunk-7GCAXBUH.js';
|
|
2
|
+
import { useAixT } from './chunk-RQA7P65K.js';
|
|
3
3
|
import { useClient, useQuery, useBilling } from './chunk-UEZVXYGP.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';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { IosDeviceDiagnostics } from './chunk-
|
|
1
|
+
import { ledgerKindMeta, RechargeDrawer, BillingPage } from './chunk-APSXWTSO.js';
|
|
2
|
+
import { IosDeviceDiagnostics } from './chunk-LHQ5MHQD.js';
|
|
3
3
|
import { iosPhysicalUnavailableReason } from './chunk-ZB5ET67B.js';
|
|
4
|
-
import { cn, Button, Input, Drawer, Select } from './chunk-
|
|
5
|
-
import { useAixT } from './chunk-
|
|
4
|
+
import { cn, Button, Input, Drawer, Select } from './chunk-7GCAXBUH.js';
|
|
5
|
+
import { useAixT } from './chunk-RQA7P65K.js';
|
|
6
6
|
import { useEnvRun, useClient, useOptionalAixConfig, AixResolvedProvider } from './chunk-UEZVXYGP.js';
|
|
7
7
|
import { summarizeEnv, envBlocker, detectEnvOs } from './chunk-OJK35AQD.js';
|
|
8
8
|
import React, { useState, useRef, useEffect, useMemo, useCallback } from 'react';
|
|
@@ -25,6 +25,32 @@ function isSessionActive(session) {
|
|
|
25
25
|
function helperPhaseKey(phase) {
|
|
26
26
|
return `sdkSettings.helperPhase${phase.charAt(0).toUpperCase()}${phase.slice(1)}`;
|
|
27
27
|
}
|
|
28
|
+
function hostSetTimeout(fn, ms) {
|
|
29
|
+
if (typeof window !== "undefined" && typeof window.setTimeout === "function") {
|
|
30
|
+
return window.setTimeout(fn, ms);
|
|
31
|
+
}
|
|
32
|
+
return setTimeout(fn, ms);
|
|
33
|
+
}
|
|
34
|
+
function hostClearTimeout(id) {
|
|
35
|
+
if (typeof window !== "undefined" && typeof window.clearTimeout === "function") {
|
|
36
|
+
window.clearTimeout(id);
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
clearTimeout(id);
|
|
40
|
+
}
|
|
41
|
+
function hostSetInterval(fn, ms) {
|
|
42
|
+
if (typeof window !== "undefined" && typeof window.setInterval === "function") {
|
|
43
|
+
return window.setInterval(fn, ms);
|
|
44
|
+
}
|
|
45
|
+
return setInterval(fn, ms);
|
|
46
|
+
}
|
|
47
|
+
function hostClearInterval(id) {
|
|
48
|
+
if (typeof window !== "undefined" && typeof window.clearInterval === "function") {
|
|
49
|
+
window.clearInterval(id);
|
|
50
|
+
return;
|
|
51
|
+
}
|
|
52
|
+
clearInterval(id);
|
|
53
|
+
}
|
|
28
54
|
function SdkLocalNodeSection({
|
|
29
55
|
runtime,
|
|
30
56
|
session,
|
|
@@ -100,10 +126,10 @@ function SdkLocalNodeSection({
|
|
|
100
126
|
if (!view.pending) void refreshStatus(view);
|
|
101
127
|
};
|
|
102
128
|
const unsub = runtimeRef.current.subscribeStatus?.(onStatus);
|
|
103
|
-
const timer =
|
|
129
|
+
const timer = hostSetInterval(onStatus, 3e3);
|
|
104
130
|
return () => {
|
|
105
131
|
view.active = false;
|
|
106
|
-
|
|
132
|
+
hostClearInterval(timer);
|
|
107
133
|
unsub?.();
|
|
108
134
|
};
|
|
109
135
|
}, [runtime.available, sessionKey]);
|
|
@@ -711,7 +737,7 @@ function useLocalNodeList(client, runtime, session, nodeId, nodeName) {
|
|
|
711
737
|
const current = () => active && isSessionActive(capturedSession);
|
|
712
738
|
const clearRetry = () => {
|
|
713
739
|
if (timer !== null) {
|
|
714
|
-
|
|
740
|
+
hostClearTimeout(timer);
|
|
715
741
|
timer = null;
|
|
716
742
|
}
|
|
717
743
|
};
|
|
@@ -736,7 +762,7 @@ function useLocalNodeList(client, runtime, session, nodeId, nodeName) {
|
|
|
736
762
|
} finally {
|
|
737
763
|
pending = null;
|
|
738
764
|
if (current() && !found && attempts < 6) {
|
|
739
|
-
timer =
|
|
765
|
+
timer = hostSetTimeout(() => {
|
|
740
766
|
timer = null;
|
|
741
767
|
void load();
|
|
742
768
|
}, Math.min(8e3, 500 * 2 ** (attempts - 1)));
|
|
@@ -830,10 +856,10 @@ function DesktopNodeDetailsView({
|
|
|
830
856
|
};
|
|
831
857
|
refreshIdentity();
|
|
832
858
|
const unsub = runtimeRef.current.subscribeStatus?.(refreshIdentity);
|
|
833
|
-
const timer =
|
|
859
|
+
const timer = hostSetInterval(refreshIdentity, 3e3);
|
|
834
860
|
return () => {
|
|
835
861
|
view.active = false;
|
|
836
|
-
|
|
862
|
+
hostClearInterval(timer);
|
|
837
863
|
unsub?.();
|
|
838
864
|
};
|
|
839
865
|
}, [runtime.available, sessionKey, authenticated]);
|
|
@@ -872,7 +898,9 @@ function DesktopNodeDetailsView({
|
|
|
872
898
|
rt.notifyStatusChanged?.();
|
|
873
899
|
return;
|
|
874
900
|
}
|
|
875
|
-
await new Promise((resolve) =>
|
|
901
|
+
await new Promise((resolve) => {
|
|
902
|
+
hostSetTimeout(resolve, 500);
|
|
903
|
+
});
|
|
876
904
|
check();
|
|
877
905
|
} while (Date.now() < deadline);
|
|
878
906
|
throw new Error(t("sdkSettings.nodeConnectTimeout"));
|
|
@@ -1178,12 +1206,12 @@ function SdkVersionSection({
|
|
|
1178
1206
|
return actual;
|
|
1179
1207
|
};
|
|
1180
1208
|
const delay = (view, ms) => new Promise((resolve) => {
|
|
1181
|
-
const timer =
|
|
1209
|
+
const timer = hostSetTimeout(() => {
|
|
1182
1210
|
view.cancelDelay = void 0;
|
|
1183
1211
|
resolve();
|
|
1184
1212
|
}, ms);
|
|
1185
1213
|
view.cancelDelay = () => {
|
|
1186
|
-
|
|
1214
|
+
hostClearTimeout(timer);
|
|
1187
1215
|
view.cancelDelay = void 0;
|
|
1188
1216
|
resolve();
|
|
1189
1217
|
};
|
|
@@ -1202,12 +1230,12 @@ function SdkVersionSection({
|
|
|
1202
1230
|
const finish = (value) => {
|
|
1203
1231
|
if (settled) return;
|
|
1204
1232
|
settled = true;
|
|
1205
|
-
|
|
1233
|
+
hostClearTimeout(timer);
|
|
1206
1234
|
if (view.cancelDelay === cancel) view.cancelDelay = void 0;
|
|
1207
1235
|
resolve(value);
|
|
1208
1236
|
};
|
|
1209
1237
|
const cancel = () => finish(null);
|
|
1210
|
-
const timer =
|
|
1238
|
+
const timer = hostSetTimeout(cancel, Math.min(healthReadMs, Math.max(0, deadline - Date.now())));
|
|
1211
1239
|
view.cancelDelay = cancel;
|
|
1212
1240
|
if (!readHealth) {
|
|
1213
1241
|
finish(null);
|
|
@@ -1425,7 +1453,7 @@ function SdkWalletSectionView({
|
|
|
1425
1453
|
const [wallet, setWallet] = useState({ status: "loading" });
|
|
1426
1454
|
const [busy, setBusy] = useState(false);
|
|
1427
1455
|
const [rechargeOpen, setRechargeOpen] = useState(false);
|
|
1428
|
-
const [
|
|
1456
|
+
const [ledgerOpen, setLedgerOpen] = useState(false);
|
|
1429
1457
|
const seqRef = useRef(0);
|
|
1430
1458
|
const loadBalance = useCallback(async () => {
|
|
1431
1459
|
if (!authenticated || blockedMessage) return;
|
|
@@ -1450,7 +1478,7 @@ function SdkWalletSectionView({
|
|
|
1450
1478
|
seqRef.current += 1;
|
|
1451
1479
|
setWallet({ status: "loading" });
|
|
1452
1480
|
setRechargeOpen(false);
|
|
1453
|
-
|
|
1481
|
+
setLedgerOpen(false);
|
|
1454
1482
|
if (!authenticated || blockedMessage) {
|
|
1455
1483
|
setBusy(false);
|
|
1456
1484
|
return;
|
|
@@ -1490,15 +1518,15 @@ function SdkWalletSectionView({
|
|
|
1490
1518
|
]
|
|
1491
1519
|
}
|
|
1492
1520
|
),
|
|
1493
|
-
|
|
1521
|
+
/* @__PURE__ */ jsxs(
|
|
1494
1522
|
"button",
|
|
1495
1523
|
{
|
|
1496
1524
|
type: "button",
|
|
1497
|
-
onClick: () =>
|
|
1525
|
+
onClick: () => setLedgerOpen(true),
|
|
1498
1526
|
className: "inline-flex items-center gap-1 rounded border border-border px-2.5 py-1 text-xs text-foreground hover:bg-secondary",
|
|
1499
1527
|
children: [
|
|
1500
1528
|
/* @__PURE__ */ jsx(Receipt, { className: "h-3.5 w-3.5" }),
|
|
1501
|
-
t("sdkSettings.
|
|
1529
|
+
t("sdkSettings.viewLedger")
|
|
1502
1530
|
]
|
|
1503
1531
|
}
|
|
1504
1532
|
),
|
|
@@ -1519,24 +1547,10 @@ function SdkWalletSectionView({
|
|
|
1519
1547
|
] }),
|
|
1520
1548
|
blockedMessage ? /* @__PURE__ */ jsx("p", { className: "text-xs text-muted-foreground", children: blockedMessage }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1521
1549
|
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground", children: t("sdkSettings.walletDesc") }),
|
|
1522
|
-
/* @__PURE__ */
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
] }),
|
|
1527
|
-
wallet.status === "ready" && /* @__PURE__ */ jsxs("details", { children: [
|
|
1528
|
-
/* @__PURE__ */ jsx("summary", { className: "cursor-pointer text-muted-foreground hover:text-foreground", children: t("sdkSettings.recentActivity") }),
|
|
1529
|
-
wallet.data.recent.length > 0 ? /* @__PURE__ */ jsx("ul", { className: "mt-2 space-y-1", children: wallet.data.recent.map((row) => /* @__PURE__ */ jsxs("li", { className: "font-mono text-[11px] text-muted-foreground", children: [
|
|
1530
|
-
row.created_at.slice(0, 10),
|
|
1531
|
-
" \xB7 ",
|
|
1532
|
-
row.kind,
|
|
1533
|
-
" \xB7 ",
|
|
1534
|
-
String(row.amount),
|
|
1535
|
-
" ",
|
|
1536
|
-
row.currency
|
|
1537
|
-
] }, row.id)) }) : /* @__PURE__ */ jsx("p", { className: "mt-2 text-muted-foreground", children: t("sdkSettings.noActivity") })
|
|
1538
|
-
] })
|
|
1539
|
-
] })
|
|
1550
|
+
/* @__PURE__ */ jsx("div", { "aria-live": "polite", "aria-busy": busy, className: "space-y-2 rounded-lg border border-border bg-card px-5 py-3", children: /* @__PURE__ */ jsxs("p", { children: [
|
|
1551
|
+
t("sdkSettings.walletBalance"),
|
|
1552
|
+
/* @__PURE__ */ jsx("span", { className: "font-mono font-medium", children: wallet.status === "error" ? t("sdkSettings.walletUnavailable") : wallet.status === "loading" ? t("sdkSettings.walletLoading") : `${wallet.data.balance} ${wallet.data.currency}` })
|
|
1553
|
+
] }) })
|
|
1540
1554
|
] }),
|
|
1541
1555
|
!onOpenRecharge && rechargeOpen && hasContextOrCfg && wrapWithProvider(
|
|
1542
1556
|
/* @__PURE__ */ jsx(
|
|
@@ -1555,15 +1569,15 @@ function SdkWalletSectionView({
|
|
|
1555
1569
|
}
|
|
1556
1570
|
)
|
|
1557
1571
|
),
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1572
|
+
ledgerOpen && /* @__PURE__ */ jsx(
|
|
1573
|
+
Drawer,
|
|
1574
|
+
{
|
|
1575
|
+
open: ledgerOpen,
|
|
1576
|
+
onClose: () => setLedgerOpen(false),
|
|
1577
|
+
title: t("sdkSettings.ledgerDrawerTitle"),
|
|
1578
|
+
widthClass: "max-w-3xl",
|
|
1579
|
+
children: hasContextOrCfg ? wrapWithProvider(
|
|
1580
|
+
/* @__PURE__ */ jsx(
|
|
1567
1581
|
BillingPage,
|
|
1568
1582
|
{
|
|
1569
1583
|
channel,
|
|
@@ -1576,8 +1590,48 @@ function SdkWalletSectionView({
|
|
|
1576
1590
|
}
|
|
1577
1591
|
}
|
|
1578
1592
|
)
|
|
1579
|
-
}
|
|
1580
|
-
|
|
1593
|
+
) : wallet.status === "loading" ? /* @__PURE__ */ jsx("p", { className: "py-6 text-center text-xs text-muted-foreground", children: t("sdkSettings.walletLoading") }) : wallet.status === "error" ? /* @__PURE__ */ jsx("p", { className: "py-6 text-center text-xs text-destructive", children: t("sdkSettings.walletUnavailable") }) : wallet.data.recent.length === 0 ? /* @__PURE__ */ jsx("p", { className: "py-6 text-center text-xs text-muted-foreground", children: t("sdkSettings.noActivity") }) : /* @__PURE__ */ jsx("div", { className: "overflow-x-auto", children: /* @__PURE__ */ jsxs("table", { className: "w-full text-xs", children: [
|
|
1594
|
+
/* @__PURE__ */ jsx("thead", { children: /* @__PURE__ */ jsxs("tr", { className: "border-b border-border text-left text-muted-foreground", children: [
|
|
1595
|
+
/* @__PURE__ */ jsx("th", { className: "py-1.5 pr-2 font-medium", children: t("billing.col.kind") }),
|
|
1596
|
+
/* @__PURE__ */ jsx("th", { className: "py-1.5 pr-2 text-right font-medium", children: t("billing.col.amount") }),
|
|
1597
|
+
/* @__PURE__ */ jsx("th", { className: "py-1.5 pr-2 text-right font-medium", children: t("billing.col.balanceAfter") }),
|
|
1598
|
+
/* @__PURE__ */ jsx("th", { className: "py-1.5 pr-2 font-medium", children: t("billing.col.ref") }),
|
|
1599
|
+
/* @__PURE__ */ jsx("th", { className: "py-1.5 font-medium", children: t("billing.col.time") })
|
|
1600
|
+
] }) }),
|
|
1601
|
+
/* @__PURE__ */ jsx("tbody", { children: wallet.data.recent.map((row) => {
|
|
1602
|
+
const meta = ledgerKindMeta(row.kind, Number(row.amount));
|
|
1603
|
+
const Icon = meta.icon;
|
|
1604
|
+
const credit = meta.sign === "credit";
|
|
1605
|
+
return /* @__PURE__ */ jsxs("tr", { className: "border-b border-border/50", children: [
|
|
1606
|
+
/* @__PURE__ */ jsx("td", { className: "py-1.5 pr-2", children: /* @__PURE__ */ jsxs("span", { className: "inline-flex items-center gap-1.5 text-foreground", children: [
|
|
1607
|
+
/* @__PURE__ */ jsx(
|
|
1608
|
+
Icon,
|
|
1609
|
+
{
|
|
1610
|
+
className: cn("h-3.5 w-3.5", credit ? "text-green-500" : "text-muted-foreground")
|
|
1611
|
+
}
|
|
1612
|
+
),
|
|
1613
|
+
t(meta.i18nKey)
|
|
1614
|
+
] }) }),
|
|
1615
|
+
/* @__PURE__ */ jsxs(
|
|
1616
|
+
"td",
|
|
1617
|
+
{
|
|
1618
|
+
className: cn(
|
|
1619
|
+
"py-1.5 pr-2 text-right font-mono",
|
|
1620
|
+
credit ? "text-green-500" : "text-destructive"
|
|
1621
|
+
),
|
|
1622
|
+
children: [
|
|
1623
|
+
credit ? "+" : "-",
|
|
1624
|
+
String(row.amount).replace(/^[-+]/, "")
|
|
1625
|
+
]
|
|
1626
|
+
}
|
|
1627
|
+
),
|
|
1628
|
+
/* @__PURE__ */ jsx("td", { className: "py-1.5 pr-2 text-right font-mono text-muted-foreground", children: String(row.balance_after) }),
|
|
1629
|
+
/* @__PURE__ */ jsx("td", { className: "max-w-[12rem] truncate py-1.5 pr-2 text-muted-foreground", title: row.ref, children: row.ref }),
|
|
1630
|
+
/* @__PURE__ */ jsx("td", { className: "py-1.5 text-muted-foreground", children: new Date(row.created_at).toLocaleString() })
|
|
1631
|
+
] }, row.id);
|
|
1632
|
+
}) })
|
|
1633
|
+
] }) })
|
|
1634
|
+
}
|
|
1581
1635
|
)
|
|
1582
1636
|
] });
|
|
1583
1637
|
}
|
|
@@ -1608,6 +1662,8 @@ function SdkSettingsPage({
|
|
|
1608
1662
|
sections,
|
|
1609
1663
|
beforeSections,
|
|
1610
1664
|
afterSections,
|
|
1665
|
+
beforeWallet,
|
|
1666
|
+
afterWallet,
|
|
1611
1667
|
wrapGatewaySections,
|
|
1612
1668
|
renderNodeCapability,
|
|
1613
1669
|
className
|
|
@@ -1617,27 +1673,32 @@ function SdkSettingsPage({
|
|
|
1617
1673
|
const showLocalNode = sections?.localNode ?? Boolean(localRuntime);
|
|
1618
1674
|
const showWallet = sections?.wallet ?? true;
|
|
1619
1675
|
const showNodeDetails = sections?.nodeDetails ?? true;
|
|
1676
|
+
const hasBillingGroup = Boolean(beforeWallet || showWallet || afterWallet);
|
|
1620
1677
|
const renderGatewaySections = (bridge) => {
|
|
1621
1678
|
const resolvedClient = bridge?.client ?? client;
|
|
1622
1679
|
const resolvedRenderer = bridge?.renderNodeCapability ?? renderNodeCapability;
|
|
1623
|
-
if (!
|
|
1680
|
+
if (!hasBillingGroup && !showNodeDetails) return null;
|
|
1624
1681
|
const content = /* @__PURE__ */ jsxs("div", { className: "space-y-10", children: [
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1682
|
+
hasBillingGroup && /* @__PURE__ */ jsxs("div", { className: "space-y-4", children: [
|
|
1683
|
+
beforeWallet,
|
|
1684
|
+
showWallet && /* @__PURE__ */ jsx(
|
|
1685
|
+
SdkWalletSection,
|
|
1686
|
+
{
|
|
1687
|
+
client: resolvedClient,
|
|
1688
|
+
sessionKey: session?.id,
|
|
1689
|
+
authenticated: session?.authenticated !== false,
|
|
1690
|
+
blockedMessage: walletBlockedMessage,
|
|
1691
|
+
channel,
|
|
1692
|
+
returnUrl,
|
|
1693
|
+
cancelUrl,
|
|
1694
|
+
openExternalUrl,
|
|
1695
|
+
onOpenRecharge,
|
|
1696
|
+
onTopupCompleted,
|
|
1697
|
+
subscribeBillingUpdated
|
|
1698
|
+
}
|
|
1699
|
+
),
|
|
1700
|
+
afterWallet
|
|
1701
|
+
] }),
|
|
1641
1702
|
showNodeDetails && /* @__PURE__ */ jsx(
|
|
1642
1703
|
SdkNodeDetailsSection,
|
|
1643
1704
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Button } from './chunk-
|
|
2
|
-
import { useAixLang } from './chunk-
|
|
1
|
+
import { Button } from './chunk-7GCAXBUH.js';
|
|
2
|
+
import { useAixLang } from './chunk-RQA7P65K.js';
|
|
3
3
|
import { useClient } from './chunk-UEZVXYGP.js';
|
|
4
4
|
import { useState, useRef, useEffect } from 'react';
|
|
5
5
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Button } from './chunk-
|
|
2
|
-
import { useAixT } from './chunk-
|
|
1
|
+
import { Button } from './chunk-7GCAXBUH.js';
|
|
2
|
+
import { useAixT } from './chunk-RQA7P65K.js';
|
|
3
3
|
import { useClient } from './chunk-UEZVXYGP.js';
|
|
4
4
|
import { useSyncExternalStore, useState, useEffect } from 'react';
|
|
5
5
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { LogConsole } from './chunk-
|
|
2
|
-
import { requestPreviewFrame, MirrorSurface, DeviceMirror, ConnectDevicesDialog } from './chunk-
|
|
1
|
+
import { LogConsole } from './chunk-OKNU6FSH.js';
|
|
2
|
+
import { requestPreviewFrame, MirrorSurface, DeviceMirror, ConnectDevicesDialog } from './chunk-UUTOAOW4.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-ACVKYB3F.js';
|
|
5
|
+
import { IpCommercePanel } from './chunk-H2AJLWCO.js';
|
|
6
|
+
import { IosDeviceDiagnostics } from './chunk-LHQ5MHQD.js';
|
|
7
7
|
import { isPhysicalIos } from './chunk-ZB5ET67B.js';
|
|
8
|
-
import { cn, Badge, Button, Dialog, Input, Popover, Select, useToast, ToastViewport, Drawer } from './chunk-
|
|
9
|
-
import { useAixT } from './chunk-
|
|
8
|
+
import { cn, Badge, Button, Dialog, Input, Popover, Select, useToast, ToastViewport, Drawer } from './chunk-7GCAXBUH.js';
|
|
9
|
+
import { useAixT } from './chunk-RQA7P65K.js';
|
|
10
10
|
import { useClient, useDevicesView, useShortcutsView, useAixConfig, GROUP_MIRROR_MAX, useGroupMirror, useScripts, useFleetRun, useTaskAgentRun, preflightTaskAgentDevice, createAgentTaskRunner, useNodesView } from './chunk-UEZVXYGP.js';
|
|
11
11
|
import { DeviceChannel } from './chunk-ED6CB3B4.js';
|
|
12
12
|
import { DeviceSession, isQueuedPowerReceipt, pushFile, pullFile, AixError } from './chunk-OJK35AQD.js';
|
|
@@ -5294,7 +5294,12 @@ function DeviceEditDialog({ device, onClose }) {
|
|
|
5294
5294
|
}
|
|
5295
5295
|
);
|
|
5296
5296
|
}
|
|
5297
|
-
function DevicesPage({
|
|
5297
|
+
function DevicesPage({
|
|
5298
|
+
renderHeaderActions,
|
|
5299
|
+
headerLeft,
|
|
5300
|
+
headerExtraActions,
|
|
5301
|
+
taskAgentRunner: providedTaskAgentRunner
|
|
5302
|
+
} = {}) {
|
|
5298
5303
|
const t = useAixT();
|
|
5299
5304
|
const client = useClient();
|
|
5300
5305
|
const taskAgentRunner = useMemo(
|
|
@@ -5490,17 +5495,31 @@ function DevicesPage({ taskAgentRunner: providedTaskAgentRunner } = {}) {
|
|
|
5490
5495
|
setBulkPowering(false);
|
|
5491
5496
|
}
|
|
5492
5497
|
};
|
|
5493
|
-
|
|
5494
|
-
|
|
5495
|
-
|
|
5496
|
-
|
|
5497
|
-
|
|
5498
|
-
] }),
|
|
5499
|
-
/* @__PURE__ */ jsxs(Button, { variant: "primary", size: "sm", onClick: () => setShowWizard(true), children: [
|
|
5500
|
-
/* @__PURE__ */ jsx(Plus, { className: "w-3.5 h-3.5" }),
|
|
5501
|
-
t("devices.addDevice")
|
|
5502
|
-
] })
|
|
5498
|
+
const headerActions = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
5499
|
+
headerExtraActions,
|
|
5500
|
+
/* @__PURE__ */ jsxs(Button, { variant: "secondary", size: "sm", onClick: () => fetchDevices(), disabled: loading, children: [
|
|
5501
|
+
/* @__PURE__ */ jsx(RefreshCw, { className: `w-3.5 h-3.5 ${loading ? "animate-spin" : ""}` }),
|
|
5502
|
+
t("common.refresh")
|
|
5503
5503
|
] }),
|
|
5504
|
+
/* @__PURE__ */ jsxs(Button, { variant: "primary", size: "sm", onClick: () => setShowWizard(true), children: [
|
|
5505
|
+
/* @__PURE__ */ jsx(Plus, { className: "w-3.5 h-3.5" }),
|
|
5506
|
+
t("devices.addDevice")
|
|
5507
|
+
] })
|
|
5508
|
+
] });
|
|
5509
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex h-full flex-col", children: [
|
|
5510
|
+
renderHeaderActions ? renderHeaderActions(headerActions) : /* @__PURE__ */ jsxs(
|
|
5511
|
+
"div",
|
|
5512
|
+
{
|
|
5513
|
+
className: cn(
|
|
5514
|
+
"flex flex-wrap items-center gap-x-3 gap-y-2 border-b border-border px-3 py-2 sm:px-6",
|
|
5515
|
+
headerLeft ? "justify-between" : "justify-end"
|
|
5516
|
+
),
|
|
5517
|
+
children: [
|
|
5518
|
+
headerLeft && /* @__PURE__ */ jsx("div", { className: "flex min-w-0 flex-wrap items-center gap-x-2.5 gap-y-1 text-xs text-muted-foreground", children: headerLeft }),
|
|
5519
|
+
/* @__PURE__ */ jsx("div", { className: "flex shrink-0 flex-wrap items-center gap-2", children: headerActions })
|
|
5520
|
+
]
|
|
5521
|
+
}
|
|
5522
|
+
),
|
|
5504
5523
|
/* @__PURE__ */ jsxs("div", { className: "flex-1 overflow-auto p-3 sm:p-6", children: [
|
|
5505
5524
|
/* @__PURE__ */ jsxs("div", { className: "mb-3 flex flex-wrap items-center justify-between gap-3 border-b border-border pb-3", children: [
|
|
5506
5525
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-1 flex-wrap items-center gap-2", children: [
|
|
@@ -1064,6 +1064,8 @@ var en = {
|
|
|
1064
1064
|
"sdkSettings.walletUnavailable": "Unavailable. Please retry.",
|
|
1065
1065
|
"sdkSettings.topUp": "Top up",
|
|
1066
1066
|
"sdkSettings.viewBilling": "Billing",
|
|
1067
|
+
"sdkSettings.viewLedger": "Activity & ledger",
|
|
1068
|
+
"sdkSettings.ledgerDrawerTitle": "aixautosdk Billing & Ledger",
|
|
1067
1069
|
"sdkSettings.recentActivity": "Recent wallet activity",
|
|
1068
1070
|
"sdkSettings.noActivity": "No wallet activity."
|
|
1069
1071
|
};
|
|
@@ -2127,6 +2129,8 @@ var zh = {
|
|
|
2127
2129
|
"sdkSettings.walletUnavailable": "\u6682\u65F6\u65E0\u6CD5\u8BFB\u53D6\uFF0C\u8BF7\u91CD\u8BD5\u3002",
|
|
2128
2130
|
"sdkSettings.topUp": "\u5145\u503C",
|
|
2129
2131
|
"sdkSettings.viewBilling": "\u8D26\u5355",
|
|
2132
|
+
"sdkSettings.viewLedger": "\u67E5\u770B\u6D41\u6C34",
|
|
2133
|
+
"sdkSettings.ledgerDrawerTitle": "aixautosdk \u8D26\u5355\u4E0E\u6D41\u6C34",
|
|
2130
2134
|
"sdkSettings.recentActivity": "\u8FD1\u671F\u94B1\u5305\u6D41\u6C34",
|
|
2131
2135
|
"sdkSettings.noActivity": "\u6682\u65E0\u6D41\u6C34\u3002"
|
|
2132
2136
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ControlBar, MirrorView } from './chunk-MBBVYSPD.js';
|
|
2
2
|
import { canConnectPhysicalDevice } from './chunk-ZB5ET67B.js';
|
|
3
|
-
import { Dialog, Select, Button, useToast, ToastViewport, Popover } from './chunk-
|
|
4
|
-
import { useAixT } from './chunk-
|
|
3
|
+
import { Dialog, Select, Button, useToast, ToastViewport, Popover } from './chunk-7GCAXBUH.js';
|
|
4
|
+
import { useAixT } from './chunk-RQA7P65K.js';
|
|
5
5
|
import { useClient, useDevices, useMirror, createAgentTaskRunner, useTaskAgentRun } from './chunk-UEZVXYGP.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';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { LogConsole } from './chunk-
|
|
2
|
-
import { cn, Button, Select } from './chunk-
|
|
1
|
+
import { LogConsole } from './chunk-OKNU6FSH.js';
|
|
2
|
+
import { cn, Button, Select } from './chunk-7GCAXBUH.js';
|
|
3
3
|
import { useDevices, useClient, useScripts, useScriptRun } from './chunk-UEZVXYGP.js';
|
|
4
4
|
import { variablesToSchema, normalizeDevices, schemaToVariables } from './chunk-ED6CB3B4.js';
|
|
5
5
|
import { useMemo, useState, useEffect, useRef, useCallback } from 'react';
|
package/dist/i18n/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { AixI18nProvider, useAixLang, useAixT } from '../chunk-
|
|
1
|
+
export { AixI18nProvider, useAixLang, useAixT } from '../chunk-RQA7P65K.js';
|
package/dist/ui/billing.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { RechargeMethods } from '../chunk-
|
|
2
|
-
export { BillingPage, RechargeDrawer, RechargeMethods, StripeTopupPanel, ledgerKindMeta } from '../chunk-
|
|
3
|
-
import { Button, cn, Input } from '../chunk-
|
|
4
|
-
import { useAixT } from '../chunk-
|
|
1
|
+
import { RechargeMethods } from '../chunk-APSXWTSO.js';
|
|
2
|
+
export { BillingPage, RechargeDrawer, RechargeMethods, StripeTopupPanel, ledgerKindMeta } from '../chunk-APSXWTSO.js';
|
|
3
|
+
import { Button, cn, Input } from '../chunk-7GCAXBUH.js';
|
|
4
|
+
import { useAixT } from '../chunk-RQA7P65K.js';
|
|
5
5
|
import { useBilling } from '../chunk-UEZVXYGP.js';
|
|
6
6
|
import '../chunk-ED6CB3B4.js';
|
|
7
7
|
import { normalizeTopupAmount, AixError } from '../chunk-OJK35AQD.js';
|
package/dist/ui/device-create.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
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-ACVKYB3F.js';
|
|
2
|
+
import '../chunk-H2AJLWCO.js';
|
|
3
|
+
import '../chunk-LHQ5MHQD.js';
|
|
4
4
|
import '../chunk-ZB5ET67B.js';
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-7GCAXBUH.js';
|
|
6
|
+
import '../chunk-RQA7P65K.js';
|
|
7
7
|
import '../chunk-UEZVXYGP.js';
|
|
8
8
|
import '../chunk-ED6CB3B4.js';
|
|
9
9
|
import '../chunk-OJK35AQD.js';
|
package/dist/ui/device-mirror.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { DeviceBootSplash, DeviceMirror, MirrorSurface, parseIosMediaCapabilities } from '../chunk-
|
|
1
|
+
export { DeviceBootSplash, DeviceMirror, MirrorSurface, parseIosMediaCapabilities } from '../chunk-UUTOAOW4.js';
|
|
2
2
|
import '../chunk-OEZFYKL6.js';
|
|
3
3
|
import '../chunk-MBBVYSPD.js';
|
|
4
4
|
import '../chunk-ZB5ET67B.js';
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-7GCAXBUH.js';
|
|
6
|
+
import '../chunk-RQA7P65K.js';
|
|
7
7
|
import '../chunk-UEZVXYGP.js';
|
|
8
8
|
import '../chunk-ED6CB3B4.js';
|
|
9
9
|
import '../chunk-OJK35AQD.js';
|
package/dist/ui/devices.d.ts
CHANGED
|
@@ -10,10 +10,14 @@ interface DevicesPageProps {
|
|
|
10
10
|
/** Render the page header actions (Refresh + Add device) into a host slot.
|
|
11
11
|
* When omitted the page renders its own inline action row above the toolbar. */
|
|
12
12
|
renderHeaderActions?: (actions: React.ReactNode) => React.ReactNode;
|
|
13
|
+
/** Optional summary content rendered on the left side of the single top header bar. */
|
|
14
|
+
headerLeft?: React.ReactNode;
|
|
15
|
+
/** Optional extra action buttons rendered inline before Refresh / Add device. */
|
|
16
|
+
headerExtraActions?: React.ReactNode;
|
|
13
17
|
/** Optional host transport for multi-device Claude/Codex tasks. */
|
|
14
18
|
taskAgentRunner?: TaskAgentRunner;
|
|
15
19
|
}
|
|
16
|
-
declare function DevicesPage({ taskAgentRunner: providedTaskAgentRunner }?: DevicesPageProps): react.JSX.Element;
|
|
20
|
+
declare function DevicesPage({ renderHeaderActions, headerLeft, headerExtraActions, taskAgentRunner: providedTaskAgentRunner, }?: DevicesPageProps): react.JSX.Element;
|
|
17
21
|
|
|
18
22
|
interface DeviceCardProps {
|
|
19
23
|
device: Device;
|
|
@@ -220,4 +224,4 @@ interface Props {
|
|
|
220
224
|
}
|
|
221
225
|
declare function NodeRegister({ open, onClose }: Props): react.JSX.Element;
|
|
222
226
|
|
|
223
|
-
export { BulkInstallAppsDialog, DeleteDeviceDialog, DeviceCard, DeviceConnect, DeviceDetailDrawer, DeviceEditDialog, DeviceSelector, DeviceTerminal, DevicesPage, FileManager, FingerprintPanel, GroupMirrorModal, NodeRegister, RecycleBinPanel, RefreshParamsButton, RunScriptDialog, ScriptParamForm, SharedParamsForm, ShortcutBar, ShortcutEditDialog, ShortcutRunDialog, TagEditor, TaskAgentDevice, TaskAgentDialog, TaskAgentRunner, resolveSharedRow, variablesToParams };
|
|
227
|
+
export { BulkInstallAppsDialog, DeleteDeviceDialog, DeviceCard, DeviceConnect, DeviceDetailDrawer, DeviceEditDialog, DeviceSelector, DeviceTerminal, DevicesPage, type DevicesPageProps, FileManager, FingerprintPanel, GroupMirrorModal, NodeRegister, RecycleBinPanel, RefreshParamsButton, RunScriptDialog, ScriptParamForm, SharedParamsForm, ShortcutBar, ShortcutEditDialog, ShortcutRunDialog, TagEditor, TaskAgentDevice, TaskAgentDialog, TaskAgentRunner, resolveSharedRow, variablesToParams };
|
package/dist/ui/devices.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../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-LNO4N3CX.js';
|
|
2
|
+
import '../chunk-OKNU6FSH.js';
|
|
3
|
+
import '../chunk-UUTOAOW4.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-ACVKYB3F.js';
|
|
7
|
+
import '../chunk-H2AJLWCO.js';
|
|
8
|
+
import '../chunk-LHQ5MHQD.js';
|
|
9
9
|
import '../chunk-ZB5ET67B.js';
|
|
10
|
-
import '../chunk-
|
|
11
|
-
import '../chunk-
|
|
10
|
+
import '../chunk-7GCAXBUH.js';
|
|
11
|
+
import '../chunk-RQA7P65K.js';
|
|
12
12
|
export { createAgentTaskRunner, preflightTaskAgentDevice } from '../chunk-UEZVXYGP.js';
|
|
13
13
|
import '../chunk-ED6CB3B4.js';
|
|
14
14
|
import '../chunk-OJK35AQD.js';
|
package/dist/ui/editor.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ScriptStudio } from '../chunk-
|
|
1
|
+
import { ScriptStudio } from '../chunk-V3TKO45N.js';
|
|
2
2
|
import { useAixNav } from '../chunk-5BMFMDQR.js';
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import { Select, cn } from '../chunk-
|
|
5
|
-
import { useAixT } from '../chunk-
|
|
3
|
+
import '../chunk-OKNU6FSH.js';
|
|
4
|
+
import { Select, cn } from '../chunk-7GCAXBUH.js';
|
|
5
|
+
import { useAixT } from '../chunk-RQA7P65K.js';
|
|
6
6
|
import { useClient } from '../chunk-UEZVXYGP.js';
|
|
7
7
|
import '../chunk-ED6CB3B4.js';
|
|
8
8
|
import '../chunk-OJK35AQD.js';
|
package/dist/ui/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
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, parseSdkUpdate, sdkVersion, verifySdkCompletion, vmPlan } from '../chunk-E7V7KP3L.js';
|
|
3
|
+
import '../chunk-APSXWTSO.js';
|
|
4
4
|
export { ControlBar, MirrorView } from '../chunk-MBBVYSPD.js';
|
|
5
|
-
export { IpCommercePanel } from '../chunk-
|
|
6
|
-
import '../chunk-
|
|
5
|
+
export { IpCommercePanel } from '../chunk-H2AJLWCO.js';
|
|
6
|
+
import '../chunk-LHQ5MHQD.js';
|
|
7
7
|
import '../chunk-ZB5ET67B.js';
|
|
8
|
-
import '../chunk-
|
|
9
|
-
import '../chunk-
|
|
8
|
+
import '../chunk-7GCAXBUH.js';
|
|
9
|
+
import '../chunk-RQA7P65K.js';
|
|
10
10
|
import { useScript } from '../chunk-UEZVXYGP.js';
|
|
11
11
|
import '../chunk-ED6CB3B4.js';
|
|
12
12
|
import '../chunk-OJK35AQD.js';
|
package/dist/ui/inspector.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Select, Button, cn, Input, Dialog } from '../chunk-
|
|
2
|
-
import { useAixT } from '../chunk-
|
|
1
|
+
import { Select, Button, cn, Input, Dialog } from '../chunk-7GCAXBUH.js';
|
|
2
|
+
import { useAixT } from '../chunk-RQA7P65K.js';
|
|
3
3
|
import { useInspectorView, useDevicesView, useClient, useLocators } from '../chunk-UEZVXYGP.js';
|
|
4
4
|
import '../chunk-ED6CB3B4.js';
|
|
5
5
|
import '../chunk-OJK35AQD.js';
|
package/dist/ui/ip-commerce.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '../chunk-ZCTAYVPK.js';
|
|
2
|
-
export { IpCommercePanel } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
2
|
+
export { IpCommercePanel } from '../chunk-H2AJLWCO.js';
|
|
3
|
+
import '../chunk-7GCAXBUH.js';
|
|
4
|
+
import '../chunk-RQA7P65K.js';
|
|
5
5
|
import '../chunk-UEZVXYGP.js';
|
|
6
6
|
import '../chunk-ED6CB3B4.js';
|
|
7
7
|
import '../chunk-OJK35AQD.js';
|
package/dist/ui/market.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Badge, Button, Dialog, Drawer, Input, Popover, Select, ToastViewport, cn, useToast } from '../../chunk-
|
|
1
|
+
export { Badge, Button, Dialog, Drawer, Input, Popover, Select, ToastViewport, cn, useToast } from '../../chunk-7GCAXBUH.js';
|
package/dist/ui/script-studio.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { CodeEditor, DeviceSelect, RunPanel, ScriptParamEditor, ScriptStudio, TimelineStep } from '../chunk-
|
|
2
|
-
export { LogConsole } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { CodeEditor, DeviceSelect, RunPanel, ScriptParamEditor, ScriptStudio, TimelineStep } from '../chunk-V3TKO45N.js';
|
|
2
|
+
export { LogConsole } from '../chunk-OKNU6FSH.js';
|
|
3
|
+
import '../chunk-7GCAXBUH.js';
|
|
4
4
|
import '../chunk-UEZVXYGP.js';
|
|
5
5
|
import '../chunk-ED6CB3B4.js';
|
|
6
6
|
import '../chunk-OJK35AQD.js';
|
package/dist/ui/scripts.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useAixNav } from '../chunk-5BMFMDQR.js';
|
|
2
|
-
import { cn, Badge, Button, Input } from '../chunk-
|
|
3
|
-
import { useAixT } from '../chunk-
|
|
2
|
+
import { cn, Badge, Button, Input } from '../chunk-7GCAXBUH.js';
|
|
3
|
+
import { useAixT } from '../chunk-RQA7P65K.js';
|
|
4
4
|
import { useScripts } from '../chunk-UEZVXYGP.js';
|
|
5
5
|
import '../chunk-ED6CB3B4.js';
|
|
6
6
|
import '../chunk-OJK35AQD.js';
|
package/dist/ui/settings.d.ts
CHANGED
|
@@ -94,12 +94,16 @@ interface SdkSettingsPageProps {
|
|
|
94
94
|
sections?: SdkSettingsSectionsConfig;
|
|
95
95
|
beforeSections?: ReactNode;
|
|
96
96
|
afterSections?: ReactNode;
|
|
97
|
+
/** Optional host plan/quota content rendered inline before the wallet section. */
|
|
98
|
+
beforeWallet?: ReactNode;
|
|
99
|
+
/** Optional host content rendered inline after the wallet section. */
|
|
100
|
+
afterWallet?: ReactNode;
|
|
97
101
|
/** Optional wrapper around gateway-backed sections (`wallet` + `nodeDetails`). */
|
|
98
102
|
wrapGatewaySections?: (render: (bridge?: SdkSettingsGatewayBridge) => ReactNode) => ReactNode;
|
|
99
103
|
renderNodeCapability?: SdkNodeCapabilityRenderer;
|
|
100
104
|
className?: string;
|
|
101
105
|
}
|
|
102
|
-
declare function SdkSettingsPage({ localRuntime, session, client, appName, channel, returnUrl, cancelUrl, openExternalUrl, onOpenRecharge, onTopupCompleted, subscribeBillingUpdated, walletBlockedMessage, sections, beforeSections, afterSections, wrapGatewaySections, renderNodeCapability, className, }: SdkSettingsPageProps): react.JSX.Element;
|
|
106
|
+
declare function SdkSettingsPage({ localRuntime, session, client, appName, channel, returnUrl, cancelUrl, openExternalUrl, onOpenRecharge, onTopupCompleted, subscribeBillingUpdated, walletBlockedMessage, sections, beforeSections, afterSections, beforeWallet, afterWallet, wrapGatewaySections, renderNodeCapability, className, }: SdkSettingsPageProps): react.JSX.Element;
|
|
103
107
|
|
|
104
108
|
interface SdkVersionSectionProps {
|
|
105
109
|
runtime: SdkLocalRuntimeAdapter;
|
package/dist/ui/settings.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
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-E7V7KP3L.js';
|
|
2
|
+
import '../chunk-APSXWTSO.js';
|
|
3
|
+
import '../chunk-LHQ5MHQD.js';
|
|
4
4
|
import '../chunk-ZB5ET67B.js';
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-7GCAXBUH.js';
|
|
6
|
+
import '../chunk-RQA7P65K.js';
|
|
7
7
|
import '../chunk-UEZVXYGP.js';
|
|
8
8
|
import '../chunk-ED6CB3B4.js';
|
|
9
9
|
import '../chunk-OJK35AQD.js';
|
package/dist/ui/tasks.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { SharedParamsForm, resolveSharedRow } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
import { SharedParamsForm, resolveSharedRow } from '../chunk-LNO4N3CX.js';
|
|
2
|
+
import '../chunk-OKNU6FSH.js';
|
|
3
|
+
import '../chunk-UUTOAOW4.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-ACVKYB3F.js';
|
|
7
|
+
import '../chunk-H2AJLWCO.js';
|
|
8
|
+
import '../chunk-LHQ5MHQD.js';
|
|
9
9
|
import '../chunk-ZB5ET67B.js';
|
|
10
|
-
import { Button, cn, Select, Input, Badge } from '../chunk-
|
|
11
|
-
import { useAixT } from '../chunk-
|
|
10
|
+
import { Button, cn, Select, Input, Badge } from '../chunk-7GCAXBUH.js';
|
|
11
|
+
import { useAixT } from '../chunk-RQA7P65K.js';
|
|
12
12
|
import { useDevicesView, useAutomationQueue, useClient, useAixConfig, useApiTokens } from '../chunk-UEZVXYGP.js';
|
|
13
13
|
import { targetParam, variablesToSchema, schemaDefaults } from '../chunk-ED6CB3B4.js';
|
|
14
14
|
import '../chunk-OJK35AQD.js';
|