MCPcopy Create free account

hub / github.com/wonderwhy-er/DesktopCommanderMCP / functions

Functions1,250 in github.com/wonderwhy-er/DesktopCommanderMCP

↓ 6 callersFunctioncallTool
(name, args)
test-listener-bug.js:80
↓ 6 callersFunctioncreateMcpUiDeps
(overrides = {})
test/ab-test.test.js:103
↓ 6 callersFunctioncreateSlugTracker
()
src/ui/file-preview/src/markdown/slugify.ts:21
↓ 6 callersFunctioncreateTestFile
(name, content)
test/test-line-count.js:20
↓ 6 callersFunctioncreateWidgetStateStorage
( validator?: (state: unknown) => boolean )
src/ui/shared/widget-state.ts:114
↓ 6 callersFunctiondocxMarkerText
(workflowId, editNumber, state)
test/integration/edit-block-performance.js:186
↓ 6 callersFunctionemitConfigChanged
(key: string, fallbackValue: unknown)
src/ui/config-editor/src/app.ts:627
↓ 6 callersFunctionemitTooltip
(result: ApplyConfigResult)
src/ui/config-editor/src/app.ts:636
↓ 6 callersFunctionextractMarkdownOutline
(source: string)
src/ui/file-preview/src/markdown/outline.ts:6
↓ 6 callersFunctionextractTotalLines
(result)
test/test-line-count.js:26
↓ 6 callersMethodgetLogPath
()
src/utils/fuzzySearchLogger.ts:105
↓ 6 callersFunctioninteractWithProcess
(args: unknown)
src/tools/improved-process-tools.ts:388
↓ 6 callersFunctionmarkStepComplete
(state, step)
scripts/publish-release.cjs:80
↓ 6 callersFunctionpointsToInches
(pts: number)
src/tools/pdf/manipulations.ts:64
↓ 6 callersMethodread
* 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 callersFunctionrenderLinkResults
()
src/ui/file-preview/src/markdown/editor.ts:1170
↓ 6 callersFunctionresolveAbsolutePath
(filePath: string)
src/handlers/filesystem-handlers.ts:49
↓ 6 callersFunctionrewriteWikiLinks
(source: string)
src/ui/file-preview/src/markdown/linking.ts:218
↓ 6 callersFunctionrunTest
(name, testFn)
test/test-feature-flags-timeout.js:72
↓ 6 callersFunctionshellQuote
(value: string)
src/ui/file-preview/src/host/external-actions.ts:3
↓ 6 callersFunctionsleep
* Wait for the specified number of milliseconds
test/test-repl-interaction.js:60
↓ 6 callersFunctionslugifyMarkdownHeading
(text: string)
src/ui/file-preview/src/markdown/slugify.ts:17
↓ 6 callersMethodwrite
Persist state for recovery after refresh (no-op on unsupported hosts)
src/ui/shared/widget-state.ts:17
↓ 5 callersFunctionanalyzeProcessState
(output: string, pid?: number)
src/utils/process-detection.ts:54
↓ 5 callersFunctionassertEditDiffIsClean
* 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 callersFunctionbuildPreviewCapabilities
(payload: RenderPayload, canCopy: boolean)
src/ui/file-preview/src/file-type-handlers.ts:48
↓ 5 callersFunctionbuildUiToolMeta
(resourceUri: string, widgetAccessible = false, showMcpUiPreviews = true)
src/ui/contracts.ts:16
↓ 5 callersFunctioncloseServer
(server)
test/test-feature-flags-timeout.js:60
↓ 5 callersFunctioncreateDirectory
(dirPath: string)
src/tools/filesystem.ts:701
↓ 5 callersFunctioncreateMarkdownController
(dependencies: MarkdownControllerDependencies)
src/ui/file-preview/src/markdown/controller.ts:312
↓ 5 callersFunctionensureTrackingCompleted
(eventName, additionalProps = {}, timeoutMs = 6000)
uninstall-claude-server.js:320
↓ 5 callersFunctionexecAsync
(command)
uninstall-claude-server.js:415
↓ 5 callersFunctionfinish
(result)
setup-claude-server.js:363
↓ 5 callersFunctionfinish
(result)
uninstall-claude-server.js:277
↓ 5 callersFunctionfinish
(result)
track-installation.js:327
↓ 5 callersFunctionformatProcessStateMessage
(state: ProcessState, pid: number)
src/utils/process-detection.ts:172
↓ 5 callersFunctiongetCurrentDisplayMode
()
src/ui/file-preview/src/app.ts:68
↓ 5 callersMethodgetOnboardingState
* Get onboarding state from config
src/utils/usageTracker.ts:401
↓ 5 callersFunctiongetPathRoot
(value: string)
src/ui/file-preview/src/path-utils.ts:14
↓ 5 callersMethodgetStats
* Get current stats
src/utils/toolHistory.ts:288
↓ 5 callersFunctionhandleGetMoreSearchResults
(args: unknown)
src/handlers/search-handlers.ts:85
↓ 5 callersMethodinit
* Initialize configuration - load from disk or create default
src/config-manager.ts:65
↓ 5 callersFunctionisLikelyUrl
(filePath: string)
src/ui/file-preview/src/payload-utils.ts:107
↓ 5 callersFunctionisWindowsAbsolutePath
(value: string)
src/ui/file-preview/src/path-utils.ts:1
↓ 5 callersFunctionlistenOnRandomPort
(server)
test/test-feature-flags-timeout.js:52
↓ 5 callersFunctionnormalizeImageMimeType
(mimeType: string | undefined)
src/ui/file-preview/src/image-preview.ts:13
↓ 5 callersFunctionnormalizeTelemetryEnabledValue
(value: unknown)
src/config-manager.ts:26
↓ 5 callersFunctionreadPayload
(filePath: string, length?: number, offset?: number)
src/ui/file-preview/src/markdown/controller.ts:381
↓ 5 callersFunctionresolveInitialState
(payload?: RenderPayload, message?: string)
src/ui/file-preview/src/app.ts:440
↓ 5 callersFunctionresolvePreviewFileType
(filePath: string)
src/ui/file-preview/shared/preview-file-types.ts:51
↓ 5 callersFunctionsanitizePythonString
(value)
test/integration/edit-block-performance.js:207
↓ 5 callersFunctionscheduleRender
()
src/ui/config-editor/src/app.ts:880
↓ 5 callersMethodsendInputToProcess
* 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 callersFunctionstringifyValueForInput
(value: unknown)
src/ui/config-editor/src/app.ts:105
↓ 5 callersMethodvalidateCommand
(command: string)
src/command-manager.ts:229
↓ 5 callersFunctionwritePdf
( filePath: string, content: string | PdfOperations[], outputPath?: string, options: any = {}
src/tools/filesystem.ts:992
↓ 4 callersFunctionautosize
()
src/ui/file-preview/src/markdown/editor.ts:1573
↓ 4 callersFunctioncomputeEditBlocks
(oldText: string, newText: string, changedRanges: MarkdownEditRange[] = [])
src/ui/file-preview/src/markdown/controller.ts:254
↓ 4 callersFunctioncountTokens
(enc, text)
scripts/count-tokens.js:83
↓ 4 callersFunctioncreateBlackHoleServer
Create a TCP server that accepts the connection but never sends any HTTP response
test/test-feature-flags-timeout.js:23
↓ 4 callersMethodcreateChannel
* 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 callersFunctioncreateMockWindow
(pathname, sessionStorage, name = '')
test/test-widget-state-runtime.js:22
↓ 4 callersFunctiondecodeAnchorFragment
(fragment: string | undefined)
src/ui/file-preview/src/markdown/linking.ts:140
↓ 4 callersFunctiondiagnoseDiff
Print a compact summary of the diff so we can see what Tiptap is changing.
test/test-markdown-editor-edit-diff.js:179
↓ 4 callersFunctionencodeLinkPath
(pathValue: string)
src/ui/file-preview/src/markdown/linking.ts:21
↓ 4 callersFunctionensureDir
(dir)
scripts/download-all-ripgrep.cjs:41
↓ 4 callersFunctionensureTrackingCompleted
(eventName, additionalProps = {}, timeoutMs = 6000)
setup-claude-server.js:407
↓ 4 callersMethodexecuteCommand
(command: string, timeoutMs: number = DEFAULT_COMMAND_TIMEOUT, shell?: string, collectTiming: boolean = false)
src/terminal-manager.ts:177
↓ 4 callersFunctionextractAllText
Extract all <w:t>...</w:t> text content from an XML fragment
src/utils/files/docx.ts:241
↓ 4 callersFunctionflashSaveStatus
( label: string, statusClass: string, timeoutMs: number, beforeClear?: () => b
src/ui/file-preview/src/markdown/controller.ts:597
↓ 4 callersFunctionflush
(ms = 0)
test/test-remote-channel-reconnect.js:148
↓ 4 callersMethodgenerateEnhancedStatusMessage
* Generate enhanced status message
src/utils/files/text.ts:137
↓ 4 callersFunctiongetDocumentFullscreenAvailability
(options: { availableDisplayModes?: string[]; })
src/ui/file-preview/src/document-workspace.ts:34
↓ 4 callersFunctiongetEffectiveIncomingPayload
(payload: RenderPayload)
src/ui/file-preview/src/app.ts:80
↓ 4 callersFunctiongetFileExtension
* Get file extension for telemetry purposes * @param filePath Path to the file * @returns Lowercase file extension
src/tools/filesystem.ts:47
↓ 4 callersMethodgetOrCreateClientId
* Get or create a persistent client ID for analytics and A/B tests
src/config-manager.ts:268
↓ 4 callersFunctiongetParentDirectory
(filePath: string)
src/ui/file-preview/src/path-utils.ts:29
↓ 4 callersFunctiongetPathSegments
(value: string)
src/ui/file-preview/src/path-utils.ts:23
↓ 4 callersFunctiongetPuppeteerCacheDir
* Get Desktop Commander's private Puppeteer cache directory.
src/tools/pdf/markdown.ts:23
↓ 4 callersFunctiongetSelectedEntry
()
src/ui/config-editor/src/app.ts:366
↓ 4 callersFunctiongetSystemInfo
()
src/utils/system-info.ts:500
↓ 4 callersFunctiongetTiptapMarkdown
()
src/ui/file-preview/src/markdown/editor.ts:1062
↓ 4 callersFunctionloadPromptsData
()
src/tools/prompts.ts:50
↓ 4 callersFunctionlog
(...args)
track-installation.js:36
↓ 4 callersFunctionmarkUserEdit
()
src/ui/file-preview/src/markdown/editor.ts:1053
↓ 4 callersFunctionnormalizePathSeparators
(value: string)
src/ui/file-preview/src/path-utils.ts:5
↓ 4 callersFunctionpct
(part, whole)
scripts/count-tokens.js:196
↓ 4 callersFunctionreadFileInternal
(filePath: string, offset: number = 0, length?: number)
src/tools/filesystem.ts:585
↓ 4 callersMethodreadOutputPaginated
* 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 callersFunctionreadPayloadContent
(payload: RenderPayload)
src/ui/file-preview/src/markdown/controller.ts:350
↓ 4 callersFunctionreadRawFile
* Helper function to read file as raw buffer to preserve binary line endings
test/test-edit-block-line-endings.js:105
↓ 4 callersFunctionrenderAndSync
(payload?: RenderPayload)
src/ui/file-preview/src/app.ts:407
↓ 4 callersFunctionrenderCompactRow
(options: RenderCompactRowOptions)
src/ui/shared/compact-row.ts:13
↓ 4 callersFunctionrenderStatusState
(container: HTMLElement, message: string)
src/ui/file-preview/src/app.ts:189
↓ 4 callersFunctionsanitizeError
(error: any)
src/utils/capture.ts:45
↓ 4 callersMethodsaveConfig
* Save config to disk
src/config-manager.ts:179
↓ 4 callersMethodsendLog
* 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 callersMethodsetOnlineStatus
(deviceId: string, status: 'online' | 'offline')
src/remote-device/remote-channel.ts:446
↓ 4 callersFunctionsleep
* Sleep function
test/test-node-repl.js:29
↓ 4 callersMethodterminateSearch
* Terminate a search session (like force_terminate)
src/search-manager.ts:292
← previousnext →101–200 of 1,250, ranked by callers