@nite07/dsh-search 0.0.0-stage → 0.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/LICENSE +21 -0
- package/README.md +46 -2
- package/README.zh.md +47 -0
- package/cordis.patch.yml +4 -0
- package/dist/client.js +996 -0
- package/dist/index.js +968 -0
- package/dist/index.js.map +7 -0
- package/docs/BACKENDS.md +269 -0
- package/docs/PLAN.md +166 -0
- package/docs/VERIFICATION.md +73 -0
- package/icon.svg +1 -0
- package/locale/en.json +223 -0
- package/locale/zh.json +223 -0
- package/package.json +82 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 nite
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,47 @@
|
|
|
1
|
-
#
|
|
1
|
+
# dsh-search
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
English | [中文](README.zh.md)
|
|
4
|
+
|
|
5
|
+
Multi-backend web search for DeepSeek Harness: 21 search providers you turn on one by one, each with an explicit access mode and a visible cost tier.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
dsh plugin add @nite07/dsh-search
|
|
11
|
+
dsh --profile web # or restart your running dsh web process
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Or install it from **Settings → Plugins → Add plugin**.
|
|
15
|
+
|
|
16
|
+
Then make it the search source: open **Settings → Web search**. If the page says the current provider is something else, click **Use this plugin for web search**.
|
|
17
|
+
|
|
18
|
+
## Quick start
|
|
19
|
+
|
|
20
|
+
1. Open **Settings → Web search**.
|
|
21
|
+
2. In the **Backends** tab, pick the providers you want, choose **anonymous** or **API key** for each, and check the cost line before enabling.
|
|
22
|
+
3. Press **Save settings**. Every backend starts disabled, so nothing is called until you save.
|
|
23
|
+
|
|
24
|
+
The **Test & diagnostics** tab runs one explicit search against a saved backend and shows the exact request outcome.
|
|
25
|
+
|
|
26
|
+
## Backends and cost
|
|
27
|
+
|
|
28
|
+
Each backend is filed under a cost tier for the selected access mode: free, free allowance (key required), trial credits, paid usage, or self-hosted.
|
|
29
|
+
|
|
30
|
+
- Free anonymous tiers that work without any account: Keenable, Exa, You.com, AnySearch, Parallel.
|
|
31
|
+
- Local SearXNG is supported and needs no key.
|
|
32
|
+
- A **Live-tested** badge means this plugin completed a real call to that backend.
|
|
33
|
+
|
|
34
|
+
Per-backend quotas, prices, sources and the date they were checked: [docs/BACKENDS.md](docs/BACKENDS.md).
|
|
35
|
+
|
|
36
|
+
## Development
|
|
37
|
+
|
|
38
|
+
```sh
|
|
39
|
+
npm install --ignore-scripts --legacy-peer-deps
|
|
40
|
+
npm run check
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
Design notes: [docs/PLAN.md](docs/PLAN.md). Verification status: [docs/VERIFICATION.md](docs/VERIFICATION.md).
|
|
44
|
+
|
|
45
|
+
## License
|
|
46
|
+
|
|
47
|
+
MIT.
|
package/README.zh.md
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# dsh-search
|
|
2
|
+
|
|
3
|
+
[English](README.md) | 中文
|
|
4
|
+
|
|
5
|
+
给 DeepSeek Harness 用的多后端网页搜索:21 家搜索服务,逐个开关,每个都明确选定接入模式、标明费用档。
|
|
6
|
+
|
|
7
|
+
## 安装
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
dsh plugin add @nite07/dsh-search
|
|
11
|
+
dsh --profile web # 或者用你自己的方式重启 dsh web
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
也可以在 **设置 → 插件 → 添加插件** 里安装。
|
|
15
|
+
|
|
16
|
+
装完把它设为搜索来源:打开 **设置 → 网页搜索**,如果页面提示当前不是本插件,点「**设为网页搜索来源**」。
|
|
17
|
+
|
|
18
|
+
## 快速开始
|
|
19
|
+
|
|
20
|
+
1. 打开 **设置 → 网页搜索**
|
|
21
|
+
2. 在「搜索后端」页签里挑后端,逐家选择**匿名**或 **API Key** 模式,先看费用说明再启用
|
|
22
|
+
3. 点「保存设置」。所有后端默认关闭,不保存就一个请求都不会发出
|
|
23
|
+
|
|
24
|
+
想先验一下某家通不通,用「试搜与诊断」页签:它会明确发一次搜索,并把结果和失败原因原样显示出来。
|
|
25
|
+
|
|
26
|
+
## 后端与费用
|
|
27
|
+
|
|
28
|
+
每个后端按**当前选中的接入模式**归类到费用档:免费、免费额度(需密钥)、试用额度、付费用量、自托管。
|
|
29
|
+
|
|
30
|
+
- 无需账号即可用的免费档:Keenable、Exa、You.com、AnySearch、Parallel
|
|
31
|
+
- 本机自建 SearXNG 也支持,不需要密钥
|
|
32
|
+
- 带「**已实测**」标记的,表示本插件真实调用成功过
|
|
33
|
+
|
|
34
|
+
各家的额度、单价、来源链接和核实日期见 [docs/BACKENDS.md](docs/BACKENDS.md)。
|
|
35
|
+
|
|
36
|
+
## 开发
|
|
37
|
+
|
|
38
|
+
```sh
|
|
39
|
+
npm install --ignore-scripts --legacy-peer-deps
|
|
40
|
+
npm run check
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
设计与实现说明:[docs/PLAN.md](docs/PLAN.md);验证记录:[docs/VERIFICATION.md](docs/VERIFICATION.md)。
|
|
44
|
+
|
|
45
|
+
## 许可
|
|
46
|
+
|
|
47
|
+
MIT。
|
package/cordis.patch.yml
ADDED