vibes-diy 14.3.333 → 14.3.334
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 +383 -383
- package/cli/cmds/app/look-cmd.js +29 -11
- package/cli/cmds/app/look-style-edits.d.ts +8 -0
- package/cli/cmds/app/look-style-edits.js +24 -0
- package/cli/cmds/edit-cmd.js +5 -1
- package/cli/cmds/generate-core.js +33 -9
- package/cli/cmds/resume-section-stream.d.ts +1 -0
- package/cli/cmds/resume-section-stream.js +7 -3
- package/cli/cmds/run/backend-worker/run-backend-entry.js +737 -222
- package/cli/cmds/run/bundle-inputs.json +5 -0
- package/cli/cmds/run/run-bundle.js +3279 -2894
- package/package.json +8 -8
package/cli/cmd-evento.d.ts
CHANGED
|
@@ -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: "
|
|
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
|
-
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.
|
|
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
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
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.
|
|
27
|
-
|
|
28
|
-
|
|
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.
|
|
32
|
-
apiUrl: string;
|
|
67
|
+
type: "vibes-diy.cli.pull";
|
|
33
68
|
appSlug: string;
|
|
34
69
|
ownerHandle: string;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
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.
|
|
41
|
-
|
|
42
|
-
|
|
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.
|
|
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
|
-
|
|
51
|
-
|
|
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
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
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.
|
|
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
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
141
|
+
appSlug: string;
|
|
142
|
+
ownerHandle: string;
|
|
143
|
+
mode: "dev" | "production";
|
|
144
|
+
fsId: string;
|
|
145
|
+
type: "vibes.diy.res-ensure-app-slug";
|
|
146
|
+
env: Record<string, string>;
|
|
147
|
+
fileSystem: {
|
|
148
|
+
fileName: string;
|
|
149
|
+
mimeType: string;
|
|
150
|
+
assetId: string;
|
|
151
|
+
assetURI: string;
|
|
152
|
+
transform?: {
|
|
153
|
+
type: "jsx-to-js";
|
|
154
|
+
transformedAssetId: string;
|
|
155
|
+
} | {
|
|
156
|
+
type: "imports";
|
|
157
|
+
importMapAssetId: string;
|
|
158
|
+
} | {
|
|
159
|
+
type: "import-map";
|
|
160
|
+
fromAssetIds: string[];
|
|
161
|
+
} | {
|
|
162
|
+
type: "transformed";
|
|
163
|
+
action: "jsx-to-js";
|
|
164
|
+
transformedAssetId: string;
|
|
165
|
+
} | {
|
|
166
|
+
type: "tailwind-css";
|
|
167
|
+
} | undefined;
|
|
168
|
+
entryPoint?: boolean | undefined;
|
|
169
|
+
size: number;
|
|
170
|
+
kind?: "asset" | undefined;
|
|
171
|
+
uploadId?: string | undefined;
|
|
172
|
+
}[];
|
|
173
|
+
autoEnhanceOff?: true | undefined;
|
|
174
|
+
appCreated?: true | undefined;
|
|
175
|
+
} | {
|
|
176
|
+
type: "vibes.diy.res-error";
|
|
177
|
+
error: {
|
|
178
|
+
message: string;
|
|
179
|
+
code: "require-login";
|
|
84
180
|
};
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
181
|
+
} | {
|
|
182
|
+
type: "vibes.diy.res-error";
|
|
183
|
+
error: {
|
|
184
|
+
message: string;
|
|
185
|
+
code: "user-slug-invalid";
|
|
186
|
+
};
|
|
187
|
+
} | {
|
|
188
|
+
type: "vibes.diy.res-error";
|
|
189
|
+
error: {
|
|
190
|
+
message: string;
|
|
191
|
+
code: "app-slug-invalid";
|
|
192
|
+
};
|
|
193
|
+
} | {
|
|
194
|
+
type: "vibes.diy.res-error";
|
|
195
|
+
error: {
|
|
196
|
+
message: string;
|
|
197
|
+
code: "max-app-slugs-reached";
|
|
198
|
+
};
|
|
199
|
+
} | {
|
|
200
|
+
type: "vibes.diy.res-error";
|
|
201
|
+
error: {
|
|
202
|
+
message: string;
|
|
203
|
+
code: "handle-required";
|
|
204
|
+
};
|
|
205
|
+
} | {
|
|
206
|
+
type: "vibes.diy.res-error";
|
|
207
|
+
error: {
|
|
208
|
+
message: string;
|
|
209
|
+
code: "from-not-owned";
|
|
210
|
+
};
|
|
211
|
+
} | {
|
|
212
|
+
type: "vibes.diy.res-error";
|
|
213
|
+
error: {
|
|
214
|
+
message: string;
|
|
215
|
+
code: "from-carry-failed";
|
|
216
|
+
};
|
|
217
|
+
} | {
|
|
218
|
+
type: "vibes.diy.res-error";
|
|
219
|
+
error: {
|
|
220
|
+
message: string;
|
|
221
|
+
code: "auto-enhance-off";
|
|
222
|
+
};
|
|
223
|
+
} | {
|
|
224
|
+
type: "vibes-diy.cli.res-edit";
|
|
225
|
+
appSlug: string;
|
|
226
|
+
ownerHandle: string;
|
|
227
|
+
url: string;
|
|
228
|
+
directory: string;
|
|
229
|
+
restyled?: boolean | undefined;
|
|
230
|
+
fsId?: string | undefined;
|
|
90
231
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
91
232
|
type: "vibes-diy.cli.app-status";
|
|
92
233
|
appSlug: string;
|
|
@@ -397,6 +538,9 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
397
538
|
email: string;
|
|
398
539
|
updatedAt: string;
|
|
399
540
|
verified?: boolean | undefined;
|
|
541
|
+
} | {
|
|
542
|
+
type: "onboarding";
|
|
543
|
+
completedAt: string;
|
|
400
544
|
} | {
|
|
401
545
|
type: "geoCountry";
|
|
402
546
|
country: string;
|
|
@@ -407,9 +551,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
407
551
|
[x: string]: string;
|
|
408
552
|
};
|
|
409
553
|
updatedAt: string;
|
|
410
|
-
} | {
|
|
411
|
-
type: "onboarding";
|
|
412
|
-
completedAt: string;
|
|
413
554
|
} | {
|
|
414
555
|
type: "kyc";
|
|
415
556
|
cardAt?: string | undefined;
|
|
@@ -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
752
|
} | {
|
|
785
753
|
type: "vibes.diy.res-error";
|
|
786
754
|
error: {
|
|
787
755
|
message: string;
|
|
788
|
-
code: "
|
|
789
|
-
};
|
|
790
|
-
} | {
|
|
791
|
-
type: "vibes.diy.res-error";
|
|
792
|
-
error: {
|
|
793
|
-
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
|
|
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-
|
|
844
|
-
|
|
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
|
-
|
|
856
|
-
|
|
785
|
+
defaultHandleSet?: boolean | undefined;
|
|
786
|
+
defaultSkipped?: boolean | undefined;
|
|
787
|
+
suggestions: string[];
|
|
857
788
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
858
|
-
type: "vibes-diy.cli.
|
|
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
|
-
|
|
864
|
-
|
|
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-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
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.
|
|
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: "
|
|
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: "
|
|
916
|
+
code: "handle-required";
|
|
970
917
|
};
|
|
971
918
|
} | {
|
|
972
919
|
type: "vibes.diy.res-error";
|
|
973
920
|
error: {
|
|
974
921
|
message: string;
|
|
975
|
-
code: "
|
|
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: "
|
|
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: "
|
|
934
|
+
code: "auto-enhance-off";
|
|
988
935
|
};
|
|
989
936
|
} | {
|
|
990
|
-
type: "vibes-diy.cli.res-
|
|
937
|
+
type: "vibes-diy.cli.res-generate";
|
|
991
938
|
appSlug: string;
|
|
992
939
|
ownerHandle: string;
|
|
993
940
|
url: string;
|
|
994
941
|
directory: string;
|
|
995
|
-
|
|
996
|
-
|
|
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.
|
|
1611
|
+
type: "vibes-diy.cli.db.seed";
|
|
1612
|
+
action: "add" | "remove";
|
|
1627
1613
|
apiUrl: string;
|
|
1628
1614
|
appSlug: string;
|
|
1629
1615
|
ownerHandle: string;
|
|
1630
|
-
|
|
1631
|
-
|
|
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;
|