vibes-diy 14.3.464 → 14.3.467

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,142 +2,187 @@ import { isCmdProgress, sendMsg, sendProgress, type CmdProgress, type CmdTSMsg,
2
2
  export type { CmdTSMsg, WrapCmdTSMsg, CmdProgress };
3
3
  export { isCmdProgress, sendMsg, sendProgress };
4
4
  export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
5
- type: "core-cli.device-id-register";
6
- commonName: string;
7
- organization: string;
8
- locality: string;
9
- state: string;
10
- country: string;
11
- caUrl: string;
12
- port: string;
13
- timeout: string;
14
- forceRenew: boolean;
15
- cert?: string | undefined;
16
- noBrowser?: boolean | undefined;
17
- apiUrl?: string | undefined;
18
- expectHandle?: string | undefined;
19
- expectUser?: string | undefined;
20
- }, {
21
- type: "core-cli.res-device-id-register";
22
- output: string;
23
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
24
- type: "vibes-diy.cli.variety";
5
+ type: "use-vibes.cli.themes";
25
6
  }, {
26
- type: "vibes-diy.cli.res-variety-list";
27
- grammar: string;
28
- flourishCount: number;
29
- archetypes: {
30
- id: string;
31
- guidance: string;
32
- }[];
33
- flourishes: {
34
- id: string;
35
- guidance: string;
7
+ type: "use-vibes.cli.res-themes-list";
8
+ themes: {
9
+ slug: string;
10
+ name: string;
36
11
  }[];
12
+ } | {
13
+ type: "use-vibes.cli.res-theme-content";
14
+ slug: string;
15
+ content: string;
37
16
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
38
- type: "vibes-diy.cli.put-asset";
39
- file: string;
17
+ type: "vibes-diy.cli.pull";
40
18
  appSlug: string;
41
19
  ownerHandle: string;
20
+ dir: string;
42
21
  apiUrl: string;
43
- mimeType: string;
44
- verifyFetch: boolean;
22
+ fsId?: string | undefined;
23
+ published: boolean;
24
+ draft: boolean;
25
+ version?: string | undefined;
45
26
  }, {
46
- type: "vibes-diy.cli.res-put-asset";
47
- cid: string;
48
- getURL: string;
49
- size: number;
50
- uploadId: string;
51
- verified?: boolean | undefined;
52
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
53
- type: "vibes-diy.cli.db.list";
54
- apiUrl: string;
27
+ type: "vibes-diy.cli.res-pull";
55
28
  appSlug: string;
56
29
  ownerHandle: string;
57
- admin: boolean;
58
- }, {
59
- type: "vibes-diy.cli.db.list-res";
60
- dbNames: string[];
30
+ directory: string;
31
+ files: {
32
+ name: string;
33
+ size: number;
34
+ }[];
61
35
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
62
- type: "vibes-diy.cli.db.put";
36
+ type: "vibes-diy.cli.db.subscribe";
63
37
  apiUrl: string;
64
38
  appSlug: string;
65
39
  ownerHandle: string;
66
40
  dbName: string;
67
- docJson: string;
68
- docId: string;
69
- admin: boolean;
70
- actingHandle: string;
71
- files?: string[] | undefined;
72
- }, {
73
- type: "vibes-diy.cli.db.put-res";
74
- id: string;
75
- ok: true;
76
- files?: {
77
- key: string;
78
- status: "unchanged" | "uploaded";
79
- uploadId: string;
80
- }[] | undefined;
81
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
82
- type: "vibes-diy.cli.db.seed";
83
- action: "add" | "remove";
84
- apiUrl: string;
85
- appSlug: string;
86
- ownerHandle: string;
87
- }, {
88
- type: "vibes-diy.cli.db.seed-res";
89
- action: "add" | "remove";
90
- appSlug: string;
91
- ownerHandle: string;
92
- seedFile: "absent" | "invalid" | "present" | "unknown";
93
- changed: number;
94
- skipped: number;
95
- failed: number;
96
- perDb: {
97
- dbName: string;
98
- changed: number;
99
- skipped: number;
100
- failed: number;
101
- }[];
102
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
103
- type: "vibes-diy.cli.app-chats";
41
+ }, never> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
42
+ type: "vibes-diy.cli.codegen-log";
104
43
  appSlug: string;
105
44
  ownerHandle: string;
106
45
  chatId?: string | undefined;
107
46
  apiUrl: string;
47
+ response?: boolean | undefined;
48
+ raw?: boolean | undefined;
49
+ files?: boolean | undefined;
50
+ jsonl?: boolean | undefined;
51
+ user?: boolean | undefined;
52
+ promptId?: string | undefined;
108
53
  }, {
109
- type: "vibes-diy.cli.res-app-chats-list";
54
+ type: "vibes-diy.cli.res-codegen-log-response";
55
+ output: string;
56
+ } | {
57
+ type: "vibes-diy.cli.res-codegen-log-list";
110
58
  items: {
111
59
  chatId: string;
112
60
  appSlug: string;
113
61
  ownerHandle: string;
114
62
  created: string;
115
- userHandle?: string | undefined;
116
63
  }[];
117
64
  } | {
118
- type: "vibes-diy.cli.res-app-chats-detail";
65
+ type: "vibes-diy.cli.res-codegen-log-detail";
119
66
  chatId: string;
120
- ownerHandle?: string | undefined;
121
- appSlug?: string | undefined;
122
- output: string;
67
+ ownerHandle: string;
68
+ appSlug: string;
69
+ prompts: {
70
+ prompt: string;
71
+ fsId: string;
72
+ created: string;
73
+ }[];
123
74
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
124
- type: "vibes-diy.cli.list";
75
+ type: "vibes-diy.cli.edit";
76
+ appSlug: string;
77
+ prompt: string;
78
+ ownerHandle: string;
79
+ instantJoin?: boolean | undefined;
80
+ verbose: boolean;
81
+ dir: string;
125
82
  apiUrl: string;
83
+ dryRun: boolean;
84
+ transcript: boolean;
85
+ directBuild?: boolean | undefined;
86
+ focusPath?: string | undefined;
87
+ model?: string | undefined;
88
+ builderModel?: string | undefined;
89
+ apiKey?: string | undefined;
126
90
  }, {
127
- type: "vibes-diy.cli.res-list";
128
- items: {
129
- ownerHandle: string;
130
- appSlug: string;
131
- updated: string;
132
- title?: string | undefined;
133
- icon?: {
134
- cid: string;
135
- mime: string;
91
+ appSlug: string;
92
+ ownerHandle: string;
93
+ mode: "dev" | "production";
94
+ fsId: string;
95
+ type: "vibes.diy.res-ensure-app-slug";
96
+ env: Record<string, string>;
97
+ fileSystem: {
98
+ fileName: string;
99
+ mimeType: string;
100
+ assetId: string;
101
+ assetURI: string;
102
+ transform?: {
103
+ type: "jsx-to-js";
104
+ transformedAssetId: string;
105
+ } | {
106
+ type: "imports";
107
+ importMapAssetId: string;
108
+ } | {
109
+ type: "import-map";
110
+ fromAssetIds: string[];
111
+ } | {
112
+ type: "transformed";
113
+ action: "jsx-to-js";
114
+ transformedAssetId: string;
115
+ } | {
116
+ type: "tailwind-css";
136
117
  } | undefined;
137
- pinnedAt?: string | undefined;
138
- neverPublished?: boolean | undefined;
139
- unpublishedAt?: string | undefined;
118
+ entryPoint?: boolean | undefined;
119
+ size: number;
120
+ kind?: "asset" | undefined;
121
+ uploadId?: string | undefined;
140
122
  }[];
123
+ autoEnhanceOff?: true | undefined;
124
+ appCreated?: true | undefined;
125
+ anonWriteFollowed?: {
126
+ to: "explicit" | "off";
127
+ because: "not-open" | "personal-details" | "rules-ask" | "rules-do-not-ask" | "rules-not-bound" | "sensitive";
128
+ } | undefined;
129
+ backendWarnings?: string[] | undefined;
130
+ } | {
131
+ type: "vibes.diy.res-error";
132
+ error: {
133
+ message: string;
134
+ code: "require-login";
135
+ };
136
+ } | {
137
+ type: "vibes.diy.res-error";
138
+ error: {
139
+ message: string;
140
+ code: "user-slug-invalid";
141
+ };
142
+ } | {
143
+ type: "vibes.diy.res-error";
144
+ error: {
145
+ message: string;
146
+ code: "app-slug-invalid";
147
+ };
148
+ } | {
149
+ type: "vibes.diy.res-error";
150
+ error: {
151
+ message: string;
152
+ code: "max-app-slugs-reached";
153
+ };
154
+ } | {
155
+ type: "vibes.diy.res-error";
156
+ error: {
157
+ message: string;
158
+ code: "handle-required";
159
+ };
160
+ } | {
161
+ type: "vibes.diy.res-error";
162
+ error: {
163
+ message: string;
164
+ code: "from-not-owned";
165
+ };
166
+ } | {
167
+ type: "vibes.diy.res-error";
168
+ error: {
169
+ message: string;
170
+ code: "from-carry-failed";
171
+ };
172
+ } | {
173
+ type: "vibes.diy.res-error";
174
+ error: {
175
+ message: string;
176
+ code: "auto-enhance-off";
177
+ };
178
+ } | {
179
+ type: "vibes-diy.cli.res-edit";
180
+ appSlug: string;
181
+ ownerHandle: string;
182
+ url: string;
183
+ directory: string;
184
+ restyled?: boolean | undefined;
185
+ fsId?: string | undefined;
141
186
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
142
187
  type: "vibes-diy.cli.versions";
143
188
  appSlug: string;
@@ -597,17 +642,19 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
597
642
  name: string;
598
643
  content: string;
599
644
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
600
- type: "use-vibes.cli.themes";
645
+ type: "vibes-diy.cli.variety";
601
646
  }, {
602
- type: "use-vibes.cli.res-themes-list";
603
- themes: {
604
- slug: string;
605
- name: string;
647
+ type: "vibes-diy.cli.res-variety-list";
648
+ grammar: string;
649
+ flourishCount: number;
650
+ archetypes: {
651
+ id: string;
652
+ guidance: string;
653
+ }[];
654
+ flourishes: {
655
+ id: string;
656
+ guidance: string;
606
657
  }[];
607
- } | {
608
- type: "use-vibes.cli.res-theme-content";
609
- slug: string;
610
- content: string;
611
658
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
612
659
  type: "vibes-diy.cli.system";
613
660
  }, {
@@ -803,6 +850,21 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
803
850
  model: string;
804
851
  };
805
852
  };
853
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
854
+ type: "vibes-diy.cli.put-asset";
855
+ file: string;
856
+ appSlug: string;
857
+ ownerHandle: string;
858
+ apiUrl: string;
859
+ mimeType: string;
860
+ verifyFetch: boolean;
861
+ }, {
862
+ type: "vibes-diy.cli.res-put-asset";
863
+ cid: string;
864
+ getURL: string;
865
+ size: number;
866
+ uploadId: string;
867
+ verified?: boolean | undefined;
806
868
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
807
869
  type: "vibes-diy.cli.generate";
808
870
  prompt: string;
@@ -920,150 +982,44 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
920
982
  publish?: "kept-private-no-access-fn" | "private" | "published" | undefined;
921
983
  posture?: "gated" | "open" | "private" | undefined;
922
984
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
923
- type: "vibes-diy.cli.codegen-log";
985
+ type: "vibes-diy.cli.app-chats";
924
986
  appSlug: string;
925
987
  ownerHandle: string;
926
988
  chatId?: string | undefined;
927
989
  apiUrl: string;
928
- response?: boolean | undefined;
929
- raw?: boolean | undefined;
930
- files?: boolean | undefined;
931
- jsonl?: boolean | undefined;
932
- user?: boolean | undefined;
933
- promptId?: string | undefined;
934
990
  }, {
935
- type: "vibes-diy.cli.res-codegen-log-list";
991
+ type: "vibes-diy.cli.res-app-chats-list";
936
992
  items: {
937
993
  chatId: string;
938
994
  appSlug: string;
939
995
  ownerHandle: string;
940
996
  created: string;
997
+ userHandle?: string | undefined;
941
998
  }[];
942
999
  } | {
943
- type: "vibes-diy.cli.res-codegen-log-detail";
1000
+ type: "vibes-diy.cli.res-app-chats-detail";
944
1001
  chatId: string;
945
- ownerHandle: string;
946
- appSlug: string;
947
- prompts: {
948
- prompt: string;
949
- fsId: string;
950
- created: string;
951
- }[];
952
- } | {
953
- type: "vibes-diy.cli.res-codegen-log-response";
1002
+ ownerHandle?: string | undefined;
1003
+ appSlug?: string | undefined;
954
1004
  output: string;
955
1005
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
956
- type: "vibes-diy.cli.edit";
957
- appSlug: string;
958
- prompt: string;
959
- ownerHandle: string;
960
- instantJoin?: boolean | undefined;
961
- verbose: boolean;
962
- dir: string;
1006
+ type: "vibes-diy.cli.list";
963
1007
  apiUrl: string;
964
- dryRun: boolean;
965
- transcript: boolean;
966
- directBuild?: boolean | undefined;
967
- focusPath?: string | undefined;
968
- model?: string | undefined;
969
- builderModel?: string | undefined;
970
- apiKey?: string | undefined;
971
1008
  }, {
972
- appSlug: string;
973
- ownerHandle: string;
974
- mode: "dev" | "production";
975
- fsId: string;
976
- type: "vibes.diy.res-ensure-app-slug";
977
- env: Record<string, string>;
978
- fileSystem: {
979
- fileName: string;
980
- mimeType: string;
981
- assetId: string;
982
- assetURI: string;
983
- transform?: {
984
- type: "jsx-to-js";
985
- transformedAssetId: string;
986
- } | {
987
- type: "imports";
988
- importMapAssetId: string;
989
- } | {
990
- type: "import-map";
991
- fromAssetIds: string[];
992
- } | {
993
- type: "transformed";
994
- action: "jsx-to-js";
995
- transformedAssetId: string;
996
- } | {
997
- type: "tailwind-css";
1009
+ type: "vibes-diy.cli.res-list";
1010
+ items: {
1011
+ ownerHandle: string;
1012
+ appSlug: string;
1013
+ updated: string;
1014
+ title?: string | undefined;
1015
+ icon?: {
1016
+ cid: string;
1017
+ mime: string;
998
1018
  } | undefined;
999
- entryPoint?: boolean | undefined;
1000
- size: number;
1001
- kind?: "asset" | undefined;
1002
- uploadId?: string | undefined;
1019
+ pinnedAt?: string | undefined;
1020
+ neverPublished?: boolean | undefined;
1021
+ unpublishedAt?: string | undefined;
1003
1022
  }[];
1004
- autoEnhanceOff?: true | undefined;
1005
- appCreated?: true | undefined;
1006
- anonWriteFollowed?: {
1007
- to: "explicit" | "off";
1008
- because: "not-open" | "personal-details" | "rules-ask" | "rules-do-not-ask" | "rules-not-bound" | "sensitive";
1009
- } | undefined;
1010
- backendWarnings?: string[] | undefined;
1011
- } | {
1012
- type: "vibes.diy.res-error";
1013
- error: {
1014
- message: string;
1015
- code: "require-login";
1016
- };
1017
- } | {
1018
- type: "vibes.diy.res-error";
1019
- error: {
1020
- message: string;
1021
- code: "user-slug-invalid";
1022
- };
1023
- } | {
1024
- type: "vibes.diy.res-error";
1025
- error: {
1026
- message: string;
1027
- code: "app-slug-invalid";
1028
- };
1029
- } | {
1030
- type: "vibes.diy.res-error";
1031
- error: {
1032
- message: string;
1033
- code: "max-app-slugs-reached";
1034
- };
1035
- } | {
1036
- type: "vibes.diy.res-error";
1037
- error: {
1038
- message: string;
1039
- code: "handle-required";
1040
- };
1041
- } | {
1042
- type: "vibes.diy.res-error";
1043
- error: {
1044
- message: string;
1045
- code: "from-not-owned";
1046
- };
1047
- } | {
1048
- type: "vibes.diy.res-error";
1049
- error: {
1050
- message: string;
1051
- code: "from-carry-failed";
1052
- };
1053
- } | {
1054
- type: "vibes.diy.res-error";
1055
- error: {
1056
- message: string;
1057
- code: "auto-enhance-off";
1058
- };
1059
- } | {
1060
- type: "vibes-diy.cli.res-edit";
1061
- appSlug: string;
1062
- ownerHandle: string;
1063
- url: string;
1064
- directory: string;
1065
- restyled?: boolean | undefined;
1066
- fsId?: string | undefined;
1067
1023
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1068
1024
  type: "vibes-diy.cli.doctor";
1069
1025
  apiUrl: string;
@@ -1100,25 +1056,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
1100
1056
  defaultHandle?: string | undefined;
1101
1057
  handles: string[];
1102
1058
  detail?: string | undefined;
1103
- }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1104
- type: "vibes-diy.cli.pull";
1105
- appSlug: string;
1106
- ownerHandle: string;
1107
- dir: string;
1108
- apiUrl: string;
1109
- fsId?: string | undefined;
1110
- published: boolean;
1111
- draft: boolean;
1112
- version?: string | undefined;
1113
- }, {
1114
- type: "vibes-diy.cli.res-pull";
1115
- appSlug: string;
1116
- ownerHandle: string;
1117
- directory: string;
1118
- files: {
1119
- name: string;
1120
- size: number;
1121
- }[];
1122
1059
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1123
1060
  type: "vibes-diy.cli.run";
1124
1061
  apiUrl: string;
@@ -1752,6 +1689,34 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
1752
1689
  }, {
1753
1690
  type: "vibes-diy.cli.res-phone-link-classify";
1754
1691
  reaction?: string | undefined;
1692
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1693
+ type: "core-cli.device-id-register";
1694
+ commonName: string;
1695
+ organization: string;
1696
+ locality: string;
1697
+ state: string;
1698
+ country: string;
1699
+ caUrl: string;
1700
+ port: string;
1701
+ timeout: string;
1702
+ forceRenew: boolean;
1703
+ cert?: string | undefined;
1704
+ noBrowser?: boolean | undefined;
1705
+ apiUrl?: string | undefined;
1706
+ expectHandle?: string | undefined;
1707
+ expectUser?: string | undefined;
1708
+ }, {
1709
+ type: "core-cli.res-device-id-register";
1710
+ output: string;
1711
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1712
+ type: "vibes-diy.cli.db.list";
1713
+ apiUrl: string;
1714
+ appSlug: string;
1715
+ ownerHandle: string;
1716
+ admin: boolean;
1717
+ }, {
1718
+ type: "vibes-diy.cli.db.list-res";
1719
+ dbNames: string[];
1755
1720
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1756
1721
  type: "vibes-diy.cli.db.get";
1757
1722
  apiUrl: string;
@@ -1766,6 +1731,26 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
1766
1731
  doc: {
1767
1732
  [x: string]: unknown;
1768
1733
  };
1734
+ }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1735
+ type: "vibes-diy.cli.db.put";
1736
+ apiUrl: string;
1737
+ appSlug: string;
1738
+ ownerHandle: string;
1739
+ dbName: string;
1740
+ docJson: string;
1741
+ docId: string;
1742
+ admin: boolean;
1743
+ actingHandle: string;
1744
+ files?: string[] | undefined;
1745
+ }, {
1746
+ type: "vibes-diy.cli.db.put-res";
1747
+ id: string;
1748
+ ok: true;
1749
+ files?: {
1750
+ key: string;
1751
+ status: "unchanged" | "uploaded";
1752
+ uploadId: string;
1753
+ }[] | undefined;
1769
1754
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1770
1755
  type: "vibes-diy.cli.db.del";
1771
1756
  apiUrl: string;
@@ -1799,10 +1784,25 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
1799
1784
  [x: string]: unknown;
1800
1785
  }[];
1801
1786
  }> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
1802
- type: "vibes-diy.cli.db.subscribe";
1787
+ type: "vibes-diy.cli.db.seed";
1788
+ action: "add" | "remove";
1803
1789
  apiUrl: string;
1804
1790
  appSlug: string;
1805
1791
  ownerHandle: string;
1806
- dbName: string;
1807
- }, never>)[];
1792
+ }, {
1793
+ type: "vibes-diy.cli.db.seed-res";
1794
+ action: "add" | "remove";
1795
+ appSlug: string;
1796
+ ownerHandle: string;
1797
+ seedFile: "absent" | "invalid" | "present" | "unknown";
1798
+ changed: number;
1799
+ skipped: number;
1800
+ failed: number;
1801
+ perDb: {
1802
+ dbName: string;
1803
+ changed: number;
1804
+ skipped: number;
1805
+ failed: number;
1806
+ }[];
1807
+ }>)[];
1808
1808
  export declare function cmdTsEvento(): import("@adviser/cement").Evento;