dsh-focal
Run the following command in DeepSeek Harness:
dsh plugin install Haoran2099/dsh-focal
Paste the following prompt into your AI chat to install this plugin:
In DeepSeek Harness, add this memory plugin by running dsh plugin install Haoran2099/dsh-focal, sourcing from https://github.com/Haoran2099/dsh-focal.
About this plugin
In a multi-turn DeepSeek Harness agent session, stuffing the full history into every model request wastes the context window and pushes sensitive material into a network hop that may never need to happen. FOCAL (Filtered On-device Continuous Activity Logging) addresses exactly that: it watches committed session records, routes user messages into task-isolated memory buckets via a small deterministic similarity filter, and injects only the active task's bounded context snapshot into the next request. Everything else stays in a local file and never leaves the machine with the prompt.
The filtering is selective rather than aggressive. It records tool names, call success or failure, and path-like arguments, but deliberately never captures assistant token streams, raw tool arguments, or full tool-result payloads. Common credentials and email addresses are redacted before anything is written, and absolute paths outside the workspace are reduced to their basename. Each session ends up as a single bounded JSON document under the local DSH_HOME directory, with zero network calls and no telemetry. On the model side, focal_status and focal_recall expose two read-only tools, while the human-facing focal command retains sole authority over deletion.
If you run several tasks side by side in daily development and would rather not ship your entire conversation to a remote model, or if you want a privacy-boundary-aware memory layer that stays on disk, FOCAL is currently the only host plugin in the DSH ecosystem that combines task isolation, bounded injection, and an anti-injection policy section. It is at v0.1.1 (experimental), ships as a host-only plugin with no Web UI yet, and is best suited to developers comfortable tracking the DSH 0.1.0-rc.6 interface.
Use Cases
- Juggling several development tasks in one DSH session and needing only the active task context in each request.
- Reducing historical token volume sent to the model while retaining tool-name and success/failure signals.
- Running local DSH agent workflows without shipping full conversations to a remote model provider.
Best For
- DSH developers who need lightweight session memory with data staying on disk.
- Developers using local LLM backends and wanting full control over context-injection boundaries.
- Engineers managing multi-task agent workflows who prefer deterministic filtering over vector retrieval.
Related Plugins
Traceable, searchable cross-session memory for AI agents that turns conversation knowledge into a typed knowledge graph and recalls relevant subgraphs instead of replaying full history, natively integrated with DeepSeek Harness.
Gives DSH AI cross-session long-term memory, to-do and skill management, plus multi-session orchestration, external AI delegation, and an infinite canvas that grows with you.
dsh-mnemon is a three-tier, pluggable, Agent-driven memory system for DeepSeek Harness, combining Runtime memory, Project Documents, and replaceable Memory Spaces with nine long-term providers.
An opinionated, zero-infrastructure file-based memory protocol: human-readable markdown files plus a bounded always-loaded index, curation discipline, and no database or embeddings.