@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
|
@@ -576,7 +576,7 @@ function ContextRulesTable({
|
|
|
576
576
|
},
|
|
577
577
|
rowId(row)
|
|
578
578
|
);
|
|
579
|
-
const heading = (props) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Heading, { ...props,
|
|
579
|
+
const heading = (props) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Heading, { ...props, comfortable, readOnly }, props.id);
|
|
580
580
|
const renderLevel = (level, depth) => {
|
|
581
581
|
const all = levelRows(level);
|
|
582
582
|
const name = level.ref.path[level.ref.path.length - 1] ?? "";
|
|
@@ -673,7 +673,6 @@ function Heading({
|
|
|
673
673
|
checked,
|
|
674
674
|
onToggle,
|
|
675
675
|
noSwitch,
|
|
676
|
-
grid,
|
|
677
676
|
comfortable,
|
|
678
677
|
readOnly
|
|
679
678
|
}) {
|
|
@@ -686,28 +685,26 @@ function Heading({
|
|
|
686
685
|
role: "row",
|
|
687
686
|
"data-heading": kind,
|
|
688
687
|
className: (0, import_design_system2.cn)(
|
|
689
|
-
|
|
690
|
-
"
|
|
691
|
-
comfortable ? "min-h-11" : "h-7",
|
|
688
|
+
"flex items-center gap-2 border-b border-border/50 font-medium",
|
|
689
|
+
comfortable ? "min-h-11 px-3" : "h-7 px-2",
|
|
692
690
|
kind === "group" ? "bg-muted/25 text-muted-foreground" : "bg-muted/60 text-foreground"
|
|
693
691
|
),
|
|
694
692
|
children: [
|
|
695
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.
|
|
696
|
-
|
|
697
|
-
total > 0 ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", {
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { role: "cell" })
|
|
693
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { role: "cell", className: (0, import_design_system2.cn)("flex min-w-0 flex-1 items-center", indent(depth)), children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "min-w-0 truncate", title: label, children: label }) }),
|
|
694
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { role: "cell", className: "flex shrink-0 items-center gap-2 font-normal tabular-nums text-muted-foreground", children: [
|
|
695
|
+
total > 0 ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { children: count === total ? total : `${count}/${total}` }) : null,
|
|
696
|
+
total > 0 ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { children: charsLabel }) : null,
|
|
697
|
+
showSwitch ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
698
|
+
import_design_system2.Switch,
|
|
699
|
+
{
|
|
700
|
+
size: "sm",
|
|
701
|
+
"aria-label": `Include ${switchName}`,
|
|
702
|
+
checked,
|
|
703
|
+
disabled: readOnly || !onToggle,
|
|
704
|
+
onCheckedChange: (next) => onToggle?.(next)
|
|
705
|
+
}
|
|
706
|
+
) : null
|
|
707
|
+
] })
|
|
711
708
|
]
|
|
712
709
|
}
|
|
713
710
|
);
|
|
@@ -1044,7 +1041,7 @@ function ContextRulesChip({
|
|
|
1044
1041
|
import_design_system3.PopoverContent,
|
|
1045
1042
|
{
|
|
1046
1043
|
align: "end",
|
|
1047
|
-
className: "w-[
|
|
1044
|
+
className: "w-[30rem] max-w-[calc(100vw-1rem)] overflow-hidden p-0",
|
|
1048
1045
|
children: body
|
|
1049
1046
|
}
|
|
1050
1047
|
)
|