MCPcopy Create free account

hub / github.com/FrankChen021/datastoria / functions

Functions1,973 in github.com/FrankChen021/datastoria

↓ 9 callersFunctionhandleSort
(column: "key" | "value")
src/lib/formatter.tsx:38
↓ 9 callersFunctionisInBrowser
* Unified tab events for event-based communication between components
src/components/tab-manager.ts:5
↓ 9 callersMethodlist
()
src/components/query-tab/query-history/query-history-manager.ts:31
↓ 9 callersMethodmatchesSessionConnectionId
(connectionId?: string | null)
src/lib/connection/connection.ts:253
↓ 9 callersFunctionnormalizeAIResponseLanguage
(raw: string | undefined)
src/components/settings/agent/agent-manager.ts:37
↓ 9 callersFunctionnumberProp
(record: Record<string, unknown>, key: string)
src/components/query-tab/query-response/explain-plan-utils.ts:95
↓ 9 callersFunctionresolveModelSupportsReasoning
( model?: Pick<ModelProps, "provider" | "modelId" | "supportsReasoning" | "reasoningLevels"> | null )
src/lib/ai/llm/llm-provider-factory.ts:143
↓ 9 callersFunctionresolveSessionAccess
(input: { repository: ServerSessionRepository; authenticatedUserId: string | undefined; sessionId: strin
src/lib/ai/session/session-access.ts:29
↓ 9 callersFunctionuseTheme
()
src/components/shared/theme-provider.tsx:76
↓ 8 callersMethodactivateQueryTab
* Emit an activate query tab event (query tab is always present, this just activates it)
src/components/tab-manager.ts:167
↓ 8 callersFunctionasNumber
(value: unknown)
src/lib/ai/tools/clickhouse/rca/evidence-collector-common.ts:364
↓ 8 callersFunctionbind
(toolName: ClickHouseToolName)
src/lib/ai/tools/clickhouse/clickhouse-tools.ts:642
↓ 8 callersMethodbuildProviderOptions
( input: ProviderOptionsRequestInput )
src/lib/ai/llm/llm-provider-factory.ts:1015
↓ 8 callersMethodcanUserEditSkill
(userId: string | null | undefined)
src/lib/ai/skills/skill-permission-manager.ts:38
↓ 8 callersFunctioncreateCommandPart
(displayName: string)
src/test/cmdk-stub.tsx:10
↓ 8 callersFunctioncreateMessage
(overrides: Partial<AppUIMessage>)
src/components/chat/chat-factory.test.ts:9
↓ 8 callersFunctioncreateModel
(provider: string, modelId: string)
src/lib/ai/agent/session-title-generator.test.ts:5
↓ 8 callersFunctiongetClickHouseConnectionValidationError
(connection: unknown)
src/lib/ai/tools/clickhouse/clickhouse-connection.ts:61
↓ 8 callersFunctiongetCodeSearchConfig
()
src/lib/code-search/config.ts:359
↓ 8 callersMethodgetConnectionStorage
()
src/lib/connection/connection-manager.ts:30
↓ 8 callersMethodgetDefaultTemperature
* Get the default temperature for a given model * Different models have different default and supported temperature ranges * * @param modelId
src/lib/ai/llm/llm-provider-factory.ts:877
↓ 8 callersMethodgetSkillDetail
Return full detail for a single skill by id, or null if not found.
src/lib/ai/skills/skill-provider.ts:39
↓ 8 callersMethodload
()
src/components/query-tab/query-history/query-history-storage.ts:11
↓ 8 callersMethodqueryJsonCompact
* Execute a query with JSONCompact format and return parsed response.
src/lib/connection/connection.ts:485
↓ 8 callersFunctionsetTestResultWithDelay
(result: { type: "success" | "error"; message: string })
src/components/connection/connection-edit-component.tsx:595
↓ 8 callersFunctiontoSessionRepositoryConnectionId
(connectionId: string)
src/components/chat/session/session-connection-id.ts:5
↓ 8 callersMethodupsertSkill
(input: UpsertSkillRecordInput)
src/lib/ai/skills/repository/server-skill-repository.ts:74
↓ 8 callersFunctionuseIsMobile
()
src/hooks/use-mobile.tsx:5
↓ 8 callersFunctionuseSidebar
()
src/components/ui/sidebar.tsx:45
↓ 8 callersFunctionvalidateSessionId
(sessionId: string)
src/lib/ai/session/remote-chat-request.ts:44
↓ 7 callersFunctionbuildOrchestratorSystemPrompt
( context?: ServerDatabaseContext, options?: { responseLanguage?: string } )
src/lib/ai/agent/orchestrator-prompt.ts:23
↓ 7 callersFunctionbuildVisibility
(options: DatabaseSkillProviderOptions)
src/lib/ai/skills/database-skill-provider.ts:156
↓ 7 callersFunctioncreateMessage
(parts: AppUIMessage["parts"])
src/lib/ai/session/serialization.test.ts:5
↓ 7 callersFunctiongetConnectionBucket
(connectionId: string)
src/components/chat/session/session-manager.ts:49
↓ 7 callersFunctiongetFirstNonEmptyValue
( row: Record<string, unknown>, attributes: Record<string, unknown>, keys: string[] )
src/components/span-log-inspector/span-log-inspector-topo-builder.ts:154
↓ 7 callersFunctiongetLeadingCommand
(text: string)
src/components/chat/input/command-utils.ts:10
↓ 7 callersFunctiongetPanelConstraints
(panelType: string)
src/components/shared/dashboard/dashboard-layout-constraints.ts:27
↓ 7 callersMethodgetProviderSettings
* Get all provider settings from localStorage * @returns Array of provider settings
src/components/settings/models/model-manager.ts:228
↓ 7 callersMethodgetSkillResource
( skillId: string, resourcePath: string, visibility: SkillRepositoryVisibility )
src/lib/ai/skills/repository/server-skill-repository.ts:66
↓ 7 callersFunctionnormalizeRefreshOptions
( options: RefreshOptions | undefined )
src/components/shared/dashboard/dashboard-visualization-panel.tsx:112
↓ 7 callersMethodnotify
* Notify listeners that the model configuration has changed
src/components/settings/models/model-manager.ts:144
↓ 7 callersFunctionparseExplainPlanResponse
(data: unknown)
src/components/query-tab/query-response/explain-plan-utils.ts:338
↓ 7 callersMethodprettyFormatQuery
* Format SQL query for pretty-printing using sql-formatter.
src/lib/sql-utils.ts:80
↓ 7 callersMethodqueryOnNode
( sql: string, params?: Record<string, unknown>, headers?: Record<string, string> )
src/lib/connection/connection.ts:491
↓ 7 callersFunctionreplaceLeadingCommand
( input: string, commandName: string, cursorOffset: number = input.length )
src/components/chat/input/command-utils.ts:23
↓ 7 callersMethodresolveExecutionSql
* Resolve which SQL should run from editor context. * - If text is selected, run selected text. * - Otherwise run current cursor line.
src/lib/sql-utils.ts:22
↓ 7 callersFunctionrestoreEnvValue
(key: keyof typeof originalEnv)
src/lib/code-search/__tests__/config.test.ts:19
↓ 7 callersMethodsetConfiguration
(cfg: AgentConfiguration)
src/components/settings/agent/agent-manager.ts:98
↓ 7 callersMethodtoDateValue
(value: unknown)
src/lib/formatter.tsx:515
↓ 7 callersFunctiontoManagedSession
( session: Chat, current?: ManagedSession, options?: SessionAccessOptions )
src/components/chat/session/session-manager.ts:56
↓ 7 callersFunctionupdateStep
(id: string, status: StepStatus, label?: string)
src/components/main-page.tsx:375
↓ 6 callersFunctionbuildExplainErrorPrompt
({ errorMessage, errorCode, sql, language = DEFAULT_AI_RESPONSE_LANGUAGE, }: { errorMessage: string;
src/components/query-tab/query-response/explain-error-prompt.ts:7
↓ 6 callersFunctionbuildTopo
(spans: Record<string, unknown>[])
src/components/span-log-inspector/span-log-inspector-topo-builder.test.ts:21
↓ 6 callersMethodcalculateAbsoluteTimeSpan
()
src/components/shared/dashboard/timespan-selector.tsx:169
↓ 6 callersFunctionclickText
(container: HTMLElement, text: string)
src/components/chat/message/message-tool-ask-user-question.test.tsx:66
↓ 6 callersMethodcommentOutFormatClause
* Comment out the FORMAT &lt;format_name&gt; clause so it is preserved for debugging * but does not affect execution. Case-insensitive. Matches FOR
src/lib/sql-utils.ts:93
↓ 6 callersMethodcreate
(config: ConnectionConfig)
src/lib/connection/connection.ts:249
↓ 6 callersMethodgetAllModels
* Get all registered models (static + dynamic)
src/components/settings/models/model-manager.ts:121
↓ 6 callersMethodgetCodeSearchContext
()
src/lib/code-search/code-search-factory.ts:21
↓ 6 callersMethodgetConnections
()
src/lib/connection/connection-manager.ts:117
↓ 6 callersMethodgetMessages
(sessionId: string, options?: SessionAccessOptions)
src/components/chat/session/session-repository.ts:28
↓ 6 callersMethodgetProvider
(options: SkillProviderFactoryOptions)
src/lib/ai/skills/skill-provider-factory.ts:14
↓ 6 callersFunctiongetRuntimeConfig
()
src/components/runtime-config-provider.tsx:45
↓ 6 callersMethodgetStorage
()
src/components/dashboard-tab/custom-dashboard-storage.ts:37
↓ 6 callersFunctiongroup
(title: string, count = 1)
src/components/shared/dashboard/__tests__/dashboard-panel-container.test.ts:14
↓ 6 callersMethodhighlight2
( text: string, start: number, end: number, matchedCssStyleClass: string )
src/lib/text-highlighter.tsx:15
↓ 6 callersMethodindexOfIgnoreCase
(text: string, search: string)
src/lib/string-utils.ts:30
↓ 6 callersMethodlistFiles
()
src/lib/code-search/types.ts:87
↓ 6 callersFunctionlistener
()
src/components/query-tab/query-input/use-query-input.tsx:53
↓ 6 callersFunctionnormalizeRelativePath
(relativePath: string)
src/lib/code-search/path-filters.ts:5
↓ 6 callersFunctionnormalizeUsage
( u: Record<string, unknown> | undefined )
src/lib/ai/token-usage-utils.ts:60
↓ 6 callersMethodprune
* Main entry point for message pruning. * Compresses conversation history by removing redundant intermediate tool calls. * Currently prunes all
src/lib/ai/message-pruner.ts:13
↓ 6 callersFunctionrecordArray
(value: unknown)
src/components/query-tab/query-response/explain-plan-utils.ts:119
↓ 6 callersMethodremoveItem
(key: string)
src/components/settings/models/model-manager.test.ts:20
↓ 6 callersFunctionrequireArrayValue
(predicate: SearchQueryLogPredicate)
src/lib/ai/tools/clickhouse/search-query-log.ts:200
↓ 6 callersFunctionsignSessionShareCode
(input: { ownerId: string; sessionId: string; expiresAt?: number; })
src/lib/ai/session/session-share-code.ts:24
↓ 6 callersMethodtimeSpan
* Replace time span template parameters in the SQL query. * Replaces: {timeFilter}, {rounding:UInt32}, {seconds:UInt32}, {startTimestamp:UInt32},
src/components/shared/dashboard/sql-query-builder.ts:104
↓ 6 callersMethodupdateTitle
* Update the chat title * Dispatches an event that ChatPanel will listen to
src/components/chat/chat-ui-context.ts:27
↓ 6 callersMethodupsertSkillBundle
(ownerId: string, input: UpsertSkillBundleInput)
src/lib/ai/skills/repository/server-skill-repository.ts:71
↓ 6 callersFunctionvalidateRemoteChatRequest
(payload: unknown)
src/lib/ai/session/remote-chat-request.ts:66
↓ 5 callersFunctionPOST
(req: Request)
src/app/api/ai/skills/actions/review/route.ts:19
↓ 5 callersFunctionareRefreshOptionsEqual
( left: RefreshOptions | undefined, right: RefreshOptions | undefined )
src/components/shared/dashboard/dashboard-visualization-panel.tsx:125
↓ 5 callersMethodbuild
* Get the final SQL query string. * * @returns The processed SQL query
src/components/shared/dashboard/sql-query-builder.ts:159
↓ 5 callersFunctionbuildSearchQueryLogSql
( input: SearchQueryLogInput, availableColumns: Set<string> )
src/lib/ai/tools/clickhouse/search-query-log.ts:388
↓ 5 callersFunctionclearDiskSkillProviderCache
()
src/lib/ai/skills/disk-skill-provider.ts:23
↓ 5 callersFunctioncreateIdentifierHandler
(patterns: RegExp[])
src/lib/clickhouse/clickhouse-error-parser.ts:165
↓ 5 callersFunctioncreateSession
(userId: string, sessionId: string)
src/lib/ai/session/session-access.test.ts:6
↓ 5 callersFunctioncreateSkillAvailabilityFilter
( availableTools: ReadonlySet<string> )
src/lib/ai/skills/skill-availability.ts:16
↓ 5 callersFunctioncreateTextNode
(value: string)
src/components/chat/message/remark-extensions.ts:55
↓ 5 callersMethodexpand
(input: string)
src/components/chat/input/sql-snippet-token.ts:17
↓ 5 callersMethodformatBinarySize
()
src/lib/number-utils.ts:5
↓ 5 callersFunctionformatPrimitive
(value: unknown)
src/components/query-tab/query-response/explain-query-response-view.tsx:154
↓ 5 callersMethodgetAvailableModels
* Get all available models that are enabled and have an API key configured. * Includes a special 'Auto' model representing the server-side default
src/components/settings/models/model-manager.ts:323
↓ 5 callersMethodgetCache
()
src/lib/ai/skills/disk-skill-provider.ts:267
↓ 5 callersFunctiongetConnectionGroupMeta
( connectionId: string, currentConnectionId?: string )
src/components/chat/session/chat-session-list.tsx:151
↓ 5 callersFunctiongetDatabaseContextFromConnection
( connection?: Pick<Connection, "cluster" | "metadata"> | null )
src/components/chat/chat-context.ts:28
↓ 5 callersMethodgetInstance
()
src/components/dashboard-tab/custom-dashboard-storage.ts:30
↓ 5 callersMethodgetModelSettings
* Get all model settings from localStorage * @returns Array of model settings
src/components/settings/models/model-manager.ts:211
↓ 5 callersFunctiongetSelectionOffsets
(root: HTMLElement)
src/components/chat/input/chat-input.tsx:347
↓ 5 callersFunctiongetServerSessionRepositoryConfig
()
src/lib/ai/session/server-session-repository-factory.ts:54
← previousnext →101–200 of 1,973, ranked by callers