vibes-diy 14.3.321 → 14.3.323
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 +295 -275
- package/cli/cmd-evento.js +2 -1
- package/cli/cmd-evento.js.map +1 -1
- package/cli/cmds/phone-link-cmd.d.ts +67 -1
- package/cli/cmds/phone-link-cmd.js +155 -0
- package/cli/cmds/phone-link-cmd.js.map +1 -1
- package/cli/cmds/phone-link-cmd.test.js +65 -1
- package/cli/cmds/phone-link-cmd.test.js.map +1 -1
- package/cli/cmds/run/backend-worker/run-backend-entry.js +1038 -632
- package/cli/cmds/run/bundle-inputs.json +2 -0
- package/cli/cmds/run/run-bundle.js +4028 -3578
- package/cli/main.js +14 -1
- package/cli/main.js.map +1 -1
- package/package.json +8 -8
package/cli/cmd-evento.d.ts
CHANGED
|
@@ -21,53 +21,131 @@ 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
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
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;
|
|
36
|
+
apiUrl: string;
|
|
37
|
+
}, {
|
|
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;
|
|
45
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
46
|
+
type: "vibes-diy.cli.agent";
|
|
47
|
+
apiUrl: string;
|
|
48
|
+
prompt: string;
|
|
49
|
+
ownerHandle: string;
|
|
50
|
+
followMs: number;
|
|
51
|
+
json: boolean;
|
|
52
|
+
chatId?: string | undefined;
|
|
53
|
+
newChat?: boolean | undefined;
|
|
54
|
+
images?: string[] | undefined;
|
|
55
|
+
byText?: boolean | undefined;
|
|
56
|
+
}, {
|
|
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;
|
|
66
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
67
|
+
type: "vibes-diy.cli.pull";
|
|
68
|
+
appSlug: string;
|
|
69
|
+
ownerHandle: string;
|
|
70
|
+
dir: string;
|
|
71
|
+
apiUrl: string;
|
|
72
|
+
fsId?: string | undefined;
|
|
73
|
+
published: boolean;
|
|
74
|
+
draft: boolean;
|
|
75
|
+
version?: string | undefined;
|
|
76
|
+
}, {
|
|
77
|
+
type: "vibes-diy.cli.res-pull";
|
|
78
|
+
appSlug: string;
|
|
79
|
+
ownerHandle: string;
|
|
80
|
+
directory: string;
|
|
81
|
+
files: {
|
|
82
|
+
name: string;
|
|
83
|
+
size: number;
|
|
36
84
|
}[];
|
|
37
85
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
38
|
-
type: "vibes-diy.cli.
|
|
39
|
-
|
|
86
|
+
type: "vibes-diy.cli.db.subscribe";
|
|
87
|
+
apiUrl: string;
|
|
88
|
+
appSlug: string;
|
|
89
|
+
ownerHandle: string;
|
|
90
|
+
dbName: string;
|
|
91
|
+
}, never> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
92
|
+
type: "vibes-diy.cli.codegen-log";
|
|
40
93
|
appSlug: string;
|
|
41
94
|
ownerHandle: string;
|
|
95
|
+
chatId?: string | undefined;
|
|
42
96
|
apiUrl: string;
|
|
43
|
-
|
|
44
|
-
|
|
97
|
+
response?: boolean | undefined;
|
|
98
|
+
raw?: boolean | undefined;
|
|
99
|
+
files?: boolean | undefined;
|
|
100
|
+
jsonl?: boolean | undefined;
|
|
101
|
+
user?: boolean | undefined;
|
|
102
|
+
promptId?: string | undefined;
|
|
45
103
|
}, {
|
|
46
|
-
type: "vibes-diy.cli.res-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
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;
|
|
123
|
+
}[];
|
|
52
124
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
53
|
-
type: "vibes-diy.cli.
|
|
54
|
-
prompt: string;
|
|
125
|
+
type: "vibes-diy.cli.edit";
|
|
55
126
|
appSlug: string;
|
|
127
|
+
prompt: string;
|
|
56
128
|
ownerHandle: string;
|
|
57
129
|
instantJoin?: boolean | undefined;
|
|
58
|
-
noAccessFn?: boolean | undefined;
|
|
59
|
-
privateMode?: boolean | undefined;
|
|
60
130
|
verbose: boolean;
|
|
131
|
+
dir: string;
|
|
61
132
|
apiUrl: string;
|
|
133
|
+
dryRun: boolean;
|
|
134
|
+
transcript: boolean;
|
|
135
|
+
directBuild?: boolean | undefined;
|
|
62
136
|
focusPath?: string | undefined;
|
|
63
137
|
model?: string | undefined;
|
|
64
138
|
builderModel?: string | undefined;
|
|
65
139
|
apiKey?: string | undefined;
|
|
66
|
-
variety?: string | undefined;
|
|
67
|
-
record?: string | undefined;
|
|
68
|
-
style?: string | undefined;
|
|
69
|
-
fastPass?: boolean | undefined;
|
|
70
140
|
}, {
|
|
141
|
+
type: "vibes-diy.cli.res-edit";
|
|
142
|
+
appSlug: string;
|
|
143
|
+
ownerHandle: string;
|
|
144
|
+
url: string;
|
|
145
|
+
directory: string;
|
|
146
|
+
restyled?: boolean | undefined;
|
|
147
|
+
fsId?: string | undefined;
|
|
148
|
+
} | {
|
|
71
149
|
appSlug: string;
|
|
72
150
|
ownerHandle: string;
|
|
73
151
|
mode: "dev" | "production";
|
|
@@ -150,45 +228,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
150
228
|
message: string;
|
|
151
229
|
code: "auto-enhance-off";
|
|
152
230
|
};
|
|
153
|
-
} | {
|
|
154
|
-
type: "vibes-diy.cli.res-generate";
|
|
155
|
-
appSlug: string;
|
|
156
|
-
ownerHandle: string;
|
|
157
|
-
url: string;
|
|
158
|
-
directory: string;
|
|
159
|
-
release?: "not-visible" | "published" | "version-locked" | undefined;
|
|
160
|
-
turns?: number | undefined;
|
|
161
|
-
publish?: "kept-private-no-access-fn" | "private" | "published" | undefined;
|
|
162
|
-
posture?: "gated" | "open" | "private" | undefined;
|
|
163
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
164
|
-
type: "vibes-diy.cli.db.query";
|
|
165
|
-
apiUrl: string;
|
|
166
|
-
appSlug: string;
|
|
167
|
-
ownerHandle: string;
|
|
168
|
-
dbName: string;
|
|
169
|
-
field: string;
|
|
170
|
-
key: string;
|
|
171
|
-
prefix: string;
|
|
172
|
-
range: string;
|
|
173
|
-
limit: number;
|
|
174
|
-
descending: boolean;
|
|
175
|
-
admin: boolean;
|
|
176
|
-
actingHandle: string;
|
|
177
|
-
}, {
|
|
178
|
-
type: "vibes-diy.cli.db.query-res";
|
|
179
|
-
docs: {
|
|
180
|
-
[x: string]: unknown;
|
|
181
|
-
}[];
|
|
182
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
183
|
-
type: "vibes-diy.cli.whoami";
|
|
184
|
-
apiUrl: string;
|
|
185
|
-
}, {
|
|
186
|
-
type: "vibes-diy.cli.res-whoami";
|
|
187
|
-
authenticated: boolean;
|
|
188
|
-
userId?: string | undefined;
|
|
189
|
-
defaultHandle?: string | undefined;
|
|
190
|
-
handles: string[];
|
|
191
|
-
detail?: string | undefined;
|
|
192
231
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
193
232
|
type: "vibes-diy.cli.assets-ls";
|
|
194
233
|
appSlug: string;
|
|
@@ -360,113 +399,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
360
399
|
published: boolean;
|
|
361
400
|
revertedDraft: boolean;
|
|
362
401
|
relayout: boolean;
|
|
363
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
364
|
-
type: "vibes-diy.cli.edit";
|
|
365
|
-
appSlug: string;
|
|
366
|
-
prompt: string;
|
|
367
|
-
ownerHandle: string;
|
|
368
|
-
instantJoin?: boolean | undefined;
|
|
369
|
-
verbose: boolean;
|
|
370
|
-
dir: string;
|
|
371
|
-
apiUrl: string;
|
|
372
|
-
dryRun: boolean;
|
|
373
|
-
transcript: boolean;
|
|
374
|
-
directBuild?: boolean | undefined;
|
|
375
|
-
focusPath?: string | undefined;
|
|
376
|
-
model?: string | undefined;
|
|
377
|
-
builderModel?: string | undefined;
|
|
378
|
-
apiKey?: string | undefined;
|
|
379
|
-
}, {
|
|
380
|
-
appSlug: string;
|
|
381
|
-
ownerHandle: string;
|
|
382
|
-
mode: "dev" | "production";
|
|
383
|
-
fsId: string;
|
|
384
|
-
type: "vibes.diy.res-ensure-app-slug";
|
|
385
|
-
env: Record<string, string>;
|
|
386
|
-
fileSystem: {
|
|
387
|
-
fileName: string;
|
|
388
|
-
mimeType: string;
|
|
389
|
-
assetId: string;
|
|
390
|
-
assetURI: string;
|
|
391
|
-
transform?: {
|
|
392
|
-
type: "jsx-to-js";
|
|
393
|
-
transformedAssetId: string;
|
|
394
|
-
} | {
|
|
395
|
-
type: "imports";
|
|
396
|
-
importMapAssetId: string;
|
|
397
|
-
} | {
|
|
398
|
-
type: "import-map";
|
|
399
|
-
fromAssetIds: string[];
|
|
400
|
-
} | {
|
|
401
|
-
type: "transformed";
|
|
402
|
-
action: "jsx-to-js";
|
|
403
|
-
transformedAssetId: string;
|
|
404
|
-
} | {
|
|
405
|
-
type: "tailwind-css";
|
|
406
|
-
} | undefined;
|
|
407
|
-
entryPoint?: boolean | undefined;
|
|
408
|
-
size: number;
|
|
409
|
-
kind?: "asset" | undefined;
|
|
410
|
-
uploadId?: string | undefined;
|
|
411
|
-
}[];
|
|
412
|
-
autoEnhanceOff?: true | undefined;
|
|
413
|
-
appCreated?: true | undefined;
|
|
414
|
-
} | {
|
|
415
|
-
type: "vibes.diy.res-error";
|
|
416
|
-
error: {
|
|
417
|
-
message: string;
|
|
418
|
-
code: "require-login";
|
|
419
|
-
};
|
|
420
|
-
} | {
|
|
421
|
-
type: "vibes.diy.res-error";
|
|
422
|
-
error: {
|
|
423
|
-
message: string;
|
|
424
|
-
code: "user-slug-invalid";
|
|
425
|
-
};
|
|
426
|
-
} | {
|
|
427
|
-
type: "vibes.diy.res-error";
|
|
428
|
-
error: {
|
|
429
|
-
message: string;
|
|
430
|
-
code: "app-slug-invalid";
|
|
431
|
-
};
|
|
432
|
-
} | {
|
|
433
|
-
type: "vibes.diy.res-error";
|
|
434
|
-
error: {
|
|
435
|
-
message: string;
|
|
436
|
-
code: "max-app-slugs-reached";
|
|
437
|
-
};
|
|
438
|
-
} | {
|
|
439
|
-
type: "vibes.diy.res-error";
|
|
440
|
-
error: {
|
|
441
|
-
message: string;
|
|
442
|
-
code: "handle-required";
|
|
443
|
-
};
|
|
444
|
-
} | {
|
|
445
|
-
type: "vibes.diy.res-error";
|
|
446
|
-
error: {
|
|
447
|
-
message: string;
|
|
448
|
-
code: "from-not-owned";
|
|
449
|
-
};
|
|
450
|
-
} | {
|
|
451
|
-
type: "vibes.diy.res-error";
|
|
452
|
-
error: {
|
|
453
|
-
message: string;
|
|
454
|
-
code: "from-carry-failed";
|
|
455
|
-
};
|
|
456
|
-
} | {
|
|
457
|
-
type: "vibes.diy.res-error";
|
|
458
|
-
error: {
|
|
459
|
-
message: string;
|
|
460
|
-
code: "auto-enhance-off";
|
|
461
|
-
};
|
|
462
|
-
} | {
|
|
463
|
-
type: "vibes-diy.cli.res-edit";
|
|
464
|
-
appSlug: string;
|
|
465
|
-
ownerHandle: string;
|
|
466
|
-
url: string;
|
|
467
|
-
directory: string;
|
|
468
|
-
restyled?: boolean | undefined;
|
|
469
|
-
fsId?: string | undefined;
|
|
470
402
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
471
403
|
type: "vibes-diy.cli.app-status";
|
|
472
404
|
appSlug: string;
|
|
@@ -812,6 +744,9 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
812
744
|
email: string;
|
|
813
745
|
updatedAt: string;
|
|
814
746
|
verified?: boolean | undefined;
|
|
747
|
+
} | {
|
|
748
|
+
type: "onboarding";
|
|
749
|
+
completedAt: string;
|
|
815
750
|
} | {
|
|
816
751
|
type: "geoCountry";
|
|
817
752
|
country: string;
|
|
@@ -822,9 +757,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
822
757
|
[x: string]: string;
|
|
823
758
|
};
|
|
824
759
|
updatedAt: string;
|
|
825
|
-
} | {
|
|
826
|
-
type: "onboarding";
|
|
827
|
-
completedAt: string;
|
|
828
760
|
} | {
|
|
829
761
|
type: "kyc";
|
|
830
762
|
cardAt?: string | undefined;
|
|
@@ -924,15 +856,24 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
924
856
|
slug: string;
|
|
925
857
|
name: string;
|
|
926
858
|
}[];
|
|
927
|
-
} | {
|
|
928
|
-
type: "use-vibes.cli.res-theme-content";
|
|
929
|
-
slug: string;
|
|
930
|
-
content: string;
|
|
931
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
932
|
-
type: "vibes-diy.cli.
|
|
933
|
-
}, {
|
|
934
|
-
type: "vibes-diy.cli.res-
|
|
935
|
-
|
|
859
|
+
} | {
|
|
860
|
+
type: "use-vibes.cli.res-theme-content";
|
|
861
|
+
slug: string;
|
|
862
|
+
content: string;
|
|
863
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
864
|
+
type: "vibes-diy.cli.variety";
|
|
865
|
+
}, {
|
|
866
|
+
type: "vibes-diy.cli.res-variety-list";
|
|
867
|
+
grammar: string;
|
|
868
|
+
flourishCount: number;
|
|
869
|
+
archetypes: {
|
|
870
|
+
id: string;
|
|
871
|
+
guidance: string;
|
|
872
|
+
}[];
|
|
873
|
+
flourishes: {
|
|
874
|
+
id: string;
|
|
875
|
+
guidance: string;
|
|
876
|
+
}[];
|
|
936
877
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
937
878
|
type: "vibes-diy.cli.push";
|
|
938
879
|
mode: string;
|
|
@@ -1032,23 +973,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1032
973
|
message: string;
|
|
1033
974
|
code: "auto-enhance-off";
|
|
1034
975
|
};
|
|
1035
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1036
|
-
type: "vibes-diy.cli.remix";
|
|
1037
|
-
srcUserSlug: string;
|
|
1038
|
-
srcAppSlug: string;
|
|
1039
|
-
dstOwnerHandle?: string | undefined;
|
|
1040
|
-
dstAppSlug?: string | undefined;
|
|
1041
|
-
published: boolean;
|
|
1042
|
-
settingsOnly: boolean;
|
|
1043
|
-
apiUrl: string;
|
|
1044
|
-
}, {
|
|
1045
|
-
type: "vibes-diy.cli.res-remix";
|
|
1046
|
-
ownerHandle: string;
|
|
1047
|
-
appSlug: string;
|
|
1048
|
-
url: string;
|
|
1049
|
-
carried?: string[] | undefined;
|
|
1050
|
-
skippedPresent?: string[] | undefined;
|
|
1051
|
-
chatId?: string | undefined;
|
|
1052
976
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1053
977
|
type: "vibes-diy.cli.claim-handle";
|
|
1054
978
|
apiUrl: string;
|
|
@@ -1061,27 +985,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1061
985
|
defaultHandleSet?: boolean | undefined;
|
|
1062
986
|
defaultSkipped?: boolean | undefined;
|
|
1063
987
|
suggestions: string[];
|
|
1064
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1065
|
-
type: "vibes-diy.cli.agent";
|
|
1066
|
-
apiUrl: string;
|
|
1067
|
-
prompt: string;
|
|
1068
|
-
ownerHandle: string;
|
|
1069
|
-
followMs: number;
|
|
1070
|
-
json: boolean;
|
|
1071
|
-
chatId?: string | undefined;
|
|
1072
|
-
newChat?: boolean | undefined;
|
|
1073
|
-
images?: string[] | undefined;
|
|
1074
|
-
byText?: boolean | undefined;
|
|
1075
|
-
}, {
|
|
1076
|
-
type: "vibes-diy.cli.res-agent";
|
|
1077
|
-
ownerHandle: string;
|
|
1078
|
-
chatId: string;
|
|
1079
|
-
messages: string[];
|
|
1080
|
-
shorts?: string[] | undefined;
|
|
1081
|
-
links: string[];
|
|
1082
|
-
idle: boolean;
|
|
1083
|
-
reactions?: string[] | undefined;
|
|
1084
|
-
error?: string | undefined;
|
|
1085
988
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1086
989
|
type: "vibes-diy.cli.image";
|
|
1087
990
|
apiUrl: string;
|
|
@@ -1115,58 +1018,151 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1115
1018
|
};
|
|
1116
1019
|
};
|
|
1117
1020
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1118
|
-
type: "vibes-diy.cli.
|
|
1021
|
+
type: "vibes-diy.cli.put-asset";
|
|
1022
|
+
file: string;
|
|
1119
1023
|
appSlug: string;
|
|
1120
1024
|
ownerHandle: string;
|
|
1121
|
-
chatId?: string | undefined;
|
|
1122
1025
|
apiUrl: string;
|
|
1026
|
+
mimeType: string;
|
|
1027
|
+
verifyFetch: boolean;
|
|
1123
1028
|
}, {
|
|
1124
|
-
type: "vibes-diy.cli.res-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1029
|
+
type: "vibes-diy.cli.res-put-asset";
|
|
1030
|
+
cid: string;
|
|
1031
|
+
getURL: string;
|
|
1032
|
+
size: number;
|
|
1033
|
+
uploadId: string;
|
|
1034
|
+
verified?: boolean | undefined;
|
|
1035
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1036
|
+
type: "vibes-diy.cli.generate";
|
|
1037
|
+
prompt: string;
|
|
1038
|
+
appSlug: string;
|
|
1039
|
+
ownerHandle: string;
|
|
1040
|
+
instantJoin?: boolean | undefined;
|
|
1041
|
+
noAccessFn?: boolean | undefined;
|
|
1042
|
+
privateMode?: boolean | undefined;
|
|
1043
|
+
verbose: boolean;
|
|
1044
|
+
apiUrl: string;
|
|
1045
|
+
focusPath?: string | undefined;
|
|
1046
|
+
model?: string | undefined;
|
|
1047
|
+
builderModel?: string | undefined;
|
|
1048
|
+
apiKey?: string | undefined;
|
|
1049
|
+
variety?: string | undefined;
|
|
1050
|
+
record?: string | undefined;
|
|
1051
|
+
style?: string | undefined;
|
|
1052
|
+
fastPass?: boolean | undefined;
|
|
1053
|
+
}, {
|
|
1054
|
+
appSlug: string;
|
|
1055
|
+
ownerHandle: string;
|
|
1056
|
+
mode: "dev" | "production";
|
|
1057
|
+
fsId: string;
|
|
1058
|
+
type: "vibes.diy.res-ensure-app-slug";
|
|
1059
|
+
env: Record<string, string>;
|
|
1060
|
+
fileSystem: {
|
|
1061
|
+
fileName: string;
|
|
1062
|
+
mimeType: string;
|
|
1063
|
+
assetId: string;
|
|
1064
|
+
assetURI: string;
|
|
1065
|
+
transform?: {
|
|
1066
|
+
type: "jsx-to-js";
|
|
1067
|
+
transformedAssetId: string;
|
|
1068
|
+
} | {
|
|
1069
|
+
type: "imports";
|
|
1070
|
+
importMapAssetId: string;
|
|
1071
|
+
} | {
|
|
1072
|
+
type: "import-map";
|
|
1073
|
+
fromAssetIds: string[];
|
|
1074
|
+
} | {
|
|
1075
|
+
type: "transformed";
|
|
1076
|
+
action: "jsx-to-js";
|
|
1077
|
+
transformedAssetId: string;
|
|
1078
|
+
} | {
|
|
1079
|
+
type: "tailwind-css";
|
|
1080
|
+
} | undefined;
|
|
1081
|
+
entryPoint?: boolean | undefined;
|
|
1082
|
+
size: number;
|
|
1083
|
+
kind?: "asset" | undefined;
|
|
1084
|
+
uploadId?: string | undefined;
|
|
1131
1085
|
}[];
|
|
1086
|
+
autoEnhanceOff?: true | undefined;
|
|
1087
|
+
appCreated?: true | undefined;
|
|
1132
1088
|
} | {
|
|
1133
|
-
type: "vibes
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1089
|
+
type: "vibes.diy.res-error";
|
|
1090
|
+
error: {
|
|
1091
|
+
message: string;
|
|
1092
|
+
code: "require-login";
|
|
1093
|
+
};
|
|
1094
|
+
} | {
|
|
1095
|
+
type: "vibes.diy.res-error";
|
|
1096
|
+
error: {
|
|
1097
|
+
message: string;
|
|
1098
|
+
code: "user-slug-invalid";
|
|
1099
|
+
};
|
|
1100
|
+
} | {
|
|
1101
|
+
type: "vibes.diy.res-error";
|
|
1102
|
+
error: {
|
|
1103
|
+
message: string;
|
|
1104
|
+
code: "app-slug-invalid";
|
|
1105
|
+
};
|
|
1106
|
+
} | {
|
|
1107
|
+
type: "vibes.diy.res-error";
|
|
1108
|
+
error: {
|
|
1109
|
+
message: string;
|
|
1110
|
+
code: "max-app-slugs-reached";
|
|
1111
|
+
};
|
|
1112
|
+
} | {
|
|
1113
|
+
type: "vibes.diy.res-error";
|
|
1114
|
+
error: {
|
|
1115
|
+
message: string;
|
|
1116
|
+
code: "handle-required";
|
|
1117
|
+
};
|
|
1118
|
+
} | {
|
|
1119
|
+
type: "vibes.diy.res-error";
|
|
1120
|
+
error: {
|
|
1121
|
+
message: string;
|
|
1122
|
+
code: "from-not-owned";
|
|
1123
|
+
};
|
|
1124
|
+
} | {
|
|
1125
|
+
type: "vibes.diy.res-error";
|
|
1126
|
+
error: {
|
|
1127
|
+
message: string;
|
|
1128
|
+
code: "from-carry-failed";
|
|
1129
|
+
};
|
|
1130
|
+
} | {
|
|
1131
|
+
type: "vibes.diy.res-error";
|
|
1132
|
+
error: {
|
|
1133
|
+
message: string;
|
|
1134
|
+
code: "auto-enhance-off";
|
|
1135
|
+
};
|
|
1136
|
+
} | {
|
|
1137
|
+
type: "vibes-diy.cli.res-generate";
|
|
1138
|
+
appSlug: string;
|
|
1139
|
+
ownerHandle: string;
|
|
1140
|
+
url: string;
|
|
1141
|
+
directory: string;
|
|
1142
|
+
release?: "not-visible" | "published" | "version-locked" | undefined;
|
|
1143
|
+
turns?: number | undefined;
|
|
1144
|
+
publish?: "kept-private-no-access-fn" | "private" | "published" | undefined;
|
|
1145
|
+
posture?: "gated" | "open" | "private" | undefined;
|
|
1138
1146
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1139
|
-
type: "vibes-diy.cli.
|
|
1147
|
+
type: "vibes-diy.cli.app-chats";
|
|
1140
1148
|
appSlug: string;
|
|
1141
1149
|
ownerHandle: string;
|
|
1142
1150
|
chatId?: string | undefined;
|
|
1143
1151
|
apiUrl: string;
|
|
1144
|
-
response?: boolean | undefined;
|
|
1145
|
-
raw?: boolean | undefined;
|
|
1146
|
-
files?: boolean | undefined;
|
|
1147
|
-
jsonl?: boolean | undefined;
|
|
1148
|
-
user?: boolean | undefined;
|
|
1149
|
-
promptId?: string | undefined;
|
|
1150
1152
|
}, {
|
|
1151
|
-
type: "vibes-diy.cli.res-
|
|
1153
|
+
type: "vibes-diy.cli.res-app-chats-list";
|
|
1152
1154
|
items: {
|
|
1153
1155
|
chatId: string;
|
|
1154
1156
|
appSlug: string;
|
|
1155
1157
|
ownerHandle: string;
|
|
1156
1158
|
created: string;
|
|
1159
|
+
userHandle?: string | undefined;
|
|
1157
1160
|
}[];
|
|
1158
1161
|
} | {
|
|
1159
|
-
type: "vibes-diy.cli.res-
|
|
1162
|
+
type: "vibes-diy.cli.res-app-chats-detail";
|
|
1160
1163
|
chatId: string;
|
|
1161
|
-
ownerHandle
|
|
1162
|
-
appSlug
|
|
1163
|
-
prompts: {
|
|
1164
|
-
prompt: string;
|
|
1165
|
-
fsId: string;
|
|
1166
|
-
created: string;
|
|
1167
|
-
}[];
|
|
1168
|
-
} | {
|
|
1169
|
-
type: "vibes-diy.cli.res-codegen-log-response";
|
|
1164
|
+
ownerHandle?: string | undefined;
|
|
1165
|
+
appSlug?: string | undefined;
|
|
1170
1166
|
output: string;
|
|
1171
1167
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1172
1168
|
type: "vibes-diy.cli.list";
|
|
@@ -1212,24 +1208,15 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1212
1208
|
ms?: number | undefined;
|
|
1213
1209
|
} | undefined;
|
|
1214
1210
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1215
|
-
type: "vibes-diy.cli.
|
|
1216
|
-
appSlug: string;
|
|
1217
|
-
ownerHandle: string;
|
|
1218
|
-
dir: string;
|
|
1211
|
+
type: "vibes-diy.cli.whoami";
|
|
1219
1212
|
apiUrl: string;
|
|
1220
|
-
fsId?: string | undefined;
|
|
1221
|
-
published: boolean;
|
|
1222
|
-
draft: boolean;
|
|
1223
|
-
version?: string | undefined;
|
|
1224
1213
|
}, {
|
|
1225
|
-
type: "vibes-diy.cli.res-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
size: number;
|
|
1232
|
-
}[];
|
|
1214
|
+
type: "vibes-diy.cli.res-whoami";
|
|
1215
|
+
authenticated: boolean;
|
|
1216
|
+
userId?: string | undefined;
|
|
1217
|
+
defaultHandle?: string | undefined;
|
|
1218
|
+
handles: string[];
|
|
1219
|
+
detail?: string | undefined;
|
|
1233
1220
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1234
1221
|
type: "vibes-diy.cli.run";
|
|
1235
1222
|
apiUrl: string;
|
|
@@ -1425,6 +1412,9 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1425
1412
|
more: boolean;
|
|
1426
1413
|
capped: number;
|
|
1427
1414
|
unread: number;
|
|
1415
|
+
backoff?: "daily" | "silent" | undefined;
|
|
1416
|
+
heldBack?: number | undefined;
|
|
1417
|
+
stopLine?: boolean | undefined;
|
|
1428
1418
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1429
1419
|
type: "vibes-diy.cli.phone-link-vibes";
|
|
1430
1420
|
apiUrl: string;
|
|
@@ -1438,6 +1428,23 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1438
1428
|
state: "on" | "paused";
|
|
1439
1429
|
addedAt: string;
|
|
1440
1430
|
}[];
|
|
1431
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1432
|
+
type: "vibes-diy.cli.phone-link-pause-vibe";
|
|
1433
|
+
apiUrl: string;
|
|
1434
|
+
handle: string;
|
|
1435
|
+
action: "keep" | "posted" | "resume" | "stop";
|
|
1436
|
+
name: string;
|
|
1437
|
+
vibes: string;
|
|
1438
|
+
stopLine?: boolean | undefined;
|
|
1439
|
+
}, {
|
|
1440
|
+
type: "vibes-diy.cli.res-phone-link-pause-vibe";
|
|
1441
|
+
ownerHandle: string;
|
|
1442
|
+
action: "keep" | "posted" | "resume" | "stop";
|
|
1443
|
+
vibes: {
|
|
1444
|
+
ownerHandle: string;
|
|
1445
|
+
appSlug: string;
|
|
1446
|
+
name: string;
|
|
1447
|
+
}[];
|
|
1441
1448
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1442
1449
|
type: "vibes-diy.cli.phone-link-invite";
|
|
1443
1450
|
apiUrl: string;
|
|
@@ -1524,12 +1531,25 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1524
1531
|
id: string;
|
|
1525
1532
|
ok: true;
|
|
1526
1533
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1527
|
-
type: "vibes-diy.cli.db.
|
|
1534
|
+
type: "vibes-diy.cli.db.query";
|
|
1528
1535
|
apiUrl: string;
|
|
1529
1536
|
appSlug: string;
|
|
1530
1537
|
ownerHandle: string;
|
|
1531
1538
|
dbName: string;
|
|
1532
|
-
|
|
1539
|
+
field: string;
|
|
1540
|
+
key: string;
|
|
1541
|
+
prefix: string;
|
|
1542
|
+
range: string;
|
|
1543
|
+
limit: number;
|
|
1544
|
+
descending: boolean;
|
|
1545
|
+
admin: boolean;
|
|
1546
|
+
actingHandle: string;
|
|
1547
|
+
}, {
|
|
1548
|
+
type: "vibes-diy.cli.db.query-res";
|
|
1549
|
+
docs: {
|
|
1550
|
+
[x: string]: unknown;
|
|
1551
|
+
}[];
|
|
1552
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1533
1553
|
type: "vibes-diy.cli.db.seed";
|
|
1534
1554
|
action: "add" | "remove";
|
|
1535
1555
|
apiUrl: string;
|