Reminder Peek for DeepSeek Harness
English | 简体中文
Preview and settle background session reminders in DeepSeek Harness without switching away from your current conversation.
Idle with zero footprint. Whenever another session waits for approval, plan review, a user answer, or finishes with an unread reply, a compact corner capsule appears; click it to inspect full details and confirm in place — plus enriched sidebar hover previews.
Features
- Compact corner capsule by default — stays completely hidden when idle. When background reminders exist, renders a small pill in the corner (
2 pending · 1 done) so it never blocks your editor or transcript. - In-place confirmation for all 4 session reminder types — click the capsule to expand the quick-confirm card and act immediately:
- Approval: reads the localized reason, tool name, and the actual shell command / tool arguments from the Host, with one-click Allow once, Reject, and Copy.
- Plan review: shows the plan title and body (expandable inline to read the full plan), with Approve and Request changes.
- User questions: supports single-select, multi-select, custom answers, multi-question paging, Submit, Skip, and Dismiss.
- Unread completions: displays the latest assistant reply summary (expandable inline), with Got it (dismisses until that session finishes a new turn) and Open session.
- Deterministic priority queue — orders active reminders (
approval→plan-review→question→completed), with filter tabs (All/Pending/Completed), quick session chips, andAlt+Left/Alt+Right/Escshortcuts. - Context-aware deduplication — automatically hides a reminder when its native approval/question card is already right in front of you in the active Conversation view, while still surfacing it whenever you switch to Settings, Plugins, or another session.
- Background taskbar & title flashing (v1.1.0) — when you are working in another app and DSH runs in the background, new reminders automatically flash the Windows taskbar icon (
FlashWindowEx) and alternate the window title & favicon badge until you switch back to DSH (stops and restores cleanly on focus). - Sidebar hover preview — contributes to DSH's native
sidebar.session.row.hoverslot so hovering any session with a reminder shows the command snippet, plan summary, question text, or latest completed reply. - Host-persisted preferences — all 7 settings are
.volatile()fields persisted in the active profile via DSH's Settings /configFormspipeline (withlocalStoragefallback), editable from both Settings and the card's quick gear menu.
Requirements
- DeepSeek Harness 0.2.2-rc.5 (Desktop, or a Web/CLI profile composed from the same packages). The Host half uses
webServer(and optionalsessions/sessionPersistencefor cold fallback); the client half needsslots,uiSession,sessions(with optionalworkspaces,uiWorkspace,locale,configForms). - Node.js 22.15+ (the bundled test suite uses
node:testandmodule.registerHooks).
Install
Plugin manager (Desktop)
- Open Settings → Plugins → Add plugin.
- Enter the repository spec
github:Snoooopy-git/dsh-reminder-peek, or select a local checkout of this repository. - Enable the
reminder-peekrow and restart DSH once — the Host half adds a pluginConfigand read-only preview route loaded at entry start.
CLI profiles
dsh plugin --profile <name> add github:Snoooopy-git/dsh-reminder-peek
Then verify the reminder-peek bundle is enabled in that profile (dsh --profile <name> --dump-config).
The
desktopprofile is managed by the Electron app; use the plugin manager there instead of the CLI.
Usage
- Keep working in your current session. When background sessions pause for approval, plan review, user questions, or finish a turn, a compact capsule appears in the bottom-right corner (
2 pending · 1 done). - Click the capsule to expand the Reminder Peek card:
- Review the command/plan/question/reply directly without changing sessions.
- Click Allow once / Reject, Approve / Request changes, Submit / Skip, or Got it to clear items in sequence.
- Click Open session whenever you want full conversation context.
- Hover any session with a reminder dot in the sidebar to see a compact content preview inside DSH's native hover card.
- Click the gear icon in the card header (or open DSH Settings) to toggle auto-expand, corner position, completed summaries, active-session deduplication, or hover previews.
How it works
| Layer | Mechanism |
|---|---|
| Live reminder state | Subscribes to ctx.uiSession.sessionStatus (pendingInteraction and completionUnread) and usePanelInfo — zero polling, zero session activation |
| In-place settlement | Calls the live PendingApproval.answer() and PendingQuestion.answer() / .cancel() methods directly, sharing the exact same single-settlement lock as DSH's native composer |
| Command & reply previews | Host passively observes session/event (tool/call, assistant/message, turn/end) into a bounded in-memory LRU cache and serves read-only same-origin endpoints (/dsh-reminder-peek/preview & /preview-batch), falling back to non-locking sessionPersistence.open(id, 'read') handles |
| Background attention | Client tracks window focus/visibility (focus / blur / visibilitychange), alternates document.title + inline SVG favicon badge, and signals POST /dsh-reminder-peek/attention on the Host to invoke Win32 FlashWindowEx (FLASHW_ALL | FLASHW_TIMERNOFG) with coalesced zero-popup execution |
| UI surfaces | Native DSH slots shell.overlay (capsule + popover) and sidebar.session.row.hover (hover preview), styled exclusively with host --dsw-* theme tokens |
| Preferences | .volatile() Config fields synced through configForms, falling back to localStorage in reduced profiles |
The plugin never intercepts or steals approval/request or ask_user_question waterfalls: DSH's native approval and question UIs remain completely intact and authoritative.
Configuration
- id: reminder-peek
name: dsh-reminder-peek
config:
defaultExpanded: false # compact corner capsule by default
includeCompleted: true # include unread completed sessions
position: bottom-right # bottom-right | top-right
hideActiveSession: true # hide duplicates visible in active chat
hoverPreview: true # enrich sidebar session hover cards
taskbarFlash: true # flash Windows taskbar icon in background
titleFlash: true # alternate title & favicon badge in background
| Field | Type | Default | Meaning |
|---|---|---|---|
defaultExpanded |
boolean |
false |
Automatically expand the card when a brand-new pending reminder arrives |
includeCompleted |
boolean |
true |
Include unread completed sessions with a summary of the latest assistant reply |
position |
'bottom-right' | 'top-right' |
'bottom-right' |
Corner anchor for the floating capsule and popover |
hideActiveSession |
boolean |
true |
Hide reminders whose native card is already visible in the active Conversation view |
hoverPreview |
boolean |
true |
Show reminder details and completion summaries inside sidebar hover cards |
taskbarFlash |
boolean |
true |
Flash the Windows taskbar icon when reminders exist while DSH is unfocused |
titleFlash |
boolean |
true |
Alternate the page title and tab favicon badge while DSH is unfocused |
Compatibility and limitations
- Verified against DeepSeek Harness 0.2.2-rc.5. Uses public Cordis services (
slots,uiSession,sessions,workspaces,uiWorkspace,configForms,webServer,sessionPersistence) and standard--dsw-*CSS tokens. - Reduced / browser-only profiles: if the Host preview endpoint is unavailable, the card degrades gracefully and still shows the client-side approval reason, plan content, and question options.
- Unread completion acknowledgement: clicking Got it dismisses the completion item from Reminder Peek for the current turn without activating the background session; it re-appears automatically if that session finishes a new turn. Opening the session clears DSH's native unread marker as usual.
Development
node --test "tests/*.test.mjs"
Repository layout:
| Path | Purpose |
|---|---|
index.js |
Host half: volatile Config, passive session/event LRU cache, read-only preview routes |
client.js |
Client half: corner capsule, quick-confirm popover, sidebar hover preview, i18n |
cordis.patch.yml |
Bundle patch (entry id reminder-peek) |
locale/ |
Plugin manager metadata (English / Chinese) |
docs/ |
Preview visual and plugin detail pages (preview.svg, DETAIL.md, DETAIL.zh.md) |
tests/ |
Node unit & interaction test suite (15 tests) |
License
MIT © 2026 Snoooopy-git
DSH plugin series
- dsh-anchored-standard — two-phase agent preset
- dsh-workspace-pin — pinned workspaces for the sidebar
- dsh-reminder-peek (this repository) — reminder peek & quick confirm for sessions
No comments yet. Be the first to write one.