dsh-read-it-later: Push every DSH conversation round to IM — switch devices, keep reading, keep grinding

Introduction

Running sessions in DeepSeek Harness (DSH) often presents common scenarios: you might need to commute halfway through a plan, or switch back and forth between a home and office computer. Copying the entire round’s prompt, model reply, and attachments to a phone or another machine takes time and is prone to missing files. Emails or cloud storage can transfer files, but they are difficult to bind with “round number, session title, and pending approval options.”

Below, we introduce the community plugin dsh-read-it-later (maintainer: jes-phd, category: Networked Tools). It provides a “Send to IM” entry at the end of every round in the session, sending the current round’s prompt, reply, and attachments to a bot you have bound; it also supports automatic sending after preprocessing is complete and cross-device handover packages. The target audience is yourself for continuity in reading and continuing execution, not for team collaboration broadcasting.

What is the Plugin

dsh-read-it-later is a networked plugin for DSH (current package version 0.2.3, license MIT). The host side registers POST /api/read-it-later, and the browser side injects the session UI, providing binding, sending, and preprocessing entries for each round.

Supported IMs for binding include: Feishu, WeChat, Telegram, Discord, and DingTalk. Credentials are stored locally at ~/.dsh/read-it-later/bots.json (permission 0600); the RPC returns masked information and does not contain the full secret/token.

Three Types of Usage

Read Later

After any round ends, click “Send to IM”, check the prompt, reply, and attachments you wish to include. The content is sent to the bound bot and can be read on your phone. When you arrive at the office, you can continue the work in the same session following the prompt.

On the Feishu side, a compact card is displayed by default: session title, round number, and time. The body can be toggled to “Summary Mode” (approximately 100 words of summary for both prompt and answer, with the full reply inside the “Details” collapse). Attachments are zipped by default as <Session Title> Round N.zip (compression can be disabled or sent individually). The WeChat side displays segmented plain text along with file messages.

Automatic Sending After Preprocessing

Save frequent tasks as “Preprocessing” presets (three defaults are automatically written on first use: cross-device offline handover package, to-do list, and current session summary MD). Before leaving, select a preset card in “Preprocessing Send” and click ▶ to send the prompt into the session; you must wait for the current round to end before clicking, otherwise it will be assigned to the previous round. The plugin tracks the round baseline. The Host parses session logs every 3 seconds; upon the appearance of a new turn/end, it groups and sends the content based on your selection. The default timeout limit is 20 minutes (autoTimeoutMin, adjustable from 1–180). If the timeout occurs, a prompt will appear suggesting you try again.

Session Handover

Run a “Cross-device Handover” type preset on the old machine, and the result is packaged as a zip and sent to the IM; on the new machine, open the handover package and let the new session read it to continue the work. You can also pass the handover package to the IM bot to continue processing downwards.

Installation and Enablement

The steps provided in the README are to clone the repository, install dependencies, and then install via bundle in DSH or search for the same-named plugin in the plugin market:

git clone https://github.com/jes-phd/dsh-read-it-later.git
cd dsh-read-it-later
npm install --omit=dev

Then, execute install_bundle on the directory mentioned above in the DSH plugin manager, or search for dsh-read-it-later in the plugin market.

The plugin runs with the permissions of the current DSH process and will write configuration and outbound files (e.g., ~/.dsh/read-it-later/outbox/) to the local directory. Before installing, you should review the source code and the MIT license and understand that bot credentials are stored only locally.

Binding and Daily Operations

The official “3 Steps to Start” are as follows:

  1. Click “Binding Settings” in any round → Scan to bind Feishu or WeChat (no need to check DSH global settings first).
  2. Daily usage: Click “Send to IM” at the end of every round, checking the prompt, reply, and attachments you want to send.
  3. Before leaving: Click “Preprocessing Send”, select a preset card ▶ to send; the rest is automatically sent by the plugin after waiting for the new round to end.

Feishu: Scan via the App. Through Feishu device registration (archetype=PersonalAgent), create and bind a “Dedicated AI Assistant” self-built application. Permissions include im:message:send_as_bot and im:resource; you can also manually fill in the App ID, App Secret, and open_id.

WeChat: Scan WeChat (iLink ilink/bot/get_bot_qrcode) to obtain bot_token and the scanner’s ilink_user_id; you can enter the pairing code as prompted.

Telegram / Discord / DingTalk: Fill in Bot Token, Channel ID, Webhook, etc., in “Manual Binding”; if you have multiple bots, click “Set as Default” in the list.

Advanced settings are at the bottom of the “Binding Settings” panel: summary display, compress attachments, random color, timeout limit, and optional status monitoring (“Notify after round completes” and “Push options when stuck”). Status monitoring is disabled by default and requires you to click Star on the project homepage to unlock the advanced section before changing it. Configuration is written to ~/.dsh/read-it-later/settings.json.

Status monitoring scans approximately every 45 seconds; if the session gets stuck on “Wait for your decision” for more than 1 minute, the question and options can be pushed to the default bot. You can reply directly with a number or the original option text on the Feishu card, and the plugin will populate it back into the original session (depending on the host exposing the session controller).

Applicable Scenarios and Notes

Suitable for: Personal context “taking this round” across multi-device and mobile scenarios; using presets before leaving to let the model finish and automatically push to the phone; receiving reminders for “round complete” or “need to go back and approve” for long tasks without staring at the desk.

Not suitable for: Using DSH as a team channel or external broadcast; DingTalk group bots are text-only, and attachments will be written as a filename list in the body.

File sending has volume limits: zip defaults to 100 MB, and if it fails, it will fall back to sending individually (single file 25 MB, etc., see README “Send Effect”). The plugin relies on session log parsing (including zstd and an optional Python script); the environment needs to be able to run the DSH host and the dependencies pulled via npm install (e.g., @larksuiteoapi/node-sdk, qrcode).

Community directory page: dsh-read-it-later @ SkillHub. Source code and complete RPC, directory structure documentation can be found on GitHub: jes-phd/dsh-read-it-later.

羽毛球分组比赛记分
小程序二维码

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

Xiaoye