MCPcopy Create free account

hub / github.com/ai-hero-dev/ai-hero / functions

Functions358 in github.com/ai-hero-dev/ai-hero

↓ 1 callersFunctioncheckIsSafe
( ctx: SystemContext, )
courses/01-deepsearch-in-typescript/00-apps/07-migrated-to-v5/src/guardrails.ts:7
↓ 1 callersFunctioncheckRobotsTxt
(url: string)
courses/01-deepsearch-in-typescript/00-apps/05-day-8-app/src/server/scraper.ts:88
↓ 1 callersFunctioncheckRobotsTxt
(url: string)
courses/01-deepsearch-in-typescript/00-apps/06-final-app/src/server/scraper.ts:88
↓ 1 callersFunctioncheckRobotsTxt
(url: string)
courses/01-deepsearch-in-typescript/00-apps/07-migrated-to-v5/src/server/scraper.ts:88
↓ 1 callersFunctioncheckRobotsTxt
(url: string)
courses/01-deepsearch-in-typescript/00-apps/05.5-day-8-app-with-resumable-streams/src/server/scraper.ts:88
↓ 1 callersFunctioncheckRobotsTxt
(url: string)
courses/01-deepsearch-in-typescript/00-apps/03-day-4-app/src/server/scraper.ts:88
↓ 1 callersFunctioncheckRobotsTxt
(url: string)
courses/01-deepsearch-in-typescript/00-apps/04-day-6-app/src/server/scraper.ts:88
↓ 1 callersFunctioncheckRobotsTxt
( url: string, )
examples/model-context-protocol/07-my-mcp-on-http/crawl-site.ts:96
↓ 1 callersFunctioncheckRobotsTxt
( url: string, )
examples/model-context-protocol/04-logging-with-stdio-transport/crawl-site.ts:96
↓ 1 callersFunctioncheckRobotsTxt
( url: string, )
examples/model-context-protocol/06-my-mcp/crawl-site.ts:96
↓ 1 callersFunctionconvertSlugToId
( filePath: string, slug: string, )
internal/watch-articles.ts:46
↓ 1 callersFunctioncrawlWebsite
( options: CrawlOptions & { url: string }, )
examples/model-context-protocol/07-my-mcp-on-http/crawl-site.ts:164
↓ 1 callersFunctioncrawlWebsite
( options: CrawlOptions & { url: string }, )
examples/model-context-protocol/04-logging-with-stdio-transport/crawl-site.ts:164
↓ 1 callersFunctioncreateCacheMiddleware
( cache: StorageCache, )
examples/vercel-ai-sdk/17-caching-TODO/cache-model.ts:22
↓ 1 callersFunctioncreateLessonFile
( slug: string, id: string, )
internal/add-lesson.ts:74
↓ 1 callersMethoddeletePost
( id: string, )
examples/_TODO/agents/03-cms-agent-TODO/server/cms-client.ts:99
↓ 1 callersFunctionembedContent
(contentDir: string)
internal/create-embeddings-from-dataset.ts:9
↓ 1 callersFunctionextractArticleText
(html: string)
courses/01-deepsearch-in-typescript/00-apps/05-day-8-app/src/server/scraper.ts:58
↓ 1 callersFunctionextractArticleText
(html: string)
courses/01-deepsearch-in-typescript/00-apps/06-final-app/src/server/scraper.ts:58
↓ 1 callersFunctionextractArticleText
(html: string)
courses/01-deepsearch-in-typescript/00-apps/07-migrated-to-v5/src/server/scraper.ts:58
↓ 1 callersFunctionextractArticleText
(html: string)
courses/01-deepsearch-in-typescript/00-apps/05.5-day-8-app-with-resumable-streams/src/server/scraper.ts:58
↓ 1 callersFunctionextractArticleText
(html: string)
courses/01-deepsearch-in-typescript/00-apps/03-day-4-app/src/server/scraper.ts:58
↓ 1 callersFunctionextractArticleText
(html: string)
courses/01-deepsearch-in-typescript/00-apps/04-day-6-app/src/server/scraper.ts:58
↓ 1 callersFunctionextractArticleText
(html: string)
examples/model-context-protocol/07-my-mcp-on-http/crawl-site.ts:60
↓ 1 callersFunctionextractArticleText
(html: string)
examples/model-context-protocol/04-logging-with-stdio-transport/crawl-site.ts:60
↓ 1 callersFunctionextractArticleText
(html: string)
examples/model-context-protocol/06-my-mcp/crawl-site.ts:60
↓ 1 callersFunctionextractSlugAndId
( url: string, )
internal/add-lesson.ts:31
↓ 1 callersFunctionfetchFromAiHero
( path: string, init?: Omit<RequestInit, "headers">, )
internal/shortlinks/sync-with-ai-hero.ts:4
↓ 1 callersFunctionfixTimestampsOnCachedObject
( obj: any )
examples/vercel-ai-sdk/17-caching-TODO/utils.ts:8
↓ 1 callersFunctionformatMessage
( level: string, message: string, data?: unknown, )
examples/model-context-protocol/04-logging-with-stdio-transport/logger.ts:9
↓ 1 callersFunctiongetChat
(opts: { userId: string; chatId: string })
courses/01-deepsearch-in-typescript/00-apps/05-day-8-app/src/server/db/queries.ts:50
↓ 1 callersFunctiongetChat
(opts: { userId: string; chatId: string })
courses/01-deepsearch-in-typescript/00-apps/06-final-app/src/server/db/queries.ts:50
↓ 1 callersFunctiongetChat
(opts: { userId: string; chatId: string })
courses/01-deepsearch-in-typescript/00-apps/07-migrated-to-v5/src/server/db/queries.ts:49
↓ 1 callersFunctiongetChat
(opts: { userId: string; chatId: string })
courses/01-deepsearch-in-typescript/00-apps/02-day-3-app/src/server/db/queries.ts:49
↓ 1 callersFunctiongetChat
(opts: { userId: string; chatId: string })
courses/01-deepsearch-in-typescript/00-apps/03-day-4-app/src/server/db/queries.ts:49
↓ 1 callersFunctiongetChat
(opts: { userId: string; chatId: string })
courses/01-deepsearch-in-typescript/00-apps/04-day-6-app/src/server/db/queries.ts:49
↓ 1 callersFunctiongetChats
(opts: { userId: string })
courses/01-deepsearch-in-typescript/00-apps/05-day-8-app/src/server/db/queries.ts:77
↓ 1 callersFunctiongetChats
(opts: { userId: string })
courses/01-deepsearch-in-typescript/00-apps/06-final-app/src/server/db/queries.ts:77
↓ 1 callersFunctiongetChats
(opts: { userId: string })
courses/01-deepsearch-in-typescript/00-apps/07-migrated-to-v5/src/server/db/queries.ts:75
↓ 1 callersFunctiongetChats
(opts: { userId: string })
courses/01-deepsearch-in-typescript/00-apps/02-day-3-app/src/server/db/queries.ts:75
↓ 1 callersFunctiongetChats
(opts: { userId: string })
courses/01-deepsearch-in-typescript/00-apps/05.5-day-8-app-with-resumable-streams/src/server/db/queries.ts:78
↓ 1 callersFunctiongetChats
(opts: { userId: string })
courses/01-deepsearch-in-typescript/00-apps/03-day-4-app/src/server/db/queries.ts:75
↓ 1 callersFunctiongetChats
(opts: { userId: string })
courses/01-deepsearch-in-typescript/00-apps/04-day-6-app/src/server/db/queries.ts:75
↓ 1 callersFunctiongetNextAction
( context: SystemContext, opts: { langfuseTraceId?: string } = {}, )
courses/01-deepsearch-in-typescript/00-apps/05-day-8-app/src/get-next-action.ts:31
↓ 1 callersFunctiongetNextAction
( context: SystemContext, opts: { langfuseTraceId?: string } = {}, )
courses/01-deepsearch-in-typescript/00-apps/06-final-app/src/get-next-action.ts:28
↓ 1 callersFunctiongetNextAction
( context: SystemContext, opts: { langfuseTraceId?: string } = {}, )
courses/01-deepsearch-in-typescript/00-apps/07-migrated-to-v5/src/get-next-action.ts:28
↓ 1 callersFunctiongetNextAction
( context: SystemContext, opts: { langfuseTraceId?: string } = {}, )
courses/01-deepsearch-in-typescript/00-apps/05.5-day-8-app-with-resumable-streams/src/get-next-action.ts:31
↓ 1 callersFunctiongetNextFolderNumber
()
internal/add-lesson.ts:14
↓ 1 callersFunctiongetPathsToChange
( inputPaths: string[], )
internal/reorder-examples.ts:32
↓ 1 callersMethodgetPost
(id: string)
examples/_TODO/agents/03-cms-agent-TODO/server/cms-client.ts:53
↓ 1 callersFunctiongetPrompt
(path: string)
examples/model-context-protocol/05-mcp-prompts/main.ts:10
↓ 1 callersFunctiongetRenamedFiles
()
internal/shortlinks/update.ts:19
↓ 1 callersFunctiongetRoutes
(opts: { root: string })
examples/_shared/dev-server/run-local-dev-server-new.ts:77
↓ 1 callersFunctiongetStreamIds
(opts: { chatId: string; })
courses/01-deepsearch-in-typescript/00-apps/05.5-day-8-app-with-resumable-streams/src/server/db/queries.ts:102
↓ 1 callersMethodgetUsages
()
courses/01-deepsearch-in-typescript/00-apps/06-final-app/src/system-context.ts:118
↓ 1 callersMethodgetUsages
()
courses/01-deepsearch-in-typescript/00-apps/07-migrated-to-v5/src/system-context.ts:112
↓ 1 callersFunctionhandleInput
(prompt: string)
examples/_TODO/projects/git-assistant/bin.ts:13
↓ 1 callersMethodincrementStep
()
courses/01-deepsearch-in-typescript/00-apps/05-day-8-app/src/system-context.ts:61
↓ 1 callersMethodincrementStep
()
courses/01-deepsearch-in-typescript/00-apps/06-final-app/src/system-context.ts:66
↓ 1 callersMethodincrementStep
()
courses/01-deepsearch-in-typescript/00-apps/07-migrated-to-v5/src/system-context.ts:67
↓ 1 callersMethodincrementStep
()
courses/01-deepsearch-in-typescript/00-apps/05.5-day-8-app-with-resumable-streams/src/system-context.ts:61
↓ 1 callersFunctionisNewChatCreated
(data: unknown)
courses/01-deepsearch-in-typescript/00-apps/05-day-8-app/src/utils.ts:1
↓ 1 callersFunctionisNewChatCreated
(data: unknown)
courses/01-deepsearch-in-typescript/00-apps/06-final-app/src/utils.ts:1
↓ 1 callersFunctionisNewChatCreated
(data: unknown)
courses/01-deepsearch-in-typescript/00-apps/02-day-3-app/src/utils.ts:1
↓ 1 callersFunctionisNewChatCreated
(data: unknown)
courses/01-deepsearch-in-typescript/00-apps/05.5-day-8-app-with-resumable-streams/src/utils.ts:1
↓ 1 callersFunctionisNewChatCreated
(data: unknown)
courses/01-deepsearch-in-typescript/00-apps/03-day-4-app/src/utils.ts:1
↓ 1 callersFunctionisNewChatCreated
(data: unknown)
courses/01-deepsearch-in-typescript/00-apps/04-day-6-app/src/utils.ts:1
↓ 1 callersFunctionlogToConsole
(prompt: string)
examples/vercel-ai-sdk/14-simple-tool-calling/main.ts:20
↓ 1 callersFunctionmain
()
internal/add-lesson.ts:106
↓ 1 callersFunctionprocessDirectory
(dirPath: string)
internal/rewrite-examples.ts:37
↓ 1 callersFunctionprocessReadmeFile
(readmePath: string)
internal/rewrite-examples.ts:4
↓ 1 callersFunctionprocessUrl
(url: string)
internal/add-lesson.ts:96
↓ 1 callersFunctionqueryRewriter
( context: SystemContext, opts: { langfuseTraceId?: string } = {}, )
courses/01-deepsearch-in-typescript/00-apps/06-final-app/src/query-rewriter.ts:17
↓ 1 callersFunctionqueryRewriter
( context: SystemContext, opts: { langfuseTraceId?: string } = {}, )
courses/01-deepsearch-in-typescript/00-apps/07-migrated-to-v5/src/query-rewriter.ts:17
↓ 1 callersFunctionregisterDevice
()
internal/get-ai-hero-token.ts:8
↓ 1 callersFunctionremoveHtmlTags
(markdown: string)
examples/_TODO/chunking-algorithms/01-semantic-similarity-TODO/main.ts:70
↓ 1 callersMethodreportQueries
(queries: QueryResult[])
courses/01-deepsearch-in-typescript/00-apps/05-day-8-app/src/system-context.ts:65
↓ 1 callersMethodreportQueries
(queries: QueryResult[])
courses/01-deepsearch-in-typescript/00-apps/05.5-day-8-app-with-resumable-streams/src/system-context.ts:65
↓ 1 callersMethodreportScrapes
(scrapes: ScrapeResult[])
courses/01-deepsearch-in-typescript/00-apps/05-day-8-app/src/system-context.ts:69
↓ 1 callersMethodreportScrapes
(scrapes: ScrapeResult[])
courses/01-deepsearch-in-typescript/00-apps/05.5-day-8-app-with-resumable-streams/src/system-context.ts:69
↓ 1 callersMethodreportSearch
(search: SearchHistoryEntry)
courses/01-deepsearch-in-typescript/00-apps/06-final-app/src/system-context.ts:70
↓ 1 callersMethodreportSearch
(search: SearchHistoryEntry)
courses/01-deepsearch-in-typescript/00-apps/07-migrated-to-v5/src/system-context.ts:71
↓ 1 callersFunctionrun
()
internal/run-input-log.ts:61
↓ 1 callersFunctionrunAgentLoop
( messages: Message[], opts: { langfuseTraceId?: string; writeMessageAnnotation?: (annotation: Our
courses/01-deepsearch-in-typescript/00-apps/05-day-8-app/src/run-agent-loop.ts:10
↓ 1 callersFunctionrunAgentLoop
( messages: Message[], opts: { langfuseTraceId?: string; writeMessageAnnotation?: (annotation: Our
courses/01-deepsearch-in-typescript/00-apps/06-final-app/src/run-agent-loop.ts:13
↓ 1 callersFunctionrunAgentLoop
( messages: UIMessage[], opts: { langfuseTraceId?: string; writeMessagePart?: UIMessageStreamWrite
courses/01-deepsearch-in-typescript/00-apps/07-migrated-to-v5/src/run-agent-loop.ts:18
↓ 1 callersFunctionrunAgentLoop
( messages: Message[], opts: { langfuseTraceId?: string; writeMessageAnnotation?: (annotation: Our
courses/01-deepsearch-in-typescript/00-apps/05.5-day-8-app-with-resumable-streams/src/run-agent-loop.ts:10
↓ 1 callersFunctionscoreForFactuality
(opts: { question: string; groundTruth: string; submission: string; })
examples/_TODO/evals/04-custom-factuality-TODO/llm-as-a-judge.ts:7
↓ 1 callersFunctionsearchSerper
( body: SerperTool.SearchInput, signal: AbortSignal | undefined, )
courses/01-deepsearch-in-typescript/00-apps/05-day-8-app/src/serper.ts:89
↓ 1 callersFunctionsearchSerper
( body: SerperTool.SearchInput, signal: AbortSignal | undefined, )
courses/01-deepsearch-in-typescript/00-apps/06-final-app/src/serper.ts:89
↓ 1 callersFunctionsearchSerper
( body: SerperTool.SearchInput, signal: AbortSignal | undefined, )
courses/01-deepsearch-in-typescript/00-apps/07-migrated-to-v5/src/serper.ts:89
↓ 1 callersFunctionsearchSerper
( body: SerperTool.SearchInput, signal: AbortSignal | undefined, )
courses/01-deepsearch-in-typescript/00-apps/02-day-3-app/src/serper.ts:89
↓ 1 callersFunctionsearchSerper
( body: SerperTool.SearchInput, signal: AbortSignal | undefined, )
courses/01-deepsearch-in-typescript/00-apps/05.5-day-8-app-with-resumable-streams/src/serper.ts:89
↓ 1 callersFunctionsearchSerper
( body: SerperTool.SearchInput, signal: AbortSignal | undefined, )
courses/01-deepsearch-in-typescript/00-apps/03-day-4-app/src/serper.ts:89
↓ 1 callersFunctionsearchSerper
( body: SerperTool.SearchInput, signal: AbortSignal | undefined, )
courses/01-deepsearch-in-typescript/00-apps/04-day-6-app/src/serper.ts:89
↓ 1 callersFunctionseedDatabase
()
examples/_TODO/agents/03-cms-agent-TODO/server/seed.ts:18
↓ 1 callersMethodsetLastFeedback
(feedback: string)
courses/01-deepsearch-in-typescript/00-apps/06-final-app/src/system-context.ts:74
↓ 1 callersMethodsetLastFeedback
(feedback: string)
courses/01-deepsearch-in-typescript/00-apps/07-migrated-to-v5/src/system-context.ts:75
↓ 1 callersMethodshouldStop
()
courses/01-deepsearch-in-typescript/00-apps/05-day-8-app/src/system-context.ts:57
↓ 1 callersMethodshouldStop
()
courses/01-deepsearch-in-typescript/00-apps/06-final-app/src/system-context.ts:62
← previousnext →101–200 of 358, ranked by callers