@tangle-network/sandbox-ui 0.95.0 → 0.95.1
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-UKQOHN73.js → chunk-22JEBRUV.js} +1 -1
- package/dist/{chunk-UB3V2YAZ.js → chunk-VQZ6XDRR.js} +4 -7
- package/dist/dashboard.d.ts +2 -1
- package/dist/dashboard.js +1 -1
- package/dist/globals.css +6 -0
- package/dist/index.js +2 -2
- package/dist/styles.css +6 -0
- package/dist/workbench.js +2 -2
- package/package.json +1 -1
|
@@ -3777,7 +3777,7 @@ function NetworkConfig({ config, onUpdate, loading = false, className }) {
|
|
|
3777
3777
|
|
|
3778
3778
|
// src/dashboard/backend-config.tsx
|
|
3779
3779
|
import * as React16 from "react";
|
|
3780
|
-
import { Bot, Plus as Plus7,
|
|
3780
|
+
import { Bot, Plus as Plus7, Trash2 as Trash25, Server, Wrench } from "lucide-react";
|
|
3781
3781
|
import { Fragment as Fragment14, jsx as jsx25, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
3782
3782
|
function BackendConfig({
|
|
3783
3783
|
status,
|
|
@@ -3817,18 +3817,15 @@ function BackendConfig({
|
|
|
3817
3817
|
/* @__PURE__ */ jsxs24("div", { className: "rounded-lg border border-[var(--md3-outline-variant)] bg-surface-container overflow-hidden", children: [
|
|
3818
3818
|
/* @__PURE__ */ jsxs24("div", { className: "px-4 py-3 border-b border-[var(--md3-outline-variant)] bg-surface-container-high flex items-center justify-between", children: [
|
|
3819
3819
|
/* @__PURE__ */ jsx25("h4", { className: "text-xs font-medium text-muted-foreground uppercase tracking-wider", children: "Agent Status" }),
|
|
3820
|
-
/* @__PURE__ */
|
|
3820
|
+
onRestart ? /* @__PURE__ */ jsx25(
|
|
3821
3821
|
"button",
|
|
3822
3822
|
{
|
|
3823
3823
|
type: "button",
|
|
3824
3824
|
onClick: onRestart,
|
|
3825
3825
|
className: "inline-flex items-center gap-1.5 rounded-md bg-surface-container-high px-2.5 py-1 text-xs font-medium text-foreground hover:bg-surface-container-highest transition-colors border border-[var(--md3-outline-variant)]",
|
|
3826
|
-
children:
|
|
3827
|
-
/* @__PURE__ */ jsx25(RefreshCw2, { className: "h-3 w-3" }),
|
|
3828
|
-
"Restart"
|
|
3829
|
-
]
|
|
3826
|
+
children: "Restart"
|
|
3830
3827
|
}
|
|
3831
|
-
)
|
|
3828
|
+
) : null
|
|
3832
3829
|
] }),
|
|
3833
3830
|
/* @__PURE__ */ jsx25("div", { className: "p-4", children: /* @__PURE__ */ jsxs24("dl", { className: "grid grid-cols-[100px_1fr] gap-y-3 text-sm", children: [
|
|
3834
3831
|
/* @__PURE__ */ jsx25("dt", { className: "text-muted-foreground", children: "Status" }),
|
package/dist/dashboard.d.ts
CHANGED
|
@@ -1310,7 +1310,8 @@ interface BackendConfigProps {
|
|
|
1310
1310
|
args?: string[];
|
|
1311
1311
|
}) => void;
|
|
1312
1312
|
onRemoveMcp: (name: string) => void;
|
|
1313
|
-
|
|
1313
|
+
/** Render a restart action only when the host has a real restart operation. */
|
|
1314
|
+
onRestart?: () => void;
|
|
1314
1315
|
loading?: boolean;
|
|
1315
1316
|
className?: string;
|
|
1316
1317
|
}
|
package/dist/dashboard.js
CHANGED
package/dist/globals.css
CHANGED
|
@@ -1189,6 +1189,9 @@
|
|
|
1189
1189
|
.w-\[1000px\] {
|
|
1190
1190
|
width: 1000px;
|
|
1191
1191
|
}
|
|
1192
|
+
.w-\[calc\(100vw-32px\)\] {
|
|
1193
|
+
width: calc(100vw - 32px);
|
|
1194
|
+
}
|
|
1192
1195
|
.w-\[min\(88vw\,24rem\)\] {
|
|
1193
1196
|
width: min(88vw, 24rem);
|
|
1194
1197
|
}
|
|
@@ -1285,6 +1288,9 @@
|
|
|
1285
1288
|
.max-w-\[320px\] {
|
|
1286
1289
|
max-width: 320px;
|
|
1287
1290
|
}
|
|
1291
|
+
.max-w-\[420px\] {
|
|
1292
|
+
max-width: 420px;
|
|
1293
|
+
}
|
|
1288
1294
|
.max-w-\[460px\] {
|
|
1289
1295
|
max-width: 460px;
|
|
1290
1296
|
}
|
package/dist/index.js
CHANGED
|
@@ -152,7 +152,7 @@ import {
|
|
|
152
152
|
buildUnifiedPatch,
|
|
153
153
|
computeDiffStats,
|
|
154
154
|
resolveLanguage
|
|
155
|
-
} from "./chunk-
|
|
155
|
+
} from "./chunk-22JEBRUV.js";
|
|
156
156
|
import {
|
|
157
157
|
FileArtifactPane,
|
|
158
158
|
FilePreview,
|
|
@@ -217,7 +217,7 @@ import {
|
|
|
217
217
|
canAdminSandbox,
|
|
218
218
|
parseInsufficientBalance,
|
|
219
219
|
useSidebar
|
|
220
|
-
} from "./chunk-
|
|
220
|
+
} from "./chunk-VQZ6XDRR.js";
|
|
221
221
|
import {
|
|
222
222
|
BillingDashboard,
|
|
223
223
|
InfoPanel,
|
package/dist/styles.css
CHANGED
|
@@ -1189,6 +1189,9 @@
|
|
|
1189
1189
|
.w-\[1000px\] {
|
|
1190
1190
|
width: 1000px;
|
|
1191
1191
|
}
|
|
1192
|
+
.w-\[calc\(100vw-32px\)\] {
|
|
1193
|
+
width: calc(100vw - 32px);
|
|
1194
|
+
}
|
|
1192
1195
|
.w-\[min\(88vw\,24rem\)\] {
|
|
1193
1196
|
width: min(88vw, 24rem);
|
|
1194
1197
|
}
|
|
@@ -1285,6 +1288,9 @@
|
|
|
1285
1288
|
.max-w-\[320px\] {
|
|
1286
1289
|
max-width: 320px;
|
|
1287
1290
|
}
|
|
1291
|
+
.max-w-\[420px\] {
|
|
1292
|
+
max-width: 420px;
|
|
1293
|
+
}
|
|
1288
1294
|
.max-w-\[460px\] {
|
|
1289
1295
|
max-width: 460px;
|
|
1290
1296
|
}
|
package/dist/workbench.js
CHANGED
|
@@ -12,9 +12,9 @@ import {
|
|
|
12
12
|
buildUnifiedPatch,
|
|
13
13
|
computeDiffStats,
|
|
14
14
|
resolveLanguage
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-22JEBRUV.js";
|
|
16
16
|
import "./chunk-3J6FG3FJ.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-VQZ6XDRR.js";
|
|
18
18
|
import "./chunk-OMUIPJQZ.js";
|
|
19
19
|
import "./chunk-WYMAC3T3.js";
|
|
20
20
|
import "./chunk-KEYPUGS3.js";
|
package/package.json
CHANGED