@taptap/maker 0.0.34-beta.5 → 0.0.34-beta.6
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
CHANGED
|
@@ -19,7 +19,7 @@ taptap-maker install
|
|
|
19
19
|
taptap-maker mcp verify
|
|
20
20
|
taptap-maker mcp install --launcher npx
|
|
21
21
|
taptap-maker mcp verify --mode npx
|
|
22
|
-
npx -y --package @taptap/maker@0.0.34-beta.
|
|
22
|
+
npx -y --package @taptap/maker@0.0.34-beta.6 taptap-maker mcp report --ide <client> --target-dir <project> --context-stdin --consent --json
|
|
23
23
|
taptap-maker agents update
|
|
24
24
|
taptap-maker upgrade
|
|
25
25
|
taptap-maker dev-kit update
|
|
@@ -52,10 +52,10 @@ It does not include the legacy TapTap Open API MCP server, proxy, native signer,
|
|
|
52
52
|
or OpenClaw plugin package contents.
|
|
53
53
|
|
|
54
54
|
For likely Maker MCP/proxy infrastructure failures, the bundled workflow asks for user consent once
|
|
55
|
-
before running `npx -y --package @taptap/maker@0.0.34-beta.
|
|
55
|
+
before running `npx -y --package @taptap/maker@0.0.34-beta.6 taptap-maker mcp report`. The command submits a sanitized GitHub Issue only with
|
|
56
56
|
`--consent`; unavailable GitHub CLI, auth, or network returns `manual_required` with a copyable
|
|
57
57
|
report and never blocks the original Maker task.
|
|
58
58
|
|
|
59
59
|
Full connection and tool-call troubleshooting guide: `docs/MAKER_MCP_CONNECTION_TROUBLESHOOTING.md`.
|
|
60
60
|
|
|
61
|
-
Version: 0.0.34-beta.
|
|
61
|
+
Version: 0.0.34-beta.6
|
package/dist/maker.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
// TapTap Maker MCP - Standalone Bundle
|
|
3
|
-
// TapTap Maker MCP version: 0.0.34-beta.
|
|
3
|
+
// TapTap Maker MCP version: 0.0.34-beta.6
|
|
4
4
|
import { createRequire } from 'node:module';
|
|
5
5
|
const require = createRequire(import.meta.url);
|
|
6
6
|
const __MAKER_BUNDLE_URL__ = import.meta.url;
|
|
@@ -30627,7 +30627,7 @@ function createMakerAgentsPolicyBody() {
|
|
|
30627
30627
|
" `mcp report --ide <client> --target-dir <project> --context-stdin --consent --json`.",
|
|
30628
30628
|
"- This preserves the configured package version and the absolute Windows node.exe/npm-cli.js.",
|
|
30629
30629
|
"- Only with a known exact installed version, fallback to",
|
|
30630
|
-
" `npx -y --package @taptap/maker@0.0.34-beta.
|
|
30630
|
+
" `npx -y --package @taptap/maker@0.0.34-beta.6 taptap-maker mcp report ...`.",
|
|
30631
30631
|
"- Never use an unversioned npm package, or assume `taptap-maker`/`npx` is globally available.",
|
|
30632
30632
|
"- Never include the complete conversation, project source, other MCP server entries, PAT/token",
|
|
30633
30633
|
" values, or full environment variables. Normalize the user home path to `~`.",
|
|
@@ -39355,7 +39355,7 @@ var init_tracking = __esm({
|
|
|
39355
39355
|
MAKER_MCP_TRACKING_ACTION = "tapmaker_mcp_call";
|
|
39356
39356
|
MAKER_MCP_TRACKING_SOURCE = "local_mcp";
|
|
39357
39357
|
MAKER_MCP_TRACKING_TIMEOUT_MS = 1500;
|
|
39358
|
-
MAKER_MCP_VERSION = "0.0.34-beta.
|
|
39358
|
+
MAKER_MCP_VERSION = "0.0.34-beta.6".trim() ? "0.0.34-beta.6".trim() : "dev";
|
|
39359
39359
|
TRACKING_ERROR_MAX_LENGTH = 500;
|
|
39360
39360
|
}
|
|
39361
39361
|
});
|
|
@@ -42667,7 +42667,7 @@ var init_mcp = __esm({
|
|
|
42667
42667
|
init_remoteProxyManager();
|
|
42668
42668
|
init_proxyAssets();
|
|
42669
42669
|
init_diagnosticRedaction();
|
|
42670
|
-
VERSION = true ? "0.0.34-beta.
|
|
42670
|
+
VERSION = true ? "0.0.34-beta.6" : "dev";
|
|
42671
42671
|
DEFAULT_BUILD_TIMEOUT_MS = 10 * 60 * 1e3;
|
|
42672
42672
|
DEFAULT_PROXY_RETRY_ATTEMPTS = 5;
|
|
42673
42673
|
DEFAULT_PROXY_RETRY_DELAY_MS = 30 * 1e3;
|
|
@@ -54385,6 +54385,7 @@ let viewEpoch = 0;
|
|
|
54385
54385
|
let state = {projects: [], tasks: []};
|
|
54386
54386
|
let loaded = false;
|
|
54387
54387
|
let fortuneTimer;
|
|
54388
|
+
let fortuneReady = false;
|
|
54388
54389
|
function fortuneMode() {
|
|
54389
54390
|
return document.documentElement.dataset.theme === 'light' ? 'light' : 'dark';
|
|
54390
54391
|
}
|
|
@@ -54431,8 +54432,22 @@ function loadFortuneFrame(reload) {
|
|
|
54431
54432
|
frame.dataset.mode = fortuneMode();
|
|
54432
54433
|
frame.src = fortuneUrl();
|
|
54433
54434
|
}
|
|
54435
|
+
function revealFortune() {
|
|
54436
|
+
fortuneReady = true;
|
|
54437
|
+
$('fortune-panel').hidden = true;
|
|
54438
|
+
$('fortune-panel').classList.remove('fortune-preload');
|
|
54439
|
+
$('fortune-corner').hidden = false;
|
|
54440
|
+
}
|
|
54441
|
+
function beginFortuneLoad(reload) {
|
|
54442
|
+
fortuneReady = false;
|
|
54443
|
+
$('fortune-corner').hidden = true;
|
|
54444
|
+
$('fortune-panel').hidden = true;
|
|
54445
|
+
$('fortune-panel').classList.add('fortune-preload');
|
|
54446
|
+
loadFortuneFrame(reload);
|
|
54447
|
+
}
|
|
54434
54448
|
function openFortune() {
|
|
54435
54449
|
clearTimeout(fortuneTimer);
|
|
54450
|
+
if (!fortuneReady) return;
|
|
54436
54451
|
const panel = $('fortune-panel');
|
|
54437
54452
|
if (!panel) return;
|
|
54438
54453
|
if (panel.parentElement !== document.body) document.body.append(panel);
|
|
@@ -56352,12 +56367,23 @@ document.addEventListener('DOMContentLoaded',async () => {
|
|
|
56352
56367
|
const value = theme.checked ? 'dark' : 'light';
|
|
56353
56368
|
document.documentElement.dataset.theme = value;
|
|
56354
56369
|
pluginSessions.forEach(session => sendPluginTheme(session));
|
|
56355
|
-
if ($('fortune-frame').getAttribute('src'))
|
|
56370
|
+
if ($('fortune-frame').getAttribute('src')) {
|
|
56371
|
+
beginFortuneLoad(true);
|
|
56372
|
+
}
|
|
56356
56373
|
try { localStorage.setItem('maker-console-theme',value); } catch (_) { notify('无法保存主题设置'); }
|
|
56357
56374
|
});
|
|
56358
56375
|
$('projects-button').append(icon('folder'));
|
|
56359
|
-
$('fortune-
|
|
56360
|
-
$('fortune-
|
|
56376
|
+
const fortunePanel = $('fortune-panel');
|
|
56377
|
+
const fortuneFrame = $('fortune-frame');
|
|
56378
|
+
fortunePanel.classList.add('fortune-preload');
|
|
56379
|
+
fortunePanel.hidden = true;
|
|
56380
|
+
fortuneFrame.addEventListener('load',revealFortune);
|
|
56381
|
+
fortuneFrame.addEventListener('error',() => {
|
|
56382
|
+
fortuneReady = false;
|
|
56383
|
+
$('fortune-corner').hidden = true;
|
|
56384
|
+
fortunePanel.hidden = true;
|
|
56385
|
+
});
|
|
56386
|
+
beginFortuneLoad();
|
|
56361
56387
|
bindFortuneHover($('fortune-toggle'));
|
|
56362
56388
|
bindFortuneHover($('fortune-panel'));
|
|
56363
56389
|
$('fortune-toggle').addEventListener('click',event => {
|
|
@@ -56437,9 +56463,9 @@ button#fortune-toggle{border:0;background:none;color:#f5e6a3;font-size:12px;font
|
|
|
56437
56463
|
:root[data-theme="light"] button#fortune-toggle{color:#c4a017}
|
|
56438
56464
|
button#fortune-toggle:hover,button#fortune-toggle[aria-expanded="true"]{color:var(--yellow);background:none;border-color:transparent}
|
|
56439
56465
|
#fortune-panel{position:fixed;z-index:30;overflow:hidden;border:0;border-radius:6px;background:transparent;box-shadow:0 8px 28px #0005}
|
|
56466
|
+
#fortune-panel.fortune-preload{opacity:0;pointer-events:none;left:0;top:0;width:1px;height:1px}
|
|
56440
56467
|
#fortune-panel[hidden]{display:none!important}
|
|
56441
56468
|
#fortune-panel iframe{display:block;width:100%;height:100%;border:0}
|
|
56442
|
-
#fortune-retry{position:absolute;right:4px;top:4px;z-index:1;width:32px;height:32px;padding:4px}
|
|
56443
56469
|
.document-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:18px}
|
|
56444
56470
|
.document-toolbar input{flex:1;min-width:160px;max-width:360px}
|
|
56445
56471
|
.document-toolbar [aria-selected="true"]{color:var(--accent);border-bottom:2px solid var(--accent)}
|
|
@@ -56639,13 +56665,12 @@ function getConsoleHtml() {
|
|
|
56639
56665
|
<section id="plugin-views" aria-label="插件工作区" hidden></section>
|
|
56640
56666
|
<div id="announcement" role="status" aria-live="polite" class="context" hidden></div>
|
|
56641
56667
|
<footer><div class="footer-start"><span id="version">Maker 本地服务</span>
|
|
56642
|
-
<section id="fortune-corner" aria-label="开发者日签">
|
|
56668
|
+
<section id="fortune-corner" aria-label="开发者日签" hidden>
|
|
56643
56669
|
<button id="fortune-toggle" type="button" aria-expanded="false" aria-controls="fortune-panel">独立游戏开发日签</button>
|
|
56644
56670
|
</section>
|
|
56645
56671
|
</div><span id="footer-path"></span></footer>
|
|
56646
56672
|
<div id="fortune-panel" hidden>
|
|
56647
|
-
<
|
|
56648
|
-
<iframe id="fortune-frame" title="gDEV日签 · 独立游戏开发者老黄历" sandbox="allow-scripts allow-same-origin" referrerpolicy="no-referrer"></iframe>
|
|
56673
|
+
<iframe id="fortune-frame" title="gDEV日签 · 独立游戏开发者老黄历" sandbox="allow-scripts allow-same-origin" loading="eager" referrerpolicy="no-referrer"></iframe>
|
|
56649
56674
|
</div>
|
|
56650
56675
|
<dialog id="confirm" aria-labelledby="confirm-title" aria-describedby="confirm-message">
|
|
56651
56676
|
<form method="dialog">
|
|
@@ -66387,6 +66412,7 @@ function createPreviewSourceAlias(source, platform = process.platform, temporary
|
|
|
66387
66412
|
|
|
66388
66413
|
// src/maker/preview/runtime.ts
|
|
66389
66414
|
var PREVIEW_TIMEOUT_MS = 3e4;
|
|
66415
|
+
var RUNTIME_STARTUP_SETTLE_MS = 3e3;
|
|
66390
66416
|
async function probeRuntime(executable, signal) {
|
|
66391
66417
|
if (signal == null ? void 0 : signal.aborted) throw new Error("CANCELLED");
|
|
66392
66418
|
if (!path32.isAbsolute(executable) || !fs31.statSync(executable).isFile())
|
|
@@ -66570,7 +66596,7 @@ var PreviewRuntime = class {
|
|
|
66570
66596
|
failed(error2);
|
|
66571
66597
|
}
|
|
66572
66598
|
}
|
|
66573
|
-
},
|
|
66599
|
+
}, RUNTIME_STARTUP_SETTLE_MS);
|
|
66574
66600
|
});
|
|
66575
66601
|
});
|
|
66576
66602
|
} catch (error2) {
|
|
@@ -72234,7 +72260,7 @@ async function readBody(request2) {
|
|
|
72234
72260
|
}
|
|
72235
72261
|
|
|
72236
72262
|
// src/maker/console/cli.ts
|
|
72237
|
-
var VERSION3 = false ? "dev" : "0.0.34-beta.
|
|
72263
|
+
var VERSION3 = false ? "dev" : "0.0.34-beta.6";
|
|
72238
72264
|
var CONSOLE_PROTOCOL_VERSION = 2;
|
|
72239
72265
|
function home() {
|
|
72240
72266
|
return path46.join(getMakerHome(), "console");
|
|
@@ -75108,7 +75134,7 @@ function hasControlCharacter(value) {
|
|
|
75108
75134
|
}
|
|
75109
75135
|
|
|
75110
75136
|
// src/maker/cli/commands.ts
|
|
75111
|
-
var VERSION4 = true ? "0.0.34-beta.
|
|
75137
|
+
var VERSION4 = true ? "0.0.34-beta.6" : "dev";
|
|
75112
75138
|
var DEFAULT_MCP_NAME = "taptap-maker";
|
|
75113
75139
|
var MAKER_NPM_PACKAGE = "@taptap/maker";
|
|
75114
75140
|
var TWO_PART_COMMANDS = /* @__PURE__ */ new Set([
|
package/docs/MAKER_CONSOLE.md
CHANGED
|
@@ -2,10 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
控制台是 Maker CLI 的本机网页入口,随包分发,无需安装前端开发环境。
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
页脚版本信息旁保留小号、低对比度淡黄色“独立游戏开发日签”入口;控制台先在后台加载外部 iframe,
|
|
6
|
+
只有收到 iframe load 事件后才显示入口,加载未完成或失败时不显示入口。
|
|
7
|
+
弹出区域只显示内嵌日签内容。
|
|
8
|
+
使用固定尺寸并根据可用空间缩放,深浅色随控制台切换。
|
|
7
9
|
不代理外部页面、不注入脚本;跨源隔离,不传项目数据或凭证,并使用 no-referrer。
|
|
8
|
-
|
|
10
|
+
不允许弹窗或顶层导航。鼠标离开后延迟关闭;日签加载失败不影响控制台连接。
|
|
9
11
|
|
|
10
12
|
## 文档 / Skill
|
|
11
13
|
|
|
@@ -79,6 +79,19 @@ Runtime 参数仅携带用户标识和测试服路由。停止只关闭本地 Ru
|
|
|
79
79
|
|
|
80
80
|
## 平台与排障
|
|
81
81
|
|
|
82
|
+
### Node 来源与 Windows 启动排查
|
|
83
|
+
|
|
84
|
+
Maker 启动本地预览时优先复用当前宿主进程的 Node.js;只有宿主 Node 不可用时才回退到系统
|
|
85
|
+
Node.js。系统 Node 本身不是失败证据,不要仅因为路径来自系统或 WorkBuddy 之外就要求用户切换
|
|
86
|
+
Node、修改 PATH 或重装环境。
|
|
87
|
+
|
|
88
|
+
Windows 预览失败时,先按证据区分四层问题:Node 版本与直接执行能力、Runtime 文件与资源、
|
|
89
|
+
supervisor/后台启动链路、Runtime 本体与游戏加载。依次核对实际 `process.execPath`、Node 版本、
|
|
90
|
+
Runtime 可执行文件、`supervisor_log_path`、Runtime 日志和 control channel 结果;不要把
|
|
91
|
+
“Runtime 文件存在”或“WMI 返回 PID/请求成功”当作 Runtime 已经真正启动。若 supervisor 日志为空
|
|
92
|
+
且 control channel 超时,应优先记录为 Windows 后台启动链路的待确认问题,不要直接归因于游戏代码、
|
|
93
|
+
Runtime 缺失或 Node 版本。
|
|
94
|
+
|
|
82
95
|
- 后台进程已登记控制端点、但在启动完成前退出时,只有明确确认 supervisor 已退出,且
|
|
83
96
|
Runtime 尚未尝试创建或已记录的 Runtime 也已退出,才允许重新启动。创建 Runtime 前先持久化
|
|
84
97
|
启动意图,拿到 PID 后立即登记;如果中断发生在这两步之间,结果未知,不自动清理或重复启动。
|
|
@@ -160,7 +160,7 @@ macOS/Linux:
|
|
|
160
160
|
|
|
161
161
|
```text
|
|
162
162
|
command: npx
|
|
163
|
-
args: ["-y", "-p", "@taptap/maker@0.0.34-beta.
|
|
163
|
+
args: ["-y", "-p", "@taptap/maker@0.0.34-beta.6", "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.34-beta.
|
|
268
|
+
"<绝对 node.exe>" "<绝对 npm-cli.js>" exec --yes --package @taptap/maker@0.0.34-beta.6 -- 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.34-beta.
|
|
276
|
+
npx -y -p @taptap/maker@0.0.34-beta.6 taptap-maker help
|
|
277
277
|
```
|
|
278
278
|
|
|
279
279
|
如果终端成功而客户端失败,应继续排查客户端读取的配置、信任状态、PATH、cwd 和子进程启动方式,
|
|
@@ -296,7 +296,7 @@ npx -y -p @taptap/maker@0.0.34-beta.5 taptap-maker help
|
|
|
296
296
|
作为可选恢复方式,并先备份实际生效的配置:
|
|
297
297
|
|
|
298
298
|
```bash
|
|
299
|
-
npx -y -p @taptap/maker@0.0.34-beta.
|
|
299
|
+
npx -y -p @taptap/maker@0.0.34-beta.6 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.34-beta.
|
|
331
|
+
npx -y --package @taptap/maker@0.0.34-beta.6 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
|
@@ -145,6 +145,25 @@ remote test version; it never builds or uploads server code automatically.
|
|
|
145
145
|
`--cursor` and optionally `--limit` (1–500). Reset cursor after a reload. Keep local evidence
|
|
146
146
|
separate from `.maker/logs/runtime/`, which belongs to the remote watcher.
|
|
147
147
|
|
|
148
|
+
### Windows Node 与后台启动诊断
|
|
149
|
+
|
|
150
|
+
Maker 预览优先使用当前宿主进程的 `process.execPath`;宿主 Node 不可用时才回退系统 Node。
|
|
151
|
+
不要因为看到 system Node,或因为它不是 WorkBuddy managed Node,就直接判定环境错误、要求用户
|
|
152
|
+
切换 Node、修改 PATH 或重装依赖。只有在 Node 缺失、版本不满足,或用实际配置的 Node 直接执行
|
|
153
|
+
Maker bundle 已失败时,才把 Node 环境列为主要怀疑对象。
|
|
154
|
+
|
|
155
|
+
Windows 预览失败时,先收集并区分以下证据,再决定修复方向:
|
|
156
|
+
|
|
157
|
+
1. Node 来源、`process.execPath`、版本,以及直接执行 bundle 的结果。
|
|
158
|
+
2. Runtime 可执行文件、资源准备结果、supervisor 状态和 `supervisor_log_path`。
|
|
159
|
+
3. Runtime 原始日志、control channel 发布/超时结果,以及 Windows 后台启动器的返回信息。
|
|
160
|
+
|
|
161
|
+
WMI/CIM 返回已受理、返回 PID 或请求成功,只证明后台启动请求被接受,不证明 supervisor 或
|
|
162
|
+
Runtime 已执行。若 supervisor 日志为空且 control channel 超时,先归类为 Windows 后台启动链路
|
|
163
|
+
的待确认问题;不要直接改 PATH、切换 Node、修改游戏代码,或把问题归因于 Runtime 文件缺失。
|
|
164
|
+
Issue/反馈中附上上述脱敏证据,让后续处理基于实际环境,而不是把某一次 Windows 兼容性问题写死
|
|
165
|
+
成所有项目的结论。
|
|
166
|
+
|
|
148
167
|
Process launch and clean logs do not prove gameplay or visual correctness. Do not promise
|
|
149
168
|
screenshots, input automation or cloud/server emulation; these are not supported.
|
|
150
169
|
|
|
@@ -466,7 +485,7 @@ request/correlation ID, reproduction steps, visible Maker tools, client version,
|
|
|
466
485
|
Do not include the complete conversation. Send that JSON through stdin, never argv, while running:
|
|
467
486
|
|
|
468
487
|
```text
|
|
469
|
-
npx -y --package @taptap/maker@0.0.34-beta.
|
|
488
|
+
npx -y --package @taptap/maker@0.0.34-beta.6 taptap-maker mcp report --ide <client> --target-dir <project> --context-stdin --consent --json
|
|
470
489
|
```
|
|
471
490
|
|
|
472
491
|
Prefer the active client's exact Maker MCP `command` plus ordered `args`, then append the `mcp
|