@taptap/maker 0.0.32-beta.3 → 0.0.33-beta.1

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.
@@ -160,7 +160,7 @@ macOS/Linux:
160
160
 
161
161
  ```text
162
162
  command: npx
163
- args: ["-y", "-p", "@taptap/maker@0.0.32-beta.3", "taptap-maker"]
163
+ args: ["-y", "-p", "@taptap/maker@0.0.33-beta.1", "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.32-beta.3 -- taptap-maker
268
+ "<绝对 node.exe>" "<绝对 npm-cli.js>" exec --yes --package @taptap/maker@0.0.33-beta.1 -- 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.32-beta.3 taptap-maker help
276
+ npx -y -p @taptap/maker@0.0.33-beta.1 taptap-maker help
277
277
  ```
278
278
 
279
279
  如果终端成功而客户端失败,应继续排查客户端读取的配置、信任状态、PATH、cwd 和子进程启动方式,
@@ -296,7 +296,7 @@ npx -y -p @taptap/maker@0.0.32-beta.3 taptap-maker help
296
296
  作为可选恢复方式,并先备份实际生效的配置:
297
297
 
298
298
  ```bash
299
- npx -y -p @taptap/maker@0.0.32-beta.3 taptap-maker mcp install --launcher self
299
+ npx -y -p @taptap/maker@0.0.33-beta.1 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.32-beta.3 taptap-maker mcp report --ide <client> --target-dir <project> --context-stdin --consent --json
331
+ npx -y --package @taptap/maker@0.0.33-beta.1 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taptap/maker",
3
- "version": "0.0.32-beta.3",
3
+ "version": "0.0.33-beta.1",
4
4
  "type": "module",
5
5
  "description": "TapTap Maker local development CLI and MCP server",
6
6
  "main": "dist/maker.js",
@@ -143,8 +143,9 @@ Maker project submit/build work. Do not run generic Git commit/push helpers as a
143
143
  the Maker MCP tool.
144
144
 
145
145
  `maker_build_current_directory` owns the Maker safety gate. It checks remote sync before creating a
146
- commit and stops when local `main` is behind remote, diverged, not on `main`, or remote sync cannot
147
- be verified.
146
+ commit. When local `main` is only behind Maker remote, it automatically fast-forwards before
147
+ committing. It stops when history is diverged, the branch is not `main`, remote sync cannot be
148
+ verified, or fast-forward would overwrite local changes.
148
149
 
149
150
  The root `.gitignore` is a required Maker project file. If it changes after binding or dev-kit
150
151
  updates, include it with the game changes and mention it in the submit summary. Do not omit it from
@@ -392,7 +393,7 @@ request/correlation ID, reproduction steps, visible Maker tools, client version,
392
393
  Do not include the complete conversation. Send that JSON through stdin, never argv, while running:
393
394
 
394
395
  ```text
395
- npx -y --package @taptap/maker@0.0.32-beta.3 taptap-maker mcp report --ide <client> --target-dir <project> --context-stdin --consent --json
396
+ npx -y --package @taptap/maker@0.0.33-beta.1 taptap-maker mcp report --ide <client> --target-dir <project> --context-stdin --consent --json
396
397
  ```
397
398
 
398
399
  Prefer the active client's exact Maker MCP `command` plus ordered `args`, then append the `mcp
@@ -687,6 +688,9 @@ before routine work; use `maker_status_lite` with `detail: true` before explicit
687
688
  already local-only. In detail mode, pass `skip_remote_sync: true` to avoid `git fetch origin` and
688
689
  AI dev kit latest-version network round trips.
689
690
  - `up_to_date`: continue development.
691
+ - For an explicit submit/build request, call `maker_build_current_directory` directly when status is
692
+ `needs_pull`. The tool attempts `git merge --ff-only origin/main` before creating the local commit.
693
+ If Git refuses because remote files overlap local edits, the tool stops and preserves the workspace.
690
694
  - `needs_pull` with `local_changes: no`: tell the user the workspace is clean and the local AI can
691
695
  run `git pull --ff-only origin main` before editing.
692
696
  - `needs_pull` with `local_changes: yes`: do not pull immediately. Explain that remote changes exist
@@ -732,9 +736,10 @@ commit + push + Maker build
732
736
  Use `maker_build_current_directory` for this path. Do not use generic Git task-id,
733
737
  branch-creation, or PR rules inside Maker project repositories.
734
738
 
735
- `maker_build_current_directory` owns the safety gate before commit/push. It checks Maker remote
736
- sync and stops before creating a local commit when local `main` is behind remote, diverged, not on
737
- `main`, or remote sync cannot be verified. Do not work around this by creating a new branch,
739
+ `maker_build_current_directory` owns the safety gate before commit/push. When local `main` is only
740
+ behind Maker remote, it automatically fast-forwards before creating a local commit. It stops before
741
+ commit and push when history is diverged, the branch is not `main`, remote sync cannot be verified,
742
+ or fast-forward would overwrite local changes. Do not work around this by creating a new branch,
738
743
  requesting a task id, running generic Git commit/push, or opening a PR/MR.
739
744
 
740
745
  If `.gitignore` changed after Maker binding or dev-kit update, include it in the submit summary.