DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins

@morlay/session-branch

Session Branch

Provider abstraction + high-level service for rewind / retry / fork over DeepSeek Harness event-sourced sessions.

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add @morlay/session-branch@0.0.11
READMECompatibilityVersions

Compatibility and provenance

Session Branch is published as @morlay/session-branch and currently resolves to version 0.0.11. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
any
Release source
npm
Registry updated
11/4/2026

Versions

0.0.8stable
9/14/2026
0.0.7stable
9/13/2026
0.0.6stable
9/11/2026
0.0.11stable
8/27/2026
Show 19 more versionsCollapse versions
0.0.10-alpha.8prerelease
9/24/2026
0.0.10-alpha.7prerelease
9/23/2026
0.0.10-alpha.6prerelease
9/22/2026
0.0.10-alpha.5prerelease
9/20/2026
0.0.10-alpha.4prerelease
9/20/2026
0.0.10-alpha.3prerelease
9/18/2026
0.0.10-alpha.2prerelease
9/18/2026
0.0.9-alpha.1prerelease
9/18/2026
0.0.9-alpha.0prerelease
9/18/2026
0.0.5stable
9/10/2026
0.0.4stable
9/10/2026
0.0.4-alpha.4prerelease
9/10/2026
0.0.4-alpha.2prerelease
9/8/2026
0.0.4-alpha.1prerelease
9/8/2026
0.0.4-alpha.0prerelease
9/8/2026
0.0.3stable
9/4/2026
0.0.2stable

Related plugins

Loading related plugins…

Latest
0.0.11
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
52.1 kB
Files
11
Surface
any
License
MIT
Source
npm
GitHub
★ 9
Weekly downloads
2,722
Last push
11/4/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue
9/3/2026
0.0.10stable
8/20/2026
0.0.9stable
8/20/2026

Related plugins

More verified plugins in memory-context.

Hindsight Coding Agents@vectorize-io/hindsight-coding-agentsReflect-only Hindsight long-term memory for coding agents (harness-pluggable: opencode, …), with automatic background ingestion (no setup CLI).Memory Plugin@openviking/dsh-memory-pluginOpenViking memory and context bundle for DeepSeek HarnessArchive Manager@michengai/dsh-archive-manager归档、恢复、收藏和永久删除会话,并诊断损坏的会话日志。 · Archive, restore, favorite, and permanently delete sessions, and diagnose damaged session logs.Memory@furongjun1999/dsh-memoryLingshu (Lingshu·líng shū) DeepSeek Harness plugin: a complete brain—long-term memory/knowledge flywheel/self-awareness/recursive reflection integrated with DSH, with conversations automatically distilled into the md_cg cognitive graph (md documents)

README

@morlay/session-branch

分支式会话编辑的契约层:定义数据层分支原语 SessionBranchProvider (rewind / forkFrom / readBranchPrefix)、高层服务 SessionBranch (ctx.sessionBranch)与共享的版本树投影 buildTimeline。

与上游 SessionPersistence 的关系

面上游 PersistenceBackend本包 SessionBranchProvider
覆盖持久读写 + 崩溃修复(append-only)显式回退 + 闭合边界派生(分支面)
原语loadStored / appendBatch / commitRepairreadBranchPrefix / forkFrom / rewind
实现方JSONL / RDB 等RDB 等(@morlay/session-rdb 同时实现两者,形成闭环)

Provider 抽象

interface SessionBranchProvider {
  readBranchPrefix(id, atSeq?, mode?, signal?): Promise<BranchBoundary>;
  forkFrom(sourceId, options?, signal?): Promise<SessionId>;
  rewind(id, toBoundary, signal?): Promise<SessionPersistenceSnapshot>;
}
  • readBranchPrefix:定位 atSeq 锚定的闭合 turn/end 边界并返回前缀; mode: "after"(包含目标轮,fork 语义)/ "before"(排除目标轮,编辑 / 重掷 / 重试语义)。
  • forkFrom:纯 append——新会话(parentSession / seedLength),seed = 边界前缀 + seedSuffix,不触碰源会话。
  • rewind:唯一改写事件 log 的操作,事务整体提交或回滚;支持 live 会话(内存 log 截断 + 派生缓存复位 + coordinator cursor 同步,见 @morlay/session-rdb 的 SessionBranchRdbProvider)。
  • syncLiveCursor(sessionId):编排层把 ignorable 版本效果 push 进 live log 后(不发布、不进 write-behind 缓冲),用其对齐 coordinator cursor,避免 后续 append 的 seq 校验错位(默认空实现,rdb 覆写)。

版本树

buildTimeline(snapshots, readOwnEvents, sessionId) 从会话快照(header lineage)+ 每会话自有后缀(seq >= seedLength 的 session-branch/version 事件)投影完整版本树。

版本效果事件携带 ignorable: true(对核心可跳过、不进 canonical log), live 会话从内存 log 读到效果,cold 会话 timeline 只有 lineage 骨架。

安装

nub install @morlay/session-branch   # peer: @deepseek-ai/cordis, dsh-session, dsh-session-persistence