@ai-matrx/chat 0.5.14 → 0.5.16

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,9 +1,9 @@
1
1
  # @ai-matrx/chat
2
2
 
3
- ## 0.5.14
3
+ ## 0.5.16
4
4
 
5
5
  Automatic changed-only republish (docs/metadata drift since the last tag — see
6
- `git diff npm/chat/v0.5.13..npm/chat/v0.5.14 -- apps/shared/chat`).
6
+ `git diff npm/chat/v0.5.15..npm/chat/v0.5.16 -- apps/shared/chat`).
7
7
  No source changes intended and no consumer action required.
8
8
 
9
9
  ## 0.5.10 — message Print is the one message print
@@ -242,7 +242,7 @@ function AgentConversationColumn({
242
242
  children: landingContent
243
243
  },
244
244
  "landing"
245
- ) : /* @__PURE__ */ jsx(
245
+ ) : /* @__PURE__ */ jsxs(
246
246
  motion.div,
247
247
  {
248
248
  ref: scrollRef,
@@ -262,50 +262,60 @@ function AgentConversationColumn({
262
262
  initial: { opacity: 0 },
263
263
  animate: { opacity: 1 },
264
264
  transition: { duration: 0.2, delay: 0.05 },
265
- children: /* @__PURE__ */ jsxs(
266
- "div",
267
- {
268
- ref: contentRef,
269
- className: cn(centerWrap, isColdBottomSurface && "min-h-full"),
270
- children: [
271
- /* @__PURE__ */ jsx(
272
- OlderMessagesSentinel,
273
- {
274
- conversationId: displayId,
275
- scrollRef,
276
- disabled: isColdHistoryRevealLocked,
277
- revealStep: CHAT_REVEAL_STEP_GROUPS,
278
- pageSize: CHAT_OLDER_PAGE_SIZE,
279
- visibleGroupLimitOverride: chatVisibleGroupLimit,
280
- onRevealOlderGroups: (count) => {
281
- setChatVisibleGroupWindow((current) => ({
282
- displayId,
283
- limit: current?.displayId === displayId ? current.limit + count : CHAT_INITIAL_VISIBLE_GROUPS + count
284
- }));
265
+ children: [
266
+ /* @__PURE__ */ jsx(
267
+ TranscriptIntegrityCopyButton,
268
+ {
269
+ conversationId: displayId,
270
+ surfaceKey,
271
+ effectiveVisibleGroupLimit: deferColdMarkdown ? chatVisibleGroupLimit ?? CHAT_INITIAL_VISIBLE_GROUPS : null
272
+ }
273
+ ),
274
+ /* @__PURE__ */ jsxs(
275
+ "div",
276
+ {
277
+ ref: contentRef,
278
+ className: cn(centerWrap, isColdBottomSurface && "min-h-full"),
279
+ children: [
280
+ /* @__PURE__ */ jsx(
281
+ OlderMessagesSentinel,
282
+ {
283
+ conversationId: displayId,
284
+ scrollRef,
285
+ disabled: isColdHistoryRevealLocked,
286
+ revealStep: CHAT_REVEAL_STEP_GROUPS,
287
+ pageSize: CHAT_OLDER_PAGE_SIZE,
288
+ visibleGroupLimitOverride: chatVisibleGroupLimit,
289
+ onRevealOlderGroups: (count) => {
290
+ setChatVisibleGroupWindow((current) => ({
291
+ displayId,
292
+ limit: current?.displayId === displayId ? current.limit + count : CHAT_INITIAL_VISIBLE_GROUPS + count
293
+ }));
294
+ }
285
295
  }
286
- }
287
- ),
288
- /* @__PURE__ */ jsx(
289
- AgentConversationDisplay,
290
- {
291
- conversationId: displayId,
292
- surfaceKey,
293
- deferColdMarkdown,
294
- bottomPinned: shouldPinColdScroll,
295
- fallbackVisibleGroupLimit: deferColdMarkdown ? chatVisibleGroupLimit ?? CHAT_INITIAL_VISIBLE_GROUPS : null
296
- }
297
- ),
298
- /* @__PURE__ */ jsx(
299
- PendingSendMessage,
300
- {
301
- conversationId,
302
- surfaceKey
303
- }
304
- ),
305
- afterMessages
306
- ]
307
- }
308
- )
296
+ ),
297
+ /* @__PURE__ */ jsx(
298
+ AgentConversationDisplay,
299
+ {
300
+ conversationId: displayId,
301
+ surfaceKey,
302
+ deferColdMarkdown,
303
+ bottomPinned: shouldPinColdScroll,
304
+ fallbackVisibleGroupLimit: deferColdMarkdown ? chatVisibleGroupLimit ?? CHAT_INITIAL_VISIBLE_GROUPS : null
305
+ }
306
+ ),
307
+ /* @__PURE__ */ jsx(
308
+ PendingSendMessage,
309
+ {
310
+ conversationId,
311
+ surfaceKey
312
+ }
313
+ ),
314
+ afterMessages
315
+ ]
316
+ }
317
+ )
318
+ ]
309
319
  },
310
320
  "conversation"
311
321
  ),
@@ -318,15 +328,7 @@ function AgentConversationColumn({
318
328
  }
319
329
  }
320
330
  ),
321
- showScrollDown && /* @__PURE__ */ jsx(Button, { variant: "quiet", icon: /* @__PURE__ */ jsx(ArrowDown, {}), onClick: scrollToBottom, title: "Scroll to bottom", "aria-label": "Scroll to bottom", className: "absolute bottom-4 right-4 z-10" }),
322
- /* @__PURE__ */ jsx(
323
- TranscriptIntegrityCopyButton,
324
- {
325
- conversationId: displayId,
326
- surfaceKey,
327
- effectiveVisibleGroupLimit: deferColdMarkdown ? chatVisibleGroupLimit ?? CHAT_INITIAL_VISIBLE_GROUPS : null
328
- }
329
- )
331
+ showScrollDown && /* @__PURE__ */ jsx(Button, { variant: "quiet", icon: /* @__PURE__ */ jsx(ArrowDown, {}), onClick: scrollToBottom, title: "Scroll to bottom", "aria-label": "Scroll to bottom", className: "absolute bottom-4 right-4 z-10" })
330
332
  ] }),
331
333
  !showLanding && /* @__PURE__ */ jsxs(
332
334
  motion.div,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-matrx/chat",
3
- "version": "0.5.14",
3
+ "version": "0.5.16",
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 per-module subpaths @ai-matrx/chat/<domain>/<module> 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",
@@ -166,16 +166,14 @@
166
166
  "server-only": "^0.0.1",
167
167
  "uuid": "^14.0.2",
168
168
  "zod": "^4.6.5",
169
+ "@ai-matrx/agents": "latest",
169
170
  "@ai-matrx/associations": "latest",
170
171
  "@ai-matrx/browser-audio": "latest",
171
- "@ai-matrx/alchemy": "latest",
172
- "@ai-matrx/agents": "latest",
173
172
  "@ai-matrx/canvas": "latest",
174
173
  "@ai-matrx/content-ir": "latest",
175
174
  "@ai-matrx/content-ir-react": "latest",
176
175
  "@ai-matrx/data": "latest",
177
176
  "@ai-matrx/design-system": "latest",
178
- "@ai-matrx/diff": "latest",
179
177
  "@ai-matrx/icons": "latest",
180
178
  "@ai-matrx/kit": "latest",
181
179
  "@ai-matrx/media": "latest",
@@ -184,7 +182,9 @@
184
182
  "@ai-matrx/records": "latest",
185
183
  "@ai-matrx/records-ui": "latest",
186
184
  "@ai-matrx/rich-content": "latest",
187
- "@ai-matrx/rich-editor": "latest"
185
+ "@ai-matrx/rich-editor": "latest",
186
+ "@ai-matrx/alchemy": "latest",
187
+ "@ai-matrx/diff": "latest"
188
188
  },
189
189
  "devDependencies": {
190
190
  "@arethetypeswrong/cli": "^0.18.5",
@@ -207,8 +207,7 @@
207
207
  "react-redux": "^9.3.0",
208
208
  "ts-jest": "^29.4.14",
209
209
  "tsup": "^8.5.1",
210
- "typescript": "^6.0.3",
211
- "vitest": "^5.0.1"
210
+ "typescript": "^6.0.3"
212
211
  },
213
212
  "publishConfig": {
214
213
  "access": "public",