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.

DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
D

@406464/dsh-db

Db

DSH database workbench: SQLite connection management, SQL execution, data grid control panel, Agent tools, and adding a sqlite backend to storage hub

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

npx -y @deepseek-ai/dsh plugin --profile web add github:406464/dsh-db#fc17d88c5a2b9631847891eca619eb7a595fadf0
READMECompatibilityVersions

Compatibility and provenance

Db is published as @406464/dsh-db and currently resolves to version 0.1.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
github
Registry updated
10/31/2026

Versions

0.1.0stable
10/31/2026

Related plugins

Loading related plugins…

Latest
0.1.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
MIT
Source
github
GitHub
★ 1
Weekly downloads
0
Last push
10/31/2026
View source ↗
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

Related plugins

More verified plugins in developer-tools.

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 sessionsSdk App@deepseek-ai/dsh-sdk-appThe dsh SDK profile bundle: stdio JSON-RPC serving and process lifecycle over dsh-baseExperimental Inspector@deepseek-ai/dsh-experimental-inspectorExperimental cross-realm CDP hub for Host debugging and Client Runtime inspection

README

dsh-db

Database workbench: playground.db connection, table tree, SQL editor, export

A database workbench plugin for DeepSeek Harness: SQLite connection manager + SQL editor + data-grid panel + an agent-facing db tool — plus the sqlite backend that DSH's storage hub documents but does not ship.

Built on Node's built-in node:sqlite (DatabaseSync): no native dependencies, no build step, no Electron ABI roulette.

中文 | English

What you get

SurfaceContents
PanelA "Database" icon in the left sidebar → full-page workbench: connections, table tree, SQL editor, paginated/sortable/filterable data grid, inline cell editing, CSV/JSON export
Agent toolOne db tool with an action parameter, so the agent in a session can inspect and query your databases
Storage backendRegisters as backend sqlite on ctx.storage, so other plugins can route their ctx.storageDomain domains to SQLite

Panel actions and agent tools call the same host methods. One operation, two callers.

Install

git clone https://github.com/406464/dsh-db.git
cd dsh-db && npm install && npm test     # self-test, no DSH required

Then install it into DSH — dsh plugin forwards its arguments to pnpm in the profile directory:

# Windows — from npm
& "D:\deepseek harness\resources\runtime\cli\bin\dsh.cmd" plugin --profile desktop add @406464/dsh-db
# macOS desktop
DSH_CLI="/Applications/DeepSeek Harness.app/Contents/Resources/runtime/cli/bin/dsh"
"$DSH_CLI" plugin --profile desktop add @406464/dsh-db

Until the npm release lands, install straight from GitHub:

"$DSH_CLI" plugin --profile desktop add github:406464/dsh-db

Or install from a local directory via the Plugins page, or ask the agent to run install_bundle on the cloned folder.

Restart DSH afterwards: host-side modules load once at startup. If the sidebar entry is missing, check that the bundle is enabled on the Plugins page.

Configuration

Set these on the plugin row in your profile's cordis.patch.yml (the user patch layer survives upgrades):

- name: 'dsh-db'
  config:
    root: ~/.dsh/plugin-data/dsh-db   # default: derived from the profile mount point, else ~/.dsh
    defaultLimit: 200
    maxLimit: 5000
    maxRows: 1000
    maxBytes: 262144
    agentDefaultLimit: 50
    allowWrite: false
    allowAttach: false
    allowAddConnection: false
    registerStorageBackend: true
    allowDirs: []

Route a domain to SQLite:

- name: '@deepseek-ai/dsh-storage'
- name: 'dsh-db'
- name: '@deepseek-ai/dsh-storage-domain'
  config:
    backend: json
    routes:
      mydomain: sqlite

Safety defaults

  • Only registered connections. A path must sit inside an allowed root (plugin data dir + workspaces + allowDirs). Unregistered files are unreachable.
  • Two gates for writes. allowWrite plus an explicit confirm: true per call.
  • Statement guard. Unrecognised leading keywords are rejected; ATTACH/DETACH off by default; load_extension always rejected.
  • Bounded results. Row-count and byte caps, with truncated: true instead of dumping a table into the model context.
  • Loopback-only HTTP. /dsh-db/api/* accepts local requests and POST only.

Errors carry stable codes: write-disabled, confirm-required, forbidden-sql, path-out-of-scope, multi-statement, not-found, sql-error.

How this differs from similar plugins

dsh-db-studio already exists on npm (SQLite / PostgreSQL / MySQL, with an in-conversation database tab, a /db command, and query history). Different tradeoffs:

dsh-db (this project)dsh-db-studio
DatabasesSQLite onlySQLite + PG + MySQL
Dependencieszero (Node's built-in node:sqlite)pg + mysql2
storage-hub sqlite backendyes — other plugins can route domains to SQLiteno
In-conversation binding / query history / /dbnoyes
Writes by defaultoff (allowWrite: false + per-call confirm)on

Pick theirs for company PG/MySQL and conversation-bound querying. Pick this one for a dependency-free local SQLite workbench that also fills the storage hub's sqlite slot.

Releases and contributing

npm publishing, CI, code layout and the one-time NPM_TOKEN setup live in CONTRIBUTING.md. Users don't need any of it.

Known limits (stated plainly)

  • DatabaseSync is synchronous and runs on the host's main thread. A full-table scan stalls the whole Harness — node:sqlite exposes no statement cancellation. Row/byte caps and explicit LIMIT are the current mitigation; moving heavy queries to a worker thread is on the roadmap.
  • query accepts a single statement (use exec for batches).
  • Connection-table changes made outside the host are picked up via file mtime, but host code changes need a restart.

Development

npm run check     # syntax-check every file
npm test          # 27 assertion groups: classification, guards, schema, grid, writes, export, storage contract
node test/seed-demo.mjs   # create a playground.db so the panel and tool have something to show

License

MIT