dsh-zhihu-search 1.2.6 → 1.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -27,7 +27,7 @@
27
27
  ---
28
28
 
29
29
  > [!NOTE]
30
- > **基于知乎开放平台官方 API 构建**,非爬虫抓取。所有检索结果均附带可引用的原始链接,知乎站内结果另附点赞数,让模型的每一次回答都有据可查。
30
+ > **基于知乎开放平台官方 API 构建**,非爬虫抓取。所有检索结果均附带可引用的原始链接,知乎站内结果另附点赞数,让模型的每一次回答都有据可查。搜索结果为文字摘要,不含正文图片。
31
31
 
32
32
  给 DSH 装上知乎:站内检索、全网检索与直答三个工具,返回可引用的来源列表,而不是一段无法核对的摘要。
33
33
 
package/README_en.md CHANGED
@@ -27,7 +27,7 @@
27
27
  ---
28
28
 
29
29
  > [!NOTE]
30
- > **Built on the official Zhihu Open Platform API**, not web scraping. All search results include citable original links, and Zhihu's own results also carry their upvote counts, ensuring every model response is verifiable.
30
+ > **Built on the official Zhihu Open Platform API**, not web scraping. All search results include citable original links, and Zhihu's own results also carry their upvote counts, ensuring every model response is verifiable. Search results are text summaries only and do not include article images.
31
31
 
32
32
  Equips DSH with three Zhihu tools: in-site search, global web search, and Zhida direct answers — returning a list of citable sources instead of an unverifiable summary.
33
33
 
@@ -59,7 +59,8 @@ export function createZhihuGlobalSearchTool(deps) {
59
59
  name: ZHIHU_GLOBAL_SEARCH_TOOL,
60
60
  description: '知乎全网索引搜索:检索知乎索引收录的公开网页,结果里会混入部分知乎站内内容。' +
61
61
  '适合按站点域名或发布时间找资料;要专搜知乎的问答和文章、且要更贴题的排序,用 zhihu_search。' +
62
- `单次最多 ${String(MAX_COUNT)} 条且没有翻页参数;域名过滤不接受知乎域名。`,
62
+ `单次最多 ${String(MAX_COUNT)} 条且没有翻页参数;域名过滤不接受知乎域名。` +
63
+ '只返回文字摘要与原始链接,结果不含图片。',
63
64
  parameters: {
64
65
  query: { type: 'string', required: true, description: '搜索关键词。' },
65
66
  count: { type: 'integer', description: `返回条数,1–${String(MAX_COUNT)},默认 ${String(DEFAULT_COUNT)}。`, default: DEFAULT_COUNT },
@@ -61,7 +61,8 @@ export function createZhihuSearchTool(deps) {
61
61
  name: ZHIHU_SEARCH_TOOL,
62
62
  description: '知乎站内搜索:检索知乎的问答与文章,可筛出高赞、多评论或近期更新的内容,也支持限定发布时间。' +
63
63
  '适合中文经验、产品评测、行业讨论、技术实践。' +
64
- '要搜知乎站外某个网站上的资料改用 zhihu_global_search;要一段成体系的解释而不是来源列表改用 zhihu_zhida。',
64
+ '要搜知乎站外某个网站上的资料改用 zhihu_global_search;要一段成体系的解释而不是来源列表改用 zhihu_zhida。' +
65
+ '只返回文字摘要与原始链接,结果不含图片。',
65
66
  // 语义化参数:模型永远不会看到 SortBy / Filter 的字符串语法。
66
67
  parameters: {
67
68
  query: { type: 'string', required: true, description: '搜索关键词,中文效果最好。' },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-zhihu-search",
3
- "version": "1.2.6",
3
+ "version": "1.2.7",
4
4
  "description": "DSH plugin: Zhihu in-site search, global web search, and Zhida over the official Zhihu Open Platform API — with a native settings card and source-cited results.",
5
5
  "keywords": [
6
6
  "dsh",