dsh-patch-edit-plus
Patch-style file editing tool for DeepSeek Harness supporting unified diffs and opt-in Codex patch syntax with atomic application.
Install
$ dsh plugin --profile web add <path-to-dsh-patch-edit-plus>Plugin Overview & Capabilities
AI-assisted organization based on the public repository snapshot. The content must be grounded in source evidence and does not replace compatibility or security verification.
Key Capabilities
- Registers an apply_patch tool supporting unified diffs and opt-in Codex patch syntax
- All-or-nothing validation aborting writes if any hunk or path check fails
- Preserves original newline formats (CRLF and trailing newline fidelity)
- Executes file creations and multi-hunk edits via the native fs intent dance
- Handles file deletes and renames/moves through ctx.shell with sandbox-aware policy resolution
- Provides conflict avoidance by renaming to apply_patch_1 on collision instead of crashing
- Exposes declarative settings through the DSH client UI settings panel
Useful For
- Applying multi-file changes or large diffs in a single atomic tool call
- Editing large files without needing the model to re-echo entire file contents
- Executing Codex-style patches generated by GPT-family models in DeepSeek Harness
- Batching file creations, deletions, and moves alongside code modifications
Who It Fits
- DeepSeek Harness developers needing atomic multi-file patching
- Users running models that output git unified diffs or Codex apply_patch syntax
- Teams seeking non-destructive file updates with precise hunk failure diagnostics
Documented Limitations
- Delete and Move operations run through ctx.shell and depend on the active shell executor's sandbox strength
- File creation does not automatically create missing parent directories
- Does not support fuzzy or offset hunk matching (matches exact line, trimEnd, then trim)
- Binary patches are rejected
- Does not implement structured [sandbox: ...] markers or same-turn escalation fields on workspace-write denials
DSH Compatibility
Version-specific runtime evidence collected by DSH Plugin. A missing result means we have not tested that combination yet.
Security Signals
Objective signals discovered from package metadata and source inspection. These are not a guarantee that a plugin is safe.
package.json declares 1 runtime, 15 development, 8 peer, and 0 optional dependencies.
package.json declares DSH bundle metadata.
GitHub reports the repository license as MIT.
A root package.json was captured and can be inspected by the registry.
Public GitHub source metadata is available for this registry snapshot.
Source & Registry Notes
Public provenance, Registry classification, and the latest source check for this entry, kept separate from runtime verification.
- Source repository
- drscrewdriver/dsh-patch-edit-plus
- Registry source
- GitHub · dsh-plugin topic
- Registry classification
- Plugin
- Source checked
- 8eaf174 · 2026-10-27
This project is independently indexed from public source information. DSH Plugin is not affiliated with DeepSeek or the plugin author. Always check the author repository before installation.
Repository Activity
- GitHub stars
- 3GitHub stars
- Forks
- 4
- Open issues
- 1
- Last commit
- 2026-10-01
- Last release
- No release detected
Related DSH Plugins
Ranked by overlapping capabilities, use cases, plugin type, categories, and DSH profile.
Security red-teaming and prompt rule management plugin for DeepSeek Harness web and desktop profiles.
View plugin →Pre-execution safety net blocking destructive shell commands and secret leaks in coding agents.
View plugin →Agent skill for DeepSeek Harness that turns ideas, plans, and codebases into interactive architecture diagrams.
View plugin →Local cross-agent memory and session history recall integration for DeepSeek Harness.
View plugin →