vibes-diy 14.3.452 → 14.3.453
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 +367 -367
- package/cli/cmds/run/backend-worker/run-backend-entry.js +600 -259
- package/cli/cmds/run/bundle-inputs.json +7 -0
- package/cli/cmds/run/run-bundle.js +3217 -2434
- package/package.json +8 -8
package/cli/cmd-evento.d.ts
CHANGED
|
@@ -2,215 +2,106 @@ 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: "
|
|
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;
|
|
20
|
-
}, {
|
|
21
|
-
type: "core-cli.res-device-id-register";
|
|
22
|
-
output: string;
|
|
23
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
24
|
-
type: "vibes-diy.cli.system";
|
|
5
|
+
type: "use-vibes.cli.themes";
|
|
25
6
|
}, {
|
|
26
|
-
type: "vibes
|
|
27
|
-
|
|
7
|
+
type: "use-vibes.cli.res-themes-list";
|
|
8
|
+
themes: {
|
|
9
|
+
slug: string;
|
|
10
|
+
name: string;
|
|
11
|
+
}[];
|
|
12
|
+
} | {
|
|
13
|
+
type: "use-vibes.cli.res-theme-content";
|
|
14
|
+
slug: string;
|
|
15
|
+
content: string;
|
|
28
16
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
29
|
-
type: "vibes-diy.cli.
|
|
30
|
-
srcUserSlug: string;
|
|
31
|
-
srcAppSlug: string;
|
|
32
|
-
dstOwnerHandle?: string | undefined;
|
|
33
|
-
dstAppSlug?: string | undefined;
|
|
34
|
-
published: boolean;
|
|
35
|
-
settingsOnly: boolean;
|
|
17
|
+
type: "vibes-diy.cli.db.list";
|
|
36
18
|
apiUrl: string;
|
|
37
|
-
}, {
|
|
38
|
-
type: "vibes-diy.cli.res-remix";
|
|
39
|
-
ownerHandle: string;
|
|
40
19
|
appSlug: string;
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
20
|
+
ownerHandle: string;
|
|
21
|
+
admin: boolean;
|
|
22
|
+
}, {
|
|
23
|
+
type: "vibes-diy.cli.db.list-res";
|
|
24
|
+
dbNames: string[];
|
|
45
25
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
46
|
-
type: "vibes-diy.cli.
|
|
26
|
+
type: "vibes-diy.cli.db.put";
|
|
47
27
|
apiUrl: string;
|
|
48
|
-
|
|
28
|
+
appSlug: string;
|
|
49
29
|
ownerHandle: string;
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
startedBy?: "person" | "wake" | undefined;
|
|
57
|
-
askedBy?: string | undefined;
|
|
30
|
+
dbName: string;
|
|
31
|
+
docJson: string;
|
|
32
|
+
docId: string;
|
|
33
|
+
admin: boolean;
|
|
34
|
+
actingHandle: string;
|
|
35
|
+
files?: string[] | undefined;
|
|
58
36
|
}, {
|
|
59
|
-
type: "vibes-diy.cli.res
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
error?: string | undefined;
|
|
68
|
-
credits?: number | undefined;
|
|
37
|
+
type: "vibes-diy.cli.db.put-res";
|
|
38
|
+
id: string;
|
|
39
|
+
ok: true;
|
|
40
|
+
files?: {
|
|
41
|
+
key: string;
|
|
42
|
+
status: "unchanged" | "uploaded";
|
|
43
|
+
uploadId: string;
|
|
44
|
+
}[] | undefined;
|
|
69
45
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
70
|
-
type: "vibes-diy.cli.
|
|
71
|
-
|
|
46
|
+
type: "vibes-diy.cli.db.seed";
|
|
47
|
+
action: "add" | "remove";
|
|
48
|
+
apiUrl: string;
|
|
72
49
|
appSlug: string;
|
|
73
50
|
ownerHandle: string;
|
|
74
|
-
instantJoin?: boolean | undefined;
|
|
75
|
-
noAccessFn?: boolean | undefined;
|
|
76
|
-
privateMode?: boolean | undefined;
|
|
77
|
-
verbose: boolean;
|
|
78
|
-
apiUrl: string;
|
|
79
|
-
focusPath?: string | undefined;
|
|
80
|
-
model?: string | undefined;
|
|
81
|
-
builderModel?: string | undefined;
|
|
82
|
-
apiKey?: string | undefined;
|
|
83
|
-
variety?: string | undefined;
|
|
84
|
-
record?: string | undefined;
|
|
85
|
-
style?: string | undefined;
|
|
86
|
-
fastPass?: boolean | undefined;
|
|
87
51
|
}, {
|
|
52
|
+
type: "vibes-diy.cli.db.seed-res";
|
|
53
|
+
action: "add" | "remove";
|
|
88
54
|
appSlug: string;
|
|
89
55
|
ownerHandle: string;
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
transform?: {
|
|
100
|
-
type: "jsx-to-js";
|
|
101
|
-
transformedAssetId: string;
|
|
102
|
-
} | {
|
|
103
|
-
type: "imports";
|
|
104
|
-
importMapAssetId: string;
|
|
105
|
-
} | {
|
|
106
|
-
type: "import-map";
|
|
107
|
-
fromAssetIds: string[];
|
|
108
|
-
} | {
|
|
109
|
-
type: "transformed";
|
|
110
|
-
action: "jsx-to-js";
|
|
111
|
-
transformedAssetId: string;
|
|
112
|
-
} | {
|
|
113
|
-
type: "tailwind-css";
|
|
114
|
-
} | undefined;
|
|
115
|
-
entryPoint?: boolean | undefined;
|
|
116
|
-
size: number;
|
|
117
|
-
kind?: "asset" | undefined;
|
|
118
|
-
uploadId?: string | undefined;
|
|
56
|
+
seedFile: "absent" | "invalid" | "present" | "unknown";
|
|
57
|
+
changed: number;
|
|
58
|
+
skipped: number;
|
|
59
|
+
failed: number;
|
|
60
|
+
perDb: {
|
|
61
|
+
dbName: string;
|
|
62
|
+
changed: number;
|
|
63
|
+
skipped: number;
|
|
64
|
+
failed: number;
|
|
119
65
|
}[];
|
|
120
|
-
autoEnhanceOff?: true | undefined;
|
|
121
|
-
appCreated?: true | undefined;
|
|
122
|
-
anonWriteFollowed?: {
|
|
123
|
-
to: "explicit" | "off";
|
|
124
|
-
because: "not-open" | "personal-details" | "rules-ask" | "rules-do-not-ask" | "rules-not-bound" | "sensitive";
|
|
125
|
-
} | undefined;
|
|
126
|
-
backendWarnings?: string[] | undefined;
|
|
127
|
-
} | {
|
|
128
|
-
type: "vibes.diy.res-error";
|
|
129
|
-
error: {
|
|
130
|
-
message: string;
|
|
131
|
-
code: "require-login";
|
|
132
|
-
};
|
|
133
|
-
} | {
|
|
134
|
-
type: "vibes.diy.res-error";
|
|
135
|
-
error: {
|
|
136
|
-
message: string;
|
|
137
|
-
code: "user-slug-invalid";
|
|
138
|
-
};
|
|
139
|
-
} | {
|
|
140
|
-
type: "vibes.diy.res-error";
|
|
141
|
-
error: {
|
|
142
|
-
message: string;
|
|
143
|
-
code: "app-slug-invalid";
|
|
144
|
-
};
|
|
145
|
-
} | {
|
|
146
|
-
type: "vibes.diy.res-error";
|
|
147
|
-
error: {
|
|
148
|
-
message: string;
|
|
149
|
-
code: "max-app-slugs-reached";
|
|
150
|
-
};
|
|
151
|
-
} | {
|
|
152
|
-
type: "vibes.diy.res-error";
|
|
153
|
-
error: {
|
|
154
|
-
message: string;
|
|
155
|
-
code: "handle-required";
|
|
156
|
-
};
|
|
157
|
-
} | {
|
|
158
|
-
type: "vibes.diy.res-error";
|
|
159
|
-
error: {
|
|
160
|
-
message: string;
|
|
161
|
-
code: "from-not-owned";
|
|
162
|
-
};
|
|
163
|
-
} | {
|
|
164
|
-
type: "vibes.diy.res-error";
|
|
165
|
-
error: {
|
|
166
|
-
message: string;
|
|
167
|
-
code: "from-carry-failed";
|
|
168
|
-
};
|
|
169
|
-
} | {
|
|
170
|
-
type: "vibes.diy.res-error";
|
|
171
|
-
error: {
|
|
172
|
-
message: string;
|
|
173
|
-
code: "auto-enhance-off";
|
|
174
|
-
};
|
|
175
|
-
} | {
|
|
176
|
-
type: "vibes-diy.cli.res-generate";
|
|
177
|
-
appSlug: string;
|
|
178
|
-
ownerHandle: string;
|
|
179
|
-
url: string;
|
|
180
|
-
directory: string;
|
|
181
|
-
release?: "not-visible" | "published" | "version-locked" | undefined;
|
|
182
|
-
turns?: number | undefined;
|
|
183
|
-
publish?: "kept-private-no-access-fn" | "private" | "published" | undefined;
|
|
184
|
-
posture?: "gated" | "open" | "private" | undefined;
|
|
185
66
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
186
|
-
type: "vibes-diy.cli.
|
|
187
|
-
apiUrl: string;
|
|
67
|
+
type: "vibes-diy.cli.app-chats";
|
|
188
68
|
appSlug: string;
|
|
189
69
|
ownerHandle: string;
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
key: string;
|
|
193
|
-
prefix: string;
|
|
194
|
-
range: string;
|
|
195
|
-
limit: number;
|
|
196
|
-
descending: boolean;
|
|
197
|
-
admin: boolean;
|
|
198
|
-
actingHandle: string;
|
|
70
|
+
chatId?: string | undefined;
|
|
71
|
+
apiUrl: string;
|
|
199
72
|
}, {
|
|
200
|
-
type: "vibes-diy.cli.
|
|
201
|
-
|
|
202
|
-
|
|
73
|
+
type: "vibes-diy.cli.res-app-chats-list";
|
|
74
|
+
items: {
|
|
75
|
+
chatId: string;
|
|
76
|
+
appSlug: string;
|
|
77
|
+
ownerHandle: string;
|
|
78
|
+
created: string;
|
|
79
|
+
userHandle?: string | undefined;
|
|
203
80
|
}[];
|
|
81
|
+
} | {
|
|
82
|
+
type: "vibes-diy.cli.res-app-chats-detail";
|
|
83
|
+
chatId: string;
|
|
84
|
+
ownerHandle?: string | undefined;
|
|
85
|
+
appSlug?: string | undefined;
|
|
86
|
+
output: string;
|
|
204
87
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
205
|
-
type: "vibes-diy.cli.
|
|
88
|
+
type: "vibes-diy.cli.list";
|
|
206
89
|
apiUrl: string;
|
|
207
90
|
}, {
|
|
208
|
-
type: "vibes-diy.cli.res-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
91
|
+
type: "vibes-diy.cli.res-list";
|
|
92
|
+
items: {
|
|
93
|
+
ownerHandle: string;
|
|
94
|
+
appSlug: string;
|
|
95
|
+
updated: string;
|
|
96
|
+
title?: string | undefined;
|
|
97
|
+
icon?: {
|
|
98
|
+
cid: string;
|
|
99
|
+
mime: string;
|
|
100
|
+
} | undefined;
|
|
101
|
+
pinnedAt?: string | undefined;
|
|
102
|
+
neverPublished?: boolean | undefined;
|
|
103
|
+
unpublishedAt?: string | undefined;
|
|
104
|
+
}[];
|
|
214
105
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
215
106
|
type: "vibes-diy.cli.versions";
|
|
216
107
|
appSlug: string;
|
|
@@ -668,48 +559,247 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
668
559
|
name: string;
|
|
669
560
|
content: string;
|
|
670
561
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
671
|
-
type: "
|
|
562
|
+
type: "vibes-diy.cli.variety";
|
|
672
563
|
}, {
|
|
673
|
-
type: "
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
564
|
+
type: "vibes-diy.cli.res-variety-list";
|
|
565
|
+
grammar: string;
|
|
566
|
+
flourishCount: number;
|
|
567
|
+
archetypes: {
|
|
568
|
+
id: string;
|
|
569
|
+
guidance: string;
|
|
677
570
|
}[];
|
|
571
|
+
flourishes: {
|
|
572
|
+
id: string;
|
|
573
|
+
guidance: string;
|
|
574
|
+
}[];
|
|
575
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
576
|
+
type: "vibes-diy.cli.system";
|
|
577
|
+
}, {
|
|
578
|
+
type: "vibes-diy.cli.res-system";
|
|
579
|
+
systemPrompt: string;
|
|
580
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
581
|
+
type: "vibes-diy.cli.push";
|
|
582
|
+
mode: string;
|
|
583
|
+
appSlug: string;
|
|
584
|
+
ownerHandle: string;
|
|
585
|
+
access?: string | undefined;
|
|
586
|
+
privateMode?: boolean | undefined;
|
|
587
|
+
noAccessFn?: boolean | undefined;
|
|
588
|
+
message?: string | undefined;
|
|
589
|
+
title?: string | undefined;
|
|
590
|
+
from?: {
|
|
591
|
+
ownerHandle: string;
|
|
592
|
+
appSlug: string;
|
|
593
|
+
} | undefined;
|
|
594
|
+
apiKey?: string | undefined;
|
|
595
|
+
apiUrl: string;
|
|
596
|
+
idleTimeoutMs?: number | undefined;
|
|
597
|
+
}, {
|
|
598
|
+
appSlug: string;
|
|
599
|
+
ownerHandle: string;
|
|
600
|
+
mode: "dev" | "production";
|
|
601
|
+
fsId: string;
|
|
602
|
+
type: "vibes.diy.res-ensure-app-slug";
|
|
603
|
+
env: Record<string, string>;
|
|
604
|
+
fileSystem: {
|
|
605
|
+
fileName: string;
|
|
606
|
+
mimeType: string;
|
|
607
|
+
assetId: string;
|
|
608
|
+
assetURI: string;
|
|
609
|
+
transform?: {
|
|
610
|
+
type: "jsx-to-js";
|
|
611
|
+
transformedAssetId: string;
|
|
612
|
+
} | {
|
|
613
|
+
type: "imports";
|
|
614
|
+
importMapAssetId: string;
|
|
615
|
+
} | {
|
|
616
|
+
type: "import-map";
|
|
617
|
+
fromAssetIds: string[];
|
|
618
|
+
} | {
|
|
619
|
+
type: "transformed";
|
|
620
|
+
action: "jsx-to-js";
|
|
621
|
+
transformedAssetId: string;
|
|
622
|
+
} | {
|
|
623
|
+
type: "tailwind-css";
|
|
624
|
+
} | undefined;
|
|
625
|
+
entryPoint?: boolean | undefined;
|
|
626
|
+
size: number;
|
|
627
|
+
kind?: "asset" | undefined;
|
|
628
|
+
uploadId?: string | undefined;
|
|
629
|
+
}[];
|
|
630
|
+
autoEnhanceOff?: true | undefined;
|
|
631
|
+
appCreated?: true | undefined;
|
|
632
|
+
anonWriteFollowed?: {
|
|
633
|
+
to: "explicit" | "off";
|
|
634
|
+
because: "not-open" | "personal-details" | "rules-ask" | "rules-do-not-ask" | "rules-not-bound" | "sensitive";
|
|
635
|
+
} | undefined;
|
|
636
|
+
backendWarnings?: string[] | undefined;
|
|
678
637
|
} | {
|
|
679
|
-
type: "
|
|
680
|
-
|
|
681
|
-
|
|
638
|
+
type: "vibes.diy.res-error";
|
|
639
|
+
error: {
|
|
640
|
+
message: string;
|
|
641
|
+
code: "require-login";
|
|
642
|
+
};
|
|
643
|
+
} | {
|
|
644
|
+
type: "vibes.diy.res-error";
|
|
645
|
+
error: {
|
|
646
|
+
message: string;
|
|
647
|
+
code: "user-slug-invalid";
|
|
648
|
+
};
|
|
649
|
+
} | {
|
|
650
|
+
type: "vibes.diy.res-error";
|
|
651
|
+
error: {
|
|
652
|
+
message: string;
|
|
653
|
+
code: "app-slug-invalid";
|
|
654
|
+
};
|
|
655
|
+
} | {
|
|
656
|
+
type: "vibes.diy.res-error";
|
|
657
|
+
error: {
|
|
658
|
+
message: string;
|
|
659
|
+
code: "from-not-owned";
|
|
660
|
+
};
|
|
661
|
+
} | {
|
|
662
|
+
type: "vibes.diy.res-error";
|
|
663
|
+
error: {
|
|
664
|
+
message: string;
|
|
665
|
+
code: "from-carry-failed";
|
|
666
|
+
};
|
|
667
|
+
} | {
|
|
668
|
+
type: "vibes.diy.res-error";
|
|
669
|
+
error: {
|
|
670
|
+
message: string;
|
|
671
|
+
code: "auto-enhance-off";
|
|
672
|
+
};
|
|
673
|
+
} | {
|
|
674
|
+
type: "vibes.diy.res-error";
|
|
675
|
+
error: {
|
|
676
|
+
message: string;
|
|
677
|
+
code: "handle-required";
|
|
678
|
+
};
|
|
679
|
+
} | {
|
|
680
|
+
type: "vibes.diy.res-error";
|
|
681
|
+
error: {
|
|
682
|
+
message: string;
|
|
683
|
+
code: "max-app-slugs-reached";
|
|
684
|
+
};
|
|
685
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
686
|
+
type: "vibes-diy.cli.remix";
|
|
687
|
+
srcUserSlug: string;
|
|
688
|
+
srcAppSlug: string;
|
|
689
|
+
dstOwnerHandle?: string | undefined;
|
|
690
|
+
dstAppSlug?: string | undefined;
|
|
691
|
+
published: boolean;
|
|
692
|
+
settingsOnly: boolean;
|
|
693
|
+
apiUrl: string;
|
|
694
|
+
}, {
|
|
695
|
+
type: "vibes-diy.cli.res-remix";
|
|
696
|
+
ownerHandle: string;
|
|
697
|
+
appSlug: string;
|
|
698
|
+
url: string;
|
|
699
|
+
carried?: string[] | undefined;
|
|
700
|
+
skippedPresent?: string[] | undefined;
|
|
701
|
+
chatId?: string | undefined;
|
|
702
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
703
|
+
type: "vibes-diy.cli.claim-handle";
|
|
704
|
+
apiUrl: string;
|
|
705
|
+
ownerHandle?: string | undefined;
|
|
706
|
+
noDefault?: boolean | undefined;
|
|
707
|
+
}, {
|
|
708
|
+
type: "vibes-diy.cli.res-claim-handle";
|
|
709
|
+
op: "claim" | "suggest";
|
|
710
|
+
ownerHandle?: string | undefined;
|
|
711
|
+
defaultHandleSet?: boolean | undefined;
|
|
712
|
+
defaultSkipped?: boolean | undefined;
|
|
713
|
+
suggestions: string[];
|
|
714
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
715
|
+
type: "vibes-diy.cli.agent";
|
|
716
|
+
apiUrl: string;
|
|
717
|
+
prompt: string;
|
|
718
|
+
ownerHandle: string;
|
|
719
|
+
followMs: number;
|
|
720
|
+
json: boolean;
|
|
721
|
+
chatId?: string | undefined;
|
|
722
|
+
newChat?: boolean | undefined;
|
|
723
|
+
images?: string[] | undefined;
|
|
724
|
+
byText?: boolean | undefined;
|
|
725
|
+
startedBy?: "person" | "wake" | undefined;
|
|
726
|
+
askedBy?: string | undefined;
|
|
727
|
+
}, {
|
|
728
|
+
type: "vibes-diy.cli.res-agent";
|
|
729
|
+
ownerHandle: string;
|
|
730
|
+
chatId: string;
|
|
731
|
+
messages: string[];
|
|
732
|
+
shorts?: string[] | undefined;
|
|
733
|
+
links: string[];
|
|
734
|
+
idle: boolean;
|
|
735
|
+
reactions?: string[] | undefined;
|
|
736
|
+
error?: string | undefined;
|
|
737
|
+
credits?: number | undefined;
|
|
738
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
739
|
+
type: "vibes-diy.cli.image";
|
|
740
|
+
apiUrl: string;
|
|
741
|
+
prompt: string;
|
|
742
|
+
ownerHandle: string;
|
|
743
|
+
photo: string;
|
|
744
|
+
vibe: string;
|
|
745
|
+
db: string;
|
|
746
|
+
doc: string;
|
|
747
|
+
out: string;
|
|
748
|
+
json: boolean;
|
|
749
|
+
}, {
|
|
750
|
+
type: "vibes-diy.cli.res-image";
|
|
751
|
+
path: string;
|
|
752
|
+
receipt: {
|
|
753
|
+
ok: true;
|
|
754
|
+
picture: {
|
|
755
|
+
url: string;
|
|
756
|
+
mimeType: string;
|
|
757
|
+
name: string;
|
|
758
|
+
size: number;
|
|
759
|
+
ownerHandle: string;
|
|
760
|
+
appSlug: string;
|
|
761
|
+
dbName: string;
|
|
762
|
+
docId: string;
|
|
763
|
+
};
|
|
764
|
+
link?: string | undefined;
|
|
765
|
+
made: {
|
|
766
|
+
prompt: string;
|
|
767
|
+
model: string;
|
|
768
|
+
};
|
|
769
|
+
};
|
|
682
770
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
683
|
-
type: "vibes-diy.cli.
|
|
771
|
+
type: "vibes-diy.cli.put-asset";
|
|
772
|
+
file: string;
|
|
773
|
+
appSlug: string;
|
|
774
|
+
ownerHandle: string;
|
|
775
|
+
apiUrl: string;
|
|
776
|
+
mimeType: string;
|
|
777
|
+
verifyFetch: boolean;
|
|
684
778
|
}, {
|
|
685
|
-
type: "vibes-diy.cli.res-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
}[];
|
|
692
|
-
flourishes: {
|
|
693
|
-
id: string;
|
|
694
|
-
guidance: string;
|
|
695
|
-
}[];
|
|
779
|
+
type: "vibes-diy.cli.res-put-asset";
|
|
780
|
+
cid: string;
|
|
781
|
+
getURL: string;
|
|
782
|
+
size: number;
|
|
783
|
+
uploadId: string;
|
|
784
|
+
verified?: boolean | undefined;
|
|
696
785
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
697
|
-
type: "vibes-diy.cli.
|
|
698
|
-
|
|
786
|
+
type: "vibes-diy.cli.generate";
|
|
787
|
+
prompt: string;
|
|
699
788
|
appSlug: string;
|
|
700
789
|
ownerHandle: string;
|
|
701
|
-
|
|
702
|
-
privateMode?: boolean | undefined;
|
|
790
|
+
instantJoin?: boolean | undefined;
|
|
703
791
|
noAccessFn?: boolean | undefined;
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
from?: {
|
|
707
|
-
ownerHandle: string;
|
|
708
|
-
appSlug: string;
|
|
709
|
-
} | undefined;
|
|
710
|
-
apiKey?: string | undefined;
|
|
792
|
+
privateMode?: boolean | undefined;
|
|
793
|
+
verbose: boolean;
|
|
711
794
|
apiUrl: string;
|
|
712
|
-
|
|
795
|
+
focusPath?: string | undefined;
|
|
796
|
+
model?: string | undefined;
|
|
797
|
+
builderModel?: string | undefined;
|
|
798
|
+
apiKey?: string | undefined;
|
|
799
|
+
variety?: string | undefined;
|
|
800
|
+
record?: string | undefined;
|
|
801
|
+
style?: string | undefined;
|
|
802
|
+
fastPass?: boolean | undefined;
|
|
713
803
|
}, {
|
|
714
804
|
appSlug: string;
|
|
715
805
|
ownerHandle: string;
|
|
@@ -772,112 +862,42 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
772
862
|
type: "vibes.diy.res-error";
|
|
773
863
|
error: {
|
|
774
864
|
message: string;
|
|
775
|
-
code: "
|
|
865
|
+
code: "from-not-owned";
|
|
776
866
|
};
|
|
777
867
|
} | {
|
|
778
868
|
type: "vibes.diy.res-error";
|
|
779
869
|
error: {
|
|
780
870
|
message: string;
|
|
781
|
-
code: "
|
|
871
|
+
code: "from-carry-failed";
|
|
782
872
|
};
|
|
783
873
|
} | {
|
|
784
874
|
type: "vibes.diy.res-error";
|
|
785
875
|
error: {
|
|
786
876
|
message: string;
|
|
787
|
-
code: "
|
|
877
|
+
code: "auto-enhance-off";
|
|
788
878
|
};
|
|
789
879
|
} | {
|
|
790
880
|
type: "vibes.diy.res-error";
|
|
791
881
|
error: {
|
|
792
882
|
message: string;
|
|
793
|
-
code: "
|
|
883
|
+
code: "handle-required";
|
|
794
884
|
};
|
|
795
885
|
} | {
|
|
796
886
|
type: "vibes.diy.res-error";
|
|
797
887
|
error: {
|
|
798
888
|
message: string;
|
|
799
|
-
code: "
|
|
800
|
-
};
|
|
801
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
802
|
-
type: "vibes-diy.cli.claim-handle";
|
|
803
|
-
apiUrl: string;
|
|
804
|
-
ownerHandle?: string | undefined;
|
|
805
|
-
noDefault?: boolean | undefined;
|
|
806
|
-
}, {
|
|
807
|
-
type: "vibes-diy.cli.res-claim-handle";
|
|
808
|
-
op: "claim" | "suggest";
|
|
809
|
-
ownerHandle?: string | undefined;
|
|
810
|
-
defaultHandleSet?: boolean | undefined;
|
|
811
|
-
defaultSkipped?: boolean | undefined;
|
|
812
|
-
suggestions: string[];
|
|
813
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
814
|
-
type: "vibes-diy.cli.image";
|
|
815
|
-
apiUrl: string;
|
|
816
|
-
prompt: string;
|
|
817
|
-
ownerHandle: string;
|
|
818
|
-
photo: string;
|
|
819
|
-
vibe: string;
|
|
820
|
-
db: string;
|
|
821
|
-
doc: string;
|
|
822
|
-
out: string;
|
|
823
|
-
json: boolean;
|
|
824
|
-
}, {
|
|
825
|
-
type: "vibes-diy.cli.res-image";
|
|
826
|
-
path: string;
|
|
827
|
-
receipt: {
|
|
828
|
-
ok: true;
|
|
829
|
-
picture: {
|
|
830
|
-
url: string;
|
|
831
|
-
mimeType: string;
|
|
832
|
-
name: string;
|
|
833
|
-
size: number;
|
|
834
|
-
ownerHandle: string;
|
|
835
|
-
appSlug: string;
|
|
836
|
-
dbName: string;
|
|
837
|
-
docId: string;
|
|
838
|
-
};
|
|
839
|
-
link?: string | undefined;
|
|
840
|
-
made: {
|
|
841
|
-
prompt: string;
|
|
842
|
-
model: string;
|
|
843
|
-
};
|
|
889
|
+
code: "max-app-slugs-reached";
|
|
844
890
|
};
|
|
845
|
-
}
|
|
846
|
-
type: "vibes-diy.cli.
|
|
847
|
-
file: string;
|
|
848
|
-
appSlug: string;
|
|
849
|
-
ownerHandle: string;
|
|
850
|
-
apiUrl: string;
|
|
851
|
-
mimeType: string;
|
|
852
|
-
verifyFetch: boolean;
|
|
853
|
-
}, {
|
|
854
|
-
type: "vibes-diy.cli.res-put-asset";
|
|
855
|
-
cid: string;
|
|
856
|
-
getURL: string;
|
|
857
|
-
size: number;
|
|
858
|
-
uploadId: string;
|
|
859
|
-
verified?: boolean | undefined;
|
|
860
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
861
|
-
type: "vibes-diy.cli.app-chats";
|
|
891
|
+
} | {
|
|
892
|
+
type: "vibes-diy.cli.res-generate";
|
|
862
893
|
appSlug: string;
|
|
863
894
|
ownerHandle: string;
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
appSlug: string;
|
|
871
|
-
ownerHandle: string;
|
|
872
|
-
created: string;
|
|
873
|
-
userHandle?: string | undefined;
|
|
874
|
-
}[];
|
|
875
|
-
} | {
|
|
876
|
-
type: "vibes-diy.cli.res-app-chats-detail";
|
|
877
|
-
chatId: string;
|
|
878
|
-
ownerHandle?: string | undefined;
|
|
879
|
-
appSlug?: string | undefined;
|
|
880
|
-
output: string;
|
|
895
|
+
url: string;
|
|
896
|
+
directory: string;
|
|
897
|
+
release?: "not-visible" | "published" | "version-locked" | undefined;
|
|
898
|
+
turns?: number | undefined;
|
|
899
|
+
publish?: "kept-private-no-access-fn" | "private" | "published" | undefined;
|
|
900
|
+
posture?: "gated" | "open" | "private" | undefined;
|
|
881
901
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
882
902
|
type: "vibes-diy.cli.codegen-log";
|
|
883
903
|
appSlug: string;
|
|
@@ -989,31 +1009,31 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
989
1009
|
type: "vibes.diy.res-error";
|
|
990
1010
|
error: {
|
|
991
1011
|
message: string;
|
|
992
|
-
code: "
|
|
1012
|
+
code: "from-not-owned";
|
|
993
1013
|
};
|
|
994
1014
|
} | {
|
|
995
1015
|
type: "vibes.diy.res-error";
|
|
996
1016
|
error: {
|
|
997
1017
|
message: string;
|
|
998
|
-
code: "
|
|
1018
|
+
code: "from-carry-failed";
|
|
999
1019
|
};
|
|
1000
1020
|
} | {
|
|
1001
1021
|
type: "vibes.diy.res-error";
|
|
1002
1022
|
error: {
|
|
1003
1023
|
message: string;
|
|
1004
|
-
code: "
|
|
1024
|
+
code: "auto-enhance-off";
|
|
1005
1025
|
};
|
|
1006
1026
|
} | {
|
|
1007
1027
|
type: "vibes.diy.res-error";
|
|
1008
1028
|
error: {
|
|
1009
1029
|
message: string;
|
|
1010
|
-
code: "
|
|
1030
|
+
code: "handle-required";
|
|
1011
1031
|
};
|
|
1012
1032
|
} | {
|
|
1013
1033
|
type: "vibes.diy.res-error";
|
|
1014
1034
|
error: {
|
|
1015
1035
|
message: string;
|
|
1016
|
-
code: "
|
|
1036
|
+
code: "max-app-slugs-reached";
|
|
1017
1037
|
};
|
|
1018
1038
|
} | {
|
|
1019
1039
|
type: "vibes-diy.cli.res-edit";
|
|
@@ -1023,24 +1043,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1023
1043
|
directory: string;
|
|
1024
1044
|
restyled?: boolean | undefined;
|
|
1025
1045
|
fsId?: string | undefined;
|
|
1026
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1027
|
-
type: "vibes-diy.cli.list";
|
|
1028
|
-
apiUrl: string;
|
|
1029
|
-
}, {
|
|
1030
|
-
type: "vibes-diy.cli.res-list";
|
|
1031
|
-
items: {
|
|
1032
|
-
ownerHandle: string;
|
|
1033
|
-
appSlug: string;
|
|
1034
|
-
updated: string;
|
|
1035
|
-
title?: string | undefined;
|
|
1036
|
-
icon?: {
|
|
1037
|
-
cid: string;
|
|
1038
|
-
mime: string;
|
|
1039
|
-
} | undefined;
|
|
1040
|
-
pinnedAt?: string | undefined;
|
|
1041
|
-
neverPublished?: boolean | undefined;
|
|
1042
|
-
unpublishedAt?: string | undefined;
|
|
1043
|
-
}[];
|
|
1044
1046
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1045
1047
|
type: "vibes-diy.cli.doctor";
|
|
1046
1048
|
apiUrl: string;
|
|
@@ -1067,6 +1069,16 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1067
1069
|
detail: string;
|
|
1068
1070
|
ms?: number | undefined;
|
|
1069
1071
|
} | undefined;
|
|
1072
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1073
|
+
type: "vibes-diy.cli.whoami";
|
|
1074
|
+
apiUrl: string;
|
|
1075
|
+
}, {
|
|
1076
|
+
type: "vibes-diy.cli.res-whoami";
|
|
1077
|
+
authenticated: boolean;
|
|
1078
|
+
userId?: string | undefined;
|
|
1079
|
+
defaultHandle?: string | undefined;
|
|
1080
|
+
handles: string[];
|
|
1081
|
+
detail?: string | undefined;
|
|
1070
1082
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1071
1083
|
type: "vibes-diy.cli.pull";
|
|
1072
1084
|
appSlug: string;
|
|
@@ -1720,14 +1732,24 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1720
1732
|
type: "vibes-diy.cli.res-phone-link-classify";
|
|
1721
1733
|
reaction?: string | undefined;
|
|
1722
1734
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1723
|
-
type: "
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1735
|
+
type: "core-cli.device-id-register";
|
|
1736
|
+
commonName: string;
|
|
1737
|
+
organization: string;
|
|
1738
|
+
locality: string;
|
|
1739
|
+
state: string;
|
|
1740
|
+
country: string;
|
|
1741
|
+
caUrl: string;
|
|
1742
|
+
port: string;
|
|
1743
|
+
timeout: string;
|
|
1744
|
+
forceRenew: boolean;
|
|
1745
|
+
cert?: string | undefined;
|
|
1746
|
+
noBrowser?: boolean | undefined;
|
|
1747
|
+
apiUrl?: string | undefined;
|
|
1748
|
+
expectHandle?: string | undefined;
|
|
1749
|
+
expectUser?: string | undefined;
|
|
1728
1750
|
}, {
|
|
1729
|
-
type: "
|
|
1730
|
-
|
|
1751
|
+
type: "core-cli.res-device-id-register";
|
|
1752
|
+
output: string;
|
|
1731
1753
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1732
1754
|
type: "vibes-diy.cli.db.get";
|
|
1733
1755
|
apiUrl: string;
|
|
@@ -1743,64 +1765,42 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1743
1765
|
[x: string]: unknown;
|
|
1744
1766
|
};
|
|
1745
1767
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1746
|
-
type: "vibes-diy.cli.db.
|
|
1768
|
+
type: "vibes-diy.cli.db.del";
|
|
1747
1769
|
apiUrl: string;
|
|
1748
1770
|
appSlug: string;
|
|
1749
1771
|
ownerHandle: string;
|
|
1750
1772
|
dbName: string;
|
|
1751
|
-
docJson: string;
|
|
1752
1773
|
docId: string;
|
|
1753
1774
|
admin: boolean;
|
|
1754
1775
|
actingHandle: string;
|
|
1755
|
-
files?: string[] | undefined;
|
|
1756
1776
|
}, {
|
|
1757
|
-
type: "vibes-diy.cli.db.
|
|
1777
|
+
type: "vibes-diy.cli.db.del-res";
|
|
1758
1778
|
id: string;
|
|
1759
1779
|
ok: true;
|
|
1760
|
-
files?: {
|
|
1761
|
-
key: string;
|
|
1762
|
-
status: "unchanged" | "uploaded";
|
|
1763
|
-
uploadId: string;
|
|
1764
|
-
}[] | undefined;
|
|
1765
1780
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1766
|
-
type: "vibes-diy.cli.db.
|
|
1781
|
+
type: "vibes-diy.cli.db.query";
|
|
1767
1782
|
apiUrl: string;
|
|
1768
1783
|
appSlug: string;
|
|
1769
1784
|
ownerHandle: string;
|
|
1770
1785
|
dbName: string;
|
|
1771
|
-
|
|
1786
|
+
field: string;
|
|
1787
|
+
key: string;
|
|
1788
|
+
prefix: string;
|
|
1789
|
+
range: string;
|
|
1790
|
+
limit: number;
|
|
1791
|
+
descending: boolean;
|
|
1772
1792
|
admin: boolean;
|
|
1773
1793
|
actingHandle: string;
|
|
1774
1794
|
}, {
|
|
1775
|
-
type: "vibes-diy.cli.db.
|
|
1776
|
-
|
|
1777
|
-
|
|
1795
|
+
type: "vibes-diy.cli.db.query-res";
|
|
1796
|
+
docs: {
|
|
1797
|
+
[x: string]: unknown;
|
|
1798
|
+
}[];
|
|
1778
1799
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1779
1800
|
type: "vibes-diy.cli.db.subscribe";
|
|
1780
1801
|
apiUrl: string;
|
|
1781
1802
|
appSlug: string;
|
|
1782
1803
|
ownerHandle: string;
|
|
1783
1804
|
dbName: string;
|
|
1784
|
-
}, never>
|
|
1785
|
-
type: "vibes-diy.cli.db.seed";
|
|
1786
|
-
action: "add" | "remove";
|
|
1787
|
-
apiUrl: string;
|
|
1788
|
-
appSlug: string;
|
|
1789
|
-
ownerHandle: string;
|
|
1790
|
-
}, {
|
|
1791
|
-
type: "vibes-diy.cli.db.seed-res";
|
|
1792
|
-
action: "add" | "remove";
|
|
1793
|
-
appSlug: string;
|
|
1794
|
-
ownerHandle: string;
|
|
1795
|
-
seedFile: "absent" | "invalid" | "present" | "unknown";
|
|
1796
|
-
changed: number;
|
|
1797
|
-
skipped: number;
|
|
1798
|
-
failed: number;
|
|
1799
|
-
perDb: {
|
|
1800
|
-
dbName: string;
|
|
1801
|
-
changed: number;
|
|
1802
|
-
skipped: number;
|
|
1803
|
-
failed: number;
|
|
1804
|
-
}[];
|
|
1805
|
-
}>)[];
|
|
1805
|
+
}, never>)[];
|
|
1806
1806
|
export declare function cmdTsEvento(): import("@adviser/cement").Evento;
|