@dcrays/mbh-chat 0.2.4-beta.2 → 0.2.4-beta.4

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/cordis.patch.yml CHANGED
@@ -1,23 +1,21 @@
1
- - insert:
2
- - id: mbhchat-bridge
3
- name: '@dcrays/mbh-chat'
4
- disabled: !!js process.env.DSH_MBHCHAT_DISABLED === '1'
5
- inject:
6
- - webServer
7
- - tools
8
- - agentPresets
9
- - connection
10
- config:
11
- enabled: true
12
- watch: !!js process.env.DSH_MBHCHAT_WATCH === '1'
13
- restart: true
14
- restartDelayMs: 1000
15
- restartMaxDelayMs: 30000
16
- shutdownTimeoutMs: 5000
17
- manageAgentPreset: true
18
-
19
- # Host default for sessions that do not name a preset. The plugin registers
20
- # both `mbh-chat` and the legacy `mbhchat` identity with the 0.1.7 registry.
21
- - id: agent-preset-registry
22
- config:
23
- default: mbh-chat
1
+ - insert:
2
+ - id: mbhchat-bridge
3
+ name: '@dcrays/mbh-chat'
4
+ disabled: !!js process.env.DSH_MBHCHAT_DISABLED === '1'
5
+ inject:
6
+ - webServer
7
+ - tools
8
+ - connection
9
+ config:
10
+ enabled: true
11
+ watch: !!js process.env.DSH_MBHCHAT_WATCH === '1'
12
+ restart: true
13
+ restartDelayMs: 1000
14
+ restartMaxDelayMs: 30000
15
+ shutdownTimeoutMs: 5000
16
+
17
+ # Host default for sessions that do not name a preset. The Web Bundle owns the
18
+ # registry; presets/mbh-chat.patch.yml declares the `mbh-chat` preset.
19
+ - id: agent-preset-registry
20
+ config:
21
+ default: mbh-chat
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcrays/mbh-chat",
3
- "version": "0.2.4-beta.2",
3
+ "version": "0.2.4-beta.4",
4
4
  "description": "DeepSeek Harness host plugin and headless sidecar bridge for MBHChat/Mobook",
5
5
  "type": "module",
6
6
  "main": "plugin/index.js",
@@ -11,19 +11,23 @@
11
11
  "default": "./plugin/index.js"
12
12
  },
13
13
  "./cordis.patch.yml": "./cordis.patch.yml",
14
+ "./presets/*.patch.yml": "./presets/*.patch.yml",
14
15
  "./package.json": "./package.json"
15
16
  },
16
17
  "files": [
17
18
  "plugin/**",
18
19
  "bridge/**",
19
- "agent-presets/**",
20
+ "presets/**",
20
21
  "cordis.patch.yml",
21
22
  "README.md",
22
23
  "!**/*.map"
23
24
  ],
24
25
  "dsh": {
25
26
  "bundle": {
26
- "patch": "./cordis.patch.yml"
27
+ "patch": [
28
+ "./cordis.patch.yml",
29
+ "./presets/mbh-chat.patch.yml"
30
+ ]
27
31
  }
28
32
  },
29
33
  "engines": {
@@ -33,11 +37,11 @@
33
37
  "ali-oss": "6.23.0",
34
38
  "unzipper": "0.12.3",
35
39
  "ws": "^8.21.0",
36
- "yaml": "2.9.0",
37
40
  "zod": "^4.4.3"
38
41
  },
39
42
  "peerDependencies": {
40
43
  "@deepseek-ai/cordis": "~4.0.4",
44
+ "@deepseek-ai/dsh-agent-preset": "0.2.0-rc.1",
41
45
  "@deepseek-ai/dsh-agent-preset-registry": "0.2.0-rc.1",
42
46
  "@deepseek-ai/dsh-client-connection": "0.2.0-rc.1",
43
47
  "@deepseek-ai/dsh-home-paths": "0.2.0-rc.1",
package/plugin/index.d.ts CHANGED
@@ -12,7 +12,6 @@ export interface Config {
12
12
  restartDelayMs: number;
13
13
  restartMaxDelayMs: number;
14
14
  shutdownTimeoutMs: number;
15
- manageAgentPreset: boolean;
16
15
  }
17
16
  export declare const Config: z<Config>;
18
17
  interface SidecarOptions {