@praxisui/ai 8.0.0-beta.84 → 8.0.0-beta.85

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 CHANGED
@@ -125,6 +125,8 @@ The shell ships with centralized PT-BR default labels and accepts the `labels` i
125
125
 
126
126
  By default, the prompt composer submits with `Enter` and keeps `Shift+Enter` for multiline prompts. Hosts with custom composer behavior can set `submitOnEnter` to `false`.
127
127
 
128
+ The prompt composer can expose browser-native speech recognition as an opt-in input method with `voiceInputMode="browser-speech"`. Hosts can also set the application-wide default through `PRAXIS_ASSISTANT_VOICE_INPUT_MODE`; direct shell input still wins for specialized flows that need a stricter policy. This mode uses the browser `SpeechRecognition`/`webkitSpeechRecognition` surface when available, appends the recognized text to the prompt and never auto-submits the assistant turn. It is intended as an initial low-latency UX path; governed provider-backed transcription should remain a backend-owned Praxis Config capability when promoted to enterprise/default usage. Corporate hosts should keep this mode disabled unless their privacy policy allows browser/vendor speech recognition for the current tenant and environment.
129
+
128
130
  When a user pastes an image into the prompt composer, the shell emits `attachmentsPasted` with `PraxisAssistantShellAttachment` items containing the original `File`, image metadata, `source: 'paste'` and a local preview URL.
129
131
 
130
132
  Hosts can also enable button-based file selection with `enableFileAttachments`, `attachmentAccept` and `attachmentMultiple`. In that mode, the attach button opens the native file picker and emits `attachmentsSelected` with `source: 'file-picker'`. When file selection is disabled, the legacy `attach` event remains available for host-defined context actions. Hosts that do not support attachment semantics should set `showAttachAction=false`; hosts that do not support pasted image context should set `enablePastedAttachments=false`. The shell does not upload or persist files; the host owns storage, redaction and backend forwarding.