vibes-diy 14.3.335 → 14.3.337

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,415 +2,13 @@ import { isCmdProgress, sendMsg, sendProgress, type CmdProgress, type CmdTSMsg,
2
2
  export type { CmdTSMsg, WrapCmdTSMsg, CmdProgress };
3
3
  export { isCmdProgress, sendMsg, sendProgress };
4
4
  export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
5
- type: "core-cli.device-id-register";
6
- commonName: string;
7
- organization: string;
8
- locality: string;
9
- state: string;
10
- country: string;
11
- caUrl: string;
12
- port: string;
13
- timeout: string;
14
- forceRenew: boolean;
15
- cert?: string | undefined;
16
- noBrowser?: boolean | undefined;
17
- apiUrl?: string | undefined;
18
- expectHandle?: string | undefined;
19
- expectUser?: string | undefined;
20
- }, {
21
- type: "core-cli.res-device-id-register";
22
- output: string;
23
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
24
- type: "vibes-diy.cli.system";
25
- }, {
26
- type: "vibes-diy.cli.res-system";
27
- systemPrompt: string;
28
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
29
- type: "vibes-diy.cli.remix";
30
- srcUserSlug: string;
31
- srcAppSlug: string;
32
- dstOwnerHandle?: string | undefined;
33
- dstAppSlug?: string | undefined;
34
- published: boolean;
35
- settingsOnly: boolean;
36
- apiUrl: string;
37
- }, {
38
- type: "vibes-diy.cli.res-remix";
39
- ownerHandle: string;
40
- appSlug: string;
41
- url: string;
42
- carried?: string[] | undefined;
43
- skippedPresent?: string[] | undefined;
44
- chatId?: string | undefined;
45
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
46
- type: "vibes-diy.cli.agent";
47
- apiUrl: string;
48
- prompt: string;
49
- ownerHandle: string;
50
- followMs: number;
51
- json: boolean;
52
- chatId?: string | undefined;
53
- newChat?: boolean | undefined;
54
- images?: string[] | undefined;
55
- byText?: boolean | undefined;
56
- }, {
57
- type: "vibes-diy.cli.res-agent";
58
- ownerHandle: string;
59
- chatId: string;
60
- messages: string[];
61
- shorts?: string[] | undefined;
62
- links: string[];
63
- idle: boolean;
64
- reactions?: string[] | undefined;
65
- error?: string | undefined;
66
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
67
- type: "vibes-diy.cli.pull";
68
- appSlug: string;
69
- ownerHandle: string;
70
- dir: string;
71
- apiUrl: string;
72
- fsId?: string | undefined;
73
- published: boolean;
74
- draft: boolean;
75
- version?: string | undefined;
76
- }, {
77
- type: "vibes-diy.cli.res-pull";
78
- appSlug: string;
79
- ownerHandle: string;
80
- directory: string;
81
- files: {
82
- name: string;
83
- size: number;
84
- }[];
85
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
86
- type: "vibes-diy.cli.db.subscribe";
87
- apiUrl: string;
88
- appSlug: string;
89
- ownerHandle: string;
90
- dbName: string;
91
- }, never> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
92
- type: "vibes-diy.cli.codegen-log";
93
- appSlug: string;
94
- ownerHandle: string;
95
- chatId?: string | undefined;
96
- apiUrl: string;
97
- response?: boolean | undefined;
98
- raw?: boolean | undefined;
99
- files?: boolean | undefined;
100
- jsonl?: boolean | undefined;
101
- user?: boolean | undefined;
102
- promptId?: string | undefined;
103
- }, {
104
- type: "vibes-diy.cli.res-codegen-log-response";
105
- output: string;
106
- } | {
107
- type: "vibes-diy.cli.res-codegen-log-list";
108
- items: {
109
- chatId: string;
110
- appSlug: string;
111
- ownerHandle: string;
112
- created: string;
113
- }[];
114
- } | {
115
- type: "vibes-diy.cli.res-codegen-log-detail";
116
- chatId: string;
117
- ownerHandle: string;
118
- appSlug: string;
119
- prompts: {
120
- prompt: string;
121
- fsId: string;
122
- created: string;
123
- }[];
124
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
125
- type: "vibes-diy.cli.edit";
126
- appSlug: string;
127
- prompt: string;
128
- ownerHandle: string;
129
- instantJoin?: boolean | undefined;
130
- verbose: boolean;
131
- dir: string;
132
- apiUrl: string;
133
- dryRun: boolean;
134
- transcript: boolean;
135
- directBuild?: boolean | undefined;
136
- focusPath?: string | undefined;
137
- model?: string | undefined;
138
- builderModel?: string | undefined;
139
- apiKey?: string | undefined;
140
- }, {
141
- type: "vibes-diy.cli.res-edit";
142
- appSlug: string;
143
- ownerHandle: string;
144
- url: string;
145
- directory: string;
146
- restyled?: boolean | undefined;
147
- fsId?: string | undefined;
148
- } | {
149
- appSlug: string;
150
- ownerHandle: string;
151
- mode: "dev" | "production";
152
- fsId: string;
153
- type: "vibes.diy.res-ensure-app-slug";
154
- env: Record<string, string>;
155
- fileSystem: {
156
- fileName: string;
157
- mimeType: string;
158
- assetId: string;
159
- assetURI: string;
160
- transform?: {
161
- type: "jsx-to-js";
162
- transformedAssetId: string;
163
- } | {
164
- type: "imports";
165
- importMapAssetId: string;
166
- } | {
167
- type: "import-map";
168
- fromAssetIds: string[];
169
- } | {
170
- type: "transformed";
171
- action: "jsx-to-js";
172
- transformedAssetId: string;
173
- } | {
174
- type: "tailwind-css";
175
- } | undefined;
176
- entryPoint?: boolean | undefined;
177
- size: number;
178
- kind?: "asset" | undefined;
179
- uploadId?: string | undefined;
180
- }[];
181
- autoEnhanceOff?: true | undefined;
182
- appCreated?: true | undefined;
183
- } | {
184
- type: "vibes.diy.res-error";
185
- error: {
186
- message: string;
187
- code: "require-login";
188
- };
189
- } | {
190
- type: "vibes.diy.res-error";
191
- error: {
192
- message: string;
193
- code: "user-slug-invalid";
194
- };
195
- } | {
196
- type: "vibes.diy.res-error";
197
- error: {
198
- message: string;
199
- code: "app-slug-invalid";
200
- };
201
- } | {
202
- type: "vibes.diy.res-error";
203
- error: {
204
- message: string;
205
- code: "max-app-slugs-reached";
206
- };
207
- } | {
208
- type: "vibes.diy.res-error";
209
- error: {
210
- message: string;
211
- code: "handle-required";
212
- };
213
- } | {
214
- type: "vibes.diy.res-error";
215
- error: {
216
- message: string;
217
- code: "from-not-owned";
218
- };
219
- } | {
220
- type: "vibes.diy.res-error";
221
- error: {
222
- message: string;
223
- code: "from-carry-failed";
224
- };
225
- } | {
226
- type: "vibes.diy.res-error";
227
- error: {
228
- message: string;
229
- code: "auto-enhance-off";
230
- };
231
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
232
- type: "vibes-diy.cli.app-status";
233
- appSlug: string;
234
- ownerHandle: string;
235
- apiUrl: string;
236
- }, {
237
- type: "vibes-diy.cli.res-app-status";
238
- appSlug: string;
239
- ownerHandle: string;
240
- state: "dead" | "healthy" | "overdue" | "running" | "unscheduled";
241
- intervalMs: number | null;
242
- armedAt: string | null;
243
- lastAttemptAt: string | null;
244
- lastRunAt: string | null;
245
- lastErrorAt: string | null;
246
- lastError: string | null;
247
- attempt: number;
248
- nextAlarmAt: string | null;
249
- graceMs: number;
250
- overdueMs: number;
251
- healed: boolean;
252
- releaseIntervalMs: number | null;
253
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
254
- type: "vibes-diy.cli.app-chips";
255
- appSlug: string;
256
- ownerHandle: string;
257
- apiUrl: string;
258
- chips: (string | {
259
- label: string;
260
- gold?: boolean | undefined;
261
- kind?: "access" | "connect" | "edit" | "pay" | "publish" | "seed" | undefined;
262
- })[];
263
- fsId: string;
264
- }, {
265
- type: "vibes-diy.cli.res-app-chips";
266
- appSlug: string;
267
- ownerHandle: string;
268
- fsId: string;
269
- releaseSeq: number;
270
- chips: string[];
271
- chipItems?: {
272
- label: string;
273
- gold?: boolean | undefined;
274
- kind?: "access" | "connect" | "edit" | "pay" | "publish" | "seed" | undefined;
275
- }[] | undefined;
276
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
277
- type: "vibes-diy.cli.app-anon-write";
278
- appSlug: string;
279
- ownerHandle: string;
280
- apiUrl: string;
281
- set: "" | "off" | "on";
282
- }, {
283
- type: "vibes-diy.cli.res-app-anon-write";
284
- ownerHandle: string;
285
- appSlug: string;
286
- wrote: boolean;
287
- posture: string;
288
- anonWrite: "explicit" | "legacy" | "off";
289
- wildcardWrite: string[];
290
- restrictedDbs: {
291
- dbName: string;
292
- provenance: "platform-default" | "your-pin";
293
- write: string[];
294
- }[];
295
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
296
- type: "vibes-diy.cli.set-unpublish";
297
- appSlug: string;
298
- ownerHandle: string;
299
- unpublish: boolean;
300
- apiUrl: string;
301
- }, {
302
- type: "vibes-diy.cli.res-set-unpublish";
303
- appSlug: string;
304
- ownerHandle: string;
305
- unpublishedAt: string;
306
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
307
- type: "vibes-diy.cli.publish";
308
- appSlug: string;
309
- ownerHandle: string;
310
- fsId?: string | undefined;
311
- apiUrl: string;
312
- }, {
313
- type: "vibes-diy.cli.res-publish";
314
- appSlug: string;
315
- ownerHandle: string;
316
- fsId: string;
317
- releaseSeq: number;
318
- released: boolean;
319
- restored: boolean;
320
- autoEnhanceOff?: boolean | undefined;
321
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
322
- type: "vibes-diy.cli.members";
323
- apiUrl: string;
324
- appSlug: string;
325
- ownerHandle: string;
326
- op: "add" | "ls" | "rm";
327
- target?: string | undefined;
328
- role?: string | undefined;
329
- }, {
330
- type: "vibes-diy.cli.members-res";
331
- op: "add" | "ls" | "rm";
332
- ownerHandle: string;
333
- appSlug: string;
334
- items: {
335
- who: string;
336
- kind: "email" | "handle";
337
- role: string;
338
- state: "accepted" | "approved" | "pending" | "requested" | "revoked";
339
- updated: string;
340
- }[];
341
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
342
- type: "vibes-diy.cli.moderation";
343
- apiUrl: string;
344
- op: "list-flags" | "list-reports" | "resolve-report" | "set-publishing-paused" | "status" | "suspend" | "triage-flag" | "unsuspend";
345
- reason: string;
346
- reportId: string;
347
- userId: string;
348
- handle: string;
349
- paused?: boolean | undefined;
350
- status: string;
351
- limit: string;
352
- flagId?: string | undefined;
353
- triage?: string | undefined;
354
- summary?: boolean | undefined;
355
- since?: string | undefined;
356
- }, {
357
- type: "vibes-diy.cli.res-moderation";
358
- op: string;
359
- result: unknown;
360
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
361
- type: "vibes-diy.cli.user-settings";
362
- apiUrl: string;
363
- setDefaultHandle?: string | undefined;
364
- }, {
365
- type: "vibes.diy.res-ensure-user-settings";
366
- userId: string;
367
- settings: ({
368
- type: "notifications";
369
- buildComplete?: boolean | undefined;
370
- buildFailed?: boolean | undefined;
371
- vibePublished?: boolean | undefined;
372
- commentPosted?: boolean | undefined;
373
- requestApproved?: boolean | undefined;
374
- requestRevoked?: boolean | undefined;
375
- vibeRemixed?: boolean | undefined;
376
- dmReceived?: boolean | undefined;
377
- memberJoined?: boolean | undefined;
378
- accessRequested?: boolean | undefined;
379
- emailDigest?: boolean | undefined;
380
- retentionEmail?: boolean | undefined;
381
- followRequest?: boolean | undefined;
382
- followerAdded?: boolean | undefined;
383
- followApproved?: boolean | undefined;
384
- appMessage?: boolean | undefined;
385
- connectionExpiring?: boolean | undefined;
386
- assetBlocked?: boolean | undefined;
387
- assetCheckFailed?: boolean | undefined;
388
- checkoutUnfinished?: boolean | undefined;
389
- safetyAlert?: boolean | undefined;
390
- emailInstant?: boolean | undefined;
391
- mutes?: {
392
- vibes?: string[] | undefined;
393
- handles?: string[] | undefined;
394
- } | undefined;
395
- vibeTypes?: {
396
- vibe: string;
397
- buildComplete?: boolean | undefined;
398
- buildFailed?: boolean | undefined;
399
- vibePublished?: boolean | undefined;
400
- commentPosted?: boolean | undefined;
401
- requestApproved?: boolean | undefined;
402
- requestRevoked?: boolean | undefined;
403
- vibeRemixed?: boolean | undefined;
404
- memberJoined?: boolean | undefined;
405
- accessRequested?: boolean | undefined;
406
- appMessage?: boolean | undefined;
407
- assetBlocked?: boolean | undefined;
408
- assetCheckFailed?: boolean | undefined;
409
- }[] | undefined;
410
- agent?: {
411
- hiddenVibes?: string[] | undefined;
412
- } | undefined;
413
- } | {
5
+ type: "vibes-diy.cli.user-settings";
6
+ apiUrl: string;
7
+ setDefaultHandle?: string | undefined;
8
+ }, {
9
+ type: "vibes.diy.res-ensure-user-settings";
10
+ userId: string;
11
+ settings: ({
414
12
  type: "sharing";
415
13
  grants: {
416
14
  grant: "allow" | "deny";
@@ -528,6 +126,52 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
528
126
  avatarCid?: string | undefined;
529
127
  displayName?: string | undefined;
530
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
+ emailInstant?: boolean | undefined;
153
+ mutes?: {
154
+ vibes?: string[] | undefined;
155
+ handles?: string[] | undefined;
156
+ } | undefined;
157
+ vibeTypes?: {
158
+ vibe: string;
159
+ buildComplete?: boolean | undefined;
160
+ buildFailed?: boolean | undefined;
161
+ vibePublished?: boolean | undefined;
162
+ commentPosted?: boolean | undefined;
163
+ requestApproved?: boolean | undefined;
164
+ requestRevoked?: boolean | undefined;
165
+ vibeRemixed?: boolean | undefined;
166
+ memberJoined?: boolean | undefined;
167
+ accessRequested?: boolean | undefined;
168
+ appMessage?: boolean | undefined;
169
+ assetBlocked?: boolean | undefined;
170
+ assetCheckFailed?: boolean | undefined;
171
+ }[] | undefined;
172
+ agent?: {
173
+ hiddenVibes?: string[] | undefined;
174
+ } | undefined;
531
175
  } | {
532
176
  type: "egressStatus";
533
177
  status: "blessed" | "blocked";
@@ -637,17 +281,279 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
637
281
  updated: string;
638
282
  created: string;
639
283
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
640
- type: "vibes-diy.cli.skills";
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";
641
479
  }, {
642
- type: "vibes-diy.cli.res-skills-list";
643
- skills: {
644
- name: string;
645
- description: string;
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[];
646
491
  }[];
647
- } | {
648
- type: "vibes-diy.cli.res-skill-content";
649
- name: string;
650
- content: string;
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;
518
+ }> | 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;
526
+ }, {
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;
537
+ }[];
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;
651
557
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
652
558
  type: "use-vibes.cli.themes";
653
559
  }, {
@@ -674,6 +580,11 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
674
580
  id: string;
675
581
  guidance: string;
676
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;
677
588
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
678
589
  type: "vibes-diy.cli.push";
679
590
  mode: string;
@@ -747,109 +658,245 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
747
658
  type: "vibes.diy.res-error";
748
659
  error: {
749
660
  message: string;
750
- code: "max-app-slugs-reached";
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;
740
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
741
+ type: "vibes-diy.cli.generate";
742
+ prompt: string;
743
+ appSlug: string;
744
+ ownerHandle: string;
745
+ instantJoin?: boolean | undefined;
746
+ noAccessFn?: boolean | undefined;
747
+ privateMode?: boolean | undefined;
748
+ verbose: boolean;
749
+ apiUrl: string;
750
+ focusPath?: string | undefined;
751
+ model?: string | undefined;
752
+ builderModel?: string | undefined;
753
+ apiKey?: string | undefined;
754
+ variety?: string | undefined;
755
+ record?: string | undefined;
756
+ style?: string | undefined;
757
+ fastPass?: boolean | undefined;
758
+ }, {
759
+ appSlug: string;
760
+ ownerHandle: string;
761
+ mode: "dev" | "production";
762
+ fsId: string;
763
+ type: "vibes.diy.res-ensure-app-slug";
764
+ env: Record<string, string>;
765
+ fileSystem: {
766
+ fileName: string;
767
+ mimeType: string;
768
+ assetId: string;
769
+ assetURI: string;
770
+ transform?: {
771
+ type: "jsx-to-js";
772
+ transformedAssetId: string;
773
+ } | {
774
+ type: "imports";
775
+ importMapAssetId: string;
776
+ } | {
777
+ type: "import-map";
778
+ fromAssetIds: string[];
779
+ } | {
780
+ type: "transformed";
781
+ action: "jsx-to-js";
782
+ transformedAssetId: string;
783
+ } | {
784
+ type: "tailwind-css";
785
+ } | undefined;
786
+ entryPoint?: boolean | undefined;
787
+ size: number;
788
+ kind?: "asset" | undefined;
789
+ uploadId?: string | undefined;
790
+ }[];
791
+ autoEnhanceOff?: true | undefined;
792
+ appCreated?: true | undefined;
793
+ } | {
794
+ type: "vibes.diy.res-error";
795
+ error: {
796
+ message: string;
797
+ code: "require-login";
798
+ };
799
+ } | {
800
+ type: "vibes.diy.res-error";
801
+ error: {
802
+ message: string;
803
+ code: "user-slug-invalid";
804
+ };
805
+ } | {
806
+ type: "vibes.diy.res-error";
807
+ error: {
808
+ message: string;
809
+ code: "app-slug-invalid";
810
+ };
811
+ } | {
812
+ type: "vibes.diy.res-error";
813
+ error: {
814
+ message: string;
815
+ code: "from-not-owned";
751
816
  };
752
817
  } | {
753
818
  type: "vibes.diy.res-error";
754
819
  error: {
755
820
  message: string;
756
- code: "handle-required";
821
+ code: "from-carry-failed";
757
822
  };
758
823
  } | {
759
824
  type: "vibes.diy.res-error";
760
825
  error: {
761
826
  message: string;
762
- code: "from-not-owned";
827
+ code: "auto-enhance-off";
763
828
  };
764
829
  } | {
765
830
  type: "vibes.diy.res-error";
766
831
  error: {
767
832
  message: string;
768
- code: "from-carry-failed";
833
+ code: "handle-required";
769
834
  };
770
835
  } | {
771
836
  type: "vibes.diy.res-error";
772
837
  error: {
773
838
  message: string;
774
- code: "auto-enhance-off";
839
+ code: "max-app-slugs-reached";
775
840
  };
776
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
777
- type: "vibes-diy.cli.claim-handle";
778
- apiUrl: string;
779
- ownerHandle?: string | undefined;
780
- noDefault?: boolean | undefined;
781
- }, {
782
- type: "vibes-diy.cli.res-claim-handle";
783
- op: "claim" | "suggest";
784
- ownerHandle?: string | undefined;
785
- defaultHandleSet?: boolean | undefined;
786
- defaultSkipped?: boolean | undefined;
787
- suggestions: string[];
788
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
789
- type: "vibes-diy.cli.image";
790
- apiUrl: string;
791
- prompt: string;
841
+ } | {
842
+ type: "vibes-diy.cli.res-generate";
843
+ appSlug: string;
792
844
  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
- };
845
+ 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;
820
851
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
821
- type: "vibes-diy.cli.put-asset";
822
- file: string;
852
+ type: "vibes-diy.cli.codegen-log";
823
853
  appSlug: string;
824
854
  ownerHandle: string;
855
+ chatId?: string | undefined;
825
856
  apiUrl: string;
826
- mimeType: string;
827
- verifyFetch: boolean;
857
+ response?: boolean | undefined;
858
+ raw?: boolean | undefined;
859
+ files?: boolean | undefined;
860
+ jsonl?: boolean | undefined;
861
+ user?: boolean | undefined;
862
+ promptId?: string | undefined;
828
863
  }, {
829
- type: "vibes-diy.cli.res-put-asset";
830
- cid: string;
831
- getURL: string;
832
- size: number;
833
- uploadId: string;
834
- verified?: boolean | undefined;
864
+ type: "vibes-diy.cli.res-codegen-log-list";
865
+ items: {
866
+ chatId: string;
867
+ appSlug: string;
868
+ ownerHandle: string;
869
+ created: string;
870
+ }[];
871
+ } | {
872
+ type: "vibes-diy.cli.res-codegen-log-detail";
873
+ chatId: string;
874
+ ownerHandle: string;
875
+ appSlug: string;
876
+ prompts: {
877
+ prompt: string;
878
+ fsId: string;
879
+ created: string;
880
+ }[];
881
+ } | {
882
+ type: "vibes-diy.cli.res-codegen-log-response";
883
+ output: string;
835
884
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
836
- type: "vibes-diy.cli.generate";
837
- prompt: string;
885
+ type: "vibes-diy.cli.edit";
838
886
  appSlug: string;
887
+ prompt: string;
839
888
  ownerHandle: string;
840
889
  instantJoin?: boolean | undefined;
841
- noAccessFn?: boolean | undefined;
842
- privateMode?: boolean | undefined;
843
890
  verbose: boolean;
891
+ dir: string;
844
892
  apiUrl: string;
893
+ dryRun: boolean;
894
+ transcript: boolean;
895
+ directBuild?: boolean | undefined;
845
896
  focusPath?: string | undefined;
846
897
  model?: string | undefined;
847
898
  builderModel?: string | undefined;
848
899
  apiKey?: string | undefined;
849
- variety?: string | undefined;
850
- record?: string | undefined;
851
- style?: string | undefined;
852
- fastPass?: boolean | undefined;
853
900
  }, {
854
901
  appSlug: string;
855
902
  ownerHandle: string;
@@ -907,81 +954,40 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
907
954
  type: "vibes.diy.res-error";
908
955
  error: {
909
956
  message: string;
910
- code: "max-app-slugs-reached";
957
+ code: "from-not-owned";
911
958
  };
912
959
  } | {
913
960
  type: "vibes.diy.res-error";
914
961
  error: {
915
962
  message: string;
916
- code: "handle-required";
963
+ code: "from-carry-failed";
917
964
  };
918
965
  } | {
919
966
  type: "vibes.diy.res-error";
920
967
  error: {
921
968
  message: string;
922
- code: "from-not-owned";
969
+ code: "auto-enhance-off";
923
970
  };
924
971
  } | {
925
972
  type: "vibes.diy.res-error";
926
973
  error: {
927
974
  message: string;
928
- code: "from-carry-failed";
975
+ code: "handle-required";
929
976
  };
930
977
  } | {
931
978
  type: "vibes.diy.res-error";
932
979
  error: {
933
980
  message: string;
934
- code: "auto-enhance-off";
981
+ code: "max-app-slugs-reached";
935
982
  };
936
983
  } | {
937
- type: "vibes-diy.cli.res-generate";
984
+ type: "vibes-diy.cli.res-edit";
938
985
  appSlug: string;
939
986
  ownerHandle: string;
940
987
  url: string;
941
988
  directory: string;
942
- release?: "not-visible" | "published" | "version-locked" | undefined;
943
- turns?: number | undefined;
944
- publish?: "kept-private-no-access-fn" | "private" | "published" | undefined;
945
- posture?: "gated" | "open" | "private" | undefined;
946
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
947
- type: "vibes-diy.cli.app-chats";
948
- appSlug: string;
949
- ownerHandle: string;
950
- chatId?: string | undefined;
951
- apiUrl: string;
952
- }, {
953
- type: "vibes-diy.cli.res-app-chats-list";
954
- items: {
955
- chatId: string;
956
- appSlug: string;
957
- ownerHandle: string;
958
- created: string;
959
- userHandle?: string | undefined;
960
- }[];
961
- } | {
962
- type: "vibes-diy.cli.res-app-chats-detail";
963
- chatId: string;
964
- ownerHandle?: string | undefined;
965
- appSlug?: string | undefined;
966
- output: string;
967
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
968
- type: "vibes-diy.cli.list";
969
- apiUrl: string;
970
- }, {
971
- type: "vibes-diy.cli.res-list";
972
- items: {
973
- ownerHandle: string;
974
- appSlug: string;
975
- updated: string;
976
- title?: string | undefined;
977
- icon?: {
978
- cid: string;
979
- mime: string;
980
- } | undefined;
981
- pinnedAt?: string | undefined;
982
- neverPublished?: boolean | undefined;
983
- unpublishedAt?: string | undefined;
984
- }[];
989
+ restyled?: boolean | undefined;
990
+ fsId?: string | undefined;
985
991
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
986
992
  type: "vibes-diy.cli.doctor";
987
993
  apiUrl: string;
@@ -1018,6 +1024,25 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
1018
1024
  defaultHandle?: string | undefined;
1019
1025
  handles: string[];
1020
1026
  detail?: string | undefined;
1027
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1028
+ type: "vibes-diy.cli.pull";
1029
+ appSlug: string;
1030
+ ownerHandle: string;
1031
+ dir: string;
1032
+ apiUrl: string;
1033
+ fsId?: string | undefined;
1034
+ published: boolean;
1035
+ draft: boolean;
1036
+ version?: string | undefined;
1037
+ }, {
1038
+ type: "vibes-diy.cli.res-pull";
1039
+ appSlug: string;
1040
+ ownerHandle: string;
1041
+ directory: string;
1042
+ files: {
1043
+ name: string;
1044
+ size: number;
1045
+ }[];
1021
1046
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1022
1047
  type: "vibes-diy.cli.run";
1023
1048
  apiUrl: string;
@@ -1533,14 +1558,24 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
1533
1558
  type: "vibes-diy.cli.res-phone-link-classify";
1534
1559
  reaction?: string | undefined;
1535
1560
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1536
- type: "vibes-diy.cli.db.list";
1537
- apiUrl: string;
1538
- appSlug: string;
1539
- ownerHandle: string;
1540
- admin: boolean;
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;
1541
1576
  }, {
1542
- type: "vibes-diy.cli.db.list-res";
1543
- dbNames: string[];
1577
+ type: "core-cli.res-device-id-register";
1578
+ output: string;
1544
1579
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1545
1580
  type: "vibes-diy.cli.db.get";
1546
1581
  apiUrl: string;
@@ -1555,26 +1590,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
1555
1590
  doc: {
1556
1591
  [x: string]: unknown;
1557
1592
  };
1558
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1559
- type: "vibes-diy.cli.db.put";
1560
- apiUrl: string;
1561
- appSlug: string;
1562
- ownerHandle: string;
1563
- dbName: string;
1564
- docJson: string;
1565
- docId: string;
1566
- admin: boolean;
1567
- actingHandle: string;
1568
- files?: string[] | undefined;
1569
- }, {
1570
- type: "vibes-diy.cli.db.put-res";
1571
- id: string;
1572
- ok: true;
1573
- files?: {
1574
- key: string;
1575
- status: "unchanged" | "uploaded";
1576
- uploadId: string;
1577
- }[] | undefined;
1578
1593
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1579
1594
  type: "vibes-diy.cli.db.del";
1580
1595
  apiUrl: string;
@@ -1608,25 +1623,10 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
1608
1623
  [x: string]: unknown;
1609
1624
  }[];
1610
1625
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1611
- type: "vibes-diy.cli.db.seed";
1612
- action: "add" | "remove";
1626
+ type: "vibes-diy.cli.db.subscribe";
1613
1627
  apiUrl: string;
1614
1628
  appSlug: string;
1615
1629
  ownerHandle: string;
1616
- }, {
1617
- type: "vibes-diy.cli.db.seed-res";
1618
- action: "add" | "remove";
1619
- appSlug: string;
1620
- ownerHandle: string;
1621
- seedFile: "absent" | "invalid" | "present" | "unknown";
1622
- changed: number;
1623
- skipped: number;
1624
- failed: number;
1625
- perDb: {
1626
- dbName: string;
1627
- changed: number;
1628
- skipped: number;
1629
- failed: number;
1630
- }[];
1631
- }>)[];
1630
+ dbName: string;
1631
+ }, never>)[];
1632
1632
  export declare function cmdTsEvento(): import("@adviser/cement").Evento;