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.

Weknora Archive — DSH Plugin for DeepSeek Harness
← Plugins
W

dsh-weknora-archive

Weknora Archive

Incrementally archive DSH sessions into a WeKnora knowledge base (Tencent WeKnora RAG): extract, summarize, dedupe, upload. 把 DSH 会话增量归档进 WeKnora 知识库(写入侧互补官方只读 dsh-weknora 插件)。

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

npx -y @deepseek-ai/dsh plugin --profile web add github:AAAlenwow/dsh-weknora-archive#92e08f63b3379b0508f8c1333948013755859560
READMECompatibilityVersions

Compatibility and provenance

Weknora Archive is published as dsh-weknora-archive 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
any
Release source
github
Registry updated
10/10/2026

Versions

0.1.0stable
10/10/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
any
License
MIT
Source
github
GitHub
★ 0
Weekly downloads
0
Last push
10/10/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
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in

Related plugins

More verified plugins in memory-context.

Hindsight Coding Agents@vectorize-io/hindsight-coding-agentsReflect-only Hindsight long-term memory for coding agents (harness-pluggable: opencode, …), with automatic background ingestion (no setup CLI).Memsearch Dsh@zilliz/memsearch-dshMemSearch plugin for DeepSeek Harness: shared markdown memory across agents, with capture, pre-step context injection, memory-recall skill, and a skill-candidate review panel.Memory@furongjun1999/dsh-memoryLingshu (Lingshu·líng shū) DeepSeek Harness plugin: a complete brain—long-term memory/knowledge flywheel/self-awareness/recursive reflection integrated with DSH, with conversations automatically distilled into the md_cg cognitive graph (md documents)Archive Manager@michengai/dsh-archive-manager归档、恢复、收藏和永久删除会话,并诊断损坏的会话日志。 · Archive, restore, favorite, and permanently delete sessions, and diagnose damaged session logs.

README

dsh-weknora-archive

中文 · English

把 DSH(DeepSeek Harness)会话增量归档进 WeKnora 知识库的 host 端插件。是官方只读插件 @wxg-prc-cpg/dsh-weknora(4 个检索工具)的写入侧互补。

功能

工具说明
weknora_archive_session归档某个项目的 DSH 会话:定位会话目录 → 解压 session.v3.jsonl.zstd → 提取对话 → 启发式总结(模板:主题/决策/产出/细节/遗留)→ 按文档标题去重后上传;知识库不存在时按项目名自动新建;首次归档附 00_项目总览.md;支持 dry_run 预览
weknora_archive_status只读:列出本机会话项目目录与会话数,查看目标知识库内已归档文档与解析状态
weknora_archive_list_knowledge_bases只读:列出该凭据可见的知识库
weknora_archive_create_knowledge_base新建知识库(注意:新建库可能需在 WeKnora 端配置 embedding 模型,否则文档解析失败)

工具名前缀可通过 toolPrefix 配置(默认 weknora_archive)。工具描述中英双语。

安装

node "/Applications/DSH Desktop.app/Contents/Resources/app/node_modules/@deepseek-ai/dsh/lib/bin.js" \
  plugin --profile web add /path/to/dsh-weknora-archive

配置

走 DSH 官方插件配置机制:插件 bundle 自带 cordis.patch.yml,默认从环境变量读取(key 不落地、不入库):

字段环境变量说明
baseUrlWEKNORA_ARCHIVE_BASE_URLWeKnora 部署地址(裸域名或 /api/v1 结尾均可),如 http://weknora.example.com
apiKeyWEKNORA_ARCHIVE_API_KEY具备写入/摄取能力的 scoped API key
knowledgeBaseIdWEKNORA_ARCHIVE_KB_ID可选:固定目标库;缺省按项目名自动匹配/新建
sessionsDirWEKNORA_ARCHIVE_SESSIONS_DIR可选:会话存储根目录;缺省自动探测 <harness>/sessions
maxSummaryCharsWEKNORA_ARCHIVE_MAX_SUMMARY_CHARS单篇总结上限(默认 8000)

也可把 cordis.patch.yml 的 insert 行拷进 profile 自己的 cordis.patch.yml 直接填值(注意文件权限)。

隐私说明

  • 会话数据只发往你自己配置的 WeKnora 实例,插件不经过任何第三方服务。
  • API key 只用于请求头 X-API-Key,绝不写入日志、异常信息、工具结果或本文档;日志输出前统一走 redactConfig() 脱敏。
  • 总结为启发式规则生成(无 LLM 参与),凭据类内容不收录完整值。

API 兼容性

认证头为 X-API-Key(非 Bearer),路由中横线风格:GET/POST /knowledge-bases、GET /knowledge-bases/{id}/knowledge、POST /knowledge(multipart 上传 Markdown)、POST /knowledge/{id}/reparse。以你的 WeKnora 实际 API 为准;若有出入只需调整 lib/client.js。

本地单测

npm test   # node test/mock.test.mjs,mock 数据 + mock 客户端,无需网络与凭证

已知边界

  • 总结是启发式抽取,不是 LLM 精炼;追求质量可在归档前手工润色。
  • 正在运行的会话文件可能解压失败,会被跳过(下次归档自动补上)。
  • 新建库的 embedding 配置需在 WeKnora 端完成(PUT 接口会静默丢弃 embedding 字段)。

dsh-weknora-archive (English)

A DeepSeek Harness host plugin that incrementally archives DSH sessions into a WeKnora knowledge base — the write-side complement to the official read-only @wxg-prc-cpg/dsh-weknora plugin (4 retrieval tools).

Tools

ToolPurpose
weknora_archive_sessionArchive a project's sessions: locate session dirs → decompress session.v3.jsonl.zstd → extract conversation → heuristic summarize (topic / decisions / artifacts / hard details / leftovers) → dedupe by document title → upload. Auto-creates the knowledge base by project name when absent; adds a 00_项目总览.md overview on first run; dry_run supported.
weknora_archive_statusRead-only: list local session project dirs with counts, and documents already in a target KB with parse status.
weknora_archive_list_knowledge_basesRead-only: list visible knowledge bases.
weknora_archive_create_knowledge_baseCreate a KB (a fresh KB may need an embedding model configured on the WeKnora side).

Prefix is configurable via toolPrefix (default weknora_archive). Tool descriptions are bilingual (EN/中文).

Install

node "/Applications/DSH Desktop.app/Contents/Resources/app/node_modules/@deepseek-ai/dsh/lib/bin.js" \
  plugin --profile web add /path/to/dsh-weknora-archive

Configuration

Uses DSH's official plugin-config mechanism: the bundle ships a cordis.patch.yml that reads environment variables by default (no key hardcoded anywhere):

FieldEnv varMeaning
baseUrlWEKNORA_ARCHIVE_BASE_URLYour WeKnora deployment root or /api/v1 root (placeholder in this repo — set your own)
apiKeyWEKNORA_ARCHIVE_API_KEYScoped WeKnora API key with ingest capability
knowledgeBaseIdWEKNORA_ARCHIVE_KB_IDOptional fixed target KB; otherwise matched/created per project
sessionsDirWEKNORA_ARCHIVE_SESSIONS_DIROptional sessions root; auto-detected when empty
maxSummaryCharsWEKNORA_ARCHIVE_MAX_SUMMARY_CHARSPer-summary cap (default 8000)

Alternatively copy the insert row into your profile's own cordis.patch.yml with literal values (mind file permissions).

Privacy

  • Session data goes only to the WeKnora instance you configure — no third-party service involved.
  • The API key is used solely in the X-API-Key header and is never logged, never embedded in errors, tool results, or this README; all log paths go through redactConfig().
  • Summaries are produced by heuristic rules without any LLM, and credential-looking values are never recorded in full.

API compatibility

Auth is the X-API-Key header (not Bearer); kebab-case routes: GET/POST /knowledge-bases, GET /knowledge-bases/{id}/knowledge, POST /knowledge (multipart Markdown upload), POST /knowledge/{id}/reparse. Defer to your actual WeKnora API; if it differs, only lib/client.js needs changes.

Tests

npm test   # mock data + mock client, no network or credentials required

Known limits

  • Summaries are heuristic extractions, not LLM-polished prose.
  • A live session file may fail to decompress and is skipped (picked up on the next run).
  • Embedding configuration for newly created KBs must be done on the WeKnora side.

License

MIT