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
↓ 2 callers
Function
saveDocument
()
src/ui/file-preview/src/markdown/controller.ts:795
↓ 2 callers
Function
scrollHeadingIntoView
(anchor: string)
src/ui/file-preview/src/markdown/controller.ts:541
↓ 2 callers
Function
sendRequest
(method, params)
test-listener-bug.js:42
↓ 2 callers
Function
setConfigValue
(args: unknown)
src/tools/config.ts:158
↓ 2 callers
Function
setCurrentRemoteClient
* Set the remote caller's client for the current tool call (null when local). * Called once per tool call by the CallTool handler.
src/server.ts:168
↓ 2 callers
Function
setEditorView
(payload: RenderPayload, view: MarkdownEditorView)
src/ui/file-preview/src/markdown/controller.ts:1009
↓ 2 callers
Function
shouldIgnoreBlur
(shell: Element | null | undefined, event: FocusEvent)
src/ui/file-preview/src/markdown/editor.ts:903
↓ 2 callers
Function
showTooltip
(tooltip: TooltipMessage)
src/ui/config-editor/src/app.ts:842
↓ 2 callers
Function
sleep
(ms)
test/integration/edit-block-performance.js:64
↓ 2 callers
Method
sleep
(ms: number)
src/remote-device/device-authenticator.ts:178
↓ 2 callers
Function
splitOversizedEditBlock
(oldText: string, newText: string)
src/ui/file-preview/src/markdown/controller.ts:224
↓ 2 callers
Method
start
()
src/remote-device/device.ts:90
↓ 2 callers
Method
startSearch
* Start a new search session (like start_process) * Returns immediately with initial state and results
src/search-manager.ts:59
↓ 2 callers
Function
stripHtmlEntities
(line: string)
src/ui/file-preview/src/markdown/editor.ts:598
↓ 2 callers
Function
stripMarkdownExtension
(filePath: string)
src/ui/file-preview/src/markdown/controller.ts:76
↓ 2 callers
Function
stripSafeEscapes
* Remove the safe-escape prefixes (`\[`, `\]`, `\~`) from a line. Used to * compare an output line against source lines after both have been * norma
src/ui/file-preview/src/markdown/editor.ts:537
↓ 2 callers
Function
syncFromPersistedWidgetState
()
src/ui/file-preview/src/app.ts:413
↓ 2 callers
Function
teardown
()
src/ui/file-preview/src/app.ts:560
↓ 2 callers
Function
testSample
(name, source)
test/test-pdf-parsing.js:28
↓ 2 callers
Method
trackFailure
* Track a failed tool call
src/utils/usageTracker.ts:186
↓ 2 callers
Method
trimHistoryFileIfTooLarge
* Trim the on-disk history file to stay under the size cap by dropping the * oldest entries (lines) until the kept tail fits within the trim target
src/utils/toolHistory.ts:112
↓ 2 callers
Function
updateActiveHeading
()
src/ui/file-preview/src/document-outline.ts:79
↓ 2 callers
Method
updateCallResult
(callId: string, status: string, result: any = null, errorMessage: string | null = null)
src/remote-device/remote-channel.ts:379
↓ 2 callers
Function
updateServerJsonSchema
* Update server.json schema version if needed
scripts/publish-release.cjs:346
↓ 2 callers
Method
updateSession
* Update session tracking
src/utils/usageTracker.ts:135
↓ 2 callers
Function
waitForResponse
(expectedId, timeout = 5000)
test-listener-bug.js:52
↓ 2 callers
Method
writeDataToSheet
(workbook: ExcelJS.Workbook, sheetName: string, data: any[][])
src/utils/files/excel.ts:436
↓ 1 callers
Method
addCall
* Add a tool call to history
src/utils/toolHistory.ts:217
↓ 1 callers
Function
addListener
(type: 'message', listener: MessageListener)
src/ui/shared/tool-bridge.ts:110
↓ 1 callers
Function
analyzeLogs
()
scripts/analyze-fuzzy-logs.js:38
↓ 1 callers
Function
appendMarkdownExtension
(pathValue: string)
src/ui/file-preview/src/markdown/linking.ts:62
↓ 1 callers
Function
applyEditBlocksToText
(text: string, blocks: EditBlock[])
src/ui/file-preview/src/markdown/controller.ts:293
↓ 1 callers
Function
applyPendingAnchor
()
src/ui/file-preview/src/markdown/controller.ts:584
↓ 1 callers
Function
applyRawTab
(textarea: HTMLTextAreaElement)
src/ui/file-preview/src/markdown/editor.ts:977
↓ 1 callers
Function
areConfigValuesEqual
(left: unknown, right: unknown)
src/ui/config-editor/src/app.ts:266
↓ 1 callers
Function
areOutlineItemsEqual
( left: MarkdownWorkspaceState['outline'], right: MarkdownWorkspaceState['outline'] )
src/ui/file-preview/src/markdown/controller.ts:48
↓ 1 callers
Function
assertSuccessfulEditBlockResult
(result: unknown)
src/ui/file-preview/src/payload-utils.ts:82
↓ 1 callers
Function
attachDirectoryHandlers
(options: { container: HTMLElement; callTool?: (name: string, args: Record<string, unknown>) => Promis
src/ui/file-preview/src/directory-controller.ts:152
↓ 1 callers
Function
attachDocumentOutline
(options: { shell: HTMLElement; outline: DocumentOutlineItem[]; scrollContainer: HTMLElement;
src/ui/file-preview/src/document-outline.ts:55
↓ 1 callers
Function
attachPanelActions
(options: { container: HTMLElement; payload: RenderPayload; htmlMode: HtmlPreviewMode; getIsEx
src/ui/file-preview/src/panel-actions.ts:7
↓ 1 callers
Function
attachSelectionContext
(options: { payload: RenderPayload; isMarkdownEditing: boolean; updateContext?: (text: string) =>
src/ui/file-preview/src/host/selection-context.ts:3
↓ 1 callers
Method
authenticate
(deviceId?: string)
src/remote-device/device-authenticator.ts:40
↓ 1 callers
Function
bootstrapApp
()
src/ui/file-preview/src/app.ts:368
↓ 1 callers
Function
bootstrapConfigEditorApp
()
src/ui/config-editor/src/app.ts:805
↓ 1 callers
Function
buildBreadcrumb
(filePath: string)
src/ui/file-preview/src/payload-utils.ts:111
↓ 1 callers
Function
buildDocumentLayout
(options: { payload: RenderPayload; body: RenderBodyResult; capabilities: FileTypeCapabilities;
src/ui/file-preview/src/document-layout.ts:37
↓ 1 callers
Function
buildEventProperties
(properties?: any)
src/utils/capture.ts:296
↓ 1 callers
Function
buildOpenInEditorCommand
( filePath: string, isLikelyUrl: (filePath: string) => boolean, editorAppCache: Map<string, { appN
src/ui/file-preview/src/host/external-actions.ts:40
↓ 1 callers
Function
buildPermissionError
* Returns a helpful error message when a file operation fails with a permission * or timeout error. * * Lists all common causes without path-based
src/tools/filesystem.ts:68
↓ 1 callers
Function
buildProject
* Build the project
test/run-all-tests.js:90
↓ 1 callers
Method
buildRipgrepArgs
(options: SearchSessionOptions)
src/search-manager.ts:733
↓ 1 callers
Function
buildTallyUrl
* Build Tally.so URL with pre-filled parameters
src/tools/feedback.ts:102
↓ 1 callers
Function
buildTarget
(targetName)
scripts/build-ui-runtime.cjs:49
↓ 1 callers
Function
buildUnsupportedParamsWarning
( toolName: string, unsupported: string[], supported: string[], )
src/utils/unsupportedParams.ts:59
↓ 1 callers
Function
buildWikiDisplayText
(link: ParsedWikiLink)
src/ui/file-preview/src/markdown/linking.ts:46
↓ 1 callers
Function
bumpVersion
(version, type = 'patch')
scripts/sync-version.js:4
↓ 1 callers
Method
callClientTool
(toolName: string, args: any, metadata?: any)
src/remote-device/desktop-commander-integration.ts:121
↓ 1 callers
Function
callViaFallback
(name: string, args: ToolArgs)
src/ui/shared/tool-bridge.ts:104
↓ 1 callers
Function
callback
(error: Error | null)
src/utils/open-browser.ts:13
↓ 1 callers
Function
captureFuzzySearchMetrics
Same telemetry events the search used to emit inline, now sent from the main thread.
src/tools/fuzzySearch.ts:83
↓ 1 callers
Function
categorize
(results)
scripts/count-tokens.js:200
↓ 1 callers
Method
channel
(topic)
test/test-remote-channel-reconnect.js:103
↓ 1 callers
Function
checkMcpAuth
* Check MCP Registry authentication and token expiration
scripts/publish-release.cjs:404
↓ 1 callers
Function
checkMcpPublisher
* Check if mcp-publisher is installed and check for updates
scripts/publish-release.cjs:286
↓ 1 callers
Function
checkMcpTokenExpiration
* Check if MCP Registry JWT token is valid and not expired * Makes a lightweight API call to verify the token works
scripts/publish-release.cjs:427
↓ 1 callers
Function
cleanProcessOutput
(output: string, inputSent?: string)
src/utils/process-detection.ts:135
↓ 1 callers
Function
cleanup
()
src/tools/improved-process-tools.ts:283
↓ 1 callers
Method
clearLog
()
src/utils/fuzzySearchLogger.ts:124
↓ 1 callers
Function
clearLogs
()
scripts/clear-fuzzy-logs.js:27
↓ 1 callers
Function
collapseBlockSeparators
* If the user's original document used single-line separators between * adjacent block elements (e.g. `### A\nBody.\n### B\n`), Tiptap will * normal
src/ui/file-preview/src/markdown/editor.ts:664
↓ 1 callers
Function
collectModalItemsFromDom
()
src/ui/config-editor/src/array-modal.ts:76
↓ 1 callers
Function
compactXml
* Compact pretty-printed XML back — strip leading indentation, join lines. * Does NOT touch whitespace inside <w:t> text nodes.
src/utils/files/docx.ts:59
↓ 1 callers
Function
computeAnchoredDiffHunks
( oldLines: string[], newLines: string[], oldStart: number, oldEnd: number, newStart: numb
src/ui/file-preview/src/markdown/controller.ts:179
↓ 1 callers
Function
computeAnchoredSerializedEditRanges
( beforeLines: string[], afterLines: string[], beforeStart: number, beforeEnd: number, aft
src/ui/file-preview/src/markdown/editor.ts:855
↓ 1 callers
Function
computeDiffHunks
(oldLines: string[], newLines: string[])
src/ui/file-preview/src/markdown/controller.ts:80
↓ 1 callers
Function
computeLineByLineHunks
(oldLines: string[], newLines: string[])
src/ui/file-preview/src/markdown/controller.ts:175
↓ 1 callers
Method
configureForClient
* Configure client-specific behavior * Call this BEFORE enableNotifications()
src/custom-stdio.ts:100
↓ 1 callers
Method
connectionState
()
test/test-remote-channel-reconnect.js:79
↓ 1 callers
Function
convertRawImageToBase64
* Convert raw image data to compressed base64 using sharp
src/tools/pdf/extract-images.ts:137
↓ 1 callers
Function
countDifferingLines
(a, b)
test/test-markdown-editor-edit-diff.js:193
↓ 1 callers
Function
countOccurrences
* Count occurrences of a pattern in text
test/test-literal-search.js:179
↓ 1 callers
Function
createArrayModalController
(options: CreateArrayModalControllerOptions)
src/ui/config-editor/src/array-modal.ts:46
↓ 1 callers
Function
createConfigBackup
(configPath)
uninstall-claude-server.js:434
↓ 1 callers
Function
createConfigEditorController
(callTool: ToolCall, trackConfigUiEvent?: TrackConfigUiEvent)
src/ui/config-editor/src/app.ts:359
↓ 1 callers
Function
createConflictDialogController
(options: CreateConflictDialogOptions)
src/ui/file-preview/src/markdown/conflict-dialog.ts:79
↓ 1 callers
Function
createDocxFileContent
(workflowId, editCount)
test/integration/edit-block-performance.js:132
↓ 1 callers
Function
createFileURL
(filePath: string)
src/npm-scripts/uninstall.ts:10
↓ 1 callers
Function
createFileURL
(filePath: string)
src/npm-scripts/setup.ts:10
↓ 1 callers
Function
createFuzzyPythonFileContent
(workflowId, exactTarget)
test/integration/edit-block-performance.js:146
↓ 1 callers
Function
createLargeFileContent
(workflowId, editCount)
test/integration/edit-block-performance.js:68
↓ 1 callers
Function
createLargePythonFileContent
(workflowId, editCount)
test/integration/edit-block-performance.js:102
↓ 1 callers
Function
createMcpClient
()
test/integration/edit-block-performance.js:759
↓ 1 callers
Function
createMcpClient
()
test/integration/read-file-unknown-params.js:39
↓ 1 callers
Function
createMinimalDocxZip
(documentXml: string)
src/utils/files/docx.ts:445
↓ 1 callers
Function
createMockSessionStorage
()
test/test-widget-state-runtime.js:6
↓ 1 callers
Function
createSlowResponseServer
Create a TCP server that deliberately delays the HTTP response
test/test-feature-flags-timeout.js:36
↓ 1 callers
Function
createToolBridge
(options: ToolBridgeOptions = {})
src/ui/shared/tool-bridge.ts:97
↓ 1 callers
Function
createToolShellController
(options: CreateToolShellControllerOptions)
src/ui/shared/tool-shell.ts:50
↓ 1 callers
Function
createWidgetInstanceId
()
src/ui/shared/widget-state.ts:23
↓ 1 callers
Function
deletePages
* Delete pages from a PDF document * @param pdfDoc PDF document to delete pages from * @param pageIndexes Page indices to delete, negative indices a
src/tools/pdf/manipulations.ts:31
← previous
next →
401–500 of 1,250, ranked by callers