@taptap/maker 0.0.30-beta.3 → 0.0.30
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.30
|
|
22
|
+
npx -y --package @taptap/maker@0.0.30 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.30
|
|
55
|
+
before running `npx -y --package @taptap/maker@0.0.30 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.30
|
|
61
|
+
Version: 0.0.30
|
package/dist/maker.js
CHANGED
|
@@ -36681,7 +36681,7 @@ function createMakerAgentsPolicyBody() {
|
|
|
36681
36681
|
" `mcp report --ide <client> --target-dir <project> --context-stdin --consent --json`.",
|
|
36682
36682
|
"- This preserves the configured package version and the absolute Windows node.exe/npm-cli.js.",
|
|
36683
36683
|
"- Only with a known exact installed version, fallback to",
|
|
36684
|
-
" `npx -y --package @taptap/maker@0.0.30
|
|
36684
|
+
" `npx -y --package @taptap/maker@0.0.30 taptap-maker mcp report ...`.",
|
|
36685
36685
|
"- Never use an unversioned npm package, or assume `taptap-maker`/`npx` is globally available.",
|
|
36686
36686
|
"- Never include the complete conversation, project source, other MCP server entries, PAT/token",
|
|
36687
36687
|
" values, or full environment variables. Normalize the user home path to `~`.",
|
|
@@ -41369,7 +41369,7 @@ import { randomUUID as randomUUID2 } from "node:crypto";
|
|
|
41369
41369
|
// src/maker/server/diagnosticRedaction.ts
|
|
41370
41370
|
function isSensitiveDiagnosticKey(key) {
|
|
41371
41371
|
const normalized = key.replace(/[-\s]/gu, "_").toLowerCase();
|
|
41372
|
-
return /(?:^|_)(?:authorization|cookie|password|passwd|passphrase|pat|token|secret)$/u.test(
|
|
41372
|
+
return /(?:^|_)(?:authorization|cookie|password|passwd|passphrase|pat|token|secret|signature|sig|credential|credentials)$/u.test(
|
|
41373
41373
|
normalized
|
|
41374
41374
|
) || /(?:^|_)(?:access|refresh|id|api|auth|bearer|personal_access)?_?token$/u.test(normalized) || /(?:^|_)(?:client|app|api|mac)?_?secret$/u.test(normalized) || /(?:^|_)(?:api|auth|mac|private)?_?key$/u.test(normalized) || /(?:^|_)pat$/u.test(normalized);
|
|
41375
41375
|
}
|
|
@@ -41411,10 +41411,10 @@ function sanitizeDiagnosticText(value) {
|
|
|
41411
41411
|
} catch {
|
|
41412
41412
|
}
|
|
41413
41413
|
return value.replace(/\b(authorization|cookie)\b\s*:\s*[^\r\n]*/giu, "$1: <redacted>").replace(
|
|
41414
|
-
/(^|[\s,;])(--(?:[a-z0-9]+[-_])*(?:pat|token|secret|authorization|cookie|password|passwd|passphrase|mac[-_]?key|api[-_]?key|auth[-_]?key|private[-_]?key))\s+(?:"[^"]*"|'[^']*'|[^\s
|
|
41414
|
+
/(^|[\s,;])(--(?:[a-z0-9]+[-_])*(?:pat|token|secret|signature|sig|credential|credentials|authorization|cookie|password|passwd|passphrase|mac[-_]?key|api[-_]?key|auth[-_]?key|private[-_]?key))\s+(?:"[^"]*"|'[^']*'|(?:(?![&,;][A-Za-z][A-Za-z0-9_.-]*\s*[:=])[^\s])+)/gimu,
|
|
41415
41415
|
"$1$2 <redacted>"
|
|
41416
41416
|
).replace(
|
|
41417
|
-
/\b((?:[A-Za-z][A-Za-z0-9_-]*[_-])?(?:authorization|cookie|password|passwd|passphrase|pat|token|secret|(?:api|auth|mac|private)[_-]?key))\b\s*[:=]\s*(?:"[^"]*"|'[^']*'|[^\s
|
|
41417
|
+
/\b((?:[A-Za-z][A-Za-z0-9_-]*[_-])?(?:authorization|cookie|password|passwd|passphrase|pat|token|secret|signature|sig|credential|credentials|(?:api|auth|mac|private)[_-]?key))\b\s*[:=]\s*(?:"[^"]*"|'[^']*'|(?:(?![&,;][A-Za-z][A-Za-z0-9_.-]*\s*[:=])[^\s])+)/giu,
|
|
41418
41418
|
"$1=<redacted>"
|
|
41419
41419
|
).replace(/\bBearer\s+[A-Za-z0-9._~+/=-]{16,}(?=$|[\s,;'"()\x5B\x5D{}])/giu, "Bearer <redacted>").replace(/\beyJ[A-Za-z0-9_-]+(?:\.[A-Za-z0-9_-]+){2}\b/gu, "<redacted>");
|
|
41420
41420
|
}
|
|
@@ -44352,7 +44352,7 @@ function applyDefaults(config2) {
|
|
|
44352
44352
|
var MAKER_MCP_TRACKING_ACTION = "tapmaker_mcp_call";
|
|
44353
44353
|
var MAKER_MCP_TRACKING_SOURCE = "local_mcp";
|
|
44354
44354
|
var MAKER_MCP_TRACKING_TIMEOUT_MS = 1500;
|
|
44355
|
-
var MAKER_MCP_VERSION = "0.0.30
|
|
44355
|
+
var MAKER_MCP_VERSION = "0.0.30".trim() ? "0.0.30".trim() : "dev";
|
|
44356
44356
|
var TRACKING_ERROR_MAX_LENGTH = 500;
|
|
44357
44357
|
function buildMakerMcpTrackingPayload(event) {
|
|
44358
44358
|
var _a3, _b, _c;
|
|
@@ -44665,7 +44665,7 @@ function createMakerRemoteProxyManager(options = {}) {
|
|
|
44665
44665
|
}
|
|
44666
44666
|
|
|
44667
44667
|
// src/maker/server/mcp.ts
|
|
44668
|
-
var VERSION = true ? "0.0.30
|
|
44668
|
+
var VERSION = true ? "0.0.30" : "dev";
|
|
44669
44669
|
var DEFAULT_BUILD_TIMEOUT_MS = 10 * 60 * 1e3;
|
|
44670
44670
|
var DEFAULT_PROXY_RETRY_ATTEMPTS = 5;
|
|
44671
44671
|
var DEFAULT_PROXY_RETRY_DELAY_MS = 30 * 1e3;
|
|
@@ -48730,16 +48730,16 @@ function sanitizeCommandArguments(args) {
|
|
|
48730
48730
|
});
|
|
48731
48731
|
}
|
|
48732
48732
|
function isSensitiveCliFlag(value) {
|
|
48733
|
-
return /^--(?:[a-z0-9]+[-_])*(?:pat|token|secret|authorization|cookie|password|passwd|passphrase|mac[-_]?key|api[-_]?key|auth[-_]?key|private[-_]?key)$/iu.test(
|
|
48733
|
+
return /^--(?:[a-z0-9]+[-_])*(?:pat|token|secret|signature|sig|credential|credentials|authorization|cookie|password|passwd|passphrase|mac[-_]?key|api[-_]?key|auth[-_]?key|private[-_]?key)$/iu.test(
|
|
48734
48734
|
value
|
|
48735
48735
|
);
|
|
48736
48736
|
}
|
|
48737
48737
|
function redactReportText(value) {
|
|
48738
48738
|
return value.replace(
|
|
48739
|
-
/(^|[\s,;])(--(?:[a-z0-9]+[-_])*(?:pat|token|secret|authorization|cookie|password|passwd|passphrase|mac[-_]?key|api[-_]?key|auth[-_]?key|private[-_]?key))\s+(?:"[^"]*"|'[^']*'|[^\s
|
|
48739
|
+
/(^|[\s,;])(--(?:[a-z0-9]+[-_])*(?:pat|token|secret|signature|sig|credential|credentials|authorization|cookie|password|passwd|passphrase|mac[-_]?key|api[-_]?key|auth[-_]?key|private[-_]?key))\s+(?:"[^"]*"|'[^']*'|(?:(?![&,;][A-Za-z][A-Za-z0-9_.-]*\s*[:=])[^\s])+)/gimu,
|
|
48740
48740
|
"$1$2 <redacted>"
|
|
48741
48741
|
).replace(
|
|
48742
|
-
/(--(?:[a-z0-9]+[-_])*(?:pat|token|secret|authorization|cookie|password|passwd|passphrase|mac[-_]?key|api[-_]?key|auth[-_]?key|private[-_]?key)=)([^\s]+)/giu,
|
|
48742
|
+
/(--(?:[a-z0-9]+[-_])*(?:pat|token|secret|signature|sig|credential|credentials|authorization|cookie|password|passwd|passphrase|mac[-_]?key|api[-_]?key|auth[-_]?key|private[-_]?key)=)([^\s]+)/giu,
|
|
48743
48743
|
"$1<redacted>"
|
|
48744
48744
|
).replace(/\b([A-Za-z][A-Za-z0-9+.-]*:\/\/)([^@\s/]+)@/gu, "$1<redacted>@").replace(/\bgithub_pat_[A-Za-z0-9_]{20,}\b/gu, "<redacted>").replace(/\bgh[pousr]_[A-Za-z0-9]{20,}\b/gu, "<redacted>");
|
|
48745
48745
|
}
|
|
@@ -48751,7 +48751,7 @@ function stripControlCharacters(value) {
|
|
|
48751
48751
|
}
|
|
48752
48752
|
|
|
48753
48753
|
// src/maker/cli/commands.ts
|
|
48754
|
-
var VERSION2 = true ? "0.0.30
|
|
48754
|
+
var VERSION2 = true ? "0.0.30" : "dev";
|
|
48755
48755
|
var DEFAULT_MCP_NAME = "taptap-maker";
|
|
48756
48756
|
var MAKER_NPM_PACKAGE = "@taptap/maker";
|
|
48757
48757
|
var TWO_PART_COMMANDS = /* @__PURE__ */ new Set(["pat", "mcp", "dev-kit", "logs", "python", "lua-lsp", "agents"]);
|
|
@@ -141,7 +141,7 @@ macOS/Linux:
|
|
|
141
141
|
|
|
142
142
|
```text
|
|
143
143
|
command: npx
|
|
144
|
-
args: ["-y", "-p", "@taptap/maker@0.0.30
|
|
144
|
+
args: ["-y", "-p", "@taptap/maker@0.0.30", "taptap-maker"]
|
|
145
145
|
```
|
|
146
146
|
|
|
147
147
|
上面的 macOS/Linux npx 形式只是显式兼容模式;默认同样是绝对 Node + 版本化 self runtime。
|
|
@@ -246,7 +246,7 @@ stderr、尝试的编码和解码错误,不能把解码异常直接当成 Make
|
|
|
246
246
|
例如,配置使用 Windows 绝对 Node/npm CLI 时,按相同顺序复现:
|
|
247
247
|
|
|
248
248
|
```bat
|
|
249
|
-
"<绝对 node.exe>" "<绝对 npm-cli.js>" exec --yes --package @taptap/maker@0.0.30
|
|
249
|
+
"<绝对 node.exe>" "<绝对 npm-cli.js>" exec --yes --package @taptap/maker@0.0.30 -- taptap-maker
|
|
250
250
|
```
|
|
251
251
|
|
|
252
252
|
然后用该 CLI 执行 `mcp verify --json`;不要只用 `help` 代替 MCP 协议握手。
|
|
@@ -254,7 +254,7 @@ stderr、尝试的编码和解码错误,不能把解码异常直接当成 Make
|
|
|
254
254
|
配置使用 macOS/Linux 标准 argv 时:
|
|
255
255
|
|
|
256
256
|
```bash
|
|
257
|
-
npx -y -p @taptap/maker@0.0.30
|
|
257
|
+
npx -y -p @taptap/maker@0.0.30 taptap-maker help
|
|
258
258
|
```
|
|
259
259
|
|
|
260
260
|
如果终端成功而客户端失败,应继续排查客户端读取的配置、信任状态、PATH、cwd 和子进程启动方式,
|
|
@@ -277,7 +277,7 @@ npx -y -p @taptap/maker@0.0.30-beta.3 taptap-maker help
|
|
|
277
277
|
作为可选恢复方式,并先备份实际生效的配置:
|
|
278
278
|
|
|
279
279
|
```bash
|
|
280
|
-
npx -y -p @taptap/maker@0.0.30
|
|
280
|
+
npx -y -p @taptap/maker@0.0.30 taptap-maker mcp install --launcher self
|
|
281
281
|
```
|
|
282
282
|
|
|
283
283
|
Windows 如无法从 PATH 运行上述恢复命令,应使用当前可用 npm 的绝对路径启动这一次 CLI;安装器
|
|
@@ -309,7 +309,7 @@ Windows 如无法从 PATH 运行上述恢复命令,应使用当前可用 npm
|
|
|
309
309
|
指纹打扰。用户明确同意后无需第二次确认,AI 将已脱敏的当前会话错误 JSON 通过 stdin 传入:
|
|
310
310
|
|
|
311
311
|
```text
|
|
312
|
-
npx -y --package @taptap/maker@0.0.30
|
|
312
|
+
npx -y --package @taptap/maker@0.0.30 taptap-maker mcp report --ide <client> --target-dir <project> --context-stdin --consent --json
|
|
313
313
|
```
|
|
314
314
|
|
|
315
315
|
优先原样复用当前客户端 Maker MCP 配置中的 command 和有序 args,再追加上述 `mcp report`
|
package/package.json
CHANGED
|
@@ -383,7 +383,7 @@ request/correlation ID, reproduction steps, visible Maker tools, client version,
|
|
|
383
383
|
Do not include the complete conversation. Send that JSON through stdin, never argv, while running:
|
|
384
384
|
|
|
385
385
|
```text
|
|
386
|
-
npx -y --package @taptap/maker@0.0.30
|
|
386
|
+
npx -y --package @taptap/maker@0.0.30 taptap-maker mcp report --ide <client> --target-dir <project> --context-stdin --consent --json
|
|
387
387
|
```
|
|
388
388
|
|
|
389
389
|
Prefer the active client's exact Maker MCP `command` plus ordered `args`, then append the `mcp
|