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.

Auto Rename — DSH Plugin for DeepSeek Harness
← Plugins
A

dsh-auto-rename

Auto Rename

DSH Web slash command /auto-rename: have the AI read the whole session and rename it automatically to YYYY-MM-DD_语义名. DSH Web 输入框斜杠命令 /auto-rename:让 AI 通读整个会话并自动改名为 YYYY-MM-DD_语义名。

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

npx -y @deepseek-ai/dsh plugin --profile web add github:sci-zyf/dsh-auto-rename#02dcbe8d515e36e0c6143d5a6ca23d95de0ca22e
READMECompatibilityVersions

Compatibility and provenance

Auto Rename is published as dsh-auto-rename and currently resolves to version 0.1.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
any
Release source
github
Registry updated
9/8/2026

Versions

0.1.0stable
9/8/2026

Related plugins

Loading related plugins…

Latest
0.1.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
any
License
MIT
Source
github
GitHub
★ 0
Weekly downloads
0
Last push
9/17/2026
View source ↗
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
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in

Related plugins

More verified plugins in productivity-workflow.

Acp App@deepseek-ai/dsh-acp-appThe dsh ACP profile bundle: automation-only JSON-RPC stdio and process lifecycle over dsh-baseClient Ui Task Board@linxin666/dsh-client-ui-task-boardHost-authoritative task board for the DSH Web GUI with real session execution, Host cron scheduling, and optional cross-platform idle-sleep protection; mounted without DSH source changes.Web All@linxin666/dsh-web-allDSH Web UI 全家桶聚合插件:一键安装全部功能插件(task-board / git-graph / pet / remote-web-ui / web-ui-settings / skin-center / community-plugins / compat shim)。compat 桥接层已并入本包(src/client),无需独立 compat npm 包。Agent Teams@nanmicoder/dsh-agent-teamsAgentTeams for DeepSeek Harness: multi-agent team collaboration (captain, members, tasks with dependencies, messaging) driven by natural language, with a tree monitor in the web GUI

README

dsh-auto-rename

English

DSH Web 输入框斜杠命令 /auto-rename:让模型通读整个会话,推荐一个带日期前缀的语义名,并自动完成改名。

效果:输入

/auto-rename

模型在一个普通 AI 回合内读完当前会话全文(不额外重复发送全文、不额外增加独立模型调用),按 recommend-new-session-name skill 的规则给出分行分点的输出:

推荐:

2026-08-08_会议纪要整理

推荐原因:

这段会话围绕某次会议纪要进行整理与归档

改名方式:

已通过 rename_current_session 自动应用。

其他备选:

- 2026-08-08_会议纪要
- 会议纪要整理

会话标题随即变为 2026-08-08_会议纪要整理,与侧边栏手动改名走同一条官方链路(sessionTitle.rename + sessions.flush),刷新/恢复后标题不变。日期前缀 YYYY-MM-DD 取会话开始日期,由插件在宿主侧从会话日志计算,跨平台一致,不依赖模型猜测。

为什么是"命令 + 模型回合"而不是命令直接改名

DSH 的斜杠命令运行在 UI 命令平面,宿主侧执行、不经模型。若命令自己"读全文再取名",就必须把整段对话作为一次独立模型请求的输入,等于把全文重复发送一遍,浪费 token。

本插件让命令只负责触发:命令向当前会话注入一条 user 消息并唤醒驱动器(与官方 /goal 命令向 agent 投喂消息同一机制),模型在它本来就在处理的回合里读取全文并给出推荐,再调用插件注册的模型可见工具 rename_current_session 完成改名。因此 token 成本与直接让模型取名相当,不会重复发送全文;改名链路仍然官方、持久。

安装

前置条件与 dsh-rename 相同:

  • 已全局安装 dsh CLI:npm install -g @deepseek-ai/dsh
  • Node.js ≥ 22.19(见 package.json engines 字段)
  • 已存在 web profile:dsh profile list 中应包含 web

从 GitHub 仓库安装:

dsh plugin --profile web add https://github.com/sci-zyf/dsh-auto-rename

安装后重启 DSH(或 profile patchReload: live 时自动生效)。卸载:

dsh plugin --profile web remove dsh-auto-rename

使用

在 DSH Web 输入框输入:

/auto-rename

命令不接受参数;需要手动指定标题时用 /rename <title>。模型回合结束后,标题即已应用;若此部署缺少模型可见工具能力,插件会自动降级为"只给出推荐名、请用 /rename 应用",不会静默失败。

宿主适配与平台

  • 适配 DSH 0.1.2-rc 系列(web profile)。
  • 纯 UI 命令插件 + 一个模型可见工具:不直接 import 任何 @deepseek-ai 内部包,不声明 peerDependencies。依赖的命令平面(commands)、会话接口(sessionTitle、sessions)、agent 消息注入面(agent.followup)与工具注册面(tools)均为 DSH 公开面;宿主升级时以实际运行验证为准,而非版本号约束。
  • 纯 JS 实现,不调用 shell、不依赖文件系统,日期前缀在宿主进程内用 JavaScript 计算,因此在 macOS / Linux / Windows 行为一致。
  • 源码通过 GitHub 仓库分发,不发布 npm。

实现

  • lib/index.js:cordis 插件,ctx.inject(['commands']) 就绪后注册 /auto-rename。
  • 命令 handler 在宿主侧计算会话开始日期 YYYY-MM-DD,构造命名指令,经 agent.followup 唤醒主模型回合。
  • 回合内模型调用本插件注册的 rename_current_session 工具,工具内部 sessionTitle.rename(session, title) 接受标题、sessions.flush(session) 持久化——与 dsh-rename 的 apply 链路一致。
  • 注册面与生命周期事件对齐 @deepseek-ai/dsh-commands、@deepseek-ai/dsh-tools 契约;工具在首次执行命令时惰性注册,宿主缺少工具服务时自动降级。

测试

npm test

测试覆盖日期前缀计算、标题规范化、命名指令文本结构、改名工具的官方链路调用与各类降级路径。