DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

@playform/plugin-dsh-normalize-file

Plugin Dsh Normalize File

文件内容规范化版本:一个 DeepSeek Harness 插件,注册 normalize 系列的 `normalize-file` 工具——针对磁盘上已存在文件的读取 → 计数 → 写入流程,超越工具层。每次调用由代理选择一个文件:目标的 c

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add @playform/plugin-dsh-normalize-file@0.2.1
README兼容性版本

兼容性与来源证明

Plugin Dsh Normalize File 以 @playform/plugin-dsh-normalize-file 发布,当前版本为 0.2.1。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
any
发布来源
npm
Registry 更新时间
2026/11/4

版本

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

相关插件

正在加载相关插件…

最新版
0.2.1
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
36.9 kB
文件数
28
Surface
any
许可证
CC0-1.0
发布源
npm
GitHub
★ 2
周下载
274
安全扫描
✓ v0.2.1 扫描通过
最近提交
2026/11/4
查看源码 ↗项目主页 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

README

@playform/plugin-dsh-normalize-file - The file-content normalizer

Version 0.1.0 - UNPUBLISHED (the npm bootstrap tier 2-planned / 3-candidates).

Plan: SCHEME.md.

The role

The file-content normalizer is a DeepSeek Harness plugin that registers the normalize-file TOOL of the normalize family: the read → count → write pipeline over files ALREADY on disk, beyond the tool layer.

One agent-chosen file per call: the plugin reads the content of the target, applies the family's SIX transforms with a per-character count, and writes the rewritten content back only when N > 0, through the ONE shared write executor of the factory, which covers the resolve-side read, the fs/write-intent waterfall, the standing sandbox policy, writeText, and the root-context fs/observed present emit.

The six transforms are the Dashes/Quotes/Ellipsis/Spaces/Invisible/Fullwidth tables of the core through the shared Replace/ReplaceMap replacers, which is the same chain that raw-write applies under normalize: true.

N = 0 writes NOTHING, which is the no-op no-write rule.

The rewrite is explicit, visible in a diff card that shows the before and the after, and opt-in by construction, because this is the first LISTENER-LESS flavor of the family: it has no llm/stream and no fs/observed, and the background-rewrite posture of the design report is deliberately deferred, because that posture would break the old_string contract of the edit tool.

The surfaces

KindNameWhat
toolnormalize-fileThe tool the plugin registers (Context.tools.register) - one file per call.
toolnormalize-overpassThe human command (registered through the factory's commands seam): arms a one-shot overpass.
listenertools/post-executeThe tool-results overpass arm (registered with prepend: true).
listeneragent/pre-stepThe batch overpass arm.
configSchemastery Config schemaThe exported Config (the minimal shared block + the module's own fields).
configledger fileThe module's own ledger, SEPARATE from the family's logs (one log per module).

The configuration

FieldTypeDefaultMeaning
logbooleantrueLedger enabled - write the durable log file (volatile).
logFilestring~/.dsh/playform/plugin-dsh-normalize-file.logThe file-flavor ledger, SEPARATE from the family's logs (volatile; overrides the minimal shared block's empty default).
replacementstring-The dash replacement - the transform's ONLY knob (ASCII hyphen-minus by default; volatile: the next tool call picks it up with no remount).
scopesobject(see leaves)Granular scope gates, ALL volatile as one object (live toggling, no remount): one leaf change commits one update whose whole object the refresh listener re-reads.
scopes.conversationbooleantrueThe conversation/text/block-end gate.
scopes.reasoningbooleantrueThe reasoning sub-gate.
scopes.toolInputbooleanfalseThe tool-call arguments arm.
scopes.toolResultsbooleanfalseThe tools/post-execute arm.
scopes.filesbooleantrueThe normalize-file tool itself - the ONLY arm this tool flavor has; off means the tool returns the unchanged changed: false result with no read, no write, no ledger line.
scopes.batchbooleanfalseThe agent/pre-step arm.
toolResultsExemptstring[]["read", "edit", "raw-write", "normalize-file", "ccr_retrieve", "subagent", "ask_user_question"]Tool-results exemption list (volatile): a tool result whose exec name is listed passes through by identity.

All fields are volatile, so hot edits commit WITHOUT remounting the plugin.

The other five scopes are inert in this flavor but stay present in the schema, so one patch override drives the whole family.

The ledger

plugin-dsh-normalize-file: activated (replacement=-, logFile=~/.dsh/playform/plugin-dsh-normalize-file.log)
plugin-dsh-normalize-file: normalized N char(s) in <path>
plugin-dsh-normalize-file: command "normalize-overpass" registration skipped (the mount continues): <cause>

The factory's Append writes these lines, and the durable file line is [<ISO>] <message>.

apply() writes the activation line, and the count line follows only a successful N > 0 write, so a no-op writes no line and a failed read or an aborted call writes none either.

Each N > 0 write also journals one normalized record into the shared package_governance v2 domain.

The build and the tests

  • Build: pnpm --config.verify-deps-before-run=false --dir Classic/packages/plugin-dsh-normalize-file run prepublishOnly
  • Smokes: node Classic/packages/plugin-dsh-normalize-file/Target/Test/<Folder>/Test.js
    • Config-And-Registration - 18 checks
    • Error-Paths - 10 checks
    • No-Op-Rule - 11 checks
    • Overpass - 29 checks
    • Presenters - 8 checks
    • Read-Write-Pipeline - 24 checks
    • Volatile-Live-Flip - 12 checks

The plan

SCHEME.md.

相关插件

继续浏览 developer-tools 分类下经过校验的插件。

Web App@deepseek-ai/dsh-web-appdsh 浏览器界面捆绑包:位于 dsh-base 之上的 Web 补丁层,加上运行时粘合插件(提供前端 dist、Web 界面提示符、bash 运行时变量和 URL 行)Sdk App@deepseek-ai/dsh-sdk-appdsh SDK 配置包:基于 dsh-base 提供 stdio JSON-RPC 服务和进程生命周期管理Experimental Inspector@deepseek-ai/dsh-experimental-inspector用于 Host 调试和 Client Runtime 检查的实验性跨 realm CDP hubExperimental Inspector Profile@deepseek-ai/dsh-experimental-inspector-profile用于原始 Session 日志和 Chat 节点检查的可选 Web 捆绑包