MCPcopy Create free account

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

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

↓ 2 callersFunctioncountContentLines
(content: string)
src/ui/file-preview/src/payload-utils.ts:117
↓ 2 callersFunctioncountOccurrences
(haystack: string, needle: string)
src/utils/files/docx.ts:491
↓ 2 callersFunctioncreateChromeBuild
(chromeDir, buildDirName)
test/test-pdf-chrome-cache.js:38
↓ 2 callersFunctioncreateCompactRowShellController
(options: CreateCompactRowShellControllerOptions)
src/ui/shared/tool-shell.ts:105
↓ 2 callersFunctioncreateMarkdownIt
(options: { highlight?: (code: string, language: string) => string; } = {})
src/ui/file-preview/src/markdown/parser.ts:42
↓ 2 callersFunctioncreateUiEventTracker
(callTool: ToolCaller, options: UiEventTrackerOptions)
src/ui/shared/ui-event-tracker.ts:28
↓ 2 callersFunctiondeferLog
(level: string, message: string)
src/server.ts:83
↓ 2 callersMethoddisconnect
The fix calls this to force a fresh WebSocket before re-subscribing.
test/test-remote-channel-reconnect.js:92
↓ 2 callersFunctiondocxBodyElement
(text)
test/integration/edit-block-performance.js:193
↓ 2 callersFunctiondriveHealthChecks
Simulate the periodic 10s health checks driving recreate, up to N times.
test/test-remote-channel-reconnect.js:170
↓ 2 callersFunctionemitRawChange
()
src/ui/file-preview/src/markdown/editor.ts:1578
↓ 2 callersFunctionencodePowerShellCommand
(script: string)
src/ui/file-preview/src/host/external-actions.ts:7
↓ 2 callersFunctionescapeXml
(text: string)
src/utils/files/docx.ts:440
↓ 2 callersFunctionexpandHome
(filepath: string)
src/tools/filesystem.ts:130
↓ 2 callersFunctionextractErrorMessage
(error: unknown)
src/ui/shared/tool-bridge.ts:73
↓ 2 callersMethodextractMetadata
(workbook: ExcelJS.Workbook, path: string)
src/utils/files/excel.ts:297
↓ 2 callersFunctionextractNestedElements
* Extract all occurrences of a named element from XML, respecting nesting. * Returns array of full element strings including open/close tags.
src/utils/files/docx.ts:295
↓ 2 callersFunctionextractTextFragments
Extract <w:t>...</w:t> elements as XML fragments for use in edit_block
src/utils/files/docx.ts:253
↓ 2 callersFunctionextractToolText
(result: unknown)
src/ui/config-editor/src/app.ts:183
↓ 2 callersFunctionfallbackCopy
(text: string)
src/ui/file-preview/src/panel-actions.ts:25
↓ 2 callersFunctionfindPuppeteerChrome
(cacheDir = getPuppeteerCacheDir())
src/tools/pdf/markdown.ts:76
↓ 2 callersMethodflushToDisk
* Flush queued writes to disk
src/utils/toolHistory.ts:189
↓ 2 callersFunctionformatDuration
(duration)
test/integration/run-all-integration-tests.js:45
↓ 2 callersFunctionformatKeyLabel
(key: string)
src/ui/config-editor/src/app.ts:125
↓ 2 callersFunctionfuzzyPythonReportLine
(workflowId, state)
test/integration/edit-block-performance.js:197
↓ 2 callersFunctiongetBinaryHandler
()
src/utils/files/factory.ts:43
↓ 2 callersFunctiongetChromePath
* Find or install Chrome for PDF generation * Priority: 1. Puppeteer cache, 2. System Chrome, 3. Install Chrome * Results are cached to avoid repeat
src/tools/pdf/markdown.ts:204
↓ 2 callersFunctiongetDefaultReadLength
* Get default read length from configuration * @returns Default number of lines to read
src/tools/filesystem.ts:55
↓ 2 callersFunctiongetDocxHandler
()
src/utils/files/factory.ts:53
↓ 2 callersFunctiongetExperiments
()
test/ab-test.test.js:41
↓ 2 callersFunctiongetFileTypeCapabilities
(payload: RenderPayload)
src/ui/file-preview/src/file-type-handlers.ts:118
↓ 2 callersMethodgetMatchContext
* Extract context around a match for display (show surrounding text)
src/search-manager.ts:645
↓ 2 callersFunctiongetObjectShape
* Resolve a Zod schema down to the field map of its underlying object schema, * unwrapping wrappers (effects/optional/default/nullable/branded) defen
src/utils/unsupportedParams.ts:22
↓ 2 callersMethodgetOutputLineCount
* Get total line count for a process
src/terminal-manager.ts:608
↓ 2 callersFunctiongetPackageSpec
(versionArg = null)
setup-claude-server.js:209
↓ 2 callersFunctiongetPdfHandler
()
src/utils/files/factory.ts:48
↓ 2 callersFunctiongetPuppeteerChromeDir
* Get the cache path where Puppeteer stores Chrome for Testing builds.
src/tools/pdf/markdown.ts:30
↓ 2 callersFunctiongetRenderedMarkdownCopyText
(content: string)
src/ui/file-preview/src/markdown/preview.ts:3
↓ 2 callersFunctiongetRipgrepPath
()
src/utils/ripgrep-resolver.ts:12
↓ 2 callersFunctiongetSettingSummary
(entry: ConfigEntry)
src/ui/config-editor/src/app.ts:309
↓ 2 callersMethodgetToolCategory
* Determine which category a tool belongs to
src/utils/usageTracker.ts:104
↓ 2 callersFunctiongetVariant
* Get user's variant for an experiment (cached, deterministic) * Supports weighted variants for unequal splits
src/utils/ab-test.ts:48
↓ 2 callersFunctiongetVersion
()
setup-claude-server.js:140
↓ 2 callersFunctiongetVersion
()
uninstall-claude-server.js:100
↓ 2 callersFunctiongoHalfOpen
Bring the channel up healthy, then knock the socket into a half-open state.
test/test-remote-channel-reconnect.js:161
↓ 2 callersFunctionhandleListSearches
()
src/handlers/search-handlers.ts:220
↓ 2 callersFunctionhideHint
()
src/ui/file-preview/src/host/selection-context.ts:64
↓ 2 callersFunctionhideLinkPopover
()
src/ui/file-preview/src/markdown/editor.ts:1450
↓ 2 callersFunctionhighlightSource
(code: string, language: string)
src/ui/file-preview/src/components/highlighting.ts:43
↓ 2 callersFunctioninferLanguageFromPath
(filePath: string)
src/ui/file-preview/src/components/code-viewer.ts:42
↓ 2 callersMethodinitialize
(url: string, key: string)
src/remote-device/remote-channel.ts:49
↓ 2 callersFunctionisConfigFieldKey
(value: string)
src/config-field-definitions.ts:47
↓ 2 callersFunctionisExcelFile
(path: string)
src/utils/files/factory.ts:112
↓ 2 callersMethodisFirstRun
* Check if this is the first run (config file was just created)
src/config-manager.ts:261
↓ 2 callersMethodisGlobPattern
* Detect if pattern contains glob wildcards
src/search-manager.ts:692
↓ 2 callersFunctionisImageFile
(mimeType: string)
src/tools/mime-types.ts:32
↓ 2 callersFunctionisNPX
()
setup-claude-server.js:236
↓ 2 callersFunctionisPdfFile
(mimeType: string)
src/tools/mime-types.ts:27
↓ 2 callersFunctionisTelemetryDisabledByEnv
()
src/utils/capture.ts:33
↓ 2 callersFunctionisToolErrorResult
(result: unknown)
src/ui/config-editor/src/app.ts:200
↓ 2 callersFunctionisUndoAvailable
(state: MarkdownWorkspaceState)
src/ui/file-preview/src/markdown/controller.ts:433
↓ 2 callersFunctioniterativeReduction
* Iteratively refines the best match by reducing the search area * @param text The text to search within * @param query The query string to find *
src/tools/fuzzySearchCore.ts:108
↓ 2 callersFunctionloadDocxZip
(buf: Buffer)
src/utils/files/docx.ts:74
↓ 2 callersFunctionloadHeadingsForItem
(item: MarkdownLinkSearchItem)
src/ui/file-preview/src/markdown/editor.ts:1150
↓ 2 callersFunctionloadLines
(button: HTMLButtonElement, direction: 'before' | 'after')
src/ui/file-preview/src/panel-actions.ts:164
↓ 2 callersFunctionloadState
()
scripts/publish-release.cjs:56
↓ 2 callersFunctionlooksStructural
* Heuristic: does this line look like markdown structure (heading, list, * fence, table, blockquote) rather than plain prose? Used by * restoreSoftB
src/ui/file-preview/src/markdown/editor.ts:462
↓ 2 callersFunctionmergeLineRanges
(ranges: MarkdownEditRange[])
src/ui/file-preview/src/markdown/controller.ts:144
↓ 2 callersFunctionneedsContentRead
* Check if a payload needs its file content to be read. * Tool results from edit_block/write_file include structuredContent but * their text is a su
src/ui/file-preview/src/app.ts:157
↓ 2 callersFunctionnormalizePath
(p: string)
src/tools/filesystem.ts:126
↓ 2 callersMethodoutputSinceSnapshot
* New output since a snapshot, in absolute (since process start) offsets. * If eviction dropped part of the unseen output, returns what the buffer
src/terminal-manager.ts:699
↓ 2 callersMethodparseCellRange
(range: string)
src/utils/files/excel.ts:480
↓ 2 callersMethodparseRange
(range: string)
src/utils/files/excel.ts:465
↓ 2 callersFunctionparseWikiLink
(rawHref: string)
src/ui/file-preview/src/markdown/linking.ts:33
↓ 2 callersFunctionpathExists
(pathValue: string)
src/tools/config.ts:16
↓ 2 callersFunctionpostTelemetryPayload
(endpoint, postData, options)
track-installation.js:323
↓ 2 callersFunctionpostTelemetryPayload
(endpoint: string, payload: string)
src/utils/capture.ts:432
↓ 2 callersFunctionprepareMarkdownSource
(source: string)
src/ui/file-preview/src/markdown/parser.ts:53
↓ 2 callersMethodprocessBufferedOutput
(session: SearchSession, isFinal: boolean = false)
src/search-manager.ts:908
↓ 2 callersFunctionreadAndResolvePayload
( payload: RenderPayload, onReady: (payload: RenderPayload) => void )
src/ui/file-preview/src/app.ts:167
↓ 2 callersFunctionreadCompletePayload
(filePath: string)
src/ui/file-preview/src/markdown/controller.ts:394
↓ 2 callersMethodreadFromLineBuffer
* Internal helper to read from a line buffer with offset/length
src/terminal-manager.ts:555
↓ 2 callersFunctionreadHeadingProjection
( tokens: MarkdownToken[], index: number, nextSlug: MarkdownSlugTracker )
src/ui/file-preview/src/markdown/parser.ts:57
↓ 2 callersFunctionreadInlinedResourceHtml
(distDir: string, runtimeFileName: string)
src/ui/resources.ts:73
↓ 2 callersMethodreadSearchResults
* Read search results with offset-based pagination (like read_file) * Supports both range reading and tail behavior
src/search-manager.ts:226
↓ 2 callersFunctionremoveListener
(type: 'message', listener: MessageListener)
src/ui/shared/tool-bridge.ts:113
↓ 2 callersFunctionrenderApp
( container: HTMLElement, payload?: RenderPayload, htmlMode: HtmlPreviewMode = 'rendered', exp
src/ui/file-preview/src/app.ts:207
↓ 2 callersFunctionrenderCollapseIcon
()
src/ui/file-preview/src/document-outline.ts:31
↓ 2 callersFunctionrenderCopyIcon
()
src/ui/file-preview/src/document-layout.ts:8
↓ 2 callersFunctionrenderDirectoryBody
(content: string, rootPath: string)
src/ui/file-preview/src/directory-controller.ts:143
↓ 2 callersFunctionrenderDocumentOutlineItems
(outline: DocumentOutlineItem[], activeHeadingId?: string | null)
src/ui/file-preview/src/document-outline.ts:24
↓ 2 callersFunctionrenderMarkdown
(content: string)
src/ui/file-preview/src/components/markdown-renderer.ts:66
↓ 2 callersFunctionrenderModalList
()
src/ui/config-editor/src/array-modal.ts:95
↓ 2 callersFunctionrenderModeToggleIcon
(view: MarkdownEditorView)
src/ui/file-preview/src/markdown/editor.ts:931
↓ 2 callersFunctionrenderPayloadBody
(options: { payload: RenderPayload; htmlMode: HtmlPreviewMode; startLine: number; markdownCont
src/ui/file-preview/src/file-type-handlers.ts:126
↓ 2 callersFunctionrenderRawFallback
(source: string)
src/ui/file-preview/src/file-type-handlers.ts:12
↓ 2 callersFunctionreplaceOrThrow
( source: string, pattern: RegExp, replacement: string, context: string )
src/ui/resources.ts:36
↓ 2 callersFunctionresolveFileTargetPath
(currentPath: string, rawPath: string)
src/ui/file-preview/src/markdown/linking.ts:188
↓ 2 callersFunctionrestoreFromBackup
(backupPath)
uninstall-claude-server.js:460
↓ 2 callersFunctionrewriteWikiLinksInPlainText
(segment: string)
src/ui/file-preview/src/markdown/linking.ts:95
← previousnext →301–400 of 1,250, ranked by callers