@ai-matrx/agents 0.43.3 → 0.43.5
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 +12 -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 +3 -0
- package/dist/context/react/index.cjs.map +1 -1
- package/dist/context/react/index.d.cts +7 -1
- package/dist/context/react/index.d.ts +7 -1
- package/dist/context/react/index.js +3 -0
- package/dist/context/react/index.js.map +1 -1
- package/dist/generated/api-types.cjs.map +1 -1
- package/dist/generated/api-types.d.cts +1659 -277
- package/dist/generated/api-types.d.ts +1659 -277
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/{keys.generated-DarVIBf-.d.cts → keys.generated-DXcVp9h6.d.cts} +4 -4
- package/dist/{keys.generated-DarVIBf-.d.ts → keys.generated-DXcVp9h6.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/api-types.ts +1659 -277
- package/mandates/snapshots/keys.0.43.4.json +653 -0
- package/mandates/snapshots/keys.0.43.5.json +653 -0
- package/package.json +3 -3
|
@@ -348,6 +348,12 @@ interface ContextRulesChipProps {
|
|
|
348
348
|
readOnly?: boolean | undefined;
|
|
349
349
|
open?: boolean;
|
|
350
350
|
onOpenChange?: (open: boolean) => void;
|
|
351
|
+
/**
|
|
352
|
+
* The chip toggles a view the host shows elsewhere (a canvas tab): `true`
|
|
353
|
+
* while that view is in front. Sets `aria-pressed` and the pressed face.
|
|
354
|
+
* Omitted: the chip is a plain popover trigger, no pressed state.
|
|
355
|
+
*/
|
|
356
|
+
pressed?: boolean | undefined;
|
|
351
357
|
className?: string;
|
|
352
358
|
}
|
|
353
359
|
/**
|
|
@@ -355,7 +361,7 @@ interface ContextRulesChipProps {
|
|
|
355
361
|
* "N · chars" summary, page master switch, reset-all, full view) over the
|
|
356
362
|
* compact rules table. Popover on desktop, bottom sheet on mobile.
|
|
357
363
|
*/
|
|
358
|
-
declare function ContextRulesChip({ label, rows, cap, on, onToggleAll, hierarchy, onSetInclude, onChange, onResetAll, onOpenFullView, mismatchCount, modelReadsContext, mismatches, onOpenRow, isMobile, readOnly, open: openProp, onOpenChange, className, }: ContextRulesChipProps): react.JSX.Element;
|
|
364
|
+
declare function ContextRulesChip({ label, rows, cap, on, onToggleAll, hierarchy, onSetInclude, onChange, onResetAll, onOpenFullView, mismatchCount, modelReadsContext, mismatches, onOpenRow, isMobile, readOnly, open: openProp, onOpenChange, pressed, className, }: ContextRulesChipProps): react.JSX.Element;
|
|
359
365
|
|
|
360
366
|
interface ContextRulesPanelBodyProps {
|
|
361
367
|
rows: readonly ResolvedContextRow[];
|
|
@@ -348,6 +348,12 @@ interface ContextRulesChipProps {
|
|
|
348
348
|
readOnly?: boolean | undefined;
|
|
349
349
|
open?: boolean;
|
|
350
350
|
onOpenChange?: (open: boolean) => void;
|
|
351
|
+
/**
|
|
352
|
+
* The chip toggles a view the host shows elsewhere (a canvas tab): `true`
|
|
353
|
+
* while that view is in front. Sets `aria-pressed` and the pressed face.
|
|
354
|
+
* Omitted: the chip is a plain popover trigger, no pressed state.
|
|
355
|
+
*/
|
|
356
|
+
pressed?: boolean | undefined;
|
|
351
357
|
className?: string;
|
|
352
358
|
}
|
|
353
359
|
/**
|
|
@@ -355,7 +361,7 @@ interface ContextRulesChipProps {
|
|
|
355
361
|
* "N · chars" summary, page master switch, reset-all, full view) over the
|
|
356
362
|
* compact rules table. Popover on desktop, bottom sheet on mobile.
|
|
357
363
|
*/
|
|
358
|
-
declare function ContextRulesChip({ label, rows, cap, on, onToggleAll, hierarchy, onSetInclude, onChange, onResetAll, onOpenFullView, mismatchCount, modelReadsContext, mismatches, onOpenRow, isMobile, readOnly, open: openProp, onOpenChange, className, }: ContextRulesChipProps): react.JSX.Element;
|
|
364
|
+
declare function ContextRulesChip({ label, rows, cap, on, onToggleAll, hierarchy, onSetInclude, onChange, onResetAll, onOpenFullView, mismatchCount, modelReadsContext, mismatches, onOpenRow, isMobile, readOnly, open: openProp, onOpenChange, pressed, className, }: ContextRulesChipProps): react.JSX.Element;
|
|
359
365
|
|
|
360
366
|
interface ContextRulesPanelBodyProps {
|
|
361
367
|
rows: readonly ResolvedContextRow[];
|
|
@@ -904,6 +904,7 @@ function ContextRulesChip({
|
|
|
904
904
|
readOnly,
|
|
905
905
|
open: openProp,
|
|
906
906
|
onOpenChange,
|
|
907
|
+
pressed,
|
|
907
908
|
className
|
|
908
909
|
}) {
|
|
909
910
|
const [openState, setOpenState] = React3.useState(false);
|
|
@@ -930,6 +931,7 @@ function ContextRulesChip({
|
|
|
930
931
|
title: name || void 0,
|
|
931
932
|
"data-mismatch": warn ? "true" : void 0,
|
|
932
933
|
"data-blind": blind ? "true" : void 0,
|
|
934
|
+
"aria-pressed": pressed,
|
|
933
935
|
onClick: isMobile ? () => setOpen(true) : void 0,
|
|
934
936
|
className: cn3(
|
|
935
937
|
"relative inline-flex h-6 min-w-0 shrink items-center gap-1 rounded-md border border-border bg-card px-1.5 text-xs font-medium text-foreground transition-colors hover:bg-accent",
|
|
@@ -937,6 +939,7 @@ function ContextRulesChip({
|
|
|
937
939
|
!eyeOpen && "text-muted-foreground",
|
|
938
940
|
blind && "border-dashed",
|
|
939
941
|
warn && "border-warning/60 ring-1 ring-warning",
|
|
942
|
+
pressed && "border-primary bg-primary/15 text-primary ring-1 ring-inset ring-primary/30 hover:bg-primary/20",
|
|
940
943
|
className
|
|
941
944
|
),
|
|
942
945
|
children: [
|