@olares/lares-core 0.15.16 → 0.15.17

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@olares/lares-core",
3
- "version": "0.15.16",
3
+ "version": "0.15.17",
4
4
  "description": "Lares 共享业务核心:Router、workspace、文件/媒体、Olares 身份(无 UI、无平台壳)",
5
5
  "type": "module",
6
6
  "repository": {
@@ -24,7 +24,7 @@ export function voiceInputPresentation(view, now = Date.now()) {
24
24
  export function voiceDictationPresentation(view, now = Date.now()) {
25
25
  const ui = voiceInputPresentation(view, now);
26
26
  const processingFailed = Boolean(view.raw && view.error && view.error !== "voice_draft_changed");
27
- return { ...ui, waveform: ui.phase === "recording" && !ui.error, processingFailed, recoverable: Boolean(view.raw && ui.error) };
27
+ return { ...ui, exclusive: Boolean(view.visible && view.mode === "single"), waveform: ui.phase === "recording" && !ui.error, processingFailed, recoverable: Boolean(view.raw && ui.error) };
28
28
  }
29
29
 
30
30
  /** Discovery establishes capability; a transient connection error does not revoke it. */