@ai-matrx/media 0.9.2 → 0.10.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 CHANGED
@@ -1,5 +1,19 @@
1
1
  # @ai-matrx/media
2
2
 
3
+ ## 0.10.1
4
+
5
+ AP-2 (2026-10-07) — the kit and Alchemy doors are the only doors in this package (aidream guard `apps/shared/scripts/check-shared-doors.mjs`). `ViewerCopyButton`, the media share popover and `InlineMediaRef`'s URL copy write through `@ai-matrx/kit/clipboard` `copyText`; a refused copy leaves the button un-flipped. No consumer action.
6
+
7
+ ## 0.10.0
8
+
9
+ New subpath `@ai-matrx/media/voices` (P16): the Cartesia read-aloud voice catalogue
10
+ (`availableVoices`, `allVoices`), TTS defaults (`READING_VOICE_ID`, `ASSISTANT_VOICE_ID`, speed /
11
+ volume / buffer constants, `resolveVoiceId`, `resolveSpeed`), the xAI live-conversation voices
12
+ (`LIVE_CONVERSATION_VOICES`, `isLiveConversationVoice`) and the voice-set vocabulary
13
+ (`voiceSetOf`, `voiceOptions`, `voiceSetDefaultLabel`, `voiceDisplayName`). Moved from
14
+ matrx-frontend `lib/cartesia/voices`, `lib/cartesia/config` and `lib/voices/voiceSets`. Pure,
15
+ RSC-safe. No consumer action required.
16
+
3
17
  ## 0.9.2
4
18
 
5
19
  `filesDb(client)` and the engine's `iamDb(client)` take any supabase-js client: a host's client is
package/dist/react.cjs CHANGED
@@ -545,6 +545,7 @@ function FileIcon2({
545
545
  }
546
546
 
547
547
  // src/react/inline-media-ref.tsx
548
+ var import_clipboard = require("@ai-matrx/kit/clipboard");
548
549
  var import_react7 = require("react");
549
550
 
550
551
  // src/core/context.ts
@@ -1157,10 +1158,10 @@ function InformativeErrorPanel({
1157
1158
  (event) => {
1158
1159
  event.stopPropagation();
1159
1160
  event.preventDefault();
1160
- navigator.clipboard?.writeText(url).then(() => {
1161
+ void (0, import_clipboard.copyText)(url).then((landed) => {
1162
+ if (!landed) return;
1161
1163
  setCopied(true);
1162
1164
  setTimeout(() => setCopied(false), 1500);
1163
- }).catch(() => {
1164
1165
  });
1165
1166
  },
1166
1167
  [url]