vibes-diy 14.3.452 → 14.3.454

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.
@@ -2,339 +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.system";
25
- }, {
26
- type: "vibes-diy.cli.res-system";
27
- systemPrompt: string;
28
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
29
- type: "vibes-diy.cli.remix";
30
- srcUserSlug: string;
31
- srcAppSlug: string;
32
- dstOwnerHandle?: string | undefined;
33
- dstAppSlug?: string | undefined;
34
- published: boolean;
35
- settingsOnly: boolean;
36
- apiUrl: string;
37
- }, {
38
- type: "vibes-diy.cli.res-remix";
39
- ownerHandle: string;
40
- appSlug: string;
41
- url: string;
42
- carried?: string[] | undefined;
43
- skippedPresent?: string[] | undefined;
44
- chatId?: string | undefined;
45
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
46
- type: "vibes-diy.cli.agent";
47
- apiUrl: string;
48
- prompt: string;
49
- ownerHandle: string;
50
- followMs: number;
51
- json: boolean;
52
- chatId?: string | undefined;
53
- newChat?: boolean | undefined;
54
- images?: string[] | undefined;
55
- byText?: boolean | undefined;
56
- startedBy?: "person" | "wake" | undefined;
57
- askedBy?: string | undefined;
58
- }, {
59
- type: "vibes-diy.cli.res-agent";
60
- ownerHandle: string;
61
- chatId: string;
62
- messages: string[];
63
- shorts?: string[] | undefined;
64
- links: string[];
65
- idle: boolean;
66
- reactions?: string[] | undefined;
67
- error?: string | undefined;
68
- credits?: number | undefined;
69
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
70
- type: "vibes-diy.cli.generate";
71
- prompt: string;
72
- appSlug: string;
73
- ownerHandle: string;
74
- instantJoin?: boolean | undefined;
75
- noAccessFn?: boolean | undefined;
76
- privateMode?: boolean | undefined;
77
- verbose: boolean;
78
- apiUrl: string;
79
- focusPath?: string | undefined;
80
- model?: string | undefined;
81
- builderModel?: string | undefined;
82
- apiKey?: string | undefined;
83
- variety?: string | undefined;
84
- record?: string | undefined;
85
- style?: string | undefined;
86
- fastPass?: boolean | undefined;
87
- }, {
88
- appSlug: string;
89
- ownerHandle: string;
90
- mode: "dev" | "production";
91
- fsId: string;
92
- type: "vibes.diy.res-ensure-app-slug";
93
- env: Record<string, string>;
94
- fileSystem: {
95
- fileName: string;
96
- mimeType: string;
97
- assetId: string;
98
- assetURI: string;
99
- transform?: {
100
- type: "jsx-to-js";
101
- transformedAssetId: string;
102
- } | {
103
- type: "imports";
104
- importMapAssetId: string;
105
- } | {
106
- type: "import-map";
107
- fromAssetIds: string[];
108
- } | {
109
- type: "transformed";
110
- action: "jsx-to-js";
111
- transformedAssetId: string;
112
- } | {
113
- type: "tailwind-css";
114
- } | undefined;
115
- entryPoint?: boolean | undefined;
116
- size: number;
117
- kind?: "asset" | undefined;
118
- uploadId?: string | undefined;
119
- }[];
120
- autoEnhanceOff?: true | undefined;
121
- appCreated?: true | undefined;
122
- anonWriteFollowed?: {
123
- to: "explicit" | "off";
124
- because: "not-open" | "personal-details" | "rules-ask" | "rules-do-not-ask" | "rules-not-bound" | "sensitive";
125
- } | undefined;
126
- backendWarnings?: string[] | undefined;
127
- } | {
128
- type: "vibes.diy.res-error";
129
- error: {
130
- message: string;
131
- code: "require-login";
132
- };
133
- } | {
134
- type: "vibes.diy.res-error";
135
- error: {
136
- message: string;
137
- code: "user-slug-invalid";
138
- };
139
- } | {
140
- type: "vibes.diy.res-error";
141
- error: {
142
- message: string;
143
- code: "app-slug-invalid";
144
- };
145
- } | {
146
- type: "vibes.diy.res-error";
147
- error: {
148
- message: string;
149
- code: "max-app-slugs-reached";
150
- };
151
- } | {
152
- type: "vibes.diy.res-error";
153
- error: {
154
- message: string;
155
- code: "handle-required";
156
- };
157
- } | {
158
- type: "vibes.diy.res-error";
159
- error: {
160
- message: string;
161
- code: "from-not-owned";
162
- };
163
- } | {
164
- type: "vibes.diy.res-error";
165
- error: {
166
- message: string;
167
- code: "from-carry-failed";
168
- };
169
- } | {
170
- type: "vibes.diy.res-error";
171
- error: {
172
- message: string;
173
- code: "auto-enhance-off";
174
- };
175
- } | {
176
- type: "vibes-diy.cli.res-generate";
177
- appSlug: string;
178
- ownerHandle: string;
179
- url: string;
180
- directory: string;
181
- release?: "not-visible" | "published" | "version-locked" | undefined;
182
- turns?: number | undefined;
183
- publish?: "kept-private-no-access-fn" | "private" | "published" | undefined;
184
- posture?: "gated" | "open" | "private" | undefined;
185
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
186
- type: "vibes-diy.cli.db.query";
187
- apiUrl: string;
188
- appSlug: string;
189
- ownerHandle: string;
190
- dbName: string;
191
- field: string;
192
- key: string;
193
- prefix: string;
194
- range: string;
195
- limit: number;
196
- descending: boolean;
197
- admin: boolean;
198
- actingHandle: string;
199
- }, {
200
- type: "vibes-diy.cli.db.query-res";
201
- docs: {
202
- [x: string]: unknown;
203
- }[];
204
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
205
- type: "vibes-diy.cli.whoami";
206
- apiUrl: string;
207
- }, {
208
- type: "vibes-diy.cli.res-whoami";
209
- authenticated: boolean;
210
- userId?: string | undefined;
211
- defaultHandle?: string | undefined;
212
- handles: string[];
213
- detail?: string | undefined;
214
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
215
- type: "vibes-diy.cli.versions";
216
- appSlug: string;
217
- ownerHandle: string;
218
- apiUrl: string;
219
- }, {
220
- type: "vibes-diy.cli.res-versions";
221
- appSlug: string;
222
- ownerHandle: string;
223
- items: {
224
- fsId: string;
225
- mode: "dev" | "production";
226
- releaseSeq: number;
227
- created: string;
228
- published: boolean;
229
- byHandle?: string | undefined;
230
- }[];
231
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
232
- type: "vibes-diy.cli.app-tick";
233
- appSlug: string;
234
- ownerHandle: string;
235
- at: string;
236
- apiUrl: string;
237
- }, {
238
- type: "vibes-diy.cli.res-app-tick";
239
- appSlug: string;
240
- ownerHandle: string;
241
- scheduledTime: string;
242
- ran: boolean;
243
- reason: string | null;
244
- detail: string | null;
245
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
246
- type: "vibes-diy.cli.app-screenshot";
247
- appSlug: string;
248
- ownerHandle: string;
249
- more: string[];
250
- apiUrl: string;
251
- }, {
252
- type: "vibes-diy.cli.res-app-screenshot";
253
- results: {
254
- ownerHandle: string;
255
- appSlug: string;
256
- fsId: string;
257
- enqueued: boolean;
258
- error?: string | undefined;
259
- }[];
260
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
261
- type: "vibes-diy.cli.app-auto-enhance";
262
- appSlug: string;
263
- ownerHandle: string;
264
- apiUrl: string;
265
- set: "" | "off" | "on";
266
- }, {
267
- type: "vibes-diy.cli.res-app-auto-enhance";
268
- ownerHandle: string;
269
- appSlug: string;
270
- wrote: boolean;
271
- autoEnhance: boolean;
272
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
273
- type: "vibes-diy.cli.set-unpublish";
274
- appSlug: string;
275
- ownerHandle: string;
276
- unpublish: boolean;
277
- apiUrl: string;
278
- }, {
279
- type: "vibes-diy.cli.res-set-unpublish";
280
- appSlug: string;
281
- ownerHandle: string;
282
- unpublishedAt: string;
283
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
284
- type: "vibes-diy.cli.publish";
285
- appSlug: string;
286
- ownerHandle: string;
287
- fsId?: string | undefined;
288
- apiUrl: string;
289
- }, {
290
- type: "vibes-diy.cli.res-publish";
291
- appSlug: string;
292
- ownerHandle: string;
293
- fsId: string;
294
- releaseSeq: number;
295
- released: boolean;
296
- restored: boolean;
297
- autoEnhanceOff?: boolean | undefined;
298
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
299
- type: "vibes-diy.cli.members";
300
- apiUrl: string;
301
- appSlug: string;
302
- ownerHandle: string;
303
- op: "add" | "ls" | "rm";
304
- target?: string | undefined;
305
- role?: string | undefined;
306
- }, {
307
- type: "vibes-diy.cli.members-res";
308
- op: "add" | "ls" | "rm";
309
- ownerHandle: string;
310
- appSlug: string;
311
- items: {
312
- who: string;
313
- kind: "email" | "handle";
314
- role: string;
315
- state: "accepted" | "approved" | "pending" | "requested" | "revoked";
316
- updated: string;
317
- }[];
318
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
319
- type: "vibes-diy.cli.moderation";
320
- apiUrl: string;
321
- op: "list-flags" | "list-reports" | "resolve-report" | "set-publishing-paused" | "status" | "suspend" | "triage-flag" | "unsuspend";
322
- reason: string;
323
- reportId: string;
324
- userId: string;
325
- handle: string;
326
- paused?: boolean | undefined;
327
- status: string;
328
- limit: string;
329
- flagId?: string | undefined;
330
- triage?: string | undefined;
331
- summary?: boolean | undefined;
332
- since?: string | undefined;
333
- }, {
334
- type: "vibes-diy.cli.res-moderation";
335
- op: string;
336
- result: unknown;
337
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
338
5
  type: "vibes-diy.cli.user-settings";
339
6
  apiUrl: string;
340
7
  setDefaultHandle?: string | undefined;
@@ -342,6 +9,59 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
342
9
  type: "vibes.diy.res-ensure-user-settings";
343
10
  userId: string;
344
11
  settings: ({
12
+ type: "notifications";
13
+ buildComplete?: boolean | undefined;
14
+ buildFailed?: boolean | undefined;
15
+ vibePublished?: boolean | undefined;
16
+ commentPosted?: boolean | undefined;
17
+ requestApproved?: boolean | undefined;
18
+ requestRevoked?: boolean | undefined;
19
+ vibeRemixed?: boolean | undefined;
20
+ dmReceived?: boolean | undefined;
21
+ memberJoined?: boolean | undefined;
22
+ accessRequested?: boolean | undefined;
23
+ buildRequested?: boolean | undefined;
24
+ buildApproved?: boolean | undefined;
25
+ emailDigest?: boolean | undefined;
26
+ retentionEmail?: boolean | undefined;
27
+ followRequest?: boolean | undefined;
28
+ followerAdded?: boolean | undefined;
29
+ followApproved?: boolean | undefined;
30
+ appMessage?: boolean | undefined;
31
+ connectionExpiring?: boolean | undefined;
32
+ assetBlocked?: boolean | undefined;
33
+ assetCheckFailed?: boolean | undefined;
34
+ checkoutUnfinished?: boolean | undefined;
35
+ safetyAlert?: boolean | undefined;
36
+ reminder?: boolean | undefined;
37
+ teamMessages?: boolean | undefined;
38
+ emailInstant?: boolean | undefined;
39
+ mutes?: {
40
+ vibes?: string[] | undefined;
41
+ handles?: string[] | undefined;
42
+ actors?: string[] | undefined;
43
+ } | undefined;
44
+ vibeTypes?: {
45
+ vibe: string;
46
+ buildComplete?: boolean | undefined;
47
+ buildFailed?: boolean | undefined;
48
+ vibePublished?: boolean | undefined;
49
+ commentPosted?: boolean | undefined;
50
+ requestApproved?: boolean | undefined;
51
+ requestRevoked?: boolean | undefined;
52
+ vibeRemixed?: boolean | undefined;
53
+ memberJoined?: boolean | undefined;
54
+ accessRequested?: boolean | undefined;
55
+ buildRequested?: boolean | undefined;
56
+ buildApproved?: boolean | undefined;
57
+ appMessage?: boolean | undefined;
58
+ assetBlocked?: boolean | undefined;
59
+ assetCheckFailed?: boolean | undefined;
60
+ }[] | undefined;
61
+ agent?: {
62
+ hiddenVibes?: string[] | undefined;
63
+ } | undefined;
64
+ } | {
345
65
  type: "sharing";
346
66
  grants: {
347
67
  grant: "allow" | "deny";
@@ -459,59 +179,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
459
179
  avatarCid?: string | undefined;
460
180
  displayName?: string | undefined;
461
181
  codeMode?: boolean | undefined;
462
- } | {
463
- type: "notifications";
464
- buildComplete?: boolean | undefined;
465
- buildFailed?: boolean | undefined;
466
- vibePublished?: boolean | undefined;
467
- commentPosted?: boolean | undefined;
468
- requestApproved?: boolean | undefined;
469
- requestRevoked?: boolean | undefined;
470
- vibeRemixed?: boolean | undefined;
471
- dmReceived?: boolean | undefined;
472
- memberJoined?: boolean | undefined;
473
- accessRequested?: boolean | undefined;
474
- buildRequested?: boolean | undefined;
475
- buildApproved?: boolean | undefined;
476
- emailDigest?: boolean | undefined;
477
- retentionEmail?: boolean | undefined;
478
- followRequest?: boolean | undefined;
479
- followerAdded?: boolean | undefined;
480
- followApproved?: boolean | undefined;
481
- appMessage?: boolean | undefined;
482
- connectionExpiring?: boolean | undefined;
483
- assetBlocked?: boolean | undefined;
484
- assetCheckFailed?: boolean | undefined;
485
- checkoutUnfinished?: boolean | undefined;
486
- safetyAlert?: boolean | undefined;
487
- reminder?: boolean | undefined;
488
- teamMessages?: boolean | undefined;
489
- emailInstant?: boolean | undefined;
490
- mutes?: {
491
- vibes?: string[] | undefined;
492
- handles?: string[] | undefined;
493
- actors?: string[] | undefined;
494
- } | undefined;
495
- vibeTypes?: {
496
- vibe: string;
497
- buildComplete?: boolean | undefined;
498
- buildFailed?: boolean | undefined;
499
- vibePublished?: boolean | undefined;
500
- commentPosted?: boolean | undefined;
501
- requestApproved?: boolean | undefined;
502
- requestRevoked?: boolean | undefined;
503
- vibeRemixed?: boolean | undefined;
504
- memberJoined?: boolean | undefined;
505
- accessRequested?: boolean | undefined;
506
- buildRequested?: boolean | undefined;
507
- buildApproved?: boolean | undefined;
508
- appMessage?: boolean | undefined;
509
- assetBlocked?: boolean | undefined;
510
- assetCheckFailed?: boolean | undefined;
511
- }[] | undefined;
512
- agent?: {
513
- hiddenVibes?: string[] | undefined;
514
- } | undefined;
515
182
  } | {
516
183
  type: "egressStatus";
517
184
  status: "blessed" | "blocked";
@@ -655,6 +322,249 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
655
322
  })[];
656
323
  updated: string;
657
324
  created: string;
325
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
326
+ type: "vibes-diy.cli.system";
327
+ }, {
328
+ type: "vibes-diy.cli.res-system";
329
+ systemPrompt: string;
330
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
331
+ type: "vibes-diy.cli.remix";
332
+ srcUserSlug: string;
333
+ srcAppSlug: string;
334
+ dstOwnerHandle?: string | undefined;
335
+ dstAppSlug?: string | undefined;
336
+ published: boolean;
337
+ settingsOnly: boolean;
338
+ apiUrl: string;
339
+ }, {
340
+ type: "vibes-diy.cli.res-remix";
341
+ ownerHandle: string;
342
+ appSlug: string;
343
+ url: string;
344
+ carried?: string[] | undefined;
345
+ skippedPresent?: string[] | undefined;
346
+ chatId?: string | undefined;
347
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
348
+ type: "vibes-diy.cli.agent";
349
+ apiUrl: string;
350
+ prompt: string;
351
+ ownerHandle: string;
352
+ followMs: number;
353
+ json: boolean;
354
+ chatId?: string | undefined;
355
+ newChat?: boolean | undefined;
356
+ images?: string[] | undefined;
357
+ byText?: boolean | undefined;
358
+ startedBy?: "person" | "wake" | undefined;
359
+ askedBy?: string | undefined;
360
+ }, {
361
+ type: "vibes-diy.cli.res-agent";
362
+ ownerHandle: string;
363
+ chatId: string;
364
+ messages: string[];
365
+ shorts?: string[] | undefined;
366
+ links: string[];
367
+ idle: boolean;
368
+ reactions?: string[] | undefined;
369
+ error?: string | undefined;
370
+ credits?: number | undefined;
371
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
372
+ type: "vibes-diy.cli.db.get";
373
+ apiUrl: string;
374
+ appSlug: string;
375
+ ownerHandle: string;
376
+ dbName: string;
377
+ docId: string;
378
+ admin: boolean;
379
+ actingHandle: string;
380
+ }, {
381
+ type: "vibes-diy.cli.db.get-res";
382
+ doc: {
383
+ [x: string]: unknown;
384
+ };
385
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
386
+ type: "vibes-diy.cli.db.del";
387
+ apiUrl: string;
388
+ appSlug: string;
389
+ ownerHandle: string;
390
+ dbName: string;
391
+ docId: string;
392
+ admin: boolean;
393
+ actingHandle: string;
394
+ }, {
395
+ type: "vibes-diy.cli.db.del-res";
396
+ id: string;
397
+ ok: true;
398
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
399
+ type: "vibes-diy.cli.db.seed";
400
+ action: "add" | "remove";
401
+ apiUrl: string;
402
+ appSlug: string;
403
+ ownerHandle: string;
404
+ }, {
405
+ type: "vibes-diy.cli.db.seed-res";
406
+ action: "add" | "remove";
407
+ appSlug: string;
408
+ ownerHandle: string;
409
+ seedFile: "absent" | "invalid" | "present" | "unknown";
410
+ changed: number;
411
+ skipped: number;
412
+ failed: number;
413
+ perDb: {
414
+ dbName: string;
415
+ changed: number;
416
+ skipped: number;
417
+ failed: number;
418
+ }[];
419
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
420
+ type: "vibes-diy.cli.doctor";
421
+ apiUrl: string;
422
+ }, {
423
+ type: "vibes-diy.cli.res-doctor";
424
+ cliVersion: string;
425
+ node: string;
426
+ keybagPath: string;
427
+ keybagInstance?: string | undefined;
428
+ device: string;
429
+ deviceOk: boolean;
430
+ fingerprint?: string | undefined;
431
+ certExpires?: string | undefined;
432
+ apiUrl: string;
433
+ wsUrl: string;
434
+ proxy: string;
435
+ handshake: {
436
+ ok: boolean;
437
+ detail: string;
438
+ ms?: number | undefined;
439
+ };
440
+ auth?: {
441
+ ok: boolean;
442
+ detail: string;
443
+ ms?: number | undefined;
444
+ } | undefined;
445
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
446
+ type: "vibes-diy.cli.versions";
447
+ appSlug: string;
448
+ ownerHandle: string;
449
+ apiUrl: string;
450
+ }, {
451
+ type: "vibes-diy.cli.res-versions";
452
+ appSlug: string;
453
+ ownerHandle: string;
454
+ items: {
455
+ fsId: string;
456
+ mode: "dev" | "production";
457
+ releaseSeq: number;
458
+ created: string;
459
+ published: boolean;
460
+ byHandle?: string | undefined;
461
+ }[];
462
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
463
+ type: "vibes-diy.cli.app-tick";
464
+ appSlug: string;
465
+ ownerHandle: string;
466
+ at: string;
467
+ apiUrl: string;
468
+ }, {
469
+ type: "vibes-diy.cli.res-app-tick";
470
+ appSlug: string;
471
+ ownerHandle: string;
472
+ scheduledTime: string;
473
+ ran: boolean;
474
+ reason: string | null;
475
+ detail: string | null;
476
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
477
+ type: "vibes-diy.cli.app-screenshot";
478
+ appSlug: string;
479
+ ownerHandle: string;
480
+ more: string[];
481
+ apiUrl: string;
482
+ }, {
483
+ type: "vibes-diy.cli.res-app-screenshot";
484
+ results: {
485
+ ownerHandle: string;
486
+ appSlug: string;
487
+ fsId: string;
488
+ enqueued: boolean;
489
+ error?: string | undefined;
490
+ }[];
491
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
492
+ type: "vibes-diy.cli.app-auto-enhance";
493
+ appSlug: string;
494
+ ownerHandle: string;
495
+ apiUrl: string;
496
+ set: "" | "off" | "on";
497
+ }, {
498
+ type: "vibes-diy.cli.res-app-auto-enhance";
499
+ ownerHandle: string;
500
+ appSlug: string;
501
+ wrote: boolean;
502
+ autoEnhance: boolean;
503
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
504
+ type: "vibes-diy.cli.set-unpublish";
505
+ appSlug: string;
506
+ ownerHandle: string;
507
+ unpublish: boolean;
508
+ apiUrl: string;
509
+ }, {
510
+ type: "vibes-diy.cli.res-set-unpublish";
511
+ appSlug: string;
512
+ ownerHandle: string;
513
+ unpublishedAt: string;
514
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
515
+ type: "vibes-diy.cli.publish";
516
+ appSlug: string;
517
+ ownerHandle: string;
518
+ fsId?: string | undefined;
519
+ apiUrl: string;
520
+ }, {
521
+ type: "vibes-diy.cli.res-publish";
522
+ appSlug: string;
523
+ ownerHandle: string;
524
+ fsId: string;
525
+ releaseSeq: number;
526
+ released: boolean;
527
+ restored: boolean;
528
+ autoEnhanceOff?: boolean | undefined;
529
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
530
+ type: "vibes-diy.cli.members";
531
+ apiUrl: string;
532
+ appSlug: string;
533
+ ownerHandle: string;
534
+ op: "add" | "ls" | "rm";
535
+ target?: string | undefined;
536
+ role?: string | undefined;
537
+ }, {
538
+ type: "vibes-diy.cli.members-res";
539
+ op: "add" | "ls" | "rm";
540
+ ownerHandle: string;
541
+ appSlug: string;
542
+ items: {
543
+ who: string;
544
+ kind: "email" | "handle";
545
+ role: string;
546
+ state: "accepted" | "approved" | "pending" | "requested" | "revoked";
547
+ updated: string;
548
+ }[];
549
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
550
+ type: "vibes-diy.cli.moderation";
551
+ apiUrl: string;
552
+ op: "list-flags" | "list-reports" | "resolve-report" | "set-publishing-paused" | "status" | "suspend" | "triage-flag" | "unsuspend";
553
+ reason: string;
554
+ reportId: string;
555
+ userId: string;
556
+ handle: string;
557
+ paused?: boolean | undefined;
558
+ status: string;
559
+ limit: string;
560
+ flagId?: string | undefined;
561
+ triage?: string | undefined;
562
+ summary?: boolean | undefined;
563
+ since?: string | undefined;
564
+ }, {
565
+ type: "vibes-diy.cli.res-moderation";
566
+ op: string;
567
+ result: unknown;
658
568
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
659
569
  type: "vibes-diy.cli.skills";
660
570
  }, {
@@ -857,6 +767,122 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
857
767
  size: number;
858
768
  uploadId: string;
859
769
  verified?: boolean | undefined;
770
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
771
+ type: "vibes-diy.cli.generate";
772
+ prompt: string;
773
+ appSlug: string;
774
+ ownerHandle: string;
775
+ instantJoin?: boolean | undefined;
776
+ noAccessFn?: boolean | undefined;
777
+ privateMode?: boolean | undefined;
778
+ verbose: boolean;
779
+ apiUrl: string;
780
+ focusPath?: string | undefined;
781
+ model?: string | undefined;
782
+ builderModel?: string | undefined;
783
+ apiKey?: string | undefined;
784
+ variety?: string | undefined;
785
+ record?: string | undefined;
786
+ style?: string | undefined;
787
+ fastPass?: boolean | undefined;
788
+ }, {
789
+ appSlug: string;
790
+ ownerHandle: string;
791
+ mode: "dev" | "production";
792
+ fsId: string;
793
+ type: "vibes.diy.res-ensure-app-slug";
794
+ env: Record<string, string>;
795
+ fileSystem: {
796
+ fileName: string;
797
+ mimeType: string;
798
+ assetId: string;
799
+ assetURI: string;
800
+ transform?: {
801
+ type: "jsx-to-js";
802
+ transformedAssetId: string;
803
+ } | {
804
+ type: "imports";
805
+ importMapAssetId: string;
806
+ } | {
807
+ type: "import-map";
808
+ fromAssetIds: string[];
809
+ } | {
810
+ type: "transformed";
811
+ action: "jsx-to-js";
812
+ transformedAssetId: string;
813
+ } | {
814
+ type: "tailwind-css";
815
+ } | undefined;
816
+ entryPoint?: boolean | undefined;
817
+ size: number;
818
+ kind?: "asset" | undefined;
819
+ uploadId?: string | undefined;
820
+ }[];
821
+ autoEnhanceOff?: true | undefined;
822
+ appCreated?: true | undefined;
823
+ anonWriteFollowed?: {
824
+ to: "explicit" | "off";
825
+ because: "not-open" | "personal-details" | "rules-ask" | "rules-do-not-ask" | "rules-not-bound" | "sensitive";
826
+ } | undefined;
827
+ backendWarnings?: string[] | undefined;
828
+ } | {
829
+ type: "vibes.diy.res-error";
830
+ error: {
831
+ message: string;
832
+ code: "require-login";
833
+ };
834
+ } | {
835
+ type: "vibes.diy.res-error";
836
+ error: {
837
+ message: string;
838
+ code: "user-slug-invalid";
839
+ };
840
+ } | {
841
+ type: "vibes.diy.res-error";
842
+ error: {
843
+ message: string;
844
+ code: "app-slug-invalid";
845
+ };
846
+ } | {
847
+ type: "vibes.diy.res-error";
848
+ error: {
849
+ message: string;
850
+ code: "max-app-slugs-reached";
851
+ };
852
+ } | {
853
+ type: "vibes.diy.res-error";
854
+ error: {
855
+ message: string;
856
+ code: "handle-required";
857
+ };
858
+ } | {
859
+ type: "vibes.diy.res-error";
860
+ error: {
861
+ message: string;
862
+ code: "from-not-owned";
863
+ };
864
+ } | {
865
+ type: "vibes.diy.res-error";
866
+ error: {
867
+ message: string;
868
+ code: "from-carry-failed";
869
+ };
870
+ } | {
871
+ type: "vibes.diy.res-error";
872
+ error: {
873
+ message: string;
874
+ code: "auto-enhance-off";
875
+ };
876
+ } | {
877
+ type: "vibes-diy.cli.res-generate";
878
+ appSlug: string;
879
+ ownerHandle: string;
880
+ url: string;
881
+ directory: string;
882
+ release?: "not-visible" | "published" | "version-locked" | undefined;
883
+ turns?: number | undefined;
884
+ publish?: "kept-private-no-access-fn" | "private" | "published" | undefined;
885
+ posture?: "gated" | "open" | "private" | undefined;
860
886
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
861
887
  type: "vibes-diy.cli.app-chats";
862
888
  appSlug: string;
@@ -1042,31 +1068,15 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
1042
1068
  unpublishedAt?: string | undefined;
1043
1069
  }[];
1044
1070
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1045
- type: "vibes-diy.cli.doctor";
1071
+ type: "vibes-diy.cli.whoami";
1046
1072
  apiUrl: string;
1047
1073
  }, {
1048
- type: "vibes-diy.cli.res-doctor";
1049
- cliVersion: string;
1050
- node: string;
1051
- keybagPath: string;
1052
- keybagInstance?: string | undefined;
1053
- device: string;
1054
- deviceOk: boolean;
1055
- fingerprint?: string | undefined;
1056
- certExpires?: string | undefined;
1057
- apiUrl: string;
1058
- wsUrl: string;
1059
- proxy: string;
1060
- handshake: {
1061
- ok: boolean;
1062
- detail: string;
1063
- ms?: number | undefined;
1064
- };
1065
- auth?: {
1066
- ok: boolean;
1067
- detail: string;
1068
- ms?: number | undefined;
1069
- } | undefined;
1074
+ type: "vibes-diy.cli.res-whoami";
1075
+ authenticated: boolean;
1076
+ userId?: string | undefined;
1077
+ defaultHandle?: string | undefined;
1078
+ handles: string[];
1079
+ detail?: string | undefined;
1070
1080
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1071
1081
  type: "vibes-diy.cli.pull";
1072
1082
  appSlug: string;
@@ -1719,6 +1729,25 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
1719
1729
  }, {
1720
1730
  type: "vibes-diy.cli.res-phone-link-classify";
1721
1731
  reaction?: string | undefined;
1732
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1733
+ type: "core-cli.device-id-register";
1734
+ commonName: string;
1735
+ organization: string;
1736
+ locality: string;
1737
+ state: string;
1738
+ country: string;
1739
+ caUrl: string;
1740
+ port: string;
1741
+ timeout: string;
1742
+ forceRenew: boolean;
1743
+ cert?: string | undefined;
1744
+ noBrowser?: boolean | undefined;
1745
+ apiUrl?: string | undefined;
1746
+ expectHandle?: string | undefined;
1747
+ expectUser?: string | undefined;
1748
+ }, {
1749
+ type: "core-cli.res-device-id-register";
1750
+ output: string;
1722
1751
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1723
1752
  type: "vibes-diy.cli.db.list";
1724
1753
  apiUrl: string;
@@ -1728,20 +1757,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
1728
1757
  }, {
1729
1758
  type: "vibes-diy.cli.db.list-res";
1730
1759
  dbNames: string[];
1731
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1732
- type: "vibes-diy.cli.db.get";
1733
- apiUrl: string;
1734
- appSlug: string;
1735
- ownerHandle: string;
1736
- dbName: string;
1737
- docId: string;
1738
- admin: boolean;
1739
- actingHandle: string;
1740
- }, {
1741
- type: "vibes-diy.cli.db.get-res";
1742
- doc: {
1743
- [x: string]: unknown;
1744
- };
1745
1760
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1746
1761
  type: "vibes-diy.cli.db.put";
1747
1762
  apiUrl: string;
@@ -1763,44 +1778,29 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
1763
1778
  uploadId: string;
1764
1779
  }[] | undefined;
1765
1780
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1766
- type: "vibes-diy.cli.db.del";
1781
+ type: "vibes-diy.cli.db.query";
1767
1782
  apiUrl: string;
1768
1783
  appSlug: string;
1769
1784
  ownerHandle: string;
1770
1785
  dbName: string;
1771
- docId: string;
1786
+ field: string;
1787
+ key: string;
1788
+ prefix: string;
1789
+ range: string;
1790
+ limit: number;
1791
+ descending: boolean;
1772
1792
  admin: boolean;
1773
1793
  actingHandle: string;
1774
1794
  }, {
1775
- type: "vibes-diy.cli.db.del-res";
1776
- id: string;
1777
- ok: true;
1795
+ type: "vibes-diy.cli.db.query-res";
1796
+ docs: {
1797
+ [x: string]: unknown;
1798
+ }[];
1778
1799
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1779
1800
  type: "vibes-diy.cli.db.subscribe";
1780
1801
  apiUrl: string;
1781
1802
  appSlug: string;
1782
1803
  ownerHandle: string;
1783
1804
  dbName: string;
1784
- }, never> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1785
- type: "vibes-diy.cli.db.seed";
1786
- action: "add" | "remove";
1787
- apiUrl: string;
1788
- appSlug: string;
1789
- ownerHandle: string;
1790
- }, {
1791
- type: "vibes-diy.cli.db.seed-res";
1792
- action: "add" | "remove";
1793
- appSlug: string;
1794
- ownerHandle: string;
1795
- seedFile: "absent" | "invalid" | "present" | "unknown";
1796
- changed: number;
1797
- skipped: number;
1798
- failed: number;
1799
- perDb: {
1800
- dbName: string;
1801
- changed: number;
1802
- skipped: number;
1803
- failed: number;
1804
- }[];
1805
- }>)[];
1805
+ }, never>)[];
1806
1806
  export declare function cmdTsEvento(): import("@adviser/cement").Evento;