vibes-diy 14.3.382 → 14.3.384
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 +422 -422
- package/cli/cmds/run/backend-worker/run-backend-entry.js +533 -361
- package/cli/cmds/run/bundle-inputs.json +6 -0
- package/cli/cmds/run/run-bundle.js +6112 -5917
- package/cli/cmds/run/run-schema.generated.d.ts +1 -1
- package/cli/cmds/run/run-schema.generated.js +2 -1
- package/package.json +8 -8
package/cli/cmd-evento.d.ts
CHANGED
|
@@ -2,303 +2,6 @@ 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: "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;
|
|
20
|
-
}, {
|
|
21
|
-
type: "core-cli.res-device-id-register";
|
|
22
|
-
output: string;
|
|
23
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
24
|
-
type: "vibes-diy.cli.skills";
|
|
25
|
-
}, {
|
|
26
|
-
type: "vibes-diy.cli.res-skills-list";
|
|
27
|
-
skills: {
|
|
28
|
-
name: string;
|
|
29
|
-
description: string;
|
|
30
|
-
}[];
|
|
31
|
-
} | {
|
|
32
|
-
type: "vibes-diy.cli.res-skill-content";
|
|
33
|
-
name: string;
|
|
34
|
-
content: string;
|
|
35
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
36
|
-
type: "vibes-diy.cli.claim-handle";
|
|
37
|
-
apiUrl: string;
|
|
38
|
-
ownerHandle?: string | undefined;
|
|
39
|
-
noDefault?: boolean | undefined;
|
|
40
|
-
}, {
|
|
41
|
-
type: "vibes-diy.cli.res-claim-handle";
|
|
42
|
-
op: "claim" | "suggest";
|
|
43
|
-
ownerHandle?: string | undefined;
|
|
44
|
-
defaultHandleSet?: boolean | undefined;
|
|
45
|
-
defaultSkipped?: boolean | undefined;
|
|
46
|
-
suggestions: string[];
|
|
47
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
48
|
-
type: "vibes-diy.cli.image";
|
|
49
|
-
apiUrl: string;
|
|
50
|
-
prompt: string;
|
|
51
|
-
ownerHandle: string;
|
|
52
|
-
photo: string;
|
|
53
|
-
vibe: string;
|
|
54
|
-
db: string;
|
|
55
|
-
doc: string;
|
|
56
|
-
out: string;
|
|
57
|
-
json: boolean;
|
|
58
|
-
}, {
|
|
59
|
-
type: "vibes-diy.cli.res-image";
|
|
60
|
-
path: string;
|
|
61
|
-
receipt: {
|
|
62
|
-
ok: true;
|
|
63
|
-
picture: {
|
|
64
|
-
url: string;
|
|
65
|
-
mimeType: string;
|
|
66
|
-
name: string;
|
|
67
|
-
size: number;
|
|
68
|
-
ownerHandle: string;
|
|
69
|
-
appSlug: string;
|
|
70
|
-
dbName: string;
|
|
71
|
-
docId: string;
|
|
72
|
-
};
|
|
73
|
-
link?: string | undefined;
|
|
74
|
-
made: {
|
|
75
|
-
prompt: string;
|
|
76
|
-
model: string;
|
|
77
|
-
};
|
|
78
|
-
};
|
|
79
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
80
|
-
type: "vibes-diy.cli.db.list";
|
|
81
|
-
apiUrl: string;
|
|
82
|
-
appSlug: string;
|
|
83
|
-
ownerHandle: string;
|
|
84
|
-
admin: boolean;
|
|
85
|
-
}, {
|
|
86
|
-
type: "vibes-diy.cli.db.list-res";
|
|
87
|
-
dbNames: string[];
|
|
88
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
89
|
-
type: "vibes-diy.cli.db.put";
|
|
90
|
-
apiUrl: string;
|
|
91
|
-
appSlug: string;
|
|
92
|
-
ownerHandle: string;
|
|
93
|
-
dbName: string;
|
|
94
|
-
docJson: string;
|
|
95
|
-
docId: string;
|
|
96
|
-
admin: boolean;
|
|
97
|
-
actingHandle: string;
|
|
98
|
-
files?: string[] | undefined;
|
|
99
|
-
}, {
|
|
100
|
-
type: "vibes-diy.cli.db.put-res";
|
|
101
|
-
id: string;
|
|
102
|
-
ok: true;
|
|
103
|
-
files?: {
|
|
104
|
-
key: string;
|
|
105
|
-
status: "unchanged" | "uploaded";
|
|
106
|
-
uploadId: string;
|
|
107
|
-
}[] | undefined;
|
|
108
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
109
|
-
type: "vibes-diy.cli.db.seed";
|
|
110
|
-
action: "add" | "remove";
|
|
111
|
-
apiUrl: string;
|
|
112
|
-
appSlug: string;
|
|
113
|
-
ownerHandle: string;
|
|
114
|
-
}, {
|
|
115
|
-
type: "vibes-diy.cli.db.seed-res";
|
|
116
|
-
action: "add" | "remove";
|
|
117
|
-
appSlug: string;
|
|
118
|
-
ownerHandle: string;
|
|
119
|
-
seedFile: "absent" | "invalid" | "present" | "unknown";
|
|
120
|
-
changed: number;
|
|
121
|
-
skipped: number;
|
|
122
|
-
failed: number;
|
|
123
|
-
perDb: {
|
|
124
|
-
dbName: string;
|
|
125
|
-
changed: number;
|
|
126
|
-
skipped: number;
|
|
127
|
-
failed: number;
|
|
128
|
-
}[];
|
|
129
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
130
|
-
type: "vibes-diy.cli.app-chats";
|
|
131
|
-
appSlug: string;
|
|
132
|
-
ownerHandle: string;
|
|
133
|
-
chatId?: string | undefined;
|
|
134
|
-
apiUrl: string;
|
|
135
|
-
}, {
|
|
136
|
-
type: "vibes-diy.cli.res-app-chats-list";
|
|
137
|
-
items: {
|
|
138
|
-
chatId: string;
|
|
139
|
-
appSlug: string;
|
|
140
|
-
ownerHandle: string;
|
|
141
|
-
created: string;
|
|
142
|
-
userHandle?: string | undefined;
|
|
143
|
-
}[];
|
|
144
|
-
} | {
|
|
145
|
-
type: "vibes-diy.cli.res-app-chats-detail";
|
|
146
|
-
chatId: string;
|
|
147
|
-
ownerHandle?: string | undefined;
|
|
148
|
-
appSlug?: string | undefined;
|
|
149
|
-
output: string;
|
|
150
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
151
|
-
type: "vibes-diy.cli.list";
|
|
152
|
-
apiUrl: string;
|
|
153
|
-
}, {
|
|
154
|
-
type: "vibes-diy.cli.res-list";
|
|
155
|
-
items: {
|
|
156
|
-
ownerHandle: string;
|
|
157
|
-
appSlug: string;
|
|
158
|
-
updated: string;
|
|
159
|
-
title?: string | undefined;
|
|
160
|
-
icon?: {
|
|
161
|
-
cid: string;
|
|
162
|
-
mime: string;
|
|
163
|
-
} | undefined;
|
|
164
|
-
pinnedAt?: string | undefined;
|
|
165
|
-
neverPublished?: boolean | undefined;
|
|
166
|
-
unpublishedAt?: string | undefined;
|
|
167
|
-
}[];
|
|
168
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
169
|
-
type: "vibes-diy.cli.app-status";
|
|
170
|
-
appSlug: string;
|
|
171
|
-
ownerHandle: string;
|
|
172
|
-
apiUrl: string;
|
|
173
|
-
}, {
|
|
174
|
-
type: "vibes-diy.cli.res-app-status";
|
|
175
|
-
appSlug: string;
|
|
176
|
-
ownerHandle: string;
|
|
177
|
-
state: "dead" | "healthy" | "overdue" | "running" | "unscheduled";
|
|
178
|
-
intervalMs: number | null;
|
|
179
|
-
armedAt: string | null;
|
|
180
|
-
lastAttemptAt: string | null;
|
|
181
|
-
lastRunAt: string | null;
|
|
182
|
-
lastErrorAt: string | null;
|
|
183
|
-
lastError: string | null;
|
|
184
|
-
attempt: number;
|
|
185
|
-
nextAlarmAt: string | null;
|
|
186
|
-
graceMs: number;
|
|
187
|
-
overdueMs: number;
|
|
188
|
-
healed: boolean;
|
|
189
|
-
releaseIntervalMs: number | null;
|
|
190
|
-
pausedIntervalMs: number | null;
|
|
191
|
-
stoppedIntervalMs: number | null;
|
|
192
|
-
stoppedAt: string | null;
|
|
193
|
-
settingsUrl: string;
|
|
194
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
195
|
-
type: "vibes-diy.cli.app-chips";
|
|
196
|
-
appSlug: string;
|
|
197
|
-
ownerHandle: string;
|
|
198
|
-
apiUrl: string;
|
|
199
|
-
chips: (string | {
|
|
200
|
-
label: string;
|
|
201
|
-
gold?: boolean | undefined;
|
|
202
|
-
kind?: "access" | "connect" | "edit" | "pay" | "publish" | "seed" | undefined;
|
|
203
|
-
})[];
|
|
204
|
-
fsId: string;
|
|
205
|
-
}, {
|
|
206
|
-
type: "vibes-diy.cli.res-app-chips";
|
|
207
|
-
appSlug: string;
|
|
208
|
-
ownerHandle: string;
|
|
209
|
-
fsId: string;
|
|
210
|
-
releaseSeq: number;
|
|
211
|
-
chips: string[];
|
|
212
|
-
chipItems?: {
|
|
213
|
-
label: string;
|
|
214
|
-
gold?: boolean | undefined;
|
|
215
|
-
kind?: "access" | "connect" | "edit" | "pay" | "publish" | "seed" | undefined;
|
|
216
|
-
}[] | undefined;
|
|
217
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
218
|
-
type: "vibes-diy.cli.app-anon-write";
|
|
219
|
-
appSlug: string;
|
|
220
|
-
ownerHandle: string;
|
|
221
|
-
apiUrl: string;
|
|
222
|
-
set: "" | "off" | "on";
|
|
223
|
-
}, {
|
|
224
|
-
type: "vibes-diy.cli.res-app-anon-write";
|
|
225
|
-
ownerHandle: string;
|
|
226
|
-
appSlug: string;
|
|
227
|
-
wrote: boolean;
|
|
228
|
-
posture: string;
|
|
229
|
-
anonWrite: "explicit" | "legacy" | "off";
|
|
230
|
-
wildcardWrite: string[];
|
|
231
|
-
restrictedDbs: {
|
|
232
|
-
dbName: string;
|
|
233
|
-
provenance: "platform-default" | "your-pin";
|
|
234
|
-
write: string[];
|
|
235
|
-
}[];
|
|
236
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
237
|
-
type: "vibes-diy.cli.set-unpublish";
|
|
238
|
-
appSlug: string;
|
|
239
|
-
ownerHandle: string;
|
|
240
|
-
unpublish: boolean;
|
|
241
|
-
apiUrl: string;
|
|
242
|
-
}, {
|
|
243
|
-
type: "vibes-diy.cli.res-set-unpublish";
|
|
244
|
-
appSlug: string;
|
|
245
|
-
ownerHandle: string;
|
|
246
|
-
unpublishedAt: string;
|
|
247
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
248
|
-
type: "vibes-diy.cli.publish";
|
|
249
|
-
appSlug: string;
|
|
250
|
-
ownerHandle: string;
|
|
251
|
-
fsId?: string | undefined;
|
|
252
|
-
apiUrl: string;
|
|
253
|
-
}, {
|
|
254
|
-
type: "vibes-diy.cli.res-publish";
|
|
255
|
-
appSlug: string;
|
|
256
|
-
ownerHandle: string;
|
|
257
|
-
fsId: string;
|
|
258
|
-
releaseSeq: number;
|
|
259
|
-
released: boolean;
|
|
260
|
-
restored: boolean;
|
|
261
|
-
autoEnhanceOff?: boolean | undefined;
|
|
262
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
263
|
-
type: "vibes-diy.cli.members";
|
|
264
|
-
apiUrl: string;
|
|
265
|
-
appSlug: string;
|
|
266
|
-
ownerHandle: string;
|
|
267
|
-
op: "add" | "ls" | "rm";
|
|
268
|
-
target?: string | undefined;
|
|
269
|
-
role?: string | undefined;
|
|
270
|
-
}, {
|
|
271
|
-
type: "vibes-diy.cli.members-res";
|
|
272
|
-
op: "add" | "ls" | "rm";
|
|
273
|
-
ownerHandle: string;
|
|
274
|
-
appSlug: string;
|
|
275
|
-
items: {
|
|
276
|
-
who: string;
|
|
277
|
-
kind: "email" | "handle";
|
|
278
|
-
role: string;
|
|
279
|
-
state: "accepted" | "approved" | "pending" | "requested" | "revoked";
|
|
280
|
-
updated: string;
|
|
281
|
-
}[];
|
|
282
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
283
|
-
type: "vibes-diy.cli.moderation";
|
|
284
|
-
apiUrl: string;
|
|
285
|
-
op: "list-flags" | "list-reports" | "resolve-report" | "set-publishing-paused" | "status" | "suspend" | "triage-flag" | "unsuspend";
|
|
286
|
-
reason: string;
|
|
287
|
-
reportId: string;
|
|
288
|
-
userId: string;
|
|
289
|
-
handle: string;
|
|
290
|
-
paused?: boolean | undefined;
|
|
291
|
-
status: string;
|
|
292
|
-
limit: string;
|
|
293
|
-
flagId?: string | undefined;
|
|
294
|
-
triage?: string | undefined;
|
|
295
|
-
summary?: boolean | undefined;
|
|
296
|
-
since?: string | undefined;
|
|
297
|
-
}, {
|
|
298
|
-
type: "vibes-diy.cli.res-moderation";
|
|
299
|
-
op: string;
|
|
300
|
-
result: unknown;
|
|
301
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
302
5
|
type: "vibes-diy.cli.user-settings";
|
|
303
6
|
apiUrl: string;
|
|
304
7
|
setDefaultHandle?: string | undefined;
|
|
@@ -601,18 +304,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
601
304
|
})[];
|
|
602
305
|
updated: string;
|
|
603
306
|
created: string;
|
|
604
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
605
|
-
type: "use-vibes.cli.themes";
|
|
606
|
-
}, {
|
|
607
|
-
type: "use-vibes.cli.res-themes-list";
|
|
608
|
-
themes: {
|
|
609
|
-
slug: string;
|
|
610
|
-
name: string;
|
|
611
|
-
}[];
|
|
612
|
-
} | {
|
|
613
|
-
type: "use-vibes.cli.res-theme-content";
|
|
614
|
-
slug: string;
|
|
615
|
-
content: string;
|
|
616
307
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
617
308
|
type: "vibes-diy.cli.variety";
|
|
618
309
|
}, {
|
|
@@ -628,27 +319,38 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
628
319
|
guidance: string;
|
|
629
320
|
}[];
|
|
630
321
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
631
|
-
type: "vibes-diy.cli.
|
|
322
|
+
type: "vibes-diy.cli.put-asset";
|
|
323
|
+
file: string;
|
|
324
|
+
appSlug: string;
|
|
325
|
+
ownerHandle: string;
|
|
326
|
+
apiUrl: string;
|
|
327
|
+
mimeType: string;
|
|
328
|
+
verifyFetch: boolean;
|
|
632
329
|
}, {
|
|
633
|
-
type: "vibes-diy.cli.res-
|
|
634
|
-
|
|
330
|
+
type: "vibes-diy.cli.res-put-asset";
|
|
331
|
+
cid: string;
|
|
332
|
+
getURL: string;
|
|
333
|
+
size: number;
|
|
334
|
+
uploadId: string;
|
|
335
|
+
verified?: boolean | undefined;
|
|
635
336
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
636
|
-
type: "vibes-diy.cli.
|
|
637
|
-
|
|
337
|
+
type: "vibes-diy.cli.generate";
|
|
338
|
+
prompt: string;
|
|
638
339
|
appSlug: string;
|
|
639
340
|
ownerHandle: string;
|
|
640
|
-
|
|
641
|
-
privateMode?: boolean | undefined;
|
|
341
|
+
instantJoin?: boolean | undefined;
|
|
642
342
|
noAccessFn?: boolean | undefined;
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
from?: {
|
|
646
|
-
ownerHandle: string;
|
|
647
|
-
appSlug: string;
|
|
648
|
-
} | undefined;
|
|
649
|
-
apiKey?: string | undefined;
|
|
343
|
+
privateMode?: boolean | undefined;
|
|
344
|
+
verbose: boolean;
|
|
650
345
|
apiUrl: string;
|
|
651
|
-
|
|
346
|
+
focusPath?: string | undefined;
|
|
347
|
+
model?: string | undefined;
|
|
348
|
+
builderModel?: string | undefined;
|
|
349
|
+
apiKey?: string | undefined;
|
|
350
|
+
variety?: string | undefined;
|
|
351
|
+
record?: string | undefined;
|
|
352
|
+
style?: string | undefined;
|
|
353
|
+
fastPass?: boolean | undefined;
|
|
652
354
|
}, {
|
|
653
355
|
appSlug: string;
|
|
654
356
|
ownerHandle: string;
|
|
@@ -706,103 +408,250 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
706
408
|
type: "vibes.diy.res-error";
|
|
707
409
|
error: {
|
|
708
410
|
message: string;
|
|
709
|
-
code: "
|
|
411
|
+
code: "from-not-owned";
|
|
710
412
|
};
|
|
711
413
|
} | {
|
|
712
414
|
type: "vibes.diy.res-error";
|
|
713
415
|
error: {
|
|
714
416
|
message: string;
|
|
715
|
-
code: "
|
|
417
|
+
code: "from-carry-failed";
|
|
716
418
|
};
|
|
717
419
|
} | {
|
|
718
420
|
type: "vibes.diy.res-error";
|
|
719
421
|
error: {
|
|
720
422
|
message: string;
|
|
721
|
-
code: "
|
|
423
|
+
code: "auto-enhance-off";
|
|
722
424
|
};
|
|
723
425
|
} | {
|
|
724
426
|
type: "vibes.diy.res-error";
|
|
725
427
|
error: {
|
|
726
428
|
message: string;
|
|
727
|
-
code: "
|
|
429
|
+
code: "handle-required";
|
|
728
430
|
};
|
|
729
431
|
} | {
|
|
730
432
|
type: "vibes.diy.res-error";
|
|
731
433
|
error: {
|
|
732
434
|
message: string;
|
|
733
|
-
code: "
|
|
435
|
+
code: "max-app-slugs-reached";
|
|
734
436
|
};
|
|
437
|
+
} | {
|
|
438
|
+
type: "vibes-diy.cli.res-generate";
|
|
439
|
+
appSlug: string;
|
|
440
|
+
ownerHandle: string;
|
|
441
|
+
url: string;
|
|
442
|
+
directory: string;
|
|
443
|
+
release?: "not-visible" | "published" | "version-locked" | undefined;
|
|
444
|
+
turns?: number | undefined;
|
|
445
|
+
publish?: "kept-private-no-access-fn" | "private" | "published" | undefined;
|
|
446
|
+
posture?: "gated" | "open" | "private" | undefined;
|
|
735
447
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
736
|
-
type: "vibes-diy.cli.
|
|
737
|
-
srcUserSlug: string;
|
|
738
|
-
srcAppSlug: string;
|
|
739
|
-
dstOwnerHandle?: string | undefined;
|
|
740
|
-
dstAppSlug?: string | undefined;
|
|
741
|
-
published: boolean;
|
|
742
|
-
settingsOnly: boolean;
|
|
448
|
+
type: "vibes-diy.cli.db.query";
|
|
743
449
|
apiUrl: string;
|
|
450
|
+
appSlug: string;
|
|
451
|
+
ownerHandle: string;
|
|
452
|
+
dbName: string;
|
|
453
|
+
field: string;
|
|
454
|
+
key: string;
|
|
455
|
+
prefix: string;
|
|
456
|
+
range: string;
|
|
457
|
+
limit: number;
|
|
458
|
+
descending: boolean;
|
|
459
|
+
admin: boolean;
|
|
460
|
+
actingHandle: string;
|
|
744
461
|
}, {
|
|
745
|
-
type: "vibes-diy.cli.res
|
|
462
|
+
type: "vibes-diy.cli.db.query-res";
|
|
463
|
+
docs: {
|
|
464
|
+
[x: string]: unknown;
|
|
465
|
+
}[];
|
|
466
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
467
|
+
type: "vibes-diy.cli.whoami";
|
|
468
|
+
apiUrl: string;
|
|
469
|
+
}, {
|
|
470
|
+
type: "vibes-diy.cli.res-whoami";
|
|
471
|
+
authenticated: boolean;
|
|
472
|
+
userId?: string | undefined;
|
|
473
|
+
defaultHandle?: string | undefined;
|
|
474
|
+
handles: string[];
|
|
475
|
+
detail?: string | undefined;
|
|
476
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
477
|
+
type: "vibes-diy.cli.app-status";
|
|
478
|
+
appSlug: string;
|
|
746
479
|
ownerHandle: string;
|
|
480
|
+
apiUrl: string;
|
|
481
|
+
}, {
|
|
482
|
+
type: "vibes-diy.cli.res-app-status";
|
|
747
483
|
appSlug: string;
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
484
|
+
ownerHandle: string;
|
|
485
|
+
state: "dead" | "healthy" | "overdue" | "running" | "unscheduled";
|
|
486
|
+
intervalMs: number | null;
|
|
487
|
+
armedAt: string | null;
|
|
488
|
+
lastAttemptAt: string | null;
|
|
489
|
+
lastRunAt: string | null;
|
|
490
|
+
lastErrorAt: string | null;
|
|
491
|
+
lastError: string | null;
|
|
492
|
+
attempt: number;
|
|
493
|
+
nextAlarmAt: string | null;
|
|
494
|
+
graceMs: number;
|
|
495
|
+
overdueMs: number;
|
|
496
|
+
healed: boolean;
|
|
497
|
+
releaseIntervalMs: number | null;
|
|
498
|
+
pausedIntervalMs: number | null;
|
|
499
|
+
stoppedIntervalMs: number | null;
|
|
500
|
+
stoppedAt: string | null;
|
|
501
|
+
settingsUrl: string;
|
|
752
502
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
753
|
-
type: "vibes-diy.cli.
|
|
503
|
+
type: "vibes-diy.cli.app-chips";
|
|
504
|
+
appSlug: string;
|
|
505
|
+
ownerHandle: string;
|
|
754
506
|
apiUrl: string;
|
|
755
|
-
|
|
507
|
+
chips: (string | {
|
|
508
|
+
label: string;
|
|
509
|
+
gold?: boolean | undefined;
|
|
510
|
+
kind?: "access" | "connect" | "edit" | "pay" | "publish" | "seed" | undefined;
|
|
511
|
+
})[];
|
|
512
|
+
fsId: string;
|
|
513
|
+
}, {
|
|
514
|
+
type: "vibes-diy.cli.res-app-chips";
|
|
515
|
+
appSlug: string;
|
|
756
516
|
ownerHandle: string;
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
517
|
+
fsId: string;
|
|
518
|
+
releaseSeq: number;
|
|
519
|
+
chips: string[];
|
|
520
|
+
chipItems?: {
|
|
521
|
+
label: string;
|
|
522
|
+
gold?: boolean | undefined;
|
|
523
|
+
kind?: "access" | "connect" | "edit" | "pay" | "publish" | "seed" | undefined;
|
|
524
|
+
}[] | undefined;
|
|
525
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
526
|
+
type: "vibes-diy.cli.app-anon-write";
|
|
527
|
+
appSlug: string;
|
|
528
|
+
ownerHandle: string;
|
|
529
|
+
apiUrl: string;
|
|
530
|
+
set: "" | "off" | "on";
|
|
763
531
|
}, {
|
|
764
|
-
type: "vibes-diy.cli.res-
|
|
532
|
+
type: "vibes-diy.cli.res-app-anon-write";
|
|
765
533
|
ownerHandle: string;
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
534
|
+
appSlug: string;
|
|
535
|
+
wrote: boolean;
|
|
536
|
+
posture: string;
|
|
537
|
+
anonWrite: "explicit" | "legacy" | "off";
|
|
538
|
+
wildcardWrite: string[];
|
|
539
|
+
restrictedDbs: {
|
|
540
|
+
dbName: string;
|
|
541
|
+
provenance: "platform-default" | "your-pin";
|
|
542
|
+
write: string[];
|
|
543
|
+
}[];
|
|
773
544
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
774
|
-
type: "vibes-diy.cli.
|
|
775
|
-
|
|
545
|
+
type: "vibes-diy.cli.set-unpublish";
|
|
546
|
+
appSlug: string;
|
|
547
|
+
ownerHandle: string;
|
|
548
|
+
unpublish: boolean;
|
|
549
|
+
apiUrl: string;
|
|
550
|
+
}, {
|
|
551
|
+
type: "vibes-diy.cli.res-set-unpublish";
|
|
552
|
+
appSlug: string;
|
|
553
|
+
ownerHandle: string;
|
|
554
|
+
unpublishedAt: string;
|
|
555
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
556
|
+
type: "vibes-diy.cli.publish";
|
|
776
557
|
appSlug: string;
|
|
777
558
|
ownerHandle: string;
|
|
559
|
+
fsId?: string | undefined;
|
|
778
560
|
apiUrl: string;
|
|
779
|
-
mimeType: string;
|
|
780
|
-
verifyFetch: boolean;
|
|
781
561
|
}, {
|
|
782
|
-
type: "vibes-diy.cli.res-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
562
|
+
type: "vibes-diy.cli.res-publish";
|
|
563
|
+
appSlug: string;
|
|
564
|
+
ownerHandle: string;
|
|
565
|
+
fsId: string;
|
|
566
|
+
releaseSeq: number;
|
|
567
|
+
released: boolean;
|
|
568
|
+
restored: boolean;
|
|
569
|
+
autoEnhanceOff?: boolean | undefined;
|
|
788
570
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
789
|
-
type: "vibes-diy.cli.
|
|
790
|
-
|
|
571
|
+
type: "vibes-diy.cli.members";
|
|
572
|
+
apiUrl: string;
|
|
573
|
+
appSlug: string;
|
|
574
|
+
ownerHandle: string;
|
|
575
|
+
op: "add" | "ls" | "rm";
|
|
576
|
+
target?: string | undefined;
|
|
577
|
+
role?: string | undefined;
|
|
578
|
+
}, {
|
|
579
|
+
type: "vibes-diy.cli.members-res";
|
|
580
|
+
op: "add" | "ls" | "rm";
|
|
581
|
+
ownerHandle: string;
|
|
582
|
+
appSlug: string;
|
|
583
|
+
items: {
|
|
584
|
+
who: string;
|
|
585
|
+
kind: "email" | "handle";
|
|
586
|
+
role: string;
|
|
587
|
+
state: "accepted" | "approved" | "pending" | "requested" | "revoked";
|
|
588
|
+
updated: string;
|
|
589
|
+
}[];
|
|
590
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
591
|
+
type: "vibes-diy.cli.moderation";
|
|
592
|
+
apiUrl: string;
|
|
593
|
+
op: "list-flags" | "list-reports" | "resolve-report" | "set-publishing-paused" | "status" | "suspend" | "triage-flag" | "unsuspend";
|
|
594
|
+
reason: string;
|
|
595
|
+
reportId: string;
|
|
596
|
+
userId: string;
|
|
597
|
+
handle: string;
|
|
598
|
+
paused?: boolean | undefined;
|
|
599
|
+
status: string;
|
|
600
|
+
limit: string;
|
|
601
|
+
flagId?: string | undefined;
|
|
602
|
+
triage?: string | undefined;
|
|
603
|
+
summary?: boolean | undefined;
|
|
604
|
+
since?: string | undefined;
|
|
605
|
+
}, {
|
|
606
|
+
type: "vibes-diy.cli.res-moderation";
|
|
607
|
+
op: string;
|
|
608
|
+
result: unknown;
|
|
609
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
610
|
+
type: "vibes-diy.cli.skills";
|
|
611
|
+
}, {
|
|
612
|
+
type: "vibes-diy.cli.res-skills-list";
|
|
613
|
+
skills: {
|
|
614
|
+
name: string;
|
|
615
|
+
description: string;
|
|
616
|
+
}[];
|
|
617
|
+
} | {
|
|
618
|
+
type: "vibes-diy.cli.res-skill-content";
|
|
619
|
+
name: string;
|
|
620
|
+
content: string;
|
|
621
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
622
|
+
type: "use-vibes.cli.themes";
|
|
623
|
+
}, {
|
|
624
|
+
type: "use-vibes.cli.res-themes-list";
|
|
625
|
+
themes: {
|
|
626
|
+
slug: string;
|
|
627
|
+
name: string;
|
|
628
|
+
}[];
|
|
629
|
+
} | {
|
|
630
|
+
type: "use-vibes.cli.res-theme-content";
|
|
631
|
+
slug: string;
|
|
632
|
+
content: string;
|
|
633
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
634
|
+
type: "vibes-diy.cli.system";
|
|
635
|
+
}, {
|
|
636
|
+
type: "vibes-diy.cli.res-system";
|
|
637
|
+
systemPrompt: string;
|
|
638
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
639
|
+
type: "vibes-diy.cli.push";
|
|
640
|
+
mode: string;
|
|
791
641
|
appSlug: string;
|
|
792
642
|
ownerHandle: string;
|
|
793
|
-
|
|
794
|
-
noAccessFn?: boolean | undefined;
|
|
643
|
+
access?: string | undefined;
|
|
795
644
|
privateMode?: boolean | undefined;
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
645
|
+
noAccessFn?: boolean | undefined;
|
|
646
|
+
message?: string | undefined;
|
|
647
|
+
title?: string | undefined;
|
|
648
|
+
from?: {
|
|
649
|
+
ownerHandle: string;
|
|
650
|
+
appSlug: string;
|
|
651
|
+
} | undefined;
|
|
801
652
|
apiKey?: string | undefined;
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
style?: string | undefined;
|
|
805
|
-
fastPass?: boolean | undefined;
|
|
653
|
+
apiUrl: string;
|
|
654
|
+
idleTimeoutMs?: number | undefined;
|
|
806
655
|
}, {
|
|
807
656
|
appSlug: string;
|
|
808
657
|
ownerHandle: string;
|
|
@@ -860,42 +709,135 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
860
709
|
type: "vibes.diy.res-error";
|
|
861
710
|
error: {
|
|
862
711
|
message: string;
|
|
863
|
-
code: "
|
|
712
|
+
code: "from-not-owned";
|
|
864
713
|
};
|
|
865
714
|
} | {
|
|
866
715
|
type: "vibes.diy.res-error";
|
|
867
716
|
error: {
|
|
868
717
|
message: string;
|
|
869
|
-
code: "
|
|
718
|
+
code: "from-carry-failed";
|
|
870
719
|
};
|
|
871
720
|
} | {
|
|
872
721
|
type: "vibes.diy.res-error";
|
|
873
722
|
error: {
|
|
874
723
|
message: string;
|
|
875
|
-
code: "
|
|
724
|
+
code: "auto-enhance-off";
|
|
876
725
|
};
|
|
877
726
|
} | {
|
|
878
727
|
type: "vibes.diy.res-error";
|
|
879
728
|
error: {
|
|
880
729
|
message: string;
|
|
881
|
-
code: "
|
|
730
|
+
code: "handle-required";
|
|
882
731
|
};
|
|
883
732
|
} | {
|
|
884
733
|
type: "vibes.diy.res-error";
|
|
885
734
|
error: {
|
|
886
735
|
message: string;
|
|
887
|
-
code: "
|
|
736
|
+
code: "max-app-slugs-reached";
|
|
888
737
|
};
|
|
889
|
-
} | {
|
|
890
|
-
type: "vibes-diy.cli.
|
|
891
|
-
|
|
738
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
739
|
+
type: "vibes-diy.cli.remix";
|
|
740
|
+
srcUserSlug: string;
|
|
741
|
+
srcAppSlug: string;
|
|
742
|
+
dstOwnerHandle?: string | undefined;
|
|
743
|
+
dstAppSlug?: string | undefined;
|
|
744
|
+
published: boolean;
|
|
745
|
+
settingsOnly: boolean;
|
|
746
|
+
apiUrl: string;
|
|
747
|
+
}, {
|
|
748
|
+
type: "vibes-diy.cli.res-remix";
|
|
892
749
|
ownerHandle: string;
|
|
750
|
+
appSlug: string;
|
|
893
751
|
url: string;
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
752
|
+
carried?: string[] | undefined;
|
|
753
|
+
skippedPresent?: string[] | undefined;
|
|
754
|
+
chatId?: string | undefined;
|
|
755
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
756
|
+
type: "vibes-diy.cli.claim-handle";
|
|
757
|
+
apiUrl: string;
|
|
758
|
+
ownerHandle?: string | undefined;
|
|
759
|
+
noDefault?: boolean | undefined;
|
|
760
|
+
}, {
|
|
761
|
+
type: "vibes-diy.cli.res-claim-handle";
|
|
762
|
+
op: "claim" | "suggest";
|
|
763
|
+
ownerHandle?: string | undefined;
|
|
764
|
+
defaultHandleSet?: boolean | undefined;
|
|
765
|
+
defaultSkipped?: boolean | undefined;
|
|
766
|
+
suggestions: string[];
|
|
767
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
768
|
+
type: "vibes-diy.cli.agent";
|
|
769
|
+
apiUrl: string;
|
|
770
|
+
prompt: string;
|
|
771
|
+
ownerHandle: string;
|
|
772
|
+
followMs: number;
|
|
773
|
+
json: boolean;
|
|
774
|
+
chatId?: string | undefined;
|
|
775
|
+
newChat?: boolean | undefined;
|
|
776
|
+
images?: string[] | undefined;
|
|
777
|
+
byText?: boolean | undefined;
|
|
778
|
+
}, {
|
|
779
|
+
type: "vibes-diy.cli.res-agent";
|
|
780
|
+
ownerHandle: string;
|
|
781
|
+
chatId: string;
|
|
782
|
+
messages: string[];
|
|
783
|
+
shorts?: string[] | undefined;
|
|
784
|
+
links: string[];
|
|
785
|
+
idle: boolean;
|
|
786
|
+
reactions?: string[] | undefined;
|
|
787
|
+
error?: string | undefined;
|
|
788
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
789
|
+
type: "vibes-diy.cli.image";
|
|
790
|
+
apiUrl: string;
|
|
791
|
+
prompt: string;
|
|
792
|
+
ownerHandle: string;
|
|
793
|
+
photo: string;
|
|
794
|
+
vibe: string;
|
|
795
|
+
db: string;
|
|
796
|
+
doc: string;
|
|
797
|
+
out: string;
|
|
798
|
+
json: boolean;
|
|
799
|
+
}, {
|
|
800
|
+
type: "vibes-diy.cli.res-image";
|
|
801
|
+
path: string;
|
|
802
|
+
receipt: {
|
|
803
|
+
ok: true;
|
|
804
|
+
picture: {
|
|
805
|
+
url: string;
|
|
806
|
+
mimeType: string;
|
|
807
|
+
name: string;
|
|
808
|
+
size: number;
|
|
809
|
+
ownerHandle: string;
|
|
810
|
+
appSlug: string;
|
|
811
|
+
dbName: string;
|
|
812
|
+
docId: string;
|
|
813
|
+
};
|
|
814
|
+
link?: string | undefined;
|
|
815
|
+
made: {
|
|
816
|
+
prompt: string;
|
|
817
|
+
model: string;
|
|
818
|
+
};
|
|
819
|
+
};
|
|
820
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
821
|
+
type: "vibes-diy.cli.app-chats";
|
|
822
|
+
appSlug: string;
|
|
823
|
+
ownerHandle: string;
|
|
824
|
+
chatId?: string | undefined;
|
|
825
|
+
apiUrl: string;
|
|
826
|
+
}, {
|
|
827
|
+
type: "vibes-diy.cli.res-app-chats-list";
|
|
828
|
+
items: {
|
|
829
|
+
chatId: string;
|
|
830
|
+
appSlug: string;
|
|
831
|
+
ownerHandle: string;
|
|
832
|
+
created: string;
|
|
833
|
+
userHandle?: string | undefined;
|
|
834
|
+
}[];
|
|
835
|
+
} | {
|
|
836
|
+
type: "vibes-diy.cli.res-app-chats-detail";
|
|
837
|
+
chatId: string;
|
|
838
|
+
ownerHandle?: string | undefined;
|
|
839
|
+
appSlug?: string | undefined;
|
|
840
|
+
output: string;
|
|
899
841
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
900
842
|
type: "vibes-diy.cli.codegen-log";
|
|
901
843
|
appSlug: string;
|
|
@@ -1002,31 +944,31 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1002
944
|
type: "vibes.diy.res-error";
|
|
1003
945
|
error: {
|
|
1004
946
|
message: string;
|
|
1005
|
-
code: "
|
|
947
|
+
code: "from-not-owned";
|
|
1006
948
|
};
|
|
1007
949
|
} | {
|
|
1008
950
|
type: "vibes.diy.res-error";
|
|
1009
951
|
error: {
|
|
1010
952
|
message: string;
|
|
1011
|
-
code: "
|
|
953
|
+
code: "from-carry-failed";
|
|
1012
954
|
};
|
|
1013
955
|
} | {
|
|
1014
956
|
type: "vibes.diy.res-error";
|
|
1015
957
|
error: {
|
|
1016
958
|
message: string;
|
|
1017
|
-
code: "
|
|
959
|
+
code: "auto-enhance-off";
|
|
1018
960
|
};
|
|
1019
961
|
} | {
|
|
1020
962
|
type: "vibes.diy.res-error";
|
|
1021
963
|
error: {
|
|
1022
964
|
message: string;
|
|
1023
|
-
code: "
|
|
965
|
+
code: "handle-required";
|
|
1024
966
|
};
|
|
1025
967
|
} | {
|
|
1026
968
|
type: "vibes.diy.res-error";
|
|
1027
969
|
error: {
|
|
1028
970
|
message: string;
|
|
1029
|
-
code: "
|
|
971
|
+
code: "max-app-slugs-reached";
|
|
1030
972
|
};
|
|
1031
973
|
} | {
|
|
1032
974
|
type: "vibes-diy.cli.res-edit";
|
|
@@ -1036,6 +978,24 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1036
978
|
directory: string;
|
|
1037
979
|
restyled?: boolean | undefined;
|
|
1038
980
|
fsId?: string | undefined;
|
|
981
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
982
|
+
type: "vibes-diy.cli.list";
|
|
983
|
+
apiUrl: string;
|
|
984
|
+
}, {
|
|
985
|
+
type: "vibes-diy.cli.res-list";
|
|
986
|
+
items: {
|
|
987
|
+
ownerHandle: string;
|
|
988
|
+
appSlug: string;
|
|
989
|
+
updated: string;
|
|
990
|
+
title?: string | undefined;
|
|
991
|
+
icon?: {
|
|
992
|
+
cid: string;
|
|
993
|
+
mime: string;
|
|
994
|
+
} | undefined;
|
|
995
|
+
pinnedAt?: string | undefined;
|
|
996
|
+
neverPublished?: boolean | undefined;
|
|
997
|
+
unpublishedAt?: string | undefined;
|
|
998
|
+
}[];
|
|
1039
999
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1040
1000
|
type: "vibes-diy.cli.doctor";
|
|
1041
1001
|
apiUrl: string;
|
|
@@ -1062,16 +1022,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1062
1022
|
detail: string;
|
|
1063
1023
|
ms?: number | undefined;
|
|
1064
1024
|
} | undefined;
|
|
1065
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1066
|
-
type: "vibes-diy.cli.whoami";
|
|
1067
|
-
apiUrl: string;
|
|
1068
|
-
}, {
|
|
1069
|
-
type: "vibes-diy.cli.res-whoami";
|
|
1070
|
-
authenticated: boolean;
|
|
1071
|
-
userId?: string | undefined;
|
|
1072
|
-
defaultHandle?: string | undefined;
|
|
1073
|
-
handles: string[];
|
|
1074
|
-
detail?: string | undefined;
|
|
1075
1025
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1076
1026
|
type: "vibes-diy.cli.pull";
|
|
1077
1027
|
appSlug: string;
|
|
@@ -1635,6 +1585,34 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1635
1585
|
}, {
|
|
1636
1586
|
type: "vibes-diy.cli.res-phone-link-classify";
|
|
1637
1587
|
reaction?: string | undefined;
|
|
1588
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1589
|
+
type: "core-cli.device-id-register";
|
|
1590
|
+
commonName: string;
|
|
1591
|
+
organization: string;
|
|
1592
|
+
locality: string;
|
|
1593
|
+
state: string;
|
|
1594
|
+
country: string;
|
|
1595
|
+
caUrl: string;
|
|
1596
|
+
port: string;
|
|
1597
|
+
timeout: string;
|
|
1598
|
+
forceRenew: boolean;
|
|
1599
|
+
cert?: string | undefined;
|
|
1600
|
+
noBrowser?: boolean | undefined;
|
|
1601
|
+
apiUrl?: string | undefined;
|
|
1602
|
+
expectHandle?: string | undefined;
|
|
1603
|
+
expectUser?: string | undefined;
|
|
1604
|
+
}, {
|
|
1605
|
+
type: "core-cli.res-device-id-register";
|
|
1606
|
+
output: string;
|
|
1607
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1608
|
+
type: "vibes-diy.cli.db.list";
|
|
1609
|
+
apiUrl: string;
|
|
1610
|
+
appSlug: string;
|
|
1611
|
+
ownerHandle: string;
|
|
1612
|
+
admin: boolean;
|
|
1613
|
+
}, {
|
|
1614
|
+
type: "vibes-diy.cli.db.list-res";
|
|
1615
|
+
dbNames: string[];
|
|
1638
1616
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1639
1617
|
type: "vibes-diy.cli.db.get";
|
|
1640
1618
|
apiUrl: string;
|
|
@@ -1650,42 +1628,64 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1650
1628
|
[x: string]: unknown;
|
|
1651
1629
|
};
|
|
1652
1630
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1653
|
-
type: "vibes-diy.cli.db.
|
|
1631
|
+
type: "vibes-diy.cli.db.put";
|
|
1654
1632
|
apiUrl: string;
|
|
1655
1633
|
appSlug: string;
|
|
1656
1634
|
ownerHandle: string;
|
|
1657
1635
|
dbName: string;
|
|
1636
|
+
docJson: string;
|
|
1658
1637
|
docId: string;
|
|
1659
1638
|
admin: boolean;
|
|
1660
1639
|
actingHandle: string;
|
|
1640
|
+
files?: string[] | undefined;
|
|
1661
1641
|
}, {
|
|
1662
|
-
type: "vibes-diy.cli.db.
|
|
1642
|
+
type: "vibes-diy.cli.db.put-res";
|
|
1663
1643
|
id: string;
|
|
1664
1644
|
ok: true;
|
|
1645
|
+
files?: {
|
|
1646
|
+
key: string;
|
|
1647
|
+
status: "unchanged" | "uploaded";
|
|
1648
|
+
uploadId: string;
|
|
1649
|
+
}[] | undefined;
|
|
1665
1650
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1666
|
-
type: "vibes-diy.cli.db.
|
|
1651
|
+
type: "vibes-diy.cli.db.del";
|
|
1667
1652
|
apiUrl: string;
|
|
1668
1653
|
appSlug: string;
|
|
1669
1654
|
ownerHandle: string;
|
|
1670
1655
|
dbName: string;
|
|
1671
|
-
|
|
1672
|
-
key: string;
|
|
1673
|
-
prefix: string;
|
|
1674
|
-
range: string;
|
|
1675
|
-
limit: number;
|
|
1676
|
-
descending: boolean;
|
|
1656
|
+
docId: string;
|
|
1677
1657
|
admin: boolean;
|
|
1678
1658
|
actingHandle: string;
|
|
1679
1659
|
}, {
|
|
1680
|
-
type: "vibes-diy.cli.db.
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
}[];
|
|
1660
|
+
type: "vibes-diy.cli.db.del-res";
|
|
1661
|
+
id: string;
|
|
1662
|
+
ok: true;
|
|
1684
1663
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1685
1664
|
type: "vibes-diy.cli.db.subscribe";
|
|
1686
1665
|
apiUrl: string;
|
|
1687
1666
|
appSlug: string;
|
|
1688
1667
|
ownerHandle: string;
|
|
1689
1668
|
dbName: string;
|
|
1690
|
-
}, never>)
|
|
1669
|
+
}, never> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1670
|
+
type: "vibes-diy.cli.db.seed";
|
|
1671
|
+
action: "add" | "remove";
|
|
1672
|
+
apiUrl: string;
|
|
1673
|
+
appSlug: string;
|
|
1674
|
+
ownerHandle: string;
|
|
1675
|
+
}, {
|
|
1676
|
+
type: "vibes-diy.cli.db.seed-res";
|
|
1677
|
+
action: "add" | "remove";
|
|
1678
|
+
appSlug: string;
|
|
1679
|
+
ownerHandle: string;
|
|
1680
|
+
seedFile: "absent" | "invalid" | "present" | "unknown";
|
|
1681
|
+
changed: number;
|
|
1682
|
+
skipped: number;
|
|
1683
|
+
failed: number;
|
|
1684
|
+
perDb: {
|
|
1685
|
+
dbName: string;
|
|
1686
|
+
changed: number;
|
|
1687
|
+
skipped: number;
|
|
1688
|
+
failed: number;
|
|
1689
|
+
}[];
|
|
1690
|
+
}>)[];
|
|
1691
1691
|
export declare function cmdTsEvento(): import("@adviser/cement").Evento;
|