vibes-diy 14.1.13 → 14.1.15

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,216 +2,166 @@ import { isCmdProgress, sendMsg, sendProgress, type CmdProgress, type CmdTSMsg,
2
2
  export type { CmdTSMsg, WrapCmdTSMsg, CmdProgress };
3
3
  export { isCmdProgress, sendMsg, sendProgress };
4
4
  export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
5
- type: "vibes-diy.cli.user-settings";
5
+ type: "vibes-diy.cli.system";
6
+ }, {
7
+ type: "vibes-diy.cli.res-system";
8
+ systemPrompt: string;
9
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
10
+ type: "vibes-diy.cli.remix";
11
+ srcUserSlug: string;
12
+ srcAppSlug: string;
13
+ dstOwnerHandle?: string | undefined;
14
+ dstAppSlug?: string | undefined;
15
+ published: boolean;
16
+ settingsOnly: boolean;
6
17
  apiUrl: string;
7
- setDefaultHandle?: string | undefined;
8
18
  }, {
9
- type: "vibes.diy.res-ensure-user-settings";
10
- userId: string;
11
- settings: ({
12
- type: "sharing";
13
- grants: {
14
- grant: "allow" | "deny";
15
- appSlug: string;
16
- ownerHandle: string;
17
- dbName: string;
18
- }[];
19
- } | {
20
- type: "modelDefaults";
21
- codegen?: {
22
- model?: {
23
- id: string;
24
- name: string;
25
- description: string;
26
- featured?: boolean | undefined;
27
- preSelected?: ("app" | "chat" | "codegen" | "img" | "img-edit" | "runtime")[] | undefined;
28
- fallbackFor?: ("app" | "chat" | "codegen" | "img" | "img-edit" | "runtime")[] | undefined;
29
- supports?: ("app" | "chat" | "codegen" | "img" | "img-edit" | "runtime")[] | undefined;
30
- imageInput?: boolean | undefined;
31
- } | undefined;
32
- apiKey?: string | undefined;
33
- } | undefined;
34
- runtime?: {
35
- model?: {
36
- id: string;
37
- name: string;
38
- description: string;
39
- featured?: boolean | undefined;
40
- preSelected?: ("app" | "chat" | "codegen" | "img" | "img-edit" | "runtime")[] | undefined;
41
- fallbackFor?: ("app" | "chat" | "codegen" | "img" | "img-edit" | "runtime")[] | undefined;
42
- supports?: ("app" | "chat" | "codegen" | "img" | "img-edit" | "runtime")[] | undefined;
43
- imageInput?: boolean | undefined;
44
- } | undefined;
45
- apiKey?: string | undefined;
46
- } | undefined;
47
- img?: {
48
- model?: {
49
- id: string;
50
- name: string;
51
- description: string;
52
- featured?: boolean | undefined;
53
- preSelected?: ("app" | "chat" | "codegen" | "img" | "img-edit" | "runtime")[] | undefined;
54
- fallbackFor?: ("app" | "chat" | "codegen" | "img" | "img-edit" | "runtime")[] | undefined;
55
- supports?: ("app" | "chat" | "codegen" | "img" | "img-edit" | "runtime")[] | undefined;
56
- imageInput?: boolean | undefined;
57
- } | undefined;
58
- apiKey?: string | undefined;
59
- } | undefined;
60
- chat?: {
61
- model?: {
62
- id: string;
63
- name: string;
64
- description: string;
65
- featured?: boolean | undefined;
66
- preSelected?: ("app" | "chat" | "codegen" | "img" | "img-edit" | "runtime")[] | undefined;
67
- fallbackFor?: ("app" | "chat" | "codegen" | "img" | "img-edit" | "runtime")[] | undefined;
68
- supports?: ("app" | "chat" | "codegen" | "img" | "img-edit" | "runtime")[] | undefined;
69
- imageInput?: boolean | undefined;
70
- } | undefined;
71
- apiKey?: string | undefined;
72
- } | undefined;
73
- app?: {
74
- model?: {
75
- id: string;
76
- name: string;
77
- description: string;
78
- featured?: boolean | undefined;
79
- preSelected?: ("app" | "chat" | "codegen" | "img" | "img-edit" | "runtime")[] | undefined;
80
- fallbackFor?: ("app" | "chat" | "codegen" | "img" | "img-edit" | "runtime")[] | undefined;
81
- supports?: ("app" | "chat" | "codegen" | "img" | "img-edit" | "runtime")[] | undefined;
82
- imageInput?: boolean | undefined;
83
- } | undefined;
84
- apiKey?: string | undefined;
85
- } | undefined;
86
- } | {
87
- type: "defaultHandle";
88
- ownerHandle: string;
89
- } | {
90
- type: "profile";
91
- avatarCid?: string | undefined;
92
- displayName?: string | undefined;
93
- } | {
94
- type: "notifications";
95
- buildComplete?: boolean | undefined;
96
- buildFailed?: boolean | undefined;
97
- vibePublished?: boolean | undefined;
98
- commentPosted?: boolean | undefined;
99
- requestApproved?: boolean | undefined;
100
- requestRevoked?: boolean | undefined;
101
- vibeRemixed?: boolean | undefined;
102
- dmReceived?: boolean | undefined;
103
- memberJoined?: boolean | undefined;
104
- accessRequested?: boolean | undefined;
105
- emailDigest?: boolean | undefined;
106
- retentionEmail?: boolean | undefined;
107
- followRequest?: boolean | undefined;
108
- followerAdded?: boolean | undefined;
109
- followApproved?: boolean | undefined;
110
- appMessage?: boolean | undefined;
111
- connectionExpiring?: boolean | undefined;
112
- emailInstant?: boolean | undefined;
113
- mutes?: {
114
- vibes?: string[] | undefined;
115
- handles?: string[] | undefined;
116
- } | undefined;
117
- } | {
118
- type: "egressStatus";
119
- status: "blessed" | "blocked";
120
- updatedAt: string;
121
- setBy?: string | undefined;
122
- } | {
123
- type: "contactEmail";
124
- email: string;
125
- updatedAt: string;
126
- } | {
127
- type: "onboarding";
128
- completedAt: string;
129
- } | {
130
- type: "geoCountry";
131
- country: string;
132
- updatedAt: string;
133
- } | {
134
- type: "retentionDrip";
135
- sent: {
136
- [x: string]: string;
137
- };
138
- updatedAt: string;
139
- } | {
140
- type: "defaultHandle";
141
- ownerHandle: string;
142
- })[];
143
- updated: string;
144
- created: string;
19
+ type: "vibes-diy.cli.res-remix";
20
+ ownerHandle: string;
21
+ appSlug: string;
22
+ url: string;
23
+ carried?: string[] | undefined;
24
+ skippedPresent?: string[] | undefined;
25
+ chatId?: string | undefined;
145
26
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
146
- type: "vibes-diy.cli.skills";
27
+ type: "vibes-diy.cli.put-asset";
28
+ file: string;
29
+ appSlug: string;
30
+ ownerHandle: string;
31
+ apiUrl: string;
32
+ mimeType: string;
33
+ verifyFetch: boolean;
147
34
  }, {
148
- type: "vibes-diy.cli.res-skills-list";
149
- skills: {
150
- name: string;
151
- description: string;
35
+ type: "vibes-diy.cli.res-put-asset";
36
+ cid: string;
37
+ getURL: string;
38
+ size: number;
39
+ uploadId: string;
40
+ verified?: boolean | undefined;
41
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
42
+ type: "vibes-diy.cli.generate";
43
+ prompt: string;
44
+ appSlug: string;
45
+ ownerHandle: string;
46
+ instantJoin?: boolean | undefined;
47
+ noAccessFn?: boolean | undefined;
48
+ verbose: boolean;
49
+ apiUrl: string;
50
+ focusPath?: string | undefined;
51
+ model?: string | undefined;
52
+ apiKey?: string | undefined;
53
+ }, {
54
+ type: "vibes-diy.cli.res-generate";
55
+ appSlug: string;
56
+ ownerHandle: string;
57
+ url: string;
58
+ directory: string;
59
+ } | {
60
+ appSlug: string;
61
+ ownerHandle: string;
62
+ mode: "dev" | "production";
63
+ fsId: string;
64
+ type: "vibes.diy.res-ensure-app-slug";
65
+ env: Record<string, string>;
66
+ fileSystem: {
67
+ fileName: string;
68
+ mimeType: string;
69
+ assetId: string;
70
+ assetURI: string;
71
+ transform?: {
72
+ type: "jsx-to-js";
73
+ transformedAssetId: string;
74
+ } | {
75
+ type: "imports";
76
+ importMapAssetId: string;
77
+ } | {
78
+ type: "import-map";
79
+ fromAssetIds: string[];
80
+ } | {
81
+ type: "transformed";
82
+ action: "jsx-to-js";
83
+ transformedAssetId: string;
84
+ } | {
85
+ type: "tailwind-css";
86
+ } | undefined;
87
+ entryPoint?: boolean | undefined;
88
+ size: number;
89
+ kind?: "asset" | undefined;
152
90
  }[];
153
91
  } | {
154
- type: "vibes-diy.cli.res-skill-content";
155
- name: string;
156
- content: string;
92
+ type: "vibes.diy.res-error";
93
+ error: {
94
+ message: string;
95
+ code: "require-login";
96
+ };
97
+ } | {
98
+ type: "vibes.diy.res-error";
99
+ error: {
100
+ message: string;
101
+ code: "user-slug-invalid";
102
+ };
103
+ } | {
104
+ type: "vibes.diy.res-error";
105
+ error: {
106
+ message: string;
107
+ code: "app-slug-invalid";
108
+ };
109
+ } | {
110
+ type: "vibes.diy.res-error";
111
+ error: {
112
+ message: string;
113
+ code: "max-app-slugs-reached";
114
+ };
115
+ } | {
116
+ type: "vibes.diy.res-error";
117
+ error: {
118
+ message: string;
119
+ code: "handle-required";
120
+ };
121
+ } | {
122
+ type: "vibes.diy.res-error";
123
+ error: {
124
+ message: string;
125
+ code: "from-not-owned";
126
+ };
127
+ } | {
128
+ type: "vibes.diy.res-error";
129
+ error: {
130
+ message: string;
131
+ code: "from-carry-failed";
132
+ };
157
133
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
158
- type: "vibes-diy.cli.db.get";
134
+ type: "vibes-diy.cli.db.put";
159
135
  apiUrl: string;
160
136
  appSlug: string;
161
137
  ownerHandle: string;
162
138
  dbName: string;
139
+ docJson: string;
163
140
  docId: string;
164
141
  admin: boolean;
165
142
  actingHandle: string;
166
143
  }, {
167
- type: "vibes-diy.cli.db.get-res";
168
- doc: {
169
- [x: string]: unknown;
170
- };
144
+ type: "vibes-diy.cli.db.put-res";
145
+ id: string;
146
+ ok: true;
171
147
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
172
- type: "vibes-diy.cli.db.subscribe";
173
- apiUrl: string;
174
- appSlug: string;
175
- ownerHandle: string;
176
- dbName: string;
177
- }, never> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
178
- type: "vibes-diy.cli.app-chats";
148
+ type: "vibes-diy.cli.pull";
179
149
  appSlug: string;
180
150
  ownerHandle: string;
181
- chatId?: string | undefined;
182
- apiUrl: string;
183
- }, {
184
- type: "vibes-diy.cli.res-app-chats-list";
185
- items: {
186
- chatId: string;
187
- appSlug: string;
188
- ownerHandle: string;
189
- created: string;
190
- userHandle?: string | undefined;
191
- }[];
192
- } | {
193
- type: "vibes-diy.cli.res-app-chats-detail";
194
- chatId: string;
195
- ownerHandle?: string | undefined;
196
- appSlug?: string | undefined;
197
- output: string;
198
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
199
- type: "vibes-diy.cli.list";
151
+ dir: string;
200
152
  apiUrl: string;
153
+ fsId?: string | undefined;
154
+ published: boolean;
155
+ draft: boolean;
156
+ version?: string | undefined;
201
157
  }, {
202
- type: "vibes-diy.cli.res-list";
203
- items: {
204
- ownerHandle: string;
205
- appSlug: string;
206
- updated: string;
207
- title?: string | undefined;
208
- icon?: {
209
- cid: string;
210
- mime: string;
211
- } | undefined;
212
- pinnedAt?: string | undefined;
213
- neverPublished?: boolean | undefined;
214
- unpublishedAt?: string | undefined;
158
+ type: "vibes-diy.cli.res-pull";
159
+ appSlug: string;
160
+ ownerHandle: string;
161
+ directory: string;
162
+ files: {
163
+ name: string;
164
+ size: number;
215
165
  }[];
216
166
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
217
167
  type: "vibes-diy.cli.app-rearm";
@@ -304,24 +254,182 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
304
254
  releaseSeq: number;
305
255
  chips: string[];
306
256
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
307
- type: "vibes-diy.cli.developer";
308
- apiUrl: string;
309
- appSlug: string;
310
- ownerHandle: string;
311
- op: "add" | "ls" | "rm";
312
- devHandle?: string | undefined;
257
+ type: "vibes-diy.cli.developer";
258
+ apiUrl: string;
259
+ appSlug: string;
260
+ ownerHandle: string;
261
+ op: "add" | "ls" | "rm";
262
+ devHandle?: string | undefined;
263
+ }, {
264
+ type: "vibes-diy.cli.developer-res";
265
+ op: "add" | "ls" | "rm";
266
+ ownerHandle: string;
267
+ appSlug: string;
268
+ items: {
269
+ devHandle: string;
270
+ devUserId?: string | undefined;
271
+ state: "active" | "revoked";
272
+ updated: string;
273
+ created?: string | undefined;
274
+ }[];
275
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
276
+ type: "vibes-diy.cli.user-settings";
277
+ apiUrl: string;
278
+ setDefaultHandle?: string | undefined;
279
+ }, {
280
+ type: "vibes.diy.res-ensure-user-settings";
281
+ userId: string;
282
+ settings: ({
283
+ type: "notifications";
284
+ buildComplete?: boolean | undefined;
285
+ buildFailed?: boolean | undefined;
286
+ vibePublished?: boolean | undefined;
287
+ commentPosted?: boolean | undefined;
288
+ requestApproved?: boolean | undefined;
289
+ requestRevoked?: boolean | undefined;
290
+ vibeRemixed?: boolean | undefined;
291
+ dmReceived?: boolean | undefined;
292
+ memberJoined?: boolean | undefined;
293
+ accessRequested?: boolean | undefined;
294
+ emailDigest?: boolean | undefined;
295
+ retentionEmail?: boolean | undefined;
296
+ followRequest?: boolean | undefined;
297
+ followerAdded?: boolean | undefined;
298
+ followApproved?: boolean | undefined;
299
+ appMessage?: boolean | undefined;
300
+ connectionExpiring?: boolean | undefined;
301
+ assetBlocked?: boolean | undefined;
302
+ assetCheckFailed?: boolean | undefined;
303
+ emailInstant?: boolean | undefined;
304
+ mutes?: {
305
+ vibes?: string[] | undefined;
306
+ handles?: string[] | undefined;
307
+ } | undefined;
308
+ } | {
309
+ type: "sharing";
310
+ grants: {
311
+ grant: "allow" | "deny";
312
+ appSlug: string;
313
+ ownerHandle: string;
314
+ dbName: string;
315
+ }[];
316
+ } | {
317
+ type: "modelDefaults";
318
+ codegen?: {
319
+ model?: {
320
+ id: string;
321
+ name: string;
322
+ description: string;
323
+ featured?: boolean | undefined;
324
+ preSelected?: ("app" | "chat" | "codegen" | "img" | "img-edit" | "runtime")[] | undefined;
325
+ fallbackFor?: ("app" | "chat" | "codegen" | "img" | "img-edit" | "runtime")[] | undefined;
326
+ supports?: ("app" | "chat" | "codegen" | "img" | "img-edit" | "runtime")[] | undefined;
327
+ imageInput?: boolean | undefined;
328
+ } | undefined;
329
+ apiKey?: string | undefined;
330
+ } | undefined;
331
+ runtime?: {
332
+ model?: {
333
+ id: string;
334
+ name: string;
335
+ description: string;
336
+ featured?: boolean | undefined;
337
+ preSelected?: ("app" | "chat" | "codegen" | "img" | "img-edit" | "runtime")[] | undefined;
338
+ fallbackFor?: ("app" | "chat" | "codegen" | "img" | "img-edit" | "runtime")[] | undefined;
339
+ supports?: ("app" | "chat" | "codegen" | "img" | "img-edit" | "runtime")[] | undefined;
340
+ imageInput?: boolean | undefined;
341
+ } | undefined;
342
+ apiKey?: string | undefined;
343
+ } | undefined;
344
+ img?: {
345
+ model?: {
346
+ id: string;
347
+ name: string;
348
+ description: string;
349
+ featured?: boolean | undefined;
350
+ preSelected?: ("app" | "chat" | "codegen" | "img" | "img-edit" | "runtime")[] | undefined;
351
+ fallbackFor?: ("app" | "chat" | "codegen" | "img" | "img-edit" | "runtime")[] | undefined;
352
+ supports?: ("app" | "chat" | "codegen" | "img" | "img-edit" | "runtime")[] | undefined;
353
+ imageInput?: boolean | undefined;
354
+ } | undefined;
355
+ apiKey?: string | undefined;
356
+ } | undefined;
357
+ chat?: {
358
+ model?: {
359
+ id: string;
360
+ name: string;
361
+ description: string;
362
+ featured?: boolean | undefined;
363
+ preSelected?: ("app" | "chat" | "codegen" | "img" | "img-edit" | "runtime")[] | undefined;
364
+ fallbackFor?: ("app" | "chat" | "codegen" | "img" | "img-edit" | "runtime")[] | undefined;
365
+ supports?: ("app" | "chat" | "codegen" | "img" | "img-edit" | "runtime")[] | undefined;
366
+ imageInput?: boolean | undefined;
367
+ } | undefined;
368
+ apiKey?: string | undefined;
369
+ } | undefined;
370
+ app?: {
371
+ model?: {
372
+ id: string;
373
+ name: string;
374
+ description: string;
375
+ featured?: boolean | undefined;
376
+ preSelected?: ("app" | "chat" | "codegen" | "img" | "img-edit" | "runtime")[] | undefined;
377
+ fallbackFor?: ("app" | "chat" | "codegen" | "img" | "img-edit" | "runtime")[] | undefined;
378
+ supports?: ("app" | "chat" | "codegen" | "img" | "img-edit" | "runtime")[] | undefined;
379
+ imageInput?: boolean | undefined;
380
+ } | undefined;
381
+ apiKey?: string | undefined;
382
+ } | undefined;
383
+ } | {
384
+ type: "defaultHandle";
385
+ ownerHandle: string;
386
+ } | {
387
+ type: "profile";
388
+ avatarCid?: string | undefined;
389
+ displayName?: string | undefined;
390
+ } | {
391
+ type: "egressStatus";
392
+ status: "blessed" | "blocked";
393
+ updatedAt: string;
394
+ setBy?: string | undefined;
395
+ } | {
396
+ type: "contactEmail";
397
+ email: string;
398
+ updatedAt: string;
399
+ } | {
400
+ type: "geoCountry";
401
+ country: string;
402
+ updatedAt: string;
403
+ } | {
404
+ type: "retentionDrip";
405
+ sent: {
406
+ [x: string]: string;
407
+ };
408
+ updatedAt: string;
409
+ } | {
410
+ type: "onboarding";
411
+ completedAt: string;
412
+ } | {
413
+ type: "kyc";
414
+ cardAt?: string | undefined;
415
+ } | {
416
+ type: "defaultHandle";
417
+ ownerHandle: string;
418
+ })[];
419
+ updated: string;
420
+ created: string;
421
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
422
+ type: "vibes-diy.cli.skills";
313
423
  }, {
314
- type: "vibes-diy.cli.developer-res";
315
- op: "add" | "ls" | "rm";
316
- ownerHandle: string;
317
- appSlug: string;
318
- items: {
319
- devHandle: string;
320
- devUserId?: string | undefined;
321
- state: "active" | "revoked";
322
- updated: string;
323
- created?: string | undefined;
424
+ type: "vibes-diy.cli.res-skills-list";
425
+ skills: {
426
+ name: string;
427
+ description: string;
324
428
  }[];
429
+ } | {
430
+ type: "vibes-diy.cli.res-skill-content";
431
+ name: string;
432
+ content: string;
325
433
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
326
434
  type: "use-vibes.cli.themes";
327
435
  }, {
@@ -334,11 +442,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
334
442
  type: "use-vibes.cli.res-theme-content";
335
443
  slug: string;
336
444
  content: string;
337
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
338
- type: "vibes-diy.cli.system";
339
- }, {
340
- type: "vibes-diy.cli.res-system";
341
- systemPrompt: string;
342
445
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
343
446
  type: "vibes-diy.cli.push";
344
447
  mode: string;
@@ -385,6 +488,7 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
385
488
  } | undefined;
386
489
  entryPoint?: boolean | undefined;
387
490
  size: number;
491
+ kind?: "asset" | undefined;
388
492
  }[];
389
493
  } | {
390
494
  type: "vibes.diy.res-error";
@@ -428,23 +532,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
428
532
  message: string;
429
533
  code: "from-carry-failed";
430
534
  };
431
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
432
- type: "vibes-diy.cli.remix";
433
- srcUserSlug: string;
434
- srcAppSlug: string;
435
- dstOwnerHandle?: string | undefined;
436
- dstAppSlug?: string | undefined;
437
- published: boolean;
438
- settingsOnly: boolean;
439
- apiUrl: string;
440
- }, {
441
- type: "vibes-diy.cli.res-remix";
442
- ownerHandle: string;
443
- appSlug: string;
444
- url: string;
445
- carried?: string[] | undefined;
446
- skippedPresent?: string[] | undefined;
447
- chatId?: string | undefined;
448
535
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
449
536
  type: "vibes-diy.cli.claim-handle";
450
537
  apiUrl: string;
@@ -456,111 +543,26 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
456
543
  defaultHandleSet?: boolean | undefined;
457
544
  suggestions: string[];
458
545
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
459
- type: "vibes-diy.cli.put-asset";
460
- file: string;
461
- appSlug: string;
462
- ownerHandle: string;
463
- apiUrl: string;
464
- mimeType: string;
465
- verifyFetch: boolean;
466
- }, {
467
- type: "vibes-diy.cli.res-put-asset";
468
- cid: string;
469
- getURL: string;
470
- size: number;
471
- uploadId: string;
472
- verified?: boolean | undefined;
473
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
474
- type: "vibes-diy.cli.generate";
475
- prompt: string;
546
+ type: "vibes-diy.cli.app-chats";
476
547
  appSlug: string;
477
548
  ownerHandle: string;
478
- instantJoin?: boolean | undefined;
479
- noAccessFn?: boolean | undefined;
480
- verbose: boolean;
549
+ chatId?: string | undefined;
481
550
  apiUrl: string;
482
- focusPath?: string | undefined;
483
- model?: string | undefined;
484
- apiKey?: string | undefined;
485
551
  }, {
486
- type: "vibes-diy.cli.res-generate";
487
- appSlug: string;
488
- ownerHandle: string;
489
- url: string;
490
- directory: string;
491
- } | {
492
- appSlug: string;
493
- ownerHandle: string;
494
- mode: "dev" | "production";
495
- fsId: string;
496
- type: "vibes.diy.res-ensure-app-slug";
497
- env: Record<string, string>;
498
- fileSystem: {
499
- fileName: string;
500
- mimeType: string;
501
- assetId: string;
502
- assetURI: string;
503
- transform?: {
504
- type: "jsx-to-js";
505
- transformedAssetId: string;
506
- } | {
507
- type: "imports";
508
- importMapAssetId: string;
509
- } | {
510
- type: "import-map";
511
- fromAssetIds: string[];
512
- } | {
513
- type: "transformed";
514
- action: "jsx-to-js";
515
- transformedAssetId: string;
516
- } | {
517
- type: "tailwind-css";
518
- } | undefined;
519
- entryPoint?: boolean | undefined;
520
- size: number;
552
+ type: "vibes-diy.cli.res-app-chats-list";
553
+ items: {
554
+ chatId: string;
555
+ appSlug: string;
556
+ ownerHandle: string;
557
+ created: string;
558
+ userHandle?: string | undefined;
521
559
  }[];
522
560
  } | {
523
- type: "vibes.diy.res-error";
524
- error: {
525
- message: string;
526
- code: "require-login";
527
- };
528
- } | {
529
- type: "vibes.diy.res-error";
530
- error: {
531
- message: string;
532
- code: "user-slug-invalid";
533
- };
534
- } | {
535
- type: "vibes.diy.res-error";
536
- error: {
537
- message: string;
538
- code: "app-slug-invalid";
539
- };
540
- } | {
541
- type: "vibes.diy.res-error";
542
- error: {
543
- message: string;
544
- code: "max-app-slugs-reached";
545
- };
546
- } | {
547
- type: "vibes.diy.res-error";
548
- error: {
549
- message: string;
550
- code: "handle-required";
551
- };
552
- } | {
553
- type: "vibes.diy.res-error";
554
- error: {
555
- message: string;
556
- code: "from-not-owned";
557
- };
558
- } | {
559
- type: "vibes.diy.res-error";
560
- error: {
561
- message: string;
562
- code: "from-carry-failed";
563
- };
561
+ type: "vibes-diy.cli.res-app-chats-detail";
562
+ chatId: string;
563
+ ownerHandle?: string | undefined;
564
+ appSlug?: string | undefined;
565
+ output: string;
564
566
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
565
567
  type: "vibes-diy.cli.codegen-log";
566
568
  appSlug: string;
@@ -639,6 +641,7 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
639
641
  } | undefined;
640
642
  entryPoint?: boolean | undefined;
641
643
  size: number;
644
+ kind?: "asset" | undefined;
642
645
  }[];
643
646
  } | {
644
647
  type: "vibes.diy.res-error";
@@ -690,23 +693,22 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
690
693
  directory: string;
691
694
  restyled?: boolean | undefined;
692
695
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
693
- type: "vibes-diy.cli.pull";
694
- appSlug: string;
695
- ownerHandle: string;
696
- dir: string;
696
+ type: "vibes-diy.cli.list";
697
697
  apiUrl: string;
698
- fsId?: string | undefined;
699
- published: boolean;
700
- draft: boolean;
701
- version?: string | undefined;
702
698
  }, {
703
- type: "vibes-diy.cli.res-pull";
704
- appSlug: string;
705
- ownerHandle: string;
706
- directory: string;
707
- files: {
708
- name: string;
709
- size: number;
699
+ type: "vibes-diy.cli.res-list";
700
+ items: {
701
+ ownerHandle: string;
702
+ appSlug: string;
703
+ updated: string;
704
+ title?: string | undefined;
705
+ icon?: {
706
+ cid: string;
707
+ mime: string;
708
+ } | undefined;
709
+ pinnedAt?: string | undefined;
710
+ neverPublished?: boolean | undefined;
711
+ unpublishedAt?: string | undefined;
710
712
  }[];
711
713
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
712
714
  type: "vibes-diy.cli.versions";
@@ -724,6 +726,24 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
724
726
  created: string;
725
727
  published: boolean;
726
728
  }[];
729
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
730
+ type: "vibes-diy.cli.assets-ls";
731
+ appSlug: string;
732
+ ownerHandle: string;
733
+ apiUrl: string;
734
+ published: boolean;
735
+ }, {
736
+ type: "vibes-diy.cli.res-assets-ls";
737
+ appSlug: string;
738
+ ownerHandle: string;
739
+ fsId: string;
740
+ items: {
741
+ path: string;
742
+ mime: string;
743
+ size: number;
744
+ cid: string;
745
+ safety: "error" | "high" | "low" | "pending" | "unknown";
746
+ }[];
727
747
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
728
748
  type: "vibes-diy.cli.set-unpublish";
729
749
  appSlug: string;
@@ -825,19 +845,19 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
825
845
  type: "vibes-diy.cli.db.list-res";
826
846
  dbNames: string[];
827
847
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
828
- type: "vibes-diy.cli.db.put";
848
+ type: "vibes-diy.cli.db.get";
829
849
  apiUrl: string;
830
850
  appSlug: string;
831
851
  ownerHandle: string;
832
852
  dbName: string;
833
- docJson: string;
834
853
  docId: string;
835
854
  admin: boolean;
836
855
  actingHandle: string;
837
856
  }, {
838
- type: "vibes-diy.cli.db.put-res";
839
- id: string;
840
- ok: true;
857
+ type: "vibes-diy.cli.db.get-res";
858
+ doc: {
859
+ [x: string]: unknown;
860
+ };
841
861
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
842
862
  type: "vibes-diy.cli.db.del";
843
863
  apiUrl: string;
@@ -870,5 +890,11 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
870
890
  docs: {
871
891
  [x: string]: unknown;
872
892
  }[];
873
- }>)[];
893
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
894
+ type: "vibes-diy.cli.db.subscribe";
895
+ apiUrl: string;
896
+ appSlug: string;
897
+ ownerHandle: string;
898
+ dbName: string;
899
+ }, never>)[];
874
900
  export declare function cmdTsEvento(): import("@adviser/cement").Evento;