MCPcopy Create free account

hub / github.com/ZHANGXiyuan2004/VibeLaTeX / functions

Functions276 in github.com/ZHANGXiyuan2004/VibeLaTeX

↓ 2 callersFunctiongetExpectedAdminToken
()
src/server/admin-auth.ts:20
↓ 2 callersFunctiongetOrCreateBucket
(key: string, now: number, windowMs: number)
src/server/ai-rate-limit.ts:54
↓ 2 callersFunctionhandleExport
(format: ExportFormat)
src/components/workbench.tsx:447
↓ 2 callersFunctionisAdminTokenValid
(token?: string)
src/server/admin-auth.ts:24
↓ 2 callersFunctionisRetryableStatus
(status: number)
src/server/llm-client.ts:560
↓ 2 callersFunctionmaxAttempts
(config: AppConfig)
src/server/llm-client.ts:550
↓ 2 callersFunctionnormalizeBaseUrl
(baseUrl: string)
src/server/llm-client.ts:44
↓ 2 callersFunctionnormalizeColor
(value: string, fallback: string)
src/server/pdf-export.ts:49
↓ 2 callersFunctionnormalizeLatex
(value)
scripts/ai-fix-benchmark.mjs:27
↓ 2 callersFunctionnormalizeRetryAttempts
(value: number)
src/components/admin-panel.tsx:49
↓ 2 callersFunctionparseBestStructuredPayload
(text: string)
src/server/llm-client.ts:326
↓ 2 callersFunctionparseTagsInput
(value: string)
src/lib/workspace-store.ts:607
↓ 2 callersFunctionperformChatRequest
(config: AppConfig, payload: ChatCompletionPayload)
src/server/llm-client.ts:690
↓ 2 callersFunctionpingServer
(baseUrl)
scripts/perf-render-sample.mjs:19
↓ 2 callersFunctionreadArg
(flag, fallback)
scripts/ai-fix-benchmark.mjs:9
↓ 2 callersFunctionreadIntFromEnv
(name: string, fallback: number)
src/server/ai-rate-limit.ts:19
↓ 2 callersFunctionremoveMacro
(macroId: string, previous: MacroDefinition[])
src/lib/workspace-store.ts:478
↓ 2 callersFunctionsanitizeLatexText
(input: string, depth = 0)
src/server/llm-client.ts:379
↓ 2 callersFunctionsaveDraft
(input: { latex: string; mode: LatexMode; render_engine: RenderEngine; })
src/lib/workspace-store.ts:315
↓ 2 callersFunctionsaveMacros
(macros: MacroDefinition[])
src/lib/workspace-store.ts:436
↓ 2 callersFunctionsaveRecentFormulas
(items: FormulaHistoryItem[])
src/lib/workspace-store.ts:344
↓ 2 callersFunctionsaveStylePanelCollapsedPreference
(collapsed: boolean)
src/lib/workspace-store.ts:563
↓ 2 callersFunctionsubmit
()
src/components/admin-login.tsx:45
↓ 2 callersFunctiontoHistoryItem
(raw: unknown)
src/lib/workspace-store.ts:195
↓ 2 callersFunctiontoMacro
(raw: unknown)
src/lib/workspace-store.ts:262
↓ 2 callersFunctiontoggleHistoryStar
(itemId: string, previous: FormulaHistoryItem[])
src/lib/workspace-store.ts:387
↓ 2 callersFunctiontoggleMacroEnabled
(macroId: string, previous: MacroDefinition[])
src/lib/workspace-store.ts:482
↓ 2 callersFunctionupdateHistoryTags
( itemId: string, nextTags: string[], previous: FormulaHistoryItem[], )
src/lib/workspace-store.ts:399
↓ 2 callersFunctionvalidateConfig
(input: unknown)
src/server/config-store.ts:161
↓ 1 callersFunctionGET
()
src/app/api/config/route.ts:5
↓ 1 callersFunctionGET
(request: NextRequest)
src/app/api/admin/metrics/route.ts:6
↓ 1 callersFunctionactionLabel
(action: LlmAction, locale: UiLocale)
src/components/ai-panel.tsx:46
↓ 1 callersFunctionbuildAdminToken
(password: string)
src/server/admin-auth.ts:16
↓ 1 callersFunctionbuildCommonHeaders
(input: { setCookieHeader?: string; remaining: number; resetAt: number; })
src/app/api/llm/action/route.ts:55
↓ 1 callersFunctionbuildCommonHeaders
(input: { setCookieHeader?: string; remaining: number; resetAt: number; })
src/app/api/llm/action/stream/route.ts:105
↓ 1 callersFunctionbuildLcsTable
(left: string[], right: string[])
src/lib/latex-diff.ts:19
↓ 1 callersFunctionbuildMathWrapper
(latex: string, mode: LatexMode)
src/lib/mathjax-loader.ts:34
↓ 1 callersFunctionbuildPdfHtml
(input: { renderedLatex: string; style: PdfExportRequest["style"]; pdf: PdfExportOptions; })
src/server/pdf-export.ts:63
↓ 1 callersFunctionbuildPngDataUrl
(page: Page)
e2e/workbench.spec.ts:62
↓ 1 callersFunctionbuildReport
({ mode, baseUrl, threshold, samplePath, results, successCount, successRate, })
scripts/ai-fix-benchmark.mjs:123
↓ 1 callersFunctioncallLlmActionStream
( config: AppConfig, request: LlmActionRequest, onDelta: (text: string) => void, )
src/server/llm-client.ts:877
↓ 1 callersFunctioncleanupExpiredBuckets
(now: number)
src/server/ai-rate-limit.ts:68
↓ 1 callersFunctionclearErrorsForTests
()
src/server/error-log.ts:30
↓ 1 callersFunctioncompactFormula
(latex: string)
src/components/recent-formulas-panel.tsx:32
↓ 1 callersFunctioncopyPngBlobToClipboard
(blob: Blob)
src/lib/export-utils.ts:163
↓ 1 callersFunctioncopyTextByExecCommand
(text: string)
src/lib/export-utils.ts:107
↓ 1 callersFunctiondetectImageResolution
(dataUrl: string)
src/components/ai-panel.tsx:189
↓ 1 callersFunctionensureConfigFile
()
src/server/config-store.ts:142
↓ 1 callersFunctionensureMathJaxLoaded
(macros: Record<string, string> = {})
src/lib/mathjax-loader.ts:41
↓ 1 callersFunctionensureMetricsFile
()
src/server/metrics-store.ts:38
↓ 1 callersFunctionensureServer
(baseUrl)
scripts/perf-render-sample.mjs:55
↓ 1 callersFunctionevaluateCase
(sample, responsePayload)
scripts/ai-fix-benchmark.mjs:38
↓ 1 callersFunctionexportLatexToPdfBuffer
(input: PdfExportRequest)
src/server/pdf-export.ts:197
↓ 1 callersFunctionexportNodeToSvgText
( node: HTMLElement, options: { scale: ExportScale; backgroundMode: BackgroundMode; background
src/lib/export-utils.ts:86
↓ 1 callersFunctionextractBase64FromDataUrl
(input: string)
src/server/llm-client.ts:602
↓ 1 callersFunctionextractCodeFence
(text: string)
src/components/ai-panel.tsx:78
↓ 1 callersFunctionextractJsonBlock
(text: string)
src/components/ai-panel.tsx:64
↓ 1 callersFunctionextractLikelyLatexLines
(text: string)
src/server/llm-client.ts:133
↓ 1 callersFunctionextractMathDelimited
(text: string)
src/components/ai-panel.tsx:83
↓ 1 callersFunctionextractMathDelimited
(text: string)
src/server/llm-client.ts:86
↓ 1 callersFunctionextractToolCallParameter
(text: string, names: string[])
src/server/llm-client.ts:365
↓ 1 callersFunctionfileToDataUrl
(file: File)
src/components/ai-panel.tsx:174
↓ 1 callersFunctionformulaAlignStyle
(align: PreviewStyleState["align"])
src/components/preview-pane.tsx:27
↓ 1 callersFunctiongetImageStateLabel
(state: ImageInputState)
src/components/ai-panel.tsx:203
↓ 1 callersFunctiongetRateLimitPolicy
()
src/server/ai-rate-limit.ts:33
↓ 1 callersFunctionhandleCopyLatex
()
src/components/workbench.tsx:551
↓ 1 callersFunctionhandleCopyPng
()
src/components/workbench.tsx:592
↓ 1 callersFunctionhandleCopySvgText
()
src/components/workbench.tsx:560
↓ 1 callersFunctionhandleExportPdf
()
src/components/workbench.tsx:497
↓ 1 callersFunctionisBase64Payload
(input: string)
src/server/llm-client.ts:610
↓ 1 callersFunctionisHttpImageUrl
(input: string)
src/server/llm-client.ts:593
↓ 1 callersFunctionisKatexCompatible
(config: AppConfig, request: LlmActionRequest)
src/server/action-prompts.ts:13
↓ 1 callersFunctionisMiniMaxProvider
(config: AppConfig)
src/server/llm-client.ts:589
↓ 1 callersFunctionisSameHistoryList
(left: FormulaHistoryItem[], right: FormulaHistoryItem[])
src/components/workbench.tsx:105
↓ 1 callersFunctionisStylePanelRecord
(raw: unknown)
src/lib/workspace-store.ts:146
↓ 1 callersFunctionisValidLocale
(input: unknown)
src/lib/workspace-store.ts:142
↓ 1 callersFunctionisValidMode
(input: unknown)
src/lib/workspace-store.ts:130
↓ 1 callersFunctionisValidRenderEngine
(input: unknown)
src/lib/workspace-store.ts:134
↓ 1 callersFunctionisValidTheme
(input: unknown)
src/lib/workspace-store.ts:138
↓ 1 callersFunctionlatexLineScore
(line: string)
src/server/llm-client.ts:122
↓ 1 callersFunctionlaunchPdfBrowser
()
src/server/pdf-export.ts:153
↓ 1 callersFunctionloadErrors
()
src/components/admin-panel.tsx:265
↓ 1 callersFunctionloadMetrics
()
src/components/admin-panel.tsx:275
↓ 1 callersFunctionlogout
()
src/components/admin-panel.tsx:289
↓ 1 callersFunctionlooksLikeLatex
(text: string)
src/server/llm-client.ts:169
↓ 1 callersFunctionmain
()
scripts/ai-fix-benchmark.mjs:191
↓ 1 callersFunctionmapErrorStatus
(code: string)
src/app/api/export/pdf/route.ts:27
↓ 1 callersFunctionmeasureFormula
(page, formula)
scripts/perf-render-sample.mjs:81
↓ 1 callersFunctionmergeConfig
(base: AppConfig, patch: { provider?: Partial<AppConfig["provider"]> })
src/app/api/admin/test-connection/route.ts:26
↓ 1 callersFunctionnormalizeBaseUrl
(baseUrl)
scripts/ai-fix-benchmark.mjs:23
↓ 1 callersFunctionnormalizeLatexForAction
( request: LlmActionRequest, parsedLatex: string | undefined, )
src/server/llm-client.ts:508
↓ 1 callersFunctionnormalizePadding
(value: number)
src/components/workbench.tsx:98
↓ 1 callersFunctionnormalizeRetryAttempts
(value: unknown)
src/server/config-store.ts:153
↓ 1 callersFunctionnormalizeTag
(tag: string)
src/lib/workspace-store.ts:97
↓ 1 callersFunctionparseCookieHeader
(cookieHeader: string)
src/server/ai-rate-limit.ts:40
↓ 1 callersFunctionperformStreamRequest
(config: AppConfig, payload: ChatCompletionPayload)
src/server/llm-client.ts:745
↓ 1 callersFunctionpickStructuredPayloadCandidate
(input: unknown)
src/server/llm-client.ts:290
↓ 1 callersFunctionprettyHeaders
(headers: Record<string, string>)
src/components/admin-panel.tsx:27
↓ 1 callersFunctionreadMinHeight
(panel: HTMLElement)
src/components/ui/resizable-panel-grip.tsx:5
↓ 1 callersFunctionregisterLatexLanguage
(monaco: typeof Monaco)
src/components/editor-pane.tsx:31
← previousnext →101–200 of 276, ranked by callers