@keenable/dsh-keenable 0.1.0 → 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.
Files changed (3) hide show
  1. package/README.md +12 -5
  2. package/package.json +7 -4
  3. package/src/http.js +1 -1
package/README.md CHANGED
@@ -15,7 +15,7 @@ An API key is optional. It only lifts the rate limit described [below](#limits-a
15
15
 
16
16
  ## Install
17
17
 
18
- Requires DeepSeek Harness 0.1.7-rc.2 or later and Node.js 22.12 or later.
18
+ Requires DeepSeek Harness 0.2.0-rc.2 or later (below 0.4) and Node.js 22.12 or later. On a 0.1.x Harness, install `@keenable/dsh-keenable@0.1.0`.
19
19
 
20
20
  **From Harness:** open **Plugins → Add plugin**, enter `@keenable/dsh-keenable`, then **Install → Enable now**.
21
21
 
@@ -34,15 +34,22 @@ Then ask your model to search the web. No further setup is needed.
34
34
 
35
35
  Without a key, requests go to Keenable's public endpoints, limited to 10 requests per second and 1,000 per hour per IP address. Search and fetch are counted separately. Everyone behind the same network address shares the limit, so a busy office or CI runner can reach it; the tool error then says so.
36
36
 
37
- A key lifts the limit. Create one in the [Keenable console](https://app.keenable.ai/console), then either:
37
+ A key lifts the limit. Create one in the [Keenable console](https://app.keenable.ai/console), then set `KEENABLE_API_KEY` in the environment Harness starts in, and restart Harness.
38
38
 
39
- - set `KEENABLE_API_KEY` in the environment Harness starts in, or
40
- - enter it as **apiKey** in this plugin's settings on the **Plugins** page.
39
+ The **Plugins** page shows no settings form for this plugin. The key can also go into your profile's `cordis.patch.yml` as the `apiKey` of the `keenable` row, where it wins over the environment variable:
41
40
 
42
- A key in the settings wins over the environment variable.
41
+ ```yaml
42
+ - id: keenable
43
+ config:
44
+ apiKey: <your key>
45
+ ```
46
+
47
+ That file is plain text, and Harness's profile recovery copies it to timestamped `.bak-*` files, so prefer the environment variable. Either way, the key is read when Harness starts.
43
48
 
44
49
  ## Settings
45
50
 
51
+ These are fields of the `keenable` row in your profile's `cordis.patch.yml`, as in the example above. Harness reads them at startup.
52
+
46
53
  | Setting | Default | Meaning |
47
54
  | --- | --- | --- |
48
55
  | `apiKey` | `$KEENABLE_API_KEY` | Optional. Switches both tools to the authenticated endpoints. |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keenable/dsh-keenable",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Keenable web search and page fetch for DeepSeek Harness: the built-in web_search and web_fetch tools, with no API key needed",
5
5
  "license": "MIT",
6
6
  "author": "Keenable (https://keenable.ai)",
@@ -40,6 +40,9 @@
40
40
  "no-api-key"
41
41
  ],
42
42
  "dsh": {
43
+ "engines": {
44
+ "dsh": ">=0.2.0-rc.2 <0.4.0-0"
45
+ },
43
46
  "bundle": {
44
47
  "patch": "./cordis.patch.yml"
45
48
  }
@@ -49,8 +52,8 @@
49
52
  "test:live": "KEENABLE_LIVE=1 node --test test/live.test.js"
50
53
  },
51
54
  "peerDependencies": {
52
- "@deepseek-ai/dsh-launch-environment": ">=0.1.7-rc.2",
53
- "@deepseek-ai/dsh-web": ">=0.1.7-rc.2",
55
+ "@deepseek-ai/dsh-launch-environment": ">=0.2.0-rc.2",
56
+ "@deepseek-ai/dsh-web": ">=0.2.0-rc.2",
54
57
  "@deepseek-ai/schemastery": "^3.18.4"
55
58
  },
56
59
  "devDependencies": {
@@ -61,6 +64,6 @@
61
64
  "@deepseek-ai/dsh-tools": "0.2.0-rc.2",
62
65
  "@deepseek-ai/dsh-web": "0.2.0-rc.2",
63
66
  "@deepseek-ai/schemastery": "3.18.4",
64
- "js-yaml": "4.1.0"
67
+ "js-yaml": "4.3.2"
65
68
  }
66
69
  }
package/src/http.js CHANGED
@@ -14,7 +14,7 @@ export const PROVIDER_ID = 'keenable'
14
14
  export const DEFAULT_BASE_URL = 'https://api.keenable.ai'
15
15
 
16
16
  /** Package version, sent in the user agent. Bump with package.json. */
17
- export const VERSION = '0.1.0'
17
+ export const VERSION = '0.1.1'
18
18
 
19
19
  /**
20
20
  * Application name sent as `X-Keenable-Title`. The keyless endpoints reject a