@taptap/maker 0.0.40-beta.2 → 0.0.40

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.
@@ -1,6 +1,8 @@
1
1
  # Local Console
2
2
 
3
3
  Read only when opening, stopping or troubleshooting the console.
4
+ For canvas authoring and supported operations, use the [Canvas Capability Guide](canvas.md);
5
+ for video modes and ordered image references, read [Canvas Video](canvas-video.md).
4
6
 
5
7
  ## Local Web Console
6
8
 
@@ -11,6 +13,17 @@ Do not call init, build or preview just to open it. A missing/invalid directory
11
13
  problem, not permission to clone a game. Without a known game directory, omit `--target-dir` so
12
14
  the console shows the project list for the user to choose; never guess or choose the first project.
13
15
 
16
+ Different projects share one compatible console service and use their own canvases. For canvas
17
+ work, query `canvas pages --target-dir <PROJECT>` and use that project's URL/page ID; do not
18
+ navigate another project's browser tab. Pass `--session-id <CONVERSATION_ID>` on project-scoped
19
+ canvas CLI calls. Reuse the same ID across canvases; generate one once if no conversation ID is
20
+ available. The service records only sessionId and its lastOperationAt per project, at invocation.
21
+ Read `canvas sessions --target-dir <PROJECT>` to decide whether to proceed. This query never
22
+ updates timestamps, even with session-id. No occupancy, timeout or ownership decisions are made.
23
+ Records need no browser and last until the service restarts. Calls without session-id and the
24
+ project-independent capabilities command do not register. Existing canvas execution requirements
25
+ are unchanged. Finishing your task does not authorize stopping the shared console.
26
+
14
27
  The Git page fast-forwards remote `main` only when the local branch has no unique commits and file
15
28
  paths do not overlap. Uncommitted edits on other files stay in place. If local commits exist, or
16
29
  the same files changed on both sides, the console does not rewrite history. Overlapping files open
@@ -120,7 +120,7 @@ request/correlation ID, reproduction steps, visible Maker tools, client version,
120
120
  Do not include the complete conversation. Send that JSON through stdin, never argv, while running:
121
121
 
122
122
  ```text
123
- npx -y --package @taptap/maker@0.0.40-beta.2 taptap-maker mcp report --ide <client> --target-dir <project> --context-stdin --consent --json
123
+ npx -y --package @taptap/maker@0.0.40 taptap-maker mcp report --ide <client> --target-dir <project> --context-stdin --consent --json
124
124
  ```
125
125
 
126
126
  Prefer the active client's exact Maker MCP `command` plus ordered `args`, then append the `mcp
@@ -33,17 +33,54 @@ Maker Git CLI (all commands print JSON; `--target-dir` defaults to the current d
33
33
  - `taptap-maker git sync` - fetch, then fast-forward or merge `origin/main`; aborts on conflicts.
34
34
  - `taptap-maker git push [--message MSG]` - the same sync/commit/push/cloud-repair flow as the
35
35
  build tool, without the remote build.
36
- - `taptap-maker git cloud-status` / `cloud-diff [--path PATH] [--staged]` - read the Maker cloud
37
- workspace state and diff. Untracked cloud files are not in the diff.
36
+ - `taptap-maker git cloud-status` - read the Maker cloud workspace state and changed files.
37
+ - `taptap-maker git cloud-diff [--path PATH] [--staged]` - read cloud changes; untracked file
38
+ contents are not in the diff.
38
39
  - `taptap-maker git cloud-commit --message MSG (--all | PATH...)` - commit cloud workspace changes
39
- (project owner only). Run it only when the user explicitly asks; the web agent may still be
40
- editing those files. The automatic cloud commit inside push needs no extra confirmation. Never retry it after a timeout or `outcomeUnknown`; run `cloud-status`
41
- first, because the commit may already have succeeded.
40
+ (project owner only). Within a user-requested submit/push, inspect the cloud changes and use it
41
+ when needed to recover the push; no separate request naming this command is required. Outside
42
+ that scope, obtain user authorization. The web agent may still be editing those files. Never
43
+ blindly retry after a timeout or `outcomeUnknown`; check `cloud-status` first.
42
44
 
43
45
  The root `.gitignore` is a required Maker project file. If it changes after binding or dev-kit
44
46
  updates, include it with the game changes and mention it in the submit summary. Do not omit it from
45
47
  selected files.
46
48
 
49
+ ## One-Time Submission Review (Advisory Only)
50
+
51
+ Before a user-requested submit/push, review the intended files and all unpushed commits once,
52
+ using read-only Git/file inspection. Skip this review for remote-only builds without submission.
53
+ Check that code, configuration and assets serve the game or its development workflow. Look for
54
+ accidental caches, logs, temporary reports, backups, downloaded archives plus extracted copies,
55
+ duplicate generated assets, unused variants and unnecessary build/dependency directories. Source
56
+ art and generated files may be intentional; do not exclude them just by extension or directory name.
57
+
58
+ Suggested review triggers (not hard limits):
59
+
60
+ - 80 or more added/modified files under the project-root assets/ directory, including .meta.
61
+ Briefly suggest submitting and pushing in batches of at most 80 asset files, keeping assets
62
+ and required .meta together. Count each path once; file-count advice does not apply to code
63
+ outside assets/. The agent may proceed as-is without confirmation.
64
+ - Any added/modified assets/ file at least 20 MiB, or combined added/modified assets/ file sizes
65
+ at least 200 MiB.
66
+
67
+ Estimate content size, not exact Git transfer size; deletions are not new payload. Include
68
+ pending commits, not just the current working tree: splitting commits does not reduce the total
69
+ push, and deleting a large file in a later commit does not remove its earlier blob from history.
70
+ For large changes, check the largest files/directories and whether image dimensions, audio/video
71
+ length, or bulk imports fit their use. Initial imports, tile sets and animation frames can be valid.
72
+
73
+ If there are concerns, give one short notice with counts, approximate size, concrete questionable
74
+ content and a suggested improvement. Mark unavailable measurements as unknown, not zero. The agent
75
+ may optimize or ignore this advisory and submit as-is within the user's request; no extra user
76
+ confirmation, override flag or passed-check result is required. Do not turn the notice into an
77
+ approval loop, repeat it on retries, or recheck unchanged content after choosing to proceed.
78
+
79
+ Keep asset references and required .meta files together. Excluding a file from submission does not
80
+ mean deleting it locally. Do not silently delete originals, apply lossy compression or rewrite
81
+ resource IDs/history. Do not introduce Git LFS without confirming Maker support. This advisory
82
+ adds no submission gate and does not bypass existing authorization or Git error recovery rules.
83
+
47
84
  ## Build Settings
48
85
 
49
86
  For multiplayer builds, use `maker_build_current_directory` structured parameters instead of
@@ -181,7 +218,12 @@ MCP builds the committed remote version only and does not auto-open Maker pages.
181
218
 
182
219
  For push failures, use the returned `classification`, `retryable`, `retry_reason`, and
183
220
  `retry_attempts` fields. Temporary 5xx/network/timeout failures may be retried with the Maker build
184
- tool; `remote_rejected` means run `taptap-maker git sync` and retry; `cloud_workspace_blocked` means
221
+ tool. Diagnose remote Git errors from the original stderr/stdout, not the classification alone.
222
+ If the cause is unclear, inspect `cloud-status` and, as needed, `cloud-diff` using the same project
223
+ `--target-dir`. If cloud changes need committing to recover the push, use `cloud-commit` once,
224
+ then `git sync` and retry the original Maker submit/build operation. If cloud state is clean or
225
+ the error identifies another cause, address that cause instead of repeatedly syncing or committing.
226
+ `cloud_workspace_blocked` means
185
227
  the automatic cloud commit did not finish (follow `next_action`); `merge_conflict` means resolve
186
228
  `conflict_files`, commit, and retry; `auth` means refreshing PAT;
187
229
  `branch_not_allowed` means Maker remote only accepts `main`; `forbidden_path` means the remote
@@ -193,8 +235,8 @@ When a Maker tool output contains `push_recovery`, follow it exactly:
193
235
  - Tell the user the local commit is preserved but not yet on Maker remote.
194
236
  - Do not ask for permission to run a generic `git push`.
195
237
  - Retry with `maker_build_current_directory` for submit and build requests.
196
- - If the failure is `remote_rejected`, run `taptap-maker git sync`, then retry; do not create a new
197
- branch or PR.
238
+ - For `remote_rejected`, diagnose as above; sync when remote commits need merging. Do not create
239
+ a new branch or PR.
198
240
  - If the failure is `merge_conflict`, the merge was already aborted. Explain both sides of each
199
241
  `conflict_files` entry, ask before editing, commit the resolution, then retry.
200
242
  - If the failure is `branch_not_allowed`, do not sync or merge. Tell the user Maker only accepts
@@ -13,7 +13,11 @@ standalone Runtime installer/launch commands. Query `preview status` first; an a
13
13
  must be explicitly stopped with user authorization. For the command mapping and options read
14
14
  `docs/MAKER_LOCAL_PREVIEW.md` section `run-lua-validate 本地接入`.
15
15
  Example: `preview validate --target-dir <PROJECT> --mode both --screenshot-frame <N> --json`,
16
- where N is selected for the current test, not a fixed readiness guarantee.
16
+ where N is selected for the current test, not a fixed readiness guarantee. For a multiplayer or
17
+ server project, add `--network`; this explicitly allocates a remote test server and validates the
18
+ online client. Without it Maker refuses the run before launching Runtime.
19
+ Network screenshot runs never retry automatically because each run allocates a test server and
20
+ may repeat remote game actions. Inspect retained evidence and get an explicit retry request.
17
21
  Use the returned report/log/artifact paths with the original Skill's review rules.
18
22
  `COMPLETED` means evidence collected, not game PASS. Preserve failures and inspect partial
19
23
  evidence. No Computer Use capture, engine modification or remote-build fallback is required.