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
testAbortControllerOnlyBlackHole
* Test 3: AbortController-only pattern (pre-fix) against black-hole * * This shows what happens WITHOUT Promise.race — just AbortController. * On
test/test-feature-flags-timeout.js:209
Function
testAccessThroughSymlinkDir
* Test 5: Access file through directory symlink * Attempt to access a file via the symlinked directory
test/test-symlink-security.js:152
Function
testAdjacentHeadingsKeepOriginalSpacing
()
test/test-markdown-editor-roundtrip.js:77
Function
testBareUrlNotAutoLinked
()
test/test-markdown-editor-roundtrip.js:306
Function
testBoldAroundInlineCodePreserved
()
test/test-markdown-editor-roundtrip.js:447
Function
testBrokenAbortControllerSimulation
* Test 6: Simulate broken AbortController (the exact #465 scenario) * * On affected platforms, AbortController.abort() fires but the fetch * promis
test/test-feature-flags-timeout.js:327
Function
testBrokenSymlink
* Test 7: Broken symlink (pointing to non-existent target)
test/test-symlink-security.js:200
Function
testCombinedBugReportFile
()
test/test-markdown-editor-roundtrip.js:113
Function
testCrlfPreserved
()
test/test-markdown-editor-roundtrip.js:187
Function
testCurrentPatternBlackHole
* Test 2: Current fetch pattern (AbortController only) against black-hole * * This replicates exactly what FeatureFlagManager.fetchFlags() does. *
test/test-feature-flags-timeout.js:178
Function
testCurrentPatternSlowResponse
* Test 4: Current pattern against slow 15s response server
test/test-feature-flags-timeout.js:245
Function
testDirectRestrictedAccess
* Test 2: Direct access to restricted directory (should fail)
test/test-symlink-security.js:102
Function
testEmojiPrefixedSoftBreaksRestored
()
test/test-markdown-editor-roundtrip.js:321
Function
testEscapedPipeInTableCellPreserved
()
test/test-markdown-editor-roundtrip.js:472
Function
testFrontmatterListItem
()
test/test-markdown-editor-roundtrip.js:174
Function
testLargeFilePerformance
* Test performance with large files of different line ending types * This is a modified version to work with the 100-line limit
test/modified-test.js:5
Function
testLessThanInProseNotEscaped
()
test/test-markdown-editor-roundtrip.js:401
Function
testLineCount
()
test/test-line-count.js:33
Function
testLinkInTableCellSurvivesRoundTrip
()
test/test-markdown-editor-roundtrip.js:340
Function
testListItemWithContinuationLine
()
test/test-markdown-editor-roundtrip.js:495
Function
testNewUserOnboardingPath
* Test 5: Simulate the full onboarding path for new users * * For a new user (no cache), the init handler does: * await featureFlagManager.waitF
test/test-feature-flags-timeout.js:281
Function
testNormalFileAccess
* Test 1: Normal file access within allowed directory (should succeed)
test/test-symlink-security.js:87
Function
testPipeTableSurvivesRoundTrip
()
test/test-markdown-editor-roundtrip.js:53
Function
testReadmeStyleFileNotCollapsed
()
test/test-markdown-editor-roundtrip.js:205
Function
testRelativePathLinksSurvive
()
test/test-markdown-editor-roundtrip.js:377
Function
testSquareBracketsNotEscaped
()
test/test-markdown-editor-roundtrip.js:138
Function
testStarBulletMarkerPreserved
()
test/test-markdown-editor-roundtrip.js:359
Function
testSymlinkDirectoryBypass
* Test 3: SYMLINK BYPASS - Directory symlink pointing outside allowed dirs * This is the main security test!
test/test-symlink-security.js:117
Function
testSymlinkFileBypass
* Test 4: SYMLINK BYPASS - File symlink pointing outside allowed dirs
test/test-symlink-security.js:135
Function
testSymlinkWithinAllowed
* Test 6: Symlink within allowed directory pointing to another allowed location (should succeed)
test/test-symlink-security.js:176
Function
testTableInsideRealisticDoc
()
test/test-markdown-editor-roundtrip.js:264
Function
testTildeIsNotEscaped
()
test/test-markdown-editor-roundtrip.js:65
Function
testTildePathNotEscaped
()
test/test-markdown-editor-roundtrip.js:162
Function
testTrailingHardBreakWhitespacePreserved
()
test/test-markdown-editor-roundtrip.js:427
Function
testTrailingNewlineSurvives
()
test/test-markdown-editor-roundtrip.js:101
Function
testUnderscoresNotEscaped
()
test/test-markdown-editor-roundtrip.js:150
Function
testWikilinkSurvivesRoundTrip
()
test/test-markdown-editor-roundtrip.js:89
Function
testYamlFrontmatterSurvives
()
test/test-markdown-editor-roundtrip.js:126
Function
toggle
()
src/ui/shared/tool-shell.ts:66
Method
unsubscribe
()
test/test-remote-channel-reconnect.js:63
Function
updateSaveStatusDOM
(label: string, statusClass: string)
src/ui/file-preview/src/app.ts:99
Method
user
()
src/remote-device/remote-channel.ts:46
Method
walk
(dir: string)
src/search-manager.ts:458
Function
write
(state: T)
src/ui/shared/widget-state.ts:135
Method
write
(path: string, content: string, mode: 'rewrite' | 'append' = 'rewrite')
src/utils/files/text.ts:62
Method
write
(path: string, content: any, mode?: 'rewrite' | 'append')
src/utils/files/excel.ts:79
Method
write
* Write PDF - creates from markdown or operations
src/utils/files/pdf.ts:82
Method
write
(path: string, content: any)
src/utils/files/binary.ts:45
Method
write
(path: string, content: Buffer | string)
src/utils/files/image.ts:53
Method
write
* Write/create a DOCX file. * Content is plain text — each line becomes a paragraph. * Lines starting with # become headings (# = Heading1,
src/utils/files/docx.ts:572
← previous
1,201–1,250 of 1,250, ranked by callers