feat: add git branch/worktree setup, message queueing, file explorer improvements, and server restart

This commit is contained in:
Mohamed Boudra
2025-11-22 23:20:42 +01:00
parent 9feec81047
commit 95bacf8fc7
40 changed files with 3759 additions and 644 deletions
@@ -0,0 +1,27 @@
import { useMemo } from "react";
export interface AudioPlayerOptions {
isDetecting?: () => boolean;
isSpeaking?: () => boolean;
}
/**
* Web shim for the native two-way audio player.
* We currently don't support realtime voice playback on web.
*/
export function useAudioPlayer(_options?: AudioPlayerOptions) {
return useMemo(
() => ({
play: async () => {
console.warn("[AudioPlayer] Web playback is disabled");
return 0;
},
stop: () => {
console.warn("[AudioPlayer] Web playback stop noop");
},
isPlaying: () => false,
clearQueue: () => {},
}),
[]
);
}