@drawcall/design 0.5.11 → 0.5.12
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 +1 -1
- package/dist/auth.d.ts +3 -0
- package/dist/auth.js +29 -0
- package/dist/cli.js +2 -2
- package/dist/command.d.ts +0 -1
- package/dist/command.js +1 -35
- package/dist/options.d.ts +2 -0
- package/dist/options.js +4 -0
- package/dist/project-state.d.ts +6 -6
- package/dist/standalone.d.ts +3 -0
- package/dist/standalone.js +7 -0
- package/dist/v1/contract.d.ts +13 -13
- package/dist/v1/schemas.d.ts +8 -8
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -40,7 +40,7 @@ The Commander implementation is available for aggregate CLIs:
|
|
|
40
40
|
```ts
|
|
41
41
|
import { createDesignCommand } from "@drawcall/design";
|
|
42
42
|
|
|
43
|
-
program.addCommand(createDesignCommand(
|
|
43
|
+
program.addCommand(createDesignCommand());
|
|
44
44
|
```
|
|
45
45
|
|
|
46
46
|
The MCP tools can be mounted into a server owned by another package:
|
package/dist/auth.d.ts
ADDED
package/dist/auth.js
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { getConfigPath as getAuthConfigPath, runDeviceLogin, saveAuthToken, signOut, } from "@drawcall/auth";
|
|
2
|
+
import { Command } from "commander";
|
|
3
|
+
import { clearConfig, saveConfig } from "./config.js";
|
|
4
|
+
import { apiOption } from "./options.js";
|
|
5
|
+
import { createClient, DEFAULT_BASE_URL } from "./v1/client.js";
|
|
6
|
+
export function createLoginCommand() {
|
|
7
|
+
return new Command("login")
|
|
8
|
+
.description("Sign in with your Drawcall account")
|
|
9
|
+
.action(async (_options, command) => {
|
|
10
|
+
const baseUrlOverride = apiOption(command);
|
|
11
|
+
const baseUrl = baseUrlOverride ?? DEFAULT_BASE_URL;
|
|
12
|
+
const token = await runDeviceLogin();
|
|
13
|
+
const client = createClient({ baseUrl, authToken: token });
|
|
14
|
+
const user = await client.user.me();
|
|
15
|
+
if (baseUrlOverride)
|
|
16
|
+
await saveConfig({ baseUrl });
|
|
17
|
+
else
|
|
18
|
+
await clearConfig();
|
|
19
|
+
await saveAuthToken(token);
|
|
20
|
+
console.log(`Signed in as ${user.email}. Credentials saved to ${getAuthConfigPath()}.`);
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
export function createLogoutCommand() {
|
|
24
|
+
return new Command("logout").description("Sign out").action(async () => {
|
|
25
|
+
const authExisted = await signOut();
|
|
26
|
+
const configExisted = await clearConfig();
|
|
27
|
+
console.log(authExisted || configExisted ? "Signed out." : "Already signed out.");
|
|
28
|
+
});
|
|
29
|
+
}
|
package/dist/cli.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
3
|
-
const program =
|
|
2
|
+
import { createDesignCli } from "./standalone.js";
|
|
3
|
+
const program = createDesignCli();
|
|
4
4
|
if (process.argv.length <= 2) {
|
|
5
5
|
program.outputHelp();
|
|
6
6
|
}
|
package/dist/command.d.ts
CHANGED
package/dist/command.js
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { createRequire } from "node:module";
|
|
2
|
-
import { getConfigPath as getAuthConfigPath, runDeviceLogin, saveAuthToken, signOut, } from "@drawcall/auth";
|
|
3
2
|
import { Command, Option } from "commander";
|
|
4
|
-
import { clearConfig, saveConfig } from "./config.js";
|
|
5
3
|
import { getCliClient } from "./cli-client.js";
|
|
6
4
|
import { readImageInput } from "./image.js";
|
|
5
|
+
import { apiOption } from "./options.js";
|
|
7
6
|
import { cliDesignSkill } from "./skill.generated.js";
|
|
8
7
|
import { parseFrameSize } from "./target.js";
|
|
9
|
-
import { createClient, DEFAULT_BASE_URL } from "./v1/client.js";
|
|
10
8
|
import { designIdSchema, marketAssetSchema } from "./v1/schemas.js";
|
|
11
9
|
export function createDesignCommand(options = {}) {
|
|
12
10
|
const program = new Command()
|
|
@@ -21,8 +19,6 @@ export function createDesignCommand(options = {}) {
|
|
|
21
19
|
.action(() => {
|
|
22
20
|
process.stdout.write(cliDesignSkill);
|
|
23
21
|
});
|
|
24
|
-
if (options.includeAuthCommands ?? true)
|
|
25
|
-
addAuthCommands(program);
|
|
26
22
|
const project = program.command("project").description("Manage projects");
|
|
27
23
|
project
|
|
28
24
|
.command("list")
|
|
@@ -204,32 +200,6 @@ export function createDesignCommand(options = {}) {
|
|
|
204
200
|
});
|
|
205
201
|
return program;
|
|
206
202
|
}
|
|
207
|
-
function addAuthCommands(program) {
|
|
208
|
-
program
|
|
209
|
-
.command("login")
|
|
210
|
-
.description("Sign in with your Drawcall account")
|
|
211
|
-
.action(async (_options, command) => {
|
|
212
|
-
const baseUrlOverride = apiOption(command);
|
|
213
|
-
const baseUrl = baseUrlOverride ?? DEFAULT_BASE_URL;
|
|
214
|
-
const token = await runDeviceLogin();
|
|
215
|
-
const client = createClient({ baseUrl, authToken: token });
|
|
216
|
-
const user = await client.user.me();
|
|
217
|
-
if (baseUrlOverride)
|
|
218
|
-
await saveConfig({ baseUrl });
|
|
219
|
-
else
|
|
220
|
-
await clearConfig();
|
|
221
|
-
await saveAuthToken(token);
|
|
222
|
-
console.log(`Signed in as ${user.email}. Credentials saved to ${getAuthConfigPath()}.`);
|
|
223
|
-
});
|
|
224
|
-
program
|
|
225
|
-
.command("logout")
|
|
226
|
-
.description("Sign out")
|
|
227
|
-
.action(async () => {
|
|
228
|
-
const authExisted = await signOut();
|
|
229
|
-
const configExisted = await clearConfig();
|
|
230
|
-
console.log(authExisted || configExisted ? "Signed out." : "Already signed out.");
|
|
231
|
-
});
|
|
232
|
-
}
|
|
233
203
|
async function createFrameInput(project, name, options) {
|
|
234
204
|
if (options.type === "glts") {
|
|
235
205
|
if (options.image !== undefined || options.asset !== undefined) {
|
|
@@ -276,10 +246,6 @@ async function createFrameInput(project, name, options) {
|
|
|
276
246
|
async function clientFor(command) {
|
|
277
247
|
return getCliClient(apiOption(command));
|
|
278
248
|
}
|
|
279
|
-
function apiOption(command) {
|
|
280
|
-
const value = command.optsWithGlobals().api;
|
|
281
|
-
return typeof value === "string" ? value : undefined;
|
|
282
|
-
}
|
|
283
249
|
function projectId(command) {
|
|
284
250
|
const value = command.optsWithGlobals().project;
|
|
285
251
|
if (typeof value !== "string") {
|
package/dist/options.js
ADDED
package/dist/project-state.d.ts
CHANGED
|
@@ -65,8 +65,8 @@ export declare const projectImageFrameRecordSchema: z.ZodObject<{
|
|
|
65
65
|
frameUpdatedAt: z.ZodString;
|
|
66
66
|
}, z.core.$strip>>;
|
|
67
67
|
result: z.ZodEnum<{
|
|
68
|
-
new: "new";
|
|
69
68
|
replace: "replace";
|
|
69
|
+
new: "new";
|
|
70
70
|
}>;
|
|
71
71
|
provider: z.ZodLiteral<"fal-ai">;
|
|
72
72
|
model: z.ZodLiteral<"openai/gpt-image-2">;
|
|
@@ -82,8 +82,8 @@ export declare const projectImageFrameRecordSchema: z.ZodObject<{
|
|
|
82
82
|
frameUpdatedAt: z.ZodString;
|
|
83
83
|
}, z.core.$strip>>;
|
|
84
84
|
result: z.ZodEnum<{
|
|
85
|
-
new: "new";
|
|
86
85
|
replace: "replace";
|
|
86
|
+
new: "new";
|
|
87
87
|
}>;
|
|
88
88
|
provider: z.ZodLiteral<"cloudflare-workers-ai">;
|
|
89
89
|
model: z.ZodLiteral<"@cf/black-forest-labs/flux-2-klein-4b">;
|
|
@@ -177,8 +177,8 @@ export declare const projectFrameRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
177
177
|
frameUpdatedAt: z.ZodString;
|
|
178
178
|
}, z.core.$strip>>;
|
|
179
179
|
result: z.ZodEnum<{
|
|
180
|
-
new: "new";
|
|
181
180
|
replace: "replace";
|
|
181
|
+
new: "new";
|
|
182
182
|
}>;
|
|
183
183
|
provider: z.ZodLiteral<"fal-ai">;
|
|
184
184
|
model: z.ZodLiteral<"openai/gpt-image-2">;
|
|
@@ -194,8 +194,8 @@ export declare const projectFrameRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
194
194
|
frameUpdatedAt: z.ZodString;
|
|
195
195
|
}, z.core.$strip>>;
|
|
196
196
|
result: z.ZodEnum<{
|
|
197
|
-
new: "new";
|
|
198
197
|
replace: "replace";
|
|
198
|
+
new: "new";
|
|
199
199
|
}>;
|
|
200
200
|
provider: z.ZodLiteral<"cloudflare-workers-ai">;
|
|
201
201
|
model: z.ZodLiteral<"@cf/black-forest-labs/flux-2-klein-4b">;
|
|
@@ -287,8 +287,8 @@ export declare const projectStateSchema: z.ZodObject<{
|
|
|
287
287
|
frameUpdatedAt: z.ZodString;
|
|
288
288
|
}, z.core.$strip>>;
|
|
289
289
|
result: z.ZodEnum<{
|
|
290
|
-
new: "new";
|
|
291
290
|
replace: "replace";
|
|
291
|
+
new: "new";
|
|
292
292
|
}>;
|
|
293
293
|
provider: z.ZodLiteral<"fal-ai">;
|
|
294
294
|
model: z.ZodLiteral<"openai/gpt-image-2">;
|
|
@@ -304,8 +304,8 @@ export declare const projectStateSchema: z.ZodObject<{
|
|
|
304
304
|
frameUpdatedAt: z.ZodString;
|
|
305
305
|
}, z.core.$strip>>;
|
|
306
306
|
result: z.ZodEnum<{
|
|
307
|
-
new: "new";
|
|
308
307
|
replace: "replace";
|
|
308
|
+
new: "new";
|
|
309
309
|
}>;
|
|
310
310
|
provider: z.ZodLiteral<"cloudflare-workers-ai">;
|
|
311
311
|
model: z.ZodLiteral<"@cf/black-forest-labs/flux-2-klein-4b">;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { createLoginCommand, createLogoutCommand } from "./auth.js";
|
|
2
|
+
import { createDesignCommand } from "./command.js";
|
|
3
|
+
export function createDesignCli(options = {}) {
|
|
4
|
+
return createDesignCommand(options)
|
|
5
|
+
.addCommand(createLoginCommand())
|
|
6
|
+
.addCommand(createLogoutCommand());
|
|
7
|
+
}
|
package/dist/v1/contract.d.ts
CHANGED
|
@@ -154,8 +154,8 @@ export declare const contract: {
|
|
|
154
154
|
frameUpdatedAt: z.ZodString;
|
|
155
155
|
}, z.core.$strip>>;
|
|
156
156
|
result: z.ZodEnum<{
|
|
157
|
-
new: "new";
|
|
158
157
|
replace: "replace";
|
|
158
|
+
new: "new";
|
|
159
159
|
}>;
|
|
160
160
|
provider: z.ZodLiteral<"fal-ai">;
|
|
161
161
|
model: z.ZodLiteral<"openai/gpt-image-2">;
|
|
@@ -171,8 +171,8 @@ export declare const contract: {
|
|
|
171
171
|
frameUpdatedAt: z.ZodString;
|
|
172
172
|
}, z.core.$strip>>;
|
|
173
173
|
result: z.ZodEnum<{
|
|
174
|
-
new: "new";
|
|
175
174
|
replace: "replace";
|
|
175
|
+
new: "new";
|
|
176
176
|
}>;
|
|
177
177
|
provider: z.ZodLiteral<"cloudflare-workers-ai">;
|
|
178
178
|
model: z.ZodLiteral<"@cf/black-forest-labs/flux-2-klein-4b">;
|
|
@@ -264,8 +264,8 @@ export declare const contract: {
|
|
|
264
264
|
frameUpdatedAt: z.ZodString;
|
|
265
265
|
}, z.core.$strip>>;
|
|
266
266
|
result: z.ZodEnum<{
|
|
267
|
-
new: "new";
|
|
268
267
|
replace: "replace";
|
|
268
|
+
new: "new";
|
|
269
269
|
}>;
|
|
270
270
|
provider: z.ZodLiteral<"fal-ai">;
|
|
271
271
|
model: z.ZodLiteral<"openai/gpt-image-2">;
|
|
@@ -281,8 +281,8 @@ export declare const contract: {
|
|
|
281
281
|
frameUpdatedAt: z.ZodString;
|
|
282
282
|
}, z.core.$strip>>;
|
|
283
283
|
result: z.ZodEnum<{
|
|
284
|
-
new: "new";
|
|
285
284
|
replace: "replace";
|
|
285
|
+
new: "new";
|
|
286
286
|
}>;
|
|
287
287
|
provider: z.ZodLiteral<"cloudflare-workers-ai">;
|
|
288
288
|
model: z.ZodLiteral<"@cf/black-forest-labs/flux-2-klein-4b">;
|
|
@@ -311,8 +311,8 @@ export declare const contract: {
|
|
|
311
311
|
target: z.ZodOptional<z.ZodString>;
|
|
312
312
|
references: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
313
313
|
result: z.ZodEnum<{
|
|
314
|
-
new: "new";
|
|
315
314
|
replace: "replace";
|
|
315
|
+
new: "new";
|
|
316
316
|
}>;
|
|
317
317
|
name: z.ZodOptional<z.ZodString>;
|
|
318
318
|
x: z.ZodOptional<z.ZodNumber>;
|
|
@@ -368,8 +368,8 @@ export declare const contract: {
|
|
|
368
368
|
frameUpdatedAt: z.ZodString;
|
|
369
369
|
}, z.core.$strip>>;
|
|
370
370
|
result: z.ZodEnum<{
|
|
371
|
-
new: "new";
|
|
372
371
|
replace: "replace";
|
|
372
|
+
new: "new";
|
|
373
373
|
}>;
|
|
374
374
|
provider: z.ZodLiteral<"fal-ai">;
|
|
375
375
|
model: z.ZodLiteral<"openai/gpt-image-2">;
|
|
@@ -385,8 +385,8 @@ export declare const contract: {
|
|
|
385
385
|
frameUpdatedAt: z.ZodString;
|
|
386
386
|
}, z.core.$strip>>;
|
|
387
387
|
result: z.ZodEnum<{
|
|
388
|
-
new: "new";
|
|
389
388
|
replace: "replace";
|
|
389
|
+
new: "new";
|
|
390
390
|
}>;
|
|
391
391
|
provider: z.ZodLiteral<"cloudflare-workers-ai">;
|
|
392
392
|
model: z.ZodLiteral<"@cf/black-forest-labs/flux-2-klein-4b">;
|
|
@@ -460,8 +460,8 @@ export declare const contract: {
|
|
|
460
460
|
frameUpdatedAt: z.ZodString;
|
|
461
461
|
}, z.core.$strip>>;
|
|
462
462
|
result: z.ZodEnum<{
|
|
463
|
-
new: "new";
|
|
464
463
|
replace: "replace";
|
|
464
|
+
new: "new";
|
|
465
465
|
}>;
|
|
466
466
|
provider: z.ZodLiteral<"fal-ai">;
|
|
467
467
|
model: z.ZodLiteral<"openai/gpt-image-2">;
|
|
@@ -477,8 +477,8 @@ export declare const contract: {
|
|
|
477
477
|
frameUpdatedAt: z.ZodString;
|
|
478
478
|
}, z.core.$strip>>;
|
|
479
479
|
result: z.ZodEnum<{
|
|
480
|
-
new: "new";
|
|
481
480
|
replace: "replace";
|
|
481
|
+
new: "new";
|
|
482
482
|
}>;
|
|
483
483
|
provider: z.ZodLiteral<"cloudflare-workers-ai">;
|
|
484
484
|
model: z.ZodLiteral<"@cf/black-forest-labs/flux-2-klein-4b">;
|
|
@@ -566,8 +566,8 @@ export declare const contract: {
|
|
|
566
566
|
frameUpdatedAt: z.ZodString;
|
|
567
567
|
}, z.core.$strip>>;
|
|
568
568
|
result: z.ZodEnum<{
|
|
569
|
-
new: "new";
|
|
570
569
|
replace: "replace";
|
|
570
|
+
new: "new";
|
|
571
571
|
}>;
|
|
572
572
|
provider: z.ZodLiteral<"fal-ai">;
|
|
573
573
|
model: z.ZodLiteral<"openai/gpt-image-2">;
|
|
@@ -583,8 +583,8 @@ export declare const contract: {
|
|
|
583
583
|
frameUpdatedAt: z.ZodString;
|
|
584
584
|
}, z.core.$strip>>;
|
|
585
585
|
result: z.ZodEnum<{
|
|
586
|
-
new: "new";
|
|
587
586
|
replace: "replace";
|
|
587
|
+
new: "new";
|
|
588
588
|
}>;
|
|
589
589
|
provider: z.ZodLiteral<"cloudflare-workers-ai">;
|
|
590
590
|
model: z.ZodLiteral<"@cf/black-forest-labs/flux-2-klein-4b">;
|
|
@@ -661,8 +661,8 @@ export declare const contract: {
|
|
|
661
661
|
frameUpdatedAt: z.ZodString;
|
|
662
662
|
}, z.core.$strip>>;
|
|
663
663
|
result: z.ZodEnum<{
|
|
664
|
-
new: "new";
|
|
665
664
|
replace: "replace";
|
|
665
|
+
new: "new";
|
|
666
666
|
}>;
|
|
667
667
|
provider: z.ZodLiteral<"fal-ai">;
|
|
668
668
|
model: z.ZodLiteral<"openai/gpt-image-2">;
|
|
@@ -678,8 +678,8 @@ export declare const contract: {
|
|
|
678
678
|
frameUpdatedAt: z.ZodString;
|
|
679
679
|
}, z.core.$strip>>;
|
|
680
680
|
result: z.ZodEnum<{
|
|
681
|
-
new: "new";
|
|
682
681
|
replace: "replace";
|
|
682
|
+
new: "new";
|
|
683
683
|
}>;
|
|
684
684
|
provider: z.ZodLiteral<"cloudflare-workers-ai">;
|
|
685
685
|
model: z.ZodLiteral<"@cf/black-forest-labs/flux-2-klein-4b">;
|
package/dist/v1/schemas.d.ts
CHANGED
|
@@ -97,8 +97,8 @@ export declare const imageGenerationOperationSchema: z.ZodEnum<{
|
|
|
97
97
|
edit: "edit";
|
|
98
98
|
}>;
|
|
99
99
|
export declare const imageGenerationResultSchema: z.ZodEnum<{
|
|
100
|
-
new: "new";
|
|
101
100
|
replace: "replace";
|
|
101
|
+
new: "new";
|
|
102
102
|
}>;
|
|
103
103
|
export declare const imageGenerationReferenceSchema: z.ZodObject<{
|
|
104
104
|
frameId: z.ZodString;
|
|
@@ -120,8 +120,8 @@ export declare const imageGenerationProvenanceSchema: z.ZodDiscriminatedUnion<[z
|
|
|
120
120
|
frameUpdatedAt: z.ZodString;
|
|
121
121
|
}, z.core.$strip>>;
|
|
122
122
|
result: z.ZodEnum<{
|
|
123
|
-
new: "new";
|
|
124
123
|
replace: "replace";
|
|
124
|
+
new: "new";
|
|
125
125
|
}>;
|
|
126
126
|
provider: z.ZodLiteral<"fal-ai">;
|
|
127
127
|
model: z.ZodLiteral<"openai/gpt-image-2">;
|
|
@@ -137,8 +137,8 @@ export declare const imageGenerationProvenanceSchema: z.ZodDiscriminatedUnion<[z
|
|
|
137
137
|
frameUpdatedAt: z.ZodString;
|
|
138
138
|
}, z.core.$strip>>;
|
|
139
139
|
result: z.ZodEnum<{
|
|
140
|
-
new: "new";
|
|
141
140
|
replace: "replace";
|
|
141
|
+
new: "new";
|
|
142
142
|
}>;
|
|
143
143
|
provider: z.ZodLiteral<"cloudflare-workers-ai">;
|
|
144
144
|
model: z.ZodLiteral<"@cf/black-forest-labs/flux-2-klein-4b">;
|
|
@@ -168,8 +168,8 @@ export declare const imageFrameSchema: z.ZodObject<{
|
|
|
168
168
|
frameUpdatedAt: z.ZodString;
|
|
169
169
|
}, z.core.$strip>>;
|
|
170
170
|
result: z.ZodEnum<{
|
|
171
|
-
new: "new";
|
|
172
171
|
replace: "replace";
|
|
172
|
+
new: "new";
|
|
173
173
|
}>;
|
|
174
174
|
provider: z.ZodLiteral<"fal-ai">;
|
|
175
175
|
model: z.ZodLiteral<"openai/gpt-image-2">;
|
|
@@ -185,8 +185,8 @@ export declare const imageFrameSchema: z.ZodObject<{
|
|
|
185
185
|
frameUpdatedAt: z.ZodString;
|
|
186
186
|
}, z.core.$strip>>;
|
|
187
187
|
result: z.ZodEnum<{
|
|
188
|
-
new: "new";
|
|
189
188
|
replace: "replace";
|
|
189
|
+
new: "new";
|
|
190
190
|
}>;
|
|
191
191
|
provider: z.ZodLiteral<"cloudflare-workers-ai">;
|
|
192
192
|
model: z.ZodLiteral<"@cf/black-forest-labs/flux-2-klein-4b">;
|
|
@@ -257,8 +257,8 @@ export declare const frameSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
257
257
|
frameUpdatedAt: z.ZodString;
|
|
258
258
|
}, z.core.$strip>>;
|
|
259
259
|
result: z.ZodEnum<{
|
|
260
|
-
new: "new";
|
|
261
260
|
replace: "replace";
|
|
261
|
+
new: "new";
|
|
262
262
|
}>;
|
|
263
263
|
provider: z.ZodLiteral<"fal-ai">;
|
|
264
264
|
model: z.ZodLiteral<"openai/gpt-image-2">;
|
|
@@ -274,8 +274,8 @@ export declare const frameSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
274
274
|
frameUpdatedAt: z.ZodString;
|
|
275
275
|
}, z.core.$strip>>;
|
|
276
276
|
result: z.ZodEnum<{
|
|
277
|
-
new: "new";
|
|
278
277
|
replace: "replace";
|
|
278
|
+
new: "new";
|
|
279
279
|
}>;
|
|
280
280
|
provider: z.ZodLiteral<"cloudflare-workers-ai">;
|
|
281
281
|
model: z.ZodLiteral<"@cf/black-forest-labs/flux-2-klein-4b">;
|
|
@@ -352,8 +352,8 @@ export declare const generateImageFrameSchema: z.ZodObject<{
|
|
|
352
352
|
target: z.ZodOptional<z.ZodString>;
|
|
353
353
|
references: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
354
354
|
result: z.ZodEnum<{
|
|
355
|
-
new: "new";
|
|
356
355
|
replace: "replace";
|
|
356
|
+
new: "new";
|
|
357
357
|
}>;
|
|
358
358
|
name: z.ZodOptional<z.ZodString>;
|
|
359
359
|
x: z.ZodOptional<z.ZodNumber>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@drawcall/design",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.12",
|
|
4
4
|
"description": "Typed API and remote CLI for Drawcall Design",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"skills"
|
|
17
17
|
],
|
|
18
18
|
"bin": {
|
|
19
|
-
"design": "
|
|
19
|
+
"design": "dist/cli.js"
|
|
20
20
|
},
|
|
21
21
|
"scripts": {
|
|
22
22
|
"generate": "node scripts/generate-skill.mjs",
|