Files
deepseek-harness/packages/bundle/string-editor

description, kind
description kind
Edit files with the str_replace_editor tool. package-bundle

@deepseek-ai/dsh-string-editor

English | 中文

Summary

Add str_replace_editor to standard, cordis, and ptc alongside their existing filesystem tools. It ships switched off in Web and Desktop. Select it in Plugins to enable it.

Table of Contents


Use this package

In Web or Desktop, open Plugins and enable String editor in Official. Switch it off to remove its profile layer.

New Agents and subsequently reopened Sessions use the selected composition; live Agents retain their existing plugins. The minimal preset and host-level tool catalog remain unchanged.


Understand the implementation

Implementation details — click to expand

cordis.patch.yml contributes rows through preset: preset-standard, preset: preset-cordis, and preset: preset-ptc. Later profile patches can override their settings. The profile composer owns patch ordering and errors.


Further Exploration

Capability implementation


Model Experience

Indirectly, through the capability implementation, which owns model context and results.

KV Cache effect

The layer adds no request content directly; the capability implementation owns cache effects from tools, prompts, and results.

Known Limitations and Deferred Work

  • This editor overlaps with existing filesystem tools and follows their workspace authorization and observation requirements.

Dev Note

Maintainer context — click to expand

None.