makeables 0.4.0 → 0.5.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 +43 -4
- package/dist/chunk-WVXA65H6.js +20223 -0
- package/dist/cli.js +459 -20460
- package/dist/mcp-LKLESPJC.js +398 -0
- package/dist/mcp-app.html +180 -0
- package/package.json +5 -3
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@ makeables skills get core
|
|
|
15
15
|
|
|
16
16
|
Ask: “Use the makeables guide. Make an experimental badge from my photo at ~/Pictures/me.png. Show me both sides, then let’s refine it here.”
|
|
17
17
|
|
|
18
|
-
For personalized badges, the guide asks for a photo if one is missing
|
|
18
|
+
For personalized badges, the guide asks for a photo if one is missing. It prefers native widget or browser inspection; agent-browser is optional. Cards and stickers do not need a portrait. It offers ai-cli only when a requested image transformation needs it. Image generation uses your own AI Gateway credentials and credits.
|
|
19
19
|
|
|
20
20
|
## Cards from the terminal
|
|
21
21
|
|
|
@@ -48,13 +48,52 @@ makeables doctor --json
|
|
|
48
48
|
|
|
49
49
|
The installed skill is a small discovery stub maintained in [makeables-community](https://github.com/crafter-station/makeables-community). These guides and image-transfer helpers are bundled into the CLI, so no repository checkout or external skill script is required. Report bugs and feature requests in the [community issue tracker](https://github.com/crafter-station/makeables-community/issues).
|
|
50
50
|
|
|
51
|
-
##
|
|
51
|
+
## Embedded MCP App
|
|
52
|
+
|
|
53
|
+
The skill chooses **MCP Apps → built-in browser → CLI + inline PNG**, based on
|
|
54
|
+
capabilities actually available in the coding session. It does not open an
|
|
55
|
+
external browser or install another integration to produce a preview.
|
|
56
|
+
|
|
57
|
+
To connect the optional stdio server, use your host's MCP configuration with an
|
|
58
|
+
existing directory dedicated to your designs:
|
|
59
|
+
|
|
60
|
+
```json
|
|
61
|
+
{
|
|
62
|
+
"mcpServers": {
|
|
63
|
+
"makeables": {
|
|
64
|
+
"command": "makeables",
|
|
65
|
+
"args": ["mcp", "--root", "/absolute/path/to/designs"]
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
The exact configuration location depends on the host. Start a new host session
|
|
72
|
+
if required; having the CLI installed does not register its MCP tools.
|
|
73
|
+
`makeables_preview` exposes a self-contained MCP App: front/back, text and
|
|
74
|
+
sticker-finish controls, plus host-mediated PNG, JSON and portable-package
|
|
75
|
+
exports. The file is the state, shared with the CLI. Revisions reject stale
|
|
76
|
+
edits. File access stays inside `--root`; there is no cloud service, login,
|
|
77
|
+
localhost fetch or publication tool. Cards and badges show flat artwork;
|
|
78
|
+
stickers use the same material PNG renderer as the website. A personalized
|
|
79
|
+
badge opens from a complete package containing its portrait and participant.
|
|
80
|
+
|
|
81
|
+
Hosts without MCP Apps receive text and a PNG from the same preview tool. A host
|
|
82
|
+
without downloads can keep the local file and use CLI exports. To inspect the
|
|
83
|
+
full layer editor or animated materials, continue with the same design in the
|
|
84
|
+
built-in browser.
|
|
85
|
+
|
|
86
|
+
`makeables render --file design.makeables.json --out preview.png` also exports
|
|
87
|
+
the validated PNG from an editable portable package, keeping its portrait and
|
|
88
|
+
other assets intact.
|
|
89
|
+
|
|
90
|
+
## One live browser preview
|
|
52
91
|
|
|
53
92
|
```sh
|
|
54
93
|
makeables studio start
|
|
55
94
|
```
|
|
56
95
|
|
|
57
|
-
This
|
|
96
|
+
This prints a local URL without opening a browser. An agent with a built-in browser panel opens that URL there. Keep the process running and reuse that tab while iterating. `--open` explicitly opts into the operating system’s default browser; `--no-open` remains supported. If there is no built-in browser, use CLI rendering and show the resulting image in the conversation.
|
|
58
97
|
|
|
59
98
|
The local preview embeds the real [badge editor](https://makeables.dev/make/badge) [card editor](https://makeables.dev/make/card) or [sticker editor](https://makeables.dev/make/sticker). Its local connection uses the same tools, revision checks and validation as native WebMCP. It works without native WebMCP in the preview browser. One tab owns a session; no separate browser-state synchronization is implied.
|
|
60
99
|
|
|
@@ -167,7 +206,7 @@ See [the portable format](../../docs/submission-format.md) for package limits an
|
|
|
167
206
|
|
|
168
207
|
### Stickers
|
|
169
208
|
|
|
170
|
-
`makeables studio start --product sticker`
|
|
209
|
+
`makeables studio start --product sticker` prints the URL for the same Design Studio and CLI bridge.
|
|
171
210
|
`makeables new sticker --style good-energy --out sticker.json` creates the shared document.
|
|
172
211
|
Use `makeables skills get stickers` for material editing, PNG/JSON export and the common
|
|
173
212
|
`submit --dry-run` / consent / review lifecycle. Sticker packages contain a transparent
|