zeropointnine/dsh-compact-and-branch0

dsh-compact-and-branch

DSH /compact-and-branch command: canonical compaction into a fresh continuation session.

AI 分析

核心用途是通过压缩历史并开启新会话来解决长对话 Token 溢出问题。适合需要长期、连续进行复杂任务对话的用户。

パッケージ
dsh-compact-and-branch
バージョン
0.2.0
ライセンス
MIT
最終更新
2026/08/23

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zeropointnine/dsh-compact-and-branch

ドキュメント

README 全文を読む ↗

Usage

In any session, type:

/compact-and-branch

No arguments. The current session is compacted through DSH's canonical /compact machinery, then a fresh root session is created in the same workspace and preset with the same model selection, carrying the compacted context; DSH opens it in the browser. The compacted source session stays independently resumable. In the fresh session, the imported history is collapsed behind a native DSH notice row, leaving only live conversation visible.