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
↓ 1 callers
Function
getRepairedPathExt
* Return a healthy PATHEXT for spawned Windows shells. * - Unset -> use the standard list. * - Missing ".EXE" -> corrupted; merge the sta
src/terminal-manager.ts:28
↓ 1 callers
Function
getRequestHandler
(method)
test/test-ui-event-tracking.js:9
↓ 1 callers
Function
getSessionStorage
()
src/ui/shared/widget-state.ts:83
↓ 1 callers
Function
getShellOptions
(payload: ConfigEditorPayload | null, currentShell: string)
src/ui/config-editor/src/app.ts:330
↓ 1 callers
Function
getShellSpawnArgs
* Get the appropriate spawn configuration for a given shell * This handles login shell flags for different shell types
src/terminal-manager.ts:89
↓ 1 callers
Function
getSimilarityRatio
(a: string, b: string)
src/tools/fuzzySearchCore.ts:164
↓ 1 callers
Function
getSupportedParams
(schema: unknown)
src/utils/unsupportedParams.ts:40
↓ 1 callers
Function
getTarget
()
scripts/ripgrep-wrapper.js:19
↓ 1 callers
Function
getTelemetryToolName
(payload: RenderPayload | undefined)
src/ui/file-preview/src/app.ts:51
↓ 1 callers
Function
getTextHandler
()
src/utils/files/factory.ts:38
↓ 1 callers
Function
getTrackingProperties
(additionalProps = {})
uninstall-claude-server.js:182
↓ 1 callers
Function
getUsageStats
()
src/tools/usage.ts:7
↓ 1 callers
Method
getUsageSummary
* Get usage summary for debugging/admin purposes
src/utils/usageTracker.ts:365
↓ 1 callers
Function
getVariant
(experimentName)
test/ab-test.test.js:56
↓ 1 callers
Function
giveFeedbackToDesktopCommander
(params: FeedbackParams = {})
src/tools/feedback.ts:19
↓ 1 callers
Function
goHalfOpenThenDrive
(rc, client)
test/test-remote-channel-reconnect.js:214
↓ 1 callers
Method
handleNewToolCall
(payload: any)
src/remote-device/device.ts:262
↓ 1 callers
Function
handleWelcomePageOnboarding
()
src/utils/welcome-onboarding.ts:16
↓ 1 callers
Function
handleWriteFile
(args: unknown)
src/handlers/filesystem-handlers.ts:286
↓ 1 callers
Function
hashCode
(str)
test/ab-test.test.js:45
↓ 1 callers
Function
hashCode
(str: string)
src/utils/ab-test.ts:140
↓ 1 callers
Function
highlightDifferences
* Generates a character-level diff using standard {-removed-}{+added+} format * @param expected The string that was searched for * @param actual The
src/tools/edit.ts:352
↓ 1 callers
Function
hunkIntersectsRanges
(hunk: DiffHunk, ranges: MarkdownEditRange[])
src/ui/file-preview/src/markdown/controller.ts:166
↓ 1 callers
Function
initConfigFile
* Initialize configuration - load from disk or create default
setup-claude-server.js:36
↓ 1 callers
Method
initialize
* Initialize - load from cache and start background refresh
src/utils/feature-flags.ts:42
↓ 1 callers
Function
initializeErrorHandlers
()
uninstall-claude-server.js:340
↓ 1 callers
Function
inlineTemplateAssets
(templateHtml: string, css: string, runtime: string)
src/ui/resources.ts:48
↓ 1 callers
Function
insertPages
(destPdfDocument: PDFDocumentType, pageIndex: number, sourcePdfDocument: PDFDocumentType)
src/tools/pdf/manipulations.ts:79
↓ 1 callers
Function
installChrome
* Download and install Chrome using @puppeteer/browsers * Returns the executable path after installation
src/tools/pdf/markdown.ts:171
↓ 1 callers
Function
isChatGPT
()
src/ui/shared/widget-state.ts:98
↓ 1 callers
Function
isDebugMode
()
setup-claude-server.js:479
↓ 1 callers
Function
isExternalHref
(rawHref: string)
src/ui/file-preview/src/markdown/linking.ts:184
↓ 1 callers
Function
isFragileLink
* Decide whether a markdown inline link will be mangled by Tiptap, in * which case we should placeholder it during preprocess. * * Two failure mode
src/ui/file-preview/src/markdown/editor.ts:113
↓ 1 callers
Function
isHelperUnavailableError
(error: unknown)
src/ui/shared/tool-bridge.ts:80
↓ 1 callers
Function
isMissingFileErrorResult
(result: unknown)
src/ui/file-preview/src/markdown/controller.ts:301
↓ 1 callers
Method
isNewSession
* Check if we're in a new session
src/utils/usageTracker.ts:123
↓ 1 callers
Function
isPathAllowed
* Checks if a path is within any of the allowed directories * * @param pathToCheck Path to check * @returns boolean True if path is allowed
src/tools/filesystem.ts:169
↓ 1 callers
Function
isToolErrorResult
(value: unknown)
src/ui/file-preview/src/markdown/controller.ts:297
↓ 1 callers
Function
isUrl
(source: string)
src/tools/pdf/markdown.ts:9
↓ 1 callers
Function
killProcess
(args: unknown)
src/tools/process.ts:42
↓ 1 callers
Method
listActiveSessions
()
src/terminal-manager.ts:739
↓ 1 callers
Method
listClientTools
()
src/remote-device/desktop-commander-integration.ts:145
↓ 1 callers
Function
listProcesses
()
src/tools/process.ts:9
↓ 1 callers
Function
listRecursive
(currentPath: string, currentDepth: number, relativePath: string = '', isTopLevel: boolean = true)
src/tools/filesystem.ts:712
↓ 1 callers
Function
listSessions
()
src/tools/improved-process-tools.ts:697
↓ 1 callers
Function
listUiResources
()
src/ui/resources.ts:101
↓ 1 callers
Method
loadConfig
* Alias for init() to maintain backward compatibility
src/config-manager.ts:102
↓ 1 callers
Method
loadFromCache
* Load flags from local cache
src/utils/feature-flags.ts:139
↓ 1 callers
Method
loadFromDisk
* Load history from disk (all instances share the same file)
src/utils/toolHistory.ts:67
↓ 1 callers
Function
loadFullDocument
(payload: RenderPayload, options: { keepEditMode?: boolean } = {})
src/ui/file-preview/src/markdown/controller.ts:645
↓ 1 callers
Function
loadLinkHeadings
(currentPayloadPath: string, targetPath: string)
src/ui/file-preview/src/markdown/controller.ts:519
↓ 1 callers
Function
loadPdfToBuffer
(source: string)
src/tools/pdf/markdown.ts:262
↓ 1 callers
Method
loadPersistedConfig
()
src/remote-device/device.ts:185
↓ 1 callers
Function
main
* Main execution
track-installation.js:367
↓ 1 callers
Function
main
()
test/test-feature-flags-timeout.js:373
↓ 1 callers
Function
main
()
test/test-pdf-chrome-cache.js:54
↓ 1 callers
Function
main
()
test/test-pdf-parsing.js:145
↓ 1 callers
Function
main
()
test/test-pdf-creation.js:21
↓ 1 callers
Function
main
* Main function
test/run-all-tests.js:216
↓ 1 callers
Function
main
()
test/test-remote-channel-reconnect.js:219
↓ 1 callers
Function
main
()
test/integration/edit-block-performance.js:836
↓ 1 callers
Function
main
()
test/integration/read-file-unknown-params.js:83
↓ 1 callers
Function
main
()
test/integration/terminal-output-buffer-leak.js:54
↓ 1 callers
Function
main
()
test/integration/run-all-integration-tests.js:49
↓ 1 callers
Function
main
()
scripts/validate-tools-sync.js:122
↓ 1 callers
Function
main
()
scripts/build-ui-runtime.cjs:80
↓ 1 callers
Function
main
()
scripts/count-tokens.js:99
↓ 1 callers
Function
main
()
scripts/download-all-ripgrep.cjs:185
↓ 1 callers
Method
markCallExecuting
(callId: string)
src/remote-device/remote-channel.ts:364
↓ 1 callers
Method
markFeedbackGiven
* Mark that user has given feedback
src/utils/usageTracker.ts:357
↓ 1 callers
Method
markFeedbackPrompted
* Mark that user was prompted for feedback
src/utils/usageTracker.ts:338
↓ 1 callers
Method
markOnboardingPromptsUsed
* Mark that user used prompts after seeing onboarding invitation - SIMPLE VERSION
src/utils/usageTracker.ts:548
↓ 1 callers
Method
markOnboardingShown
* Mark that onboarding message was shown - SIMPLE VERSION
src/utils/usageTracker.ts:533
↓ 1 callers
Method
markPromptUsed
* Mark that user has used a specific prompt (for analytics)
src/utils/usageTracker.ts:558
↓ 1 callers
Function
markReady
()
src/ui/config-editor/src/app.ts:801
↓ 1 callers
Function
markdownTargetOffset
(editNumber)
test/integration/edit-block-performance.js:222
↓ 1 callers
Function
mergeCloseHunks
(hunks: DiffHunk[], minGap: number)
src/ui/file-preview/src/markdown/controller.ts:125
↓ 1 callers
Function
mockCapture
(event, properties)
test/test-error-sanitization.js:137
↓ 1 callers
Function
mountMarkdownEditor
(options: { target: HTMLElement; value: string; view: MarkdownEditorView; initialScrollTop?: n
src/ui/file-preview/src/markdown/editor.ts:1015
↓ 1 callers
Function
moveFile
(sourcePath: string, destinationPath: string)
src/tools/filesystem.ts:774
↓ 1 callers
Function
navigateLink
(payload: RenderPayload, href: string)
src/ui/file-preview/src/markdown/controller.ts:695
↓ 1 callers
Function
nodeREPLExample
()
test/enhanced-repl-example.js:76
↓ 1 callers
Function
nodeREPLExample
()
test/repl-via-terminal-example.js:81
↓ 1 callers
Function
normalizePageIndexes
(pageIndexes: number[], pageCount: number)
src/tools/pdf/utils.ts:5
↓ 1 callers
Function
normalizeTargetOrigin
(value: string)
src/ui/shared/tool-bridge.ts:53
↓ 1 callers
Function
normalizeToolArgs
(args: ToolArgs | undefined)
src/ui/shared/tool-bridge.ts:69
↓ 1 callers
Function
normalizeUiEventParams
(params: Record<string, unknown> | undefined)
src/ui/shared/ui-event-tracker.ts:12
↓ 1 callers
Function
open
(entry: ArrayModalEntry)
src/ui/config-editor/src/array-modal.ts:177
↓ 1 callers
Function
openBrowser
(url: string)
src/utils/open-browser.ts:9
↓ 1 callers
Function
openLinkModalForSelection
()
src/ui/file-preview/src/markdown/editor.ts:1273
↓ 1 callers
Function
openUrlInBrowser
* Open URL in default browser (cross-platform)
src/tools/feedback.ts:131
↓ 1 callers
Function
openWelcomePage
()
src/utils/open-browser.ts:43
↓ 1 callers
Function
parseArgs
()
scripts/publish-release.cjs:161
↓ 1 callers
Function
parseDraftArrayValues
(draft: string)
src/ui/config-editor/src/app.ts:288
↓ 1 callers
Function
parseDraftValue
(rawValue: string, valueType: string)
src/ui/config-editor/src/app.ts:204
↓ 1 callers
Function
parseFileSearchResults
(text: string)
src/ui/file-preview/src/markdown/controller.ts:69
↓ 1 callers
Method
parseLine
(line: string, searchType: 'files' | 'content')
src/search-manager.ts:955
↓ 1 callers
Function
pdf2md
(pdfBuffer: Uint8Array, pageNumbers: number[] | PageRange = [])
src/tools/pdf/lib/pdf2md.ts:70
↓ 1 callers
Function
performSearchReplace
(filePath: string, block: SearchReplace, expectedReplacements: number = 1)
src/tools/edit.ts:116
↓ 1 callers
Method
pollForAuthorization
(deviceAuth: DeviceAuthResponse, codeVerifier: string)
src/remote-device/device-authenticator.ts:112
← previous
next →
601–700 of 1,250, ranked by callers