@taptap/maker 0.0.13 → 0.0.15

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.15",
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:
@@ -160,17 +180,26 @@ Workflow:
160
180
  initialization/clone path. Continue with the user's current intent in that bound project. Do not
161
181
  ask which app to clone unless the user explicitly asks to switch or re-clone.
162
182
  3. If Git is missing, stop. Tell the user Git is required for clone/submit/build-side Git work.
163
- 4. Run `taptap-maker init` in the user's intended Maker directory. The CLI will request PAT if
183
+ 4. Python is a required prerequisite for Maker local development. `taptap-maker init` checks it
184
+ before PAT, app list, clone, and MCP config installation. If Python is not ready, init tries
185
+ `taptap-maker python setup` up to 3 total attempts. If setup still fails, explain that init has
186
+ paused before login/project clone/MCP config, then guide the user to retry
187
+ `taptap-maker python setup` with the current AI or install Python 3.12 manually and run
188
+ `taptap-maker python doctor`.
189
+ 5. Run `taptap-maker init` in the user's intended Maker directory. The CLI will request PAT if
164
190
  missing, fetch TapTap token, show a paged app preview, ask the user to choose, prepare the AI dev
165
191
  kit, clone the Maker project, and install/verify MCP config.
192
+ The generated MCP config pins the selected Maker project directory as `cwd` when the target
193
+ client supports it. If a user manually reinstalls MCP config later, prefer
194
+ `taptap-maker mcp install --target-dir <PROJECT_DIR>`.
166
195
  Tell the user that the first Maker clone can take 20+ seconds because the server may be
167
196
  preparing the repository, and that they should keep the command running while the CLI retries
168
197
  transient 503/5xx failures.
169
- 5. If the CLI reports ordinary local files or parent Git repository risk, explain the warning and
198
+ 6. If the CLI reports ordinary local files or parent Git repository risk, explain the warning and
170
199
  ask whether the user wants to continue in this directory or switch to a clean independent one.
171
- 6. After clone succeeds, run `taptap-maker doctor` again or explain that `.maker-mcp/config.json`
200
+ 7. After clone succeeds, run `taptap-maker doctor` again or explain that `.maker-mcp/config.json`
172
201
  now binds the directory to the Maker project.
173
- 7. Tell the local AI/Agent to use the `taptap-maker-dev-kit-guide` skill for the installed dev-kit
202
+ 8. Tell the local AI/Agent to use the `taptap-maker-dev-kit-guide` skill for the installed dev-kit
174
203
  resources, especially `CLAUDE.md`, `examples/`, `templates/`, and `urhox-libs/`.
175
204
 
176
205
  Keep the user-facing explanation short: