Memory

dsh-fork-to-preset

bpc-oss/dsh-fork-to-preset · ★ 0

bpc-oss

Fork any session into a different agent preset — a UI button with preset picker in the conversation header.

License
MIT
Added
2026-10-30
Maintenance
active
Install kind
github
Manifest status
Declared
Manifest path
package.json#dsh
Manifest checked
2026-10-30T09:39:06.693Z
Lifecycle scripts
None found

Static manifest checks report declarations only; they are not compatibility or security review.

安装

dsh plugin --profile web add 'github:bpc-oss/dsh-fork-to-preset#1cb7b9f60e52adf5702d37668c81792d748a0aa6'

GitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试

For install and environment setup, plus plugin development tutorials, see DSH community docs ↗

README

Source README · body: en · Read Chinese README

Table of contents
  1. How it works
  2. Distribution
  3. Install
  4. 1. Link the package into the harness install
  5. 2. Add the bundle to a profile
  6. License

License Version

A DeepSeek Harness plugin that adds a "Fork to preset" button to every conversation's header. Pick any agent preset from the roster and fork the current session into a fresh independent child session running under that preset — inheriting the parent's completed turns.

How it works

  • Click the ↴ Fork to preset dropdown in the conversation header
  • Select a target agent preset from the roster
  • Click the button → a new session opens, mounted on the chosen preset, with the parent's completed-turn history

Distribution

GitHub-only. Not published to npm. Install by mounting the package directory with a cordis.patch.yml bundle declaration.

Requires a platform that has the session.fork({ agentPreset }) API (DeepSeek Harness rc.8+).

Install

:: Windows
mklink /J "<plugin-dir>\node_modules" "<harness>\resources\host\node_modules"
# POSIX (Linux/macOS)
ln -s "<harness>/resources/host/node_modules" "<plugin-dir>/node_modules"

2. Add the bundle to a profile

{
  "dependencies": { "dsh-fork-to-preset": "link:<plugin-dir>" },
  "dsh": { "profile": { "bundles": ["...", "dsh-fork-to-preset"] } }
}

License

MIT