vibes-diy 14.3.193 → 14.3.195

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,335 +2,174 @@ 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";
6
- apiUrl: string;
7
- setDefaultHandle?: string | undefined;
8
- }, {
9
- type: "vibes.diy.res-ensure-user-settings";
10
- userId: string;
11
- settings: ({
12
- type: "notifications";
13
- buildComplete?: boolean | undefined;
14
- buildFailed?: boolean | undefined;
15
- vibePublished?: boolean | undefined;
16
- commentPosted?: boolean | undefined;
17
- requestApproved?: boolean | undefined;
18
- requestRevoked?: boolean | undefined;
19
- vibeRemixed?: boolean | undefined;
20
- dmReceived?: boolean | undefined;
21
- memberJoined?: boolean | undefined;
22
- accessRequested?: boolean | undefined;
23
- emailDigest?: boolean | undefined;
24
- retentionEmail?: boolean | undefined;
25
- followRequest?: boolean | undefined;
26
- followerAdded?: boolean | undefined;
27
- followApproved?: boolean | undefined;
28
- appMessage?: boolean | undefined;
29
- connectionExpiring?: boolean | undefined;
30
- assetBlocked?: boolean | undefined;
31
- assetCheckFailed?: boolean | undefined;
32
- emailInstant?: boolean | undefined;
33
- mutes?: {
34
- vibes?: string[] | undefined;
35
- handles?: string[] | undefined;
36
- } | undefined;
37
- vibeTypes?: {
38
- vibe: string;
39
- buildComplete?: boolean | undefined;
40
- buildFailed?: boolean | undefined;
41
- vibePublished?: boolean | undefined;
42
- commentPosted?: boolean | undefined;
43
- requestApproved?: boolean | undefined;
44
- requestRevoked?: boolean | undefined;
45
- vibeRemixed?: boolean | undefined;
46
- memberJoined?: boolean | undefined;
47
- accessRequested?: boolean | undefined;
48
- appMessage?: boolean | undefined;
49
- assetBlocked?: boolean | undefined;
50
- assetCheckFailed?: boolean | undefined;
51
- }[] | undefined;
52
- } | {
53
- type: "sharing";
54
- grants: {
55
- grant: "allow" | "deny";
56
- appSlug: string;
57
- ownerHandle: string;
58
- dbName: string;
59
- }[];
60
- } | {
61
- type: "modelDefaults";
62
- codegen?: {
63
- model?: {
64
- id: string;
65
- name: string;
66
- description: string;
67
- featured?: boolean | undefined;
68
- preSelected?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
69
- fallbackFor?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
70
- supports?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
71
- offered?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
72
- imageInput?: boolean | undefined;
73
- } | undefined;
74
- apiKey?: string | undefined;
75
- } | undefined;
76
- agent?: {
77
- model?: {
78
- id: string;
79
- name: string;
80
- description: string;
81
- featured?: boolean | undefined;
82
- preSelected?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
83
- fallbackFor?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
84
- supports?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
85
- offered?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
86
- imageInput?: boolean | undefined;
87
- } | undefined;
88
- apiKey?: string | undefined;
89
- } | undefined;
90
- subagent?: {
91
- model?: {
92
- id: string;
93
- name: string;
94
- description: string;
95
- featured?: boolean | undefined;
96
- preSelected?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
97
- fallbackFor?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
98
- supports?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
99
- offered?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
100
- imageInput?: boolean | undefined;
101
- } | undefined;
102
- apiKey?: string | undefined;
103
- } | undefined;
104
- runtime?: {
105
- model?: {
106
- id: string;
107
- name: string;
108
- description: string;
109
- featured?: boolean | undefined;
110
- preSelected?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
111
- fallbackFor?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
112
- supports?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
113
- offered?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
114
- imageInput?: boolean | undefined;
115
- } | undefined;
116
- apiKey?: string | undefined;
117
- } | undefined;
118
- img?: {
119
- model?: {
120
- id: string;
121
- name: string;
122
- description: string;
123
- featured?: boolean | undefined;
124
- preSelected?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
125
- fallbackFor?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
126
- supports?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
127
- offered?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
128
- imageInput?: boolean | undefined;
129
- } | undefined;
130
- apiKey?: string | undefined;
131
- } | undefined;
132
- instantBuild?: boolean | undefined;
133
- instantRepairModel?: string | undefined;
134
- chat?: {
135
- model?: {
136
- id: string;
137
- name: string;
138
- description: string;
139
- featured?: boolean | undefined;
140
- preSelected?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
141
- fallbackFor?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
142
- supports?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
143
- offered?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
144
- imageInput?: boolean | undefined;
145
- } | undefined;
146
- apiKey?: string | undefined;
147
- } | undefined;
148
- app?: {
149
- model?: {
150
- id: string;
151
- name: string;
152
- description: string;
153
- featured?: boolean | undefined;
154
- preSelected?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
155
- fallbackFor?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
156
- supports?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
157
- offered?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
158
- imageInput?: boolean | undefined;
159
- } | undefined;
160
- apiKey?: string | undefined;
161
- } | undefined;
162
- } | {
163
- type: "defaultHandle";
164
- ownerHandle: string;
165
- } | {
166
- type: "profile";
167
- avatarCid?: string | undefined;
168
- displayName?: string | undefined;
169
- codeMode?: boolean | undefined;
170
- } | {
171
- type: "egressStatus";
172
- status: "blessed" | "blocked";
173
- updatedAt: string;
174
- setBy?: string | undefined;
175
- } | {
176
- type: "contactEmail";
177
- email: string;
178
- updatedAt: string;
179
- verified?: boolean | undefined;
180
- } | {
181
- type: "geoCountry";
182
- country: string;
183
- updatedAt: string;
184
- } | {
185
- type: "retentionDrip";
186
- sent: {
187
- [x: string]: string;
188
- };
189
- updatedAt: string;
190
- } | {
191
- type: "onboarding";
192
- completedAt: string;
193
- } | {
194
- type: "kyc";
195
- cardAt?: string | undefined;
196
- } | {
197
- type: "metaClickId";
198
- fbc: string;
199
- clickedAt: number;
200
- updatedAt: string;
201
- userAgent?: string | undefined;
202
- } | {
203
- type: "lastVisit";
204
- day: string;
205
- } | {
206
- type: "goldDripPosted";
207
- postedAt: string;
208
- ownerHandle: string;
209
- appSlug: string;
210
- } | {
211
- type: "capiLeadCredited";
212
- rungs: string[];
213
- updatedAt: string;
214
- returnDay?: string | undefined;
215
- claimId?: string | undefined;
216
- } | {
217
- type: "defaultHandle";
218
- ownerHandle: string;
219
- })[];
220
- updated: string;
221
- created: string;
222
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
223
- type: "use-vibes.cli.themes";
5
+ type: "vibes-diy.cli.variety";
224
6
  }, {
225
- type: "use-vibes.cli.res-themes-list";
226
- themes: {
227
- slug: string;
228
- name: string;
7
+ type: "vibes-diy.cli.res-variety-list";
8
+ grammar: string;
9
+ flourishCount: number;
10
+ archetypes: {
11
+ id: string;
12
+ guidance: string;
13
+ }[];
14
+ flourishes: {
15
+ id: string;
16
+ guidance: string;
229
17
  }[];
230
- } | {
231
- type: "use-vibes.cli.res-theme-content";
232
- slug: string;
233
- content: string;
234
18
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
235
- type: "vibes-diy.cli.db.get";
236
- apiUrl: string;
19
+ type: "vibes-diy.cli.generate";
20
+ prompt: string;
237
21
  appSlug: string;
238
22
  ownerHandle: string;
239
- dbName: string;
240
- docId: string;
241
- admin: boolean;
242
- actingHandle: string;
243
- }, {
244
- type: "vibes-diy.cli.db.get-res";
245
- doc: {
246
- [x: string]: unknown;
247
- };
248
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
249
- type: "vibes-diy.cli.db.del";
23
+ instantJoin?: boolean | undefined;
24
+ noAccessFn?: boolean | undefined;
25
+ privateMode?: boolean | undefined;
26
+ verbose: boolean;
250
27
  apiUrl: string;
251
- appSlug: string;
252
- ownerHandle: string;
253
- dbName: string;
254
- docId: string;
255
- admin: boolean;
256
- actingHandle: string;
28
+ focusPath?: string | undefined;
29
+ model?: string | undefined;
30
+ builderModel?: string | undefined;
31
+ apiKey?: string | undefined;
32
+ variety?: string | undefined;
33
+ record?: string | undefined;
34
+ style?: string | undefined;
35
+ fastPass?: boolean | undefined;
257
36
  }, {
258
- type: "vibes-diy.cli.db.del-res";
259
- id: string;
260
- ok: true;
261
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
262
- type: "vibes-diy.cli.db.seed";
263
- action: "add" | "remove";
264
- apiUrl: string;
265
37
  appSlug: string;
266
38
  ownerHandle: string;
267
- }, {
268
- type: "vibes-diy.cli.db.seed-res";
269
- action: "add" | "remove";
39
+ mode: "dev" | "production";
40
+ fsId: string;
41
+ type: "vibes.diy.res-ensure-app-slug";
42
+ env: Record<string, string>;
43
+ fileSystem: {
44
+ fileName: string;
45
+ mimeType: string;
46
+ assetId: string;
47
+ assetURI: string;
48
+ transform?: {
49
+ type: "jsx-to-js";
50
+ transformedAssetId: string;
51
+ } | {
52
+ type: "imports";
53
+ importMapAssetId: string;
54
+ } | {
55
+ type: "import-map";
56
+ fromAssetIds: string[];
57
+ } | {
58
+ type: "transformed";
59
+ action: "jsx-to-js";
60
+ transformedAssetId: string;
61
+ } | {
62
+ type: "tailwind-css";
63
+ } | undefined;
64
+ entryPoint?: boolean | undefined;
65
+ size: number;
66
+ kind?: "asset" | undefined;
67
+ uploadId?: string | undefined;
68
+ }[];
69
+ } | {
70
+ type: "vibes.diy.res-error";
71
+ error: {
72
+ message: string;
73
+ code: "require-login";
74
+ };
75
+ } | {
76
+ type: "vibes.diy.res-error";
77
+ error: {
78
+ message: string;
79
+ code: "user-slug-invalid";
80
+ };
81
+ } | {
82
+ type: "vibes.diy.res-error";
83
+ error: {
84
+ message: string;
85
+ code: "app-slug-invalid";
86
+ };
87
+ } | {
88
+ type: "vibes.diy.res-error";
89
+ error: {
90
+ message: string;
91
+ code: "max-app-slugs-reached";
92
+ };
93
+ } | {
94
+ type: "vibes.diy.res-error";
95
+ error: {
96
+ message: string;
97
+ code: "handle-required";
98
+ };
99
+ } | {
100
+ type: "vibes.diy.res-error";
101
+ error: {
102
+ message: string;
103
+ code: "from-not-owned";
104
+ };
105
+ } | {
106
+ type: "vibes.diy.res-error";
107
+ error: {
108
+ message: string;
109
+ code: "from-carry-failed";
110
+ };
111
+ } | {
112
+ type: "vibes.diy.res-error";
113
+ error: {
114
+ message: string;
115
+ code: "auto-enhance-off";
116
+ };
117
+ } | {
118
+ type: "vibes-diy.cli.res-generate";
270
119
  appSlug: string;
271
120
  ownerHandle: string;
272
- seedFile: "absent" | "invalid" | "present" | "unknown";
273
- changed: number;
274
- skipped: number;
275
- failed: number;
276
- perDb: {
277
- dbName: string;
278
- changed: number;
279
- skipped: number;
280
- failed: number;
281
- }[];
121
+ url: string;
122
+ directory: string;
123
+ release?: "not-visible" | "published" | "version-locked" | undefined;
124
+ turns?: number | undefined;
125
+ publish?: "kept-private-no-access-fn" | "private" | "published" | undefined;
126
+ posture?: "gated" | "open" | "private" | undefined;
282
127
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
283
- type: "vibes-diy.cli.doctor";
284
- apiUrl: string;
285
- }, {
286
- type: "vibes-diy.cli.res-doctor";
287
- cliVersion: string;
288
- node: string;
289
- keybagPath: string;
290
- device: string;
291
- deviceOk: boolean;
292
- fingerprint?: string | undefined;
293
- certExpires?: string | undefined;
128
+ type: "vibes-diy.cli.db.query";
294
129
  apiUrl: string;
295
- wsUrl: string;
296
- proxy: string;
297
- handshake: {
298
- ok: boolean;
299
- detail: string;
300
- ms?: number | undefined;
301
- };
302
- auth?: {
303
- ok: boolean;
304
- detail: string;
305
- ms?: number | undefined;
306
- } | undefined;
130
+ appSlug: string;
131
+ ownerHandle: string;
132
+ dbName: string;
133
+ field: string;
134
+ key: string;
135
+ prefix: string;
136
+ range: string;
137
+ limit: number;
138
+ descending: boolean;
139
+ admin: boolean;
140
+ actingHandle: string;
141
+ }, {
142
+ type: "vibes-diy.cli.db.query-res";
143
+ docs: {
144
+ [x: string]: unknown;
145
+ }[];
307
146
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
308
- type: "vibes-diy.cli.app-rearm";
147
+ type: "vibes-diy.cli.versions";
309
148
  appSlug: string;
310
149
  ownerHandle: string;
311
150
  apiUrl: string;
312
151
  }, {
313
- type: "vibes-diy.cli.res-app-rearm";
152
+ type: "vibes-diy.cli.res-versions";
314
153
  appSlug: string;
315
154
  ownerHandle: string;
316
- state: "dead" | "healthy" | "overdue" | "running" | "unscheduled";
317
- intervalMs: number | null;
318
- nextAlarmAt: string | null;
155
+ items: {
156
+ fsId: string;
157
+ mode: "dev" | "production";
158
+ releaseSeq: number;
159
+ created: string;
160
+ published: boolean;
161
+ }[];
319
162
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
320
- type: "vibes-diy.cli.app-screenshot";
163
+ type: "vibes-diy.cli.app-schedule-off";
321
164
  appSlug: string;
322
165
  ownerHandle: string;
323
- more: string[];
324
166
  apiUrl: string;
325
167
  }, {
326
- type: "vibes-diy.cli.res-app-screenshot";
327
- results: {
328
- ownerHandle: string;
329
- appSlug: string;
330
- fsId: string;
331
- enqueued: boolean;
332
- error?: string | undefined;
333
- }[];
168
+ type: "vibes-diy.cli.res-app-schedule-off";
169
+ appSlug: string;
170
+ ownerHandle: string;
171
+ state: "dead" | "healthy" | "overdue" | "running" | "unscheduled";
172
+ intervalMs: number | null;
334
173
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
335
174
  type: "vibes-diy.cli.app-status";
336
175
  appSlug: string;
@@ -353,16 +192,17 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
353
192
  overdueMs: number;
354
193
  healed: boolean;
355
194
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
356
- type: "vibes-diy.cli.app-schedule-off";
195
+ type: "vibes-diy.cli.app-rearm";
357
196
  appSlug: string;
358
197
  ownerHandle: string;
359
198
  apiUrl: string;
360
199
  }, {
361
- type: "vibes-diy.cli.res-app-schedule-off";
200
+ type: "vibes-diy.cli.res-app-rearm";
362
201
  appSlug: string;
363
202
  ownerHandle: string;
364
203
  state: "dead" | "healthy" | "overdue" | "running" | "unscheduled";
365
204
  intervalMs: number | null;
205
+ nextAlarmAt: string | null;
366
206
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
367
207
  type: "vibes-diy.cli.app-logs";
368
208
  appSlug: string;
@@ -418,6 +258,21 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
418
258
  gold?: boolean | undefined;
419
259
  kind?: "access" | "connect" | "edit" | "pay" | "publish" | "seed" | undefined;
420
260
  }[] | undefined;
261
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
262
+ type: "vibes-diy.cli.app-screenshot";
263
+ appSlug: string;
264
+ ownerHandle: string;
265
+ more: string[];
266
+ apiUrl: string;
267
+ }, {
268
+ type: "vibes-diy.cli.res-app-screenshot";
269
+ results: {
270
+ ownerHandle: string;
271
+ appSlug: string;
272
+ fsId: string;
273
+ enqueued: boolean;
274
+ error?: string | undefined;
275
+ }[];
421
276
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
422
277
  type: "vibes-diy.cli.app-look";
423
278
  op: "get" | "set";
@@ -428,6 +283,17 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
428
283
  style: string;
429
284
  variety: string;
430
285
  relayout: boolean;
286
+ font: string;
287
+ hueLead: string;
288
+ hueUp: string;
289
+ hueDown: string;
290
+ pinGap: string;
291
+ pad: string;
292
+ pins: string[];
293
+ styleJson: string;
294
+ draft: boolean;
295
+ publish: boolean;
296
+ revertDraft: boolean;
431
297
  }, {
432
298
  type: "vibes-diy.cli.res-app-look";
433
299
  op: "get" | "set";
@@ -437,6 +303,78 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
437
303
  theme: string;
438
304
  colorTheme?: string | undefined;
439
305
  style: string;
306
+ font?: string | undefined;
307
+ dials?: {
308
+ lead: number;
309
+ up: number;
310
+ upNudge: number;
311
+ down: number;
312
+ downNudge: number;
313
+ gap: number;
314
+ gapPinned: boolean;
315
+ locked: boolean;
316
+ } | undefined;
317
+ pad?: {
318
+ x: number;
319
+ y: number;
320
+ } | undefined;
321
+ pins?: Record<string, string> | undefined;
322
+ colourwayEdited: boolean;
323
+ draftPending: boolean;
324
+ styleBlob?: {
325
+ palette?: {
326
+ hues: [number, ({
327
+ mode: "derived";
328
+ } | {
329
+ mode: "pinned";
330
+ h: number;
331
+ } | undefined)?, ({
332
+ mode: "derived";
333
+ } | {
334
+ mode: "pinned";
335
+ h: number;
336
+ } | undefined)?];
337
+ character: {
338
+ chroma: number;
339
+ contrast: number;
340
+ neutralTint: number;
341
+ surfaceLift: number;
342
+ fillLevel: number;
343
+ scheme: "analogous" | "complementary" | "split-complementary" | "triadic";
344
+ paper?: number | undefined;
345
+ fillLift?: number | undefined;
346
+ };
347
+ pouf?: {
348
+ lead: number;
349
+ up?: number | undefined;
350
+ down?: number | undefined;
351
+ gap?: number | undefined;
352
+ locked?: "home" | undefined;
353
+ } | undefined;
354
+ } | undefined;
355
+ font?: string | undefined;
356
+ ornament?: {
357
+ pad: {
358
+ x: number;
359
+ y: number;
360
+ };
361
+ pins?: {
362
+ spacing?: string | undefined;
363
+ "font-size-base"?: string | undefined;
364
+ radius?: string | undefined;
365
+ "radius-sm"?: string | undefined;
366
+ "radius-lg"?: string | undefined;
367
+ "border-width"?: string | undefined;
368
+ shadow?: string | undefined;
369
+ "shadow-sm"?: string | undefined;
370
+ "shadow-lg"?: string | undefined;
371
+ "letter-spacing"?: string | undefined;
372
+ "letter-spacing-wide"?: string | undefined;
373
+ "font-weight"?: string | undefined;
374
+ "text-transform"?: string | undefined;
375
+ } | undefined;
376
+ } | undefined;
377
+ } | undefined;
440
378
  variety?: {
441
379
  archetype: string;
442
380
  flourishes: string[];
@@ -446,6 +384,10 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
446
384
  wroteTheme: boolean;
447
385
  wroteVariety: boolean;
448
386
  clearedVariety: boolean;
387
+ wroteStyle: boolean;
388
+ wroteDraft: boolean;
389
+ published: boolean;
390
+ revertedDraft: boolean;
449
391
  relayout: boolean;
450
392
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
451
393
  type: "vibes-diy.cli.app-anon-write";
@@ -497,6 +439,224 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
497
439
  updated: string;
498
440
  created?: string | undefined;
499
441
  }[];
442
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
443
+ type: "vibes-diy.cli.user-settings";
444
+ apiUrl: string;
445
+ setDefaultHandle?: string | undefined;
446
+ }, {
447
+ type: "vibes.diy.res-ensure-user-settings";
448
+ userId: string;
449
+ settings: ({
450
+ type: "sharing";
451
+ grants: {
452
+ grant: "allow" | "deny";
453
+ appSlug: string;
454
+ ownerHandle: string;
455
+ dbName: string;
456
+ }[];
457
+ } | {
458
+ type: "modelDefaults";
459
+ codegen?: {
460
+ model?: {
461
+ id: string;
462
+ name: string;
463
+ description: string;
464
+ featured?: boolean | undefined;
465
+ preSelected?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
466
+ fallbackFor?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
467
+ supports?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
468
+ offered?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
469
+ imageInput?: boolean | undefined;
470
+ } | undefined;
471
+ apiKey?: string | undefined;
472
+ } | undefined;
473
+ agent?: {
474
+ model?: {
475
+ id: string;
476
+ name: string;
477
+ description: string;
478
+ featured?: boolean | undefined;
479
+ preSelected?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
480
+ fallbackFor?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
481
+ supports?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
482
+ offered?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
483
+ imageInput?: boolean | undefined;
484
+ } | undefined;
485
+ apiKey?: string | undefined;
486
+ } | undefined;
487
+ subagent?: {
488
+ model?: {
489
+ id: string;
490
+ name: string;
491
+ description: string;
492
+ featured?: boolean | undefined;
493
+ preSelected?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
494
+ fallbackFor?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
495
+ supports?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
496
+ offered?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
497
+ imageInput?: boolean | undefined;
498
+ } | undefined;
499
+ apiKey?: string | undefined;
500
+ } | undefined;
501
+ runtime?: {
502
+ model?: {
503
+ id: string;
504
+ name: string;
505
+ description: string;
506
+ featured?: boolean | undefined;
507
+ preSelected?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
508
+ fallbackFor?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
509
+ supports?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
510
+ offered?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
511
+ imageInput?: boolean | undefined;
512
+ } | undefined;
513
+ apiKey?: string | undefined;
514
+ } | undefined;
515
+ img?: {
516
+ model?: {
517
+ id: string;
518
+ name: string;
519
+ description: string;
520
+ featured?: boolean | undefined;
521
+ preSelected?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
522
+ fallbackFor?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
523
+ supports?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
524
+ offered?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
525
+ imageInput?: boolean | undefined;
526
+ } | undefined;
527
+ apiKey?: string | undefined;
528
+ } | undefined;
529
+ instantBuild?: boolean | undefined;
530
+ instantRepairModel?: string | undefined;
531
+ chat?: {
532
+ model?: {
533
+ id: string;
534
+ name: string;
535
+ description: string;
536
+ featured?: boolean | undefined;
537
+ preSelected?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
538
+ fallbackFor?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
539
+ supports?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
540
+ offered?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
541
+ imageInput?: boolean | undefined;
542
+ } | undefined;
543
+ apiKey?: string | undefined;
544
+ } | undefined;
545
+ app?: {
546
+ model?: {
547
+ id: string;
548
+ name: string;
549
+ description: string;
550
+ featured?: boolean | undefined;
551
+ preSelected?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
552
+ fallbackFor?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
553
+ supports?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
554
+ offered?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
555
+ imageInput?: boolean | undefined;
556
+ } | undefined;
557
+ apiKey?: string | undefined;
558
+ } | undefined;
559
+ } | {
560
+ type: "defaultHandle";
561
+ ownerHandle: string;
562
+ } | {
563
+ type: "profile";
564
+ avatarCid?: string | undefined;
565
+ displayName?: string | undefined;
566
+ codeMode?: boolean | undefined;
567
+ } | {
568
+ type: "notifications";
569
+ buildComplete?: boolean | undefined;
570
+ buildFailed?: boolean | undefined;
571
+ vibePublished?: boolean | undefined;
572
+ commentPosted?: boolean | undefined;
573
+ requestApproved?: boolean | undefined;
574
+ requestRevoked?: boolean | undefined;
575
+ vibeRemixed?: boolean | undefined;
576
+ dmReceived?: boolean | undefined;
577
+ memberJoined?: boolean | undefined;
578
+ accessRequested?: boolean | undefined;
579
+ emailDigest?: boolean | undefined;
580
+ retentionEmail?: boolean | undefined;
581
+ followRequest?: boolean | undefined;
582
+ followerAdded?: boolean | undefined;
583
+ followApproved?: boolean | undefined;
584
+ appMessage?: boolean | undefined;
585
+ connectionExpiring?: boolean | undefined;
586
+ assetBlocked?: boolean | undefined;
587
+ assetCheckFailed?: boolean | undefined;
588
+ emailInstant?: boolean | undefined;
589
+ mutes?: {
590
+ vibes?: string[] | undefined;
591
+ handles?: string[] | undefined;
592
+ } | undefined;
593
+ vibeTypes?: {
594
+ vibe: string;
595
+ buildComplete?: boolean | undefined;
596
+ buildFailed?: boolean | undefined;
597
+ vibePublished?: boolean | undefined;
598
+ commentPosted?: boolean | undefined;
599
+ requestApproved?: boolean | undefined;
600
+ requestRevoked?: boolean | undefined;
601
+ vibeRemixed?: boolean | undefined;
602
+ memberJoined?: boolean | undefined;
603
+ accessRequested?: boolean | undefined;
604
+ appMessage?: boolean | undefined;
605
+ assetBlocked?: boolean | undefined;
606
+ assetCheckFailed?: boolean | undefined;
607
+ }[] | undefined;
608
+ } | {
609
+ type: "egressStatus";
610
+ status: "blessed" | "blocked";
611
+ updatedAt: string;
612
+ setBy?: string | undefined;
613
+ } | {
614
+ type: "contactEmail";
615
+ email: string;
616
+ updatedAt: string;
617
+ verified?: boolean | undefined;
618
+ } | {
619
+ type: "onboarding";
620
+ completedAt: string;
621
+ } | {
622
+ type: "geoCountry";
623
+ country: string;
624
+ updatedAt: string;
625
+ } | {
626
+ type: "retentionDrip";
627
+ sent: {
628
+ [x: string]: string;
629
+ };
630
+ updatedAt: string;
631
+ } | {
632
+ type: "kyc";
633
+ cardAt?: string | undefined;
634
+ } | {
635
+ type: "metaClickId";
636
+ fbc: string;
637
+ clickedAt: number;
638
+ updatedAt: string;
639
+ userAgent?: string | undefined;
640
+ } | {
641
+ type: "lastVisit";
642
+ day: string;
643
+ } | {
644
+ type: "goldDripPosted";
645
+ postedAt: string;
646
+ ownerHandle: string;
647
+ appSlug: string;
648
+ } | {
649
+ type: "capiLeadCredited";
650
+ rungs: string[];
651
+ updatedAt: string;
652
+ returnDay?: string | undefined;
653
+ claimId?: string | undefined;
654
+ } | {
655
+ type: "defaultHandle";
656
+ ownerHandle: string;
657
+ })[];
658
+ updated: string;
659
+ created: string;
500
660
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
501
661
  type: "vibes-diy.cli.skills";
502
662
  }, {
@@ -510,19 +670,17 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
510
670
  name: string;
511
671
  content: string;
512
672
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
513
- type: "vibes-diy.cli.variety";
673
+ type: "use-vibes.cli.themes";
514
674
  }, {
515
- type: "vibes-diy.cli.res-variety-list";
516
- grammar: string;
517
- flourishCount: number;
518
- archetypes: {
519
- id: string;
520
- guidance: string;
521
- }[];
522
- flourishes: {
523
- id: string;
524
- guidance: string;
675
+ type: "use-vibes.cli.res-themes-list";
676
+ themes: {
677
+ slug: string;
678
+ name: string;
525
679
  }[];
680
+ } | {
681
+ type: "use-vibes.cli.res-theme-content";
682
+ slug: string;
683
+ content: string;
526
684
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
527
685
  type: "vibes-diy.cli.system";
528
686
  }, {
@@ -669,115 +827,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
669
827
  size: number;
670
828
  uploadId: string;
671
829
  verified?: boolean | undefined;
672
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
673
- type: "vibes-diy.cli.generate";
674
- prompt: string;
675
- appSlug: string;
676
- ownerHandle: string;
677
- instantJoin?: boolean | undefined;
678
- noAccessFn?: boolean | undefined;
679
- privateMode?: boolean | undefined;
680
- verbose: boolean;
681
- apiUrl: string;
682
- focusPath?: string | undefined;
683
- model?: string | undefined;
684
- builderModel?: string | undefined;
685
- apiKey?: string | undefined;
686
- variety?: string | undefined;
687
- record?: string | undefined;
688
- style?: string | undefined;
689
- fastPass?: boolean | undefined;
690
- }, {
691
- appSlug: string;
692
- ownerHandle: string;
693
- mode: "dev" | "production";
694
- fsId: string;
695
- type: "vibes.diy.res-ensure-app-slug";
696
- env: Record<string, string>;
697
- fileSystem: {
698
- fileName: string;
699
- mimeType: string;
700
- assetId: string;
701
- assetURI: string;
702
- transform?: {
703
- type: "jsx-to-js";
704
- transformedAssetId: string;
705
- } | {
706
- type: "imports";
707
- importMapAssetId: string;
708
- } | {
709
- type: "import-map";
710
- fromAssetIds: string[];
711
- } | {
712
- type: "transformed";
713
- action: "jsx-to-js";
714
- transformedAssetId: string;
715
- } | {
716
- type: "tailwind-css";
717
- } | undefined;
718
- entryPoint?: boolean | undefined;
719
- size: number;
720
- kind?: "asset" | undefined;
721
- uploadId?: string | undefined;
722
- }[];
723
- } | {
724
- type: "vibes.diy.res-error";
725
- error: {
726
- message: string;
727
- code: "require-login";
728
- };
729
- } | {
730
- type: "vibes.diy.res-error";
731
- error: {
732
- message: string;
733
- code: "user-slug-invalid";
734
- };
735
- } | {
736
- type: "vibes.diy.res-error";
737
- error: {
738
- message: string;
739
- code: "app-slug-invalid";
740
- };
741
- } | {
742
- type: "vibes.diy.res-error";
743
- error: {
744
- message: string;
745
- code: "max-app-slugs-reached";
746
- };
747
- } | {
748
- type: "vibes.diy.res-error";
749
- error: {
750
- message: string;
751
- code: "handle-required";
752
- };
753
- } | {
754
- type: "vibes.diy.res-error";
755
- error: {
756
- message: string;
757
- code: "from-not-owned";
758
- };
759
- } | {
760
- type: "vibes.diy.res-error";
761
- error: {
762
- message: string;
763
- code: "from-carry-failed";
764
- };
765
- } | {
766
- type: "vibes.diy.res-error";
767
- error: {
768
- message: string;
769
- code: "auto-enhance-off";
770
- };
771
- } | {
772
- type: "vibes-diy.cli.res-generate";
773
- appSlug: string;
774
- ownerHandle: string;
775
- url: string;
776
- directory: string;
777
- release?: "not-visible" | "published" | "version-locked" | undefined;
778
- turns?: number | undefined;
779
- publish?: "kept-private-no-access-fn" | "private" | "published" | undefined;
780
- posture?: "gated" | "open" | "private" | undefined;
781
830
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
782
831
  type: "vibes-diy.cli.app-chats";
783
832
  appSlug: string;
@@ -954,6 +1003,31 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
954
1003
  neverPublished?: boolean | undefined;
955
1004
  unpublishedAt?: string | undefined;
956
1005
  }[];
1006
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1007
+ type: "vibes-diy.cli.doctor";
1008
+ apiUrl: string;
1009
+ }, {
1010
+ type: "vibes-diy.cli.res-doctor";
1011
+ cliVersion: string;
1012
+ node: string;
1013
+ keybagPath: string;
1014
+ device: string;
1015
+ deviceOk: boolean;
1016
+ fingerprint?: string | undefined;
1017
+ certExpires?: string | undefined;
1018
+ apiUrl: string;
1019
+ wsUrl: string;
1020
+ proxy: string;
1021
+ handshake: {
1022
+ ok: boolean;
1023
+ detail: string;
1024
+ ms?: number | undefined;
1025
+ };
1026
+ auth?: {
1027
+ ok: boolean;
1028
+ detail: string;
1029
+ ms?: number | undefined;
1030
+ } | undefined;
957
1031
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
958
1032
  type: "vibes-diy.cli.pull";
959
1033
  appSlug: string;
@@ -973,22 +1047,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
973
1047
  name: string;
974
1048
  size: number;
975
1049
  }[];
976
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
977
- type: "vibes-diy.cli.versions";
978
- appSlug: string;
979
- ownerHandle: string;
980
- apiUrl: string;
981
- }, {
982
- type: "vibes-diy.cli.res-versions";
983
- appSlug: string;
984
- ownerHandle: string;
985
- items: {
986
- fsId: string;
987
- mode: "dev" | "production";
988
- releaseSeq: number;
989
- created: string;
990
- published: boolean;
991
- }[];
992
1050
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
993
1051
  type: "vibes-diy.cli.assets-ls";
994
1052
  appSlug: string;
@@ -1109,6 +1167,20 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
1109
1167
  }, {
1110
1168
  type: "vibes-diy.cli.db.list-res";
1111
1169
  dbNames: string[];
1170
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1171
+ type: "vibes-diy.cli.db.get";
1172
+ apiUrl: string;
1173
+ appSlug: string;
1174
+ ownerHandle: string;
1175
+ dbName: string;
1176
+ docId: string;
1177
+ admin: boolean;
1178
+ actingHandle: string;
1179
+ }, {
1180
+ type: "vibes-diy.cli.db.get-res";
1181
+ doc: {
1182
+ [x: string]: unknown;
1183
+ };
1112
1184
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1113
1185
  type: "vibes-diy.cli.db.put";
1114
1186
  apiUrl: string;
@@ -1130,29 +1202,44 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
1130
1202
  uploadId: string;
1131
1203
  }[] | undefined;
1132
1204
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1133
- type: "vibes-diy.cli.db.query";
1205
+ type: "vibes-diy.cli.db.del";
1134
1206
  apiUrl: string;
1135
1207
  appSlug: string;
1136
1208
  ownerHandle: string;
1137
1209
  dbName: string;
1138
- field: string;
1139
- key: string;
1140
- prefix: string;
1141
- range: string;
1142
- limit: number;
1143
- descending: boolean;
1210
+ docId: string;
1144
1211
  admin: boolean;
1145
1212
  actingHandle: string;
1146
1213
  }, {
1147
- type: "vibes-diy.cli.db.query-res";
1148
- docs: {
1149
- [x: string]: unknown;
1150
- }[];
1214
+ type: "vibes-diy.cli.db.del-res";
1215
+ id: string;
1216
+ ok: true;
1151
1217
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1152
1218
  type: "vibes-diy.cli.db.subscribe";
1153
1219
  apiUrl: string;
1154
1220
  appSlug: string;
1155
1221
  ownerHandle: string;
1156
1222
  dbName: string;
1157
- }, never>)[];
1223
+ }, never> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1224
+ type: "vibes-diy.cli.db.seed";
1225
+ action: "add" | "remove";
1226
+ apiUrl: string;
1227
+ appSlug: string;
1228
+ ownerHandle: string;
1229
+ }, {
1230
+ type: "vibes-diy.cli.db.seed-res";
1231
+ action: "add" | "remove";
1232
+ appSlug: string;
1233
+ ownerHandle: string;
1234
+ seedFile: "absent" | "invalid" | "present" | "unknown";
1235
+ changed: number;
1236
+ skipped: number;
1237
+ failed: number;
1238
+ perDb: {
1239
+ dbName: string;
1240
+ changed: number;
1241
+ skipped: number;
1242
+ failed: number;
1243
+ }[];
1244
+ }>)[];
1158
1245
  export declare function cmdTsEvento(): import("@adviser/cement").Evento;