dsh-plugin-beyond-simulator 1.0.7 → 1.0.9
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/README.md +10 -8
- package/dsh-plugin/cordis.patch.yml +1 -0
- 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
|
-
|
|
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
|
|
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.9.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
|
-
|
|
79
|
+
准备 **Node.js 22+**,从 npm 安装后即可启动完整前后端:
|
|
78
80
|
|
|
79
81
|
```sh
|
|
80
|
-
npm install -g
|
|
82
|
+
npm install -g beyond-simulator-web
|
|
81
83
|
mkdir ../my-game
|
|
82
84
|
beyond-simulator-web --workspace ../my-game --open
|
|
83
85
|
```
|
|
@@ -103,13 +105,13 @@ Web 也支持安装预构建包运行,仓库提供了 Docker 部署配置。
|
|
|
103
105
|
|
|
104
106
|
在支持本地 MCP stdio 服务的 AI 客户端中配置模拟器,指定游戏工作区后,AI 即可打开、编辑和保存工程,控制试玩并获取画面。
|
|
105
107
|
|
|
106
|
-
|
|
108
|
+
从 npm 安装:
|
|
107
109
|
|
|
108
110
|
```sh
|
|
109
|
-
npm install -g
|
|
111
|
+
npm install -g beyond-simulator-mcp
|
|
110
112
|
```
|
|
111
113
|
|
|
112
|
-
然后在客户端中将服务命令设为 `
|
|
114
|
+
然后在客户端中将服务命令设为 `beyond-simulator-mcp`,参数设为 `--workspace` 和已有游戏目录的绝对路径。
|
|
113
115
|
|
|
114
116
|
MCP 可以独立使用。需要同时看画面时,让 Web 指向同一个工作区,打开“存档预览”;AI 保存 JSON 后,预览会自动更新。Web 编辑器中的未保存草稿不会被自动覆盖。
|
|
115
117
|
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
name: dsh-plugin-beyond-simulator/preset
|
|
8
8
|
- id: qxqy-simulator-preset
|
|
9
9
|
name: '@deepseek-ai/dsh-agent-preset'
|
|
10
|
+
disabled: !!js "(()=>{try{process.getBuiltinModule('node:module').createRequire(process.argv[1]).resolve('@deepseek-ai/dsh-agent-preset');return false}catch{return true}})()"
|
|
10
11
|
config:
|
|
11
12
|
id: wonderland-lua-builder
|
|
12
13
|
name: "千星 2D+Lua 游戏制作"
|