Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davialabs/davia
/ functions
Functions
926 in github.com/davialabs/davia
⨍
Functions
926
◇
Types & classes
56
↓ 1 callers
Function
collectPaths
(basePath: string)
packages/agent/src/agent/helpers/tree.ts:9
↓ 1 callers
Function
createAgentsMd
(daviaPath: string)
apps/cli/src/ide-agent-instruction/index.ts:8
↓ 1 callers
Function
createDaviaAgent
(modelName: string)
packages/agent/src/agent/agent.ts:14
↓ 1 callers
Function
createDaviaDataPlugin
( dataCollector: DataCollector )
apps/web/src/app/api/bundle-mdx/plugins.ts:11
↓ 1 callers
Function
createPageRegistryStore
({ projectId, }: { projectId: string; })
apps/web/src/providers/page-registry/page-registry-store.ts:29
↓ 1 callers
Function
createPhantomColumn
({ onAddColumn, setColumnOrder, }: { onAddColumn: ( type: "string" | "number" | "boolean" | "complex
apps/web/src/tiptap/ui/data-table/columns.tsx:77
↓ 1 callers
Function
createShadcnPlugin
(shadcnPath: string)
apps/web/src/app/api/bundle-mdx/plugins.ts:43
↓ 1 callers
Function
createTerminalLink
(url: string, text: string)
packages/agent/src/agent/helpers/tools.ts:9
↓ 1 callers
Function
deleteNode
(editor: Editor | null)
apps/web/src/tiptap/ui/delete-node-button/use-delete-node.ts:83
↓ 1 callers
Function
downloadSelectedImage
( editor: Editor | null, filename?: string, resolveFileUrl?: (url: string) => Promise<string>, downloa
apps/web/src/tiptap/ui/image-download-button/use-image-download.ts:194
↓ 1 callers
Function
duplicateNode
(editor: Editor | null)
apps/web/src/tiptap/ui/duplicate-button/use-duplicate.ts:59
↓ 1 callers
Function
ensureExcalidrawFontsLoaded
* Ensures the Excalidraw fonts (Excalifont and Assistant) are loaded before mermaid conversion. * This is necessary because parseMermaidToExcalidraw
apps/web/src/tiptap/extensions/excalidraw/mermaid-converter.ts:74
↓ 1 callers
Function
filterSuggestionItems
(items: SuggestionItem[], query: string)
apps/web/src/tiptap/ui-utils/suggestion-menu/suggestion-menu-utils.ts:40
↓ 1 callers
Function
findAvailablePort
(startPort: number)
apps/cli/src/web.ts:9
↓ 1 callers
Function
findNodeAtPosition
(editor: Editor, position: number)
apps/web/src/tiptap/utils.ts:186
↓ 1 callers
Function
findNodePosition
(props: { editor: Editor | null; node?: TiptapNode | null; nodePos?: number | null; })
apps/web/src/tiptap/utils.ts:208
↓ 1 callers
Function
findParent
(targetId: string)
apps/web/src/lib/tree/client.ts:10
↓ 1 callers
Function
formatRepositoryContent
( content: Record<string, string> )
packages/agent/src/agent/middlewares/initialization.ts:25
↓ 1 callers
Function
formatShortcutKey
( key: string, isMac: boolean, capitalize: boolean = true )
apps/web/src/tiptap/utils.ts:47
↓ 1 callers
Function
formatTree
(paths: string[])
packages/agent/src/agent/helpers/tree.ts:53
↓ 1 callers
Function
formatTreeRecursive
( parentPath: string, indent: string = "" )
packages/agent/src/agent/helpers/tree.ts:138
↓ 1 callers
Function
generateAgentInstructions
()
apps/cli/src/ide-agent-instruction/agent-instruct.ts:9
↓ 1 callers
Function
getColumnValues
( data: Record<string, unknown>[], columnKey: string )
apps/web/src/tiptap/ui/data-table/utils.ts:37
↓ 1 callers
Function
getElementOverflowPosition
( targetElement: Element, containerElement: HTMLElement )
apps/web/src/tiptap/collab-utils.ts:57
↓ 1 callers
Function
getFileCreationMessage
( filePath: string, context: ContextType )
packages/agent/src/agent/helpers/tools.ts:17
↓ 1 callers
Function
getFormattedMarkName
(type: Mark)
apps/web/src/tiptap/ui/floating-toolbar/mark-button/use-mark.ts:127
↓ 1 callers
Function
getHorizontalScrollParent
(el: HTMLElement | null)
apps/web/src/tiptap/ui/data-table/hooks/use-cell-state.ts:36
↓ 1 callers
Function
getItemImplementations
()
apps/web/src/tiptap/ui/slash-dropdown-menu/use-slash-dropdown-menu.ts:170
↓ 1 callers
Function
getNodeDisplayName
(editor: Editor | null)
apps/web/src/tiptap/collab-utils.ts:27
↓ 1 callers
Function
getPageAncestors
( pageId: string, tree: FlatTree )
apps/web/src/lib/tree/client.ts:3
↓ 1 callers
Function
getSupportedAgentsList
()
apps/cli/src/coding-agents-options/agents/index.ts:24
↓ 1 callers
Function
getTemplateContent
()
apps/cli/src/coding-agents-options/template.ts:1
↓ 1 callers
Function
getTypeIcon
(type: string)
apps/web/src/tiptap/ui/data-table/columns.tsx:26
↓ 1 callers
Function
handleAIMessageCaching
(messages: BaseMessage[])
packages/agent/src/agent/helpers/messages-caching-handler.ts:34
↓ 1 callers
Function
handleInputChange
(value: string)
apps/web/src/tiptap/ui/data-table/components/header-dropdown.tsx:60
↓ 1 callers
Function
handleSelectionUpdate
()
apps/web/src/tiptap/ui/duplicate-button/use-duplicate.ts:170
↓ 1 callers
Function
handleSelectionUpdate
()
apps/web/src/tiptap/ui/image-align-button/use-image-align.ts:223
↓ 1 callers
Function
handleSelectionUpdate
()
apps/web/src/tiptap/ui/delete-node-button/use-delete-node.ts:183
↓ 1 callers
Function
handleSelectionUpdate
()
apps/web/src/tiptap/ui/floating-toolbar/link-popover/use-link-popover.ts:189
↓ 1 callers
Function
handleSelectionUpdate
()
apps/web/src/tiptap/ui/floating-toolbar/mark-button/use-mark.ts:184
↓ 1 callers
Function
handleSelectionUpdate
()
apps/web/src/tiptap/ui/reset-all-formatting-button/use-reset-all-formatting.ts:213
↓ 1 callers
Function
handleSelectionUpdate
()
apps/web/src/tiptap/ui/image-download-button/use-image-download.ts:312
↓ 1 callers
Function
handleSelectionUpdate
()
apps/web/src/tiptap/hooks/use-floating-toolbar-visibility.ts:74
↓ 1 callers
Function
handleSwitchProject
(projectId: string)
apps/web/src/components/app-sidebar/project-switcher.tsx:35
↓ 1 callers
Function
handleToolMessageCaching
(messages: BaseMessage[])
packages/agent/src/agent/helpers/messages-caching-handler.ts:113
↓ 1 callers
Function
inferColumnType
(values: unknown[])
apps/web/src/tiptap/ui/data-table/utils.ts:12
↓ 1 callers
Function
isAllowedUri
( uri: string | undefined, protocols?: ProtocolConfig )
apps/web/src/tiptap/utils.ts:340
↓ 1 callers
Function
isImageAlignActive
( editor: Editor | null, align: ImageAlign, extensionName: string = "image", attributeName: string = "
apps/web/src/tiptap/ui/image-align-button/use-image-align.ts:90
↓ 1 callers
Function
isMac
()
apps/web/src/tiptap/utils.ts:33
↓ 1 callers
Function
isMarkActive
(editor: Editor | null, type: Mark)
apps/web/src/tiptap/ui/floating-toolbar/mark-button/use-mark.ts:89
↓ 1 callers
Function
isTextSelectionValid
(editor: Editor | null)
apps/web/src/tiptap/collab-utils.ts:106
↓ 1 callers
Function
isValidAgent
(agentType: string)
apps/cli/src/coding-agents-options/agents/index.ts:20
↓ 1 callers
Function
link
(projectPath: string)
apps/cli/src/sync.ts:327
↓ 1 callers
Function
loadData
()
apps/web/src/tiptap/extensions/mdx/use-mdx-data.tsx:45
↓ 1 callers
Function
onChange
()
apps/web/src/hooks/use-mobile.ts:10
↓ 1 callers
Function
onOpenChange
(open)
apps/web/src/tiptap/ui-utils/suggestion-menu/suggestion-menu.tsx:86
↓ 1 callers
Function
onOpenChange
(open)
apps/web/src/tiptap/ui/slash-dropdown-menu/empty-node-suggestion-menu.tsx:130
↓ 1 callers
Function
openBrowser
(url: string)
apps/cli/src/web.ts:17
↓ 1 callers
Function
organizeItemsByGroups
( items: SuggestionItem[], showGroups: boolean )
apps/web/src/tiptap/ui/slash-dropdown-menu/use-slash-dropdown-menu.ts:325
↓ 1 callers
Function
parseMermaidWithPuppeteer
(mermaidContent: string)
packages/agent/src/agent/helpers/tools.ts:122
↓ 1 callers
Function
parseShortcutKeys
(props: { shortcutKeys: string | undefined; delimiter?: string; capitalize?: boolean; })
apps/web/src/tiptap/utils.ts:67
↓ 1 callers
Function
pollForToken
* Polls for an access token using the device code
apps/cli/src/sync.ts:172
↓ 1 callers
Function
push
( projectPath: string, workspaceId: string )
apps/cli/src/sync.ts:383
↓ 1 callers
Function
readRepositoryContent
( sourcePath: string )
packages/agent/src/agent/helpers/initialization.ts:120
↓ 1 callers
Function
removeAllMarksExcept
(tr: Transaction, skip: string[] = [])
apps/web/src/tiptap/ui/reset-all-formatting-button/use-reset-all-formatting.ts:44
↓ 1 callers
Function
requestDeviceCode
* Requests a device code from the OAuth server
apps/cli/src/sync.ts:149
↓ 1 callers
Function
resetFormatting
( editor: Editor | null, preserveMarks?: string[] )
apps/web/src/tiptap/ui/reset-all-formatting-button/use-reset-all-formatting.ts:125
↓ 1 callers
Function
runAgent
( projectId: string, projectPath: string, isUpdate: boolean, model: "anthropic" | "openai" | "google",
packages/agent/src/main.ts:5
↓ 1 callers
Function
selectNodeAndHideFloating
(editor: Editor, pos: number)
apps/web/src/tiptap/hooks/use-floating-toolbar-visibility.ts:100
↓ 1 callers
Function
setImageAlign
( editor: Editor | null, align: ImageAlign, extensionName: string = "image", attributeName: string = "
apps/web/src/tiptap/ui/image-align-button/use-image-align.ts:107
↓ 1 callers
Function
setWorkspaceId
( projectId: string, workspaceId: string )
apps/cli/src/projects.ts:84
↓ 1 callers
Function
shouldExcludeFile
(filePath: string)
packages/agent/src/agent/helpers/initialization.ts:15
↓ 1 callers
Function
shouldShowButton
(props: { editor: Editor | null; hideWhenUnavailable: boolean; })
apps/web/src/tiptap/ui/duplicate-button/use-duplicate.ts:106
↓ 1 callers
Function
shouldShowButton
(props: { editor: Editor | null; hideWhenUnavailable: boolean; align: ImageAlign; extensionName?: stri
apps/web/src/tiptap/ui/image-align-button/use-image-align.ts:132
↓ 1 callers
Function
shouldShowButton
(props: { editor: Editor | null; hideWhenUnavailable: boolean; })
apps/web/src/tiptap/ui/delete-node-button/use-delete-node.ts:119
↓ 1 callers
Function
shouldShowButton
(props: { editor: Editor | null; type: Mark; hideWhenUnavailable: boolean; })
apps/web/src/tiptap/ui/floating-toolbar/mark-button/use-mark.ts:107
↓ 1 callers
Function
shouldShowButton
(props: { editor: Editor | null; hideWhenUnavailable: boolean; preserveMarks?: string[]; })
apps/web/src/tiptap/ui/reset-all-formatting-button/use-reset-all-formatting.ts:147
↓ 1 callers
Function
shouldShowDownloadButton
(props: { editor: Editor | null; hideWhenUnavailable: boolean; })
apps/web/src/tiptap/ui/image-download-button/use-image-download.ts:277
↓ 1 callers
Function
shouldShowLinkButton
(props: { editor: Editor | null; hideWhenUnavailable: boolean; })
apps/web/src/tiptap/ui/floating-toolbar/link-popover/use-link-popover.ts:67
↓ 1 callers
Function
toggleMark
(editor: Editor | null, type: Mark)
apps/web/src/tiptap/ui/floating-toolbar/mark-button/use-mark.ts:97
↓ 1 callers
Function
traverseDirectory
(currentPath: string)
packages/agent/src/agent/helpers/initialization.ts:221
↓ 1 callers
Function
traverseDirectory
( currentPath: string, relativeBase: string )
packages/agent/src/agent/helpers/tree.ts:12
↓ 1 callers
Function
trimFileContent
( content: string, maxChars: number, headRatio: number = 0.6 )
packages/agent/src/agent/helpers/initialization.ts:85
↓ 1 callers
Function
updateGitignore
* Updates .gitignore to include .davia/ and optionally agent-specific files * @param cwd - Current working directory * @param agentFilePath - Option
apps/cli/src/projects.ts:101
↓ 1 callers
Function
useAutosizeTextArea
({ textAreaRef, triggerAutoSize, maxHeight = Number.MAX_SAFE_INTEGER, minHeight = 0, offsetBorder =
apps/web/src/tiptap/ui/data-table/components/autosize-textarea.tsx:14
↓ 1 callers
Function
useCellState
({ containerRef, }: UseCellStateProps)
apps/web/src/tiptap/ui/data-table/hooks/use-cell-state.ts:10
↓ 1 callers
Function
useCellStateContext
()
apps/web/src/tiptap/ui/data-table/cell-state-provider.tsx:36
↓ 1 callers
Function
useDataDependencies
(bundle: BundleMDXResult | undefined)
apps/web/src/tiptap/extensions/mdx/use-mdx-data.tsx:11
↓ 1 callers
Function
useFloatingToolbarVisibility
(params: { editor: Editor | null; isSelectionValid: ( editor: Editor, selection: Editor["state"]["
apps/web/src/tiptap/hooks/use-floating-toolbar-visibility.ts:16
↓ 1 callers
Function
useHoverAndHeights
({ data }: { data: TData[] })
apps/web/src/tiptap/ui/data-table/hooks/use-hover-and-heights.ts:5
↓ 1 callers
Function
useImageAlign
(config: UseImageAlignConfig)
apps/web/src/tiptap/ui/image-align-button/use-image-align.ts:195
↓ 1 callers
Function
useImageDownload
(config?: UseImageDownloadConfig)
apps/web/src/tiptap/ui/image-download-button/use-image-download.ts:296
↓ 1 callers
Function
useIsMobile
()
apps/web/public/shadcn/hooks/use-mobile.ts:5
↓ 1 callers
Function
useKeyboardNavigation
({ table, cellState, }: UseKeyboardNavigationProps<TData>)
apps/web/src/tiptap/ui/data-table/hooks/use-keyboard-navigation.ts:12
↓ 1 callers
Function
useLinkHandler
(props: LinkHandlerProps)
apps/web/src/tiptap/ui/floating-toolbar/link-popover/use-link-popover.ts:89
↓ 1 callers
Function
useLinkPopover
(config?: UseLinkPopoverConfig)
apps/web/src/tiptap/ui/floating-toolbar/link-popover/use-link-popover.ts:251
↓ 1 callers
Function
useLinkState
(props: { editor: Editor | null; hideWhenUnavailable: boolean; })
apps/web/src/tiptap/ui/floating-toolbar/link-popover/use-link-popover.ts:175
↓ 1 callers
Function
useMark
(config: UseMarkConfig)
apps/web/src/tiptap/ui/floating-toolbar/mark-button/use-mark.ts:168
↓ 1 callers
Function
useMenuActionVisibility
( editor: Editor | null )
apps/web/src/tiptap/ui/drag-context-menu/drag-context-menu-hooks.ts:8
↓ 1 callers
Function
useResetAllFormatting
(config?: UseResetAllFormattingConfig)
apps/web/src/tiptap/ui/reset-all-formatting-button/use-reset-all-formatting.ts:198
← previous
next →
101–200 of 926, ranked by callers