@taptap/maker 0.0.37 → 0.0.38
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 +5410 -4661
- package/docs/MAKER_MCP_CONNECTION_TROUBLESHOOTING.md +5 -5
- package/package.json +1 -1
- package/skills/taptap-maker-local/SKILL.md +60 -51
|
@@ -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.38", "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.38 -- 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.38 taptap-maker help
|
|
277
277
|
```
|
|
278
278
|
|
|
279
279
|
如果终端成功而客户端失败,应继续排查客户端读取的配置、信任状态、PATH、cwd 和子进程启动方式,
|
|
@@ -296,7 +296,7 @@ npx -y -p @taptap/maker@0.0.37 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.38 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.38 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
|
@@ -88,8 +88,8 @@ active plugin's marketplace instead of installing or upgrading a standalone Make
|
|
|
88
88
|
| status / is Maker ready | Read `maker://status`, call `maker_status_lite` if resources are unavailable, then follow `AGENTS.md` and `Maker remote sync` hints if present. |
|
|
89
89
|
| upgrade Maker MCP / old project policy | Follow the active distribution's update skill. Plugin users update through the active plugin's marketplace; standalone MCP users run `taptap-maker upgrade` for the current project only. |
|
|
90
90
|
| submit / commit / push to Maker | Inspect local Git state, summarize changed files, then call `maker_build_current_directory` unless blocked. |
|
|
91
|
-
| pull / update from remote |
|
|
92
|
-
| conflict / merge failed |
|
|
91
|
+
| pull / update from remote | Run `taptap-maker git sync --target-dir <PROJECT_DIR>`. It fetches, then fast-forwards or merges `origin/main`; on conflicts it aborts the merge and lists `conflictFiles`. |
|
|
92
|
+
| conflict / merge failed | Read `conflictFiles` from the sync result. Compare each local file with `origin/main`, explain both sides, propose a resolution, and ask before editing. Do not look for conflict markers. |
|
|
93
93
|
| build / submit / push / explicitly remote Web preview | Use `maker_build_current_directory`; preserve its original authorization and remote log watcher. |
|
|
94
94
|
| local preview / refresh preview / stop preview | Follow Local Window Preview below; use CLI with explicit project path, never remote build. |
|
|
95
95
|
| finish a related code-edit batch | Query real local preview status; automatically refresh only a live session, then collect evidence. |
|
|
@@ -386,9 +386,27 @@ Maker project submit/build work. Do not run generic Git commit/push helpers as a
|
|
|
386
386
|
the Maker MCP tool.
|
|
387
387
|
|
|
388
388
|
`maker_build_current_directory` owns the Maker safety gate. It checks remote sync before creating a
|
|
389
|
-
commit. When local `main` is only behind Maker remote, it
|
|
390
|
-
|
|
391
|
-
|
|
389
|
+
commit. When local `main` is only behind Maker remote, it fast-forwards before committing. When
|
|
390
|
+
local and remote both have new commits, it merges `origin/main` after the local commit. When the
|
|
391
|
+
push is rejected because the Maker cloud workspace has uncommitted changes (`Working directory has
|
|
392
|
+
unstaged changes` / `Could not update working tree to new HEAD`), it commits the cloud changes
|
|
393
|
+
through the cloud Git API, merges them, and pushes once more. Merge conflicts are aborted and
|
|
394
|
+
reported as `merge_conflict` with `conflict_files`; resolve them, commit, and retry. It stops when
|
|
395
|
+
the branch is not `main`, remote sync cannot be verified, or fast-forward would overwrite local
|
|
396
|
+
changes.
|
|
397
|
+
|
|
398
|
+
Maker Git CLI (all commands print JSON; `--target-dir` defaults to the current directory):
|
|
399
|
+
|
|
400
|
+
- `taptap-maker git status` - local state and ahead/behind against `origin/main` (fetches).
|
|
401
|
+
- `taptap-maker git sync` - fetch, then fast-forward or merge `origin/main`; aborts on conflicts.
|
|
402
|
+
- `taptap-maker git push [--message MSG]` - the same sync/commit/push/cloud-repair flow as the
|
|
403
|
+
build tool, without the remote build.
|
|
404
|
+
- `taptap-maker git cloud-status` / `cloud-diff [--path PATH] [--staged]` - read the Maker cloud
|
|
405
|
+
workspace state and diff. Untracked cloud files are not in the diff.
|
|
406
|
+
- `taptap-maker git cloud-commit --message MSG (--all | PATH...)` - commit cloud workspace changes
|
|
407
|
+
(project owner only). Run it only when the user explicitly asks; the web agent may still be
|
|
408
|
+
editing those files. The automatic cloud commit inside push needs no extra confirmation. Never retry it after a timeout or `outcomeUnknown`; run `cloud-status`
|
|
409
|
+
first, because the commit may already have succeeded.
|
|
392
410
|
|
|
393
411
|
The root `.gitignore` is a required Maker project file. If it changes after binding or dev-kit
|
|
394
412
|
updates, include it with the game changes and mention it in the submit summary. Do not omit it from
|
|
@@ -643,7 +661,7 @@ request/correlation ID, reproduction steps, visible Maker tools, client version,
|
|
|
643
661
|
Do not include the complete conversation. Send that JSON through stdin, never argv, while running:
|
|
644
662
|
|
|
645
663
|
```text
|
|
646
|
-
npx -y --package @taptap/maker@0.0.
|
|
664
|
+
npx -y --package @taptap/maker@0.0.38 taptap-maker mcp report --ide <client> --target-dir <project> --context-stdin --consent --json
|
|
647
665
|
```
|
|
648
666
|
|
|
649
667
|
Prefer the active client's exact Maker MCP `command` plus ordered `args`, then append the `mcp
|
|
@@ -941,13 +959,12 @@ before routine work; use `maker_status_lite` with `detail: true` before explicit
|
|
|
941
959
|
- For an explicit submit/build request, call `maker_build_current_directory` directly when status is
|
|
942
960
|
`needs_pull`. The tool attempts `git merge --ff-only origin/main` before creating the local commit.
|
|
943
961
|
If Git refuses because remote files overlap local edits, the tool stops and preserves the workspace.
|
|
944
|
-
- `needs_pull
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
submit
|
|
949
|
-
|
|
950
|
-
Maker remote changes.
|
|
962
|
+
- `needs_pull`: run `taptap-maker git sync --target-dir <PROJECT_DIR>` before editing. Local
|
|
963
|
+
uncommitted edits are kept; if remote changes touch the same files, Git refuses and keeps the
|
|
964
|
+
local files, so commit the local edits first and sync again.
|
|
965
|
+
- `diverged`: run `taptap-maker git sync`, or call `maker_build_current_directory` directly for a
|
|
966
|
+
submit/build request; both merge `origin/main`. On conflicts the merge is aborted and the
|
|
967
|
+
conflict files are listed.
|
|
951
968
|
- `branch_not_allowed`: Maker only accepts `main`; switch/migrate local commits to `main` before
|
|
952
969
|
build or submit.
|
|
953
970
|
- `remote_unavailable`: follow the failure classification and retry later only for temporary
|
|
@@ -987,9 +1004,11 @@ Use `maker_build_current_directory` for this path. Do not use generic Git task-i
|
|
|
987
1004
|
branch-creation, or PR rules inside Maker project repositories.
|
|
988
1005
|
|
|
989
1006
|
`maker_build_current_directory` owns the safety gate before commit/push. When local `main` is only
|
|
990
|
-
behind Maker remote, it automatically fast-forwards before creating a local commit.
|
|
991
|
-
|
|
992
|
-
|
|
1007
|
+
behind Maker remote, it automatically fast-forwards before creating a local commit. When history is
|
|
1008
|
+
diverged, it merges `origin/main` after the local commit. When the Maker cloud workspace blocks the
|
|
1009
|
+
push, it commits the cloud changes, merges them and pushes once more. It stops when the branch is
|
|
1010
|
+
not `main`, remote sync cannot be verified, fast-forward would overwrite local changes, or a merge
|
|
1011
|
+
conflicts (the merge is aborted). Do not work around this by creating a new branch,
|
|
993
1012
|
requesting a task id, running generic Git commit/push, or opening a PR/MR.
|
|
994
1013
|
|
|
995
1014
|
If `.gitignore` changed after Maker binding or dev-kit update, include it in the submit summary.
|
|
@@ -1037,7 +1056,9 @@ MCP builds the committed remote version only and does not auto-open Maker pages.
|
|
|
1037
1056
|
|
|
1038
1057
|
For push failures, use the returned `classification`, `retryable`, `retry_reason`, and
|
|
1039
1058
|
`retry_attempts` fields. Temporary 5xx/network/timeout failures may be retried with the Maker build
|
|
1040
|
-
tool; `remote_rejected` means
|
|
1059
|
+
tool; `remote_rejected` means run `taptap-maker git sync` and retry; `cloud_workspace_blocked` means
|
|
1060
|
+
the automatic cloud commit did not finish (follow `next_action`); `merge_conflict` means resolve
|
|
1061
|
+
`conflict_files`, commit, and retry; `auth` means refreshing PAT;
|
|
1041
1062
|
`branch_not_allowed` means Maker remote only accepts `main`; `forbidden_path` means the remote
|
|
1042
1063
|
pre-receive hook rejected one or more paths/directories and the forbidden pattern from stderr must
|
|
1043
1064
|
be removed from the unpushed commit before retrying.
|
|
@@ -1047,8 +1068,11 @@ When a Maker tool output contains `push_recovery`, follow it exactly:
|
|
|
1047
1068
|
- Tell the user the local commit is preserved but not yet on Maker remote.
|
|
1048
1069
|
- Do not ask for permission to run a generic `git push`.
|
|
1049
1070
|
- Retry with `maker_build_current_directory` for submit and build requests.
|
|
1050
|
-
- If the failure is `remote_rejected`,
|
|
1051
|
-
|
|
1071
|
+
- If the failure is `remote_rejected`, run `taptap-maker git sync`, then retry; do not create a new
|
|
1072
|
+
branch or PR.
|
|
1073
|
+
- If the failure is `merge_conflict`, the merge was already aborted. Explain both sides of each
|
|
1074
|
+
`conflict_files` entry, ask before editing, commit the resolution, then retry.
|
|
1075
|
+
- If the failure is `branch_not_allowed`, do not sync or merge. Tell the user Maker only accepts
|
|
1052
1076
|
`main`, switch back to `main`, cherry-pick the preserved local commit there, then retry.
|
|
1053
1077
|
- If the failure is `forbidden_path`, do not refresh PAT. Read the forbidden pattern in stderr,
|
|
1054
1078
|
remove those paths from the unpushed commit while keeping local files, then retry after
|
|
@@ -1056,42 +1080,27 @@ When a Maker tool output contains `push_recovery`, follow it exactly:
|
|
|
1056
1080
|
|
|
1057
1081
|
## Pull And Conflict Handling
|
|
1058
1082
|
|
|
1059
|
-
|
|
1083
|
+
To pull, run `taptap-maker git sync --target-dir <PROJECT_DIR>`. It fetches, then fast-forwards or
|
|
1084
|
+
merges `origin/main`, and keeps local uncommitted edits. If Git refuses because remote changes touch
|
|
1085
|
+
locally edited files, commit the local edits first and sync again. Do not stash or rebase.
|
|
1060
1086
|
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
- submit current local changes first
|
|
1065
|
-
- stash local changes, pull, then restore
|
|
1066
|
-
- cancel and let the user review local files
|
|
1087
|
+
If sync returns `outcome: "conflict"`, the merge was already aborted. The working tree has no
|
|
1088
|
+
conflict markers and `git status` will not show `UU`, `AA`, `DU`, or `UD`. Do not look for those
|
|
1089
|
+
states.
|
|
1067
1090
|
|
|
1068
|
-
|
|
1091
|
+
1. Use `conflictFiles` from the sync JSON. Do not invent paths that are not listed.
|
|
1092
|
+
2. For each path, compare the local file with `origin/main` (`git show origin/main:<path>`). The
|
|
1093
|
+
local file is unchanged because the merge was aborted.
|
|
1094
|
+
3. Explain both sides and why they conflict, in plain language.
|
|
1095
|
+
4. Propose a resolution that keeps the needed parts of both sides.
|
|
1096
|
+
5. Ask for confirmation before editing files.
|
|
1097
|
+
6. After the user confirms, edit the files, commit the resolution, then run sync again.
|
|
1069
1098
|
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
4. Inspect conflict markers in each file.
|
|
1074
|
-
5. Explain the competing versions in plain language.
|
|
1075
|
-
6. Propose a resolution strategy.
|
|
1076
|
-
7. Ask for confirmation before editing files.
|
|
1099
|
+
If sync returns `outcome: "blocked"` because the merge could not be aborted, stop. Inspect
|
|
1100
|
+
`git status` and ask the user; do not sync again and do not treat leftover markers as a normal
|
|
1101
|
+
conflict result.
|
|
1077
1102
|
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
```text
|
|
1081
|
-
<<<<<<<
|
|
1082
|
-
local version
|
|
1083
|
-
=======
|
|
1084
|
-
remote version
|
|
1085
|
-
>>>>>>>
|
|
1086
|
-
```
|
|
1087
|
-
|
|
1088
|
-
Do not hide unresolved conflicts. After editing, run:
|
|
1089
|
-
|
|
1090
|
-
```bash
|
|
1091
|
-
git status --short
|
|
1092
|
-
```
|
|
1093
|
-
|
|
1094
|
-
Only submit after conflicts are fully resolved.
|
|
1103
|
+
Do not hide unresolved conflicts. Only submit after the listed files are resolved and committed.
|
|
1095
1104
|
|
|
1096
1105
|
## User Communication
|
|
1097
1106
|
|