@ai-matrx/chat 0.3.11 → 0.3.15

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.
@@ -143,6 +143,8 @@ export interface ChatUiSlots {
143
143
  RulebookNudge: AnyComponent;
144
144
  NegativeVerdictFollowUp: AnyComponent;
145
145
  SpeakerButton: AnyComponent;
146
+ /** The split Copy (one click = the person's flavor; the chevron offers markdown or plain text) over one markdown string: `{ text, label?, size? }`. */
147
+ CopySplit: AnyComponent;
146
148
  GmailReviewCard: AnyComponent;
147
149
  ShareButton: AnyComponent;
148
150
  ShareModal: AnyComponent;
@@ -491,6 +493,7 @@ export declare const MessageFilesStrip: AnyComponent;
491
493
  export declare const RulebookNudge: AnyComponent;
492
494
  export declare const NegativeVerdictFollowUp: AnyComponent;
493
495
  export declare const SpeakerButton: AnyComponent;
496
+ export declare const CopySplit: AnyComponent;
494
497
  export declare const GmailReviewCard: AnyComponent;
495
498
  export declare const ShareButton: AnyComponent;
496
499
  export declare const ShareModal: AnyComponent;
@@ -222,6 +222,7 @@ const MessageFilesStrip = slotComponent("MessageFilesStrip", unregisteredWidget(
222
222
  const RulebookNudge = slotComponent("RulebookNudge", unregisteredWidget("RulebookNudge"));
223
223
  const NegativeVerdictFollowUp = slotComponent("NegativeVerdictFollowUp", unregisteredWidget("NegativeVerdictFollowUp"));
224
224
  const SpeakerButton = slotComponent("SpeakerButton", unregisteredWidget("SpeakerButton"));
225
+ const CopySplit = slotComponent("CopySplit", unregisteredWidget("CopySplit"));
225
226
  const GmailReviewCard = slotComponent("GmailReviewCard", unregisteredWidget("GmailReviewCard"));
226
227
  const ShareButton = slotComponent("ShareButton", unregisteredWidget("ShareButton"));
227
228
  const ShareModal = slotComponent("ShareModal", unregisteredWidget("ShareModal"));
@@ -529,6 +530,7 @@ export {
529
530
  ConnectorPromptHost,
530
531
  ConversationHoverPreview,
531
532
  CopyButtons,
533
+ CopySplit,
532
534
  Cost,
533
535
  CustomDataBindingPreview,
534
536
  CustomDataBindingSummary,
@@ -5,7 +5,6 @@ import { toast as copyToast } from "../../host/notify.js";
5
5
  import { Badge, Button, Tile } from "@ai-matrx/design-system/controls";
6
6
  import { useEffect, useReducer, useState } from "react";
7
7
  import { Bug, Check, ChevronDown, ChevronUp, Copy, Trash2 } from "lucide-react";
8
- import { toast } from "../../host/notify.js";
9
8
  import { cn } from "@ai-matrx/design-system";
10
9
  import {
11
10
  voiceDebugClear,
@@ -74,10 +73,9 @@ function VoiceDebugPanel({
74
73
  })} [${e.level}] ${e.label}${e.detail ? ` \u2014 ${e.detail}` : ""}`
75
74
  )
76
75
  ];
77
- if (!await copyText(lines.join("\n"))) return;
76
+ if (!await copyText(lines.join("\n"), "Voice debug copied")) return;
78
77
  setCopied(true);
79
78
  setTimeout(() => setCopied(false), 1500);
80
- toast.success("Voice debug copied");
81
79
  };
82
80
  return /* @__PURE__ */ jsxs("div", { className: "pointer-events-auto w-full overflow-hidden rounded-lg border border-border bg-zinc-950/95 text-zinc-100 shadow-lg backdrop-blur", children: [
83
81
  /* @__PURE__ */ jsxs("div", { className: "flex w-full items-center justify-between gap-2 px-3 py-1.5", children: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-matrx/chat",
3
- "version": "0.3.11",
3
+ "version": "0.3.15",
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; plus the kernel compatibility entries (., /external-store, /matrx, /react, /tools, styles.css, tokens.css) until P28.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -202,23 +202,23 @@
202
202
  "uuid": "^14.0.2",
203
203
  "zod": "^4.6.5",
204
204
  "@ai-matrx/agents": "latest",
205
+ "@ai-matrx/alchemy": "latest",
205
206
  "@ai-matrx/associations": "latest",
206
207
  "@ai-matrx/browser-audio": "latest",
207
- "@ai-matrx/alchemy": "latest",
208
208
  "@ai-matrx/canvas": "latest",
209
209
  "@ai-matrx/content-ir": "latest",
210
- "@ai-matrx/data": "latest",
211
210
  "@ai-matrx/content-ir-react": "latest",
212
- "@ai-matrx/diff": "latest",
211
+ "@ai-matrx/data": "latest",
213
212
  "@ai-matrx/design-system": "latest",
213
+ "@ai-matrx/diff": "latest",
214
214
  "@ai-matrx/icons": "latest",
215
+ "@ai-matrx/kit": "latest",
216
+ "@ai-matrx/media": "latest",
215
217
  "@ai-matrx/print": "latest",
216
- "@ai-matrx/realtime": "latest",
217
218
  "@ai-matrx/records": "latest",
218
219
  "@ai-matrx/records-ui": "latest",
219
- "@ai-matrx/media": "latest",
220
- "@ai-matrx/kit": "latest",
221
- "@ai-matrx/tap-target": "latest"
220
+ "@ai-matrx/tap-target": "latest",
221
+ "@ai-matrx/realtime": "latest"
222
222
  },
223
223
  "devDependencies": {
224
224
  "@arethetypeswrong/cli": "^0.18.5",