DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-weknora-ops

v

dsh-weknora-ops

Manifest valid

DeepSeek Harness plugin: the WRITE path for WeKnora — document ingest, gated deletes, tag trees — under a three-layer safety model. Complements the official read-only plugin.

hasBundlePatch

dsh-weknora-ops

CI

The write path and governance for WeKnora in your DeepSeek Harness agent — document ingest, gated deletes, tag trees — under a three-layer safety model.

A DeepSeek Harness plugin (skill + weknora-ops CLI) for WeKnora, the open-source knowledge-base platform.

Relation to the official plugin: WeKnora ships its own read-only DSH plugin, @wxg-prc-cpg/dsh-weknora — four query tools (list/search/read/ask), native cordis tools, contract-tested. For querying, use theirs. This project covers what the official one deliberately does not: the write path — ingest, deletion under a double gate, tag trees — plus read verbs for environments where a CLI form factor is preferred. Both can be installed side by side.

Independent community project. Not affiliated with DeepSeek or Tencent. Bundle format follows the MIT-licensed dsh-superagent-prototype; WeKnora API surface per its public docs. 中文文档


Why

Coding agents confidently hallucinate exactly the things your team wrote down somewhere: product rules, deploy procedures, compliance constraints, research conclusions. WeKnora holds that ground truth — this plugin puts it one command away and enforces a simple discipline: cite, don't recall.

Capabilities

CommandWhat it does
Queryweknora-ops ask <kb> "<q>"Knowledge-grounded answer with references
weknora-ops search <kb> "<q>" --top-k 5Hybrid retrieval (vector + keyword) with cited chunks
weknora-ops kb list / kb showKnowledge bases
weknora-ops doc list <kb>Documents + parse status
weknora-ops tagtree <kb>Hierarchical tag tree (filter hint: subtree tag ids)
Ingestweknora-ops doc upload / url / manualAdd documents, web pages, manual knowledge
Destructiveweknora-ops doc delete … --yesDelete a document (double-gated)

Safety model — three layers

  1. Skill etiquette (skills/dsh-weknora-ops/SKILL.md): reads are agent-free; ingests only when a person asked; deletes need explicit in-conversation confirmation. Nothing in the skill grants permission — the surrounding conversation does.
  2. CLI gate: doc delete refuses without --yes.
  3. Enforcement (the real wall): a workspace-scoped API key with capabilities retrieve / chat / ingest. A key without manage_kbs simply cannot do damage, whatever the agent tries — 403 is the answer, not an obstacle to work around.

This mirrors the admission-control philosophy of dsh-super-agent: trust is structural, not persuaded.

Install

npm i -g dsh-weknora-ops        # exposes the weknora-ops CLI
# or from source: git clone https://github.com/vicfei/dsh-weknora-ops && cd dsh-weknora-ops && npm install && npm link

# credentials — config file is the primary channel inside DSH (its agent shell
# scrubs *KEY* env vars); env vars still work for CI/ops
mkdir -p ~/.config/weknora-ops && chmod 700 ~/.config/weknora-ops
cat > ~/.config/weknora-ops/config <<'EOF'   # workspace API key: WeKnora 设置 → API Keys, capabilities retrieve/chat/ingest
export WEKNORA_URL=http://127.0.0.1:8080
export WEKNORA_API_KEY=wk-…
EOF
chmod 600 ~/.config/weknora-ops/config

# smoke — health + auth probe
weknora-ops status

Into a DSH profile: apply this repo's cordis.patch.yml (see examples/profile.cordis.patch.yml), or drop skills/dsh-weknora-ops/ into your profile's skills directory.

Status

v0.1.1 — vertical slice: 7 read verbs, 3 ingest verbs, delete gate, unit tests. Live-tested end to end: DSH 0.2.1-rc.5 (headless, DeepSeek provider) driving weknora-ops against a real WeKnora v3.1.3 server — skill discovery, status, kb list (542 KBs), search with cited hits; the run also caught and fixed two real integration bugs (env scrubbing → config file; query_text/match_count on v0.8.0-line servers). ask follows the v5-line session flow — on older servers the skill falls back to search + synthesis. Streaming answers, agent-chat operations and an MCP-endpoint mode are on the roadmap.

Acknowledgments

License

MIT

Comments

Loading…

Similar plugins

dsh-file-shield

by Yazzyk

DeepSeek Harness (dsh) 插件:在 Web GUI 里手动点选文件或目录,屏蔽 agent 对它们的读取、搜索、写入与编辑。A dsh plugin that denies an agent read/search/write/edit access to chosen files and directories, picked from the plugin's own We

Security & AuditUI & ExperienceDevelopment & InfrastructureManifest valid

★ 3

MIT

JavaScript

Nov 8, 2026

dsh plugin --profile web add dsh-file-shield

by The-latest-one

DeepSeek Harness (DSH) sidebar plugin: stack-safe fork tree, two-track indentation, marquee title, leading/hover slots, and cascade purge.

UI & ExperienceManifest valid

★ 7

MIT

TypeScript

Nov 10, 2026

dsh plugin --profile web add dsh-branch-workspace-folders

by coderdailyone

Security-first browser automation plugin for DeepSeek Harness (dsh) — 15 tools, policy re-checked on every action, no model-controlled paths

Manifest valid

★ 0

MIT

TypeScript

Aug 15, 2026

dsh plugin --profile web add dsh-plugin-browser-use

by wxxb789

Source-grounded deep research, writing, and learning plugin for DeepSeek Harness (dsh): steerable checkpoints, mid-run steering, and citations verified against retrieved sources.

Manifest valid

★ 0

MIT

TypeScript

Oct 6, 2026

dsh plugin --profile web add dsh-raven-research

by Pasumao

DeepSeek Harness (dsh) Windows 环境防坑插件:防坑 skill + 三层主动防护(乱码检测提示 / 危险写拦截 / 编码诊断修复工具)。Windows guard plugin for DeepSeek Harness (dsh).

Development & InfrastructureManifest valid

★ 0

MIT

JavaScript

Oct 31, 2026

dsh plugin --profile web add dsh-plugin-windows-guard

by bauerelizabeth07139

DeepSeek Harness plugin: convert Word .docx to PDF with the dxpdf Rust/Skia engine — no Microsoft Office, no LibreOffice, no network. It repairs the schema-invalid constructs WPS Office writes and restores Word's odd/even page parity.

Tools & CapabilitiesManifest valid

★ 0

MIT

JavaScript

Oct 6, 2026

dsh plugin --profile web add dsh-plugin-dxpdf