@taptap/maker 0.0.13 → 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.13",
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.