@thewaifu/dsh-bot 1.1.1 → 1.1.2

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 +12 -8
  2. package/package.json +20 -7
package/README.md CHANGED
@@ -17,7 +17,7 @@ This guide is for people installing and using the plugin. Contributor instructio
17
17
  ## Requirements
18
18
 
19
19
  - Node.js `^22.19.0` or `>=24.0.0`.
20
- - DeepSeek Harness `>=0.1.5-rc.1`.
20
+ - DeepSeek Harness `^0.1.5-rc.1` or `^0.2.0-rc.1`.
21
21
  - A working DSH `web` or `desktop` profile.
22
22
  - At least one configured model provider before a Bot can answer with an AI model.
23
23
 
@@ -30,10 +30,10 @@ dsh --version
30
30
 
31
31
  ## Install in DSH Web
32
32
 
33
- Install version `1.1.1` from the public npm registry:
33
+ Install version `1.1.2` from the public npm registry:
34
34
 
35
35
  ```sh
36
- dsh plugin --profile web add @thewaifu/dsh-bot@1.1.1 --registry=https://registry.npmjs.org/
36
+ dsh plugin --profile web add @thewaifu/dsh-bot@1.1.2 --registry=https://registry.npmjs.org/
37
37
  ```
38
38
 
39
39
  Start or restart the Web profile with the DS Bot launcher:
@@ -51,7 +51,7 @@ Use `dsh web --port <port>` instead when you want one exact port with no automat
51
51
  Install the plugin into the Desktop profile:
52
52
 
53
53
  ```sh
54
- dsh plugin --profile desktop add @thewaifu/dsh-bot@1.1.1 --registry=https://registry.npmjs.org/
54
+ dsh plugin --profile desktop add @thewaifu/dsh-bot@1.1.2 --registry=https://registry.npmjs.org/
55
55
  ```
56
56
 
57
57
  Quit DSH Desktop completely and open it again. Installing into `web` does not install the plugin into `desktop`; profiles are separate.
@@ -62,7 +62,7 @@ Install OH-MY-DSH first, then add DS Bot to the same `web` profile:
62
62
 
63
63
  ```sh
64
64
  curl -fsSL https://thewaifu.ai/waifu-install.sh | sh
65
- dsh plugin --profile web add @thewaifu/dsh-bot@1.1.1 --registry=https://registry.npmjs.org/
65
+ dsh plugin --profile web add @thewaifu/dsh-bot@1.1.2 --registry=https://registry.npmjs.org/
66
66
  dsh plugin --profile web exec dsh-bot-web
67
67
  ```
68
68
 
@@ -80,7 +80,7 @@ Remove only the old name that appears in that list, then install the scoped pack
80
80
 
81
81
  ```sh
82
82
  dsh plugin --profile web remove ds-bot
83
- dsh plugin --profile web add @thewaifu/dsh-bot@1.1.1 --registry=https://registry.npmjs.org/
83
+ dsh plugin --profile web add @thewaifu/dsh-bot@1.1.2 --registry=https://registry.npmjs.org/
84
84
  ```
85
85
 
86
86
  Use `dsh-bot` instead of `ds-bot` in the remove command when that is the installed legacy name. Restart DSH afterward. The runtime plugin ID and data layout have not changed, so the existing team, chats, preferences, and secrets remain available.
@@ -249,7 +249,7 @@ dsh plugin --profile web update @thewaifu/dsh-bot --registry=https://registry.np
249
249
 
250
250
  For Desktop, replace `web` with `desktop`. Restart DSH after the update. You can also use **DS Bot settings > About DS Bot > Check for updates** when the installed DSH plugin manager supports it.
251
251
 
252
- Version `1.1.1` fixes the Web client registration failure in `1.1.0`. After updating from `1.1.0`, restart DSH and hard-refresh the browser so it does not reuse the old client bundle.
252
+ Version `1.1.2` fixes the tool scheduler failure that could appear as `Cannot read properties of undefined (reading 'prepare')` after creating a Bot or making another tool call. It also includes the Web client registration fix from `1.1.1`. After updating, restart DSH and hard-refresh the browser so it does not reuse an old client bundle.
253
253
 
254
254
  ## Uninstall
255
255
 
@@ -285,7 +285,11 @@ That wording is produced by the development mock model, not by DS Bot itself. Ol
285
285
 
286
286
  ### A group message opens another conversation
287
287
 
288
- Confirm that `@thewaifu/dsh-bot@1.1.1` is the only package registering the `bot` plugin, restart DSH, and hard-refresh the page. Do not install `ds-bot`, `dsh-bot`, and `@thewaifu/dsh-bot` together. A member's hidden group Session is an implementation detail and should not replace the visible group selection.
288
+ Confirm that `@thewaifu/dsh-bot@1.1.2` is the only package registering the `bot` plugin, restart DSH, and hard-refresh the page. Do not install `ds-bot`, `dsh-bot`, and `@thewaifu/dsh-bot` together. A member's hidden group Session is an implementation detail and should not replace the visible group selection.
289
+
290
+ ### A turn fails while reading `prepare`
291
+
292
+ Update to `@thewaifu/dsh-bot@1.1.2` or newer, then restart DSH and hard-refresh the browser. Earlier packages could install a private copy of the DSH tool runtime next to the copy owned by the current Harness profile. Tool calls use identity-sensitive runtime symbols, so mixing those copies could let the model produce text and then fail when its first tool call started. Version `1.1.2` uses the runtime supplied by the active DSH profile.
289
293
 
290
294
  ### Only the administrator replies in a group
291
295
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thewaifu/dsh-bot",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "DS Bot: a team of long-lived Bots for DeepSeek Harness, with Main Bots, Bot-to-Bot messages and group chats",
5
5
  "keywords": [
6
6
  "dsh-plugin",
@@ -53,16 +53,29 @@
53
53
  "harness": "npm install --prefix dev/harness --legacy-peer-deps=false --no-package-lock --no-fund --no-audit",
54
54
  "check": "sh dev/check.sh"
55
55
  },
56
- "dependencies": {
56
+ "peerDependencies": {
57
57
  "@deepseek-ai/cordis": "^4.0.2",
58
- "@deepseek-ai/dsh-llm": "0.1.5-rc.1",
59
- "@deepseek-ai/dsh-scope": "0.1.5-rc.1",
60
- "@deepseek-ai/dsh-tools": "0.1.5-rc.1",
61
- "@deepseek-ai/dsh-web": "0.1.5-rc.1"
58
+ "@deepseek-ai/dsh-llm": "^0.1.5-rc.1 || ^0.2.0-rc.1",
59
+ "@deepseek-ai/dsh-tools": "^0.1.5-rc.1 || ^0.2.0-rc.1",
60
+ "@deepseek-ai/dsh-web": "^0.1.5-rc.1 || ^0.2.0-rc.1"
61
+ },
62
+ "peerDependenciesMeta": {
63
+ "@deepseek-ai/cordis": {
64
+ "optional": true
65
+ },
66
+ "@deepseek-ai/dsh-llm": {
67
+ "optional": true
68
+ },
69
+ "@deepseek-ai/dsh-tools": {
70
+ "optional": true
71
+ },
72
+ "@deepseek-ai/dsh-web": {
73
+ "optional": true
74
+ }
62
75
  },
63
76
  "dsh": {
64
77
  "engines": {
65
- "dsh": ">=0.1.5-rc.1"
78
+ "dsh": "^0.1.5-rc.1 || ^0.2.0-rc.1"
66
79
  },
67
80
  "client": {
68
81
  "platform": "web"