Bundle
dsh-fork-to-preset
Fork any session into a different agent preset — a UI button with preset picker in the conversation header.
- Source
- bpc-oss
- stars
- 1 stars
- License
- MIT
- Updated
- Updated 15 days ago
Readme
# dsh-fork-to-preset
 
A [DeepSeek Harness](https://github.com/deepseek-ai/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
### 1. Link the package into the harness install
```bat
:: Windows
mklink /J "<plugin-dir>\node_modules" "<harness>\resources\host\node_modules"
```
```sh
# POSIX (Linux/macOS)
ln -s "<harness>/resources/host/node_modules" "<plugin-dir>/node_modules"
```
### 2. Add the bundle to a profile
```json
{
"dependencies": { "dsh-fork-to-preset": "link:<plugin-dir>" },
"dsh": { "profile": { "bundles": ["...", "dsh-fork-to-preset"] } }
}
```
## License
MIT
Install
dsh plugin --profile web add github:bpc-oss/dsh-fork-to-preset
Profile: web
With the hub plugin installed, ask your agent to install it by name — it resolves the same plan shown here.
dsh plugin --profile web add github:stvlynn/dsh.fish#path:packages/dsh-plugin-hub
install dsh-fork-to-preset from the hub
- This source has no pinned commit, so a later push upstream changes what installs. Prefer pinning a commit.