@drawcall/market 0.1.23 → 0.1.25
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/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +2 -0
- package/dist/constants.js.map +1 -1
- package/dist/contract.d.ts +4 -0
- package/dist/contract.d.ts.map +1 -1
- package/dist/schemas.d.ts +6 -1
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +1 -0
- package/dist/schemas.js.map +1 -1
- package/dist/skill.d.ts +1 -1
- package/dist/skill.d.ts.map +1 -1
- package/dist/skill.js +2 -2
- package/package.json +1 -1
- package/src/constants.ts +2 -0
- package/src/schemas.ts +1 -0
- package/src/skill.ts +2 -2
package/dist/constants.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAExE,eAAO,MAAM,aAAa,QAA4B,CAAA;AAEtD,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAExE,eAAO,MAAM,aAAa,QAA4B,CAAA;AAEtD,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,CAS1D,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,CASvD,CAAA"}
|
package/dist/constants.js
CHANGED
|
@@ -7,6 +7,7 @@ export const ALLOWED_EXTENSIONS = {
|
|
|
7
7
|
'humanoid-animation': ['.zip'],
|
|
8
8
|
template: ['.zip'],
|
|
9
9
|
'sound-effect': ['.zip'],
|
|
10
|
+
'background-music': ['.zip'],
|
|
10
11
|
environment: ['.zip'],
|
|
11
12
|
};
|
|
12
13
|
export const ASSET_TYPE_LABELS = {
|
|
@@ -16,6 +17,7 @@ export const ASSET_TYPE_LABELS = {
|
|
|
16
17
|
'humanoid-animation': 'Humanoid Animation',
|
|
17
18
|
template: 'Template',
|
|
18
19
|
'sound-effect': 'Sound Effect',
|
|
20
|
+
'background-music': 'Background Music',
|
|
19
21
|
environment: 'Environment',
|
|
20
22
|
};
|
|
21
23
|
//# sourceMappingURL=constants.js.map
|
package/dist/constants.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAkB,MAAM,cAAc,CAAA;AAExE,MAAM,CAAC,MAAM,aAAa,GAAG,yBAAyB,CAAA;AAEtD,MAAM,CAAC,MAAM,kBAAkB,GAAgC;IAC7D,KAAK,EAAE,CAAC,MAAM,CAAC;IACf,gBAAgB,EAAE,CAAC,MAAM,CAAC;IAC1B,OAAO,EAAE,CAAC,MAAM,CAAC;IACjB,oBAAoB,EAAE,CAAC,MAAM,CAAC;IAC9B,QAAQ,EAAE,CAAC,MAAM,CAAC;IAClB,cAAc,EAAE,CAAC,MAAM,CAAC;IACxB,WAAW,EAAE,CAAC,MAAM,CAAC;CACtB,CAAA;AAED,MAAM,CAAC,MAAM,iBAAiB,GAA8B;IAC1D,KAAK,EAAE,OAAO;IACd,gBAAgB,EAAE,gBAAgB;IAClC,OAAO,EAAE,SAAS;IAClB,oBAAoB,EAAE,oBAAoB;IAC1C,QAAQ,EAAE,UAAU;IACpB,cAAc,EAAE,cAAc;IAC9B,WAAW,EAAE,aAAa;CAC3B,CAAA"}
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAkB,MAAM,cAAc,CAAA;AAExE,MAAM,CAAC,MAAM,aAAa,GAAG,yBAAyB,CAAA;AAEtD,MAAM,CAAC,MAAM,kBAAkB,GAAgC;IAC7D,KAAK,EAAE,CAAC,MAAM,CAAC;IACf,gBAAgB,EAAE,CAAC,MAAM,CAAC;IAC1B,OAAO,EAAE,CAAC,MAAM,CAAC;IACjB,oBAAoB,EAAE,CAAC,MAAM,CAAC;IAC9B,QAAQ,EAAE,CAAC,MAAM,CAAC;IAClB,cAAc,EAAE,CAAC,MAAM,CAAC;IACxB,kBAAkB,EAAE,CAAC,MAAM,CAAC;IAC5B,WAAW,EAAE,CAAC,MAAM,CAAC;CACtB,CAAA;AAED,MAAM,CAAC,MAAM,iBAAiB,GAA8B;IAC1D,KAAK,EAAE,OAAO;IACd,gBAAgB,EAAE,gBAAgB;IAClC,OAAO,EAAE,SAAS;IAClB,oBAAoB,EAAE,oBAAoB;IAC1C,QAAQ,EAAE,UAAU;IACpB,cAAc,EAAE,cAAc;IAC9B,kBAAkB,EAAE,kBAAkB;IACtC,WAAW,EAAE,aAAa;CAC3B,CAAA"}
|
package/dist/contract.d.ts
CHANGED
|
@@ -65,6 +65,7 @@ export declare const contract: {
|
|
|
65
65
|
"humanoid-animation": "humanoid-animation";
|
|
66
66
|
template: "template";
|
|
67
67
|
"sound-effect": "sound-effect";
|
|
68
|
+
"background-music": "background-music";
|
|
68
69
|
environment: "environment";
|
|
69
70
|
}>>;
|
|
70
71
|
query: z.ZodOptional<z.ZodString>;
|
|
@@ -84,6 +85,7 @@ export declare const contract: {
|
|
|
84
85
|
"humanoid-animation": "humanoid-animation";
|
|
85
86
|
template: "template";
|
|
86
87
|
"sound-effect": "sound-effect";
|
|
88
|
+
"background-music": "background-music";
|
|
87
89
|
environment: "environment";
|
|
88
90
|
}>>;
|
|
89
91
|
includeUnapproved: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -97,6 +99,7 @@ export declare const contract: {
|
|
|
97
99
|
"humanoid-animation": "humanoid-animation";
|
|
98
100
|
template: "template";
|
|
99
101
|
"sound-effect": "sound-effect";
|
|
102
|
+
"background-music": "background-music";
|
|
100
103
|
environment: "environment";
|
|
101
104
|
}>;
|
|
102
105
|
version: z.ZodString;
|
|
@@ -123,6 +126,7 @@ export declare const contract: {
|
|
|
123
126
|
"humanoid-animation": "humanoid-animation";
|
|
124
127
|
template: "template";
|
|
125
128
|
"sound-effect": "sound-effect";
|
|
129
|
+
"background-music": "background-music";
|
|
126
130
|
environment: "environment";
|
|
127
131
|
}>>;
|
|
128
132
|
}, z.core.$strip>, z.ZodCustom<GenerateAssetResult, GenerateAssetResult>, Record<never, never>, Record<never, never>>;
|
package/dist/contract.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../src/contract.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAWvB,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,OAAO,CAAA;IACjB,eAAe,EAAE,MAAM,CAAA;IACvB,iBAAiB,EAAE,MAAM,CAAA;IACzB,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,IAAI,CAAA;CAChB;AAED,MAAM,WAAW,KAAK;IACpB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,IAAI,CAAA;IACf,SAAS,EAAE,IAAI,CAAA;CAChB;AAED,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA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AAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBA6B0B,MAAM;uBAAa,IAAI;;oBAAvB,MAAM;uBAAa,IAAI;;;;;;;CAIrE,CAAA;AAED,MAAM,MAAM,WAAW,GAAG,OAAO,QAAQ,CAAA"}
|
package/dist/schemas.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const ASSET_TYPES: readonly ["model", "humanoid-model", "texture", "humanoid-animation", "template", "sound-effect", "environment"];
|
|
2
|
+
export declare const ASSET_TYPES: readonly ["model", "humanoid-model", "texture", "humanoid-animation", "template", "sound-effect", "background-music", "environment"];
|
|
3
3
|
export type AssetType = (typeof ASSET_TYPES)[number];
|
|
4
4
|
export declare const assetTypeSchema: z.ZodEnum<{
|
|
5
5
|
model: "model";
|
|
@@ -8,6 +8,7 @@ export declare const assetTypeSchema: z.ZodEnum<{
|
|
|
8
8
|
"humanoid-animation": "humanoid-animation";
|
|
9
9
|
template: "template";
|
|
10
10
|
"sound-effect": "sound-effect";
|
|
11
|
+
"background-music": "background-music";
|
|
11
12
|
environment: "environment";
|
|
12
13
|
}>;
|
|
13
14
|
export declare const MAX_UPLOAD_ZIP_SIZE_BYTES: number;
|
|
@@ -29,6 +30,7 @@ export declare const listAssetsSchema: z.ZodObject<{
|
|
|
29
30
|
"humanoid-animation": "humanoid-animation";
|
|
30
31
|
template: "template";
|
|
31
32
|
"sound-effect": "sound-effect";
|
|
33
|
+
"background-music": "background-music";
|
|
32
34
|
environment: "environment";
|
|
33
35
|
}>>;
|
|
34
36
|
query: z.ZodOptional<z.ZodString>;
|
|
@@ -48,6 +50,7 @@ export declare const exactAssetSchema: z.ZodObject<{
|
|
|
48
50
|
"humanoid-animation": "humanoid-animation";
|
|
49
51
|
template: "template";
|
|
50
52
|
"sound-effect": "sound-effect";
|
|
53
|
+
"background-music": "background-music";
|
|
51
54
|
environment: "environment";
|
|
52
55
|
}>>;
|
|
53
56
|
includeUnapproved: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -61,6 +64,7 @@ export declare const uploadZipSchema: z.ZodObject<{
|
|
|
61
64
|
"humanoid-animation": "humanoid-animation";
|
|
62
65
|
template: "template";
|
|
63
66
|
"sound-effect": "sound-effect";
|
|
67
|
+
"background-music": "background-music";
|
|
64
68
|
environment: "environment";
|
|
65
69
|
}>;
|
|
66
70
|
version: z.ZodString;
|
|
@@ -82,6 +86,7 @@ export declare const generateAssetSchema: z.ZodObject<{
|
|
|
82
86
|
"humanoid-animation": "humanoid-animation";
|
|
83
87
|
template: "template";
|
|
84
88
|
"sound-effect": "sound-effect";
|
|
89
|
+
"background-music": "background-music";
|
|
85
90
|
environment: "environment";
|
|
86
91
|
}>>;
|
|
87
92
|
}, z.core.$strip>;
|
package/dist/schemas.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,WAAW,sIASd,CAAA;AACV,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,CAAC,CAAA;AAEpD,eAAO,MAAM,eAAe;;;;;;;;;EAAsB,CAAA;AAElD,eAAO,MAAM,yBAAyB,QAAqB,CAAA;AAE3D,eAAO,MAAM,YAAY,aAKtB,CAAA;AAEH,eAAO,MAAM,eAAe,aAUxB,CAAA;AAEJ,eAAO,MAAM,qBAAqB,qDAA+C,CAAA;AAEjF,eAAO,MAAM,uBAAuB,q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AAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;CACtC,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC;IACxC,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,YAAY;CACtB,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC;IACxC,IAAI,EAAE,eAAe,CAAC,QAAQ,EAAE;CACjC,CAAC,CAAA"}
|
package/dist/skill.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const marketSkill = "---\nname: market\ndescription: Find, preview, install, generate, and publish Drawcall Market assets from a coding agent.\n---\n\n# Drawcall Market\n\nUse the `market` CLI. Keep commands short and read the summary line plus asset bullets.\n\n## Quick Start\n\n```sh\nmarket search \"wooden chair\" --type model --limit 3\nmarket install wooden-chair --type model --cwd \"$PWD\"\nmarket preview wooden-chair --out /tmp/wooden-chair.png\n```\n\n## Workflow\n\n1. Search first unless the user gave an exact asset name.\n2. Search requires `--type`; use `model` unless the user names another supported type: `humanoid-model`, `texture`, `humanoid-animation`, `template`, `sound-effect`, or `environment`.\n3. Use `--limit 1` for lookup, `--limit 3` for choice. Search caps at 5.\n4. Use `--verbose` only when the one-line descriptions are not enough.\n5. Use `--unapproved` only when the user asks for unapproved/private/admin assets. Do not install unapproved assets without explicit acceptance.\n6. Preview before installing when visual fit matters: `market preview <name> --out <file>`. Preview is not supported for `humanoid-animation`, `template`, or `
|
|
1
|
+
export declare const marketSkill = "---\nname: market\ndescription: Find, preview, install, generate, and publish Drawcall Market assets from a coding agent.\n---\n\n# Drawcall Market\n\nUse the `market` CLI. Keep commands short and read the summary line plus asset bullets.\n\n## Quick Start\n\n```sh\nmarket search \"wooden chair\" --type model --limit 3\nmarket install wooden-chair --type model --cwd \"$PWD\"\nmarket preview wooden-chair --out /tmp/wooden-chair.png\n```\n\n## Workflow\n\n1. Search first unless the user gave an exact asset name.\n2. Search requires `--type`; use `model` unless the user names another supported type: `humanoid-model`, `texture`, `humanoid-animation`, `template`, `sound-effect`, `background-music`, or `environment`.\n3. Use `--limit 1` for lookup, `--limit 3` for choice. Search caps at 5.\n4. Use `--verbose` only when the one-line descriptions are not enough.\n5. Use `--unapproved` only when the user asks for unapproved/private/admin assets. Do not install unapproved assets without explicit acceptance.\n6. Preview before installing when visual fit matters: `market preview <name> --out <file>`. Preview is not supported for `humanoid-animation`, `template`, `sound-effect`, or `background-music`.\n7. Generate only when the user wants a new asset, auth is available, and the requested asset type supports generation. No asset type currently supports generation.\n8. Upload only when publishing is requested.\n9. Installed `environment` assets contain `public/environment/<name>.hdr` for Three.js IBL lighting and `public/environment/<name>-background.webp` for the visible equirectangular background. Use `market preview` to fetch the preview image separately.\n\n## Output\n\nCommands print concise summaries:\n\n```text\nResults: 2/8 query=\"wooden chair\" type=model approval=approved\n- wooden-chair@1.0.0 | model | approved | Low-poly wooden chair\nInstalled 1 asset: wooden-chair@1.0.0\nSaved preview for wooden-chair@1.0.0: /tmp/wooden-chair.png\n```\n\nIf search returns no results, try one broader noun phrase. If a command returns `Error: Not logged in...`, ask before running `market login`.\n";
|
|
2
2
|
//# sourceMappingURL=skill.d.ts.map
|
package/dist/skill.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skill.d.ts","sourceRoot":"","sources":["../src/skill.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"skill.d.ts","sourceRoot":"","sources":["../src/skill.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,wkEAyCvB,CAAA"}
|
package/dist/skill.js
CHANGED
|
@@ -18,11 +18,11 @@ market preview wooden-chair --out /tmp/wooden-chair.png
|
|
|
18
18
|
## Workflow
|
|
19
19
|
|
|
20
20
|
1. Search first unless the user gave an exact asset name.
|
|
21
|
-
2. Search requires \`--type\`; use \`model\` unless the user names another supported type: \`humanoid-model\`, \`texture\`, \`humanoid-animation\`, \`template\`, \`sound-effect\`, or \`environment\`.
|
|
21
|
+
2. Search requires \`--type\`; use \`model\` unless the user names another supported type: \`humanoid-model\`, \`texture\`, \`humanoid-animation\`, \`template\`, \`sound-effect\`, \`background-music\`, or \`environment\`.
|
|
22
22
|
3. Use \`--limit 1\` for lookup, \`--limit 3\` for choice. Search caps at 5.
|
|
23
23
|
4. Use \`--verbose\` only when the one-line descriptions are not enough.
|
|
24
24
|
5. Use \`--unapproved\` only when the user asks for unapproved/private/admin assets. Do not install unapproved assets without explicit acceptance.
|
|
25
|
-
6. Preview before installing when visual fit matters: \`market preview <name> --out <file>\`. Preview is not supported for \`humanoid-animation\`, \`template\`, or \`
|
|
25
|
+
6. Preview before installing when visual fit matters: \`market preview <name> --out <file>\`. Preview is not supported for \`humanoid-animation\`, \`template\`, \`sound-effect\`, or \`background-music\`.
|
|
26
26
|
7. Generate only when the user wants a new asset, auth is available, and the requested asset type supports generation. No asset type currently supports generation.
|
|
27
27
|
8. Upload only when publishing is requested.
|
|
28
28
|
9. Installed \`environment\` assets contain \`public/environment/<name>.hdr\` for Three.js IBL lighting and \`public/environment/<name>-background.webp\` for the visible equirectangular background. Use \`market preview\` to fetch the preview image separately.
|
package/package.json
CHANGED
package/src/constants.ts
CHANGED
|
@@ -9,6 +9,7 @@ export const ALLOWED_EXTENSIONS: Record<AssetType, string[]> = {
|
|
|
9
9
|
'humanoid-animation': ['.zip'],
|
|
10
10
|
template: ['.zip'],
|
|
11
11
|
'sound-effect': ['.zip'],
|
|
12
|
+
'background-music': ['.zip'],
|
|
12
13
|
environment: ['.zip'],
|
|
13
14
|
}
|
|
14
15
|
|
|
@@ -19,5 +20,6 @@ export const ASSET_TYPE_LABELS: Record<AssetType, string> = {
|
|
|
19
20
|
'humanoid-animation': 'Humanoid Animation',
|
|
20
21
|
template: 'Template',
|
|
21
22
|
'sound-effect': 'Sound Effect',
|
|
23
|
+
'background-music': 'Background Music',
|
|
22
24
|
environment: 'Environment',
|
|
23
25
|
}
|
package/src/schemas.ts
CHANGED
package/src/skill.ts
CHANGED
|
@@ -18,11 +18,11 @@ market preview wooden-chair --out /tmp/wooden-chair.png
|
|
|
18
18
|
## Workflow
|
|
19
19
|
|
|
20
20
|
1. Search first unless the user gave an exact asset name.
|
|
21
|
-
2. Search requires \`--type\`; use \`model\` unless the user names another supported type: \`humanoid-model\`, \`texture\`, \`humanoid-animation\`, \`template\`, \`sound-effect\`, or \`environment\`.
|
|
21
|
+
2. Search requires \`--type\`; use \`model\` unless the user names another supported type: \`humanoid-model\`, \`texture\`, \`humanoid-animation\`, \`template\`, \`sound-effect\`, \`background-music\`, or \`environment\`.
|
|
22
22
|
3. Use \`--limit 1\` for lookup, \`--limit 3\` for choice. Search caps at 5.
|
|
23
23
|
4. Use \`--verbose\` only when the one-line descriptions are not enough.
|
|
24
24
|
5. Use \`--unapproved\` only when the user asks for unapproved/private/admin assets. Do not install unapproved assets without explicit acceptance.
|
|
25
|
-
6. Preview before installing when visual fit matters: \`market preview <name> --out <file>\`. Preview is not supported for \`humanoid-animation\`, \`template\`, or \`
|
|
25
|
+
6. Preview before installing when visual fit matters: \`market preview <name> --out <file>\`. Preview is not supported for \`humanoid-animation\`, \`template\`, \`sound-effect\`, or \`background-music\`.
|
|
26
26
|
7. Generate only when the user wants a new asset, auth is available, and the requested asset type supports generation. No asset type currently supports generation.
|
|
27
27
|
8. Upload only when publishing is requested.
|
|
28
28
|
9. Installed \`environment\` assets contain \`public/environment/<name>.hdr\` for Three.js IBL lighting and \`public/environment/<name>-background.webp\` for the visible equirectangular background. Use \`market preview\` to fetch the preview image separately.
|