@inf-monkeys-tech/monkeys-design 1.0.31 → 1.0.32
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/components/agent-workbench/index.d.mts +2 -1
- package/dist/components/agent-workbench/index.d.ts +2 -1
- package/dist/components/agent-workbench/index.js +7 -4
- package/dist/components/agent-workbench/index.js.map +1 -1
- package/dist/components/agent-workbench/index.mjs +7 -4
- package/dist/components/agent-workbench/index.mjs.map +1 -1
- package/dist/components/base/index.js +1 -1
- package/dist/components/base/index.js.map +1 -1
- package/dist/components/base/index.mjs +1 -1
- package/dist/components/base/index.mjs.map +1 -1
- package/dist/components/data-explorer/index.js +1 -1
- package/dist/components/data-explorer/index.js.map +1 -1
- package/dist/components/data-explorer/index.mjs +1 -1
- package/dist/components/data-explorer/index.mjs.map +1 -1
- package/dist/components/layout/index.js +1 -1
- package/dist/components/layout/index.js.map +1 -1
- package/dist/components/layout/index.mjs +1 -1
- package/dist/components/layout/index.mjs.map +1 -1
- package/dist/components/runtime/index.js +1 -1
- package/dist/components/runtime/index.js.map +1 -1
- package/dist/components/runtime/index.mjs +1 -1
- package/dist/components/runtime/index.mjs.map +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/components/toast/index.js.map +1 -1
- package/dist/components/toast/index.mjs +1 -1
- package/dist/components/toast/index.mjs.map +1 -1
- package/dist/components/toolbar/index.js +1 -1
- package/dist/components/toolbar/index.js.map +1 -1
- package/dist/components/toolbar/index.mjs +1 -1
- package/dist/components/toolbar/index.mjs.map +1 -1
- package/dist/components/workbench/index.js +1 -1
- package/dist/components/workbench/index.js.map +1 -1
- package/dist/components/workbench/index.mjs +1 -1
- package/dist/components/workbench/index.mjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/dist/locale/index.js +2 -2
- package/dist/locale/index.js.map +1 -1
- package/dist/locale/index.mjs +2 -2
- package/dist/locale/index.mjs.map +1 -1
- package/dist/provider/index.js +2 -2
- package/dist/provider/index.js.map +1 -1
- package/dist/provider/index.mjs +2 -2
- package/dist/provider/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -175,7 +175,7 @@ var enUS = {
|
|
|
175
175
|
process: {
|
|
176
176
|
running: "Working",
|
|
177
177
|
processed: "Processed",
|
|
178
|
-
processedFor: ({ duration }) => `
|
|
178
|
+
processedFor: ({ duration }) => `Worked for ${duration}`,
|
|
179
179
|
completedCount: ({ completed, total }) => `${completed}/${total} completed`
|
|
180
180
|
},
|
|
181
181
|
artifactWorkspace: {
|
|
@@ -2422,8 +2422,10 @@ function AgentWorkbenchThread({
|
|
|
2422
2422
|
}
|
|
2423
2423
|
function formatDuration3(durationMs) {
|
|
2424
2424
|
const totalSeconds = Math.max(0, Math.floor(durationMs / 1e3));
|
|
2425
|
-
const
|
|
2425
|
+
const hours = Math.floor(totalSeconds / 3600);
|
|
2426
|
+
const minutes = Math.floor(totalSeconds % 3600 / 60);
|
|
2426
2427
|
const seconds = totalSeconds % 60;
|
|
2428
|
+
if (hours > 0) return minutes > 0 ? `${hours}h ${minutes}m` : `${hours}h`;
|
|
2427
2429
|
if (minutes === 0) return `${seconds}s`;
|
|
2428
2430
|
return `${minutes}m ${seconds}s`;
|
|
2429
2431
|
}
|
|
@@ -2441,7 +2443,8 @@ function AgentWorkbenchProcess({
|
|
|
2441
2443
|
onOpenChange,
|
|
2442
2444
|
className,
|
|
2443
2445
|
contentClassName,
|
|
2444
|
-
label
|
|
2446
|
+
label,
|
|
2447
|
+
showStatusIcon = true
|
|
2445
2448
|
}) {
|
|
2446
2449
|
const messages = useMonkeysLocaleMessages().agentWorkbench;
|
|
2447
2450
|
const controlled = open !== void 0;
|
|
@@ -2475,7 +2478,7 @@ function AgentWorkbenchProcess({
|
|
|
2475
2478
|
{
|
|
2476
2479
|
className: "flex min-h-9 w-full min-w-0 items-center gap-2 border-b border-border/70 py-2 text-left text-sm text-muted-foreground outline-none transition-colors hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring",
|
|
2477
2480
|
children: [
|
|
2478
|
-
isActive(status) ? /* @__PURE__ */ jsx(Loader2, { className: "size-4 shrink-0 animate-spin", "aria-hidden": "true" }) : status === "failed" ? /* @__PURE__ */ jsx(CircleAlert, { className: "size-4 shrink-0 text-destructive-text", "aria-hidden": "true" }) : /* @__PURE__ */ jsx(Clock3, { className: "size-4 shrink-0", "aria-hidden": "true" }),
|
|
2481
|
+
showStatusIcon ? isActive(status) ? /* @__PURE__ */ jsx(Loader2, { className: "size-4 shrink-0 animate-spin", "aria-hidden": "true" }) : status === "failed" ? /* @__PURE__ */ jsx(CircleAlert, { className: "size-4 shrink-0 text-destructive-text", "aria-hidden": "true" }) : /* @__PURE__ */ jsx(Clock3, { className: "size-4 shrink-0", "aria-hidden": "true" }) : null,
|
|
2479
2482
|
/* @__PURE__ */ jsx("span", { className: "min-w-0 flex-1 truncate", children: title }),
|
|
2480
2483
|
showCount ? /* @__PURE__ */ jsx("span", { className: "shrink-0 rounded-full bg-muted px-2 py-0.5 text-xs text-foreground", children: messages.process.completedCount({
|
|
2481
2484
|
completed: completedCount ?? 0,
|