nuwa-skill
alchaincyf
你想蒸馏的下一个员工,何必是同事。蒸馏任何人的思维方式——心智模型、决策启发式、表达DNA。Distill how anyone thinks.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:879745uhjun/dsh-session-stars
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English | 中文
Star-rating favorites with five importance levels for sessions in the DeepSeek Harness Web UI.
Rated session rows carry one small star whose color is the importance level; the row's ... menu opens a 1-5 star picker. When the Session Quickbar plugin is installed it owns the row action strip, and its built-in star button toggles the rating on and off while 1-5 stays available from the menu. Ratings are stored on the Host in one JSON file, so they survive page reloads, restarts, and web-server port changes.
... menu carries an Importance… item that opens the picker. The Session Quickbar plugin owns the hover action strip and its built-in star button toggles the rating on and off; use the menu for exact levels.Low · Minor · Important · Very important · Critical), highlights the current level, supports number keys 1-5, and confirms with a brief “Saved”./session-stars/events streams each committed change over Server-Sent Events, so every open Web UI window updates immediately; focus refresh stays as a fallback.~/.dsh/session-stars.json (or $DSH_HOME/session-stars.json). Writes are serialized and published atomically.session_stars lets the agent read ratings, assign stars, or clear a rating, using the same store as the UI.--dsw-alias-* theme tokens, so light/dark themes work.dsh plugin --profile desktop add github:879745uhjun/dsh-session-stars
Reload the Web UI page after installing.
This package is a DSH bundle (dsh.bundle.patch). Install the directory with the Plugin Manager:
plugin_manager with action: install_bundle and the absolute package path).The Host row inserts as dsh-session-stars; the browser half is declared by dsh.client in package.json.
| Surface | Behavior |
|---|---|
Session row ... menu |
Importance… opens the importance picker. |
| Session Quickbar (optional) | The quickbar's built-in star button toggles the rating on and off (0/1); exact 1-5 levels are set from the menu. |
| Picker | Five large stars plus the five-step scale; pick 1-5, press 1-5, or clear the rating. Esc or a click outside closes it. |
| Session row trailing badge | One small star in the importance color; the title/aria-label carries N of 5 and the level name. |
| Session hover card | Gauge plus a tinted chip with the localized level name. |
Agent tool session_stars |
list reads ratings, set assigns 1-5 stars, clear removes one. Omitting sessionId targets the calling session. |
Levels: 1 low, 2 minor, 3 important, 4 very important, 5 critical.
<DSH home>/session-stars.json, format { "version": 1, "updatedAt": <ms>, "ratings": { "<sessionId>": { "stars": 1-5, "updatedAt": <ms> } } }.GET /session-stars returns the ratings, POST /session-stars with { "sessionId": "...", "stars": 0-5 } writes one. GET /session-stars/events is the Server-Sent Events stream (event: ratings) that pushes every committed snapshot. The routes answer same-origin requests only; a cross-site Origin is refused.>=0.2.2-rc.1 <0.2.3-0, Web profile (a webServer service is present).node --check client.js
node test/host.test.mjs
The Host test covers the ratings store, the JSON route (including validation and the cross-origin fence), the Server-Sent Events stream, the agent tool, and persistence across remounts.
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: sessions。