@refkit/dsh-plugin
DeepSeek Harness plugin for refkit: license-normalized creative reference search across 19 sources and 4 modalities, a strict-deny use-gate, and a web card with license and use-verdict badges (refkit_search / refkit_rights). 适合需要在创作中检索合规素材并进行版权合规审查的用户。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:refkitjs/dsh-pluginドキュメント
README 全文を読む ↗Configuration
Settings → Plugins → refkit (namespace refkit; changes apply on the next call). Keys are secret fields: masked in the card, never logged, never returned to the model. Each key also falls back to an environment variable — the same names @refkit/mcp reads, so one .env serves both.
| Field | Env (first wins) | Enables |
|---|---|---|
unsplashAccessKey | REFKIT_UNSPLASH_KEY, UNSPLASH_KEY | unsplash |
pexelsApiKey | REFKIT_PEXELS_KEY, PEXELS_KEY | pexels, pexels-video |
pixabayKey | REFKIT_PIXABAY_KEY, PIXABAY_KEY | pixabay, pixabay-video |
flickrApiKey | REFKIT_FLICKR_KEY, FLICKR_KEY | flickr |
smithsonianApiKey | REFKIT_SMITHSONIAN_KEY, SI_KEY | smithsonian |
braveToken | REFKIT_BRAVE_KEY, BRAVE_TOKEN | brave |
freesoundToken | REFKIT_FREESOUND_KEY, FREESOUND_TOKEN | freesound |
jamendoClientId | REFKIT_JAMENDO_CLIENT_ID, JAMENDO_CLIENT_ID | jamendo |
europeanaApiKey | REFKIT_EUROPEANA_KEY, EUROPEANA_KEY | europeana |
openverseToken | REFKIT_OPENVERSE_TOKEN | higher Openverse rate limits (optional) |
| Field | Default | Meaning |
|---|---|---|
sources | [] | Provider ids to enable; empty = every source whose key is present |
limit | 12 | Default results per call (1–30); also caps per-item detail fetches for met, rijksmuseum, polyhaven |
poolFactor | 2 | Rank-fusion pool multiplier (1–4) |
deadlineMs | 15000 | Whole-search deadline |
timeoutMs | 10000 | Per-source timeout |
rerank | true | Lexical reranker over title, description, tags and excerpt (CJK aware) |
sourceConfidence | true | Down-weight sources whose batch never mentions the query |
userAgent | refkit-dsh-plugin/ | Sent with provider requests |