mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-08-07 07:45:54 +00:00
* feat(web-shell): add native Live Voice * fix(web-shell): address review feedback for Live Voice PR (#7859) - Quote all strings in electron-builder.yml to fix yamllint CI failure - Gate discovery publish on liveVoiceEnabledAtBoot to avoid writing bearer token to disk when Live Voice is disabled (M1) - Add child identity guard to CommandMonitor stdout/stderr handlers to prevent stale helper output from corrupting the new buffer (M4) - Add exponential backoff to sent-completion delivery retry (M3) - Skip broadcastState when setCallState/setTranscript value is unchanged to reduce per-audio-delta overhead (H1) - Document sent-mode completion notification in module docstring (H2) - Remove dead protocol/nonce aliases from readDiscoveryFile - Fix single instance lock fall-through with process.exit(0) * fix(cli): register realtime_voice in docs contract and env guard (#7859) * fix(web-shell): address review feedback for Live Voice PR (#7859) * fix(cli): discard orphaned isolated dir when parent restore fails (#7859) * fix(web-shell): address review feedback for Live Voice PR (#7859) * fix(serve): harden live turn recovery * fix(desktop): restore Live Host native build * fix(live): align native host and session isolation * fix(acp): preserve live worker continuation lineage * fix(live): classify provider close reasons * fix(serve): discard unused recovered conversation dirs * fix(live): isolate authorized realtime responses * fix(live): preserve realtime response authority * feat(web-shell): complete Live Voice onboarding * fix(live): persist realtime-owned dialogue * fix(live): preserve final speech while stopping * Revert "fix(web-shell): address review feedback for Live Voice PR (#7859)" This reverts commit 7110bec6b034c702bca6e28e35b93c7f70e729cd. * Revert "fix(cli): discard orphaned isolated dir when parent restore fails (#7859)" This reverts commit 85165f1b2ddfaa311b8be91acdd76a6f388f6204. * Revert "fix(web-shell): address review feedback for Live Voice PR (#7859)" This reverts commit 9199fa633e102bb8f24e4b216d322be4323eb3fc. * Revert "fix(cli): register realtime_voice in docs contract and env guard (#7859)" This reverts commit 6b6b1718352ef01a98a73976b5c7c4433fd14c35. * Revert "fix(web-shell): address review feedback for Live Voice PR (#7859)" This reverts commit e083779105199d26de3afd8ad00719a08efe3099. * revert(live): remove remaining takeover behavior * revert(live): restore pre-rollback implementation * test(cli): align Live diagnostics env guard * test(release): cover Live Host publication * fix(ci): re-sign Live Host package before verification * fix(serve): scope sent completion notifications to Live * fix(web-shell): preserve live setup errors * fix(live): align realtime backend speech lifecycle * ci(live): publish Live Host independently * test(cli): mock Live speech bridge handler * test(release): align Live Host workflow contract * fix(live): address release and lifecycle review findings * fix(live): release completed call tracking --------- Co-authored-by: Shaojin Wen <shaojin.wensj@alibaba-inc.com> Co-authored-by: Qwen Code Autofix <qwen-code-autofix@users.noreply.github.com> Co-authored-by: Qwen Code Bot <qwen-code-bot@users.noreply.github.com> Co-authored-by: qwen-code-ci-bot <qwen-code-ci-bot@users.noreply.github.com>
166 lines
3 KiB
CSS
166 lines
3 KiB
CSS
.trigger {
|
|
position: relative;
|
|
display: inline-flex;
|
|
width: 32px;
|
|
height: 32px;
|
|
flex: 0 0 auto;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: 0;
|
|
border-radius: 10px;
|
|
color: var(--muted-foreground);
|
|
background: transparent;
|
|
cursor: pointer;
|
|
transition:
|
|
color 120ms ease,
|
|
background-color 120ms ease;
|
|
}
|
|
|
|
.trigger:hover,
|
|
.trigger[data-active='true'] {
|
|
color: var(--foreground);
|
|
background: var(--muted);
|
|
}
|
|
|
|
.trigger[data-state='listening'],
|
|
.trigger[data-state='speaking'] {
|
|
color: var(--primary);
|
|
}
|
|
|
|
.trigger[data-state='starting'],
|
|
.trigger[data-state='thinking'],
|
|
.trigger[data-state='stopping'] {
|
|
color: var(--primary);
|
|
}
|
|
|
|
.trigger[data-state='starting']::after,
|
|
.trigger[data-state='thinking']::after,
|
|
.trigger[data-state='speaking']::after {
|
|
position: absolute;
|
|
inset: 3px;
|
|
border: 1px solid color-mix(in srgb, var(--primary) 45%, transparent);
|
|
border-radius: 9px;
|
|
content: '';
|
|
animation: livePulse 1.2s ease-in-out infinite;
|
|
}
|
|
|
|
.trigger[data-available='false'] {
|
|
color: var(--destructive);
|
|
}
|
|
|
|
.requirements {
|
|
display: grid;
|
|
gap: 8px;
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
.requirement {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
}
|
|
|
|
.requirementState {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
color: var(--muted-foreground);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.dot {
|
|
width: 7px;
|
|
height: 7px;
|
|
border-radius: 999px;
|
|
background: var(--muted-foreground);
|
|
}
|
|
|
|
.dot[data-ready='true'] {
|
|
background: #22c55e;
|
|
}
|
|
|
|
.dot[data-denied='true'] {
|
|
background: var(--destructive);
|
|
}
|
|
|
|
.error {
|
|
margin: 0;
|
|
color: var(--destructive);
|
|
font-size: 12px;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.liveState {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
min-height: 44px;
|
|
padding: 10px 12px;
|
|
border-radius: 14px;
|
|
background: var(--muted);
|
|
color: var(--foreground);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.liveStateOrb {
|
|
width: 18px;
|
|
height: 18px;
|
|
flex: 0 0 auto;
|
|
border-radius: 50%;
|
|
background: radial-gradient(circle at 35% 30%, #fff, #8b6bf0 45%, #4b35a7);
|
|
box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 15%, transparent);
|
|
}
|
|
|
|
.liveState[data-state='thinking'] .liveStateOrb,
|
|
.liveState[data-state='starting'] .liveStateOrb,
|
|
.liveState[data-state='speaking'] .liveStateOrb {
|
|
animation: livePulse 1.2s ease-in-out infinite;
|
|
}
|
|
|
|
.transcript {
|
|
margin: 0;
|
|
padding: 10px 12px;
|
|
border-radius: 8px;
|
|
color: var(--foreground);
|
|
background: var(--muted);
|
|
font-size: 13px;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.transcript[data-role='assistant'] {
|
|
border-radius: 18px;
|
|
font-style: italic;
|
|
}
|
|
|
|
.transcript[data-role='user'] {
|
|
color: var(--muted-foreground);
|
|
background: transparent;
|
|
}
|
|
|
|
.hint {
|
|
margin: 0;
|
|
color: var(--muted-foreground);
|
|
font-size: 12px;
|
|
}
|
|
|
|
@keyframes livePulse {
|
|
0%,
|
|
100% {
|
|
opacity: 0.35;
|
|
transform: scale(0.92);
|
|
}
|
|
|
|
50% {
|
|
opacity: 1;
|
|
transform: scale(1);
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.trigger::after {
|
|
animation: none !important;
|
|
}
|
|
}
|