nuwa-skill
alchaincyf
你想蒸馏的下一个员工,何必是同事。蒸馏任何人的思维方式——心智模型、决策启发式、表达DNA。Distill how anyone thinks.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:879745uhjun/dsh-session-todos
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A todo checkbox on every session row in the DeepSeek Harness sidebar, plus a dedicated Todo page that groups sessions as in progress / to do / done.
session_todos — list / set / clear, so a model can update todos from a conversation.~/.dsh/session-todos.json.What happens after you check it: by default an explicit check wins — a session starting work again does not change your choice. With Reopen on resume enabled, the moment that session starts working again (a running transition from false to true, with the window open) it unchecks itself and returns to To do.
The switch is off by default and never looks back: a session that is already running when the window opens is left alone, and neither existing done items nor history are rewritten. If you check it again, it stays Done until that session resumes once more.
When dsh-session-boxes is installed, the Todo page groups by box (read-only: same-origin GET /session-boxes; its code is never imported and its JSON file is never read):
Parent › Child and preceded by the box colour dot; ungrouped todos always come last;open/total (for example 2/5);All / Ungrouped / one chip per non-empty box. A parent chip covers its child boxes;Degradation: if the boxes route answers 404, exceeds the 1.5 s timeout, or returns unparseable JSON, the page falls back to the flat "in progress / to do / done" sections — no error, no blocking. Row checkboxes, the … menu, SSE sync, the storage format, and the /session-todos contract are untouched. Installing the boxes plugin later needs no restart: the page re-reads the route every time it opens.
When dsh-session-notify is installed, the Todo page header gains an Auto-watch todos switch (off by default; the preference lives in ~/.dsh/session-todos.json as autoWatch):
POST /session-notify/watch {on:true}, so the session pops a card when its turn finishes;autoWatched list in the file records ownership, a watch the user set by hand is never touched;Off by default — enable it from the Todo page header.
When a session transitions from idle to working, its done todo is unchecked automatically so the list matches reality:
/session-todos route, so every other window follows over SSE, and with auto-watch enabled the session is watched again;When dsh-notepad (4.4.0+) is installed, every todo whose session already has a note shows a small document icon next to its title; clicking it opens that note:
window.dshNotepad (version: 1) is used: listSessionNotes(), openSessionNote(id), subscribe(); its localStorage is never read and its code is never imported;subscribe callback re-reads the list so the row's marker refreshes; the subscription is detached when the page unmounts;window.dshNotepad, version !== 1, or any throwing call means no icons at all — todos keep working and loading is never blocked.The leading cell of a session row belongs to the app: it shows a running dot while the session works and a completion reminder once it finishes. Any control placed there disappears with those states, so the square lives in the row's trailing seat (next to the star) where it is always visible and never moves.
In ~/.dsh/profiles/desktop/package.json:
{
"dependencies": {
"dsh-session-todos": "link:D:/Deepseek work/workplace/dsh-session-todos"
},
"dsh": {
"profile": {
"bundles": ["…", "dsh-session-todos"]
}
}
}
Restart DSH. The Host half registers /session-todos, /session-todos/events, and the session_todos tool; the browser half registers the row square, the Todo page, and its sidebar entry.
npm test # host: store, routes, tool, persistence
npm run test:dom # browser: square states, click write, page grouping
The browser test runs client.js under a tiny hooks runtime, so it needs neither React nor jsdom.
dsh plugin --profile desktop add github:879745uhjun/dsh-session-todos
Reload the Web UI page after installing.
The normal path is a real git push. If it fails with schannel: AcquireCredentialsHandle failed: SEC_E_NO_CREDENTIALS, check whether the credential helper is empty (git config --get credential.helper prints nothing) — this is not a machine limitation:
git config --local credential.helper '!gh auth git-credential'
git push origin main
Prove the remote with the API (a local ls-remote can be flaky, the API channel is stable):
gh api repos/879745uhjun/dsh-session-todos/git/ref/heads/main --jq '.object.sha'
Only when the environment genuinely cannot authenticate, fall back to the REST path (the token is read from GITHUB_TOKEN and never written to disk):
GITHUB_TOKEN="$(gh auth token)" REPO=879745uhjun/dsh-session-todos DIR=. \
COMMIT_MESSAGE="feat: …" node tools/publish.mjs
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: sessions。