@hanzo/app 0.3.84 → 0.3.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/dist/Chat.js CHANGED
@@ -1113,7 +1113,7 @@ function Thread({ placeholder = message(), initial, anonymous = false, settled =
1113
1113
  // invents a credential — and a refusal is worn by `<Voice/>`, never passed off
1114
1114
  // as a transcript.
1115
1115
  const { token } = useIamToken();
1116
- const ear = useMemo(() => speech({ ...base(), ...(token ? { token } : {}) }), [token]);
1116
+ const ear = useMemo(() => speech({ ...base(), ...(token ? { token } : { public: true }) }), [token]);
1117
1117
  // The language dictation listens in: the person's own (Settings › General), or the browser's.
1118
1118
  const [spoken, speakIn] = useLanguage(target);
1119
1119
  const voice = useVoice({ speech: ear, ...(spoken ? { language: spoken } : {}), ...useDictation(draft, setDraft) });
package/dist/Meet.js CHANGED
@@ -220,7 +220,7 @@ export function Meet() {
220
220
  // by /v1/audio/speech. Speaking over the reply stops it (the machine's
221
221
  // barge-in). Every browser that can record takes part, not only the ones with
222
222
  // a working SpeechRecognition — Chromium on Linux and Firefox have none.
223
- const ear = useMemo(() => speech({ ...base(), ...(token ? { token } : {}) }), [token]);
223
+ const ear = useMemo(() => speech({ ...base(), ...(token ? { token } : { public: true }) }), [token]);
224
224
  const handsFree = useVoice({
225
225
  speech: ear,
226
226
  onUtterance: (transcript) => void handleSpokenInput(transcript),
@@ -51,7 +51,7 @@ export function Thread({ bot, bots, runs, pending, notice, wrong, side, live, lo
51
51
  const foot = useRef(null);
52
52
  const pick = useRef(null);
53
53
  const { token } = useIamToken();
54
- const ear = useMemo(() => speech({ ...base(), ...(token ? { token } : {}) }), [token]);
54
+ const ear = useMemo(() => speech({ ...base(), ...(token ? { token } : { public: true }) }), [token]);
55
55
  const voice = useVoice({ speech: ear, ...useDictation(draft, setDraft) });
56
56
  const now = Date.now();
57
57
  const said = useMemo(() => (bot ? lines(runs ?? [], bots, bot.name, pending, now, locale, t) : []),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanzo/app",
3
- "version": "0.3.84",
3
+ "version": "0.3.85",
4
4
  "description": "Hanzo's app: the shell and its apps (Home, Chat, Inbox, Contacts, Meet, Calendar, Drive, Board, Work, Bots), once, for every Hanzo surface.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",