@snowcone-app/mcp 0.3.2 → 0.3.3
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/CHANGELOG.md +6 -0
- package/dist/index.js +4 -4
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @snowcone-app/mcp
|
|
2
2
|
|
|
3
|
+
## 0.3.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#596](https://github.com/snowcone-app/snowcone-monorepo/pull/596) [`b04c995`](https://github.com/snowcone-app/snowcone-monorepo/commit/b04c995d0a115760341f8b51f1ecbfb01deb8d6b) Thanks [@kevinsproles](https://github.com/kevinsproles)! - Point API-key management links at snowcone.app/studio/api-keys (the old /api-keys route is gone).
|
|
8
|
+
|
|
3
9
|
## 0.3.2
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -247,7 +247,7 @@ image URL. There is nothing to install to render or sell.
|
|
|
247
247
|
*Want to harden against Shop-ID theft? Pass \`require_signature: true\` to mint
|
|
248
248
|
a LOCKED shop \u2014 then every render/buy URL must be signed with your
|
|
249
249
|
\`shop_secret\` (pass it as \`shop_secret\`) or the edge 403s. Leave it off to
|
|
250
|
-
start; your human can flip "Require signed URLs" later on /api-keys.*
|
|
250
|
+
start; your human can flip "Require signed URLs" later on /studio/api-keys.*
|
|
251
251
|
|
|
252
252
|
2. **Find a product** \u2014 \`snowcone_search_catalog\` to browse, or
|
|
253
253
|
\`snowcone_get_product\` for placements/mockups/options. \`BEEB77\` is a known
|
|
@@ -295,11 +295,11 @@ URL still renders on it, so on an open shop a signature is not yet a hard lock.
|
|
|
295
295
|
|
|
296
296
|
Two ways to lock YOUR shop:
|
|
297
297
|
- **L3 signing** \u2014 mint with \`require_signature: true\` (or have your human flip
|
|
298
|
-
"Require signed URLs" on /api-keys). Then pass \`shop_secret\` to
|
|
298
|
+
"Require signed URLs" on /studio/api-keys). Then pass \`shop_secret\` to
|
|
299
299
|
\`snowcone_render_mockup\`/\`snowcone_buy_url\` to get an **L3-signed** URL
|
|
300
300
|
(\`&signature=\u2026\`); unsigned or tampered URLs are rejected (403).
|
|
301
301
|
- **Asset-origin allowlist** (the stronger lock) \u2014 restrict which hosts art may
|
|
302
|
-
load from, so a leaked Shop ID can't render *novel* art. Set on /api-keys.
|
|
302
|
+
load from, so a leaked Shop ID can't render *novel* art. Set on /studio/api-keys.
|
|
303
303
|
|
|
304
304
|
Until you lock the shop, treat any artwork you render on it as effectively public.
|
|
305
305
|
|
|
@@ -571,7 +571,7 @@ server.registerTool(
|
|
|
571
571
|
...args.require_signature ? { require_signed_urls: true } : {}
|
|
572
572
|
});
|
|
573
573
|
const sigLine = r.require_signed_urls ? `This shop REQUIRES signed URLs: pass shop_secret=${r.shop_secret} as shop_secret on every render/buy call, or the edge 403s.
|
|
574
|
-
` : `This shop is OPEN (unsigned URLs render). To lock it later, your human can toggle "Require signed URLs" on /api-keys.
|
|
574
|
+
` : `This shop is OPEN (unsigned URLs render). To lock it later, your human can toggle "Require signed URLs" on /studio/api-keys.
|
|
575
575
|
`;
|
|
576
576
|
const text = `Minted shop_id=${r.shop_id} (REUSE this \u2014 don't mint again).
|
|
577
577
|
shop_secret=${r.shop_secret} (secret)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@snowcone-app/mcp",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"description": "Snowcone MCP server — the agent-native quickstart. Mint a sandbox shop, browse the catalog, and turn any image into a buyable printed-merch mockup URL, all as callable tools.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mcp",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"tsup": "^8.1.0",
|
|
43
43
|
"typescript": "^5.5.4",
|
|
44
44
|
"vitest": "^2.1.9",
|
|
45
|
-
"@snowcone-app/mockup-url": "0.1.
|
|
45
|
+
"@snowcone-app/mockup-url": "0.1.1"
|
|
46
46
|
},
|
|
47
47
|
"publishConfig": {
|
|
48
48
|
"access": "public"
|