vibes-diy 14.3.333 → 14.3.335

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,91 +2,232 @@ 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: "use-vibes.cli.themes";
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;
6
20
  }, {
7
- type: "use-vibes.cli.res-themes-list";
8
- themes: {
9
- slug: string;
10
- name: string;
11
- }[];
12
- } | {
13
- type: "use-vibes.cli.res-theme-content";
14
- slug: string;
15
- content: string;
21
+ type: "core-cli.res-device-id-register";
22
+ output: string;
16
23
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
17
- type: "vibes-diy.cli.db.get";
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;
18
36
  apiUrl: string;
37
+ }, {
38
+ type: "vibes-diy.cli.res-remix";
39
+ ownerHandle: string;
19
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;
20
49
  ownerHandle: string;
21
- dbName: string;
22
- docId: string;
23
- admin: boolean;
24
- actingHandle: string;
50
+ followMs: number;
51
+ json: boolean;
52
+ chatId?: string | undefined;
53
+ newChat?: boolean | undefined;
54
+ images?: string[] | undefined;
55
+ byText?: boolean | undefined;
25
56
  }, {
26
- type: "vibes-diy.cli.db.get-res";
27
- doc: {
28
- [x: string]: unknown;
29
- };
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;
30
66
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
31
- type: "vibes-diy.cli.db.del";
32
- apiUrl: string;
67
+ type: "vibes-diy.cli.pull";
33
68
  appSlug: string;
34
69
  ownerHandle: string;
35
- dbName: string;
36
- docId: string;
37
- admin: boolean;
38
- actingHandle: string;
70
+ dir: string;
71
+ apiUrl: string;
72
+ fsId?: string | undefined;
73
+ published: boolean;
74
+ draft: boolean;
75
+ version?: string | undefined;
39
76
  }, {
40
- type: "vibes-diy.cli.db.del-res";
41
- id: string;
42
- ok: true;
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
+ }[];
43
85
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
44
- type: "vibes-diy.cli.db.seed";
45
- action: "add" | "remove";
86
+ type: "vibes-diy.cli.db.subscribe";
46
87
  apiUrl: string;
47
88
  appSlug: string;
48
89
  ownerHandle: string;
49
- }, {
50
- type: "vibes-diy.cli.db.seed-res";
51
- action: "add" | "remove";
90
+ dbName: string;
91
+ }, never> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
92
+ type: "vibes-diy.cli.codegen-log";
52
93
  appSlug: string;
53
94
  ownerHandle: string;
54
- seedFile: "absent" | "invalid" | "present" | "unknown";
55
- changed: number;
56
- skipped: number;
57
- failed: number;
58
- perDb: {
59
- dbName: string;
60
- changed: number;
61
- skipped: number;
62
- failed: number;
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;
63
123
  }[];
64
124
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
65
- type: "vibes-diy.cli.doctor";
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;
66
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;
67
140
  }, {
68
- type: "vibes-diy.cli.res-doctor";
69
- cliVersion: string;
70
- node: string;
71
- keybagPath: string;
72
- keybagInstance?: string | undefined;
73
- device: string;
74
- deviceOk: boolean;
75
- fingerprint?: string | undefined;
76
- certExpires?: string | undefined;
77
- apiUrl: string;
78
- wsUrl: string;
79
- proxy: string;
80
- handshake: {
81
- ok: boolean;
82
- detail: string;
83
- ms?: number | undefined;
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";
84
230
  };
85
- auth?: {
86
- ok: boolean;
87
- detail: string;
88
- ms?: number | undefined;
89
- } | undefined;
90
231
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
91
232
  type: "vibes-diy.cli.app-status";
92
233
  appSlug: string;
@@ -224,6 +365,52 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
224
365
  type: "vibes.diy.res-ensure-user-settings";
225
366
  userId: string;
226
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
+ } | {
227
414
  type: "sharing";
228
415
  grants: {
229
416
  grant: "allow" | "deny";
@@ -317,76 +504,30 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
317
504
  offered?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
318
505
  imageInput?: boolean | undefined;
319
506
  } | undefined;
320
- apiKey?: string | undefined;
321
- } | undefined;
322
- app?: {
323
- model?: {
324
- id: string;
325
- name: string;
326
- description: string;
327
- featured?: boolean | undefined;
328
- preSelected?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
329
- fallbackFor?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
330
- supports?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
331
- offered?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
332
- imageInput?: boolean | undefined;
333
- } | undefined;
334
- apiKey?: string | undefined;
335
- } | undefined;
336
- } | {
337
- type: "defaultHandle";
338
- ownerHandle: string;
339
- } | {
340
- type: "profile";
341
- avatarCid?: string | undefined;
342
- displayName?: string | undefined;
343
- codeMode?: boolean | undefined;
344
- } | {
345
- type: "notifications";
346
- buildComplete?: boolean | undefined;
347
- buildFailed?: boolean | undefined;
348
- vibePublished?: boolean | undefined;
349
- commentPosted?: boolean | undefined;
350
- requestApproved?: boolean | undefined;
351
- requestRevoked?: boolean | undefined;
352
- vibeRemixed?: boolean | undefined;
353
- dmReceived?: boolean | undefined;
354
- memberJoined?: boolean | undefined;
355
- accessRequested?: boolean | undefined;
356
- emailDigest?: boolean | undefined;
357
- retentionEmail?: boolean | undefined;
358
- followRequest?: boolean | undefined;
359
- followerAdded?: boolean | undefined;
360
- followApproved?: boolean | undefined;
361
- appMessage?: boolean | undefined;
362
- connectionExpiring?: boolean | undefined;
363
- assetBlocked?: boolean | undefined;
364
- assetCheckFailed?: boolean | undefined;
365
- checkoutUnfinished?: boolean | undefined;
366
- safetyAlert?: boolean | undefined;
367
- emailInstant?: boolean | undefined;
368
- mutes?: {
369
- vibes?: string[] | undefined;
370
- handles?: string[] | undefined;
371
- } | undefined;
372
- vibeTypes?: {
373
- vibe: string;
374
- buildComplete?: boolean | undefined;
375
- buildFailed?: boolean | undefined;
376
- vibePublished?: boolean | undefined;
377
- commentPosted?: boolean | undefined;
378
- requestApproved?: boolean | undefined;
379
- requestRevoked?: boolean | undefined;
380
- vibeRemixed?: boolean | undefined;
381
- memberJoined?: boolean | undefined;
382
- accessRequested?: boolean | undefined;
383
- appMessage?: boolean | undefined;
384
- assetBlocked?: boolean | undefined;
385
- assetCheckFailed?: boolean | undefined;
386
- }[] | undefined;
387
- agent?: {
388
- hiddenVibes?: string[] | undefined;
507
+ apiKey?: string | undefined;
508
+ } | undefined;
509
+ app?: {
510
+ model?: {
511
+ id: string;
512
+ name: string;
513
+ description: string;
514
+ featured?: boolean | undefined;
515
+ preSelected?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
516
+ fallbackFor?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
517
+ supports?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
518
+ offered?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
519
+ imageInput?: boolean | undefined;
520
+ } | undefined;
521
+ apiKey?: string | undefined;
389
522
  } | undefined;
523
+ } | {
524
+ type: "defaultHandle";
525
+ ownerHandle: string;
526
+ } | {
527
+ type: "profile";
528
+ avatarCid?: string | undefined;
529
+ displayName?: string | undefined;
530
+ codeMode?: boolean | undefined;
390
531
  } | {
391
532
  type: "egressStatus";
392
533
  status: "blessed" | "blocked";
@@ -507,6 +648,18 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
507
648
  type: "vibes-diy.cli.res-skill-content";
508
649
  name: string;
509
650
  content: string;
651
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
652
+ type: "use-vibes.cli.themes";
653
+ }, {
654
+ type: "use-vibes.cli.res-themes-list";
655
+ themes: {
656
+ slug: string;
657
+ name: string;
658
+ }[];
659
+ } | {
660
+ type: "use-vibes.cli.res-theme-content";
661
+ slug: string;
662
+ content: string;
510
663
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
511
664
  type: "vibes-diy.cli.variety";
512
665
  }, {
@@ -521,11 +674,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
521
674
  id: string;
522
675
  guidance: string;
523
676
  }[];
524
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
525
- type: "vibes-diy.cli.system";
526
- }, {
527
- type: "vibes-diy.cli.res-system";
528
- systemPrompt: string;
529
677
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
530
678
  type: "vibes-diy.cli.push";
531
679
  mode: string;
@@ -595,203 +743,17 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
595
743
  message: string;
596
744
  code: "app-slug-invalid";
597
745
  };
598
- } | {
599
- type: "vibes.diy.res-error";
600
- error: {
601
- message: string;
602
- code: "from-not-owned";
603
- };
604
- } | {
605
- type: "vibes.diy.res-error";
606
- error: {
607
- message: string;
608
- code: "from-carry-failed";
609
- };
610
- } | {
611
- type: "vibes.diy.res-error";
612
- error: {
613
- message: string;
614
- code: "auto-enhance-off";
615
- };
616
- } | {
617
- type: "vibes.diy.res-error";
618
- error: {
619
- message: string;
620
- code: "handle-required";
621
- };
622
746
  } | {
623
747
  type: "vibes.diy.res-error";
624
748
  error: {
625
749
  message: string;
626
750
  code: "max-app-slugs-reached";
627
751
  };
628
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
629
- type: "vibes-diy.cli.remix";
630
- srcUserSlug: string;
631
- srcAppSlug: string;
632
- dstOwnerHandle?: string | undefined;
633
- dstAppSlug?: string | undefined;
634
- published: boolean;
635
- settingsOnly: boolean;
636
- apiUrl: string;
637
- }, {
638
- type: "vibes-diy.cli.res-remix";
639
- ownerHandle: string;
640
- appSlug: string;
641
- url: string;
642
- carried?: string[] | undefined;
643
- skippedPresent?: string[] | undefined;
644
- chatId?: string | undefined;
645
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
646
- type: "vibes-diy.cli.claim-handle";
647
- apiUrl: string;
648
- ownerHandle?: string | undefined;
649
- noDefault?: boolean | undefined;
650
- }, {
651
- type: "vibes-diy.cli.res-claim-handle";
652
- op: "claim" | "suggest";
653
- ownerHandle?: string | undefined;
654
- defaultHandleSet?: boolean | undefined;
655
- defaultSkipped?: boolean | undefined;
656
- suggestions: string[];
657
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
658
- type: "vibes-diy.cli.agent";
659
- apiUrl: string;
660
- prompt: string;
661
- ownerHandle: string;
662
- followMs: number;
663
- json: boolean;
664
- chatId?: string | undefined;
665
- newChat?: boolean | undefined;
666
- images?: string[] | undefined;
667
- byText?: boolean | undefined;
668
- }, {
669
- type: "vibes-diy.cli.res-agent";
670
- ownerHandle: string;
671
- chatId: string;
672
- messages: string[];
673
- shorts?: string[] | undefined;
674
- links: string[];
675
- idle: boolean;
676
- reactions?: string[] | undefined;
677
- error?: string | undefined;
678
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
679
- type: "vibes-diy.cli.image";
680
- apiUrl: string;
681
- prompt: string;
682
- ownerHandle: string;
683
- photo: string;
684
- vibe: string;
685
- db: string;
686
- doc: string;
687
- out: string;
688
- json: boolean;
689
- }, {
690
- type: "vibes-diy.cli.res-image";
691
- path: string;
692
- receipt: {
693
- ok: true;
694
- picture: {
695
- url: string;
696
- mimeType: string;
697
- name: string;
698
- size: number;
699
- ownerHandle: string;
700
- appSlug: string;
701
- dbName: string;
702
- docId: string;
703
- };
704
- link?: string | undefined;
705
- made: {
706
- prompt: string;
707
- model: string;
708
- };
709
- };
710
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
711
- type: "vibes-diy.cli.put-asset";
712
- file: string;
713
- appSlug: string;
714
- ownerHandle: string;
715
- apiUrl: string;
716
- mimeType: string;
717
- verifyFetch: boolean;
718
- }, {
719
- type: "vibes-diy.cli.res-put-asset";
720
- cid: string;
721
- getURL: string;
722
- size: number;
723
- uploadId: string;
724
- verified?: boolean | undefined;
725
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
726
- type: "vibes-diy.cli.generate";
727
- prompt: string;
728
- appSlug: string;
729
- ownerHandle: string;
730
- instantJoin?: boolean | undefined;
731
- noAccessFn?: boolean | undefined;
732
- privateMode?: boolean | undefined;
733
- verbose: boolean;
734
- apiUrl: string;
735
- focusPath?: string | undefined;
736
- model?: string | undefined;
737
- builderModel?: string | undefined;
738
- apiKey?: string | undefined;
739
- variety?: string | undefined;
740
- record?: string | undefined;
741
- style?: string | undefined;
742
- fastPass?: boolean | undefined;
743
- }, {
744
- appSlug: string;
745
- ownerHandle: string;
746
- mode: "dev" | "production";
747
- fsId: string;
748
- type: "vibes.diy.res-ensure-app-slug";
749
- env: Record<string, string>;
750
- fileSystem: {
751
- fileName: string;
752
- mimeType: string;
753
- assetId: string;
754
- assetURI: string;
755
- transform?: {
756
- type: "jsx-to-js";
757
- transformedAssetId: string;
758
- } | {
759
- type: "imports";
760
- importMapAssetId: string;
761
- } | {
762
- type: "import-map";
763
- fromAssetIds: string[];
764
- } | {
765
- type: "transformed";
766
- action: "jsx-to-js";
767
- transformedAssetId: string;
768
- } | {
769
- type: "tailwind-css";
770
- } | undefined;
771
- entryPoint?: boolean | undefined;
772
- size: number;
773
- kind?: "asset" | undefined;
774
- uploadId?: string | undefined;
775
- }[];
776
- autoEnhanceOff?: true | undefined;
777
- appCreated?: true | undefined;
778
- } | {
779
- type: "vibes.diy.res-error";
780
- error: {
781
- message: string;
782
- code: "require-login";
783
- };
784
- } | {
785
- type: "vibes.diy.res-error";
786
- error: {
787
- message: string;
788
- code: "user-slug-invalid";
789
- };
790
752
  } | {
791
753
  type: "vibes.diy.res-error";
792
754
  error: {
793
755
  message: string;
794
- code: "app-slug-invalid";
756
+ code: "handle-required";
795
757
  };
796
758
  } | {
797
759
  type: "vibes.diy.res-error";
@@ -810,99 +772,84 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
810
772
  error: {
811
773
  message: string;
812
774
  code: "auto-enhance-off";
813
- };
814
- } | {
815
- type: "vibes.diy.res-error";
816
- error: {
817
- message: string;
818
- code: "handle-required";
819
- };
820
- } | {
821
- type: "vibes.diy.res-error";
822
- error: {
823
- message: string;
824
- code: "max-app-slugs-reached";
825
- };
826
- } | {
827
- type: "vibes-diy.cli.res-generate";
828
- appSlug: string;
829
- ownerHandle: string;
830
- url: string;
831
- directory: string;
832
- release?: "not-visible" | "published" | "version-locked" | undefined;
833
- turns?: number | undefined;
834
- publish?: "kept-private-no-access-fn" | "private" | "published" | undefined;
835
- posture?: "gated" | "open" | "private" | undefined;
836
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
837
- type: "vibes-diy.cli.app-chats";
838
- appSlug: string;
839
- ownerHandle: string;
840
- chatId?: string | undefined;
775
+ };
776
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
777
+ type: "vibes-diy.cli.claim-handle";
841
778
  apiUrl: string;
779
+ ownerHandle?: string | undefined;
780
+ noDefault?: boolean | undefined;
842
781
  }, {
843
- type: "vibes-diy.cli.res-app-chats-list";
844
- items: {
845
- chatId: string;
846
- appSlug: string;
847
- ownerHandle: string;
848
- created: string;
849
- userHandle?: string | undefined;
850
- }[];
851
- } | {
852
- type: "vibes-diy.cli.res-app-chats-detail";
853
- chatId: string;
782
+ type: "vibes-diy.cli.res-claim-handle";
783
+ op: "claim" | "suggest";
854
784
  ownerHandle?: string | undefined;
855
- appSlug?: string | undefined;
856
- output: string;
785
+ defaultHandleSet?: boolean | undefined;
786
+ defaultSkipped?: boolean | undefined;
787
+ suggestions: string[];
857
788
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
858
- type: "vibes-diy.cli.codegen-log";
789
+ type: "vibes-diy.cli.image";
790
+ apiUrl: string;
791
+ prompt: string;
792
+ ownerHandle: string;
793
+ photo: string;
794
+ vibe: string;
795
+ db: string;
796
+ doc: string;
797
+ out: string;
798
+ json: boolean;
799
+ }, {
800
+ type: "vibes-diy.cli.res-image";
801
+ path: string;
802
+ receipt: {
803
+ ok: true;
804
+ picture: {
805
+ url: string;
806
+ mimeType: string;
807
+ name: string;
808
+ size: number;
809
+ ownerHandle: string;
810
+ appSlug: string;
811
+ dbName: string;
812
+ docId: string;
813
+ };
814
+ link?: string | undefined;
815
+ made: {
816
+ prompt: string;
817
+ model: string;
818
+ };
819
+ };
820
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
821
+ type: "vibes-diy.cli.put-asset";
822
+ file: string;
859
823
  appSlug: string;
860
824
  ownerHandle: string;
861
- chatId?: string | undefined;
862
825
  apiUrl: string;
863
- response?: boolean | undefined;
864
- raw?: boolean | undefined;
865
- files?: boolean | undefined;
866
- jsonl?: boolean | undefined;
867
- user?: boolean | undefined;
868
- promptId?: string | undefined;
826
+ mimeType: string;
827
+ verifyFetch: boolean;
869
828
  }, {
870
- type: "vibes-diy.cli.res-codegen-log-list";
871
- items: {
872
- chatId: string;
873
- appSlug: string;
874
- ownerHandle: string;
875
- created: string;
876
- }[];
877
- } | {
878
- type: "vibes-diy.cli.res-codegen-log-detail";
879
- chatId: string;
880
- ownerHandle: string;
881
- appSlug: string;
882
- prompts: {
883
- prompt: string;
884
- fsId: string;
885
- created: string;
886
- }[];
887
- } | {
888
- type: "vibes-diy.cli.res-codegen-log-response";
889
- output: string;
829
+ type: "vibes-diy.cli.res-put-asset";
830
+ cid: string;
831
+ getURL: string;
832
+ size: number;
833
+ uploadId: string;
834
+ verified?: boolean | undefined;
890
835
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
891
- type: "vibes-diy.cli.edit";
892
- appSlug: string;
836
+ type: "vibes-diy.cli.generate";
893
837
  prompt: string;
838
+ appSlug: string;
894
839
  ownerHandle: string;
895
840
  instantJoin?: boolean | undefined;
841
+ noAccessFn?: boolean | undefined;
842
+ privateMode?: boolean | undefined;
896
843
  verbose: boolean;
897
- dir: string;
898
844
  apiUrl: string;
899
- dryRun: boolean;
900
- transcript: boolean;
901
- directBuild?: boolean | undefined;
902
845
  focusPath?: string | undefined;
903
846
  model?: string | undefined;
904
847
  builderModel?: string | undefined;
905
848
  apiKey?: string | undefined;
849
+ variety?: string | undefined;
850
+ record?: string | undefined;
851
+ style?: string | undefined;
852
+ fastPass?: boolean | undefined;
906
853
  }, {
907
854
  appSlug: string;
908
855
  ownerHandle: string;
@@ -960,40 +907,63 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
960
907
  type: "vibes.diy.res-error";
961
908
  error: {
962
909
  message: string;
963
- code: "from-not-owned";
910
+ code: "max-app-slugs-reached";
964
911
  };
965
912
  } | {
966
913
  type: "vibes.diy.res-error";
967
914
  error: {
968
915
  message: string;
969
- code: "from-carry-failed";
916
+ code: "handle-required";
970
917
  };
971
918
  } | {
972
919
  type: "vibes.diy.res-error";
973
920
  error: {
974
921
  message: string;
975
- code: "auto-enhance-off";
922
+ code: "from-not-owned";
976
923
  };
977
924
  } | {
978
925
  type: "vibes.diy.res-error";
979
926
  error: {
980
927
  message: string;
981
- code: "handle-required";
928
+ code: "from-carry-failed";
982
929
  };
983
930
  } | {
984
931
  type: "vibes.diy.res-error";
985
932
  error: {
986
933
  message: string;
987
- code: "max-app-slugs-reached";
934
+ code: "auto-enhance-off";
988
935
  };
989
936
  } | {
990
- type: "vibes-diy.cli.res-edit";
937
+ type: "vibes-diy.cli.res-generate";
991
938
  appSlug: string;
992
939
  ownerHandle: string;
993
940
  url: string;
994
941
  directory: string;
995
- restyled?: boolean | undefined;
996
- fsId?: string | undefined;
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;
997
967
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
998
968
  type: "vibes-diy.cli.list";
999
969
  apiUrl: string;
@@ -1012,6 +982,32 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
1012
982
  neverPublished?: boolean | undefined;
1013
983
  unpublishedAt?: string | undefined;
1014
984
  }[];
985
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
986
+ type: "vibes-diy.cli.doctor";
987
+ apiUrl: string;
988
+ }, {
989
+ type: "vibes-diy.cli.res-doctor";
990
+ cliVersion: string;
991
+ node: string;
992
+ keybagPath: string;
993
+ keybagInstance?: string | undefined;
994
+ device: string;
995
+ deviceOk: boolean;
996
+ fingerprint?: string | undefined;
997
+ certExpires?: string | undefined;
998
+ apiUrl: string;
999
+ wsUrl: string;
1000
+ proxy: string;
1001
+ handshake: {
1002
+ ok: boolean;
1003
+ detail: string;
1004
+ ms?: number | undefined;
1005
+ };
1006
+ auth?: {
1007
+ ok: boolean;
1008
+ detail: string;
1009
+ ms?: number | undefined;
1010
+ } | undefined;
1015
1011
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1016
1012
  type: "vibes-diy.cli.whoami";
1017
1013
  apiUrl: string;
@@ -1022,25 +1018,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
1022
1018
  defaultHandle?: string | undefined;
1023
1019
  handles: string[];
1024
1020
  detail?: string | undefined;
1025
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1026
- type: "vibes-diy.cli.pull";
1027
- appSlug: string;
1028
- ownerHandle: string;
1029
- dir: string;
1030
- apiUrl: string;
1031
- fsId?: string | undefined;
1032
- published: boolean;
1033
- draft: boolean;
1034
- version?: string | undefined;
1035
- }, {
1036
- type: "vibes-diy.cli.res-pull";
1037
- appSlug: string;
1038
- ownerHandle: string;
1039
- directory: string;
1040
- files: {
1041
- name: string;
1042
- size: number;
1043
- }[];
1044
1021
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1045
1022
  type: "vibes-diy.cli.run";
1046
1023
  apiUrl: string;
@@ -1555,25 +1532,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
1555
1532
  }, {
1556
1533
  type: "vibes-diy.cli.res-phone-link-classify";
1557
1534
  reaction?: string | undefined;
1558
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1559
- type: "core-cli.device-id-register";
1560
- commonName: string;
1561
- organization: string;
1562
- locality: string;
1563
- state: string;
1564
- country: string;
1565
- caUrl: string;
1566
- port: string;
1567
- timeout: string;
1568
- forceRenew: boolean;
1569
- cert?: string | undefined;
1570
- noBrowser?: boolean | undefined;
1571
- apiUrl?: string | undefined;
1572
- expectHandle?: string | undefined;
1573
- expectUser?: string | undefined;
1574
- }, {
1575
- type: "core-cli.res-device-id-register";
1576
- output: string;
1577
1535
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1578
1536
  type: "vibes-diy.cli.db.list";
1579
1537
  apiUrl: string;
@@ -1583,6 +1541,20 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
1583
1541
  }, {
1584
1542
  type: "vibes-diy.cli.db.list-res";
1585
1543
  dbNames: string[];
1544
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1545
+ type: "vibes-diy.cli.db.get";
1546
+ apiUrl: string;
1547
+ appSlug: string;
1548
+ ownerHandle: string;
1549
+ dbName: string;
1550
+ docId: string;
1551
+ admin: boolean;
1552
+ actingHandle: string;
1553
+ }, {
1554
+ type: "vibes-diy.cli.db.get-res";
1555
+ doc: {
1556
+ [x: string]: unknown;
1557
+ };
1586
1558
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1587
1559
  type: "vibes-diy.cli.db.put";
1588
1560
  apiUrl: string;
@@ -1603,6 +1575,19 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
1603
1575
  status: "unchanged" | "uploaded";
1604
1576
  uploadId: string;
1605
1577
  }[] | undefined;
1578
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1579
+ type: "vibes-diy.cli.db.del";
1580
+ apiUrl: string;
1581
+ appSlug: string;
1582
+ ownerHandle: string;
1583
+ dbName: string;
1584
+ docId: string;
1585
+ admin: boolean;
1586
+ actingHandle: string;
1587
+ }, {
1588
+ type: "vibes-diy.cli.db.del-res";
1589
+ id: string;
1590
+ ok: true;
1606
1591
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1607
1592
  type: "vibes-diy.cli.db.query";
1608
1593
  apiUrl: string;
@@ -1623,10 +1608,25 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
1623
1608
  [x: string]: unknown;
1624
1609
  }[];
1625
1610
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1626
- type: "vibes-diy.cli.db.subscribe";
1611
+ type: "vibes-diy.cli.db.seed";
1612
+ action: "add" | "remove";
1627
1613
  apiUrl: string;
1628
1614
  appSlug: string;
1629
1615
  ownerHandle: string;
1630
- dbName: string;
1631
- }, never>)[];
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
+ }>)[];
1632
1632
  export declare function cmdTsEvento(): import("@adviser/cement").Evento;