Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/get-convex/chef
/ functions
Functions
843 in github.com/get-convex/chef
⨍
Functions
843
◇
Types & classes
121
↓ 94 callers
Method
run
( commandAndArgs: string[], errorPrefix: OutputLabels, onOutput?: (s: stri
app/lib/runtime/action-runner.ts:439
↓ 55 callers
Function
classNames
(...args: ClassNamesArg[])
app/utils/classNames.ts:17
↓ 55 callers
Function
storeChat
( t: TestConvex, chatId: string, sessionId: string, args: { messages?: SerializedMessage[]; sn
convex/test.setup.ts:42
↓ 43 callers
Method
parse
(partId: PartId, input: string)
chef-agent/message-parser.ts:82
↓ 35 callers
Function
getChatByIdOrUrlIdEnsuringAccess
( ctx: QueryCtx, { id, sessionId }: { id: string; sessionId: Id<"sessions"> }, )
convex/messages.ts:786
↓ 32 callers
Function
createMessage
(overrides: Partial<SerializedMessage> = {})
convex/messages.test.ts:28
↓ 27 callers
Function
createChat
(t: TestConvex)
convex/test.setup.ts:26
↓ 23 callers
Function
assertStorageInfo
( t: TestConvex, storageInfo: StorageInfo | null, options: { expectedMessages: SerializedMessage[] |
convex/messages.test.ts:44
↓ 23 callers
Function
cssVar
(token: string)
app/components/workbench/terminal/theme.ts:4
↓ 23 callers
Function
formatNumber
(num: number)
app/components/DebugPromptView.tsx:166
↓ 19 callers
Function
log
(...args: any[])
chefshot/cli.ts:10
↓ 18 callers
Function
stripIndents
(arg0: string | TemplateStringsArray, ...values: any[])
chef-agent/utils/stripIndent.ts:3
↓ 17 callers
Function
loggingSafeParse
( schema: z.ZodSchema<Output, ZodTypeDef>, args: any, )
chef-agent/utils/zodUtil.ts:5
↓ 16 callers
Function
displayChefTokenNumber
(num: number)
app/components/chat/AssistantMessage.tsx:129
↓ 16 callers
Function
getAbsolutePath
(pathString: string)
chef-agent/utils/workDir.ts:8
↓ 16 callers
Function
useConvexSessionIdOrNullOrLoading
()
app/lib/stores/sessionId.ts:6
↓ 15 callers
Function
createSubchat
(t: TestConvex, chatId: string, sessionId: Id<"sessions">)
convex/test.setup.ts:135
↓ 14 callers
Function
getChatStorageStates
(t: TestConvex, chatId: string, sessionId: Id<"sessions">)
convex/messages.test.ts:15
↓ 13 callers
Function
createScopedLogger
(scope: string)
chef-agent/utils/logger.ts:26
↓ 13 callers
Function
isInstanceOfElement
(node, instance)
iframe-worker/worker.bundled.mjs:142
↓ 12 callers
Function
createManager
()
chef-agent/ChatContextManager.test.ts:10
↓ 12 callers
Function
getLatestChatMessageStorageState
( ctx: QueryCtx, chat: { _id: Id<"chats">; subchatIndex: number; lastMessageRank?: number }, )
convex/messages.ts:145
↓ 11 callers
Function
getConvexAuthToken
(convex: ConvexReactClient)
app/lib/stores/sessionId.ts:50
↓ 11 callers
Function
getMemberByConvexMemberIdQuery
(ctx: QueryCtx, identity: UserIdentity)
convex/sessions.ts:273
↓ 11 callers
Function
setContainerBootState
(state: ContainerBootState, error?: Error)
app/lib/stores/containerBootState.ts:26
↓ 10 callers
Function
__commonJS
(cb, mod)
proxy/proxy.bundled.cjs:3
↓ 10 callers
Function
createChatId
(t: TestConvex)
convex/cleanup.test.ts:5
↓ 10 callers
Function
formatNumber
(num: number)
app/components/debug/UsageBreakdownView.tsx:27
↓ 10 callers
Function
log
(level: DebugLevel, scope: string | undefined, messages: any[])
chef-agent/utils/logger.ts:49
↓ 10 callers
Method
updateAction
(id: string, newState: ActionStateUpdate)
app/lib/runtime/action-runner.ts:287
↓ 10 callers
Function
useSelectedTeamSlug
()
app/lib/stores/convexTeams.ts:26
↓ 9 callers
Function
createMessage
(overrides: Partial<SerializedMessage> = {})
convex/subchats.test.ts:7
↓ 9 callers
Method
decompress
(input: Uint8Array)
convex/lz4.ts:61
↓ 9 callers
Function
initializeChat
(t: TestConvex, initialMessage?: SerializedMessage)
convex/test.setup.ts:120
↓ 9 callers
Function
initializeUsage
()
app/lib/common/usage.ts:26
↓ 9 callers
Method
isDirectory
()
chef-agent/utils/renderDirectory.ts:4
↓ 9 callers
Function
makePartId
(messageId: string, index: number)
chef-agent/partId.ts:5
↓ 9 callers
Method
prepareContext
* 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 callers
Function
setChefDebugProperty
(key: keyof ChefDebug, value: ChefDebug[keyof ChefDebug])
chef-agent/utils/chefDebug.ts:13
↓ 9 callers
Function
setupTest
()
convex/test.setup.ts:20
↓ 8 callers
Function
calculateChefTokens
(totalUsage: Usage, provider?: ProviderType)
app/lib/common/usage.ts:123
↓ 8 callers
Function
setSelectedTeamSlug
(teamSlug: string | null)
app/lib/stores/convexTeams.ts:21
↓ 8 callers
Method
shouldSendRelevantFiles
(messages: UIMessage[], maxCollapsedMessagesSize: number)
chef-agent/ChatContextManager.ts:258
↓ 8 callers
Function
toArray
(arrayLike)
iframe-worker/worker.bundled.mjs:34
↓ 8 callers
Function
unreachable
(message: string)
chef-agent/utils/unreachable.ts:1
↓ 8 callers
Function
useChatId
()
app/lib/stores/chatId.ts:89
↓ 8 callers
Method
write
(data)
app/utils/shell.ts:157
↓ 7 callers
Function
createMessage
(overrides: Partial<Message> = {})
app/lib/stores/startup/useStoreMessageHistory.test.ts:10
↓ 7 callers
Function
displayModelProviderName
(provider: ModelProvider)
app/components/chat/ModelSelector.tsx:15
↓ 7 callers
Function
getConvexSiteUrl
()
app/lib/convexSiteUrl.ts:1
↓ 7 callers
Function
getLastCompletePart
( messages: Message[], streamStatus: 'streaming' | 'submitted' | 'ready' | 'error', )
app/lib/stores/startup/useStoreMessageHistory.ts:80
↓ 7 callers
Function
httpActionWithErrorHandling
(handler: (ctx: ActionCtx, request: Request) => Promise<Response>)
convex/http.ts:17
↓ 7 callers
Function
setSessionId
(sessionId: Id<'sessions'> | null)
app/components/chat/ChefAuthWrapper.tsx:69
↓ 7 callers
Function
stripCodeFenceFromArtifact
(content: string)
app/components/chat/Markdown.tsx:95
↓ 7 callers
Function
useLaunchDarkly
()
app/lib/hooks/useLaunchDarkly.ts:47
↓ 7 callers
Function
verifyStoredContent
(t: TestConvex, storageId: Id<"_storage">, expectedContent: string)
convex/test.setup.ts:89
↓ 6 callers
Function
action
(args: ActionFunctionArgs)
app/routes/api.chat.ts:4
↓ 6 callers
Method
compress
(input: Uint8Array)
convex/lz4.ts:45
↓ 6 callers
Function
displayChefTokenNumber
(num: number)
app/components/chat/StreamingIndicator.tsx:233
↓ 6 callers
Function
embedProp
(propName, node, options)
iframe-worker/worker.bundled.mjs:508
↓ 6 callers
Method
getInt32Memory0
()
convex/lz4.ts:114
↓ 6 callers
Function
getMessageCharCount
(message: CoreMessage)
app/components/DebugPromptView.tsx:110
↓ 6 callers
Method
init
(webcontainer: WebContainer, terminal: ITerminal)
app/utils/shell.ts:80
↓ 6 callers
Function
useTeamsInitializer
()
app/lib/stores/startup/useTeamsInitializer.ts:10
↓ 6 callers
Function
waitForConvexSessionId
(caller?: string)
app/lib/stores/sessionId.ts:19
↓ 6 callers
Function
withResolvers
()
app/utils/promises.ts:1
↓ 5 callers
Method
#extractAttribute
(tag: string, attributeName: string)
chef-agent/message-parser.ts:328
↓ 5 callers
Method
#getArtifact
(partId: PartId)
app/lib/stores/workbench.client.ts:536
↓ 5 callers
Function
chefEval
(model: ChefModel)
test-kitchen/initialGeneration.eval.ts:17
↓ 5 callers
Function
cleanConvexOutput
(output: string)
chef-agent/utils/shell.ts:67
↓ 5 callers
Function
createMessage
(role: 'user' | 'assistant', parts: UIMessage['parts'])
chef-agent/ChatContextManager.test.ts:14
↓ 5 callers
Function
createSocialShare
(t: TestConvex, chatId: string, sessionId: Id<"sessions">, code: string = "test123")
convex/messages.test.ts:83
↓ 5 callers
Function
getFileUpdateCounter
()
app/lib/stores/fileUpdateCounter.ts:23
↓ 5 callers
Function
getTerminalTheme
(overrides?: ITheme)
app/components/workbench/terminal/theme.ts:6
↓ 5 callers
Function
queryEnvVariableWithRetries
(project: ConvexProject, name: string)
chef-agent/convexEnvVariables.ts:16
↓ 5 callers
Function
useReferralStats
()
app/lib/hooks/useReferralCode.ts:12
↓ 5 callers
Function
waitForContainerBootState
(minState: ContainerBootState)
app/lib/stores/containerBootState.ts:42
↓ 4 callers
Function
cleanApiKey
(key: string)
app/components/settings/ApiKeyCard.tsx:416
↓ 4 callers
Function
clearEvent
(emitter, evt)
proxy/proxy.bundled.cjs:34
↓ 4 callers
Function
cloneNode
(node, options, isRoot)
iframe-worker/worker.bundled.mjs:443
↓ 4 callers
Function
copyToClipboard
(url: string)
app/components/header/ShareButton.tsx:127
↓ 4 callers
Function
createImage
(url)
iframe-worker/worker.bundled.mjs:109
↓ 4 callers
Function
ensureEnvVar
(name: string)
convex/convexProjects.ts:420
↓ 4 callers
Function
generateUniqueCode
(db: DatabaseReader)
convex/share.ts:73
↓ 4 callers
Function
getRelativePath
(pathString: string)
chef-agent/utils/workDir.ts:15
↓ 4 callers
Function
hasApiKeySet
( modelSelection: ModelSelection, useGeminiAuto: boolean, apiKey?: Doc<'convexMembers'>['apiKey'] | null
app/lib/common/apiKey.ts:4
↓ 4 callers
Function
px
(node, styleProperty)
iframe-worker/worker.bundled.mjs:53
↓ 4 callers
Function
renderFile
(content: string, viewRange?: [number, number])
chef-agent/utils/renderFile.ts:1
↓ 4 callers
Function
renderTokenCount
(tokens: number)
app/lib/convexUsage.ts:23
↓ 4 callers
Function
run
()
app/lib/stores/startup/history.ts:94
↓ 4 callers
Function
runTest
(input: string | string[], outputOrExpectedResult: string | ExpectedResult)
chef-agent/message-parser.spec.ts:164
↓ 4 callers
Function
startProvisionConvexProjectHelper
( ctx: MutationCtx, args: { sessionId: Id<"sessions">; chatId: string; projectInitParams?: {
convex/convexProjects.ts:102
↓ 4 callers
Function
streamOutput
(process: WebContainerProcess, options?: StreamOutputOptions)
app/utils/process.ts:9
↓ 4 callers
Method
toggleTerminal
(value?: boolean)
app/lib/stores/terminal.ts:36
↓ 4 callers
Function
usageFromGeneration
(generation: { usage: LanguageModelUsage; providerMetadata?: ProviderMetadata; })
app/lib/common/usage.ts:5
↓ 4 callers
Function
useConvexSessionId
()
app/lib/stores/sessionId.ts:11
↓ 4 callers
Function
useIsAdmin
()
app/lib/hooks/useDebugPrompt.ts:50
↓ 4 callers
Function
useReferralCode
()
app/lib/hooks/useReferralCode.ts:7
↓ 4 callers
Function
useUsage
({ teamSlug }: { teamSlug: string | null })
app/lib/stores/usage.ts:152
↓ 4 callers
Function
waitForBootStepCompleted
(step: ContainerBootState)
app/lib/stores/containerBootState.ts:38
next →
1–100 of 843, ranked by callers