Community directory previewDeepSeek Harness is in developer preview
DM

dsh-memory-plus

PluginConfirmed pluginCommunity

QIANLING-0831/dsh-memory-plus · updated 18 days ago

Installation

dsh plugin --profile <profile> add ./packages/dsh-memory-bundle
dsh plugin --profile <profile> add ./packages/dsh-session-query-sqlite-cjk
dsh plugin --profile web add dsh-memory
dsh plugin --profile web add github:QIANLING-0831/dsh-memory-plus

Plugins in this repository

  • dsh-memory-bundlev0.1.0✓

    Meta-bundle: installs all dsh-memory plugins (CJK search, dedup, hybrid memory index, memory tool, compaction locator, core memory, skill manager + self-evolution) into a DeepSeek Harness profile as one patch layer.

  • dsh-compaction-locatorv0.1.0

    Near-lossless compaction for the DeepSeek Harness — extends BasicCompactionEngine so each <compacted-summary> ends with an Exact Sources locator block (spill files, touched file paths, seq range), making compacted details recoverable via memory_search / read.

    dsh.bundle.patch
    —
    Official core packages (6)
    • @deepseek-ai/cordis^4.0.1shared
    • @deepseek-ai/dsh-compaction^0.1.0-rc.7shared
    • @deepseek-ai/dsh-compaction-basic^0.1.0-rc.7shared
    • @deepseek-ai/dsh-llm^0.1.0-rc.7shared
    • @deepseek-ai/dsh-session^0.1.0-rc.7shared
    • @deepseek-ai/dsh-token-meter^0.1.0-rc.7shared
  • dsh-memory-corev0.1.0

    Cross-session core memory for the DeepSeek Harness — workspace-scoped persistent facts (ctx.memoryCore) with a stable system-prompt section (KV-cache safe) and a memory_remember tool.

    dsh.bundle.patch
    —
    Official core packages (4)
    • @deepseek-ai/cordis^4.0.1shared
    • @deepseek-ai/dsh-system-prompt^0.1.0-rc.7shared
    • @deepseek-ai/dsh-tools^0.1.0-rc.7shared
    • @deepseek-ai/schemastery^3.18.1private copy
  • dsh-memory-indexv0.1.0

    Hybrid memory search for the DeepSeek Harness — sqlite-vec vector arm + FTS5 lexical arm (RRF fusion) over session events, with local bge embeddings via transformers.js. Provides ctx.memorySearch.

    dsh.bundle.patch
    —
    Official core packages (4)
    • @deepseek-ai/cordis^4.0.1shared
    • @deepseek-ai/dsh-session^0.1.0-rc.7shared
    • @deepseek-ai/dsh-session-query^0.1.0-rc.7shared
    • @deepseek-ai/schemastery^3.18.1private copy
  • dsh-memory-skillsv0.1.0

    Skill manager + background self-evolution for DeepSeek Harness — model-facing skill_write/delete/list tools persist DSH-native skill files, and a timer-driven reflection loop distills reusable skills from finished agent turns (background, KV-free, logged).

    dsh.bundle.patch
    —
    Official core packages (5)
    • @deepseek-ai/cordis^4.0.1shared
    • @deepseek-ai/dsh-llm^0.1.0-rc.7shared
    • @deepseek-ai/dsh-skill^0.1.0-rc.7shared
    • @deepseek-ai/dsh-tools^0.1.0-rc.7shared
    • @deepseek-ai/schemastery^3.18.1shared
  • dsh-memory-toolv0.1.0

    Model-facing memory_search tool for the DeepSeek Harness — hybrid lexical+semantic recall over a session's earlier conversation via ctx.memorySearch, with bounded snippets.

    dsh.bundle.patch
    —
    Official core packages (3)
    • @deepseek-ai/cordis^4.0.1shared
    • @deepseek-ai/dsh-tools^0.1.0-rc.7shared
    • @deepseek-ai/schemastery^3.18.1private copy
  • dsh-session-query-sqlite-cjkv0.2.0

    CJK-aware ctx.sessionQuery backend for the DeepSeek Harness — SQLite FTS5 provider with a trigram tokenizer table so Chinese full-text search actually matches (upstream unicode61 does not segment CJK), plus a LIKE fallback for 1-2 character CJK queries.

    dsh.bundle.patch
    —
    Official core packages (5)
    • @deepseek-ai/cordis^4.0.1shared
    • @deepseek-ai/dsh-session^0.1.0-rc.7shared
    • @deepseek-ai/dsh-session-persistence^0.1.0-rc.7shared
    • @deepseek-ai/dsh-session-query^0.1.0-rc.7shared
    • @deepseek-ai/schemastery^3.18.1private copy
  • dsh-tool-result-dedupv0.1.0

    Tool-result dedup policy for the DeepSeek Harness — replaces byte-identical repeated plain-text tool results with a pointer to the first occurrence (hash-indexed), saving input tokens on long sessions.

    dsh.bundle.patch
    —
    Official core packages (5)
    • @deepseek-ai/cordis^4.0.1shared
    • @deepseek-ai/dsh-output-retention^0.1.0-rc.7shared
    • @deepseek-ai/dsh-session^0.1.0-rc.7shared
    • @deepseek-ai/dsh-tools^0.1.0-rc.7shared
    • @deepseek-ai/schemastery^3.18.1private copy

Paths are pinned to commit 5a66aea598f9

Overview

可以有效减少token消耗!DeepSeek Harness memory plugins (dsh-plugin): CJK-aware session full-text search, tool-result dedup, hybrid vector+FTS5 memory search, cross-session core memory, near-lossless compaction locators. Real-harness verified, 65 tests.

Repository check result

Results are bound to the listed commit and cover only static checks run by this registry. The Evidence Score measures reviewable information; it is not a compatibility percentage or a security guarantee.

Static repository check

Medium risk
Checked commit
5a66aea598f9
Evidence Score
85/100
Static risk
Medium risk
Files scanned
10
Findings
5

Evidence breakdown

Source provenance25/25
Install documentation25/25
Maintenance17/20
Compatibility evidence8/20
Security signals10/10

Compatibility confidence: Limited

Findings (5)
Not run
  • Dependency advisory database scan
  • Installation execution test
  • Runtime behavior verification

Scanner 1.0.0 · Scorer 1.0.0