Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NirDiamant/claude-watch
/ functions
Functions
97 in github.com/NirDiamant/claude-watch
⨍
Functions
97
◇
Types & classes
48
↓ 25 callers
Function
getDb
()
src/server/db.ts:11
↓ 6 callers
Function
findNode
(r: TreeNode, id: string)
dashboard/src/components/BrainGraph.tsx:38
↓ 4 callers
Function
broadcast
(message: WebSocketMessage)
src/server/websocket.ts:17
↓ 4 callers
Function
isNoiseItem
(text: string)
src/services/tree-builder.ts:23
↓ 4 callers
Function
isStructuralSection
(label: string)
src/services/tree-builder.ts:16
↓ 4 callers
Function
readTextFile
(filePath: string)
src/server/routes/instructions.ts:26
↓ 4 callers
Function
toggle
(key: string)
dashboard/src/components/InstructionsPanel.tsx:74
↓ 3 callers
Function
countByImp
(n: TreeNode, imp: string)
dashboard/src/components/BrainGraph.tsx:39
↓ 3 callers
Function
countLeaves
(n: TreeNode)
dashboard/src/components/BrainGraph.tsx:37
↓ 3 callers
Function
getImportance
(text: string)
src/services/tree-builder.ts:233
↓ 3 callers
Function
inlineFmt
(text: string)
dashboard/src/components/BrainPanel.tsx:288
↓ 3 callers
Function
makeSection
(title: string, source: string, level: string)
src/services/tree-builder.ts:186
↓ 3 callers
Function
readJsonFile
(filePath: string)
src/server/routes/instructions.ts:35
↓ 3 callers
Function
scanProjectBrain
(projectPath: string)
src/services/brain-scanner.ts:165
↓ 3 callers
Function
scrollTo
(id: string)
dashboard/src/components/BrainPanel.tsx:69
↓ 3 callers
Function
slugify
(s: string)
dashboard/src/components/BrainPanel.tsx:379
↓ 2 callers
Function
flush
()
src/server/routes/search.ts:139
↓ 2 callers
Function
handleZoomOut
(index: number)
dashboard/src/components/BrainTree.tsx:56
↓ 2 callers
Function
isInstructionFile
(path: string | null)
dashboard/src/components/ActivityFeed.tsx:22
↓ 2 callers
Function
renderInline
(text: string)
dashboard/src/components/InstructionsPanel.tsx:329
↓ 2 callers
Function
tryParse
(data: string | null)
dashboard/src/components/EventDetail.tsx:135
↓ 2 callers
Function
tryParseItem
(line: string, source: string)
src/services/tree-builder.ts:197
↓ 2 callers
Function
wrapText
(t: string, max: number)
dashboard/src/components/BrainGraph.tsx:40
↓ 1 callers
Function
buildChunks
(files: { relativePath: string; content: string }[])
src/server/routes/search.ts:133
↓ 1 callers
Function
buildLogicTree
( files: { relativePath: string; name: string; content: string; category: string }[], projectName: string,
src/services/tree-builder.ts:51
↓ 1 callers
Function
buildTree
(dir: string, depth: number)
src/services/brain-scanner.ts:315
↓ 1 callers
Function
classifyFile
(relativePath: string, content: string)
src/services/brain-scanner.ts:105
↓ 1 callers
Function
cleanupStaleSessions
()
src/services/session-manager.ts:17
↓ 1 callers
Function
countDescendants
(node: TreeNode)
dashboard/src/components/BrainTree.tsx:218
↓ 1 callers
Function
countItems
(node: TreeNode)
src/services/tree-builder.ts:37
↓ 1 callers
Function
createApp
(options: ServerOptions)
src/server/index.ts:23
↓ 1 callers
Function
extractDiff
(payload: HookPayload)
src/server/routes/events.ts:150
↓ 1 callers
Function
extractFilePath
(payload: HookPayload)
src/server/routes/events.ts:130
↓ 1 callers
Function
extractProjectPath
(payload: HookPayload)
src/server/routes/events.ts:136
↓ 1 callers
Function
fetchHistory
()
dashboard/src/components/LogicHistory.tsx:24
↓ 1 callers
Function
fetchInstructions
()
dashboard/src/components/InstructionsPanel.tsx:56
↓ 1 callers
Function
filterTree
(nodes: TreeNode[])
src/services/tree-builder.ts:167
↓ 1 callers
Function
findMemoryFiles
(projectPath: string)
src/server/routes/instructions.ts:123
↓ 1 callers
Function
findNestedClaudeMd
(projectPath: string, maxDepth: number = 3)
src/server/routes/instructions.ts:93
↓ 1 callers
Function
getClaudeCodeData
(projectPath: string)
src/server/routes/brain.ts:141
↓ 1 callers
Function
getEventDisplay
(event: CWEvent)
dashboard/src/components/ActivityFeed.tsx:45
↓ 1 callers
Function
getFileIcon
(category: string, name: string)
src/services/tree-builder.ts:240
↓ 1 callers
Function
getHumanLabel
(relativePath: string, content: string)
src/services/tree-builder.ts:264
↓ 1 callers
Function
getIndex
(projectPath: string)
src/server/routes/search.ts:32
↓ 1 callers
Function
getProjectStructure
(projectPath: string, maxDepth = 2)
src/services/brain-scanner.ts:314
↓ 1 callers
Function
getRecentLogicChanges
(projectPath: string, files: LogicFile[])
src/services/brain-scanner.ts:249
↓ 1 callers
Function
handleDelete
(id: string)
dashboard/src/components/SnapshotPanel.tsx:50
↓ 1 callers
Function
handleRestore
(id: string)
dashboard/src/components/SnapshotPanel.tsx:38
↓ 1 callers
Function
handleZoomIn
(node: TreeNode, parentChain: TreeNode[])
dashboard/src/components/BrainTree.tsx:49
↓ 1 callers
Function
hasLogicContent
(node: TreeNode)
src/services/tree-builder.ts:43
↓ 1 callers
Function
initSchema
(db: Database.Database)
src/server/db.ts:24
↓ 1 callers
Function
initWebSocket
(server: Server)
src/server/websocket.ts:7
↓ 1 callers
Function
lineImp
(l: string)
dashboard/src/components/BrainGraph.tsx:46
↓ 1 callers
Function
mapEventType
(hookType: string)
src/server/routes/events.ts:120
↓ 1 callers
Function
parseFileToTree
(file: { relativePath: string; name: string; content: string; category: string })
src/services/tree-builder.ts:75
↓ 1 callers
Function
parseFrontmatter
(content: string)
src/server/routes/instructions.ts:45
↓ 1 callers
Function
preFilter
(query: string, chunks: Chunk[], limit: number)
src/server/routes/search.ts:163
↓ 1 callers
Function
scan
(dir: string, depth: number)
src/server/routes/instructions.ts:96
↓ 1 callers
Function
startServer
(options: ServerOptions)
src/server/index.ts:63
↓ 1 callers
Function
startSessionCleanup
(intervalMs = 60_000)
src/services/session-manager.ts:7
↓ 1 callers
Function
toggleChange
(key: string)
dashboard/src/components/LogicHistory.tsx:39
↓ 1 callers
Function
useWebSocket
(onMessage: (msg: WSMessage) => void)
dashboard/src/hooks/useWebSocket.ts:8
↓ 1 callers
Function
walk
(dir: string, depth: number)
src/services/brain-scanner.ts:169
Function
ActivityFeed
({ events, onSelectEvent, selectedEventId }: Props)
dashboard/src/components/ActivityFeed.tsx:102
Function
App
()
dashboard/src/App.tsx:13
Function
BrainGraph
({ projectId }: Props)
dashboard/src/components/BrainGraph.tsx:52
Function
BrainPanel
({ projectId }: Props)
dashboard/src/components/BrainPanel.tsx:43
Function
BrainTree
({ projectId }: Props)
dashboard/src/components/BrainTree.tsx:19
Function
ChangeList
({ changes }: { changes: LogicChange[] })
dashboard/src/components/BrainPanel.tsx:317
Function
DItem
({ item, depth }: { item: TreeNode; depth: number })
dashboard/src/components/BrainGraph.tsx:316
Function
DetailPanel
({ node, onClose }: { node: TreeNode; onClose: () => void })
dashboard/src/components/BrainGraph.tsx:293
Function
DiffViewer
({ diff }: Props)
dashboard/src/components/DiffViewer.tsx:5
Function
Empty
({ text }: { text: string })
dashboard/src/components/BrainPanel.tsx:373
Function
EventDetail
({ event, onClose }: Props)
dashboard/src/components/EventDetail.tsx:11
Function
Hl
({ text, q }: { text: string; q: string })
dashboard/src/components/BrainGraph.tsx:379
Function
InstructionsPanel
({ projectId }: Props)
dashboard/src/components/InstructionsPanel.tsx:48
Function
Layout
({ children }: { children: ReactNode })
dashboard/src/components/Layout.tsx:3
Function
LogicHistory
({ projectId }: Props)
dashboard/src/components/LogicHistory.tsx:19
Function
Markdown
({ text }: { text: string })
dashboard/src/components/BrainPanel.tsx:210
Function
MarkdownContent
({ content }: { content: string })
dashboard/src/components/InstructionsPanel.tsx:293
Function
MemoryCard
({ file }: { file: MemoryFile })
dashboard/src/components/InstructionsPanel.tsx:361
Function
ProjectSidebar
({ projects, selectedProject, onSelectProject, connected }: Props)
dashboard/src/components/ProjectSidebar.tsx:12
Function
RenderedContent
({ content, filename }: { content: string; filename: string })
dashboard/src/components/BrainPanel.tsx:186
Function
SearchPanel
({ results, total, query, searching, mode }: { results: SearchResult[]; total: number; query: string; searchin
dashboard/src/components/BrainGraph.tsx:338
Function
Section
({ id, icon, title, subtitle, expanded, onToggle, children }: { id: string; icon: React.ReactNode; title
dashboard/src/components/InstructionsPanel.tsx:262
Function
SessionList
({ sessions }: Props)
dashboard/src/components/SessionList.tsx:9
Function
SnapshotPanel
({ snapshots, projects, selectedProject, onRefresh }: Props)
dashboard/src/components/SnapshotPanel.tsx:13
Function
Stat
({ icon, label, value }: { icon: React.ReactNode; label: string; value: number })
dashboard/src/components/StatsBar.tsx:41
Function
StatsBar
({ stats, connected }: Props)
dashboard/src/components/StatsBar.tsx:9
Function
Tooltip
({ x, y, label, sub, svgW }: { x: number; y: number; label: string; sub: string; svgW: number })
dashboard/src/components/BrainGraph.tsx:281
Function
TreeRow
({ node, depth, onZoomIn }: { node: TreeNode; depth: number; onZoomIn: (n: TreeNode) => void })
dashboard/src/components/BrainTree.tsx:122
Function
getDataDir
()
src/server/db.ts:77
Function
h
(e: KeyboardEvent)
dashboard/src/components/BrainGraph.tsx:76
Function
handleClick
()
dashboard/src/components/BrainTree.tsx:137
Function
handleCreate
()
dashboard/src/components/SnapshotPanel.tsx:19
Function
handleDoubleClick
()
dashboard/src/components/BrainTree.tsx:143
Function
isImportant
(event: CWEvent)
dashboard/src/components/ActivityFeed.tsx:30