yul761/dsh-statecore0

dsh-statecore

Native memory for DeepSeek Harness — auditable facts with evidence chains, powered by StateCore

AI 分析

核心用途是为 DSH 引入结构化、可追溯的事实记忆库。适合需要 Agent 长期记住准确事实、并能提供记忆来源凭证的严肃工作场景。

パッケージ
dsh-statecore
バージョン
0.2.0
ライセンス
MIT
最終更新
2026/08/16

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:yul761/dsh-statecore

ドキュメント

README 全文を読む ↗

Configuration

All fields live under the mounted plugin's config: in statecore.cordis.yml (see the shipped file for the commented defaults).

FieldDefaultDescription
dataDir~/.statecoreEmbedded SQLite store directory. Ignored when url is set. Shared with statecore-mcp's own default.
urlunsetTalk to a self-hosted StateCore deployment over HTTP instead of the embedded backend. Unlocks Postgres/pgvector semantic retrieval.
httpUserIdlocalUser id sent on every HTTP backend request. Ignored unless url is set; this plugin has no multi-user concept beyond this one value.
injectBudget4000Characters of recalled memory (digest + facts) injected per turn. The rendered wrapper adds roughly 100 more characters on top, unbounded by this field.
injecttrueFold recalled project memory into the model context every step.
ingesttrueAuto-ingest session messages into memory.
digesttrueRun digest passes over ctx.llm. false means this plugin never calls ctx.llm at all, and scrubs the engine's own env-derived digest gate so an ambient FEATURE_LLM/API key in the host process can't open it either.
digestOnCompactiontrueDemand an immediate digest pass when the host compacts a session, so the shadowed conversation is distilled at the moment its raw form leaves the model's view instead of waiting for digestThreshold. Ignored when digest is false.
digestThreshold20Pending ingested events before a digest pass runs. The embedded engine also runs one startup catch-up pass per scope, at threshold 1, when a backend first initializes — independent of this field, and only for scopes that already have pending events.
digestProviderunsetPin the digest pipeline's llm provider. Must be set together with digestModel. Unset resolves to whichever provider registered first.
digestModelunsetPin the digest pipeline's llm model id. Must be set together with digestProvider.