vibes-diy 14.3.352 → 14.3.353
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 +399 -399
- package/cli/cmds/run/backend-worker/run-backend-entry.js +252 -117
- package/cli/cmds/run/bundle-inputs.json +4 -0
- package/cli/cmds/run/run-bundle.js +1193 -1042
- package/package.json +8 -8
package/cli/cmd-evento.d.ts
CHANGED
|
@@ -2,193 +2,150 @@ 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: "
|
|
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;
|
|
20
|
-
}, {
|
|
21
|
-
type: "core-cli.res-device-id-register";
|
|
22
|
-
output: string;
|
|
23
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
24
|
-
type: "vibes-diy.cli.variety";
|
|
5
|
+
type: "vibes-diy.cli.skills";
|
|
25
6
|
}, {
|
|
26
|
-
type: "vibes-diy.cli.res-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
id: string;
|
|
31
|
-
guidance: string;
|
|
32
|
-
}[];
|
|
33
|
-
flourishes: {
|
|
34
|
-
id: string;
|
|
35
|
-
guidance: string;
|
|
7
|
+
type: "vibes-diy.cli.res-skills-list";
|
|
8
|
+
skills: {
|
|
9
|
+
name: string;
|
|
10
|
+
description: string;
|
|
36
11
|
}[];
|
|
12
|
+
} | {
|
|
13
|
+
type: "vibes-diy.cli.res-skill-content";
|
|
14
|
+
name: string;
|
|
15
|
+
content: string;
|
|
37
16
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
38
|
-
type: "vibes-diy.cli.
|
|
39
|
-
file: string;
|
|
40
|
-
appSlug: string;
|
|
41
|
-
ownerHandle: string;
|
|
17
|
+
type: "vibes-diy.cli.claim-handle";
|
|
42
18
|
apiUrl: string;
|
|
43
|
-
|
|
44
|
-
|
|
19
|
+
ownerHandle?: string | undefined;
|
|
20
|
+
noDefault?: boolean | undefined;
|
|
45
21
|
}, {
|
|
46
|
-
type: "vibes-diy.cli.res-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
22
|
+
type: "vibes-diy.cli.res-claim-handle";
|
|
23
|
+
op: "claim" | "suggest";
|
|
24
|
+
ownerHandle?: string | undefined;
|
|
25
|
+
defaultHandleSet?: boolean | undefined;
|
|
26
|
+
defaultSkipped?: boolean | undefined;
|
|
27
|
+
suggestions: string[];
|
|
52
28
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
53
|
-
type: "vibes-diy.cli.
|
|
29
|
+
type: "vibes-diy.cli.image";
|
|
30
|
+
apiUrl: string;
|
|
54
31
|
prompt: string;
|
|
55
|
-
appSlug: string;
|
|
56
32
|
ownerHandle: string;
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
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;
|
|
33
|
+
photo: string;
|
|
34
|
+
vibe: string;
|
|
35
|
+
db: string;
|
|
36
|
+
doc: string;
|
|
37
|
+
out: string;
|
|
38
|
+
json: boolean;
|
|
70
39
|
}, {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
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";
|
|
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";
|
|
40
|
+
type: "vibes-diy.cli.res-image";
|
|
41
|
+
path: string;
|
|
42
|
+
receipt: {
|
|
43
|
+
ok: true;
|
|
44
|
+
picture: {
|
|
45
|
+
url: string;
|
|
46
|
+
mimeType: string;
|
|
47
|
+
name: string;
|
|
48
|
+
size: number;
|
|
49
|
+
ownerHandle: string;
|
|
50
|
+
appSlug: string;
|
|
51
|
+
dbName: string;
|
|
52
|
+
docId: string;
|
|
53
|
+
};
|
|
54
|
+
link?: string | undefined;
|
|
55
|
+
made: {
|
|
56
|
+
prompt: string;
|
|
57
|
+
model: string;
|
|
58
|
+
};
|
|
152
59
|
};
|
|
153
|
-
} | {
|
|
154
|
-
type: "vibes-diy.cli.
|
|
60
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
61
|
+
type: "vibes-diy.cli.db.list";
|
|
62
|
+
apiUrl: string;
|
|
155
63
|
appSlug: string;
|
|
156
64
|
ownerHandle: string;
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
publish?: "kept-private-no-access-fn" | "private" | "published" | undefined;
|
|
162
|
-
posture?: "gated" | "open" | "private" | undefined;
|
|
65
|
+
admin: boolean;
|
|
66
|
+
}, {
|
|
67
|
+
type: "vibes-diy.cli.db.list-res";
|
|
68
|
+
dbNames: string[];
|
|
163
69
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
164
|
-
type: "vibes-diy.cli.db.
|
|
70
|
+
type: "vibes-diy.cli.db.put";
|
|
165
71
|
apiUrl: string;
|
|
166
72
|
appSlug: string;
|
|
167
73
|
ownerHandle: string;
|
|
168
74
|
dbName: string;
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
prefix: string;
|
|
172
|
-
range: string;
|
|
173
|
-
limit: number;
|
|
174
|
-
descending: boolean;
|
|
75
|
+
docJson: string;
|
|
76
|
+
docId: string;
|
|
175
77
|
admin: boolean;
|
|
176
78
|
actingHandle: string;
|
|
79
|
+
files?: string[] | undefined;
|
|
177
80
|
}, {
|
|
178
|
-
type: "vibes-diy.cli.db.
|
|
179
|
-
|
|
180
|
-
|
|
81
|
+
type: "vibes-diy.cli.db.put-res";
|
|
82
|
+
id: string;
|
|
83
|
+
ok: true;
|
|
84
|
+
files?: {
|
|
85
|
+
key: string;
|
|
86
|
+
status: "unchanged" | "uploaded";
|
|
87
|
+
uploadId: string;
|
|
88
|
+
}[] | undefined;
|
|
89
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
90
|
+
type: "vibes-diy.cli.db.seed";
|
|
91
|
+
action: "add" | "remove";
|
|
92
|
+
apiUrl: string;
|
|
93
|
+
appSlug: string;
|
|
94
|
+
ownerHandle: string;
|
|
95
|
+
}, {
|
|
96
|
+
type: "vibes-diy.cli.db.seed-res";
|
|
97
|
+
action: "add" | "remove";
|
|
98
|
+
appSlug: string;
|
|
99
|
+
ownerHandle: string;
|
|
100
|
+
seedFile: "absent" | "invalid" | "present" | "unknown";
|
|
101
|
+
changed: number;
|
|
102
|
+
skipped: number;
|
|
103
|
+
failed: number;
|
|
104
|
+
perDb: {
|
|
105
|
+
dbName: string;
|
|
106
|
+
changed: number;
|
|
107
|
+
skipped: number;
|
|
108
|
+
failed: number;
|
|
181
109
|
}[];
|
|
182
110
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
183
|
-
type: "vibes-diy.cli.
|
|
111
|
+
type: "vibes-diy.cli.app-chats";
|
|
112
|
+
appSlug: string;
|
|
113
|
+
ownerHandle: string;
|
|
114
|
+
chatId?: string | undefined;
|
|
184
115
|
apiUrl: string;
|
|
185
116
|
}, {
|
|
186
|
-
type: "vibes-diy.cli.res-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
117
|
+
type: "vibes-diy.cli.res-app-chats-list";
|
|
118
|
+
items: {
|
|
119
|
+
chatId: string;
|
|
120
|
+
appSlug: string;
|
|
121
|
+
ownerHandle: string;
|
|
122
|
+
created: string;
|
|
123
|
+
userHandle?: string | undefined;
|
|
124
|
+
}[];
|
|
125
|
+
} | {
|
|
126
|
+
type: "vibes-diy.cli.res-app-chats-detail";
|
|
127
|
+
chatId: string;
|
|
128
|
+
ownerHandle?: string | undefined;
|
|
129
|
+
appSlug?: string | undefined;
|
|
130
|
+
output: string;
|
|
131
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
132
|
+
type: "vibes-diy.cli.list";
|
|
133
|
+
apiUrl: string;
|
|
134
|
+
}, {
|
|
135
|
+
type: "vibes-diy.cli.res-list";
|
|
136
|
+
items: {
|
|
137
|
+
ownerHandle: string;
|
|
138
|
+
appSlug: string;
|
|
139
|
+
updated: string;
|
|
140
|
+
title?: string | undefined;
|
|
141
|
+
icon?: {
|
|
142
|
+
cid: string;
|
|
143
|
+
mime: string;
|
|
144
|
+
} | undefined;
|
|
145
|
+
pinnedAt?: string | undefined;
|
|
146
|
+
neverPublished?: boolean | undefined;
|
|
147
|
+
unpublishedAt?: string | undefined;
|
|
148
|
+
}[];
|
|
192
149
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
193
150
|
type: "vibes-diy.cli.app-status";
|
|
194
151
|
appSlug: string;
|
|
@@ -330,53 +287,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
330
287
|
type: "vibes.diy.res-ensure-user-settings";
|
|
331
288
|
userId: string;
|
|
332
289
|
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
|
-
} | {
|
|
380
290
|
type: "sharing";
|
|
381
291
|
grants: {
|
|
382
292
|
grant: "allow" | "deny";
|
|
@@ -494,6 +404,53 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
494
404
|
avatarCid?: string | undefined;
|
|
495
405
|
displayName?: string | undefined;
|
|
496
406
|
codeMode?: boolean | undefined;
|
|
407
|
+
} | {
|
|
408
|
+
type: "notifications";
|
|
409
|
+
buildComplete?: boolean | undefined;
|
|
410
|
+
buildFailed?: boolean | undefined;
|
|
411
|
+
vibePublished?: boolean | undefined;
|
|
412
|
+
commentPosted?: boolean | undefined;
|
|
413
|
+
requestApproved?: boolean | undefined;
|
|
414
|
+
requestRevoked?: boolean | undefined;
|
|
415
|
+
vibeRemixed?: boolean | undefined;
|
|
416
|
+
dmReceived?: boolean | undefined;
|
|
417
|
+
memberJoined?: boolean | undefined;
|
|
418
|
+
accessRequested?: boolean | undefined;
|
|
419
|
+
emailDigest?: boolean | undefined;
|
|
420
|
+
retentionEmail?: boolean | undefined;
|
|
421
|
+
followRequest?: boolean | undefined;
|
|
422
|
+
followerAdded?: boolean | undefined;
|
|
423
|
+
followApproved?: boolean | undefined;
|
|
424
|
+
appMessage?: boolean | undefined;
|
|
425
|
+
connectionExpiring?: boolean | undefined;
|
|
426
|
+
assetBlocked?: boolean | undefined;
|
|
427
|
+
assetCheckFailed?: boolean | undefined;
|
|
428
|
+
checkoutUnfinished?: boolean | undefined;
|
|
429
|
+
safetyAlert?: boolean | undefined;
|
|
430
|
+
reminder?: boolean | undefined;
|
|
431
|
+
emailInstant?: boolean | undefined;
|
|
432
|
+
mutes?: {
|
|
433
|
+
vibes?: string[] | undefined;
|
|
434
|
+
handles?: string[] | undefined;
|
|
435
|
+
} | undefined;
|
|
436
|
+
vibeTypes?: {
|
|
437
|
+
vibe: string;
|
|
438
|
+
buildComplete?: boolean | undefined;
|
|
439
|
+
buildFailed?: boolean | undefined;
|
|
440
|
+
vibePublished?: boolean | undefined;
|
|
441
|
+
commentPosted?: boolean | undefined;
|
|
442
|
+
requestApproved?: boolean | undefined;
|
|
443
|
+
requestRevoked?: boolean | undefined;
|
|
444
|
+
vibeRemixed?: boolean | undefined;
|
|
445
|
+
memberJoined?: boolean | undefined;
|
|
446
|
+
accessRequested?: boolean | undefined;
|
|
447
|
+
appMessage?: boolean | undefined;
|
|
448
|
+
assetBlocked?: boolean | undefined;
|
|
449
|
+
assetCheckFailed?: boolean | undefined;
|
|
450
|
+
}[] | undefined;
|
|
451
|
+
agent?: {
|
|
452
|
+
hiddenVibes?: string[] | undefined;
|
|
453
|
+
} | undefined;
|
|
497
454
|
} | {
|
|
498
455
|
type: "egressStatus";
|
|
499
456
|
status: "blessed" | "blocked";
|
|
@@ -611,18 +568,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
611
568
|
})[];
|
|
612
569
|
updated: string;
|
|
613
570
|
created: string;
|
|
614
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
615
|
-
type: "vibes-diy.cli.skills";
|
|
616
|
-
}, {
|
|
617
|
-
type: "vibes-diy.cli.res-skills-list";
|
|
618
|
-
skills: {
|
|
619
|
-
name: string;
|
|
620
|
-
description: string;
|
|
621
|
-
}[];
|
|
622
|
-
} | {
|
|
623
|
-
type: "vibes-diy.cli.res-skill-content";
|
|
624
|
-
name: string;
|
|
625
|
-
content: string;
|
|
626
571
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
627
572
|
type: "use-vibes.cli.themes";
|
|
628
573
|
}, {
|
|
@@ -636,27 +581,195 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
636
581
|
slug: string;
|
|
637
582
|
content: string;
|
|
638
583
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
639
|
-
type: "vibes-diy.cli.
|
|
584
|
+
type: "vibes-diy.cli.variety";
|
|
585
|
+
}, {
|
|
586
|
+
type: "vibes-diy.cli.res-variety-list";
|
|
587
|
+
grammar: string;
|
|
588
|
+
flourishCount: number;
|
|
589
|
+
archetypes: {
|
|
590
|
+
id: string;
|
|
591
|
+
guidance: string;
|
|
592
|
+
}[];
|
|
593
|
+
flourishes: {
|
|
594
|
+
id: string;
|
|
595
|
+
guidance: string;
|
|
596
|
+
}[];
|
|
597
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
598
|
+
type: "vibes-diy.cli.system";
|
|
599
|
+
}, {
|
|
600
|
+
type: "vibes-diy.cli.res-system";
|
|
601
|
+
systemPrompt: string;
|
|
602
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
603
|
+
type: "vibes-diy.cli.push";
|
|
604
|
+
mode: string;
|
|
605
|
+
appSlug: string;
|
|
606
|
+
ownerHandle: string;
|
|
607
|
+
access?: string | undefined;
|
|
608
|
+
privateMode?: boolean | undefined;
|
|
609
|
+
noAccessFn?: boolean | undefined;
|
|
610
|
+
message?: string | undefined;
|
|
611
|
+
title?: string | undefined;
|
|
612
|
+
from?: {
|
|
613
|
+
ownerHandle: string;
|
|
614
|
+
appSlug: string;
|
|
615
|
+
} | undefined;
|
|
616
|
+
apiKey?: string | undefined;
|
|
617
|
+
apiUrl: string;
|
|
618
|
+
idleTimeoutMs?: number | undefined;
|
|
619
|
+
}, {
|
|
620
|
+
appSlug: string;
|
|
621
|
+
ownerHandle: string;
|
|
622
|
+
mode: "dev" | "production";
|
|
623
|
+
fsId: string;
|
|
624
|
+
type: "vibes.diy.res-ensure-app-slug";
|
|
625
|
+
env: Record<string, string>;
|
|
626
|
+
fileSystem: {
|
|
627
|
+
fileName: string;
|
|
628
|
+
mimeType: string;
|
|
629
|
+
assetId: string;
|
|
630
|
+
assetURI: string;
|
|
631
|
+
transform?: {
|
|
632
|
+
type: "jsx-to-js";
|
|
633
|
+
transformedAssetId: string;
|
|
634
|
+
} | {
|
|
635
|
+
type: "imports";
|
|
636
|
+
importMapAssetId: string;
|
|
637
|
+
} | {
|
|
638
|
+
type: "import-map";
|
|
639
|
+
fromAssetIds: string[];
|
|
640
|
+
} | {
|
|
641
|
+
type: "transformed";
|
|
642
|
+
action: "jsx-to-js";
|
|
643
|
+
transformedAssetId: string;
|
|
644
|
+
} | {
|
|
645
|
+
type: "tailwind-css";
|
|
646
|
+
} | undefined;
|
|
647
|
+
entryPoint?: boolean | undefined;
|
|
648
|
+
size: number;
|
|
649
|
+
kind?: "asset" | undefined;
|
|
650
|
+
uploadId?: string | undefined;
|
|
651
|
+
}[];
|
|
652
|
+
autoEnhanceOff?: true | undefined;
|
|
653
|
+
appCreated?: true | undefined;
|
|
654
|
+
} | {
|
|
655
|
+
type: "vibes.diy.res-error";
|
|
656
|
+
error: {
|
|
657
|
+
message: string;
|
|
658
|
+
code: "require-login";
|
|
659
|
+
};
|
|
660
|
+
} | {
|
|
661
|
+
type: "vibes.diy.res-error";
|
|
662
|
+
error: {
|
|
663
|
+
message: string;
|
|
664
|
+
code: "user-slug-invalid";
|
|
665
|
+
};
|
|
666
|
+
} | {
|
|
667
|
+
type: "vibes.diy.res-error";
|
|
668
|
+
error: {
|
|
669
|
+
message: string;
|
|
670
|
+
code: "app-slug-invalid";
|
|
671
|
+
};
|
|
672
|
+
} | {
|
|
673
|
+
type: "vibes.diy.res-error";
|
|
674
|
+
error: {
|
|
675
|
+
message: string;
|
|
676
|
+
code: "max-app-slugs-reached";
|
|
677
|
+
};
|
|
678
|
+
} | {
|
|
679
|
+
type: "vibes.diy.res-error";
|
|
680
|
+
error: {
|
|
681
|
+
message: string;
|
|
682
|
+
code: "handle-required";
|
|
683
|
+
};
|
|
684
|
+
} | {
|
|
685
|
+
type: "vibes.diy.res-error";
|
|
686
|
+
error: {
|
|
687
|
+
message: string;
|
|
688
|
+
code: "from-not-owned";
|
|
689
|
+
};
|
|
690
|
+
} | {
|
|
691
|
+
type: "vibes.diy.res-error";
|
|
692
|
+
error: {
|
|
693
|
+
message: string;
|
|
694
|
+
code: "from-carry-failed";
|
|
695
|
+
};
|
|
696
|
+
} | {
|
|
697
|
+
type: "vibes.diy.res-error";
|
|
698
|
+
error: {
|
|
699
|
+
message: string;
|
|
700
|
+
code: "auto-enhance-off";
|
|
701
|
+
};
|
|
702
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
703
|
+
type: "vibes-diy.cli.remix";
|
|
704
|
+
srcUserSlug: string;
|
|
705
|
+
srcAppSlug: string;
|
|
706
|
+
dstOwnerHandle?: string | undefined;
|
|
707
|
+
dstAppSlug?: string | undefined;
|
|
708
|
+
published: boolean;
|
|
709
|
+
settingsOnly: boolean;
|
|
710
|
+
apiUrl: string;
|
|
711
|
+
}, {
|
|
712
|
+
type: "vibes-diy.cli.res-remix";
|
|
713
|
+
ownerHandle: string;
|
|
714
|
+
appSlug: string;
|
|
715
|
+
url: string;
|
|
716
|
+
carried?: string[] | undefined;
|
|
717
|
+
skippedPresent?: string[] | undefined;
|
|
718
|
+
chatId?: string | undefined;
|
|
719
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
720
|
+
type: "vibes-diy.cli.agent";
|
|
721
|
+
apiUrl: string;
|
|
722
|
+
prompt: string;
|
|
723
|
+
ownerHandle: string;
|
|
724
|
+
followMs: number;
|
|
725
|
+
json: boolean;
|
|
726
|
+
chatId?: string | undefined;
|
|
727
|
+
newChat?: boolean | undefined;
|
|
728
|
+
images?: string[] | undefined;
|
|
729
|
+
byText?: boolean | undefined;
|
|
730
|
+
}, {
|
|
731
|
+
type: "vibes-diy.cli.res-agent";
|
|
732
|
+
ownerHandle: string;
|
|
733
|
+
chatId: string;
|
|
734
|
+
messages: string[];
|
|
735
|
+
shorts?: string[] | undefined;
|
|
736
|
+
links: string[];
|
|
737
|
+
idle: boolean;
|
|
738
|
+
reactions?: string[] | undefined;
|
|
739
|
+
error?: string | undefined;
|
|
740
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
741
|
+
type: "vibes-diy.cli.put-asset";
|
|
742
|
+
file: string;
|
|
743
|
+
appSlug: string;
|
|
744
|
+
ownerHandle: string;
|
|
745
|
+
apiUrl: string;
|
|
746
|
+
mimeType: string;
|
|
747
|
+
verifyFetch: boolean;
|
|
640
748
|
}, {
|
|
641
|
-
type: "vibes-diy.cli.res-
|
|
642
|
-
|
|
749
|
+
type: "vibes-diy.cli.res-put-asset";
|
|
750
|
+
cid: string;
|
|
751
|
+
getURL: string;
|
|
752
|
+
size: number;
|
|
753
|
+
uploadId: string;
|
|
754
|
+
verified?: boolean | undefined;
|
|
643
755
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
644
|
-
type: "vibes-diy.cli.
|
|
645
|
-
|
|
756
|
+
type: "vibes-diy.cli.generate";
|
|
757
|
+
prompt: string;
|
|
646
758
|
appSlug: string;
|
|
647
759
|
ownerHandle: string;
|
|
648
|
-
|
|
649
|
-
privateMode?: boolean | undefined;
|
|
760
|
+
instantJoin?: boolean | undefined;
|
|
650
761
|
noAccessFn?: boolean | undefined;
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
from?: {
|
|
654
|
-
ownerHandle: string;
|
|
655
|
-
appSlug: string;
|
|
656
|
-
} | undefined;
|
|
657
|
-
apiKey?: string | undefined;
|
|
762
|
+
privateMode?: boolean | undefined;
|
|
763
|
+
verbose: boolean;
|
|
658
764
|
apiUrl: string;
|
|
659
|
-
|
|
765
|
+
focusPath?: string | undefined;
|
|
766
|
+
model?: string | undefined;
|
|
767
|
+
builderModel?: string | undefined;
|
|
768
|
+
apiKey?: string | undefined;
|
|
769
|
+
variety?: string | undefined;
|
|
770
|
+
record?: string | undefined;
|
|
771
|
+
style?: string | undefined;
|
|
772
|
+
fastPass?: boolean | undefined;
|
|
660
773
|
}, {
|
|
661
774
|
appSlug: string;
|
|
662
775
|
ownerHandle: string;
|
|
@@ -740,109 +853,16 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
740
853
|
message: string;
|
|
741
854
|
code: "auto-enhance-off";
|
|
742
855
|
};
|
|
743
|
-
}
|
|
744
|
-
type: "vibes-diy.cli.
|
|
745
|
-
srcUserSlug: string;
|
|
746
|
-
srcAppSlug: string;
|
|
747
|
-
dstOwnerHandle?: string | undefined;
|
|
748
|
-
dstAppSlug?: string | undefined;
|
|
749
|
-
published: boolean;
|
|
750
|
-
settingsOnly: boolean;
|
|
751
|
-
apiUrl: string;
|
|
752
|
-
}, {
|
|
753
|
-
type: "vibes-diy.cli.res-remix";
|
|
754
|
-
ownerHandle: string;
|
|
755
|
-
appSlug: string;
|
|
756
|
-
url: string;
|
|
757
|
-
carried?: string[] | undefined;
|
|
758
|
-
skippedPresent?: string[] | undefined;
|
|
759
|
-
chatId?: string | undefined;
|
|
760
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
761
|
-
type: "vibes-diy.cli.claim-handle";
|
|
762
|
-
apiUrl: string;
|
|
763
|
-
ownerHandle?: string | undefined;
|
|
764
|
-
noDefault?: boolean | undefined;
|
|
765
|
-
}, {
|
|
766
|
-
type: "vibes-diy.cli.res-claim-handle";
|
|
767
|
-
op: "claim" | "suggest";
|
|
768
|
-
ownerHandle?: string | undefined;
|
|
769
|
-
defaultHandleSet?: boolean | undefined;
|
|
770
|
-
defaultSkipped?: boolean | undefined;
|
|
771
|
-
suggestions: string[];
|
|
772
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
773
|
-
type: "vibes-diy.cli.agent";
|
|
774
|
-
apiUrl: string;
|
|
775
|
-
prompt: string;
|
|
776
|
-
ownerHandle: string;
|
|
777
|
-
followMs: number;
|
|
778
|
-
json: boolean;
|
|
779
|
-
chatId?: string | undefined;
|
|
780
|
-
newChat?: boolean | undefined;
|
|
781
|
-
images?: string[] | undefined;
|
|
782
|
-
byText?: boolean | undefined;
|
|
783
|
-
}, {
|
|
784
|
-
type: "vibes-diy.cli.res-agent";
|
|
785
|
-
ownerHandle: string;
|
|
786
|
-
chatId: string;
|
|
787
|
-
messages: string[];
|
|
788
|
-
shorts?: string[] | undefined;
|
|
789
|
-
links: string[];
|
|
790
|
-
idle: boolean;
|
|
791
|
-
reactions?: string[] | undefined;
|
|
792
|
-
error?: string | undefined;
|
|
793
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
794
|
-
type: "vibes-diy.cli.image";
|
|
795
|
-
apiUrl: string;
|
|
796
|
-
prompt: string;
|
|
797
|
-
ownerHandle: string;
|
|
798
|
-
photo: string;
|
|
799
|
-
vibe: string;
|
|
800
|
-
db: string;
|
|
801
|
-
doc: string;
|
|
802
|
-
out: string;
|
|
803
|
-
json: boolean;
|
|
804
|
-
}, {
|
|
805
|
-
type: "vibes-diy.cli.res-image";
|
|
806
|
-
path: string;
|
|
807
|
-
receipt: {
|
|
808
|
-
ok: true;
|
|
809
|
-
picture: {
|
|
810
|
-
url: string;
|
|
811
|
-
mimeType: string;
|
|
812
|
-
name: string;
|
|
813
|
-
size: number;
|
|
814
|
-
ownerHandle: string;
|
|
815
|
-
appSlug: string;
|
|
816
|
-
dbName: string;
|
|
817
|
-
docId: string;
|
|
818
|
-
};
|
|
819
|
-
link?: string | undefined;
|
|
820
|
-
made: {
|
|
821
|
-
prompt: string;
|
|
822
|
-
model: string;
|
|
823
|
-
};
|
|
824
|
-
};
|
|
825
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
826
|
-
type: "vibes-diy.cli.app-chats";
|
|
856
|
+
} | {
|
|
857
|
+
type: "vibes-diy.cli.res-generate";
|
|
827
858
|
appSlug: string;
|
|
828
859
|
ownerHandle: string;
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
appSlug: string;
|
|
836
|
-
ownerHandle: string;
|
|
837
|
-
created: string;
|
|
838
|
-
userHandle?: string | undefined;
|
|
839
|
-
}[];
|
|
840
|
-
} | {
|
|
841
|
-
type: "vibes-diy.cli.res-app-chats-detail";
|
|
842
|
-
chatId: string;
|
|
843
|
-
ownerHandle?: string | undefined;
|
|
844
|
-
appSlug?: string | undefined;
|
|
845
|
-
output: string;
|
|
860
|
+
url: string;
|
|
861
|
+
directory: string;
|
|
862
|
+
release?: "not-visible" | "published" | "version-locked" | undefined;
|
|
863
|
+
turns?: number | undefined;
|
|
864
|
+
publish?: "kept-private-no-access-fn" | "private" | "published" | undefined;
|
|
865
|
+
posture?: "gated" | "open" | "private" | undefined;
|
|
846
866
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
847
867
|
type: "vibes-diy.cli.codegen-log";
|
|
848
868
|
appSlug: string;
|
|
@@ -983,24 +1003,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
983
1003
|
directory: string;
|
|
984
1004
|
restyled?: boolean | undefined;
|
|
985
1005
|
fsId?: string | undefined;
|
|
986
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
987
|
-
type: "vibes-diy.cli.list";
|
|
988
|
-
apiUrl: string;
|
|
989
|
-
}, {
|
|
990
|
-
type: "vibes-diy.cli.res-list";
|
|
991
|
-
items: {
|
|
992
|
-
ownerHandle: string;
|
|
993
|
-
appSlug: string;
|
|
994
|
-
updated: string;
|
|
995
|
-
title?: string | undefined;
|
|
996
|
-
icon?: {
|
|
997
|
-
cid: string;
|
|
998
|
-
mime: string;
|
|
999
|
-
} | undefined;
|
|
1000
|
-
pinnedAt?: string | undefined;
|
|
1001
|
-
neverPublished?: boolean | undefined;
|
|
1002
|
-
unpublishedAt?: string | undefined;
|
|
1003
|
-
}[];
|
|
1004
1006
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1005
1007
|
type: "vibes-diy.cli.doctor";
|
|
1006
1008
|
apiUrl: string;
|
|
@@ -1027,6 +1029,16 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1027
1029
|
detail: string;
|
|
1028
1030
|
ms?: number | undefined;
|
|
1029
1031
|
} | undefined;
|
|
1032
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1033
|
+
type: "vibes-diy.cli.whoami";
|
|
1034
|
+
apiUrl: string;
|
|
1035
|
+
}, {
|
|
1036
|
+
type: "vibes-diy.cli.res-whoami";
|
|
1037
|
+
authenticated: boolean;
|
|
1038
|
+
userId?: string | undefined;
|
|
1039
|
+
defaultHandle?: string | undefined;
|
|
1040
|
+
handles: string[];
|
|
1041
|
+
detail?: string | undefined;
|
|
1030
1042
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1031
1043
|
type: "vibes-diy.cli.pull";
|
|
1032
1044
|
appSlug: string;
|
|
@@ -1576,14 +1588,24 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1576
1588
|
type: "vibes-diy.cli.res-phone-link-classify";
|
|
1577
1589
|
reaction?: string | undefined;
|
|
1578
1590
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1579
|
-
type: "
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1591
|
+
type: "core-cli.device-id-register";
|
|
1592
|
+
commonName: string;
|
|
1593
|
+
organization: string;
|
|
1594
|
+
locality: string;
|
|
1595
|
+
state: string;
|
|
1596
|
+
country: string;
|
|
1597
|
+
caUrl: string;
|
|
1598
|
+
port: string;
|
|
1599
|
+
timeout: string;
|
|
1600
|
+
forceRenew: boolean;
|
|
1601
|
+
cert?: string | undefined;
|
|
1602
|
+
noBrowser?: boolean | undefined;
|
|
1603
|
+
apiUrl?: string | undefined;
|
|
1604
|
+
expectHandle?: string | undefined;
|
|
1605
|
+
expectUser?: string | undefined;
|
|
1584
1606
|
}, {
|
|
1585
|
-
type: "
|
|
1586
|
-
|
|
1607
|
+
type: "core-cli.res-device-id-register";
|
|
1608
|
+
output: string;
|
|
1587
1609
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1588
1610
|
type: "vibes-diy.cli.db.get";
|
|
1589
1611
|
apiUrl: string;
|
|
@@ -1599,64 +1621,42 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1599
1621
|
[x: string]: unknown;
|
|
1600
1622
|
};
|
|
1601
1623
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1602
|
-
type: "vibes-diy.cli.db.
|
|
1624
|
+
type: "vibes-diy.cli.db.del";
|
|
1603
1625
|
apiUrl: string;
|
|
1604
1626
|
appSlug: string;
|
|
1605
1627
|
ownerHandle: string;
|
|
1606
1628
|
dbName: string;
|
|
1607
|
-
docJson: string;
|
|
1608
1629
|
docId: string;
|
|
1609
1630
|
admin: boolean;
|
|
1610
1631
|
actingHandle: string;
|
|
1611
|
-
files?: string[] | undefined;
|
|
1612
1632
|
}, {
|
|
1613
|
-
type: "vibes-diy.cli.db.
|
|
1633
|
+
type: "vibes-diy.cli.db.del-res";
|
|
1614
1634
|
id: string;
|
|
1615
1635
|
ok: true;
|
|
1616
|
-
files?: {
|
|
1617
|
-
key: string;
|
|
1618
|
-
status: "unchanged" | "uploaded";
|
|
1619
|
-
uploadId: string;
|
|
1620
|
-
}[] | undefined;
|
|
1621
1636
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1622
|
-
type: "vibes-diy.cli.db.
|
|
1637
|
+
type: "vibes-diy.cli.db.query";
|
|
1623
1638
|
apiUrl: string;
|
|
1624
1639
|
appSlug: string;
|
|
1625
1640
|
ownerHandle: string;
|
|
1626
1641
|
dbName: string;
|
|
1627
|
-
|
|
1642
|
+
field: string;
|
|
1643
|
+
key: string;
|
|
1644
|
+
prefix: string;
|
|
1645
|
+
range: string;
|
|
1646
|
+
limit: number;
|
|
1647
|
+
descending: boolean;
|
|
1628
1648
|
admin: boolean;
|
|
1629
1649
|
actingHandle: string;
|
|
1630
1650
|
}, {
|
|
1631
|
-
type: "vibes-diy.cli.db.
|
|
1632
|
-
|
|
1633
|
-
|
|
1651
|
+
type: "vibes-diy.cli.db.query-res";
|
|
1652
|
+
docs: {
|
|
1653
|
+
[x: string]: unknown;
|
|
1654
|
+
}[];
|
|
1634
1655
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1635
1656
|
type: "vibes-diy.cli.db.subscribe";
|
|
1636
1657
|
apiUrl: string;
|
|
1637
1658
|
appSlug: string;
|
|
1638
1659
|
ownerHandle: string;
|
|
1639
1660
|
dbName: string;
|
|
1640
|
-
}, never>
|
|
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
|
-
}>)[];
|
|
1661
|
+
}, never>)[];
|
|
1662
1662
|
export declare function cmdTsEvento(): import("@adviser/cement").Evento;
|