feat: implement process cleanup for OpenCode server and enhance internal function handling

This commit is contained in:
Bohdan Triapitsyn
2026-01-16 01:22:43 +02:00
parent 1ae18d4793
commit cf9b7a6516
4 changed files with 100 additions and 11 deletions
@@ -131,7 +131,6 @@ export const PierreDiffViewer: React.FC<PierreDiffViewerProps> = ({
wrapLines = false,
layout = 'fill',
}) => {
const isInlineLayout = layout === 'inline';
const { isMobile } = useDeviceInfo();
const { inputBarOffset, isKeyboardOpen } = useUIStore();
+1
View File
@@ -1746,6 +1746,7 @@ export const useEventStream = () => {
messageCache.clear();
// eslint-disable-next-line react-hooks/exhaustive-deps -- Intentionally accessing current ref value at cleanup time
notifiedMessagesRef.current.clear();
// eslint-disable-next-line react-hooks/exhaustive-deps -- Intentionally accessing current ref value at cleanup time
notifiedQuestionsRef.current.clear();
pendingResumeRef.current = false;