MCPcopy Create free account

hub / github.com/archie0732/healthy-diet-ai-agent / functions

Functions406 in github.com/archie0732/healthy-diet-ai-agent

↓ 25 callersFunctiongetRequiredFunction
( value: unknown, name: string )
src/server/agentRuntime.test.ts:8
↓ 20 callersFunctiongetStorage
()
src/storage/runtime.ts:19
↓ 19 callersFunctionsendSSE
( res: Pick<Response, 'write'>, data: object, eventName?: string )
src/server/sse.ts:16
↓ 13 callersFunctionisRetryableGoogleFailure
(error: unknown)
src/server/modelRouting.ts:66
↓ 12 callersFunctionloadDefaultAgentConfig
()
src/config/agentConfig.ts:152
↓ 10 callersFunctionaddNode
( cache: KnowledgeGraphCache, label: string, nodeType: GraphNodeType, documentId: string, sourceType
src/server/knowledgeGraph.ts:293
↓ 10 callersFunctionresolveKnowledgeRuntimeConfig
( config: Pick<AgentConfig, 'rag'> )
agent_skills/file_tools.ts:163
↓ 9 callersFunctionsafeLower
(value: string)
src/server/knowledgeGraph.ts:136
↓ 8 callersFunctionreadCache
()
src/server/knowledgeGraph.ts:657
↓ 8 callersFunctionshorten
(text: string, max = 120)
agent_skills/db_tools.ts:49
↓ 7 callersFunctionappendStreamChunk
( existing: string, incoming: string )
src/server/agentRuntime.ts:49
↓ 7 callersFunctionbuildAgentModelAttemptPlan
( modelSource: ChatModelSource, hasGoogleKey: boolean )
src/server/agentRuntime.ts:520
↓ 7 callersFunctionbuildPreferredProviderOrder
( modelSource: ChatModelSource, hasGoogleKey: boolean )
src/server/modelRouting.ts:17
↓ 7 callersFunctiongetAiApiUrl
(options?: { isDocker?: boolean })
src/server/aiRuntime.ts:23
↓ 7 callersFunctionnormalizeWhitespace
(value: string)
scripts/sync-mohw-clarifications.ts:35
↓ 7 callersFunctionrequireAdminIdentity
(req: Request, res: Response)
src/server/ragDocuments.ts:274
↓ 7 callersFunctionresolveAbsolutePath
(rootDir: string, relativePath: string)
src/server/ragDocuments.ts:86
↓ 7 callersFunctionresolvePathFromConfigDir
(configDir: string, configPathValue: string)
src/config/agentConfig.ts:93
↓ 7 callersFunctiontoArrayUnique
(values: T[])
src/server/knowledgeGraph.ts:135
↓ 7 callersFunctiontoStatusText
(value: unknown, maxLength = 220)
src/server/httpRuntime.ts:66
↓ 6 callersFunctionbuildResponseFormatInstructions
( responseStyle: AgentConfig['responseStyle'] )
src/server/agentRuntime.ts:230
↓ 6 callersFunctionclampKnowledgeTopK
( requestedTopK: number | undefined, config: Pick<AgentConfig, 'rag'> )
agent_skills/file_tools.ts:322
↓ 6 callersFunctioninvokeWithModelRouting
({ modelSource, googleApiKey, onStatus, invokeProvider, }: { modelSource: ChatModelSource; googleA
src/server/agentRuntime.ts:569
↓ 6 callersFunctionnormalizeWhitespace
(value: string)
agent_skills/file_tools.ts:53
↓ 6 callersFunctionparseRagSearchPayload
( payload: unknown, config: Pick<AgentConfig, 'rag'>, )
src/server/ragSearch.ts:41
↓ 5 callersFunctionaddEvidenceAndEdge
( cache: KnowledgeGraphCache, params: { sourceNode: KnowledgeGraphNode; targetNode: KnowledgeGraph
src/server/knowledgeGraph.ts:321
↓ 5 callersFunctionformatSSEMessage
(data: object, eventName?: string)
src/server/sse.ts:3
↓ 5 callersFunctioninferMimeType
(extension: string)
src/server/ragDocuments.ts:54
↓ 5 callersFunctionloadAgentRuntimeSkillsIndexText
(config: Pick<AgentConfig, 'agent'>)
src/server/agentRuntime.ts:288
↓ 5 callersFunctionloadDocumentOr404
( repository: RagDocumentsRepository, req: Request, res: Response, )
src/server/ragDocuments.ts:447
↓ 5 callersFunctionsanitizeAssistantStreamingText
(message: string)
src/server/agentRuntime.ts:155
↓ 5 callersFunctiontoDocumentItem
(document: RagDocumentRecord)
src/server/ragDocuments.ts:366
↓ 4 callersFunctionbuildSummaryPersistenceGuard
(input: { current_user_message: string; current_assistant_reply: string; })
agent_skills/conversation_summary_tool.ts:74
↓ 4 callersFunctioncreateRequestId
()
src/server/httpRuntime.ts:11
↓ 4 callersFunctionfetchExistingRoomSummaryEntries
( threadId: string, userId?: string )
src/serverHandlers.ts:391
↓ 4 callersFunctionfindTerms
(sentence: string, terms: string[])
src/server/knowledgeGraph.ts:191
↓ 4 callersMethodgetUserProfile
(userId: string)
src/storage/types.ts:114
↓ 4 callersFunctionhashText
(value: string)
src/server/knowledgeGraph.ts:134
↓ 4 callersMethodinsertChatHistory
(input: ChatHistoryInsertInput)
src/storage/types.ts:110
↓ 4 callersFunctionisCapabilityQuestion
(message: string)
src/server/agentRuntime.ts:327
↓ 4 callersFunctionloadAgentConfig
(configPath: string)
src/config/agentConfig.ts:146
↓ 4 callersFunctionmapDocumentRow
(row: Record<string, unknown>)
src/storage/supabase/adapter.ts:23
↓ 4 callersFunctionnormalizeTitle
(value: string, fallbackText: string)
src/serverHandlers.ts:140
↓ 4 callersFunctionnormalizeWhitespace
(value: string)
agent_skills/fetch_web.ts:17
↓ 4 callersFunctionparsePositiveInt
(raw: string | undefined)
scripts/sync-mohw-clarifications.ts:49
↓ 4 callersFunctionpickGoogleApiKey
()
src/server/modelRouting.ts:13
↓ 4 callersFunctionresolveMohwNewsSyncEnabled
( configMohwEnabled: AgentConfig['features']['mohwEnabled'], envValue?: string | null, )
src/server/mohwConfig.ts:14
↓ 4 callersFunctionsanitizeListField
(value: string | undefined)
src/server/profileApproval.ts:168
↓ 3 callersFunctionbuildKnowledgeCorpus
(config: Pick<AgentConfig, 'rag'>)
agent_skills/file_tools.ts:185
↓ 3 callersFunctionbuildRawConfig
(overrides?: Partial<Record<string, unknown>>)
src/config/agentConfig.test.ts:31
↓ 3 callersFunctionclearPendingApprovalByThread
(threadId: string)
src/server/profileApproval.ts:140
↓ 3 callersFunctioncollectLeafText
($: ReturnType<typeof load>, selector: string)
src/server/mohwNews.ts:139
↓ 3 callersMethodcreateKnowledgeDocument
(record: KnowledgeDocumentRecord)
src/storage/types.ts:120
↓ 3 callersFunctionemptyCache
()
src/server/knowledgeGraph.ts:124
↓ 3 callersMethodensureReady
()
src/storage/types.ts:109
↓ 3 callersFunctionevaluateMode
( queries: EvaluationQueryV2[], chunks: RAGChunk[], deprecatedKeys: Set<string>, judgmentsMap: Map<str
experiments/version_aware_rag/scripts/run_retrieval_eval.ts:148
↓ 3 callersFunctionextractDocumentGraph
(cache: KnowledgeGraphCache, document: KnowledgeSourceDocument)
src/server/knowledgeGraph.ts:368
↓ 3 callersFunctionextractTitle
(markdown: string, fallback: string)
agent_skills/file_tools.ts:135
↓ 3 callersFunctionfetchHtml
(url: string, timeoutMs: number)
scripts/sync-mohw-clarifications.ts:132
↓ 3 callersFunctionformatDurationMs
(startAt: number)
src/server/httpRuntime.ts:14
↓ 3 callersFunctiongetChunkText
(content: unknown)
src/server/agentRuntime.ts:106
↓ 3 callersMethodgetDocument
(documentId: string)
src/server/ragDocuments.test.ts:17
↓ 3 callersFunctionhasAnyProfileField
(fields: ProfileUpdateFields)
src/server/profileApproval.ts:58
↓ 3 callersFunctioninvalidateKnowledgeSearchCache
()
agent_skills/file_tools.ts:41
↓ 3 callersFunctionloadKnowledgeConfig
()
agent_skills/file_tools.ts:251
↓ 3 callersFunctionmapJobRow
(row: Record<string, unknown>)
src/storage/supabase/adapter.ts:48
↓ 3 callersFunctionnormalizeWhitespace
(value: string)
src/server/mohwNews.ts:45
↓ 3 callersFunctionnormalizeWhitespace
(value: string)
src/server/knowledgeIngestion.ts:48
↓ 3 callersFunctionnormalizeWhitespace
(value: string)
src/server/ragDocuments.ts:30
↓ 3 callersFunctionparseJsonArray
(value: unknown)
src/storage/sqlite/adapter.ts:18
↓ 3 callersFunctionparseJsonSafe
(value: string)
src/server/profileApproval.ts:66
↓ 3 callersFunctionparseJsonSafe
(value: string)
agent_skills/conversation_summary_tool.ts:15
↓ 3 callersFunctionparseRoomSummaryIndex
(rawSummary: unknown)
src/server/roomSummaryIndex.ts:51
↓ 3 callersFunctionpruneDocumentFromCache
(cache: KnowledgeGraphCache, documentId: string)
src/server/knowledgeGraph.ts:491
↓ 3 callersFunctionreadManifest
()
src/server/mohwNews.ts:210
↓ 3 callersFunctionreadOptionalFile
(...filePaths: string[])
src/server/agentRuntime.ts:364
↓ 3 callersFunctionreadTextFileSafe
(absolutePath: string)
agent_skills/file_tools.ts:58
↓ 3 callersFunctionrequireAdminIdentity
(req: Request, res: Response)
src/server/knowledgeGraph.ts:154
↓ 3 callersFunctionresolveAgentRuntimePromptPaths
( config: Pick<AgentConfig, 'agent'> )
src/server/agentRuntime.ts:276
↓ 3 callersFunctionretrieveTopK
( query: EvaluationQueryV2, chunks: RAGChunk[], deprecatedKeys: Set<string>, mode: 'append-only' | 're
experiments/version_aware_rag/scripts/run_retrieval_eval.ts:95
↓ 3 callersFunctionsanitizeAssistantVisibleText
(message: string)
src/server/agentRuntime.ts:144
↓ 3 callersFunctionsanitizeContentBlock
(text: string)
src/server/mohwNews.ts:130
↓ 3 callersFunctionshouldFallbackSummarizeTurn
(input: { userMessage: string; assistantReply: string; })
src/serverHandlers.ts:382
↓ 3 callersFunctionsplitIntoParagraphChunks
(text: string, maxChunkChars: number)
agent_skills/file_tools.ts:94
↓ 3 callersFunctionsummarizeRoomSummaryIndex
(entries: RoomSummaryIndexEntry[])
src/server/roomSummaryIndex.ts:73
↓ 3 callersFunctiontoPosixRelative
(absolutePath: string)
agent_skills/file_tools.ts:55
↓ 3 callersMethodupdateChatHistoryReply
(input: { chatHistoryId: string; aiReply: string })
src/storage/types.ts:111
↓ 3 callersMethodupdateKnowledgeDocument
( documentId: string, patch: Partial<KnowledgeDocumentRecord> )
src/storage/types.ts:121
↓ 3 callersMethodupsertChatRoom
(input: ChatRoomUpsertInput)
src/storage/types.ts:112
↓ 3 callersFunctionwriteTempConfig
(config: unknown)
src/config/agentConfig.test.ts:22
↓ 2 callersFunctionattemptInsert
(row: Record<string, unknown>)
agent_skills/db_tools.ts:72
↓ 2 callersFunctionbuildApprovalProposalItems
(fields: ProfileUpdateFields)
src/server/profileApproval.ts:196
↓ 2 callersFunctionbuildCallModelResponseStylePromptLines
( responseStyle: AgentConfig['responseStyle'] )
src/server/agentRuntime.ts:258
↓ 2 callersFunctionbuildCapabilitiesSummary
({ toolNames, skillsIndex, }: { toolNames: string[]; skillsIndex: string; })
src/server/agentRuntime.ts:386
↓ 2 callersFunctionbuildLegacySummaryIndexEntry
({ legacySummary, createdAt = '', }: { legacySummary: string; createdAt?: string; })
src/server/roomSummaryIndex.ts:31
↓ 2 callersFunctionbuildPreviewResponse
( document: RagDocumentRecord, previewKind: 'text' | 'unsupported', content: string, truncated: boolea
src/server/ragDocuments.ts:381
↓ 2 callersFunctionbuildResponseStylePromptSection
( responseStyle: AgentConfig['responseStyle'] )
src/server/agentRuntime.ts:254
↓ 2 callersFunctionbuildSummarizer
(summaryMaxTokens: number)
agent_skills/fetch_web.ts:96
↓ 2 callersFunctionbuildSummaryResult
(summary: string)
agent_skills/vision_model.ts:36
↓ 2 callersFunctioncleanupExpiredApprovals
()
src/server/profileApproval.ts:119
next →1–100 of 406, ranked by callers