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.

Lossless Context — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
L

dsh-lossless-context

Lossless Context

Use a native compression engine to hierarchically organize context, retain original conversations, and provide retrieval and expansion.

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

npx -y @deepseek-ai/dsh plugin --profile web add github:Kerberos255/dsh-lossless-context#55eceb2a448e94896c305e87fcae270bbe3a41c3
READMECompatibilityVersions

Compatibility and provenance

Lossless Context is published as dsh-lossless-context and currently resolves to version 0.1.22. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
github
Registry updated
10/13/2026

Versions

0.1.22stable
10/13/2026
0.1.21stable
10/12/2026
0.1.19stable
10/12/2026
Show 4 more versionsCollapse versions
0.1.17stable
10/11/2026
0.1.16stable
10/9/2026
0.1.15stable
10/8/2026
0.1.11stable
10/8/2026

Related plugins

Loading related plugins…

Latest
0.1.22
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
MIT
Source
github
GitHub
★ 0
Weekly downloads
0
Last push
10/15/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.

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).Ab Memorydsh-ab-memory--- description: "The dsh-ab-memory package: a cross-session, file-backed agent memory with five tools (remember / recall / forget / load_skill / distill) and an always-on light injection." kind: "package-reference" ---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.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.

README

Lossless Context for DeepSeek Harness

简体中文 · DeepSeek Harness · Security

A hierarchical context-compaction and retrieval backend for DSH. Keep the native session history intact while building traceable summary nodes and allowing agents to retrieve their original supporting text.

Features

  • Uses the native DSH compaction transaction; the plugin does not replace or delete source session logs.
  • Summarizes bounded, tool-call-safe event groups into a layered source DAG.
  • Exposes lcm_grep, lcm_describe, lcm_expand, and lcm_expand_query for authorized session-local retrieval.
  • Adapts headroom and output budgets to the actual selected model, with bounded retries for truncated summaries.
  • Can prepare reusable summary leaves during idle maintenance without committing compaction.
  • Optionally rotates eligible owner-verified Discord/Feishu direct-message sessions after a verified Dream & Memory handoff.

Install and enable

Requires a compatible DSH host with its native session, token-meter and compaction services. See package.json for peer dependencies.

dsh plugin --profile desktop add github:Kerberos255/dsh-lossless-context

Then open Settings → Plugins → Lossless Context, enable the backend, and choose the dsh-lossless-context/agent compaction backend for the agent preset that should use it. Installing the settings plugin alone does not guarantee that every preset uses this backend. Restart when changing plugin code or preset composition.

How it works

Native session events
  → native compaction selection
  → bounded summary leaves → merged summary DAG
  → native commit (only on success)
  → searchable index with references to source event IDs

The current session keeps its native record. Retrieval and expansion resolve back to original source events. Model/provider limits and existing policies control thresholds; unavailable model metadata causes a safe error instead of invented budgets.

Safety, storage, and tests

The plugin stores derived indexes under DSH's data directory, not a second complete conversation history. Invalid, cancelled, oversized or truncated summaries are not committed. Private-channel auto-rotation requires verified owner/workspace bindings and completed Dream evidence; ordinary desktop/group/unverified sessions are not silently moved.

Run npm test for portable policy/regression tests. Real compaction and summary quality require an active model and DSH host. Example settings: config.example.json. Historical notes: CHANGELOG.md.

Related: Dream & Memory · Channel Core.

MIT licensed. See LICENSE.

Optional plugin diagnostics

The plugin optionally emits privacy-restricted operation and failure metadata to dsh-plugin-diagnostics. Diagnostics contain event type, status, fixed error code and elapsed time; conversation content and credentials are not logged. The diagnostics plugin is optional and does not change the host requirements.