pxengine 0.1.36 → 0.1.38
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/index.cjs +18 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +18 -10
- package/dist/index.mjs.map +1 -1
- package/dist/registry.json +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -37595,7 +37595,7 @@ var MultiAgentCard = ({
|
|
|
37595
37595
|
"div",
|
|
37596
37596
|
{
|
|
37597
37597
|
className: cn(
|
|
37598
|
-
"my-3 rounded-xl border border-[var(--border-color)] bg-[var(--card-background)] overflow-hidden",
|
|
37598
|
+
"text-foreground hover:bg-muted/50 hover:text-foreground my-3 rounded-xl border border-[var(--border-color)] bg-[var(--card-background)] overflow-hidden shadow-sm",
|
|
37599
37599
|
className
|
|
37600
37600
|
),
|
|
37601
37601
|
children: [
|
|
@@ -37617,7 +37617,7 @@ var MultiAgentCard = ({
|
|
|
37617
37617
|
}
|
|
37618
37618
|
)
|
|
37619
37619
|
] }),
|
|
37620
|
-
/* @__PURE__ */ (0, import_jsx_runtime128.jsx)("p", { className: "text-xs text-[var(--foreground)]/60 leading-relaxed mt-1", children: description })
|
|
37620
|
+
/* @__PURE__ */ (0, import_jsx_runtime128.jsx)("p", { className: "text-xs text-[var(--foreground)]/60 leading-relaxed mt-1 whitespace-normal", style: { textWrap: "auto" }, children: description })
|
|
37621
37621
|
] })
|
|
37622
37622
|
] }),
|
|
37623
37623
|
stages.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime128.jsxs)("div", { className: "border-t border-[var(--border-color)] px-5 py-4", children: [
|
|
@@ -37675,7 +37675,7 @@ var MultiAgentPlan = ({
|
|
|
37675
37675
|
"div",
|
|
37676
37676
|
{
|
|
37677
37677
|
className: cn(
|
|
37678
|
-
"my-3 rounded-xl border border-[var(--border-color)] bg-[var(--card-background)] overflow-hidden",
|
|
37678
|
+
"text-foreground hover:bg-muted/50 hover:text-foreground my-3 rounded-xl border border-[var(--border-color)] bg-[var(--card-background)] overflow-hidden shadow-sm",
|
|
37679
37679
|
className
|
|
37680
37680
|
),
|
|
37681
37681
|
children: [
|
|
@@ -37696,14 +37696,21 @@ var MultiAgentPlan = ({
|
|
|
37696
37696
|
/* @__PURE__ */ (0, import_jsx_runtime129.jsx)("span", { className: "text-xs font-semibold text-[var(--foreground)]", children: "Proposed Multi-Agent Workflow" }),
|
|
37697
37697
|
/* @__PURE__ */ (0, import_jsx_runtime129.jsx)("span", { className: "text-[10px] px-1.5 py-0.5 rounded-full bg-amber-500/10 text-amber-600 font-medium", children: "Draft" })
|
|
37698
37698
|
] }) }),
|
|
37699
|
-
/* @__PURE__ */ (0, import_jsx_runtime129.jsx)("div", { className: "px-4 py-3", children: /* @__PURE__ */ (0, import_jsx_runtime129.jsx)("div", { className: "flex flex-col gap-0", children: stages.map((stage, idx) => /* @__PURE__ */ (0, import_jsx_runtime129.jsxs)("div", { className: "flex items-stretch", children: [
|
|
37699
|
+
/* @__PURE__ */ (0, import_jsx_runtime129.jsx)("div", { className: "px-4 py-3", children: /* @__PURE__ */ (0, import_jsx_runtime129.jsx)("div", { className: "flex flex-col gap-0", children: stages.map((stage, idx) => /* @__PURE__ */ (0, import_jsx_runtime129.jsxs)("div", { className: "flex items-stretch min-w-0", children: [
|
|
37700
37700
|
/* @__PURE__ */ (0, import_jsx_runtime129.jsxs)("div", { className: "flex flex-col items-center mr-3 w-6", children: [
|
|
37701
37701
|
/* @__PURE__ */ (0, import_jsx_runtime129.jsx)("div", { className: "w-6 h-6 rounded-full flex items-center justify-center text-[10px] font-bold shrink-0 bg-[var(--primary-color)]/10 text-[var(--primary-color)] border border-[var(--primary-color)]/30", children: idx + 1 }),
|
|
37702
37702
|
idx < stages.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime129.jsx)("div", { className: "w-px flex-1 bg-[var(--primary-color)]/20 min-h-[12px]" })
|
|
37703
37703
|
] }),
|
|
37704
|
-
/* @__PURE__ */ (0, import_jsx_runtime129.jsxs)("div", { className: "flex-1 mb-2 pb-2", children: [
|
|
37704
|
+
/* @__PURE__ */ (0, import_jsx_runtime129.jsxs)("div", { className: "flex-1 mb-2 pb-2 min-w-0", children: [
|
|
37705
37705
|
/* @__PURE__ */ (0, import_jsx_runtime129.jsx)("p", { className: "text-xs font-semibold text-[var(--foreground)]", children: stage.name }),
|
|
37706
|
-
stage.description && /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(
|
|
37706
|
+
stage.description && /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(
|
|
37707
|
+
"p",
|
|
37708
|
+
{
|
|
37709
|
+
className: "text-[11px] text-[var(--foreground)]/50 mt-0.5 whitespace-normal",
|
|
37710
|
+
style: { textWrap: "auto" },
|
|
37711
|
+
children: stage.description
|
|
37712
|
+
}
|
|
37713
|
+
),
|
|
37707
37714
|
stage.proposed_tools && stage.proposed_tools.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime129.jsx)("div", { className: "flex flex-wrap gap-1 mt-1.5", children: stage.proposed_tools.map((tool) => /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(
|
|
37708
37715
|
"span",
|
|
37709
37716
|
{
|
|
@@ -37777,7 +37784,7 @@ var MultiAgentUISelector = ({
|
|
|
37777
37784
|
"div",
|
|
37778
37785
|
{
|
|
37779
37786
|
className: cn(
|
|
37780
|
-
"my-3 rounded-xl border border-[var(--border-color)] bg-[var(--card-background)] overflow-hidden",
|
|
37787
|
+
"text-foreground hover:bg-muted/50 hover:text-foreground my-3 rounded-xl border border-[var(--border-color)] bg-[var(--card-background)] overflow-hidden shadow-sm",
|
|
37781
37788
|
className
|
|
37782
37789
|
),
|
|
37783
37790
|
children: [
|
|
@@ -37834,7 +37841,7 @@ var MultiAgentUISelector = ({
|
|
|
37834
37841
|
onClick: () => toggleComponent(activeStageId, comp.name),
|
|
37835
37842
|
disabled: submitted,
|
|
37836
37843
|
className: cn(
|
|
37837
|
-
"text-left p-2.5 rounded-lg border text-[11px] transition-all",
|
|
37844
|
+
"text-left p-2.5 rounded-lg border text-[11px] transition-all overflow-hidden",
|
|
37838
37845
|
isSelected ? "border-[var(--primary-color)] bg-[var(--primary-color)]/5" : "border-[var(--border-color)] hover:border-[var(--primary-color)]/50",
|
|
37839
37846
|
submitted && "opacity-60 cursor-default"
|
|
37840
37847
|
),
|
|
@@ -37863,7 +37870,7 @@ var MultiAgentUISelector = ({
|
|
|
37863
37870
|
),
|
|
37864
37871
|
/* @__PURE__ */ (0, import_jsx_runtime130.jsx)("span", { className: "font-medium text-[var(--foreground)]", children: comp.display_name })
|
|
37865
37872
|
] }),
|
|
37866
|
-
/* @__PURE__ */ (0, import_jsx_runtime130.jsx)("p", { className: "text-[10px] text-[var(--foreground)]/40 mt-0.5 ml-5", children: comp.description })
|
|
37873
|
+
/* @__PURE__ */ (0, import_jsx_runtime130.jsx)("p", { className: "text-[10px] text-[var(--foreground)]/40 mt-0.5 ml-5 whitespace-normal", children: comp.description })
|
|
37867
37874
|
]
|
|
37868
37875
|
},
|
|
37869
37876
|
comp.name
|
|
@@ -37879,7 +37886,7 @@ var MultiAgentUISelector = ({
|
|
|
37879
37886
|
children: "Continue"
|
|
37880
37887
|
}
|
|
37881
37888
|
) }),
|
|
37882
|
-
submitted && /* @__PURE__ */ (0, import_jsx_runtime130.jsx)("div", { className: "px-4 pb-3", children: /* @__PURE__ */ (0, import_jsx_runtime130.jsx)("div", { className: "text-[10px] text-emerald-600 font-medium text-center py-1.5", children: "Selections confirmed" }) })
|
|
37889
|
+
submitted && /* @__PURE__ */ (0, import_jsx_runtime130.jsx)("div", { className: "px-4 pb-3", children: /* @__PURE__ */ (0, import_jsx_runtime130.jsx)("div", { className: "text-[10px] text-emerald-600 font-medium text-center py-1.5 ", children: "Selections confirmed" }) })
|
|
37883
37890
|
]
|
|
37884
37891
|
}
|
|
37885
37892
|
);
|
|
@@ -39830,6 +39837,7 @@ var PXEngineRenderer = ({
|
|
|
39830
39837
|
console.warn(
|
|
39831
39838
|
`[PXEngineRenderer] Component not found: ${componentName}`
|
|
39832
39839
|
);
|
|
39840
|
+
return null;
|
|
39833
39841
|
}
|
|
39834
39842
|
}
|
|
39835
39843
|
const resolvedNormalized = resolvedIdentifier.charAt(0).toUpperCase() + resolvedIdentifier.slice(1);
|