MCPcopy Create free account

hub / github.com/Zleap-AI/SAG / functions

Functions494 in github.com/Zleap-AI/SAG

↓ 1 callersFunctionbootstrap
()
web/src/App.tsx:269
↓ 1 callersFunctionbuildBenchmarkExtractionMessages
(input: { title: string; heading?: string; content: string; references: string[]; })
src/ai/llm-client.ts:244
↓ 1 callersFunctionbuildBenchmarkExtractionSystemPrompt
()
src/ai/llm-client.ts:403
↓ 1 callersFunctionbuildCircularPositionMap
(graph: ProjectGraphRecord)
web/src/components/ProjectGraphFlow.tsx:482
↓ 1 callersFunctionbuildClientConfigs
()
src/services/mcp-settings-service.ts:96
↓ 1 callersFunctionbuildConciseEventContent
( eventItems: Array<Record<string, unknown>>, fallbackContent: string, inputIsChinese: boolean )
src/ai/llm-client.ts:570
↓ 1 callersFunctionbuildHeadingStrictSections
(content: string)
src/ingestion/chunking/markdown.ts:50
↓ 1 callersFunctionbuildHttpServer
()
src/api/server.ts:113
↓ 1 callersFunctionbuildMcpSearchResultSteps
(result: unknown, language: SupportedLanguage)
web/src/App.tsx:3918
↓ 1 callersFunctionbuildMcpServer
()
src/mcp/server.ts:11
↓ 1 callersFunctionbuildRunningMcpSearch
(toolName: string, args: Record<string, unknown>, language: SupportedLanguage)
web/src/App.tsx:3876
↓ 1 callersFunctionbuildSingleExtractedEvent
( items: unknown[], input: { title: string; heading?: string; content: string; references: string[] }, i
src/ai/llm-client.ts:511
↓ 1 callersFunctionbuildTokenWindowSections
(content: string, options: ChunkMarkdownOptions)
src/ingestion/chunking/markdown.ts:113
↓ 1 callersFunctionbuildVisibleGraph
(input: { initialEntityIds: Set<string>; expandedEntityIds: Set<string>; expandedEventIds: Set<string>;
web/src/components/ProjectGraphFlow.tsx:314
↓ 1 callersFunctionchildEnv
(projectId: string)
src/services/mcp-agent-service.ts:762
↓ 1 callersFunctionchunkText
(content: string, size: number)
src/services/mcp-agent-service.ts:774
↓ 1 callersFunctioncleanTitle
(text: string)
src/ai/llm-client.ts:714
↓ 1 callersFunctionclearCurrentMcpSession
()
web/src/App.tsx:907
↓ 1 callersFunctionclearMcpSession
(input: { sessionId: string; tenantId: string; })
src/db/repositories.ts:1454
↓ 1 callersFunctionclearModelLogs
()
web/src/App.tsx:448
↓ 1 callersMethodclearSession
(sessionId: string, tenantId = config.DEFAULT_TENANT_ID)
src/services/mcp-agent-service.ts:91
↓ 1 callersFunctioncloseCreateProjectDialog
()
web/src/App.tsx:1292
↓ 1 callersFunctioncloseRenameProjectDialog
()
web/src/App.tsx:1304
↓ 1 callersFunctioncollectAnswerCitations
(toolCalls: McpToolCallRecord[])
src/services/mcp-agent-service.ts:634
↓ 1 callersFunctioncollectCitationSourcesFromObservations
( observations: Array<{ toolName: string; result: unknown; error?: string | null }> )
src/services/mcp-agent-service.ts:662
↓ 1 callersFunctioncollectValidEventItems
(items: unknown[])
src/ai/llm-client.ts:494
↓ 1 callersFunctioncopy
()
web/src/App.tsx:3090
↓ 1 callersFunctioncosineSimilarity
(a: number[], b: number[])
src/db/vector.ts:16
↓ 1 callersFunctioncreateMcpSession
(input: { tenantId: string; title: string; model?: string; sourceIds?: string[]; metadata?: Record<s
src/db/repositories.ts:1369
↓ 1 callersFunctioncreateMcpSession
()
web/src/App.tsx:887
↓ 1 callersMethodcreateRunner
(projectId: string, signal?: AbortSignal)
src/services/mcp-agent-service.ts:227
↓ 1 callersMethodcreateSession
(input: { title?: string; sourceIds?: string[]; }, tenantId = config.DEFAULT_TENANT_ID)
src/services/mcp-agent-service.ts:61
↓ 1 callersFunctiondedupeEntities
(entities: EntityRecord[])
src/services/search-service.ts:564
↓ 1 callersFunctiondedupeEntityEmbeddingInputs
(entities: ExtractedEntity[])
src/services/ingestion-service.ts:423
↓ 1 callersFunctiondeleteCurrentMcpSession
()
web/src/App.tsx:930
↓ 1 callersFunctiondeleteDocument
(input: { documentId: string; tenantId: string; })
src/db/repositories.ts:901
↓ 1 callersFunctiondeleteMcpSession
(input: { sessionId: string; tenantId: string; })
src/db/repositories.ts:1485
↓ 1 callersMethoddeleteSession
(sessionId: string, tenantId = config.DEFAULT_TENANT_ID)
src/services/mcp-agent-service.ts:99
↓ 1 callersFunctiondeleteSource
(input: { sourceId: string; tenantId: string; })
src/db/repositories.ts:298
↓ 1 callersFunctionentitySummary
(value: unknown, language: SupportedLanguage)
web/src/App.tsx:3983
↓ 1 callersFunctioneventToRerankDocument
(event: EventRecord, candidateCount: number)
src/ai/rerank-client.ts:143
↓ 1 callersMethodexpandDynamic
( seedEvents: Map<string, EventRecord & { entityIds: string[] }>, initialEntityIds: string[], sour
src/services/search-service.ts:456
↓ 1 callersMethodexpandEvents
(input: { seedEvents: Map<string, EventRecord & { entityIds: string[] }>; initialEntityIds: string[];
src/services/search-service.ts:373
↓ 1 callersMethodexpandFixedHops
( seedEvents: Map<string, EventRecord & { entityIds: string[] }>, initialEntityIds: string[], sour
src/services/search-service.ts:405
↓ 1 callersMethodexpandOneHop
( seedEvents: Map<string, EventRecord & { entityIds: string[] }>, initialEntityIds: string[], sour
src/services/search-service.ts:436
↓ 1 callersFunctionextractFirstHeading
(text: string)
src/ingestion/chunking/markdown.ts:157
↓ 1 callersMethodextractNamedEntities
(query: string)
src/ai/llm-client.ts:8
↓ 1 callersFunctionextractRerankRecords
(value: unknown)
src/ai/rerank-client.ts:174
↓ 1 callersFunctionextractSearchTrace
(value: unknown)
web/src/App.tsx:3962
↓ 1 callersFunctionfindEventSlot
(input: { desiredAngle: number; angleOffset: number; occupiedSlotsByRing: Map<number, Set<number>>; })
web/src/components/ProjectGraphFlow.tsx:553
↓ 1 callersFunctionfindPrefixLengthByTokenLimit
(text: string, maxTokens: number)
src/ingestion/chunking/markdown.ts:311
↓ 1 callersFunctionforceSplitByTokenLimit
(text: string, maxTokens: number)
src/ingestion/chunking/markdown.ts:289
↓ 1 callersFunctionformatEmbeddingNumber
(value: number)
web/src/App.tsx:4053
↓ 1 callersFunctionformatMessageRole
(role: string, t: (zh: string, en: string) => string)
web/src/App.tsx:4040
↓ 1 callersFunctionformatModelName
(model: string | null | undefined, t: (zh: string, en: string) => string)
web/src/App.tsx:4034
↓ 1 callersFunctiongetAiProviderSettings
()
src/db/repositories.ts:1284
↓ 1 callersFunctiongetAnyDefaultEntityType
(client?: Queryable)
src/db/repositories.ts:338
↓ 1 callersFunctiongetDefaultEntityType
(type: string, client?: Queryable)
src/db/repositories.ts:324
↓ 1 callersFunctiongetMcpSession
(input: { sessionId: string; tenantId: string; })
src/db/repositories.ts:1417
↓ 1 callersFunctiongetMessageCitations
(message: McpMessageRecord)
web/src/App.tsx:3551
↓ 1 callersFunctiongetProjectGraph
(input: { sourceId: string; tenantId: string; })
src/db/repositories.ts:1006
↓ 1 callersFunctiongetProjectStats
(input: { sourceId: string; tenantId: string; })
src/db/repositories.ts:967
↓ 1 callersFunctiongetPublicMcpSettings
()
src/services/mcp-settings-service.ts:19
↓ 1 callersMethodgetPublicSettings
()
src/services/ai-settings-service.ts:53
↓ 1 callersFunctiongetSectionsForEvents
(eventIds: string[])
src/db/repositories.ts:629
↓ 1 callersMethodgetSession
(sessionId: string, tenantId = config.DEFAULT_TENANT_ID)
src/services/mcp-agent-service.ts:87
↓ 1 callersFunctionhandleUploadFiles
(files: File[])
web/src/App.tsx:596
↓ 1 callersFunctionidsToTraceEvents
( ids: string[], events: Map<string, EventRecord & { entityIds: string[] }> )
src/services/search-service.ts:635
↓ 1 callersFunctioninferEntityType
(name: string)
src/ai/llm-client.ts:733
↓ 1 callersFunctionisAbortError
(error: unknown)
src/api/server.ts:601
↓ 1 callersFunctionisAbortError
(error: unknown)
web/src/App.tsx:4029
↓ 1 callersFunctionisMarkdownTableDivider
(line: string)
web/src/App.tsx:3476
↓ 1 callersFunctionisMarkdownTableStart
(lines: string[], index: number)
web/src/App.tsx:3468
↓ 1 callersFunctionisMostlyChinese
(content: string)
src/services/mcp-title.ts:42
↓ 1 callersFunctionisRetryableFetchError
(error: unknown)
src/ai/rerank-client.ts:251
↓ 1 callersFunctionisRetryableFetchError
(error: unknown)
src/ai/llm-client.ts:232
↓ 1 callersFunctionisRetryableHttpStatus
(status: number)
src/ai/rerank-client.ts:247
↓ 1 callersFunctionisRetryableHttpStatus
(status: number)
src/ai/llm-client.ts:228
↓ 1 callersFunctionlistChunksByDocument
(input: { documentId: string; tenantId: string; })
src/db/repositories.ts:1122
↓ 1 callersFunctionlistDocumentsBySource
(input: { sourceId: string; tenantId: string; limit: number; includeArchived?: boolean; })
src/db/repositories.ts:819
↓ 1 callersFunctionlistEntitiesByDocument
(input: { documentId: string; tenantId: string; })
src/db/repositories.ts:1181
↓ 1 callersFunctionlistEventsByDocument
(input: { documentId: string; tenantId: string; })
src/db/repositories.ts:1139
↓ 1 callersFunctionlistMcpSessions
(input: { tenantId: string; limit: number; sourceId?: string; })
src/db/repositories.ts:1394
↓ 1 callersFunctionlistModelCallLogs
(afterSequence = 0)
src/observability/model-call-log.ts:61
↓ 1 callersFunctionloadStoredLanguagePreference
()
web/src/i18n.tsx:66
↓ 1 callersFunctionloadStoredModelLogCursor
()
web/src/App.tsx:3651
↓ 1 callersFunctionloadStoredModelLogs
()
web/src/App.tsx:3640
↓ 1 callersFunctionmcpMessageFromRow
(row: Record<string, unknown>)
src/db/repositories.ts:134
↓ 1 callersFunctionmcpToolCallFromRow
(row: Record<string, unknown>)
src/db/repositories.ts:145
↓ 1 callersFunctionmergeModelLogs
(current: ModelCallLogRecord[], incoming: ModelCallLogRecord[])
web/src/App.tsx:3657
↓ 1 callersFunctionmigrate
()
src/db/migrate.ts:11
↓ 1 callersMethodmultiSearch
(input: SearchInput, emit?: SearchProgressEmitter)
src/services/search-service.ts:92
↓ 1 callersFunctionnearestFreeSlot
(desiredSlot: number, capacity: number, occupiedSlots: Set<number>)
web/src/components/ProjectGraphFlow.tsx:577
↓ 1 callersFunctionnormalizeCategory
(value: unknown, inputIsChinese: boolean)
src/ai/llm-client.ts:553
↓ 1 callersFunctionnormalizeChunkingMode
(value: unknown)
web/src/App.tsx:2664
↓ 1 callersFunctionnormalizeEntities
(raw: unknown, inputIsChinese: boolean)
src/ai/llm-client.ts:476
↓ 1 callersFunctionnormalizeEntityDescription
(description: string, inputIsChinese: boolean)
src/ai/llm-client.ts:563
↓ 1 callersFunctionnormalizeEntityType
(type: string)
src/ai/llm-client.ts:741
↓ 1 callersFunctionnormalizeTitleInput
(content: string)
src/services/mcp-title.ts:29
↓ 1 callersFunctionnormalizeToolAction
(raw: unknown)
src/services/mcp-agent-service.ts:619
← previousnext →201–300 of 494, ranked by callers