vibes-diy 14.3.404 → 14.3.406

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,6 +2,308 @@ 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: "vibes-diy.cli.variety";
6
+ }, {
7
+ type: "vibes-diy.cli.res-variety-list";
8
+ grammar: string;
9
+ flourishCount: number;
10
+ archetypes: {
11
+ id: string;
12
+ guidance: string;
13
+ }[];
14
+ flourishes: {
15
+ id: string;
16
+ guidance: string;
17
+ }[];
18
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
19
+ type: "vibes-diy.cli.put-asset";
20
+ file: string;
21
+ appSlug: string;
22
+ ownerHandle: string;
23
+ apiUrl: string;
24
+ mimeType: string;
25
+ verifyFetch: boolean;
26
+ }, {
27
+ type: "vibes-diy.cli.res-put-asset";
28
+ cid: string;
29
+ getURL: string;
30
+ size: number;
31
+ uploadId: string;
32
+ verified?: boolean | undefined;
33
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
34
+ type: "vibes-diy.cli.generate";
35
+ prompt: string;
36
+ appSlug: string;
37
+ ownerHandle: string;
38
+ instantJoin?: boolean | undefined;
39
+ noAccessFn?: boolean | undefined;
40
+ privateMode?: boolean | undefined;
41
+ verbose: boolean;
42
+ apiUrl: string;
43
+ focusPath?: string | undefined;
44
+ model?: string | undefined;
45
+ builderModel?: string | undefined;
46
+ apiKey?: string | undefined;
47
+ variety?: string | undefined;
48
+ record?: string | undefined;
49
+ style?: string | undefined;
50
+ fastPass?: boolean | undefined;
51
+ }, {
52
+ appSlug: string;
53
+ ownerHandle: string;
54
+ mode: "dev" | "production";
55
+ fsId: string;
56
+ type: "vibes.diy.res-ensure-app-slug";
57
+ env: Record<string, string>;
58
+ fileSystem: {
59
+ fileName: string;
60
+ mimeType: string;
61
+ assetId: string;
62
+ assetURI: string;
63
+ transform?: {
64
+ type: "jsx-to-js";
65
+ transformedAssetId: string;
66
+ } | {
67
+ type: "imports";
68
+ importMapAssetId: string;
69
+ } | {
70
+ type: "import-map";
71
+ fromAssetIds: string[];
72
+ } | {
73
+ type: "transformed";
74
+ action: "jsx-to-js";
75
+ transformedAssetId: string;
76
+ } | {
77
+ type: "tailwind-css";
78
+ } | undefined;
79
+ entryPoint?: boolean | undefined;
80
+ size: number;
81
+ kind?: "asset" | undefined;
82
+ uploadId?: string | undefined;
83
+ }[];
84
+ autoEnhanceOff?: true | undefined;
85
+ appCreated?: true | undefined;
86
+ } | {
87
+ type: "vibes.diy.res-error";
88
+ error: {
89
+ message: string;
90
+ code: "require-login";
91
+ };
92
+ } | {
93
+ type: "vibes.diy.res-error";
94
+ error: {
95
+ message: string;
96
+ code: "user-slug-invalid";
97
+ };
98
+ } | {
99
+ type: "vibes.diy.res-error";
100
+ error: {
101
+ message: string;
102
+ code: "app-slug-invalid";
103
+ };
104
+ } | {
105
+ type: "vibes.diy.res-error";
106
+ error: {
107
+ message: string;
108
+ code: "max-app-slugs-reached";
109
+ };
110
+ } | {
111
+ type: "vibes.diy.res-error";
112
+ error: {
113
+ message: string;
114
+ code: "handle-required";
115
+ };
116
+ } | {
117
+ type: "vibes.diy.res-error";
118
+ error: {
119
+ message: string;
120
+ code: "from-not-owned";
121
+ };
122
+ } | {
123
+ type: "vibes.diy.res-error";
124
+ error: {
125
+ message: string;
126
+ code: "from-carry-failed";
127
+ };
128
+ } | {
129
+ type: "vibes.diy.res-error";
130
+ error: {
131
+ message: string;
132
+ code: "auto-enhance-off";
133
+ };
134
+ } | {
135
+ type: "vibes-diy.cli.res-generate";
136
+ appSlug: string;
137
+ ownerHandle: string;
138
+ url: string;
139
+ directory: string;
140
+ release?: "not-visible" | "published" | "version-locked" | undefined;
141
+ turns?: number | undefined;
142
+ publish?: "kept-private-no-access-fn" | "private" | "published" | undefined;
143
+ posture?: "gated" | "open" | "private" | undefined;
144
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
145
+ type: "vibes-diy.cli.db.query";
146
+ apiUrl: string;
147
+ appSlug: string;
148
+ ownerHandle: string;
149
+ dbName: string;
150
+ field: string;
151
+ key: string;
152
+ prefix: string;
153
+ range: string;
154
+ limit: number;
155
+ descending: boolean;
156
+ admin: boolean;
157
+ actingHandle: string;
158
+ }, {
159
+ type: "vibes-diy.cli.db.query-res";
160
+ docs: {
161
+ [x: string]: unknown;
162
+ }[];
163
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
164
+ type: "vibes-diy.cli.whoami";
165
+ apiUrl: string;
166
+ }, {
167
+ type: "vibes-diy.cli.res-whoami";
168
+ authenticated: boolean;
169
+ userId?: string | undefined;
170
+ defaultHandle?: string | undefined;
171
+ handles: string[];
172
+ detail?: string | undefined;
173
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
174
+ type: "vibes-diy.cli.app-status";
175
+ appSlug: string;
176
+ ownerHandle: string;
177
+ apiUrl: string;
178
+ }, {
179
+ type: "vibes-diy.cli.res-app-status";
180
+ appSlug: string;
181
+ ownerHandle: string;
182
+ state: "dead" | "healthy" | "overdue" | "running" | "unscheduled";
183
+ intervalMs: number | null;
184
+ armedAt: string | null;
185
+ lastAttemptAt: string | null;
186
+ lastRunAt: string | null;
187
+ lastErrorAt: string | null;
188
+ lastError: string | null;
189
+ attempt: number;
190
+ nextAlarmAt: string | null;
191
+ graceMs: number;
192
+ overdueMs: number;
193
+ healed: boolean;
194
+ releaseIntervalMs: number | null;
195
+ pausedIntervalMs: number | null;
196
+ stoppedIntervalMs: number | null;
197
+ stoppedAt: string | null;
198
+ settingsUrl: string;
199
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
200
+ type: "vibes-diy.cli.app-chips";
201
+ appSlug: string;
202
+ ownerHandle: string;
203
+ apiUrl: string;
204
+ chips: (string | {
205
+ label: string;
206
+ gold?: boolean | undefined;
207
+ kind?: "access" | "connect" | "edit" | "pay" | "publish" | "seed" | undefined;
208
+ })[];
209
+ fsId: string;
210
+ }, {
211
+ type: "vibes-diy.cli.res-app-chips";
212
+ appSlug: string;
213
+ ownerHandle: string;
214
+ fsId: string;
215
+ releaseSeq: number;
216
+ chips: string[];
217
+ chipItems?: {
218
+ label: string;
219
+ gold?: boolean | undefined;
220
+ kind?: "access" | "connect" | "edit" | "pay" | "publish" | "seed" | undefined;
221
+ }[] | undefined;
222
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
223
+ type: "vibes-diy.cli.app-anon-write";
224
+ appSlug: string;
225
+ ownerHandle: string;
226
+ apiUrl: string;
227
+ set: "" | "off" | "on";
228
+ }, {
229
+ type: "vibes-diy.cli.res-app-anon-write";
230
+ ownerHandle: string;
231
+ appSlug: string;
232
+ wrote: boolean;
233
+ posture: string;
234
+ anonWrite: "explicit" | "legacy" | "off";
235
+ wildcardWrite: string[];
236
+ restrictedDbs: {
237
+ dbName: string;
238
+ provenance: "platform-default" | "your-pin";
239
+ write: string[];
240
+ }[];
241
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
242
+ type: "vibes-diy.cli.set-unpublish";
243
+ appSlug: string;
244
+ ownerHandle: string;
245
+ unpublish: boolean;
246
+ apiUrl: string;
247
+ }, {
248
+ type: "vibes-diy.cli.res-set-unpublish";
249
+ appSlug: string;
250
+ ownerHandle: string;
251
+ unpublishedAt: string;
252
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
253
+ type: "vibes-diy.cli.publish";
254
+ appSlug: string;
255
+ ownerHandle: string;
256
+ fsId?: string | undefined;
257
+ apiUrl: string;
258
+ }, {
259
+ type: "vibes-diy.cli.res-publish";
260
+ appSlug: string;
261
+ ownerHandle: string;
262
+ fsId: string;
263
+ releaseSeq: number;
264
+ released: boolean;
265
+ restored: boolean;
266
+ autoEnhanceOff?: boolean | undefined;
267
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
268
+ type: "vibes-diy.cli.members";
269
+ apiUrl: string;
270
+ appSlug: string;
271
+ ownerHandle: string;
272
+ op: "add" | "ls" | "rm";
273
+ target?: string | undefined;
274
+ role?: string | undefined;
275
+ }, {
276
+ type: "vibes-diy.cli.members-res";
277
+ op: "add" | "ls" | "rm";
278
+ ownerHandle: string;
279
+ appSlug: string;
280
+ items: {
281
+ who: string;
282
+ kind: "email" | "handle";
283
+ role: string;
284
+ state: "accepted" | "approved" | "pending" | "requested" | "revoked";
285
+ updated: string;
286
+ }[];
287
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
288
+ type: "vibes-diy.cli.moderation";
289
+ apiUrl: string;
290
+ op: "list-flags" | "list-reports" | "resolve-report" | "set-publishing-paused" | "status" | "suspend" | "triage-flag" | "unsuspend";
291
+ reason: string;
292
+ reportId: string;
293
+ userId: string;
294
+ handle: string;
295
+ paused?: boolean | undefined;
296
+ status: string;
297
+ limit: string;
298
+ flagId?: string | undefined;
299
+ triage?: string | undefined;
300
+ summary?: boolean | undefined;
301
+ since?: string | undefined;
302
+ }, {
303
+ type: "vibes-diy.cli.res-moderation";
304
+ op: string;
305
+ result: unknown;
306
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
5
307
  type: "vibes-diy.cli.user-settings";
6
308
  apiUrl: string;
7
309
  setDefaultHandle?: string | undefined;
@@ -9,6 +311,53 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
9
311
  type: "vibes.diy.res-ensure-user-settings";
10
312
  userId: string;
11
313
  settings: ({
314
+ type: "notifications";
315
+ buildComplete?: boolean | undefined;
316
+ buildFailed?: boolean | undefined;
317
+ vibePublished?: boolean | undefined;
318
+ commentPosted?: boolean | undefined;
319
+ requestApproved?: boolean | undefined;
320
+ requestRevoked?: boolean | undefined;
321
+ vibeRemixed?: boolean | undefined;
322
+ dmReceived?: boolean | undefined;
323
+ memberJoined?: boolean | undefined;
324
+ accessRequested?: boolean | undefined;
325
+ emailDigest?: boolean | undefined;
326
+ retentionEmail?: boolean | undefined;
327
+ followRequest?: boolean | undefined;
328
+ followerAdded?: boolean | undefined;
329
+ followApproved?: boolean | undefined;
330
+ appMessage?: boolean | undefined;
331
+ connectionExpiring?: boolean | undefined;
332
+ assetBlocked?: boolean | undefined;
333
+ assetCheckFailed?: boolean | undefined;
334
+ checkoutUnfinished?: boolean | undefined;
335
+ safetyAlert?: boolean | undefined;
336
+ reminder?: boolean | undefined;
337
+ emailInstant?: boolean | undefined;
338
+ mutes?: {
339
+ vibes?: string[] | undefined;
340
+ handles?: string[] | undefined;
341
+ } | undefined;
342
+ vibeTypes?: {
343
+ vibe: string;
344
+ buildComplete?: boolean | undefined;
345
+ buildFailed?: boolean | undefined;
346
+ vibePublished?: boolean | undefined;
347
+ commentPosted?: boolean | undefined;
348
+ requestApproved?: boolean | undefined;
349
+ requestRevoked?: boolean | undefined;
350
+ vibeRemixed?: boolean | undefined;
351
+ memberJoined?: boolean | undefined;
352
+ accessRequested?: boolean | undefined;
353
+ appMessage?: boolean | undefined;
354
+ assetBlocked?: boolean | undefined;
355
+ assetCheckFailed?: boolean | undefined;
356
+ }[] | undefined;
357
+ agent?: {
358
+ hiddenVibes?: string[] | undefined;
359
+ } | undefined;
360
+ } | {
12
361
  type: "sharing";
13
362
  grants: {
14
363
  grant: "allow" | "deny";
@@ -119,60 +468,13 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
119
468
  apiKey?: string | undefined;
120
469
  } | undefined;
121
470
  } | {
122
- type: "defaultHandle";
123
- ownerHandle: string;
124
- } | {
125
- type: "profile";
126
- avatarCid?: string | undefined;
127
- displayName?: string | undefined;
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;
471
+ type: "defaultHandle";
472
+ ownerHandle: string;
473
+ } | {
474
+ type: "profile";
475
+ avatarCid?: string | undefined;
476
+ displayName?: string | undefined;
477
+ codeMode?: boolean | undefined;
176
478
  } | {
177
479
  type: "egressStatus";
178
480
  status: "blessed" | "blocked";
@@ -238,6 +540,7 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
238
540
  claimId?: string | undefined;
239
541
  asker?: boolean | undefined;
240
542
  guestAskerUserId?: string | undefined;
543
+ guest?: true | undefined;
241
544
  } | {
242
545
  type: "groupSponsor";
243
546
  sponsorUserId: string;
@@ -274,255 +577,36 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
274
577
  type: "creditMilestones";
275
578
  cycle: string;
276
579
  thresholds: number[];
277
- updatedAt: string;
278
- claimId?: string | undefined;
279
- } | {
280
- type: "planAck";
281
- entries: {
282
- key: string;
283
- state: "pending" | "sent";
284
- at: string;
285
- claimId: string;
286
- }[];
287
- updatedAt: string;
288
- } | {
289
- type: "guestFirstTouch";
290
- landingPath?: string | undefined;
291
- referrerHost?: string | undefined;
292
- utm?: {
293
- source?: string | undefined;
294
- medium?: string | undefined;
295
- campaign?: string | undefined;
296
- content?: string | undefined;
297
- term?: string | undefined;
298
- } | undefined;
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: "use-vibes.cli.themes";
309
- }, {
310
- type: "use-vibes.cli.res-themes-list";
311
- themes: {
312
- slug: string;
313
- name: string;
314
- }[];
315
- } | {
316
- type: "use-vibes.cli.res-theme-content";
317
- slug: string;
318
- content: string;
319
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
320
- type: "vibes-diy.cli.db.get";
321
- apiUrl: string;
322
- appSlug: string;
323
- ownerHandle: string;
324
- dbName: string;
325
- docId: string;
326
- admin: boolean;
327
- actingHandle: string;
328
- }, {
329
- type: "vibes-diy.cli.db.get-res";
330
- doc: {
331
- [x: string]: unknown;
332
- };
333
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
334
- type: "vibes-diy.cli.db.del";
335
- apiUrl: string;
336
- appSlug: string;
337
- ownerHandle: string;
338
- dbName: string;
339
- docId: string;
340
- admin: boolean;
341
- actingHandle: string;
342
- }, {
343
- type: "vibes-diy.cli.db.del-res";
344
- id: string;
345
- ok: true;
346
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
347
- type: "vibes-diy.cli.db.seed";
348
- action: "add" | "remove";
349
- apiUrl: string;
350
- appSlug: string;
351
- ownerHandle: string;
352
- }, {
353
- type: "vibes-diy.cli.db.seed-res";
354
- action: "add" | "remove";
355
- appSlug: string;
356
- ownerHandle: string;
357
- seedFile: "absent" | "invalid" | "present" | "unknown";
358
- changed: number;
359
- skipped: number;
360
- failed: number;
361
- perDb: {
362
- dbName: string;
363
- changed: number;
364
- skipped: number;
365
- failed: number;
366
- }[];
367
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
368
- type: "vibes-diy.cli.doctor";
369
- apiUrl: string;
370
- }, {
371
- type: "vibes-diy.cli.res-doctor";
372
- cliVersion: string;
373
- node: string;
374
- keybagPath: string;
375
- keybagInstance?: string | undefined;
376
- device: string;
377
- deviceOk: boolean;
378
- fingerprint?: string | undefined;
379
- certExpires?: string | undefined;
380
- apiUrl: string;
381
- wsUrl: string;
382
- proxy: string;
383
- handshake: {
384
- ok: boolean;
385
- detail: string;
386
- ms?: number | undefined;
387
- };
388
- auth?: {
389
- ok: boolean;
390
- detail: string;
391
- ms?: number | undefined;
392
- } | undefined;
393
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
394
- type: "vibes-diy.cli.app-status";
395
- appSlug: string;
396
- ownerHandle: string;
397
- apiUrl: string;
398
- }, {
399
- type: "vibes-diy.cli.res-app-status";
400
- appSlug: string;
401
- ownerHandle: string;
402
- state: "dead" | "healthy" | "overdue" | "running" | "unscheduled";
403
- intervalMs: number | null;
404
- armedAt: string | null;
405
- lastAttemptAt: string | null;
406
- lastRunAt: string | null;
407
- lastErrorAt: string | null;
408
- lastError: string | null;
409
- attempt: number;
410
- nextAlarmAt: string | null;
411
- graceMs: number;
412
- overdueMs: number;
413
- healed: boolean;
414
- releaseIntervalMs: number | null;
415
- pausedIntervalMs: number | null;
416
- stoppedIntervalMs: number | null;
417
- stoppedAt: string | null;
418
- settingsUrl: string;
419
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
420
- type: "vibes-diy.cli.app-chips";
421
- appSlug: string;
422
- ownerHandle: string;
423
- apiUrl: string;
424
- chips: (string | {
425
- label: string;
426
- gold?: boolean | undefined;
427
- kind?: "access" | "connect" | "edit" | "pay" | "publish" | "seed" | undefined;
428
- })[];
429
- fsId: string;
430
- }, {
431
- type: "vibes-diy.cli.res-app-chips";
432
- appSlug: string;
433
- ownerHandle: string;
434
- fsId: string;
435
- releaseSeq: number;
436
- chips: string[];
437
- chipItems?: {
438
- label: string;
439
- gold?: boolean | undefined;
440
- kind?: "access" | "connect" | "edit" | "pay" | "publish" | "seed" | undefined;
441
- }[] | undefined;
442
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
443
- type: "vibes-diy.cli.app-anon-write";
444
- appSlug: string;
445
- ownerHandle: string;
446
- apiUrl: string;
447
- set: "" | "off" | "on";
448
- }, {
449
- type: "vibes-diy.cli.res-app-anon-write";
450
- ownerHandle: string;
451
- appSlug: string;
452
- wrote: boolean;
453
- posture: string;
454
- anonWrite: "explicit" | "legacy" | "off";
455
- wildcardWrite: string[];
456
- restrictedDbs: {
457
- dbName: string;
458
- provenance: "platform-default" | "your-pin";
459
- write: string[];
460
- }[];
461
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
462
- type: "vibes-diy.cli.set-unpublish";
463
- appSlug: string;
464
- ownerHandle: string;
465
- unpublish: boolean;
466
- apiUrl: string;
467
- }, {
468
- type: "vibes-diy.cli.res-set-unpublish";
469
- appSlug: string;
470
- ownerHandle: string;
471
- unpublishedAt: string;
472
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
473
- type: "vibes-diy.cli.publish";
474
- appSlug: string;
475
- ownerHandle: string;
476
- fsId?: string | undefined;
477
- apiUrl: string;
478
- }, {
479
- type: "vibes-diy.cli.res-publish";
480
- appSlug: string;
481
- ownerHandle: string;
482
- fsId: string;
483
- releaseSeq: number;
484
- released: boolean;
485
- restored: boolean;
486
- autoEnhanceOff?: boolean | undefined;
487
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
488
- type: "vibes-diy.cli.members";
489
- apiUrl: string;
490
- appSlug: string;
491
- ownerHandle: string;
492
- op: "add" | "ls" | "rm";
493
- target?: string | undefined;
494
- role?: string | undefined;
495
- }, {
496
- type: "vibes-diy.cli.members-res";
497
- op: "add" | "ls" | "rm";
498
- ownerHandle: string;
499
- appSlug: string;
500
- items: {
501
- who: string;
502
- kind: "email" | "handle";
503
- role: string;
504
- state: "accepted" | "approved" | "pending" | "requested" | "revoked";
505
- updated: string;
506
- }[];
507
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
508
- type: "vibes-diy.cli.moderation";
509
- apiUrl: string;
510
- op: "list-flags" | "list-reports" | "resolve-report" | "set-publishing-paused" | "status" | "suspend" | "triage-flag" | "unsuspend";
511
- reason: string;
512
- reportId: string;
513
- userId: string;
514
- handle: string;
515
- paused?: boolean | undefined;
516
- status: string;
517
- limit: string;
518
- flagId?: string | undefined;
519
- triage?: string | undefined;
520
- summary?: boolean | undefined;
521
- since?: string | undefined;
522
- }, {
523
- type: "vibes-diy.cli.res-moderation";
524
- op: string;
525
- result: unknown;
580
+ updatedAt: string;
581
+ claimId?: string | undefined;
582
+ } | {
583
+ type: "planAck";
584
+ entries: {
585
+ key: string;
586
+ state: "pending" | "sent";
587
+ at: string;
588
+ claimId: string;
589
+ }[];
590
+ updatedAt: string;
591
+ } | {
592
+ type: "guestFirstTouch";
593
+ landingPath?: string | undefined;
594
+ referrerHost?: string | undefined;
595
+ utm?: {
596
+ source?: string | undefined;
597
+ medium?: string | undefined;
598
+ campaign?: string | undefined;
599
+ content?: string | undefined;
600
+ term?: string | undefined;
601
+ } | undefined;
602
+ clickIds?: ("fbclid" | "gclid" | "msclkid" | "ttclid")[] | undefined;
603
+ capturedAt: string;
604
+ } | {
605
+ type: "defaultHandle";
606
+ ownerHandle: string;
607
+ })[];
608
+ updated: string;
609
+ created: string;
526
610
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
527
611
  type: "vibes-diy.cli.skills";
528
612
  }, {
@@ -536,19 +620,17 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
536
620
  name: string;
537
621
  content: string;
538
622
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
539
- type: "vibes-diy.cli.variety";
623
+ type: "use-vibes.cli.themes";
540
624
  }, {
541
- type: "vibes-diy.cli.res-variety-list";
542
- grammar: string;
543
- flourishCount: number;
544
- archetypes: {
545
- id: string;
546
- guidance: string;
547
- }[];
548
- flourishes: {
549
- id: string;
550
- guidance: string;
625
+ type: "use-vibes.cli.res-themes-list";
626
+ themes: {
627
+ slug: string;
628
+ name: string;
551
629
  }[];
630
+ } | {
631
+ type: "use-vibes.cli.res-theme-content";
632
+ slug: string;
633
+ content: string;
552
634
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
553
635
  type: "vibes-diy.cli.system";
554
636
  }, {
@@ -736,132 +818,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
736
818
  model: string;
737
819
  };
738
820
  };
739
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
740
- type: "vibes-diy.cli.put-asset";
741
- file: string;
742
- appSlug: string;
743
- ownerHandle: string;
744
- apiUrl: string;
745
- mimeType: string;
746
- verifyFetch: boolean;
747
- }, {
748
- type: "vibes-diy.cli.res-put-asset";
749
- cid: string;
750
- getURL: string;
751
- size: number;
752
- uploadId: string;
753
- verified?: boolean | undefined;
754
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
755
- type: "vibes-diy.cli.generate";
756
- prompt: string;
757
- appSlug: string;
758
- ownerHandle: string;
759
- instantJoin?: boolean | undefined;
760
- noAccessFn?: boolean | undefined;
761
- privateMode?: boolean | undefined;
762
- verbose: boolean;
763
- apiUrl: string;
764
- focusPath?: string | undefined;
765
- model?: string | undefined;
766
- builderModel?: string | undefined;
767
- apiKey?: string | undefined;
768
- variety?: string | undefined;
769
- record?: string | undefined;
770
- style?: string | undefined;
771
- fastPass?: boolean | undefined;
772
- }, {
773
- appSlug: string;
774
- ownerHandle: string;
775
- mode: "dev" | "production";
776
- fsId: string;
777
- type: "vibes.diy.res-ensure-app-slug";
778
- env: Record<string, string>;
779
- fileSystem: {
780
- fileName: string;
781
- mimeType: string;
782
- assetId: string;
783
- assetURI: string;
784
- transform?: {
785
- type: "jsx-to-js";
786
- transformedAssetId: string;
787
- } | {
788
- type: "imports";
789
- importMapAssetId: string;
790
- } | {
791
- type: "import-map";
792
- fromAssetIds: string[];
793
- } | {
794
- type: "transformed";
795
- action: "jsx-to-js";
796
- transformedAssetId: string;
797
- } | {
798
- type: "tailwind-css";
799
- } | undefined;
800
- entryPoint?: boolean | undefined;
801
- size: number;
802
- kind?: "asset" | undefined;
803
- uploadId?: string | undefined;
804
- }[];
805
- autoEnhanceOff?: true | undefined;
806
- appCreated?: true | undefined;
807
- } | {
808
- type: "vibes.diy.res-error";
809
- error: {
810
- message: string;
811
- code: "require-login";
812
- };
813
- } | {
814
- type: "vibes.diy.res-error";
815
- error: {
816
- message: string;
817
- code: "user-slug-invalid";
818
- };
819
- } | {
820
- type: "vibes.diy.res-error";
821
- error: {
822
- message: string;
823
- code: "app-slug-invalid";
824
- };
825
- } | {
826
- type: "vibes.diy.res-error";
827
- error: {
828
- message: string;
829
- code: "max-app-slugs-reached";
830
- };
831
- } | {
832
- type: "vibes.diy.res-error";
833
- error: {
834
- message: string;
835
- code: "handle-required";
836
- };
837
- } | {
838
- type: "vibes.diy.res-error";
839
- error: {
840
- message: string;
841
- code: "from-not-owned";
842
- };
843
- } | {
844
- type: "vibes.diy.res-error";
845
- error: {
846
- message: string;
847
- code: "from-carry-failed";
848
- };
849
- } | {
850
- type: "vibes.diy.res-error";
851
- error: {
852
- message: string;
853
- code: "auto-enhance-off";
854
- };
855
- } | {
856
- type: "vibes-diy.cli.res-generate";
857
- appSlug: string;
858
- ownerHandle: string;
859
- url: string;
860
- directory: string;
861
- release?: "not-visible" | "published" | "version-locked" | undefined;
862
- turns?: number | undefined;
863
- publish?: "kept-private-no-access-fn" | "private" | "published" | undefined;
864
- posture?: "gated" | "open" | "private" | undefined;
865
821
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
866
822
  type: "vibes-diy.cli.app-chats";
867
823
  appSlug: string;
@@ -1042,15 +998,31 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
1042
998
  unpublishedAt?: string | undefined;
1043
999
  }[];
1044
1000
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1045
- type: "vibes-diy.cli.whoami";
1001
+ type: "vibes-diy.cli.doctor";
1046
1002
  apiUrl: string;
1047
1003
  }, {
1048
- type: "vibes-diy.cli.res-whoami";
1049
- authenticated: boolean;
1050
- userId?: string | undefined;
1051
- defaultHandle?: string | undefined;
1052
- handles: string[];
1053
- detail?: string | undefined;
1004
+ type: "vibes-diy.cli.res-doctor";
1005
+ cliVersion: string;
1006
+ node: string;
1007
+ keybagPath: string;
1008
+ keybagInstance?: string | undefined;
1009
+ device: string;
1010
+ deviceOk: boolean;
1011
+ fingerprint?: string | undefined;
1012
+ certExpires?: string | undefined;
1013
+ apiUrl: string;
1014
+ wsUrl: string;
1015
+ proxy: string;
1016
+ handshake: {
1017
+ ok: boolean;
1018
+ detail: string;
1019
+ ms?: number | undefined;
1020
+ };
1021
+ auth?: {
1022
+ ok: boolean;
1023
+ detail: string;
1024
+ ms?: number | undefined;
1025
+ } | undefined;
1054
1026
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1055
1027
  type: "vibes-diy.cli.pull";
1056
1028
  appSlug: string;
@@ -1642,6 +1614,20 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
1642
1614
  }, {
1643
1615
  type: "vibes-diy.cli.db.list-res";
1644
1616
  dbNames: string[];
1617
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1618
+ type: "vibes-diy.cli.db.get";
1619
+ apiUrl: string;
1620
+ appSlug: string;
1621
+ ownerHandle: string;
1622
+ dbName: string;
1623
+ docId: string;
1624
+ admin: boolean;
1625
+ actingHandle: string;
1626
+ }, {
1627
+ type: "vibes-diy.cli.db.get-res";
1628
+ doc: {
1629
+ [x: string]: unknown;
1630
+ };
1645
1631
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1646
1632
  type: "vibes-diy.cli.db.put";
1647
1633
  apiUrl: string;
@@ -1663,29 +1649,44 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
1663
1649
  uploadId: string;
1664
1650
  }[] | undefined;
1665
1651
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1666
- type: "vibes-diy.cli.db.query";
1652
+ type: "vibes-diy.cli.db.del";
1667
1653
  apiUrl: string;
1668
1654
  appSlug: string;
1669
1655
  ownerHandle: string;
1670
1656
  dbName: string;
1671
- field: string;
1672
- key: string;
1673
- prefix: string;
1674
- range: string;
1675
- limit: number;
1676
- descending: boolean;
1657
+ docId: string;
1677
1658
  admin: boolean;
1678
1659
  actingHandle: string;
1679
1660
  }, {
1680
- type: "vibes-diy.cli.db.query-res";
1681
- docs: {
1682
- [x: string]: unknown;
1683
- }[];
1661
+ type: "vibes-diy.cli.db.del-res";
1662
+ id: string;
1663
+ ok: true;
1684
1664
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1685
1665
  type: "vibes-diy.cli.db.subscribe";
1686
1666
  apiUrl: string;
1687
1667
  appSlug: string;
1688
1668
  ownerHandle: string;
1689
1669
  dbName: string;
1690
- }, never>)[];
1670
+ }, never> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1671
+ type: "vibes-diy.cli.db.seed";
1672
+ action: "add" | "remove";
1673
+ apiUrl: string;
1674
+ appSlug: string;
1675
+ ownerHandle: string;
1676
+ }, {
1677
+ type: "vibes-diy.cli.db.seed-res";
1678
+ action: "add" | "remove";
1679
+ appSlug: string;
1680
+ ownerHandle: string;
1681
+ seedFile: "absent" | "invalid" | "present" | "unknown";
1682
+ changed: number;
1683
+ skipped: number;
1684
+ failed: number;
1685
+ perDb: {
1686
+ dbName: string;
1687
+ changed: number;
1688
+ skipped: number;
1689
+ failed: number;
1690
+ }[];
1691
+ }>)[];
1691
1692
  export declare function cmdTsEvento(): import("@adviser/cement").Evento;