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.

DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins

@playform/hook-dsh-replay-suggester

Hook Dsh Replay Suggester

The replay-suggester hook: a DeepSeek Harness plugin that answers the question 'the last time this was done, what did the model actually touch and how did it verify?' from the session history. When the model searches with an intent it has pursued before,

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

npx -y @deepseek-ai/dsh plugin --profile web add @playform/hook-dsh-replay-suggester@0.2.1
READMECompatibilityVersions

Compatibility and provenance

Hook Dsh Replay Suggester is published as @playform/hook-dsh-replay-suggester and currently resolves to version 0.2.1. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
any
Release source
npm
Registry updated
11/4/2026

Versions

0.2.1stable
10/28/2026
0.2.0stable
10/25/2026
0.1.0stable
10/25/2026

Related plugins

Loading related plugins…

Latest
0.2.1
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
56.7 kB
Files
52
Surface
any
License
CC0-1.0
Source
npm
GitHub
★ 2
Weekly downloads
288
Security scan
✓ v0.2.1 scan passed
Last push
11/4/2026
View source ↗Project homepage ↗
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

README

@playform/hook-dsh-replay-suggester

v0.2.1 - UNPUBLISHED - plan: SEARCH-SUGGESTER-PLUGIN

The role

The replay-suggester hook is a DeepSeek Harness plugin that answers the question "the last time this was done, what did the model actually touch and how did it verify?" (SEARCH-SUGGESTER-PLUGIN.md §9.3).

When the model searches with an intent it has pursued before, the hook recalls the matching record from its history store and prepends ONE labeled additionalContexts notice: the files touched last time and the verification command.

  • The history store is ~/.dsh/replay-suggester/history.json (the seed of the search-suggester's journal per §9.3, while the offline learner and the journal adapter are the end-phase wiring).

    The store loads once at apply, and a missing or corrupt store degrades to silence with a ledger line, never to a guess.

  • The recall store has a producer (the wave 2c re-spec, 03-SUGGESTERS.md): every judged call is recorded, and a later call recalls the paths that accompanied a similar prior call.

    The producer's store is its own (the replay_history storage domain, or the JSON fallback beside the seeded store), and the seeded store still wins when it matches.

  • Without a recalled record the hook abstains (replay no-memory), because a replay answer without a record is a guess and the plan forbids the guess (§2.4).

  • Privacy posture (plan §5.4): repo-relative paths only, no file contents, no user text, local only.

The surfaces

  • The tools/post-execute waterfall listener (after the ccr's {prepend: true} listener) adds one additionalContexts notice and never a content replacement.

  • The agent/pre-step listener resets the note counter for each turn.

  • The recall store is the replay_history storage-domain KV domain, or the JSON fallback beside the seeded store (~/.dsh/replay-suggester/).

  • Injected services: pluginFactory.

    There is no tool and no provided service.

How it works

  1. The post-execute listener.

    The tools/post-execute listener (waterfall, plain registration, after the ccr's {prepend: true} listener) calls next() first.

    Then the hook runs record (the producer), recall (the seeded store, then the live history), detect, gate, and prepend ONE notice.

    Content is never replaced.

  2. The pre-step listener.

    The agent/pre-step listener resets the note counter each turn when a user message enters.

The recall store (the producer)

On every judged call that names a path, the hook appends one entry { seq, path, intent, outcome, at, probe } to the recall history: the per-agent ring plus the durable tier.

The durable tier is the storage-domain KV domain replay_history (version 1, per-record, tables history and meta) when the harness provides a storage facility, and the JSON fallback at recordPath (~/.dsh/replay-suggester/replay_history.json) otherwise; both are bounded by historyDepth and both are awaited through State.Flush().

The recall matches the most recent prior entry with the same tool and either a contained probe literal or the same path directory, then names the paths recorded within learnWindow calls of it (the episode), which means "the last time this area was touched, these files were touched".

The recorded line, the recovery lines (store recovered <n> entries (replay_history|file), store empty (starting fresh)), and the failure lines are byte-exact in SCHEME.md.

The pack

The Repeat intent is pack-driven: the built-in pack (this monorepo's default) lives in @playform/lib-dsh-pack and is projected here as the replay/ domain.

A repository that ships .dsh/pack.yml (or a user-layer pack at ~/.dsh/playform/workspaces/<slug>.yml) gets its OWN replay/ intent and caveat, and a repository without a pack stays silent.

The recalled companion still comes from the history store, because the pack supplies the gate and the caveat, never the companion.

The ledger

The lines are prefixed replay-suggester: and go to logFile:

activated (...)
suggest <id> <k> <n> candidates call <tool>
suppressed <verdict> <id>
abstained ambiguous <id> <k>
abstained no-companions <id> <k>
abstained no-memory <id> <k>
abstained foreign-workspace
recorded <intent> <path> (<n> in store)
history loaded <n> records
history missing (starting empty)
history corrupt (starting empty) <error>
store recovered <n> entries (<source>)
store empty (starting fresh)
store open failed: <reason>
store write failed: <reason>
replay-suggester: <error>; the note is skipped

The configuration

See SCHEME.md for the full schema.

Every field is a volatile cell:

FieldDefaultMeaning
enabledtruethe plugin ships enabled
logtruethe ledger switch (shared cell)
logFile~/.dsh/playform/hook-dsh-replay-suggester.logthe ledger
threshold0.75the gate threshold k
maxCandidates7the bound on named candidates
maxNoteChars1200the note length bound
cooldownCalls6the cooldown between notes
maxNotesPerTurn3the per-turn cap
intents[]the intent filter
judged tools["bash", "edit", "glob", "grep", "read", "write"]the judged calls
exclude["node_modules", "Target", ".git", "dist"]the excluded paths
historyPath~/.dsh/replay-suggester/history.jsonthe seeded store
learnWindow2the episode width in calls
recordPath~/.dsh/replay-suggester/replay_history.jsonthe producer's JSON fallback
historyDepth32the entry bound

The build and the tests

The build is pnpm prepublishOnly (Source/prepublishOnly.sh): the plugin build (ESM Target/, Test tree excluded), the Test build, the harness selfcheck, and the Test type-check.

The smoke folders are History-Producer, Loader-And-History, Pack-Driven, Pipeline-And-Recall, and Workspace-Gate.

The plan

  • SEARCH-SUGGESTER-PLUGIN - section 9.3, the recall answer.

  • Completion-Spec/03-SUGGESTERS - the wave 2c re-spec (the producer).

  • The package, the Source, the smoke suites, and the build pass are complete, and the recall store's producer landed.

  • The live activation (the profile row flip and the restart) is the remaining end-phase step (POC-BRIEF.md §8).

    It ships enabled: false in the bundle patch.

License

CC0-1.0.

Related plugins

More verified plugins in memory-context.

Experimental Session Search@deepseek-ai/dsh-experimental-session-searchGive Agents tools to search and read earlier sessions from the current workspace.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).Mnemondsh-mnemonComposable, view-based context for DeepSeek Harness. Pluggable sources and strategies, with layered memory and self-evolving skills out of the box.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" ---