DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Peekedit — DSH Plugin for DeepSeek Harness
← Plugins

dsh-peekedit

Peekedit

Enhanced file tools for DeepSeek Harness: peek (windowed view), peek_edit (literal replace / insert), peek_write (create / overwrite).

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add dsh-peekedit@0.1.1
READMECompatibilityVersions

Compatibility and provenance

Peekedit is published as dsh-peekedit and currently resolves to version 0.1.1. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
npm
Registry updated
9/20/2026

Versions

0.1.1stable
8/16/2026
0.1.0stable
8/16/2026

Related plugins

Loading related plugins…

Latest
0.1.1
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
75.7 kB
Files
11
Surface
web
License
MIT
Source
npm
GitHub
★ 1
Weekly downloads
30
Last push
8/16/2026
View source ↗Project homepage ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in

Related plugins

More verified plugins in developer-tools.

DSCODE@toddzheng024/dscode-bundleA complete DeepSeek coding agent with persistent shell, Ultra collaboration and automatic permission review.Plugindsh-pluginA community plugin marketplace for DeepSeek Harness, built to the official plugin spec — browse, search and install 9000+ human-curated community plugins without leaving the app. · DeepSeek Harness 社区插件市场(遵循官方开发规范):9000+ 人工精选社区插件,每日更新。Web App@deepseek-ai/dsh-web-appThe dsh browser-surface bundle: the web patch layer over dsh-base plus the runtime glue plugin (frontend dist serving, web-surface prompt, bash runtime variables, URL line)Sdk Minimal@deepseek-ai/dsh-sdk-minimalThe standalone minimal SDK profile bundle: JSON-RPC, one DeepSeek adapter, persistent shell, and JSONL sessions

README

dsh-peekedit

English · 简体中文

Enhanced file tools and a file browser for DeepSeek Harness (dsh).

Source: https://github.com/lhp343969656/dsh-peekedit · Issues: https://github.com/lhp343969656/dsh-peekedit/issues

What you get

Model-facing tools that complement (and never shadow) the built-in read / write / edit tools, sharing the same ctx.fs service, fs/* policy events, and sandbox enforcement:

ToolPurpose
peekView a file with a line window (view_range) or a directory up to 2 levels deep. Numbered lines, total-line count, and a clipping notice on long output.
peek_editMutate an existing file: unique-literal str_replace or line insert.
peek_writeCreate a new file or overwrite an existing one.

File browser UI (Web Client): a "📁 文件" button in the session header opens a side drawer showing the current session's workspace directory — click into folders, click a file to preview it, and edit + save right there. Reads and writes go through the same ctx.fs seam; the browser never bypasses sandbox or containment rules (paths are resolved inside the session workspace and .. escapes are rejected).

Everything goes through the mounted ctx.fs backend and the fs/* event gate, so sandbox fencing, read-before-edit policy, and remote filesystem backends work exactly as they do for the built-in tools.

Install

The package ships a dsh.bundle manifest, so it installs as a plugin bundle into a profile.

Recommended — from npm:

dsh plugin --profile web add dsh-peekedit

Alternatively, from a git repository (builds on install via the prepare script) or a local checkout / tarball:

dsh plugin --profile web add github:lhp343969656/dsh-peekedit
dsh plugin --profile web add ./dsh-peekedit

The browser half of the plugin (dsh.client bundle) is discovered only when the package resolves from the profile's dependency tree, so install it with dsh plugin add rather than a file:// patch overlay.

Verify the layer before booting:

dsh --profile web --dump-config

Or load it ad hoc with a patch overlay (tools only — the browser half needs a real install):

dsh web --patch ./cordis.patch.yml

On Windows, an ad-hoc patch that references the package by name resolves from the profile's dependency tree only after dsh plugin add. To point a patch at a local checkout directly, use a file:// URL: name: 'file:///H:/path/to/dsh-peekedit/lib/index.js' (the loader rejects bare drive-letter paths).

Git installs run the package's prepare script (tsdown build) — allow it once in the profile's pnpm-workspace.yaml (allowBuilds: dsh-peekedit: true) if your pnpm refuses, and pin a commit for anything you don't trust.

Configuration

The bundle inserts two plugin rows; each takes its own config.

dsh-peekedit (tools):

KeyDefaultMeaning
maxOutputChars16000Characters retained for a peek file view before the clipping notice.

dsh-peekedit/api (file-browser API, web compositions only):

KeyDefaultMeaning
rootprocess.cwd()Fallback browse root when no session cwd resolves.
maxReadChars1000000Characters a browser preview read returns; larger files report FS_TOO_LARGE.
# cordis.patch.yml (your profile / home layer)
- id: api-peekedit
  config:
    root: 'H:/myproject'
    maxReadChars: 200000

Browser API

Same-origin routes under /api/peekedit/* (registered only where a webServer is mounted):

RoutePurpose
GET /api/peekedit/list?session=<id>&path=<rel>One directory's children, relative to the session workspace.
GET /api/peekedit/read?session=<id>&path=<rel>A file's UTF-8 content (binary rejected, size-capped).
POST /api/peekedit/writeReplace a file's content; rejects cross-origin Origin headers.

Paths resolve against the calling session's cwd (fallback: root config) and must stay inside it — .. segments and containment escapes are 403 PATH_ESCAPE.

Requirements

  • Node.js ≥ 20
  • DeepSeek Harness with the @deepseek-ai/dsh-* 0.1.0-rc.6 packages (or newer) reachable from the profile's dependency tree
  • The Web Client bundle ships a browser half that needs React 18 (the platform word table provides it)

Development

npm install
npm test          # vitest unit + integration suites (host API + client bundle)
npm run build     # tsdown → lib/ (host entries + browser bundle)

License

MIT