@taptap/maker 0.0.11 → 0.0.13
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 +1 -1
- package/dist/maker.js +1060 -517
- package/package.json +1 -1
- package/skills/taptap-maker-local/SKILL.md +31 -25
package/package.json
CHANGED
|
@@ -177,7 +177,7 @@ Keep the user-facing explanation short:
|
|
|
177
177
|
|
|
178
178
|
```text
|
|
179
179
|
我会先用 Maker CLI 检查本机 Git、PAT 和当前目录是否已绑定 Maker 项目。
|
|
180
|
-
|
|
180
|
+
如果还没有本地鉴权,CLI 会打开 Maker 授权页;授权完成后拿到项目列表,你选游戏,我再拉代码。
|
|
181
181
|
```
|
|
182
182
|
|
|
183
183
|
## AI Dev Kit Preparation
|
|
@@ -188,20 +188,16 @@ dev-kit files to overwrite same-path local helper files; the managed `.gitignore
|
|
|
188
188
|
those files local-only. The `.gitignore` file itself is a required Maker project file that should be
|
|
189
189
|
submitted to Maker Git.
|
|
190
190
|
|
|
191
|
-
`taptap-maker doctor
|
|
192
|
-
Maker project. If `CLAUDE.md`, `examples/`,
|
|
193
|
-
`
|
|
194
|
-
refresh the managed `.gitignore`
|
|
191
|
+
`taptap-maker doctor`, `maker://status`, and `maker_status_lite` check the dev-kit top-level
|
|
192
|
+
entries and version state for an already bound Maker project. If `CLAUDE.md`, `examples/`,
|
|
193
|
+
`templates/`, or `urhox-libs/` are missing, or if the status reports `update_available: yes`, run
|
|
194
|
+
`taptap-maker dev-kit update` to refresh the managed dev kit files and the managed `.gitignore`
|
|
195
|
+
block. The update command replaces dev-kit managed entries so version metadata and local files stay
|
|
196
|
+
consistent. Do not call the version API directly from the skill; use the CLI/MCP status output.
|
|
195
197
|
|
|
196
|
-
The CLI
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
# production (default)
|
|
200
|
-
https://urhox-demo-platform.spark.xd.com/ai-dev-kit/pd/stable/ai-dev-kit.zip
|
|
201
|
-
|
|
202
|
-
# rnd
|
|
203
|
-
https://urhox-demo-platform.spark.xd.com/ai-dev-kit/rnd/latest/ai-dev-kit.zip
|
|
204
|
-
```
|
|
198
|
+
The CLI checks the latest AI dev kit version for the current environment, downloads that version,
|
|
199
|
+
and records the installed version locally. If the version check is temporarily unavailable, the CLI
|
|
200
|
+
falls back to its built-in default download URL instead of blocking initialization.
|
|
205
201
|
|
|
206
202
|
After clone, use the bundled `taptap-maker-dev-kit-guide` skill to explain the installed dev-kit
|
|
207
203
|
resources to the local AI/Agent:
|
|
@@ -238,18 +234,19 @@ permission errors until the reported cause is fixed.
|
|
|
238
234
|
|
|
239
235
|
## PAT Handling
|
|
240
236
|
|
|
241
|
-
If
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
237
|
+
If local Maker auth is missing or expired, run `taptap-maker login`. The CLI opens the Maker auth
|
|
238
|
+
page and polls the authorization result; do not ask the user to open a PAT page or manually paste a
|
|
239
|
+
PAT for normal local development. `taptap-maker pat set <PAT>`, `--pat PAT`, and `--pat-stdin` are
|
|
240
|
+
compatibility fallbacks for CI or emergency debugging only. Do not put PAT directly in argv unless
|
|
241
|
+
the user explicitly accepts the ps/shell-history exposure. If the directory is already bound, treat
|
|
242
|
+
`taptap-maker apps` output as account reference only and continue the user's current bound-project
|
|
243
|
+
task.
|
|
246
244
|
|
|
247
245
|
If PAT exchange fails:
|
|
248
246
|
|
|
249
|
-
1.
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
3. Run `taptap-maker pat set` and paste the PAT into the prompt.
|
|
247
|
+
1. Ask the user to run `taptap-maker login` again.
|
|
248
|
+
2. Do not switch to JWT/OAuth fallback or manual PAT fallback unless the user explicitly asks for
|
|
249
|
+
CI/emergency debugging.
|
|
253
250
|
|
|
254
251
|
## App Selection
|
|
255
252
|
|
|
@@ -387,7 +384,8 @@ For a bound Maker project, `maker://status` and `maker_status_lite` include `Mak
|
|
|
387
384
|
Read this section before the user starts editing in a fresh conversation:
|
|
388
385
|
|
|
389
386
|
- For frequent polling or quick local-only status checks, call `maker_status_lite` with
|
|
390
|
-
`skip_remote_sync: true` to avoid
|
|
387
|
+
`skip_remote_sync: true` to avoid `git fetch origin` and AI dev kit latest-version network round
|
|
388
|
+
trips on every status read.
|
|
391
389
|
- `up_to_date`: continue development.
|
|
392
390
|
- `needs_pull` with `local_changes: no`: tell the user the workspace is clean and the local AI can
|
|
393
391
|
run `git pull --ff-only origin main` before editing.
|
|
@@ -417,7 +415,10 @@ unless the user asks. Summaries should be understandable to non-programmers:
|
|
|
417
415
|
- why these files are being submitted
|
|
418
416
|
- whether any generated or suspicious files are included
|
|
419
417
|
|
|
420
|
-
|
|
418
|
+
For normal build/preview/verify requests, a clean workspace still goes through
|
|
419
|
+
`maker_build_current_directory`; Maker MCP creates and pushes an empty
|
|
420
|
+
`chore: wake maker build server` commit before remote build to wake the Maker server.
|
|
421
|
+
Only skip submit/push when the user explicitly asks to build the committed remote version.
|
|
421
422
|
|
|
422
423
|
## Submit And Push
|
|
423
424
|
|
|
@@ -475,6 +476,11 @@ unavailable, do not run a manual generic `git push`. Fix the reported cause if n
|
|
|
475
476
|
`maker_build_current_directory`. Maker MCP will detect committed-but-unpushed local commits and push
|
|
476
477
|
them before build.
|
|
477
478
|
|
|
479
|
+
If the user explicitly asks "不提交", "直接构建", or "构建云端版本", call
|
|
480
|
+
`maker_build_current_directory` with `confirm_remote_build_without_submit=true`. In that mode, Maker
|
|
481
|
+
MCP opens the Maker app page before remote build and returns `maker_page_url`; show that URL to the
|
|
482
|
+
user if the browser did not open automatically.
|
|
483
|
+
|
|
478
484
|
For push failures, use the returned `classification`, `retryable`, `retry_reason`, and
|
|
479
485
|
`retry_attempts` fields. Temporary 5xx/network/timeout failures may be retried with the Maker build
|
|
480
486
|
tool; `remote_rejected` means remote updates require pull/rebase first; `auth` means refreshing PAT;
|