vibes-diy 14.3.484 → 14.3.486
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.
- package/cli/cmd-evento.d.ts +289 -289
- package/cli/cmds/run/backend-worker/run-backend-entry.js +280 -121
- package/cli/cmds/run/bundle-inputs.json +2 -0
- package/cli/cmds/run/run-bundle.js +2359 -2097
- package/package.json +8 -8
package/cli/cmd-evento.d.ts
CHANGED
|
@@ -2,187 +2,142 @@ 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: "
|
|
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: "
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
21
|
+
type: "core-cli.res-device-id-register";
|
|
22
|
+
output: string;
|
|
23
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
24
|
+
type: "vibes-diy.cli.variety";
|
|
25
|
+
}, {
|
|
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;
|
|
11
36
|
}[];
|
|
12
|
-
} | {
|
|
13
|
-
type: "use-vibes.cli.res-theme-content";
|
|
14
|
-
slug: string;
|
|
15
|
-
content: string;
|
|
16
37
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
17
|
-
type: "vibes-diy.cli.
|
|
38
|
+
type: "vibes-diy.cli.put-asset";
|
|
39
|
+
file: string;
|
|
18
40
|
appSlug: string;
|
|
19
41
|
ownerHandle: string;
|
|
20
|
-
dir: string;
|
|
21
42
|
apiUrl: string;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
draft: boolean;
|
|
25
|
-
version?: string | undefined;
|
|
43
|
+
mimeType: string;
|
|
44
|
+
verifyFetch: boolean;
|
|
26
45
|
}, {
|
|
27
|
-
type: "vibes-diy.cli.res-
|
|
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;
|
|
28
55
|
appSlug: string;
|
|
29
56
|
ownerHandle: string;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}[];
|
|
57
|
+
admin: boolean;
|
|
58
|
+
}, {
|
|
59
|
+
type: "vibes-diy.cli.db.list-res";
|
|
60
|
+
dbNames: string[];
|
|
35
61
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
36
|
-
type: "vibes-diy.cli.db.
|
|
62
|
+
type: "vibes-diy.cli.db.put";
|
|
37
63
|
apiUrl: string;
|
|
38
64
|
appSlug: string;
|
|
39
65
|
ownerHandle: string;
|
|
40
66
|
dbName: string;
|
|
41
|
-
|
|
42
|
-
|
|
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";
|
|
43
104
|
appSlug: string;
|
|
44
105
|
ownerHandle: string;
|
|
45
106
|
chatId?: string | undefined;
|
|
46
107
|
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;
|
|
53
108
|
}, {
|
|
54
|
-
type: "vibes-diy.cli.res-
|
|
55
|
-
output: string;
|
|
56
|
-
} | {
|
|
57
|
-
type: "vibes-diy.cli.res-codegen-log-list";
|
|
109
|
+
type: "vibes-diy.cli.res-app-chats-list";
|
|
58
110
|
items: {
|
|
59
111
|
chatId: string;
|
|
60
112
|
appSlug: string;
|
|
61
113
|
ownerHandle: string;
|
|
62
114
|
created: string;
|
|
115
|
+
userHandle?: string | undefined;
|
|
63
116
|
}[];
|
|
64
117
|
} | {
|
|
65
|
-
type: "vibes-diy.cli.res-
|
|
118
|
+
type: "vibes-diy.cli.res-app-chats-detail";
|
|
66
119
|
chatId: string;
|
|
67
|
-
ownerHandle
|
|
68
|
-
appSlug
|
|
69
|
-
|
|
70
|
-
prompt: string;
|
|
71
|
-
fsId: string;
|
|
72
|
-
created: string;
|
|
73
|
-
}[];
|
|
120
|
+
ownerHandle?: string | undefined;
|
|
121
|
+
appSlug?: string | undefined;
|
|
122
|
+
output: string;
|
|
74
123
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
75
|
-
type: "vibes-diy.cli.
|
|
76
|
-
appSlug: string;
|
|
77
|
-
prompt: string;
|
|
78
|
-
ownerHandle: string;
|
|
79
|
-
instantJoin?: boolean | undefined;
|
|
80
|
-
verbose: boolean;
|
|
81
|
-
dir: string;
|
|
124
|
+
type: "vibes-diy.cli.list";
|
|
82
125
|
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;
|
|
90
126
|
}, {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
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";
|
|
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;
|
|
117
136
|
} | undefined;
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
uploadId?: string | undefined;
|
|
137
|
+
pinnedAt?: string | undefined;
|
|
138
|
+
neverPublished?: boolean | undefined;
|
|
139
|
+
unpublishedAt?: string | undefined;
|
|
122
140
|
}[];
|
|
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;
|
|
186
141
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
187
142
|
type: "vibes-diy.cli.versions";
|
|
188
143
|
appSlug: string;
|
|
@@ -495,6 +450,9 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
495
450
|
email: string;
|
|
496
451
|
updatedAt: string;
|
|
497
452
|
verified?: boolean | undefined;
|
|
453
|
+
} | {
|
|
454
|
+
type: "onboarding";
|
|
455
|
+
completedAt: string;
|
|
498
456
|
} | {
|
|
499
457
|
type: "geoCountry";
|
|
500
458
|
country: string;
|
|
@@ -511,9 +469,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
511
469
|
[x: string]: string;
|
|
512
470
|
} | undefined;
|
|
513
471
|
updatedAt: string;
|
|
514
|
-
} | {
|
|
515
|
-
type: "onboarding";
|
|
516
|
-
completedAt: string;
|
|
517
472
|
} | {
|
|
518
473
|
type: "kyc";
|
|
519
474
|
cardAt?: string | undefined;
|
|
@@ -667,19 +622,17 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
667
622
|
name: string;
|
|
668
623
|
content: string;
|
|
669
624
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
670
|
-
type: "vibes
|
|
625
|
+
type: "use-vibes.cli.themes";
|
|
671
626
|
}, {
|
|
672
|
-
type: "vibes
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
id: string;
|
|
677
|
-
guidance: string;
|
|
678
|
-
}[];
|
|
679
|
-
flourishes: {
|
|
680
|
-
id: string;
|
|
681
|
-
guidance: string;
|
|
627
|
+
type: "use-vibes.cli.res-themes-list";
|
|
628
|
+
themes: {
|
|
629
|
+
slug: string;
|
|
630
|
+
name: string;
|
|
682
631
|
}[];
|
|
632
|
+
} | {
|
|
633
|
+
type: "use-vibes.cli.res-theme-content";
|
|
634
|
+
slug: string;
|
|
635
|
+
content: string;
|
|
683
636
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
684
637
|
type: "vibes-diy.cli.system";
|
|
685
638
|
}, {
|
|
@@ -703,6 +656,12 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
703
656
|
apiUrl: string;
|
|
704
657
|
idleTimeoutMs?: number | undefined;
|
|
705
658
|
}, {
|
|
659
|
+
type: "vibes.diy.res-error";
|
|
660
|
+
error: {
|
|
661
|
+
message: string;
|
|
662
|
+
code: "handle-required";
|
|
663
|
+
};
|
|
664
|
+
} | {
|
|
706
665
|
appSlug: string;
|
|
707
666
|
ownerHandle: string;
|
|
708
667
|
mode: "dev" | "production";
|
|
@@ -766,12 +725,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
766
725
|
message: string;
|
|
767
726
|
code: "max-app-slugs-reached";
|
|
768
727
|
};
|
|
769
|
-
} | {
|
|
770
|
-
type: "vibes.diy.res-error";
|
|
771
|
-
error: {
|
|
772
|
-
message: string;
|
|
773
|
-
code: "handle-required";
|
|
774
|
-
};
|
|
775
728
|
} | {
|
|
776
729
|
type: "vibes.diy.res-error";
|
|
777
730
|
error: {
|
|
@@ -861,35 +814,20 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
861
814
|
ok: true;
|
|
862
815
|
picture: {
|
|
863
816
|
url: string;
|
|
864
|
-
mimeType: string;
|
|
865
|
-
name: string;
|
|
866
|
-
size: number;
|
|
867
|
-
ownerHandle: string;
|
|
868
|
-
appSlug: string;
|
|
869
|
-
dbName: string;
|
|
870
|
-
docId: string;
|
|
871
|
-
};
|
|
872
|
-
link?: string | undefined;
|
|
873
|
-
made: {
|
|
874
|
-
prompt: string;
|
|
875
|
-
model: string;
|
|
876
|
-
};
|
|
877
|
-
};
|
|
878
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
879
|
-
type: "vibes-diy.cli.put-asset";
|
|
880
|
-
file: string;
|
|
881
|
-
appSlug: string;
|
|
882
|
-
ownerHandle: string;
|
|
883
|
-
apiUrl: string;
|
|
884
|
-
mimeType: string;
|
|
885
|
-
verifyFetch: boolean;
|
|
886
|
-
}, {
|
|
887
|
-
type: "vibes-diy.cli.res-put-asset";
|
|
888
|
-
cid: string;
|
|
889
|
-
getURL: string;
|
|
890
|
-
size: number;
|
|
891
|
-
uploadId: string;
|
|
892
|
-
verified?: boolean | undefined;
|
|
817
|
+
mimeType: string;
|
|
818
|
+
name: string;
|
|
819
|
+
size: number;
|
|
820
|
+
ownerHandle: string;
|
|
821
|
+
appSlug: string;
|
|
822
|
+
dbName: string;
|
|
823
|
+
docId: string;
|
|
824
|
+
};
|
|
825
|
+
link?: string | undefined;
|
|
826
|
+
made: {
|
|
827
|
+
prompt: string;
|
|
828
|
+
model: string;
|
|
829
|
+
};
|
|
830
|
+
};
|
|
893
831
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
894
832
|
type: "vibes-diy.cli.generate";
|
|
895
833
|
prompt: string;
|
|
@@ -909,6 +847,12 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
909
847
|
style?: string | undefined;
|
|
910
848
|
fastPass?: boolean | undefined;
|
|
911
849
|
}, {
|
|
850
|
+
type: "vibes.diy.res-error";
|
|
851
|
+
error: {
|
|
852
|
+
message: string;
|
|
853
|
+
code: "handle-required";
|
|
854
|
+
};
|
|
855
|
+
} | {
|
|
912
856
|
appSlug: string;
|
|
913
857
|
ownerHandle: string;
|
|
914
858
|
mode: "dev" | "production";
|
|
@@ -972,12 +916,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
972
916
|
message: string;
|
|
973
917
|
code: "max-app-slugs-reached";
|
|
974
918
|
};
|
|
975
|
-
} | {
|
|
976
|
-
type: "vibes.diy.res-error";
|
|
977
|
-
error: {
|
|
978
|
-
message: string;
|
|
979
|
-
code: "handle-required";
|
|
980
|
-
};
|
|
981
919
|
} | {
|
|
982
920
|
type: "vibes.diy.res-error";
|
|
983
921
|
error: {
|
|
@@ -1007,44 +945,150 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1007
945
|
publish?: "kept-private-no-access-fn" | "private" | "published" | undefined;
|
|
1008
946
|
posture?: "gated" | "open" | "private" | undefined;
|
|
1009
947
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1010
|
-
type: "vibes-diy.cli.
|
|
948
|
+
type: "vibes-diy.cli.codegen-log";
|
|
1011
949
|
appSlug: string;
|
|
1012
950
|
ownerHandle: string;
|
|
1013
951
|
chatId?: string | undefined;
|
|
1014
952
|
apiUrl: string;
|
|
953
|
+
response?: boolean | undefined;
|
|
954
|
+
raw?: boolean | undefined;
|
|
955
|
+
files?: boolean | undefined;
|
|
956
|
+
jsonl?: boolean | undefined;
|
|
957
|
+
user?: boolean | undefined;
|
|
958
|
+
promptId?: string | undefined;
|
|
1015
959
|
}, {
|
|
1016
|
-
type: "vibes-diy.cli.res-
|
|
960
|
+
type: "vibes-diy.cli.res-codegen-log-list";
|
|
1017
961
|
items: {
|
|
1018
962
|
chatId: string;
|
|
1019
963
|
appSlug: string;
|
|
1020
964
|
ownerHandle: string;
|
|
1021
965
|
created: string;
|
|
1022
|
-
userHandle?: string | undefined;
|
|
1023
966
|
}[];
|
|
1024
967
|
} | {
|
|
1025
|
-
type: "vibes-diy.cli.res-
|
|
968
|
+
type: "vibes-diy.cli.res-codegen-log-detail";
|
|
1026
969
|
chatId: string;
|
|
1027
|
-
ownerHandle
|
|
1028
|
-
appSlug
|
|
970
|
+
ownerHandle: string;
|
|
971
|
+
appSlug: string;
|
|
972
|
+
prompts: {
|
|
973
|
+
prompt: string;
|
|
974
|
+
fsId: string;
|
|
975
|
+
created: string;
|
|
976
|
+
}[];
|
|
977
|
+
} | {
|
|
978
|
+
type: "vibes-diy.cli.res-codegen-log-response";
|
|
1029
979
|
output: string;
|
|
1030
980
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1031
|
-
type: "vibes-diy.cli.
|
|
981
|
+
type: "vibes-diy.cli.edit";
|
|
982
|
+
appSlug: string;
|
|
983
|
+
prompt: string;
|
|
984
|
+
ownerHandle: string;
|
|
985
|
+
instantJoin?: boolean | undefined;
|
|
986
|
+
verbose: boolean;
|
|
987
|
+
dir: string;
|
|
1032
988
|
apiUrl: string;
|
|
989
|
+
dryRun: boolean;
|
|
990
|
+
transcript: boolean;
|
|
991
|
+
directBuild?: boolean | undefined;
|
|
992
|
+
focusPath?: string | undefined;
|
|
993
|
+
model?: string | undefined;
|
|
994
|
+
builderModel?: string | undefined;
|
|
995
|
+
apiKey?: string | undefined;
|
|
1033
996
|
}, {
|
|
1034
|
-
type: "vibes
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
997
|
+
type: "vibes.diy.res-error";
|
|
998
|
+
error: {
|
|
999
|
+
message: string;
|
|
1000
|
+
code: "handle-required";
|
|
1001
|
+
};
|
|
1002
|
+
} | {
|
|
1003
|
+
appSlug: string;
|
|
1004
|
+
ownerHandle: string;
|
|
1005
|
+
mode: "dev" | "production";
|
|
1006
|
+
fsId: string;
|
|
1007
|
+
type: "vibes.diy.res-ensure-app-slug";
|
|
1008
|
+
env: Record<string, string>;
|
|
1009
|
+
fileSystem: {
|
|
1010
|
+
fileName: string;
|
|
1011
|
+
mimeType: string;
|
|
1012
|
+
assetId: string;
|
|
1013
|
+
assetURI: string;
|
|
1014
|
+
transform?: {
|
|
1015
|
+
type: "jsx-to-js";
|
|
1016
|
+
transformedAssetId: string;
|
|
1017
|
+
} | {
|
|
1018
|
+
type: "imports";
|
|
1019
|
+
importMapAssetId: string;
|
|
1020
|
+
} | {
|
|
1021
|
+
type: "import-map";
|
|
1022
|
+
fromAssetIds: string[];
|
|
1023
|
+
} | {
|
|
1024
|
+
type: "transformed";
|
|
1025
|
+
action: "jsx-to-js";
|
|
1026
|
+
transformedAssetId: string;
|
|
1027
|
+
} | {
|
|
1028
|
+
type: "tailwind-css";
|
|
1043
1029
|
} | undefined;
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1030
|
+
entryPoint?: boolean | undefined;
|
|
1031
|
+
size: number;
|
|
1032
|
+
kind?: "asset" | undefined;
|
|
1033
|
+
uploadId?: string | undefined;
|
|
1047
1034
|
}[];
|
|
1035
|
+
autoEnhanceOff?: true | undefined;
|
|
1036
|
+
appCreated?: true | undefined;
|
|
1037
|
+
anonWriteFollowed?: {
|
|
1038
|
+
to: "explicit" | "off";
|
|
1039
|
+
because: "not-open" | "personal-details" | "rules-ask" | "rules-do-not-ask" | "rules-not-bound" | "sensitive";
|
|
1040
|
+
} | undefined;
|
|
1041
|
+
backendWarnings?: string[] | undefined;
|
|
1042
|
+
} | {
|
|
1043
|
+
type: "vibes.diy.res-error";
|
|
1044
|
+
error: {
|
|
1045
|
+
message: string;
|
|
1046
|
+
code: "require-login";
|
|
1047
|
+
};
|
|
1048
|
+
} | {
|
|
1049
|
+
type: "vibes.diy.res-error";
|
|
1050
|
+
error: {
|
|
1051
|
+
message: string;
|
|
1052
|
+
code: "user-slug-invalid";
|
|
1053
|
+
};
|
|
1054
|
+
} | {
|
|
1055
|
+
type: "vibes.diy.res-error";
|
|
1056
|
+
error: {
|
|
1057
|
+
message: string;
|
|
1058
|
+
code: "app-slug-invalid";
|
|
1059
|
+
};
|
|
1060
|
+
} | {
|
|
1061
|
+
type: "vibes.diy.res-error";
|
|
1062
|
+
error: {
|
|
1063
|
+
message: string;
|
|
1064
|
+
code: "max-app-slugs-reached";
|
|
1065
|
+
};
|
|
1066
|
+
} | {
|
|
1067
|
+
type: "vibes.diy.res-error";
|
|
1068
|
+
error: {
|
|
1069
|
+
message: string;
|
|
1070
|
+
code: "from-not-owned";
|
|
1071
|
+
};
|
|
1072
|
+
} | {
|
|
1073
|
+
type: "vibes.diy.res-error";
|
|
1074
|
+
error: {
|
|
1075
|
+
message: string;
|
|
1076
|
+
code: "from-carry-failed";
|
|
1077
|
+
};
|
|
1078
|
+
} | {
|
|
1079
|
+
type: "vibes.diy.res-error";
|
|
1080
|
+
error: {
|
|
1081
|
+
message: string;
|
|
1082
|
+
code: "auto-enhance-off";
|
|
1083
|
+
};
|
|
1084
|
+
} | {
|
|
1085
|
+
type: "vibes-diy.cli.res-edit";
|
|
1086
|
+
appSlug: string;
|
|
1087
|
+
ownerHandle: string;
|
|
1088
|
+
url: string;
|
|
1089
|
+
directory: string;
|
|
1090
|
+
restyled?: boolean | undefined;
|
|
1091
|
+
fsId?: string | undefined;
|
|
1048
1092
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1049
1093
|
type: "vibes-diy.cli.doctor";
|
|
1050
1094
|
apiUrl: string;
|
|
@@ -1081,6 +1125,25 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1081
1125
|
defaultHandle?: string | undefined;
|
|
1082
1126
|
handles: string[];
|
|
1083
1127
|
detail?: string | undefined;
|
|
1128
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1129
|
+
type: "vibes-diy.cli.pull";
|
|
1130
|
+
appSlug: string;
|
|
1131
|
+
ownerHandle: string;
|
|
1132
|
+
dir: string;
|
|
1133
|
+
apiUrl: string;
|
|
1134
|
+
fsId?: string | undefined;
|
|
1135
|
+
published: boolean;
|
|
1136
|
+
draft: boolean;
|
|
1137
|
+
version?: string | undefined;
|
|
1138
|
+
}, {
|
|
1139
|
+
type: "vibes-diy.cli.res-pull";
|
|
1140
|
+
appSlug: string;
|
|
1141
|
+
ownerHandle: string;
|
|
1142
|
+
directory: string;
|
|
1143
|
+
files: {
|
|
1144
|
+
name: string;
|
|
1145
|
+
size: number;
|
|
1146
|
+
}[];
|
|
1084
1147
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1085
1148
|
type: "vibes-diy.cli.run";
|
|
1086
1149
|
apiUrl: string;
|
|
@@ -1714,34 +1777,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1714
1777
|
}, {
|
|
1715
1778
|
type: "vibes-diy.cli.res-phone-link-classify";
|
|
1716
1779
|
reaction?: string | undefined;
|
|
1717
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1718
|
-
type: "core-cli.device-id-register";
|
|
1719
|
-
commonName: string;
|
|
1720
|
-
organization: string;
|
|
1721
|
-
locality: string;
|
|
1722
|
-
state: string;
|
|
1723
|
-
country: string;
|
|
1724
|
-
caUrl: string;
|
|
1725
|
-
port: string;
|
|
1726
|
-
timeout: string;
|
|
1727
|
-
forceRenew: boolean;
|
|
1728
|
-
cert?: string | undefined;
|
|
1729
|
-
noBrowser?: boolean | undefined;
|
|
1730
|
-
apiUrl?: string | undefined;
|
|
1731
|
-
expectHandle?: string | undefined;
|
|
1732
|
-
expectUser?: string | undefined;
|
|
1733
|
-
}, {
|
|
1734
|
-
type: "core-cli.res-device-id-register";
|
|
1735
|
-
output: string;
|
|
1736
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1737
|
-
type: "vibes-diy.cli.db.list";
|
|
1738
|
-
apiUrl: string;
|
|
1739
|
-
appSlug: string;
|
|
1740
|
-
ownerHandle: string;
|
|
1741
|
-
admin: boolean;
|
|
1742
|
-
}, {
|
|
1743
|
-
type: "vibes-diy.cli.db.list-res";
|
|
1744
|
-
dbNames: string[];
|
|
1745
1780
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1746
1781
|
type: "vibes-diy.cli.db.get";
|
|
1747
1782
|
apiUrl: string;
|
|
@@ -1756,26 +1791,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1756
1791
|
doc: {
|
|
1757
1792
|
[x: string]: unknown;
|
|
1758
1793
|
};
|
|
1759
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1760
|
-
type: "vibes-diy.cli.db.put";
|
|
1761
|
-
apiUrl: string;
|
|
1762
|
-
appSlug: string;
|
|
1763
|
-
ownerHandle: string;
|
|
1764
|
-
dbName: string;
|
|
1765
|
-
docJson: string;
|
|
1766
|
-
docId: string;
|
|
1767
|
-
admin: boolean;
|
|
1768
|
-
actingHandle: string;
|
|
1769
|
-
files?: string[] | undefined;
|
|
1770
|
-
}, {
|
|
1771
|
-
type: "vibes-diy.cli.db.put-res";
|
|
1772
|
-
id: string;
|
|
1773
|
-
ok: true;
|
|
1774
|
-
files?: {
|
|
1775
|
-
key: string;
|
|
1776
|
-
status: "unchanged" | "uploaded";
|
|
1777
|
-
uploadId: string;
|
|
1778
|
-
}[] | undefined;
|
|
1779
1794
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1780
1795
|
type: "vibes-diy.cli.db.del";
|
|
1781
1796
|
apiUrl: string;
|
|
@@ -1809,25 +1824,10 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1809
1824
|
[x: string]: unknown;
|
|
1810
1825
|
}[];
|
|
1811
1826
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1812
|
-
type: "vibes-diy.cli.db.
|
|
1813
|
-
action: "add" | "remove";
|
|
1827
|
+
type: "vibes-diy.cli.db.subscribe";
|
|
1814
1828
|
apiUrl: string;
|
|
1815
1829
|
appSlug: string;
|
|
1816
1830
|
ownerHandle: string;
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
action: "add" | "remove";
|
|
1820
|
-
appSlug: string;
|
|
1821
|
-
ownerHandle: string;
|
|
1822
|
-
seedFile: "absent" | "invalid" | "present" | "unknown";
|
|
1823
|
-
changed: number;
|
|
1824
|
-
skipped: number;
|
|
1825
|
-
failed: number;
|
|
1826
|
-
perDb: {
|
|
1827
|
-
dbName: string;
|
|
1828
|
-
changed: number;
|
|
1829
|
-
skipped: number;
|
|
1830
|
-
failed: number;
|
|
1831
|
-
}[];
|
|
1832
|
-
}>)[];
|
|
1831
|
+
dbName: string;
|
|
1832
|
+
}, never>)[];
|
|
1833
1833
|
export declare function cmdTsEvento(): import("@adviser/cement").Evento;
|