@vibe-x/dsh-html-workbench 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.
package/dsh.plugin.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "id": "@vibe-x/dsh-html-workbench",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "main": "./src/index.js",
5
5
  "description": "在 DeepSeek Harness 右侧栏预览并可视化编辑 agent 生成的 HTML:复用/拉起本地 html-workbench 服务,在 iframe 中内嵌 GrapesJS 编辑器,插件卸载时停掉自己启动的服务。",
6
6
  "engines": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibe-x/dsh-html-workbench",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "DeepSeek Harness 插件:在右侧栏预览并可视化编辑 agent 生成的 HTML(复用/拉起本地 html-workbench 服务)。",
5
5
  "license": "MIT",
6
6
  "type": "module",
package/src/host.js CHANGED
@@ -19,7 +19,7 @@
19
19
  */
20
20
 
21
21
  return {
22
- inject: ['shell', 'timer'],
22
+ inject: ['shell', 'timer', 'webServer'],
23
23
  apply(ctx, config) {
24
24
  // 静态/NPM 装载时由 src/index.js 相对插件自身解析 scripts/workbench.py 并注入 config.script;
25
25
  // 动态装载(cordis_define)无 config → script 为空,服务不自动拉起(仅注册传输层)。