vibes-diy 14.3.420 → 14.3.421
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 +353 -353
- package/cli/cmds/run/backend-worker/run-backend-entry.js +34 -13
- package/cli/cmds/run/bundle-inputs.json +4 -0
- package/cli/cmds/run/run-bundle.js +1426 -1046
- package/package.json +8 -8
package/cli/cmd-evento.d.ts
CHANGED
|
@@ -21,150 +21,214 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
21
21
|
type: "core-cli.res-device-id-register";
|
|
22
22
|
output: string;
|
|
23
23
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
24
|
-
type: "vibes-diy.cli.
|
|
24
|
+
type: "vibes-diy.cli.system";
|
|
25
25
|
}, {
|
|
26
|
-
type: "vibes-diy.cli.res-
|
|
27
|
-
|
|
28
|
-
name: string;
|
|
29
|
-
description: string;
|
|
30
|
-
}[];
|
|
31
|
-
} | {
|
|
32
|
-
type: "vibes-diy.cli.res-skill-content";
|
|
33
|
-
name: string;
|
|
34
|
-
content: string;
|
|
26
|
+
type: "vibes-diy.cli.res-system";
|
|
27
|
+
systemPrompt: string;
|
|
35
28
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
36
|
-
type: "vibes-diy.cli.
|
|
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;
|
|
37
36
|
apiUrl: string;
|
|
38
|
-
ownerHandle?: string | undefined;
|
|
39
|
-
noDefault?: boolean | undefined;
|
|
40
37
|
}, {
|
|
41
|
-
type: "vibes-diy.cli.res-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
38
|
+
type: "vibes-diy.cli.res-remix";
|
|
39
|
+
ownerHandle: string;
|
|
40
|
+
appSlug: string;
|
|
41
|
+
url: string;
|
|
42
|
+
carried?: string[] | undefined;
|
|
43
|
+
skippedPresent?: string[] | undefined;
|
|
44
|
+
chatId?: string | undefined;
|
|
47
45
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
48
|
-
type: "vibes-diy.cli.
|
|
46
|
+
type: "vibes-diy.cli.agent";
|
|
49
47
|
apiUrl: string;
|
|
50
48
|
prompt: string;
|
|
51
49
|
ownerHandle: string;
|
|
52
|
-
|
|
53
|
-
vibe: string;
|
|
54
|
-
db: string;
|
|
55
|
-
doc: string;
|
|
56
|
-
out: string;
|
|
50
|
+
followMs: number;
|
|
57
51
|
json: boolean;
|
|
52
|
+
chatId?: string | undefined;
|
|
53
|
+
newChat?: boolean | undefined;
|
|
54
|
+
images?: string[] | undefined;
|
|
55
|
+
byText?: boolean | undefined;
|
|
58
56
|
}, {
|
|
59
|
-
type: "vibes-diy.cli.res-
|
|
60
|
-
path: string;
|
|
61
|
-
receipt: {
|
|
62
|
-
ok: true;
|
|
63
|
-
picture: {
|
|
64
|
-
url: string;
|
|
65
|
-
mimeType: string;
|
|
66
|
-
name: string;
|
|
67
|
-
size: number;
|
|
68
|
-
ownerHandle: string;
|
|
69
|
-
appSlug: string;
|
|
70
|
-
dbName: string;
|
|
71
|
-
docId: string;
|
|
72
|
-
};
|
|
73
|
-
link?: string | undefined;
|
|
74
|
-
made: {
|
|
75
|
-
prompt: string;
|
|
76
|
-
model: string;
|
|
77
|
-
};
|
|
78
|
-
};
|
|
79
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
80
|
-
type: "vibes-diy.cli.db.list";
|
|
81
|
-
apiUrl: string;
|
|
82
|
-
appSlug: string;
|
|
57
|
+
type: "vibes-diy.cli.res-agent";
|
|
83
58
|
ownerHandle: string;
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
59
|
+
chatId: string;
|
|
60
|
+
messages: string[];
|
|
61
|
+
shorts?: string[] | undefined;
|
|
62
|
+
links: string[];
|
|
63
|
+
idle: boolean;
|
|
64
|
+
reactions?: string[] | undefined;
|
|
65
|
+
error?: string | undefined;
|
|
66
|
+
credits?: number | undefined;
|
|
88
67
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
89
|
-
type: "vibes-diy.cli.
|
|
90
|
-
apiUrl: string;
|
|
68
|
+
type: "vibes-diy.cli.pull";
|
|
91
69
|
appSlug: string;
|
|
92
70
|
ownerHandle: string;
|
|
93
|
-
|
|
94
|
-
docJson: string;
|
|
95
|
-
docId: string;
|
|
96
|
-
admin: boolean;
|
|
97
|
-
actingHandle: string;
|
|
98
|
-
files?: string[] | undefined;
|
|
99
|
-
}, {
|
|
100
|
-
type: "vibes-diy.cli.db.put-res";
|
|
101
|
-
id: string;
|
|
102
|
-
ok: true;
|
|
103
|
-
files?: {
|
|
104
|
-
key: string;
|
|
105
|
-
status: "unchanged" | "uploaded";
|
|
106
|
-
uploadId: string;
|
|
107
|
-
}[] | undefined;
|
|
108
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
109
|
-
type: "vibes-diy.cli.db.seed";
|
|
110
|
-
action: "add" | "remove";
|
|
71
|
+
dir: string;
|
|
111
72
|
apiUrl: string;
|
|
112
|
-
|
|
113
|
-
|
|
73
|
+
fsId?: string | undefined;
|
|
74
|
+
published: boolean;
|
|
75
|
+
draft: boolean;
|
|
76
|
+
version?: string | undefined;
|
|
114
77
|
}, {
|
|
115
|
-
type: "vibes-diy.cli.
|
|
116
|
-
action: "add" | "remove";
|
|
78
|
+
type: "vibes-diy.cli.res-pull";
|
|
117
79
|
appSlug: string;
|
|
118
80
|
ownerHandle: string;
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
perDb: {
|
|
124
|
-
dbName: string;
|
|
125
|
-
changed: number;
|
|
126
|
-
skipped: number;
|
|
127
|
-
failed: number;
|
|
81
|
+
directory: string;
|
|
82
|
+
files: {
|
|
83
|
+
name: string;
|
|
84
|
+
size: number;
|
|
128
85
|
}[];
|
|
129
86
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
130
|
-
type: "vibes-diy.cli.
|
|
87
|
+
type: "vibes-diy.cli.db.subscribe";
|
|
88
|
+
apiUrl: string;
|
|
89
|
+
appSlug: string;
|
|
90
|
+
ownerHandle: string;
|
|
91
|
+
dbName: string;
|
|
92
|
+
}, never> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
93
|
+
type: "vibes-diy.cli.codegen-log";
|
|
131
94
|
appSlug: string;
|
|
132
95
|
ownerHandle: string;
|
|
133
96
|
chatId?: string | undefined;
|
|
134
97
|
apiUrl: string;
|
|
98
|
+
response?: boolean | undefined;
|
|
99
|
+
raw?: boolean | undefined;
|
|
100
|
+
files?: boolean | undefined;
|
|
101
|
+
jsonl?: boolean | undefined;
|
|
102
|
+
user?: boolean | undefined;
|
|
103
|
+
promptId?: string | undefined;
|
|
135
104
|
}, {
|
|
136
|
-
type: "vibes-diy.cli.res-
|
|
105
|
+
type: "vibes-diy.cli.res-codegen-log-response";
|
|
106
|
+
output: string;
|
|
107
|
+
} | {
|
|
108
|
+
type: "vibes-diy.cli.res-codegen-log-list";
|
|
137
109
|
items: {
|
|
138
110
|
chatId: string;
|
|
139
111
|
appSlug: string;
|
|
140
112
|
ownerHandle: string;
|
|
141
113
|
created: string;
|
|
142
|
-
userHandle?: string | undefined;
|
|
143
114
|
}[];
|
|
144
115
|
} | {
|
|
145
|
-
type: "vibes-diy.cli.res-
|
|
116
|
+
type: "vibes-diy.cli.res-codegen-log-detail";
|
|
146
117
|
chatId: string;
|
|
147
|
-
ownerHandle
|
|
148
|
-
appSlug
|
|
149
|
-
|
|
118
|
+
ownerHandle: string;
|
|
119
|
+
appSlug: string;
|
|
120
|
+
prompts: {
|
|
121
|
+
prompt: string;
|
|
122
|
+
fsId: string;
|
|
123
|
+
created: string;
|
|
124
|
+
}[];
|
|
150
125
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
151
|
-
type: "vibes-diy.cli.
|
|
126
|
+
type: "vibes-diy.cli.edit";
|
|
127
|
+
appSlug: string;
|
|
128
|
+
prompt: string;
|
|
129
|
+
ownerHandle: string;
|
|
130
|
+
instantJoin?: boolean | undefined;
|
|
131
|
+
verbose: boolean;
|
|
132
|
+
dir: string;
|
|
152
133
|
apiUrl: string;
|
|
134
|
+
dryRun: boolean;
|
|
135
|
+
transcript: boolean;
|
|
136
|
+
directBuild?: boolean | undefined;
|
|
137
|
+
focusPath?: string | undefined;
|
|
138
|
+
model?: string | undefined;
|
|
139
|
+
builderModel?: string | undefined;
|
|
140
|
+
apiKey?: string | undefined;
|
|
153
141
|
}, {
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
142
|
+
appSlug: string;
|
|
143
|
+
ownerHandle: string;
|
|
144
|
+
mode: "dev" | "production";
|
|
145
|
+
fsId: string;
|
|
146
|
+
type: "vibes.diy.res-ensure-app-slug";
|
|
147
|
+
env: Record<string, string>;
|
|
148
|
+
fileSystem: {
|
|
149
|
+
fileName: string;
|
|
150
|
+
mimeType: string;
|
|
151
|
+
assetId: string;
|
|
152
|
+
assetURI: string;
|
|
153
|
+
transform?: {
|
|
154
|
+
type: "jsx-to-js";
|
|
155
|
+
transformedAssetId: string;
|
|
156
|
+
} | {
|
|
157
|
+
type: "imports";
|
|
158
|
+
importMapAssetId: string;
|
|
159
|
+
} | {
|
|
160
|
+
type: "import-map";
|
|
161
|
+
fromAssetIds: string[];
|
|
162
|
+
} | {
|
|
163
|
+
type: "transformed";
|
|
164
|
+
action: "jsx-to-js";
|
|
165
|
+
transformedAssetId: string;
|
|
166
|
+
} | {
|
|
167
|
+
type: "tailwind-css";
|
|
163
168
|
} | undefined;
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
169
|
+
entryPoint?: boolean | undefined;
|
|
170
|
+
size: number;
|
|
171
|
+
kind?: "asset" | undefined;
|
|
172
|
+
uploadId?: string | undefined;
|
|
167
173
|
}[];
|
|
174
|
+
autoEnhanceOff?: true | undefined;
|
|
175
|
+
appCreated?: true | undefined;
|
|
176
|
+
} | {
|
|
177
|
+
type: "vibes.diy.res-error";
|
|
178
|
+
error: {
|
|
179
|
+
message: string;
|
|
180
|
+
code: "require-login";
|
|
181
|
+
};
|
|
182
|
+
} | {
|
|
183
|
+
type: "vibes.diy.res-error";
|
|
184
|
+
error: {
|
|
185
|
+
message: string;
|
|
186
|
+
code: "user-slug-invalid";
|
|
187
|
+
};
|
|
188
|
+
} | {
|
|
189
|
+
type: "vibes.diy.res-error";
|
|
190
|
+
error: {
|
|
191
|
+
message: string;
|
|
192
|
+
code: "app-slug-invalid";
|
|
193
|
+
};
|
|
194
|
+
} | {
|
|
195
|
+
type: "vibes.diy.res-error";
|
|
196
|
+
error: {
|
|
197
|
+
message: string;
|
|
198
|
+
code: "from-not-owned";
|
|
199
|
+
};
|
|
200
|
+
} | {
|
|
201
|
+
type: "vibes.diy.res-error";
|
|
202
|
+
error: {
|
|
203
|
+
message: string;
|
|
204
|
+
code: "from-carry-failed";
|
|
205
|
+
};
|
|
206
|
+
} | {
|
|
207
|
+
type: "vibes.diy.res-error";
|
|
208
|
+
error: {
|
|
209
|
+
message: string;
|
|
210
|
+
code: "auto-enhance-off";
|
|
211
|
+
};
|
|
212
|
+
} | {
|
|
213
|
+
type: "vibes.diy.res-error";
|
|
214
|
+
error: {
|
|
215
|
+
message: string;
|
|
216
|
+
code: "handle-required";
|
|
217
|
+
};
|
|
218
|
+
} | {
|
|
219
|
+
type: "vibes.diy.res-error";
|
|
220
|
+
error: {
|
|
221
|
+
message: string;
|
|
222
|
+
code: "max-app-slugs-reached";
|
|
223
|
+
};
|
|
224
|
+
} | {
|
|
225
|
+
type: "vibes-diy.cli.res-edit";
|
|
226
|
+
appSlug: string;
|
|
227
|
+
ownerHandle: string;
|
|
228
|
+
url: string;
|
|
229
|
+
directory: string;
|
|
230
|
+
restyled?: boolean | undefined;
|
|
231
|
+
fsId?: string | undefined;
|
|
168
232
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
169
233
|
type: "vibes-diy.cli.run";
|
|
170
234
|
apiUrl: string;
|
|
@@ -605,6 +669,18 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
605
669
|
})[];
|
|
606
670
|
updated: string;
|
|
607
671
|
created: string;
|
|
672
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
673
|
+
type: "vibes-diy.cli.skills";
|
|
674
|
+
}, {
|
|
675
|
+
type: "vibes-diy.cli.res-skills-list";
|
|
676
|
+
skills: {
|
|
677
|
+
name: string;
|
|
678
|
+
description: string;
|
|
679
|
+
}[];
|
|
680
|
+
} | {
|
|
681
|
+
type: "vibes-diy.cli.res-skill-content";
|
|
682
|
+
name: string;
|
|
683
|
+
content: string;
|
|
608
684
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
609
685
|
type: "use-vibes.cli.themes";
|
|
610
686
|
}, {
|
|
@@ -631,11 +707,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
631
707
|
id: string;
|
|
632
708
|
guidance: string;
|
|
633
709
|
}[];
|
|
634
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
635
|
-
type: "vibes-diy.cli.system";
|
|
636
|
-
}, {
|
|
637
|
-
type: "vibes-diy.cli.res-system";
|
|
638
|
-
systemPrompt: string;
|
|
639
710
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
640
711
|
type: "vibes-diy.cli.push";
|
|
641
712
|
mode: string;
|
|
@@ -643,171 +714,16 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
643
714
|
ownerHandle: string;
|
|
644
715
|
access?: string | undefined;
|
|
645
716
|
privateMode?: boolean | undefined;
|
|
646
|
-
noAccessFn?: boolean | undefined;
|
|
647
|
-
message?: string | undefined;
|
|
648
|
-
title?: string | undefined;
|
|
649
|
-
from?: {
|
|
650
|
-
ownerHandle: string;
|
|
651
|
-
appSlug: string;
|
|
652
|
-
} | undefined;
|
|
653
|
-
apiKey?: string | undefined;
|
|
654
|
-
apiUrl: string;
|
|
655
|
-
idleTimeoutMs?: number | undefined;
|
|
656
|
-
}, {
|
|
657
|
-
appSlug: string;
|
|
658
|
-
ownerHandle: string;
|
|
659
|
-
mode: "dev" | "production";
|
|
660
|
-
fsId: string;
|
|
661
|
-
type: "vibes.diy.res-ensure-app-slug";
|
|
662
|
-
env: Record<string, string>;
|
|
663
|
-
fileSystem: {
|
|
664
|
-
fileName: string;
|
|
665
|
-
mimeType: string;
|
|
666
|
-
assetId: string;
|
|
667
|
-
assetURI: string;
|
|
668
|
-
transform?: {
|
|
669
|
-
type: "jsx-to-js";
|
|
670
|
-
transformedAssetId: string;
|
|
671
|
-
} | {
|
|
672
|
-
type: "imports";
|
|
673
|
-
importMapAssetId: string;
|
|
674
|
-
} | {
|
|
675
|
-
type: "import-map";
|
|
676
|
-
fromAssetIds: string[];
|
|
677
|
-
} | {
|
|
678
|
-
type: "transformed";
|
|
679
|
-
action: "jsx-to-js";
|
|
680
|
-
transformedAssetId: string;
|
|
681
|
-
} | {
|
|
682
|
-
type: "tailwind-css";
|
|
683
|
-
} | undefined;
|
|
684
|
-
entryPoint?: boolean | undefined;
|
|
685
|
-
size: number;
|
|
686
|
-
kind?: "asset" | undefined;
|
|
687
|
-
uploadId?: string | undefined;
|
|
688
|
-
}[];
|
|
689
|
-
autoEnhanceOff?: true | undefined;
|
|
690
|
-
appCreated?: true | undefined;
|
|
691
|
-
} | {
|
|
692
|
-
type: "vibes.diy.res-error";
|
|
693
|
-
error: {
|
|
694
|
-
message: string;
|
|
695
|
-
code: "require-login";
|
|
696
|
-
};
|
|
697
|
-
} | {
|
|
698
|
-
type: "vibes.diy.res-error";
|
|
699
|
-
error: {
|
|
700
|
-
message: string;
|
|
701
|
-
code: "user-slug-invalid";
|
|
702
|
-
};
|
|
703
|
-
} | {
|
|
704
|
-
type: "vibes.diy.res-error";
|
|
705
|
-
error: {
|
|
706
|
-
message: string;
|
|
707
|
-
code: "app-slug-invalid";
|
|
708
|
-
};
|
|
709
|
-
} | {
|
|
710
|
-
type: "vibes.diy.res-error";
|
|
711
|
-
error: {
|
|
712
|
-
message: string;
|
|
713
|
-
code: "max-app-slugs-reached";
|
|
714
|
-
};
|
|
715
|
-
} | {
|
|
716
|
-
type: "vibes.diy.res-error";
|
|
717
|
-
error: {
|
|
718
|
-
message: string;
|
|
719
|
-
code: "handle-required";
|
|
720
|
-
};
|
|
721
|
-
} | {
|
|
722
|
-
type: "vibes.diy.res-error";
|
|
723
|
-
error: {
|
|
724
|
-
message: string;
|
|
725
|
-
code: "from-not-owned";
|
|
726
|
-
};
|
|
727
|
-
} | {
|
|
728
|
-
type: "vibes.diy.res-error";
|
|
729
|
-
error: {
|
|
730
|
-
message: string;
|
|
731
|
-
code: "from-carry-failed";
|
|
732
|
-
};
|
|
733
|
-
} | {
|
|
734
|
-
type: "vibes.diy.res-error";
|
|
735
|
-
error: {
|
|
736
|
-
message: string;
|
|
737
|
-
code: "auto-enhance-off";
|
|
738
|
-
};
|
|
739
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
740
|
-
type: "vibes-diy.cli.remix";
|
|
741
|
-
srcUserSlug: string;
|
|
742
|
-
srcAppSlug: string;
|
|
743
|
-
dstOwnerHandle?: string | undefined;
|
|
744
|
-
dstAppSlug?: string | undefined;
|
|
745
|
-
published: boolean;
|
|
746
|
-
settingsOnly: boolean;
|
|
747
|
-
apiUrl: string;
|
|
748
|
-
}, {
|
|
749
|
-
type: "vibes-diy.cli.res-remix";
|
|
750
|
-
ownerHandle: string;
|
|
751
|
-
appSlug: string;
|
|
752
|
-
url: string;
|
|
753
|
-
carried?: string[] | undefined;
|
|
754
|
-
skippedPresent?: string[] | undefined;
|
|
755
|
-
chatId?: string | undefined;
|
|
756
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
757
|
-
type: "vibes-diy.cli.agent";
|
|
758
|
-
apiUrl: string;
|
|
759
|
-
prompt: string;
|
|
760
|
-
ownerHandle: string;
|
|
761
|
-
followMs: number;
|
|
762
|
-
json: boolean;
|
|
763
|
-
chatId?: string | undefined;
|
|
764
|
-
newChat?: boolean | undefined;
|
|
765
|
-
images?: string[] | undefined;
|
|
766
|
-
byText?: boolean | undefined;
|
|
767
|
-
}, {
|
|
768
|
-
type: "vibes-diy.cli.res-agent";
|
|
769
|
-
ownerHandle: string;
|
|
770
|
-
chatId: string;
|
|
771
|
-
messages: string[];
|
|
772
|
-
shorts?: string[] | undefined;
|
|
773
|
-
links: string[];
|
|
774
|
-
idle: boolean;
|
|
775
|
-
reactions?: string[] | undefined;
|
|
776
|
-
error?: string | undefined;
|
|
777
|
-
credits?: number | undefined;
|
|
778
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
779
|
-
type: "vibes-diy.cli.put-asset";
|
|
780
|
-
file: string;
|
|
781
|
-
appSlug: string;
|
|
782
|
-
ownerHandle: string;
|
|
783
|
-
apiUrl: string;
|
|
784
|
-
mimeType: string;
|
|
785
|
-
verifyFetch: boolean;
|
|
786
|
-
}, {
|
|
787
|
-
type: "vibes-diy.cli.res-put-asset";
|
|
788
|
-
cid: string;
|
|
789
|
-
getURL: string;
|
|
790
|
-
size: number;
|
|
791
|
-
uploadId: string;
|
|
792
|
-
verified?: boolean | undefined;
|
|
793
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
794
|
-
type: "vibes-diy.cli.generate";
|
|
795
|
-
prompt: string;
|
|
796
|
-
appSlug: string;
|
|
797
|
-
ownerHandle: string;
|
|
798
|
-
instantJoin?: boolean | undefined;
|
|
799
|
-
noAccessFn?: boolean | undefined;
|
|
800
|
-
privateMode?: boolean | undefined;
|
|
801
|
-
verbose: boolean;
|
|
802
|
-
apiUrl: string;
|
|
803
|
-
focusPath?: string | undefined;
|
|
804
|
-
model?: string | undefined;
|
|
805
|
-
builderModel?: string | undefined;
|
|
717
|
+
noAccessFn?: boolean | undefined;
|
|
718
|
+
message?: string | undefined;
|
|
719
|
+
title?: string | undefined;
|
|
720
|
+
from?: {
|
|
721
|
+
ownerHandle: string;
|
|
722
|
+
appSlug: string;
|
|
723
|
+
} | undefined;
|
|
806
724
|
apiKey?: string | undefined;
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
style?: string | undefined;
|
|
810
|
-
fastPass?: boolean | undefined;
|
|
725
|
+
apiUrl: string;
|
|
726
|
+
idleTimeoutMs?: number | undefined;
|
|
811
727
|
}, {
|
|
812
728
|
appSlug: string;
|
|
813
729
|
ownerHandle: string;
|
|
@@ -865,91 +781,109 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
865
781
|
type: "vibes.diy.res-error";
|
|
866
782
|
error: {
|
|
867
783
|
message: string;
|
|
868
|
-
code: "
|
|
784
|
+
code: "from-not-owned";
|
|
869
785
|
};
|
|
870
786
|
} | {
|
|
871
787
|
type: "vibes.diy.res-error";
|
|
872
788
|
error: {
|
|
873
789
|
message: string;
|
|
874
|
-
code: "
|
|
790
|
+
code: "from-carry-failed";
|
|
875
791
|
};
|
|
876
792
|
} | {
|
|
877
793
|
type: "vibes.diy.res-error";
|
|
878
794
|
error: {
|
|
879
795
|
message: string;
|
|
880
|
-
code: "
|
|
796
|
+
code: "auto-enhance-off";
|
|
881
797
|
};
|
|
882
798
|
} | {
|
|
883
799
|
type: "vibes.diy.res-error";
|
|
884
800
|
error: {
|
|
885
801
|
message: string;
|
|
886
|
-
code: "
|
|
802
|
+
code: "handle-required";
|
|
887
803
|
};
|
|
888
804
|
} | {
|
|
889
805
|
type: "vibes.diy.res-error";
|
|
890
806
|
error: {
|
|
891
807
|
message: string;
|
|
892
|
-
code: "
|
|
808
|
+
code: "max-app-slugs-reached";
|
|
893
809
|
};
|
|
894
|
-
} | {
|
|
895
|
-
type: "vibes-diy.cli.
|
|
896
|
-
|
|
810
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
811
|
+
type: "vibes-diy.cli.claim-handle";
|
|
812
|
+
apiUrl: string;
|
|
813
|
+
ownerHandle?: string | undefined;
|
|
814
|
+
noDefault?: boolean | undefined;
|
|
815
|
+
}, {
|
|
816
|
+
type: "vibes-diy.cli.res-claim-handle";
|
|
817
|
+
op: "claim" | "suggest";
|
|
818
|
+
ownerHandle?: string | undefined;
|
|
819
|
+
defaultHandleSet?: boolean | undefined;
|
|
820
|
+
defaultSkipped?: boolean | undefined;
|
|
821
|
+
suggestions: string[];
|
|
822
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
823
|
+
type: "vibes-diy.cli.image";
|
|
824
|
+
apiUrl: string;
|
|
825
|
+
prompt: string;
|
|
897
826
|
ownerHandle: string;
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
827
|
+
photo: string;
|
|
828
|
+
vibe: string;
|
|
829
|
+
db: string;
|
|
830
|
+
doc: string;
|
|
831
|
+
out: string;
|
|
832
|
+
json: boolean;
|
|
833
|
+
}, {
|
|
834
|
+
type: "vibes-diy.cli.res-image";
|
|
835
|
+
path: string;
|
|
836
|
+
receipt: {
|
|
837
|
+
ok: true;
|
|
838
|
+
picture: {
|
|
839
|
+
url: string;
|
|
840
|
+
mimeType: string;
|
|
841
|
+
name: string;
|
|
842
|
+
size: number;
|
|
843
|
+
ownerHandle: string;
|
|
844
|
+
appSlug: string;
|
|
845
|
+
dbName: string;
|
|
846
|
+
docId: string;
|
|
847
|
+
};
|
|
848
|
+
link?: string | undefined;
|
|
849
|
+
made: {
|
|
850
|
+
prompt: string;
|
|
851
|
+
model: string;
|
|
852
|
+
};
|
|
853
|
+
};
|
|
904
854
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
905
|
-
type: "vibes-diy.cli.
|
|
855
|
+
type: "vibes-diy.cli.put-asset";
|
|
856
|
+
file: string;
|
|
906
857
|
appSlug: string;
|
|
907
858
|
ownerHandle: string;
|
|
908
|
-
chatId?: string | undefined;
|
|
909
859
|
apiUrl: string;
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
files?: boolean | undefined;
|
|
913
|
-
jsonl?: boolean | undefined;
|
|
914
|
-
user?: boolean | undefined;
|
|
915
|
-
promptId?: string | undefined;
|
|
860
|
+
mimeType: string;
|
|
861
|
+
verifyFetch: boolean;
|
|
916
862
|
}, {
|
|
917
|
-
type: "vibes-diy.cli.res-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
}[];
|
|
924
|
-
} | {
|
|
925
|
-
type: "vibes-diy.cli.res-codegen-log-detail";
|
|
926
|
-
chatId: string;
|
|
927
|
-
ownerHandle: string;
|
|
928
|
-
appSlug: string;
|
|
929
|
-
prompts: {
|
|
930
|
-
prompt: string;
|
|
931
|
-
fsId: string;
|
|
932
|
-
created: string;
|
|
933
|
-
}[];
|
|
934
|
-
} | {
|
|
935
|
-
type: "vibes-diy.cli.res-codegen-log-response";
|
|
936
|
-
output: string;
|
|
863
|
+
type: "vibes-diy.cli.res-put-asset";
|
|
864
|
+
cid: string;
|
|
865
|
+
getURL: string;
|
|
866
|
+
size: number;
|
|
867
|
+
uploadId: string;
|
|
868
|
+
verified?: boolean | undefined;
|
|
937
869
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
938
|
-
type: "vibes-diy.cli.
|
|
939
|
-
appSlug: string;
|
|
870
|
+
type: "vibes-diy.cli.generate";
|
|
940
871
|
prompt: string;
|
|
872
|
+
appSlug: string;
|
|
941
873
|
ownerHandle: string;
|
|
942
874
|
instantJoin?: boolean | undefined;
|
|
875
|
+
noAccessFn?: boolean | undefined;
|
|
876
|
+
privateMode?: boolean | undefined;
|
|
943
877
|
verbose: boolean;
|
|
944
|
-
dir: string;
|
|
945
878
|
apiUrl: string;
|
|
946
|
-
dryRun: boolean;
|
|
947
|
-
transcript: boolean;
|
|
948
|
-
directBuild?: boolean | undefined;
|
|
949
879
|
focusPath?: string | undefined;
|
|
950
880
|
model?: string | undefined;
|
|
951
881
|
builderModel?: string | undefined;
|
|
952
882
|
apiKey?: string | undefined;
|
|
883
|
+
variety?: string | undefined;
|
|
884
|
+
record?: string | undefined;
|
|
885
|
+
style?: string | undefined;
|
|
886
|
+
fastPass?: boolean | undefined;
|
|
953
887
|
}, {
|
|
954
888
|
appSlug: string;
|
|
955
889
|
ownerHandle: string;
|
|
@@ -1007,40 +941,81 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1007
941
|
type: "vibes.diy.res-error";
|
|
1008
942
|
error: {
|
|
1009
943
|
message: string;
|
|
1010
|
-
code: "
|
|
944
|
+
code: "from-not-owned";
|
|
1011
945
|
};
|
|
1012
946
|
} | {
|
|
1013
947
|
type: "vibes.diy.res-error";
|
|
1014
948
|
error: {
|
|
1015
949
|
message: string;
|
|
1016
|
-
code: "
|
|
950
|
+
code: "from-carry-failed";
|
|
1017
951
|
};
|
|
1018
952
|
} | {
|
|
1019
953
|
type: "vibes.diy.res-error";
|
|
1020
954
|
error: {
|
|
1021
955
|
message: string;
|
|
1022
|
-
code: "
|
|
956
|
+
code: "auto-enhance-off";
|
|
1023
957
|
};
|
|
1024
958
|
} | {
|
|
1025
959
|
type: "vibes.diy.res-error";
|
|
1026
960
|
error: {
|
|
1027
961
|
message: string;
|
|
1028
|
-
code: "
|
|
962
|
+
code: "handle-required";
|
|
1029
963
|
};
|
|
1030
964
|
} | {
|
|
1031
965
|
type: "vibes.diy.res-error";
|
|
1032
966
|
error: {
|
|
1033
967
|
message: string;
|
|
1034
|
-
code: "
|
|
968
|
+
code: "max-app-slugs-reached";
|
|
1035
969
|
};
|
|
1036
970
|
} | {
|
|
1037
|
-
type: "vibes-diy.cli.res-
|
|
971
|
+
type: "vibes-diy.cli.res-generate";
|
|
1038
972
|
appSlug: string;
|
|
1039
973
|
ownerHandle: string;
|
|
1040
974
|
url: string;
|
|
1041
975
|
directory: string;
|
|
1042
|
-
|
|
1043
|
-
|
|
976
|
+
release?: "not-visible" | "published" | "version-locked" | undefined;
|
|
977
|
+
turns?: number | undefined;
|
|
978
|
+
publish?: "kept-private-no-access-fn" | "private" | "published" | undefined;
|
|
979
|
+
posture?: "gated" | "open" | "private" | undefined;
|
|
980
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
981
|
+
type: "vibes-diy.cli.app-chats";
|
|
982
|
+
appSlug: string;
|
|
983
|
+
ownerHandle: string;
|
|
984
|
+
chatId?: string | undefined;
|
|
985
|
+
apiUrl: string;
|
|
986
|
+
}, {
|
|
987
|
+
type: "vibes-diy.cli.res-app-chats-list";
|
|
988
|
+
items: {
|
|
989
|
+
chatId: string;
|
|
990
|
+
appSlug: string;
|
|
991
|
+
ownerHandle: string;
|
|
992
|
+
created: string;
|
|
993
|
+
userHandle?: string | undefined;
|
|
994
|
+
}[];
|
|
995
|
+
} | {
|
|
996
|
+
type: "vibes-diy.cli.res-app-chats-detail";
|
|
997
|
+
chatId: string;
|
|
998
|
+
ownerHandle?: string | undefined;
|
|
999
|
+
appSlug?: string | undefined;
|
|
1000
|
+
output: string;
|
|
1001
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1002
|
+
type: "vibes-diy.cli.list";
|
|
1003
|
+
apiUrl: string;
|
|
1004
|
+
}, {
|
|
1005
|
+
type: "vibes-diy.cli.res-list";
|
|
1006
|
+
items: {
|
|
1007
|
+
ownerHandle: string;
|
|
1008
|
+
appSlug: string;
|
|
1009
|
+
updated: string;
|
|
1010
|
+
title?: string | undefined;
|
|
1011
|
+
icon?: {
|
|
1012
|
+
cid: string;
|
|
1013
|
+
mime: string;
|
|
1014
|
+
} | undefined;
|
|
1015
|
+
pinnedAt?: string | undefined;
|
|
1016
|
+
neverPublished?: boolean | undefined;
|
|
1017
|
+
unpublishedAt?: string | undefined;
|
|
1018
|
+
}[];
|
|
1044
1019
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1045
1020
|
type: "vibes-diy.cli.doctor";
|
|
1046
1021
|
apiUrl: string;
|
|
@@ -1077,25 +1052,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1077
1052
|
defaultHandle?: string | undefined;
|
|
1078
1053
|
handles: string[];
|
|
1079
1054
|
detail?: string | undefined;
|
|
1080
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1081
|
-
type: "vibes-diy.cli.pull";
|
|
1082
|
-
appSlug: string;
|
|
1083
|
-
ownerHandle: string;
|
|
1084
|
-
dir: string;
|
|
1085
|
-
apiUrl: string;
|
|
1086
|
-
fsId?: string | undefined;
|
|
1087
|
-
published: boolean;
|
|
1088
|
-
draft: boolean;
|
|
1089
|
-
version?: string | undefined;
|
|
1090
|
-
}, {
|
|
1091
|
-
type: "vibes-diy.cli.res-pull";
|
|
1092
|
-
appSlug: string;
|
|
1093
|
-
ownerHandle: string;
|
|
1094
|
-
directory: string;
|
|
1095
|
-
files: {
|
|
1096
|
-
name: string;
|
|
1097
|
-
size: number;
|
|
1098
|
-
}[];
|
|
1099
1055
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1100
1056
|
type: "vibes-diy.cli.versions";
|
|
1101
1057
|
appSlug: string;
|
|
@@ -1652,6 +1608,15 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1652
1608
|
}, {
|
|
1653
1609
|
type: "vibes-diy.cli.res-phone-link-classify";
|
|
1654
1610
|
reaction?: string | undefined;
|
|
1611
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1612
|
+
type: "vibes-diy.cli.db.list";
|
|
1613
|
+
apiUrl: string;
|
|
1614
|
+
appSlug: string;
|
|
1615
|
+
ownerHandle: string;
|
|
1616
|
+
admin: boolean;
|
|
1617
|
+
}, {
|
|
1618
|
+
type: "vibes-diy.cli.db.list-res";
|
|
1619
|
+
dbNames: string[];
|
|
1655
1620
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1656
1621
|
type: "vibes-diy.cli.db.get";
|
|
1657
1622
|
apiUrl: string;
|
|
@@ -1666,6 +1631,26 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1666
1631
|
doc: {
|
|
1667
1632
|
[x: string]: unknown;
|
|
1668
1633
|
};
|
|
1634
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1635
|
+
type: "vibes-diy.cli.db.put";
|
|
1636
|
+
apiUrl: string;
|
|
1637
|
+
appSlug: string;
|
|
1638
|
+
ownerHandle: string;
|
|
1639
|
+
dbName: string;
|
|
1640
|
+
docJson: string;
|
|
1641
|
+
docId: string;
|
|
1642
|
+
admin: boolean;
|
|
1643
|
+
actingHandle: string;
|
|
1644
|
+
files?: string[] | undefined;
|
|
1645
|
+
}, {
|
|
1646
|
+
type: "vibes-diy.cli.db.put-res";
|
|
1647
|
+
id: string;
|
|
1648
|
+
ok: true;
|
|
1649
|
+
files?: {
|
|
1650
|
+
key: string;
|
|
1651
|
+
status: "unchanged" | "uploaded";
|
|
1652
|
+
uploadId: string;
|
|
1653
|
+
}[] | undefined;
|
|
1669
1654
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1670
1655
|
type: "vibes-diy.cli.db.del";
|
|
1671
1656
|
apiUrl: string;
|
|
@@ -1699,10 +1684,25 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1699
1684
|
[x: string]: unknown;
|
|
1700
1685
|
}[];
|
|
1701
1686
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1702
|
-
type: "vibes-diy.cli.db.
|
|
1687
|
+
type: "vibes-diy.cli.db.seed";
|
|
1688
|
+
action: "add" | "remove";
|
|
1703
1689
|
apiUrl: string;
|
|
1704
1690
|
appSlug: string;
|
|
1705
1691
|
ownerHandle: string;
|
|
1706
|
-
|
|
1707
|
-
|
|
1692
|
+
}, {
|
|
1693
|
+
type: "vibes-diy.cli.db.seed-res";
|
|
1694
|
+
action: "add" | "remove";
|
|
1695
|
+
appSlug: string;
|
|
1696
|
+
ownerHandle: string;
|
|
1697
|
+
seedFile: "absent" | "invalid" | "present" | "unknown";
|
|
1698
|
+
changed: number;
|
|
1699
|
+
skipped: number;
|
|
1700
|
+
failed: number;
|
|
1701
|
+
perDb: {
|
|
1702
|
+
dbName: string;
|
|
1703
|
+
changed: number;
|
|
1704
|
+
skipped: number;
|
|
1705
|
+
failed: number;
|
|
1706
|
+
}[];
|
|
1707
|
+
}>)[];
|
|
1708
1708
|
export declare function cmdTsEvento(): import("@adviser/cement").Evento;
|