@taptap/maker 0.0.31-beta.1 → 0.0.31

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.31-beta.1 taptap-maker mcp report --ide <client> --target-dir <project> --context-stdin --consent --json
22
+ npx -y --package @taptap/maker@0.0.31 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.31-beta.1 taptap-maker mcp report`. The command submits a sanitized GitHub Issue only with
55
+ before running `npx -y --package @taptap/maker@0.0.31 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.31-beta.1
61
+ Version: 0.0.31
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.31-beta.1
3
+ // TapTap Maker MCP version: 0.0.31
4
4
  import { createRequire } from 'node:module';
5
5
  const require = createRequire(import.meta.url);
6
6
  const __MAKER_BUNDLE_URL__ = import.meta.url;
@@ -36682,7 +36682,7 @@ function createMakerAgentsPolicyBody() {
36682
36682
  " `mcp report --ide <client> --target-dir <project> --context-stdin --consent --json`.",
36683
36683
  "- This preserves the configured package version and the absolute Windows node.exe/npm-cli.js.",
36684
36684
  "- Only with a known exact installed version, fallback to",
36685
- " `npx -y --package @taptap/maker@0.0.31-beta.1 taptap-maker mcp report ...`.",
36685
+ " `npx -y --package @taptap/maker@0.0.31 taptap-maker mcp report ...`.",
36686
36686
  "- Never use an unversioned npm package, or assume `taptap-maker`/`npx` is globally available.",
36687
36687
  "- Never include the complete conversation, project source, other MCP server entries, PAT/token",
36688
36688
  " values, or full environment variables. Normalize the user home path to `~`.",
@@ -39686,6 +39686,9 @@ import path11 from "node:path";
39686
39686
  import { fileURLToPath } from "node:url";
39687
39687
 
39688
39688
  // src/maker/pluginDistribution.ts
39689
+ function hasMakerPluginDistribution(distribution = process.env.TAPTAP_MAKER_DISTRIBUTION) {
39690
+ return Boolean(distribution == null ? void 0 : distribution.trim());
39691
+ }
39689
39692
  function resolveMakerPluginDistribution(distribution = process.env.TAPTAP_MAKER_DISTRIBUTION) {
39690
39693
  if (distribution === "codex_plugin") {
39691
39694
  return { id: distribution, client: "codex", displayName: "Codex" };
@@ -40275,6 +40278,9 @@ function decideMakerPackageUpdate(currentVersion, policy) {
40275
40278
  async function checkMakerPackageUpdate(options) {
40276
40279
  const now = options.now ?? /* @__PURE__ */ new Date();
40277
40280
  const currentVersion = options.currentVersion;
40281
+ if (hasMakerPluginDistribution()) {
40282
+ return buildPluginManagedStatus(currentVersion);
40283
+ }
40278
40284
  if (currentVersion === "dev") {
40279
40285
  return {
40280
40286
  status: "skipped",
@@ -40333,6 +40339,9 @@ async function checkMakerPackageUpdate(options) {
40333
40339
  async function getMakerPackageUpdateStatus(options) {
40334
40340
  var _a3, _b;
40335
40341
  const currentVersion = options.currentVersion;
40342
+ if (hasMakerPluginDistribution()) {
40343
+ return buildPluginManagedStatus(currentVersion);
40344
+ }
40336
40345
  if (currentVersion === "dev") {
40337
40346
  return {
40338
40347
  status: "skipped",
@@ -40384,6 +40393,9 @@ async function getMakerPackageUpdateStatus(options) {
40384
40393
  }
40385
40394
  var backgroundCheck;
40386
40395
  function startMakerPackageUpdateCheck(options) {
40396
+ if (hasMakerPluginDistribution()) {
40397
+ return;
40398
+ }
40387
40399
  const key = `${options.currentVersion}
40388
40400
  ${resolvePolicyUrl(options.policyUrl)}`;
40389
40401
  if ((backgroundCheck == null ? void 0 : backgroundCheck.key) === key) {
@@ -40417,7 +40429,7 @@ function formatMakerPackageUpdateStatus(status) {
40417
40429
  }
40418
40430
  if (status.blacklist_match) {
40419
40431
  lines.push(`- blacklist_match: ${status.blacklist_match}`);
40420
- } else if (status.status !== "skipped") {
40432
+ } else if (status.status !== "skipped" && status.status !== "managed_by_plugin") {
40421
40433
  lines.push("- blacklist_match: no");
40422
40434
  }
40423
40435
  if (status.checked_at) {
@@ -40446,6 +40458,13 @@ function formatMakerPackageUpdateStatus(status) {
40446
40458
  }
40447
40459
  return lines.join("\n");
40448
40460
  }
40461
+ function buildPluginManagedStatus(currentVersion) {
40462
+ return {
40463
+ status: "managed_by_plugin",
40464
+ current_version: currentVersion,
40465
+ restart_required: false
40466
+ };
40467
+ }
40449
40468
  function formatUnavailableNonBlockingError(previousError, backgroundRefresh) {
40450
40469
  if (backgroundRefresh) {
40451
40470
  return previousError ? `${previousError}; background retry started.` : "Maker package version check is running in the background.";
@@ -44400,7 +44419,7 @@ function applyDefaults(config2) {
44400
44419
  var MAKER_MCP_TRACKING_ACTION = "tapmaker_mcp_call";
44401
44420
  var MAKER_MCP_TRACKING_SOURCE = "local_mcp";
44402
44421
  var MAKER_MCP_TRACKING_TIMEOUT_MS = 1500;
44403
- var MAKER_MCP_VERSION = "0.0.31-beta.1".trim() ? "0.0.31-beta.1".trim() : "dev";
44422
+ var MAKER_MCP_VERSION = "0.0.31".trim() ? "0.0.31".trim() : "dev";
44404
44423
  var TRACKING_ERROR_MAX_LENGTH = 500;
44405
44424
  function buildMakerMcpTrackingPayload(event) {
44406
44425
  var _a3, _b, _c;
@@ -44713,7 +44732,7 @@ function createMakerRemoteProxyManager(options = {}) {
44713
44732
  }
44714
44733
 
44715
44734
  // src/maker/server/mcp.ts
44716
- var VERSION = true ? "0.0.31-beta.1" : "dev";
44735
+ var VERSION = true ? "0.0.31" : "dev";
44717
44736
  var DEFAULT_BUILD_TIMEOUT_MS = 10 * 60 * 1e3;
44718
44737
  var DEFAULT_PROXY_RETRY_ATTEMPTS = 5;
44719
44738
  var DEFAULT_PROXY_RETRY_DELAY_MS = 30 * 1e3;
@@ -45462,7 +45481,7 @@ async function formatStatus(options = {}) {
45462
45481
  `- status: ${packageUpdateStatus.status}`,
45463
45482
  pluginDistribution ? `- distribution: ${pluginDistribution.id}` : "",
45464
45483
  packageUpdateStatus.target_version ? `- target_version: ${packageUpdateStatus.target_version}` : "",
45465
- pluginDistribution ? `- next_action: ${formatMakerPluginUpdateAction(pluginDistribution)}` : packageUpdateStatus.next_action ? `- next_action: ${packageUpdateStatus.next_action}` : "",
45484
+ pluginDistribution && packageUpdateStatus.status !== "managed_by_plugin" ? `- next_action: ${formatMakerPluginUpdateAction(pluginDistribution)}` : packageUpdateStatus.next_action ? `- next_action: ${packageUpdateStatus.next_action}` : "",
45466
45485
  projectInitialization ? `- project_initialization: ${projectInitialization.status}` : "",
45467
45486
  projectHealth ? `- project_health: ${projectHealth.status}` : "",
45468
45487
  formatMakerClientRootsSummary(projectContext.roots),
@@ -45565,11 +45584,14 @@ function formatMakerPackageUpdateStatusForDistribution(status, distribution) {
45565
45584
  if (!pluginDistribution) {
45566
45585
  return formatted;
45567
45586
  }
45568
- return [
45587
+ const lines = [
45569
45588
  ...formatted.split("\n").filter((line) => !line.startsWith("- next_action:")),
45570
- `- distribution: ${pluginDistribution.id}`,
45571
- `- next_action: ${formatMakerPluginUpdateAction(pluginDistribution)}`
45572
- ].join("\n");
45589
+ `- distribution: ${pluginDistribution.id}`
45590
+ ];
45591
+ if (status.status !== "managed_by_plugin") {
45592
+ lines.push(`- next_action: ${formatMakerPluginUpdateAction(pluginDistribution)}`);
45593
+ }
45594
+ return lines.join("\n");
45573
45595
  }
45574
45596
  function formatAuthNextStep(options) {
45575
45597
  if (!options.hasTapAuth) {
@@ -49905,7 +49927,7 @@ function formatError3(error2) {
49905
49927
  }
49906
49928
 
49907
49929
  // src/maker/cli/commands.ts
49908
- var VERSION2 = true ? "0.0.31-beta.1" : "dev";
49930
+ var VERSION2 = true ? "0.0.31" : "dev";
49909
49931
  var DEFAULT_MCP_NAME = "taptap-maker";
49910
49932
  var MAKER_NPM_PACKAGE = "@taptap/maker";
49911
49933
  var TWO_PART_COMMANDS = /* @__PURE__ */ new Set([
@@ -141,7 +141,7 @@ macOS/Linux:
141
141
 
142
142
  ```text
143
143
  command: npx
144
- args: ["-y", "-p", "@taptap/maker@0.0.31-beta.1", "taptap-maker"]
144
+ args: ["-y", "-p", "@taptap/maker@0.0.31", "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.31-beta.1 -- taptap-maker
249
+ "<绝对 node.exe>" "<绝对 npm-cli.js>" exec --yes --package @taptap/maker@0.0.31 -- 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.31-beta.1 taptap-maker help
257
+ npx -y -p @taptap/maker@0.0.31 taptap-maker help
258
258
  ```
259
259
 
260
260
  如果终端成功而客户端失败,应继续排查客户端读取的配置、信任状态、PATH、cwd 和子进程启动方式,
@@ -277,7 +277,7 @@ npx -y -p @taptap/maker@0.0.31-beta.1 taptap-maker help
277
277
  作为可选恢复方式,并先备份实际生效的配置:
278
278
 
279
279
  ```bash
280
- npx -y -p @taptap/maker@0.0.31-beta.1 taptap-maker mcp install --launcher self
280
+ npx -y -p @taptap/maker@0.0.31 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.31-beta.1 taptap-maker mcp report --ide <client> --target-dir <project> --context-stdin --consent --json
312
+ npx -y --package @taptap/maker@0.0.31 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taptap/maker",
3
- "version": "0.0.31-beta.1",
3
+ "version": "0.0.31",
4
4
  "type": "module",
5
5
  "description": "TapTap Maker local development CLI and MCP server",
6
6
  "main": "dist/maker.js",
@@ -387,7 +387,7 @@ request/correlation ID, reproduction steps, visible Maker tools, client version,
387
387
  Do not include the complete conversation. Send that JSON through stdin, never argv, while running:
388
388
 
389
389
  ```text
390
- npx -y --package @taptap/maker@0.0.31-beta.1 taptap-maker mcp report --ide <client> --target-dir <project> --context-stdin --consent --json
390
+ npx -y --package @taptap/maker@0.0.31 taptap-maker mcp report --ide <client> --target-dir <project> --context-stdin --consent --json
391
391
  ```
392
392
 
393
393
  Prefer the active client's exact Maker MCP `command` plus ordered `args`, then append the `mcp