MCPcopy Create free account

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

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

↓ 1 callersFunctiongetRepairedPathExt
* 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 callersFunctiongetRequestHandler
(method)
test/test-ui-event-tracking.js:9
↓ 1 callersFunctiongetSessionStorage
()
src/ui/shared/widget-state.ts:83
↓ 1 callersFunctiongetShellOptions
(payload: ConfigEditorPayload | null, currentShell: string)
src/ui/config-editor/src/app.ts:330
↓ 1 callersFunctiongetShellSpawnArgs
* Get the appropriate spawn configuration for a given shell * This handles login shell flags for different shell types
src/terminal-manager.ts:89
↓ 1 callersFunctiongetSimilarityRatio
(a: string, b: string)
src/tools/fuzzySearchCore.ts:164
↓ 1 callersFunctiongetSupportedParams
(schema: unknown)
src/utils/unsupportedParams.ts:40
↓ 1 callersFunctiongetTarget
()
scripts/ripgrep-wrapper.js:19
↓ 1 callersFunctiongetTelemetryToolName
(payload: RenderPayload | undefined)
src/ui/file-preview/src/app.ts:51
↓ 1 callersFunctiongetTextHandler
()
src/utils/files/factory.ts:38
↓ 1 callersFunctiongetTrackingProperties
(additionalProps = {})
uninstall-claude-server.js:182
↓ 1 callersFunctiongetUsageStats
()
src/tools/usage.ts:7
↓ 1 callersMethodgetUsageSummary
* Get usage summary for debugging/admin purposes
src/utils/usageTracker.ts:365
↓ 1 callersFunctiongetVariant
(experimentName)
test/ab-test.test.js:56
↓ 1 callersFunctiongiveFeedbackToDesktopCommander
(params: FeedbackParams = {})
src/tools/feedback.ts:19
↓ 1 callersFunctiongoHalfOpenThenDrive
(rc, client)
test/test-remote-channel-reconnect.js:214
↓ 1 callersMethodhandleNewToolCall
(payload: any)
src/remote-device/device.ts:262
↓ 1 callersFunctionhandleWelcomePageOnboarding
()
src/utils/welcome-onboarding.ts:16
↓ 1 callersFunctionhandleWriteFile
(args: unknown)
src/handlers/filesystem-handlers.ts:286
↓ 1 callersFunctionhashCode
(str)
test/ab-test.test.js:45
↓ 1 callersFunctionhashCode
(str: string)
src/utils/ab-test.ts:140
↓ 1 callersFunctionhighlightDifferences
* 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 callersFunctionhunkIntersectsRanges
(hunk: DiffHunk, ranges: MarkdownEditRange[])
src/ui/file-preview/src/markdown/controller.ts:166
↓ 1 callersFunctioninitConfigFile
* Initialize configuration - load from disk or create default
setup-claude-server.js:36
↓ 1 callersMethodinitialize
* Initialize - load from cache and start background refresh
src/utils/feature-flags.ts:42
↓ 1 callersFunctioninitializeErrorHandlers
()
uninstall-claude-server.js:340
↓ 1 callersFunctioninlineTemplateAssets
(templateHtml: string, css: string, runtime: string)
src/ui/resources.ts:48
↓ 1 callersFunctioninsertPages
(destPdfDocument: PDFDocumentType, pageIndex: number, sourcePdfDocument: PDFDocumentType)
src/tools/pdf/manipulations.ts:79
↓ 1 callersFunctioninstallChrome
* Download and install Chrome using @puppeteer/browsers * Returns the executable path after installation
src/tools/pdf/markdown.ts:171
↓ 1 callersFunctionisChatGPT
()
src/ui/shared/widget-state.ts:98
↓ 1 callersFunctionisDebugMode
()
setup-claude-server.js:479
↓ 1 callersFunctionisExternalHref
(rawHref: string)
src/ui/file-preview/src/markdown/linking.ts:184
↓ 1 callersFunctionisFragileLink
* 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 callersFunctionisHelperUnavailableError
(error: unknown)
src/ui/shared/tool-bridge.ts:80
↓ 1 callersFunctionisMissingFileErrorResult
(result: unknown)
src/ui/file-preview/src/markdown/controller.ts:301
↓ 1 callersMethodisNewSession
* Check if we're in a new session
src/utils/usageTracker.ts:123
↓ 1 callersFunctionisPathAllowed
* 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 callersFunctionisToolErrorResult
(value: unknown)
src/ui/file-preview/src/markdown/controller.ts:297
↓ 1 callersFunctionisUrl
(source: string)
src/tools/pdf/markdown.ts:9
↓ 1 callersFunctionkillProcess
(args: unknown)
src/tools/process.ts:42
↓ 1 callersMethodlistActiveSessions
()
src/terminal-manager.ts:739
↓ 1 callersMethodlistClientTools
()
src/remote-device/desktop-commander-integration.ts:145
↓ 1 callersFunctionlistProcesses
()
src/tools/process.ts:9
↓ 1 callersFunctionlistRecursive
(currentPath: string, currentDepth: number, relativePath: string = '', isTopLevel: boolean = true)
src/tools/filesystem.ts:712
↓ 1 callersFunctionlistSessions
()
src/tools/improved-process-tools.ts:697
↓ 1 callersFunctionlistUiResources
()
src/ui/resources.ts:101
↓ 1 callersMethodloadConfig
* Alias for init() to maintain backward compatibility
src/config-manager.ts:102
↓ 1 callersMethodloadFromCache
* Load flags from local cache
src/utils/feature-flags.ts:139
↓ 1 callersMethodloadFromDisk
* Load history from disk (all instances share the same file)
src/utils/toolHistory.ts:67
↓ 1 callersFunctionloadFullDocument
(payload: RenderPayload, options: { keepEditMode?: boolean } = {})
src/ui/file-preview/src/markdown/controller.ts:645
↓ 1 callersFunctionloadLinkHeadings
(currentPayloadPath: string, targetPath: string)
src/ui/file-preview/src/markdown/controller.ts:519
↓ 1 callersFunctionloadPdfToBuffer
(source: string)
src/tools/pdf/markdown.ts:262
↓ 1 callersMethodloadPersistedConfig
()
src/remote-device/device.ts:185
↓ 1 callersFunctionmain
* Main execution
track-installation.js:367
↓ 1 callersFunctionmain
()
test/test-feature-flags-timeout.js:373
↓ 1 callersFunctionmain
()
test/test-pdf-chrome-cache.js:54
↓ 1 callersFunctionmain
()
test/test-pdf-parsing.js:145
↓ 1 callersFunctionmain
()
test/test-pdf-creation.js:21
↓ 1 callersFunctionmain
* Main function
test/run-all-tests.js:216
↓ 1 callersFunctionmain
()
test/test-remote-channel-reconnect.js:219
↓ 1 callersFunctionmain
()
test/integration/edit-block-performance.js:836
↓ 1 callersFunctionmain
()
test/integration/read-file-unknown-params.js:83
↓ 1 callersFunctionmain
()
test/integration/terminal-output-buffer-leak.js:54
↓ 1 callersFunctionmain
()
test/integration/run-all-integration-tests.js:49
↓ 1 callersFunctionmain
()
scripts/validate-tools-sync.js:122
↓ 1 callersFunctionmain
()
scripts/build-ui-runtime.cjs:80
↓ 1 callersFunctionmain
()
scripts/count-tokens.js:99
↓ 1 callersFunctionmain
()
scripts/download-all-ripgrep.cjs:185
↓ 1 callersMethodmarkCallExecuting
(callId: string)
src/remote-device/remote-channel.ts:364
↓ 1 callersMethodmarkFeedbackGiven
* Mark that user has given feedback
src/utils/usageTracker.ts:357
↓ 1 callersMethodmarkFeedbackPrompted
* Mark that user was prompted for feedback
src/utils/usageTracker.ts:338
↓ 1 callersMethodmarkOnboardingPromptsUsed
* Mark that user used prompts after seeing onboarding invitation - SIMPLE VERSION
src/utils/usageTracker.ts:548
↓ 1 callersMethodmarkOnboardingShown
* Mark that onboarding message was shown - SIMPLE VERSION
src/utils/usageTracker.ts:533
↓ 1 callersMethodmarkPromptUsed
* Mark that user has used a specific prompt (for analytics)
src/utils/usageTracker.ts:558
↓ 1 callersFunctionmarkReady
()
src/ui/config-editor/src/app.ts:801
↓ 1 callersFunctionmarkdownTargetOffset
(editNumber)
test/integration/edit-block-performance.js:222
↓ 1 callersFunctionmergeCloseHunks
(hunks: DiffHunk[], minGap: number)
src/ui/file-preview/src/markdown/controller.ts:125
↓ 1 callersFunctionmockCapture
(event, properties)
test/test-error-sanitization.js:137
↓ 1 callersFunctionmountMarkdownEditor
(options: { target: HTMLElement; value: string; view: MarkdownEditorView; initialScrollTop?: n
src/ui/file-preview/src/markdown/editor.ts:1015
↓ 1 callersFunctionmoveFile
(sourcePath: string, destinationPath: string)
src/tools/filesystem.ts:774
↓ 1 callersFunctionnavigateLink
(payload: RenderPayload, href: string)
src/ui/file-preview/src/markdown/controller.ts:695
↓ 1 callersFunctionnodeREPLExample
()
test/enhanced-repl-example.js:76
↓ 1 callersFunctionnodeREPLExample
()
test/repl-via-terminal-example.js:81
↓ 1 callersFunctionnormalizePageIndexes
(pageIndexes: number[], pageCount: number)
src/tools/pdf/utils.ts:5
↓ 1 callersFunctionnormalizeTargetOrigin
(value: string)
src/ui/shared/tool-bridge.ts:53
↓ 1 callersFunctionnormalizeToolArgs
(args: ToolArgs | undefined)
src/ui/shared/tool-bridge.ts:69
↓ 1 callersFunctionnormalizeUiEventParams
(params: Record<string, unknown> | undefined)
src/ui/shared/ui-event-tracker.ts:12
↓ 1 callersFunctionopen
(entry: ArrayModalEntry)
src/ui/config-editor/src/array-modal.ts:177
↓ 1 callersFunctionopenBrowser
(url: string)
src/utils/open-browser.ts:9
↓ 1 callersFunctionopenLinkModalForSelection
()
src/ui/file-preview/src/markdown/editor.ts:1273
↓ 1 callersFunctionopenUrlInBrowser
* Open URL in default browser (cross-platform)
src/tools/feedback.ts:131
↓ 1 callersFunctionopenWelcomePage
()
src/utils/open-browser.ts:43
↓ 1 callersFunctionparseArgs
()
scripts/publish-release.cjs:161
↓ 1 callersFunctionparseDraftArrayValues
(draft: string)
src/ui/config-editor/src/app.ts:288
↓ 1 callersFunctionparseDraftValue
(rawValue: string, valueType: string)
src/ui/config-editor/src/app.ts:204
↓ 1 callersFunctionparseFileSearchResults
(text: string)
src/ui/file-preview/src/markdown/controller.ts:69
↓ 1 callersMethodparseLine
(line: string, searchType: 'files' | 'content')
src/search-manager.ts:955
↓ 1 callersFunctionpdf2md
(pdfBuffer: Uint8Array, pageNumbers: number[] | PageRange = [])
src/tools/pdf/lib/pdf2md.ts:70
↓ 1 callersFunctionperformSearchReplace
(filePath: string, block: SearchReplace, expectedReplacements: number = 1)
src/tools/edit.ts:116
↓ 1 callersMethodpollForAuthorization
(deviceAuth: DeviceAuthResponse, codeVerifier: string)
src/remote-device/device-authenticator.ts:112
← previousnext →601–700 of 1,250, ranked by callers