vibes-diy 14.3.467 → 14.3.469
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 +342 -342
- package/cli/cmds/run/backend-worker/run-backend-entry.js +65687 -64206
- package/cli/cmds/run/bundle-inputs.json +17 -0
- package/cli/cmds/run/run-bundle.js +43496 -41485
- package/package.json +8 -8
package/cli/cmd-evento.d.ts
CHANGED
|
@@ -2,187 +2,142 @@ import { isCmdProgress, sendMsg, sendProgress, type CmdProgress, type CmdTSMsg,
|
|
|
2
2
|
export type { CmdTSMsg, WrapCmdTSMsg, CmdProgress };
|
|
3
3
|
export { isCmdProgress, sendMsg, sendProgress };
|
|
4
4
|
export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
5
|
-
type: "
|
|
5
|
+
type: "core-cli.device-id-register";
|
|
6
|
+
commonName: string;
|
|
7
|
+
organization: string;
|
|
8
|
+
locality: string;
|
|
9
|
+
state: string;
|
|
10
|
+
country: string;
|
|
11
|
+
caUrl: string;
|
|
12
|
+
port: string;
|
|
13
|
+
timeout: string;
|
|
14
|
+
forceRenew: boolean;
|
|
15
|
+
cert?: string | undefined;
|
|
16
|
+
noBrowser?: boolean | undefined;
|
|
17
|
+
apiUrl?: string | undefined;
|
|
18
|
+
expectHandle?: string | undefined;
|
|
19
|
+
expectUser?: string | undefined;
|
|
6
20
|
}, {
|
|
7
|
-
type: "
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
21
|
+
type: "core-cli.res-device-id-register";
|
|
22
|
+
output: string;
|
|
23
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
24
|
+
type: "vibes-diy.cli.variety";
|
|
25
|
+
}, {
|
|
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;
|
|
11
36
|
}[];
|
|
12
|
-
} | {
|
|
13
|
-
type: "use-vibes.cli.res-theme-content";
|
|
14
|
-
slug: string;
|
|
15
|
-
content: string;
|
|
16
37
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
17
|
-
type: "vibes-diy.cli.
|
|
38
|
+
type: "vibes-diy.cli.put-asset";
|
|
39
|
+
file: string;
|
|
18
40
|
appSlug: string;
|
|
19
41
|
ownerHandle: string;
|
|
20
|
-
dir: string;
|
|
21
42
|
apiUrl: string;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
draft: boolean;
|
|
25
|
-
version?: string | undefined;
|
|
43
|
+
mimeType: string;
|
|
44
|
+
verifyFetch: boolean;
|
|
26
45
|
}, {
|
|
27
|
-
type: "vibes-diy.cli.res-
|
|
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.db.list";
|
|
54
|
+
apiUrl: string;
|
|
28
55
|
appSlug: string;
|
|
29
56
|
ownerHandle: string;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}[];
|
|
57
|
+
admin: boolean;
|
|
58
|
+
}, {
|
|
59
|
+
type: "vibes-diy.cli.db.list-res";
|
|
60
|
+
dbNames: string[];
|
|
35
61
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
36
|
-
type: "vibes-diy.cli.db.
|
|
62
|
+
type: "vibes-diy.cli.db.put";
|
|
37
63
|
apiUrl: string;
|
|
38
64
|
appSlug: string;
|
|
39
65
|
ownerHandle: string;
|
|
40
66
|
dbName: string;
|
|
41
|
-
|
|
42
|
-
|
|
67
|
+
docJson: string;
|
|
68
|
+
docId: string;
|
|
69
|
+
admin: boolean;
|
|
70
|
+
actingHandle: string;
|
|
71
|
+
files?: string[] | undefined;
|
|
72
|
+
}, {
|
|
73
|
+
type: "vibes-diy.cli.db.put-res";
|
|
74
|
+
id: string;
|
|
75
|
+
ok: true;
|
|
76
|
+
files?: {
|
|
77
|
+
key: string;
|
|
78
|
+
status: "unchanged" | "uploaded";
|
|
79
|
+
uploadId: string;
|
|
80
|
+
}[] | undefined;
|
|
81
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
82
|
+
type: "vibes-diy.cli.db.seed";
|
|
83
|
+
action: "add" | "remove";
|
|
84
|
+
apiUrl: string;
|
|
85
|
+
appSlug: string;
|
|
86
|
+
ownerHandle: string;
|
|
87
|
+
}, {
|
|
88
|
+
type: "vibes-diy.cli.db.seed-res";
|
|
89
|
+
action: "add" | "remove";
|
|
90
|
+
appSlug: string;
|
|
91
|
+
ownerHandle: string;
|
|
92
|
+
seedFile: "absent" | "invalid" | "present" | "unknown";
|
|
93
|
+
changed: number;
|
|
94
|
+
skipped: number;
|
|
95
|
+
failed: number;
|
|
96
|
+
perDb: {
|
|
97
|
+
dbName: string;
|
|
98
|
+
changed: number;
|
|
99
|
+
skipped: number;
|
|
100
|
+
failed: number;
|
|
101
|
+
}[];
|
|
102
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
103
|
+
type: "vibes-diy.cli.app-chats";
|
|
43
104
|
appSlug: string;
|
|
44
105
|
ownerHandle: string;
|
|
45
106
|
chatId?: string | undefined;
|
|
46
107
|
apiUrl: string;
|
|
47
|
-
response?: boolean | undefined;
|
|
48
|
-
raw?: boolean | undefined;
|
|
49
|
-
files?: boolean | undefined;
|
|
50
|
-
jsonl?: boolean | undefined;
|
|
51
|
-
user?: boolean | undefined;
|
|
52
|
-
promptId?: string | undefined;
|
|
53
108
|
}, {
|
|
54
|
-
type: "vibes-diy.cli.res-
|
|
55
|
-
output: string;
|
|
56
|
-
} | {
|
|
57
|
-
type: "vibes-diy.cli.res-codegen-log-list";
|
|
109
|
+
type: "vibes-diy.cli.res-app-chats-list";
|
|
58
110
|
items: {
|
|
59
111
|
chatId: string;
|
|
60
112
|
appSlug: string;
|
|
61
113
|
ownerHandle: string;
|
|
62
114
|
created: string;
|
|
115
|
+
userHandle?: string | undefined;
|
|
63
116
|
}[];
|
|
64
117
|
} | {
|
|
65
|
-
type: "vibes-diy.cli.res-
|
|
118
|
+
type: "vibes-diy.cli.res-app-chats-detail";
|
|
66
119
|
chatId: string;
|
|
67
|
-
ownerHandle
|
|
68
|
-
appSlug
|
|
69
|
-
|
|
70
|
-
prompt: string;
|
|
71
|
-
fsId: string;
|
|
72
|
-
created: string;
|
|
73
|
-
}[];
|
|
120
|
+
ownerHandle?: string | undefined;
|
|
121
|
+
appSlug?: string | undefined;
|
|
122
|
+
output: string;
|
|
74
123
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
75
|
-
type: "vibes-diy.cli.
|
|
76
|
-
appSlug: string;
|
|
77
|
-
prompt: string;
|
|
78
|
-
ownerHandle: string;
|
|
79
|
-
instantJoin?: boolean | undefined;
|
|
80
|
-
verbose: boolean;
|
|
81
|
-
dir: string;
|
|
124
|
+
type: "vibes-diy.cli.list";
|
|
82
125
|
apiUrl: string;
|
|
83
|
-
dryRun: boolean;
|
|
84
|
-
transcript: boolean;
|
|
85
|
-
directBuild?: boolean | undefined;
|
|
86
|
-
focusPath?: string | undefined;
|
|
87
|
-
model?: string | undefined;
|
|
88
|
-
builderModel?: string | undefined;
|
|
89
|
-
apiKey?: string | undefined;
|
|
90
126
|
}, {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
assetId: string;
|
|
101
|
-
assetURI: string;
|
|
102
|
-
transform?: {
|
|
103
|
-
type: "jsx-to-js";
|
|
104
|
-
transformedAssetId: string;
|
|
105
|
-
} | {
|
|
106
|
-
type: "imports";
|
|
107
|
-
importMapAssetId: string;
|
|
108
|
-
} | {
|
|
109
|
-
type: "import-map";
|
|
110
|
-
fromAssetIds: string[];
|
|
111
|
-
} | {
|
|
112
|
-
type: "transformed";
|
|
113
|
-
action: "jsx-to-js";
|
|
114
|
-
transformedAssetId: string;
|
|
115
|
-
} | {
|
|
116
|
-
type: "tailwind-css";
|
|
127
|
+
type: "vibes-diy.cli.res-list";
|
|
128
|
+
items: {
|
|
129
|
+
ownerHandle: string;
|
|
130
|
+
appSlug: string;
|
|
131
|
+
updated: string;
|
|
132
|
+
title?: string | undefined;
|
|
133
|
+
icon?: {
|
|
134
|
+
cid: string;
|
|
135
|
+
mime: string;
|
|
117
136
|
} | undefined;
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
uploadId?: string | undefined;
|
|
137
|
+
pinnedAt?: string | undefined;
|
|
138
|
+
neverPublished?: boolean | undefined;
|
|
139
|
+
unpublishedAt?: string | undefined;
|
|
122
140
|
}[];
|
|
123
|
-
autoEnhanceOff?: true | undefined;
|
|
124
|
-
appCreated?: true | undefined;
|
|
125
|
-
anonWriteFollowed?: {
|
|
126
|
-
to: "explicit" | "off";
|
|
127
|
-
because: "not-open" | "personal-details" | "rules-ask" | "rules-do-not-ask" | "rules-not-bound" | "sensitive";
|
|
128
|
-
} | undefined;
|
|
129
|
-
backendWarnings?: string[] | undefined;
|
|
130
|
-
} | {
|
|
131
|
-
type: "vibes.diy.res-error";
|
|
132
|
-
error: {
|
|
133
|
-
message: string;
|
|
134
|
-
code: "require-login";
|
|
135
|
-
};
|
|
136
|
-
} | {
|
|
137
|
-
type: "vibes.diy.res-error";
|
|
138
|
-
error: {
|
|
139
|
-
message: string;
|
|
140
|
-
code: "user-slug-invalid";
|
|
141
|
-
};
|
|
142
|
-
} | {
|
|
143
|
-
type: "vibes.diy.res-error";
|
|
144
|
-
error: {
|
|
145
|
-
message: string;
|
|
146
|
-
code: "app-slug-invalid";
|
|
147
|
-
};
|
|
148
|
-
} | {
|
|
149
|
-
type: "vibes.diy.res-error";
|
|
150
|
-
error: {
|
|
151
|
-
message: string;
|
|
152
|
-
code: "max-app-slugs-reached";
|
|
153
|
-
};
|
|
154
|
-
} | {
|
|
155
|
-
type: "vibes.diy.res-error";
|
|
156
|
-
error: {
|
|
157
|
-
message: string;
|
|
158
|
-
code: "handle-required";
|
|
159
|
-
};
|
|
160
|
-
} | {
|
|
161
|
-
type: "vibes.diy.res-error";
|
|
162
|
-
error: {
|
|
163
|
-
message: string;
|
|
164
|
-
code: "from-not-owned";
|
|
165
|
-
};
|
|
166
|
-
} | {
|
|
167
|
-
type: "vibes.diy.res-error";
|
|
168
|
-
error: {
|
|
169
|
-
message: string;
|
|
170
|
-
code: "from-carry-failed";
|
|
171
|
-
};
|
|
172
|
-
} | {
|
|
173
|
-
type: "vibes.diy.res-error";
|
|
174
|
-
error: {
|
|
175
|
-
message: string;
|
|
176
|
-
code: "auto-enhance-off";
|
|
177
|
-
};
|
|
178
|
-
} | {
|
|
179
|
-
type: "vibes-diy.cli.res-edit";
|
|
180
|
-
appSlug: string;
|
|
181
|
-
ownerHandle: string;
|
|
182
|
-
url: string;
|
|
183
|
-
directory: string;
|
|
184
|
-
restyled?: boolean | undefined;
|
|
185
|
-
fsId?: string | undefined;
|
|
186
141
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
187
142
|
type: "vibes-diy.cli.versions";
|
|
188
143
|
appSlug: string;
|
|
@@ -315,59 +270,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
315
270
|
type: "vibes.diy.res-ensure-user-settings";
|
|
316
271
|
userId: string;
|
|
317
272
|
settings: ({
|
|
318
|
-
type: "notifications";
|
|
319
|
-
buildComplete?: boolean | undefined;
|
|
320
|
-
buildFailed?: boolean | undefined;
|
|
321
|
-
vibePublished?: boolean | undefined;
|
|
322
|
-
commentPosted?: boolean | undefined;
|
|
323
|
-
requestApproved?: boolean | undefined;
|
|
324
|
-
requestRevoked?: boolean | undefined;
|
|
325
|
-
vibeRemixed?: boolean | undefined;
|
|
326
|
-
dmReceived?: boolean | undefined;
|
|
327
|
-
memberJoined?: boolean | undefined;
|
|
328
|
-
accessRequested?: boolean | undefined;
|
|
329
|
-
buildRequested?: boolean | undefined;
|
|
330
|
-
buildApproved?: boolean | undefined;
|
|
331
|
-
emailDigest?: boolean | undefined;
|
|
332
|
-
retentionEmail?: boolean | undefined;
|
|
333
|
-
followRequest?: boolean | undefined;
|
|
334
|
-
followerAdded?: boolean | undefined;
|
|
335
|
-
followApproved?: boolean | undefined;
|
|
336
|
-
appMessage?: boolean | undefined;
|
|
337
|
-
connectionExpiring?: boolean | undefined;
|
|
338
|
-
assetBlocked?: boolean | undefined;
|
|
339
|
-
assetCheckFailed?: boolean | undefined;
|
|
340
|
-
checkoutUnfinished?: boolean | undefined;
|
|
341
|
-
safetyAlert?: boolean | undefined;
|
|
342
|
-
reminder?: boolean | undefined;
|
|
343
|
-
teamMessages?: boolean | undefined;
|
|
344
|
-
emailInstant?: boolean | undefined;
|
|
345
|
-
mutes?: {
|
|
346
|
-
vibes?: string[] | undefined;
|
|
347
|
-
handles?: string[] | undefined;
|
|
348
|
-
actors?: string[] | undefined;
|
|
349
|
-
} | undefined;
|
|
350
|
-
vibeTypes?: {
|
|
351
|
-
vibe: string;
|
|
352
|
-
buildComplete?: boolean | undefined;
|
|
353
|
-
buildFailed?: boolean | undefined;
|
|
354
|
-
vibePublished?: boolean | undefined;
|
|
355
|
-
commentPosted?: boolean | undefined;
|
|
356
|
-
requestApproved?: boolean | undefined;
|
|
357
|
-
requestRevoked?: boolean | undefined;
|
|
358
|
-
vibeRemixed?: boolean | undefined;
|
|
359
|
-
memberJoined?: boolean | undefined;
|
|
360
|
-
accessRequested?: boolean | undefined;
|
|
361
|
-
buildRequested?: boolean | undefined;
|
|
362
|
-
buildApproved?: boolean | undefined;
|
|
363
|
-
appMessage?: boolean | undefined;
|
|
364
|
-
assetBlocked?: boolean | undefined;
|
|
365
|
-
assetCheckFailed?: boolean | undefined;
|
|
366
|
-
}[] | undefined;
|
|
367
|
-
agent?: {
|
|
368
|
-
hiddenVibes?: string[] | undefined;
|
|
369
|
-
} | undefined;
|
|
370
|
-
} | {
|
|
371
273
|
type: "sharing";
|
|
372
274
|
grants: {
|
|
373
275
|
grant: "allow" | "deny";
|
|
@@ -485,6 +387,59 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
485
387
|
avatarCid?: string | undefined;
|
|
486
388
|
displayName?: string | undefined;
|
|
487
389
|
codeMode?: boolean | undefined;
|
|
390
|
+
} | {
|
|
391
|
+
type: "notifications";
|
|
392
|
+
buildComplete?: boolean | undefined;
|
|
393
|
+
buildFailed?: boolean | undefined;
|
|
394
|
+
vibePublished?: boolean | undefined;
|
|
395
|
+
commentPosted?: boolean | undefined;
|
|
396
|
+
requestApproved?: boolean | undefined;
|
|
397
|
+
requestRevoked?: boolean | undefined;
|
|
398
|
+
vibeRemixed?: boolean | undefined;
|
|
399
|
+
dmReceived?: boolean | undefined;
|
|
400
|
+
memberJoined?: boolean | undefined;
|
|
401
|
+
accessRequested?: boolean | undefined;
|
|
402
|
+
buildRequested?: boolean | undefined;
|
|
403
|
+
buildApproved?: boolean | undefined;
|
|
404
|
+
emailDigest?: boolean | undefined;
|
|
405
|
+
retentionEmail?: boolean | undefined;
|
|
406
|
+
followRequest?: boolean | undefined;
|
|
407
|
+
followerAdded?: boolean | undefined;
|
|
408
|
+
followApproved?: boolean | undefined;
|
|
409
|
+
appMessage?: boolean | undefined;
|
|
410
|
+
connectionExpiring?: boolean | undefined;
|
|
411
|
+
assetBlocked?: boolean | undefined;
|
|
412
|
+
assetCheckFailed?: boolean | undefined;
|
|
413
|
+
checkoutUnfinished?: boolean | undefined;
|
|
414
|
+
safetyAlert?: boolean | undefined;
|
|
415
|
+
reminder?: boolean | undefined;
|
|
416
|
+
teamMessages?: boolean | undefined;
|
|
417
|
+
emailInstant?: boolean | undefined;
|
|
418
|
+
mutes?: {
|
|
419
|
+
vibes?: string[] | undefined;
|
|
420
|
+
handles?: string[] | undefined;
|
|
421
|
+
actors?: string[] | undefined;
|
|
422
|
+
} | undefined;
|
|
423
|
+
vibeTypes?: {
|
|
424
|
+
vibe: string;
|
|
425
|
+
buildComplete?: boolean | undefined;
|
|
426
|
+
buildFailed?: boolean | undefined;
|
|
427
|
+
vibePublished?: boolean | undefined;
|
|
428
|
+
commentPosted?: boolean | undefined;
|
|
429
|
+
requestApproved?: boolean | undefined;
|
|
430
|
+
requestRevoked?: boolean | undefined;
|
|
431
|
+
vibeRemixed?: boolean | undefined;
|
|
432
|
+
memberJoined?: boolean | undefined;
|
|
433
|
+
accessRequested?: boolean | undefined;
|
|
434
|
+
buildRequested?: boolean | undefined;
|
|
435
|
+
buildApproved?: boolean | undefined;
|
|
436
|
+
appMessage?: boolean | undefined;
|
|
437
|
+
assetBlocked?: boolean | undefined;
|
|
438
|
+
assetCheckFailed?: boolean | undefined;
|
|
439
|
+
}[] | undefined;
|
|
440
|
+
agent?: {
|
|
441
|
+
hiddenVibes?: string[] | undefined;
|
|
442
|
+
} | undefined;
|
|
488
443
|
} | {
|
|
489
444
|
type: "egressStatus";
|
|
490
445
|
status: "blessed" | "blocked";
|
|
@@ -495,6 +450,9 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
495
450
|
email: string;
|
|
496
451
|
updatedAt: string;
|
|
497
452
|
verified?: boolean | undefined;
|
|
453
|
+
} | {
|
|
454
|
+
type: "onboarding";
|
|
455
|
+
completedAt: string;
|
|
498
456
|
} | {
|
|
499
457
|
type: "geoCountry";
|
|
500
458
|
country: string;
|
|
@@ -505,9 +463,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
505
463
|
[x: string]: string;
|
|
506
464
|
};
|
|
507
465
|
updatedAt: string;
|
|
508
|
-
} | {
|
|
509
|
-
type: "onboarding";
|
|
510
|
-
completedAt: string;
|
|
511
466
|
} | {
|
|
512
467
|
type: "kyc";
|
|
513
468
|
cardAt?: string | undefined;
|
|
@@ -642,19 +597,17 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
642
597
|
name: string;
|
|
643
598
|
content: string;
|
|
644
599
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
645
|
-
type: "vibes
|
|
600
|
+
type: "use-vibes.cli.themes";
|
|
646
601
|
}, {
|
|
647
|
-
type: "vibes
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
id: string;
|
|
652
|
-
guidance: string;
|
|
653
|
-
}[];
|
|
654
|
-
flourishes: {
|
|
655
|
-
id: string;
|
|
656
|
-
guidance: string;
|
|
602
|
+
type: "use-vibes.cli.res-themes-list";
|
|
603
|
+
themes: {
|
|
604
|
+
slug: string;
|
|
605
|
+
name: string;
|
|
657
606
|
}[];
|
|
607
|
+
} | {
|
|
608
|
+
type: "use-vibes.cli.res-theme-content";
|
|
609
|
+
slug: string;
|
|
610
|
+
content: string;
|
|
658
611
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
659
612
|
type: "vibes-diy.cli.system";
|
|
660
613
|
}, {
|
|
@@ -678,6 +631,12 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
678
631
|
apiUrl: string;
|
|
679
632
|
idleTimeoutMs?: number | undefined;
|
|
680
633
|
}, {
|
|
634
|
+
type: "vibes.diy.res-error";
|
|
635
|
+
error: {
|
|
636
|
+
message: string;
|
|
637
|
+
code: "handle-required";
|
|
638
|
+
};
|
|
639
|
+
} | {
|
|
681
640
|
appSlug: string;
|
|
682
641
|
ownerHandle: string;
|
|
683
642
|
mode: "dev" | "production";
|
|
@@ -741,12 +700,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
741
700
|
message: string;
|
|
742
701
|
code: "max-app-slugs-reached";
|
|
743
702
|
};
|
|
744
|
-
} | {
|
|
745
|
-
type: "vibes.diy.res-error";
|
|
746
|
-
error: {
|
|
747
|
-
message: string;
|
|
748
|
-
code: "handle-required";
|
|
749
|
-
};
|
|
750
703
|
} | {
|
|
751
704
|
type: "vibes.diy.res-error";
|
|
752
705
|
error: {
|
|
@@ -836,35 +789,20 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
836
789
|
ok: true;
|
|
837
790
|
picture: {
|
|
838
791
|
url: string;
|
|
839
|
-
mimeType: string;
|
|
840
|
-
name: string;
|
|
841
|
-
size: number;
|
|
842
|
-
ownerHandle: string;
|
|
843
|
-
appSlug: string;
|
|
844
|
-
dbName: string;
|
|
845
|
-
docId: string;
|
|
846
|
-
};
|
|
847
|
-
link?: string | undefined;
|
|
848
|
-
made: {
|
|
849
|
-
prompt: string;
|
|
850
|
-
model: string;
|
|
851
|
-
};
|
|
852
|
-
};
|
|
853
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
854
|
-
type: "vibes-diy.cli.put-asset";
|
|
855
|
-
file: string;
|
|
856
|
-
appSlug: string;
|
|
857
|
-
ownerHandle: string;
|
|
858
|
-
apiUrl: string;
|
|
859
|
-
mimeType: string;
|
|
860
|
-
verifyFetch: boolean;
|
|
861
|
-
}, {
|
|
862
|
-
type: "vibes-diy.cli.res-put-asset";
|
|
863
|
-
cid: string;
|
|
864
|
-
getURL: string;
|
|
865
|
-
size: number;
|
|
866
|
-
uploadId: string;
|
|
867
|
-
verified?: boolean | undefined;
|
|
792
|
+
mimeType: string;
|
|
793
|
+
name: string;
|
|
794
|
+
size: number;
|
|
795
|
+
ownerHandle: string;
|
|
796
|
+
appSlug: string;
|
|
797
|
+
dbName: string;
|
|
798
|
+
docId: string;
|
|
799
|
+
};
|
|
800
|
+
link?: string | undefined;
|
|
801
|
+
made: {
|
|
802
|
+
prompt: string;
|
|
803
|
+
model: string;
|
|
804
|
+
};
|
|
805
|
+
};
|
|
868
806
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
869
807
|
type: "vibes-diy.cli.generate";
|
|
870
808
|
prompt: string;
|
|
@@ -884,6 +822,12 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
884
822
|
style?: string | undefined;
|
|
885
823
|
fastPass?: boolean | undefined;
|
|
886
824
|
}, {
|
|
825
|
+
type: "vibes.diy.res-error";
|
|
826
|
+
error: {
|
|
827
|
+
message: string;
|
|
828
|
+
code: "handle-required";
|
|
829
|
+
};
|
|
830
|
+
} | {
|
|
887
831
|
appSlug: string;
|
|
888
832
|
ownerHandle: string;
|
|
889
833
|
mode: "dev" | "production";
|
|
@@ -947,12 +891,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
947
891
|
message: string;
|
|
948
892
|
code: "max-app-slugs-reached";
|
|
949
893
|
};
|
|
950
|
-
} | {
|
|
951
|
-
type: "vibes.diy.res-error";
|
|
952
|
-
error: {
|
|
953
|
-
message: string;
|
|
954
|
-
code: "handle-required";
|
|
955
|
-
};
|
|
956
894
|
} | {
|
|
957
895
|
type: "vibes.diy.res-error";
|
|
958
896
|
error: {
|
|
@@ -982,44 +920,150 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
982
920
|
publish?: "kept-private-no-access-fn" | "private" | "published" | undefined;
|
|
983
921
|
posture?: "gated" | "open" | "private" | undefined;
|
|
984
922
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
985
|
-
type: "vibes-diy.cli.
|
|
923
|
+
type: "vibes-diy.cli.codegen-log";
|
|
986
924
|
appSlug: string;
|
|
987
925
|
ownerHandle: string;
|
|
988
926
|
chatId?: string | undefined;
|
|
989
927
|
apiUrl: string;
|
|
928
|
+
response?: boolean | undefined;
|
|
929
|
+
raw?: boolean | undefined;
|
|
930
|
+
files?: boolean | undefined;
|
|
931
|
+
jsonl?: boolean | undefined;
|
|
932
|
+
user?: boolean | undefined;
|
|
933
|
+
promptId?: string | undefined;
|
|
990
934
|
}, {
|
|
991
|
-
type: "vibes-diy.cli.res-
|
|
935
|
+
type: "vibes-diy.cli.res-codegen-log-list";
|
|
992
936
|
items: {
|
|
993
937
|
chatId: string;
|
|
994
938
|
appSlug: string;
|
|
995
939
|
ownerHandle: string;
|
|
996
940
|
created: string;
|
|
997
|
-
userHandle?: string | undefined;
|
|
998
941
|
}[];
|
|
999
942
|
} | {
|
|
1000
|
-
type: "vibes-diy.cli.res-
|
|
943
|
+
type: "vibes-diy.cli.res-codegen-log-detail";
|
|
1001
944
|
chatId: string;
|
|
1002
|
-
ownerHandle
|
|
1003
|
-
appSlug
|
|
945
|
+
ownerHandle: string;
|
|
946
|
+
appSlug: string;
|
|
947
|
+
prompts: {
|
|
948
|
+
prompt: string;
|
|
949
|
+
fsId: string;
|
|
950
|
+
created: string;
|
|
951
|
+
}[];
|
|
952
|
+
} | {
|
|
953
|
+
type: "vibes-diy.cli.res-codegen-log-response";
|
|
1004
954
|
output: string;
|
|
1005
955
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1006
|
-
type: "vibes-diy.cli.
|
|
956
|
+
type: "vibes-diy.cli.edit";
|
|
957
|
+
appSlug: string;
|
|
958
|
+
prompt: string;
|
|
959
|
+
ownerHandle: string;
|
|
960
|
+
instantJoin?: boolean | undefined;
|
|
961
|
+
verbose: boolean;
|
|
962
|
+
dir: string;
|
|
1007
963
|
apiUrl: string;
|
|
964
|
+
dryRun: boolean;
|
|
965
|
+
transcript: boolean;
|
|
966
|
+
directBuild?: boolean | undefined;
|
|
967
|
+
focusPath?: string | undefined;
|
|
968
|
+
model?: string | undefined;
|
|
969
|
+
builderModel?: string | undefined;
|
|
970
|
+
apiKey?: string | undefined;
|
|
1008
971
|
}, {
|
|
1009
|
-
type: "vibes
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
972
|
+
type: "vibes.diy.res-error";
|
|
973
|
+
error: {
|
|
974
|
+
message: string;
|
|
975
|
+
code: "handle-required";
|
|
976
|
+
};
|
|
977
|
+
} | {
|
|
978
|
+
appSlug: string;
|
|
979
|
+
ownerHandle: string;
|
|
980
|
+
mode: "dev" | "production";
|
|
981
|
+
fsId: string;
|
|
982
|
+
type: "vibes.diy.res-ensure-app-slug";
|
|
983
|
+
env: Record<string, string>;
|
|
984
|
+
fileSystem: {
|
|
985
|
+
fileName: string;
|
|
986
|
+
mimeType: string;
|
|
987
|
+
assetId: string;
|
|
988
|
+
assetURI: string;
|
|
989
|
+
transform?: {
|
|
990
|
+
type: "jsx-to-js";
|
|
991
|
+
transformedAssetId: string;
|
|
992
|
+
} | {
|
|
993
|
+
type: "imports";
|
|
994
|
+
importMapAssetId: string;
|
|
995
|
+
} | {
|
|
996
|
+
type: "import-map";
|
|
997
|
+
fromAssetIds: string[];
|
|
998
|
+
} | {
|
|
999
|
+
type: "transformed";
|
|
1000
|
+
action: "jsx-to-js";
|
|
1001
|
+
transformedAssetId: string;
|
|
1002
|
+
} | {
|
|
1003
|
+
type: "tailwind-css";
|
|
1018
1004
|
} | undefined;
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1005
|
+
entryPoint?: boolean | undefined;
|
|
1006
|
+
size: number;
|
|
1007
|
+
kind?: "asset" | undefined;
|
|
1008
|
+
uploadId?: string | undefined;
|
|
1022
1009
|
}[];
|
|
1010
|
+
autoEnhanceOff?: true | undefined;
|
|
1011
|
+
appCreated?: true | undefined;
|
|
1012
|
+
anonWriteFollowed?: {
|
|
1013
|
+
to: "explicit" | "off";
|
|
1014
|
+
because: "not-open" | "personal-details" | "rules-ask" | "rules-do-not-ask" | "rules-not-bound" | "sensitive";
|
|
1015
|
+
} | undefined;
|
|
1016
|
+
backendWarnings?: string[] | undefined;
|
|
1017
|
+
} | {
|
|
1018
|
+
type: "vibes.diy.res-error";
|
|
1019
|
+
error: {
|
|
1020
|
+
message: string;
|
|
1021
|
+
code: "require-login";
|
|
1022
|
+
};
|
|
1023
|
+
} | {
|
|
1024
|
+
type: "vibes.diy.res-error";
|
|
1025
|
+
error: {
|
|
1026
|
+
message: string;
|
|
1027
|
+
code: "user-slug-invalid";
|
|
1028
|
+
};
|
|
1029
|
+
} | {
|
|
1030
|
+
type: "vibes.diy.res-error";
|
|
1031
|
+
error: {
|
|
1032
|
+
message: string;
|
|
1033
|
+
code: "app-slug-invalid";
|
|
1034
|
+
};
|
|
1035
|
+
} | {
|
|
1036
|
+
type: "vibes.diy.res-error";
|
|
1037
|
+
error: {
|
|
1038
|
+
message: string;
|
|
1039
|
+
code: "max-app-slugs-reached";
|
|
1040
|
+
};
|
|
1041
|
+
} | {
|
|
1042
|
+
type: "vibes.diy.res-error";
|
|
1043
|
+
error: {
|
|
1044
|
+
message: string;
|
|
1045
|
+
code: "from-not-owned";
|
|
1046
|
+
};
|
|
1047
|
+
} | {
|
|
1048
|
+
type: "vibes.diy.res-error";
|
|
1049
|
+
error: {
|
|
1050
|
+
message: string;
|
|
1051
|
+
code: "from-carry-failed";
|
|
1052
|
+
};
|
|
1053
|
+
} | {
|
|
1054
|
+
type: "vibes.diy.res-error";
|
|
1055
|
+
error: {
|
|
1056
|
+
message: string;
|
|
1057
|
+
code: "auto-enhance-off";
|
|
1058
|
+
};
|
|
1059
|
+
} | {
|
|
1060
|
+
type: "vibes-diy.cli.res-edit";
|
|
1061
|
+
appSlug: string;
|
|
1062
|
+
ownerHandle: string;
|
|
1063
|
+
url: string;
|
|
1064
|
+
directory: string;
|
|
1065
|
+
restyled?: boolean | undefined;
|
|
1066
|
+
fsId?: string | undefined;
|
|
1023
1067
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1024
1068
|
type: "vibes-diy.cli.doctor";
|
|
1025
1069
|
apiUrl: string;
|
|
@@ -1056,6 +1100,25 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1056
1100
|
defaultHandle?: string | undefined;
|
|
1057
1101
|
handles: string[];
|
|
1058
1102
|
detail?: string | undefined;
|
|
1103
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1104
|
+
type: "vibes-diy.cli.pull";
|
|
1105
|
+
appSlug: string;
|
|
1106
|
+
ownerHandle: string;
|
|
1107
|
+
dir: string;
|
|
1108
|
+
apiUrl: string;
|
|
1109
|
+
fsId?: string | undefined;
|
|
1110
|
+
published: boolean;
|
|
1111
|
+
draft: boolean;
|
|
1112
|
+
version?: string | undefined;
|
|
1113
|
+
}, {
|
|
1114
|
+
type: "vibes-diy.cli.res-pull";
|
|
1115
|
+
appSlug: string;
|
|
1116
|
+
ownerHandle: string;
|
|
1117
|
+
directory: string;
|
|
1118
|
+
files: {
|
|
1119
|
+
name: string;
|
|
1120
|
+
size: number;
|
|
1121
|
+
}[];
|
|
1059
1122
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1060
1123
|
type: "vibes-diy.cli.run";
|
|
1061
1124
|
apiUrl: string;
|
|
@@ -1689,34 +1752,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1689
1752
|
}, {
|
|
1690
1753
|
type: "vibes-diy.cli.res-phone-link-classify";
|
|
1691
1754
|
reaction?: string | undefined;
|
|
1692
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1693
|
-
type: "core-cli.device-id-register";
|
|
1694
|
-
commonName: string;
|
|
1695
|
-
organization: string;
|
|
1696
|
-
locality: string;
|
|
1697
|
-
state: string;
|
|
1698
|
-
country: string;
|
|
1699
|
-
caUrl: string;
|
|
1700
|
-
port: string;
|
|
1701
|
-
timeout: string;
|
|
1702
|
-
forceRenew: boolean;
|
|
1703
|
-
cert?: string | undefined;
|
|
1704
|
-
noBrowser?: boolean | undefined;
|
|
1705
|
-
apiUrl?: string | undefined;
|
|
1706
|
-
expectHandle?: string | undefined;
|
|
1707
|
-
expectUser?: string | undefined;
|
|
1708
|
-
}, {
|
|
1709
|
-
type: "core-cli.res-device-id-register";
|
|
1710
|
-
output: string;
|
|
1711
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1712
|
-
type: "vibes-diy.cli.db.list";
|
|
1713
|
-
apiUrl: string;
|
|
1714
|
-
appSlug: string;
|
|
1715
|
-
ownerHandle: string;
|
|
1716
|
-
admin: boolean;
|
|
1717
|
-
}, {
|
|
1718
|
-
type: "vibes-diy.cli.db.list-res";
|
|
1719
|
-
dbNames: string[];
|
|
1720
1755
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1721
1756
|
type: "vibes-diy.cli.db.get";
|
|
1722
1757
|
apiUrl: string;
|
|
@@ -1731,26 +1766,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1731
1766
|
doc: {
|
|
1732
1767
|
[x: string]: unknown;
|
|
1733
1768
|
};
|
|
1734
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1735
|
-
type: "vibes-diy.cli.db.put";
|
|
1736
|
-
apiUrl: string;
|
|
1737
|
-
appSlug: string;
|
|
1738
|
-
ownerHandle: string;
|
|
1739
|
-
dbName: string;
|
|
1740
|
-
docJson: string;
|
|
1741
|
-
docId: string;
|
|
1742
|
-
admin: boolean;
|
|
1743
|
-
actingHandle: string;
|
|
1744
|
-
files?: string[] | undefined;
|
|
1745
|
-
}, {
|
|
1746
|
-
type: "vibes-diy.cli.db.put-res";
|
|
1747
|
-
id: string;
|
|
1748
|
-
ok: true;
|
|
1749
|
-
files?: {
|
|
1750
|
-
key: string;
|
|
1751
|
-
status: "unchanged" | "uploaded";
|
|
1752
|
-
uploadId: string;
|
|
1753
|
-
}[] | undefined;
|
|
1754
1769
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1755
1770
|
type: "vibes-diy.cli.db.del";
|
|
1756
1771
|
apiUrl: string;
|
|
@@ -1784,25 +1799,10 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1784
1799
|
[x: string]: unknown;
|
|
1785
1800
|
}[];
|
|
1786
1801
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1787
|
-
type: "vibes-diy.cli.db.
|
|
1788
|
-
action: "add" | "remove";
|
|
1802
|
+
type: "vibes-diy.cli.db.subscribe";
|
|
1789
1803
|
apiUrl: string;
|
|
1790
1804
|
appSlug: string;
|
|
1791
1805
|
ownerHandle: string;
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
action: "add" | "remove";
|
|
1795
|
-
appSlug: string;
|
|
1796
|
-
ownerHandle: string;
|
|
1797
|
-
seedFile: "absent" | "invalid" | "present" | "unknown";
|
|
1798
|
-
changed: number;
|
|
1799
|
-
skipped: number;
|
|
1800
|
-
failed: number;
|
|
1801
|
-
perDb: {
|
|
1802
|
-
dbName: string;
|
|
1803
|
-
changed: number;
|
|
1804
|
-
skipped: number;
|
|
1805
|
-
failed: number;
|
|
1806
|
-
}[];
|
|
1807
|
-
}>)[];
|
|
1806
|
+
dbName: string;
|
|
1807
|
+
}, never>)[];
|
|
1808
1808
|
export declare function cmdTsEvento(): import("@adviser/cement").Evento;
|