vibes-diy 14.3.369 → 14.3.371
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 +276 -276
- package/cli/cmds/run/backend-worker/run-backend-entry.js +1988 -441
- package/cli/cmds/run/bundle-inputs.json +14 -0
- package/cli/cmds/run/run-bundle.js +6894 -5257
- package/package.json +8 -8
package/cli/cmd-evento.d.ts
CHANGED
|
@@ -21,91 +21,174 @@ 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: "
|
|
24
|
+
type: "vibes-diy.cli.variety";
|
|
25
25
|
}, {
|
|
26
|
-
type: "
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
type: "vibes-diy.cli.res-variety-list";
|
|
27
|
+
grammar: string;
|
|
28
|
+
flourishCount: number;
|
|
29
|
+
archetypes: {
|
|
30
|
+
id: string;
|
|
31
|
+
guidance: string;
|
|
32
|
+
}[];
|
|
33
|
+
flourishes: {
|
|
34
|
+
id: string;
|
|
35
|
+
guidance: string;
|
|
30
36
|
}[];
|
|
31
|
-
} | {
|
|
32
|
-
type: "use-vibes.cli.res-theme-content";
|
|
33
|
-
slug: string;
|
|
34
|
-
content: string;
|
|
35
37
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
36
|
-
type: "vibes-diy.cli.
|
|
38
|
+
type: "vibes-diy.cli.put-asset";
|
|
39
|
+
file: string;
|
|
40
|
+
appSlug: string;
|
|
41
|
+
ownerHandle: string;
|
|
37
42
|
apiUrl: string;
|
|
43
|
+
mimeType: string;
|
|
44
|
+
verifyFetch: boolean;
|
|
45
|
+
}, {
|
|
46
|
+
type: "vibes-diy.cli.res-put-asset";
|
|
47
|
+
cid: string;
|
|
48
|
+
getURL: string;
|
|
49
|
+
size: number;
|
|
50
|
+
uploadId: string;
|
|
51
|
+
verified?: boolean | undefined;
|
|
52
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
53
|
+
type: "vibes-diy.cli.generate";
|
|
54
|
+
prompt: string;
|
|
38
55
|
appSlug: string;
|
|
39
56
|
ownerHandle: string;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
57
|
+
instantJoin?: boolean | undefined;
|
|
58
|
+
noAccessFn?: boolean | undefined;
|
|
59
|
+
privateMode?: boolean | undefined;
|
|
60
|
+
verbose: boolean;
|
|
61
|
+
apiUrl: string;
|
|
62
|
+
focusPath?: string | undefined;
|
|
63
|
+
model?: string | undefined;
|
|
64
|
+
builderModel?: string | undefined;
|
|
65
|
+
apiKey?: string | undefined;
|
|
66
|
+
variety?: string | undefined;
|
|
67
|
+
record?: string | undefined;
|
|
68
|
+
style?: string | undefined;
|
|
69
|
+
fastPass?: boolean | undefined;
|
|
44
70
|
}, {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
71
|
+
appSlug: string;
|
|
72
|
+
ownerHandle: string;
|
|
73
|
+
mode: "dev" | "production";
|
|
74
|
+
fsId: string;
|
|
75
|
+
type: "vibes.diy.res-ensure-app-slug";
|
|
76
|
+
env: Record<string, string>;
|
|
77
|
+
fileSystem: {
|
|
78
|
+
fileName: string;
|
|
79
|
+
mimeType: string;
|
|
80
|
+
assetId: string;
|
|
81
|
+
assetURI: string;
|
|
82
|
+
transform?: {
|
|
83
|
+
type: "jsx-to-js";
|
|
84
|
+
transformedAssetId: string;
|
|
85
|
+
} | {
|
|
86
|
+
type: "imports";
|
|
87
|
+
importMapAssetId: string;
|
|
88
|
+
} | {
|
|
89
|
+
type: "import-map";
|
|
90
|
+
fromAssetIds: string[];
|
|
91
|
+
} | {
|
|
92
|
+
type: "transformed";
|
|
93
|
+
action: "jsx-to-js";
|
|
94
|
+
transformedAssetId: string;
|
|
95
|
+
} | {
|
|
96
|
+
type: "tailwind-css";
|
|
97
|
+
} | undefined;
|
|
98
|
+
entryPoint?: boolean | undefined;
|
|
99
|
+
size: number;
|
|
100
|
+
kind?: "asset" | undefined;
|
|
101
|
+
uploadId?: string | undefined;
|
|
102
|
+
}[];
|
|
103
|
+
autoEnhanceOff?: true | undefined;
|
|
104
|
+
appCreated?: true | undefined;
|
|
105
|
+
} | {
|
|
106
|
+
type: "vibes.diy.res-error";
|
|
107
|
+
error: {
|
|
108
|
+
message: string;
|
|
109
|
+
code: "require-login";
|
|
110
|
+
};
|
|
111
|
+
} | {
|
|
112
|
+
type: "vibes.diy.res-error";
|
|
113
|
+
error: {
|
|
114
|
+
message: string;
|
|
115
|
+
code: "user-slug-invalid";
|
|
48
116
|
};
|
|
117
|
+
} | {
|
|
118
|
+
type: "vibes.diy.res-error";
|
|
119
|
+
error: {
|
|
120
|
+
message: string;
|
|
121
|
+
code: "app-slug-invalid";
|
|
122
|
+
};
|
|
123
|
+
} | {
|
|
124
|
+
type: "vibes.diy.res-error";
|
|
125
|
+
error: {
|
|
126
|
+
message: string;
|
|
127
|
+
code: "max-app-slugs-reached";
|
|
128
|
+
};
|
|
129
|
+
} | {
|
|
130
|
+
type: "vibes.diy.res-error";
|
|
131
|
+
error: {
|
|
132
|
+
message: string;
|
|
133
|
+
code: "handle-required";
|
|
134
|
+
};
|
|
135
|
+
} | {
|
|
136
|
+
type: "vibes.diy.res-error";
|
|
137
|
+
error: {
|
|
138
|
+
message: string;
|
|
139
|
+
code: "from-not-owned";
|
|
140
|
+
};
|
|
141
|
+
} | {
|
|
142
|
+
type: "vibes.diy.res-error";
|
|
143
|
+
error: {
|
|
144
|
+
message: string;
|
|
145
|
+
code: "from-carry-failed";
|
|
146
|
+
};
|
|
147
|
+
} | {
|
|
148
|
+
type: "vibes.diy.res-error";
|
|
149
|
+
error: {
|
|
150
|
+
message: string;
|
|
151
|
+
code: "auto-enhance-off";
|
|
152
|
+
};
|
|
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;
|
|
49
163
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
50
|
-
type: "vibes-diy.cli.db.
|
|
164
|
+
type: "vibes-diy.cli.db.query";
|
|
51
165
|
apiUrl: string;
|
|
52
166
|
appSlug: string;
|
|
53
167
|
ownerHandle: string;
|
|
54
168
|
dbName: string;
|
|
55
|
-
|
|
169
|
+
field: string;
|
|
170
|
+
key: string;
|
|
171
|
+
prefix: string;
|
|
172
|
+
range: string;
|
|
173
|
+
limit: number;
|
|
174
|
+
descending: boolean;
|
|
56
175
|
admin: boolean;
|
|
57
176
|
actingHandle: string;
|
|
58
177
|
}, {
|
|
59
|
-
type: "vibes-diy.cli.db.
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
63
|
-
type: "vibes-diy.cli.db.seed";
|
|
64
|
-
action: "add" | "remove";
|
|
65
|
-
apiUrl: string;
|
|
66
|
-
appSlug: string;
|
|
67
|
-
ownerHandle: string;
|
|
68
|
-
}, {
|
|
69
|
-
type: "vibes-diy.cli.db.seed-res";
|
|
70
|
-
action: "add" | "remove";
|
|
71
|
-
appSlug: string;
|
|
72
|
-
ownerHandle: string;
|
|
73
|
-
seedFile: "absent" | "invalid" | "present" | "unknown";
|
|
74
|
-
changed: number;
|
|
75
|
-
skipped: number;
|
|
76
|
-
failed: number;
|
|
77
|
-
perDb: {
|
|
78
|
-
dbName: string;
|
|
79
|
-
changed: number;
|
|
80
|
-
skipped: number;
|
|
81
|
-
failed: number;
|
|
178
|
+
type: "vibes-diy.cli.db.query-res";
|
|
179
|
+
docs: {
|
|
180
|
+
[x: string]: unknown;
|
|
82
181
|
}[];
|
|
83
182
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
84
|
-
type: "vibes-diy.cli.
|
|
183
|
+
type: "vibes-diy.cli.whoami";
|
|
85
184
|
apiUrl: string;
|
|
86
185
|
}, {
|
|
87
|
-
type: "vibes-diy.cli.res-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
deviceOk: boolean;
|
|
94
|
-
fingerprint?: string | undefined;
|
|
95
|
-
certExpires?: string | undefined;
|
|
96
|
-
apiUrl: string;
|
|
97
|
-
wsUrl: string;
|
|
98
|
-
proxy: string;
|
|
99
|
-
handshake: {
|
|
100
|
-
ok: boolean;
|
|
101
|
-
detail: string;
|
|
102
|
-
ms?: number | undefined;
|
|
103
|
-
};
|
|
104
|
-
auth?: {
|
|
105
|
-
ok: boolean;
|
|
106
|
-
detail: string;
|
|
107
|
-
ms?: number | undefined;
|
|
108
|
-
} | undefined;
|
|
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;
|
|
109
192
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
110
193
|
type: "vibes-diy.cli.app-status";
|
|
111
194
|
appSlug: string;
|
|
@@ -247,53 +330,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
247
330
|
type: "vibes.diy.res-ensure-user-settings";
|
|
248
331
|
userId: string;
|
|
249
332
|
settings: ({
|
|
250
|
-
type: "notifications";
|
|
251
|
-
buildComplete?: boolean | undefined;
|
|
252
|
-
buildFailed?: boolean | undefined;
|
|
253
|
-
vibePublished?: boolean | undefined;
|
|
254
|
-
commentPosted?: boolean | undefined;
|
|
255
|
-
requestApproved?: boolean | undefined;
|
|
256
|
-
requestRevoked?: boolean | undefined;
|
|
257
|
-
vibeRemixed?: boolean | undefined;
|
|
258
|
-
dmReceived?: boolean | undefined;
|
|
259
|
-
memberJoined?: boolean | undefined;
|
|
260
|
-
accessRequested?: boolean | undefined;
|
|
261
|
-
emailDigest?: boolean | undefined;
|
|
262
|
-
retentionEmail?: boolean | undefined;
|
|
263
|
-
followRequest?: boolean | undefined;
|
|
264
|
-
followerAdded?: boolean | undefined;
|
|
265
|
-
followApproved?: boolean | undefined;
|
|
266
|
-
appMessage?: boolean | undefined;
|
|
267
|
-
connectionExpiring?: boolean | undefined;
|
|
268
|
-
assetBlocked?: boolean | undefined;
|
|
269
|
-
assetCheckFailed?: boolean | undefined;
|
|
270
|
-
checkoutUnfinished?: boolean | undefined;
|
|
271
|
-
safetyAlert?: boolean | undefined;
|
|
272
|
-
reminder?: boolean | undefined;
|
|
273
|
-
emailInstant?: boolean | undefined;
|
|
274
|
-
mutes?: {
|
|
275
|
-
vibes?: string[] | undefined;
|
|
276
|
-
handles?: string[] | undefined;
|
|
277
|
-
} | undefined;
|
|
278
|
-
vibeTypes?: {
|
|
279
|
-
vibe: string;
|
|
280
|
-
buildComplete?: boolean | undefined;
|
|
281
|
-
buildFailed?: boolean | undefined;
|
|
282
|
-
vibePublished?: boolean | undefined;
|
|
283
|
-
commentPosted?: boolean | undefined;
|
|
284
|
-
requestApproved?: boolean | undefined;
|
|
285
|
-
requestRevoked?: boolean | undefined;
|
|
286
|
-
vibeRemixed?: boolean | undefined;
|
|
287
|
-
memberJoined?: boolean | undefined;
|
|
288
|
-
accessRequested?: boolean | undefined;
|
|
289
|
-
appMessage?: boolean | undefined;
|
|
290
|
-
assetBlocked?: boolean | undefined;
|
|
291
|
-
assetCheckFailed?: boolean | undefined;
|
|
292
|
-
}[] | undefined;
|
|
293
|
-
agent?: {
|
|
294
|
-
hiddenVibes?: string[] | undefined;
|
|
295
|
-
} | undefined;
|
|
296
|
-
} | {
|
|
297
333
|
type: "sharing";
|
|
298
334
|
grants: {
|
|
299
335
|
grant: "allow" | "deny";
|
|
@@ -403,14 +439,61 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
403
439
|
} | undefined;
|
|
404
440
|
apiKey?: string | undefined;
|
|
405
441
|
} | undefined;
|
|
406
|
-
} | {
|
|
407
|
-
type: "defaultHandle";
|
|
408
|
-
ownerHandle: string;
|
|
409
|
-
} | {
|
|
410
|
-
type: "profile";
|
|
411
|
-
avatarCid?: string | undefined;
|
|
412
|
-
displayName?: string | undefined;
|
|
413
|
-
codeMode?: boolean | undefined;
|
|
442
|
+
} | {
|
|
443
|
+
type: "defaultHandle";
|
|
444
|
+
ownerHandle: string;
|
|
445
|
+
} | {
|
|
446
|
+
type: "profile";
|
|
447
|
+
avatarCid?: string | undefined;
|
|
448
|
+
displayName?: string | undefined;
|
|
449
|
+
codeMode?: boolean | undefined;
|
|
450
|
+
} | {
|
|
451
|
+
type: "notifications";
|
|
452
|
+
buildComplete?: boolean | undefined;
|
|
453
|
+
buildFailed?: boolean | undefined;
|
|
454
|
+
vibePublished?: boolean | undefined;
|
|
455
|
+
commentPosted?: boolean | undefined;
|
|
456
|
+
requestApproved?: boolean | undefined;
|
|
457
|
+
requestRevoked?: boolean | undefined;
|
|
458
|
+
vibeRemixed?: boolean | undefined;
|
|
459
|
+
dmReceived?: boolean | undefined;
|
|
460
|
+
memberJoined?: boolean | undefined;
|
|
461
|
+
accessRequested?: boolean | undefined;
|
|
462
|
+
emailDigest?: boolean | undefined;
|
|
463
|
+
retentionEmail?: boolean | undefined;
|
|
464
|
+
followRequest?: boolean | undefined;
|
|
465
|
+
followerAdded?: boolean | undefined;
|
|
466
|
+
followApproved?: boolean | undefined;
|
|
467
|
+
appMessage?: boolean | undefined;
|
|
468
|
+
connectionExpiring?: boolean | undefined;
|
|
469
|
+
assetBlocked?: boolean | undefined;
|
|
470
|
+
assetCheckFailed?: boolean | undefined;
|
|
471
|
+
checkoutUnfinished?: boolean | undefined;
|
|
472
|
+
safetyAlert?: boolean | undefined;
|
|
473
|
+
reminder?: boolean | undefined;
|
|
474
|
+
emailInstant?: boolean | undefined;
|
|
475
|
+
mutes?: {
|
|
476
|
+
vibes?: string[] | undefined;
|
|
477
|
+
handles?: string[] | undefined;
|
|
478
|
+
} | undefined;
|
|
479
|
+
vibeTypes?: {
|
|
480
|
+
vibe: string;
|
|
481
|
+
buildComplete?: boolean | undefined;
|
|
482
|
+
buildFailed?: boolean | undefined;
|
|
483
|
+
vibePublished?: boolean | undefined;
|
|
484
|
+
commentPosted?: boolean | undefined;
|
|
485
|
+
requestApproved?: boolean | undefined;
|
|
486
|
+
requestRevoked?: boolean | undefined;
|
|
487
|
+
vibeRemixed?: boolean | undefined;
|
|
488
|
+
memberJoined?: boolean | undefined;
|
|
489
|
+
accessRequested?: boolean | undefined;
|
|
490
|
+
appMessage?: boolean | undefined;
|
|
491
|
+
assetBlocked?: boolean | undefined;
|
|
492
|
+
assetCheckFailed?: boolean | undefined;
|
|
493
|
+
}[] | undefined;
|
|
494
|
+
agent?: {
|
|
495
|
+
hiddenVibes?: string[] | undefined;
|
|
496
|
+
} | undefined;
|
|
414
497
|
} | {
|
|
415
498
|
type: "egressStatus";
|
|
416
499
|
status: "blessed" | "blocked";
|
|
@@ -555,19 +638,17 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
555
638
|
name: string;
|
|
556
639
|
content: string;
|
|
557
640
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
558
|
-
type: "vibes
|
|
641
|
+
type: "use-vibes.cli.themes";
|
|
559
642
|
}, {
|
|
560
|
-
type: "vibes
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
id: string;
|
|
565
|
-
guidance: string;
|
|
566
|
-
}[];
|
|
567
|
-
flourishes: {
|
|
568
|
-
id: string;
|
|
569
|
-
guidance: string;
|
|
643
|
+
type: "use-vibes.cli.res-themes-list";
|
|
644
|
+
themes: {
|
|
645
|
+
slug: string;
|
|
646
|
+
name: string;
|
|
570
647
|
}[];
|
|
648
|
+
} | {
|
|
649
|
+
type: "use-vibes.cli.res-theme-content";
|
|
650
|
+
slug: string;
|
|
651
|
+
content: string;
|
|
571
652
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
572
653
|
type: "vibes-diy.cli.system";
|
|
573
654
|
}, {
|
|
@@ -755,132 +836,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
755
836
|
model: string;
|
|
756
837
|
};
|
|
757
838
|
};
|
|
758
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
759
|
-
type: "vibes-diy.cli.put-asset";
|
|
760
|
-
file: string;
|
|
761
|
-
appSlug: string;
|
|
762
|
-
ownerHandle: string;
|
|
763
|
-
apiUrl: string;
|
|
764
|
-
mimeType: string;
|
|
765
|
-
verifyFetch: boolean;
|
|
766
|
-
}, {
|
|
767
|
-
type: "vibes-diy.cli.res-put-asset";
|
|
768
|
-
cid: string;
|
|
769
|
-
getURL: string;
|
|
770
|
-
size: number;
|
|
771
|
-
uploadId: string;
|
|
772
|
-
verified?: boolean | undefined;
|
|
773
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
774
|
-
type: "vibes-diy.cli.generate";
|
|
775
|
-
prompt: string;
|
|
776
|
-
appSlug: string;
|
|
777
|
-
ownerHandle: string;
|
|
778
|
-
instantJoin?: boolean | undefined;
|
|
779
|
-
noAccessFn?: boolean | undefined;
|
|
780
|
-
privateMode?: boolean | undefined;
|
|
781
|
-
verbose: boolean;
|
|
782
|
-
apiUrl: string;
|
|
783
|
-
focusPath?: string | undefined;
|
|
784
|
-
model?: string | undefined;
|
|
785
|
-
builderModel?: string | undefined;
|
|
786
|
-
apiKey?: string | undefined;
|
|
787
|
-
variety?: string | undefined;
|
|
788
|
-
record?: string | undefined;
|
|
789
|
-
style?: string | undefined;
|
|
790
|
-
fastPass?: boolean | undefined;
|
|
791
|
-
}, {
|
|
792
|
-
appSlug: string;
|
|
793
|
-
ownerHandle: string;
|
|
794
|
-
mode: "dev" | "production";
|
|
795
|
-
fsId: string;
|
|
796
|
-
type: "vibes.diy.res-ensure-app-slug";
|
|
797
|
-
env: Record<string, string>;
|
|
798
|
-
fileSystem: {
|
|
799
|
-
fileName: string;
|
|
800
|
-
mimeType: string;
|
|
801
|
-
assetId: string;
|
|
802
|
-
assetURI: string;
|
|
803
|
-
transform?: {
|
|
804
|
-
type: "jsx-to-js";
|
|
805
|
-
transformedAssetId: string;
|
|
806
|
-
} | {
|
|
807
|
-
type: "imports";
|
|
808
|
-
importMapAssetId: string;
|
|
809
|
-
} | {
|
|
810
|
-
type: "import-map";
|
|
811
|
-
fromAssetIds: string[];
|
|
812
|
-
} | {
|
|
813
|
-
type: "transformed";
|
|
814
|
-
action: "jsx-to-js";
|
|
815
|
-
transformedAssetId: string;
|
|
816
|
-
} | {
|
|
817
|
-
type: "tailwind-css";
|
|
818
|
-
} | undefined;
|
|
819
|
-
entryPoint?: boolean | undefined;
|
|
820
|
-
size: number;
|
|
821
|
-
kind?: "asset" | undefined;
|
|
822
|
-
uploadId?: string | undefined;
|
|
823
|
-
}[];
|
|
824
|
-
autoEnhanceOff?: true | undefined;
|
|
825
|
-
appCreated?: true | undefined;
|
|
826
|
-
} | {
|
|
827
|
-
type: "vibes.diy.res-error";
|
|
828
|
-
error: {
|
|
829
|
-
message: string;
|
|
830
|
-
code: "require-login";
|
|
831
|
-
};
|
|
832
|
-
} | {
|
|
833
|
-
type: "vibes.diy.res-error";
|
|
834
|
-
error: {
|
|
835
|
-
message: string;
|
|
836
|
-
code: "user-slug-invalid";
|
|
837
|
-
};
|
|
838
|
-
} | {
|
|
839
|
-
type: "vibes.diy.res-error";
|
|
840
|
-
error: {
|
|
841
|
-
message: string;
|
|
842
|
-
code: "app-slug-invalid";
|
|
843
|
-
};
|
|
844
|
-
} | {
|
|
845
|
-
type: "vibes.diy.res-error";
|
|
846
|
-
error: {
|
|
847
|
-
message: string;
|
|
848
|
-
code: "max-app-slugs-reached";
|
|
849
|
-
};
|
|
850
|
-
} | {
|
|
851
|
-
type: "vibes.diy.res-error";
|
|
852
|
-
error: {
|
|
853
|
-
message: string;
|
|
854
|
-
code: "handle-required";
|
|
855
|
-
};
|
|
856
|
-
} | {
|
|
857
|
-
type: "vibes.diy.res-error";
|
|
858
|
-
error: {
|
|
859
|
-
message: string;
|
|
860
|
-
code: "from-not-owned";
|
|
861
|
-
};
|
|
862
|
-
} | {
|
|
863
|
-
type: "vibes.diy.res-error";
|
|
864
|
-
error: {
|
|
865
|
-
message: string;
|
|
866
|
-
code: "from-carry-failed";
|
|
867
|
-
};
|
|
868
|
-
} | {
|
|
869
|
-
type: "vibes.diy.res-error";
|
|
870
|
-
error: {
|
|
871
|
-
message: string;
|
|
872
|
-
code: "auto-enhance-off";
|
|
873
|
-
};
|
|
874
|
-
} | {
|
|
875
|
-
type: "vibes-diy.cli.res-generate";
|
|
876
|
-
appSlug: string;
|
|
877
|
-
ownerHandle: string;
|
|
878
|
-
url: string;
|
|
879
|
-
directory: string;
|
|
880
|
-
release?: "not-visible" | "published" | "version-locked" | undefined;
|
|
881
|
-
turns?: number | undefined;
|
|
882
|
-
publish?: "kept-private-no-access-fn" | "private" | "published" | undefined;
|
|
883
|
-
posture?: "gated" | "open" | "private" | undefined;
|
|
884
839
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
885
840
|
type: "vibes-diy.cli.app-chats";
|
|
886
841
|
appSlug: string;
|
|
@@ -1061,15 +1016,31 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1061
1016
|
unpublishedAt?: string | undefined;
|
|
1062
1017
|
}[];
|
|
1063
1018
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1064
|
-
type: "vibes-diy.cli.
|
|
1019
|
+
type: "vibes-diy.cli.doctor";
|
|
1065
1020
|
apiUrl: string;
|
|
1066
1021
|
}, {
|
|
1067
|
-
type: "vibes-diy.cli.res-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1022
|
+
type: "vibes-diy.cli.res-doctor";
|
|
1023
|
+
cliVersion: string;
|
|
1024
|
+
node: string;
|
|
1025
|
+
keybagPath: string;
|
|
1026
|
+
keybagInstance?: string | undefined;
|
|
1027
|
+
device: string;
|
|
1028
|
+
deviceOk: boolean;
|
|
1029
|
+
fingerprint?: string | undefined;
|
|
1030
|
+
certExpires?: string | undefined;
|
|
1031
|
+
apiUrl: string;
|
|
1032
|
+
wsUrl: string;
|
|
1033
|
+
proxy: string;
|
|
1034
|
+
handshake: {
|
|
1035
|
+
ok: boolean;
|
|
1036
|
+
detail: string;
|
|
1037
|
+
ms?: number | undefined;
|
|
1038
|
+
};
|
|
1039
|
+
auth?: {
|
|
1040
|
+
ok: boolean;
|
|
1041
|
+
detail: string;
|
|
1042
|
+
ms?: number | undefined;
|
|
1043
|
+
} | undefined;
|
|
1073
1044
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1074
1045
|
type: "vibes-diy.cli.pull";
|
|
1075
1046
|
appSlug: string;
|
|
@@ -1628,6 +1599,20 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1628
1599
|
}, {
|
|
1629
1600
|
type: "vibes-diy.cli.db.list-res";
|
|
1630
1601
|
dbNames: string[];
|
|
1602
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1603
|
+
type: "vibes-diy.cli.db.get";
|
|
1604
|
+
apiUrl: string;
|
|
1605
|
+
appSlug: string;
|
|
1606
|
+
ownerHandle: string;
|
|
1607
|
+
dbName: string;
|
|
1608
|
+
docId: string;
|
|
1609
|
+
admin: boolean;
|
|
1610
|
+
actingHandle: string;
|
|
1611
|
+
}, {
|
|
1612
|
+
type: "vibes-diy.cli.db.get-res";
|
|
1613
|
+
doc: {
|
|
1614
|
+
[x: string]: unknown;
|
|
1615
|
+
};
|
|
1631
1616
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1632
1617
|
type: "vibes-diy.cli.db.put";
|
|
1633
1618
|
apiUrl: string;
|
|
@@ -1649,29 +1634,44 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1649
1634
|
uploadId: string;
|
|
1650
1635
|
}[] | undefined;
|
|
1651
1636
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1652
|
-
type: "vibes-diy.cli.db.
|
|
1637
|
+
type: "vibes-diy.cli.db.del";
|
|
1653
1638
|
apiUrl: string;
|
|
1654
1639
|
appSlug: string;
|
|
1655
1640
|
ownerHandle: string;
|
|
1656
1641
|
dbName: string;
|
|
1657
|
-
|
|
1658
|
-
key: string;
|
|
1659
|
-
prefix: string;
|
|
1660
|
-
range: string;
|
|
1661
|
-
limit: number;
|
|
1662
|
-
descending: boolean;
|
|
1642
|
+
docId: string;
|
|
1663
1643
|
admin: boolean;
|
|
1664
1644
|
actingHandle: string;
|
|
1665
1645
|
}, {
|
|
1666
|
-
type: "vibes-diy.cli.db.
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
}[];
|
|
1646
|
+
type: "vibes-diy.cli.db.del-res";
|
|
1647
|
+
id: string;
|
|
1648
|
+
ok: true;
|
|
1670
1649
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1671
1650
|
type: "vibes-diy.cli.db.subscribe";
|
|
1672
1651
|
apiUrl: string;
|
|
1673
1652
|
appSlug: string;
|
|
1674
1653
|
ownerHandle: string;
|
|
1675
1654
|
dbName: string;
|
|
1676
|
-
}, never>)
|
|
1655
|
+
}, never> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1656
|
+
type: "vibes-diy.cli.db.seed";
|
|
1657
|
+
action: "add" | "remove";
|
|
1658
|
+
apiUrl: string;
|
|
1659
|
+
appSlug: string;
|
|
1660
|
+
ownerHandle: string;
|
|
1661
|
+
}, {
|
|
1662
|
+
type: "vibes-diy.cli.db.seed-res";
|
|
1663
|
+
action: "add" | "remove";
|
|
1664
|
+
appSlug: string;
|
|
1665
|
+
ownerHandle: string;
|
|
1666
|
+
seedFile: "absent" | "invalid" | "present" | "unknown";
|
|
1667
|
+
changed: number;
|
|
1668
|
+
skipped: number;
|
|
1669
|
+
failed: number;
|
|
1670
|
+
perDb: {
|
|
1671
|
+
dbName: string;
|
|
1672
|
+
changed: number;
|
|
1673
|
+
skipped: number;
|
|
1674
|
+
failed: number;
|
|
1675
|
+
}[];
|
|
1676
|
+
}>)[];
|
|
1677
1677
|
export declare function cmdTsEvento(): import("@adviser/cement").Evento;
|