@drawcall/market 0.1.19 → 0.1.21

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.
@@ -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,CAO1D,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,CAOvD,CAAA"}
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,CAQ1D,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,CAQvD,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
+ environment: ['.zip'],
10
11
  };
11
12
  export const ASSET_TYPE_LABELS = {
12
13
  model: 'Model',
@@ -15,5 +16,6 @@ export const ASSET_TYPE_LABELS = {
15
16
  'humanoid-animation': 'Humanoid Animation',
16
17
  template: 'Template',
17
18
  'sound-effect': 'Sound Effect',
19
+ environment: 'Environment',
18
20
  };
19
21
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBA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EAAE,cAAc;IAC9B,WAAW,EAAE,aAAa;CAC3B,CAAA"}
@@ -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
+ environment: "environment";
68
69
  }>>;
69
70
  query: z.ZodOptional<z.ZodString>;
70
71
  includeUnapproved: z.ZodDefault<z.ZodBoolean>;
@@ -83,6 +84,7 @@ export declare const contract: {
83
84
  "humanoid-animation": "humanoid-animation";
84
85
  template: "template";
85
86
  "sound-effect": "sound-effect";
87
+ environment: "environment";
86
88
  }>>;
87
89
  includeUnapproved: z.ZodDefault<z.ZodBoolean>;
88
90
  }, z.core.$strip>, z.ZodCustom<AssetSearchResult | null, AssetSearchResult | null>, Record<never, never>, Record<never, never>>;
@@ -95,6 +97,7 @@ export declare const contract: {
95
97
  "humanoid-animation": "humanoid-animation";
96
98
  template: "template";
97
99
  "sound-effect": "sound-effect";
100
+ environment: "environment";
98
101
  }>;
99
102
  version: z.ZodString;
100
103
  description: z.ZodOptional<z.ZodString>;
@@ -120,6 +123,7 @@ export declare const contract: {
120
123
  "humanoid-animation": "humanoid-animation";
121
124
  template: "template";
122
125
  "sound-effect": "sound-effect";
126
+ environment: "environment";
123
127
  }>>;
124
128
  }, z.core.$strip>, z.ZodCustom<GenerateAssetResult, GenerateAssetResult>, Record<never, never>, Record<never, never>>;
125
129
  };
@@ -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;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,CAAA;IACvB,iBAAiB,EAAE,MAAM,CAAA;CAC1B;AAED,MAAM,WAAW,aAAa,CAAC,CAAC;IAC9B,KAAK,EAAE,CAAC,EAAE,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,MAAM,CAAA;CACnB;AAED,MAAM,WAAW,IAAI;IACnB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,aAAa,EAAE,OAAO,CAAA;IACtB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,OAAO,CAAA;IAChB,SAAS,EAAE,IAAI,CAAA;IACf,SAAS,EAAE,IAAI,CAAA;CAChB;AAED,MAAM,WAAW,mBAAmB;IAClC,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;CAChB;AAED,eAAO,MAAM,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"];
2
+ export declare const ASSET_TYPES: readonly ["model", "humanoid-model", "texture", "humanoid-animation", "template", "sound-effect", "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
+ environment: "environment";
11
12
  }>;
12
13
  export declare const MAX_UPLOAD_ZIP_SIZE_BYTES: number;
13
14
  export declare const semverSchema: z.ZodString;
@@ -28,6 +29,7 @@ export declare const listAssetsSchema: z.ZodObject<{
28
29
  "humanoid-animation": "humanoid-animation";
29
30
  template: "template";
30
31
  "sound-effect": "sound-effect";
32
+ environment: "environment";
31
33
  }>>;
32
34
  query: z.ZodOptional<z.ZodString>;
33
35
  includeUnapproved: z.ZodDefault<z.ZodBoolean>;
@@ -46,6 +48,7 @@ export declare const exactAssetSchema: z.ZodObject<{
46
48
  "humanoid-animation": "humanoid-animation";
47
49
  template: "template";
48
50
  "sound-effect": "sound-effect";
51
+ environment: "environment";
49
52
  }>>;
50
53
  includeUnapproved: z.ZodDefault<z.ZodBoolean>;
51
54
  }, z.core.$strip>;
@@ -58,6 +61,7 @@ export declare const uploadZipSchema: z.ZodObject<{
58
61
  "humanoid-animation": "humanoid-animation";
59
62
  template: "template";
60
63
  "sound-effect": "sound-effect";
64
+ environment: "environment";
61
65
  }>;
62
66
  version: z.ZodString;
63
67
  description: z.ZodOptional<z.ZodString>;
@@ -78,6 +82,7 @@ export declare const generateAssetSchema: z.ZodObject<{
78
82
  "humanoid-animation": "humanoid-animation";
79
83
  template: "template";
80
84
  "sound-effect": "sound-effect";
85
+ environment: "environment";
81
86
  }>>;
82
87
  }, z.core.$strip>;
83
88
  //# 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,mGAOd,CAAA;AACV,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,CAAC,CAAA;AAEpD,eAAO,MAAM,eAAe;;;;;;;EA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O,MAAM,iBAAiB;;;iBAG5B,CAAA;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;;;iBAG9B,CAAA"}
package/dist/schemas.js CHANGED
@@ -6,6 +6,7 @@ export const ASSET_TYPES = [
6
6
  'humanoid-animation',
7
7
  'template',
8
8
  'sound-effect',
9
+ 'environment',
9
10
  ];
10
11
  export const assetTypeSchema = z.enum(ASSET_TYPES);
11
12
  export const MAX_UPLOAD_ZIP_SIZE_BYTES = 1024 * 1024 * 1024;
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.js","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,OAAO;IACP,gBAAgB;IAChB,SAAS;IACT,oBAAoB;IACpB,UAAU;IACV,cAAc;CACN,CAAA;AAGV,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAA;AAElD,MAAM,CAAC,MAAM,yBAAyB,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAE3D,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC;KAC1B,MAAM,EAAE;KACR,KAAK,CACJ,oDAAoD,EACpD,6CAA6C,CAC9C,CAAA;AAEH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC;KAC7B,MAAM,EAAE;KACR,GAAG,CAAC,CAAC,CAAC;KACN,GAAG,CAAC,GAAG,CAAC;KACR,KAAK,CACJ,8BAA8B,EAC9B,0EAA0E,CAC3E;KACA,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE;IAC5C,OAAO,EAAE,0EAA0E;CACpF,CAAC,CAAA;AAEJ,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC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AAC,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`, 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";
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 `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.\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.\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,ovDAwCvB,CAAA"}
1
+ {"version":3,"file":"skill.d.ts","sourceRoot":"","sources":["../src/skill.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,o8DAyCvB,CAAA"}
package/dist/skill.js CHANGED
@@ -18,13 +18,14 @@ 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\`, or \`sound-effect\`.
21
+ 2. Search requires \`--type\`; use \`model\` unless the user names another supported type: \`humanoid-model\`, \`texture\`, \`humanoid-animation\`, \`template\`, \`sound-effect\`, 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
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
+ 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.
28
29
 
29
30
  ## Output
30
31
 
package/dist/skill.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"skill.js","sourceRoot":"","sources":["../src/skill.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,WAAW,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwC1B,CAAA"}
1
+ {"version":3,"file":"skill.js","sourceRoot":"","sources":["../src/skill.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,WAAW,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyC1B,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drawcall/market",
3
- "version": "0.1.19",
3
+ "version": "0.1.21",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/drawcall-ai/market",
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
+ environment: ['.zip'],
12
13
  }
13
14
 
14
15
  export const ASSET_TYPE_LABELS: Record<AssetType, string> = {
@@ -18,4 +19,5 @@ export const ASSET_TYPE_LABELS: Record<AssetType, string> = {
18
19
  'humanoid-animation': 'Humanoid Animation',
19
20
  template: 'Template',
20
21
  'sound-effect': 'Sound Effect',
22
+ environment: 'Environment',
21
23
  }
package/src/schemas.ts CHANGED
@@ -7,6 +7,7 @@ export const ASSET_TYPES = [
7
7
  'humanoid-animation',
8
8
  'template',
9
9
  'sound-effect',
10
+ 'environment',
10
11
  ] as const
11
12
  export type AssetType = (typeof ASSET_TYPES)[number]
12
13
 
package/src/skill.ts CHANGED
@@ -18,13 +18,14 @@ 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\`, or \`sound-effect\`.
21
+ 2. Search requires \`--type\`; use \`model\` unless the user names another supported type: \`humanoid-model\`, \`texture\`, \`humanoid-animation\`, \`template\`, \`sound-effect\`, 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
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
+ 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.
28
29
 
29
30
  ## Output
30
31