vibes-diy 14.3.337 → 14.3.339

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,323 @@ 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.variety";
25
+ }, {
26
+ type: "vibes-diy.cli.res-variety-list";
27
+ grammar: string;
28
+ flourishCount: number;
29
+ archetypes: {
30
+ id: string;
31
+ guidance: string;
32
+ }[];
33
+ flourishes: {
34
+ id: string;
35
+ guidance: string;
36
+ }[];
37
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
38
+ type: "vibes-diy.cli.put-asset";
39
+ file: string;
40
+ appSlug: string;
41
+ ownerHandle: string;
42
+ apiUrl: string;
43
+ mimeType: string;
44
+ verifyFetch: boolean;
45
+ }, {
46
+ type: "vibes-diy.cli.res-put-asset";
47
+ cid: string;
48
+ getURL: string;
49
+ size: number;
50
+ uploadId: string;
51
+ verified?: boolean | undefined;
52
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
53
+ type: "vibes-diy.cli.generate";
54
+ prompt: string;
55
+ appSlug: string;
56
+ ownerHandle: string;
57
+ instantJoin?: boolean | undefined;
58
+ noAccessFn?: boolean | undefined;
59
+ privateMode?: boolean | undefined;
60
+ verbose: boolean;
61
+ apiUrl: string;
62
+ focusPath?: string | undefined;
63
+ model?: string | undefined;
64
+ builderModel?: string | undefined;
65
+ apiKey?: string | undefined;
66
+ variety?: string | undefined;
67
+ record?: string | undefined;
68
+ style?: string | undefined;
69
+ fastPass?: boolean | undefined;
70
+ }, {
71
+ appSlug: string;
72
+ ownerHandle: string;
73
+ mode: "dev" | "production";
74
+ fsId: string;
75
+ type: "vibes.diy.res-ensure-app-slug";
76
+ env: Record<string, string>;
77
+ fileSystem: {
78
+ fileName: string;
79
+ mimeType: string;
80
+ assetId: string;
81
+ assetURI: string;
82
+ transform?: {
83
+ type: "jsx-to-js";
84
+ transformedAssetId: string;
85
+ } | {
86
+ type: "imports";
87
+ importMapAssetId: string;
88
+ } | {
89
+ type: "import-map";
90
+ fromAssetIds: string[];
91
+ } | {
92
+ type: "transformed";
93
+ action: "jsx-to-js";
94
+ transformedAssetId: string;
95
+ } | {
96
+ type: "tailwind-css";
97
+ } | undefined;
98
+ entryPoint?: boolean | undefined;
99
+ size: number;
100
+ kind?: "asset" | undefined;
101
+ uploadId?: string | undefined;
102
+ }[];
103
+ autoEnhanceOff?: true | undefined;
104
+ appCreated?: true | undefined;
105
+ } | {
106
+ type: "vibes.diy.res-error";
107
+ error: {
108
+ message: string;
109
+ code: "require-login";
110
+ };
111
+ } | {
112
+ type: "vibes.diy.res-error";
113
+ error: {
114
+ message: string;
115
+ code: "user-slug-invalid";
116
+ };
117
+ } | {
118
+ type: "vibes.diy.res-error";
119
+ error: {
120
+ message: string;
121
+ code: "app-slug-invalid";
122
+ };
123
+ } | {
124
+ type: "vibes.diy.res-error";
125
+ error: {
126
+ message: string;
127
+ code: "max-app-slugs-reached";
128
+ };
129
+ } | {
130
+ type: "vibes.diy.res-error";
131
+ error: {
132
+ message: string;
133
+ code: "handle-required";
134
+ };
135
+ } | {
136
+ type: "vibes.diy.res-error";
137
+ error: {
138
+ message: string;
139
+ code: "from-not-owned";
140
+ };
141
+ } | {
142
+ type: "vibes.diy.res-error";
143
+ error: {
144
+ message: string;
145
+ code: "from-carry-failed";
146
+ };
147
+ } | {
148
+ type: "vibes.diy.res-error";
149
+ error: {
150
+ message: string;
151
+ code: "auto-enhance-off";
152
+ };
153
+ } | {
154
+ type: "vibes-diy.cli.res-generate";
155
+ appSlug: string;
156
+ ownerHandle: string;
157
+ url: string;
158
+ directory: string;
159
+ release?: "not-visible" | "published" | "version-locked" | undefined;
160
+ turns?: number | undefined;
161
+ publish?: "kept-private-no-access-fn" | "private" | "published" | undefined;
162
+ posture?: "gated" | "open" | "private" | undefined;
163
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
164
+ type: "vibes-diy.cli.db.query";
165
+ apiUrl: string;
166
+ appSlug: string;
167
+ ownerHandle: string;
168
+ dbName: string;
169
+ field: string;
170
+ key: string;
171
+ prefix: string;
172
+ range: string;
173
+ limit: number;
174
+ descending: boolean;
175
+ admin: boolean;
176
+ actingHandle: string;
177
+ }, {
178
+ type: "vibes-diy.cli.db.query-res";
179
+ docs: {
180
+ [x: string]: unknown;
181
+ }[];
182
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
183
+ type: "vibes-diy.cli.whoami";
184
+ apiUrl: string;
185
+ }, {
186
+ type: "vibes-diy.cli.res-whoami";
187
+ authenticated: boolean;
188
+ userId?: string | undefined;
189
+ defaultHandle?: string | undefined;
190
+ handles: string[];
191
+ detail?: string | undefined;
192
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
193
+ type: "vibes-diy.cli.app-status";
194
+ appSlug: string;
195
+ ownerHandle: string;
196
+ apiUrl: string;
197
+ }, {
198
+ type: "vibes-diy.cli.res-app-status";
199
+ appSlug: string;
200
+ ownerHandle: string;
201
+ state: "dead" | "healthy" | "overdue" | "running" | "unscheduled";
202
+ intervalMs: number | null;
203
+ armedAt: string | null;
204
+ lastAttemptAt: string | null;
205
+ lastRunAt: string | null;
206
+ lastErrorAt: string | null;
207
+ lastError: string | null;
208
+ attempt: number;
209
+ nextAlarmAt: string | null;
210
+ graceMs: number;
211
+ overdueMs: number;
212
+ healed: boolean;
213
+ releaseIntervalMs: number | null;
214
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
215
+ type: "vibes-diy.cli.app-chips";
216
+ appSlug: string;
217
+ ownerHandle: string;
218
+ apiUrl: string;
219
+ chips: (string | {
220
+ label: string;
221
+ gold?: boolean | undefined;
222
+ kind?: "access" | "connect" | "edit" | "pay" | "publish" | "seed" | undefined;
223
+ })[];
224
+ fsId: string;
225
+ }, {
226
+ type: "vibes-diy.cli.res-app-chips";
227
+ appSlug: string;
228
+ ownerHandle: string;
229
+ fsId: string;
230
+ releaseSeq: number;
231
+ chips: string[];
232
+ chipItems?: {
233
+ label: string;
234
+ gold?: boolean | undefined;
235
+ kind?: "access" | "connect" | "edit" | "pay" | "publish" | "seed" | undefined;
236
+ }[] | undefined;
237
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
238
+ type: "vibes-diy.cli.app-anon-write";
239
+ appSlug: string;
240
+ ownerHandle: string;
241
+ apiUrl: string;
242
+ set: "" | "off" | "on";
243
+ }, {
244
+ type: "vibes-diy.cli.res-app-anon-write";
245
+ ownerHandle: string;
246
+ appSlug: string;
247
+ wrote: boolean;
248
+ posture: string;
249
+ anonWrite: "explicit" | "legacy" | "off";
250
+ wildcardWrite: string[];
251
+ restrictedDbs: {
252
+ dbName: string;
253
+ provenance: "platform-default" | "your-pin";
254
+ write: string[];
255
+ }[];
256
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
257
+ type: "vibes-diy.cli.set-unpublish";
258
+ appSlug: string;
259
+ ownerHandle: string;
260
+ unpublish: boolean;
261
+ apiUrl: string;
262
+ }, {
263
+ type: "vibes-diy.cli.res-set-unpublish";
264
+ appSlug: string;
265
+ ownerHandle: string;
266
+ unpublishedAt: string;
267
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
268
+ type: "vibes-diy.cli.publish";
269
+ appSlug: string;
270
+ ownerHandle: string;
271
+ fsId?: string | undefined;
272
+ apiUrl: string;
273
+ }, {
274
+ type: "vibes-diy.cli.res-publish";
275
+ appSlug: string;
276
+ ownerHandle: string;
277
+ fsId: string;
278
+ releaseSeq: number;
279
+ released: boolean;
280
+ restored: boolean;
281
+ autoEnhanceOff?: boolean | undefined;
282
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
283
+ type: "vibes-diy.cli.members";
284
+ apiUrl: string;
285
+ appSlug: string;
286
+ ownerHandle: string;
287
+ op: "add" | "ls" | "rm";
288
+ target?: string | undefined;
289
+ role?: string | undefined;
290
+ }, {
291
+ type: "vibes-diy.cli.members-res";
292
+ op: "add" | "ls" | "rm";
293
+ ownerHandle: string;
294
+ appSlug: string;
295
+ items: {
296
+ who: string;
297
+ kind: "email" | "handle";
298
+ role: string;
299
+ state: "accepted" | "approved" | "pending" | "requested" | "revoked";
300
+ updated: string;
301
+ }[];
302
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
303
+ type: "vibes-diy.cli.moderation";
304
+ apiUrl: string;
305
+ op: "list-flags" | "list-reports" | "resolve-report" | "set-publishing-paused" | "status" | "suspend" | "triage-flag" | "unsuspend";
306
+ reason: string;
307
+ reportId: string;
308
+ userId: string;
309
+ handle: string;
310
+ paused?: boolean | undefined;
311
+ status: string;
312
+ limit: string;
313
+ flagId?: string | undefined;
314
+ triage?: string | undefined;
315
+ summary?: boolean | undefined;
316
+ since?: string | undefined;
317
+ }, {
318
+ type: "vibes-diy.cli.res-moderation";
319
+ op: string;
320
+ result: unknown;
321
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
5
322
  type: "vibes-diy.cli.user-settings";
6
323
  apiUrl: string;
7
324
  setDefaultHandle?: string | undefined;
@@ -149,6 +466,7 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
149
466
  assetCheckFailed?: boolean | undefined;
150
467
  checkoutUnfinished?: boolean | undefined;
151
468
  safetyAlert?: boolean | undefined;
469
+ reminder?: boolean | undefined;
152
470
  emailInstant?: boolean | undefined;
153
471
  mutes?: {
154
472
  vibes?: string[] | undefined;
@@ -182,6 +500,9 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
182
500
  email: string;
183
501
  updatedAt: string;
184
502
  verified?: boolean | undefined;
503
+ } | {
504
+ type: "onboarding";
505
+ completedAt: string;
185
506
  } | {
186
507
  type: "geoCountry";
187
508
  country: string;
@@ -192,9 +513,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
192
513
  [x: string]: string;
193
514
  };
194
515
  updatedAt: string;
195
- } | {
196
- type: "onboarding";
197
- completedAt: string;
198
516
  } | {
199
517
  type: "kyc";
200
518
  cardAt?: string | undefined;
@@ -225,335 +543,82 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
225
543
  apps: {
226
544
  ownerHandle: string;
227
545
  appSlug: string;
228
- openers: string[];
229
- updatedAt: string;
230
- }[];
231
- updatedAt: string;
232
- claimId?: string | undefined;
233
- } | {
234
- type: "groupPayer";
235
- payerUserId: string;
236
- updatedAt: string;
237
- claimId?: string | undefined;
238
- asker?: boolean | undefined;
239
- } | {
240
- type: "groupSponsor";
241
- sponsorUserId: string;
242
- updatedAt: string;
243
- claimId?: string | undefined;
244
- } | {
245
- type: "groupChats";
246
- chats: {
247
- groupUserId: string;
248
- members: string[];
249
- lastAt: string;
250
- }[];
251
- updatedAt: string;
252
- claimId?: string | undefined;
253
- } | {
254
- type: "groupRoster";
255
- userIds: string[];
256
- updatedAt: string;
257
- claimId?: string | undefined;
258
- } | {
259
- type: "termsAck";
260
- version: string;
261
- at: string;
262
- } | {
263
- type: "appHistoryHidden";
264
- apps: {
265
- ownerHandle: string;
266
- appSlug: string;
267
- hiddenAt: string;
546
+ openers: string[];
547
+ updatedAt: string;
268
548
  }[];
269
- clearedAt?: string | undefined;
270
549
  updatedAt: string;
550
+ claimId?: string | undefined;
271
551
  } | {
272
- type: "creditMilestones";
273
- cycle: string;
274
- thresholds: number[];
552
+ type: "groupPayer";
553
+ payerUserId: string;
275
554
  updatedAt: string;
276
555
  claimId?: string | undefined;
556
+ asker?: boolean | undefined;
277
557
  } | {
278
- type: "defaultHandle";
279
- ownerHandle: string;
280
- })[];
281
- updated: string;
282
- created: string;
283
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
284
- type: "vibes-diy.cli.skills";
285
- }, {
286
- type: "vibes-diy.cli.res-skills-list";
287
- skills: {
288
- name: string;
289
- description: string;
290
- }[];
291
- } | {
292
- type: "vibes-diy.cli.res-skill-content";
293
- name: string;
294
- content: string;
295
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
296
- type: "vibes-diy.cli.claim-handle";
297
- apiUrl: string;
298
- ownerHandle?: string | undefined;
299
- noDefault?: boolean | undefined;
300
- }, {
301
- type: "vibes-diy.cli.res-claim-handle";
302
- op: "claim" | "suggest";
303
- ownerHandle?: string | undefined;
304
- defaultHandleSet?: boolean | undefined;
305
- defaultSkipped?: boolean | undefined;
306
- suggestions: string[];
307
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
308
- type: "vibes-diy.cli.image";
309
- apiUrl: string;
310
- prompt: string;
311
- ownerHandle: string;
312
- photo: string;
313
- vibe: string;
314
- db: string;
315
- doc: string;
316
- out: string;
317
- json: boolean;
318
- }, {
319
- type: "vibes-diy.cli.res-image";
320
- path: string;
321
- receipt: {
322
- ok: true;
323
- picture: {
324
- url: string;
325
- mimeType: string;
326
- name: string;
327
- size: number;
328
- ownerHandle: string;
329
- appSlug: string;
330
- dbName: string;
331
- docId: string;
332
- };
333
- link?: string | undefined;
334
- made: {
335
- prompt: string;
336
- model: string;
337
- };
338
- };
339
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
340
- type: "vibes-diy.cli.db.list";
341
- apiUrl: string;
342
- appSlug: string;
343
- ownerHandle: string;
344
- admin: boolean;
345
- }, {
346
- type: "vibes-diy.cli.db.list-res";
347
- dbNames: string[];
348
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
349
- type: "vibes-diy.cli.db.put";
350
- apiUrl: string;
351
- appSlug: string;
352
- ownerHandle: string;
353
- dbName: string;
354
- docJson: string;
355
- docId: string;
356
- admin: boolean;
357
- actingHandle: string;
358
- files?: string[] | undefined;
359
- }, {
360
- type: "vibes-diy.cli.db.put-res";
361
- id: string;
362
- ok: true;
363
- files?: {
364
- key: string;
365
- status: "unchanged" | "uploaded";
366
- uploadId: string;
367
- }[] | undefined;
368
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
369
- type: "vibes-diy.cli.db.seed";
370
- action: "add" | "remove";
371
- apiUrl: string;
372
- appSlug: string;
373
- ownerHandle: string;
374
- }, {
375
- type: "vibes-diy.cli.db.seed-res";
376
- action: "add" | "remove";
377
- appSlug: string;
378
- ownerHandle: string;
379
- seedFile: "absent" | "invalid" | "present" | "unknown";
380
- changed: number;
381
- skipped: number;
382
- failed: number;
383
- perDb: {
384
- dbName: string;
385
- changed: number;
386
- skipped: number;
387
- failed: number;
388
- }[];
389
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
390
- type: "vibes-diy.cli.app-chats";
391
- appSlug: string;
392
- ownerHandle: string;
393
- chatId?: string | undefined;
394
- apiUrl: string;
395
- }, {
396
- type: "vibes-diy.cli.res-app-chats-list";
397
- items: {
398
- chatId: string;
399
- appSlug: string;
400
- ownerHandle: string;
401
- created: string;
402
- userHandle?: string | undefined;
403
- }[];
404
- } | {
405
- type: "vibes-diy.cli.res-app-chats-detail";
406
- chatId: string;
407
- ownerHandle?: string | undefined;
408
- appSlug?: string | undefined;
409
- output: string;
410
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
411
- type: "vibes-diy.cli.list";
412
- apiUrl: string;
413
- }, {
414
- type: "vibes-diy.cli.res-list";
415
- items: {
416
- ownerHandle: string;
417
- appSlug: string;
418
- updated: string;
419
- title?: string | undefined;
420
- icon?: {
421
- cid: string;
422
- mime: string;
423
- } | undefined;
424
- pinnedAt?: string | undefined;
425
- neverPublished?: boolean | undefined;
426
- unpublishedAt?: string | undefined;
427
- }[];
428
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
429
- type: "vibes-diy.cli.app-status";
430
- appSlug: string;
431
- ownerHandle: string;
432
- apiUrl: string;
433
- }, {
434
- type: "vibes-diy.cli.res-app-status";
435
- appSlug: string;
436
- ownerHandle: string;
437
- state: "dead" | "healthy" | "overdue" | "running" | "unscheduled";
438
- intervalMs: number | null;
439
- armedAt: string | null;
440
- lastAttemptAt: string | null;
441
- lastRunAt: string | null;
442
- lastErrorAt: string | null;
443
- lastError: string | null;
444
- attempt: number;
445
- nextAlarmAt: string | null;
446
- graceMs: number;
447
- overdueMs: number;
448
- healed: boolean;
449
- releaseIntervalMs: number | null;
450
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
451
- type: "vibes-diy.cli.app-chips";
452
- appSlug: string;
453
- ownerHandle: string;
454
- apiUrl: string;
455
- chips: (string | {
456
- label: string;
457
- gold?: boolean | undefined;
458
- kind?: "access" | "connect" | "edit" | "pay" | "publish" | "seed" | undefined;
459
- })[];
460
- fsId: string;
461
- }, {
462
- type: "vibes-diy.cli.res-app-chips";
463
- appSlug: string;
464
- ownerHandle: string;
465
- fsId: string;
466
- releaseSeq: number;
467
- chips: string[];
468
- chipItems?: {
469
- label: string;
470
- gold?: boolean | undefined;
471
- kind?: "access" | "connect" | "edit" | "pay" | "publish" | "seed" | undefined;
472
- }[] | undefined;
473
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
474
- type: "vibes-diy.cli.app-anon-write";
475
- appSlug: string;
476
- ownerHandle: string;
477
- apiUrl: string;
478
- set: "" | "off" | "on";
479
- }, {
480
- type: "vibes-diy.cli.res-app-anon-write";
481
- ownerHandle: string;
482
- appSlug: string;
483
- wrote: boolean;
484
- posture: string;
485
- anonWrite: "explicit" | "legacy" | "off";
486
- wildcardWrite: string[];
487
- restrictedDbs: {
488
- dbName: string;
489
- provenance: "platform-default" | "your-pin";
490
- write: string[];
491
- }[];
492
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
493
- type: "vibes-diy.cli.set-unpublish";
494
- appSlug: string;
495
- ownerHandle: string;
496
- unpublish: boolean;
497
- apiUrl: string;
498
- }, {
499
- type: "vibes-diy.cli.res-set-unpublish";
500
- appSlug: string;
501
- ownerHandle: string;
502
- unpublishedAt: string;
503
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
504
- type: "vibes-diy.cli.publish";
505
- appSlug: string;
506
- ownerHandle: string;
507
- fsId?: string | undefined;
508
- apiUrl: string;
509
- }, {
510
- type: "vibes-diy.cli.res-publish";
511
- appSlug: string;
512
- ownerHandle: string;
513
- fsId: string;
514
- releaseSeq: number;
515
- released: boolean;
516
- restored: boolean;
517
- autoEnhanceOff?: boolean | undefined;
558
+ type: "groupSponsor";
559
+ sponsorUserId: string;
560
+ updatedAt: string;
561
+ claimId?: string | undefined;
562
+ } | {
563
+ type: "groupChats";
564
+ chats: {
565
+ groupUserId: string;
566
+ members: string[];
567
+ lastAt: string;
568
+ }[];
569
+ updatedAt: string;
570
+ claimId?: string | undefined;
571
+ } | {
572
+ type: "groupRoster";
573
+ userIds: string[];
574
+ updatedAt: string;
575
+ claimId?: string | undefined;
576
+ } | {
577
+ type: "termsAck";
578
+ version: string;
579
+ at: string;
580
+ } | {
581
+ type: "appHistoryHidden";
582
+ apps: {
583
+ ownerHandle: string;
584
+ appSlug: string;
585
+ hiddenAt: string;
586
+ }[];
587
+ clearedAt?: string | undefined;
588
+ updatedAt: string;
589
+ } | {
590
+ type: "creditMilestones";
591
+ cycle: string;
592
+ thresholds: number[];
593
+ updatedAt: string;
594
+ claimId?: string | undefined;
595
+ } | {
596
+ type: "planAck";
597
+ entries: {
598
+ key: string;
599
+ state: "pending" | "sent";
600
+ at: string;
601
+ claimId: string;
602
+ }[];
603
+ updatedAt: string;
604
+ } | {
605
+ type: "defaultHandle";
606
+ ownerHandle: string;
607
+ })[];
608
+ updated: string;
609
+ created: string;
518
610
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
519
- type: "vibes-diy.cli.members";
520
- apiUrl: string;
521
- appSlug: string;
522
- ownerHandle: string;
523
- op: "add" | "ls" | "rm";
524
- target?: string | undefined;
525
- role?: string | undefined;
611
+ type: "vibes-diy.cli.skills";
526
612
  }, {
527
- type: "vibes-diy.cli.members-res";
528
- op: "add" | "ls" | "rm";
529
- ownerHandle: string;
530
- appSlug: string;
531
- items: {
532
- who: string;
533
- kind: "email" | "handle";
534
- role: string;
535
- state: "accepted" | "approved" | "pending" | "requested" | "revoked";
536
- updated: string;
613
+ type: "vibes-diy.cli.res-skills-list";
614
+ skills: {
615
+ name: string;
616
+ description: string;
537
617
  }[];
538
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
539
- type: "vibes-diy.cli.moderation";
540
- apiUrl: string;
541
- op: "list-flags" | "list-reports" | "resolve-report" | "set-publishing-paused" | "status" | "suspend" | "triage-flag" | "unsuspend";
542
- reason: string;
543
- reportId: string;
544
- userId: string;
545
- handle: string;
546
- paused?: boolean | undefined;
547
- status: string;
548
- limit: string;
549
- flagId?: string | undefined;
550
- triage?: string | undefined;
551
- summary?: boolean | undefined;
552
- since?: string | undefined;
553
- }, {
554
- type: "vibes-diy.cli.res-moderation";
555
- op: string;
556
- result: unknown;
618
+ } | {
619
+ type: "vibes-diy.cli.res-skill-content";
620
+ name: string;
621
+ content: string;
557
622
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
558
623
  type: "use-vibes.cli.themes";
559
624
  }, {
@@ -567,194 +632,26 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
567
632
  slug: string;
568
633
  content: string;
569
634
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
570
- type: "vibes-diy.cli.variety";
571
- }, {
572
- type: "vibes-diy.cli.res-variety-list";
573
- grammar: string;
574
- flourishCount: number;
575
- archetypes: {
576
- id: string;
577
- guidance: string;
578
- }[];
579
- flourishes: {
580
- id: string;
581
- guidance: string;
582
- }[];
583
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
584
- type: "vibes-diy.cli.system";
585
- }, {
586
- type: "vibes-diy.cli.res-system";
587
- systemPrompt: string;
588
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
589
- type: "vibes-diy.cli.push";
590
- mode: string;
591
- appSlug: string;
592
- ownerHandle: string;
593
- access?: string | undefined;
594
- privateMode?: boolean | undefined;
595
- noAccessFn?: boolean | undefined;
596
- message?: string | undefined;
597
- from?: {
598
- ownerHandle: string;
599
- appSlug: string;
600
- } | undefined;
601
- apiKey?: string | undefined;
602
- apiUrl: string;
603
- idleTimeoutMs?: number | undefined;
604
- }, {
605
- appSlug: string;
606
- ownerHandle: string;
607
- mode: "dev" | "production";
608
- fsId: string;
609
- type: "vibes.diy.res-ensure-app-slug";
610
- env: Record<string, string>;
611
- fileSystem: {
612
- fileName: string;
613
- mimeType: string;
614
- assetId: string;
615
- assetURI: string;
616
- transform?: {
617
- type: "jsx-to-js";
618
- transformedAssetId: string;
619
- } | {
620
- type: "imports";
621
- importMapAssetId: string;
622
- } | {
623
- type: "import-map";
624
- fromAssetIds: string[];
625
- } | {
626
- type: "transformed";
627
- action: "jsx-to-js";
628
- transformedAssetId: string;
629
- } | {
630
- type: "tailwind-css";
631
- } | undefined;
632
- entryPoint?: boolean | undefined;
633
- size: number;
634
- kind?: "asset" | undefined;
635
- uploadId?: string | undefined;
636
- }[];
637
- autoEnhanceOff?: true | undefined;
638
- appCreated?: true | undefined;
639
- } | {
640
- type: "vibes.diy.res-error";
641
- error: {
642
- message: string;
643
- code: "require-login";
644
- };
645
- } | {
646
- type: "vibes.diy.res-error";
647
- error: {
648
- message: string;
649
- code: "user-slug-invalid";
650
- };
651
- } | {
652
- type: "vibes.diy.res-error";
653
- error: {
654
- message: string;
655
- code: "app-slug-invalid";
656
- };
657
- } | {
658
- type: "vibes.diy.res-error";
659
- error: {
660
- message: string;
661
- code: "from-not-owned";
662
- };
663
- } | {
664
- type: "vibes.diy.res-error";
665
- error: {
666
- message: string;
667
- code: "from-carry-failed";
668
- };
669
- } | {
670
- type: "vibes.diy.res-error";
671
- error: {
672
- message: string;
673
- code: "auto-enhance-off";
674
- };
675
- } | {
676
- type: "vibes.diy.res-error";
677
- error: {
678
- message: string;
679
- code: "handle-required";
680
- };
681
- } | {
682
- type: "vibes.diy.res-error";
683
- error: {
684
- message: string;
685
- code: "max-app-slugs-reached";
686
- };
687
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
688
- type: "vibes-diy.cli.remix";
689
- srcUserSlug: string;
690
- srcAppSlug: string;
691
- dstOwnerHandle?: string | undefined;
692
- dstAppSlug?: string | undefined;
693
- published: boolean;
694
- settingsOnly: boolean;
695
- apiUrl: string;
696
- }, {
697
- type: "vibes-diy.cli.res-remix";
698
- ownerHandle: string;
699
- appSlug: string;
700
- url: string;
701
- carried?: string[] | undefined;
702
- skippedPresent?: string[] | undefined;
703
- chatId?: string | undefined;
704
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
705
- type: "vibes-diy.cli.agent";
706
- apiUrl: string;
707
- prompt: string;
708
- ownerHandle: string;
709
- followMs: number;
710
- json: boolean;
711
- chatId?: string | undefined;
712
- newChat?: boolean | undefined;
713
- images?: string[] | undefined;
714
- byText?: boolean | undefined;
715
- }, {
716
- type: "vibes-diy.cli.res-agent";
717
- ownerHandle: string;
718
- chatId: string;
719
- messages: string[];
720
- shorts?: string[] | undefined;
721
- links: string[];
722
- idle: boolean;
723
- reactions?: string[] | undefined;
724
- error?: string | undefined;
725
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
726
- type: "vibes-diy.cli.put-asset";
727
- file: string;
728
- appSlug: string;
729
- ownerHandle: string;
730
- apiUrl: string;
731
- mimeType: string;
732
- verifyFetch: boolean;
733
- }, {
734
- type: "vibes-diy.cli.res-put-asset";
735
- cid: string;
736
- getURL: string;
737
- size: number;
738
- uploadId: string;
739
- verified?: boolean | undefined;
635
+ type: "vibes-diy.cli.system";
636
+ }, {
637
+ type: "vibes-diy.cli.res-system";
638
+ systemPrompt: string;
740
639
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
741
- type: "vibes-diy.cli.generate";
742
- prompt: string;
640
+ type: "vibes-diy.cli.push";
641
+ mode: string;
743
642
  appSlug: string;
744
643
  ownerHandle: string;
745
- instantJoin?: boolean | undefined;
746
- noAccessFn?: boolean | undefined;
644
+ access?: string | undefined;
747
645
  privateMode?: boolean | undefined;
748
- verbose: boolean;
749
- apiUrl: string;
750
- focusPath?: string | undefined;
751
- model?: string | undefined;
752
- builderModel?: string | undefined;
646
+ noAccessFn?: boolean | undefined;
647
+ message?: string | undefined;
648
+ from?: {
649
+ ownerHandle: string;
650
+ appSlug: string;
651
+ } | undefined;
753
652
  apiKey?: string | undefined;
754
- variety?: string | undefined;
755
- record?: string | undefined;
756
- style?: string | undefined;
757
- fastPass?: boolean | undefined;
653
+ apiUrl: string;
654
+ idleTimeoutMs?: number | undefined;
758
655
  }, {
759
656
  appSlug: string;
760
657
  ownerHandle: string;
@@ -812,42 +709,135 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
812
709
  type: "vibes.diy.res-error";
813
710
  error: {
814
711
  message: string;
815
- code: "from-not-owned";
712
+ code: "max-app-slugs-reached";
816
713
  };
817
714
  } | {
818
715
  type: "vibes.diy.res-error";
819
716
  error: {
820
717
  message: string;
821
- code: "from-carry-failed";
718
+ code: "handle-required";
822
719
  };
823
720
  } | {
824
721
  type: "vibes.diy.res-error";
825
722
  error: {
826
723
  message: string;
827
- code: "auto-enhance-off";
724
+ code: "from-not-owned";
828
725
  };
829
726
  } | {
830
727
  type: "vibes.diy.res-error";
831
728
  error: {
832
729
  message: string;
833
- code: "handle-required";
730
+ code: "from-carry-failed";
834
731
  };
835
732
  } | {
836
733
  type: "vibes.diy.res-error";
837
734
  error: {
838
735
  message: string;
839
- code: "max-app-slugs-reached";
736
+ code: "auto-enhance-off";
840
737
  };
841
- } | {
842
- type: "vibes-diy.cli.res-generate";
843
- appSlug: string;
738
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
739
+ type: "vibes-diy.cli.remix";
740
+ srcUserSlug: string;
741
+ srcAppSlug: string;
742
+ dstOwnerHandle?: string | undefined;
743
+ dstAppSlug?: string | undefined;
744
+ published: boolean;
745
+ settingsOnly: boolean;
746
+ apiUrl: string;
747
+ }, {
748
+ type: "vibes-diy.cli.res-remix";
844
749
  ownerHandle: string;
750
+ appSlug: string;
845
751
  url: string;
846
- directory: string;
847
- release?: "not-visible" | "published" | "version-locked" | undefined;
848
- turns?: number | undefined;
849
- publish?: "kept-private-no-access-fn" | "private" | "published" | undefined;
850
- posture?: "gated" | "open" | "private" | undefined;
752
+ carried?: string[] | undefined;
753
+ skippedPresent?: string[] | undefined;
754
+ chatId?: string | undefined;
755
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
756
+ type: "vibes-diy.cli.claim-handle";
757
+ apiUrl: string;
758
+ ownerHandle?: string | undefined;
759
+ noDefault?: boolean | undefined;
760
+ }, {
761
+ type: "vibes-diy.cli.res-claim-handle";
762
+ op: "claim" | "suggest";
763
+ ownerHandle?: string | undefined;
764
+ defaultHandleSet?: boolean | undefined;
765
+ defaultSkipped?: boolean | undefined;
766
+ suggestions: string[];
767
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
768
+ type: "vibes-diy.cli.agent";
769
+ apiUrl: string;
770
+ prompt: string;
771
+ ownerHandle: string;
772
+ followMs: number;
773
+ json: boolean;
774
+ chatId?: string | undefined;
775
+ newChat?: boolean | undefined;
776
+ images?: string[] | undefined;
777
+ byText?: boolean | undefined;
778
+ }, {
779
+ type: "vibes-diy.cli.res-agent";
780
+ ownerHandle: string;
781
+ chatId: string;
782
+ messages: string[];
783
+ shorts?: string[] | undefined;
784
+ links: string[];
785
+ idle: boolean;
786
+ reactions?: string[] | undefined;
787
+ error?: string | undefined;
788
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
789
+ type: "vibes-diy.cli.image";
790
+ apiUrl: string;
791
+ prompt: string;
792
+ ownerHandle: string;
793
+ photo: string;
794
+ vibe: string;
795
+ db: string;
796
+ doc: string;
797
+ out: string;
798
+ json: boolean;
799
+ }, {
800
+ type: "vibes-diy.cli.res-image";
801
+ path: string;
802
+ receipt: {
803
+ ok: true;
804
+ picture: {
805
+ url: string;
806
+ mimeType: string;
807
+ name: string;
808
+ size: number;
809
+ ownerHandle: string;
810
+ appSlug: string;
811
+ dbName: string;
812
+ docId: string;
813
+ };
814
+ link?: string | undefined;
815
+ made: {
816
+ prompt: string;
817
+ model: string;
818
+ };
819
+ };
820
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
821
+ type: "vibes-diy.cli.app-chats";
822
+ appSlug: string;
823
+ ownerHandle: string;
824
+ chatId?: string | undefined;
825
+ apiUrl: string;
826
+ }, {
827
+ type: "vibes-diy.cli.res-app-chats-list";
828
+ items: {
829
+ chatId: string;
830
+ appSlug: string;
831
+ ownerHandle: string;
832
+ created: string;
833
+ userHandle?: string | undefined;
834
+ }[];
835
+ } | {
836
+ type: "vibes-diy.cli.res-app-chats-detail";
837
+ chatId: string;
838
+ ownerHandle?: string | undefined;
839
+ appSlug?: string | undefined;
840
+ output: string;
851
841
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
852
842
  type: "vibes-diy.cli.codegen-log";
853
843
  appSlug: string;
@@ -954,31 +944,31 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
954
944
  type: "vibes.diy.res-error";
955
945
  error: {
956
946
  message: string;
957
- code: "from-not-owned";
947
+ code: "max-app-slugs-reached";
958
948
  };
959
949
  } | {
960
950
  type: "vibes.diy.res-error";
961
951
  error: {
962
952
  message: string;
963
- code: "from-carry-failed";
953
+ code: "handle-required";
964
954
  };
965
955
  } | {
966
956
  type: "vibes.diy.res-error";
967
957
  error: {
968
958
  message: string;
969
- code: "auto-enhance-off";
959
+ code: "from-not-owned";
970
960
  };
971
961
  } | {
972
962
  type: "vibes.diy.res-error";
973
963
  error: {
974
964
  message: string;
975
- code: "handle-required";
965
+ code: "from-carry-failed";
976
966
  };
977
967
  } | {
978
968
  type: "vibes.diy.res-error";
979
969
  error: {
980
970
  message: string;
981
- code: "max-app-slugs-reached";
971
+ code: "auto-enhance-off";
982
972
  };
983
973
  } | {
984
974
  type: "vibes-diy.cli.res-edit";
@@ -988,6 +978,24 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
988
978
  directory: string;
989
979
  restyled?: boolean | undefined;
990
980
  fsId?: string | undefined;
981
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
982
+ type: "vibes-diy.cli.list";
983
+ apiUrl: string;
984
+ }, {
985
+ type: "vibes-diy.cli.res-list";
986
+ items: {
987
+ ownerHandle: string;
988
+ appSlug: string;
989
+ updated: string;
990
+ title?: string | undefined;
991
+ icon?: {
992
+ cid: string;
993
+ mime: string;
994
+ } | undefined;
995
+ pinnedAt?: string | undefined;
996
+ neverPublished?: boolean | undefined;
997
+ unpublishedAt?: string | undefined;
998
+ }[];
991
999
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
992
1000
  type: "vibes-diy.cli.doctor";
993
1001
  apiUrl: string;
@@ -1014,16 +1022,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
1014
1022
  detail: string;
1015
1023
  ms?: number | undefined;
1016
1024
  } | undefined;
1017
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1018
- type: "vibes-diy.cli.whoami";
1019
- apiUrl: string;
1020
- }, {
1021
- type: "vibes-diy.cli.res-whoami";
1022
- authenticated: boolean;
1023
- userId?: string | undefined;
1024
- defaultHandle?: string | undefined;
1025
- handles: string[];
1026
- detail?: string | undefined;
1027
1025
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1028
1026
  type: "vibes-diy.cli.pull";
1029
1027
  appSlug: string;
@@ -1473,6 +1471,7 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
1473
1471
  replies?: true | undefined;
1474
1472
  claim?: string | undefined;
1475
1473
  } | undefined;
1474
+ expiresAt?: string | undefined;
1476
1475
  }[];
1477
1476
  more: boolean;
1478
1477
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
@@ -1558,24 +1557,14 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
1558
1557
  type: "vibes-diy.cli.res-phone-link-classify";
1559
1558
  reaction?: string | undefined;
1560
1559
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1561
- type: "core-cli.device-id-register";
1562
- commonName: string;
1563
- organization: string;
1564
- locality: string;
1565
- state: string;
1566
- country: string;
1567
- caUrl: string;
1568
- port: string;
1569
- timeout: string;
1570
- forceRenew: boolean;
1571
- cert?: string | undefined;
1572
- noBrowser?: boolean | undefined;
1573
- apiUrl?: string | undefined;
1574
- expectHandle?: string | undefined;
1575
- expectUser?: string | undefined;
1560
+ type: "vibes-diy.cli.db.list";
1561
+ apiUrl: string;
1562
+ appSlug: string;
1563
+ ownerHandle: string;
1564
+ admin: boolean;
1576
1565
  }, {
1577
- type: "core-cli.res-device-id-register";
1578
- output: string;
1566
+ type: "vibes-diy.cli.db.list-res";
1567
+ dbNames: string[];
1579
1568
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1580
1569
  type: "vibes-diy.cli.db.get";
1581
1570
  apiUrl: string;
@@ -1591,42 +1580,64 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
1591
1580
  [x: string]: unknown;
1592
1581
  };
1593
1582
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1594
- type: "vibes-diy.cli.db.del";
1583
+ type: "vibes-diy.cli.db.put";
1595
1584
  apiUrl: string;
1596
1585
  appSlug: string;
1597
1586
  ownerHandle: string;
1598
1587
  dbName: string;
1588
+ docJson: string;
1599
1589
  docId: string;
1600
1590
  admin: boolean;
1601
1591
  actingHandle: string;
1592
+ files?: string[] | undefined;
1602
1593
  }, {
1603
- type: "vibes-diy.cli.db.del-res";
1594
+ type: "vibes-diy.cli.db.put-res";
1604
1595
  id: string;
1605
1596
  ok: true;
1597
+ files?: {
1598
+ key: string;
1599
+ status: "unchanged" | "uploaded";
1600
+ uploadId: string;
1601
+ }[] | undefined;
1606
1602
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1607
- type: "vibes-diy.cli.db.query";
1603
+ type: "vibes-diy.cli.db.del";
1608
1604
  apiUrl: string;
1609
1605
  appSlug: string;
1610
1606
  ownerHandle: string;
1611
1607
  dbName: string;
1612
- field: string;
1613
- key: string;
1614
- prefix: string;
1615
- range: string;
1616
- limit: number;
1617
- descending: boolean;
1608
+ docId: string;
1618
1609
  admin: boolean;
1619
1610
  actingHandle: string;
1620
1611
  }, {
1621
- type: "vibes-diy.cli.db.query-res";
1622
- docs: {
1623
- [x: string]: unknown;
1624
- }[];
1612
+ type: "vibes-diy.cli.db.del-res";
1613
+ id: string;
1614
+ ok: true;
1625
1615
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1626
1616
  type: "vibes-diy.cli.db.subscribe";
1627
1617
  apiUrl: string;
1628
1618
  appSlug: string;
1629
1619
  ownerHandle: string;
1630
1620
  dbName: string;
1631
- }, never>)[];
1621
+ }, never> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1622
+ type: "vibes-diy.cli.db.seed";
1623
+ action: "add" | "remove";
1624
+ apiUrl: string;
1625
+ appSlug: string;
1626
+ ownerHandle: string;
1627
+ }, {
1628
+ type: "vibes-diy.cli.db.seed-res";
1629
+ action: "add" | "remove";
1630
+ appSlug: string;
1631
+ ownerHandle: string;
1632
+ seedFile: "absent" | "invalid" | "present" | "unknown";
1633
+ changed: number;
1634
+ skipped: number;
1635
+ failed: number;
1636
+ perDb: {
1637
+ dbName: string;
1638
+ changed: number;
1639
+ skipped: number;
1640
+ failed: number;
1641
+ }[];
1642
+ }>)[];
1632
1643
  export declare function cmdTsEvento(): import("@adviser/cement").Evento;