Introduction¶
The native status dots in DeepSeek Harness (DSH) answer one question: “has the AI handed back its turn?” — awaiting you, handed back unread, in progress, or idle. They don’t answer “is this task actually done?” — because only you know.
dsh-better-tag fills that gap: tags describe what a conversation is about, and a “Done” stamp confirms it’s wrapped up. Both travel with the session, survive restarts, and the Done stamp is automatically cleared when you send a new message.
What It Is¶
dsh-better-tag is a plugin that adds flat tags and a persistent “Done” stamp to DeepSeek Harness sessions. Maintained by Diomchen, released under the MIT License. Requires DSH 0.2.x and Node.js >= 22.
The core value of the plugin: organize sessions with tags, mark completed work with a Done stamp, both persisted independently of any model-driven labeling.
Core Features¶
The plugin displays tags and the Done stamp in the sidebar, next to titles, and in hover cards, and provides full tag management capabilities.
Sidebar Row Tail¶
Up to 2 tags + +N are shown at the end of each row, positioned before the timestamp. Read-only — it never steals focus from native buttons. On hover, the native hover card shows all tags and the Done stamp for that session.
Next to the Title¶
Once a session is open, tags appear to the right of the title; up to 3 tags + +N. Click a chip or the “+ Tag” button to add or remove tags directly.
Session Overview¶
The “Session Overview” in the sidebar flattens all workspaces into a single view, providing status counts (Awaiting You / Handed Back / In Progress / Done / Total), tag-based filtering, an archive toggle, and clicking a row jumps straight into that session.
Tag Picker¶
The tag picker uses a unified search/create input: type to filter, and if no tag matches, a “Create ‘x’” option appears. Toggle checkboxes; clicking the color dot on any row expands an inline 12-color palette + “Random” option. New tags are automatically assigned a non-conflicting color.
Supports ephemeral tags — not saved to the tag library, attached only to the current session. You can “Pin” one into the library or remove it. A management entry at the bottom opens full tag management.
Tag Management¶
Search appears once you have 8+ tags; navigating in from the picker carries over your previous query. Supports search, rename, recoloring via a color-dot popover, and deletion. Deletion cascades — all references across sessions are removed.
Tag Packs¶
Export as JSON for sharing; import merges by name, keeping the local version on conflicts and reporting them. The export button is in the top-right corner of the Overview as “Export Tag Pack”.
Done Stamp¶
The Done stamp is a “wrapped up” marker. It sticks around until you send your next message or manually clear it. The ✓ at the row tail can apply or remove the stamp; the “…” menu has the corresponding options too.
What It Doesn’t Do¶
The plugin does not perform AI-driven tagging, bulk backfill of existing sessions, dimension/single-select rules, auto-archiving, or real-time multi-window push.
Installation & Enablement¶
DSH Desktop¶
Open Settings → Plugins, search for dsh-better-tag, install, then refresh the page.
dsh web / Other Profiles¶
dsh plugin --profile web add dsh-better-tag
Restart dsh web after installation.
Install Directly from GitHub (Before a Release Is Published)¶
dsh plugin --profile web add github:Diomchen/dsh-better-tag
Replace web with your actual profile name. No build step required: the package is pure ESM with zero runtime dependencies.
Typical Workflows¶
- Tag a session: Hover over a sidebar row, click “…” → “Tags…”; or open the session and click “+ Tag” next to the title. The top input searches and creates simultaneously; click a color dot on any row to recolor — new tags auto-assign a non-conflicting color.
- Stamp it done: Hover over a sidebar row and click ✓, or select “Stamp Done” from the “…” menu. It persists until you send your next message or manually clear it.
- Find your way back: Click “Session Overview” in the sidebar, scan the counts (Awaiting You / Handed Back / In Progress / Done); filter by tag, and toggle “Show Archived” to pull in archived sessions too.
- Share a tag set: Overview → “Export Tag Pack”; the other person “Imports Tag Pack” and it merges by name — same name, different color keeps the local color and reports the conflict.
- Jot something down: Type an ephemeral tag in the picker — it stays with this session only, not in the library. If you use it often, click “Pin” to promote it into the library.
How It Works¶
- Host side writes tags and session records to
~/.dsh/storages/better-tag/state.json(respectsDSH_HOME), using atomic writes with serialization. It does not write to session logs and does not register any model tools. - Client side reads and writes via the same-origin loopback API
/dsh-better-tag/v1/*; writes use optimistic state replacement, and the window re-fetches when it becomes visible again. - Done stamp listens on
api-session/activity: a new user message in the session automatically clears it. - Fork: child sessions inherit the parent’s tags (including ephemeral tags) but do not inherit the Done stamp. It hooks
sessionController.forkfirst, with asession/createdevent as a fallback.
Data & Privacy¶
- Data stays local:
~/.dsh/storages/better-tag/state.json(or$DSH_HOME/storages/better-tag/state.json). - The loopback API only accepts local requests; all write requests must include the custom header
x-better-tag: 1, preventing cross-site pages from forging requests without triggering a preflight. - No network calls, no model invocations, no reading of session content, and no modification of session logs.
- Uninstalling the plugin does not automatically delete data; remove the directory above to wipe it.
Compatibility¶
- DSH Web / Desktop 0.2.x; developed and verified on 0.2.2-rc.3 (desktop profile).
- Node.js >= 22; zero runtime dependencies, no build step.
- Supports both Chinese and English UI (follows DSH language setting).
Caveats¶
- The sidebar row tail is a native “hide on hover” decorative slot: when the mouse rests on a row, tags yield to the action buttons — this is native behavior.
- The title-adjacent slot may get clipped in narrow windows; the 3 +
+Ncap might need tweaking based on your window width. - No real-time sync across windows; relies on re-fetching when a window regains focus.
- Data is local only — no cross-device or multi-user sync.
- The plugin runs with the permissions of the current
dshprocess. Review the source code and license before installing.
In Closing¶
dsh-better-tag grounds two practical questions — “what is this about?” and “is it done?” — through two dimensions: tags and the Done stamp. Tags support search, creation, color-dot recoloring, cascading deletion, tag pack export/import, and ephemeral tags; the Done stamp follows the session lifecycle automatically. Ideal for users who need long-term session organization, tag-based retrieval, and state that persists across restarts.
- Plugin directory: https://www.skillhub.cn/plugins/Diomchen/dsh-better-tag
- GitHub: https://github.com/Diomchen/dsh-better-tag