dsh-plugin-beyond-simulator 1.0.7 → 1.0.8

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 +9 -7
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -48,17 +48,19 @@ Harness 插件附带“千星 2D+Lua 游戏制作”Agent 预设。新建会话
48
48
  | **Web 部署** | 希望直接在浏览器中编辑、调试的人 | 启动一个包含前后端的服务,通过浏览器编辑和试玩,无需 Harness。 |
49
49
  | **MCP 接入** | 使用其他支持 MCP 的 AI 客户端的人 | 向 AI 提供工程编辑、试玩、截图和保存工具,可配合 Web 查看结果。 |
50
50
 
51
- 当前通过源码或本地构建的 `.tgz` 安装包使用,尚未发布到 npm。Web 包名和启动命令均为 `beyond-simulator-web`。下面的安装包路径以仓库根目录为基准;当前版本及文件名见 `release/manifest.json`。
51
+ 三个包已发布到 npm,也可从 GitHub 源码或本地构建的 `.tgz` 安装。Web 包名和启动命令均为 `beyond-simulator-web`。本地安装包路径以仓库根目录为基准;当前版本及文件名见 `release/manifest.json`。
52
52
 
53
53
  ### DeepSeek Harness 插件
54
54
 
55
55
  准备 Node.js 22+ 和 DeepSeek Harness,选择下面一种安装方式。GitHub 安装还需要 Git,会自动从源码构建;本地安装包路径以仓库根目录为基准,可按文末的[构建说明](#从源码构建)生成,文件名以 `release/manifest.json` 为准。
56
56
 
57
57
  ```sh
58
- # 从本地安装包安装
59
- dsh plugin --profile web add ./release/dsh-plugin-beyond-simulator-1.0.7.tgz
58
+ # 从 npm 安装
59
+ dsh plugin --profile web add dsh-plugin-beyond-simulator
60
60
  # 或,从 GitHub 默认分支源码安装
61
61
  dsh plugin --profile web add github:1475505/miliastra-beyond-simulator
62
+ # 或,从本地安装包安装
63
+ dsh plugin --profile web add ./release/dsh-plugin-beyond-simulator-1.0.8.tgz
62
64
 
63
65
  dsh --profile web --dump-config
64
66
  dsh web
@@ -74,10 +76,10 @@ GitHub 安装使用仓库默认分支,安装时由 `prepare` 自动构建。
74
76
 
75
77
  ### Web 部署
76
78
 
77
- 已有安装包时,只需准备 **Node.js 22+**,安装后即可启动完整前后端:
79
+ 准备 **Node.js 22+**,从 npm 安装后即可启动完整前后端:
78
80
 
79
81
  ```sh
80
- npm install -g ./release/beyond-simulator-web-0.1.2.tgz
82
+ npm install -g beyond-simulator-web
81
83
  mkdir ../my-game
82
84
  beyond-simulator-web --workspace ../my-game --open
83
85
  ```
@@ -103,10 +105,10 @@ Web 也支持安装预构建包运行,仓库提供了 Docker 部署配置。
103
105
 
104
106
  在支持本地 MCP stdio 服务的 AI 客户端中配置模拟器,指定游戏工作区后,AI 即可打开、编辑和保存工程,控制试玩并获取画面。
105
107
 
106
- 已有安装包时,先执行:
108
+ 从 npm 安装:
107
109
 
108
110
  ```sh
109
- npm install -g ./release/qxqy-simulator-mcp-0.1.2.tgz
111
+ npm install -g qxqy-simulator-mcp
110
112
  ```
111
113
 
112
114
  然后在客户端中将服务命令设为 `qxqy-simulator-mcp`,参数设为 `--workspace` 和已有游戏目录的绝对路径。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-plugin-beyond-simulator",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "千星奇域客户端 UI 编辑与试玩模拟器 for DeepSeek Harness",
5
5
  "type": "module",
6
6
  "packageManager": "pnpm@10.15.0",