klarkxy's DSH plugins

Zhihu

@klarkxy/dsh-zhihu

Zhihu search, agent tools, knowledge bases, and usage tracking.

Install

 dsh plugin --profile web add @klarkxy/dsh-zhihu

Replace web with your profile name. Restart the profile after installing; the plugin then shows up under Settings → Plugins.

About

From README.md in 0.1.7.

Zhihu search, answers, knowledge bases, and usage tracking for DSH.

简体中文

Install

Requires Node.js ≥22 and DSH 0.1.7-rc.2. No repository build is needed.

dsh plugin --profile web add @klarkxy/dsh-zhihu

Restart DSH Web, open Zhihu resources, and enter your Access Secret (DSH credential ZHIHU_ACCESS_TOKEN). Use the full scoped name; the unscoped dsh-zhihu package belongs to another maintainer.

To enable agent tools, add this entry to the plugin list in the agent's agent.cordis.yml:

- name: '@klarkxy/dsh-zhihu/tools'

Use

DSH Web provides search, settings, usage, and knowledge-base views. In DSH Editor, open Settings → Zhihu resources for configuration, usage, knowledge bases, and a connection test; the agent tools are included.

Search covers Zhihu, the wider web, trending topics, answers, and public knowledge bases. Uploaded reference files are stored in Zhihu's cloud; do not upload unpublished manuscripts.

When @klarkxy/dsh-web-search-manager is also installed in the same profile, this plugin registers Zhihu global search as a provider in its web search settings. Enable that provider to use Zhihu's global search through the standard web search tool with the Access Secret from Zhihu settings. The dedicated Zhihu tools work independently.

Development

Read contracts and tools for the API.

Publishing · License