rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Haoran2099/dsh-focal
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
FOCAL is an experimental, privacy-first memory plugin for DeepSeek Harness. It filters an agent session into task-isolated memories and injects only the active task's bounded context into later model requests.
This is the DSH adaptation of
FOCAL: Filtered On-device Continuous Activity Logging for Efficient Personal
Desktop Summarization. The paper reproduction
code remains in Haoran2099/focal.
v0.1.10.1.0-rc.647f943859bef60e4160492346772ded9b24f765a0.1.0-rc.6 CLIDeepSeek Harness is currently a developer preview and warns that compatibility- breaking changes will occur. This package pins the supported DSH interfaces intentionally.
Install directly from the tagged GitHub source. The package is plain ESM and has no install-time build script.
dsh plugin --profile web add github:Haoran2099/focal-dsh#v0.1.1
dsh --profile web --dump-config
dsh --profile web
Use --profile headless instead to add FOCAL to one-shot CLI runs.
Remove it with:
dsh plugin --profile web remove focal-dsh
session/event records.$DSH_HOME/focal-dsh/v1 (normally ~/.dsh/focal-dsh/v1).Human command:
/focal status
/focal tasks
/focal forget task-1
/focal forget all
Model-facing read-only tools:
focal_statusfocal_recallDeletion is deliberately available only through the human command.
Override the inserted row in the profile's cordis.patch.yml. A DSH patch
replaces the row's whole config, so keep every setting you still need:
- id: focal-memory
config:
captureUserText: false
captureToolPaths: true
injectContext: true
maxTasks: 32
maxObservationsPerTask: 40
maxContextObservations: 8
maxContextChars: 4000
captureUserText: false replaces stored request text with a generic marker.
injectContext: false keeps collection and explicit recall available but adds
nothing automatically to model requests.
FOCAL performs no network requests and has no telemetry. Stored text is local, bounded, and passed through token, credential, and email redaction. Absolute paths outside the workspace are reduced to their basename, and the workspace's absolute path is not written into the memory document.
When injectContext is enabled, the filtered active-task snapshot becomes part
of the next model request and is therefore sent to the model provider selected
in DSH. Use a local provider or disable injection if that boundary is not
acceptable. Memory is explicitly marked as untrusted data; it is never treated
as instructions.
This filtering is defense in depth, not a guarantee that all sensitive values can be recognized. Do not place credentials in prompts or tool arguments.
Requires the Node.js range supported by DSH (^22.19.0 || >=24.0.0).
npm install
npm test
npm pack --dry-run
See CONTRIBUTING.md and SECURITY.md.
The plugin code is MIT licensed. Cite the FOCAL paper using
CITATION.cff.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。