MCPcopy Create free account

hub / github.com/ahmedkhaleel2004/gitdiagram / functions

Functions571 in github.com/ahmedkhaleel2004/gitdiagram

↓ 2 callersFunctiontoStoredSessionSummary
( audit: GenerationSessionAudit, )
src/server/storage/artifact-store.ts:15
↓ 2 callersFunctiontoValidDate
(value: string)
src/app/sitemap.ts:7
↓ 2 callersFunctionupdatePublicBrowseIndexForSuccessfulDiagram
(params: { username: string; repo: string; lastSuccessfulAt: string; stargazerCount: number | null; })
src/server/storage/diagram-state.ts:146
↓ 2 callersFunctionupsertBrowseIndexEntry
( entry: BrowseIndexEntry, )
src/server/storage/browse-diagrams.ts:136
↓ 2 callersMethodupsert_browse_index_entries
( self, entries: list[dict[str, Any]], )
backend/app/services/diagram_state_repository.py:255
↓ 2 callersFunctionupstashCommand
(command: unknown[])
src/server/storage/upstash.ts:40
↓ 2 callersFunctionuseDiagramExport
(diagram: string)
src/hooks/diagram/useDiagramExport.ts:5
↓ 2 callersFunctionuseDiagramStream
({ username, repo, initialState, onComplete, onError, }: UseDiagramStreamOptions)
src/hooks/diagram/useDiagramStream.ts:24
↓ 2 callersFunctionvalidateDiagramGraph
( graph: DiagramGraph, fileTreeLookup: Set<string>, )
src/server/generate/graph.ts:64
↓ 2 callersFunctionwithServerDomGlobals
(callback: () => T | Promise<T>)
src/server/generate/mermaid-validator.ts:186
↓ 1 callersMethod_build_atlas_structured_user_prompt
( *, user_prompt: str, text_format: type[StructuredOutputModel], )
backend/app/services/openai_service.py:109
↓ 1 callersFunction_build_github_url
(path: str, username: str, repo: str, branch: str)
backend/app/services/graph_service.py:228
↓ 1 callersMethod_can_use_app_auth
(self)
backend/app/services/github_service.py:90
↓ 1 callersFunction_create_session_audit
(*, session_id: str, provider: str, model: str)
backend/app/routers/generate.py:224
↓ 1 callersFunction_detail_for_node
(node: DiagramGraphNode)
backend/app/services/graph_service.py:164
↓ 1 callersMethod_extract_chat_completion_text
(content: object | None)
backend/app/services/openai_service.py:70
↓ 1 callersFunction_extract_tagged_section
(text: str, tag: str)
backend/app/routers/generate.py:178
↓ 1 callersFunction_file_hint_for_node
(node: DiagramGraphNode)
backend/app/services/graph_service.py:183
↓ 1 callersMethod_flush_loop
(self)
backend/app/routers/generate.py:114
↓ 1 callersFunction_format_cost_usd
(cost_usd: float)
backend/app/services/pricing.py:175
↓ 1 callersMethod_generate_jwt
(self)
backend/app/services/github_service.py:93
↓ 1 callersMethod_get_installation_token
(self)
backend/app/services/github_service.py:104
↓ 1 callersFunction_is_openai_quota_exhausted_error
(message: str)
backend/app/routers/generate.py:192
↓ 1 callersMethod_is_recoverable_max_output_incomplete
( response: object | None, *, has_visible_output: bool, )
backend/app/services/openai_service.py:137
↓ 1 callersFunction_mermaid_group_id
(group_id: str)
backend/app/services/graph_service.py:160
↓ 1 callersFunction_node_label
(node: DiagramGraphNode)
backend/app/services/graph_service.py:147
↓ 1 callersMethod_normalize_browse_index_entries
( self, entries: list[dict[str, Any]], )
backend/app/services/diagram_state_repository.py:189
↓ 1 callersFunction_normalize_generation_error
( *, provider: str, api_key: str | None, message: str, )
backend/app/routers/generate.py:202
↓ 1 callersMethod_normalize_private_key
(self)
backend/app/services/github_service.py:84
↓ 1 callersMethod_pat_namespace
(self, github_pat: str)
backend/app/services/diagram_state_repository.py:79
↓ 1 callersFunction_read_flag
(name: str)
backend/app/services/complimentary_gate.py:41
↓ 1 callersFunction_read_int
(name: str, fallback: int)
backend/app/services/complimentary_gate.py:46
↓ 1 callersFunction_read_str
(name: str, fallback: str)
backend/app/services/complimentary_gate.py:58
↓ 1 callersFunction_render_edge
(edge: DiagramGraphEdge)
backend/app/services/graph_service.py:208
↓ 1 callersFunction_render_node
(node: DiagramGraphNode)
backend/app/services/graph_service.py:195
↓ 1 callersFunction_run
()
backend/app/routers/generate.py:458
↓ 1 callersFunction_set_estimated_cost
(audit: dict[str, Any], cost_summary: dict[str, Any])
backend/app/routers/generate.py:267
↓ 1 callersFunction_set_final_cost
(audit: dict[str, Any], cost_summary: dict[str, Any])
backend/app/routers/generate.py:274
↓ 1 callersFunction_set_success
(audit: dict[str, Any])
backend/app/routers/generate.py:260
↓ 1 callersFunction_should_include_file
(path: str)
backend/app/services/github_service.py:56
↓ 1 callersFunction_sse_message
(payload: dict[str, Any])
backend/app/routers/generate.py:149
↓ 1 callersFunction_strip_date_snapshot_suffix
(model: str)
backend/app/services/pricing.py:51
↓ 1 callersFunction_strip_provider_prefix
(model: str)
backend/app/services/pricing.py:57
↓ 1 callersMethod_take_pending
(self)
backend/app/routers/generate.py:108
↓ 1 callersFunction_tone_class
(group_id: str | None, group_order: dict[str, int])
backend/app/services/graph_service.py:217
↓ 1 callersFunctionapplyBrowseSort
( entries: BrowseIndexEntry[], sort: BrowseSort, )
src/features/browse/catalog.ts:121
↓ 1 callersFunctionapplyInteractiveView
()
src/components/mermaid-diagram.tsx:331
↓ 1 callersFunctionatlasOutputStream
()
src/server/generate/openai.ts:265
↓ 1 callersFunctionbuildAtlasStructuredOutputPrompt
(params: { systemPrompt: string; userPrompt: string; schemaName: string; })
src/server/generate/openai.ts:129
↓ 1 callersFunctionbuildBrowseHref
( query: Pick<BrowsePageResult, "q" | "sort" | "minStars"> & { page?: number; }, )
src/features/browse/catalog.ts:235
↓ 1 callersFunctionbuildGitHubUrl
( path: string, username: string, repo: string, branch: string, )
src/server/generate/graph.ts:253
↓ 1 callersFunctionbuildServerParseDiagram
(diagram: string)
src/server/generate/mermaid-validator.ts:352
↓ 1 callersFunctionbuild_file_tree_lookup
(file_tree: str)
backend/app/services/graph_service.py:75
↓ 1 callersFunctioncheckQuotaInUpstash
(params: { quotaDateUtc: string; quotaBucket: string; tokenLimit: number; requestedTokens: number; })
src/server/storage/quota-store.ts:45
↓ 1 callersFunctionclearBrowsePageCacheForTest
()
src/features/browse/index-client.ts:77
↓ 1 callersFunctionclearStoredOpenAiKey
()
src/lib/openai-key.ts:16
↓ 1 callersFunctioncommitQuotaUsageInUpstash
(params: { quotaDateUtc: string; quotaBucket: string; committedTokens: number; })
src/server/storage/quota-store.ts:65
↓ 1 callersFunctioncompareIsoDatesAscending
(left: string, right: string)
src/features/browse/catalog.ts:49
↓ 1 callersFunctioncompareIsoDatesDescending
(left: string, right: string)
src/features/browse/catalog.ts:45
↓ 1 callersFunctioncompareIsoDatesDescending
(left: string, right: string)
src/server/storage/browse-diagrams.ts:42
↓ 1 callersFunctioncountInputTokens
({ provider, model, systemPrompt, userPrompt, apiKey, reasoningEffort, }: CountInputTokensParams)
src/server/generate/openai.ts:401
↓ 1 callersMethodcount_input_tokens
( self, *, provider: AIProvider, model: str, system_prompt: str,
backend/app/services/openai_service.py:316
↓ 1 callersFunctioncreateAbortError
()
src/app/api/generate/stream/route.ts:85
↓ 1 callersFunctioncreateDeferred
()
src/components/browse-catalog.test.tsx:121
↓ 1 callersFunctioncreateGenerationSessionAudit
(params: { sessionId: string; provider: string; model: string; })
src/server/generate/session-audit.ts:15
↓ 1 callersFunctioncreateGitHubAppJwt
()
src/server/github-auth.ts:33
↓ 1 callersFunctioncreateHiddenRenderTarget
(width: number)
src/components/mermaid-diagram-helpers.ts:58
↓ 1 callersFunctioncreatePatNamespace
(githubPat: string)
src/server/storage/cache-key.ts:10
↓ 1 callersFunctioncreateRepoSocialImage
(data: RepoCardData)
src/server/og/cards.tsx:287
↓ 1 callersFunctiondetailForNode
(node: DiagramGraphNode)
src/server/generate/graph.ts:149
↓ 1 callersFunctionensureDomNodesSerializeSafely
()
src/components/mermaid-diagram-helpers.ts:34
↓ 1 callersFunctionensureDomPurifyPatched
()
backend/lib/mermaid-validator.ts:94
↓ 1 callersFunctionensureDomPurifyPatched
()
src/server/generate/mermaid-validator.ts:222
↓ 1 callersFunctionensureMermaidInitialized
()
backend/lib/mermaid-validator.ts:104
↓ 1 callersFunctionensureMermaidInitialized
()
src/server/generate/mermaid-validator.ts:233
↓ 1 callersFunctionevent_generator
()
backend/app/routers/generate.py:386
↓ 1 callersFunctionexportMermaidSvgAsPng
(svgElement: SVGSVGElement)
src/features/diagram/export.ts:1
↓ 1 callersFunctionextractChatCompletionText
( content: | string | Array<{ type?: string; text?: string | null }> | null | undefined, )
src/server/generate/openai.ts:89
↓ 1 callersFunctionextractTaggedSection
(text: string, tag: string)
src/server/generate/format.ts:10
↓ 1 callersFunctionfetchBrowsePage
( query: BrowseQuery, signal?: AbortSignal, )
src/features/browse/index-client.ts:25
↓ 1 callersFunctionfetchUpstashResult
(body)
scripts/complimentary-quota-today.mjs:15
↓ 1 callersFunctionfileHintForNode
(node: DiagramGraphNode)
src/server/generate/graph.ts:170
↓ 1 callersMethodfinalize
( self, *, quota_date_utc: str, quota_bucket: str, committed_tokens: i
backend/app/services/diagram_state_repository.py:485
↓ 1 callersMethodfinalize_complimentary_quota
( self, *, quota_date_utc: str, quota_bucket: str, committed_tokens: i
backend/app/services/diagram_state_repository.py:685
↓ 1 callersFunctionfitOwnerSize
(owner: string)
src/server/og/cards.tsx:67
↓ 1 callersFunctionfitRepoSize
(repo: string)
src/server/og/cards.tsx:79
↓ 1 callersFunctionformatCostUsd
(costUsd: number)
src/server/generate/pricing.ts:151
↓ 1 callersFunctionformatGeneratedAt
(value: string)
src/components/browse-catalog-shared.ts:64
↓ 1 callersFunctionformatStarCount
(value: number | null)
src/server/og/cards.tsx:51
↓ 1 callersFunctionformatStarSummary
(stargazerCount: number | null)
src/components/browse-catalog-shared.ts:68
↓ 1 callersFunctionformat_graph_validation_feedback
(issues: list[GraphValidationIssue])
backend/app/services/graph_service.py:139
↓ 1 callersFunctiongenerateStructuredOutput
({ provider, model, systemPrompt, userPrompt, schema, schemaName, apiKey, reasoningEffort, m
src/server/generate/openai.ts:427
↓ 1 callersMethodgenerate_structured_output
( self, *, provider: AIProvider, model: str, system_prompt: str,
backend/app/services/openai_service.py:350
↓ 1 callersFunctiongeneration_usage_to_dict
(usage: GenerationTokenUsage)
backend/app/services/pricing.py:185
↓ 1 callersFunctiongetBaseUrl
()
src/server/storage/upstash.ts:6
↓ 1 callersFunctiongetCachedBrowsePage
( query: BrowseQuery, )
src/app/browse/data.ts:79
↓ 1 callersFunctiongetCachedPublicDiagramState
(username: string, repo: string)
src/app/[username]/[repo]/page.tsx:19
↓ 1 callersFunctiongetComplimentaryQuotaBucket
(model: string)
src/server/generate/complimentary-gate.ts:108
↓ 1 callersFunctiongetComplimentaryQuotaDateUtc
(now = new Date())
src/server/generate/complimentary-gate.ts:70
↓ 1 callersFunctiongetComplimentaryQuotaResetAt
(now = new Date())
src/server/generate/complimentary-gate.ts:74
← previousnext →201–300 of 571, ranked by callers