vibes-diy 14.3.359 → 14.3.361

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,244 @@ 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>, {
5
243
  type: "vibes-diy.cli.user-settings";
6
244
  apiUrl: string;
7
245
  setDefaultHandle?: string | undefined;
@@ -9,6 +247,53 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
9
247
  type: "vibes.diy.res-ensure-user-settings";
10
248
  userId: string;
11
249
  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
+ } | {
12
297
  type: "sharing";
13
298
  grants: {
14
299
  grant: "allow" | "deny";
@@ -126,53 +411,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
126
411
  avatarCid?: string | undefined;
127
412
  displayName?: string | undefined;
128
413
  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;
176
414
  } | {
177
415
  type: "egressStatus";
178
416
  status: "blessed" | "blocked";
@@ -289,361 +527,20 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
289
527
  landingPath?: string | undefined;
290
528
  referrerHost?: string | undefined;
291
529
  utm?: {
292
- source?: string | undefined;
293
- medium?: string | undefined;
294
- campaign?: string | undefined;
295
- content?: string | undefined;
296
- term?: string | undefined;
297
- } | undefined;
298
- clickIds?: ("fbclid" | "gclid" | "msclkid" | "ttclid")[] | undefined;
299
- capturedAt: string;
300
- } | {
301
- type: "defaultHandle";
302
- ownerHandle: string;
303
- })[];
304
- updated: string;
305
- created: string;
306
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
307
- type: "vibes-diy.cli.system";
308
- }, {
309
- type: "vibes-diy.cli.res-system";
310
- systemPrompt: string;
311
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
312
- type: "vibes-diy.cli.remix";
313
- srcUserSlug: string;
314
- srcAppSlug: string;
315
- dstOwnerHandle?: string | undefined;
316
- dstAppSlug?: string | undefined;
317
- published: boolean;
318
- settingsOnly: boolean;
319
- apiUrl: string;
320
- }, {
321
- type: "vibes-diy.cli.res-remix";
322
- ownerHandle: string;
323
- appSlug: string;
324
- url: string;
325
- carried?: string[] | undefined;
326
- skippedPresent?: string[] | undefined;
327
- chatId?: string | undefined;
328
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
329
- type: "vibes-diy.cli.agent";
330
- apiUrl: string;
331
- prompt: string;
332
- ownerHandle: string;
333
- followMs: number;
334
- json: boolean;
335
- chatId?: string | undefined;
336
- newChat?: boolean | undefined;
337
- images?: string[] | undefined;
338
- byText?: boolean | undefined;
339
- }, {
340
- type: "vibes-diy.cli.res-agent";
341
- ownerHandle: string;
342
- chatId: string;
343
- messages: string[];
344
- shorts?: string[] | undefined;
345
- links: string[];
346
- idle: boolean;
347
- reactions?: string[] | undefined;
348
- error?: string | undefined;
349
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
350
- type: "vibes-diy.cli.pull";
351
- appSlug: string;
352
- ownerHandle: string;
353
- dir: string;
354
- apiUrl: string;
355
- fsId?: string | undefined;
356
- published: boolean;
357
- draft: boolean;
358
- version?: string | undefined;
359
- }, {
360
- type: "vibes-diy.cli.res-pull";
361
- appSlug: string;
362
- ownerHandle: string;
363
- directory: string;
364
- files: {
365
- name: string;
366
- size: number;
367
- }[];
368
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
369
- type: "vibes-diy.cli.db.subscribe";
370
- apiUrl: string;
371
- appSlug: string;
372
- ownerHandle: string;
373
- dbName: string;
374
- }, never> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
375
- type: "vibes-diy.cli.codegen-log";
376
- appSlug: string;
377
- ownerHandle: string;
378
- chatId?: string | undefined;
379
- apiUrl: string;
380
- response?: boolean | undefined;
381
- raw?: boolean | undefined;
382
- files?: boolean | undefined;
383
- jsonl?: boolean | undefined;
384
- user?: boolean | undefined;
385
- promptId?: string | undefined;
386
- }, {
387
- type: "vibes-diy.cli.res-codegen-log-response";
388
- output: string;
389
- } | {
390
- type: "vibes-diy.cli.res-codegen-log-list";
391
- items: {
392
- chatId: string;
393
- appSlug: string;
394
- ownerHandle: string;
395
- created: string;
396
- }[];
397
- } | {
398
- type: "vibes-diy.cli.res-codegen-log-detail";
399
- chatId: string;
400
- ownerHandle: string;
401
- appSlug: string;
402
- prompts: {
403
- prompt: string;
404
- fsId: string;
405
- created: string;
406
- }[];
407
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
408
- type: "vibes-diy.cli.edit";
409
- appSlug: string;
410
- prompt: string;
411
- ownerHandle: string;
412
- instantJoin?: boolean | undefined;
413
- verbose: boolean;
414
- dir: string;
415
- apiUrl: string;
416
- dryRun: boolean;
417
- transcript: boolean;
418
- directBuild?: boolean | undefined;
419
- focusPath?: string | undefined;
420
- model?: string | undefined;
421
- builderModel?: string | undefined;
422
- apiKey?: string | undefined;
423
- }, {
424
- appSlug: string;
425
- ownerHandle: string;
426
- mode: "dev" | "production";
427
- fsId: string;
428
- type: "vibes.diy.res-ensure-app-slug";
429
- env: Record<string, string>;
430
- fileSystem: {
431
- fileName: string;
432
- mimeType: string;
433
- assetId: string;
434
- assetURI: string;
435
- transform?: {
436
- type: "jsx-to-js";
437
- transformedAssetId: string;
438
- } | {
439
- type: "imports";
440
- importMapAssetId: string;
441
- } | {
442
- type: "import-map";
443
- fromAssetIds: string[];
444
- } | {
445
- type: "transformed";
446
- action: "jsx-to-js";
447
- transformedAssetId: string;
448
- } | {
449
- type: "tailwind-css";
530
+ source?: string | undefined;
531
+ medium?: string | undefined;
532
+ campaign?: string | undefined;
533
+ content?: string | undefined;
534
+ term?: string | undefined;
450
535
  } | undefined;
451
- entryPoint?: boolean | undefined;
452
- size: number;
453
- kind?: "asset" | undefined;
454
- uploadId?: string | undefined;
455
- }[];
456
- autoEnhanceOff?: true | undefined;
457
- appCreated?: true | undefined;
458
- } | {
459
- type: "vibes.diy.res-error";
460
- error: {
461
- message: string;
462
- code: "require-login";
463
- };
464
- } | {
465
- type: "vibes.diy.res-error";
466
- error: {
467
- message: string;
468
- code: "user-slug-invalid";
469
- };
470
- } | {
471
- type: "vibes.diy.res-error";
472
- error: {
473
- message: string;
474
- code: "app-slug-invalid";
475
- };
476
- } | {
477
- type: "vibes.diy.res-error";
478
- error: {
479
- message: string;
480
- code: "max-app-slugs-reached";
481
- };
482
- } | {
483
- type: "vibes.diy.res-error";
484
- error: {
485
- message: string;
486
- code: "handle-required";
487
- };
488
- } | {
489
- type: "vibes.diy.res-error";
490
- error: {
491
- message: string;
492
- code: "from-not-owned";
493
- };
494
- } | {
495
- type: "vibes.diy.res-error";
496
- error: {
497
- message: string;
498
- code: "from-carry-failed";
499
- };
500
- } | {
501
- type: "vibes.diy.res-error";
502
- error: {
503
- message: string;
504
- code: "auto-enhance-off";
505
- };
506
- } | {
507
- type: "vibes-diy.cli.res-edit";
508
- appSlug: string;
509
- ownerHandle: string;
510
- url: string;
511
- directory: string;
512
- restyled?: boolean | undefined;
513
- fsId?: string | undefined;
514
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
515
- type: "vibes-diy.cli.app-status";
516
- appSlug: string;
517
- ownerHandle: string;
518
- apiUrl: string;
519
- }, {
520
- type: "vibes-diy.cli.res-app-status";
521
- appSlug: string;
522
- ownerHandle: string;
523
- state: "dead" | "healthy" | "overdue" | "running" | "unscheduled";
524
- intervalMs: number | null;
525
- armedAt: string | null;
526
- lastAttemptAt: string | null;
527
- lastRunAt: string | null;
528
- lastErrorAt: string | null;
529
- lastError: string | null;
530
- attempt: number;
531
- nextAlarmAt: string | null;
532
- graceMs: number;
533
- overdueMs: number;
534
- healed: boolean;
535
- releaseIntervalMs: number | null;
536
- pausedIntervalMs: number | null;
537
- stoppedIntervalMs: number | null;
538
- stoppedAt: string | null;
539
- settingsUrl: string;
540
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
541
- type: "vibes-diy.cli.app-chips";
542
- appSlug: string;
543
- ownerHandle: string;
544
- apiUrl: string;
545
- chips: (string | {
546
- label: string;
547
- gold?: boolean | undefined;
548
- kind?: "access" | "connect" | "edit" | "pay" | "publish" | "seed" | undefined;
536
+ clickIds?: ("fbclid" | "gclid" | "msclkid" | "ttclid")[] | undefined;
537
+ capturedAt: string;
538
+ } | {
539
+ type: "defaultHandle";
540
+ ownerHandle: string;
549
541
  })[];
550
- fsId: string;
551
- }, {
552
- type: "vibes-diy.cli.res-app-chips";
553
- appSlug: string;
554
- ownerHandle: string;
555
- fsId: string;
556
- releaseSeq: number;
557
- chips: string[];
558
- chipItems?: {
559
- label: string;
560
- gold?: boolean | undefined;
561
- kind?: "access" | "connect" | "edit" | "pay" | "publish" | "seed" | undefined;
562
- }[] | undefined;
563
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
564
- type: "vibes-diy.cli.app-anon-write";
565
- appSlug: string;
566
- ownerHandle: string;
567
- apiUrl: string;
568
- set: "" | "off" | "on";
569
- }, {
570
- type: "vibes-diy.cli.res-app-anon-write";
571
- ownerHandle: string;
572
- appSlug: string;
573
- wrote: boolean;
574
- posture: string;
575
- anonWrite: "explicit" | "legacy" | "off";
576
- wildcardWrite: string[];
577
- restrictedDbs: {
578
- dbName: string;
579
- provenance: "platform-default" | "your-pin";
580
- write: string[];
581
- }[];
582
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
583
- type: "vibes-diy.cli.set-unpublish";
584
- appSlug: string;
585
- ownerHandle: string;
586
- unpublish: boolean;
587
- apiUrl: string;
588
- }, {
589
- type: "vibes-diy.cli.res-set-unpublish";
590
- appSlug: string;
591
- ownerHandle: string;
592
- unpublishedAt: string;
593
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
594
- type: "vibes-diy.cli.publish";
595
- appSlug: string;
596
- ownerHandle: string;
597
- fsId?: string | undefined;
598
- apiUrl: string;
599
- }, {
600
- type: "vibes-diy.cli.res-publish";
601
- appSlug: string;
602
- ownerHandle: string;
603
- fsId: string;
604
- releaseSeq: number;
605
- released: boolean;
606
- restored: boolean;
607
- autoEnhanceOff?: boolean | undefined;
608
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
609
- type: "vibes-diy.cli.members";
610
- apiUrl: string;
611
- appSlug: string;
612
- ownerHandle: string;
613
- op: "add" | "ls" | "rm";
614
- target?: string | undefined;
615
- role?: string | undefined;
616
- }, {
617
- type: "vibes-diy.cli.members-res";
618
- op: "add" | "ls" | "rm";
619
- ownerHandle: string;
620
- appSlug: string;
621
- items: {
622
- who: string;
623
- kind: "email" | "handle";
624
- role: string;
625
- state: "accepted" | "approved" | "pending" | "requested" | "revoked";
626
- updated: string;
627
- }[];
628
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
629
- type: "vibes-diy.cli.moderation";
630
- apiUrl: string;
631
- op: "list-flags" | "list-reports" | "resolve-report" | "set-publishing-paused" | "status" | "suspend" | "triage-flag" | "unsuspend";
632
- reason: string;
633
- reportId: string;
634
- userId: string;
635
- handle: string;
636
- paused?: boolean | undefined;
637
- status: string;
638
- limit: string;
639
- flagId?: string | undefined;
640
- triage?: string | undefined;
641
- summary?: boolean | undefined;
642
- since?: string | undefined;
643
- }, {
644
- type: "vibes-diy.cli.res-moderation";
645
- op: string;
646
- result: unknown;
542
+ updated: string;
543
+ created: string;
647
544
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
648
545
  type: "vibes-diy.cli.skills";
649
546
  }, {
@@ -656,18 +553,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
656
553
  type: "vibes-diy.cli.res-skill-content";
657
554
  name: string;
658
555
  content: string;
659
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
660
- type: "use-vibes.cli.themes";
661
- }, {
662
- type: "use-vibes.cli.res-themes-list";
663
- themes: {
664
- slug: string;
665
- name: string;
666
- }[];
667
- } | {
668
- type: "use-vibes.cli.res-theme-content";
669
- slug: string;
670
- content: string;
671
556
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
672
557
  type: "vibes-diy.cli.variety";
673
558
  }, {
@@ -682,6 +567,11 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
682
567
  id: string;
683
568
  guidance: string;
684
569
  }[];
570
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
571
+ type: "vibes-diy.cli.system";
572
+ }, {
573
+ type: "vibes-diy.cli.res-system";
574
+ systemPrompt: string;
685
575
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
686
576
  type: "vibes-diy.cli.push";
687
577
  mode: string;
@@ -782,6 +672,23 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
782
672
  message: string;
783
673
  code: "auto-enhance-off";
784
674
  };
675
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
676
+ type: "vibes-diy.cli.remix";
677
+ srcUserSlug: string;
678
+ srcAppSlug: string;
679
+ dstOwnerHandle?: string | undefined;
680
+ dstAppSlug?: string | undefined;
681
+ published: boolean;
682
+ settingsOnly: boolean;
683
+ apiUrl: string;
684
+ }, {
685
+ type: "vibes-diy.cli.res-remix";
686
+ ownerHandle: string;
687
+ appSlug: string;
688
+ url: string;
689
+ carried?: string[] | undefined;
690
+ skippedPresent?: string[] | undefined;
691
+ chatId?: string | undefined;
785
692
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
786
693
  type: "vibes-diy.cli.claim-handle";
787
694
  apiUrl: string;
@@ -794,6 +701,27 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
794
701
  defaultHandleSet?: boolean | undefined;
795
702
  defaultSkipped?: boolean | undefined;
796
703
  suggestions: string[];
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;
797
725
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
798
726
  type: "vibes-diy.cli.image";
799
727
  apiUrl: string;
@@ -973,6 +901,146 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
973
901
  ownerHandle?: string | undefined;
974
902
  appSlug?: string | undefined;
975
903
  output: string;
904
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
905
+ type: "vibes-diy.cli.codegen-log";
906
+ appSlug: string;
907
+ ownerHandle: string;
908
+ chatId?: string | undefined;
909
+ apiUrl: string;
910
+ response?: boolean | undefined;
911
+ raw?: boolean | undefined;
912
+ files?: boolean | undefined;
913
+ jsonl?: boolean | undefined;
914
+ user?: boolean | undefined;
915
+ promptId?: string | undefined;
916
+ }, {
917
+ type: "vibes-diy.cli.res-codegen-log-list";
918
+ items: {
919
+ chatId: string;
920
+ appSlug: string;
921
+ ownerHandle: string;
922
+ created: string;
923
+ }[];
924
+ } | {
925
+ type: "vibes-diy.cli.res-codegen-log-detail";
926
+ chatId: string;
927
+ ownerHandle: string;
928
+ appSlug: string;
929
+ prompts: {
930
+ prompt: string;
931
+ fsId: string;
932
+ created: string;
933
+ }[];
934
+ } | {
935
+ type: "vibes-diy.cli.res-codegen-log-response";
936
+ output: string;
937
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
938
+ type: "vibes-diy.cli.edit";
939
+ appSlug: string;
940
+ prompt: string;
941
+ ownerHandle: string;
942
+ instantJoin?: boolean | undefined;
943
+ verbose: boolean;
944
+ dir: string;
945
+ apiUrl: string;
946
+ dryRun: boolean;
947
+ transcript: boolean;
948
+ directBuild?: boolean | undefined;
949
+ focusPath?: string | undefined;
950
+ model?: string | undefined;
951
+ builderModel?: string | undefined;
952
+ apiKey?: string | undefined;
953
+ }, {
954
+ appSlug: string;
955
+ ownerHandle: string;
956
+ mode: "dev" | "production";
957
+ fsId: string;
958
+ type: "vibes.diy.res-ensure-app-slug";
959
+ env: Record<string, string>;
960
+ fileSystem: {
961
+ fileName: string;
962
+ mimeType: string;
963
+ assetId: string;
964
+ assetURI: string;
965
+ transform?: {
966
+ type: "jsx-to-js";
967
+ transformedAssetId: string;
968
+ } | {
969
+ type: "imports";
970
+ importMapAssetId: string;
971
+ } | {
972
+ type: "import-map";
973
+ fromAssetIds: string[];
974
+ } | {
975
+ type: "transformed";
976
+ action: "jsx-to-js";
977
+ transformedAssetId: string;
978
+ } | {
979
+ type: "tailwind-css";
980
+ } | undefined;
981
+ entryPoint?: boolean | undefined;
982
+ size: number;
983
+ kind?: "asset" | undefined;
984
+ uploadId?: string | undefined;
985
+ }[];
986
+ autoEnhanceOff?: true | undefined;
987
+ appCreated?: true | undefined;
988
+ } | {
989
+ type: "vibes.diy.res-error";
990
+ error: {
991
+ message: string;
992
+ code: "require-login";
993
+ };
994
+ } | {
995
+ type: "vibes.diy.res-error";
996
+ error: {
997
+ message: string;
998
+ code: "user-slug-invalid";
999
+ };
1000
+ } | {
1001
+ type: "vibes.diy.res-error";
1002
+ error: {
1003
+ message: string;
1004
+ code: "app-slug-invalid";
1005
+ };
1006
+ } | {
1007
+ type: "vibes.diy.res-error";
1008
+ error: {
1009
+ message: string;
1010
+ code: "max-app-slugs-reached";
1011
+ };
1012
+ } | {
1013
+ type: "vibes.diy.res-error";
1014
+ error: {
1015
+ message: string;
1016
+ code: "handle-required";
1017
+ };
1018
+ } | {
1019
+ type: "vibes.diy.res-error";
1020
+ error: {
1021
+ message: string;
1022
+ code: "from-not-owned";
1023
+ };
1024
+ } | {
1025
+ type: "vibes.diy.res-error";
1026
+ error: {
1027
+ message: string;
1028
+ code: "from-carry-failed";
1029
+ };
1030
+ } | {
1031
+ type: "vibes.diy.res-error";
1032
+ error: {
1033
+ message: string;
1034
+ code: "auto-enhance-off";
1035
+ };
1036
+ } | {
1037
+ type: "vibes-diy.cli.res-edit";
1038
+ appSlug: string;
1039
+ ownerHandle: string;
1040
+ url: string;
1041
+ directory: string;
1042
+ restyled?: boolean | undefined;
1043
+ fsId?: string | undefined;
976
1044
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
977
1045
  type: "vibes-diy.cli.list";
978
1046
  apiUrl: string;
@@ -991,32 +1059,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
991
1059
  neverPublished?: boolean | undefined;
992
1060
  unpublishedAt?: string | undefined;
993
1061
  }[];
994
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
995
- type: "vibes-diy.cli.doctor";
996
- apiUrl: string;
997
- }, {
998
- type: "vibes-diy.cli.res-doctor";
999
- cliVersion: string;
1000
- node: string;
1001
- keybagPath: string;
1002
- keybagInstance?: string | undefined;
1003
- device: string;
1004
- deviceOk: boolean;
1005
- fingerprint?: string | undefined;
1006
- certExpires?: string | undefined;
1007
- apiUrl: string;
1008
- wsUrl: string;
1009
- proxy: string;
1010
- handshake: {
1011
- ok: boolean;
1012
- detail: string;
1013
- ms?: number | undefined;
1014
- };
1015
- auth?: {
1016
- ok: boolean;
1017
- detail: string;
1018
- ms?: number | undefined;
1019
- } | undefined;
1020
1062
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1021
1063
  type: "vibes-diy.cli.whoami";
1022
1064
  apiUrl: string;
@@ -1027,6 +1069,25 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
1027
1069
  defaultHandle?: string | undefined;
1028
1070
  handles: string[];
1029
1071
  detail?: string | undefined;
1072
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1073
+ type: "vibes-diy.cli.pull";
1074
+ appSlug: string;
1075
+ ownerHandle: string;
1076
+ dir: string;
1077
+ apiUrl: string;
1078
+ fsId?: string | undefined;
1079
+ published: boolean;
1080
+ draft: boolean;
1081
+ version?: string | undefined;
1082
+ }, {
1083
+ type: "vibes-diy.cli.res-pull";
1084
+ appSlug: string;
1085
+ ownerHandle: string;
1086
+ directory: string;
1087
+ files: {
1088
+ name: string;
1089
+ size: number;
1090
+ }[];
1030
1091
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1031
1092
  type: "vibes-diy.cli.run";
1032
1093
  apiUrl: string;
@@ -1556,25 +1617,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
1556
1617
  }, {
1557
1618
  type: "vibes-diy.cli.res-phone-link-classify";
1558
1619
  reaction?: string | undefined;
1559
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1560
- type: "core-cli.device-id-register";
1561
- commonName: string;
1562
- organization: string;
1563
- locality: string;
1564
- state: string;
1565
- country: string;
1566
- caUrl: string;
1567
- port: string;
1568
- timeout: string;
1569
- forceRenew: boolean;
1570
- cert?: string | undefined;
1571
- noBrowser?: boolean | undefined;
1572
- apiUrl?: string | undefined;
1573
- expectHandle?: string | undefined;
1574
- expectUser?: string | undefined;
1575
- }, {
1576
- type: "core-cli.res-device-id-register";
1577
- output: string;
1578
1620
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1579
1621
  type: "vibes-diy.cli.db.list";
1580
1622
  apiUrl: string;
@@ -1584,20 +1626,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
1584
1626
  }, {
1585
1627
  type: "vibes-diy.cli.db.list-res";
1586
1628
  dbNames: string[];
1587
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1588
- type: "vibes-diy.cli.db.get";
1589
- apiUrl: string;
1590
- appSlug: string;
1591
- ownerHandle: string;
1592
- dbName: string;
1593
- docId: string;
1594
- admin: boolean;
1595
- actingHandle: string;
1596
- }, {
1597
- type: "vibes-diy.cli.db.get-res";
1598
- doc: {
1599
- [x: string]: unknown;
1600
- };
1601
1629
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1602
1630
  type: "vibes-diy.cli.db.put";
1603
1631
  apiUrl: string;
@@ -1618,19 +1646,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
1618
1646
  status: "unchanged" | "uploaded";
1619
1647
  uploadId: string;
1620
1648
  }[] | undefined;
1621
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1622
- type: "vibes-diy.cli.db.del";
1623
- apiUrl: string;
1624
- appSlug: string;
1625
- ownerHandle: string;
1626
- dbName: string;
1627
- docId: string;
1628
- admin: boolean;
1629
- actingHandle: string;
1630
- }, {
1631
- type: "vibes-diy.cli.db.del-res";
1632
- id: string;
1633
- ok: true;
1634
1649
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1635
1650
  type: "vibes-diy.cli.db.query";
1636
1651
  apiUrl: string;
@@ -1651,25 +1666,10 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
1651
1666
  [x: string]: unknown;
1652
1667
  }[];
1653
1668
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1654
- type: "vibes-diy.cli.db.seed";
1655
- action: "add" | "remove";
1669
+ type: "vibes-diy.cli.db.subscribe";
1656
1670
  apiUrl: string;
1657
1671
  appSlug: string;
1658
1672
  ownerHandle: string;
1659
- }, {
1660
- type: "vibes-diy.cli.db.seed-res";
1661
- action: "add" | "remove";
1662
- appSlug: string;
1663
- ownerHandle: string;
1664
- seedFile: "absent" | "invalid" | "present" | "unknown";
1665
- changed: number;
1666
- skipped: number;
1667
- failed: number;
1668
- perDb: {
1669
- dbName: string;
1670
- changed: number;
1671
- skipped: number;
1672
- failed: number;
1673
- }[];
1674
- }>)[];
1673
+ dbName: string;
1674
+ }, never>)[];
1675
1675
  export declare function cmdTsEvento(): import("@adviser/cement").Evento;