@voicemesh/dsh-voice 0.1.0-beta.5 → 0.1.0-beta.9
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
package/lib/client.js
CHANGED
|
@@ -15766,8 +15766,8 @@ registerProcessor('sts-capture', StsCapture);
|
|
|
15766
15766
|
}
|
|
15767
15767
|
}
|
|
15768
15768
|
//#endregion
|
|
15769
|
-
//#region \0dsh-css:/Users/hgp/DeepSeek/voicemesh-dsh-voice/.release/package-
|
|
15770
|
-
const css$7 = ".
|
|
15769
|
+
//#region \0dsh-css:/Users/hgp/DeepSeek/voicemesh-dsh-voice/.release/package-1792111306786/client-build/src/client/AudioVisualizer.module.css.mjs
|
|
15770
|
+
const css$7 = ".W-X_Qa_wave{height:28px;color:var(--dsw-alias-brand-primary,#80a9ed);flex:0 0 64px;align-items:center;display:inline-flex}.W-X_Qa_wave svg{fill:currentColor}";
|
|
15771
15771
|
const tagId$7 = "@voicemesh/dsh-voice/AudioVisualizer.module.css";
|
|
15772
15772
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$7) + "]") === null) {
|
|
15773
15773
|
const tag = document.createElement("style");
|
|
@@ -15776,7 +15776,7 @@ registerProcessor('sts-capture', StsCapture);
|
|
|
15776
15776
|
tag.textContent = css$7;
|
|
15777
15777
|
document.head.appendChild(tag);
|
|
15778
15778
|
}
|
|
15779
|
-
var AudioVisualizer_module_css_default = { "wave": "
|
|
15779
|
+
var AudioVisualizer_module_css_default = { "wave": "W-X_Qa_wave" };
|
|
15780
15780
|
//#endregion
|
|
15781
15781
|
//#region src/client/AudioVisualizer.tsx
|
|
15782
15782
|
/** Live audio waveform contributed to the message toolbar. */
|
|
@@ -16267,8 +16267,8 @@ registerProcessor('sts-capture', StsCapture);
|
|
|
16267
16267
|
}
|
|
16268
16268
|
}
|
|
16269
16269
|
//#endregion
|
|
16270
|
-
//#region \0dsh-css:/Users/hgp/DeepSeek/voicemesh-dsh-voice/.release/package-
|
|
16271
|
-
const css$6 = ".
|
|
16270
|
+
//#region \0dsh-css:/Users/hgp/DeepSeek/voicemesh-dsh-voice/.release/package-1792111306786/client-build/src/client/VoiceQuickControls.module.css.mjs
|
|
16271
|
+
const css$6 = "._3ir6Wq_cluster{align-items:center;gap:2px;height:28px;display:inline-flex}._3ir6Wq_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}._3ir6Wq_action:hover:not(:disabled){background:var(--dsw-alias-control-overlay,#ffffff0f);color:var(--dsw-alias-label-primary,#e6e9ed)}._3ir6Wq_action:disabled{opacity:.45;cursor:default}._3ir6Wq_muted{color:var(--dsw-alias-state-error-primary,#c2544d)}._3ir6Wq_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}._3ir6Wq_standby{white-space:nowrap;color:var(--dsw-alias-label-secondary,#9aa4b2);padding:0 3px;font-size:11px;line-height:1}._3ir6Wq_tipAnchor{font:inherit;cursor:help;background:0 0;border:0}._3ir6Wq_tipAnchor:focus-visible{outline:2px solid var(--dsw-alias-brand-primary,#3978f6);border-radius:6px}._3ir6Wq_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:_3ir6Wq_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}._3ir6Wq_tipRow{grid-template-columns:auto minmax(0,1fr);gap:12px;display:grid}._3ir6Wq_tipLabel{opacity:.7}._3ir6Wq_tipValue{overflow-wrap:anywhere}@keyframes _3ir6Wq_tooltip-in{0%{opacity:0}}@media (prefers-reduced-motion:reduce){._3ir6Wq_tipBubble{animation:none}}._3ir6Wq_standbyParked{animation:2.4s ease-in-out infinite _3ir6Wq_voice-standby-breathe}@keyframes _3ir6Wq_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)){._3ir6Wq_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 _3ir6Wq_voice-standby-sheen}@keyframes _3ir6Wq_voice-standby-sheen{0%{background-position:0 0}to{background-position:100% 0}}}@media (prefers-reduced-motion:reduce){._3ir6Wq_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}}._3ir6Wq_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}._3ir6Wq_failureText{white-space:nowrap;text-overflow:ellipsis;user-select:text;overflow:hidden}._3ir6Wq_failure ._3ir6Wq_action{color:inherit;width:22px;height:22px}._3ir6Wq_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 _3ir6Wq_voice-notice-fade;display:inline-flex}._3ir6Wq_noticeText{white-space:nowrap;text-overflow:ellipsis;user-select:text;overflow:hidden}._3ir6Wq_notice ._3ir6Wq_action{color:inherit;width:22px;height:22px}@keyframes _3ir6Wq_voice-notice-fade{0%,70%{opacity:1}to{opacity:0}}";
|
|
16272
16272
|
const tagId$6 = "@voicemesh/dsh-voice/VoiceQuickControls.module.css";
|
|
16273
16273
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$6) + "]") === null) {
|
|
16274
16274
|
const tag = document.createElement("style");
|
|
@@ -16278,25 +16278,25 @@ registerProcessor('sts-capture', StsCapture);
|
|
|
16278
16278
|
document.head.appendChild(tag);
|
|
16279
16279
|
}
|
|
16280
16280
|
var VoiceQuickControls_module_css_default = {
|
|
16281
|
-
"action": "
|
|
16282
|
-
"cluster": "
|
|
16283
|
-
"failure": "
|
|
16284
|
-
"failureText": "
|
|
16285
|
-
"muted": "
|
|
16286
|
-
"notice": "
|
|
16287
|
-
"noticeText": "
|
|
16288
|
-
"standby": "
|
|
16289
|
-
"standbyParked": "
|
|
16290
|
-
"timer": "
|
|
16291
|
-
"tipAnchor": "
|
|
16292
|
-
"tipBubble": "
|
|
16293
|
-
"tipLabel": "
|
|
16294
|
-
"tipRow": "
|
|
16295
|
-
"tipValue": "
|
|
16296
|
-
"tooltip-in": "
|
|
16297
|
-
"voice-notice-fade": "
|
|
16298
|
-
"voice-standby-breathe": "
|
|
16299
|
-
"voice-standby-sheen": "
|
|
16281
|
+
"action": "_3ir6Wq_action",
|
|
16282
|
+
"cluster": "_3ir6Wq_cluster",
|
|
16283
|
+
"failure": "_3ir6Wq_failure",
|
|
16284
|
+
"failureText": "_3ir6Wq_failureText",
|
|
16285
|
+
"muted": "_3ir6Wq_muted",
|
|
16286
|
+
"notice": "_3ir6Wq_notice",
|
|
16287
|
+
"noticeText": "_3ir6Wq_noticeText",
|
|
16288
|
+
"standby": "_3ir6Wq_standby",
|
|
16289
|
+
"standbyParked": "_3ir6Wq_standbyParked",
|
|
16290
|
+
"timer": "_3ir6Wq_timer",
|
|
16291
|
+
"tipAnchor": "_3ir6Wq_tipAnchor",
|
|
16292
|
+
"tipBubble": "_3ir6Wq_tipBubble",
|
|
16293
|
+
"tipLabel": "_3ir6Wq_tipLabel",
|
|
16294
|
+
"tipRow": "_3ir6Wq_tipRow",
|
|
16295
|
+
"tipValue": "_3ir6Wq_tipValue",
|
|
16296
|
+
"tooltip-in": "_3ir6Wq_tooltip-in",
|
|
16297
|
+
"voice-notice-fade": "_3ir6Wq_voice-notice-fade",
|
|
16298
|
+
"voice-standby-breathe": "_3ir6Wq_voice-standby-breathe",
|
|
16299
|
+
"voice-standby-sheen": "_3ir6Wq_voice-standby-sheen"
|
|
16300
16300
|
};
|
|
16301
16301
|
//#endregion
|
|
16302
16302
|
//#region src/client/SelectionTip.tsx
|
|
@@ -22814,8 +22814,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
22814
22814
|
}
|
|
22815
22815
|
};
|
|
22816
22816
|
//#endregion
|
|
22817
|
-
//#region \0dsh-css:/Users/hgp/DeepSeek/voicemesh-dsh-voice/.release/package-
|
|
22818
|
-
const css$5 = ".
|
|
22817
|
+
//#region \0dsh-css:/Users/hgp/DeepSeek/voicemesh-dsh-voice/.release/package-1792111306786/client-build/src/client/VoiceTranscriptNodeView.module.css.mjs
|
|
22818
|
+
const css$5 = ".o2epLW_userRow{justify-content:flex-end;display:flex}.o2epLW_bubble{max-width:min(calc(var(--dsh-chat-content-width,748px) * .702), 82%);background:var(--dsw-specific-bubble);border-radius:22px;padding:10px 16px}.o2epLW_bubble,.o2epLW_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}.o2epLW_assistantRow{min-width:0}.o2epLW_speech{white-space:normal}";
|
|
22819
22819
|
const tagId$5 = "@voicemesh/dsh-voice/VoiceTranscriptNodeView.module.css";
|
|
22820
22820
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$5) + "]") === null) {
|
|
22821
22821
|
const tag = document.createElement("style");
|
|
@@ -22825,10 +22825,10 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
22825
22825
|
document.head.appendChild(tag);
|
|
22826
22826
|
}
|
|
22827
22827
|
var VoiceTranscriptNodeView_module_css_default = {
|
|
22828
|
-
"assistantRow": "
|
|
22829
|
-
"bubble": "
|
|
22830
|
-
"speech": "
|
|
22831
|
-
"userRow": "
|
|
22828
|
+
"assistantRow": "o2epLW_assistantRow",
|
|
22829
|
+
"bubble": "o2epLW_bubble",
|
|
22830
|
+
"speech": "o2epLW_speech",
|
|
22831
|
+
"userRow": "o2epLW_userRow"
|
|
22832
22832
|
};
|
|
22833
22833
|
//#endregion
|
|
22834
22834
|
//#region src/client/VoiceTranscriptNodeView.tsx
|
|
@@ -22865,8 +22865,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
22865
22865
|
});
|
|
22866
22866
|
});
|
|
22867
22867
|
//#endregion
|
|
22868
|
-
//#region \0dsh-css:/Users/hgp/DeepSeek/voicemesh-dsh-voice/.release/package-
|
|
22869
|
-
const css$4 = ".
|
|
22868
|
+
//#region \0dsh-css:/Users/hgp/DeepSeek/voicemesh-dsh-voice/.release/package-1792111306786/client-build/src/client/MicDock.module.css.mjs
|
|
22869
|
+
const css$4 = ".fQTLuq_controls{flex:none;width:34px;height:34px;position:relative;transform:translateY(-2px)}.fQTLuq_overlay{z-index:1;position:absolute}.fQTLuq_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}.fQTLuq_control:focus-visible{outline-offset:1px;outline:2px solid}.fQTLuq_control.fQTLuq_lit{background:var(--voice-fill)}.fQTLuq_control.fQTLuq_lit:hover{background:var(--voice-hover)}body[data-ds-dark-theme] .fQTLuq_control:not(.fQTLuq_lit){background:#000}body[data-ds-dark-theme] .fQTLuq_control{--voice-wave-1:#c3d4ee;--voice-wave-2:#aec8f0;--voice-wave-3:#e9be62;--voice-wave-4:#80a9ed;--voice-wave-5:#6395e7}.fQTLuq_connecting .fQTLuq_glyph svg rect{transform-box:fill-box;transform-origin:50%;animation:.9s ease-in-out infinite fQTLuq_connecting-bars}.fQTLuq_connecting .fQTLuq_glyph svg rect:nth-child(2){animation-delay:-720ms}.fQTLuq_connecting .fQTLuq_glyph svg rect:nth-child(3){animation-delay:-540ms}.fQTLuq_connecting .fQTLuq_glyph svg rect:nth-child(4){animation-delay:-360ms}.fQTLuq_connecting .fQTLuq_glyph svg rect:nth-child(5){animation-delay:-180ms}@keyframes fQTLuq_connecting-bars{0%,to{opacity:.55;transform:scaleY(.35)}50%{opacity:1;transform:scaleY(1)}}.fQTLuq_glyph{justify-content:center;align-items:center;line-height:0;display:inline-flex}.fQTLuq_control:hover .fQTLuq_glyph,.fQTLuq_control:focus-visible .fQTLuq_glyph{animation:.42s cubic-bezier(.22,.9,.3,1) fQTLuq_voice-icon-nudge}@keyframes fQTLuq_voice-icon-nudge{0%{transform:scale(1)}45%{transform:scale(1.16)}to{transform:scale(1)}}.fQTLuq_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}.fQTLuq_control:hover+.fQTLuq_hint,.fQTLuq_control:focus-visible+.fQTLuq_hint{visibility:visible;opacity:1;transition-delay:.1s}@media (prefers-reduced-motion:reduce){.fQTLuq_connecting .fQTLuq_glyph svg rect,.fQTLuq_control:hover .fQTLuq_glyph,.fQTLuq_control:focus-visible .fQTLuq_glyph{animation:none}}";
|
|
22870
22870
|
const tagId$4 = "@voicemesh/dsh-voice/MicDock.module.css";
|
|
22871
22871
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$4) + "]") === null) {
|
|
22872
22872
|
const tag = document.createElement("style");
|
|
@@ -22876,15 +22876,15 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
22876
22876
|
document.head.appendChild(tag);
|
|
22877
22877
|
}
|
|
22878
22878
|
var MicDock_module_css_default = {
|
|
22879
|
-
"connecting": "
|
|
22880
|
-
"connecting-bars": "
|
|
22881
|
-
"control": "
|
|
22882
|
-
"controls": "
|
|
22883
|
-
"glyph": "
|
|
22884
|
-
"hint": "
|
|
22885
|
-
"lit": "
|
|
22886
|
-
"overlay": "
|
|
22887
|
-
"voice-icon-nudge": "
|
|
22879
|
+
"connecting": "fQTLuq_connecting",
|
|
22880
|
+
"connecting-bars": "fQTLuq_connecting-bars",
|
|
22881
|
+
"control": "fQTLuq_control",
|
|
22882
|
+
"controls": "fQTLuq_controls",
|
|
22883
|
+
"glyph": "fQTLuq_glyph",
|
|
22884
|
+
"hint": "fQTLuq_hint",
|
|
22885
|
+
"lit": "fQTLuq_lit",
|
|
22886
|
+
"overlay": "fQTLuq_overlay",
|
|
22887
|
+
"voice-icon-nudge": "fQTLuq_voice-icon-nudge"
|
|
22888
22888
|
};
|
|
22889
22889
|
//#endregion
|
|
22890
22890
|
//#region src/client/MicDock.tsx
|
|
@@ -23135,8 +23135,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
23135
23135
|
return null;
|
|
23136
23136
|
}
|
|
23137
23137
|
//#endregion
|
|
23138
|
-
//#region \0dsh-css:/Users/hgp/DeepSeek/voicemesh-dsh-voice/.release/package-
|
|
23139
|
-
const css$3 = ".
|
|
23138
|
+
//#region \0dsh-css:/Users/hgp/DeepSeek/voicemesh-dsh-voice/.release/package-1792111306786/client-build/src/client/VoiceOrb.module.css.mjs
|
|
23139
|
+
const css$3 = ".mROHXW_frame{place-items:center;min-height:104px;padding:4px 0 10px;display:grid}.mROHXW_resume{cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;padding:0;display:grid}.mROHXW_resume:focus-visible{outline-offset:4px;outline:2px solid #c89572}.mROHXW_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 mROHXW_orb-sky;display:grid;position:relative;overflow:hidden}.mROHXW_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 mROHXW_sky-contrast;position:absolute}.mROHXW_cloud,.mROHXW_cloud:before,.mROHXW_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}.mROHXW_cloud{opacity:.88;animation:4.7s ease-in-out infinite alternate mROHXW_cloud-ambient;transform:translate(-11%,19%)rotate(-14deg)}.mROHXW_cloud:before{opacity:.86;animation:3.9s ease-in-out infinite alternate mROHXW_cloud-ambient-front;transform:translate(45%,-70%)scale(.8)}.mROHXW_cloud:after{opacity:.78;animation:5.2s ease-in-out infinite alternate-reverse mROHXW_cloud-ambient-back;transform:translate(-50%,-48%)scale(.68)}.mROHXW_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}.mROHXW_orb[data-standby]:before{visibility:hidden}.mROHXW_orb[data-standby] .mROHXW_cloud,.mROHXW_orb[data-standby] .mROHXW_cloud:before,.mROHXW_orb[data-standby] .mROHXW_cloud:after{background:radial-gradient(#f5ded3d1,#ae979d8f 48%,#0000 88%)}@keyframes mROHXW_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 mROHXW_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 mROHXW_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 mROHXW_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 mROHXW_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){.mROHXW_orb{transition:none;animation:none;transform:none;box-shadow:0 8px 32px #7c8fff38}.mROHXW_cloud,.mROHXW_cloud:before,.mROHXW_cloud:after{animation:none}.mROHXW_orb:before{opacity:.16;animation:none}}";
|
|
23140
23140
|
const tagId$3 = "@voicemesh/dsh-voice/VoiceOrb.module.css";
|
|
23141
23141
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$3) + "]") === null) {
|
|
23142
23142
|
const tag = document.createElement("style");
|
|
@@ -23146,15 +23146,15 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
23146
23146
|
document.head.appendChild(tag);
|
|
23147
23147
|
}
|
|
23148
23148
|
var VoiceOrb_module_css_default = {
|
|
23149
|
-
"cloud": "
|
|
23150
|
-
"cloud-ambient": "
|
|
23151
|
-
"cloud-ambient-back": "
|
|
23152
|
-
"cloud-ambient-front": "
|
|
23153
|
-
"frame": "
|
|
23154
|
-
"orb": "
|
|
23155
|
-
"orb-sky": "
|
|
23156
|
-
"resume": "
|
|
23157
|
-
"sky-contrast": "
|
|
23149
|
+
"cloud": "mROHXW_cloud",
|
|
23150
|
+
"cloud-ambient": "mROHXW_cloud-ambient",
|
|
23151
|
+
"cloud-ambient-back": "mROHXW_cloud-ambient-back",
|
|
23152
|
+
"cloud-ambient-front": "mROHXW_cloud-ambient-front",
|
|
23153
|
+
"frame": "mROHXW_frame",
|
|
23154
|
+
"orb": "mROHXW_orb",
|
|
23155
|
+
"orb-sky": "mROHXW_orb-sky",
|
|
23156
|
+
"resume": "mROHXW_resume",
|
|
23157
|
+
"sky-contrast": "mROHXW_sky-contrast"
|
|
23158
23158
|
};
|
|
23159
23159
|
//#endregion
|
|
23160
23160
|
//#region src/client/VoiceOrb.tsx
|
|
@@ -23277,8 +23277,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
23277
23277
|
});
|
|
23278
23278
|
}
|
|
23279
23279
|
//#endregion
|
|
23280
|
-
//#region \0dsh-css:/Users/hgp/DeepSeek/voicemesh-dsh-voice/.release/package-
|
|
23281
|
-
const css$2 = ".
|
|
23280
|
+
//#region \0dsh-css:/Users/hgp/DeepSeek/voicemesh-dsh-voice/.release/package-1792111306786/client-build/src/client/VoiceSettings.module.css.mjs
|
|
23281
|
+
const css$2 = ".lMIA8a_page{max-width:640px;color:var(--dsw-alias-label-primary);flex-direction:column;gap:14px;display:flex}.lMIA8a_heading{color:var(--dsw-alias-label-primary);margin:0;font-size:16px;font-weight:500;line-height:24px}.lMIA8a_vadStatus{color:var(--dsw-alias-label-primary);font-size:12px;line-height:1.5}.lMIA8a_vadStatusOk{color:var(--dsw-alias-state-success-primary)}.lMIA8a_vadStatusWarn{color:var(--dsw-alias-state-warn-primary)}.lMIA8a_vadReason{color:var(--dsw-alias-label-tertiary);margin-top:4px;font-size:12px;line-height:18px;display:block}.lMIA8a_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}.lMIA8a_card:hover{border-color:var(--dsw-alias-label-dimmed)}.lMIA8a_cardOpen{background:var(--dsw-alias-bg-layer-2);border-color:var(--dsw-alias-label-dimmed)}.lMIA8a_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}.lMIA8a_cardHeader:focus-visible{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:-2px}.lMIA8a_cardHeadText{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.lMIA8a_cardTitle{color:var(--dsw-alias-label-primary);font-size:15px;font-weight:600;line-height:1.4}.lMIA8a_cardDesc{color:var(--dsw-alias-label-tertiary);font-size:13px;line-height:1.5}.lMIA8a_cardChevron{color:var(--dsw-alias-label-tertiary);flex:none;transition:transform .16s}.lMIA8a_cardChevronOpen{transform:rotate(180deg)}.lMIA8a_cardBody{border-top:.5px solid var(--dsw-alias-border-l2);flex-direction:column;gap:2px;margin:0 16px;padding:2px 0 8px;display:flex}.lMIA8a_cardBody>.lMIA8a_card+.lMIA8a_card{margin-top:6px}.lMIA8a_field{flex-direction:column;gap:6px;padding:12px 0;display:flex}.lMIA8a_field+.lMIA8a_field{border-top:.5px solid var(--dsw-alias-border-l2)}.lMIA8a_label{color:var(--dsw-alias-label-primary);font-size:13px;font-weight:500;line-height:1.5}.lMIA8a_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}.lMIA8a_input:focus-visible{border-color:var(--dsw-alias-brand-primary);outline:none}.lMIA8a_input::placeholder{color:var(--dsw-alias-label-dimmed)}.lMIA8a_input:disabled{color:var(--dsw-alias-label-tertiary);cursor:default}.lMIA8a_hint{color:var(--dsw-alias-label-tertiary);margin:0;font-size:12px;line-height:1.5}.lMIA8a_subsection{border-top:.5px solid var(--dsw-alias-border-l2)}.lMIA8a_subsection:first-child{border-top:none}.lMIA8a_subsectionBody>.lMIA8a_subsection{padding-inline-start:12px}.lMIA8a_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}.lMIA8a_subsectionHeader:focus-visible{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:-2px}.lMIA8a_subsectionTitle{min-width:0;color:var(--dsw-alias-label-primary);flex:1;font-size:13px;font-weight:600;line-height:1.5}.lMIA8a_subsectionChevron{color:var(--dsw-alias-label-tertiary);flex:none;transition:transform .16s}.lMIA8a_subsectionChevronOpen{transform:rotate(180deg)}.lMIA8a_subsectionBody{flex-direction:column;gap:2px;padding:2px 0 10px;display:flex}.lMIA8a_labelRow{align-items:center;gap:8px;display:flex}.lMIA8a_labelRow .lMIA8a_label{flex:1;min-width:0}.lMIA8a_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}.lMIA8a_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}.lMIA8a_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}.lMIA8a_selector:hover{background:var(--dsw-alias-interactive-bg-hover)}.lMIA8a_selector:focus-visible{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:1px}.lMIA8a_chevron{color:var(--dsw-alias-label-secondary);flex:none}.lMIA8a_modelRow .lMIA8a_selector{flex:1;min-width:0}.lMIA8a_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}.lMIA8a_toggleText{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.lMIA8a_toggleLabel{color:var(--dsw-alias-label-primary);font-size:14px;line-height:22px}.lMIA8a_toggleDesc{color:var(--dsw-alias-label-tertiary);font-size:12px;line-height:18px}.lMIA8a_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}.lMIA8a_switchOn{background:var(--dsw-alias-brand-primary)}.lMIA8a_switch:focus-visible{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:2px}.lMIA8a_switch:disabled{cursor:default;opacity:.5}.lMIA8a_thumb{corner-shape:round;background:var(--dsw-alias-label-primary-foreground);border-radius:50%;width:16px;height:16px;transition:transform .12s;display:block}.lMIA8a_switchOn .lMIA8a_thumb{transform:translate(16px)}.lMIA8a_sliderRow{flex-direction:column;gap:6px;padding:10px 0;display:flex}.lMIA8a_sliderHead{justify-content:space-between;align-items:center;display:flex}.lMIA8a_sliderLabel{color:var(--dsw-alias-label-primary);font-size:14px;line-height:22px}.lMIA8a_sliderValue{font-variant-numeric:tabular-nums;color:var(--dsw-alias-label-secondary);font-size:12px;line-height:18px}.lMIA8a_slider{width:100%;accent-color:var(--dsw-alias-button-primary-fill)}.lMIA8a_btnRow{flex-wrap:wrap;align-items:center;gap:8px;padding:8px 0 4px;display:flex}.lMIA8a_result{font-size:12px;line-height:18px}.lMIA8a_resultOk{color:var(--dsw-alias-state-success-primary)}.lMIA8a_resultFail{color:var(--dsw-alias-state-error-primary)}.lMIA8a_cardTop{position:relative}.lMIA8a_cardTopWithVoice{grid-template-columns:minmax(0,1fr) auto 42px;align-items:center;display:grid}.lMIA8a_cardTopWithVoice .lMIA8a_cardHeader{grid-area:1/1/auto/-1;grid-template-columns:subgrid;display:grid}.lMIA8a_cardTopWithVoice .lMIA8a_cardHeadText{grid-column:1}.lMIA8a_cardTopWithVoice .lMIA8a_cardChevron{grid-column:3;justify-self:end}.lMIA8a_cardTopWithVoice .lMIA8a_quickVoice{z-index:1;grid-area:1/2}.lMIA8a_voiceDot{corner-shape:round;background:#3984f5;border-radius:50%;flex:none;width:12px;height:12px}.lMIA8a_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}.lMIA8a_quickVoice:hover{background:var(--dsw-alias-interactive-bg-hover)}.lMIA8a_quickVoice:focus-visible{outline:2px solid var(--dsw-alias-brand-primary)}.lMIA8a_cardTopWithVoice .lMIA8a_quickVoice{gap:0;max-width:220px;padding:0;position:relative}.lMIA8a_voiceChoice,.lMIA8a_voicePreview{color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;padding:8px 10px}.lMIA8a_voiceChoice{overflow-wrap:anywhere;align-items:center;gap:8px;min-width:0;display:inline-flex}.lMIA8a_voicePreview{border-left:1px solid var(--dsw-alias-border-l4);flex:none;font-size:12px}.lMIA8a_voiceChoice:focus-visible,.lMIA8a_voicePreview:focus-visible{outline:2px solid var(--dsw-alias-brand-primary);border-radius:12px}.lMIA8a_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}.lMIA8a_radioGroup{flex-wrap:wrap;gap:12px 24px;display:flex}.lMIA8a_radioGroup label{cursor:pointer;align-items:center;gap:8px;padding:6px 0;display:inline-flex}.lMIA8a_radioGroup input{width:16px;height:16px;accent-color:var(--dsw-alias-state-info-primary,#3978f6);cursor:pointer;margin:0}.lMIA8a_modelRow{align-items:center;gap:8px;display:flex}.lMIA8a_modelRow>:first-child{flex:1;min-width:0}.lMIA8a_modelRow>:last-child:not(:first-child){flex:none}.lMIA8a_realtimeSelectionRow{align-items:center;gap:12px;display:flex}.lMIA8a_realtimeModel{flex:1;min-width:0}.lMIA8a_realtimeSelectionRow>.lMIA8a_field{flex:none;max-width:40%}.lMIA8a_realtimeSelectionRow>.lMIA8a_field .lMIA8a_input{text-overflow:ellipsis;white-space:nowrap;width:auto;min-width:96px;overflow:hidden}.lMIA8a_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}";
|
|
23282
23282
|
const tagId$2 = "@voicemesh/dsh-voice/VoiceSettings.module.css";
|
|
23283
23283
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$2) + "]") === null) {
|
|
23284
23284
|
const tag = document.createElement("style");
|
|
@@ -23288,64 +23288,64 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
23288
23288
|
document.head.appendChild(tag);
|
|
23289
23289
|
}
|
|
23290
23290
|
var VoiceSettings_module_css_default = {
|
|
23291
|
-
"badge": "
|
|
23292
|
-
"badgeMuted": "
|
|
23293
|
-
"btnRow": "
|
|
23294
|
-
"card": "
|
|
23295
|
-
"cardBody": "
|
|
23296
|
-
"cardChevron": "
|
|
23297
|
-
"cardChevronOpen": "
|
|
23298
|
-
"cardDesc": "
|
|
23299
|
-
"cardHeadText": "
|
|
23300
|
-
"cardHeader": "
|
|
23301
|
-
"cardOpen": "
|
|
23302
|
-
"cardTitle": "
|
|
23303
|
-
"cardTop": "
|
|
23304
|
-
"cardTopWithVoice": "
|
|
23305
|
-
"chevron": "
|
|
23306
|
-
"field": "
|
|
23307
|
-
"heading": "
|
|
23308
|
-
"hint": "
|
|
23309
|
-
"input": "
|
|
23310
|
-
"label": "
|
|
23311
|
-
"labelRow": "
|
|
23312
|
-
"modelRow": "
|
|
23313
|
-
"page": "
|
|
23314
|
-
"previewError": "
|
|
23315
|
-
"quickVoice": "
|
|
23316
|
-
"radioGroup": "
|
|
23317
|
-
"realtimeModel": "
|
|
23318
|
-
"realtimeSelectionRow": "
|
|
23319
|
-
"result": "
|
|
23320
|
-
"resultFail": "
|
|
23321
|
-
"resultOk": "
|
|
23322
|
-
"selector": "
|
|
23323
|
-
"slider": "
|
|
23324
|
-
"sliderHead": "
|
|
23325
|
-
"sliderLabel": "
|
|
23326
|
-
"sliderRow": "
|
|
23327
|
-
"sliderValue": "
|
|
23328
|
-
"subsection": "
|
|
23329
|
-
"subsectionBody": "
|
|
23330
|
-
"subsectionChevron": "
|
|
23331
|
-
"subsectionChevronOpen": "
|
|
23332
|
-
"subsectionHeader": "
|
|
23333
|
-
"subsectionSummary": "
|
|
23334
|
-
"subsectionTitle": "
|
|
23335
|
-
"switch": "
|
|
23336
|
-
"switchOn": "
|
|
23337
|
-
"thumb": "
|
|
23338
|
-
"toggleDesc": "
|
|
23339
|
-
"toggleLabel": "
|
|
23340
|
-
"toggleRow": "
|
|
23341
|
-
"toggleText": "
|
|
23342
|
-
"vadReason": "
|
|
23343
|
-
"vadStatus": "
|
|
23344
|
-
"vadStatusOk": "
|
|
23345
|
-
"vadStatusWarn": "
|
|
23346
|
-
"voiceChoice": "
|
|
23347
|
-
"voiceDot": "
|
|
23348
|
-
"voicePreview": "
|
|
23291
|
+
"badge": "lMIA8a_badge",
|
|
23292
|
+
"badgeMuted": "lMIA8a_badgeMuted",
|
|
23293
|
+
"btnRow": "lMIA8a_btnRow",
|
|
23294
|
+
"card": "lMIA8a_card",
|
|
23295
|
+
"cardBody": "lMIA8a_cardBody",
|
|
23296
|
+
"cardChevron": "lMIA8a_cardChevron",
|
|
23297
|
+
"cardChevronOpen": "lMIA8a_cardChevronOpen",
|
|
23298
|
+
"cardDesc": "lMIA8a_cardDesc",
|
|
23299
|
+
"cardHeadText": "lMIA8a_cardHeadText",
|
|
23300
|
+
"cardHeader": "lMIA8a_cardHeader",
|
|
23301
|
+
"cardOpen": "lMIA8a_cardOpen",
|
|
23302
|
+
"cardTitle": "lMIA8a_cardTitle",
|
|
23303
|
+
"cardTop": "lMIA8a_cardTop",
|
|
23304
|
+
"cardTopWithVoice": "lMIA8a_cardTopWithVoice",
|
|
23305
|
+
"chevron": "lMIA8a_chevron",
|
|
23306
|
+
"field": "lMIA8a_field",
|
|
23307
|
+
"heading": "lMIA8a_heading",
|
|
23308
|
+
"hint": "lMIA8a_hint",
|
|
23309
|
+
"input": "lMIA8a_input",
|
|
23310
|
+
"label": "lMIA8a_label",
|
|
23311
|
+
"labelRow": "lMIA8a_labelRow",
|
|
23312
|
+
"modelRow": "lMIA8a_modelRow",
|
|
23313
|
+
"page": "lMIA8a_page",
|
|
23314
|
+
"previewError": "lMIA8a_previewError",
|
|
23315
|
+
"quickVoice": "lMIA8a_quickVoice",
|
|
23316
|
+
"radioGroup": "lMIA8a_radioGroup",
|
|
23317
|
+
"realtimeModel": "lMIA8a_realtimeModel",
|
|
23318
|
+
"realtimeSelectionRow": "lMIA8a_realtimeSelectionRow",
|
|
23319
|
+
"result": "lMIA8a_result",
|
|
23320
|
+
"resultFail": "lMIA8a_resultFail",
|
|
23321
|
+
"resultOk": "lMIA8a_resultOk",
|
|
23322
|
+
"selector": "lMIA8a_selector",
|
|
23323
|
+
"slider": "lMIA8a_slider",
|
|
23324
|
+
"sliderHead": "lMIA8a_sliderHead",
|
|
23325
|
+
"sliderLabel": "lMIA8a_sliderLabel",
|
|
23326
|
+
"sliderRow": "lMIA8a_sliderRow",
|
|
23327
|
+
"sliderValue": "lMIA8a_sliderValue",
|
|
23328
|
+
"subsection": "lMIA8a_subsection",
|
|
23329
|
+
"subsectionBody": "lMIA8a_subsectionBody",
|
|
23330
|
+
"subsectionChevron": "lMIA8a_subsectionChevron",
|
|
23331
|
+
"subsectionChevronOpen": "lMIA8a_subsectionChevronOpen",
|
|
23332
|
+
"subsectionHeader": "lMIA8a_subsectionHeader",
|
|
23333
|
+
"subsectionSummary": "lMIA8a_subsectionSummary",
|
|
23334
|
+
"subsectionTitle": "lMIA8a_subsectionTitle",
|
|
23335
|
+
"switch": "lMIA8a_switch",
|
|
23336
|
+
"switchOn": "lMIA8a_switchOn",
|
|
23337
|
+
"thumb": "lMIA8a_thumb",
|
|
23338
|
+
"toggleDesc": "lMIA8a_toggleDesc",
|
|
23339
|
+
"toggleLabel": "lMIA8a_toggleLabel",
|
|
23340
|
+
"toggleRow": "lMIA8a_toggleRow",
|
|
23341
|
+
"toggleText": "lMIA8a_toggleText",
|
|
23342
|
+
"vadReason": "lMIA8a_vadReason",
|
|
23343
|
+
"vadStatus": "lMIA8a_vadStatus",
|
|
23344
|
+
"vadStatusOk": "lMIA8a_vadStatusOk",
|
|
23345
|
+
"vadStatusWarn": "lMIA8a_vadStatusWarn",
|
|
23346
|
+
"voiceChoice": "lMIA8a_voiceChoice",
|
|
23347
|
+
"voiceDot": "lMIA8a_voiceDot",
|
|
23348
|
+
"voicePreview": "lMIA8a_voicePreview"
|
|
23349
23349
|
};
|
|
23350
23350
|
//#endregion
|
|
23351
23351
|
//#region src/client/LocalModelSetup.tsx
|
|
@@ -23543,8 +23543,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
23543
23543
|
})] });
|
|
23544
23544
|
}
|
|
23545
23545
|
//#endregion
|
|
23546
|
-
//#region \0dsh-css:/Users/hgp/DeepSeek/voicemesh-dsh-voice/.release/package-
|
|
23547
|
-
const css$1 = ".
|
|
23546
|
+
//#region \0dsh-css:/Users/hgp/DeepSeek/voicemesh-dsh-voice/.release/package-1792111306786/client-build/src/client/VoicePicker.module.css.mjs
|
|
23547
|
+
const css$1 = ".TzFpGG_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}.TzFpGG_dialog[open]{flex-direction:column;display:flex}.TzFpGG_dialog::backdrop{background:#00000073}.TzFpGG_header,.TzFpGG_controls,.TzFpGG_footer{padding:20px 24px}.TzFpGG_header,.TzFpGG_footer{align-items:center;gap:12px;display:flex}.TzFpGG_header{border-bottom:1px solid var(--dsw-alias-border-l4);justify-content:space-between}.TzFpGG_header h2{margin:0 0 8px;font-size:20px}.TzFpGG_header p,.TzFpGG_metadata p{color:var(--dsw-alias-label-tertiary);margin:0}.TzFpGG_dialog button,.TzFpGG_dialog select,.TzFpGG_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}.TzFpGG_dialog button{cursor:pointer;flex-shrink:0}.TzFpGG_dialog button:hover{background:var(--dsw-alias-interactive-bg-hover)}.TzFpGG_dialog button:disabled{opacity:.5;cursor:default}.TzFpGG_dialog button[aria-pressed=true]{color:var(--dsw-alias-brand-primary)}.TzFpGG_dialog :focus-visible{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:2px}.TzFpGG_controls>input{box-sizing:border-box;width:100%}.TzFpGG_filters{flex-wrap:wrap;align-items:center;gap:12px;margin:12px 0;display:flex}.TzFpGG_filters label{align-items:center;gap:6px;display:flex}.TzFpGG_list{min-height:120px;padding:0 24px 12px;overflow-y:auto}.TzFpGG_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}.TzFpGG_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}.TzFpGG_avatar0{background:var(--dsw-static-amber-400)}.TzFpGG_avatar1{background:var(--dsw-static-amber-600)}.TzFpGG_avatar2{background:var(--dsw-static-neutral-bluish-600)}.TzFpGG_avatar3{background:var(--dsw-static-blue-400)}.TzFpGG_avatar4{background:var(--dsw-static-green-400)}.TzFpGG_avatar5{background:var(--dsw-static-deepseek-500)}.TzFpGG_metadata{overflow-wrap:anywhere;flex:1;min-width:0}.TzFpGG_metadata strong,.TzFpGG_metadata small{display:block}.TzFpGG_metadata small{color:var(--dsw-alias-label-tertiary)}.TzFpGG_metadata p{font-size:14px}.TzFpGG_row .TzFpGG_action{width:36px;height:36px;color:var(--dsw-alias-label-secondary);place-items:center;padding:0;display:grid}.TzFpGG_row .TzFpGG_select{padding-inline:14px}.TzFpGG_selectedRow{background:var(--dsw-alias-interactive-bg-hover)}.TzFpGG_footer{border-top:1px solid var(--dsw-alias-border-l4);flex-wrap:wrap}.TzFpGG_manual{flex:1;min-width:180px}.TzFpGG_manual summary{cursor:pointer;color:var(--dsw-alias-label-tertiary);font-size:13px}.TzFpGG_manualRow{align-items:center;gap:12px;margin-top:10px;display:flex}.TzFpGG_manualRow input{flex:1;min-width:0}@media (width<=600px){.TzFpGG_header,.TzFpGG_controls,.TzFpGG_footer{padding:14px}.TzFpGG_list{padding:0 14px}.TzFpGG_row{flex-wrap:wrap}.TzFpGG_metadata{flex-basis:calc(100% - 60px)}}.TzFpGG_compact{width:min(560px,100vw - 40px)}.TzFpGG_compact .TzFpGG_header{border:0;padding:22px 24px 8px}.TzFpGG_compact .TzFpGG_header h2{font-size:24px}.TzFpGG_carousel{text-align:center;padding:18px 24px;overflow-y:auto}.TzFpGG_dialog .TzFpGG_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}.TzFpGG_voiceOrb span{opacity:0;transition:opacity .15s}.TzFpGG_voiceOrb[aria-busy=true] span,.TzFpGG_voiceOrb:hover span,.TzFpGG_voiceOrb:focus-visible span,.TzFpGG_voiceOrbPlaying span{opacity:1}.TzFpGG_voiceOrbPlaying{animation:1.8s ease-in-out infinite TzFpGG_voicePreviewPulse}.TzFpGG_voiceSlide{justify-content:space-between;align-items:center;gap:18px;display:flex}.TzFpGG_voiceSlide>div{overflow-wrap:anywhere;flex:1;min-width:0}.TzFpGG_voiceSlide h3{margin:0 0 12px;font-size:30px}.TzFpGG_voiceSlide p{min-height:24px;color:var(--dsw-alias-label-tertiary);margin:0}.TzFpGG_dialog .TzFpGG_voiceSlide button{color:var(--dsw-alias-label-tertiary);background:0 0;border:0;font-size:36px}.TzFpGG_dots{justify-content:center;gap:12px;margin:24px 0 14px;display:flex}.TzFpGG_dialog .TzFpGG_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}.TzFpGG_dialog .TzFpGG_dots button[aria-pressed=true]{background:var(--dsw-alias-brand-primary)}.TzFpGG_dialog .TzFpGG_dots button[aria-current=true]{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:2px}.TzFpGG_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}.TzFpGG_carousel small{color:var(--dsw-alias-label-tertiary)}.TzFpGG_quickFooter{flex-wrap:wrap;align-items:center;gap:12px;padding:12px 24px 20px;display:flex}.TzFpGG_dialog .TzFpGG_browse{background:0 0;border:0;margin-right:auto;font-size:13px}.TzFpGG_dialog .TzFpGG_done{background:var(--dsw-alias-label-primary);color:var(--dsw-alias-bg-layer-2);padding-inline:24px}@keyframes TzFpGG_voicePreviewPulse{50%{filter:brightness(1.12);transform:scale(1.05)}}@media (prefers-reduced-motion:reduce){.TzFpGG_voiceOrbPlaying{animation:none}}@media (width<=480px){.TzFpGG_quickFooter{padding:14px}.TzFpGG_dialog .TzFpGG_browse{flex-basis:100%}}.TzFpGG_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 TzFpGG_voicePreviewSpin;display:inline-block}@keyframes TzFpGG_voicePreviewSpin{to{transform:rotate(360deg)}}";
|
|
23548
23548
|
const tagId$1 = "@voicemesh/dsh-voice/VoicePicker.module.css";
|
|
23549
23549
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$1) + "]") === null) {
|
|
23550
23550
|
const tag = document.createElement("style");
|
|
@@ -23554,39 +23554,39 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
23554
23554
|
document.head.appendChild(tag);
|
|
23555
23555
|
}
|
|
23556
23556
|
var VoicePicker_module_css_default = {
|
|
23557
|
-
"action": "
|
|
23558
|
-
"avatar": "
|
|
23559
|
-
"avatar0": "
|
|
23560
|
-
"avatar1": "
|
|
23561
|
-
"avatar2": "
|
|
23562
|
-
"avatar3": "
|
|
23563
|
-
"avatar4": "
|
|
23564
|
-
"avatar5": "
|
|
23565
|
-
"browse": "
|
|
23566
|
-
"carousel": "
|
|
23567
|
-
"compact": "
|
|
23568
|
-
"controls": "
|
|
23569
|
-
"dialog": "
|
|
23570
|
-
"done": "
|
|
23571
|
-
"dots": "
|
|
23572
|
-
"filters": "
|
|
23573
|
-
"footer": "
|
|
23574
|
-
"header": "
|
|
23575
|
-
"list": "
|
|
23576
|
-
"manual": "
|
|
23577
|
-
"manualRow": "
|
|
23578
|
-
"metadata": "
|
|
23579
|
-
"previewSpinner": "
|
|
23580
|
-
"quickFooter": "
|
|
23581
|
-
"row": "
|
|
23582
|
-
"select": "
|
|
23583
|
-
"selectedMark": "
|
|
23584
|
-
"selectedRow": "
|
|
23585
|
-
"voiceOrb": "
|
|
23586
|
-
"voiceOrbPlaying": "
|
|
23587
|
-
"voicePreviewPulse": "
|
|
23588
|
-
"voicePreviewSpin": "
|
|
23589
|
-
"voiceSlide": "
|
|
23557
|
+
"action": "TzFpGG_action",
|
|
23558
|
+
"avatar": "TzFpGG_avatar",
|
|
23559
|
+
"avatar0": "TzFpGG_avatar0",
|
|
23560
|
+
"avatar1": "TzFpGG_avatar1",
|
|
23561
|
+
"avatar2": "TzFpGG_avatar2",
|
|
23562
|
+
"avatar3": "TzFpGG_avatar3",
|
|
23563
|
+
"avatar4": "TzFpGG_avatar4",
|
|
23564
|
+
"avatar5": "TzFpGG_avatar5",
|
|
23565
|
+
"browse": "TzFpGG_browse",
|
|
23566
|
+
"carousel": "TzFpGG_carousel",
|
|
23567
|
+
"compact": "TzFpGG_compact",
|
|
23568
|
+
"controls": "TzFpGG_controls",
|
|
23569
|
+
"dialog": "TzFpGG_dialog",
|
|
23570
|
+
"done": "TzFpGG_done",
|
|
23571
|
+
"dots": "TzFpGG_dots",
|
|
23572
|
+
"filters": "TzFpGG_filters",
|
|
23573
|
+
"footer": "TzFpGG_footer",
|
|
23574
|
+
"header": "TzFpGG_header",
|
|
23575
|
+
"list": "TzFpGG_list",
|
|
23576
|
+
"manual": "TzFpGG_manual",
|
|
23577
|
+
"manualRow": "TzFpGG_manualRow",
|
|
23578
|
+
"metadata": "TzFpGG_metadata",
|
|
23579
|
+
"previewSpinner": "TzFpGG_previewSpinner",
|
|
23580
|
+
"quickFooter": "TzFpGG_quickFooter",
|
|
23581
|
+
"row": "TzFpGG_row",
|
|
23582
|
+
"select": "TzFpGG_select",
|
|
23583
|
+
"selectedMark": "TzFpGG_selectedMark",
|
|
23584
|
+
"selectedRow": "TzFpGG_selectedRow",
|
|
23585
|
+
"voiceOrb": "TzFpGG_voiceOrb",
|
|
23586
|
+
"voiceOrbPlaying": "TzFpGG_voiceOrbPlaying",
|
|
23587
|
+
"voicePreviewPulse": "TzFpGG_voicePreviewPulse",
|
|
23588
|
+
"voicePreviewSpin": "TzFpGG_voicePreviewSpin",
|
|
23589
|
+
"voiceSlide": "TzFpGG_voiceSlide"
|
|
23590
23590
|
};
|
|
23591
23591
|
//#endregion
|
|
23592
23592
|
//#region src/client/VoicePreviewIcon.tsx
|
|
@@ -24233,8 +24233,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
24233
24233
|
});
|
|
24234
24234
|
}
|
|
24235
24235
|
//#endregion
|
|
24236
|
-
//#region \0dsh-css:/Users/hgp/DeepSeek/voicemesh-dsh-voice/.release/package-
|
|
24237
|
-
const css = ".
|
|
24236
|
+
//#region \0dsh-css:/Users/hgp/DeepSeek/voicemesh-dsh-voice/.release/package-1792111306786/client-build/src/client/VoiceSettingsShell.module.css.mjs
|
|
24237
|
+
const css = "._5qTgAG_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}";
|
|
24238
24238
|
const tagId = "@voicemesh/dsh-voice/VoiceSettingsShell.module.css";
|
|
24239
24239
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId) + "]") === null) {
|
|
24240
24240
|
const tag = document.createElement("style");
|
|
@@ -24243,7 +24243,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
24243
24243
|
tag.textContent = css;
|
|
24244
24244
|
document.head.appendChild(tag);
|
|
24245
24245
|
}
|
|
24246
|
-
var VoiceSettingsShell_module_css_default = { "shell": "
|
|
24246
|
+
var VoiceSettingsShell_module_css_default = { "shell": "_5qTgAG_shell" };
|
|
24247
24247
|
//#endregion
|
|
24248
24248
|
//#region src/client/VoiceSettings.tsx
|
|
24249
24249
|
/** Voice preferences, write-only host credential setup, and provider diagnostics. */
|
|
@@ -25953,7 +25953,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
25953
25953
|
}
|
|
25954
25954
|
}
|
|
25955
25955
|
//#endregion
|
|
25956
|
-
//#region ../../../../../../../private/tmp/
|
|
25956
|
+
//#region ../../../../../../../private/tmp/dsh-harness-a2e96135-release/packages/util/crypto/lib/index.js
|
|
25957
25957
|
/**
|
|
25958
25958
|
* Random v4 UUID, minted from `crypto.getRandomValues`.
|
|
25959
25959
|
* @returns the UUID string.
|
|
@@ -25966,7 +25966,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
25966
25966
|
return `${hex.slice(0, 8)}-${hex.slice(8, 12)}-${hex.slice(12, 16)}-${hex.slice(16, 20)}-${hex.slice(20)}`;
|
|
25967
25967
|
}
|
|
25968
25968
|
//#endregion
|
|
25969
|
-
//#region ../../../../../../../private/tmp/
|
|
25969
|
+
//#region ../../../../../../../private/tmp/dsh-harness-a2e96135-release/node_modules/.pnpm/eventsource-parser@3.1.0/node_modules/eventsource-parser/dist/index.js
|
|
25970
25970
|
var ParseError = class extends Error {
|
|
25971
25971
|
constructor(message, options) {
|
|
25972
25972
|
super(message), this.name = "ParseError", this.type = options.type, this.field = options.field, this.value = options.value, this.line = options.line;
|
|
@@ -26131,7 +26131,7 @@ ${value}`, dataLines++;
|
|
|
26131
26131
|
return firstCharCode === 101 && chunk.charCodeAt(i + 1) === 118 && chunk.charCodeAt(i + 2) === 101 && chunk.charCodeAt(i + 3) === 110 && chunk.charCodeAt(i + 4) === 116 && chunk.charCodeAt(i + 5) === 58;
|
|
26132
26132
|
}
|
|
26133
26133
|
//#endregion
|
|
26134
|
-
//#region ../../../../../../../private/tmp/
|
|
26134
|
+
//#region ../../../../../../../private/tmp/dsh-harness-a2e96135-release/node_modules/.pnpm/@dsh-voice+harness-policy@file+plugins+voice+harness-policy+dsh-voice-harness-policy-0.1.1-18a298680892.tgz/node_modules/@dsh-voice/harness-policy/lib/index.js
|
|
26135
26135
|
/** Shared voice assistant wording and coding-tool declarations. */
|
|
26136
26136
|
/** Natural speech and truthful coding-status instructions shared by voice modes. */
|
|
26137
26137
|
const voiceAssistantStyle = "Speak as one assistant helping the user. Keep internal routing out of ordinary replies: do not mention queues, dispatch, delegation, a separate coding agent, or an inability to access files directly. You may say one brief natural statement of what you will check or change before calling the coding tool. Do not delay or repeat the tool call to produce that statement, and do not claim that work was accepted, started, running, or completed before the tool confirms it. After a successful admission receipt, give one brief natural acknowledgement only if you did not already speak an intent, then stay silent until the host supplies a recorded milestone or terminal outcome. Report status only from recorded task state. Explain internal routing only if the user asks about it. Report genuine failures or permission requirements plainly.";
|
|
@@ -27239,7 +27239,7 @@ ${value}`, dataLines++;
|
|
|
27239
27239
|
if (!sessionId || !deps.getConfig().transcriptHistory) return;
|
|
27240
27240
|
const connection = ctx.get("connection");
|
|
27241
27241
|
if (connection === void 0) throw new Error("Voice connection unavailable");
|
|
27242
|
-
if (!(await connection.rpc.call("/
|
|
27242
|
+
if (!(await connection.rpc.call("/api", "voice-pipeline/exchange", {
|
|
27243
27243
|
sessionId,
|
|
27244
27244
|
user: "",
|
|
27245
27245
|
assistant: caption.text,
|
|
@@ -27288,7 +27288,7 @@ ${value}`, dataLines++;
|
|
|
27288
27288
|
}
|
|
27289
27289
|
const connection = ctx.get("connection");
|
|
27290
27290
|
if (connection === void 0) throw new Error("Voice connection unavailable");
|
|
27291
|
-
const result = await connection.rpc.call("/
|
|
27291
|
+
const result = await connection.rpc.call("/api", "voice-pipeline/tool", {
|
|
27292
27292
|
sessionId,
|
|
27293
27293
|
conversationId: id,
|
|
27294
27294
|
callId,
|
|
@@ -27461,7 +27461,7 @@ ${value}`, dataLines++;
|
|
|
27461
27461
|
if (!deps.getConfig().transcriptHistory) return;
|
|
27462
27462
|
const connection = ctx.get("connection");
|
|
27463
27463
|
if (connection === void 0) throw new Error("Voice connection unavailable");
|
|
27464
|
-
if (!(await connection.rpc.call("/
|
|
27464
|
+
if (!(await connection.rpc.call("/api", "voice-pipeline/exchange", {
|
|
27465
27465
|
sessionId,
|
|
27466
27466
|
user,
|
|
27467
27467
|
assistant
|
|
@@ -27840,7 +27840,7 @@ ${value}`, dataLines++;
|
|
|
27840
27840
|
if (wake !== channel || wakeIdentity !== identity) return;
|
|
27841
27841
|
const connection = ctx.get("connection");
|
|
27842
27842
|
if (connection === void 0) throw new Error("Voice connection unavailable");
|
|
27843
|
-
const result = await connection.rpc.call("/
|
|
27843
|
+
const result = await connection.rpc.call("/api", "voice-local/wake-keywords", {
|
|
27844
27844
|
modelId: selected.wakeModelId,
|
|
27845
27845
|
phrases: [selected.wakePhrase.trim()]
|
|
27846
27846
|
});
|
|
@@ -28402,7 +28402,7 @@ ${value}`, dataLines++;
|
|
|
28402
28402
|
const credentialRequest = async (endpoint, slot, value, migrate = false, baseUrl = config.getSnapshot().conversationalBaseUrl) => {
|
|
28403
28403
|
const connection = ctx.get("connection");
|
|
28404
28404
|
if (!connection) throw new Error("Voice connection unavailable");
|
|
28405
|
-
const result = await connection.rpc.call("/voice-credentials
|
|
28405
|
+
const result = await connection.rpc.call("/api", `voice-credentials/${endpoint}`, {
|
|
28406
28406
|
slot,
|
|
28407
28407
|
...slot === "conversational" ? { baseUrl } : {},
|
|
28408
28408
|
...value === void 0 ? {} : {
|
|
@@ -28564,7 +28564,7 @@ ${value}`, dataLines++;
|
|
|
28564
28564
|
const selected = resolveStsSettings(cfg());
|
|
28565
28565
|
const connection = ctx.get("connection");
|
|
28566
28566
|
if (connection === void 0) throw new Error("Voice connection unavailable");
|
|
28567
|
-
const result = await connection.rpc.call("/
|
|
28567
|
+
const result = await connection.rpc.call("/api", "voice-sts/models", { provider: selected.provider }, signal);
|
|
28568
28568
|
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");
|
|
28569
28569
|
const listings = [];
|
|
28570
28570
|
for (const entry of result.value.models) {
|
|
@@ -28702,7 +28702,7 @@ ${value}`, dataLines++;
|
|
|
28702
28702
|
const selected = resolveStsSettings(c);
|
|
28703
28703
|
const connection = ctx.get("connection");
|
|
28704
28704
|
if (connection === void 0) return false;
|
|
28705
|
-
const result = await connection.rpc.call("/
|
|
28705
|
+
const result = await connection.rpc.call("/api", "voice-sts/probe", {
|
|
28706
28706
|
provider: selected.provider,
|
|
28707
28707
|
model: selected.model,
|
|
28708
28708
|
voice: selected.voice,
|
|
@@ -28715,7 +28715,7 @@ ${value}`, dataLines++;
|
|
|
28715
28715
|
listPipelineModels: async (provider, kind, signal) => {
|
|
28716
28716
|
const connection = ctx.get("connection");
|
|
28717
28717
|
if (!connection) throw new Error("Voice connection unavailable");
|
|
28718
|
-
const result = await connection.rpc.call("/
|
|
28718
|
+
const result = await connection.rpc.call("/api", "voice-sts/pipeline-models", {
|
|
28719
28719
|
provider,
|
|
28720
28720
|
kind
|
|
28721
28721
|
}, signal);
|
|
@@ -28726,14 +28726,14 @@ ${value}`, dataLines++;
|
|
|
28726
28726
|
localModelDownloadSize: async (request, signal) => {
|
|
28727
28727
|
const connection = ctx.get("connection");
|
|
28728
28728
|
if (!connection) throw new Error("Voice connection unavailable");
|
|
28729
|
-
const result = await connection.rpc.call("/
|
|
28729
|
+
const result = await connection.rpc.call("/api", "voice-local/install-size", request, signal);
|
|
28730
28730
|
if (!result.ok) throw new Error(result.error.message);
|
|
28731
28731
|
return typeof result.value === "number" && result.value > 0 ? result.value : null;
|
|
28732
28732
|
},
|
|
28733
28733
|
installLocalModels: async (request, signal) => {
|
|
28734
28734
|
const connection = ctx.get("connection");
|
|
28735
28735
|
if (!connection) throw new Error("Voice connection unavailable");
|
|
28736
|
-
const result = await connection.rpc.call("/
|
|
28736
|
+
const result = await connection.rpc.call("/api", request ? "voice-local/install" : "voice-local/install-status", request ?? {}, signal);
|
|
28737
28737
|
if (!result.ok) throw new Error(result.error.message);
|
|
28738
28738
|
const value = result.value;
|
|
28739
28739
|
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");
|
|
@@ -28748,21 +28748,21 @@ ${value}`, dataLines++;
|
|
|
28748
28748
|
listLocalModels: async (signal) => {
|
|
28749
28749
|
const connection = ctx.get("connection");
|
|
28750
28750
|
if (!connection) throw new Error("Voice connection unavailable");
|
|
28751
|
-
const result = await connection.rpc.call("/
|
|
28751
|
+
const result = await connection.rpc.call("/api", "voice-local/models", {}, signal);
|
|
28752
28752
|
if (!result.ok || !Array.isArray(result.value)) throw new Error("Local model discovery failed");
|
|
28753
28753
|
return parseLocalModels(result.value);
|
|
28754
28754
|
},
|
|
28755
28755
|
wakeReady: async (modelId, signal) => {
|
|
28756
28756
|
const connection = ctx.get("connection");
|
|
28757
28757
|
if (!connection) throw new Error("Voice connection unavailable");
|
|
28758
|
-
const result = await connection.rpc.call("/
|
|
28758
|
+
const result = await connection.rpc.call("/api", "voice-local/wake-readiness", { modelId }, signal);
|
|
28759
28759
|
return result.ok && typeof result.value === "object" && result.value !== null && "ready" in result.value && result.value.ready === true;
|
|
28760
28760
|
},
|
|
28761
28761
|
listVoices: async (selection, signal) => {
|
|
28762
28762
|
const connection = ctx.get("connection");
|
|
28763
28763
|
if (connection === void 0) throw new Error("Voice connection unavailable");
|
|
28764
28764
|
const language = selection.provider === "fish" ? selection.language ?? new Intl.Locale(ctx.locale.getSnapshot().active).language : void 0;
|
|
28765
|
-
const result = await connection.rpc.call("/
|
|
28765
|
+
const result = await connection.rpc.call("/api", "voice-sts/voices", {
|
|
28766
28766
|
...selection,
|
|
28767
28767
|
...language === void 0 ? {} : { language }
|
|
28768
28768
|
}, signal);
|