MCPcopy Create free account

hub / github.com/get-convex/chef / functions

Functions843 in github.com/get-convex/chef

↓ 94 callersMethodrun
( commandAndArgs: string[], errorPrefix: OutputLabels, onOutput?: (s: stri
app/lib/runtime/action-runner.ts:439
↓ 55 callersFunctionclassNames
(...args: ClassNamesArg[])
app/utils/classNames.ts:17
↓ 55 callersFunctionstoreChat
( t: TestConvex, chatId: string, sessionId: string, args: { messages?: SerializedMessage[]; sn
convex/test.setup.ts:42
↓ 43 callersMethodparse
(partId: PartId, input: string)
chef-agent/message-parser.ts:82
↓ 35 callersFunctiongetChatByIdOrUrlIdEnsuringAccess
( ctx: QueryCtx, { id, sessionId }: { id: string; sessionId: Id<"sessions"> }, )
convex/messages.ts:786
↓ 32 callersFunctioncreateMessage
(overrides: Partial<SerializedMessage> = {})
convex/messages.test.ts:28
↓ 27 callersFunctioncreateChat
(t: TestConvex)
convex/test.setup.ts:26
↓ 23 callersFunctionassertStorageInfo
( t: TestConvex, storageInfo: StorageInfo | null, options: { expectedMessages: SerializedMessage[] |
convex/messages.test.ts:44
↓ 23 callersFunctioncssVar
(token: string)
app/components/workbench/terminal/theme.ts:4
↓ 23 callersFunctionformatNumber
(num: number)
app/components/DebugPromptView.tsx:166
↓ 19 callersFunctionlog
(...args: any[])
chefshot/cli.ts:10
↓ 18 callersFunctionstripIndents
(arg0: string | TemplateStringsArray, ...values: any[])
chef-agent/utils/stripIndent.ts:3
↓ 17 callersFunctionloggingSafeParse
( schema: z.ZodSchema<Output, ZodTypeDef>, args: any, )
chef-agent/utils/zodUtil.ts:5
↓ 16 callersFunctiondisplayChefTokenNumber
(num: number)
app/components/chat/AssistantMessage.tsx:129
↓ 16 callersFunctiongetAbsolutePath
(pathString: string)
chef-agent/utils/workDir.ts:8
↓ 16 callersFunctionuseConvexSessionIdOrNullOrLoading
()
app/lib/stores/sessionId.ts:6
↓ 15 callersFunctioncreateSubchat
(t: TestConvex, chatId: string, sessionId: Id<"sessions">)
convex/test.setup.ts:135
↓ 14 callersFunctiongetChatStorageStates
(t: TestConvex, chatId: string, sessionId: Id<"sessions">)
convex/messages.test.ts:15
↓ 13 callersFunctioncreateScopedLogger
(scope: string)
chef-agent/utils/logger.ts:26
↓ 13 callersFunctionisInstanceOfElement
(node, instance)
iframe-worker/worker.bundled.mjs:142
↓ 12 callersFunctioncreateManager
()
chef-agent/ChatContextManager.test.ts:10
↓ 12 callersFunctiongetLatestChatMessageStorageState
( ctx: QueryCtx, chat: { _id: Id<"chats">; subchatIndex: number; lastMessageRank?: number }, )
convex/messages.ts:145
↓ 11 callersFunctiongetConvexAuthToken
(convex: ConvexReactClient)
app/lib/stores/sessionId.ts:50
↓ 11 callersFunctiongetMemberByConvexMemberIdQuery
(ctx: QueryCtx, identity: UserIdentity)
convex/sessions.ts:273
↓ 11 callersFunctionsetContainerBootState
(state: ContainerBootState, error?: Error)
app/lib/stores/containerBootState.ts:26
↓ 10 callersFunction__commonJS
(cb, mod)
proxy/proxy.bundled.cjs:3
↓ 10 callersFunctioncreateChatId
(t: TestConvex)
convex/cleanup.test.ts:5
↓ 10 callersFunctionformatNumber
(num: number)
app/components/debug/UsageBreakdownView.tsx:27
↓ 10 callersFunctionlog
(level: DebugLevel, scope: string | undefined, messages: any[])
chef-agent/utils/logger.ts:49
↓ 10 callersMethodupdateAction
(id: string, newState: ActionStateUpdate)
app/lib/runtime/action-runner.ts:287
↓ 10 callersFunctionuseSelectedTeamSlug
()
app/lib/stores/convexTeams.ts:26
↓ 9 callersFunctioncreateMessage
(overrides: Partial<SerializedMessage> = {})
convex/subchats.test.ts:7
↓ 9 callersMethoddecompress
(input: Uint8Array)
convex/lz4.ts:61
↓ 9 callersFunctioninitializeChat
(t: TestConvex, initialMessage?: SerializedMessage)
convex/test.setup.ts:120
↓ 9 callersFunctioninitializeUsage
()
app/lib/common/usage.ts:26
↓ 9 callersMethodisDirectory
()
chef-agent/utils/renderDirectory.ts:4
↓ 9 callersFunctionmakePartId
(messageId: string, index: number)
chef-agent/partId.ts:5
↓ 9 callersMethodprepareContext
* Our request context has a few sections: * * 1. The Convex guidelines, which are filled in by the server and * set to be cached by Anthro
chef-agent/ChatContextManager.ts:63
↓ 9 callersFunctionsetChefDebugProperty
(key: keyof ChefDebug, value: ChefDebug[keyof ChefDebug])
chef-agent/utils/chefDebug.ts:13
↓ 9 callersFunctionsetupTest
()
convex/test.setup.ts:20
↓ 8 callersFunctioncalculateChefTokens
(totalUsage: Usage, provider?: ProviderType)
app/lib/common/usage.ts:123
↓ 8 callersFunctionsetSelectedTeamSlug
(teamSlug: string | null)
app/lib/stores/convexTeams.ts:21
↓ 8 callersMethodshouldSendRelevantFiles
(messages: UIMessage[], maxCollapsedMessagesSize: number)
chef-agent/ChatContextManager.ts:258
↓ 8 callersFunctiontoArray
(arrayLike)
iframe-worker/worker.bundled.mjs:34
↓ 8 callersFunctionunreachable
(message: string)
chef-agent/utils/unreachable.ts:1
↓ 8 callersFunctionuseChatId
()
app/lib/stores/chatId.ts:89
↓ 8 callersMethodwrite
(data)
app/utils/shell.ts:157
↓ 7 callersFunctioncreateMessage
(overrides: Partial<Message> = {})
app/lib/stores/startup/useStoreMessageHistory.test.ts:10
↓ 7 callersFunctiondisplayModelProviderName
(provider: ModelProvider)
app/components/chat/ModelSelector.tsx:15
↓ 7 callersFunctiongetConvexSiteUrl
()
app/lib/convexSiteUrl.ts:1
↓ 7 callersFunctiongetLastCompletePart
( messages: Message[], streamStatus: 'streaming' | 'submitted' | 'ready' | 'error', )
app/lib/stores/startup/useStoreMessageHistory.ts:80
↓ 7 callersFunctionhttpActionWithErrorHandling
(handler: (ctx: ActionCtx, request: Request) => Promise<Response>)
convex/http.ts:17
↓ 7 callersFunctionsetSessionId
(sessionId: Id<'sessions'> | null)
app/components/chat/ChefAuthWrapper.tsx:69
↓ 7 callersFunctionstripCodeFenceFromArtifact
(content: string)
app/components/chat/Markdown.tsx:95
↓ 7 callersFunctionuseLaunchDarkly
()
app/lib/hooks/useLaunchDarkly.ts:47
↓ 7 callersFunctionverifyStoredContent
(t: TestConvex, storageId: Id<"_storage">, expectedContent: string)
convex/test.setup.ts:89
↓ 6 callersFunctionaction
(args: ActionFunctionArgs)
app/routes/api.chat.ts:4
↓ 6 callersMethodcompress
(input: Uint8Array)
convex/lz4.ts:45
↓ 6 callersFunctiondisplayChefTokenNumber
(num: number)
app/components/chat/StreamingIndicator.tsx:233
↓ 6 callersFunctionembedProp
(propName, node, options)
iframe-worker/worker.bundled.mjs:508
↓ 6 callersMethodgetInt32Memory0
()
convex/lz4.ts:114
↓ 6 callersFunctiongetMessageCharCount
(message: CoreMessage)
app/components/DebugPromptView.tsx:110
↓ 6 callersMethodinit
(webcontainer: WebContainer, terminal: ITerminal)
app/utils/shell.ts:80
↓ 6 callersFunctionuseTeamsInitializer
()
app/lib/stores/startup/useTeamsInitializer.ts:10
↓ 6 callersFunctionwaitForConvexSessionId
(caller?: string)
app/lib/stores/sessionId.ts:19
↓ 6 callersFunctionwithResolvers
()
app/utils/promises.ts:1
↓ 5 callersMethod#extractAttribute
(tag: string, attributeName: string)
chef-agent/message-parser.ts:328
↓ 5 callersMethod#getArtifact
(partId: PartId)
app/lib/stores/workbench.client.ts:536
↓ 5 callersFunctionchefEval
(model: ChefModel)
test-kitchen/initialGeneration.eval.ts:17
↓ 5 callersFunctioncleanConvexOutput
(output: string)
chef-agent/utils/shell.ts:67
↓ 5 callersFunctioncreateMessage
(role: 'user' | 'assistant', parts: UIMessage['parts'])
chef-agent/ChatContextManager.test.ts:14
↓ 5 callersFunctioncreateSocialShare
(t: TestConvex, chatId: string, sessionId: Id<"sessions">, code: string = "test123")
convex/messages.test.ts:83
↓ 5 callersFunctiongetFileUpdateCounter
()
app/lib/stores/fileUpdateCounter.ts:23
↓ 5 callersFunctiongetTerminalTheme
(overrides?: ITheme)
app/components/workbench/terminal/theme.ts:6
↓ 5 callersFunctionqueryEnvVariableWithRetries
(project: ConvexProject, name: string)
chef-agent/convexEnvVariables.ts:16
↓ 5 callersFunctionuseReferralStats
()
app/lib/hooks/useReferralCode.ts:12
↓ 5 callersFunctionwaitForContainerBootState
(minState: ContainerBootState)
app/lib/stores/containerBootState.ts:42
↓ 4 callersFunctioncleanApiKey
(key: string)
app/components/settings/ApiKeyCard.tsx:416
↓ 4 callersFunctionclearEvent
(emitter, evt)
proxy/proxy.bundled.cjs:34
↓ 4 callersFunctioncloneNode
(node, options, isRoot)
iframe-worker/worker.bundled.mjs:443
↓ 4 callersFunctioncopyToClipboard
(url: string)
app/components/header/ShareButton.tsx:127
↓ 4 callersFunctioncreateImage
(url)
iframe-worker/worker.bundled.mjs:109
↓ 4 callersFunctionensureEnvVar
(name: string)
convex/convexProjects.ts:420
↓ 4 callersFunctiongenerateUniqueCode
(db: DatabaseReader)
convex/share.ts:73
↓ 4 callersFunctiongetRelativePath
(pathString: string)
chef-agent/utils/workDir.ts:15
↓ 4 callersFunctionhasApiKeySet
( modelSelection: ModelSelection, useGeminiAuto: boolean, apiKey?: Doc<'convexMembers'>['apiKey'] | null
app/lib/common/apiKey.ts:4
↓ 4 callersFunctionpx
(node, styleProperty)
iframe-worker/worker.bundled.mjs:53
↓ 4 callersFunctionrenderFile
(content: string, viewRange?: [number, number])
chef-agent/utils/renderFile.ts:1
↓ 4 callersFunctionrenderTokenCount
(tokens: number)
app/lib/convexUsage.ts:23
↓ 4 callersFunctionrun
()
app/lib/stores/startup/history.ts:94
↓ 4 callersFunctionrunTest
(input: string | string[], outputOrExpectedResult: string | ExpectedResult)
chef-agent/message-parser.spec.ts:164
↓ 4 callersFunctionstartProvisionConvexProjectHelper
( ctx: MutationCtx, args: { sessionId: Id<"sessions">; chatId: string; projectInitParams?: {
convex/convexProjects.ts:102
↓ 4 callersFunctionstreamOutput
(process: WebContainerProcess, options?: StreamOutputOptions)
app/utils/process.ts:9
↓ 4 callersMethodtoggleTerminal
(value?: boolean)
app/lib/stores/terminal.ts:36
↓ 4 callersFunctionusageFromGeneration
(generation: { usage: LanguageModelUsage; providerMetadata?: ProviderMetadata; })
app/lib/common/usage.ts:5
↓ 4 callersFunctionuseConvexSessionId
()
app/lib/stores/sessionId.ts:11
↓ 4 callersFunctionuseIsAdmin
()
app/lib/hooks/useDebugPrompt.ts:50
↓ 4 callersFunctionuseReferralCode
()
app/lib/hooks/useReferralCode.ts:7
↓ 4 callersFunctionuseUsage
({ teamSlug }: { teamSlug: string | null })
app/lib/stores/usage.ts:152
↓ 4 callersFunctionwaitForBootStepCompleted
(step: ContainerBootState)
app/lib/stores/containerBootState.ts:38
next →1–100 of 843, ranked by callers