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/plugin-dsh-workspace-context

Plugin Dsh Workspace Context

The workspace-context service: a DeepSeek Harness plugin that plays the workspace family's attention-projection role - the required/relevant/deferred context economy. The service (registered as ctx.workspaceContext) builds the ORIENTATION PACKET from the

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

npx -y @deepseek-ai/dsh plugin --profile web add @playform/plugin-dsh-workspace-context@0.2.1
READMECompatibilityVersions

Compatibility and provenance

Plugin Dsh Workspace Context is published as @playform/plugin-dsh-workspace-context 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
43.3 kB
Files
58
Surface
any
License
CC0-1.0
Source
npm
GitHub
★ 2
Weekly downloads
294
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

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).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" ---Fish Memorydsh-fish-memoryGive conversations in DSH a fading long-term memory, with every entry timestamped.

README

@playform/plugin-dsh-workspace-context

v0.1.0 - UNPUBLISHED - plan: Workspace-Family/CONTEXT

The role

The workspace family's context service provides the attention projection (the required/relevant/deferred) and the context economy.

  • The orientation packet (V4-1 section 3.5): the eight fixed sections WORKSPACE <name> @ <revision> / SCOPE / MAP / FOCUS (the node, its span, its fingerprint, its version) / NEIGHBORS (the strongest edges, ranked) / EVIDENCE (the files/spans) / OPEN (the honest gaps) / STALE (the version the caller held, when it differs).

    It is built from the sibling workspace-graph's index through a self-contained structural handle.

  • The budget: target 2000 tokens (budgetTokens), configurable hard cap (budgetMaximum).

    It is measured with the harness ctx.tokenMeter where available, else at ~4 chars/token.

    Over budget, the weakest neighbors drop first, and every clamp is ledgered.

  • The lenses: code (default), docs, tests - the shipped catalog filters the eligible node and edge kinds.

  • The surfaces: the workspaceContext service (declaration-merged accessor: packet, lenses, focusOf, statistics) and the read-only workspace_context tool.

  • The packet memo: packet(query) is served through a bounded memo, where a hit returns the same packet object and writes no second ledger line; the graph's graph/invalidated trace event clears it, so the next identical query rebuilds against the new revision (D5).

    The trace bus (ctx.trace) is optional, so without it the memo simply lives until the process ends.

The plugin ships disabled (the IDLE-forever posture): it never appears in the profile's bundles and enables only by an explicit ACTIVATE.

Plan: Documentation/Plans/WORKSPACE-FAMILY-V4-1.md section 3.5 + Documentation/Plans/Workspace-Family/CONTEXT.md.

The surfaces

  • The workspaceContext service (declaration-merged accessor: packet, lenses, focusOf, statistics).
  • The read-only workspace_context tool.
  • The optional ctx.trace (graph/invalidated clears the packet memo).

The ledger

The lines are prefixed context: (byte-exact; see also the smoke folders' expected-string sections):

context: activated (budget=2000/4000, lenses=3)
context: disabled (enabled=false)
context: packet <id> (<tokens> tok, lens <lens>)
context: clamped (<tokens> -> <tokens> tok, budget <max>)

The configuration

FieldDefaultMeaning
enabledfalsethe master switch (the IDLE-forever posture)
logtruethe ledger switch (shared cell)
logFile~/.dsh/playform/plugin-dsh-workspace-context.logthe ledger
budgetTokens2000the target token budget
budgetMaximum4000the hard cap
lensDefaultcodethe default lens
neighborLimit20the NEIGHBORS section bound
evidenceLimit12the EVIDENCE section bound
mapLimit12the MAP section bound
workspaceNameworkspacethe WORKSPACE section name
policy.*D6 defaultsthe per-action allowlist (see below)

Every field is a volatile cell.

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 plan

  • Documentation/Plans/WORKSPACE-FAMILY-V4-1.md section 3.5 - the orientation packet.
  • Workspace-Family/CONTEXT - the context service.
  • The plugin ships disabled (the IDLE-forever posture): it never appears in the profile's bundles and enables only by an explicit ACTIVATE.

License

CC0-1.0.

The policy block (D6)

The config carries the shared per-action allowlist (policy: Policy(), composed from the factory's block), mapped to State.Allow:

actiondefaultactiondefault
readautowriteapprove
indexautocommitapprove
recordautospawnapprove
suggestautomessageauto

The context service's actions are read-only, all AUTOMATIC, and it has no gated action (no file write, no batch commit, no spawn), so the block documents the posture and refuses nothing.

The block is one volatile object, so a policy flip is hot-editable without a remount, and a resolved pack's policy section overrides the defaults per action (the wiring is the next refinement).