TheHeartFickle/dsh-session-manager ↗★ 0
@the-heart-fickle/dsh-session-manager-plugin
DSH plugin that bundles dsh-session-manager: session rewind (shadow git + file rollback) and archived session management.
AI Analysis
该插件支持在回退会话时同步撤销工作区的文件修改,并提供归档管理。适合需要频繁调试、回溯代码状态和历史会话的开发者。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:TheHeartFickle/dsh-session-managerREADME
Read the full README ↗⚙️ 配置
在 profile 的 cordis.patch.yml 中配置:
- id: session-manager
name: '@the-heart-fickle/dsh-session-manager-plugin'
config:
rewindIgnoreFile: 'rewind-common.gitignore'
rewindFileMode: 'git' # 'git' | 'diff' | 'none'
rewindIgnoreFile:相对 profile 目录解析的公共 ignore 文件,叠加在工作区自身.gitignore之上。rewindFileMode:控制回退时的文件行为。git(默认):使用 Git 快照回退,失败时降级为文件读写回退。diff:只使用文件读写回退,不创建 Git 快照。none:不启用文件回退,仅回退会话。