Merge upstream main (typed AI chat) into pr/street-level-show-action

This commit is contained in:
Said Turksever committed 2026-11-04 00:19:05 +00:00
commit 77ac2894d4
81 files changed
+9887 -91

No files matched your search

+21 -1
View File
@@ -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,
};
});