@taptap/maker 0.0.4 → 0.0.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 +5 -3
- package/dist/maker.js +20 -16
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@ TapTap Maker local development CLI and MCP server.
|
|
|
5
5
|
## Usage
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npx -y
|
|
8
|
+
npx -y @taptap/maker init
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
Common commands:
|
|
@@ -15,13 +15,15 @@ taptap-maker init
|
|
|
15
15
|
taptap-maker doctor
|
|
16
16
|
taptap-maker apps --json
|
|
17
17
|
taptap-maker pat set
|
|
18
|
-
taptap-maker
|
|
18
|
+
taptap-maker install --ide codex,cursor,claude
|
|
19
19
|
taptap-maker mcp verify
|
|
20
20
|
taptap-maker dev-kit update
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
+
`taptap-maker install` is a shortcut alias for `taptap-maker mcp install`.
|
|
24
|
+
|
|
23
25
|
This package contains only the Maker CLI/MCP bundle and Maker workflow skills.
|
|
24
26
|
It does not include the legacy TapTap Open API MCP server, proxy, native signer,
|
|
25
27
|
or OpenClaw plugin package contents.
|
|
26
28
|
|
|
27
|
-
Version: 0.0.
|
|
29
|
+
Version: 0.0.6
|
package/dist/maker.js
CHANGED
|
@@ -29552,7 +29552,7 @@ async function cloneMakerProject(options) {
|
|
|
29552
29552
|
};
|
|
29553
29553
|
}
|
|
29554
29554
|
async function pushMakerProject(options) {
|
|
29555
|
-
var _a3, _b, _c, _d, _e, _f, _g, _h, _i
|
|
29555
|
+
var _a3, _b, _c, _d, _e, _f, _g, _h, _i;
|
|
29556
29556
|
ensureGitAvailable();
|
|
29557
29557
|
(_a3 = options.onProgress) == null ? void 0 : _a3.call(options, {
|
|
29558
29558
|
progress: 0,
|
|
@@ -29621,13 +29621,10 @@ async function pushMakerProject(options) {
|
|
|
29621
29621
|
message: "Staging all local changes"
|
|
29622
29622
|
});
|
|
29623
29623
|
await runGit(["add", "-A"], { cwd });
|
|
29624
|
-
|
|
29625
|
-
if (statusBefore.trim() || options.allowEmpty) {
|
|
29626
|
-
const selectedFiles = ((_g = options.files) == null ? void 0 : _g.length) ? ["--", ...options.files] : [];
|
|
29627
|
-
const staged = await readGit(["diff", "--cached", "--name-only", ...selectedFiles], cwd);
|
|
29624
|
+
const staged = await readGit(["diff", "--cached", "--name-only"], cwd);
|
|
29628
29625
|
message = options.message || generateCommitMessage(statusBefore);
|
|
29629
29626
|
if (staged.trim() || options.allowEmpty) {
|
|
29630
|
-
(
|
|
29627
|
+
(_g = options.onProgress) == null ? void 0 : _g.call(options, {
|
|
29631
29628
|
progress: 45,
|
|
29632
29629
|
total: 100,
|
|
29633
29630
|
phase: "commit",
|
|
@@ -29642,8 +29639,7 @@ async function pushMakerProject(options) {
|
|
|
29642
29639
|
"commit",
|
|
29643
29640
|
...options.allowEmpty ? ["--allow-empty"] : [],
|
|
29644
29641
|
"-m",
|
|
29645
|
-
message
|
|
29646
|
-
...selectedFiles
|
|
29642
|
+
message
|
|
29647
29643
|
],
|
|
29648
29644
|
{ cwd }
|
|
29649
29645
|
);
|
|
@@ -29652,7 +29648,7 @@ async function pushMakerProject(options) {
|
|
|
29652
29648
|
}
|
|
29653
29649
|
}
|
|
29654
29650
|
try {
|
|
29655
|
-
(
|
|
29651
|
+
(_h = options.onProgress) == null ? void 0 : _h.call(options, {
|
|
29656
29652
|
progress: 65,
|
|
29657
29653
|
total: 100,
|
|
29658
29654
|
phase: "push",
|
|
@@ -29677,7 +29673,7 @@ async function pushMakerProject(options) {
|
|
|
29677
29673
|
transientRetries
|
|
29678
29674
|
};
|
|
29679
29675
|
}
|
|
29680
|
-
(
|
|
29676
|
+
(_i = options.onProgress) == null ? void 0 : _i.call(options, {
|
|
29681
29677
|
progress: 100,
|
|
29682
29678
|
total: 100,
|
|
29683
29679
|
phase: "done",
|
|
@@ -30848,7 +30844,7 @@ import fs6 from "node:fs";
|
|
|
30848
30844
|
import path7 from "node:path";
|
|
30849
30845
|
var DEFAULT_RUNTIME_LOG_SINCE_SECONDS = 600;
|
|
30850
30846
|
var MAX_RUNTIME_LOG_WINDOW_SECONDS = 3600;
|
|
30851
|
-
var DEFAULT_RUNTIME_LOG_TOPICS = ["
|
|
30847
|
+
var DEFAULT_RUNTIME_LOG_TOPICS = ["user_script", "server_user_script"];
|
|
30852
30848
|
var MERGED_RUNTIME_LOG_FILE = "runtime.log";
|
|
30853
30849
|
var RUNTIME_LOG_FILES_TO_RESET = [
|
|
30854
30850
|
MERGED_RUNTIME_LOG_FILE,
|
|
@@ -31217,7 +31213,7 @@ function compactRuntimeLogEntry(entry) {
|
|
|
31217
31213
|
}
|
|
31218
31214
|
|
|
31219
31215
|
// src/maker/server/mcp.ts
|
|
31220
|
-
var VERSION = true ? "0.0.
|
|
31216
|
+
var VERSION = true ? "0.0.6" : "dev";
|
|
31221
31217
|
var DEFAULT_BUILD_TIMEOUT_MS = 10 * 60 * 1e3;
|
|
31222
31218
|
var PREVIEW_REFRESH_TIMEOUT_MS = 15 * 1e3;
|
|
31223
31219
|
var WATCHER_STOP_TIMEOUT_MS = 1500;
|
|
@@ -31300,7 +31296,7 @@ var tools = [
|
|
|
31300
31296
|
files: {
|
|
31301
31297
|
type: "array",
|
|
31302
31298
|
items: { type: "string" },
|
|
31303
|
-
description: "Optional files to stage
|
|
31299
|
+
description: "Optional files to stage before build. Defaults to all local changes."
|
|
31304
31300
|
},
|
|
31305
31301
|
confirm_remote_build_without_submit: {
|
|
31306
31302
|
type: "boolean",
|
|
@@ -31311,7 +31307,7 @@ var tools = [
|
|
|
31311
31307
|
},
|
|
31312
31308
|
{
|
|
31313
31309
|
name: "maker_pull_runtime_logs",
|
|
31314
|
-
description: "Pull Maker runtime logs once from the remote Maker MCP query_runtime_logs tool and write
|
|
31310
|
+
description: "Pull Maker Lua runtime logs once from the remote Maker MCP query_runtime_logs tool and write user_script/server_user_script logs to .maker/logs/runtime/runtime.log. This is a one-shot fixed business flow for AI diagnostics; it does not start a watcher, does not keep a long-running MCP call open, and does not clear local logs.",
|
|
31315
31311
|
inputSchema: {
|
|
31316
31312
|
type: "object",
|
|
31317
31313
|
properties: {
|
|
@@ -32812,6 +32808,10 @@ async function runMakerCli(argv) {
|
|
|
32812
32808
|
await runPatSet(parsed, ctx);
|
|
32813
32809
|
return;
|
|
32814
32810
|
}
|
|
32811
|
+
if (command === "install") {
|
|
32812
|
+
await runMcpInstall(parsed, ctx);
|
|
32813
|
+
return;
|
|
32814
|
+
}
|
|
32815
32815
|
if (command === "mcp" && subcommand === "install") {
|
|
32816
32816
|
await runMcpInstall(parsed, ctx);
|
|
32817
32817
|
return;
|
|
@@ -33195,7 +33195,7 @@ async function runLogsWatch(parsed, ctx) {
|
|
|
33195
33195
|
...replacedWatcher,
|
|
33196
33196
|
reset: booleanOption(parsed, "reset"),
|
|
33197
33197
|
interval_ms: intervalMs,
|
|
33198
|
-
topics: ["
|
|
33198
|
+
topics: ["user_script", "server_user_script"]
|
|
33199
33199
|
});
|
|
33200
33200
|
try {
|
|
33201
33201
|
const result = await watchRuntimeLogs({
|
|
@@ -33810,7 +33810,7 @@ function mcpVerifyModeOption(parsed) {
|
|
|
33810
33810
|
throw new Error("Invalid mcp verify --mode. Use npx or self.");
|
|
33811
33811
|
}
|
|
33812
33812
|
function parseIdeList(value) {
|
|
33813
|
-
return value.split(
|
|
33813
|
+
return value.split(/[\s,]+/).map((item) => item.trim().toLowerCase()).filter(Boolean);
|
|
33814
33814
|
}
|
|
33815
33815
|
function mask(value) {
|
|
33816
33816
|
if (value.length <= 12) {
|
|
@@ -33846,6 +33846,8 @@ function printHelp() {
|
|
|
33846
33846
|
" # --pat warns: PAT appears in ps/history",
|
|
33847
33847
|
" taptap-maker pat set [--pat-stdin] [--json]",
|
|
33848
33848
|
" taptap-maker pat set [PAT|--pat PAT] [--json] # warns: PAT appears in ps/history",
|
|
33849
|
+
" taptap-maker install [--ide codex,cursor,claude] [--env rnd|production]",
|
|
33850
|
+
" [--json] # alias for mcp install",
|
|
33849
33851
|
" taptap-maker mcp install [--ide codex,cursor,claude] [--env rnd|production]",
|
|
33850
33852
|
" [--json]",
|
|
33851
33853
|
" taptap-maker mcp verify [--mode npx|self] [--json]",
|
|
@@ -36492,6 +36494,8 @@ function printHelp2() {
|
|
|
36492
36494
|
" # --pat warns: PAT appears in ps/history",
|
|
36493
36495
|
" taptap-maker pat set [--pat-stdin] [--json]",
|
|
36494
36496
|
" taptap-maker pat set [PAT|--pat PAT] [--json] # warns: PAT appears in ps/history",
|
|
36497
|
+
" taptap-maker install [--ide codex,cursor,claude] [--env rnd|production]",
|
|
36498
|
+
" [--json] # alias for mcp install",
|
|
36495
36499
|
" taptap-maker mcp install [--ide codex,cursor,claude] [--env rnd|production]",
|
|
36496
36500
|
" [--json]",
|
|
36497
36501
|
" taptap-maker mcp verify [--mode npx|self] [--json]",
|