返回目录
其他 待识别

dsh-plugins

ClawsJoy/dsh-plugins

Community plugins for DeepSeek Harness (DSH): upgrade-survivable, seam-based, publishable.

Stars
0
Forks
0
Issues
0
更新
1 天前

PROJECT TOPICS

项目标签

PROJECT README

README

dsh-plugins

Community plugins for DeepSeek Harness (DSH).

Every package here is built to survive a DSH upgrade: it binds to a published contract (a service seam or an addressable profile row), declares the host packages it needs as peer dependencies, and is installed into a profile — never patched into the DSH source tree.

Package What it does
@clawsjoy/dsh-session-persistence-tolerant Listing tolerance + fault surfacing for the jsonl session backend: a corrupt or headerless session log stops disappearing silently.
@clawsjoy/dsh-session-retention Keeps session logs whole: the size cap is opt-in because a rotated log cannot be loaded (seq gap in committed region).
@clawsjoy/dsh-tool-attribution Publishes DSH_TOOL_CALL_ID/DSH_TOOL_NAME for shell executions through the public ctx.shellEnv registry.
@clawsjoy/dsh-token-cost A ctx.tokenCost service with configurable pricing (1/10000 ¥ units) and an honest fullyPriced flag.
@clawsjoy/dsh-egress-observer Record-only egress observation attributed by DSH_TOOL_CALL_ID (Linux /proc; never blocks, never prevents a connection).

Install

dsh plugin --profile web add @clawsjoy/dsh-session-persistence-tolerant

then swap the profile row (see each package's README for its exact patch).

Development

pnpm install
pnpm test
pnpm typecheck

Adding or changing a package means the lockfile must be regenerated and committed, or CI's frozen install fails:

pnpm install --lockfile-only   # resolves without touching node_modules

License

MIT

CLASSIFICATION EVIDENCE

分类依据

项目类型待识别
功能分类其他
规则置信度

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。