dsh-wiki-notes 1.1.0 → 1.1.1
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/lib/index.js +10 -2
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -94,7 +94,7 @@ const PARAMETERS = {
|
|
|
94
94
|
},
|
|
95
95
|
query: {
|
|
96
96
|
type: 'string',
|
|
97
|
-
description: 'mode=search 时的检索词:1-4
|
|
97
|
+
description: 'mode=search 时的检索词:1-4 个核心名词,空格分隔即 AND。不要传整句问话——先自己把问话拆成名词(「什么是逻辑填空」应传「逻辑填空」)。',
|
|
98
98
|
},
|
|
99
99
|
name: {
|
|
100
100
|
type: 'string',
|
|
@@ -151,7 +151,15 @@ const PARAMETERS = {
|
|
|
151
151
|
|
|
152
152
|
const DESCRIPTION = `本地 LLM-Wiki 知识库检索(只读,不会改动任何文件)。
|
|
153
153
|
|
|
154
|
-
|
|
154
|
+
何时必须调用(命中任一):
|
|
155
|
+
- 问题涉及库内已知线索:页名、别名、标签,或系统提示里注入的主题词;
|
|
156
|
+
- 问个人记录(「我之前怎么记的」「笔记里写了什么」);
|
|
157
|
+
- 考公、行测、申论、政治理论相关;
|
|
158
|
+
- 点名具体工具、框架、模型、项目、论文;
|
|
159
|
+
- 要求引用、转述、核对笔记原文。
|
|
160
|
+
|
|
161
|
+
何时可以不查:纯通用常识,且根据库索引线索能确认没有对应内容(如「水」「三角形」)。
|
|
162
|
+
只是没看到线索,不等于库里没有;拿不准先查,别靠自信跳过。
|
|
155
163
|
|
|
156
164
|
mode 用法:
|
|
157
165
|
- search(默认):传 1-4 个关键词,空格分隔做 AND。返回每页的元数据 + index.md 一句话摘要 + **命中小节完整正文** + citation。通常一次调用就够作答,不用再去读文件。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-wiki-notes",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Read-only Markdown knowledge-base retrieval for DeepSeek Harness: one wiki_recall tool (search/page/list/overview/lint/draft) returning the matching section's full text with page-level citations. 中文:本地 Markdown 笔记库检索插件,一次调用返回命中小节正文与出处,另带健康检查与回写骨架。",
|
|
6
6
|
"keywords": [
|