bpc-oss/dsh-fork-to-preset0

dsh-fork-to-preset

在对话头部添加按钮,支持将当前会话分叉(Fork)到不同的 Agent 预设中运行。

AI 分析

核心用途是允许用户一键将当前会话继承并分叉到一个全新的、运行在不同 Agent 预设下的独立子会话中。适合需要切换不同角色或配置来继续处理同一上下文任务的用户。

包名
dsh-fork-to-preset
版本
0.1.0
许可证
MIT
最近更新
2026年8月21日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:bpc-oss/dsh-fork-to-preset

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 "
\node_modules" "\resources\host\node_modules"
# POSIX (Linux/macOS)
ln -s "/resources/host/node_modules" "
/node_modules"

2. Add the bundle to a profile

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

License

MIT