dsh-sessionflow: Workflow Continuity Across AI Coding Agents in DeepSeek Harness

Preface

When switching between AI coding assistants (such as Codex, Claude Code, Grok, ZCode), workflows often break at the boundaries of these agents. DeepSeek Harness (DSH), as a plugin-based central hub, requires a mechanism to read the historical sessions of these agents, compile goals, files, commands, and unfinished tasks into context, and continue execution within DSH.

The dsh-sessionflow plugin is designed for this purpose. It exposes the continuity layer of sessionFlow as six sessionflow_* tools, enabling DSH to retrieve and restore context from other agents.

Plugin Introduction

This is a lightweight DSH plugin designed to bridge the context gap in cross-agent workflows.

  • Name: dsh-sessionflow
  • Owner: HarryHeYu
  • Category: Workflow
  • License: MIT

Core Features

The plugin forwards all calls through the stable JSON interface of the Voyager core, without performing additional indexing or compilation. Key features include:

  1. Tool Exposure: Exposes the continuity layer of sessionFlow as six sessionflow_* tools.
  2. Cross-Agent Recovery: Supports searching, restoring context, and continuing work from Codex, Claude Code, Grok, or ZCode.
  3. Context Compilation: Compiles work from other agents (goals, files, commands, todos, sources) into context packages.
  4. Core Forwarding: Forwards calls through the Voyager core’s JSON interface.

Installation & Dependencies

Ensure the following conditions are met before installation:

  • DeepSeek Harness (DSH): Version 0.1.5-rc.3 or 0.2.0-rc.2, with a configured and available model provider.
  • Node.js: Version >= 22.19.
  • sessionFlow Core: This is a separate dependency; the plugin itself does not bundle the core code.

Installation Steps

Step 1: Install sessionFlow Core
Since the core has not been published to PyPI (the voyager on PyPI is an unrelated library), a specific version must be installed via a Git URL.

python -m pip install "voyager[all] @ git+https://github.com/HarryHeYu/sessionFlow.git@v1.3.0"

After installation, build the index and verify the configuration:

voyager scan          # 从真实智能体历史构建索引
voyager doctor        # 确认核心运行正常并报告 bridge schema 1

Step 2: Install DSH Plugin

dsh plugin --profile web add github:HarryHeYu/dsh-sessionflow

Start DSH after installation:

dsh --profile web

Usage Examples

When using the plugin, instructions should clearly specify what you are looking for, rather than just saying “continue”.

  • “Continue the work I was doing in Claude Code on this repo.”
  • “Continue the unfinished Codex work in this project.”
  • “Find the previous Claude Code work on this repository.”

Example Dialogue:

User:  Continue the work I was doing in Claude Code on this repo.

DSH:   → sessionflow_current_work
       → sessionflow_continue

       [Agent continues with the previous goal, files, commands and unresolved work]

Privacy & Limitations

  • Privacy Protection: The plugin runs entirely locally. It does not involve account login, telemetry data collection, or network calls.
  • Native Resume Not Verified: This plugin focuses on “cross-agent continuity,” which involves compiling context packages and handing them over to the current agent. It does not verify the ability to resume an agent’s own session natively (e.g., claude --resume). While the plugin can record commands, it cannot launch native sessions of other agents within the current DSH process.

Resources

  • GitHub Repository: https://github.com/HarryHeYu/dsh-sessionflow
  • Plugin Directory: https://www.skillhub.cn/plugins/HarryHeYu/dsh-sessionflow
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye