mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 16:22:20 +00:00
Merge remote-tracking branch 'origin/main' into sameh/world-clock
# Conflicts: # index.html # scripts/package-boundaries.json # src/app/scene.js # src/i18n/locales/ar.json # src/i18n/locales/de.json # src/i18n/locales/es.json # src/i18n/locales/fr.json # src/i18n/locales/it.json # src/i18n/locales/ja.json # src/i18n/locales/pt.json # src/i18n/locales/ru.json # src/i18n/locales/uk.json # src/i18n/locales/zh-CN.json # src/i18n/locales/zh-Hant.json # src/layers/launches/ingestion.js
This commit is contained in:
commit
84f3476dd3
572 files changed
+111206
-2700
No files matched your search
+21
-1
@@ -35,5 +35,25 @@ export const useVoiceStore = defineStore('gev-voice', () => {
|
||||
bars.value = next && markRaw(next);
|
||||
}
|
||||
|
||||
return { view, publish, controls, connect, bars, publishBars };
|
||||
/**
|
||||
* The chat conversation, apart from the view: a typed reply reveals frame
|
||||
* by frame, and only the message list renders it.
|
||||
*/
|
||||
const chat = shallowRef([]);
|
||||
|
||||
/** @param {Array<{id: number, role: string, text: string}>} next */
|
||||
function publishChat(next) {
|
||||
chat.value = markRaw(next ?? []);
|
||||
}
|
||||
|
||||
return {
|
||||
view,
|
||||
publish,
|
||||
controls,
|
||||
connect,
|
||||
bars,
|
||||
publishBars,
|
||||
chat,
|
||||
publishChat,
|
||||
};
|
||||
});
|
||||
Reference in new issue
Block a user