MCPcopy Create free account

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

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

↓ 1 callersFunctionrunCliTurn
(args: CliArgs)
src/cli.ts:56
↓ 1 callersFunctionrunSearch
( payload: { query: string; top_k: number; source_types?: Array<'nutrition_rules' | 'mohw_news'
src/server/ragSearch.ts:46
↓ 1 callersFunctionsaveIncomingImageToWorkspace
(input: { rawImage: unknown; userId?: string; threadId: string; mimeTypeHint?: string; })
src/server/imageStorage.ts:45
↓ 1 callersFunctionscoreChunk
(chunk: KnowledgeChunk, query: string, keywords: string[])
agent_skills/file_tools.ts:294
↓ 1 callersFunctionserializeJson
(value: unknown)
src/storage/sqlite/adapter.ts:30
↓ 1 callersFunctionsplitIntoChunks
( text: string, chunkSize: number, maxChunks: number )
agent_skills/fetch_web.ts:83
↓ 1 callersFunctionsplitIntoSentences
(content: string)
src/server/knowledgeGraph.ts:184
↓ 1 callersFunctionstartServer
()
src/index.ts:89
↓ 1 callersFunctionstripDataUrlPrefix
(rawBase64: string)
src/server/knowledgeIngestion.ts:41
↓ 1 callersFunctionsummarizeChunk
( llm: ChatOpenAI, chunk: string, chunkIndex: number, totalChunks: number )
agent_skills/fetch_web.ts:105
↓ 1 callersFunctionsummarizeFinal
( llm: ChatOpenAI, title: string, url: string, chunkSummaries: string[] )
agent_skills/fetch_web.ts:128
↓ 1 callersFunctiontitleFromContent
(content: string, fallback: string)
src/server/knowledgeGraph.ts:232
↓ 1 callersFunctiontoAbsoluteUrl
(href: string)
src/server/mohwNews.ts:62
↓ 1 callersFunctiontoAbsoluteUrl
(href: string)
scripts/sync-mohw-clarifications.ts:38
↓ 1 callersFunctiontoDateLabel
(value?: string)
src/server/roomSummaryIndex.ts:78
↓ 1 callersFunctiontoIsoDateFromRoc
(raw: string)
scripts/sync-mohw-clarifications.ts:61
↓ 1 callersFunctiontoMarkdownDocument
(input: { title: string; sourcePath: string; sourceType: string; uploadedBy: string; uploadedRole: s
src/server/knowledgeIngestion.ts:92
↓ 1 callersFunctiontoMarkdownDocument
(input: { documentId: string; title: string; filename: string; mimeType: string; sourcePath: string;
src/server/ragDocuments.ts:89
↓ 1 callersFunctionwriteArticleMarkdown
( record: Omit<ArticleRecord, 'localPath'>, articleHtml: string, articleAbsPath: string, articleRelati
scripts/sync-mohw-clarifications.ts:165
↓ 1 callersFunctionwriteJsonFile
(absolutePath: string, value: unknown)
src/server/knowledgeGraph.ts:211
FunctionapproveHandler
(req: Request, res: Response)
src/serverHandlers.ts:905
FunctioncallModel
(state: typeof AgentState.State)
src/server/agentRuntime.ts:630
FunctionchatHandler
(req: Request, res: Response)
src/serverHandlers.ts:599
FunctioncreateDocument
(record)
src/server/ragDocuments.ts:351
FunctioncreateKnowledgeDocument
(record: KnowledgeDocumentRecord)
src/storage/supabase/adapter.ts:207
FunctioncreateKnowledgeDocument
(record: KnowledgeDocumentRecord)
src/storage/sqlite/adapter.ts:306
FunctioncreateKnowledgeIngestionJob
(record: KnowledgeIngestionJobRecord)
src/storage/supabase/adapter.ts:263
FunctioncreateKnowledgeIngestionJob
(record: KnowledgeIngestionJobRecord)
src/storage/sqlite/adapter.ts:382
FunctiondeleteDocument
(documentId)
src/server/ragDocuments.ts:359
MethoddeleteDocument
(documentId: string)
src/server/knowledgeGraph.test.ts:42
FunctiondeleteKnowledgeDocument
(documentId: string)
src/storage/supabase/adapter.ts:259
FunctiondeleteKnowledgeDocument
(documentId: string)
src/storage/sqlite/adapter.ts:378
FunctionensureReady
()
src/storage/supabase/adapter.ts:69
FunctionensureReady
()
src/storage/sqlite/adapter.ts:105
Functioneq
(column: string, value: unknown)
src/server/dbTools.test.ts:146
FunctionerrorHandler
(error: any, req: Request, res: Response, _next: (err?: unknown) => void)
src/serverHandlers.ts:1017
FunctionfetchExistingRoomSummary
(threadId: string, userId?: string)
src/serverHandlers.ts:405
FunctionfindDocumentByHash
(fileHash)
src/server/ragDocuments.ts:347
MethodfindDocumentByHash
(fileHash: string)
src/server/knowledgeGraph.test.ts:22
FunctionfindKnowledgeDocumentByHash
(fileHash: string)
src/storage/supabase/adapter.ts:202
FunctionfindKnowledgeDocumentByHash
(fileHash: string)
src/storage/sqlite/adapter.ts:299
Functionfinish
()
src/server/httpRuntime.test.ts:19
Functionfrom
(table: string)
src/server/dbTools.test.ts:10
Functionfrom
(table: string)
src/server/serverHandlers.test.ts:17
FunctiongenerateTitleHandler
(req: Request, res: Response)
src/serverHandlers.ts:994
FunctiongetChatHistory
(input: ChatHistoryQuery)
src/storage/supabase/adapter.ts:166
FunctiongetChatHistory
(input: ChatHistoryQuery)
src/storage/sqlite/adapter.ts:238
FunctiongetChatHistoryWithClient
( client: NonNullable<typeof supabase>, { room_id, limit = 8, format = 'compact', include_
agent_skills/db_tools.ts:233
FunctiongetChatRoomSummary
(threadId: string, userId?: string)
src/storage/supabase/adapter.ts:122
FunctiongetChatRoomSummary
(threadId: string, userId?: string)
src/storage/sqlite/adapter.ts:173
FunctiongetDocument
(documentId)
src/server/ragDocuments.ts:343
MethodgetDocument
(documentId: string)
src/server/knowledgeGraph.test.ts:18
FunctiongetKnowledgeDocument
(documentId: string)
src/storage/supabase/adapter.ts:197
FunctiongetKnowledgeIngestionJob
(jobId: string)
src/storage/supabase/adapter.ts:301
FunctiongetMohwNewsByIdHandler
(req: Request, res: Response)
src/server/mohwNews.ts:317
FunctiongetSupabaseOrError
()
agent_skills/db_tools.ts:28
FunctiongetUserProfile
(userId: string)
src/storage/supabase/adapter.ts:129
Functiongte
(column: string, value: unknown)
src/server/dbTools.test.ts:201
Functionin
(column: string, value: unknown[])
src/server/dbTools.test.ts:150
FunctioningestKnowledgeHandler
(req: Request, res: Response)
src/server/knowledgeIngestion.ts:235
Functioninsert
(rows: Record<string, unknown>[])
src/server/dbTools.test.ts:13
FunctioninsertChatHistory
(input: ChatHistoryInsertInput)
src/storage/supabase/adapter.ts:70
FunctioninsertChatHistory
(input: ChatHistoryInsertInput)
src/storage/sqlite/adapter.ts:109
FunctioninsertInitialChatHistoryRow
(input: { threadId: string; userId?: string; userMessage: string; imagePath?: string; title?: string
src/serverHandlers.ts:215
FunctioninvokeStructuredOutputWithRouting
({ modelSource, googleApiKey, schema, prompt, onStatus, createStructuredInvoker, }: { modelSourc
src/server/agentRuntime.ts:537
FunctionknowledgeJobStatusHandler
(req: Request, res: Response)
src/server/knowledgeIngestion.ts:360
Functionlimit
()
src/server/dbTools.test.ts:157
FunctionlistDocuments
()
src/server/ragDocuments.ts:339
MethodlistDocuments
()
src/server/knowledgeGraph.test.ts:14
FunctionlistKnowledgeDocuments
()
src/storage/supabase/adapter.ts:192
FunctionlistKnowledgeDocuments
()
src/storage/sqlite/adapter.ts:285
FunctionlistLocalMohwFilesHandler
(_req: Request, res: Response)
src/server/mohwNews.ts:347
FunctionlistMohwNewsHandler
(req: Request, res: Response)
src/server/mohwNews.ts:292
FunctionlogDietWithClient
( client: NonNullable<typeof supabase>, { room_id, user_message, image_path, title, ai
agent_skills/db_tools.ts:112
Functionlte
(column: string, value: unknown)
src/server/dbTools.test.ts:205
FunctionmapDocumentRow
(row: Record<string, unknown>)
src/server/ragDocuments.ts:315
Functionon
(event: string, handler: () => void)
src/server/httpRuntime.test.ts:14
Functionorder
()
src/server/dbTools.test.ts:154
FunctionpersistChatRoomMeta
(input: { threadId: string; userId?: string; summaryArray?: string[]; compactSummary?: string; summa
src/serverHandlers.ts:288
FunctionpersistChatRoomMetaWithClient
( client: NonNullable<typeof supabase>, input: { threadId: string; userId?: string; summaryArr
src/serverHandlers.ts:248
FunctionpingHandler
(_req: Request, res: Response)
src/serverHandlers.ts:1009
FunctionragSearchHandler
(req: Request, res: Response)
src/server/ragSearch.ts:84
FunctionreadJsonFile
(absolutePath: string)
src/server/knowledgeGraph.ts:202
FunctionresetStorageForTest
()
src/storage/runtime.ts:26
Functionselect
()
src/server/dbTools.test.ts:17
FunctionsendSSE
(res: Response, data: object)
src/serverHandlers.ts:591
FunctionsendSSE
(res: Response, data: object)
src/server/agentRuntime.ts:41
FunctionsyncMohwNewsHandler
(_req: Request, res: Response)
src/server/mohwNews.ts:287
FunctiontoSummaryLine
(row: CompressableRow)
agent_skills/summarizer_tools.ts:25
FunctionupdateChatHistoryReply
({ chatHistoryId, aiReply })
src/storage/supabase/adapter.ts:95
FunctionupdateChatHistoryReply
({ chatHistoryId, aiReply, }: { chatHistoryId: string; aiReply: string; })
src/storage/sqlite/adapter.ts:131
FunctionupdateDocument
(documentId, patch)
src/server/ragDocuments.ts:355
MethodupdateDocument
(documentId: string, patch: Partial<RagDocumentRecord>)
src/server/knowledgeGraph.test.ts:34
FunctionupdateKnowledgeDocument
(documentId: string, patch: Partial<KnowledgeDocumentRecord>)
src/storage/supabase/adapter.ts:234
FunctionupdateKnowledgeDocument
( documentId: string, patch: Partial<KnowledgeDocumentRecord> )
src/storage/sqlite/adapter.ts:336
FunctionupdateKnowledgeIngestionJob
(jobId: string, patch: Partial<KnowledgeIngestionJobRecord>)
src/storage/supabase/adapter.ts:283
FunctionupdateKnowledgeIngestionJob
( jobId: string, patch: Partial<KnowledgeIngestionJobRecord> )
src/storage/sqlite/adapter.ts:412
FunctionupdateUserProfile
(input: UserProfileUpdateInput)
src/storage/supabase/adapter.ts:149
FunctionupdateUserProfile
(input: UserProfileUpdateInput)
src/storage/sqlite/adapter.ts:195
FunctionuploadKnowledgeHandler
(req: Request, res: Response)
src/server/knowledgeIngestion.ts:146
← previousnext →301–400 of 406, ranked by callers