Study-Mate
Miaotofu01
你的AI学习搭档:定路线、讲知识、做项目,边学边做,学透一门科目
PerryLink/dsh-lit-watch
Literature watch for DeepSeek Harness: save named Crossref bibliographic queries with time windows, run them against Crossref with a bounded client, keep a seen-DOI store so repeated runs return only genuinely new items, and render a Markdown digest plus SARIF. A watch reports new DOIs in a search window, not relevance or quality.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:PerryLink/dsh-lit-watch
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
What is new in this search since last time — and only that.
Saved Crossref bibliographic queries with time windows, a seen-DOI store so repeated runs return genuinely new items, and a Markdown digest + SARIF.
English · 简体中文
lit_watch_add — save a named watch: a Crossref query.bibliographic string, optional extra filters (type:journal-article), a fixed since date and a row count.lit_watch_run — query Crossref, keep only DOIs not in the local seen store, record the exact URL, advance the time window, and append to runs.jsonl. A network failure is reported per watch and does not advance that watch.lit_watch_report — Markdown digest (one table per watch) + SARIF 2.1.0 notes for new items.GET /works?query.bibliographic=…&filter=from-pub-date:…&rows=…&select=… was verified live on 2026-11-08 (HTTP 200, total-results and items parsed). The plugin uses exactly this form; the URL is stored with every run so a digest can be reproduced.
date window × query; new ≠ important, and Crossref coverage/lag applies.select.watches.json, seen.json, runs.jsonl), not a REP record; this is stated instead of implied.from-pub-date unless the watch has since.since = last successful run date − 1 day (overlap), so a publication indexed late is not missed; the seen store removes the overlap duplicates.lastRunAt untouched, so the next run re-covers the interval instead of skipping it.lit_watch_add{ name, query, filter?, since?, rows?, replace? } → { ok, watch }.
lit_watch_run{ name?, fresh? } → { ok, runs, totalNew, warnings }.
lit_watch_report{ runs? } (default: last 50 from history) → { ok, markdown, sarif }.
Tool failures: INVALID_INPUT · WATCH_UNKNOWN · WATCH_EXISTS · LIMIT · STORE_ERROR.
Per-watch run errors (inside runs[].error): blocked_host · invalid_url · too_many_redirects · timeout · http_error · invalid_response · network_error.
| DeepSeek Harness | dsh-v0.2.1-rc.5 (verified 2026-11-08); peer >=0.2.1-0 <0.3.0 \|\| >=0.2.2-0 <0.3.0 |
| Node | ^22.19.0 \|\| >=24.9.0 (tested 24.22.1), ESM only |
| Peers | @perrylink/dsh-research-core ^0.1.0, @deepseek-ai/cordis ^4.0.5-alpha.1, @deepseek-ai/dsh-tools, @deepseek-ai/schemastery ^3.18.5-alpha.1 |
| Runtime dependencies | zero |
dsh plugin --profile <name> add @perrylink/dsh-research-core dsh-lit-watch
dsh --profile <name> --dump-config | grep dsh-lit-watch
Family-wide peer note:
@perrylink/dsh-research-coreis declared as a peer for a single, uniform install contract across the research family, even though this package does not import it at runtime.
| Key | Default | Meaning |
|---|---|---|
enabled |
true |
false mounts nothing |
root |
.lit-watch |
watches, seen store, run history, cache |
userAgent / mailto |
dsh-lit-watch/0.1.0 … / — |
Crossref polite pool |
timeoutMs / minIntervalMs |
15000 / 150 |
request bounds |
retries / maxRedirects |
1 / 3 |
bounded retry/redirect |
cacheTtlMs |
21600000 |
6 h response cache (fresh bypasses) |
maxResults / maxWatches |
100 / 50 |
row cap and watch cap |
api.crossref.org), manual redirects re-validated hop by hop.root.30 tests: URL construction (query, combined filter, mailto), date/name validation including impossible calendar days, item parsing (DOI/title required, year/venue/authors) and malformed-response rejection, case-insensitive diff, runtime dedupe across three runs (2 → 0 → 1 new) with window advancement, exact-URL cache hits, fresh bypass and refusing to cache a malformed body, local network-failure isolation with no window advance, watch replace/unknown/limits, corrupt-store refusal, digest + history, HTTP bounds (allowlist, per-hop redirect re-validation, redirect cap, non-2xx rejection, 429 retry, timeout, throttle), tool schemas, add→run→report end to end, failure branches, plugin contract, package contract.
No benchmark is claimed: the value is diff correctness against a fixed seen store, which the tests pin down; there is no labelled relevance corpus.
query.bibliographic ranking is Crossref's; a watch can miss relevant items that rank below rows.filter pass-through.Apache-2.0. No third-party runtime code.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: research。