dsh_editor

A file editor in the DSH web GUI right sidebar: open any text file, edit it, and save in place, with a version gate on every save — if the file changed on disk during the edit it stops and asks instead of overwriting. The document preview gains an edit button and a two-step delete button, and a separate File editor sidebar tool brings its own file tree for create, rename or move, copy, cut and paste (including a file taken from the system clipboard), delete and drag to reorganize. Two renderer bands cover 107 plain-text, config and source extensions; the second is offered only as an open-with choice, leaving the shipped Markdown and highlighted-code views as the default. All mutations run through the plugin's own trusted host routes, behind the connection trust fence, the workspace containment check and the sandbox policy.

Overview

A file editor in the DSH web GUI right sidebar: open any text file, edit it, and save in place, with a version gate on every save — if the file changed on disk during the edit it stops and asks instead of overwriting. The document preview gains an edit button and a two-step delete button, and a separate File editor sidebar tool brings its own file tree for create, rename or move, copy, cut and paste (including a file taken from the system clipboard), delete and drag to reorganize. Two renderer bands cover 107 plain-text, config and source extensions; the second is offered only as an open-with choice, leaving the shipped Markdown and highlighted-code views as the default. All mutations run through the plugin's own trusted host routes, behind the connection trust fence, the workspace containment check and the sandbox policy.

Installation

Install from GitHub

dsh plugin --profile web add github:dongasai/dsh_editor

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.

Installation notes

  • May run terminal commands