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/ets-plugin-dsh-normalize-file

Ets Plugin Dsh Normalize File

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

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

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

兼容性与来源证明

Ets Plugin Dsh Normalize File 以 @playform/ets-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
未声明可安全裁剪
解包体积
37.6 kB
文件数
28
Surface
any
许可证
CC0-1.0
发布源
npm
GitHub
★ 2
周下载
284
安全扫描
✓ v0.2.1 扫描通过
最近提交
2026/11/4
查看源码 ↗项目主页 ↗
README Badge

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

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

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

认领这个 Plugin →
报告问题

相关插件

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

Better Sidebardsh-better-sidebarBetter Sidebar for DSH — 在一列中提供文件树、编辑器、变更、任务和侧边聊天,并为每个对话单独显示。同时提供服务,供其他插件注册侧边栏标签页和文件查看器。Client Ui Git Graph@linxin666/dsh-client-ui-git-graph外部 dsh Web GUI 插件:空会话 Git 分支选择器和 Git 图,包含实际的主机端 Git 操作与防护,作为 dsh 配置文件包Ssh@linxin666/dsh-sshdsh Web GUI 的远程 SSH 操作:主机配置存储(~/.dsh/dsh-ssh.json,可从 ~/.ssh/config 导入)、支持跳板主机的持久化 ssh2 连接池、exec / PTY Web 终端 / SFTP 传输 / 本地端口转发隧道 / 集群执行Update@linxin666/dsh-update用于 dsh Web GUI 的自更新插件:探测 npm 上是否有更新的系列版本,并在原地运行所属配置的 pnpm 更新;可通过设置图标旁侧边栏中的触发器启动,并显示发布说明面板

README

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

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

The role

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

One agent-chosen file per call: the target's content is read, the family's SIX transforms (the core's Dashes/Quotes/Ellipsis/Spaces/Invisible/Fullwidth tables through the shared Replace/ReplaceMap replacers, the same chain that the raw-write normalize: true applies) are applied with a per-character count, and only when N > 0 is the rewritten content written back through the factory's ONE shared write executor (resolve-side read, fs/write-intent waterfall, standing sandbox policy, writeText, the root-context fs/observed present emit).

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

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

The lowest plumbing layer - the ledger Append, the shared journal, and the activation-line composer - lives in the family's base package ets-base-dsh, reached through the factory.

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 (hot edits commit WITHOUT remounting the plugin).

The other five scopes are inert in this flavor but 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>

Written through the factory's Append (the durable file line is [<ISO>] <message>).

The activation line is written by apply(), and the count line follows only a successful N > 0 write - 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 EffectTS/packages/ets-plugin-dsh-normalize-file run prepublishOnly
  • Smokes: node EffectTS/packages/ets-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

This package ships no SCHEME.md (it is not in the package.json exports map and not on disk), and the reusable family scheme lives in the sibling packages' SCHEME.md files.