dsh-fork-to-preset
界面增强 活跃维护

dsh-fork-to-preset

bpc-oss/dsh-fork-to-preset

在会话头部添加带预设选择器的分叉按钮,点击即可将当前会话快速切换至其他代理预设,无需手动调整配置,直接复用原有会话上下文完成不同代理配置的切换。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
JavaScript
主要语言
MIT
开源协议
13 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:bpc-oss/dsh-fork-to-preset
git clone https://github.com/bpc-oss/dsh-fork-to-preset.git
git clone git@github.com:bpc-oss/dsh-fork-to-preset.git
README.md master

dsh-fork-to-preset

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

1. Link the package into the harness 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