AI Agent Hub
Back to plugins
🧰

dsh-monaco

Web Tools Updated 2026.08.22

Run the following command in DeepSeek Harness:

dsh plugin install DevViking-Persike/dsh-monaco

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install DevViking-Persike/dsh-monaco in DeepSeek Harness to install this plugin; the full source is at https://github.com/DevViking-Persike/dsh-monaco.

About this plugin

The Harness browser plugin channel delivers exactly one file per plugin, and Monaco Editor is a multi-file distribution that simply does not fit that constraint. dsh-monaco closes that structural gap: it mounts the full monaco-editor package under a host HTTP route (default /monaco), so your plugin can embed a real code editor in the page with no CDN and no third-party origin at runtime.

Security is the most deliberate part of the design. Every request path is resolved, collapsing dot-dot first, and then containment-checked against the distribution root, catching even percent-encoded escape attempts. Unknown paths and read failures both return the same 404 so the browser cannot enumerate files; only GET and HEAD are served, everything else gets 405; unrecognised extensions are answered as application/octet-stream to prevent the browser from executing content as script.

It is aimed at Harness plugin developers who need syntax highlighting and IntelliSense in their in-page UI but want the editor to stay entirely local to the operator machine. Point MonacoEnvironment at /monaco and you have full language support; Monaco web workers are left for the consumer to mount, and without them the language services run on the main thread, which is sufficient for most plugin use cases.

Use Cases

  • Embed a syntax-highlighted code editor inside a Harness plugin page
  • Provide IntelliSense and multi-language support for interactive tool UIs
  • Load the full Monaco distribution in the browser without a third-party origin

Best For

  • Harness plugin developers who need to render code in their front-end UI
  • Security-sensitive teams that require a fully local editor with no CDN
  • Developers constrained by the single-file plugin channel who need Monaco's multi-file distribution