@ai-matrx/agents 0.42.0 → 0.42.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/CHANGELOG.md +7 -0
- package/dist/content-transfer/index.cjs.map +1 -1
- package/dist/content-transfer/index.js.map +1 -1
- package/dist/content-transfer/react/index.cjs.map +1 -1
- package/dist/content-transfer/react/index.js.map +1 -1
- package/dist/context/react/index.cjs +19 -22
- package/dist/context/react/index.cjs.map +1 -1
- package/dist/context/react/index.js +19 -22
- package/dist/context/react/index.js.map +1 -1
- package/dist/generated/workflow-events.cjs.map +1 -1
- package/dist/generated/workflow-events.d.cts +1 -0
- package/dist/generated/workflow-events.d.ts +1 -0
- package/dist/generated/workflow-events.js.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/{keys.generated-DsQcsQuC.d.cts → keys.generated-CtmYvYsN.d.cts} +4 -4
- package/dist/{keys.generated-DsQcsQuC.d.ts → keys.generated-CtmYvYsN.d.ts} +4 -4
- package/dist/mandates/index.cjs +2 -2
- package/dist/mandates/index.cjs.map +1 -1
- package/dist/mandates/index.d.cts +2 -2
- package/dist/mandates/index.d.ts +2 -2
- package/dist/mandates/index.js +2 -2
- package/dist/mandates/index.js.map +1 -1
- package/dist/matrx/index.d.cts +1 -1
- package/dist/matrx/index.d.ts +1 -1
- package/generated/workflow-events.ts +1 -0
- package/mandates/snapshots/keys.0.42.1.json +653 -0
- package/package.json +3 -3
|
@@ -541,7 +541,7 @@ function ContextRulesTable({
|
|
|
541
541
|
},
|
|
542
542
|
rowId(row)
|
|
543
543
|
);
|
|
544
|
-
const heading = (props) => /* @__PURE__ */ jsx3(Heading, { ...props,
|
|
544
|
+
const heading = (props) => /* @__PURE__ */ jsx3(Heading, { ...props, comfortable, readOnly }, props.id);
|
|
545
545
|
const renderLevel = (level, depth) => {
|
|
546
546
|
const all = levelRows(level);
|
|
547
547
|
const name = level.ref.path[level.ref.path.length - 1] ?? "";
|
|
@@ -638,7 +638,6 @@ function Heading({
|
|
|
638
638
|
checked,
|
|
639
639
|
onToggle,
|
|
640
640
|
noSwitch,
|
|
641
|
-
grid,
|
|
642
641
|
comfortable,
|
|
643
642
|
readOnly
|
|
644
643
|
}) {
|
|
@@ -651,28 +650,26 @@ function Heading({
|
|
|
651
650
|
role: "row",
|
|
652
651
|
"data-heading": kind,
|
|
653
652
|
className: cn2(
|
|
654
|
-
|
|
655
|
-
"
|
|
656
|
-
comfortable ? "min-h-11" : "h-7",
|
|
653
|
+
"flex items-center gap-2 border-b border-border/50 font-medium",
|
|
654
|
+
comfortable ? "min-h-11 px-3" : "h-7 px-2",
|
|
657
655
|
kind === "group" ? "bg-muted/25 text-muted-foreground" : "bg-muted/60 text-foreground"
|
|
658
656
|
),
|
|
659
657
|
children: [
|
|
660
|
-
/* @__PURE__ */
|
|
661
|
-
|
|
662
|
-
total > 0 ? /* @__PURE__ */ jsx3("span", {
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
/* @__PURE__ */ jsx3("div", { role: "cell" })
|
|
658
|
+
/* @__PURE__ */ jsx3("div", { role: "cell", className: cn2("flex min-w-0 flex-1 items-center", indent(depth)), children: /* @__PURE__ */ jsx3("span", { className: "min-w-0 truncate", title: label, children: label }) }),
|
|
659
|
+
/* @__PURE__ */ jsxs3("div", { role: "cell", className: "flex shrink-0 items-center gap-2 font-normal tabular-nums text-muted-foreground", children: [
|
|
660
|
+
total > 0 ? /* @__PURE__ */ jsx3("span", { children: count === total ? total : `${count}/${total}` }) : null,
|
|
661
|
+
total > 0 ? /* @__PURE__ */ jsx3("span", { children: charsLabel }) : null,
|
|
662
|
+
showSwitch ? /* @__PURE__ */ jsx3(
|
|
663
|
+
Switch,
|
|
664
|
+
{
|
|
665
|
+
size: "sm",
|
|
666
|
+
"aria-label": `Include ${switchName}`,
|
|
667
|
+
checked,
|
|
668
|
+
disabled: readOnly || !onToggle,
|
|
669
|
+
onCheckedChange: (next) => onToggle?.(next)
|
|
670
|
+
}
|
|
671
|
+
) : null
|
|
672
|
+
] })
|
|
676
673
|
]
|
|
677
674
|
}
|
|
678
675
|
);
|
|
@@ -1020,7 +1017,7 @@ function ContextRulesChip({
|
|
|
1020
1017
|
PopoverContent2,
|
|
1021
1018
|
{
|
|
1022
1019
|
align: "end",
|
|
1023
|
-
className: "w-[
|
|
1020
|
+
className: "w-[30rem] max-w-[calc(100vw-1rem)] overflow-hidden p-0",
|
|
1024
1021
|
children: body
|
|
1025
1022
|
}
|
|
1026
1023
|
)
|