vibes-diy 14.3.395 → 14.3.396

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,244 +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: "use-vibes.cli.themes";
25
- }, {
26
- type: "use-vibes.cli.res-themes-list";
27
- themes: {
28
- slug: string;
29
- name: string;
30
- }[];
31
- } | {
32
- type: "use-vibes.cli.res-theme-content";
33
- slug: string;
34
- content: string;
35
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
36
- type: "vibes-diy.cli.db.get";
37
- apiUrl: string;
38
- appSlug: string;
39
- ownerHandle: string;
40
- dbName: string;
41
- docId: string;
42
- admin: boolean;
43
- actingHandle: string;
44
- }, {
45
- type: "vibes-diy.cli.db.get-res";
46
- doc: {
47
- [x: string]: unknown;
48
- };
49
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
50
- type: "vibes-diy.cli.db.del";
51
- apiUrl: string;
52
- appSlug: string;
53
- ownerHandle: string;
54
- dbName: string;
55
- docId: string;
56
- admin: boolean;
57
- actingHandle: string;
58
- }, {
59
- type: "vibes-diy.cli.db.del-res";
60
- id: string;
61
- ok: true;
62
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
63
- type: "vibes-diy.cli.db.seed";
64
- action: "add" | "remove";
65
- apiUrl: string;
66
- appSlug: string;
67
- ownerHandle: string;
68
- }, {
69
- type: "vibes-diy.cli.db.seed-res";
70
- action: "add" | "remove";
71
- appSlug: string;
72
- ownerHandle: string;
73
- seedFile: "absent" | "invalid" | "present" | "unknown";
74
- changed: number;
75
- skipped: number;
76
- failed: number;
77
- perDb: {
78
- dbName: string;
79
- changed: number;
80
- skipped: number;
81
- failed: number;
82
- }[];
83
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
84
- type: "vibes-diy.cli.doctor";
85
- apiUrl: string;
86
- }, {
87
- type: "vibes-diy.cli.res-doctor";
88
- cliVersion: string;
89
- node: string;
90
- keybagPath: string;
91
- keybagInstance?: string | undefined;
92
- device: string;
93
- deviceOk: boolean;
94
- fingerprint?: string | undefined;
95
- certExpires?: string | undefined;
96
- apiUrl: string;
97
- wsUrl: string;
98
- proxy: string;
99
- handshake: {
100
- ok: boolean;
101
- detail: string;
102
- ms?: number | undefined;
103
- };
104
- auth?: {
105
- ok: boolean;
106
- detail: string;
107
- ms?: number | undefined;
108
- } | undefined;
109
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
110
- type: "vibes-diy.cli.app-status";
111
- appSlug: string;
112
- ownerHandle: string;
113
- apiUrl: string;
114
- }, {
115
- type: "vibes-diy.cli.res-app-status";
116
- appSlug: string;
117
- ownerHandle: string;
118
- state: "dead" | "healthy" | "overdue" | "running" | "unscheduled";
119
- intervalMs: number | null;
120
- armedAt: string | null;
121
- lastAttemptAt: string | null;
122
- lastRunAt: string | null;
123
- lastErrorAt: string | null;
124
- lastError: string | null;
125
- attempt: number;
126
- nextAlarmAt: string | null;
127
- graceMs: number;
128
- overdueMs: number;
129
- healed: boolean;
130
- releaseIntervalMs: number | null;
131
- pausedIntervalMs: number | null;
132
- stoppedIntervalMs: number | null;
133
- stoppedAt: string | null;
134
- settingsUrl: string;
135
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
136
- type: "vibes-diy.cli.app-chips";
137
- appSlug: string;
138
- ownerHandle: string;
139
- apiUrl: string;
140
- chips: (string | {
141
- label: string;
142
- gold?: boolean | undefined;
143
- kind?: "access" | "connect" | "edit" | "pay" | "publish" | "seed" | undefined;
144
- })[];
145
- fsId: string;
146
- }, {
147
- type: "vibes-diy.cli.res-app-chips";
148
- appSlug: string;
149
- ownerHandle: string;
150
- fsId: string;
151
- releaseSeq: number;
152
- chips: string[];
153
- chipItems?: {
154
- label: string;
155
- gold?: boolean | undefined;
156
- kind?: "access" | "connect" | "edit" | "pay" | "publish" | "seed" | undefined;
157
- }[] | undefined;
158
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
159
- type: "vibes-diy.cli.app-anon-write";
160
- appSlug: string;
161
- ownerHandle: string;
162
- apiUrl: string;
163
- set: "" | "off" | "on";
164
- }, {
165
- type: "vibes-diy.cli.res-app-anon-write";
166
- ownerHandle: string;
167
- appSlug: string;
168
- wrote: boolean;
169
- posture: string;
170
- anonWrite: "explicit" | "legacy" | "off";
171
- wildcardWrite: string[];
172
- restrictedDbs: {
173
- dbName: string;
174
- provenance: "platform-default" | "your-pin";
175
- write: string[];
176
- }[];
177
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
178
- type: "vibes-diy.cli.set-unpublish";
179
- appSlug: string;
180
- ownerHandle: string;
181
- unpublish: boolean;
182
- apiUrl: string;
183
- }, {
184
- type: "vibes-diy.cli.res-set-unpublish";
185
- appSlug: string;
186
- ownerHandle: string;
187
- unpublishedAt: string;
188
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
189
- type: "vibes-diy.cli.publish";
190
- appSlug: string;
191
- ownerHandle: string;
192
- fsId?: string | undefined;
193
- apiUrl: string;
194
- }, {
195
- type: "vibes-diy.cli.res-publish";
196
- appSlug: string;
197
- ownerHandle: string;
198
- fsId: string;
199
- releaseSeq: number;
200
- released: boolean;
201
- restored: boolean;
202
- autoEnhanceOff?: boolean | undefined;
203
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
204
- type: "vibes-diy.cli.members";
205
- apiUrl: string;
206
- appSlug: string;
207
- ownerHandle: string;
208
- op: "add" | "ls" | "rm";
209
- target?: string | undefined;
210
- role?: string | undefined;
211
- }, {
212
- type: "vibes-diy.cli.members-res";
213
- op: "add" | "ls" | "rm";
214
- ownerHandle: string;
215
- appSlug: string;
216
- items: {
217
- who: string;
218
- kind: "email" | "handle";
219
- role: string;
220
- state: "accepted" | "approved" | "pending" | "requested" | "revoked";
221
- updated: string;
222
- }[];
223
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
224
- type: "vibes-diy.cli.moderation";
225
- apiUrl: string;
226
- op: "list-flags" | "list-reports" | "resolve-report" | "set-publishing-paused" | "status" | "suspend" | "triage-flag" | "unsuspend";
227
- reason: string;
228
- reportId: string;
229
- userId: string;
230
- handle: string;
231
- paused?: boolean | undefined;
232
- status: string;
233
- limit: string;
234
- flagId?: string | undefined;
235
- triage?: string | undefined;
236
- summary?: boolean | undefined;
237
- since?: string | undefined;
238
- }, {
239
- type: "vibes-diy.cli.res-moderation";
240
- op: string;
241
- result: unknown;
242
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
243
5
  type: "vibes-diy.cli.user-settings";
244
6
  apiUrl: string;
245
7
  setDefaultHandle?: string | undefined;
@@ -247,53 +9,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
247
9
  type: "vibes.diy.res-ensure-user-settings";
248
10
  userId: string;
249
11
  settings: ({
250
- type: "notifications";
251
- buildComplete?: boolean | undefined;
252
- buildFailed?: boolean | undefined;
253
- vibePublished?: boolean | undefined;
254
- commentPosted?: boolean | undefined;
255
- requestApproved?: boolean | undefined;
256
- requestRevoked?: boolean | undefined;
257
- vibeRemixed?: boolean | undefined;
258
- dmReceived?: boolean | undefined;
259
- memberJoined?: boolean | undefined;
260
- accessRequested?: boolean | undefined;
261
- emailDigest?: boolean | undefined;
262
- retentionEmail?: boolean | undefined;
263
- followRequest?: boolean | undefined;
264
- followerAdded?: boolean | undefined;
265
- followApproved?: boolean | undefined;
266
- appMessage?: boolean | undefined;
267
- connectionExpiring?: boolean | undefined;
268
- assetBlocked?: boolean | undefined;
269
- assetCheckFailed?: boolean | undefined;
270
- checkoutUnfinished?: boolean | undefined;
271
- safetyAlert?: boolean | undefined;
272
- reminder?: boolean | undefined;
273
- emailInstant?: boolean | undefined;
274
- mutes?: {
275
- vibes?: string[] | undefined;
276
- handles?: string[] | undefined;
277
- } | undefined;
278
- vibeTypes?: {
279
- vibe: string;
280
- buildComplete?: boolean | undefined;
281
- buildFailed?: boolean | undefined;
282
- vibePublished?: boolean | undefined;
283
- commentPosted?: boolean | undefined;
284
- requestApproved?: boolean | undefined;
285
- requestRevoked?: boolean | undefined;
286
- vibeRemixed?: boolean | undefined;
287
- memberJoined?: boolean | undefined;
288
- accessRequested?: boolean | undefined;
289
- appMessage?: boolean | undefined;
290
- assetBlocked?: boolean | undefined;
291
- assetCheckFailed?: boolean | undefined;
292
- }[] | undefined;
293
- agent?: {
294
- hiddenVibes?: string[] | undefined;
295
- } | undefined;
296
- } | {
297
12
  type: "sharing";
298
13
  grants: {
299
14
  grant: "allow" | "deny";
@@ -411,6 +126,53 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
411
126
  avatarCid?: string | undefined;
412
127
  displayName?: string | undefined;
413
128
  codeMode?: boolean | undefined;
129
+ } | {
130
+ type: "notifications";
131
+ buildComplete?: boolean | undefined;
132
+ buildFailed?: boolean | undefined;
133
+ vibePublished?: boolean | undefined;
134
+ commentPosted?: boolean | undefined;
135
+ requestApproved?: boolean | undefined;
136
+ requestRevoked?: boolean | undefined;
137
+ vibeRemixed?: boolean | undefined;
138
+ dmReceived?: boolean | undefined;
139
+ memberJoined?: boolean | undefined;
140
+ accessRequested?: boolean | undefined;
141
+ emailDigest?: boolean | undefined;
142
+ retentionEmail?: boolean | undefined;
143
+ followRequest?: boolean | undefined;
144
+ followerAdded?: boolean | undefined;
145
+ followApproved?: boolean | undefined;
146
+ appMessage?: boolean | undefined;
147
+ connectionExpiring?: boolean | undefined;
148
+ assetBlocked?: boolean | undefined;
149
+ assetCheckFailed?: boolean | undefined;
150
+ checkoutUnfinished?: boolean | undefined;
151
+ safetyAlert?: boolean | undefined;
152
+ reminder?: boolean | undefined;
153
+ emailInstant?: boolean | undefined;
154
+ mutes?: {
155
+ vibes?: string[] | undefined;
156
+ handles?: string[] | undefined;
157
+ } | undefined;
158
+ vibeTypes?: {
159
+ vibe: string;
160
+ buildComplete?: boolean | undefined;
161
+ buildFailed?: boolean | undefined;
162
+ vibePublished?: boolean | undefined;
163
+ commentPosted?: boolean | undefined;
164
+ requestApproved?: boolean | undefined;
165
+ requestRevoked?: boolean | undefined;
166
+ vibeRemixed?: boolean | undefined;
167
+ memberJoined?: boolean | undefined;
168
+ accessRequested?: boolean | undefined;
169
+ appMessage?: boolean | undefined;
170
+ assetBlocked?: boolean | undefined;
171
+ assetCheckFailed?: boolean | undefined;
172
+ }[] | undefined;
173
+ agent?: {
174
+ hiddenVibes?: string[] | undefined;
175
+ } | undefined;
414
176
  } | {
415
177
  type: "egressStatus";
416
178
  status: "blessed" | "blocked";
@@ -534,14 +296,316 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
534
296
  content?: string | undefined;
535
297
  term?: string | undefined;
536
298
  } | undefined;
537
- clickIds?: ("fbclid" | "gclid" | "msclkid" | "ttclid")[] | undefined;
538
- capturedAt: string;
539
- } | {
540
- type: "defaultHandle";
541
- ownerHandle: string;
299
+ clickIds?: ("fbclid" | "gclid" | "msclkid" | "ttclid")[] | undefined;
300
+ capturedAt: string;
301
+ } | {
302
+ type: "defaultHandle";
303
+ ownerHandle: string;
304
+ })[];
305
+ updated: string;
306
+ created: string;
307
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
308
+ type: "vibes-diy.cli.variety";
309
+ }, {
310
+ type: "vibes-diy.cli.res-variety-list";
311
+ grammar: string;
312
+ flourishCount: number;
313
+ archetypes: {
314
+ id: string;
315
+ guidance: string;
316
+ }[];
317
+ flourishes: {
318
+ id: string;
319
+ guidance: string;
320
+ }[];
321
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
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;
329
+ }, {
330
+ type: "vibes-diy.cli.res-put-asset";
331
+ cid: string;
332
+ getURL: string;
333
+ size: number;
334
+ uploadId: string;
335
+ verified?: boolean | undefined;
336
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
337
+ type: "vibes-diy.cli.generate";
338
+ prompt: string;
339
+ appSlug: string;
340
+ ownerHandle: string;
341
+ instantJoin?: boolean | undefined;
342
+ noAccessFn?: boolean | undefined;
343
+ privateMode?: boolean | undefined;
344
+ verbose: boolean;
345
+ apiUrl: string;
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;
354
+ }, {
355
+ appSlug: string;
356
+ ownerHandle: string;
357
+ mode: "dev" | "production";
358
+ fsId: string;
359
+ type: "vibes.diy.res-ensure-app-slug";
360
+ env: Record<string, string>;
361
+ fileSystem: {
362
+ fileName: string;
363
+ mimeType: string;
364
+ assetId: string;
365
+ assetURI: string;
366
+ transform?: {
367
+ type: "jsx-to-js";
368
+ transformedAssetId: string;
369
+ } | {
370
+ type: "imports";
371
+ importMapAssetId: string;
372
+ } | {
373
+ type: "import-map";
374
+ fromAssetIds: string[];
375
+ } | {
376
+ type: "transformed";
377
+ action: "jsx-to-js";
378
+ transformedAssetId: string;
379
+ } | {
380
+ type: "tailwind-css";
381
+ } | undefined;
382
+ entryPoint?: boolean | undefined;
383
+ size: number;
384
+ kind?: "asset" | undefined;
385
+ uploadId?: string | undefined;
386
+ }[];
387
+ autoEnhanceOff?: true | undefined;
388
+ appCreated?: true | undefined;
389
+ } | {
390
+ type: "vibes.diy.res-error";
391
+ error: {
392
+ message: string;
393
+ code: "require-login";
394
+ };
395
+ } | {
396
+ type: "vibes.diy.res-error";
397
+ error: {
398
+ message: string;
399
+ code: "user-slug-invalid";
400
+ };
401
+ } | {
402
+ type: "vibes.diy.res-error";
403
+ error: {
404
+ message: string;
405
+ code: "app-slug-invalid";
406
+ };
407
+ } | {
408
+ type: "vibes.diy.res-error";
409
+ error: {
410
+ message: string;
411
+ code: "from-not-owned";
412
+ };
413
+ } | {
414
+ type: "vibes.diy.res-error";
415
+ error: {
416
+ message: string;
417
+ code: "from-carry-failed";
418
+ };
419
+ } | {
420
+ type: "vibes.diy.res-error";
421
+ error: {
422
+ message: string;
423
+ code: "auto-enhance-off";
424
+ };
425
+ } | {
426
+ type: "vibes.diy.res-error";
427
+ error: {
428
+ message: string;
429
+ code: "handle-required";
430
+ };
431
+ } | {
432
+ type: "vibes.diy.res-error";
433
+ error: {
434
+ message: string;
435
+ code: "max-app-slugs-reached";
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;
447
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
448
+ type: "vibes-diy.cli.db.query";
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;
461
+ }, {
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;
479
+ ownerHandle: string;
480
+ apiUrl: string;
481
+ }, {
482
+ type: "vibes-diy.cli.res-app-status";
483
+ appSlug: string;
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;
502
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
503
+ type: "vibes-diy.cli.app-chips";
504
+ appSlug: string;
505
+ ownerHandle: string;
506
+ apiUrl: string;
507
+ chips: (string | {
508
+ label: string;
509
+ gold?: boolean | undefined;
510
+ kind?: "access" | "connect" | "edit" | "pay" | "publish" | "seed" | undefined;
542
511
  })[];
543
- updated: string;
544
- created: string;
512
+ fsId: string;
513
+ }, {
514
+ type: "vibes-diy.cli.res-app-chips";
515
+ appSlug: string;
516
+ ownerHandle: string;
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";
531
+ }, {
532
+ type: "vibes-diy.cli.res-app-anon-write";
533
+ ownerHandle: string;
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
+ }[];
544
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
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";
557
+ appSlug: string;
558
+ ownerHandle: string;
559
+ fsId?: string | undefined;
560
+ apiUrl: string;
561
+ }, {
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;
570
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
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;
545
609
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
546
610
  type: "vibes-diy.cli.skills";
547
611
  }, {
@@ -554,20 +618,18 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
554
618
  type: "vibes-diy.cli.res-skill-content";
555
619
  name: string;
556
620
  content: string;
557
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
558
- type: "vibes-diy.cli.variety";
559
- }, {
560
- type: "vibes-diy.cli.res-variety-list";
561
- grammar: string;
562
- flourishCount: number;
563
- archetypes: {
564
- id: string;
565
- guidance: string;
566
- }[];
567
- flourishes: {
568
- id: string;
569
- guidance: 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;
570
628
  }[];
629
+ } | {
630
+ type: "use-vibes.cli.res-theme-content";
631
+ slug: string;
632
+ content: string;
571
633
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
572
634
  type: "vibes-diy.cli.system";
573
635
  }, {
@@ -647,31 +709,31 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
647
709
  type: "vibes.diy.res-error";
648
710
  error: {
649
711
  message: string;
650
- code: "max-app-slugs-reached";
712
+ code: "from-not-owned";
651
713
  };
652
714
  } | {
653
715
  type: "vibes.diy.res-error";
654
716
  error: {
655
717
  message: string;
656
- code: "handle-required";
718
+ code: "from-carry-failed";
657
719
  };
658
720
  } | {
659
721
  type: "vibes.diy.res-error";
660
722
  error: {
661
723
  message: string;
662
- code: "from-not-owned";
724
+ code: "auto-enhance-off";
663
725
  };
664
726
  } | {
665
727
  type: "vibes.diy.res-error";
666
728
  error: {
667
729
  message: string;
668
- code: "from-carry-failed";
730
+ code: "handle-required";
669
731
  };
670
732
  } | {
671
733
  type: "vibes.diy.res-error";
672
734
  error: {
673
735
  message: string;
674
- code: "auto-enhance-off";
736
+ code: "max-app-slugs-reached";
675
737
  };
676
738
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
677
739
  type: "vibes-diy.cli.remix";
@@ -755,132 +817,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
755
817
  model: string;
756
818
  };
757
819
  };
758
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
759
- type: "vibes-diy.cli.put-asset";
760
- file: string;
761
- appSlug: string;
762
- ownerHandle: string;
763
- apiUrl: string;
764
- mimeType: string;
765
- verifyFetch: boolean;
766
- }, {
767
- type: "vibes-diy.cli.res-put-asset";
768
- cid: string;
769
- getURL: string;
770
- size: number;
771
- uploadId: string;
772
- verified?: boolean | undefined;
773
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
774
- type: "vibes-diy.cli.generate";
775
- prompt: string;
776
- appSlug: string;
777
- ownerHandle: string;
778
- instantJoin?: boolean | undefined;
779
- noAccessFn?: boolean | undefined;
780
- privateMode?: boolean | undefined;
781
- verbose: boolean;
782
- apiUrl: string;
783
- focusPath?: string | undefined;
784
- model?: string | undefined;
785
- builderModel?: string | undefined;
786
- apiKey?: string | undefined;
787
- variety?: string | undefined;
788
- record?: string | undefined;
789
- style?: string | undefined;
790
- fastPass?: boolean | undefined;
791
- }, {
792
- type: "vibes-diy.cli.res-generate";
793
- appSlug: string;
794
- ownerHandle: string;
795
- url: string;
796
- directory: string;
797
- release?: "not-visible" | "published" | "version-locked" | undefined;
798
- turns?: number | undefined;
799
- publish?: "kept-private-no-access-fn" | "private" | "published" | undefined;
800
- posture?: "gated" | "open" | "private" | undefined;
801
- } | {
802
- appSlug: string;
803
- ownerHandle: string;
804
- mode: "dev" | "production";
805
- fsId: string;
806
- type: "vibes.diy.res-ensure-app-slug";
807
- env: Record<string, string>;
808
- fileSystem: {
809
- fileName: string;
810
- mimeType: string;
811
- assetId: string;
812
- assetURI: string;
813
- transform?: {
814
- type: "jsx-to-js";
815
- transformedAssetId: string;
816
- } | {
817
- type: "imports";
818
- importMapAssetId: string;
819
- } | {
820
- type: "import-map";
821
- fromAssetIds: string[];
822
- } | {
823
- type: "transformed";
824
- action: "jsx-to-js";
825
- transformedAssetId: string;
826
- } | {
827
- type: "tailwind-css";
828
- } | undefined;
829
- entryPoint?: boolean | undefined;
830
- size: number;
831
- kind?: "asset" | undefined;
832
- uploadId?: string | undefined;
833
- }[];
834
- autoEnhanceOff?: true | undefined;
835
- appCreated?: true | undefined;
836
- } | {
837
- type: "vibes.diy.res-error";
838
- error: {
839
- message: string;
840
- code: "require-login";
841
- };
842
- } | {
843
- type: "vibes.diy.res-error";
844
- error: {
845
- message: string;
846
- code: "user-slug-invalid";
847
- };
848
- } | {
849
- type: "vibes.diy.res-error";
850
- error: {
851
- message: string;
852
- code: "app-slug-invalid";
853
- };
854
- } | {
855
- type: "vibes.diy.res-error";
856
- error: {
857
- message: string;
858
- code: "max-app-slugs-reached";
859
- };
860
- } | {
861
- type: "vibes.diy.res-error";
862
- error: {
863
- message: string;
864
- code: "handle-required";
865
- };
866
- } | {
867
- type: "vibes.diy.res-error";
868
- error: {
869
- message: string;
870
- code: "from-not-owned";
871
- };
872
- } | {
873
- type: "vibes.diy.res-error";
874
- error: {
875
- message: string;
876
- code: "from-carry-failed";
877
- };
878
- } | {
879
- type: "vibes.diy.res-error";
880
- error: {
881
- message: string;
882
- code: "auto-enhance-off";
883
- };
884
820
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
885
821
  type: "vibes-diy.cli.app-chats";
886
822
  appSlug: string;
@@ -1008,31 +944,31 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
1008
944
  type: "vibes.diy.res-error";
1009
945
  error: {
1010
946
  message: string;
1011
- code: "max-app-slugs-reached";
947
+ code: "from-not-owned";
1012
948
  };
1013
949
  } | {
1014
950
  type: "vibes.diy.res-error";
1015
951
  error: {
1016
952
  message: string;
1017
- code: "handle-required";
953
+ code: "from-carry-failed";
1018
954
  };
1019
955
  } | {
1020
956
  type: "vibes.diy.res-error";
1021
957
  error: {
1022
958
  message: string;
1023
- code: "from-not-owned";
959
+ code: "auto-enhance-off";
1024
960
  };
1025
961
  } | {
1026
962
  type: "vibes.diy.res-error";
1027
963
  error: {
1028
964
  message: string;
1029
- code: "from-carry-failed";
965
+ code: "handle-required";
1030
966
  };
1031
967
  } | {
1032
968
  type: "vibes.diy.res-error";
1033
969
  error: {
1034
970
  message: string;
1035
- code: "auto-enhance-off";
971
+ code: "max-app-slugs-reached";
1036
972
  };
1037
973
  } | {
1038
974
  type: "vibes-diy.cli.res-edit";
@@ -1061,15 +997,31 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
1061
997
  unpublishedAt?: string | undefined;
1062
998
  }[];
1063
999
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1064
- type: "vibes-diy.cli.whoami";
1000
+ type: "vibes-diy.cli.doctor";
1065
1001
  apiUrl: string;
1066
1002
  }, {
1067
- type: "vibes-diy.cli.res-whoami";
1068
- authenticated: boolean;
1069
- userId?: string | undefined;
1070
- defaultHandle?: string | undefined;
1071
- handles: string[];
1072
- detail?: string | undefined;
1003
+ type: "vibes-diy.cli.res-doctor";
1004
+ cliVersion: string;
1005
+ node: string;
1006
+ keybagPath: string;
1007
+ keybagInstance?: string | undefined;
1008
+ device: string;
1009
+ deviceOk: boolean;
1010
+ fingerprint?: string | undefined;
1011
+ certExpires?: string | undefined;
1012
+ apiUrl: string;
1013
+ wsUrl: string;
1014
+ proxy: string;
1015
+ handshake: {
1016
+ ok: boolean;
1017
+ detail: string;
1018
+ ms?: number | undefined;
1019
+ };
1020
+ auth?: {
1021
+ ok: boolean;
1022
+ detail: string;
1023
+ ms?: number | undefined;
1024
+ } | undefined;
1073
1025
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1074
1026
  type: "vibes-diy.cli.pull";
1075
1027
  appSlug: string;
@@ -1633,6 +1585,25 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
1633
1585
  }, {
1634
1586
  type: "vibes-diy.cli.res-phone-link-classify";
1635
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;
1636
1607
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1637
1608
  type: "vibes-diy.cli.db.list";
1638
1609
  apiUrl: string;
@@ -1642,6 +1613,20 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
1642
1613
  }, {
1643
1614
  type: "vibes-diy.cli.db.list-res";
1644
1615
  dbNames: string[];
1616
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1617
+ type: "vibes-diy.cli.db.get";
1618
+ apiUrl: string;
1619
+ appSlug: string;
1620
+ ownerHandle: string;
1621
+ dbName: string;
1622
+ docId: string;
1623
+ admin: boolean;
1624
+ actingHandle: string;
1625
+ }, {
1626
+ type: "vibes-diy.cli.db.get-res";
1627
+ doc: {
1628
+ [x: string]: unknown;
1629
+ };
1645
1630
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1646
1631
  type: "vibes-diy.cli.db.put";
1647
1632
  apiUrl: string;
@@ -1663,29 +1648,44 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
1663
1648
  uploadId: string;
1664
1649
  }[] | undefined;
1665
1650
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1666
- type: "vibes-diy.cli.db.query";
1651
+ type: "vibes-diy.cli.db.del";
1667
1652
  apiUrl: string;
1668
1653
  appSlug: string;
1669
1654
  ownerHandle: string;
1670
1655
  dbName: string;
1671
- field: string;
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.query-res";
1681
- docs: {
1682
- [x: string]: unknown;
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;