makeables 0.8.0 → 0.10.0
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 +41 -3
- package/dist/{chunk-NOES67KG.js → chunk-G6OTYITI.js} +1122 -495
- package/dist/chunk-SZTWKHNA.js +95 -0
- package/dist/chunk-TRIRNJSG.js +389 -0
- package/dist/cli.js +953 -369
- package/dist/kit-YXOYCN6F.js +17 -0
- package/dist/{mcp-54KV55QM.js → mcp-VS5XYXVM.js} +5 -3
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -162,20 +162,46 @@ gallery, or install the artwork on the phone. Cards, badges and stickers share `
|
|
|
162
162
|
loads `makeables skills get wallet`.
|
|
163
163
|
|
|
164
164
|
```sh
|
|
165
|
+
# Existing public card + previously confirmed saved target:
|
|
166
|
+
makeables wallet install --submission "https://makeables.dev/make/card?submission=UUID" --target mercury-4535 --yes --json
|
|
167
|
+
# First selection, with a user-confirmed label to remember after installation:
|
|
168
|
+
makeables wallet install --submission UUID --remember mercury-4535 --label Mercury --last4 4535 --json
|
|
169
|
+
# Local documents and complete packages also work:
|
|
165
170
|
makeables wallet install --file card.json --json
|
|
166
|
-
#
|
|
167
|
-
makeables wallet install --assets "/returned/prepared/assets" --card c-SELECTION --yes --json
|
|
171
|
+
# Wait for selection-ready before asking the user to tap. Inspect the preview.
|
|
172
|
+
makeables wallet install --assets "/returned/prepared/assets" --card c-SELECTION --remember mercury-4535 --label Mercury --last4 4535 --yes --json
|
|
173
|
+
makeables wallet targets list --json
|
|
174
|
+
# Register an existing verified backup without touching the phone:
|
|
175
|
+
makeables wallet targets add --target mercury-4535 --backup b-BACKUP --label Mercury --last4 4535 --yes --json
|
|
168
176
|
# Reuse the backupId from the installation receipt when restoration is requested.
|
|
169
177
|
makeables wallet restore --backup b-BACKUP --yes
|
|
170
178
|
```
|
|
171
179
|
|
|
180
|
+
Public submissions download directly with a bounded timeout and validated file
|
|
181
|
+
hashes. Receipts include a real local package path, byte count and checksum.
|
|
182
|
+
Raw card JSON, `{design: ...}` documents and portable JSON/ZIP packages are
|
|
183
|
+
accepted. The complete artwork is preserved, including vectors and text.
|
|
184
|
+
`wallet prep --submission UUID --out <directory>` prepares without a phone write.
|
|
185
|
+
|
|
172
186
|
Wallet runs on a Mac with a USB-connected iPhone. `install` prepares once,
|
|
173
187
|
returns the next selection step when needed, and applies only with an explicit
|
|
174
|
-
`--card` or `--backup` plus `--yes`. Reuse `--assets` to avoid rendering again.
|
|
188
|
+
`--target`, `--card` or `--backup` plus `--yes`. Reuse `--assets` to avoid rendering again.
|
|
189
|
+
If saved targets exist and no target is specified, it returns `needs-target`
|
|
190
|
+
with labels to choose from. Use `--scan` to select a different card.
|
|
191
|
+
Names and optional last four digits are **user-confirmed labels**, not details
|
|
192
|
+
retrieved from iOS. The scanner exposes opaque selections only. Each saved alias
|
|
193
|
+
binds to a verified original backup; the helper checks device/card binding again
|
|
194
|
+
before writing. Duplicate aliases fail before installation. `wallet targets
|
|
195
|
+
remove --target <alias>` removes only the label, preserving its backup.
|
|
196
|
+
`targetSaved: false` alongside `status: complete` means artwork installation
|
|
197
|
+
succeeded but the label needs saving; do not repeat the write.
|
|
175
198
|
With a capable companion, selection finishes on the first card event and
|
|
176
199
|
installation reuses its Media connection. Older companions retain a full scan.
|
|
177
200
|
Progress appears on stderr; stdout contains the result, backup verification
|
|
178
201
|
and timing. A failed device operation is never automatically retried.
|
|
202
|
+
`selection-ready` appears only after the activity stream handshake succeeds;
|
|
203
|
+
ask the user to tap at that point. `wallet install --help` shows only that
|
|
204
|
+
command's syntax. JSON result fields live under `data`.
|
|
179
205
|
|
|
180
206
|
Capable companions also reuse the connection during restoration and batch
|
|
181
207
|
removal of added artwork. Restore reports each phase, file counts and the
|
|
@@ -230,3 +256,15 @@ See [the portable format](../../docs/submission-format.md) for package limits an
|
|
|
230
256
|
Use `makeables skills get stickers` for material editing, PNG/JSON export and the common
|
|
231
257
|
`submit --dry-run` / consent / review lifecycle. Sticker packages contain a transparent
|
|
232
258
|
material preview and editable layers, with no participant data.
|
|
259
|
+
# Complete kits
|
|
260
|
+
|
|
261
|
+
`makeables skills get kits` covers creating a collection from existing editable
|
|
262
|
+
pieces or a raster artwork sheet. `kit render` composes native previews,
|
|
263
|
+
`kit export` writes one validated portable ZIP, and `kit import` reopens it.
|
|
264
|
+
`submit --file kit.makeables.zip --yes` sends the whole collection for one review.
|
|
265
|
+
Creating, importing, rendering and exporting do not require authentication.
|
|
266
|
+
|
|
267
|
+
Use `render --appearance material` for static sticker finishes or
|
|
268
|
+
`--appearance flat` for artwork. Use `--compact` for small machine receipts.
|
|
269
|
+
Optional `--trace ./session.jsonl` writes private local command timing;
|
|
270
|
+
`MAKEABLES_TRACE_SESSION` groups multiple invocations under one opaque run ID.
|