@ai-matrx/chat 0.7.2 → 0.7.3
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
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @ai-matrx/chat
|
|
2
2
|
|
|
3
|
+
## 0.7.3
|
|
4
|
+
|
|
5
|
+
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
6
|
+
`git diff npm/chat/v0.7.2..npm/chat/v0.7.3 -- apps/shared/chat`).
|
|
7
|
+
No source changes intended and no consumer action required.
|
|
8
|
+
|
|
3
9
|
## 0.7.2
|
|
4
10
|
|
|
5
11
|
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
@@ -3,6 +3,7 @@ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
|
3
3
|
import { useEffect, useMemo, useRef, useState } from "react";
|
|
4
4
|
import { ChevronDown, ChevronUp, MessagesSquare } from "lucide-react";
|
|
5
5
|
import { useIsMobile } from "@ai-matrx/kit/media-query";
|
|
6
|
+
import { useShimmerSweep } from "@ai-matrx/rich-content/utils/lifted/ShimmerText";
|
|
6
7
|
import { useAppSelector } from "../../../store/hooks.js";
|
|
7
8
|
import {
|
|
8
9
|
BottomSheet,
|
|
@@ -58,6 +59,7 @@ function MobileAsksDrawer({
|
|
|
58
59
|
children
|
|
59
60
|
}) {
|
|
60
61
|
const [open, setOpen] = useState(true);
|
|
62
|
+
const shimmerRef = useShimmerSweep();
|
|
61
63
|
const seenRef = useRef(/* @__PURE__ */ new Set());
|
|
62
64
|
useEffect(() => {
|
|
63
65
|
let hasNew = false;
|
|
@@ -75,10 +77,8 @@ function MobileAsksDrawer({
|
|
|
75
77
|
!open && /* @__PURE__ */ jsx("div", { className: "mb-1.5", children: /* @__PURE__ */ jsx(
|
|
76
78
|
"div",
|
|
77
79
|
{
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
backgroundImage: "linear-gradient(90deg, hsl(var(--primary) / 0.2) 0%, hsl(var(--primary)) 50%, hsl(var(--primary) / 0.2) 100%)"
|
|
81
|
-
},
|
|
80
|
+
ref: shimmerRef,
|
|
81
|
+
className: "rounded-xl p-[1.5px] shadow-[0_8px_24px_-16px_rgb(0_0_0/0.5)] bg-gradient-to-r from-primary/20 via-primary to-primary/20 bg-[length:200%_100%]",
|
|
82
82
|
children: /* @__PURE__ */ jsxs(
|
|
83
83
|
"button",
|
|
84
84
|
{
|
|
@@ -12,7 +12,9 @@ import { isCollaborationAgentCall, readAgentCallAnswer } from "./collab.js";
|
|
|
12
12
|
import { CollabCallCard } from "./CollabCallCard.js";
|
|
13
13
|
import { ImageGenerationResult } from "./ImageGenerationResult.js";
|
|
14
14
|
import { findResultMedia } from "./findResultMedia.js";
|
|
15
|
+
import { useShimmerSweep } from "@ai-matrx/rich-content/utils/lifted/ShimmerText";
|
|
15
16
|
function ImageGenerationLoading() {
|
|
17
|
+
const sweepRef = useShimmerSweep();
|
|
16
18
|
return /* @__PURE__ */ jsxs(
|
|
17
19
|
"div",
|
|
18
20
|
{
|
|
@@ -25,7 +27,7 @@ function ImageGenerationLoading() {
|
|
|
25
27
|
"div",
|
|
26
28
|
{
|
|
27
29
|
"aria-hidden": "true",
|
|
28
|
-
className: "absolute inset-0 opacity-30 [background-image:linear-gradient(
|
|
30
|
+
className: "absolute inset-0 opacity-30 [background-image:linear-gradient(color-mix(in_oklab,var(--color-border)_45%,transparent)_1px,transparent_1px),linear-gradient(90deg,color-mix(in_oklab,var(--color-border)_45%,transparent)_1px,transparent_1px)] [background-size:22px_22px] [mask-image:linear-gradient(to_bottom,black,transparent)]"
|
|
29
31
|
}
|
|
30
32
|
),
|
|
31
33
|
/* @__PURE__ */ jsx(
|
|
@@ -43,12 +45,13 @@ function ImageGenerationLoading() {
|
|
|
43
45
|
}
|
|
44
46
|
),
|
|
45
47
|
/* @__PURE__ */ jsxs("div", { className: "relative flex min-h-28 items-center gap-4", children: [
|
|
46
|
-
/* @__PURE__ */ jsxs("div", { className: "relative grid h-20 w-20 shrink-0 place-items-center overflow-hidden rounded-2xl border border-white/30 bg-gradient-to-br from-cyan-400/20 via-primary/20 to-violet-500/25 shadow-[0_12px_32px_-
|
|
48
|
+
/* @__PURE__ */ jsxs("div", { className: "relative grid h-20 w-20 shrink-0 place-items-center overflow-hidden rounded-2xl border border-white/30 bg-gradient-to-br from-cyan-400/20 via-primary/20 to-violet-500/25 shadow-[0_12px_32px_-16px] shadow-primary/80 dark:border-white/10", children: [
|
|
47
49
|
/* @__PURE__ */ jsx(
|
|
48
50
|
"div",
|
|
49
51
|
{
|
|
52
|
+
ref: sweepRef,
|
|
50
53
|
"aria-hidden": "true",
|
|
51
|
-
className: "absolute -inset-8 rotate-12 bg-[linear-gradient(110deg,transparent_35%,
|
|
54
|
+
className: "absolute -inset-8 rotate-12 bg-[linear-gradient(110deg,transparent_35%,color-mix(in_oklab,var(--color-background)_80%,transparent)_50%,transparent_65%)] bg-[length:200%_100%]"
|
|
52
55
|
}
|
|
53
56
|
),
|
|
54
57
|
/* @__PURE__ */ jsx(ImageIcon, { className: "relative h-8 w-8 text-primary" }),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-matrx/chat",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.3",
|
|
4
4
|
"description": "THE one AI Matrx person-to-agent chat system: the full chat (running agents, conversations, tool calls, streaming, context, surfaces, voice) as explicit per-module subpaths @ai-matrx/chat/<domain>/<module> (no wildcards: scripts/public-modules.json) over a host contract (/host, /host/react) whose only required value is a db. One chat, one renderer: the old kernel entries (., /external-store, /matrx, /react, /tools, styles.css, tokens.css) are retired.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -4666,15 +4666,16 @@
|
|
|
4666
4666
|
"server-only": "^0.0.1",
|
|
4667
4667
|
"uuid": "^14.0.2",
|
|
4668
4668
|
"zod": "^4.6.5",
|
|
4669
|
-
"@ai-matrx/agents": "latest",
|
|
4670
|
-
"@ai-matrx/alchemy": "latest",
|
|
4671
|
-
"@ai-matrx/associations": "latest",
|
|
4672
4669
|
"@ai-matrx/browser-audio": "latest",
|
|
4670
|
+
"@ai-matrx/canvas": "latest",
|
|
4673
4671
|
"@ai-matrx/content-ir": "latest",
|
|
4672
|
+
"@ai-matrx/alchemy": "latest",
|
|
4673
|
+
"@ai-matrx/associations": "latest",
|
|
4674
4674
|
"@ai-matrx/content-ir-react": "latest",
|
|
4675
4675
|
"@ai-matrx/data": "latest",
|
|
4676
|
-
"@ai-matrx/
|
|
4676
|
+
"@ai-matrx/agents": "latest",
|
|
4677
4677
|
"@ai-matrx/diff": "latest",
|
|
4678
|
+
"@ai-matrx/design-system": "latest",
|
|
4678
4679
|
"@ai-matrx/icons": "latest",
|
|
4679
4680
|
"@ai-matrx/kit": "latest",
|
|
4680
4681
|
"@ai-matrx/media": "latest",
|
|
@@ -4683,8 +4684,7 @@
|
|
|
4683
4684
|
"@ai-matrx/records": "latest",
|
|
4684
4685
|
"@ai-matrx/records-ui": "latest",
|
|
4685
4686
|
"@ai-matrx/rich-content": "latest",
|
|
4686
|
-
"@ai-matrx/rich-editor": "latest"
|
|
4687
|
-
"@ai-matrx/design-system": "latest"
|
|
4687
|
+
"@ai-matrx/rich-editor": "latest"
|
|
4688
4688
|
},
|
|
4689
4689
|
"devDependencies": {
|
|
4690
4690
|
"@arethetypeswrong/cli": "^0.18.5",
|
|
@@ -4802,5 +4802,5 @@
|
|
|
4802
4802
|
"check:side-effects": "node ../scripts/check-side-effects-listed.mjs . && node ../scripts/check-side-effects-listed.mjs --self-test",
|
|
4803
4803
|
"check:public-surface": "node ./scripts/sync-public-surface.mjs --check && node ./scripts/sync-public-surface.mjs --self-test"
|
|
4804
4804
|
},
|
|
4805
|
-
"gitHead": "
|
|
4805
|
+
"gitHead": "05eff58b4a2ec23bd1971884ff0e4b8f506eea2a"
|
|
4806
4806
|
}
|