@drawcall/market 0.1.16 → 0.1.17

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.
@@ -9,7 +9,7 @@ export async function previewCommand(name, version, opts) {
9
9
  const parsedVersion = version ? semverSchema.parse(version) : undefined;
10
10
  if (opts.type === 'humanoid-animation' ||
11
11
  opts.type === 'template' ||
12
- opts.type === 'sound-effects') {
12
+ opts.type === 'sound-effect') {
13
13
  throw new Error(`Preview images are not supported for ${opts.type}`);
14
14
  }
15
15
  const spinner = ora({
@@ -1 +1 @@
1
- {"version":3,"file":"preview.js","sourceRoot":"","sources":["../../src/commands/preview.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,aAAa,CAAA;AACjC,OAAO,KAAK,IAAI,MAAM,MAAM,CAAA;AAC5B,OAAO,GAAG,MAAM,KAAK,CAAA;AACrB,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAC5C,OAAO,EAAE,eAAe,EAAE,YAAY,EAAkB,MAAM,eAAe,CAAA;AAS7E,MAAM,CAAC,KAAK,UAAU,cAAc,CAClC,IAAY,EACZ,OAA2B,EAC3B,IAA2B;IAE3B,MAAM,UAAU,GAAG,eAAe,CAAC,KAAK,CAAC,IAAI,CAAC,CAAA;IAC9C,MAAM,aAAa,GAAG,OAAO,CAAC,CAAC,CAAC,YAAY,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAA;IACvE,IACE,IAAI,CAAC,IAAI,KAAK,oBAAoB;QAClC,IAAI,CAAC,IAAI,KAAK,UAAU;QACxB,IAAI,CAAC,IAAI,KAAK,eAAe,EAC7B,CAAC;QACD,MAAM,IAAI,KAAK,CAAC,wCAAwC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAA;IACtE,CAAC;IAED,MAAM,OAAO,GAAG,GAAG,CAAC;QAClB,IAA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ACxF,CAAA;QAED,MAAM,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAA;QACtD,MAAM,EAAE,CAAC,SAAS,CAAC,GAAG,EAAE,KAAK,CAAC,CAAA;QAE9B,OAAO,CAAC,IAAI,EAAE,CAAA;QACd,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC,UAAU,EAAE,eAAe,EAAE,GAAG,CAAC,CAAC,CAAA;IAC9D,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,OAAO,CAAC,IAAI,EAAE,CAAA;QACd,MAAM,GAAG,CAAA;IACX,CAAC;AACH,CAAC;AAED,SAAS,gBAAgB,CAAC,WAAmB;IAC3C,IAAI,WAAW,KAAK,YAAY;QAAE,OAAO,OAAO,CAAA;IAChD,IAAI,WAAW,KAAK,YAAY;QAAE,OAAO,MAAM,CAAA;IAC/C,OAAO,MAAM,CAAA;AACf,CAAC"}
package/dist/constants.js CHANGED
@@ -5,13 +5,13 @@ export const ALLOWED_EXTENSIONS = {
5
5
  texture: ['.zip'],
6
6
  'humanoid-animation': ['.zip'],
7
7
  template: ['.zip'],
8
- 'sound-effects': ['.zip'],
8
+ 'sound-effect': ['.zip'],
9
9
  };
10
10
  export const ASSET_TYPE_LABELS = {
11
11
  model: 'Model',
12
12
  texture: 'Texture',
13
13
  'humanoid-animation': 'Humanoid Animation',
14
14
  template: 'Template',
15
- 'sound-effects': 'Sound Effects',
15
+ 'sound-effect': 'Sound Effect',
16
16
  };
17
17
  //# sourceMappingURL=constants.js.map
@@ -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,OAAO,EAAE,CAAC,MAAM,CAAC;IACjB,oBAAoB,EAAE,CAAC,MAAM,CAAC;IAC9B,QAAQ,EAAE,CAAC,MAAM,CAAC;IAClB,eAAe,EAAE,CAAC,MAAM,CAAC;CAC1B,CAAA;AAED,MAAM,CAAC,MAAM,iBAAiB,GAA8B;IAC1D,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,oBAAoB,EAAE,oBAAoB;IAC1C,QAAQ,EAAE,UAAU;IACpB,eAAe,EAAE,eAAe;CACjC,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,OAAO,EAAE,CAAC,MAAM,CAAC;IACjB,oBAAoB,EAAE,CAAC,MAAM,CAAC;IAC9B,QAAQ,EAAE,CAAC,MAAM,CAAC;IAClB,cAAc,EAAE,CAAC,MAAM,CAAC;CACzB,CAAA;AAED,MAAM,CAAC,MAAM,iBAAiB,GAA8B;IAC1D,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,oBAAoB,EAAE,oBAAoB;IAC1C,QAAQ,EAAE,UAAU;IACpB,cAAc,EAAE,cAAc;CAC/B,CAAA"}
@@ -63,7 +63,7 @@ export declare const contract: {
63
63
  texture: "texture";
64
64
  "humanoid-animation": "humanoid-animation";
65
65
  template: "template";
66
- "sound-effects": "sound-effects";
66
+ "sound-effect": "sound-effect";
67
67
  }>>;
68
68
  query: z.ZodOptional<z.ZodString>;
69
69
  includeUnapproved: z.ZodDefault<z.ZodBoolean>;
@@ -80,7 +80,7 @@ export declare const contract: {
80
80
  texture: "texture";
81
81
  "humanoid-animation": "humanoid-animation";
82
82
  template: "template";
83
- "sound-effects": "sound-effects";
83
+ "sound-effect": "sound-effect";
84
84
  }>>;
85
85
  includeUnapproved: z.ZodDefault<z.ZodBoolean>;
86
86
  }, z.core.$strip>, z.ZodCustom<AssetSearchResult | null, AssetSearchResult | null>, Record<never, never>, Record<never, never>>;
@@ -91,7 +91,7 @@ export declare const contract: {
91
91
  texture: "texture";
92
92
  "humanoid-animation": "humanoid-animation";
93
93
  template: "template";
94
- "sound-effects": "sound-effects";
94
+ "sound-effect": "sound-effect";
95
95
  }>;
96
96
  version: z.ZodString;
97
97
  description: z.ZodOptional<z.ZodString>;
@@ -115,7 +115,7 @@ export declare const contract: {
115
115
  texture: "texture";
116
116
  "humanoid-animation": "humanoid-animation";
117
117
  template: "template";
118
- "sound-effects": "sound-effects";
118
+ "sound-effect": "sound-effect";
119
119
  }>>;
120
120
  }, z.core.$strip>, z.ZodCustom<GenerateAssetResult, GenerateAssetResult>, Record<never, never>, Record<never, never>>;
121
121
  };
package/dist/schemas.d.ts CHANGED
@@ -1,12 +1,12 @@
1
1
  import { z } from 'zod';
2
- export declare const ASSET_TYPES: readonly ["model", "texture", "humanoid-animation", "template", "sound-effects"];
2
+ export declare const ASSET_TYPES: readonly ["model", "texture", "humanoid-animation", "template", "sound-effect"];
3
3
  export type AssetType = (typeof ASSET_TYPES)[number];
4
4
  export declare const assetTypeSchema: z.ZodEnum<{
5
5
  model: "model";
6
6
  texture: "texture";
7
7
  "humanoid-animation": "humanoid-animation";
8
8
  template: "template";
9
- "sound-effects": "sound-effects";
9
+ "sound-effect": "sound-effect";
10
10
  }>;
11
11
  export declare const MAX_UPLOAD_ZIP_SIZE_BYTES: number;
12
12
  export declare const semverSchema: z.ZodString;
@@ -25,7 +25,7 @@ export declare const listAssetsSchema: z.ZodObject<{
25
25
  texture: "texture";
26
26
  "humanoid-animation": "humanoid-animation";
27
27
  template: "template";
28
- "sound-effects": "sound-effects";
28
+ "sound-effect": "sound-effect";
29
29
  }>>;
30
30
  query: z.ZodOptional<z.ZodString>;
31
31
  includeUnapproved: z.ZodDefault<z.ZodBoolean>;
@@ -42,7 +42,7 @@ export declare const exactAssetSchema: z.ZodObject<{
42
42
  texture: "texture";
43
43
  "humanoid-animation": "humanoid-animation";
44
44
  template: "template";
45
- "sound-effects": "sound-effects";
45
+ "sound-effect": "sound-effect";
46
46
  }>>;
47
47
  includeUnapproved: z.ZodDefault<z.ZodBoolean>;
48
48
  }, z.core.$strip>;
@@ -53,7 +53,7 @@ export declare const uploadZipSchema: z.ZodObject<{
53
53
  texture: "texture";
54
54
  "humanoid-animation": "humanoid-animation";
55
55
  template: "template";
56
- "sound-effects": "sound-effects";
56
+ "sound-effect": "sound-effect";
57
57
  }>;
58
58
  version: z.ZodString;
59
59
  description: z.ZodOptional<z.ZodString>;
@@ -72,7 +72,7 @@ export declare const generateAssetSchema: z.ZodObject<{
72
72
  texture: "texture";
73
73
  "humanoid-animation": "humanoid-animation";
74
74
  template: "template";
75
- "sound-effects": "sound-effects";
75
+ "sound-effect": "sound-effect";
76
76
  }>>;
77
77
  }, z.core.$strip>;
78
78
  //# sourceMappingURL=schemas.d.ts.map
@@ -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,kFAMd,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,qDAA+C,CAAA;AAEnF,eAAO,MAAM,mBAAmB;;;iBAG9B,CAAA;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;iBAO3B,CAAA;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;;iBAI3B,CAAA;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;iBAQ1B,CAAA;AAEF,eAAO,MAAM,iBAAiB;;;iBAG5B,CAAA;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;iBAG9B,CAAA"}
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,iFAMd,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,qDAA+C,CAAA;AAEnF,eAAO,MAAM,mBAAmB;;;iBAG9B,CAAA;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;iBAO3B,CAAA;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;;iBAI3B,CAAA;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;iBAQ1B,CAAA;AAEF,eAAO,MAAM,iBAAiB;;;iBAG5B,CAAA;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;iBAG9B,CAAA"}
package/dist/schemas.js CHANGED
@@ -4,7 +4,7 @@ export const ASSET_TYPES = [
4
4
  'texture',
5
5
  'humanoid-animation',
6
6
  'template',
7
- 'sound-effects',
7
+ 'sound-effect',
8
8
  ];
9
9
  export const assetTypeSchema = z.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AI,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: `texture`, `humanoid-animation`, `template`, or `sound-effects`.\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 `sound-effects`.\n7. Generate only when the user wants a new asset and auth is available. Generate is not supported for `template`.\n8. Upload only when publishing is requested.\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 before generating. If a command returns `Error: Not logged in...`, ask before running `market login`.\n";
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: `texture`, `humanoid-animation`, `template`, or `sound-effect`.\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 `sound-effect`.\n7. Generate only when the user wants a new asset and auth is available. Generate is not supported for `template`.\n8. Upload only when publishing is requested.\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 before generating. If a command returns `Error: Not logged in...`, ask before running `market login`.\n";
2
2
  //# sourceMappingURL=skill.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"skill.d.ts","sourceRoot":"","sources":["../src/skill.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,ouDAwCvB,CAAA"}
1
+ {"version":3,"file":"skill.d.ts","sourceRoot":"","sources":["../src/skill.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,kuDAwCvB,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: \`texture\`, \`humanoid-animation\`, \`template\`, or \`sound-effects\`.
21
+ 2. Search requires \`--type\`; use \`model\` unless the user names another supported type: \`texture\`, \`humanoid-animation\`, \`template\`, or \`sound-effect\`.
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 \`sound-effects\`.
25
+ 6. Preview before installing when visual fit matters: \`market preview <name> --out <file>\`. Preview is not supported for \`humanoid-animation\`, \`template\`, or \`sound-effect\`.
26
26
  7. Generate only when the user wants a new asset and auth is available. Generate is not supported for \`template\`.
27
27
  8. Upload only when publishing is requested.
28
28
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drawcall/market",
3
- "version": "0.1.16",
3
+ "version": "0.1.17",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/drawcall-ai/market",
@@ -22,7 +22,7 @@ export async function previewCommand(
22
22
  if (
23
23
  opts.type === 'humanoid-animation' ||
24
24
  opts.type === 'template' ||
25
- opts.type === 'sound-effects'
25
+ opts.type === 'sound-effect'
26
26
  ) {
27
27
  throw new Error(`Preview images are not supported for ${opts.type}`)
28
28
  }
package/src/constants.ts CHANGED
@@ -7,7 +7,7 @@ export const ALLOWED_EXTENSIONS: Record<AssetType, string[]> = {
7
7
  texture: ['.zip'],
8
8
  'humanoid-animation': ['.zip'],
9
9
  template: ['.zip'],
10
- 'sound-effects': ['.zip'],
10
+ 'sound-effect': ['.zip'],
11
11
  }
12
12
 
13
13
  export const ASSET_TYPE_LABELS: Record<AssetType, string> = {
@@ -15,5 +15,5 @@ export const ASSET_TYPE_LABELS: Record<AssetType, string> = {
15
15
  texture: 'Texture',
16
16
  'humanoid-animation': 'Humanoid Animation',
17
17
  template: 'Template',
18
- 'sound-effects': 'Sound Effects',
18
+ 'sound-effect': 'Sound Effect',
19
19
  }
package/src/schemas.ts CHANGED
@@ -5,7 +5,7 @@ export const ASSET_TYPES = [
5
5
  'texture',
6
6
  'humanoid-animation',
7
7
  'template',
8
- 'sound-effects',
8
+ 'sound-effect',
9
9
  ] as const
10
10
  export type AssetType = (typeof ASSET_TYPES)[number]
11
11
 
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: \`texture\`, \`humanoid-animation\`, \`template\`, or \`sound-effects\`.
21
+ 2. Search requires \`--type\`; use \`model\` unless the user names another supported type: \`texture\`, \`humanoid-animation\`, \`template\`, or \`sound-effect\`.
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 \`sound-effects\`.
25
+ 6. Preview before installing when visual fit matters: \`market preview <name> --out <file>\`. Preview is not supported for \`humanoid-animation\`, \`template\`, or \`sound-effect\`.
26
26
  7. Generate only when the user wants a new asset and auth is available. Generate is not supported for \`template\`.
27
27
  8. Upload only when publishing is requested.
28
28