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.mjs CHANGED
@@ -37315,7 +37315,7 @@ var MultiAgentCard = ({
37315
37315
  "div",
37316
37316
  {
37317
37317
  className: cn(
37318
- "my-3 rounded-xl border border-[var(--border-color)] bg-[var(--card-background)] overflow-hidden",
37318
+ "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",
37319
37319
  className
37320
37320
  ),
37321
37321
  children: [
@@ -37337,7 +37337,7 @@ var MultiAgentCard = ({
37337
37337
  }
37338
37338
  )
37339
37339
  ] }),
37340
- /* @__PURE__ */ jsx128("p", { className: "text-xs text-[var(--foreground)]/60 leading-relaxed mt-1", children: description })
37340
+ /* @__PURE__ */ jsx128("p", { className: "text-xs text-[var(--foreground)]/60 leading-relaxed mt-1 whitespace-normal", style: { textWrap: "auto" }, children: description })
37341
37341
  ] })
37342
37342
  ] }),
37343
37343
  stages.length > 0 && /* @__PURE__ */ jsxs87("div", { className: "border-t border-[var(--border-color)] px-5 py-4", children: [
@@ -37395,7 +37395,7 @@ var MultiAgentPlan = ({
37395
37395
  "div",
37396
37396
  {
37397
37397
  className: cn(
37398
- "my-3 rounded-xl border border-[var(--border-color)] bg-[var(--card-background)] overflow-hidden",
37398
+ "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",
37399
37399
  className
37400
37400
  ),
37401
37401
  children: [
@@ -37416,14 +37416,21 @@ var MultiAgentPlan = ({
37416
37416
  /* @__PURE__ */ jsx129("span", { className: "text-xs font-semibold text-[var(--foreground)]", children: "Proposed Multi-Agent Workflow" }),
37417
37417
  /* @__PURE__ */ jsx129("span", { className: "text-[10px] px-1.5 py-0.5 rounded-full bg-amber-500/10 text-amber-600 font-medium", children: "Draft" })
37418
37418
  ] }) }),
37419
- /* @__PURE__ */ jsx129("div", { className: "px-4 py-3", children: /* @__PURE__ */ jsx129("div", { className: "flex flex-col gap-0", children: stages.map((stage, idx) => /* @__PURE__ */ jsxs88("div", { className: "flex items-stretch", children: [
37419
+ /* @__PURE__ */ jsx129("div", { className: "px-4 py-3", children: /* @__PURE__ */ jsx129("div", { className: "flex flex-col gap-0", children: stages.map((stage, idx) => /* @__PURE__ */ jsxs88("div", { className: "flex items-stretch min-w-0", children: [
37420
37420
  /* @__PURE__ */ jsxs88("div", { className: "flex flex-col items-center mr-3 w-6", children: [
37421
37421
  /* @__PURE__ */ jsx129("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 }),
37422
37422
  idx < stages.length - 1 && /* @__PURE__ */ jsx129("div", { className: "w-px flex-1 bg-[var(--primary-color)]/20 min-h-[12px]" })
37423
37423
  ] }),
37424
- /* @__PURE__ */ jsxs88("div", { className: "flex-1 mb-2 pb-2", children: [
37424
+ /* @__PURE__ */ jsxs88("div", { className: "flex-1 mb-2 pb-2 min-w-0", children: [
37425
37425
  /* @__PURE__ */ jsx129("p", { className: "text-xs font-semibold text-[var(--foreground)]", children: stage.name }),
37426
- stage.description && /* @__PURE__ */ jsx129("p", { className: "text-[11px] text-[var(--foreground)]/50 mt-0.5", children: stage.description }),
37426
+ stage.description && /* @__PURE__ */ jsx129(
37427
+ "p",
37428
+ {
37429
+ className: "text-[11px] text-[var(--foreground)]/50 mt-0.5 whitespace-normal",
37430
+ style: { textWrap: "auto" },
37431
+ children: stage.description
37432
+ }
37433
+ ),
37427
37434
  stage.proposed_tools && stage.proposed_tools.length > 0 && /* @__PURE__ */ jsx129("div", { className: "flex flex-wrap gap-1 mt-1.5", children: stage.proposed_tools.map((tool) => /* @__PURE__ */ jsx129(
37428
37435
  "span",
37429
37436
  {
@@ -37497,7 +37504,7 @@ var MultiAgentUISelector = ({
37497
37504
  "div",
37498
37505
  {
37499
37506
  className: cn(
37500
- "my-3 rounded-xl border border-[var(--border-color)] bg-[var(--card-background)] overflow-hidden",
37507
+ "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",
37501
37508
  className
37502
37509
  ),
37503
37510
  children: [
@@ -37554,7 +37561,7 @@ var MultiAgentUISelector = ({
37554
37561
  onClick: () => toggleComponent(activeStageId, comp.name),
37555
37562
  disabled: submitted,
37556
37563
  className: cn(
37557
- "text-left p-2.5 rounded-lg border text-[11px] transition-all",
37564
+ "text-left p-2.5 rounded-lg border text-[11px] transition-all overflow-hidden",
37558
37565
  isSelected ? "border-[var(--primary-color)] bg-[var(--primary-color)]/5" : "border-[var(--border-color)] hover:border-[var(--primary-color)]/50",
37559
37566
  submitted && "opacity-60 cursor-default"
37560
37567
  ),
@@ -37583,7 +37590,7 @@ var MultiAgentUISelector = ({
37583
37590
  ),
37584
37591
  /* @__PURE__ */ jsx130("span", { className: "font-medium text-[var(--foreground)]", children: comp.display_name })
37585
37592
  ] }),
37586
- /* @__PURE__ */ jsx130("p", { className: "text-[10px] text-[var(--foreground)]/40 mt-0.5 ml-5", children: comp.description })
37593
+ /* @__PURE__ */ jsx130("p", { className: "text-[10px] text-[var(--foreground)]/40 mt-0.5 ml-5 whitespace-normal", children: comp.description })
37587
37594
  ]
37588
37595
  },
37589
37596
  comp.name
@@ -37599,7 +37606,7 @@ var MultiAgentUISelector = ({
37599
37606
  children: "Continue"
37600
37607
  }
37601
37608
  ) }),
37602
- submitted && /* @__PURE__ */ jsx130("div", { className: "px-4 pb-3", children: /* @__PURE__ */ jsx130("div", { className: "text-[10px] text-emerald-600 font-medium text-center py-1.5", children: "Selections confirmed" }) })
37609
+ submitted && /* @__PURE__ */ jsx130("div", { className: "px-4 pb-3", children: /* @__PURE__ */ jsx130("div", { className: "text-[10px] text-emerald-600 font-medium text-center py-1.5 ", children: "Selections confirmed" }) })
37603
37610
  ]
37604
37611
  }
37605
37612
  );
@@ -39550,6 +39557,7 @@ var PXEngineRenderer = ({
39550
39557
  console.warn(
39551
39558
  `[PXEngineRenderer] Component not found: ${componentName}`
39552
39559
  );
39560
+ return null;
39553
39561
  }
39554
39562
  }
39555
39563
  const resolvedNormalized = resolvedIdentifier.charAt(0).toUpperCase() + resolvedIdentifier.slice(1);