idoall/dsh-session-colors ↗★ 0

@idoall/dsh-session-colors

DSH web plugin: give any Session a colour mark, shown as a chip in the sidebar and picked from the conversation header. Marks are stored on the Host, so a colour chosen on one device is visible on every other one — including over LAN and tunnels. 适合需要对大量会话进行色彩分类标记,且要求多端同步的用户。

パッケージ
@idoall/dsh-session-colors
互換性
未検証
Harness ピア範囲
>=0.1.6-0 <0.2.0
バージョン
0.1.1
ライセンス
MIT
最終更新
2026/09/22

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:idoall/dsh-session-colors

ドキュメント

README 全文を読む ↗

Usage

  1. Open the Session you want to mark.
  2. Click the colour control in the Session header (🎨 when the Session has no colour, the colour itself once it has one).
  3. Pick a colour, or paste a hex value. The bar appears on that Session's sidebar row immediately.
  4. To clear it, open the picker again and click Clear mark, or choose the transparent swatch among the theme colours.

Opening the picker on a marked Session starts from its current colour. Colours are stored as HSVA, so alpha round-trips exactly.

The sidebar drawer on a phone: the same Session list shows colour marks, with amber, red, green and blue visible at once

Configuration

FieldTypeMeaning
dataDirabsolute pathWhere session-colors.json is written. Without it, marks live in process memory only.

A mark is one JSON document:

{
  "version": 1,
  "marks": {
    "session-0698599a-…": { "h": 211.3, "s": 1, "v": 1, "a": 1 }
  }
}

Writes are atomic (temporary file, then rename). To drop a mark, use Clear mark in the picker, or remove that line from the file.