DeepSeek Harness plugin

dsh-file-explorer-preview-sequence

SeqViz sequence viewer preview for DSH Web, overriding dsh-file-explorer's previews for FASTA/GenBank/JBEI/SnapGene/SBOL files

Jump to install

Source facts

Repository
wolfsonliu/dsh-file-explorer-preview-sequence
Latest update
Aug 19, 2026
Category
Tools & Capabilities
GitHub stars
0
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/wolfsonliu/dsh-file-explorer-preview-sequence
Plugin: dsh-file-explorer-preview-sequence
Author: wolfsonliu

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer4 files
README.mdSource · read only
README language

dsh-file-explorer-preview-sequence

中文 | English

A DSH Web plugin that adds a SeqViz sequence viewer to dsh-file-explorer, overriding its plain-text previews for FASTA, GenBank, JBEI, SnapGene, and SBOL files.

Select a .gb / .fasta (or any supported format below) in the file explorer and the preview panel renders an interactive sequence viewer instead of raw text.

Screenshots

Dark themeLight theme
![Sequence preview in dark theme](assets/dsh-file-explorer-preview-sequence_dark.png)![Sequence preview in light theme](assets/dsh-file-explorer-preview-sequence_light.png)

Features

  • Interactive viewer built on seqviz (<SeqViz>), with parsing by seqparse.
  • Topologies: circular / linear / both / both-flip.
  • Feature annotations with colors, search with highlight, enzyme cut sites, complement & index toggles, and linear zoom.
  • Status bar with the format badge, name, sequence type, and length.
  • Localized toolbar/status copy (中文 / English).
  • Dark/light aware: follows DSH's data-ds-dark-theme.

Supported formats

ExtensionFormat
fasta fa fas fna faa ffnFASTA
gb gbk genbank gpGenBank / GenPept
dnaSnapGene
seqJBEI SEQ
sbol xmlSBOL v1/v2

Install

From the Git repository

dsh plugin --profile web add github:wolfsonliu/dsh-file-explorer-preview-sequence
dsh web

From source

git clone https://github.com/wolfsonliu/dsh-file-explorer-preview-sequence
cd dsh-file-explorer-preview-sequence
npm install
npm run build
dsh plugin --profile web add .
dsh web

Dependencies

This plugin requires @dsh-external/dsh-file-explorer (v0.1.0+) — it injects the fileExplorer cordis service (registerPreview / writeFile / readRawFile). Install and enable dsh-file-explorer before this plugin:

# install the core from git
dsh plugin --profile web add github:wolfsonliu/dsh-file-explorer

# or, from source
git clone https://github.com/wolfsonliu/dsh-file-explorer
cd dsh-file-explorer
npm install && npm run build
dsh plugin --profile web add .

> For local development, this repo's devDependencies resolves @dsh-external/dsh-file-explorer's ./client type definitions. Point it at your checkout or your registry's published package before npm install.

For files ≤ 2 MiB the plugin parses the text preview content directly. SnapGene .dna (binary) and files larger than 2 MiB are handled via readRawFile (available in dsh-file-explorer v0.1.0+). When readRawFile is absent (older core versions), the plugin degrades gracefully: text formats ≤ 2 MiB still preview, .dna and larger files show an unsupported status.

Limitations

  • Read-only preview (no editing).
  • SnapGene .dna and > 2 MiB files require dsh-file-explorer v0.1.0+ (older versions degrade gracefully).
  • .xml and .seq are ambiguous extensions; files in those extensions that aren't SBOL / JBEI fall back to a plain-text view.

Development

npm run check   # tsc type check
npm test        # vitest unit tests
npm run build   # tsc + tsdown (single-file lib/client.js bundling seqviz + seqparse)

The real SeqViz canvas cannot run under jsdom; verify it with dsh web and a sequence file in examples/.

> After npm run build, hard-refresh the browser (Ctrl/Cmd+Shift+R): dsh web may keep serving a cached plugin bundle, so a soft reload can leave your latest build unused.

License

[MIT](LICENSE)