vibes-diy 14.3.324 → 14.3.325
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 +313 -313
- package/cli/cmds/run/backend-worker/run-backend-entry.js +458 -168
- package/cli/cmds/run/bundle-inputs.json +4 -0
- package/cli/cmds/run/run-bundle.js +1879 -1579
- package/package.json +8 -8
package/cli/cmd-evento.d.ts
CHANGED
|
@@ -21,52 +21,122 @@ 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
|
}, {
|
|
71
141
|
appSlug: string;
|
|
72
142
|
ownerHandle: string;
|
|
@@ -151,44 +221,13 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
151
221
|
code: "auto-enhance-off";
|
|
152
222
|
};
|
|
153
223
|
} | {
|
|
154
|
-
type: "vibes-diy.cli.res-
|
|
224
|
+
type: "vibes-diy.cli.res-edit";
|
|
155
225
|
appSlug: string;
|
|
156
226
|
ownerHandle: string;
|
|
157
227
|
url: string;
|
|
158
228
|
directory: string;
|
|
159
|
-
|
|
160
|
-
|
|
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;
|
|
229
|
+
restyled?: boolean | undefined;
|
|
230
|
+
fsId?: 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;
|
|
@@ -639,6 +571,52 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
639
571
|
type: "vibes.diy.res-ensure-user-settings";
|
|
640
572
|
userId: string;
|
|
641
573
|
settings: ({
|
|
574
|
+
type: "notifications";
|
|
575
|
+
buildComplete?: boolean | undefined;
|
|
576
|
+
buildFailed?: boolean | undefined;
|
|
577
|
+
vibePublished?: boolean | undefined;
|
|
578
|
+
commentPosted?: boolean | undefined;
|
|
579
|
+
requestApproved?: boolean | undefined;
|
|
580
|
+
requestRevoked?: boolean | undefined;
|
|
581
|
+
vibeRemixed?: boolean | undefined;
|
|
582
|
+
dmReceived?: boolean | undefined;
|
|
583
|
+
memberJoined?: boolean | undefined;
|
|
584
|
+
accessRequested?: boolean | undefined;
|
|
585
|
+
emailDigest?: boolean | undefined;
|
|
586
|
+
retentionEmail?: boolean | undefined;
|
|
587
|
+
followRequest?: boolean | undefined;
|
|
588
|
+
followerAdded?: boolean | undefined;
|
|
589
|
+
followApproved?: boolean | undefined;
|
|
590
|
+
appMessage?: boolean | undefined;
|
|
591
|
+
connectionExpiring?: boolean | undefined;
|
|
592
|
+
assetBlocked?: boolean | undefined;
|
|
593
|
+
assetCheckFailed?: boolean | undefined;
|
|
594
|
+
checkoutUnfinished?: boolean | undefined;
|
|
595
|
+
safetyAlert?: boolean | undefined;
|
|
596
|
+
emailInstant?: boolean | undefined;
|
|
597
|
+
mutes?: {
|
|
598
|
+
vibes?: string[] | undefined;
|
|
599
|
+
handles?: string[] | undefined;
|
|
600
|
+
} | undefined;
|
|
601
|
+
vibeTypes?: {
|
|
602
|
+
vibe: string;
|
|
603
|
+
buildComplete?: boolean | undefined;
|
|
604
|
+
buildFailed?: boolean | undefined;
|
|
605
|
+
vibePublished?: boolean | undefined;
|
|
606
|
+
commentPosted?: boolean | undefined;
|
|
607
|
+
requestApproved?: boolean | undefined;
|
|
608
|
+
requestRevoked?: boolean | undefined;
|
|
609
|
+
vibeRemixed?: boolean | undefined;
|
|
610
|
+
memberJoined?: boolean | undefined;
|
|
611
|
+
accessRequested?: boolean | undefined;
|
|
612
|
+
appMessage?: boolean | undefined;
|
|
613
|
+
assetBlocked?: boolean | undefined;
|
|
614
|
+
assetCheckFailed?: boolean | undefined;
|
|
615
|
+
}[] | undefined;
|
|
616
|
+
agent?: {
|
|
617
|
+
hiddenVibes?: string[] | undefined;
|
|
618
|
+
} | undefined;
|
|
619
|
+
} | {
|
|
642
620
|
type: "sharing";
|
|
643
621
|
grants: {
|
|
644
622
|
grant: "allow" | "deny";
|
|
@@ -750,58 +728,12 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
750
728
|
} | undefined;
|
|
751
729
|
} | {
|
|
752
730
|
type: "defaultHandle";
|
|
753
|
-
ownerHandle: string;
|
|
754
|
-
} | {
|
|
755
|
-
type: "profile";
|
|
756
|
-
avatarCid?: string | undefined;
|
|
757
|
-
displayName?: string | undefined;
|
|
758
|
-
codeMode?: boolean | undefined;
|
|
759
|
-
} | {
|
|
760
|
-
type: "notifications";
|
|
761
|
-
buildComplete?: boolean | undefined;
|
|
762
|
-
buildFailed?: boolean | undefined;
|
|
763
|
-
vibePublished?: boolean | undefined;
|
|
764
|
-
commentPosted?: boolean | undefined;
|
|
765
|
-
requestApproved?: boolean | undefined;
|
|
766
|
-
requestRevoked?: boolean | undefined;
|
|
767
|
-
vibeRemixed?: boolean | undefined;
|
|
768
|
-
dmReceived?: boolean | undefined;
|
|
769
|
-
memberJoined?: boolean | undefined;
|
|
770
|
-
accessRequested?: boolean | undefined;
|
|
771
|
-
emailDigest?: boolean | undefined;
|
|
772
|
-
retentionEmail?: boolean | undefined;
|
|
773
|
-
followRequest?: boolean | undefined;
|
|
774
|
-
followerAdded?: boolean | undefined;
|
|
775
|
-
followApproved?: boolean | undefined;
|
|
776
|
-
appMessage?: boolean | undefined;
|
|
777
|
-
connectionExpiring?: boolean | undefined;
|
|
778
|
-
assetBlocked?: boolean | undefined;
|
|
779
|
-
assetCheckFailed?: boolean | undefined;
|
|
780
|
-
checkoutUnfinished?: boolean | undefined;
|
|
781
|
-
safetyAlert?: boolean | undefined;
|
|
782
|
-
emailInstant?: boolean | undefined;
|
|
783
|
-
mutes?: {
|
|
784
|
-
vibes?: string[] | undefined;
|
|
785
|
-
handles?: string[] | undefined;
|
|
786
|
-
} | undefined;
|
|
787
|
-
vibeTypes?: {
|
|
788
|
-
vibe: string;
|
|
789
|
-
buildComplete?: boolean | undefined;
|
|
790
|
-
buildFailed?: boolean | undefined;
|
|
791
|
-
vibePublished?: boolean | undefined;
|
|
792
|
-
commentPosted?: boolean | undefined;
|
|
793
|
-
requestApproved?: boolean | undefined;
|
|
794
|
-
requestRevoked?: boolean | undefined;
|
|
795
|
-
vibeRemixed?: boolean | undefined;
|
|
796
|
-
memberJoined?: boolean | undefined;
|
|
797
|
-
accessRequested?: boolean | undefined;
|
|
798
|
-
appMessage?: boolean | undefined;
|
|
799
|
-
assetBlocked?: boolean | undefined;
|
|
800
|
-
assetCheckFailed?: boolean | undefined;
|
|
801
|
-
}[] | undefined;
|
|
802
|
-
agent?: {
|
|
803
|
-
hiddenVibes?: string[] | undefined;
|
|
804
|
-
} | undefined;
|
|
731
|
+
ownerHandle: string;
|
|
732
|
+
} | {
|
|
733
|
+
type: "profile";
|
|
734
|
+
avatarCid?: string | undefined;
|
|
735
|
+
displayName?: string | undefined;
|
|
736
|
+
codeMode?: boolean | undefined;
|
|
805
737
|
} | {
|
|
806
738
|
type: "egressStatus";
|
|
807
739
|
status: "blessed" | "blocked";
|
|
@@ -929,10 +861,19 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
929
861
|
slug: string;
|
|
930
862
|
content: string;
|
|
931
863
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
932
|
-
type: "vibes-diy.cli.
|
|
864
|
+
type: "vibes-diy.cli.variety";
|
|
933
865
|
}, {
|
|
934
|
-
type: "vibes-diy.cli.res-
|
|
935
|
-
|
|
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;
|
|
1028
|
+
}, {
|
|
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;
|
|
1123
1053
|
}, {
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
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;
|
|
@@ -1544,12 +1531,25 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1544
1531
|
id: string;
|
|
1545
1532
|
ok: true;
|
|
1546
1533
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1547
|
-
type: "vibes-diy.cli.db.
|
|
1534
|
+
type: "vibes-diy.cli.db.query";
|
|
1548
1535
|
apiUrl: string;
|
|
1549
1536
|
appSlug: string;
|
|
1550
1537
|
ownerHandle: string;
|
|
1551
1538
|
dbName: string;
|
|
1552
|
-
|
|
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>, {
|
|
1553
1553
|
type: "vibes-diy.cli.db.seed";
|
|
1554
1554
|
action: "add" | "remove";
|
|
1555
1555
|
apiUrl: string;
|