@jaco-tech/dsh-web-search-searxng 0.2.0 → 0.2.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.
Files changed (2) hide show
  1. package/README.md +25 -2
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -15,13 +15,22 @@ npm install @jaco-tech/dsh-web-search-searxng
15
15
 
16
16
  ## Configure
17
17
 
18
- Add to your DSH profile's `cordis.patch.yml`:
18
+ ### 1. Install the package
19
+
20
+ ```bash
21
+ npm install @jaco-tech/dsh-web-search-searxng
22
+ ```
23
+
24
+ ### 2. Add it to your DSH profile
25
+
26
+ Edit `~/.dsh/profiles/web/cordis.patch.yml` (create it if it doesn't exist) and add:
19
27
 
20
28
  ```yaml
21
29
  - insert:
22
30
  - id: web-search-searxng
23
31
  name: '@jaco-tech/dsh-web-search-searxng'
24
32
  config:
33
+ # Required: point at your SearXNG instance
25
34
  baseURL: 'http://your-searxng-instance:8888'
26
35
  # Optional filters:
27
36
  language: 'en'
@@ -29,7 +38,7 @@ Add to your DSH profile's `cordis.patch.yml`:
29
38
  timeRange: ''
30
39
  ```
31
40
 
32
- Optionally pin `ctx.web` to use this provider explicitly:
41
+ If you have multiple search providers registered, pin `ctx.web` to use this one:
33
42
 
34
43
  ```yaml
35
44
  - replace:
@@ -38,6 +47,20 @@ Optionally pin `ctx.web` to use this provider explicitly:
38
47
  searchProvider: searxng
39
48
  ```
40
49
 
50
+ ### 3. Restart DSH
51
+
52
+ Stop your running `dsh` process and start it again:
53
+
54
+ ```bash
55
+ npx @deepseek-ai/dsh web
56
+ ```
57
+
58
+ The plugin will be loaded automatically. The `web_search` tool in your agent will now use your SearXNG instance.
59
+
60
+ ### 4. (Optional) Configure via the Web UI
61
+
62
+ Once DSH is running, go to **Settings → Plugins** in the Web UI. You'll see a "web-search-searxng" card where you can edit the `baseURL` and filter settings without editing YAML files.
63
+
41
64
  ## How it works
42
65
 
43
66
  This is a [Cordis](https://github.com/cordiverse/cordis) plugin that implements the `WebSearchProvider` interface from `@deepseek-ai/dsh-web`:
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jaco-tech/dsh-web-search-searxng",
3
3
  "description": "SearXNG-backed search provider for the DeepSeek Harness web capability seam (ctx.web). No auth, no API key.",
4
- "version": "0.2.0",
4
+ "version": "0.2.1",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -32,8 +32,8 @@
32
32
  "cordis-plugin"
33
33
  ],
34
34
  "peerDependencies": {
35
- "@deepseek-ai/dsh-web": "^0.1.0-rc.7",
36
- "@deepseek-ai/dsh-settings": "^0.1.0-rc.7",
35
+ "@deepseek-ai/dsh-web": "^0.1.0-rc.7 || ^0.1.1-rc.2",
36
+ "@deepseek-ai/dsh-settings": "^0.1.0-rc.7 || ^0.1.1-rc.2",
37
37
  "@deepseek-ai/cordis": "^4.0.1"
38
38
  },
39
39
  "dependencies": {