github wonderwhy-er/DesktopCommanderMCP v0.2.0
Desktop Commander v0.2.0 Release Notes

latest releases: v0.2.37, v0.2.36, v0.2.35...
9 months ago

πŸš€ What's New in This Release

πŸ” Major Features

πŸ“„ Line-Based File Operations

image

Line-Based Reading

  • Upgraded from character-based to line-based file reading for faster, clearer access.
  • Introduced offset and length parameters to precisely control line selection.
  • Default read limit set to 1000 lines (customizable via fileReadLineLimit).
  • Displays line count summaries when reading partial content.

Chunked File Writing

  • New support for writing files in defined chunks.

  • Enforces a write limit of 50 lines per operation for improved reliability (configurable).

  • Added mode parameter with options:

    • rewrite (default): Replace the entire file.
    • append: Add new content to the file's end.
  • Automatically flags files that exceed limits with clear warnings and helpful suggestions.


✏️ Smarter Edit Block Functionality

Streamlined Prompts

  • Tool descriptions now guide users to make focused, incremental edits.
  • Encourages using smaller context windows for more accurate changes.

Enhanced Error Feedback

  • When no exact match is found, edit_block now:

    • Highlights changes using {βˆ’removedβˆ’}{+added+} format.
    • Displays similarity scores and execution time.
    • Offers precise suggestions to improve matching success.

πŸ“œ Comprehensive Tool Audit Logging

Tool Call Logging

  • All tool interactions are now recorded with:

    • Timestamps
    • Tool name
    • Arguments (anonymized for privacy)

Log Management

  • Automatic log rotation at 10MB to keep operations lightweight.
  • Built-in file size validation ensures safer processing.

πŸ’» Usability Upgrades

  • Tool Reference Shortcut: Use DC: ... to quickly refer to tools in Claude responses.
  • Telemetry Control: New prompt ensures users can easily opt out of telemetry tracking.
  • Improved Fuzzy Matching in edit_block with detailed diagnostic feedback.
  • Clearer Messaging: File operations now include line counts and detailed status updates.

βš™οΈ Configurable Settings

New parameters available:

  • fileReadLineLimit: Max lines per read (default: 1000)
  • fileWriteLineLimit: Max lines per write (default: 50)

Change with a simple command:

set_config_value("fileReadLineLimit", 2000)
set_config_value("fileWriteLineLimit", 100)

This update delivers more precision, reliability, and transparency across your file operations and edit workflows. Dive in and streamline your experience.

Don't miss a new DesktopCommanderMCP release

NewReleases is sending notifications on new releases.