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.

Experimental Tool Worktree — DSH Plugin for DeepSeek Harness
← Plugins

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

Experimental Tool Worktree

Model tool that creates and enters a new Git worktree

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

npx -y @deepseek-ai/dsh plugin --profile web add @deepseek-ai/dsh-experimental-tool-worktree@0.2.1-alpha.2
READMECompatibilityVersions

Compatibility and provenance

Experimental Tool Worktree is published as @deepseek-ai/dsh-experimental-tool-worktree and currently resolves to version 0.2.1-alpha.2. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
any
Release source
npm
Registry updated
10/16/2026

Versions

0.2.1-alpha.2
prerelease
10/9/2026
Show 2 more versionsCollapse versions
0.2.1-alpha.4prerelease
10/15/2026
0.2.1-alpha.3prerelease
10/14/2026

Related plugins

Loading related plugins…

Latest
0.2.1-alpha.2
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
16.9 kB
Files
11
Surface
any
License
MIT
Source
npm
GitHub
★ 250.9k
Weekly downloads
12,564
Security scan
✓ v0.2.1-alpha.2 scan passed
Last push
10/15/2026
View source ↗Project homepage ↗
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 developer-tools.

Web App@deepseek-ai/dsh-web-appThe dsh browser-surface bundle: the web patch layer over dsh-base plus the runtime glue plugin (frontend dist serving, web-surface prompt, bash runtime variables, URL line)Sdk Minimal@deepseek-ai/dsh-sdk-minimalThe standalone minimal SDK profile bundle: JSON-RPC, one DeepSeek adapter, persistent shell, and JSONL sessionsSdk App@deepseek-ai/dsh-sdk-appThe dsh SDK profile bundle: stdio JSON-RPC serving and process lifecycle over dsh-baseExperimental Inspector@deepseek-ai/dsh-experimental-inspectorExperimental cross-realm CDP hub for Host debugging and Client Runtime inspection

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.