fix: Add transcript-debug page to toolRegistry to prevent flatMap crash
This commit is contained in:
@@ -33,7 +33,7 @@ import { setRouter } from './tools/handlers/globalHandlers'
|
||||
import { setGiteaCredentials, clearGiteaCredentials } from './tools/handlers/sourceCodeHandlers'
|
||||
import { ALL_TOOL_METAS, getAllToolNames, type ToolCategory } from './tools/toolDefinitions'
|
||||
|
||||
export type PageName = 'home' | 'canvas' | 'components' | 'themes' | 'project-canvas' | 'database' | 'source' | 'terminal' | 'tools' | 'git' | 'agents'
|
||||
export type PageName = 'home' | 'canvas' | 'components' | 'themes' | 'project-canvas' | 'database' | 'source' | 'terminal' | 'tools' | 'git' | 'agents' | 'transcript-debug'
|
||||
|
||||
// Internal webmcp functions (not exported for external use)
|
||||
let webmcpInstance: any = null
|
||||
@@ -172,7 +172,8 @@ const pageCategories: Record<PageName, ToolCategory[]> = {
|
||||
terminal: ['global', 'torch', 'terminal'],
|
||||
tools: ['global', 'torch', 'terminal'],
|
||||
git: ['global', 'torch', 'git', 'terminal'],
|
||||
agents: ['global', 'torch', 'terminal']
|
||||
agents: ['global', 'torch', 'terminal'],
|
||||
'transcript-debug': ['global', 'torch', 'terminal']
|
||||
}
|
||||
|
||||
let currentPage: PageName | null = null
|
||||
|
||||
Reference in New Issue
Block a user