MCPcopy Create free account

hub / github.com/OpenDCAI/OpenPrism / functions

Functions450 in github.com/OpenDCAI/OpenPrism

↓ 591 callersFunctiont
(lang, key, params = {})
apps/backend/src/i18n/index.js:25
↓ 41 callersFunctionensureDir
(dir)
apps/backend/src/utils/fsUtils.js:4
↓ 33 callersFunctiongetProjectRoot
(id)
apps/backend/src/services/projectService.js:5
↓ 32 callersFunctionrequest
(url: string, options?: RequestInit)
apps/frontend/src/api/client.ts:97
↓ 31 callersFunctionsafeJoin
(root, targetPath)
apps/backend/src/utils/pathUtils.js:3
↓ 23 callersFunctionappendLog
(setter: (val: string[] | ((prev: string[]) => string[])) => void, line: string)
apps/frontend/src/app/EditorPage.tsx:640
↓ 19 callersFunctioninsertAtCursor
(text: string, opts?: { block?: boolean })
apps/frontend/src/app/EditorPage.tsx:2043
↓ 16 callersFunctionreadJson
(filePath)
apps/backend/src/utils/fsUtils.js:8
↓ 15 callersFunctionwriteJson
(filePath, data)
apps/backend/src/utils/fsUtils.js:13
↓ 11 callersFunctiongetParentPath
(target: string)
apps/frontend/src/app/EditorPage.tsx:396
↓ 11 callersFunctiongetWasmTableEntry
(funcPtr)
apps/frontend/public/latex/swiftlatexpdftex.js:1
↓ 11 callersFunctionleadingNulls
(value,digits)
apps/frontend/public/latex/swiftlatexpdftex.js:1
↓ 11 callersFunctionresolveLLMConfig
(llmConfig)
apps/backend/src/services/llmService.js:18
↓ 9 callersFunctionUTF8ToString
(ptr,maxBytesToRead)
apps/frontend/public/latex/swiftlatexpdftex.js:1
↓ 9 callersFunctionabort
(what)
apps/frontend/public/latex/swiftlatexpdftex.js:1
↓ 9 callersFunctionrefreshTree
(keepActive = true)
apps/frontend/src/app/EditorPage.tsx:1577
↓ 9 callersFunctionrunAgent
(payload: { task: string; prompt: string; selection: string; content: string; mode: 'direct' | 'tool
apps/frontend/src/api/client.ts:279
↓ 8 callersFunctioncompareByDay
(date1,date2)
apps/frontend/public/latex/swiftlatexpdftex.js:1
↓ 8 callersFunctionintArrayFromString
(stringy,dontAddNull,length)
apps/frontend/public/latex/swiftlatexpdftex.js:1
↓ 7 callersFunctiongetLangHeader
()
apps/frontend/src/api/client.ts:58
↓ 7 callersFunctionnormalizeBaseURL
(endpoint)
apps/backend/src/services/llmService.js:12
↓ 6 callersFunctionUTF8ArrayToString
(heap,idx,maxBytesToRead)
apps/frontend/public/latex/swiftlatexpdftex.js:1
↓ 6 callersFunctioncancelInlineEdit
()
apps/frontend/src/app/EditorPage.tsx:2788
↓ 6 callersFunctiongetAuthHeader
()
apps/frontend/src/api/client.ts:91
↓ 6 callersFunctionlengthBytesUTF8
(str)
apps/frontend/public/latex/swiftlatexpdftex.js:1
↓ 6 callersFunctionopenFile
(filePath: string)
apps/frontend/src/app/EditorPage.tsx:1740
↓ 6 callersFunctionsend
(event, data)
apps/backend/src/routes/projects.js:117
↓ 6 callersFunctionstripLatexComment
(text: string)
apps/frontend/src/app/EditorPage.tsx:219
↓ 5 callersFunctioncallOpenAICompatible
({ messages, model, endpoint, apiKey })
apps/backend/src/services/llmService.js:26
↓ 5 callersFunctioncopyDir
(src, dest)
apps/backend/src/utils/fsUtils.js:17
↓ 5 callersFunctioncreateBibFile
()
apps/frontend/src/app/EditorPage.tsx:2030
↓ 5 callersFunctionfinish
(byteArray)
apps/frontend/public/latex/swiftlatexpdftex.js:1
↓ 5 callersFunctionlistFilesRecursive
(root, rel = '')
apps/backend/src/utils/fsUtils.js:31
↓ 5 callersFunctionsanitizeUploadPath
(filename)
apps/backend/src/utils/pathUtils.js:11
↓ 5 callersFunctionstringToUTF8Array
(str,heap,outIdx,maxBytesToWrite)
apps/frontend/public/latex/swiftlatexpdftex.js:1
↓ 5 callersFunctionstripCodeFences
(text)
apps/backend/src/services/transferAgent/utils.js:13
↓ 4 callersFunction__addDays
(date,days)
apps/frontend/public/latex/swiftlatexpdftex.js:1
↓ 4 callersFunction__isLeapYear
(year)
apps/frontend/public/latex/swiftlatexpdftex.js:1
↓ 4 callersFunctionallocate
(slab,allocator)
apps/frontend/public/latex/swiftlatexpdftex.js:1
↓ 4 callersFunctioncallLLM
(payload: { messages: { role: 'system' | 'user' | 'assistant'; content: string }[]; model?: string; llmC
apps/frontend/src/api/client.ts:370
↓ 4 callersFunctioncallRuntimeCallbacks
(callbacks)
apps/frontend/public/latex/swiftlatexpdftex.js:1
↓ 4 callersFunctionchevronSvg
(open: boolean)
apps/frontend/src/app/TransferPanel.tsx:246
↓ 4 callersFunctioncopySingleAsset
* Copy a single asset file from source to target project. * If target already has a file with the same name, place it under assets/source/.
apps/backend/src/services/transferAgent/nodes/copyAssets.js:22
↓ 4 callersFunctionextractBibKey
(bibtex: string)
apps/frontend/src/app/EditorPage.tsx:2156
↓ 4 callersFunctionextractJsonBlock
(text: string)
apps/frontend/src/app/EditorPage.tsx:571
↓ 4 callersFunctionfileExists
* Check if a file exists at the given absolute path.
apps/backend/src/services/transferAgent/nodes/copyAssets.js:9
↓ 4 callersFunctiongetCollabToken
()
apps/frontend/src/api/client.ts:75
↓ 4 callersFunctiongetFirstWeekStartDate
(janFourth)
apps/frontend/public/latex/swiftlatexpdftex.js:1
↓ 4 callersFunctionhandleUpload
(fileList: FileList | null, basePath = '')
apps/frontend/src/app/EditorPage.tsx:2642
↓ 4 callersFunctionisTextPath
(filePath: string)
apps/frontend/src/app/EditorPage.tsx:197
↓ 4 callersFunctionreadTemplateManifest
()
apps/backend/src/services/templateService.js:6
↓ 4 callersFunctionremoveRunDependency
(id)
apps/frontend/public/latex/swiftlatexpdftex.js:1
↓ 4 callersFunctionrunSpawn
(cmd, args, cwd, pushLog, env)
apps/backend/src/services/compileService.js:31
↓ 4 callersFunctionsafeJsonParse
(raw: string)
apps/frontend/src/app/EditorPage.tsx:628
↓ 4 callersFunctionsendMessage
(conn, payload)
apps/backend/src/services/collab/docStore.js:34
↓ 4 callersFunctionstripLineComment
(line: string)
apps/frontend/src/app/EditorPage.tsx:480
↓ 4 callersFunctionwriteFileWithSnapshot
(projectRoot, relPath, content, jobId)
apps/backend/src/services/transferAgent/utils.js:165
↓ 3 callersFunctionDEFAULT_TASKS
(t: (key: string) => string)
apps/frontend/src/app/EditorPage.tsx:92
↓ 3 callersFunction__arraySum
(array,index)
apps/frontend/public/latex/swiftlatexpdftex.js:1
↓ 3 callersFunctionaddRunDependency
(id)
apps/frontend/public/latex/swiftlatexpdftex.js:1
↓ 3 callersFunctionbase64UrlEncode
(input)
apps/backend/src/services/collab/tokenService.js:6
↓ 3 callersFunctionconfirmInlineEdit
()
apps/frontend/src/app/EditorPage.tsx:2736
↓ 3 callersMethoddisconnect
()
apps/frontend/src/collab/provider.ts:58
↓ 3 callersFunctionextractArxivId
(input)
apps/backend/src/services/arxivService.js:9
↓ 3 callersFunctiongetLang
(req)
apps/backend/src/i18n/index.js:16
↓ 3 callersFunctioninsertFigureSnippet
(filePath: string)
apps/frontend/src/app/EditorPage.tsx:2064
↓ 3 callersFunctionisTextFile
(path: string)
apps/frontend/src/app/EditorPage.tsx:377
↓ 3 callersFunctionkeepRuntimeAlive
()
apps/frontend/public/latex/swiftlatexpdftex.js:1
↓ 3 callersFunctionlistTemplates
()
apps/frontend/src/api/client.ts:312
↓ 3 callersFunctionmoveFileWithOrder
(fromPath: string, folderPath: string, beforeName?: string)
apps/frontend/src/app/EditorPage.tsx:2790
↓ 3 callersFunctionrunCompile
({ projectId, mainFile, engine = 'pdflatex' })
apps/backend/src/services/compileService.js:41
↓ 3 callersFunctionsgn
(value)
apps/frontend/public/latex/swiftlatexpdftex.js:1
↓ 3 callersFunctionstringToUTF8
(str,outPtr,maxBytesToWrite)
apps/frontend/public/latex/swiftlatexpdftex.js:1
↓ 3 callersFunctionverifyToken
(token)
apps/backend/src/services/collab/tokenService.js:29
↓ 2 callersFunctionRIGHT_VIEW_OPTIONS
(t: (key: string) => string)
apps/frontend/src/app/EditorPage.tsx:101
↓ 2 callersFunctionallocateUTF8
(str)
apps/frontend/public/latex/swiftlatexpdftex.js:1
↓ 2 callersFunctionallocateUTF8OnStack
(str)
apps/frontend/public/latex/swiftlatexpdftex.js:1
↓ 2 callersFunctionapplyPending
(change?: PendingChange)
apps/frontend/src/app/EditorPage.tsx:3573
↓ 2 callersFunctionbeginInlineCreate
(kind: 'new-file' | 'new-folder')
apps/frontend/src/app/EditorPage.tsx:2691
↓ 2 callersFunctionbroadcast
(doc, payload, origin)
apps/backend/src/services/collab/docStore.js:39
↓ 2 callersFunctionbuildArxivBibtex
(entry)
apps/backend/src/services/arxivService.js:47
↓ 2 callersFunctionbuildLlmConfig
()
apps/frontend/src/app/TransferPanel.tsx:149
↓ 2 callersFunctionbuildSplitDiff
(original: string, proposed: string)
apps/frontend/src/app/EditorPage.tsx:851
↓ 2 callersFunctioncomputeEnvDepths
(doc: { lines: number; line: (n: number) => { text: string } })
apps/frontend/src/app/EditorPage.tsx:761
↓ 2 callersFunctioncountRegex
(text: string, re: RegExp)
apps/frontend/src/app/EditorPage.tsx:278
↓ 2 callersFunctioncountUnescapedToken
(text: string, token: string)
apps/frontend/src/app/EditorPage.tsx:288
↓ 2 callersFunctioncreateProject
(payload: { name: string; template?: string })
apps/frontend/src/api/client.ts:121
↓ 2 callersFunctiondiscardPending
(change?: PendingChange)
apps/frontend/src/app/EditorPage.tsx:3594
↓ 2 callersFunctiondoCallback
(errCode)
apps/frontend/public/latex/swiftlatexpdftex.js:1
↓ 2 callersFunctiondoRun
()
apps/frontend/public/latex/swiftlatexpdftex.js:1
↓ 2 callersFunctionexit
(status,implicit)
apps/frontend/public/latex/swiftlatexpdftex.js:1
↓ 2 callersFunctionextractJSON
(text)
apps/backend/src/services/transferAgent/utils.js:25
↓ 2 callersFunctionextractZone
(date)
apps/frontend/public/latex/swiftlatexpdftex.js:1
↓ 2 callersFunctionfetchArxivEntry
(arxivId)
apps/backend/src/services/arxivService.js:19
↓ 2 callersFunctionfindDisplayMathFold
( state: EditorState, startLineNumber: number, lineEnd: number, startToken: string, endToken: string
apps/frontend/src/app/EditorPage.tsx:322
↓ 2 callersFunctionfindNearestHeading
(text: string, cursorPos: number)
apps/frontend/src/app/EditorPage.tsx:531
↓ 2 callersFunctionfindTokenFold
( state: EditorState, startLineNumber: number, lineEnd: number, startRe: RegExp, endRe: RegExp )
apps/frontend/src/app/EditorPage.tsx:299
↓ 2 callersFunctionfindTreeNode
(root: TreeNode, targetPath: string)
apps/frontend/src/app/EditorPage.tsx:467
↓ 2 callersFunctionflushDoc
(doc)
apps/backend/src/services/collab/docStore.js:46
↓ 2 callersFunctiongetBinary
(file)
apps/frontend/public/latex/swiftlatexpdftex.js:1
next →1–100 of 450, ranked by callers