MCPcopy Create free account

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

Functions494 in github.com/Zleap-AI/SAG

↓ 1 callersFunctionnormalizeToolArguments
(toolName: string, args: Record<string, unknown>)
src/services/mcp-agent-service.ts:434
↓ 1 callersFunctionnormalizeVector
(vector: number[])
src/db/vector.ts:8
↓ 1 callersFunctionnumberOrNull
(value: unknown)
web/src/App.tsx:4017
↓ 1 callersFunctionopenRenameProjectDialog
(project: SourceRecord)
web/src/App.tsx:1298
↓ 1 callersFunctionparseJsonOrText
(text: string)
src/ai/rerank-client.ts:220
↓ 1 callersFunctionparseJsonOrText
(text: string)
src/ai/llm-client.ts:201
↓ 1 callersFunctionparseJsonOrText
(text: string)
src/ai/embedding-client.ts:112
↓ 1 callersFunctionparseJsonOrText
(text: string)
src/services/mcp-agent-service.ts:592
↓ 1 callersFunctionparseMarkdownTableAlignments
(line: string)
web/src/App.tsx:3486
↓ 1 callersFunctionparseModelCallLogProgress
(message: string | undefined)
src/services/mcp-agent-service.ts:820
↓ 1 callersFunctionparseRerankResponse
(responseBody: unknown, candidates: EventRecord[], topK: number)
src/ai/rerank-client.ts:152
↓ 1 callersFunctionparseSearchProgress
(message: string | undefined)
src/services/mcp-agent-service.ts:787
↓ 1 callersFunctionpermanentlyDeleteDocument
(document: DocumentRecord)
web/src/App.tsx:573
↓ 1 callersFunctionpermanentlyDeleteProject
(project: SourceRecord)
web/src/App.tsx:516
↓ 1 callersFunctionpersistModelLogs
(logs: ModelCallLogRecord[])
web/src/App.tsx:3667
↓ 1 callersFunctionplaceEventsOnOuterRings
(input: { events: ProjectGraphEventRecord[]; positions: Map<string, GraphPosition>; angleOffset: number;
web/src/components/ProjectGraphFlow.tsx:526
↓ 1 callersFunctionplaceOnRings
(input: { ids: string[]; positions: Map<string, GraphPosition>; startRadius: number; ringGap: number;
web/src/components/ProjectGraphFlow.tsx:596
↓ 1 callersFunctionplanToolAction
(input: { userContent: string; session: McpSessionRecord; history: Array<{ role: string; content: string
src/services/mcp-agent-service.ts:469
↓ 1 callersFunctionpollUploadJobs
(jobIds: string[])
web/src/App.tsx:363
↓ 1 callersMethodprepareEvents
(input: { input: IngestDocumentInput; chunks: ChunkDraft[]; concurrency: number; onProgress?:
src/services/ingestion-service.ts:276
↓ 1 callersFunctionpreviewForPrompt
(content: string)
src/services/mcp-agent-service.ts:729
↓ 1 callersFunctionprocessStatusClassName
(status: ProcessStepStatus)
web/src/App.tsx:3709
↓ 1 callersFunctionprocessStatusLabel
(status: ProcessStepStatus, t: (zh: string, en: string) => string)
web/src/App.tsx:3703
↓ 1 callersFunctionreadIndex
(value: unknown)
src/ai/rerank-client.ts:187
↓ 1 callersFunctionreadResponseBody
(response: Response)
src/ai/rerank-client.ts:231
↓ 1 callersFunctionreadResponseBody
(response: Response)
src/ai/llm-client.ts:212
↓ 1 callersFunctionreadResponseBody
(response: Response)
src/ai/embedding-client.ts:123
↓ 1 callersFunctionreadResponseBody
(response: Response)
src/services/mcp-agent-service.ts:603
↓ 1 callersFunctionreadScore
(value: unknown, position: number)
src/ai/rerank-client.ts:195
↓ 1 callersFunctionrememberImportedLogId
(id: string)
src/observability/model-call-log.ts:87
↓ 1 callersMethodremoteRerank
(settings: AiRuntimeSettings, input: { query: string; candidates: EventRecord[]; topK: number; }
src/ai/rerank-client.ts:43
↓ 1 callersFunctionrenameDocument
(document: DocumentRecord)
web/src/App.tsx:539
↓ 1 callersFunctionrenderMarkdownLines
(content: string, citations: AnswerCitation[] = [], onOpenCitation?: (citation: AnswerCitation) => void)
web/src/App.tsx:3364
↓ 1 callersFunctionreplaceMcpProjectPlaceholder
(value: unknown, projectId: string)
web/src/App.tsx:3036
↓ 1 callersFunctionresolveMcpServerCommand
()
src/services/mcp-agent-service.ts:733
↓ 1 callersFunctionresolveMultiOptions
(input: SearchInput, defaultSearchTopK: number)
src/services/search-service.ts:524
↓ 1 callersFunctionrestoreDocument
(input: { documentId: string; tenantId: string; })
src/db/repositories.ts:884
↓ 1 callersFunctionrestoreSource
(input: { sourceId: string; tenantId: string; })
src/db/repositories.ts:282
↓ 1 callersMethodrunFallbackToolFlow
(input: { runner: Awaited<ReturnType<McpAgentService["createRunner"]>>; session: McpSessionRecord;
src/services/mcp-agent-service.ts:251
↓ 1 callersMethodrunLlmToolFlow
(input: { runner: Awaited<ReturnType<McpAgentService["createRunner"]>>; session: McpSessionRecord;
src/services/mcp-agent-service.ts:294
↓ 1 callersFunctionrunSearch
()
web/src/App.tsx:853
↓ 1 callersMethodrunUploadJob
(jobId: string, input: { title: string; fileName: string; content: string; sourceId: string;
src/services/webui-service.ts:222
↓ 1 callersFunctionsaveAiSettings
(input: SettingsInput)
web/src/App.tsx:1047
↓ 1 callersFunctionsearchEntitiesByName
(input: { sourceIds: string[]; names: string[]; limit: number; })
src/db/repositories.ts:424
↓ 1 callersFunctionsearchEntitiesByText
(input: { sourceIds: string[]; query: string; limit: number; })
src/db/repositories.ts:465
↓ 1 callersMethodsectionsForSelectedEvents
( eventIds: string[], rankedEvents: EventRecord[], maxSections: number )
src/services/search-service.ts:493
↓ 1 callersFunctionseed
()
src/db/seed.ts:95
↓ 1 callersFunctionselectProjectSession
(projectId: string, sessionId: string)
web/src/App.tsx:1077
↓ 1 callersFunctionsendMcpMessage
()
web/src/App.tsx:966
↓ 1 callersFunctionshouldAutoTitleSession
(session: McpSessionRecord, messages: Array<{ role: string }>)
src/services/mcp-agent-service.ts:457
↓ 1 callersFunctionshouldUseDistServer
(cwd: string)
src/services/mcp-agent-service.ts:757
↓ 1 callersFunctionsleep
(ms: number)
src/services/mcp-agent-service.ts:783
↓ 1 callersFunctionsplitBySentenceBoundary
(text: string)
src/ingestion/chunking/markdown.ts:284
↓ 1 callersFunctionsplitMarkdownCodeBlocks
(content: string)
web/src/App.tsx:3346
↓ 1 callersFunctionsplitTextByTokenLimit
(text: string, maxTokens: number)
src/ingestion/chunking/markdown.ts:251
↓ 1 callersFunctionstartHttpServer
()
src/api/server.ts:605
↓ 1 callersFunctionstartMcpServer
()
src/mcp/server.ts:188
↓ 1 callersFunctionstopMcpMessage
()
web/src/App.tsx:1025
↓ 1 callersFunctiontoggleNode
(node: GraphNode)
web/src/components/ProjectGraphFlow.tsx:213
↓ 1 callersFunctiontranslate
(language: SupportedLanguage, zh: string, en: string)
web/src/i18n.tsx:57
↓ 1 callersFunctionuniqueEntities
(entities: ExtractedEntity[])
src/ai/llm-client.ts:616
↓ 1 callersFunctionupdateDocument
(input: { documentId: string; tenantId: string; title?: string; metadata?: Record<string, unknown>; })
src/db/repositories.ts:840
↓ 1 callersFunctionupdateMcpSessionTitle
(input: { sessionId: string; tenantId: string; title: string; metadata?: Record<string, unknown>; })
src/db/repositories.ts:1428
↓ 1 callersFunctionupdateSource
(input: { sourceId: string; tenantId: string; name?: string; description?: string | null; metadata?:
src/db/repositories.ts:236
↓ 1 callersMethoduploadDocument
(input: { title?: string; fileName: string; content: string; sourceId?: string; extract?:
src/services/webui-service.ts:131
↓ 1 callersFunctionuploadStageLabel
(stage: UploadJobRecord["stage"], t: (zh: string, en: string) => string)
web/src/App.tsx:3690
↓ 1 callersFunctionuploadStatusLabel
(status: UploadJobRecord["status"], t: (zh: string, en: string) => string)
web/src/App.tsx:3683
↓ 1 callersFunctionupsertAiProviderSettings
(input: { embeddingBaseUrl: string; embeddingModel: string; embeddingDimensions: number; embeddingApiK
src/db/repositories.ts:1289
↓ 1 callersFunctionupsertEntity
(input: { sourceId: string; type: string; name: string; description?: string; embedding: number[]; }
src/db/repositories.ts:354
↓ 1 callersFunctionuseLanguageController
()
web/src/i18n.tsx:17
↓ 1 callersFunctionvalidateUploadInput
(input: { title?: string; fileName: string; content: string; sourceId?: string; })
src/services/webui-service.ts:370
FunctionActivityPanel
(props: { className?: string; mode: ContextPanelMode; processSteps: ProcessStep[]; modelLogs: ModelCal
web/src/App.tsx:2121
FunctionApp
()
web/src/App.tsx:100
FunctionAppShell
()
web/src/App.tsx:109
FunctionBadge
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>)
web/src/components/ui/badge.tsx:4
FunctionButton
({ className, variant, size, ...props }: ButtonProps)
web/src/components/ui/button.tsx:33
FunctionCard
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
web/src/components/ui/card.tsx:4
FunctionCardContent
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
web/src/components/ui/card.tsx:14
FunctionCardHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
web/src/components/ui/card.tsx:10
FunctionChunksPanel
({ chunks, hasFilter }: { chunks: ChunkRecord[]; hasFilter?: boolean })
web/src/App.tsx:2468
FunctionCitationDetailPanel
({ citation }: { citation: AnswerCitation })
web/src/App.tsx:3211
FunctionCitationStrip
(props: { citations: AnswerCitation[]; onOpenCitation: (citation: AnswerCitation) => void })
web/src/App.tsx:1810
FunctionConversationWorkspace
(props: { project: SourceRecord | null; detail: McpSessionDetail | null; input: string; isRunning: boo
web/src/App.tsx:1636
FunctionCopyableCodeBlock
({ label, value }: { label: string; value: string })
web/src/App.tsx:3086
FunctionDetailDrawer
(props: { drawer: Exclude<DetailDrawer, null>; onClose: () => void; onOpenEvent: (eventId: string) => vo
web/src/App.tsx:3115
FunctionEmbeddingPreviewBlock
({ title, preview }: { title: string; preview?: EmbeddingPreview | null })
web/src/App.tsx:3300
FunctionEmptyLine
({ text }: { text: string })
web/src/App.tsx:3600
FunctionEmptyState
({ title, description }: { title: string; description: string })
web/src/App.tsx:3604
FunctionEntitiesPanel
(props: { entities: EntityRecord[]; hasFilter?: boolean; onOpenEntity: (entityId: string) => void; })
web/src/App.tsx:2534
FunctionEntityDetailPanel
({ detail, onOpenEvent }: { detail: EntityDetailRecord; onOpenEvent: (eventId: string) => void })
web/src/App.tsx:3191
FunctionEventDetailPanel
({ detail, onOpenEntity }: { detail: EventDetailRecord; onOpenEntity: (entityId: string) => void })
web/src/App.tsx:3162
FunctionEventsPanel
(props: { events: EventRecord[]; hasFilter?: boolean; onOpenEvent: (eventId: string) => void; onOpenEn
web/src/App.tsx:2493
FunctionField
({ label, children }: { label: string; children: ReactNode })
web/src/App.tsx:3291
FunctionI18nProvider
({ value, children }: { value: I18nContextValue; children: ReactNode })
web/src/i18n.tsx:45
FunctionInput
({ className, type, ...props }: React.InputHTMLAttributes<HTMLInputElement>)
web/src/components/ui/input.tsx:4
FunctionJsonBlock
({ title, value, compact, preserveRaw }: { title: string; value: unknown; compact?: boolean; preserveRaw?: boo
web/src/App.tsx:3586
FunctionMainWorkspaceTabs
(props: { view: WorkspaceView; onChange: (view: Exclude<WorkspaceView, "settings">) => void; })
web/src/App.tsx:1606
FunctionMarkdownMessage
({ content, citations = [], onOpenCitation }: { content: string; citations?: AnswerCitation[]; onO
web/src/App.tsx:3319
FunctionMarkdownTable
(props: { header: string[]; rows: string[][]; alignments: Array<"left" | "center" | "right">; citation
web/src/App.tsx:3427
FunctionMcpSettingsCard
({ project, settings }: { project: SourceRecord; settings: PublicMcpSettings | null })
web/src/App.tsx:2975
← previousnext →301–400 of 494, ranked by callers