DSH Plugins Marketplace

DSH Plugins

Plugins

/

Memory & Context

/

dsh-context-kb

d

dsh-context-kb

Identified

Turn long conversations into a searchable per-project memory of raw text, conclusion indexes pinned to exact lines, and pitfalls, so a model that lost its context can still find the original decision

dsh-context-kb

A context knowledge base for DeepSeek Harness. It keeps the raw conversation text, conclusion indexes that point at exact lines, pitfalls, and tool-usage notes in a per-project store, and exposes them to the model as kb_* tools.

The backend is the bundled why774/context-kb command line (vendor/kb/), executed with the local Python 3 interpreter. Nothing leaves the machine.

Tools

ToolPurpose
kb_logAppend raw text to the project knowledge base (initialized on first call)
kb_sealSeal the current segment: move its raw text from session/ to archive/
kb_indexWrite a conclusion index for a sealed segment, optionally pinned to a line range
kb_searchSearch conclusion indexes first, then dig into raw text; long searches the cross-conversation store
kb_readRead raw text by coordinate, e.g. archive/T-20261120-001-p1.md:5
kb_contextTiered context assembly: raw text nearby, summaries further back, pointers far away
kb_hotThe hottest entries for the project (or long for the global store)
kb_statsCounts plus a project-directory sanity check
kb_closeClose the conversation and merge the short-term store into ~/.context-kb

Storage:

  • <project>/.context-kb/talks/<talk id>/ — short-term store, one per conversation; commit it with the project
  • ~/.context-kb/ — the long-term store, one per machine

Requirements

  • Python 3. Interpreter lookup order: DSH_CONTEXT_KB_PYTHON, then the DSH runtime under $DSH_HOME/dsh-runtimes/*/dependencies/python, then python3 / python on PATH.
  • DSH 0.2.x.

Optional environment variables: DSH_CONTEXT_KB_PYTHON (interpreter path) and DSH_CONTEXT_KB_TIMEOUT (per-command timeout in milliseconds, default 60000).

Limitations

  • The short-term store's "current conversation" is tracked per project directory via .context-kb/current. Parallel DSH sessions on the same project share one segment until you seal it.
  • The bundled CLI prints hints such as python scripts/kb.py ...; the plugin appends a note so the model uses the kb_* tools instead.
  • Text memory only — it does not resolve code symbols to definitions.

License

MIT. vendor/kb/ is taken from why774/context-kb, also MIT.

Comments

Loading…

Similar plugins

rcs-context

by ScreamingMaggot

把长对话的重复计费砍掉一半,并给模型配一名只读调查员:先核实,后动手。面向 DeepSeek Harness 的上下文压缩与外置推理插件(MIT)。

Memory & ContextSessions & MessagesManifest valid

★ 1

MIT

JavaScript

Oct 22, 2026

dsh plugin --profile web add rcs-context

by dogbotowo-oss

Long-conversation memory for DeepSeek Harness (DSH): keeps settled decisions, user corrections and exact numbers, with their conditions and sources, available across compaction and restarts in 100-100

Memory & ContextSessions & MessagesManifest valid

★ 1

MIT

JavaScript

Oct 31, 2026

dsh plugin --profile web add dsh-long-memory

by Relistencode

Conversation history recall for DeepSeek Harness (DSH) — literal/fuzzy/semantic retrieval of every past conversation, fully local & offline. AI never forgets what you told it.

Memory & ContextManifest valid

★ 4

↓ 301/wk

MIT

JavaScript

Aug 16, 2026

dsh plugin --profile web add dsh-recall

Persistent project memory, event-sourced task lifecycle, context budgeting, and cooperative multi-agent handoffs.

Workflow & AutomationMemory & ContextManifest valid

★ 0

↓ 67/wk

dsh plugin --profile web add dsh-continuum

Cross-session event-cue memory for DeepSeek Harness: auto-extracts task/conversation cues and user language habits from every turn into a persistent global cue bank, then re-injects remembered context

Memory & ContextManifest valid

★ 0

dsh plugin --profile web add dsh-cue-bank

by kkwings

该仓库暂未提供项目说明。

Memory & ContextSessions & MessagesManifest valid

★ 1

MIT

JavaScript

Oct 12, 2026

dsh plugin --profile web add dsh-super-memory