MCPcopy Create free account

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

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

↓ 1 callersFunctionrunTests
()
test/test-markdown-preview.js:559
↓ 1 callersFunctionrunTests
()
test/test-blocked-commands.js:274
↓ 1 callersFunctionrunTests
()
test/test.js:75
↓ 1 callersFunctionrunTests
()
test/test-ui-event-tracking.js:57
↓ 1 callersFunctionrunTests
()
test/test-file-preview-directory-runtime.js:28
↓ 1 callersFunctionrunTests
()
test/test-excel-files.js:393
↓ 1 callersFunctionrunTests
()
test/test-blocklist-bypass.js:9
↓ 1 callersFunctionrunTests
()
test/test-allowed-directories.js:389
↓ 1 callersFunctionrunTests
()
test/test-default-shell.js:396
↓ 1 callersFunctionrunTests
()
test/test-read-completed-process.js:76
↓ 1 callersFunctionrunUninstall
()
src/npm-scripts/uninstall.ts:26
↓ 1 callersFunctionsanitizeSlugPart
(text: string)
src/ui/file-preview/src/markdown/slugify.ts:3
↓ 1 callersFunctionsanitizeTelemetryErrorMessage
(message: string)
src/ui/config-editor/src/app.ts:62
↓ 1 callersMethodsavePersistedConfig
()
src/remote-device/device.ts:216
↓ 1 callersFunctionsaveState
(state)
scripts/publish-release.cjs:68
↓ 1 callersMethodsaveToCache
* Save flags to local cache
src/utils/feature-flags.ts:224
↓ 1 callersFunctionscheduleAutosave
()
src/ui/file-preview/src/markdown/controller.ts:320
↓ 1 callersFunctionsearch
(currentPath: string)
src/tools/filesystem.ts:851
↓ 1 callersFunctionsearchAndWaitForCompletion
* Helper function to wait for search completion and get all results
test/test_search_truncation.js:7
↓ 1 callersFunctionsearchAndWaitForCompletion
* Helper function to wait for search completion and get all results
test/test_improved_search_truncation.js:7
↓ 1 callersMethodsearchDocxFiles
* Search DOCX files for content matches * Extracts <w:t> text from document.xml and searches it
src/search-manager.ts:523
↓ 1 callersMethodsearchExcelFiles
* Search Excel files for content matches * Called during content search to include Excel files alongside text files * Searches ALL sheets in eac
src/search-manager.ts:341
↓ 1 callersFunctionsearchFilesNodeJS
(rootPath: string, pattern: string)
src/tools/filesystem.ts:848
↓ 1 callersFunctionsearchLinkTargets
(filePath: string, query: string)
src/ui/file-preview/src/markdown/controller.ts:484
↓ 1 callersFunctionsendToTelemetryProxy
(event: string, eventProperties: any)
src/utils/capture.ts:408
↓ 1 callersFunctionsetButtonState
(button: HTMLElement, label: string, fallbackLabel: string, revertMs?: number)
src/ui/file-preview/src/panel-actions.ts:38
↓ 1 callersFunctionsetCurrentCallIsRemote
* Set whether the current tool call is from a remote device. * Called once per tool call by the CallTool handler.
src/server.ts:153
↓ 1 callersFunctionsetIconButtonState
(button: HTMLElement, label: string, fallbackLabel: string, revertMs?: number)
src/ui/file-preview/src/panel-actions.ts:51
↓ 1 callersMethodsetOffline
(deviceId: string | undefined)
src/remote-device/remote-channel.ts:474
↓ 1 callersFunctionsetPayload
(payload: ConfigEditorPayload | null)
src/ui/config-editor/src/app.ts:373
↓ 1 callersFunctionsetup
()
setup-claude-server.js:651
↓ 1 callersFunctionsetup
* Setup function
test/test-file-handlers.js:53
↓ 1 callersFunctionsetup
()
test/test-line-count.js:16
↓ 1 callersFunctionsetup
* Setup function to prepare for tests
test/test-repl-interaction.js:29
↓ 1 callersFunctionsetup
* Setup function to prepare the test environment
test/test-edit-block-line-endings.js:57
↓ 1 callersFunctionsetup
* Setup function to prepare the test environment
test/test-directory-creation.js:47
↓ 1 callersFunctionsetup
* Setup function to prepare the test environment
test/test-edit-block-occurrences.js:32
↓ 1 callersFunctionsetup
* Setup function to prepare the test environment
test/test-home-directory.js:59
↓ 1 callersFunctionsetup
* Setup function to prepare the test environment
test/test-blocked-commands.js:112
↓ 1 callersFunctionsetup
()
test/test.js:13
↓ 1 callersFunctionsetup
* Setup function to prepare literal search test environment
test/test-literal-search.js:71
↓ 1 callersFunctionsetup
* Setup function to prepare test environment
test/test-negative-offset-readfile.js:28
↓ 1 callersFunctionsetup
* Setup function to prepare the test environment
test/test-excel-files.js:47
↓ 1 callersFunctionsetup
* Setup function to prepare test environment
test/test-search-code.js:75
↓ 1 callersFunctionsetup
* Setup function to prepare the test environment
test/test-allowed-directories.js:74
↓ 1 callersFunctionsetup
* Setup function to prepare the test environment
test/test-default-shell.js:132
↓ 1 callersFunctionsetup
* Setup test environment
test/test-symlink-security.js:40
↓ 1 callersFunctionsetup
(client)
test/integration/edit-block-performance.js:794
↓ 1 callersFunctionsetup
(client)
test/integration/read-file-unknown-params.js:56
↓ 1 callersMethodsetupConsoleRedirection
()
src/custom-stdio.ts:126
↓ 1 callersFunctionsetupEdgeCases
* Setup function for edge case tests
test/test-search-code-edge-cases.js:71
↓ 1 callersMethodsetupProcessHandlers
(session: SearchSession)
src/search-manager.ts:813
↓ 1 callersMethodsetupShutdownHandlers
()
src/remote-device/device.ts:40
↓ 1 callersMethodsetupStdoutFiltering
()
src/custom-stdio.ts:189
↓ 1 callersMethodshouldIncludeDocxSearch
* Determine if DOCX search should be included based on context
src/search-manager.ts:497
↓ 1 callersMethodshouldIncludeExcelSearch
* Determine if Excel search should be included based on context * Only searches Excel files when: * - filePattern explicitly targets Excel files
src/search-manager.ts:707
↓ 1 callersFunctionshouldIncludeTool
* Check if a tool should be included based on current client
src/server.ts:248
↓ 1 callersFunctionshouldPromptForDockerInfo
()
src/utils/dockerPrompt.ts:12
↓ 1 callersMethodshouldPromptForFeedback
* Check if user should be prompted for feedback based on usage patterns
src/utils/usageTracker.ts:218
↓ 1 callersFunctionshouldShowMcpUiPreviews
()
src/utils/mcp-ui-ab-test.ts:68
↓ 1 callersMethodshouldShowOnboarding
* Check if user should see onboarding invitation - SIMPLE VERSION
src/utils/usageTracker.ts:419
↓ 1 callersFunctionshowError
(message: string)
src/ui/config-editor/src/array-modal.ts:68
↓ 1 callersFunctionshowHelp
()
scripts/publish-release.cjs:245
↓ 1 callersFunctionshowHint
(selection: Selection)
src/ui/file-preview/src/host/selection-context.ts:48
↓ 1 callersFunctionshowLinkPopover
(anchor: HTMLAnchorElement)
src/ui/file-preview/src/markdown/editor.ts:1405
↓ 1 callersFunctionsimplePythonTest
()
test/simple-python-test.js:8
↓ 1 callersFunctionsleep
(ms)
test/integration/terminal-output-buffer-leak.js:52
↓ 1 callersFunctionsplitHref
(rawHref: string)
src/ui/file-preview/src/markdown/linking.ts:148
↓ 1 callersMethodsplitLinesPreservingEndings
* Split text into lines while preserving line endings * Made static and public for use by other modules (e.g., readFileInternal in filesystem.ts)
src/utils/files/text.ts:173
↓ 1 callersFunctionsplitListingLines
(text: string)
src/ui/file-preview/src/markdown/controller.ts:65
↓ 1 callersFunctionsplitOversizedEditBlocks
(blocks: EditBlock[])
src/ui/file-preview/src/markdown/controller.ts:245
↓ 1 callersFunctionsplitTopLevelElements
* Split XML into top-level elements respecting nesting depth. * E.g. for body content, returns each direct child element as a string.
src/utils/files/docx.ts:353
↓ 1 callersFunctionstartCleanupIfNeeded
* Start cleanup interval - now runs on fixed schedule
src/search-manager.ts:1011
↓ 1 callersMethodstartHeartbeat
(deviceId: string)
src/remote-device/remote-channel.ts:422
↓ 1 callersMethodstartWriteProcessor
* Async write processor - batches writes to avoid blocking
src/utils/toolHistory.ts:175
↓ 1 callersMethodstopHeartbeat
()
src/remote-device/remote-channel.ts:435
↓ 1 callersMethodsubscribe
(cb)
test/test-remote-channel-reconnect.js:47
↓ 1 callersFunctionsyncChromeState
()
src/ui/file-preview/src/app.ts:398
↓ 1 callersFunctionsyncExpandButton
(toggleButton: HTMLButtonElement | null, expanded: boolean)
src/ui/shared/tool-shell.ts:32
↓ 1 callersFunctionsyncModelContext
(reason: string, change?: { key: string; value: unknown })
src/ui/config-editor/src/app.ts:861
↓ 1 callersFunctionsyncShellClasses
(shell: HTMLElement | null, expanded: boolean)
src/ui/shared/tool-shell.ts:42
↓ 1 callersFunctionteardown
* Teardown function * Always runs cleanup, restores config only if provided
test/test-file-handlers.js:70
↓ 1 callersFunctionteardown
* Teardown function to clean up after tests
test/test-repl-interaction.js:48
↓ 1 callersFunctionteardown
* Teardown function to clean up after tests
test/test-edit-block-line-endings.js:93
↓ 1 callersFunctionteardown
* Teardown function to clean up after tests
test/test-directory-creation.js:68
↓ 1 callersFunctionteardown
* Teardown function to clean up after tests
test/test-edit-block-occurrences.js:71
↓ 1 callersFunctionteardown
* Teardown function to clean up after tests
test/test-home-directory.js:76
↓ 1 callersFunctionteardown
* Teardown function to clean up after tests
test/test-blocked-commands.js:132
↓ 1 callersFunctionteardown
* Teardown function to clean up after tests
test/test.js:23
↓ 1 callersFunctionteardown
* Teardown function to clean up after tests
test/test-literal-search.js:155
↓ 1 callersFunctionteardown
* Teardown function to clean up after tests
test/test-negative-offset-readfile.js:53
↓ 1 callersFunctionteardown
* Teardown function to clean up after tests
test/test-excel-files.js:68
↓ 1 callersFunctionteardown
* Teardown function to clean up after tests
test/test-search-code.js:151
↓ 1 callersFunctionteardown
* Teardown function to clean up after tests
test/test-allowed-directories.js:98
↓ 1 callersFunctionteardown
* Teardown function to clean up after tests
test/test-default-shell.js:146
↓ 1 callersFunctionteardown
(client, originalConfig)
test/integration/edit-block-performance.js:828
↓ 1 callersFunctionteardown
(client, originalConfig)
test/integration/read-file-unknown-params.js:76
↓ 1 callersFunctionteardownEdgeCases
* Teardown function for edge case tests
test/test-search-code-edge-cases.js:113
↓ 1 callersFunctiontestAbsoluteOffset
* Test 2: Positive offset (absolute position)
test/test-process-pagination.js:61
↓ 1 callersFunctiontestAllowedDirectories
* Main test function
test/test-allowed-directories.js:364
← previousnext →801–900 of 1,250, ranked by callers