Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CodeFox-Repo/codefox
/ functions
Functions
1,011 in github.com/CodeFox-Repo/codefox
⨍
Functions
1,011
◇
Types & classes
403
↓ 197 callers
Function
cn
(...inputs: ClassValue[])
backend/template/react-ts/src/lib/utils.ts:4
↓ 119 callers
Method
get
(path?: string)
codefox-common/src/config-loader.ts:118
↓ 109 callers
Function
cn
(...inputs: ClassValue[])
frontend/src/lib/utils.ts:4
↓ 48 callers
Method
set
(path: string, value: any)
codefox-common/src/config-loader.ts:125
↓ 36 callers
Method
getGlobalContext
(key: string)
backend/src/build-system/__tests__/mock/MockBuilderContext.ts:97
↓ 25 callers
Method
getNodeData
(handler: any)
backend/src/build-system/__tests__/mock/MockBuilderContext.ts:93
↓ 25 callers
Method
parse
* Parses JSON output (e.g., from an LLM) to build an array of FileOperations. * This is often used when GPT provides structured instructions to
backend/src/build-system/handlers/frontend-code-generate/FileOperationManager.ts:171
↓ 18 callers
Function
chatSyncWithClocker
( context: BuilderContext, input: ChatInput, step: string, name: string, )
backend/src/build-system/utils/handler-helper.ts:5
↓ 18 callers
Function
useAuthContext
()
frontend/src/providers/AuthProvider.tsx:212
↓ 14 callers
Function
BuildNode
()
backend/src/build-system/hanlder-manager.ts:68
↓ 14 callers
Function
ensureDir
(dirPath: string)
codefox-common/src/common-path.ts:21
↓ 14 callers
Method
getInstance
()
backend/src/build-system/monitor.ts:77
↓ 14 callers
Function
removeCodeBlockFences
(input: string)
backend/src/build-system/utils/strings.ts:123
↓ 12 callers
Function
BuildNodeRequire
(dependencies: BuildHandlerConstructor[])
backend/src/build-system/hanlder-manager.ts:82
↓ 12 callers
Function
getRootDir
()
codefox-common/src/common-path.ts:32
↓ 10 callers
Function
JWTAuth
()
backend/src/decorator/jwt-auth.decorator.ts:5
↓ 9 callers
Method
getProjectById
(projectId: string)
backend/src/project/project.service.ts:89
↓ 9 callers
Function
getProjectPath
(projectId: string)
codefox-common/src/common-path.ts:70
↓ 9 callers
Function
systemPrompt
()
frontend/src/hooks/multi-agent/agentPrompt.ts:43
↓ 9 callers
Method
writeLog
(filename: string, content: any)
backend/src/build-system/context.ts:148
↓ 8 callers
Function
formatResponse
(response: string)
backend/src/build-system/utils/strings.ts:131
↓ 8 callers
Function
saveThinkingProcess
( thinkingText: string, input: ChatInputType, context: AgentContext )
frontend/src/hooks/multi-agent/tools.ts:45
↓ 8 callers
Method
setGlobalContext
( key: Key, value: any, )
backend/src/build-system/__tests__/mock/MockBuilderContext.ts:67
↓ 7 callers
Function
parseXmlToJson
(xmlString: string)
frontend/src/utils/parser.ts:4
↓ 7 callers
Function
saveState
* Save current state to file system
frontend/src/app/api/runProject/route.ts:115
↓ 7 callers
Function
startChatStream
( input: ChatInputType, token: string, stream: boolean = false // Default to non-streaming for better pe
frontend/src/api/ChatStreamAPI.ts:4
↓ 6 callers
Function
execWithTimeout
* Execute Docker command with timeout and retry logic
frontend/src/app/api/runProject/route.ts:285
↓ 6 callers
Method
getInstance
()
llm-server/src/downloader/model-downloader.ts:14
↓ 6 callers
Function
getModelsDir
()
codefox-common/src/common-path.ts:56
↓ 6 callers
Function
getProjectsDir
()
codefox-common/src/common-path.ts:68
↓ 6 callers
Function
normalizePath
* Normalize file paths.
frontend/src/hooks/multi-agent/managerAgent.ts:13
↓ 6 callers
Method
run
(context: BuilderContext, opts?: BuildOpts)
backend/src/build-system/types.ts:82
↓ 6 callers
Method
saveConfig
()
codefox-common/src/config-loader.ts:130
↓ 6 callers
Function
validate
(config: Record<string, unknown>)
backend/src/config/config.module.ts:8
↓ 5 callers
Method
chatSync
* Synchronous chat method that returns a complete response * @param input The chat input containing messages and model * @returns Promise resolv
backend/src/common/model-provider/types.ts:34
↓ 5 callers
Function
ensureDir
(dirPath: string)
frontend/src/config/common-path.ts:10
↓ 5 callers
Method
getHandler
* Get an instance of a registered build handler * If the handler is not yet registered, it will be instantiated and registered. * @param handler
backend/src/build-system/hanlder-manager.ts:43
↓ 5 callers
Method
initializeQueue
()
llm-server/src/model/remote-model-instance.ts:26
↓ 5 callers
Method
updateStatus
(UniversalName: string, isDownloaded: boolean)
llm-server/src/downloader/universal-status.ts:60
↓ 5 callers
Function
useSidebar
()
frontend/src/components/ui/sidebar.tsx:40
↓ 4 callers
Function
checkContainerRunning
* Check if a container is still running
frontend/src/app/api/runProject/route.ts:191
↓ 4 callers
Function
copyProjectTemplate
( templatePath: string, projectUUID: string, newFolderName?: string, )
backend/src/build-system/utils/files.ts:41
↓ 4 callers
Function
filePathSafetyChecks
( filePath: string, options: SecurityCheckOptions, )
backend/src/build-system/utils/security/path-check.ts:17
↓ 4 callers
Method
getAllChatModelConfigs
()
codefox-common/src/config-loader.ts:175
↓ 4 callers
Method
getInstance
()
frontend/src/utils/file-reader.ts:15
↓ 4 callers
Function
parseGenerateTag
(input: string)
backend/src/build-system/utils/strings.ts:105
↓ 4 callers
Method
readMockFile
(filePath: string)
backend/src/build-system/__tests__/mock/MockBuilderContext.ts:102
↓ 4 callers
Function
saveGeneratedCode
( filePath: string, content: string, )
backend/src/build-system/utils/files.ts:16
↓ 4 callers
Function
startServiceReadyCheck
(url: string)
frontend/src/components/chat/code-engine/web-view.tsx:74
↓ 4 callers
Function
useCarousel
()
backend/template/react-ts/src/components/ui/carousel.tsx:35
↓ 4 callers
Function
useFormField
()
frontend/src/components/ui/form.tsx:42
↓ 4 callers
Function
useFormField
()
backend/template/react-ts/src/components/ui/form.tsx:43
↓ 4 callers
Function
useSidebar
()
backend/template/react-ts/src/components/ui/sidebar.tsx:45
↓ 3 callers
Function
buildProjectPath
( projectUUID: string, folderName?: string, )
backend/src/build-system/utils/files.ts:75
↓ 3 callers
Method
chatStream
( messages: ModelApiMessage[], )
llm-server/src/types.ts:28
↓ 3 callers
Method
clear
* Clear all registered build handlers * This will remove all handler instances from the manager.
backend/src/build-system/hanlder-manager.ts:58
↓ 3 callers
Method
getInstance
()
backend/src/downloader/universal-status.ts:20
↓ 3 callers
Method
getModelInstance
(modelName: string)
llm-server/src/llm-provider.ts:93
↓ 3 callers
Function
getPayloadConfigFromPayload
( config: ChartConfig, payload: unknown, key: string, )
backend/template/react-ts/src/components/ui/chart.tsx:319
↓ 3 callers
Function
getProjectContentPath
( userId: string, projectId: string, fileName: string )
frontend/src/config/common-path.ts:49
↓ 3 callers
Method
getQueueForModel
(model: string)
backend/src/common/model-provider/openai-model-provider.ts:66
↓ 3 callers
Method
sendVerificationEmail
(user: User)
backend/src/auth/auth.service.ts:88
↓ 3 callers
Function
shouldIgnore
(filePath: string)
backend/src/build-system/utils/file_generator_util.ts:63
↓ 3 callers
Method
start
()
llm-server/src/main.ts:204
↓ 3 callers
Method
startNodeExecution
(nodeId: string, sequenceId: string)
backend/src/build-system/monitor.ts:105
↓ 3 callers
Method
storeAccessToken
* The storeAccessToken method stores the access token in the cache dbds * @param token the access token * @returns return void
backend/src/jwt-cache/jwt-cache.service.ts:103
↓ 3 callers
Method
updateStatus
(UniversalName: string, isDownloaded: boolean)
backend/src/downloader/universal-status.ts:60
↓ 3 callers
Function
validateAgainstVirtualDirectory
( nodes: Set<string>, virtualDir: VirtualDirectory, )
backend/src/build-system/utils/file_generator_util.ts:214
↓ 2 callers
Function
Auth
()
backend/src/decorator/auth.decorator.ts:19
↓ 2 callers
Function
Menu
(path: string)
backend/src/decorator/menu.decorator.ts:4
↓ 2 callers
Function
Roles
(...roles: string[])
backend/src/decorator/roles.decorator.ts:4
↓ 2 callers
Function
UniversalCreateDateColumn
(options: UniversalDateOptions = {})
backend/src/common/decorators/universal-date-column.ts:25
↓ 2 callers
Function
authenticatedFetch
( url: string, options: RequestInit = {}, retryOnAuth: boolean = true )
frontend/src/lib/authenticatedFetch.ts:66
↓ 2 callers
Function
batchChatSyncWithClock
( context: BuilderContext, step: string, id: string, inputs: ChatInput[], )
backend/src/build-system/utils/handler-helper.ts:27
↓ 2 callers
Method
bindProjectAndChat
(project: Project, chat: Chat)
backend/src/project/project.service.ts:113
↓ 2 callers
Function
breakText
(text: string)
frontend/src/hooks/multi-agent/tools.ts:159
↓ 2 callers
Function
buildDependencyGraph
(jsonData: { files: Record<string, { dependsOn: string[] }>; })
backend/src/build-system/utils/file_generator_util.ts:103
↓ 2 callers
Method
chat
(messages: ModelApiMessage[])
llm-server/src/types.ts:27
↓ 2 callers
Method
checkProjectOwnership
* Check if a user owns a project * @param project The project to check * @param userId The user ID to verify * @throws ForbiddenException if
backend/src/project/project.service.ts:633
↓ 2 callers
Function
checkServiceReady
(url: string)
frontend/src/components/chat/code-engine/web-view.tsx:42
↓ 2 callers
Function
cleanUp
()
backend/src/build-system/__tests__/test-file-create-and-path.spec.ts:6
↓ 2 callers
Method
createModelError
(error: unknown)
llm-server/src/model/remote-model-instance.ts:47
↓ 2 callers
Method
createRefreshToken
(user: User)
backend/src/auth/auth.service.ts:228
↓ 2 callers
Method
endNodeExecution
( nodeId: string, sequenceId: string, success: boolean, error?: Error, )
backend/src/build-system/monitor.ts:149
↓ 2 callers
Method
ensureInitialized
()
llm-server/src/llm-provider.ts:230
↓ 2 callers
Method
execute
* Executes the entire build sequence by iterating over all nodes in the sequence. * - The nodes are executed in the given order, respecting depende
backend/src/build-system/context.ts:349
↓ 2 callers
Method
extractSection
* Extracts a specific section from the PRD content by section title * @param prdContent The full PRD content * @param sectionNumber The section
backend/src/build-system/handlers/product-manager/product-requirements-document/prd.ts:125
↓ 2 callers
Function
fetchFiles
()
frontend/src/components/chat/code-engine/code-engine.tsx:109
↓ 2 callers
Function
findToolNode
(toolName: string)
frontend/src/hooks/multi-agent/toolNodes.ts:124
↓ 2 callers
Method
getAllFiles
()
backend/src/build-system/virtual-dir/index.ts:34
↓ 2 callers
Method
getAllPaths
(projectId: string)
frontend/src/utils/file-reader.ts:22
↓ 2 callers
Method
getBucketUrl
* Get the bucket URL to use in the returned file URL * @returns The bucket URL string
backend/src/upload/upload.service.ts:180
↓ 2 callers
Function
getCachedModels
()
frontend/src/hooks/useModels.ts:32
↓ 2 callers
Method
getChatWithUser
(chatId: string)
backend/src/chat/chat.service.ts:233
↓ 2 callers
Function
getDateColumnType
* Get database column type based on environment * @returns 'timestamp' for remote database, 'datetime' for local
backend/src/common/decorators/universal-date-column.ts:15
↓ 2 callers
Function
getEmbDir
()
codefox-common/src/common-path.ts:62
↓ 2 callers
Method
getEndpoint
* Get the S3 endpoint URL based on configuration * Constructs the endpoint from account ID if not explicitly provided * @returns The S3 endpoint
backend/src/upload/upload.service.ts:47
↓ 2 callers
Method
getInstance
()
backend/src/common/model-provider/openai-model-provider.ts:85
↓ 2 callers
Method
getLogFilePath
()
backend/src/build-system/logger.ts:49
↓ 2 callers
Function
getMediaDir
()
codefox-common/src/common-path.ts:48
next →
1–100 of 1,011, ranked by callers