This commit is contained in:
legop3
2026-03-16 21:30:56 -04:00
parent 4aa53e8f80
commit aaa93847e1
20 changed files with 567 additions and 140 deletions
+2
View File
@@ -28,6 +28,7 @@ const SessionContext = createContext({
rebootServer: async () => {},
playTestAudio: async () => {},
stopTestAudio: async () => {},
setAudioLevels: async () => {},
llmControl: async () => {},
});
@@ -145,6 +146,7 @@ export function SessionProvider({ children }) {
rebootServer: () => emitWithAck('server:reboot'),
playTestAudio: (roverId) => emitWithAck('audio:testPlay', { roverId }),
stopTestAudio: (roverId) => emitWithAck('audio:testStop', { roverId }),
setAudioLevels: (levels = {}) => emitWithAck('audioLevels:set', levels),
llmControl: (action, controls = {}) =>
emitWithAck('llm:control', { controls: { action, ...controls } }),
pushAlert: (alert) =>