deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
PROJECT README
English | 中文
A Zhihu (知乎) dashboard plugin for DeepSeek Harness: hot list, follow feed, post tracking, and app-idea distillation — usable from the DSH UI and directly in agent conversations as native tools.
Built on the official zhihu-cli (知乎开放平台). Requires a free Zhihu Open Platform Access Secret.
NEW and surfaced inline under the tracked item immediately, so you do not need to hunt for it; optional auto-brief distills newly found posts into app-idea briefs via Zhihu Zhida; optional system notifications + a sidebar unread badge — the background checker runs in the DSH top window, so you get alerted while using DSH, without opening the panelzhihu.com cookies, and import browser-session leads; cookies never enter model prompts, exports, or logs, with manual Cookie fallback when automatic extraction failslocalStorage only)| Tool | What it does |
|---|---|
zhihu_search |
Search Zhihu content (titles/authors/summaries/links) |
zhihu_hot |
Current hot list |
zhihu_answer |
Zhihu Zhida (retrieval-augmented answer / app-idea distillation) |
zhihu_global_search |
Whole-web search with a recency window (sinceHours) and realtime index |
zhihu_followees |
List the users your account follows |
zhihu_my_contents |
Your own creations (sortable by likes to find your best content) |
zhihu_favorites |
Favorite collections / one collection's items |
dsh plugin --profile web add dsh-zhihu-dashboard
Or add it to your profile's cordis.patch.yml bundle layer. Restart dsh web.
dsh skill install zhihu or your harness's skill flow) so the CLI binary is on PATH / standard install location — the plugin auto-detects it (cliPath config → ZHIHU_CLI_HOME → PATH → platform default)printf '%s' 'zh-…' | zhihu-cli auth set --secret-stdin, or set ZHIHU_ACCESS_SECRET env for agent tools, or enter it in the panel (browser-local)💡 First launch: with no secret configured, the panel shows a three-step onboarding card (open the platform → create an Access Secret → paste & verify); it loads data automatically once verification passes.
lib/): serves /zhihu-dashboard routes behind the same Host/Origin trust fence as the DSH API gateway, drives the zhihu-cli binary, and registers the seven agent tools via ctx.tools.registersrc/client/, bundled to client/client.js): a 知乎面板 button in the official sidebar foot (sidebar.footer.action) opens a right-hand drawer (shell.overlay) embedding the panel — global, shared across sessions, no third-party sidebar dependency; it also mounts the background track checker (track-checker.ts, running with the DSH top window) which checks tracked items on a schedule and raises system notifications / the sidebar unread badge when something new appears| Option | Default | Meaning |
|---|---|---|
cliPath |
auto-detect | Path to the zhihu-cli binary |
hotLimit |
10 | Hot list item count (1-30) |
feedLimit |
10 | Feed item count (1-50) |
refreshSeconds |
0 | Auto-refresh for hot/feed (0 = off) |
Panel-only options (browser localStorage): Access Secret, track-check interval, auto-brief toggle, system-notification toggle, and local block rules for keywords, authors, and regex patterns.
Today's hot/Zhida quota is shown at the top of the panel so you don't silently run out.
Zhihu Open Platform trial quotas (shared across all your secrets): hot list 100/day, Zhida 100/day, search 5,000/day. Auto-brief and question-title resolution each cost one Zhida call; tracking checks use search.
localStorage except as a same-origin request header to the host; it is injected into the CLI via ZHIHU_ACCESS_SECRET (never in argv, never written to the keychain by the plugin)/api gatewaypnpm install
npx tsdown --config tsdown.config.ts # build client/client.js
npx tsc -p tsconfig.client.json # typecheck client sources
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。