vibes-diy 14.3.341 → 14.3.342
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 +235 -235
- package/cli/cmds/app/look-style-edits.js +2 -7
- package/cli/cmds/run/backend-worker/run-backend-entry.js +1219 -866
- package/cli/cmds/run/bundle-inputs.json +4 -0
- package/cli/cmds/run/run-bundle.js +1714 -1361
- 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;
|
|
40
88
|
appSlug: string;
|
|
41
89
|
ownerHandle: string;
|
|
90
|
+
dbName: string;
|
|
91
|
+
}, never> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
92
|
+
type: "vibes-diy.cli.codegen-log";
|
|
93
|
+
appSlug: string;
|
|
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.app-status";
|
|
194
233
|
appSlug: string;
|
|
@@ -328,6 +367,53 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
328
367
|
type: "vibes.diy.res-ensure-user-settings";
|
|
329
368
|
userId: string;
|
|
330
369
|
settings: ({
|
|
370
|
+
type: "notifications";
|
|
371
|
+
buildComplete?: boolean | undefined;
|
|
372
|
+
buildFailed?: boolean | undefined;
|
|
373
|
+
vibePublished?: boolean | undefined;
|
|
374
|
+
commentPosted?: boolean | undefined;
|
|
375
|
+
requestApproved?: boolean | undefined;
|
|
376
|
+
requestRevoked?: boolean | undefined;
|
|
377
|
+
vibeRemixed?: boolean | undefined;
|
|
378
|
+
dmReceived?: boolean | undefined;
|
|
379
|
+
memberJoined?: boolean | undefined;
|
|
380
|
+
accessRequested?: boolean | undefined;
|
|
381
|
+
emailDigest?: boolean | undefined;
|
|
382
|
+
retentionEmail?: boolean | undefined;
|
|
383
|
+
followRequest?: boolean | undefined;
|
|
384
|
+
followerAdded?: boolean | undefined;
|
|
385
|
+
followApproved?: boolean | undefined;
|
|
386
|
+
appMessage?: boolean | undefined;
|
|
387
|
+
connectionExpiring?: boolean | undefined;
|
|
388
|
+
assetBlocked?: boolean | undefined;
|
|
389
|
+
assetCheckFailed?: boolean | undefined;
|
|
390
|
+
checkoutUnfinished?: boolean | undefined;
|
|
391
|
+
safetyAlert?: boolean | undefined;
|
|
392
|
+
reminder?: boolean | undefined;
|
|
393
|
+
emailInstant?: boolean | undefined;
|
|
394
|
+
mutes?: {
|
|
395
|
+
vibes?: string[] | undefined;
|
|
396
|
+
handles?: string[] | undefined;
|
|
397
|
+
} | undefined;
|
|
398
|
+
vibeTypes?: {
|
|
399
|
+
vibe: string;
|
|
400
|
+
buildComplete?: boolean | undefined;
|
|
401
|
+
buildFailed?: boolean | undefined;
|
|
402
|
+
vibePublished?: boolean | undefined;
|
|
403
|
+
commentPosted?: boolean | undefined;
|
|
404
|
+
requestApproved?: boolean | undefined;
|
|
405
|
+
requestRevoked?: boolean | undefined;
|
|
406
|
+
vibeRemixed?: boolean | undefined;
|
|
407
|
+
memberJoined?: boolean | undefined;
|
|
408
|
+
accessRequested?: boolean | undefined;
|
|
409
|
+
appMessage?: boolean | undefined;
|
|
410
|
+
assetBlocked?: boolean | undefined;
|
|
411
|
+
assetCheckFailed?: boolean | undefined;
|
|
412
|
+
}[] | undefined;
|
|
413
|
+
agent?: {
|
|
414
|
+
hiddenVibes?: string[] | undefined;
|
|
415
|
+
} | undefined;
|
|
416
|
+
} | {
|
|
331
417
|
type: "sharing";
|
|
332
418
|
grants: {
|
|
333
419
|
grant: "allow" | "deny";
|
|
@@ -445,53 +531,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
445
531
|
avatarCid?: string | undefined;
|
|
446
532
|
displayName?: string | undefined;
|
|
447
533
|
codeMode?: boolean | undefined;
|
|
448
|
-
} | {
|
|
449
|
-
type: "notifications";
|
|
450
|
-
buildComplete?: boolean | undefined;
|
|
451
|
-
buildFailed?: boolean | undefined;
|
|
452
|
-
vibePublished?: boolean | undefined;
|
|
453
|
-
commentPosted?: boolean | undefined;
|
|
454
|
-
requestApproved?: boolean | undefined;
|
|
455
|
-
requestRevoked?: boolean | undefined;
|
|
456
|
-
vibeRemixed?: boolean | undefined;
|
|
457
|
-
dmReceived?: boolean | undefined;
|
|
458
|
-
memberJoined?: boolean | undefined;
|
|
459
|
-
accessRequested?: boolean | undefined;
|
|
460
|
-
emailDigest?: boolean | undefined;
|
|
461
|
-
retentionEmail?: boolean | undefined;
|
|
462
|
-
followRequest?: boolean | undefined;
|
|
463
|
-
followerAdded?: boolean | undefined;
|
|
464
|
-
followApproved?: boolean | undefined;
|
|
465
|
-
appMessage?: boolean | undefined;
|
|
466
|
-
connectionExpiring?: boolean | undefined;
|
|
467
|
-
assetBlocked?: boolean | undefined;
|
|
468
|
-
assetCheckFailed?: boolean | undefined;
|
|
469
|
-
checkoutUnfinished?: boolean | undefined;
|
|
470
|
-
safetyAlert?: boolean | undefined;
|
|
471
|
-
reminder?: boolean | undefined;
|
|
472
|
-
emailInstant?: boolean | undefined;
|
|
473
|
-
mutes?: {
|
|
474
|
-
vibes?: string[] | undefined;
|
|
475
|
-
handles?: string[] | undefined;
|
|
476
|
-
} | undefined;
|
|
477
|
-
vibeTypes?: {
|
|
478
|
-
vibe: string;
|
|
479
|
-
buildComplete?: boolean | undefined;
|
|
480
|
-
buildFailed?: boolean | undefined;
|
|
481
|
-
vibePublished?: boolean | undefined;
|
|
482
|
-
commentPosted?: boolean | undefined;
|
|
483
|
-
requestApproved?: boolean | undefined;
|
|
484
|
-
requestRevoked?: boolean | undefined;
|
|
485
|
-
vibeRemixed?: boolean | undefined;
|
|
486
|
-
memberJoined?: boolean | undefined;
|
|
487
|
-
accessRequested?: boolean | undefined;
|
|
488
|
-
appMessage?: boolean | undefined;
|
|
489
|
-
assetBlocked?: boolean | undefined;
|
|
490
|
-
assetCheckFailed?: boolean | undefined;
|
|
491
|
-
}[] | undefined;
|
|
492
|
-
agent?: {
|
|
493
|
-
hiddenVibes?: string[] | undefined;
|
|
494
|
-
} | undefined;
|
|
495
534
|
} | {
|
|
496
535
|
type: "egressStatus";
|
|
497
536
|
status: "blessed" | "blocked";
|
|
@@ -502,9 +541,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
502
541
|
email: string;
|
|
503
542
|
updatedAt: string;
|
|
504
543
|
verified?: boolean | undefined;
|
|
505
|
-
} | {
|
|
506
|
-
type: "onboarding";
|
|
507
|
-
completedAt: string;
|
|
508
544
|
} | {
|
|
509
545
|
type: "geoCountry";
|
|
510
546
|
country: string;
|
|
@@ -515,6 +551,9 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
515
551
|
[x: string]: string;
|
|
516
552
|
};
|
|
517
553
|
updatedAt: string;
|
|
554
|
+
} | {
|
|
555
|
+
type: "onboarding";
|
|
556
|
+
completedAt: string;
|
|
518
557
|
} | {
|
|
519
558
|
type: "kyc";
|
|
520
559
|
cardAt?: string | undefined;
|
|
@@ -634,10 +673,19 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
634
673
|
slug: string;
|
|
635
674
|
content: string;
|
|
636
675
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
637
|
-
type: "vibes-diy.cli.
|
|
676
|
+
type: "vibes-diy.cli.variety";
|
|
638
677
|
}, {
|
|
639
|
-
type: "vibes-diy.cli.res-
|
|
640
|
-
|
|
678
|
+
type: "vibes-diy.cli.res-variety-list";
|
|
679
|
+
grammar: string;
|
|
680
|
+
flourishCount: number;
|
|
681
|
+
archetypes: {
|
|
682
|
+
id: string;
|
|
683
|
+
guidance: string;
|
|
684
|
+
}[];
|
|
685
|
+
flourishes: {
|
|
686
|
+
id: string;
|
|
687
|
+
guidance: string;
|
|
688
|
+
}[];
|
|
641
689
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
642
690
|
type: "vibes-diy.cli.push";
|
|
643
691
|
mode: string;
|
|
@@ -737,23 +785,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
737
785
|
message: string;
|
|
738
786
|
code: "auto-enhance-off";
|
|
739
787
|
};
|
|
740
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
741
|
-
type: "vibes-diy.cli.remix";
|
|
742
|
-
srcUserSlug: string;
|
|
743
|
-
srcAppSlug: string;
|
|
744
|
-
dstOwnerHandle?: string | undefined;
|
|
745
|
-
dstAppSlug?: string | undefined;
|
|
746
|
-
published: boolean;
|
|
747
|
-
settingsOnly: boolean;
|
|
748
|
-
apiUrl: string;
|
|
749
|
-
}, {
|
|
750
|
-
type: "vibes-diy.cli.res-remix";
|
|
751
|
-
ownerHandle: string;
|
|
752
|
-
appSlug: string;
|
|
753
|
-
url: string;
|
|
754
|
-
carried?: string[] | undefined;
|
|
755
|
-
skippedPresent?: string[] | undefined;
|
|
756
|
-
chatId?: string | undefined;
|
|
757
788
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
758
789
|
type: "vibes-diy.cli.claim-handle";
|
|
759
790
|
apiUrl: string;
|
|
@@ -766,27 +797,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
766
797
|
defaultHandleSet?: boolean | undefined;
|
|
767
798
|
defaultSkipped?: boolean | undefined;
|
|
768
799
|
suggestions: string[];
|
|
769
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
770
|
-
type: "vibes-diy.cli.agent";
|
|
771
|
-
apiUrl: string;
|
|
772
|
-
prompt: string;
|
|
773
|
-
ownerHandle: string;
|
|
774
|
-
followMs: number;
|
|
775
|
-
json: boolean;
|
|
776
|
-
chatId?: string | undefined;
|
|
777
|
-
newChat?: boolean | undefined;
|
|
778
|
-
images?: string[] | undefined;
|
|
779
|
-
byText?: boolean | undefined;
|
|
780
|
-
}, {
|
|
781
|
-
type: "vibes-diy.cli.res-agent";
|
|
782
|
-
ownerHandle: string;
|
|
783
|
-
chatId: string;
|
|
784
|
-
messages: string[];
|
|
785
|
-
shorts?: string[] | undefined;
|
|
786
|
-
links: string[];
|
|
787
|
-
idle: boolean;
|
|
788
|
-
reactions?: string[] | undefined;
|
|
789
|
-
error?: string | undefined;
|
|
790
800
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
791
801
|
type: "vibes-diy.cli.image";
|
|
792
802
|
apiUrl: string;
|
|
@@ -820,75 +830,38 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
820
830
|
};
|
|
821
831
|
};
|
|
822
832
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
823
|
-
type: "vibes-diy.cli.
|
|
824
|
-
|
|
825
|
-
ownerHandle: string;
|
|
826
|
-
chatId?: string | undefined;
|
|
827
|
-
apiUrl: string;
|
|
828
|
-
}, {
|
|
829
|
-
type: "vibes-diy.cli.res-app-chats-list";
|
|
830
|
-
items: {
|
|
831
|
-
chatId: string;
|
|
832
|
-
appSlug: string;
|
|
833
|
-
ownerHandle: string;
|
|
834
|
-
created: string;
|
|
835
|
-
userHandle?: string | undefined;
|
|
836
|
-
}[];
|
|
837
|
-
} | {
|
|
838
|
-
type: "vibes-diy.cli.res-app-chats-detail";
|
|
839
|
-
chatId: string;
|
|
840
|
-
ownerHandle?: string | undefined;
|
|
841
|
-
appSlug?: string | undefined;
|
|
842
|
-
output: string;
|
|
843
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
844
|
-
type: "vibes-diy.cli.codegen-log";
|
|
833
|
+
type: "vibes-diy.cli.put-asset";
|
|
834
|
+
file: string;
|
|
845
835
|
appSlug: string;
|
|
846
836
|
ownerHandle: string;
|
|
847
|
-
chatId?: string | undefined;
|
|
848
837
|
apiUrl: string;
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
files?: boolean | undefined;
|
|
852
|
-
jsonl?: boolean | undefined;
|
|
853
|
-
user?: boolean | undefined;
|
|
854
|
-
promptId?: string | undefined;
|
|
838
|
+
mimeType: string;
|
|
839
|
+
verifyFetch: boolean;
|
|
855
840
|
}, {
|
|
856
|
-
type: "vibes-diy.cli.res-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
}[];
|
|
863
|
-
} | {
|
|
864
|
-
type: "vibes-diy.cli.res-codegen-log-detail";
|
|
865
|
-
chatId: string;
|
|
866
|
-
ownerHandle: string;
|
|
867
|
-
appSlug: string;
|
|
868
|
-
prompts: {
|
|
869
|
-
prompt: string;
|
|
870
|
-
fsId: string;
|
|
871
|
-
created: string;
|
|
872
|
-
}[];
|
|
873
|
-
} | {
|
|
874
|
-
type: "vibes-diy.cli.res-codegen-log-response";
|
|
875
|
-
output: string;
|
|
841
|
+
type: "vibes-diy.cli.res-put-asset";
|
|
842
|
+
cid: string;
|
|
843
|
+
getURL: string;
|
|
844
|
+
size: number;
|
|
845
|
+
uploadId: string;
|
|
846
|
+
verified?: boolean | undefined;
|
|
876
847
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
877
|
-
type: "vibes-diy.cli.
|
|
878
|
-
appSlug: string;
|
|
848
|
+
type: "vibes-diy.cli.generate";
|
|
879
849
|
prompt: string;
|
|
850
|
+
appSlug: string;
|
|
880
851
|
ownerHandle: string;
|
|
881
852
|
instantJoin?: boolean | undefined;
|
|
853
|
+
noAccessFn?: boolean | undefined;
|
|
854
|
+
privateMode?: boolean | undefined;
|
|
882
855
|
verbose: boolean;
|
|
883
|
-
dir: string;
|
|
884
856
|
apiUrl: string;
|
|
885
|
-
dryRun: boolean;
|
|
886
|
-
transcript: boolean;
|
|
887
|
-
directBuild?: boolean | undefined;
|
|
888
857
|
focusPath?: string | undefined;
|
|
889
858
|
model?: string | undefined;
|
|
890
859
|
builderModel?: string | undefined;
|
|
891
860
|
apiKey?: string | undefined;
|
|
861
|
+
variety?: string | undefined;
|
|
862
|
+
record?: string | undefined;
|
|
863
|
+
style?: string | undefined;
|
|
864
|
+
fastPass?: boolean | undefined;
|
|
892
865
|
}, {
|
|
893
866
|
appSlug: string;
|
|
894
867
|
ownerHandle: string;
|
|
@@ -973,13 +946,36 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
973
946
|
code: "auto-enhance-off";
|
|
974
947
|
};
|
|
975
948
|
} | {
|
|
976
|
-
type: "vibes-diy.cli.res-
|
|
949
|
+
type: "vibes-diy.cli.res-generate";
|
|
977
950
|
appSlug: string;
|
|
978
951
|
ownerHandle: string;
|
|
979
952
|
url: string;
|
|
980
953
|
directory: string;
|
|
981
|
-
|
|
982
|
-
|
|
954
|
+
release?: "not-visible" | "published" | "version-locked" | undefined;
|
|
955
|
+
turns?: number | undefined;
|
|
956
|
+
publish?: "kept-private-no-access-fn" | "private" | "published" | undefined;
|
|
957
|
+
posture?: "gated" | "open" | "private" | undefined;
|
|
958
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
959
|
+
type: "vibes-diy.cli.app-chats";
|
|
960
|
+
appSlug: string;
|
|
961
|
+
ownerHandle: string;
|
|
962
|
+
chatId?: string | undefined;
|
|
963
|
+
apiUrl: string;
|
|
964
|
+
}, {
|
|
965
|
+
type: "vibes-diy.cli.res-app-chats-list";
|
|
966
|
+
items: {
|
|
967
|
+
chatId: string;
|
|
968
|
+
appSlug: string;
|
|
969
|
+
ownerHandle: string;
|
|
970
|
+
created: string;
|
|
971
|
+
userHandle?: string | undefined;
|
|
972
|
+
}[];
|
|
973
|
+
} | {
|
|
974
|
+
type: "vibes-diy.cli.res-app-chats-detail";
|
|
975
|
+
chatId: string;
|
|
976
|
+
ownerHandle?: string | undefined;
|
|
977
|
+
appSlug?: string | undefined;
|
|
978
|
+
output: string;
|
|
983
979
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
984
980
|
type: "vibes-diy.cli.list";
|
|
985
981
|
apiUrl: string;
|
|
@@ -1025,24 +1021,15 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1025
1021
|
ms?: number | undefined;
|
|
1026
1022
|
} | undefined;
|
|
1027
1023
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1028
|
-
type: "vibes-diy.cli.
|
|
1029
|
-
appSlug: string;
|
|
1030
|
-
ownerHandle: string;
|
|
1031
|
-
dir: string;
|
|
1024
|
+
type: "vibes-diy.cli.whoami";
|
|
1032
1025
|
apiUrl: string;
|
|
1033
|
-
fsId?: string | undefined;
|
|
1034
|
-
published: boolean;
|
|
1035
|
-
draft: boolean;
|
|
1036
|
-
version?: string | undefined;
|
|
1037
1026
|
}, {
|
|
1038
|
-
type: "vibes-diy.cli.res-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
size: number;
|
|
1045
|
-
}[];
|
|
1027
|
+
type: "vibes-diy.cli.res-whoami";
|
|
1028
|
+
authenticated: boolean;
|
|
1029
|
+
userId?: string | undefined;
|
|
1030
|
+
defaultHandle?: string | undefined;
|
|
1031
|
+
handles: string[];
|
|
1032
|
+
detail?: string | undefined;
|
|
1046
1033
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1047
1034
|
type: "vibes-diy.cli.run";
|
|
1048
1035
|
apiUrl: string;
|
|
@@ -1629,12 +1616,25 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1629
1616
|
id: string;
|
|
1630
1617
|
ok: true;
|
|
1631
1618
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1632
|
-
type: "vibes-diy.cli.db.
|
|
1619
|
+
type: "vibes-diy.cli.db.query";
|
|
1633
1620
|
apiUrl: string;
|
|
1634
1621
|
appSlug: string;
|
|
1635
1622
|
ownerHandle: string;
|
|
1636
1623
|
dbName: string;
|
|
1637
|
-
|
|
1624
|
+
field: string;
|
|
1625
|
+
key: string;
|
|
1626
|
+
prefix: string;
|
|
1627
|
+
range: string;
|
|
1628
|
+
limit: number;
|
|
1629
|
+
descending: boolean;
|
|
1630
|
+
admin: boolean;
|
|
1631
|
+
actingHandle: string;
|
|
1632
|
+
}, {
|
|
1633
|
+
type: "vibes-diy.cli.db.query-res";
|
|
1634
|
+
docs: {
|
|
1635
|
+
[x: string]: unknown;
|
|
1636
|
+
}[];
|
|
1637
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1638
1638
|
type: "vibes-diy.cli.db.seed";
|
|
1639
1639
|
action: "add" | "remove";
|
|
1640
1640
|
apiUrl: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DERIVED_HUE, PAD_DRIVEN_TOKENS, VIBE_FONTS, getStylePreset, getVibeFont } from "@vibes.diy/prompts";
|
|
2
2
|
import { generatePoufRoom, normalizePoufSeed } from "@vibes.diy/prompts/themes/pouf-rooms.js";
|
|
3
|
-
import { POUF_BOLD_PRESETS, POUF_BOLD_TONE, POUF_ROOM_SLUGS } from "@vibes.diy/prompts/themes/style-presets.js";
|
|
3
|
+
import { POUF_BOLD_PRESETS, POUF_BOLD_TONE, POUF_ROOM_SLUGS, poufSeedEqualsPreset, } from "@vibes.diy/prompts/themes/style-presets.js";
|
|
4
4
|
export const PIN_OFF_WORD = "off";
|
|
5
5
|
const NUDGE_LIMIT = 15;
|
|
6
6
|
function wrapHue(h) {
|
|
@@ -217,12 +217,7 @@ export function describePoufDials(pouf) {
|
|
|
217
217
|
};
|
|
218
218
|
}
|
|
219
219
|
export function poufSeedMatchesRoom(pouf, roomSlug) {
|
|
220
|
-
|
|
221
|
-
if (room === undefined)
|
|
222
|
-
return false;
|
|
223
|
-
if (pouf.up !== undefined || pouf.down !== undefined)
|
|
224
|
-
return false;
|
|
225
|
-
return room.lead === pouf.lead && room.locked === pouf.locked && room.tone === pouf.tone && room.gap === pouf.gap;
|
|
220
|
+
return poufSeedEqualsPreset(pouf, getStylePreset(roomSlug === "pouf" ? "home" : roomSlug)?.palette.pouf);
|
|
226
221
|
}
|
|
227
222
|
export function poufBoldRoom(slug) {
|
|
228
223
|
const preset = POUF_BOLD_PRESETS.find((p) => p.slug === slug);
|