@jaco-tech/dsh-web-fetch-crw 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
@@ -17,17 +17,26 @@ npm install @jaco-tech/dsh-web-fetch-crw
17
17
 
18
18
  ## Configure
19
19
 
20
- Add to your DSH profile's `cordis.patch.yml`:
20
+ ### 1. Install the package
21
+
22
+ ```bash
23
+ npm install @jaco-tech/dsh-web-fetch-crw
24
+ ```
25
+
26
+ ### 2. Add it to your DSH profile
27
+
28
+ Edit `~/.dsh/profiles/web/cordis.patch.yml` (create it if it doesn't exist) and add:
21
29
 
22
30
  ```yaml
23
31
  - insert:
24
32
  - id: web-fetch-crw
25
33
  name: '@jaco-tech/dsh-web-fetch-crw'
26
34
  config:
35
+ # Required: point at your crw (Firecrawl-compatible) instance
27
36
  baseURL: 'http://your-crw-instance:3000'
28
37
  ```
29
38
 
30
- Optionally pin `ctx.web` to use this provider explicitly:
39
+ If you have multiple fetch providers registered, pin `ctx.web` to use this one:
31
40
 
32
41
  ```yaml
33
42
  - replace:
@@ -36,6 +45,20 @@ Optionally pin `ctx.web` to use this provider explicitly:
36
45
  fetchProvider: crw
37
46
  ```
38
47
 
48
+ ### 3. Restart DSH
49
+
50
+ Stop your running `dsh` process and start it again:
51
+
52
+ ```bash
53
+ npx @deepseek-ai/dsh web
54
+ ```
55
+
56
+ The plugin will be loaded automatically. The `web_fetch` tool in your agent will now use your crw instance.
57
+
58
+ ### 4. (Optional) Configure via the Web UI
59
+
60
+ Once DSH is running, go to **Settings → Plugins** in the Web UI. You'll see a "web-fetch-crw" card where you can edit the `baseURL` without editing YAML files.
61
+
39
62
  ## How it works
40
63
 
41
64
  This is a [Cordis](https://github.com/cordiverse/cordis) plugin that implements the `WebFetchProvider` interface from `@deepseek-ai/dsh-web`:
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jaco-tech/dsh-web-fetch-crw",
3
3
  "description": "crw (Firecrawl-compatible) fetch 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
  },
@@ -33,8 +33,8 @@
33
33
  "cordis-plugin"
34
34
  ],
35
35
  "peerDependencies": {
36
- "@deepseek-ai/dsh-web": "^0.1.0-rc.7",
37
- "@deepseek-ai/dsh-settings": "^0.1.0-rc.7",
36
+ "@deepseek-ai/dsh-web": "^0.1.0-rc.7 || ^0.1.1-rc.2",
37
+ "@deepseek-ai/dsh-settings": "^0.1.0-rc.7 || ^0.1.1-rc.2",
38
38
  "@deepseek-ai/cordis": "^4.0.1"
39
39
  },
40
40
  "dependencies": {