@taptap/maker 0.0.36 → 0.0.37-beta.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/README.md +3 -3
- package/dist/maker.js +1989 -813
- package/docs/MAKER_CONSOLE.md +21 -0
- package/docs/MAKER_LOCAL_PREVIEW.md +94 -4
- package/docs/MAKER_MCP_CONNECTION_TROUBLESHOOTING.md +5 -5
- package/package.json +1 -1
- package/skills/taptap-maker-local/SKILL.md +75 -4
package/docs/MAKER_CONSOLE.md
CHANGED
|
@@ -45,6 +45,27 @@ Runtime 日志按需读取,不自动持续拉取。日志按行区分颜色:
|
|
|
45
45
|
loading 并禁止重复触发;二维码任务提交后立即打开等待弹窗,完成后替换为二维码或明确提示失败。
|
|
46
46
|
构建进度条继续展示真实阶段进度,与按钮 loading 分开。
|
|
47
47
|
|
|
48
|
+
### Validate 过程记录
|
|
49
|
+
|
|
50
|
+
日志区的 Validate 页签展示当前项目通过 `preview validate` 留下的本地证据,不发起验证任务,
|
|
51
|
+
不推送控制指令,不要求控制台先运行。可按时间选择历史轮次、翻页,查看实际调用参数、
|
|
52
|
+
准备日志、stdout/stderr/Lua 合并日志、原始 JSON 报告和完整截图;收集完成不等于游戏 PASS。
|
|
53
|
+
内容以准备日志、运行日志、截图和原始 JSON 分块展示,截图默认展开,
|
|
54
|
+
准备日志、运行日志与原始 JSON 默认折叠;展开后的长日志在卡片内滚动,不撑长页面。
|
|
55
|
+
轮询保留展开状态和日志滚动位置。有截图时直接内嵌展示,
|
|
56
|
+
图片按浏览器可见范围懒加载,点击可查看原图;无截图明确区分未请求、等待采集与未收集到,
|
|
57
|
+
读取失败可单独重载图片,不重新执行验证。
|
|
58
|
+
只在构建页的 Validate 页签可见时约每 5 秒刷新,运行日志按游标增量读取。
|
|
59
|
+
切换项目保留各自轮次选择,新记录不会抢走当前选择,旧项目迟到的响应不会覆盖新项目。
|
|
60
|
+
异常中断、缺少最终记录显示结果待确认,不把进程存在或截图文件存在当作验证成功。
|
|
61
|
+
|
|
62
|
+
控制台仅读取登记项目的固定证据文件;不接受任意本地路径,不跟随证据目录或文件链接,
|
|
63
|
+
日志和 JSON 脱敏后按文本展示。“清理日志”仍只清空显示,不删除磁盘证据、不停止验证。
|
|
64
|
+
普通任务的最近 10 次历史限制不适用于 Validate:证据按项目 realpath 分隔、完成后保留 7 天,
|
|
65
|
+
由验证命令清理过期的非活动记录,浏览记录不触发清理。超过 5 GiB 只告警,不删除近期记录。
|
|
66
|
+
长期验收使用 `preview validate --output-dir <绝对目录>`,详情见
|
|
67
|
+
[本地验证说明](MAKER_LOCAL_PREVIEW.md#本地多轮验证与过程可见性)。
|
|
68
|
+
|
|
48
69
|
本地预览启动、刷新、安装遇到异常,以及构建/二维码出现已识别的基础设施异常时,
|
|
49
70
|
当前项目会弹出一次简短的“提交问题反馈”确认。取消不上传;确认后在后台复用
|
|
50
71
|
`mcp report --context-stdin --consent`,不新增 MCP tool、不填写表单。
|
|
@@ -34,7 +34,7 @@ taptap-maker preview check --target-dir <PROJECT> --json
|
|
|
34
34
|
taptap-maker preview stop --target-dir <PROJECT> --json
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
-
安装使用 Python/curl,遵循宿主授权。已有 Runtime 可在
|
|
37
|
+
安装使用 Python/curl,遵循宿主授权。已有 Runtime 可在 run 或 validate 时传
|
|
38
38
|
`--runtime <绝对可执行文件路径>`。start/refresh 根据项目加载需求选择原目录或自动 prepare;
|
|
39
39
|
单独排查产物可运行 `preview prepare --target-dir <PROJECT> --json`。
|
|
40
40
|
新项目缺少 `.project` 配置时,prepare 仅在受管理副本补齐 project/resources/settings,
|
|
@@ -52,7 +52,95 @@ Runtime,也不运行旧 dist。
|
|
|
52
52
|
停止或手动关闭后不自动复活。`process_alive=true` 只证明进程存活,`check` 不代表玩法通过。
|
|
53
53
|
停止标记只针对读取并核验过的 session 与 owner;旧会话的停止请求不会取消并发的新预览。
|
|
54
54
|
没有已登记会话时,stop 不创建可影响后续启动的标记;启动前探测由发起任务的取消信号中止。
|
|
55
|
-
|
|
55
|
+
常驻窗口的即时截图、输入脚本、Server/云模拟和游戏存档隔离尚不支持,停止也不保证保存游戏。
|
|
56
|
+
`run-lua-validate` 的一次性验证使用下方独立入口。
|
|
57
|
+
|
|
58
|
+
## run-lua-validate 本地接入
|
|
59
|
+
|
|
60
|
+
验证方法、报告判读、视觉检查及修复复测使用 UrhoX ai-dev-kit 的 `run-lua-validate` Skill。
|
|
61
|
+
Maker 只负责本地执行适配:复用预览的 Runtime 安装、项目分类、准备与资源加载,收集本轮证据。
|
|
62
|
+
仅支持单机;不修改引擎、不提交或远端构建、不改写游戏代码和发布配置。
|
|
63
|
+
|
|
64
|
+
插件用户使用 `taptap-maker-local` 指定的当前插件 CLI;不要切换另一份全局 CLI。
|
|
65
|
+
先执行 `preview status`,有活动预览须经用户同意停止,验证不会自动接管窗口。
|
|
66
|
+
若上次验证命令异常退出,启动检查仍会读取遗留验证记录;Runtime 存活、创建结果未知或
|
|
67
|
+
记录无法核验时,拒绝新的 validate/start/run,并提示核对对应记录和进程,不自动停止或接管。
|
|
68
|
+
启动安全检查会核验全部验证记录,不受控制台历史列表的 5000 轮显示上限影响;
|
|
69
|
+
已完成的记录不会仅因数量多而阻断启动。
|
|
70
|
+
Skill 缺失时通过当前渠道执行 `dev-kit update`;Runtime 缺失用 `preview install`。
|
|
71
|
+
Skill 分发由 UrhoX ai-dev-kit 维护。Maker 在安装 Skill 及执行验证时,若检测到本机规则仍
|
|
72
|
+
排除 `run-lua-validate`,先通过 stderr 提示,再仅移除当前平台的该项;其它平台、其它
|
|
73
|
+
排除项和原 Skill 正文不变,结果中的 `warnings` 保留处理信息。已开放时不改文件。
|
|
74
|
+
若旧安装器已删除原 Skill 文件,明确提示通过当前渠道执行 `dev-kit update` 恢复;
|
|
75
|
+
即使过滤配置不存在或已解除排除,也会独立检查原 Skill 是否缺失;
|
|
76
|
+
不会把修正名单当作 Skill 已安装,不自动下载升级。配置损坏或不可写时保留告警,
|
|
77
|
+
不因此阻断 Runtime 验证。
|
|
78
|
+
本地调用映射由 `taptap-maker-local` 和项目 Maker 指引提供。
|
|
79
|
+
用户请求 Validate 但 AI 尚不可用该 Skill 时,由 AI 按 `taptap-maker-local` 先检查本地
|
|
80
|
+
`skills/` 或 `.installer/skills/` 原文件,告知并解除当前平台排除,再运行项目原安装脚本。
|
|
81
|
+
旧安装器未提供 Codex `.agents/skills` 时,AI 仅补齐该 Skill 的完整目录,不覆盖已有文件;
|
|
82
|
+
确认安装文件可读后读取原 Skill 执行。仅原文件缺失才引导更新 ai-dev-kit。
|
|
83
|
+
此引导不新增安装命令;`preview validate` 本身仍只修正过滤规则,不负责安装 Skill。
|
|
84
|
+
|
|
85
|
+
以下为独立调用示例,不是一段顺序运行的脚本;项目参数使用绝对路径:
|
|
86
|
+
|
|
87
|
+
```sh
|
|
88
|
+
taptap-maker preview validate --target-dir "/absolute/game" --json
|
|
89
|
+
taptap-maker preview validate --target-dir "/absolute/game" --mode both --screenshot-frame 600 --json
|
|
90
|
+
taptap-maker preview validate --target-dir "/absolute/game" --validate-test check.lua --json
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
| 本地参数 | 对应原有 Skill / Runtime 能力 |
|
|
94
|
+
| --------------------------------------------- | ------------------------------------------------------------------------------------ |
|
|
95
|
+
| `--mode validate`(默认) | headless 运行,取得原始 JSON 报告与日志 |
|
|
96
|
+
| `--mode screenshot` / `both` | 渲染截图 / 同时取得报告;macOS、Windows 需要桌面渲染环境 |
|
|
97
|
+
| `--screenshot-frame N` | 原有 `-screenshot-frame`;截图时必须选择,无固定截图帧 |
|
|
98
|
+
| `--validate-frames N` | 验证帧数,默认 60;both 默认截图帧 + 80,至少预留 3 帧回读时间 |
|
|
99
|
+
| `--validate-timeout S` | 秒数 1–580,逻辑默认 45、截图默认 100;进程预算再加 20 秒 |
|
|
100
|
+
| `--validate-test check.lua` | 加载 `scripts/` 下已有断言脚本,使用原有 `V` helpers,不生成断言 |
|
|
101
|
+
| `--entry state.lua` | 选择 `scripts/` 下受控测试入口;manifest 项目只调整受管理副本的入口 |
|
|
102
|
+
| `--width W --height H` | 本轮尺寸 100–4096,默认复用预览窗口设置,不保存或改发布配置 |
|
|
103
|
+
| `--validate-spike-threshold MS` / `--nosound` | 原有帧耗时阈值 / 静音选项,仅显式传入时启用 |
|
|
104
|
+
| `--output-dir /absolute/acceptance` | 每轮结束将证据复制到该目录下独立的 run ID 子目录;须在受管理预览缓存之外,不自动清理 |
|
|
105
|
+
|
|
106
|
+
600 只是示例,不保证加载完成。截图数量、受控状态和拼图仍由 Skill/Agent 决定;
|
|
107
|
+
每轮重新启动 Runtime,不是同一窗口连续抓帧。按原 Skill 生成临时测试脚本后,可用
|
|
108
|
+
`--entry` 选择入口;验证命令不会改写脚本,测试结束后由 Agent 清理临时文件。
|
|
109
|
+
|
|
110
|
+
CLI 返回 `report`、`exit_code`、`exit_signal`、`artifacts`、`log_path`、`invocation_path` 和
|
|
111
|
+
`evidence_directory`。`COMPLETED/ok:true` 只表示执行和证据收集完成,不是游戏 PASS。
|
|
112
|
+
按原 Skill 读取原始报告与日志、打开每张 PNG、修复后复测;MCP 不复制噪音过滤或游戏判级规则。
|
|
113
|
+
有效 FAIL 报告和 Runtime exit 1 可完成收集,异常退出、取消、超时、无效或缺失产物不能完成。
|
|
114
|
+
报告与截图独立收集,失败仍保留已取得的部分证据。
|
|
115
|
+
运行日志写入失败同样属于采集失败,不得返回 `COMPLETED`;已有报告、截图及正常回收流程保留。
|
|
116
|
+
|
|
117
|
+
不依赖 `-screenshot-after-start` 或新增引擎协议,不要求 Computer Use 截屏。
|
|
118
|
+
无 PNG 时检查日志、文件权限和桌面环境,不凭一条 captured 日志判成功或断言版本过旧;
|
|
119
|
+
确认缺少能力后才按当前渠道升级 Runtime。不自动换引擎或重试,不影响正常预览入口。
|
|
120
|
+
|
|
121
|
+
### 本地多轮验证与过程可见性
|
|
122
|
+
|
|
123
|
+
Agent 根据验收目标决定入口、断言、截图时机和轮数,顺序重复调用同一命令即可;
|
|
124
|
+
不固定“一张图”或限制为几轮,也不新增批量测试框架。每轮重新启动 Runtime,
|
|
125
|
+
不支持对常驻窗口连续抓帧。大量截图应按状态选择代表性画面检查,不把数量当作覆盖率。
|
|
126
|
+
|
|
127
|
+
CLI 在准备开始前向 stderr 输出 `validation.started`,包含 `run_id`、`evidence_directory`、
|
|
128
|
+
`log_path`、`invocation_path`。可在命令运行中读取该目录的 `run.json` 和日志尾部,
|
|
129
|
+
不必等最终 stdout JSON,也不应为了轮询进度再启动 Runtime。记录覆盖准备、启动、运行、
|
|
130
|
+
完成;早期失败也会留档。进程意外退出、缺少最终记录时展示“结果待确认”,不能判为 PASS。
|
|
131
|
+
|
|
132
|
+
控制台“构建与测试 → 日志 → Validate”只读取这些文件,控制台未启动也不影响验证。
|
|
133
|
+
按轮次查看调用参数、准备日志、合并的 stdout/stderr/Lua 日志、JSON 报告和已完整收集的 PNG;
|
|
134
|
+
执行收集结果与游戏报告结果分别展示。控制台不代替 Agent 看图,也不记录 Agent 内部推理。
|
|
135
|
+
|
|
136
|
+
证据位于 Maker user home 的 `preview/<项目 realpath 哈希>/validation/<run ID>/`,
|
|
137
|
+
独立于普通预览的最近几轮清理。完成后保留 7 天,下次验证时清理过期且确认不再使用的记录;
|
|
138
|
+
活跃或进程归属未知的记录不自动删除。单项目超过 5 GiB 只告警,不为满足配额删除近期证据。
|
|
139
|
+
验收材料需长期保留时指定 `--output-dir`,结果中的 `archive_directory` 表示实际归档位置;
|
|
140
|
+
归档包含调用参数、日志、原始报告、截图和最终结果,不包含准备副本源码。
|
|
141
|
+
归档结果中的证据路径指向归档副本,不随缓存到期失效;实际执行过的调用参数保持原样。
|
|
142
|
+
清理过程产生的最终告警也写入归档结果。
|
|
143
|
+
归档失败仍保留本机缓存并明确报错。显式归档目录不参与自动清理。
|
|
56
144
|
|
|
57
145
|
## 联网项目
|
|
58
146
|
|
|
@@ -128,7 +216,8 @@ AI 调试 -> 前台 Node 会话 -> Runtime -> 收集日志 -> 停止本轮游戏
|
|
|
128
216
|
Job 管理,并需实机验收;不新增 breakaway、WMI 或按进程名清理的兜底。
|
|
129
217
|
- `logs` 合并 stdout/stderr 与本轮 Runtime 公布的 Lua 日志。Lua 文件只允许来自当前
|
|
130
218
|
Runtime 的固定 logs/lua 目录,校验文件身份、拒绝链接、有界增量读取,不扫描其它项目日志。
|
|
131
|
-
-
|
|
219
|
+
- 常驻预览的即时截图、输入注入、游戏断言 JSON 协议仍未实现,必须明确返回不支持或 UNDETERMINED。
|
|
220
|
+
一次性报告和截图使用 `preview validate`,不能把常驻会话状态当成验证报告。
|
|
132
221
|
游戏加载、画面和业务正确性不能用进程存活代替。
|
|
133
222
|
- 只有显式 `--legacy-wmi` 使用旧后台入口;正常失败不自动重试。先区分创建失败、
|
|
134
223
|
Runtime 自行退出、主动停止及宿主回收,不因空日志就断言杀软拦截。
|
|
@@ -225,7 +314,8 @@ DirectConnect/Ready,运行时配置虽已存在于 manifest,Ready 仍找不
|
|
|
225
314
|
- 缓存只清理 Maker 管理且已确认无活跃引用的目录,不跟随链接、不清理外部 Runtime
|
|
226
315
|
或公共缓存。独立 prepare 保留最近 3 份;本机 Runtime 安装保留当前与上一份,
|
|
227
316
|
被任一项目活跃会话引用的版本额外保留;
|
|
228
|
-
|
|
317
|
+
普通预览证据保留最近 3 个会话、每会话 5 轮;validate 独立保留 7 天,见前文。
|
|
318
|
+
活跃引用和清理未确认目录额外保留。
|
|
229
319
|
这是数量限制,不是磁盘配额。
|
|
230
320
|
- 正常结束等待 Runtime 退出和资源清理;强杀 Node 时 Windows 子进程清理依赖 libuv Job 行为。
|
|
231
321
|
特殊宿主限制、进程创建瞬间被强杀、非 Windows 强杀等边界不作绝对保证,临时下载缓存可能保留。
|
|
@@ -160,7 +160,7 @@ macOS/Linux:
|
|
|
160
160
|
|
|
161
161
|
```text
|
|
162
162
|
command: npx
|
|
163
|
-
args: ["-y", "-p", "@taptap/maker@0.0.
|
|
163
|
+
args: ["-y", "-p", "@taptap/maker@0.0.37-beta.1", "taptap-maker"]
|
|
164
164
|
```
|
|
165
165
|
|
|
166
166
|
上面的 macOS/Linux npx 形式只是显式兼容模式;默认同样是绝对 Node + 版本化 self runtime。
|
|
@@ -265,7 +265,7 @@ stderr、尝试的编码和解码错误,不能把解码异常直接当成 Make
|
|
|
265
265
|
例如,配置使用 Windows 绝对 Node/npm CLI 时,按相同顺序复现:
|
|
266
266
|
|
|
267
267
|
```bat
|
|
268
|
-
"<绝对 node.exe>" "<绝对 npm-cli.js>" exec --yes --package @taptap/maker@0.0.
|
|
268
|
+
"<绝对 node.exe>" "<绝对 npm-cli.js>" exec --yes --package @taptap/maker@0.0.37-beta.1 -- taptap-maker
|
|
269
269
|
```
|
|
270
270
|
|
|
271
271
|
然后用该 CLI 执行 `mcp verify --json`;不要只用 `help` 代替 MCP 协议握手。
|
|
@@ -273,7 +273,7 @@ stderr、尝试的编码和解码错误,不能把解码异常直接当成 Make
|
|
|
273
273
|
配置使用 macOS/Linux 标准 argv 时:
|
|
274
274
|
|
|
275
275
|
```bash
|
|
276
|
-
npx -y -p @taptap/maker@0.0.
|
|
276
|
+
npx -y -p @taptap/maker@0.0.37-beta.1 taptap-maker help
|
|
277
277
|
```
|
|
278
278
|
|
|
279
279
|
如果终端成功而客户端失败,应继续排查客户端读取的配置、信任状态、PATH、cwd 和子进程启动方式,
|
|
@@ -296,7 +296,7 @@ npx -y -p @taptap/maker@0.0.36 taptap-maker help
|
|
|
296
296
|
作为可选恢复方式,并先备份实际生效的配置:
|
|
297
297
|
|
|
298
298
|
```bash
|
|
299
|
-
npx -y -p @taptap/maker@0.0.
|
|
299
|
+
npx -y -p @taptap/maker@0.0.37-beta.1 taptap-maker mcp install --launcher self
|
|
300
300
|
```
|
|
301
301
|
|
|
302
302
|
Windows 如无法从 PATH 运行上述恢复命令,应使用当前可用 npm 的绝对路径启动这一次 CLI;安装器
|
|
@@ -328,7 +328,7 @@ Windows 如无法从 PATH 运行上述恢复命令,应使用当前可用 npm
|
|
|
328
328
|
指纹打扰。用户明确同意后无需第二次确认,AI 将已脱敏的当前会话错误 JSON 通过 stdin 传入:
|
|
329
329
|
|
|
330
330
|
```text
|
|
331
|
-
npx -y --package @taptap/maker@0.0.
|
|
331
|
+
npx -y --package @taptap/maker@0.0.37-beta.1 taptap-maker mcp report --ide <client> --target-dir <project> --context-stdin --consent --json
|
|
332
332
|
```
|
|
333
333
|
|
|
334
334
|
优先原样复用当前客户端 Maker MCP 配置中的 command 和有序 args,再追加上述 `mcp report`
|
package/package.json
CHANGED
|
@@ -153,6 +153,75 @@ remote test version; it never builds or uploads server code automatically.
|
|
|
153
153
|
`--cursor` and optionally `--limit` (1–500). Reset cursor after a reload. Keep local evidence
|
|
154
154
|
separate from `.maker/logs/runtime/`, which belongs to the remote watcher.
|
|
155
155
|
|
|
156
|
+
### Local run-lua-validate
|
|
157
|
+
|
|
158
|
+
Use the project's `run-lua-validate` Skill for runtime checks, screenshots, assertions and
|
|
159
|
+
controlled-state visual verification. Keep its review/fix/retest workflow; Maker supplies the
|
|
160
|
+
local execution adapter, not another test framework.
|
|
161
|
+
|
|
162
|
+
On a bound macOS/Windows Maker project, use this distribution's CLI instead of the Skill's
|
|
163
|
+
standalone Runtime installer/launch commands. Query `preview status` first; an active preview
|
|
164
|
+
must be explicitly stopped with user authorization. For the command mapping and options read
|
|
165
|
+
`docs/MAKER_LOCAL_PREVIEW.md` section `run-lua-validate 本地接入`.
|
|
166
|
+
Example: `preview validate --target-dir <PROJECT> --mode both --screenshot-frame <N> --json`,
|
|
167
|
+
where N is selected for the current test, not a fixed readiness guarantee.
|
|
168
|
+
Use the returned report/log/artifact paths with the original Skill's review rules.
|
|
169
|
+
`COMPLETED` means evidence collected, not game PASS. Preserve failures and inspect partial
|
|
170
|
+
evidence. No Computer Use capture, engine modification or remote-build fallback is required.
|
|
171
|
+
When the user requests Validate and the project Skill is unavailable, the Agent must first
|
|
172
|
+
enable/install the existing local Skill; do not immediately download or update ai-dev-kit:
|
|
173
|
+
|
|
174
|
+
1. Check `<PROJECT>/skills/run-lua-validate/SKILL.md` and
|
|
175
|
+
`<PROJECT>/.installer/skills/run-lua-validate/SKILL.md`. If neither exists, explain that
|
|
176
|
+
the source is missing and guide `dev-kit update --target-dir <PROJECT>` through this
|
|
177
|
+
distribution. Do not invent or rewrite the original Skill.
|
|
178
|
+
2. If source exists, inspect `<PROJECT>/.installer/local-skill-filter.json` as JSON.
|
|
179
|
+
When `exclude_skills.win32` (Windows) or `exclude_skills.darwin` (macOS) contains
|
|
180
|
+
`run-lua-validate`, tell the user before removing only that entry for this platform.
|
|
181
|
+
Preserve all other values. A missing filter needs no repair; malformed/unwritable
|
|
182
|
+
configuration must be reported, not replaced with an empty configuration.
|
|
183
|
+
3. Run the existing project installer: Windows uses
|
|
184
|
+
`powershell.exe -NoProfile -ExecutionPolicy Bypass -File "<PROJECT>/tools/install-skills.ps1" all`;
|
|
185
|
+
macOS uses `bash "<PROJECT>/tools/install-skills.sh" all`.
|
|
186
|
+
Check its exit status and the installed Skill file, not just its success message.
|
|
187
|
+
4. For Codex, ensure `<PROJECT>/.agents/skills/run-lua-validate/SKILL.md` is readable.
|
|
188
|
+
If the old installer only installs `.codex`, copy the original Skill directory, including
|
|
189
|
+
supporting files, from `.installer/skills` (or `skills` if still there) into the missing
|
|
190
|
+
`.agents/skills/run-lua-validate` directory. If the installer is absent, likewise install
|
|
191
|
+
only this Skill into the current host's documented project Skill directory.
|
|
192
|
+
Do not overwrite an existing directory or broken link; inspect/report conflicts first.
|
|
193
|
+
5. Read the installed `SKILL.md` and its needed references, then continue validation using
|
|
194
|
+
the local mapping below. If the host needs a Skill refresh/new session for discovery,
|
|
195
|
+
explain that; do not claim the current session has loaded it merely because installation
|
|
196
|
+
succeeded. Report permission/install failures rather than pretending the Skill is ready.
|
|
197
|
+
|
|
198
|
+
These are Agent-executed local setup steps, not a new CLI command or automatic download.
|
|
199
|
+
Skill distribution belongs to UrhoX ai-dev-kit. Maker detects legacy exclusions, warns before
|
|
200
|
+
removing only this Skill from the current platform's list, and preserves all other entries.
|
|
201
|
+
If original Skill files were already deleted, guide the user to `dev-kit update` through the
|
|
202
|
+
current distribution; a repaired exclusion is not proof of an installed Skill. Do not rewrite
|
|
203
|
+
the Skill, auto-upgrade, or block Runtime execution because compatibility repair failed.
|
|
204
|
+
|
|
205
|
+
Local iterations are Agent-controlled: choose test states, assertion scripts, screenshot timing
|
|
206
|
+
and the number of runs from the acceptance goal. Repeat `preview validate` sequentially as needed;
|
|
207
|
+
each invocation launches its own Runtime, not a capture of an existing preview window. Do not
|
|
208
|
+
add a fixed frame/count policy or interpret loading-screen captures as acceptance. Inspect the
|
|
209
|
+
collected JSON/logs/images, then fix and rerun using the original Skill's rules.
|
|
210
|
+
|
|
211
|
+
The stderr `validation.started` event returns `run_id`, `evidence_directory`, `log_path` and
|
|
212
|
+
`invocation_path` before preparation. Poll the returned run's `run.json` and bounded log tails
|
|
213
|
+
while the CLI is running; do not start another Runtime to poll progress. The final stdout JSON
|
|
214
|
+
remains the command result. Missing final evidence means incomplete/unknown, never PASS.
|
|
215
|
+
The Maker console's Build/Test > Validate tab reads the same local evidence and does not launch
|
|
216
|
+
or control validation. It shows collected evidence, not proof the Agent inspected an image.
|
|
217
|
+
|
|
218
|
+
Validation evidence is project-realpath isolated and retained for seven days after completion,
|
|
219
|
+
independently of normal preview cleanup. For durable acceptance output, pass
|
|
220
|
+
`--output-dir <ABSOLUTE_DIRECTORY_OUTSIDE_PREVIEW_CACHE>` on each invocation: completed or failed
|
|
221
|
+
run artifacts are copied into a unique run subdirectory, never automatically cleaned. Verify
|
|
222
|
+
`archive_directory` in the result; archive failures remain explicit. Prepared game source is not
|
|
223
|
+
part of the archive. A 5 GiB cache warning is not permission to delete recent acceptance evidence.
|
|
224
|
+
|
|
156
225
|
### Windows Node 与后台启动诊断
|
|
157
226
|
|
|
158
227
|
Maker 预览优先使用当前宿主进程的 `process.execPath`;宿主 Node 不可用时才回退系统 Node。
|
|
@@ -193,8 +262,9 @@ Launch chain (normal paths):
|
|
|
193
262
|
supervisor_pid field identifies the owning Node. Normal paths never invoke WMI/CIM.
|
|
194
263
|
4. An entire IDE process-tree teardown can still terminate preview. Optional external
|
|
195
264
|
`console serve` is for that separate requirement, not a mandatory first-use step.
|
|
196
|
-
5. Runtime logs include bounded, identity-checked current-round Lua logs.
|
|
197
|
-
game assertion JSON remain unsupported
|
|
265
|
+
5. Runtime logs include bounded, identity-checked current-round Lua logs. Live-window screenshots
|
|
266
|
+
and game assertion JSON remain unsupported in run/start/check; use `preview validate` for
|
|
267
|
+
the original Skill's one-shot evidence. Process status JSON is not gameplay validation.
|
|
198
268
|
6. Never auto-retry an unknown launch or disable antivirus. Only explicit --legacy-wmi
|
|
199
269
|
selects the old launcher. Never kill by process name or an unverified historical PID.
|
|
200
270
|
Evidence files, all under Maker home preview/runtime directories returned by status/start JSON:
|
|
@@ -224,7 +294,8 @@ Never kill by process name. Never use a stored PID without matching session iden
|
|
|
224
294
|
`preview stop` or `console stop`. Closing the browser does not stop a Host-owned Runtime; ending Agent preview run stops only its owned Runtime.
|
|
225
295
|
|
|
226
296
|
Process launch and clean logs do not prove gameplay or visual correctness. Do not promise
|
|
227
|
-
screenshots, input automation or cloud/server emulation
|
|
297
|
+
live-window screenshots, input automation or cloud/server emulation. One-shot validation
|
|
298
|
+
screenshots use the separate `preview validate` adapter.
|
|
228
299
|
|
|
229
300
|
Only an AI authorized to modify the game may fix it. Bound automatic fixes to two attempts and an
|
|
230
301
|
agreed time budget, permit cancellation, refresh after each attempt, and return remaining failures
|
|
@@ -544,7 +615,7 @@ request/correlation ID, reproduction steps, visible Maker tools, client version,
|
|
|
544
615
|
Do not include the complete conversation. Send that JSON through stdin, never argv, while running:
|
|
545
616
|
|
|
546
617
|
```text
|
|
547
|
-
npx -y --package @taptap/maker@0.0.
|
|
618
|
+
npx -y --package @taptap/maker@0.0.37-beta.1 taptap-maker mcp report --ide <client> --target-dir <project> --context-stdin --consent --json
|
|
548
619
|
```
|
|
549
620
|
|
|
550
621
|
Prefer the active client's exact Maker MCP `command` plus ordered `args`, then append the `mcp
|