makeables 0.1.0 → 0.3.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 +71 -7
- package/dist/cli.js +2407 -301
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
Design cards and badges with editable layers, live materials and your coding agent. Requires Node.js 22+.
|
|
4
4
|
|
|
5
5
|
```sh
|
|
6
|
-
npx skills add crafter-station/makeables-community --skill makeables
|
|
6
|
+
npx skills add crafter-station/makeables-community --skill makeables --global
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
The skill checks for Makeables 0.
|
|
9
|
+
The skill checks for Makeables 0.2.0+ and installs or updates the CLI when authorized. To set up the CLI directly:
|
|
10
10
|
|
|
11
11
|
```sh
|
|
12
12
|
npm install --global makeables
|
|
@@ -40,6 +40,7 @@ makeables skills get cards
|
|
|
40
40
|
makeables skills get badges
|
|
41
41
|
makeables skills get design
|
|
42
42
|
makeables skills get images
|
|
43
|
+
makeables skills get wallet
|
|
43
44
|
makeables skills get core --full
|
|
44
45
|
makeables doctor --json
|
|
45
46
|
```
|
|
@@ -81,13 +82,13 @@ Most commands return `{ok:true,version,data,nextSteps}` or `{ok:false,version,er
|
|
|
81
82
|
|
|
82
83
|
## Publish with your agent
|
|
83
84
|
|
|
84
|
-
|
|
85
|
+
For badges, your agent closes the first preview with “Want to change anything or publish it?” It saves a portable bundle containing the design, participant, portrait and artwork before publication:
|
|
85
86
|
|
|
86
87
|
```sh
|
|
87
|
-
makeables studio save --url "$MAKEABLES_URL" --out badge.
|
|
88
|
-
makeables
|
|
89
|
-
makeables
|
|
90
|
-
makeables
|
|
88
|
+
makeables studio save --url "$MAKEABLES_URL" --out badge.makeables.json
|
|
89
|
+
makeables submit --file badge.makeables.json --dry-run
|
|
90
|
+
makeables submit --file badge.makeables.json --yes
|
|
91
|
+
makeables submit status --file badge.makeables.json
|
|
91
92
|
```
|
|
92
93
|
|
|
93
94
|
`--yes` means you approved sharing this exact badge, including its photo, name and editable design. Publication runs directly from the bundle, even after the editor closes. Retries reuse the same operation and return the same public URL.
|
|
@@ -99,3 +100,66 @@ Creation, local saving, editing and export remain anonymous. `--dry-run` validat
|
|
|
99
100
|
The existing editor tools still support author-only updates and withdrawal. Your agent verifies the public link before calling publication complete.
|
|
100
101
|
|
|
101
102
|
The package and command are `makeables`. Proprietary software by Crafter Station; see LICENSE for the terms of use.
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
## Cards from references and Wallet
|
|
106
|
+
|
|
107
|
+
Makeables 0.2.0 includes the complete reference workflow in `skills get cards`.
|
|
108
|
+
Import supported original SVG elements as layers, or keep a supplied raster as
|
|
109
|
+
an image layer. Local `image` tools prepare, measure, selectively trace, rotate
|
|
110
|
+
and compare references without a private checkout. Only tracing needs optional
|
|
111
|
+
`potrace` on PATH.
|
|
112
|
+
|
|
113
|
+
```sh
|
|
114
|
+
makeables new card --file artwork.svg --out card.json
|
|
115
|
+
makeables validate --file artwork.svg --out preview.png
|
|
116
|
+
makeables image compare --file artwork.svg --ref reference.png --out comparison.png
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
At a ready card preview, the agent offers to keep iterating, submit to the
|
|
120
|
+
gallery, or install the artwork on the phone. Cards and badges share `/submit` and `makeables submit`;
|
|
121
|
+
`publish` is an alias. Editable layers, both faces and assets stay together. Choosing installation
|
|
122
|
+
loads `makeables skills get wallet`.
|
|
123
|
+
|
|
124
|
+
```sh
|
|
125
|
+
makeables wallet setup
|
|
126
|
+
makeables wallet prep --file card.json --out wallet-preview
|
|
127
|
+
makeables wallet list
|
|
128
|
+
makeables wallet apply --file card.json --card c-SELECTION --yes
|
|
129
|
+
makeables wallet backups
|
|
130
|
+
makeables wallet restore --backup b-BACKUP --yes
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
Wallet runs on a Mac with a USB-connected iPhone. Setup downloads a versioned,
|
|
134
|
+
checksum-verified companion containing the runtime, native bridges and artwork
|
|
135
|
+
exporter; no source checkout or developer toolchain is required. `apply` changes
|
|
136
|
+
the artwork of a selected existing card; `restore` removes that custom design
|
|
137
|
+
using verified issuer artwork. Neither provisions nor deletes payment cards.
|
|
138
|
+
|
|
139
|
+
Original backups live privately in `~/Documents/Makeables/Wallet Backups/`;
|
|
140
|
+
operational state lives in `~/Library/Application Support/Makeables/Wallet/`.
|
|
141
|
+
Updates do not remove these files. `wallet doctor` reports the companion's state
|
|
142
|
+
without touching a device. `MAKEABLES_WALLET_HELPER` selects a compatible local
|
|
143
|
+
companion for development; `MAKEABLES_WALLET_HOME` and `MAKEABLES_WALLET_BACKUPS`
|
|
144
|
+
override its private storage locations.
|
|
145
|
+
|
|
146
|
+
Wallet artwork changes use experimental, unofficial device services. Apply has
|
|
147
|
+
been tested on a Wallet card; restoration of an actual Wallet card remains
|
|
148
|
+
unverified. Keep the original backups and inspect the guide before device work.
|
|
149
|
+
|
|
150
|
+
## Share any design
|
|
151
|
+
|
|
152
|
+
```sh
|
|
153
|
+
makeables submit --file card.json --dry-run
|
|
154
|
+
makeables submit --file card.json --yes --credit "Your name"
|
|
155
|
+
makeables submit status --file card.json --credit "Your name"
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
`submit` accepts layered JSON, original card SVGs, legacy badge bundles and
|
|
159
|
+
portable `.makeables.zip` or `.makeables.json` packages. `publish` is the same
|
|
160
|
+
command. In the editor, **Submit** opens the shared preview and credits form;
|
|
161
|
+
no manual ZIP assembly is necessary. Sign-in preserves the draft. Submissions
|
|
162
|
+
are private while pending and become public after approval. Both products are
|
|
163
|
+
reviewed at `/admin`, available in the user menu for database-authorized admins.
|
|
164
|
+
|
|
165
|
+
See [the portable format](../../docs/submission-format.md) for package limits and assets.
|