@voicemesh/dsh-voice 0.1.0-beta.5 → 0.1.0-beta.8
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/README.md +7 -5
- package/cordis.patch.yml +0 -3
- package/icon.svg +5 -5
- package/lib/client.js +166 -166
- package/node_modules/@deepseek-ai/dsh-voice-client/lib/client.js +155 -155
- package/node_modules/@deepseek-ai/dsh-voice-client/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-voice-host/lib/index.js +92 -4
- package/node_modules/@deepseek-ai/dsh-voice-host/package.json +1 -1
- package/package.json +3 -3
- package/provenance.json +1 -1
|
@@ -15752,7 +15752,7 @@ registerProcessor('sts-capture', StsCapture);
|
|
|
15752
15752
|
default: return config.deepgramVoiceModel;
|
|
15753
15753
|
}
|
|
15754
15754
|
}
|
|
15755
|
-
const css$7 = ".
|
|
15755
|
+
const css$7 = ".owB5Ca_wave{height:28px;color:var(--dsw-alias-brand-primary,#80a9ed);flex:0 0 64px;align-items:center;display:inline-flex}.owB5Ca_wave svg{fill:currentColor}";
|
|
15756
15756
|
const tagId$7 = "@deepseek-ai/dsh-voice-client/AudioVisualizer.module.css";
|
|
15757
15757
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$7) + "]") === null) {
|
|
15758
15758
|
const tag = document.createElement("style");
|
|
@@ -15761,7 +15761,7 @@ registerProcessor('sts-capture', StsCapture);
|
|
|
15761
15761
|
tag.textContent = css$7;
|
|
15762
15762
|
document.head.appendChild(tag);
|
|
15763
15763
|
}
|
|
15764
|
-
var AudioVisualizer_module_css_default = { "wave": "
|
|
15764
|
+
var AudioVisualizer_module_css_default = { "wave": "owB5Ca_wave" };
|
|
15765
15765
|
/** Live audio waveform contributed to the message toolbar. */
|
|
15766
15766
|
/**
|
|
15767
15767
|
* Render the input meter without owning playback or capture.
|
|
@@ -16245,7 +16245,7 @@ registerProcessor('sts-capture', StsCapture);
|
|
|
16245
16245
|
default: return "Voice off";
|
|
16246
16246
|
}
|
|
16247
16247
|
}
|
|
16248
|
-
const css$6 = ".
|
|
16248
|
+
const css$6 = ".mLzIFq_cluster{align-items:center;gap:2px;height:28px;display:inline-flex}.mLzIFq_action{width:26px;height:26px;color:var(--dsw-alias-label-secondary,#9aa4b2);cursor:pointer;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;line-height:0;transition:background-color .15s,color .15s;display:inline-flex}.mLzIFq_action:hover:not(:disabled){background:var(--dsw-alias-control-overlay,#ffffff0f);color:var(--dsw-alias-label-primary,#e6e9ed)}.mLzIFq_action:disabled{opacity:.45;cursor:default}.mLzIFq_muted{color:var(--dsw-alias-state-error-primary,#c2544d)}.mLzIFq_timer{font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--dsw-alias-label-secondary,#9aa4b2);padding:0 3px;font-size:11px;line-height:1}.mLzIFq_standby{white-space:nowrap;color:var(--dsw-alias-label-secondary,#9aa4b2);padding:0 3px;font-size:11px;line-height:1}.mLzIFq_tipAnchor{font:inherit;cursor:help;background:0 0;border:0}.mLzIFq_tipAnchor:focus-visible{outline:2px solid var(--dsw-alias-brand-primary,#3978f6);border-radius:6px}.mLzIFq_tipBubble{z-index:100;text-align:left;background:var(--dsw-alias-tooltip-bg,#2b2f36);width:max-content;max-width:min(360px,80vw);color:var(--dsw-static-neutral-bluish-00,#eef1f5);pointer-events:none;animation:mLzIFq_tooltip-in .15s var(--ds-ease-in-out,ease-in-out);border-radius:8px;gap:4px;padding:8px 10px;font-size:13px;line-height:20px;display:grid;position:fixed}.mLzIFq_tipRow{grid-template-columns:auto minmax(0,1fr);gap:12px;display:grid}.mLzIFq_tipLabel{opacity:.7}.mLzIFq_tipValue{overflow-wrap:anywhere}@keyframes mLzIFq_tooltip-in{0%{opacity:0}}@media (prefers-reduced-motion:reduce){.mLzIFq_tipBubble{animation:none}}.mLzIFq_standbyParked{animation:2.4s ease-in-out infinite mLzIFq_voice-standby-breathe}@keyframes mLzIFq_voice-standby-breathe{0%,to{color:var(--dsw-alias-label-secondary,#9aa4b2)}50%{color:var(--dsw-alias-button-info-fill,#4176e6)}}@supports ((-webkit-background-clip:text) or (background-clip:text)){.mLzIFq_standbyParked{color:var(--dsw-alias-button-info-fill,#4176e6);background-image:linear-gradient(90deg, var(--dsw-alias-label-secondary,#9aa4b2) 0%, var(--dsw-alias-button-info-fill,#4176e6) 25%, var(--dsw-alias-label-secondary,#9aa4b2) 50%, var(--dsw-alias-button-info-fill,#4176e6) 75%, var(--dsw-alias-label-secondary,#9aa4b2) 100%);-webkit-text-fill-color:transparent;background-repeat:no-repeat;background-size:200% 100%;-webkit-background-clip:text;background-clip:text;animation:3.2s linear infinite mLzIFq_voice-standby-sheen}@keyframes mLzIFq_voice-standby-sheen{0%{background-position:0 0}to{background-position:100% 0}}}@media (prefers-reduced-motion:reduce){.mLzIFq_standbyParked{color:var(--dsw-alias-button-info-fill,#4176e6);-webkit-text-fill-color:var(--dsw-alias-button-info-fill,#4176e6);background-image:none;animation:none}}.mLzIFq_failure{background:color-mix(in srgb, var(--dsw-alias-state-error-primary,#c2544d) 14%, transparent);max-width:260px;height:24px;color:var(--dsw-alias-state-error-primary,#c2544d);border-radius:12px;align-items:center;gap:2px;padding-left:8px;font-size:11px;line-height:1;display:inline-flex}.mLzIFq_failureText{white-space:nowrap;text-overflow:ellipsis;user-select:text;overflow:hidden}.mLzIFq_failure .mLzIFq_action{color:inherit;width:22px;height:22px}.mLzIFq_notice{background:color-mix(in srgb, var(--dsw-alias-state-warn-primary,#f2a33c) 16%, transparent);max-width:260px;height:24px;color:var(--dsw-alias-state-warn-primary,#f2a33c);border-radius:12px;align-items:center;gap:2px;padding-left:8px;font-size:11px;line-height:1;animation:4s linear forwards mLzIFq_voice-notice-fade;display:inline-flex}.mLzIFq_noticeText{white-space:nowrap;text-overflow:ellipsis;user-select:text;overflow:hidden}.mLzIFq_notice .mLzIFq_action{color:inherit;width:22px;height:22px}@keyframes mLzIFq_voice-notice-fade{0%,70%{opacity:1}to{opacity:0}}";
|
|
16249
16249
|
const tagId$6 = "@deepseek-ai/dsh-voice-client/VoiceQuickControls.module.css";
|
|
16250
16250
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$6) + "]") === null) {
|
|
16251
16251
|
const tag = document.createElement("style");
|
|
@@ -16255,25 +16255,25 @@ registerProcessor('sts-capture', StsCapture);
|
|
|
16255
16255
|
document.head.appendChild(tag);
|
|
16256
16256
|
}
|
|
16257
16257
|
var VoiceQuickControls_module_css_default = {
|
|
16258
|
-
"action": "
|
|
16259
|
-
"cluster": "
|
|
16260
|
-
"failure": "
|
|
16261
|
-
"failureText": "
|
|
16262
|
-
"muted": "
|
|
16263
|
-
"notice": "
|
|
16264
|
-
"noticeText": "
|
|
16265
|
-
"standby": "
|
|
16266
|
-
"standbyParked": "
|
|
16267
|
-
"timer": "
|
|
16268
|
-
"tipAnchor": "
|
|
16269
|
-
"tipBubble": "
|
|
16270
|
-
"tipLabel": "
|
|
16271
|
-
"tipRow": "
|
|
16272
|
-
"tipValue": "
|
|
16273
|
-
"tooltip-in": "
|
|
16274
|
-
"voice-notice-fade": "
|
|
16275
|
-
"voice-standby-breathe": "
|
|
16276
|
-
"voice-standby-sheen": "
|
|
16258
|
+
"action": "mLzIFq_action",
|
|
16259
|
+
"cluster": "mLzIFq_cluster",
|
|
16260
|
+
"failure": "mLzIFq_failure",
|
|
16261
|
+
"failureText": "mLzIFq_failureText",
|
|
16262
|
+
"muted": "mLzIFq_muted",
|
|
16263
|
+
"notice": "mLzIFq_notice",
|
|
16264
|
+
"noticeText": "mLzIFq_noticeText",
|
|
16265
|
+
"standby": "mLzIFq_standby",
|
|
16266
|
+
"standbyParked": "mLzIFq_standbyParked",
|
|
16267
|
+
"timer": "mLzIFq_timer",
|
|
16268
|
+
"tipAnchor": "mLzIFq_tipAnchor",
|
|
16269
|
+
"tipBubble": "mLzIFq_tipBubble",
|
|
16270
|
+
"tipLabel": "mLzIFq_tipLabel",
|
|
16271
|
+
"tipRow": "mLzIFq_tipRow",
|
|
16272
|
+
"tipValue": "mLzIFq_tipValue",
|
|
16273
|
+
"tooltip-in": "mLzIFq_tooltip-in",
|
|
16274
|
+
"voice-notice-fade": "mLzIFq_voice-notice-fade",
|
|
16275
|
+
"voice-standby-breathe": "mLzIFq_voice-standby-breathe",
|
|
16276
|
+
"voice-standby-sheen": "mLzIFq_voice-standby-sheen"
|
|
16277
16277
|
};
|
|
16278
16278
|
/** Composer voice indicator that spells out the selection on hover, focus, or tap. */
|
|
16279
16279
|
/** Gap kept between the bubble and the viewport edges. */
|
|
@@ -22730,7 +22730,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
22730
22730
|
};
|
|
22731
22731
|
}
|
|
22732
22732
|
};
|
|
22733
|
-
const css$5 = ".
|
|
22733
|
+
const css$5 = ".kO5VAW_userRow{justify-content:flex-end;display:flex}.kO5VAW_bubble{max-width:min(calc(var(--dsh-chat-content-width,748px) * .702), 82%);background:var(--dsw-specific-bubble);border-radius:22px;padding:10px 16px}.kO5VAW_bubble,.kO5VAW_speech{font-size:var(--dsh-content-font-size,14px);line-height:calc(22px + var(--dsh-content-font-delta,0px));color:var(--dsw-alias-label-primary);white-space:pre-wrap;overflow-wrap:anywhere}.kO5VAW_assistantRow{min-width:0}.kO5VAW_speech{white-space:normal}";
|
|
22734
22734
|
const tagId$5 = "@deepseek-ai/dsh-voice-client/VoiceTranscriptNodeView.module.css";
|
|
22735
22735
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$5) + "]") === null) {
|
|
22736
22736
|
const tag = document.createElement("style");
|
|
@@ -22740,10 +22740,10 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
22740
22740
|
document.head.appendChild(tag);
|
|
22741
22741
|
}
|
|
22742
22742
|
var VoiceTranscriptNodeView_module_css_default = {
|
|
22743
|
-
"assistantRow": "
|
|
22744
|
-
"bubble": "
|
|
22745
|
-
"speech": "
|
|
22746
|
-
"userRow": "
|
|
22743
|
+
"assistantRow": "kO5VAW_assistantRow",
|
|
22744
|
+
"bubble": "kO5VAW_bubble",
|
|
22745
|
+
"speech": "kO5VAW_speech",
|
|
22746
|
+
"userRow": "kO5VAW_userRow"
|
|
22747
22747
|
};
|
|
22748
22748
|
/** Plain spoken text rendered by the optional voice/history integration. */
|
|
22749
22749
|
/** Render one live or saved speech bubble using the conversation theme. */
|
|
@@ -22777,7 +22777,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
22777
22777
|
})
|
|
22778
22778
|
});
|
|
22779
22779
|
});
|
|
22780
|
-
const css$4 = ".
|
|
22780
|
+
const css$4 = ".b0NYhG_controls{flex:none;width:34px;height:34px;position:relative;transform:translateY(-2px)}.b0NYhG_overlay{z-index:1;position:absolute}.b0NYhG_control{box-sizing:border-box;corner-shape:round;background:color-mix(in srgb, var(--dsw-alias-bg-layer-3,#2a2f36) 82%, black);--voice-wave-1:#4a6cbb;--voice-wave-2:#4260aa;--voice-wave-3:#e9be62;--voice-wave-4:#324a88;--voice-wave-5:#2a3f77;width:34px;height:34px;color:var(--dsw-alias-label-primary,#e6e9ed);cursor:pointer;border:0;border-radius:50%;justify-content:center;align-items:center;padding:0;display:inline-flex}.b0NYhG_control:focus-visible{outline-offset:1px;outline:2px solid}.b0NYhG_control.b0NYhG_lit{background:var(--voice-fill)}.b0NYhG_control.b0NYhG_lit:hover{background:var(--voice-hover)}body[data-ds-dark-theme] .b0NYhG_control:not(.b0NYhG_lit){background:#000}body[data-ds-dark-theme] .b0NYhG_control{--voice-wave-1:#c3d4ee;--voice-wave-2:#aec8f0;--voice-wave-3:#e9be62;--voice-wave-4:#80a9ed;--voice-wave-5:#6395e7}.b0NYhG_connecting .b0NYhG_glyph svg rect{transform-box:fill-box;transform-origin:50%;animation:.9s ease-in-out infinite b0NYhG_connecting-bars}.b0NYhG_connecting .b0NYhG_glyph svg rect:nth-child(2){animation-delay:-720ms}.b0NYhG_connecting .b0NYhG_glyph svg rect:nth-child(3){animation-delay:-540ms}.b0NYhG_connecting .b0NYhG_glyph svg rect:nth-child(4){animation-delay:-360ms}.b0NYhG_connecting .b0NYhG_glyph svg rect:nth-child(5){animation-delay:-180ms}@keyframes b0NYhG_connecting-bars{0%,to{opacity:.55;transform:scaleY(.35)}50%{opacity:1;transform:scaleY(1)}}.b0NYhG_glyph{justify-content:center;align-items:center;line-height:0;display:inline-flex}.b0NYhG_control:hover .b0NYhG_glyph,.b0NYhG_control:focus-visible .b0NYhG_glyph{animation:.42s cubic-bezier(.22,.9,.3,1) b0NYhG_voice-icon-nudge}@keyframes b0NYhG_voice-icon-nudge{0%{transform:scale(1)}45%{transform:scale(1.16)}to{transform:scale(1)}}.b0NYhG_hint{z-index:6;border:1px solid var(--dsw-alias-border-l2,#ffffff1f);corner-shape:round;background:var(--dsw-alias-bg-layer-2,#1c2128);color:var(--dsw-alias-label-primary,#e6e9ed);white-space:normal;overflow-wrap:anywhere;pointer-events:none;visibility:hidden;opacity:0;border-radius:8px;width:max-content;max-width:min(320px,100vw - 32px);padding:5px 10px;font-size:12px;line-height:1.4;transition:opacity 80ms,visibility 80ms;position:absolute;bottom:calc(100% + 10px);right:0}.b0NYhG_control:hover+.b0NYhG_hint,.b0NYhG_control:focus-visible+.b0NYhG_hint{visibility:visible;opacity:1;transition-delay:.1s}@media (prefers-reduced-motion:reduce){.b0NYhG_connecting .b0NYhG_glyph svg rect,.b0NYhG_control:hover .b0NYhG_glyph,.b0NYhG_control:focus-visible .b0NYhG_glyph{animation:none}}";
|
|
22781
22781
|
const tagId$4 = "@deepseek-ai/dsh-voice-client/MicDock.module.css";
|
|
22782
22782
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$4) + "]") === null) {
|
|
22783
22783
|
const tag = document.createElement("style");
|
|
@@ -22787,15 +22787,15 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
22787
22787
|
document.head.appendChild(tag);
|
|
22788
22788
|
}
|
|
22789
22789
|
var MicDock_module_css_default = {
|
|
22790
|
-
"connecting": "
|
|
22791
|
-
"connecting-bars": "
|
|
22792
|
-
"control": "
|
|
22793
|
-
"controls": "
|
|
22794
|
-
"glyph": "
|
|
22795
|
-
"hint": "
|
|
22796
|
-
"lit": "
|
|
22797
|
-
"overlay": "
|
|
22798
|
-
"voice-icon-nudge": "
|
|
22790
|
+
"connecting": "b0NYhG_connecting",
|
|
22791
|
+
"connecting-bars": "b0NYhG_connecting-bars",
|
|
22792
|
+
"control": "b0NYhG_control",
|
|
22793
|
+
"controls": "b0NYhG_controls",
|
|
22794
|
+
"glyph": "b0NYhG_glyph",
|
|
22795
|
+
"hint": "b0NYhG_hint",
|
|
22796
|
+
"lit": "b0NYhG_lit",
|
|
22797
|
+
"overlay": "b0NYhG_overlay",
|
|
22798
|
+
"voice-icon-nudge": "b0NYhG_voice-icon-nudge"
|
|
22799
22799
|
};
|
|
22800
22800
|
/**
|
|
22801
22801
|
* MicDock: the voice control, inside the message area.
|
|
@@ -23043,7 +23043,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
23043
23043
|
}, [sessionId, config.voiceMode]);
|
|
23044
23044
|
return null;
|
|
23045
23045
|
}
|
|
23046
|
-
const css$3 = ".
|
|
23046
|
+
const css$3 = ".RZlVia_frame{place-items:center;min-height:104px;padding:4px 0 10px;display:grid}.RZlVia_resume{cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;padding:0;display:grid}.RZlVia_resume:focus-visible{outline-offset:4px;outline:2px solid #c89572}.RZlVia_orb{--voice-orb-scale:1;--voice-orb-shadow:22%;--voice-orb-cloud-growth:0;corner-shape:round;isolation:isolate;width:96px;height:96px;box-shadow:0 8px 32px color-mix(in srgb, #7c8fff var(--voice-orb-shadow), transparent);transform:scale(var(--voice-orb-scale));background-color:#0000;background-image:radial-gradient(circle at 78% 17%,#e5f0ff94,#0000 37%),linear-gradient(145deg,#6384eb 0%,#84adf4 47%,#b3d5ff 100%);background-position:0 0,0 0;background-repeat:repeat,repeat;background-size:145% 145%;background-attachment:scroll,scroll;background-origin:padding-box,padding-box;background-clip:border-box,border-box;border-radius:50%;place-items:center;transition:transform .12s ease-out,box-shadow .16s ease-out;animation:6.2s ease-in-out infinite alternate RZlVia_orb-sky;display:grid;position:relative;overflow:hidden}.RZlVia_orb:before{content:\"\";filter:blur(10px);background:radial-gradient(#304ed3ad,#4265e447 48%,#0000 74%);border-radius:50%;width:105%;height:90%;animation:5.7s ease-in-out infinite RZlVia_sky-contrast;position:absolute}.RZlVia_cloud,.RZlVia_cloud:before,.RZlVia_cloud:after{filter:blur(7px);content:\"\";background:radial-gradient(#fffffff5,#e0efffe0 42%,#a3c5f738 76%,#0000 88%);border-radius:50%;width:78%;height:52%;position:absolute}.RZlVia_cloud{opacity:.88;animation:4.7s ease-in-out infinite alternate RZlVia_cloud-ambient;transform:translate(-11%,19%)rotate(-14deg)}.RZlVia_cloud:before{opacity:.86;animation:3.9s ease-in-out infinite alternate RZlVia_cloud-ambient-front;transform:translate(45%,-70%)scale(.8)}.RZlVia_cloud:after{opacity:.78;animation:5.2s ease-in-out infinite alternate-reverse RZlVia_cloud-ambient-back;transform:translate(-50%,-48%)scale(.68)}.RZlVia_orb[data-standby]{background:radial-gradient(circle at 78% 17%,#ffd8b14d,#0000 37%),linear-gradient(145deg,#665d70 0%,#987565 52%,#c89572 100%);box-shadow:0 8px 28px #855b4540}.RZlVia_orb[data-standby]:before{visibility:hidden}.RZlVia_orb[data-standby] .RZlVia_cloud,.RZlVia_orb[data-standby] .RZlVia_cloud:before,.RZlVia_orb[data-standby] .RZlVia_cloud:after{background:radial-gradient(#f5ded3d1,#ae979d8f 48%,#0000 88%)}@keyframes RZlVia_cloud-ambient{0%{transform:translate(-30%, 9%) rotate(-19deg) scale(calc(.76 + var(--voice-orb-cloud-growth)));filter:blur(8px)brightness(.93)}to{transform:translate(13%, 28%) rotate(-5deg) scale(calc(1.16 + var(--voice-orb-cloud-growth)));filter:blur(6px)brightness(1.07)}}@keyframes RZlVia_cloud-ambient-front{0%{transform:translate(26%, -80%) rotate(-10deg) scale(calc(.58 + var(--voice-orb-cloud-growth)));filter:blur(8px)hue-rotate(-12deg)}to{transform:translate(69%, -54%) rotate(8deg) scale(calc(1.04 + var(--voice-orb-cloud-growth)));filter:blur(5px)hue-rotate(12deg)}}@keyframes RZlVia_cloud-ambient-back{0%{transform:translate(-75%, -30%) rotate(9deg) scale(calc(.52 + var(--voice-orb-cloud-growth)));filter:blur(9px)brightness(.89)}to{transform:translate(-24%, -63%) rotate(-8deg) scale(calc(.91 + var(--voice-orb-cloud-growth)));filter:blur(6px)brightness(1.09)}}@keyframes RZlVia_sky-contrast{0%,to{opacity:.16;transform:translate(-24%,-28%)rotate(-18deg)scale(.78)}50%{opacity:.72;transform:translate(22%,-4%)rotate(22deg)scale(1.12)}}@keyframes RZlVia_orb-sky{0%{filter:hue-rotate(-6deg)saturate(.98);background-position:12% 20%}to{filter:hue-rotate(9deg)saturate(1.1);background-position:88% 76%}}@media (prefers-reduced-motion:reduce){.RZlVia_orb{transition:none;animation:none;transform:none;box-shadow:0 8px 32px #7c8fff38}.RZlVia_cloud,.RZlVia_cloud:before,.RZlVia_cloud:after{animation:none}.RZlVia_orb:before{opacity:.16;animation:none}}";
|
|
23047
23047
|
const tagId$3 = "@deepseek-ai/dsh-voice-client/VoiceOrb.module.css";
|
|
23048
23048
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$3) + "]") === null) {
|
|
23049
23049
|
const tag = document.createElement("style");
|
|
@@ -23053,15 +23053,15 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
23053
23053
|
document.head.appendChild(tag);
|
|
23054
23054
|
}
|
|
23055
23055
|
var VoiceOrb_module_css_default = {
|
|
23056
|
-
"cloud": "
|
|
23057
|
-
"cloud-ambient": "
|
|
23058
|
-
"cloud-ambient-back": "
|
|
23059
|
-
"cloud-ambient-front": "
|
|
23060
|
-
"frame": "
|
|
23061
|
-
"orb": "
|
|
23062
|
-
"orb-sky": "
|
|
23063
|
-
"resume": "
|
|
23064
|
-
"sky-contrast": "
|
|
23056
|
+
"cloud": "RZlVia_cloud",
|
|
23057
|
+
"cloud-ambient": "RZlVia_cloud-ambient",
|
|
23058
|
+
"cloud-ambient-back": "RZlVia_cloud-ambient-back",
|
|
23059
|
+
"cloud-ambient-front": "RZlVia_cloud-ambient-front",
|
|
23060
|
+
"frame": "RZlVia_frame",
|
|
23061
|
+
"orb": "RZlVia_orb",
|
|
23062
|
+
"orb-sky": "RZlVia_orb-sky",
|
|
23063
|
+
"resume": "RZlVia_resume",
|
|
23064
|
+
"sky-contrast": "RZlVia_sky-contrast"
|
|
23065
23065
|
};
|
|
23066
23066
|
/** Assistant-output cloud rendered above the composer while voice is live or parked. */
|
|
23067
23067
|
const ATTACK_MS = 110;
|
|
@@ -23181,7 +23181,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
23181
23181
|
}) : orb
|
|
23182
23182
|
});
|
|
23183
23183
|
}
|
|
23184
|
-
const css$2 = ".
|
|
23184
|
+
const css$2 = ".giayVW_page{max-width:640px;color:var(--dsw-alias-label-primary);flex-direction:column;gap:14px;display:flex}.giayVW_heading{color:var(--dsw-alias-label-primary);margin:0;font-size:16px;font-weight:500;line-height:24px}.giayVW_vadStatus{color:var(--dsw-alias-label-primary);font-size:12px;line-height:1.5}.giayVW_vadStatusOk{color:var(--dsw-alias-state-success-primary)}.giayVW_vadStatusWarn{color:var(--dsw-alias-state-warn-primary)}.giayVW_vadReason{color:var(--dsw-alias-label-tertiary);margin-top:4px;font-size:12px;line-height:18px;display:block}.giayVW_card{border:.5px solid var(--dsw-alias-border-l4);background:var(--dsw-alias-bg-layer-3);border-radius:16px;list-style:none;transition:border-color .16s,background .16s}.giayVW_card:hover{border-color:var(--dsw-alias-label-dimmed)}.giayVW_cardOpen{background:var(--dsw-alias-bg-layer-2);border-color:var(--dsw-alias-label-dimmed)}.giayVW_cardHeader{appearance:none;width:100%;font:inherit;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:16px;align-items:center;gap:12px;padding:14px 16px;display:flex}.giayVW_cardHeader:focus-visible{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:-2px}.giayVW_cardHeadText{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.giayVW_cardTitle{color:var(--dsw-alias-label-primary);font-size:15px;font-weight:600;line-height:1.4}.giayVW_cardDesc{color:var(--dsw-alias-label-tertiary);font-size:13px;line-height:1.5}.giayVW_cardChevron{color:var(--dsw-alias-label-tertiary);flex:none;transition:transform .16s}.giayVW_cardChevronOpen{transform:rotate(180deg)}.giayVW_cardBody{border-top:.5px solid var(--dsw-alias-border-l2);flex-direction:column;gap:2px;margin:0 16px;padding:2px 0 8px;display:flex}.giayVW_cardBody>.giayVW_card+.giayVW_card{margin-top:6px}.giayVW_field{flex-direction:column;gap:6px;padding:12px 0;display:flex}.giayVW_field+.giayVW_field{border-top:.5px solid var(--dsw-alias-border-l2)}.giayVW_label{color:var(--dsw-alias-label-primary);font-size:13px;font-weight:500;line-height:1.5}.giayVW_input{box-sizing:border-box;border:.5px solid var(--dsw-alias-border-l4);width:100%;height:34px;font:inherit;background:var(--dsw-alias-bg-layer-3);color:var(--dsw-alias-label-primary);border-radius:8px;padding:0 12px;font-size:13px;line-height:1.5}.giayVW_input:focus-visible{border-color:var(--dsw-alias-brand-primary);outline:none}.giayVW_input::placeholder{color:var(--dsw-alias-label-dimmed)}.giayVW_input:disabled{color:var(--dsw-alias-label-tertiary);cursor:default}.giayVW_hint{color:var(--dsw-alias-label-tertiary);margin:0;font-size:12px;line-height:1.5}.giayVW_subsection{border-top:.5px solid var(--dsw-alias-border-l2)}.giayVW_subsection:first-child{border-top:none}.giayVW_subsectionBody>.giayVW_subsection{padding-inline-start:12px}.giayVW_subsectionHeader{appearance:none;width:100%;font:inherit;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;padding:12px 0;display:flex}.giayVW_subsectionHeader:focus-visible{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:-2px}.giayVW_subsectionTitle{min-width:0;color:var(--dsw-alias-label-primary);flex:1;font-size:13px;font-weight:600;line-height:1.5}.giayVW_subsectionChevron{color:var(--dsw-alias-label-tertiary);flex:none;transition:transform .16s}.giayVW_subsectionChevronOpen{transform:rotate(180deg)}.giayVW_subsectionBody{flex-direction:column;gap:2px;padding:2px 0 10px;display:flex}.giayVW_labelRow{align-items:center;gap:8px;display:flex}.giayVW_labelRow .giayVW_label{flex:1;min-width:0}.giayVW_badge{corner-shape:round;white-space:nowrap;background:var(--dsw-alias-bg-module-platform);color:var(--dsw-alias-label-secondary);border-radius:999px;padding:1px 8px;font-size:11px;font-weight:500;line-height:17px}.giayVW_badgeMuted{corner-shape:round;white-space:nowrap;color:var(--dsw-alias-label-tertiary);border-radius:999px;padding:1px 8px;font-size:11px;line-height:17px}.giayVW_selector{background:var(--dsw-alias-bg-module-platform);width:100%;height:36px;font:inherit;color:var(--dsw-alias-label-primary);cursor:pointer;text-align:left;border:none;border-radius:18px;justify-content:space-between;align-items:center;gap:12px;padding:0 14px;font-size:14px;line-height:22px;display:inline-flex}.giayVW_selector:hover{background:var(--dsw-alias-interactive-bg-hover)}.giayVW_selector:focus-visible{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:1px}.giayVW_chevron{color:var(--dsw-alias-label-secondary);flex:none}.giayVW_modelRow .giayVW_selector{flex:1;min-width:0}.giayVW_toggleRow{color:var(--dsw-alias-label-primary);justify-content:space-between;align-items:flex-start;gap:16px;padding:14px 0;font-size:13px;line-height:1.5;display:flex}.giayVW_toggleText{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.giayVW_toggleLabel{color:var(--dsw-alias-label-primary);font-size:14px;line-height:22px}.giayVW_toggleDesc{color:var(--dsw-alias-label-tertiary);font-size:12px;line-height:18px}.giayVW_switch{box-sizing:border-box;background:var(--dsw-alias-border-l3);cursor:pointer;border:0;border-radius:10px;flex:none;width:36px;height:20px;padding:2px;position:relative}.giayVW_switchOn{background:var(--dsw-alias-brand-primary)}.giayVW_switch:focus-visible{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:2px}.giayVW_switch:disabled{cursor:default;opacity:.5}.giayVW_thumb{corner-shape:round;background:var(--dsw-alias-label-primary-foreground);border-radius:50%;width:16px;height:16px;transition:transform .12s;display:block}.giayVW_switchOn .giayVW_thumb{transform:translate(16px)}.giayVW_sliderRow{flex-direction:column;gap:6px;padding:10px 0;display:flex}.giayVW_sliderHead{justify-content:space-between;align-items:center;display:flex}.giayVW_sliderLabel{color:var(--dsw-alias-label-primary);font-size:14px;line-height:22px}.giayVW_sliderValue{font-variant-numeric:tabular-nums;color:var(--dsw-alias-label-secondary);font-size:12px;line-height:18px}.giayVW_slider{width:100%;accent-color:var(--dsw-alias-button-primary-fill)}.giayVW_btnRow{flex-wrap:wrap;align-items:center;gap:8px;padding:8px 0 4px;display:flex}.giayVW_result{font-size:12px;line-height:18px}.giayVW_resultOk{color:var(--dsw-alias-state-success-primary)}.giayVW_resultFail{color:var(--dsw-alias-state-error-primary)}.giayVW_cardTop{position:relative}.giayVW_cardTopWithVoice{grid-template-columns:minmax(0,1fr) auto 42px;align-items:center;display:grid}.giayVW_cardTopWithVoice .giayVW_cardHeader{grid-area:1/1/auto/-1;grid-template-columns:subgrid;display:grid}.giayVW_cardTopWithVoice .giayVW_cardHeadText{grid-column:1}.giayVW_cardTopWithVoice .giayVW_cardChevron{grid-column:3;justify-self:end}.giayVW_cardTopWithVoice .giayVW_quickVoice{z-index:1;grid-area:1/2}.giayVW_voiceDot{corner-shape:round;background:#3984f5;border-radius:50%;flex:none;width:12px;height:12px}.giayVW_quickVoice{border:1px solid var(--dsw-alias-border-l4);background:var(--dsw-alias-bg-module-platform);color:var(--dsw-alias-label-primary);font:inherit;cursor:pointer;overflow-wrap:anywhere;border-radius:18px;align-items:center;gap:8px;max-width:180px;margin:0;padding:8px 12px;display:inline-flex}.giayVW_quickVoice:hover{background:var(--dsw-alias-interactive-bg-hover)}.giayVW_quickVoice:focus-visible{outline:2px solid var(--dsw-alias-brand-primary)}.giayVW_cardTopWithVoice .giayVW_quickVoice{gap:0;max-width:220px;padding:0;position:relative}.giayVW_voiceChoice,.giayVW_voicePreview{color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;padding:8px 10px}.giayVW_voiceChoice{overflow-wrap:anywhere;align-items:center;gap:8px;min-width:0;display:inline-flex}.giayVW_voicePreview{border-left:1px solid var(--dsw-alias-border-l4);flex:none;font-size:12px}.giayVW_voiceChoice:focus-visible,.giayVW_voicePreview:focus-visible{outline:2px solid var(--dsw-alias-brand-primary);border-radius:12px}.giayVW_previewError{z-index:2;border:1px solid var(--dsw-alias-border-l4);background:var(--dsw-alias-bg-layer-2);border-radius:8px;width:240px;padding:10px;font-size:12px;position:absolute;top:100%;right:0}.giayVW_radioGroup{flex-wrap:wrap;gap:12px 24px;display:flex}.giayVW_radioGroup label{cursor:pointer;align-items:center;gap:8px;padding:6px 0;display:inline-flex}.giayVW_radioGroup input{width:16px;height:16px;accent-color:var(--dsw-alias-state-info-primary,#3978f6);cursor:pointer;margin:0}.giayVW_modelRow{align-items:center;gap:8px;display:flex}.giayVW_modelRow>:first-child{flex:1;min-width:0}.giayVW_modelRow>:last-child:not(:first-child){flex:none}.giayVW_realtimeSelectionRow{align-items:center;gap:12px;display:flex}.giayVW_realtimeModel{flex:1;min-width:0}.giayVW_realtimeSelectionRow>.giayVW_field{flex:none;max-width:40%}.giayVW_realtimeSelectionRow>.giayVW_field .giayVW_input{text-overflow:ellipsis;white-space:nowrap;width:auto;min-width:96px;overflow:hidden}.giayVW_subsectionSummary{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:60%;color:var(--dsw-alias-label-secondary);font-size:12px;font-weight:400;overflow:hidden}";
|
|
23185
23185
|
const tagId$2 = "@deepseek-ai/dsh-voice-client/VoiceSettings.module.css";
|
|
23186
23186
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$2) + "]") === null) {
|
|
23187
23187
|
const tag = document.createElement("style");
|
|
@@ -23191,64 +23191,64 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
23191
23191
|
document.head.appendChild(tag);
|
|
23192
23192
|
}
|
|
23193
23193
|
var VoiceSettings_module_css_default = {
|
|
23194
|
-
"badge": "
|
|
23195
|
-
"badgeMuted": "
|
|
23196
|
-
"btnRow": "
|
|
23197
|
-
"card": "
|
|
23198
|
-
"cardBody": "
|
|
23199
|
-
"cardChevron": "
|
|
23200
|
-
"cardChevronOpen": "
|
|
23201
|
-
"cardDesc": "
|
|
23202
|
-
"cardHeadText": "
|
|
23203
|
-
"cardHeader": "
|
|
23204
|
-
"cardOpen": "
|
|
23205
|
-
"cardTitle": "
|
|
23206
|
-
"cardTop": "
|
|
23207
|
-
"cardTopWithVoice": "
|
|
23208
|
-
"chevron": "
|
|
23209
|
-
"field": "
|
|
23210
|
-
"heading": "
|
|
23211
|
-
"hint": "
|
|
23212
|
-
"input": "
|
|
23213
|
-
"label": "
|
|
23214
|
-
"labelRow": "
|
|
23215
|
-
"modelRow": "
|
|
23216
|
-
"page": "
|
|
23217
|
-
"previewError": "
|
|
23218
|
-
"quickVoice": "
|
|
23219
|
-
"radioGroup": "
|
|
23220
|
-
"realtimeModel": "
|
|
23221
|
-
"realtimeSelectionRow": "
|
|
23222
|
-
"result": "
|
|
23223
|
-
"resultFail": "
|
|
23224
|
-
"resultOk": "
|
|
23225
|
-
"selector": "
|
|
23226
|
-
"slider": "
|
|
23227
|
-
"sliderHead": "
|
|
23228
|
-
"sliderLabel": "
|
|
23229
|
-
"sliderRow": "
|
|
23230
|
-
"sliderValue": "
|
|
23231
|
-
"subsection": "
|
|
23232
|
-
"subsectionBody": "
|
|
23233
|
-
"subsectionChevron": "
|
|
23234
|
-
"subsectionChevronOpen": "
|
|
23235
|
-
"subsectionHeader": "
|
|
23236
|
-
"subsectionSummary": "
|
|
23237
|
-
"subsectionTitle": "
|
|
23238
|
-
"switch": "
|
|
23239
|
-
"switchOn": "
|
|
23240
|
-
"thumb": "
|
|
23241
|
-
"toggleDesc": "
|
|
23242
|
-
"toggleLabel": "
|
|
23243
|
-
"toggleRow": "
|
|
23244
|
-
"toggleText": "
|
|
23245
|
-
"vadReason": "
|
|
23246
|
-
"vadStatus": "
|
|
23247
|
-
"vadStatusOk": "
|
|
23248
|
-
"vadStatusWarn": "
|
|
23249
|
-
"voiceChoice": "
|
|
23250
|
-
"voiceDot": "
|
|
23251
|
-
"voicePreview": "
|
|
23194
|
+
"badge": "giayVW_badge",
|
|
23195
|
+
"badgeMuted": "giayVW_badgeMuted",
|
|
23196
|
+
"btnRow": "giayVW_btnRow",
|
|
23197
|
+
"card": "giayVW_card",
|
|
23198
|
+
"cardBody": "giayVW_cardBody",
|
|
23199
|
+
"cardChevron": "giayVW_cardChevron",
|
|
23200
|
+
"cardChevronOpen": "giayVW_cardChevronOpen",
|
|
23201
|
+
"cardDesc": "giayVW_cardDesc",
|
|
23202
|
+
"cardHeadText": "giayVW_cardHeadText",
|
|
23203
|
+
"cardHeader": "giayVW_cardHeader",
|
|
23204
|
+
"cardOpen": "giayVW_cardOpen",
|
|
23205
|
+
"cardTitle": "giayVW_cardTitle",
|
|
23206
|
+
"cardTop": "giayVW_cardTop",
|
|
23207
|
+
"cardTopWithVoice": "giayVW_cardTopWithVoice",
|
|
23208
|
+
"chevron": "giayVW_chevron",
|
|
23209
|
+
"field": "giayVW_field",
|
|
23210
|
+
"heading": "giayVW_heading",
|
|
23211
|
+
"hint": "giayVW_hint",
|
|
23212
|
+
"input": "giayVW_input",
|
|
23213
|
+
"label": "giayVW_label",
|
|
23214
|
+
"labelRow": "giayVW_labelRow",
|
|
23215
|
+
"modelRow": "giayVW_modelRow",
|
|
23216
|
+
"page": "giayVW_page",
|
|
23217
|
+
"previewError": "giayVW_previewError",
|
|
23218
|
+
"quickVoice": "giayVW_quickVoice",
|
|
23219
|
+
"radioGroup": "giayVW_radioGroup",
|
|
23220
|
+
"realtimeModel": "giayVW_realtimeModel",
|
|
23221
|
+
"realtimeSelectionRow": "giayVW_realtimeSelectionRow",
|
|
23222
|
+
"result": "giayVW_result",
|
|
23223
|
+
"resultFail": "giayVW_resultFail",
|
|
23224
|
+
"resultOk": "giayVW_resultOk",
|
|
23225
|
+
"selector": "giayVW_selector",
|
|
23226
|
+
"slider": "giayVW_slider",
|
|
23227
|
+
"sliderHead": "giayVW_sliderHead",
|
|
23228
|
+
"sliderLabel": "giayVW_sliderLabel",
|
|
23229
|
+
"sliderRow": "giayVW_sliderRow",
|
|
23230
|
+
"sliderValue": "giayVW_sliderValue",
|
|
23231
|
+
"subsection": "giayVW_subsection",
|
|
23232
|
+
"subsectionBody": "giayVW_subsectionBody",
|
|
23233
|
+
"subsectionChevron": "giayVW_subsectionChevron",
|
|
23234
|
+
"subsectionChevronOpen": "giayVW_subsectionChevronOpen",
|
|
23235
|
+
"subsectionHeader": "giayVW_subsectionHeader",
|
|
23236
|
+
"subsectionSummary": "giayVW_subsectionSummary",
|
|
23237
|
+
"subsectionTitle": "giayVW_subsectionTitle",
|
|
23238
|
+
"switch": "giayVW_switch",
|
|
23239
|
+
"switchOn": "giayVW_switchOn",
|
|
23240
|
+
"thumb": "giayVW_thumb",
|
|
23241
|
+
"toggleDesc": "giayVW_toggleDesc",
|
|
23242
|
+
"toggleLabel": "giayVW_toggleLabel",
|
|
23243
|
+
"toggleRow": "giayVW_toggleRow",
|
|
23244
|
+
"toggleText": "giayVW_toggleText",
|
|
23245
|
+
"vadReason": "giayVW_vadReason",
|
|
23246
|
+
"vadStatus": "giayVW_vadStatus",
|
|
23247
|
+
"vadStatusOk": "giayVW_vadStatusOk",
|
|
23248
|
+
"vadStatusWarn": "giayVW_vadStatusWarn",
|
|
23249
|
+
"voiceChoice": "giayVW_voiceChoice",
|
|
23250
|
+
"voiceDot": "giayVW_voiceDot",
|
|
23251
|
+
"voicePreview": "giayVW_voicePreview"
|
|
23252
23252
|
};
|
|
23253
23253
|
/** Local model installation dialog; progress belongs to the host and survives closing the dialog. */
|
|
23254
23254
|
/** Install a selected recognition, synthesis or wake pack.
|
|
@@ -23443,7 +23443,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
23443
23443
|
]
|
|
23444
23444
|
})] });
|
|
23445
23445
|
}
|
|
23446
|
-
const css$1 = ".
|
|
23446
|
+
const css$1 = ".vM7mWG_dialog{border:1px solid var(--dsw-alias-border-l4);background:var(--dsw-alias-bg-layer-2);width:min(900px,100vw - 40px);max-height:min(850px,100dvh - 48px);color:var(--dsw-alias-label-primary);font:inherit;border-radius:20px;padding:0}.vM7mWG_dialog[open]{flex-direction:column;display:flex}.vM7mWG_dialog::backdrop{background:#00000073}.vM7mWG_header,.vM7mWG_controls,.vM7mWG_footer{padding:20px 24px}.vM7mWG_header,.vM7mWG_footer{align-items:center;gap:12px;display:flex}.vM7mWG_header{border-bottom:1px solid var(--dsw-alias-border-l4);justify-content:space-between}.vM7mWG_header h2{margin:0 0 8px;font-size:20px}.vM7mWG_header p,.vM7mWG_metadata p{color:var(--dsw-alias-label-tertiary);margin:0}.vM7mWG_dialog button,.vM7mWG_dialog select,.vM7mWG_dialog input:not([type=checkbox]){border:1px solid var(--dsw-alias-border-l4);background:var(--dsw-alias-bg-layer-3);color:inherit;font:inherit;border-radius:10px;padding:10px 12px}.vM7mWG_dialog button{cursor:pointer;flex-shrink:0}.vM7mWG_dialog button:hover{background:var(--dsw-alias-interactive-bg-hover)}.vM7mWG_dialog button:disabled{opacity:.5;cursor:default}.vM7mWG_dialog button[aria-pressed=true]{color:var(--dsw-alias-brand-primary)}.vM7mWG_dialog :focus-visible{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:2px}.vM7mWG_controls>input{box-sizing:border-box;width:100%}.vM7mWG_filters{flex-wrap:wrap;align-items:center;gap:12px;margin:12px 0;display:flex}.vM7mWG_filters label{align-items:center;gap:6px;display:flex}.vM7mWG_list{min-height:120px;padding:0 24px 12px;overflow-y:auto}.vM7mWG_row{box-sizing:border-box;border:1px solid var(--dsw-alias-border-l4);border-radius:12px;align-items:center;gap:8px;min-height:68px;margin-bottom:10px;padding:10px 12px;display:flex}.vM7mWG_avatar{corner-shape:round;width:36px;height:36px;color:var(--dsw-static-neutral-00);border-radius:50%;flex-shrink:0;place-items:center;font-size:13px;font-weight:700;display:grid}.vM7mWG_avatar0{background:var(--dsw-static-amber-400)}.vM7mWG_avatar1{background:var(--dsw-static-amber-600)}.vM7mWG_avatar2{background:var(--dsw-static-neutral-bluish-600)}.vM7mWG_avatar3{background:var(--dsw-static-blue-400)}.vM7mWG_avatar4{background:var(--dsw-static-green-400)}.vM7mWG_avatar5{background:var(--dsw-static-deepseek-500)}.vM7mWG_metadata{overflow-wrap:anywhere;flex:1;min-width:0}.vM7mWG_metadata strong,.vM7mWG_metadata small{display:block}.vM7mWG_metadata small{color:var(--dsw-alias-label-tertiary)}.vM7mWG_metadata p{font-size:14px}.vM7mWG_row .vM7mWG_action{width:36px;height:36px;color:var(--dsw-alias-label-secondary);place-items:center;padding:0;display:grid}.vM7mWG_row .vM7mWG_select{padding-inline:14px}.vM7mWG_selectedRow{background:var(--dsw-alias-interactive-bg-hover)}.vM7mWG_footer{border-top:1px solid var(--dsw-alias-border-l4);flex-wrap:wrap}.vM7mWG_manual{flex:1;min-width:180px}.vM7mWG_manual summary{cursor:pointer;color:var(--dsw-alias-label-tertiary);font-size:13px}.vM7mWG_manualRow{align-items:center;gap:12px;margin-top:10px;display:flex}.vM7mWG_manualRow input{flex:1;min-width:0}@media (width<=600px){.vM7mWG_header,.vM7mWG_controls,.vM7mWG_footer{padding:14px}.vM7mWG_list{padding:0 14px}.vM7mWG_row{flex-wrap:wrap}.vM7mWG_metadata{flex-basis:calc(100% - 60px)}}.vM7mWG_compact{width:min(560px,100vw - 40px)}.vM7mWG_compact .vM7mWG_header{border:0;padding:22px 24px 8px}.vM7mWG_compact .vM7mWG_header h2{font-size:24px}.vM7mWG_carousel{text-align:center;padding:18px 24px;overflow-y:auto}.vM7mWG_dialog .vM7mWG_voiceOrb{corner-shape:round;color:#243d73;background:radial-gradient(at 30% 65%,#eef6ff 0%,#0000 52%),radial-gradient(at 80% 75%,#bacdff 0%,#0000 60%),linear-gradient(145deg,#687eff,#d6dfff);border:0;border-radius:50%;place-items:center;width:136px;height:136px;margin:8px auto 26px;display:grid;box-shadow:inset 0 0 24px #fff5}.vM7mWG_voiceOrb span{opacity:0;transition:opacity .15s}.vM7mWG_voiceOrb[aria-busy=true] span,.vM7mWG_voiceOrb:hover span,.vM7mWG_voiceOrb:focus-visible span,.vM7mWG_voiceOrbPlaying span{opacity:1}.vM7mWG_voiceOrbPlaying{animation:1.8s ease-in-out infinite vM7mWG_voicePreviewPulse}.vM7mWG_voiceSlide{justify-content:space-between;align-items:center;gap:18px;display:flex}.vM7mWG_voiceSlide>div{overflow-wrap:anywhere;flex:1;min-width:0}.vM7mWG_voiceSlide h3{margin:0 0 12px;font-size:30px}.vM7mWG_voiceSlide p{min-height:24px;color:var(--dsw-alias-label-tertiary);margin:0}.vM7mWG_dialog .vM7mWG_voiceSlide button{color:var(--dsw-alias-label-tertiary);background:0 0;border:0;font-size:36px}.vM7mWG_dots{justify-content:center;gap:12px;margin:24px 0 14px;display:flex}.vM7mWG_dialog .vM7mWG_dots button{corner-shape:round;background:color-mix(in srgb, var(--dsw-alias-brand-primary) 35%, transparent);border:0;border-radius:50%;width:12px;height:12px;padding:0}.vM7mWG_dialog .vM7mWG_dots button[aria-pressed=true]{background:var(--dsw-alias-brand-primary)}.vM7mWG_dialog .vM7mWG_dots button[aria-current=true]{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:2px}.vM7mWG_selectedMark{background:color-mix(in srgb, var(--dsw-alias-brand-primary) 18%, transparent);color:var(--dsw-alias-brand-primary);border-radius:999px;margin:0 0 8px;padding:2px 8px;display:inline-block}.vM7mWG_carousel small{color:var(--dsw-alias-label-tertiary)}.vM7mWG_quickFooter{flex-wrap:wrap;align-items:center;gap:12px;padding:12px 24px 20px;display:flex}.vM7mWG_dialog .vM7mWG_browse{background:0 0;border:0;margin-right:auto;font-size:13px}.vM7mWG_dialog .vM7mWG_done{background:var(--dsw-alias-label-primary);color:var(--dsw-alias-bg-layer-2);padding-inline:24px}@keyframes vM7mWG_voicePreviewPulse{50%{filter:brightness(1.12);transform:scale(1.05)}}@media (prefers-reduced-motion:reduce){.vM7mWG_voiceOrbPlaying{animation:none}}@media (width<=480px){.vM7mWG_quickFooter{padding:14px}.vM7mWG_dialog .vM7mWG_browse{flex-basis:100%}}.vM7mWG_previewSpinner{box-sizing:border-box;corner-shape:round;vertical-align:middle;border:2px solid;border-right-color:#0000;border-radius:50%;width:1em;height:1em;animation:.75s linear infinite vM7mWG_voicePreviewSpin;display:inline-block}@keyframes vM7mWG_voicePreviewSpin{to{transform:rotate(360deg)}}";
|
|
23447
23447
|
const tagId$1 = "@deepseek-ai/dsh-voice-client/VoicePicker.module.css";
|
|
23448
23448
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$1) + "]") === null) {
|
|
23449
23449
|
const tag = document.createElement("style");
|
|
@@ -23453,39 +23453,39 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
23453
23453
|
document.head.appendChild(tag);
|
|
23454
23454
|
}
|
|
23455
23455
|
var VoicePicker_module_css_default = {
|
|
23456
|
-
"action": "
|
|
23457
|
-
"avatar": "
|
|
23458
|
-
"avatar0": "
|
|
23459
|
-
"avatar1": "
|
|
23460
|
-
"avatar2": "
|
|
23461
|
-
"avatar3": "
|
|
23462
|
-
"avatar4": "
|
|
23463
|
-
"avatar5": "
|
|
23464
|
-
"browse": "
|
|
23465
|
-
"carousel": "
|
|
23466
|
-
"compact": "
|
|
23467
|
-
"controls": "
|
|
23468
|
-
"dialog": "
|
|
23469
|
-
"done": "
|
|
23470
|
-
"dots": "
|
|
23471
|
-
"filters": "
|
|
23472
|
-
"footer": "
|
|
23473
|
-
"header": "
|
|
23474
|
-
"list": "
|
|
23475
|
-
"manual": "
|
|
23476
|
-
"manualRow": "
|
|
23477
|
-
"metadata": "
|
|
23478
|
-
"previewSpinner": "
|
|
23479
|
-
"quickFooter": "
|
|
23480
|
-
"row": "
|
|
23481
|
-
"select": "
|
|
23482
|
-
"selectedMark": "
|
|
23483
|
-
"selectedRow": "
|
|
23484
|
-
"voiceOrb": "
|
|
23485
|
-
"voiceOrbPlaying": "
|
|
23486
|
-
"voicePreviewPulse": "
|
|
23487
|
-
"voicePreviewSpin": "
|
|
23488
|
-
"voiceSlide": "
|
|
23456
|
+
"action": "vM7mWG_action",
|
|
23457
|
+
"avatar": "vM7mWG_avatar",
|
|
23458
|
+
"avatar0": "vM7mWG_avatar0",
|
|
23459
|
+
"avatar1": "vM7mWG_avatar1",
|
|
23460
|
+
"avatar2": "vM7mWG_avatar2",
|
|
23461
|
+
"avatar3": "vM7mWG_avatar3",
|
|
23462
|
+
"avatar4": "vM7mWG_avatar4",
|
|
23463
|
+
"avatar5": "vM7mWG_avatar5",
|
|
23464
|
+
"browse": "vM7mWG_browse",
|
|
23465
|
+
"carousel": "vM7mWG_carousel",
|
|
23466
|
+
"compact": "vM7mWG_compact",
|
|
23467
|
+
"controls": "vM7mWG_controls",
|
|
23468
|
+
"dialog": "vM7mWG_dialog",
|
|
23469
|
+
"done": "vM7mWG_done",
|
|
23470
|
+
"dots": "vM7mWG_dots",
|
|
23471
|
+
"filters": "vM7mWG_filters",
|
|
23472
|
+
"footer": "vM7mWG_footer",
|
|
23473
|
+
"header": "vM7mWG_header",
|
|
23474
|
+
"list": "vM7mWG_list",
|
|
23475
|
+
"manual": "vM7mWG_manual",
|
|
23476
|
+
"manualRow": "vM7mWG_manualRow",
|
|
23477
|
+
"metadata": "vM7mWG_metadata",
|
|
23478
|
+
"previewSpinner": "vM7mWG_previewSpinner",
|
|
23479
|
+
"quickFooter": "vM7mWG_quickFooter",
|
|
23480
|
+
"row": "vM7mWG_row",
|
|
23481
|
+
"select": "vM7mWG_select",
|
|
23482
|
+
"selectedMark": "vM7mWG_selectedMark",
|
|
23483
|
+
"selectedRow": "vM7mWG_selectedRow",
|
|
23484
|
+
"voiceOrb": "vM7mWG_voiceOrb",
|
|
23485
|
+
"voiceOrbPlaying": "vM7mWG_voiceOrbPlaying",
|
|
23486
|
+
"voicePreviewPulse": "vM7mWG_voicePreviewPulse",
|
|
23487
|
+
"voicePreviewSpin": "vM7mWG_voicePreviewSpin",
|
|
23488
|
+
"voiceSlide": "vM7mWG_voiceSlide"
|
|
23489
23489
|
};
|
|
23490
23490
|
/** Playback glyph shared by voice sample controls. */
|
|
23491
23491
|
/** Show preparation until audio starts, then expose the stop glyph. */
|
|
@@ -24119,7 +24119,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
24119
24119
|
})] })]
|
|
24120
24120
|
});
|
|
24121
24121
|
}
|
|
24122
|
-
const css = ".
|
|
24122
|
+
const css = "._1_VG4G_shell{box-sizing:border-box;border:.5px solid var(--dsw-alias-border-l4);background:0 0;border-radius:10px;width:100%;max-width:none;padding:16px}";
|
|
24123
24123
|
const tagId = "@deepseek-ai/dsh-voice-client/VoiceSettingsShell.module.css";
|
|
24124
24124
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId) + "]") === null) {
|
|
24125
24125
|
const tag = document.createElement("style");
|
|
@@ -24128,7 +24128,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
24128
24128
|
tag.textContent = css;
|
|
24129
24129
|
document.head.appendChild(tag);
|
|
24130
24130
|
}
|
|
24131
|
-
var VoiceSettingsShell_module_css_default = { "shell": "
|
|
24131
|
+
var VoiceSettingsShell_module_css_default = { "shell": "_1_VG4G_shell" };
|
|
24132
24132
|
/** Voice preferences, write-only host credential setup, and provider diagnostics. */
|
|
24133
24133
|
/** The test phrase spoken by the read-back test. */
|
|
24134
24134
|
const READ_BACK_TEST = "This is a voice test. Can you hear me?";
|
|
@@ -27092,7 +27092,7 @@ ${value}`, dataLines++;
|
|
|
27092
27092
|
if (!sessionId || !deps.getConfig().transcriptHistory) return;
|
|
27093
27093
|
const connection = ctx.get("connection");
|
|
27094
27094
|
if (connection === void 0) throw new Error("Voice connection unavailable");
|
|
27095
|
-
if (!(await connection.rpc.call("/
|
|
27095
|
+
if (!(await connection.rpc.call("/api", "voice-pipeline/exchange", {
|
|
27096
27096
|
sessionId,
|
|
27097
27097
|
user: "",
|
|
27098
27098
|
assistant: caption.text,
|
|
@@ -27141,7 +27141,7 @@ ${value}`, dataLines++;
|
|
|
27141
27141
|
}
|
|
27142
27142
|
const connection = ctx.get("connection");
|
|
27143
27143
|
if (connection === void 0) throw new Error("Voice connection unavailable");
|
|
27144
|
-
const result = await connection.rpc.call("/
|
|
27144
|
+
const result = await connection.rpc.call("/api", "voice-pipeline/tool", {
|
|
27145
27145
|
sessionId,
|
|
27146
27146
|
conversationId: id,
|
|
27147
27147
|
callId,
|
|
@@ -27314,7 +27314,7 @@ ${value}`, dataLines++;
|
|
|
27314
27314
|
if (!deps.getConfig().transcriptHistory) return;
|
|
27315
27315
|
const connection = ctx.get("connection");
|
|
27316
27316
|
if (connection === void 0) throw new Error("Voice connection unavailable");
|
|
27317
|
-
if (!(await connection.rpc.call("/
|
|
27317
|
+
if (!(await connection.rpc.call("/api", "voice-pipeline/exchange", {
|
|
27318
27318
|
sessionId,
|
|
27319
27319
|
user,
|
|
27320
27320
|
assistant
|
|
@@ -27693,7 +27693,7 @@ ${value}`, dataLines++;
|
|
|
27693
27693
|
if (wake !== channel || wakeIdentity !== identity) return;
|
|
27694
27694
|
const connection = ctx.get("connection");
|
|
27695
27695
|
if (connection === void 0) throw new Error("Voice connection unavailable");
|
|
27696
|
-
const result = await connection.rpc.call("/
|
|
27696
|
+
const result = await connection.rpc.call("/api", "voice-local/wake-keywords", {
|
|
27697
27697
|
modelId: selected.wakeModelId,
|
|
27698
27698
|
phrases: [selected.wakePhrase.trim()]
|
|
27699
27699
|
});
|
|
@@ -28249,7 +28249,7 @@ ${value}`, dataLines++;
|
|
|
28249
28249
|
const credentialRequest = async (endpoint, slot, value, migrate = false, baseUrl = config.getSnapshot().conversationalBaseUrl) => {
|
|
28250
28250
|
const connection = ctx.get("connection");
|
|
28251
28251
|
if (!connection) throw new Error("Voice connection unavailable");
|
|
28252
|
-
const result = await connection.rpc.call("/voice-credentials
|
|
28252
|
+
const result = await connection.rpc.call("/api", `voice-credentials/${endpoint}`, {
|
|
28253
28253
|
slot,
|
|
28254
28254
|
...slot === "conversational" ? { baseUrl } : {},
|
|
28255
28255
|
...value === void 0 ? {} : {
|
|
@@ -28411,7 +28411,7 @@ ${value}`, dataLines++;
|
|
|
28411
28411
|
const selected = resolveStsSettings(cfg());
|
|
28412
28412
|
const connection = ctx.get("connection");
|
|
28413
28413
|
if (connection === void 0) throw new Error("Voice connection unavailable");
|
|
28414
|
-
const result = await connection.rpc.call("/
|
|
28414
|
+
const result = await connection.rpc.call("/api", "voice-sts/models", { provider: selected.provider }, signal);
|
|
28415
28415
|
if (!result.ok || typeof result.value !== "object" || result.value === null || !("models" in result.value) || !Array.isArray(result.value.models)) throw new Error("STS model discovery failed");
|
|
28416
28416
|
const listings = [];
|
|
28417
28417
|
for (const entry of result.value.models) {
|
|
@@ -28549,7 +28549,7 @@ ${value}`, dataLines++;
|
|
|
28549
28549
|
const selected = resolveStsSettings(c);
|
|
28550
28550
|
const connection = ctx.get("connection");
|
|
28551
28551
|
if (connection === void 0) return false;
|
|
28552
|
-
const result = await connection.rpc.call("/
|
|
28552
|
+
const result = await connection.rpc.call("/api", "voice-sts/probe", {
|
|
28553
28553
|
provider: selected.provider,
|
|
28554
28554
|
model: selected.model,
|
|
28555
28555
|
voice: selected.voice,
|
|
@@ -28562,7 +28562,7 @@ ${value}`, dataLines++;
|
|
|
28562
28562
|
listPipelineModels: async (provider, kind, signal) => {
|
|
28563
28563
|
const connection = ctx.get("connection");
|
|
28564
28564
|
if (!connection) throw new Error("Voice connection unavailable");
|
|
28565
|
-
const result = await connection.rpc.call("/
|
|
28565
|
+
const result = await connection.rpc.call("/api", "voice-sts/pipeline-models", {
|
|
28566
28566
|
provider,
|
|
28567
28567
|
kind
|
|
28568
28568
|
}, signal);
|
|
@@ -28573,14 +28573,14 @@ ${value}`, dataLines++;
|
|
|
28573
28573
|
localModelDownloadSize: async (request, signal) => {
|
|
28574
28574
|
const connection = ctx.get("connection");
|
|
28575
28575
|
if (!connection) throw new Error("Voice connection unavailable");
|
|
28576
|
-
const result = await connection.rpc.call("/
|
|
28576
|
+
const result = await connection.rpc.call("/api", "voice-local/install-size", request, signal);
|
|
28577
28577
|
if (!result.ok) throw new Error(result.error.message);
|
|
28578
28578
|
return typeof result.value === "number" && result.value > 0 ? result.value : null;
|
|
28579
28579
|
},
|
|
28580
28580
|
installLocalModels: async (request, signal) => {
|
|
28581
28581
|
const connection = ctx.get("connection");
|
|
28582
28582
|
if (!connection) throw new Error("Voice connection unavailable");
|
|
28583
|
-
const result = await connection.rpc.call("/
|
|
28583
|
+
const result = await connection.rpc.call("/api", request ? "voice-local/install" : "voice-local/install-status", request ?? {}, signal);
|
|
28584
28584
|
if (!result.ok) throw new Error(result.error.message);
|
|
28585
28585
|
const value = result.value;
|
|
28586
28586
|
if (typeof value !== "object" || value === null || !("running" in value) || typeof value.running !== "boolean" || !("phase" in value) || typeof value.phase !== "string" || !("downloaded" in value) || typeof value.downloaded !== "number" || !("total" in value) || typeof value.total !== "number" || !("error" in value) || value.error !== null && typeof value.error !== "string") throw new Error("Invalid local installation status");
|
|
@@ -28595,21 +28595,21 @@ ${value}`, dataLines++;
|
|
|
28595
28595
|
listLocalModels: async (signal) => {
|
|
28596
28596
|
const connection = ctx.get("connection");
|
|
28597
28597
|
if (!connection) throw new Error("Voice connection unavailable");
|
|
28598
|
-
const result = await connection.rpc.call("/
|
|
28598
|
+
const result = await connection.rpc.call("/api", "voice-local/models", {}, signal);
|
|
28599
28599
|
if (!result.ok || !Array.isArray(result.value)) throw new Error("Local model discovery failed");
|
|
28600
28600
|
return parseLocalModels(result.value);
|
|
28601
28601
|
},
|
|
28602
28602
|
wakeReady: async (modelId, signal) => {
|
|
28603
28603
|
const connection = ctx.get("connection");
|
|
28604
28604
|
if (!connection) throw new Error("Voice connection unavailable");
|
|
28605
|
-
const result = await connection.rpc.call("/
|
|
28605
|
+
const result = await connection.rpc.call("/api", "voice-local/wake-readiness", { modelId }, signal);
|
|
28606
28606
|
return result.ok && typeof result.value === "object" && result.value !== null && "ready" in result.value && result.value.ready === true;
|
|
28607
28607
|
},
|
|
28608
28608
|
listVoices: async (selection, signal) => {
|
|
28609
28609
|
const connection = ctx.get("connection");
|
|
28610
28610
|
if (connection === void 0) throw new Error("Voice connection unavailable");
|
|
28611
28611
|
const language = selection.provider === "fish" ? selection.language ?? new Intl.Locale(ctx.locale.getSnapshot().active).language : void 0;
|
|
28612
|
-
const result = await connection.rpc.call("/
|
|
28612
|
+
const result = await connection.rpc.call("/api", "voice-sts/voices", {
|
|
28613
28613
|
...selection,
|
|
28614
28614
|
...language === void 0 ? {} : { language }
|
|
28615
28615
|
}, signal);
|