@taptap/maker 0.0.12 → 0.0.14

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taptap/maker",
3
- "version": "0.0.12",
3
+ "version": "0.0.14",
4
4
  "type": "module",
5
5
  "description": "TapTap Maker local development CLI and MCP server",
6
6
  "main": "dist/maker.js",
@@ -138,6 +138,26 @@ If status output returns `AI client workspace selection`, follow that hint: choo
138
138
  workspace first, then read `maker://status` or call `maker_status_lite` with the attached project
139
139
  directory.
140
140
 
141
+ ### Proxy Tools Missing From The Current Session
142
+
143
+ If the user is in a bound Maker project but `generate_image`, `batch_generate_images`, `edit_image`,
144
+ `create_video_task`, or `text_to_music` are missing from the current AI tool list, diagnose the MCP
145
+ cwd before suggesting repeated restarts:
146
+
147
+ 1. Read `maker://status` or call `maker_status_lite` without `target_dir` to see the MCP server cwd.
148
+ 2. If the user provides or the client exposes the real Maker project directory, call
149
+ `maker_status_lite` with that directory as `target_dir`.
150
+ 3. If the status output includes `MCP tool registration cwd` with `status: mismatch`, explain that
151
+ `tools/list` ran from the MCP server cwd, not the Maker project directory. Passing `target_dir`
152
+ to `maker_status_lite` proves the project is valid, but it does not dynamically add proxy tools
153
+ to the already-started MCP session.
154
+ 4. Tell the user to start the AI client from the Maker project directory, or update the
155
+ `taptap-maker` MCP config `cwd` to the Maker project directory, then reconnect `taptap-maker`
156
+ from the client's MCP UI such as `/mcp`.
157
+
158
+ Do not fall back to generic image/video/music tools when Maker proxy tools are missing. The missing
159
+ tools indicate a session/configuration problem that must be fixed first.
160
+
141
161
  ## Initialization Workflow
142
162
 
143
163
  Trigger phrases include:
@@ -163,6 +183,9 @@ Workflow:
163
183
  4. Run `taptap-maker init` in the user's intended Maker directory. The CLI will request PAT if
164
184
  missing, fetch TapTap token, show a paged app preview, ask the user to choose, prepare the AI dev
165
185
  kit, clone the Maker project, and install/verify MCP config.
186
+ The generated MCP config pins the selected Maker project directory as `cwd` when the target
187
+ client supports it. If a user manually reinstalls MCP config later, prefer
188
+ `taptap-maker mcp install --target-dir <PROJECT_DIR>`.
166
189
  Tell the user that the first Maker clone can take 20+ seconds because the server may be
167
190
  preparing the repository, and that they should keep the command running while the CLI retries
168
191
  transient 503/5xx failures.
@@ -415,7 +438,10 @@ unless the user asks. Summaries should be understandable to non-programmers:
415
438
  - why these files are being submitted
416
439
  - whether any generated or suspicious files are included
417
440
 
418
- If there are no local changes, do not create an empty commit unless the user explicitly asks.
441
+ For normal build/preview/verify requests, a clean workspace still goes through
442
+ `maker_build_current_directory`; Maker MCP creates and pushes an empty
443
+ `chore: wake maker build server` commit before remote build to wake the Maker server.
444
+ Only skip submit/push when the user explicitly asks to build the committed remote version.
419
445
 
420
446
  ## Submit And Push
421
447
 
@@ -473,6 +499,11 @@ unavailable, do not run a manual generic `git push`. Fix the reported cause if n
473
499
  `maker_build_current_directory`. Maker MCP will detect committed-but-unpushed local commits and push
474
500
  them before build.
475
501
 
502
+ If the user explicitly asks "不提交", "直接构建", or "构建云端版本", call
503
+ `maker_build_current_directory` with `confirm_remote_build_without_submit=true`. In that mode, Maker
504
+ MCP opens the Maker app page before remote build and returns `maker_page_url`; show that URL to the
505
+ user if the browser did not open automatically.
506
+
476
507
  For push failures, use the returned `classification`, `retryable`, `retry_reason`, and
477
508
  `retry_attempts` fields. Temporary 5xx/network/timeout failures may be retried with the Maker build
478
509
  tool; `remote_rejected` means remote updates require pull/rebase first; `auth` means refreshing PAT;