DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-env-facts

z

dsh-env-facts

Manifest valid

DSH plugin: structured environment facts with an as-of timestamp in the runtime-context snapshot

hasBundlePatch

env-facts — DSH plugin: structured environment facts with an as-of stamp

A DeepSeek Harness (DSH) Host plugin that adds a machine-readable fact block with its capture time to the runtime-context snapshot:

As of 2026-10-25T12:34:56.789Z
<env>
cwd: "F:\\workspace"
file_policy: danger-full-access
approval_policy: never
gui_url: http://127.0.0.1:3442
session: 019...
</env>

The built-in snapshot lists these facts as prose and carries no timestamp; this plugin adds both a structured form and an As of time without touching the DSH installation.

Why the as-of stamp is computed this way

The snapshot text participates in DSH's dedupe: while the environment is stable the snapshot is not re-sent (an audit of dsh-v0.2.1-rc.3 measured 186 model steps producing a single snapshot). Writing a fresh timestamp every step would defeat that dedupe and emit one message per step.

This plugin caches per session and only recomputes the text when the facts change. As of is the moment those facts last changed (or were first captured), so the text stays byte-identical while the environment is stable and the snapshot dedupe keeps working.

Facts and their sources

FieldSource
cwdworkingDirectory.get(session)
file_policysandboxPolicy.resolve({ session }).mode
approval_policyapproval.overrideOf(session) (omitted when unset)
gui_urlwebApp.getAdvertisedUrl()
sessionsession.id

A missing service or fact is simply omitted; it never fails assembly.

Install

Install the package directory as a local bundle with plugin_manager (install_bundle). The package declares dsh.bundle.patch, which inserts the env-facts row.

upstream-patch/

This directory contains two patches against deepseek-ai/deepseek-harness tag dsh-v0.2.1-rc.3 that move the same idea into the core (snapshot header constant + stamp at emission, dedupe by body). They are provided for reference and for the upstream project; see upstream-patch/PR.md.

License

MIT — see LICENSE.

Comments

Loading…

Similar plugins

dsh-you-should-know

by lolipop-1x1

A DeepSeek Harness plugin that surfaces important facts, trade-offs, and useful context while your AI agent works.

Notifications & IntegrationsManifest valid

★ 4

↓ 240/wk

MIT

TypeScript

Oct 3, 2026

dsh plugin --profile web add dsh-you-should-know

by deepseekv41flash

给 DSH 模型每轮回填宿主实测的上下文占用,并阻止"上下文快用尽"的错判被压缩摘要继承。

Security & AuditTools & CapabilitiesManifest valid

★ 7

↓ 77/wk

MIT

JavaScript

Oct 12, 2026

dsh plugin --profile web add dsh-context-truth

by 121212165

dsh plugin: cross-session fact notepad with keyword recall, so a decision made in one window is findable in the next (/fact save, /fact find, fact_find)

Manifest valid

★ 0

MIT

TypeScript

Oct 3, 2026

dsh plugin --profile web add dsh-plugin-fact-vault

by caishengshuo

Every file, one version before it breaks. A DSH plugin: snapshots a file the instant before an agent rewrites it, with a per-session GUI timeline where any point can be restored in one click.

Manifest valid

★ 0

MIT

JavaScript

Oct 24, 2026

dsh plugin --profile web add dsh-beforewrite

by andrepontesmelo

The DSH productivity suite: plugins + agent skills for the DeepSeek Harness, installable in one command.

Tools & CapabilitiesManifest valid

★ 0

MIT

JavaScript

Sep 11, 2026

dsh plugin --profile web add @andrepontesmelo/dsh-suite

by zhangyy0423

dsh plugin: per-turn receipts (todo counts, goal id, fail-closed plan verdict) that survive the next turn, plus a read-only veripipe_receipt tool.

Sessions & MessagesManifest valid

★ 0

MIT

JavaScript

Oct 8, 2026

dsh plugin --profile web add dsh-veripipe