DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

Experimental Tool Worktree — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

@deepseek-ai/dsh-experimental-tool-worktree

Experimental Tool Worktree

创建并进入新的 Git 工作树的模型工具

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

npx -y @deepseek-ai/dsh plugin --profile web add @deepseek-ai/dsh-experimental-tool-worktree@0.2.1-alpha.2
README兼容性版本

兼容性与来源证明

Experimental Tool Worktree 以 @deepseek-ai/dsh-experimental-tool-worktree 发布,当前版本为 0.2.1-alpha.2。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

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

版本

0.2.1-alpha.2prerelease
2026/10/9
查看其余 2 个版本收起版本
0.2.1-alpha.4prerelease
2026/10/15
0.2.1-alpha.3prerelease
2026/10/14

相关插件

正在加载相关插件…

最新版
0.2.1-alpha.2
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
16.9 kB
文件数
11
Surface
any
许可证
MIT
发布源
npm
GitHub
★ 0
周下载
12,564
安全扫描
✓ v0.2.1-alpha.2 扫描通过
查看源码 ↗项目主页 ↗
README Badge

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

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

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

认领这个 Plugin →
报告问题

README


description: "Model tool that creates a new local Git worktree and changes the current Session directory." kind: "package-bundle"

@deepseek-ai/dsh-experimental-tool-worktree

English | 中文

Summary

Add Git Worktrees from the GUI plugin manager to let a model create and enter a new Git worktree with one call. This optional bundle is installed with Harness and stays off until selected. Native tool calls and PTC programs receive the same typed result, and the existing file policy governs creation.

Table of Contents

  • Use this package
  • Understand the implementation
  • Further Exploration
  • Model Experience
  • Known Limitations and Deferred Work
  • Dev Note

Use this package

In the GUI, open Plugins → Official → Git Worktrees and turn on the switch. The bundle loads the worktree runtime and this tool together; it is off in every shipped profile. Turning it off removes create_worktree without deleting existing checkouts or branches. The built-in working_directory tool remains available.

For an explicit composition, mount this function plugin after the worktree runtime and tool registry.

- name: '@deepseek-ai/dsh-experimental-worktree'
- name: '@deepseek-ai/dsh-experimental-tool-worktree'

Call create_worktree({ name?: string, from?: string }). Success returns the canonical checkout path, new branch, pinned baseCommit, and source repositoryRoot, and changes the calling Session's current working directory. To leave, call working_directory({ cd: path }); the checkout and branch remain. The generated tool catalog owns the exact schema and model-facing description.


Understand the implementation

Implementation internals — click to expand

cordis.patch.yml inserts the worktree runtime row and the tool-worktree consumer row. src/index.ts registers one typed tool. Runtime creation owns Git behavior, cancellation, and the working-directory change. The tool returns the runtime record as its canonical value and renders that record as JSON; its Host presentation uses the generic card. Disposal unregisters the tool.

No runtime invariant companion is published because the tool retains no state independently of the worktree runtime.


Further Exploration

  • Worktree runtime — configuration, creation semantics, and write permissions.
  • Working directory — Session context and exit operation.
  • Tool authoring — canonical results and pure presentation.

Model Experience

Creation tool

What the model sees

The tool catalog defines create_worktree. Each successful result contains the created checkout's canonical path, branch, base commit, and source checkout’s top-level directory. Failed calls report the operation error.

Token effect

The schema has a fixed per-request cost while mounted. Each call appends its arguments and bounded creation result or error to ordinary tool history.

KV Cache effect

Unchanged tool schemas retain their existing prefix. Calls append after prior history; the working-directory service separately records the successful directory change for later requests.

Known Limitations and Deferred Work

  • Calling Agent required — the tool changes a Session directory and rejects calls without an Agent.
  • Creation only — inspection, merging, and checkout or branch removal are outside this tool; the runtime limitations also apply.

Dev Note

Working context for maintainers — click to expand

None.

相关插件

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

Client Ui Git Graph@linxin666/dsh-client-ui-git-graph外部 dsh Web GUI 插件:空会话 Git 分支选择器和 Git 图,包含实际的主机端 Git 操作与防护,作为 dsh 配置文件包Better Sidebardsh-better-sidebarBetter Sidebar for 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 更新;可通过设置图标旁侧边栏中的触发器启动,并显示发布说明面板