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
Function
getConfigEditorResourceText
()
src/ui/resources.ts:86
Function
getCopyText
(payload: RenderPayload)
src/ui/file-preview/src/markdown/controller.ts:1165
Function
getErrorFromPath
* Extract error message from error path
src/handlers/filesystem-handlers.ts:66
Function
getFilePreviewResourceText
()
src/ui/resources.ts:82
Method
getInfo
(path: string)
src/utils/files/text.ts:70
Method
getInfo
(path: string)
src/utils/files/excel.ts:240
Method
getInfo
* Get PDF file information
src/utils/files/pdf.ts:118
Method
getInfo
(path: string)
src/utils/files/binary.ts:49
Method
getInfo
(path: string)
src/utils/files/image.ts:63
Method
getInfo
* Get DOCX file info
src/utils/files/docx.ts:731
Function
getItem
(key)
test/test-widget-state-runtime.js:10
Function
getMarkdown
()
test/test-markdown-editor-edit-diff.js:111
Method
getSession
* Get a session by PID * @param pid Process ID * @returns The session or undefined if not found
src/terminal-manager.ts:713
Function
getStderr
()
test/integration/edit-block-performance.js:788
Function
handleBackdropClick
(event: MouseEvent)
src/ui/file-preview/src/markdown/conflict-dialog.ts:139
Function
handleBlockStyleChange
()
src/ui/file-preview/src/markdown/editor.ts:1381
Function
handleClick
(event: Event)
src/ui/file-preview/src/document-outline.ts:67
Function
handleCompactClick
()
src/ui/shared/tool-shell.ts:122
Function
handleCompactKeydown
(event: KeyboardEvent)
src/ui/shared/tool-shell.ts:126
Function
handleCreateDirectory
(args: unknown)
src/handlers/filesystem-handlers.ts:333
Function
handleFocusOut
(event: FocusEvent)
src/ui/file-preview/src/markdown/editor.ts:1590
Function
handleFocusSync
()
src/ui/file-preview/src/app.ts:551
Function
handleForceTerminate
(args: unknown)
src/handlers/terminal-handlers.ts:45
Function
handleFormatClick
(event: Event)
src/ui/file-preview/src/markdown/editor.ts:1349
Function
handleGetFileInfo
(args: unknown)
src/handlers/filesystem-handlers.ts:424
Function
handleGetRecentToolCalls
(args: unknown)
src/handlers/history-handlers.ts:19
Function
handleInlineExitFromFullscreen
(originalPayload?: RenderPayload)
src/ui/file-preview/src/markdown/controller.ts:1173
Function
handleInput
()
src/ui/file-preview/src/markdown/editor.ts:1585
Function
handleInteractWithProcess
(args: unknown)
src/handlers/terminal-handlers.ts:38
Function
handleKeyDown
(event: KeyboardEvent)
src/ui/file-preview/src/markdown/conflict-dialog.ts:112
Function
handleKeyDown
(event: KeyboardEvent)
src/ui/file-preview/src/markdown/editor.ts:1597
Function
handleKillProcess
(args: unknown)
src/handlers/process-handlers.ts:22
Function
handleLinkApply
()
src/ui/file-preview/src/markdown/editor.ts:1294
Function
handleLinkModeFileClick
()
src/ui/file-preview/src/markdown/editor.ts:1477
Function
handleLinkModeUrlClick
()
src/ui/file-preview/src/markdown/editor.ts:1478
Function
handleListDirectory
(args: unknown)
src/handlers/filesystem-handlers.ts:349
Function
handleListProcesses
()
src/handlers/process-handlers.ts:15
Function
handleListSessions
()
src/handlers/terminal-handlers.ts:53
Function
handleModalBackdropClick
(e: MouseEvent)
src/ui/file-preview/src/markdown/editor.ts:1483
Function
handleMouseOut
(e: MouseEvent)
src/ui/file-preview/src/markdown/editor.ts:1462
Function
handleMouseOver
(e: MouseEvent)
src/ui/file-preview/src/markdown/editor.ts:1456
Function
handleMoveFile
(args: unknown)
src/handlers/filesystem-handlers.ts:381
Function
handlePopoverEnter
()
src/ui/file-preview/src/markdown/editor.ts:1468
Function
handlePopoverLeave
()
src/ui/file-preview/src/markdown/editor.ts:1474
Function
handleReadMultipleFiles
(args: unknown)
src/handlers/filesystem-handlers.ts:223
Function
handleReadProcessOutput
(args: unknown)
src/handlers/terminal-handlers.ts:30
Function
handleSaveMine
()
src/ui/file-preview/src/markdown/conflict-dialog.ts:155
Function
handleScroll
(event?: Event)
src/ui/shared/tool-shell.ts:72
Function
handleSearchInput
()
src/ui/file-preview/src/markdown/editor.ts:1482
Method
handleShutdown
(signal: string)
src/remote-device/device.ts:41
Function
handleStartProcess
(args: unknown)
src/handlers/terminal-handlers.ts:22
Function
handleToggle
()
src/ui/file-preview/src/document-outline.ts:103
Function
handleTrackUiEvent
(args: unknown)
src/handlers/history-handlers.ts:56
Function
handleUseDisk
()
src/ui/file-preview/src/markdown/conflict-dialog.ts:147
Function
handleVisibilitySync
()
src/ui/file-preview/src/app.ts:546
Function
handleWritePdf
(args: unknown)
src/handlers/filesystem-handlers.ts:451
Function
hasFeature
(featureName: string)
src/utils/ab-test.ts:109
Function
highlight
(code: string, language: string)
src/ui/file-preview/src/components/markdown-renderer.ts:9
Method
initialize
()
src/remote-device/desktop-commander-integration.ts:24
Function
insertAt
Insert plain text at a ProseMirror doc position (simulates typing).
test/test-markdown-editor-edit-diff.js:69
Function
isConfigEditorPayload
(value: unknown)
src/ui/config-editor/src/app.ts:101
Method
isConnected
()
test/test-remote-channel-reconnect.js:82
Method
isDocx
(name: string)
src/search-manager.ts:612
Function
isErrorPath
* Helper function to check if path contains an error
src/handlers/filesystem-handlers.ts:59
Function
isImageFile
(path: string)
src/utils/files/factory.ts:122
Method
isNotificationsEnabled
* Check if notifications are enabled
src/custom-stdio.ts:115
Function
listCategories
* List all available categories
src/tools/prompts.ts:124
Method
listCompletedSessions
()
src/terminal-manager.ts:748
Function
listPrompts
* List prompts, optionally filtered by category
src/tools/prompts.ts:154
Method
onData
()
src/search-manager.ts:201
Function
onMessage
(event)
src/ui/shared/tool-bridge.ts:126
Function
read
()
src/ui/shared/widget-state.ts:121
Method
read
(filePath: string, options?: ReadOptions)
src/utils/files/text.ts:53
Method
read
(path: string, options?: ReadOptions)
src/utils/files/excel.ts:40
Method
read
* Read PDF content - extracts text as markdown with images
src/utils/files/pdf.ts:28
Method
read
(filePath: string, options?: ReadOptions)
src/utils/files/binary.ts:33
Method
read
(path: string, options?: ReadOptions)
src/utils/files/image.ts:38
Method
read
* Read DOCX content. * * Default (offset=0, no explicit length or default length): returns outline * With offset/length: returns raw pr
src/utils/files/docx.ts:518
Function
refreshFromDisk
(payload: RenderPayload)
src/ui/file-preview/src/markdown/controller.ts:612
Method
removeAllChannels
()
test/test-remote-channel-reconnect.js:123
Function
removeItem
(key)
test/test-widget-state-runtime.js:16
Function
replaceText
Replace a text fragment in the document. Searches by visible text * content; if the search string isn't found verbatim (e.g. it spans * in
test/test-markdown-editor-edit-diff.js:75
Function
requestEditMode
(payload: RenderPayload)
src/ui/file-preview/src/markdown/controller.ts:748
Method
resetConfig
* Reset configuration to defaults
src/config-manager.ts:252
Method
resetOnboardingState
* Reset onboarding state for testing purposes - SIMPLE VERSION
src/utils/usageTracker.ts:567
Method
resolveOnce
(result: CommandExecutionResult)
src/terminal-manager.ts:297
Function
restartClaude
()
uninstall-claude-server.js:478
Function
roundTripMarkdown
(input: string)
src/ui/file-preview/src/markdown/editor.ts:760
Function
runFuzzySearch
(text: string, query: string)
src/tools/fuzzySearchCore.ts:42
Function
runTests
()
test/test-negative-offset-analysis.js:34
Function
searchFiles
(rootPath: string, pattern: string)
src/tools/filesystem.ts:780
Method
sendCustomNotification
* Send a custom notification with any method name
src/custom-stdio.ts:365
Method
sendProgress
* Send a progress notification (useful for long-running operations)
src/custom-stdio.ts:329
Function
setDraftValue
(value: string)
src/ui/config-editor/src/app.ts:395
Function
setItem
(key, value)
test/test-widget-state-runtime.js:13
Function
setSelection
(key: string)
src/ui/config-editor/src/app.ts:389
Method
shouldPromptForErrorFeedback
* Check if user should be prompted for error feedback
src/utils/usageTracker.ts:311
Method
shutdown
()
src/remote-device/desktop-commander-integration.ts:166
Function
storePayloadOverride
(payload: RenderPayload)
src/ui/file-preview/src/app.ts:74
Function
testAbortControllerBehavior
* Test 1: AbortController behavior on this platform * * Directly tests whether AbortController.abort() can interrupt a fetch * to a black-hole ser
test/test-feature-flags-timeout.js:129
← previous
next →
1,101–1,200 of 1,250, ranked by callers