@agimon-ai/doompi-voice 0.0.1-alpha.87 → 0.0.1-alpha.89
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/dist/extensions/web.mjs +17 -14
- package/dist/extensions/web.mjs.map +1 -1
- package/package.json +10 -10
package/dist/extensions/web.mjs
CHANGED
|
@@ -550,7 +550,7 @@ function VoiceActivitySection({ sessionId, sendSessionFrame, statuses }) {
|
|
|
550
550
|
}),
|
|
551
551
|
/* @__PURE__ */ jsx("span", {
|
|
552
552
|
"data-testid": "voice-label",
|
|
553
|
-
className: `flex-1 truncate text-
|
|
553
|
+
className: `flex-1 truncate text-sm font-bold ${TONE_TEXT[live ? "live" : "attention"]}`,
|
|
554
554
|
children: realtime.connection === "failed" ? "realtime voice failed" : live ? "realtime voice live" : "connecting realtime voice"
|
|
555
555
|
}),
|
|
556
556
|
controls !== void 0 && live ? /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(Button, {
|
|
@@ -576,11 +576,11 @@ function VoiceActivitySection({ sessionId, sendSessionFrame, statuses }) {
|
|
|
576
576
|
}),
|
|
577
577
|
/* @__PURE__ */ jsx("span", {
|
|
578
578
|
"data-testid": "voice-detail",
|
|
579
|
-
className: "text-
|
|
579
|
+
className: "text-2xs leading-relaxed text-doom-faint",
|
|
580
580
|
children: detail
|
|
581
581
|
}),
|
|
582
582
|
/* @__PURE__ */ jsx("span", {
|
|
583
|
-
className: "text-
|
|
583
|
+
className: "text-2xs font-bold tracking-wider text-doom-faint uppercase",
|
|
584
584
|
children: "browser realtime"
|
|
585
585
|
})
|
|
586
586
|
]
|
|
@@ -637,7 +637,7 @@ function VoiceActivitySection({ sessionId, sendSessionFrame, statuses }) {
|
|
|
637
637
|
children: mediaConflict ? "another browser tab owns voice capture. Close it or stop voice there, then retry." : view.detail
|
|
638
638
|
}) : null,
|
|
639
639
|
view.mode !== "off" ? /* @__PURE__ */ jsx("span", {
|
|
640
|
-
className: "text-2xs font-bold tracking-wider text-doom-faint
|
|
640
|
+
className: "text-2xs font-bold tracking-wider text-doom-faint uppercase",
|
|
641
641
|
children: view.mode === "auto" ? "autonomous capture" : "one-shot dictation"
|
|
642
642
|
}) : null
|
|
643
643
|
]
|
|
@@ -1329,16 +1329,19 @@ function VoiceMicrophoneDialog() {
|
|
|
1329
1329
|
onSelect: pick,
|
|
1330
1330
|
testIdPrefix: "voice-microphone-option"
|
|
1331
1331
|
}),
|
|
1332
|
-
/* @__PURE__ */ jsxs(DialogFooter, {
|
|
1333
|
-
className: "
|
|
1334
|
-
children: [
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1332
|
+
/* @__PURE__ */ jsxs(DialogFooter, {
|
|
1333
|
+
className: "flex-col items-stretch",
|
|
1334
|
+
children: [/* @__PURE__ */ jsxs("span", {
|
|
1335
|
+
className: "w-full text-xs text-doom-faint",
|
|
1336
|
+
children: [optionListHint(options.length), " · esc uses the browser default once"]
|
|
1337
|
+
}), /* @__PURE__ */ jsx(Button, {
|
|
1338
|
+
variant: "outline",
|
|
1339
|
+
size: "md",
|
|
1340
|
+
"data-testid": "voice-microphone-default",
|
|
1341
|
+
onClick: () => choice(null, true),
|
|
1342
|
+
children: "always use browser default"
|
|
1343
|
+
})]
|
|
1344
|
+
})
|
|
1342
1345
|
] })]
|
|
1343
1346
|
})
|
|
1344
1347
|
});
|