dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
English · 简体中文
Automatically turns all your DSH chats (across workspaces, SSH routes, and finished sessions) into a work log:
ctx.sessionQuery.DSH built-in, OpenAI-compatible, or Anthropic; baseUrl / apiKey / model / context configurable, custom summary prompt.worklog_status / day / range / report / rescan, available in any session.Prereqs: DSH (deepseek-harness) + Node ≥ 22.
dsh plugin --profile web add github:aijunjiang/dsh-worklog
# or from a local checkout: dsh plugin --profile web add <this-repo-path>
pnpm dsh web # restart once; no other flags
Restart dsh web once after installing: the host plugin (scan/summarize/tools) and the "工作台" client module both auto-register at boot. Uninstall:
dsh plugin --profile web remove dsh-worklog.
| Field | Default | Meaning |
|---|---|---|
| API format | dsh | dsh (built-in default model) / openai (OpenAI-compatible) / anthropic |
| Base URL | — | external endpoint (for openai/anthropic) |
| API Key | — | leave empty to fall back to env/credential GJSL_API_KEY |
| Model Name | — | external model name |
| Context window | 0 | input context window in tokens (does not affect output limit) |
| Summary prompt | built-in | customizable; the UI shows the default structure |
| Proactive | on | summarize as soon as a day has new activity |
cordis.patch.yml / bundle patch)See bundle.gui.patch.yml: timezone offset, scan interval, idle threshold, output cap, per-run summary limit, etc.
$DSH_HOME/dsh-worklog/items.json (default ~/.dsh/dsh-worklog).nodes[]: node summaries carry a content fingerprint; unchanged → reused, changed → recomputed → incremental and token-efficient.src/index.js host plugin entry (scan/summarize/tools/channel)
src/summarize.js node-level summary queue (fingerprint cache + incremental)
src/transcript.js conversation-node slicing + fingerprint hash
src/llm.js summary LLM calls (DSH/openai/anthropic)
src/report.js report assembly (date-filtered nodes)
src/endpoints.js /dsh-worklog GUI JSON-RPC endpoints
src/client/index.ts browser half: workbench + settings card
lib/client.js built artifact (committed; no local build needed)
tests/ unit tests (node --test)
npm test # unit tests
npm run build:client # rebuild lib/client.js via the harness tsdown pipeline
dsh plugin --profile web remove dsh-worklog
MIT