vibes-diy 14.3.467 → 14.3.468
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 +349 -349
- package/cli/cmds/run/backend-worker/run-backend-entry.js +5445 -4505
- package/cli/cmds/run/bundle-inputs.json +7 -0
- package/cli/cmds/run/run-bundle.js +14818 -14065
- package/package.json +8 -8
package/cli/cmd-evento.d.ts
CHANGED
|
@@ -2,187 +2,144 @@ 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: "
|
|
5
|
+
type: "core-cli.device-id-register";
|
|
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;
|
|
6
20
|
}, {
|
|
7
|
-
type: "
|
|
8
|
-
|
|
9
|
-
slug: string;
|
|
10
|
-
name: string;
|
|
11
|
-
}[];
|
|
12
|
-
} | {
|
|
13
|
-
type: "use-vibes.cli.res-theme-content";
|
|
14
|
-
slug: string;
|
|
15
|
-
content: string;
|
|
21
|
+
type: "core-cli.res-device-id-register";
|
|
22
|
+
output: string;
|
|
16
23
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
17
|
-
type: "vibes-diy.cli.
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
24
|
+
type: "vibes-diy.cli.system";
|
|
25
|
+
}, {
|
|
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;
|
|
23
34
|
published: boolean;
|
|
24
|
-
|
|
25
|
-
|
|
35
|
+
settingsOnly: boolean;
|
|
36
|
+
apiUrl: string;
|
|
26
37
|
}, {
|
|
27
|
-
type: "vibes-diy.cli.res-
|
|
38
|
+
type: "vibes-diy.cli.res-remix";
|
|
39
|
+
ownerHandle: string;
|
|
28
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;
|
|
29
49
|
ownerHandle: string;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
50
|
+
followMs: number;
|
|
51
|
+
json: boolean;
|
|
52
|
+
chatId?: string | undefined;
|
|
53
|
+
newChat?: boolean | undefined;
|
|
54
|
+
images?: string[] | undefined;
|
|
55
|
+
byText?: boolean | undefined;
|
|
56
|
+
startedBy?: "person" | "wake" | undefined;
|
|
57
|
+
askedBy?: string | undefined;
|
|
58
|
+
}, {
|
|
59
|
+
type: "vibes-diy.cli.res-agent";
|
|
60
|
+
ownerHandle: string;
|
|
61
|
+
chatId: string;
|
|
62
|
+
messages: string[];
|
|
63
|
+
shorts?: string[] | undefined;
|
|
64
|
+
links: string[];
|
|
65
|
+
idle: boolean;
|
|
66
|
+
reactions?: string[] | undefined;
|
|
67
|
+
error?: string | undefined;
|
|
68
|
+
credits?: number | undefined;
|
|
35
69
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
36
|
-
type: "vibes-diy.cli.db.
|
|
70
|
+
type: "vibes-diy.cli.db.get";
|
|
37
71
|
apiUrl: string;
|
|
38
72
|
appSlug: string;
|
|
39
73
|
ownerHandle: string;
|
|
40
74
|
dbName: string;
|
|
41
|
-
|
|
42
|
-
|
|
75
|
+
docId: string;
|
|
76
|
+
admin: boolean;
|
|
77
|
+
actingHandle: string;
|
|
78
|
+
}, {
|
|
79
|
+
type: "vibes-diy.cli.db.get-res";
|
|
80
|
+
doc: {
|
|
81
|
+
[x: string]: unknown;
|
|
82
|
+
};
|
|
83
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
84
|
+
type: "vibes-diy.cli.db.del";
|
|
85
|
+
apiUrl: string;
|
|
43
86
|
appSlug: string;
|
|
44
87
|
ownerHandle: string;
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
files?: boolean | undefined;
|
|
50
|
-
jsonl?: boolean | undefined;
|
|
51
|
-
user?: boolean | undefined;
|
|
52
|
-
promptId?: string | undefined;
|
|
88
|
+
dbName: string;
|
|
89
|
+
docId: string;
|
|
90
|
+
admin: boolean;
|
|
91
|
+
actingHandle: string;
|
|
53
92
|
}, {
|
|
54
|
-
type: "vibes-diy.cli.res
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
type: "vibes-diy.cli.res-codegen-log-list";
|
|
58
|
-
items: {
|
|
59
|
-
chatId: string;
|
|
60
|
-
appSlug: string;
|
|
61
|
-
ownerHandle: string;
|
|
62
|
-
created: string;
|
|
63
|
-
}[];
|
|
64
|
-
} | {
|
|
65
|
-
type: "vibes-diy.cli.res-codegen-log-detail";
|
|
66
|
-
chatId: string;
|
|
67
|
-
ownerHandle: string;
|
|
68
|
-
appSlug: string;
|
|
69
|
-
prompts: {
|
|
70
|
-
prompt: string;
|
|
71
|
-
fsId: string;
|
|
72
|
-
created: string;
|
|
73
|
-
}[];
|
|
93
|
+
type: "vibes-diy.cli.db.del-res";
|
|
94
|
+
id: string;
|
|
95
|
+
ok: true;
|
|
74
96
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
75
|
-
type: "vibes-diy.cli.
|
|
97
|
+
type: "vibes-diy.cli.db.seed";
|
|
98
|
+
action: "add" | "remove";
|
|
99
|
+
apiUrl: string;
|
|
76
100
|
appSlug: string;
|
|
77
|
-
prompt: string;
|
|
78
101
|
ownerHandle: string;
|
|
79
|
-
instantJoin?: boolean | undefined;
|
|
80
|
-
verbose: boolean;
|
|
81
|
-
dir: string;
|
|
82
|
-
apiUrl: string;
|
|
83
|
-
dryRun: boolean;
|
|
84
|
-
transcript: boolean;
|
|
85
|
-
directBuild?: boolean | undefined;
|
|
86
|
-
focusPath?: string | undefined;
|
|
87
|
-
model?: string | undefined;
|
|
88
|
-
builderModel?: string | undefined;
|
|
89
|
-
apiKey?: string | undefined;
|
|
90
102
|
}, {
|
|
103
|
+
type: "vibes-diy.cli.db.seed-res";
|
|
104
|
+
action: "add" | "remove";
|
|
91
105
|
appSlug: string;
|
|
92
106
|
ownerHandle: string;
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
transform?: {
|
|
103
|
-
type: "jsx-to-js";
|
|
104
|
-
transformedAssetId: string;
|
|
105
|
-
} | {
|
|
106
|
-
type: "imports";
|
|
107
|
-
importMapAssetId: string;
|
|
108
|
-
} | {
|
|
109
|
-
type: "import-map";
|
|
110
|
-
fromAssetIds: string[];
|
|
111
|
-
} | {
|
|
112
|
-
type: "transformed";
|
|
113
|
-
action: "jsx-to-js";
|
|
114
|
-
transformedAssetId: string;
|
|
115
|
-
} | {
|
|
116
|
-
type: "tailwind-css";
|
|
117
|
-
} | undefined;
|
|
118
|
-
entryPoint?: boolean | undefined;
|
|
119
|
-
size: number;
|
|
120
|
-
kind?: "asset" | undefined;
|
|
121
|
-
uploadId?: string | undefined;
|
|
107
|
+
seedFile: "absent" | "invalid" | "present" | "unknown";
|
|
108
|
+
changed: number;
|
|
109
|
+
skipped: number;
|
|
110
|
+
failed: number;
|
|
111
|
+
perDb: {
|
|
112
|
+
dbName: string;
|
|
113
|
+
changed: number;
|
|
114
|
+
skipped: number;
|
|
115
|
+
failed: number;
|
|
122
116
|
}[];
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
type: "vibes.diy.res-error";
|
|
144
|
-
error: {
|
|
145
|
-
message: string;
|
|
146
|
-
code: "app-slug-invalid";
|
|
147
|
-
};
|
|
148
|
-
} | {
|
|
149
|
-
type: "vibes.diy.res-error";
|
|
150
|
-
error: {
|
|
151
|
-
message: string;
|
|
152
|
-
code: "max-app-slugs-reached";
|
|
153
|
-
};
|
|
154
|
-
} | {
|
|
155
|
-
type: "vibes.diy.res-error";
|
|
156
|
-
error: {
|
|
157
|
-
message: string;
|
|
158
|
-
code: "handle-required";
|
|
159
|
-
};
|
|
160
|
-
} | {
|
|
161
|
-
type: "vibes.diy.res-error";
|
|
162
|
-
error: {
|
|
163
|
-
message: string;
|
|
164
|
-
code: "from-not-owned";
|
|
165
|
-
};
|
|
166
|
-
} | {
|
|
167
|
-
type: "vibes.diy.res-error";
|
|
168
|
-
error: {
|
|
169
|
-
message: string;
|
|
170
|
-
code: "from-carry-failed";
|
|
171
|
-
};
|
|
172
|
-
} | {
|
|
173
|
-
type: "vibes.diy.res-error";
|
|
174
|
-
error: {
|
|
175
|
-
message: string;
|
|
176
|
-
code: "auto-enhance-off";
|
|
117
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
118
|
+
type: "vibes-diy.cli.doctor";
|
|
119
|
+
apiUrl: string;
|
|
120
|
+
}, {
|
|
121
|
+
type: "vibes-diy.cli.res-doctor";
|
|
122
|
+
cliVersion: string;
|
|
123
|
+
node: string;
|
|
124
|
+
keybagPath: string;
|
|
125
|
+
keybagInstance?: string | undefined;
|
|
126
|
+
device: string;
|
|
127
|
+
deviceOk: boolean;
|
|
128
|
+
fingerprint?: string | undefined;
|
|
129
|
+
certExpires?: string | undefined;
|
|
130
|
+
apiUrl: string;
|
|
131
|
+
wsUrl: string;
|
|
132
|
+
proxy: string;
|
|
133
|
+
handshake: {
|
|
134
|
+
ok: boolean;
|
|
135
|
+
detail: string;
|
|
136
|
+
ms?: number | undefined;
|
|
177
137
|
};
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
directory: string;
|
|
184
|
-
restyled?: boolean | undefined;
|
|
185
|
-
fsId?: string | undefined;
|
|
138
|
+
auth?: {
|
|
139
|
+
ok: boolean;
|
|
140
|
+
detail: string;
|
|
141
|
+
ms?: number | undefined;
|
|
142
|
+
} | undefined;
|
|
186
143
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
187
144
|
type: "vibes-diy.cli.versions";
|
|
188
145
|
appSlug: string;
|
|
@@ -315,59 +272,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
315
272
|
type: "vibes.diy.res-ensure-user-settings";
|
|
316
273
|
userId: string;
|
|
317
274
|
settings: ({
|
|
318
|
-
type: "notifications";
|
|
319
|
-
buildComplete?: boolean | undefined;
|
|
320
|
-
buildFailed?: boolean | undefined;
|
|
321
|
-
vibePublished?: boolean | undefined;
|
|
322
|
-
commentPosted?: boolean | undefined;
|
|
323
|
-
requestApproved?: boolean | undefined;
|
|
324
|
-
requestRevoked?: boolean | undefined;
|
|
325
|
-
vibeRemixed?: boolean | undefined;
|
|
326
|
-
dmReceived?: boolean | undefined;
|
|
327
|
-
memberJoined?: boolean | undefined;
|
|
328
|
-
accessRequested?: boolean | undefined;
|
|
329
|
-
buildRequested?: boolean | undefined;
|
|
330
|
-
buildApproved?: boolean | undefined;
|
|
331
|
-
emailDigest?: boolean | undefined;
|
|
332
|
-
retentionEmail?: boolean | undefined;
|
|
333
|
-
followRequest?: boolean | undefined;
|
|
334
|
-
followerAdded?: boolean | undefined;
|
|
335
|
-
followApproved?: boolean | undefined;
|
|
336
|
-
appMessage?: boolean | undefined;
|
|
337
|
-
connectionExpiring?: boolean | undefined;
|
|
338
|
-
assetBlocked?: boolean | undefined;
|
|
339
|
-
assetCheckFailed?: boolean | undefined;
|
|
340
|
-
checkoutUnfinished?: boolean | undefined;
|
|
341
|
-
safetyAlert?: boolean | undefined;
|
|
342
|
-
reminder?: boolean | undefined;
|
|
343
|
-
teamMessages?: boolean | undefined;
|
|
344
|
-
emailInstant?: boolean | undefined;
|
|
345
|
-
mutes?: {
|
|
346
|
-
vibes?: string[] | undefined;
|
|
347
|
-
handles?: string[] | undefined;
|
|
348
|
-
actors?: string[] | undefined;
|
|
349
|
-
} | undefined;
|
|
350
|
-
vibeTypes?: {
|
|
351
|
-
vibe: string;
|
|
352
|
-
buildComplete?: boolean | undefined;
|
|
353
|
-
buildFailed?: boolean | undefined;
|
|
354
|
-
vibePublished?: boolean | undefined;
|
|
355
|
-
commentPosted?: boolean | undefined;
|
|
356
|
-
requestApproved?: boolean | undefined;
|
|
357
|
-
requestRevoked?: boolean | undefined;
|
|
358
|
-
vibeRemixed?: boolean | undefined;
|
|
359
|
-
memberJoined?: boolean | undefined;
|
|
360
|
-
accessRequested?: boolean | undefined;
|
|
361
|
-
buildRequested?: boolean | undefined;
|
|
362
|
-
buildApproved?: boolean | undefined;
|
|
363
|
-
appMessage?: boolean | undefined;
|
|
364
|
-
assetBlocked?: boolean | undefined;
|
|
365
|
-
assetCheckFailed?: boolean | undefined;
|
|
366
|
-
}[] | undefined;
|
|
367
|
-
agent?: {
|
|
368
|
-
hiddenVibes?: string[] | undefined;
|
|
369
|
-
} | undefined;
|
|
370
|
-
} | {
|
|
371
275
|
type: "sharing";
|
|
372
276
|
grants: {
|
|
373
277
|
grant: "allow" | "deny";
|
|
@@ -485,6 +389,59 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
485
389
|
avatarCid?: string | undefined;
|
|
486
390
|
displayName?: string | undefined;
|
|
487
391
|
codeMode?: boolean | undefined;
|
|
392
|
+
} | {
|
|
393
|
+
type: "notifications";
|
|
394
|
+
buildComplete?: boolean | undefined;
|
|
395
|
+
buildFailed?: boolean | undefined;
|
|
396
|
+
vibePublished?: boolean | undefined;
|
|
397
|
+
commentPosted?: boolean | undefined;
|
|
398
|
+
requestApproved?: boolean | undefined;
|
|
399
|
+
requestRevoked?: boolean | undefined;
|
|
400
|
+
vibeRemixed?: boolean | undefined;
|
|
401
|
+
dmReceived?: boolean | undefined;
|
|
402
|
+
memberJoined?: boolean | undefined;
|
|
403
|
+
accessRequested?: boolean | undefined;
|
|
404
|
+
buildRequested?: boolean | undefined;
|
|
405
|
+
buildApproved?: boolean | undefined;
|
|
406
|
+
emailDigest?: boolean | undefined;
|
|
407
|
+
retentionEmail?: boolean | undefined;
|
|
408
|
+
followRequest?: boolean | undefined;
|
|
409
|
+
followerAdded?: boolean | undefined;
|
|
410
|
+
followApproved?: boolean | undefined;
|
|
411
|
+
appMessage?: boolean | undefined;
|
|
412
|
+
connectionExpiring?: boolean | undefined;
|
|
413
|
+
assetBlocked?: boolean | undefined;
|
|
414
|
+
assetCheckFailed?: boolean | undefined;
|
|
415
|
+
checkoutUnfinished?: boolean | undefined;
|
|
416
|
+
safetyAlert?: boolean | undefined;
|
|
417
|
+
reminder?: boolean | undefined;
|
|
418
|
+
teamMessages?: boolean | undefined;
|
|
419
|
+
emailInstant?: boolean | undefined;
|
|
420
|
+
mutes?: {
|
|
421
|
+
vibes?: string[] | undefined;
|
|
422
|
+
handles?: string[] | undefined;
|
|
423
|
+
actors?: string[] | undefined;
|
|
424
|
+
} | undefined;
|
|
425
|
+
vibeTypes?: {
|
|
426
|
+
vibe: string;
|
|
427
|
+
buildComplete?: boolean | undefined;
|
|
428
|
+
buildFailed?: boolean | undefined;
|
|
429
|
+
vibePublished?: boolean | undefined;
|
|
430
|
+
commentPosted?: boolean | undefined;
|
|
431
|
+
requestApproved?: boolean | undefined;
|
|
432
|
+
requestRevoked?: boolean | undefined;
|
|
433
|
+
vibeRemixed?: boolean | undefined;
|
|
434
|
+
memberJoined?: boolean | undefined;
|
|
435
|
+
accessRequested?: boolean | undefined;
|
|
436
|
+
buildRequested?: boolean | undefined;
|
|
437
|
+
buildApproved?: boolean | undefined;
|
|
438
|
+
appMessage?: boolean | undefined;
|
|
439
|
+
assetBlocked?: boolean | undefined;
|
|
440
|
+
assetCheckFailed?: boolean | undefined;
|
|
441
|
+
}[] | undefined;
|
|
442
|
+
agent?: {
|
|
443
|
+
hiddenVibes?: string[] | undefined;
|
|
444
|
+
} | undefined;
|
|
488
445
|
} | {
|
|
489
446
|
type: "egressStatus";
|
|
490
447
|
status: "blessed" | "blocked";
|
|
@@ -641,6 +598,18 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
641
598
|
type: "vibes-diy.cli.res-skill-content";
|
|
642
599
|
name: string;
|
|
643
600
|
content: string;
|
|
601
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
602
|
+
type: "use-vibes.cli.themes";
|
|
603
|
+
}, {
|
|
604
|
+
type: "use-vibes.cli.res-themes-list";
|
|
605
|
+
themes: {
|
|
606
|
+
slug: string;
|
|
607
|
+
name: string;
|
|
608
|
+
}[];
|
|
609
|
+
} | {
|
|
610
|
+
type: "use-vibes.cli.res-theme-content";
|
|
611
|
+
slug: string;
|
|
612
|
+
content: string;
|
|
644
613
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
645
614
|
type: "vibes-diy.cli.variety";
|
|
646
615
|
}, {
|
|
@@ -655,11 +624,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
655
624
|
id: string;
|
|
656
625
|
guidance: string;
|
|
657
626
|
}[];
|
|
658
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
659
|
-
type: "vibes-diy.cli.system";
|
|
660
|
-
}, {
|
|
661
|
-
type: "vibes-diy.cli.res-system";
|
|
662
|
-
systemPrompt: string;
|
|
663
627
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
664
628
|
type: "vibes-diy.cli.push";
|
|
665
629
|
mode: string;
|
|
@@ -765,23 +729,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
765
729
|
message: string;
|
|
766
730
|
code: "auto-enhance-off";
|
|
767
731
|
};
|
|
768
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
769
|
-
type: "vibes-diy.cli.remix";
|
|
770
|
-
srcUserSlug: string;
|
|
771
|
-
srcAppSlug: string;
|
|
772
|
-
dstOwnerHandle?: string | undefined;
|
|
773
|
-
dstAppSlug?: string | undefined;
|
|
774
|
-
published: boolean;
|
|
775
|
-
settingsOnly: boolean;
|
|
776
|
-
apiUrl: string;
|
|
777
|
-
}, {
|
|
778
|
-
type: "vibes-diy.cli.res-remix";
|
|
779
|
-
ownerHandle: string;
|
|
780
|
-
appSlug: string;
|
|
781
|
-
url: string;
|
|
782
|
-
carried?: string[] | undefined;
|
|
783
|
-
skippedPresent?: string[] | undefined;
|
|
784
|
-
chatId?: string | undefined;
|
|
785
732
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
786
733
|
type: "vibes-diy.cli.claim-handle";
|
|
787
734
|
apiUrl: string;
|
|
@@ -793,31 +740,7 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
793
740
|
ownerHandle?: string | undefined;
|
|
794
741
|
defaultHandleSet?: boolean | undefined;
|
|
795
742
|
defaultSkipped?: boolean | undefined;
|
|
796
|
-
suggestions: string[];
|
|
797
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
798
|
-
type: "vibes-diy.cli.agent";
|
|
799
|
-
apiUrl: string;
|
|
800
|
-
prompt: string;
|
|
801
|
-
ownerHandle: string;
|
|
802
|
-
followMs: number;
|
|
803
|
-
json: boolean;
|
|
804
|
-
chatId?: string | undefined;
|
|
805
|
-
newChat?: boolean | undefined;
|
|
806
|
-
images?: string[] | undefined;
|
|
807
|
-
byText?: boolean | undefined;
|
|
808
|
-
startedBy?: "person" | "wake" | undefined;
|
|
809
|
-
askedBy?: string | undefined;
|
|
810
|
-
}, {
|
|
811
|
-
type: "vibes-diy.cli.res-agent";
|
|
812
|
-
ownerHandle: string;
|
|
813
|
-
chatId: string;
|
|
814
|
-
messages: string[];
|
|
815
|
-
shorts?: string[] | undefined;
|
|
816
|
-
links: string[];
|
|
817
|
-
idle: boolean;
|
|
818
|
-
reactions?: string[] | undefined;
|
|
819
|
-
error?: string | undefined;
|
|
820
|
-
credits?: number | undefined;
|
|
743
|
+
suggestions: string[];
|
|
821
744
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
822
745
|
type: "vibes-diy.cli.image";
|
|
823
746
|
apiUrl: string;
|
|
@@ -1002,6 +925,151 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1002
925
|
ownerHandle?: string | undefined;
|
|
1003
926
|
appSlug?: string | undefined;
|
|
1004
927
|
output: string;
|
|
928
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
929
|
+
type: "vibes-diy.cli.codegen-log";
|
|
930
|
+
appSlug: string;
|
|
931
|
+
ownerHandle: string;
|
|
932
|
+
chatId?: string | undefined;
|
|
933
|
+
apiUrl: string;
|
|
934
|
+
response?: boolean | undefined;
|
|
935
|
+
raw?: boolean | undefined;
|
|
936
|
+
files?: boolean | undefined;
|
|
937
|
+
jsonl?: boolean | undefined;
|
|
938
|
+
user?: boolean | undefined;
|
|
939
|
+
promptId?: string | undefined;
|
|
940
|
+
}, {
|
|
941
|
+
type: "vibes-diy.cli.res-codegen-log-list";
|
|
942
|
+
items: {
|
|
943
|
+
chatId: string;
|
|
944
|
+
appSlug: string;
|
|
945
|
+
ownerHandle: string;
|
|
946
|
+
created: string;
|
|
947
|
+
}[];
|
|
948
|
+
} | {
|
|
949
|
+
type: "vibes-diy.cli.res-codegen-log-detail";
|
|
950
|
+
chatId: string;
|
|
951
|
+
ownerHandle: string;
|
|
952
|
+
appSlug: string;
|
|
953
|
+
prompts: {
|
|
954
|
+
prompt: string;
|
|
955
|
+
fsId: string;
|
|
956
|
+
created: string;
|
|
957
|
+
}[];
|
|
958
|
+
} | {
|
|
959
|
+
type: "vibes-diy.cli.res-codegen-log-response";
|
|
960
|
+
output: string;
|
|
961
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
962
|
+
type: "vibes-diy.cli.edit";
|
|
963
|
+
appSlug: string;
|
|
964
|
+
prompt: string;
|
|
965
|
+
ownerHandle: string;
|
|
966
|
+
instantJoin?: boolean | undefined;
|
|
967
|
+
verbose: boolean;
|
|
968
|
+
dir: string;
|
|
969
|
+
apiUrl: string;
|
|
970
|
+
dryRun: boolean;
|
|
971
|
+
transcript: boolean;
|
|
972
|
+
directBuild?: boolean | undefined;
|
|
973
|
+
focusPath?: string | undefined;
|
|
974
|
+
model?: string | undefined;
|
|
975
|
+
builderModel?: string | undefined;
|
|
976
|
+
apiKey?: string | undefined;
|
|
977
|
+
}, {
|
|
978
|
+
appSlug: string;
|
|
979
|
+
ownerHandle: string;
|
|
980
|
+
mode: "dev" | "production";
|
|
981
|
+
fsId: string;
|
|
982
|
+
type: "vibes.diy.res-ensure-app-slug";
|
|
983
|
+
env: Record<string, string>;
|
|
984
|
+
fileSystem: {
|
|
985
|
+
fileName: string;
|
|
986
|
+
mimeType: string;
|
|
987
|
+
assetId: string;
|
|
988
|
+
assetURI: string;
|
|
989
|
+
transform?: {
|
|
990
|
+
type: "jsx-to-js";
|
|
991
|
+
transformedAssetId: string;
|
|
992
|
+
} | {
|
|
993
|
+
type: "imports";
|
|
994
|
+
importMapAssetId: string;
|
|
995
|
+
} | {
|
|
996
|
+
type: "import-map";
|
|
997
|
+
fromAssetIds: string[];
|
|
998
|
+
} | {
|
|
999
|
+
type: "transformed";
|
|
1000
|
+
action: "jsx-to-js";
|
|
1001
|
+
transformedAssetId: string;
|
|
1002
|
+
} | {
|
|
1003
|
+
type: "tailwind-css";
|
|
1004
|
+
} | undefined;
|
|
1005
|
+
entryPoint?: boolean | undefined;
|
|
1006
|
+
size: number;
|
|
1007
|
+
kind?: "asset" | undefined;
|
|
1008
|
+
uploadId?: string | undefined;
|
|
1009
|
+
}[];
|
|
1010
|
+
autoEnhanceOff?: true | undefined;
|
|
1011
|
+
appCreated?: true | undefined;
|
|
1012
|
+
anonWriteFollowed?: {
|
|
1013
|
+
to: "explicit" | "off";
|
|
1014
|
+
because: "not-open" | "personal-details" | "rules-ask" | "rules-do-not-ask" | "rules-not-bound" | "sensitive";
|
|
1015
|
+
} | undefined;
|
|
1016
|
+
backendWarnings?: string[] | undefined;
|
|
1017
|
+
} | {
|
|
1018
|
+
type: "vibes.diy.res-error";
|
|
1019
|
+
error: {
|
|
1020
|
+
message: string;
|
|
1021
|
+
code: "require-login";
|
|
1022
|
+
};
|
|
1023
|
+
} | {
|
|
1024
|
+
type: "vibes.diy.res-error";
|
|
1025
|
+
error: {
|
|
1026
|
+
message: string;
|
|
1027
|
+
code: "user-slug-invalid";
|
|
1028
|
+
};
|
|
1029
|
+
} | {
|
|
1030
|
+
type: "vibes.diy.res-error";
|
|
1031
|
+
error: {
|
|
1032
|
+
message: string;
|
|
1033
|
+
code: "app-slug-invalid";
|
|
1034
|
+
};
|
|
1035
|
+
} | {
|
|
1036
|
+
type: "vibes.diy.res-error";
|
|
1037
|
+
error: {
|
|
1038
|
+
message: string;
|
|
1039
|
+
code: "max-app-slugs-reached";
|
|
1040
|
+
};
|
|
1041
|
+
} | {
|
|
1042
|
+
type: "vibes.diy.res-error";
|
|
1043
|
+
error: {
|
|
1044
|
+
message: string;
|
|
1045
|
+
code: "handle-required";
|
|
1046
|
+
};
|
|
1047
|
+
} | {
|
|
1048
|
+
type: "vibes.diy.res-error";
|
|
1049
|
+
error: {
|
|
1050
|
+
message: string;
|
|
1051
|
+
code: "from-not-owned";
|
|
1052
|
+
};
|
|
1053
|
+
} | {
|
|
1054
|
+
type: "vibes.diy.res-error";
|
|
1055
|
+
error: {
|
|
1056
|
+
message: string;
|
|
1057
|
+
code: "from-carry-failed";
|
|
1058
|
+
};
|
|
1059
|
+
} | {
|
|
1060
|
+
type: "vibes.diy.res-error";
|
|
1061
|
+
error: {
|
|
1062
|
+
message: string;
|
|
1063
|
+
code: "auto-enhance-off";
|
|
1064
|
+
};
|
|
1065
|
+
} | {
|
|
1066
|
+
type: "vibes-diy.cli.res-edit";
|
|
1067
|
+
appSlug: string;
|
|
1068
|
+
ownerHandle: string;
|
|
1069
|
+
url: string;
|
|
1070
|
+
directory: string;
|
|
1071
|
+
restyled?: boolean | undefined;
|
|
1072
|
+
fsId?: string | undefined;
|
|
1005
1073
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1006
1074
|
type: "vibes-diy.cli.list";
|
|
1007
1075
|
apiUrl: string;
|
|
@@ -1020,32 +1088,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1020
1088
|
neverPublished?: boolean | undefined;
|
|
1021
1089
|
unpublishedAt?: string | undefined;
|
|
1022
1090
|
}[];
|
|
1023
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1024
|
-
type: "vibes-diy.cli.doctor";
|
|
1025
|
-
apiUrl: string;
|
|
1026
|
-
}, {
|
|
1027
|
-
type: "vibes-diy.cli.res-doctor";
|
|
1028
|
-
cliVersion: string;
|
|
1029
|
-
node: string;
|
|
1030
|
-
keybagPath: string;
|
|
1031
|
-
keybagInstance?: string | undefined;
|
|
1032
|
-
device: string;
|
|
1033
|
-
deviceOk: boolean;
|
|
1034
|
-
fingerprint?: string | undefined;
|
|
1035
|
-
certExpires?: string | undefined;
|
|
1036
|
-
apiUrl: string;
|
|
1037
|
-
wsUrl: string;
|
|
1038
|
-
proxy: string;
|
|
1039
|
-
handshake: {
|
|
1040
|
-
ok: boolean;
|
|
1041
|
-
detail: string;
|
|
1042
|
-
ms?: number | undefined;
|
|
1043
|
-
};
|
|
1044
|
-
auth?: {
|
|
1045
|
-
ok: boolean;
|
|
1046
|
-
detail: string;
|
|
1047
|
-
ms?: number | undefined;
|
|
1048
|
-
} | undefined;
|
|
1049
1091
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1050
1092
|
type: "vibes-diy.cli.whoami";
|
|
1051
1093
|
apiUrl: string;
|
|
@@ -1056,6 +1098,25 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1056
1098
|
defaultHandle?: string | undefined;
|
|
1057
1099
|
handles: string[];
|
|
1058
1100
|
detail?: string | undefined;
|
|
1101
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1102
|
+
type: "vibes-diy.cli.pull";
|
|
1103
|
+
appSlug: string;
|
|
1104
|
+
ownerHandle: string;
|
|
1105
|
+
dir: string;
|
|
1106
|
+
apiUrl: string;
|
|
1107
|
+
fsId?: string | undefined;
|
|
1108
|
+
published: boolean;
|
|
1109
|
+
draft: boolean;
|
|
1110
|
+
version?: string | undefined;
|
|
1111
|
+
}, {
|
|
1112
|
+
type: "vibes-diy.cli.res-pull";
|
|
1113
|
+
appSlug: string;
|
|
1114
|
+
ownerHandle: string;
|
|
1115
|
+
directory: string;
|
|
1116
|
+
files: {
|
|
1117
|
+
name: string;
|
|
1118
|
+
size: number;
|
|
1119
|
+
}[];
|
|
1059
1120
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1060
1121
|
type: "vibes-diy.cli.run";
|
|
1061
1122
|
apiUrl: string;
|
|
@@ -1689,25 +1750,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1689
1750
|
}, {
|
|
1690
1751
|
type: "vibes-diy.cli.res-phone-link-classify";
|
|
1691
1752
|
reaction?: string | undefined;
|
|
1692
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1693
|
-
type: "core-cli.device-id-register";
|
|
1694
|
-
commonName: string;
|
|
1695
|
-
organization: string;
|
|
1696
|
-
locality: string;
|
|
1697
|
-
state: string;
|
|
1698
|
-
country: string;
|
|
1699
|
-
caUrl: string;
|
|
1700
|
-
port: string;
|
|
1701
|
-
timeout: string;
|
|
1702
|
-
forceRenew: boolean;
|
|
1703
|
-
cert?: string | undefined;
|
|
1704
|
-
noBrowser?: boolean | undefined;
|
|
1705
|
-
apiUrl?: string | undefined;
|
|
1706
|
-
expectHandle?: string | undefined;
|
|
1707
|
-
expectUser?: string | undefined;
|
|
1708
|
-
}, {
|
|
1709
|
-
type: "core-cli.res-device-id-register";
|
|
1710
|
-
output: string;
|
|
1711
1753
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1712
1754
|
type: "vibes-diy.cli.db.list";
|
|
1713
1755
|
apiUrl: string;
|
|
@@ -1717,20 +1759,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1717
1759
|
}, {
|
|
1718
1760
|
type: "vibes-diy.cli.db.list-res";
|
|
1719
1761
|
dbNames: string[];
|
|
1720
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1721
|
-
type: "vibes-diy.cli.db.get";
|
|
1722
|
-
apiUrl: string;
|
|
1723
|
-
appSlug: string;
|
|
1724
|
-
ownerHandle: string;
|
|
1725
|
-
dbName: string;
|
|
1726
|
-
docId: string;
|
|
1727
|
-
admin: boolean;
|
|
1728
|
-
actingHandle: string;
|
|
1729
|
-
}, {
|
|
1730
|
-
type: "vibes-diy.cli.db.get-res";
|
|
1731
|
-
doc: {
|
|
1732
|
-
[x: string]: unknown;
|
|
1733
|
-
};
|
|
1734
1762
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1735
1763
|
type: "vibes-diy.cli.db.put";
|
|
1736
1764
|
apiUrl: string;
|
|
@@ -1751,19 +1779,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1751
1779
|
status: "unchanged" | "uploaded";
|
|
1752
1780
|
uploadId: string;
|
|
1753
1781
|
}[] | undefined;
|
|
1754
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1755
|
-
type: "vibes-diy.cli.db.del";
|
|
1756
|
-
apiUrl: string;
|
|
1757
|
-
appSlug: string;
|
|
1758
|
-
ownerHandle: string;
|
|
1759
|
-
dbName: string;
|
|
1760
|
-
docId: string;
|
|
1761
|
-
admin: boolean;
|
|
1762
|
-
actingHandle: string;
|
|
1763
|
-
}, {
|
|
1764
|
-
type: "vibes-diy.cli.db.del-res";
|
|
1765
|
-
id: string;
|
|
1766
|
-
ok: true;
|
|
1767
1782
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1768
1783
|
type: "vibes-diy.cli.db.query";
|
|
1769
1784
|
apiUrl: string;
|
|
@@ -1784,25 +1799,10 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1784
1799
|
[x: string]: unknown;
|
|
1785
1800
|
}[];
|
|
1786
1801
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1787
|
-
type: "vibes-diy.cli.db.
|
|
1788
|
-
action: "add" | "remove";
|
|
1802
|
+
type: "vibes-diy.cli.db.subscribe";
|
|
1789
1803
|
apiUrl: string;
|
|
1790
1804
|
appSlug: string;
|
|
1791
1805
|
ownerHandle: string;
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
action: "add" | "remove";
|
|
1795
|
-
appSlug: string;
|
|
1796
|
-
ownerHandle: string;
|
|
1797
|
-
seedFile: "absent" | "invalid" | "present" | "unknown";
|
|
1798
|
-
changed: number;
|
|
1799
|
-
skipped: number;
|
|
1800
|
-
failed: number;
|
|
1801
|
-
perDb: {
|
|
1802
|
-
dbName: string;
|
|
1803
|
-
changed: number;
|
|
1804
|
-
skipped: number;
|
|
1805
|
-
failed: number;
|
|
1806
|
-
}[];
|
|
1807
|
-
}>)[];
|
|
1806
|
+
dbName: string;
|
|
1807
|
+
}, never>)[];
|
|
1808
1808
|
export declare function cmdTsEvento(): import("@adviser/cement").Evento;
|