dsh-more
Practical patches for missing DeepSeek Harness Web context and history controls.
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:SodaZheng/dsh-more说明文档
阅读完整 README ↗Usage and data semantics
Edit a user message and restart
- Hover over a user message and choose Edit and restart from here.
- Change the text and select Preview changes.
- Review how many turns will be discarded.
- Confirm the edit.
The plugin cuts the durable log immediately before the selected message's owning turn, creates a child session with the same workspace, live preset composition, provider/model selection, and token limit, then sends the edited message as the next user input. The source session is archived, not physically deleted.
The first turn in the child reuses runtime context already retained by the seed so DSH does not append a duplicate system-prompt snapshot. Normal live context assembly resumes after that turn.
Delete one message in place
- Hover over a user or assistant message and choose Delete this message.
- Review the message and any additional context nodes required for tool pairing.
- Confirm the deletion.
Deletion is implemented as context reconstruction, not as a tombstone placed in front of the model. The plugin selects the surviving current model surface, rebuilds ordinary balanced turns and steps in a child session, archives the source branch, and opens the child. The deleted content is absent from the child's raw history, trajectory, and future model input.
Only the selected node is removed unless a tool call/result range must remain atomic. Editing is the operation that intentionally discards the selected turn and everything after it.
Both continuation operations preallocate their destination during preview and watch DSH's incremental session-added event while committing. As soon as the child appears, the client hands off directly instead of refreshing the list, passing through a blank view, and then reopening. A full refresh remains only as a compatibility fallback when the incremental event is missing.
Permanently delete a session
Open a session row's overflow menu and choose the separate Permanently delete session action. Native Archive session remains unchanged.
After confirmation, DSH More cancels a running task, waits for idle, flushes the session, unloads its Agent/Session handles, removes the exact persistence directory returned by DSH, and detaches the session from its workspaces. The UI follows DSH incremental events first and refreshes the lists only when those events are missing. Deleting the current session selects an adjacent visible session first so the conversation area does not pass through a blank state.
Irreversible: permanent deletion does not archive the session and does not move it into a DSH More trash directory.