vibes-diy 14.3.349 → 14.3.351
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/cli/cmd-evento.d.ts +295 -295
- package/cli/cmds/run/backend-worker/run-backend-entry.js +73 -33
- package/cli/cmds/run/bundle-inputs.json +2 -0
- package/cli/cmds/run/run-bundle.js +3496 -3447
- package/package.json +8 -8
package/cli/cmd-evento.d.ts
CHANGED
|
@@ -21,91 +21,174 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
21
21
|
type: "core-cli.res-device-id-register";
|
|
22
22
|
output: string;
|
|
23
23
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
24
|
-
type: "
|
|
24
|
+
type: "vibes-diy.cli.variety";
|
|
25
25
|
}, {
|
|
26
|
-
type: "
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
type: "vibes-diy.cli.res-variety-list";
|
|
27
|
+
grammar: string;
|
|
28
|
+
flourishCount: number;
|
|
29
|
+
archetypes: {
|
|
30
|
+
id: string;
|
|
31
|
+
guidance: string;
|
|
32
|
+
}[];
|
|
33
|
+
flourishes: {
|
|
34
|
+
id: string;
|
|
35
|
+
guidance: string;
|
|
30
36
|
}[];
|
|
31
|
-
} | {
|
|
32
|
-
type: "use-vibes.cli.res-theme-content";
|
|
33
|
-
slug: string;
|
|
34
|
-
content: string;
|
|
35
37
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
36
|
-
type: "vibes-diy.cli.
|
|
38
|
+
type: "vibes-diy.cli.put-asset";
|
|
39
|
+
file: string;
|
|
40
|
+
appSlug: string;
|
|
41
|
+
ownerHandle: string;
|
|
37
42
|
apiUrl: string;
|
|
43
|
+
mimeType: string;
|
|
44
|
+
verifyFetch: boolean;
|
|
45
|
+
}, {
|
|
46
|
+
type: "vibes-diy.cli.res-put-asset";
|
|
47
|
+
cid: string;
|
|
48
|
+
getURL: string;
|
|
49
|
+
size: number;
|
|
50
|
+
uploadId: string;
|
|
51
|
+
verified?: boolean | undefined;
|
|
52
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
53
|
+
type: "vibes-diy.cli.generate";
|
|
54
|
+
prompt: string;
|
|
38
55
|
appSlug: string;
|
|
39
56
|
ownerHandle: string;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
57
|
+
instantJoin?: boolean | undefined;
|
|
58
|
+
noAccessFn?: boolean | undefined;
|
|
59
|
+
privateMode?: boolean | undefined;
|
|
60
|
+
verbose: boolean;
|
|
61
|
+
apiUrl: string;
|
|
62
|
+
focusPath?: string | undefined;
|
|
63
|
+
model?: string | undefined;
|
|
64
|
+
builderModel?: string | undefined;
|
|
65
|
+
apiKey?: string | undefined;
|
|
66
|
+
variety?: string | undefined;
|
|
67
|
+
record?: string | undefined;
|
|
68
|
+
style?: string | undefined;
|
|
69
|
+
fastPass?: boolean | undefined;
|
|
44
70
|
}, {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
71
|
+
appSlug: string;
|
|
72
|
+
ownerHandle: string;
|
|
73
|
+
mode: "dev" | "production";
|
|
74
|
+
fsId: string;
|
|
75
|
+
type: "vibes.diy.res-ensure-app-slug";
|
|
76
|
+
env: Record<string, string>;
|
|
77
|
+
fileSystem: {
|
|
78
|
+
fileName: string;
|
|
79
|
+
mimeType: string;
|
|
80
|
+
assetId: string;
|
|
81
|
+
assetURI: string;
|
|
82
|
+
transform?: {
|
|
83
|
+
type: "jsx-to-js";
|
|
84
|
+
transformedAssetId: string;
|
|
85
|
+
} | {
|
|
86
|
+
type: "imports";
|
|
87
|
+
importMapAssetId: string;
|
|
88
|
+
} | {
|
|
89
|
+
type: "import-map";
|
|
90
|
+
fromAssetIds: string[];
|
|
91
|
+
} | {
|
|
92
|
+
type: "transformed";
|
|
93
|
+
action: "jsx-to-js";
|
|
94
|
+
transformedAssetId: string;
|
|
95
|
+
} | {
|
|
96
|
+
type: "tailwind-css";
|
|
97
|
+
} | undefined;
|
|
98
|
+
entryPoint?: boolean | undefined;
|
|
99
|
+
size: number;
|
|
100
|
+
kind?: "asset" | undefined;
|
|
101
|
+
uploadId?: string | undefined;
|
|
102
|
+
}[];
|
|
103
|
+
autoEnhanceOff?: true | undefined;
|
|
104
|
+
appCreated?: true | undefined;
|
|
105
|
+
} | {
|
|
106
|
+
type: "vibes.diy.res-error";
|
|
107
|
+
error: {
|
|
108
|
+
message: string;
|
|
109
|
+
code: "require-login";
|
|
110
|
+
};
|
|
111
|
+
} | {
|
|
112
|
+
type: "vibes.diy.res-error";
|
|
113
|
+
error: {
|
|
114
|
+
message: string;
|
|
115
|
+
code: "user-slug-invalid";
|
|
116
|
+
};
|
|
117
|
+
} | {
|
|
118
|
+
type: "vibes.diy.res-error";
|
|
119
|
+
error: {
|
|
120
|
+
message: string;
|
|
121
|
+
code: "app-slug-invalid";
|
|
48
122
|
};
|
|
123
|
+
} | {
|
|
124
|
+
type: "vibes.diy.res-error";
|
|
125
|
+
error: {
|
|
126
|
+
message: string;
|
|
127
|
+
code: "max-app-slugs-reached";
|
|
128
|
+
};
|
|
129
|
+
} | {
|
|
130
|
+
type: "vibes.diy.res-error";
|
|
131
|
+
error: {
|
|
132
|
+
message: string;
|
|
133
|
+
code: "handle-required";
|
|
134
|
+
};
|
|
135
|
+
} | {
|
|
136
|
+
type: "vibes.diy.res-error";
|
|
137
|
+
error: {
|
|
138
|
+
message: string;
|
|
139
|
+
code: "from-not-owned";
|
|
140
|
+
};
|
|
141
|
+
} | {
|
|
142
|
+
type: "vibes.diy.res-error";
|
|
143
|
+
error: {
|
|
144
|
+
message: string;
|
|
145
|
+
code: "from-carry-failed";
|
|
146
|
+
};
|
|
147
|
+
} | {
|
|
148
|
+
type: "vibes.diy.res-error";
|
|
149
|
+
error: {
|
|
150
|
+
message: string;
|
|
151
|
+
code: "auto-enhance-off";
|
|
152
|
+
};
|
|
153
|
+
} | {
|
|
154
|
+
type: "vibes-diy.cli.res-generate";
|
|
155
|
+
appSlug: string;
|
|
156
|
+
ownerHandle: string;
|
|
157
|
+
url: string;
|
|
158
|
+
directory: string;
|
|
159
|
+
release?: "not-visible" | "published" | "version-locked" | undefined;
|
|
160
|
+
turns?: number | undefined;
|
|
161
|
+
publish?: "kept-private-no-access-fn" | "private" | "published" | undefined;
|
|
162
|
+
posture?: "gated" | "open" | "private" | undefined;
|
|
49
163
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
50
|
-
type: "vibes-diy.cli.db.
|
|
164
|
+
type: "vibes-diy.cli.db.query";
|
|
51
165
|
apiUrl: string;
|
|
52
166
|
appSlug: string;
|
|
53
167
|
ownerHandle: string;
|
|
54
168
|
dbName: string;
|
|
55
|
-
|
|
169
|
+
field: string;
|
|
170
|
+
key: string;
|
|
171
|
+
prefix: string;
|
|
172
|
+
range: string;
|
|
173
|
+
limit: number;
|
|
174
|
+
descending: boolean;
|
|
56
175
|
admin: boolean;
|
|
57
176
|
actingHandle: string;
|
|
58
177
|
}, {
|
|
59
|
-
type: "vibes-diy.cli.db.
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
63
|
-
type: "vibes-diy.cli.db.seed";
|
|
64
|
-
action: "add" | "remove";
|
|
65
|
-
apiUrl: string;
|
|
66
|
-
appSlug: string;
|
|
67
|
-
ownerHandle: string;
|
|
68
|
-
}, {
|
|
69
|
-
type: "vibes-diy.cli.db.seed-res";
|
|
70
|
-
action: "add" | "remove";
|
|
71
|
-
appSlug: string;
|
|
72
|
-
ownerHandle: string;
|
|
73
|
-
seedFile: "absent" | "invalid" | "present" | "unknown";
|
|
74
|
-
changed: number;
|
|
75
|
-
skipped: number;
|
|
76
|
-
failed: number;
|
|
77
|
-
perDb: {
|
|
78
|
-
dbName: string;
|
|
79
|
-
changed: number;
|
|
80
|
-
skipped: number;
|
|
81
|
-
failed: number;
|
|
178
|
+
type: "vibes-diy.cli.db.query-res";
|
|
179
|
+
docs: {
|
|
180
|
+
[x: string]: unknown;
|
|
82
181
|
}[];
|
|
83
182
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
84
|
-
type: "vibes-diy.cli.
|
|
183
|
+
type: "vibes-diy.cli.whoami";
|
|
85
184
|
apiUrl: string;
|
|
86
185
|
}, {
|
|
87
|
-
type: "vibes-diy.cli.res-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
deviceOk: boolean;
|
|
94
|
-
fingerprint?: string | undefined;
|
|
95
|
-
certExpires?: string | undefined;
|
|
96
|
-
apiUrl: string;
|
|
97
|
-
wsUrl: string;
|
|
98
|
-
proxy: string;
|
|
99
|
-
handshake: {
|
|
100
|
-
ok: boolean;
|
|
101
|
-
detail: string;
|
|
102
|
-
ms?: number | undefined;
|
|
103
|
-
};
|
|
104
|
-
auth?: {
|
|
105
|
-
ok: boolean;
|
|
106
|
-
detail: string;
|
|
107
|
-
ms?: number | undefined;
|
|
108
|
-
} | undefined;
|
|
186
|
+
type: "vibes-diy.cli.res-whoami";
|
|
187
|
+
authenticated: boolean;
|
|
188
|
+
userId?: string | undefined;
|
|
189
|
+
defaultHandle?: string | undefined;
|
|
190
|
+
handles: string[];
|
|
191
|
+
detail?: string | undefined;
|
|
109
192
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
110
193
|
type: "vibes-diy.cli.app-status";
|
|
111
194
|
appSlug: string;
|
|
@@ -247,6 +330,53 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
247
330
|
type: "vibes.diy.res-ensure-user-settings";
|
|
248
331
|
userId: string;
|
|
249
332
|
settings: ({
|
|
333
|
+
type: "notifications";
|
|
334
|
+
buildComplete?: boolean | undefined;
|
|
335
|
+
buildFailed?: boolean | undefined;
|
|
336
|
+
vibePublished?: boolean | undefined;
|
|
337
|
+
commentPosted?: boolean | undefined;
|
|
338
|
+
requestApproved?: boolean | undefined;
|
|
339
|
+
requestRevoked?: boolean | undefined;
|
|
340
|
+
vibeRemixed?: boolean | undefined;
|
|
341
|
+
dmReceived?: boolean | undefined;
|
|
342
|
+
memberJoined?: boolean | undefined;
|
|
343
|
+
accessRequested?: boolean | undefined;
|
|
344
|
+
emailDigest?: boolean | undefined;
|
|
345
|
+
retentionEmail?: boolean | undefined;
|
|
346
|
+
followRequest?: boolean | undefined;
|
|
347
|
+
followerAdded?: boolean | undefined;
|
|
348
|
+
followApproved?: boolean | undefined;
|
|
349
|
+
appMessage?: boolean | undefined;
|
|
350
|
+
connectionExpiring?: boolean | undefined;
|
|
351
|
+
assetBlocked?: boolean | undefined;
|
|
352
|
+
assetCheckFailed?: boolean | undefined;
|
|
353
|
+
checkoutUnfinished?: boolean | undefined;
|
|
354
|
+
safetyAlert?: boolean | undefined;
|
|
355
|
+
reminder?: boolean | undefined;
|
|
356
|
+
emailInstant?: boolean | undefined;
|
|
357
|
+
mutes?: {
|
|
358
|
+
vibes?: string[] | undefined;
|
|
359
|
+
handles?: string[] | undefined;
|
|
360
|
+
} | undefined;
|
|
361
|
+
vibeTypes?: {
|
|
362
|
+
vibe: string;
|
|
363
|
+
buildComplete?: boolean | undefined;
|
|
364
|
+
buildFailed?: boolean | undefined;
|
|
365
|
+
vibePublished?: boolean | undefined;
|
|
366
|
+
commentPosted?: boolean | undefined;
|
|
367
|
+
requestApproved?: boolean | undefined;
|
|
368
|
+
requestRevoked?: boolean | undefined;
|
|
369
|
+
vibeRemixed?: boolean | undefined;
|
|
370
|
+
memberJoined?: boolean | undefined;
|
|
371
|
+
accessRequested?: boolean | undefined;
|
|
372
|
+
appMessage?: boolean | undefined;
|
|
373
|
+
assetBlocked?: boolean | undefined;
|
|
374
|
+
assetCheckFailed?: boolean | undefined;
|
|
375
|
+
}[] | undefined;
|
|
376
|
+
agent?: {
|
|
377
|
+
hiddenVibes?: string[] | undefined;
|
|
378
|
+
} | undefined;
|
|
379
|
+
} | {
|
|
250
380
|
type: "sharing";
|
|
251
381
|
grants: {
|
|
252
382
|
grant: "allow" | "deny";
|
|
@@ -339,78 +469,31 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
339
469
|
supports?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
340
470
|
offered?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
341
471
|
imageInput?: boolean | undefined;
|
|
342
|
-
} | undefined;
|
|
343
|
-
apiKey?: string | undefined;
|
|
344
|
-
} | undefined;
|
|
345
|
-
app?: {
|
|
346
|
-
model?: {
|
|
347
|
-
id: string;
|
|
348
|
-
name: string;
|
|
349
|
-
description: string;
|
|
350
|
-
featured?: boolean | undefined;
|
|
351
|
-
preSelected?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
352
|
-
fallbackFor?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
353
|
-
supports?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
354
|
-
offered?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
355
|
-
imageInput?: boolean | undefined;
|
|
356
|
-
} | undefined;
|
|
357
|
-
apiKey?: string | undefined;
|
|
358
|
-
} | undefined;
|
|
359
|
-
} | {
|
|
360
|
-
type: "defaultHandle";
|
|
361
|
-
ownerHandle: string;
|
|
362
|
-
} | {
|
|
363
|
-
type: "profile";
|
|
364
|
-
avatarCid?: string | undefined;
|
|
365
|
-
displayName?: string | undefined;
|
|
366
|
-
codeMode?: boolean | undefined;
|
|
367
|
-
} | {
|
|
368
|
-
type: "notifications";
|
|
369
|
-
buildComplete?: boolean | undefined;
|
|
370
|
-
buildFailed?: boolean | undefined;
|
|
371
|
-
vibePublished?: boolean | undefined;
|
|
372
|
-
commentPosted?: boolean | undefined;
|
|
373
|
-
requestApproved?: boolean | undefined;
|
|
374
|
-
requestRevoked?: boolean | undefined;
|
|
375
|
-
vibeRemixed?: boolean | undefined;
|
|
376
|
-
dmReceived?: boolean | undefined;
|
|
377
|
-
memberJoined?: boolean | undefined;
|
|
378
|
-
accessRequested?: boolean | undefined;
|
|
379
|
-
emailDigest?: boolean | undefined;
|
|
380
|
-
retentionEmail?: boolean | undefined;
|
|
381
|
-
followRequest?: boolean | undefined;
|
|
382
|
-
followerAdded?: boolean | undefined;
|
|
383
|
-
followApproved?: boolean | undefined;
|
|
384
|
-
appMessage?: boolean | undefined;
|
|
385
|
-
connectionExpiring?: boolean | undefined;
|
|
386
|
-
assetBlocked?: boolean | undefined;
|
|
387
|
-
assetCheckFailed?: boolean | undefined;
|
|
388
|
-
checkoutUnfinished?: boolean | undefined;
|
|
389
|
-
safetyAlert?: boolean | undefined;
|
|
390
|
-
reminder?: boolean | undefined;
|
|
391
|
-
emailInstant?: boolean | undefined;
|
|
392
|
-
mutes?: {
|
|
393
|
-
vibes?: string[] | undefined;
|
|
394
|
-
handles?: string[] | undefined;
|
|
395
|
-
} | undefined;
|
|
396
|
-
vibeTypes?: {
|
|
397
|
-
vibe: string;
|
|
398
|
-
buildComplete?: boolean | undefined;
|
|
399
|
-
buildFailed?: boolean | undefined;
|
|
400
|
-
vibePublished?: boolean | undefined;
|
|
401
|
-
commentPosted?: boolean | undefined;
|
|
402
|
-
requestApproved?: boolean | undefined;
|
|
403
|
-
requestRevoked?: boolean | undefined;
|
|
404
|
-
vibeRemixed?: boolean | undefined;
|
|
405
|
-
memberJoined?: boolean | undefined;
|
|
406
|
-
accessRequested?: boolean | undefined;
|
|
407
|
-
appMessage?: boolean | undefined;
|
|
408
|
-
assetBlocked?: boolean | undefined;
|
|
409
|
-
assetCheckFailed?: boolean | undefined;
|
|
410
|
-
}[] | undefined;
|
|
411
|
-
agent?: {
|
|
412
|
-
hiddenVibes?: string[] | undefined;
|
|
472
|
+
} | undefined;
|
|
473
|
+
apiKey?: string | undefined;
|
|
474
|
+
} | undefined;
|
|
475
|
+
app?: {
|
|
476
|
+
model?: {
|
|
477
|
+
id: string;
|
|
478
|
+
name: string;
|
|
479
|
+
description: string;
|
|
480
|
+
featured?: boolean | undefined;
|
|
481
|
+
preSelected?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
482
|
+
fallbackFor?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
483
|
+
supports?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
484
|
+
offered?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
485
|
+
imageInput?: boolean | undefined;
|
|
486
|
+
} | undefined;
|
|
487
|
+
apiKey?: string | undefined;
|
|
413
488
|
} | undefined;
|
|
489
|
+
} | {
|
|
490
|
+
type: "defaultHandle";
|
|
491
|
+
ownerHandle: string;
|
|
492
|
+
} | {
|
|
493
|
+
type: "profile";
|
|
494
|
+
avatarCid?: string | undefined;
|
|
495
|
+
displayName?: string | undefined;
|
|
496
|
+
codeMode?: boolean | undefined;
|
|
414
497
|
} | {
|
|
415
498
|
type: "egressStatus";
|
|
416
499
|
status: "blessed" | "blocked";
|
|
@@ -421,9 +504,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
421
504
|
email: string;
|
|
422
505
|
updatedAt: string;
|
|
423
506
|
verified?: boolean | undefined;
|
|
424
|
-
} | {
|
|
425
|
-
type: "onboarding";
|
|
426
|
-
completedAt: string;
|
|
427
507
|
} | {
|
|
428
508
|
type: "geoCountry";
|
|
429
509
|
country: string;
|
|
@@ -434,6 +514,9 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
434
514
|
[x: string]: string;
|
|
435
515
|
};
|
|
436
516
|
updatedAt: string;
|
|
517
|
+
} | {
|
|
518
|
+
type: "onboarding";
|
|
519
|
+
completedAt: string;
|
|
437
520
|
} | {
|
|
438
521
|
type: "kyc";
|
|
439
522
|
cardAt?: string | undefined;
|
|
@@ -541,19 +624,17 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
541
624
|
name: string;
|
|
542
625
|
content: string;
|
|
543
626
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
544
|
-
type: "vibes
|
|
627
|
+
type: "use-vibes.cli.themes";
|
|
545
628
|
}, {
|
|
546
|
-
type: "vibes
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
id: string;
|
|
551
|
-
guidance: string;
|
|
552
|
-
}[];
|
|
553
|
-
flourishes: {
|
|
554
|
-
id: string;
|
|
555
|
-
guidance: string;
|
|
629
|
+
type: "use-vibes.cli.res-themes-list";
|
|
630
|
+
themes: {
|
|
631
|
+
slug: string;
|
|
632
|
+
name: string;
|
|
556
633
|
}[];
|
|
634
|
+
} | {
|
|
635
|
+
type: "use-vibes.cli.res-theme-content";
|
|
636
|
+
slug: string;
|
|
637
|
+
content: string;
|
|
557
638
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
558
639
|
type: "vibes-diy.cli.system";
|
|
559
640
|
}, {
|
|
@@ -741,132 +822,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
741
822
|
model: string;
|
|
742
823
|
};
|
|
743
824
|
};
|
|
744
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
745
|
-
type: "vibes-diy.cli.put-asset";
|
|
746
|
-
file: string;
|
|
747
|
-
appSlug: string;
|
|
748
|
-
ownerHandle: string;
|
|
749
|
-
apiUrl: string;
|
|
750
|
-
mimeType: string;
|
|
751
|
-
verifyFetch: boolean;
|
|
752
|
-
}, {
|
|
753
|
-
type: "vibes-diy.cli.res-put-asset";
|
|
754
|
-
cid: string;
|
|
755
|
-
getURL: string;
|
|
756
|
-
size: number;
|
|
757
|
-
uploadId: string;
|
|
758
|
-
verified?: boolean | undefined;
|
|
759
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
760
|
-
type: "vibes-diy.cli.generate";
|
|
761
|
-
prompt: string;
|
|
762
|
-
appSlug: string;
|
|
763
|
-
ownerHandle: string;
|
|
764
|
-
instantJoin?: boolean | undefined;
|
|
765
|
-
noAccessFn?: boolean | undefined;
|
|
766
|
-
privateMode?: boolean | undefined;
|
|
767
|
-
verbose: boolean;
|
|
768
|
-
apiUrl: string;
|
|
769
|
-
focusPath?: string | undefined;
|
|
770
|
-
model?: string | undefined;
|
|
771
|
-
builderModel?: string | undefined;
|
|
772
|
-
apiKey?: string | undefined;
|
|
773
|
-
variety?: string | undefined;
|
|
774
|
-
record?: string | undefined;
|
|
775
|
-
style?: string | undefined;
|
|
776
|
-
fastPass?: boolean | undefined;
|
|
777
|
-
}, {
|
|
778
|
-
appSlug: string;
|
|
779
|
-
ownerHandle: string;
|
|
780
|
-
mode: "dev" | "production";
|
|
781
|
-
fsId: string;
|
|
782
|
-
type: "vibes.diy.res-ensure-app-slug";
|
|
783
|
-
env: Record<string, string>;
|
|
784
|
-
fileSystem: {
|
|
785
|
-
fileName: string;
|
|
786
|
-
mimeType: string;
|
|
787
|
-
assetId: string;
|
|
788
|
-
assetURI: string;
|
|
789
|
-
transform?: {
|
|
790
|
-
type: "jsx-to-js";
|
|
791
|
-
transformedAssetId: string;
|
|
792
|
-
} | {
|
|
793
|
-
type: "imports";
|
|
794
|
-
importMapAssetId: string;
|
|
795
|
-
} | {
|
|
796
|
-
type: "import-map";
|
|
797
|
-
fromAssetIds: string[];
|
|
798
|
-
} | {
|
|
799
|
-
type: "transformed";
|
|
800
|
-
action: "jsx-to-js";
|
|
801
|
-
transformedAssetId: string;
|
|
802
|
-
} | {
|
|
803
|
-
type: "tailwind-css";
|
|
804
|
-
} | undefined;
|
|
805
|
-
entryPoint?: boolean | undefined;
|
|
806
|
-
size: number;
|
|
807
|
-
kind?: "asset" | undefined;
|
|
808
|
-
uploadId?: string | undefined;
|
|
809
|
-
}[];
|
|
810
|
-
autoEnhanceOff?: true | undefined;
|
|
811
|
-
appCreated?: true | undefined;
|
|
812
|
-
} | {
|
|
813
|
-
type: "vibes.diy.res-error";
|
|
814
|
-
error: {
|
|
815
|
-
message: string;
|
|
816
|
-
code: "require-login";
|
|
817
|
-
};
|
|
818
|
-
} | {
|
|
819
|
-
type: "vibes.diy.res-error";
|
|
820
|
-
error: {
|
|
821
|
-
message: string;
|
|
822
|
-
code: "user-slug-invalid";
|
|
823
|
-
};
|
|
824
|
-
} | {
|
|
825
|
-
type: "vibes.diy.res-error";
|
|
826
|
-
error: {
|
|
827
|
-
message: string;
|
|
828
|
-
code: "app-slug-invalid";
|
|
829
|
-
};
|
|
830
|
-
} | {
|
|
831
|
-
type: "vibes.diy.res-error";
|
|
832
|
-
error: {
|
|
833
|
-
message: string;
|
|
834
|
-
code: "max-app-slugs-reached";
|
|
835
|
-
};
|
|
836
|
-
} | {
|
|
837
|
-
type: "vibes.diy.res-error";
|
|
838
|
-
error: {
|
|
839
|
-
message: string;
|
|
840
|
-
code: "handle-required";
|
|
841
|
-
};
|
|
842
|
-
} | {
|
|
843
|
-
type: "vibes.diy.res-error";
|
|
844
|
-
error: {
|
|
845
|
-
message: string;
|
|
846
|
-
code: "from-not-owned";
|
|
847
|
-
};
|
|
848
|
-
} | {
|
|
849
|
-
type: "vibes.diy.res-error";
|
|
850
|
-
error: {
|
|
851
|
-
message: string;
|
|
852
|
-
code: "from-carry-failed";
|
|
853
|
-
};
|
|
854
|
-
} | {
|
|
855
|
-
type: "vibes.diy.res-error";
|
|
856
|
-
error: {
|
|
857
|
-
message: string;
|
|
858
|
-
code: "auto-enhance-off";
|
|
859
|
-
};
|
|
860
|
-
} | {
|
|
861
|
-
type: "vibes-diy.cli.res-generate";
|
|
862
|
-
appSlug: string;
|
|
863
|
-
ownerHandle: string;
|
|
864
|
-
url: string;
|
|
865
|
-
directory: string;
|
|
866
|
-
release?: "not-visible" | "published" | "version-locked" | undefined;
|
|
867
|
-
turns?: number | undefined;
|
|
868
|
-
publish?: "kept-private-no-access-fn" | "private" | "published" | undefined;
|
|
869
|
-
posture?: "gated" | "open" | "private" | undefined;
|
|
870
825
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
871
826
|
type: "vibes-diy.cli.app-chats";
|
|
872
827
|
appSlug: string;
|
|
@@ -1047,15 +1002,31 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1047
1002
|
unpublishedAt?: string | undefined;
|
|
1048
1003
|
}[];
|
|
1049
1004
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1050
|
-
type: "vibes-diy.cli.
|
|
1005
|
+
type: "vibes-diy.cli.doctor";
|
|
1051
1006
|
apiUrl: string;
|
|
1052
1007
|
}, {
|
|
1053
|
-
type: "vibes-diy.cli.res-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1008
|
+
type: "vibes-diy.cli.res-doctor";
|
|
1009
|
+
cliVersion: string;
|
|
1010
|
+
node: string;
|
|
1011
|
+
keybagPath: string;
|
|
1012
|
+
keybagInstance?: string | undefined;
|
|
1013
|
+
device: string;
|
|
1014
|
+
deviceOk: boolean;
|
|
1015
|
+
fingerprint?: string | undefined;
|
|
1016
|
+
certExpires?: string | undefined;
|
|
1017
|
+
apiUrl: string;
|
|
1018
|
+
wsUrl: string;
|
|
1019
|
+
proxy: string;
|
|
1020
|
+
handshake: {
|
|
1021
|
+
ok: boolean;
|
|
1022
|
+
detail: string;
|
|
1023
|
+
ms?: number | undefined;
|
|
1024
|
+
};
|
|
1025
|
+
auth?: {
|
|
1026
|
+
ok: boolean;
|
|
1027
|
+
detail: string;
|
|
1028
|
+
ms?: number | undefined;
|
|
1029
|
+
} | undefined;
|
|
1059
1030
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1060
1031
|
type: "vibes-diy.cli.pull";
|
|
1061
1032
|
appSlug: string;
|
|
@@ -1613,6 +1584,20 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1613
1584
|
}, {
|
|
1614
1585
|
type: "vibes-diy.cli.db.list-res";
|
|
1615
1586
|
dbNames: string[];
|
|
1587
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1588
|
+
type: "vibes-diy.cli.db.get";
|
|
1589
|
+
apiUrl: string;
|
|
1590
|
+
appSlug: string;
|
|
1591
|
+
ownerHandle: string;
|
|
1592
|
+
dbName: string;
|
|
1593
|
+
docId: string;
|
|
1594
|
+
admin: boolean;
|
|
1595
|
+
actingHandle: string;
|
|
1596
|
+
}, {
|
|
1597
|
+
type: "vibes-diy.cli.db.get-res";
|
|
1598
|
+
doc: {
|
|
1599
|
+
[x: string]: unknown;
|
|
1600
|
+
};
|
|
1616
1601
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1617
1602
|
type: "vibes-diy.cli.db.put";
|
|
1618
1603
|
apiUrl: string;
|
|
@@ -1634,29 +1619,44 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1634
1619
|
uploadId: string;
|
|
1635
1620
|
}[] | undefined;
|
|
1636
1621
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1637
|
-
type: "vibes-diy.cli.db.
|
|
1622
|
+
type: "vibes-diy.cli.db.del";
|
|
1638
1623
|
apiUrl: string;
|
|
1639
1624
|
appSlug: string;
|
|
1640
1625
|
ownerHandle: string;
|
|
1641
1626
|
dbName: string;
|
|
1642
|
-
|
|
1643
|
-
key: string;
|
|
1644
|
-
prefix: string;
|
|
1645
|
-
range: string;
|
|
1646
|
-
limit: number;
|
|
1647
|
-
descending: boolean;
|
|
1627
|
+
docId: string;
|
|
1648
1628
|
admin: boolean;
|
|
1649
1629
|
actingHandle: string;
|
|
1650
1630
|
}, {
|
|
1651
|
-
type: "vibes-diy.cli.db.
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
}[];
|
|
1631
|
+
type: "vibes-diy.cli.db.del-res";
|
|
1632
|
+
id: string;
|
|
1633
|
+
ok: true;
|
|
1655
1634
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1656
1635
|
type: "vibes-diy.cli.db.subscribe";
|
|
1657
1636
|
apiUrl: string;
|
|
1658
1637
|
appSlug: string;
|
|
1659
1638
|
ownerHandle: string;
|
|
1660
1639
|
dbName: string;
|
|
1661
|
-
}, never>)
|
|
1640
|
+
}, never> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1641
|
+
type: "vibes-diy.cli.db.seed";
|
|
1642
|
+
action: "add" | "remove";
|
|
1643
|
+
apiUrl: string;
|
|
1644
|
+
appSlug: string;
|
|
1645
|
+
ownerHandle: string;
|
|
1646
|
+
}, {
|
|
1647
|
+
type: "vibes-diy.cli.db.seed-res";
|
|
1648
|
+
action: "add" | "remove";
|
|
1649
|
+
appSlug: string;
|
|
1650
|
+
ownerHandle: string;
|
|
1651
|
+
seedFile: "absent" | "invalid" | "present" | "unknown";
|
|
1652
|
+
changed: number;
|
|
1653
|
+
skipped: number;
|
|
1654
|
+
failed: number;
|
|
1655
|
+
perDb: {
|
|
1656
|
+
dbName: string;
|
|
1657
|
+
changed: number;
|
|
1658
|
+
skipped: number;
|
|
1659
|
+
failed: number;
|
|
1660
|
+
}[];
|
|
1661
|
+
}>)[];
|
|
1662
1662
|
export declare function cmdTsEvento(): import("@adviser/cement").Evento;
|