vibes-diy 14.3.474 → 14.3.475
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
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.assets-ls";
|
|
188
143
|
appSlug: string;
|
|
@@ -299,6 +254,59 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
299
254
|
type: "vibes.diy.res-ensure-user-settings";
|
|
300
255
|
userId: string;
|
|
301
256
|
settings: ({
|
|
257
|
+
type: "notifications";
|
|
258
|
+
buildComplete?: boolean | undefined;
|
|
259
|
+
buildFailed?: boolean | undefined;
|
|
260
|
+
vibePublished?: boolean | undefined;
|
|
261
|
+
commentPosted?: boolean | undefined;
|
|
262
|
+
requestApproved?: boolean | undefined;
|
|
263
|
+
requestRevoked?: boolean | undefined;
|
|
264
|
+
vibeRemixed?: boolean | undefined;
|
|
265
|
+
dmReceived?: boolean | undefined;
|
|
266
|
+
memberJoined?: boolean | undefined;
|
|
267
|
+
accessRequested?: boolean | undefined;
|
|
268
|
+
buildRequested?: boolean | undefined;
|
|
269
|
+
buildApproved?: boolean | undefined;
|
|
270
|
+
emailDigest?: boolean | undefined;
|
|
271
|
+
retentionEmail?: boolean | undefined;
|
|
272
|
+
followRequest?: boolean | undefined;
|
|
273
|
+
followerAdded?: boolean | undefined;
|
|
274
|
+
followApproved?: boolean | undefined;
|
|
275
|
+
appMessage?: boolean | undefined;
|
|
276
|
+
connectionExpiring?: boolean | undefined;
|
|
277
|
+
assetBlocked?: boolean | undefined;
|
|
278
|
+
assetCheckFailed?: boolean | undefined;
|
|
279
|
+
checkoutUnfinished?: boolean | undefined;
|
|
280
|
+
safetyAlert?: boolean | undefined;
|
|
281
|
+
reminder?: boolean | undefined;
|
|
282
|
+
teamMessages?: boolean | undefined;
|
|
283
|
+
emailInstant?: boolean | undefined;
|
|
284
|
+
mutes?: {
|
|
285
|
+
vibes?: string[] | undefined;
|
|
286
|
+
handles?: string[] | undefined;
|
|
287
|
+
actors?: string[] | undefined;
|
|
288
|
+
} | undefined;
|
|
289
|
+
vibeTypes?: {
|
|
290
|
+
vibe: string;
|
|
291
|
+
buildComplete?: boolean | undefined;
|
|
292
|
+
buildFailed?: boolean | undefined;
|
|
293
|
+
vibePublished?: boolean | undefined;
|
|
294
|
+
commentPosted?: boolean | undefined;
|
|
295
|
+
requestApproved?: boolean | undefined;
|
|
296
|
+
requestRevoked?: boolean | undefined;
|
|
297
|
+
vibeRemixed?: boolean | undefined;
|
|
298
|
+
memberJoined?: boolean | undefined;
|
|
299
|
+
accessRequested?: boolean | undefined;
|
|
300
|
+
buildRequested?: boolean | undefined;
|
|
301
|
+
buildApproved?: boolean | undefined;
|
|
302
|
+
appMessage?: boolean | undefined;
|
|
303
|
+
assetBlocked?: boolean | undefined;
|
|
304
|
+
assetCheckFailed?: boolean | undefined;
|
|
305
|
+
}[] | undefined;
|
|
306
|
+
agent?: {
|
|
307
|
+
hiddenVibes?: string[] | undefined;
|
|
308
|
+
} | undefined;
|
|
309
|
+
} | {
|
|
302
310
|
type: "sharing";
|
|
303
311
|
grants: {
|
|
304
312
|
grant: "allow" | "deny";
|
|
@@ -416,59 +424,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
416
424
|
avatarCid?: string | undefined;
|
|
417
425
|
displayName?: string | undefined;
|
|
418
426
|
codeMode?: boolean | undefined;
|
|
419
|
-
} | {
|
|
420
|
-
type: "notifications";
|
|
421
|
-
buildComplete?: boolean | undefined;
|
|
422
|
-
buildFailed?: boolean | undefined;
|
|
423
|
-
vibePublished?: boolean | undefined;
|
|
424
|
-
commentPosted?: boolean | undefined;
|
|
425
|
-
requestApproved?: boolean | undefined;
|
|
426
|
-
requestRevoked?: boolean | undefined;
|
|
427
|
-
vibeRemixed?: boolean | undefined;
|
|
428
|
-
dmReceived?: boolean | undefined;
|
|
429
|
-
memberJoined?: boolean | undefined;
|
|
430
|
-
accessRequested?: boolean | undefined;
|
|
431
|
-
buildRequested?: boolean | undefined;
|
|
432
|
-
buildApproved?: boolean | undefined;
|
|
433
|
-
emailDigest?: boolean | undefined;
|
|
434
|
-
retentionEmail?: boolean | undefined;
|
|
435
|
-
followRequest?: boolean | undefined;
|
|
436
|
-
followerAdded?: boolean | undefined;
|
|
437
|
-
followApproved?: boolean | undefined;
|
|
438
|
-
appMessage?: boolean | undefined;
|
|
439
|
-
connectionExpiring?: boolean | undefined;
|
|
440
|
-
assetBlocked?: boolean | undefined;
|
|
441
|
-
assetCheckFailed?: boolean | undefined;
|
|
442
|
-
checkoutUnfinished?: boolean | undefined;
|
|
443
|
-
safetyAlert?: boolean | undefined;
|
|
444
|
-
reminder?: boolean | undefined;
|
|
445
|
-
teamMessages?: boolean | undefined;
|
|
446
|
-
emailInstant?: boolean | undefined;
|
|
447
|
-
mutes?: {
|
|
448
|
-
vibes?: string[] | undefined;
|
|
449
|
-
handles?: string[] | undefined;
|
|
450
|
-
actors?: string[] | undefined;
|
|
451
|
-
} | undefined;
|
|
452
|
-
vibeTypes?: {
|
|
453
|
-
vibe: string;
|
|
454
|
-
buildComplete?: boolean | undefined;
|
|
455
|
-
buildFailed?: boolean | undefined;
|
|
456
|
-
vibePublished?: boolean | undefined;
|
|
457
|
-
commentPosted?: boolean | undefined;
|
|
458
|
-
requestApproved?: boolean | undefined;
|
|
459
|
-
requestRevoked?: boolean | undefined;
|
|
460
|
-
vibeRemixed?: boolean | undefined;
|
|
461
|
-
memberJoined?: boolean | undefined;
|
|
462
|
-
accessRequested?: boolean | undefined;
|
|
463
|
-
buildRequested?: boolean | undefined;
|
|
464
|
-
buildApproved?: boolean | undefined;
|
|
465
|
-
appMessage?: boolean | undefined;
|
|
466
|
-
assetBlocked?: boolean | undefined;
|
|
467
|
-
assetCheckFailed?: boolean | undefined;
|
|
468
|
-
}[] | undefined;
|
|
469
|
-
agent?: {
|
|
470
|
-
hiddenVibes?: string[] | undefined;
|
|
471
|
-
} | undefined;
|
|
472
427
|
} | {
|
|
473
428
|
type: "egressStatus";
|
|
474
429
|
status: "blessed" | "blocked";
|
|
@@ -479,9 +434,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
479
434
|
email: string;
|
|
480
435
|
updatedAt: string;
|
|
481
436
|
verified?: boolean | undefined;
|
|
482
|
-
} | {
|
|
483
|
-
type: "onboarding";
|
|
484
|
-
completedAt: string;
|
|
485
437
|
} | {
|
|
486
438
|
type: "geoCountry";
|
|
487
439
|
country: string;
|
|
@@ -492,6 +444,9 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
492
444
|
[x: string]: string;
|
|
493
445
|
};
|
|
494
446
|
updatedAt: string;
|
|
447
|
+
} | {
|
|
448
|
+
type: "onboarding";
|
|
449
|
+
completedAt: string;
|
|
495
450
|
} | {
|
|
496
451
|
type: "kyc";
|
|
497
452
|
cardAt?: string | undefined;
|
|
@@ -625,20 +580,18 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
625
580
|
type: "vibes-diy.cli.res-skill-content";
|
|
626
581
|
name: string;
|
|
627
582
|
content: string;
|
|
628
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
629
|
-
type: "vibes
|
|
630
|
-
}, {
|
|
631
|
-
type: "vibes
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
id: string;
|
|
636
|
-
guidance: string;
|
|
637
|
-
}[];
|
|
638
|
-
flourishes: {
|
|
639
|
-
id: string;
|
|
640
|
-
guidance: string;
|
|
583
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
584
|
+
type: "use-vibes.cli.themes";
|
|
585
|
+
}, {
|
|
586
|
+
type: "use-vibes.cli.res-themes-list";
|
|
587
|
+
themes: {
|
|
588
|
+
slug: string;
|
|
589
|
+
name: string;
|
|
641
590
|
}[];
|
|
591
|
+
} | {
|
|
592
|
+
type: "use-vibes.cli.res-theme-content";
|
|
593
|
+
slug: string;
|
|
594
|
+
content: string;
|
|
642
595
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
643
596
|
type: "vibes-diy.cli.system";
|
|
644
597
|
}, {
|
|
@@ -834,21 +787,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
834
787
|
model: string;
|
|
835
788
|
};
|
|
836
789
|
};
|
|
837
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
838
|
-
type: "vibes-diy.cli.put-asset";
|
|
839
|
-
file: string;
|
|
840
|
-
appSlug: string;
|
|
841
|
-
ownerHandle: string;
|
|
842
|
-
apiUrl: string;
|
|
843
|
-
mimeType: string;
|
|
844
|
-
verifyFetch: boolean;
|
|
845
|
-
}, {
|
|
846
|
-
type: "vibes-diy.cli.res-put-asset";
|
|
847
|
-
cid: string;
|
|
848
|
-
getURL: string;
|
|
849
|
-
size: number;
|
|
850
|
-
uploadId: string;
|
|
851
|
-
verified?: boolean | undefined;
|
|
852
790
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
853
791
|
type: "vibes-diy.cli.generate";
|
|
854
792
|
prompt: string;
|
|
@@ -966,44 +904,150 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
966
904
|
publish?: "kept-private-no-access-fn" | "private" | "published" | undefined;
|
|
967
905
|
posture?: "gated" | "open" | "private" | undefined;
|
|
968
906
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
969
|
-
type: "vibes-diy.cli.
|
|
907
|
+
type: "vibes-diy.cli.codegen-log";
|
|
970
908
|
appSlug: string;
|
|
971
909
|
ownerHandle: string;
|
|
972
910
|
chatId?: string | undefined;
|
|
973
911
|
apiUrl: string;
|
|
912
|
+
response?: boolean | undefined;
|
|
913
|
+
raw?: boolean | undefined;
|
|
914
|
+
files?: boolean | undefined;
|
|
915
|
+
jsonl?: boolean | undefined;
|
|
916
|
+
user?: boolean | undefined;
|
|
917
|
+
promptId?: string | undefined;
|
|
974
918
|
}, {
|
|
975
|
-
type: "vibes-diy.cli.res-
|
|
919
|
+
type: "vibes-diy.cli.res-codegen-log-list";
|
|
976
920
|
items: {
|
|
977
921
|
chatId: string;
|
|
978
922
|
appSlug: string;
|
|
979
923
|
ownerHandle: string;
|
|
980
924
|
created: string;
|
|
981
|
-
userHandle?: string | undefined;
|
|
982
925
|
}[];
|
|
983
926
|
} | {
|
|
984
|
-
type: "vibes-diy.cli.res-
|
|
927
|
+
type: "vibes-diy.cli.res-codegen-log-detail";
|
|
985
928
|
chatId: string;
|
|
986
|
-
ownerHandle
|
|
987
|
-
appSlug
|
|
929
|
+
ownerHandle: string;
|
|
930
|
+
appSlug: string;
|
|
931
|
+
prompts: {
|
|
932
|
+
prompt: string;
|
|
933
|
+
fsId: string;
|
|
934
|
+
created: string;
|
|
935
|
+
}[];
|
|
936
|
+
} | {
|
|
937
|
+
type: "vibes-diy.cli.res-codegen-log-response";
|
|
988
938
|
output: string;
|
|
989
939
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
990
|
-
type: "vibes-diy.cli.
|
|
940
|
+
type: "vibes-diy.cli.edit";
|
|
941
|
+
appSlug: string;
|
|
942
|
+
prompt: string;
|
|
943
|
+
ownerHandle: string;
|
|
944
|
+
instantJoin?: boolean | undefined;
|
|
945
|
+
verbose: boolean;
|
|
946
|
+
dir: string;
|
|
991
947
|
apiUrl: string;
|
|
948
|
+
dryRun: boolean;
|
|
949
|
+
transcript: boolean;
|
|
950
|
+
directBuild?: boolean | undefined;
|
|
951
|
+
focusPath?: string | undefined;
|
|
952
|
+
model?: string | undefined;
|
|
953
|
+
builderModel?: string | undefined;
|
|
954
|
+
apiKey?: string | undefined;
|
|
992
955
|
}, {
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
956
|
+
appSlug: string;
|
|
957
|
+
ownerHandle: string;
|
|
958
|
+
mode: "dev" | "production";
|
|
959
|
+
fsId: string;
|
|
960
|
+
type: "vibes.diy.res-ensure-app-slug";
|
|
961
|
+
env: Record<string, string>;
|
|
962
|
+
fileSystem: {
|
|
963
|
+
fileName: string;
|
|
964
|
+
mimeType: string;
|
|
965
|
+
assetId: string;
|
|
966
|
+
assetURI: string;
|
|
967
|
+
transform?: {
|
|
968
|
+
type: "jsx-to-js";
|
|
969
|
+
transformedAssetId: string;
|
|
970
|
+
} | {
|
|
971
|
+
type: "imports";
|
|
972
|
+
importMapAssetId: string;
|
|
973
|
+
} | {
|
|
974
|
+
type: "import-map";
|
|
975
|
+
fromAssetIds: string[];
|
|
976
|
+
} | {
|
|
977
|
+
type: "transformed";
|
|
978
|
+
action: "jsx-to-js";
|
|
979
|
+
transformedAssetId: string;
|
|
980
|
+
} | {
|
|
981
|
+
type: "tailwind-css";
|
|
1002
982
|
} | undefined;
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
983
|
+
entryPoint?: boolean | undefined;
|
|
984
|
+
size: number;
|
|
985
|
+
kind?: "asset" | undefined;
|
|
986
|
+
uploadId?: string | undefined;
|
|
1006
987
|
}[];
|
|
988
|
+
autoEnhanceOff?: true | undefined;
|
|
989
|
+
appCreated?: true | undefined;
|
|
990
|
+
anonWriteFollowed?: {
|
|
991
|
+
to: "explicit" | "off";
|
|
992
|
+
because: "not-open" | "personal-details" | "rules-ask" | "rules-do-not-ask" | "rules-not-bound" | "sensitive";
|
|
993
|
+
} | undefined;
|
|
994
|
+
backendWarnings?: string[] | undefined;
|
|
995
|
+
} | {
|
|
996
|
+
type: "vibes.diy.res-error";
|
|
997
|
+
error: {
|
|
998
|
+
message: string;
|
|
999
|
+
code: "require-login";
|
|
1000
|
+
};
|
|
1001
|
+
} | {
|
|
1002
|
+
type: "vibes.diy.res-error";
|
|
1003
|
+
error: {
|
|
1004
|
+
message: string;
|
|
1005
|
+
code: "user-slug-invalid";
|
|
1006
|
+
};
|
|
1007
|
+
} | {
|
|
1008
|
+
type: "vibes.diy.res-error";
|
|
1009
|
+
error: {
|
|
1010
|
+
message: string;
|
|
1011
|
+
code: "app-slug-invalid";
|
|
1012
|
+
};
|
|
1013
|
+
} | {
|
|
1014
|
+
type: "vibes.diy.res-error";
|
|
1015
|
+
error: {
|
|
1016
|
+
message: string;
|
|
1017
|
+
code: "max-app-slugs-reached";
|
|
1018
|
+
};
|
|
1019
|
+
} | {
|
|
1020
|
+
type: "vibes.diy.res-error";
|
|
1021
|
+
error: {
|
|
1022
|
+
message: string;
|
|
1023
|
+
code: "handle-required";
|
|
1024
|
+
};
|
|
1025
|
+
} | {
|
|
1026
|
+
type: "vibes.diy.res-error";
|
|
1027
|
+
error: {
|
|
1028
|
+
message: string;
|
|
1029
|
+
code: "from-not-owned";
|
|
1030
|
+
};
|
|
1031
|
+
} | {
|
|
1032
|
+
type: "vibes.diy.res-error";
|
|
1033
|
+
error: {
|
|
1034
|
+
message: string;
|
|
1035
|
+
code: "from-carry-failed";
|
|
1036
|
+
};
|
|
1037
|
+
} | {
|
|
1038
|
+
type: "vibes.diy.res-error";
|
|
1039
|
+
error: {
|
|
1040
|
+
message: string;
|
|
1041
|
+
code: "auto-enhance-off";
|
|
1042
|
+
};
|
|
1043
|
+
} | {
|
|
1044
|
+
type: "vibes-diy.cli.res-edit";
|
|
1045
|
+
appSlug: string;
|
|
1046
|
+
ownerHandle: string;
|
|
1047
|
+
url: string;
|
|
1048
|
+
directory: string;
|
|
1049
|
+
restyled?: boolean | undefined;
|
|
1050
|
+
fsId?: string | undefined;
|
|
1007
1051
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1008
1052
|
type: "vibes-diy.cli.doctor";
|
|
1009
1053
|
apiUrl: string;
|
|
@@ -1040,6 +1084,25 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1040
1084
|
defaultHandle?: string | undefined;
|
|
1041
1085
|
handles: string[];
|
|
1042
1086
|
detail?: string | undefined;
|
|
1087
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1088
|
+
type: "vibes-diy.cli.pull";
|
|
1089
|
+
appSlug: string;
|
|
1090
|
+
ownerHandle: string;
|
|
1091
|
+
dir: string;
|
|
1092
|
+
apiUrl: string;
|
|
1093
|
+
fsId?: string | undefined;
|
|
1094
|
+
published: boolean;
|
|
1095
|
+
draft: boolean;
|
|
1096
|
+
version?: string | undefined;
|
|
1097
|
+
}, {
|
|
1098
|
+
type: "vibes-diy.cli.res-pull";
|
|
1099
|
+
appSlug: string;
|
|
1100
|
+
ownerHandle: string;
|
|
1101
|
+
directory: string;
|
|
1102
|
+
files: {
|
|
1103
|
+
name: string;
|
|
1104
|
+
size: number;
|
|
1105
|
+
}[];
|
|
1043
1106
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1044
1107
|
type: "vibes-diy.cli.run";
|
|
1045
1108
|
apiUrl: string;
|
|
@@ -1701,34 +1764,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1701
1764
|
}, {
|
|
1702
1765
|
type: "vibes-diy.cli.res-phone-link-classify";
|
|
1703
1766
|
reaction?: string | undefined;
|
|
1704
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1705
|
-
type: "core-cli.device-id-register";
|
|
1706
|
-
commonName: string;
|
|
1707
|
-
organization: string;
|
|
1708
|
-
locality: string;
|
|
1709
|
-
state: string;
|
|
1710
|
-
country: string;
|
|
1711
|
-
caUrl: string;
|
|
1712
|
-
port: string;
|
|
1713
|
-
timeout: string;
|
|
1714
|
-
forceRenew: boolean;
|
|
1715
|
-
cert?: string | undefined;
|
|
1716
|
-
noBrowser?: boolean | undefined;
|
|
1717
|
-
apiUrl?: string | undefined;
|
|
1718
|
-
expectHandle?: string | undefined;
|
|
1719
|
-
expectUser?: string | undefined;
|
|
1720
|
-
}, {
|
|
1721
|
-
type: "core-cli.res-device-id-register";
|
|
1722
|
-
output: string;
|
|
1723
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1724
|
-
type: "vibes-diy.cli.db.list";
|
|
1725
|
-
apiUrl: string;
|
|
1726
|
-
appSlug: string;
|
|
1727
|
-
ownerHandle: string;
|
|
1728
|
-
admin: boolean;
|
|
1729
|
-
}, {
|
|
1730
|
-
type: "vibes-diy.cli.db.list-res";
|
|
1731
|
-
dbNames: string[];
|
|
1732
1767
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1733
1768
|
type: "vibes-diy.cli.db.get";
|
|
1734
1769
|
apiUrl: string;
|
|
@@ -1743,26 +1778,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1743
1778
|
doc: {
|
|
1744
1779
|
[x: string]: unknown;
|
|
1745
1780
|
};
|
|
1746
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1747
|
-
type: "vibes-diy.cli.db.put";
|
|
1748
|
-
apiUrl: string;
|
|
1749
|
-
appSlug: string;
|
|
1750
|
-
ownerHandle: string;
|
|
1751
|
-
dbName: string;
|
|
1752
|
-
docJson: string;
|
|
1753
|
-
docId: string;
|
|
1754
|
-
admin: boolean;
|
|
1755
|
-
actingHandle: string;
|
|
1756
|
-
files?: string[] | undefined;
|
|
1757
|
-
}, {
|
|
1758
|
-
type: "vibes-diy.cli.db.put-res";
|
|
1759
|
-
id: string;
|
|
1760
|
-
ok: true;
|
|
1761
|
-
files?: {
|
|
1762
|
-
key: string;
|
|
1763
|
-
status: "unchanged" | "uploaded";
|
|
1764
|
-
uploadId: string;
|
|
1765
|
-
}[] | undefined;
|
|
1766
1781
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1767
1782
|
type: "vibes-diy.cli.db.del";
|
|
1768
1783
|
apiUrl: string;
|
|
@@ -1796,25 +1811,10 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1796
1811
|
[x: string]: unknown;
|
|
1797
1812
|
}[];
|
|
1798
1813
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1799
|
-
type: "vibes-diy.cli.db.
|
|
1800
|
-
action: "add" | "remove";
|
|
1814
|
+
type: "vibes-diy.cli.db.subscribe";
|
|
1801
1815
|
apiUrl: string;
|
|
1802
1816
|
appSlug: string;
|
|
1803
1817
|
ownerHandle: string;
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
action: "add" | "remove";
|
|
1807
|
-
appSlug: string;
|
|
1808
|
-
ownerHandle: string;
|
|
1809
|
-
seedFile: "absent" | "invalid" | "present" | "unknown";
|
|
1810
|
-
changed: number;
|
|
1811
|
-
skipped: number;
|
|
1812
|
-
failed: number;
|
|
1813
|
-
perDb: {
|
|
1814
|
-
dbName: string;
|
|
1815
|
-
changed: number;
|
|
1816
|
-
skipped: number;
|
|
1817
|
-
failed: number;
|
|
1818
|
-
}[];
|
|
1819
|
-
}>)[];
|
|
1818
|
+
dbName: string;
|
|
1819
|
+
}, never>)[];
|
|
1820
1820
|
export declare function cmdTsEvento(): import("@adviser/cement").Evento;
|