Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/wonderwhy-er/DesktopCommanderMCP
/ functions
Functions
1,250 in github.com/wonderwhy-er/DesktopCommanderMCP
⨍
Functions
1,250
◇
Types & classes
157
↓ 6 callers
Function
callTool
(name, args)
test-listener-bug.js:80
↓ 6 callers
Function
createMcpUiDeps
(overrides = {})
test/ab-test.test.js:103
↓ 6 callers
Function
createSlugTracker
()
src/ui/file-preview/src/markdown/slugify.ts:21
↓ 6 callers
Function
createTestFile
(name, content)
test/test-line-count.js:20
↓ 6 callers
Function
createWidgetStateStorage
( validator?: (state: unknown) => boolean )
src/ui/shared/widget-state.ts:114
↓ 6 callers
Function
docxMarkerText
(workflowId, editNumber, state)
test/integration/edit-block-performance.js:186
↓ 6 callers
Function
emitConfigChanged
(key: string, fallbackValue: unknown)
src/ui/config-editor/src/app.ts:627
↓ 6 callers
Function
emitTooltip
(result: ApplyConfigResult)
src/ui/config-editor/src/app.ts:636
↓ 6 callers
Function
extractMarkdownOutline
(source: string)
src/ui/file-preview/src/markdown/outline.ts:6
↓ 6 callers
Function
extractTotalLines
(result)
test/test-line-count.js:26
↓ 6 callers
Method
getLogPath
()
src/utils/fuzzySearchLogger.ts:105
↓ 6 callers
Function
interactWithProcess
(args: unknown)
src/tools/improved-process-tools.ts:388
↓ 6 callers
Function
markStepComplete
(state, step)
scripts/publish-release.cjs:80
↓ 6 callers
Function
pointsToInches
(pts: number)
src/tools/pdf/manipulations.ts:64
↓ 6 callers
Method
read
* Read file content * @param path Validated file path * @param options Read options (offset, length, sheet, etc.) * @returns File resul
src/utils/files/base.ts:20
↓ 6 callers
Function
renderLinkResults
()
src/ui/file-preview/src/markdown/editor.ts:1170
↓ 6 callers
Function
resolveAbsolutePath
(filePath: string)
src/handlers/filesystem-handlers.ts:49
↓ 6 callers
Function
rewriteWikiLinks
(source: string)
src/ui/file-preview/src/markdown/linking.ts:218
↓ 6 callers
Function
runTest
(name, testFn)
test/test-feature-flags-timeout.js:72
↓ 6 callers
Function
shellQuote
(value: string)
src/ui/file-preview/src/host/external-actions.ts:3
↓ 6 callers
Function
sleep
* Wait for the specified number of milliseconds
test/test-repl-interaction.js:60
↓ 6 callers
Function
slugifyMarkdownHeading
(text: string)
src/ui/file-preview/src/markdown/slugify.ts:17
↓ 6 callers
Method
write
Persist state for recovery after refresh (no-op on unsupported hosts)
src/ui/shared/widget-state.ts:17
↓ 5 callers
Function
analyzeProcessState
(output: string, pid?: number)
src/utils/process-detection.ts:54
↓ 5 callers
Function
assertEditDiffIsClean
* Core invariants we want every edit to obey. * * @param name human-readable test name * @param input the original markdown * @param edit (handle)
test/test-markdown-editor-edit-diff.js:134
↓ 5 callers
Function
buildPreviewCapabilities
(payload: RenderPayload, canCopy: boolean)
src/ui/file-preview/src/file-type-handlers.ts:48
↓ 5 callers
Function
buildUiToolMeta
(resourceUri: string, widgetAccessible = false, showMcpUiPreviews = true)
src/ui/contracts.ts:16
↓ 5 callers
Function
closeServer
(server)
test/test-feature-flags-timeout.js:60
↓ 5 callers
Function
createDirectory
(dirPath: string)
src/tools/filesystem.ts:701
↓ 5 callers
Function
createMarkdownController
(dependencies: MarkdownControllerDependencies)
src/ui/file-preview/src/markdown/controller.ts:312
↓ 5 callers
Function
ensureTrackingCompleted
(eventName, additionalProps = {}, timeoutMs = 6000)
uninstall-claude-server.js:320
↓ 5 callers
Function
execAsync
(command)
uninstall-claude-server.js:415
↓ 5 callers
Function
finish
(result)
setup-claude-server.js:363
↓ 5 callers
Function
finish
(result)
uninstall-claude-server.js:277
↓ 5 callers
Function
finish
(result)
track-installation.js:327
↓ 5 callers
Function
formatProcessStateMessage
(state: ProcessState, pid: number)
src/utils/process-detection.ts:172
↓ 5 callers
Function
getCurrentDisplayMode
()
src/ui/file-preview/src/app.ts:68
↓ 5 callers
Method
getOnboardingState
* Get onboarding state from config
src/utils/usageTracker.ts:401
↓ 5 callers
Function
getPathRoot
(value: string)
src/ui/file-preview/src/path-utils.ts:14
↓ 5 callers
Method
getStats
* Get current stats
src/utils/toolHistory.ts:288
↓ 5 callers
Function
handleGetMoreSearchResults
(args: unknown)
src/handlers/search-handlers.ts:85
↓ 5 callers
Method
init
* Initialize configuration - load from disk or create default
src/config-manager.ts:65
↓ 5 callers
Function
isLikelyUrl
(filePath: string)
src/ui/file-preview/src/payload-utils.ts:107
↓ 5 callers
Function
isWindowsAbsolutePath
(value: string)
src/ui/file-preview/src/path-utils.ts:1
↓ 5 callers
Function
listenOnRandomPort
(server)
test/test-feature-flags-timeout.js:52
↓ 5 callers
Function
normalizeImageMimeType
(mimeType: string | undefined)
src/ui/file-preview/src/image-preview.ts:13
↓ 5 callers
Function
normalizeTelemetryEnabledValue
(value: unknown)
src/config-manager.ts:26
↓ 5 callers
Function
readPayload
(filePath: string, length?: number, offset?: number)
src/ui/file-preview/src/markdown/controller.ts:381
↓ 5 callers
Function
resolveInitialState
(payload?: RenderPayload, message?: string)
src/ui/file-preview/src/app.ts:440
↓ 5 callers
Function
resolvePreviewFileType
(filePath: string)
src/ui/file-preview/shared/preview-file-types.ts:51
↓ 5 callers
Function
sanitizePythonString
(value)
test/integration/edit-block-performance.js:207
↓ 5 callers
Function
scheduleRender
()
src/ui/config-editor/src/app.ts:880
↓ 5 callers
Method
sendInputToProcess
* Send input to a running process * @param pid Process ID * @param input Text to send to the process * @returns Whether input was successfull
src/terminal-manager.ts:157
↓ 5 callers
Function
stringifyValueForInput
(value: unknown)
src/ui/config-editor/src/app.ts:105
↓ 5 callers
Method
validateCommand
(command: string)
src/command-manager.ts:229
↓ 5 callers
Function
writePdf
( filePath: string, content: string | PdfOperations[], outputPath?: string, options: any = {}
src/tools/filesystem.ts:992
↓ 4 callers
Function
autosize
()
src/ui/file-preview/src/markdown/editor.ts:1573
↓ 4 callers
Function
computeEditBlocks
(oldText: string, newText: string, changedRanges: MarkdownEditRange[] = [])
src/ui/file-preview/src/markdown/controller.ts:254
↓ 4 callers
Function
countTokens
(enc, text)
scripts/count-tokens.js:83
↓ 4 callers
Function
createBlackHoleServer
Create a TCP server that accepts the connection but never sends any HTTP response
test/test-feature-flags-timeout.js:23
↓ 4 callers
Method
createChannel
* Create and subscribe to the channel. * This is used for both initial subscription and recreation after socket reconnects.
src/remote-device/remote-channel.ts:190
↓ 4 callers
Function
createMockWindow
(pathname, sessionStorage, name = '')
test/test-widget-state-runtime.js:22
↓ 4 callers
Function
decodeAnchorFragment
(fragment: string | undefined)
src/ui/file-preview/src/markdown/linking.ts:140
↓ 4 callers
Function
diagnoseDiff
Print a compact summary of the diff so we can see what Tiptap is changing.
test/test-markdown-editor-edit-diff.js:179
↓ 4 callers
Function
encodeLinkPath
(pathValue: string)
src/ui/file-preview/src/markdown/linking.ts:21
↓ 4 callers
Function
ensureDir
(dir)
scripts/download-all-ripgrep.cjs:41
↓ 4 callers
Function
ensureTrackingCompleted
(eventName, additionalProps = {}, timeoutMs = 6000)
setup-claude-server.js:407
↓ 4 callers
Method
executeCommand
(command: string, timeoutMs: number = DEFAULT_COMMAND_TIMEOUT, shell?: string, collectTiming: boolean = false)
src/terminal-manager.ts:177
↓ 4 callers
Function
extractAllText
Extract all <w:t>...</w:t> text content from an XML fragment
src/utils/files/docx.ts:241
↓ 4 callers
Function
flashSaveStatus
( label: string, statusClass: string, timeoutMs: number, beforeClear?: () => b
src/ui/file-preview/src/markdown/controller.ts:597
↓ 4 callers
Function
flush
(ms = 0)
test/test-remote-channel-reconnect.js:148
↓ 4 callers
Method
generateEnhancedStatusMessage
* Generate enhanced status message
src/utils/files/text.ts:137
↓ 4 callers
Function
getDocumentFullscreenAvailability
(options: { availableDisplayModes?: string[]; })
src/ui/file-preview/src/document-workspace.ts:34
↓ 4 callers
Function
getEffectiveIncomingPayload
(payload: RenderPayload)
src/ui/file-preview/src/app.ts:80
↓ 4 callers
Function
getFileExtension
* Get file extension for telemetry purposes * @param filePath Path to the file * @returns Lowercase file extension
src/tools/filesystem.ts:47
↓ 4 callers
Method
getOrCreateClientId
* Get or create a persistent client ID for analytics and A/B tests
src/config-manager.ts:268
↓ 4 callers
Function
getParentDirectory
(filePath: string)
src/ui/file-preview/src/path-utils.ts:29
↓ 4 callers
Function
getPathSegments
(value: string)
src/ui/file-preview/src/path-utils.ts:23
↓ 4 callers
Function
getPuppeteerCacheDir
* Get Desktop Commander's private Puppeteer cache directory.
src/tools/pdf/markdown.ts:23
↓ 4 callers
Function
getSelectedEntry
()
src/ui/config-editor/src/app.ts:366
↓ 4 callers
Function
getSystemInfo
()
src/utils/system-info.ts:500
↓ 4 callers
Function
getTiptapMarkdown
()
src/ui/file-preview/src/markdown/editor.ts:1062
↓ 4 callers
Function
loadPromptsData
()
src/tools/prompts.ts:50
↓ 4 callers
Function
log
(...args)
track-installation.js:36
↓ 4 callers
Function
markUserEdit
()
src/ui/file-preview/src/markdown/editor.ts:1053
↓ 4 callers
Function
normalizePathSeparators
(value: string)
src/ui/file-preview/src/path-utils.ts:5
↓ 4 callers
Function
pct
(part, whole)
scripts/count-tokens.js:196
↓ 4 callers
Function
readFileInternal
(filePath: string, offset: number = 0, length?: number)
src/tools/filesystem.ts:585
↓ 4 callers
Method
readOutputPaginated
* Read process output with pagination (like file reading) * @param pid Process ID * @param offset Line offset: 0=from lastReadIndex, positive=ab
src/terminal-manager.ts:514
↓ 4 callers
Function
readPayloadContent
(payload: RenderPayload)
src/ui/file-preview/src/markdown/controller.ts:350
↓ 4 callers
Function
readRawFile
* Helper function to read file as raw buffer to preserve binary line endings
test/test-edit-block-line-endings.js:105
↓ 4 callers
Function
renderAndSync
(payload?: RenderPayload)
src/ui/file-preview/src/app.ts:407
↓ 4 callers
Function
renderCompactRow
(options: RenderCompactRowOptions)
src/ui/shared/compact-row.ts:13
↓ 4 callers
Function
renderStatusState
(container: HTMLElement, message: string)
src/ui/file-preview/src/app.ts:189
↓ 4 callers
Function
sanitizeError
(error: any)
src/utils/capture.ts:45
↓ 4 callers
Method
saveConfig
* Save config to disk
src/config-manager.ts:179
↓ 4 callers
Method
sendLog
* Public method to send log notifications from anywhere in the application * Now properly buffers messages before MCP initialization to avoid break
src/custom-stdio.ts:282
↓ 4 callers
Method
setOnlineStatus
(deviceId: string, status: 'online' | 'offline')
src/remote-device/remote-channel.ts:446
↓ 4 callers
Function
sleep
* Sleep function
test/test-node-repl.js:29
↓ 4 callers
Method
terminateSearch
* Terminate a search session (like force_terminate)
src/search-manager.ts:292
← previous
next →
101–200 of 1,250, ranked by callers