@taptap/maker 0.0.10 → 0.0.12
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 +1064 -542
- package/package.json +1 -1
- package/skills/taptap-maker-local/SKILL.md +22 -24
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.
|