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
F

dsh-facts

Facts

dsh time-aware memory: stores timestamped facts in SQLite, automatically invalidates old values on set, filters queries by time, registers as a tool for the agent to actively read and write, and injects currently valid facts into future session contexts

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

npx -y @deepseek-ai/dsh plugin --profile web add github:Zok66/dsh-facts#d46d1671ef1397a949d3ae38aa9a173e95b36fb9
READMECompatibilityVersions

Compatibility and provenance

Facts is published as dsh-facts 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/20/2026

Versions

0.1.0stable
10/20/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/20/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 memory-context.

Experimental Session Search@deepseek-ai/dsh-experimental-session-searchGive Agents tools to search and read earlier sessions from the current workspace.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).Contextdsh-contextA DeepSeek Harness plugin for context insight and management, with context dashboard and context command, for understanding how the context is made of, and how it evolves.Mnemondsh-mnemonComposable, view-based context for DeepSeek Harness. Pluggable sources and strategies, with layered memory and self-evolving skills out of the box.

README

dsh-facts — 时间感知记忆

复刻 Graphiti 的两点核心价值,但砍掉全部重型依赖,做成纯本地、零外部服务、DSHA 即装即用的记忆插件:

  1. 每条事实带时间戳(since 生效 / until 失效);
  2. 新事实自动使旧事实失效(不删除,保留历史可回溯)。

设计

  • 存储:SQLite 单文件(node:sqlite 内置,零 npm 依赖),默认落在 data/facts.db,可用环境变量 DSH_FACTS_DB 覆盖。
  • 事实模型:subject(主体)+ predicate(关系/属性)+ object(值)+ since + until。
  • 时间语义:until = NULL 表示「当前仍有效」;set 同「主体+关系」时,把旧事实填上 until=now,再插入新事实。
  • 历史回溯:fact_get_at(at) 命中 since <= at < until,可查「某天当时的状态」。

能力

工具(agent 会话内可直接调用)

工具作用
fact_set记录/更新事实;同「主体+关系」自动失效旧值
fact_get查当前有效事实
fact_get_at查某历史时刻(ISO 8601)有效事实
fact_list列当前(或含历史)事实
fact_forget按 id 物理删除
fact_undo撤销最近一次写入

记忆注入

插件注册一个系统提示词段落,每轮自动把当前有效事实渲染进提示词,让未来的会话直接「记得」这些事实;当用户陈述的新事实与记忆冲突时,agent 会调用 fact_set 更新(旧值自动失效)。

安装

# 1. 把插件加进 profile 依赖与 bundles(link 模式)
dsh plugin --profile web add /path/to/dsh-facts
# 手动编辑 package.json:dependencies 加 "dsh-facts": "link:/path/to/dsh-facts",
# dsh.profile.bundles 列表追加 "dsh-facts"

# 2. 重启 web profile 生效

为什么不是 Graphiti 本体

Graphiti 需要图数据库(Neo4j / FalkorDB / Kuzu)服务端 + 反复调用 LLM 做实体抽取,在手机容器里跑不起来,也塞不进 JS 插件体系。本插件只保留「时间戳 + 自动失效」这一精髓,用 SQLite + 静态 schema 实现同等语义,成本趋近于零。

License

MIT