mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 16:23:36 +00:00
Heavily reduce console log detection. v2
This commit is contained in:
1 parent
18a276a44e
commit
147c7cdf3a
7 files changed
+50
-52
No files matched your search
@@ -42,7 +42,6 @@ import { ReadConsoleMessagesTool } from '@/lib/tools/ReadConsoleMessagesTool';
|
||||
import { saveFileToTmp } from '@/lib/fileUtils';
|
||||
import { useGit } from '@/hooks/useGit';
|
||||
import { Quilly } from '@/components/Quilly';
|
||||
import { getConsoleMessages } from '@/lib/consoleMessages';
|
||||
|
||||
// Clean interfaces now handled by proper hooks
|
||||
|
||||
@@ -128,7 +127,7 @@ export const ChatPane = forwardRef<ChatPaneRef, ChatPaneProps>(({
|
||||
nostr_read_nips_index: new NostrReadNipsIndexTool(),
|
||||
nostr_generate_kind: new NostrGenerateKindTool(),
|
||||
shell: new ShellTool(fs, cwd, git),
|
||||
read_console_messages: new ReadConsoleMessagesTool(getConsoleMessages),
|
||||
read_console_messages: new ReadConsoleMessagesTool(),
|
||||
};
|
||||
|
||||
// Add deploy tool only if user is logged in
|
||||
|
||||
@@ -3,7 +3,7 @@ import { useState, useEffect, useCallback, useRef } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { useProjectsManager } from '@/hooks/useProjectsManager';
|
||||
import { useFS } from '@/hooks/useFS';
|
||||
import { addConsoleMessage, getConsoleMessages } from '@/lib/consoleMessages';
|
||||
import { addConsoleMessage, getConsoleMessages } from '@/lib/tools/ReadConsoleMessagesTool';
|
||||
import { useBuildProject } from '@/hooks/useBuildProject';
|
||||
import { Tabs, TabsContent } from '@/components/ui/tabs';
|
||||
import { ScrollArea, ScrollBar } from '@/components/ui/scroll-area';
|
||||
|
||||
Reference in new issue
Block a user