vibes-diy 14.3.463 → 14.3.464
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 +316 -315
- package/cli/cmds/pull-cmd.js +16 -4
- package/cli/cmds/run/backend-worker/run-backend-entry.js +308 -25
- package/cli/cmds/run/bundle-inputs.json +14 -0
- package/cli/cmds/run/run-bundle.js +9771 -7924
- package/cli/cmds/versions-cmd.d.ts +1 -0
- package/cli/main.js +2 -1
- package/package.json +8 -8
package/cli/cmd-evento.d.ts
CHANGED
|
@@ -2,187 +2,142 @@ 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
|
-
|
|
10
|
-
|
|
21
|
+
type: "core-cli.res-device-id-register";
|
|
22
|
+
output: string;
|
|
23
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
24
|
+
type: "vibes-diy.cli.variety";
|
|
25
|
+
}, {
|
|
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;
|
|
11
36
|
}[];
|
|
12
|
-
} | {
|
|
13
|
-
type: "use-vibes.cli.res-theme-content";
|
|
14
|
-
slug: string;
|
|
15
|
-
content: string;
|
|
16
37
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
17
|
-
type: "vibes-diy.cli.
|
|
38
|
+
type: "vibes-diy.cli.put-asset";
|
|
39
|
+
file: string;
|
|
18
40
|
appSlug: string;
|
|
19
41
|
ownerHandle: string;
|
|
20
|
-
dir: string;
|
|
21
42
|
apiUrl: string;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
draft: boolean;
|
|
25
|
-
version?: string | undefined;
|
|
43
|
+
mimeType: string;
|
|
44
|
+
verifyFetch: boolean;
|
|
26
45
|
}, {
|
|
27
|
-
type: "vibes-diy.cli.res-
|
|
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.db.list";
|
|
54
|
+
apiUrl: string;
|
|
28
55
|
appSlug: string;
|
|
29
56
|
ownerHandle: string;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}[];
|
|
57
|
+
admin: boolean;
|
|
58
|
+
}, {
|
|
59
|
+
type: "vibes-diy.cli.db.list-res";
|
|
60
|
+
dbNames: string[];
|
|
35
61
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
36
|
-
type: "vibes-diy.cli.db.
|
|
62
|
+
type: "vibes-diy.cli.db.put";
|
|
37
63
|
apiUrl: string;
|
|
38
64
|
appSlug: string;
|
|
39
65
|
ownerHandle: string;
|
|
40
66
|
dbName: string;
|
|
41
|
-
|
|
42
|
-
|
|
67
|
+
docJson: string;
|
|
68
|
+
docId: string;
|
|
69
|
+
admin: boolean;
|
|
70
|
+
actingHandle: string;
|
|
71
|
+
files?: string[] | undefined;
|
|
72
|
+
}, {
|
|
73
|
+
type: "vibes-diy.cli.db.put-res";
|
|
74
|
+
id: string;
|
|
75
|
+
ok: true;
|
|
76
|
+
files?: {
|
|
77
|
+
key: string;
|
|
78
|
+
status: "unchanged" | "uploaded";
|
|
79
|
+
uploadId: string;
|
|
80
|
+
}[] | undefined;
|
|
81
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
82
|
+
type: "vibes-diy.cli.db.seed";
|
|
83
|
+
action: "add" | "remove";
|
|
84
|
+
apiUrl: string;
|
|
85
|
+
appSlug: string;
|
|
86
|
+
ownerHandle: string;
|
|
87
|
+
}, {
|
|
88
|
+
type: "vibes-diy.cli.db.seed-res";
|
|
89
|
+
action: "add" | "remove";
|
|
90
|
+
appSlug: string;
|
|
91
|
+
ownerHandle: string;
|
|
92
|
+
seedFile: "absent" | "invalid" | "present" | "unknown";
|
|
93
|
+
changed: number;
|
|
94
|
+
skipped: number;
|
|
95
|
+
failed: number;
|
|
96
|
+
perDb: {
|
|
97
|
+
dbName: string;
|
|
98
|
+
changed: number;
|
|
99
|
+
skipped: number;
|
|
100
|
+
failed: number;
|
|
101
|
+
}[];
|
|
102
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
103
|
+
type: "vibes-diy.cli.app-chats";
|
|
43
104
|
appSlug: string;
|
|
44
105
|
ownerHandle: string;
|
|
45
106
|
chatId?: string | undefined;
|
|
46
107
|
apiUrl: string;
|
|
47
|
-
response?: boolean | undefined;
|
|
48
|
-
raw?: boolean | undefined;
|
|
49
|
-
files?: boolean | undefined;
|
|
50
|
-
jsonl?: boolean | undefined;
|
|
51
|
-
user?: boolean | undefined;
|
|
52
|
-
promptId?: string | undefined;
|
|
53
108
|
}, {
|
|
54
|
-
type: "vibes-diy.cli.res-
|
|
55
|
-
output: string;
|
|
56
|
-
} | {
|
|
57
|
-
type: "vibes-diy.cli.res-codegen-log-list";
|
|
109
|
+
type: "vibes-diy.cli.res-app-chats-list";
|
|
58
110
|
items: {
|
|
59
111
|
chatId: string;
|
|
60
112
|
appSlug: string;
|
|
61
113
|
ownerHandle: string;
|
|
62
114
|
created: string;
|
|
115
|
+
userHandle?: string | undefined;
|
|
63
116
|
}[];
|
|
64
117
|
} | {
|
|
65
|
-
type: "vibes-diy.cli.res-
|
|
118
|
+
type: "vibes-diy.cli.res-app-chats-detail";
|
|
66
119
|
chatId: string;
|
|
67
|
-
ownerHandle
|
|
68
|
-
appSlug
|
|
69
|
-
|
|
70
|
-
prompt: string;
|
|
71
|
-
fsId: string;
|
|
72
|
-
created: string;
|
|
73
|
-
}[];
|
|
120
|
+
ownerHandle?: string | undefined;
|
|
121
|
+
appSlug?: string | undefined;
|
|
122
|
+
output: string;
|
|
74
123
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
75
|
-
type: "vibes-diy.cli.
|
|
76
|
-
appSlug: string;
|
|
77
|
-
prompt: string;
|
|
78
|
-
ownerHandle: string;
|
|
79
|
-
instantJoin?: boolean | undefined;
|
|
80
|
-
verbose: boolean;
|
|
81
|
-
dir: string;
|
|
124
|
+
type: "vibes-diy.cli.list";
|
|
82
125
|
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
126
|
}, {
|
|
91
|
-
type: "vibes-diy.cli.res-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
ownerHandle: string;
|
|
101
|
-
mode: "dev" | "production";
|
|
102
|
-
fsId: string;
|
|
103
|
-
type: "vibes.diy.res-ensure-app-slug";
|
|
104
|
-
env: Record<string, string>;
|
|
105
|
-
fileSystem: {
|
|
106
|
-
fileName: string;
|
|
107
|
-
mimeType: string;
|
|
108
|
-
assetId: string;
|
|
109
|
-
assetURI: string;
|
|
110
|
-
transform?: {
|
|
111
|
-
type: "jsx-to-js";
|
|
112
|
-
transformedAssetId: string;
|
|
113
|
-
} | {
|
|
114
|
-
type: "imports";
|
|
115
|
-
importMapAssetId: string;
|
|
116
|
-
} | {
|
|
117
|
-
type: "import-map";
|
|
118
|
-
fromAssetIds: string[];
|
|
119
|
-
} | {
|
|
120
|
-
type: "transformed";
|
|
121
|
-
action: "jsx-to-js";
|
|
122
|
-
transformedAssetId: string;
|
|
123
|
-
} | {
|
|
124
|
-
type: "tailwind-css";
|
|
127
|
+
type: "vibes-diy.cli.res-list";
|
|
128
|
+
items: {
|
|
129
|
+
ownerHandle: string;
|
|
130
|
+
appSlug: string;
|
|
131
|
+
updated: string;
|
|
132
|
+
title?: string | undefined;
|
|
133
|
+
icon?: {
|
|
134
|
+
cid: string;
|
|
135
|
+
mime: string;
|
|
125
136
|
} | undefined;
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
uploadId?: string | undefined;
|
|
137
|
+
pinnedAt?: string | undefined;
|
|
138
|
+
neverPublished?: boolean | undefined;
|
|
139
|
+
unpublishedAt?: string | undefined;
|
|
130
140
|
}[];
|
|
131
|
-
autoEnhanceOff?: true | undefined;
|
|
132
|
-
appCreated?: true | undefined;
|
|
133
|
-
anonWriteFollowed?: {
|
|
134
|
-
to: "explicit" | "off";
|
|
135
|
-
because: "not-open" | "personal-details" | "rules-ask" | "rules-do-not-ask" | "rules-not-bound" | "sensitive";
|
|
136
|
-
} | undefined;
|
|
137
|
-
backendWarnings?: string[] | undefined;
|
|
138
|
-
} | {
|
|
139
|
-
type: "vibes.diy.res-error";
|
|
140
|
-
error: {
|
|
141
|
-
message: string;
|
|
142
|
-
code: "require-login";
|
|
143
|
-
};
|
|
144
|
-
} | {
|
|
145
|
-
type: "vibes.diy.res-error";
|
|
146
|
-
error: {
|
|
147
|
-
message: string;
|
|
148
|
-
code: "user-slug-invalid";
|
|
149
|
-
};
|
|
150
|
-
} | {
|
|
151
|
-
type: "vibes.diy.res-error";
|
|
152
|
-
error: {
|
|
153
|
-
message: string;
|
|
154
|
-
code: "app-slug-invalid";
|
|
155
|
-
};
|
|
156
|
-
} | {
|
|
157
|
-
type: "vibes.diy.res-error";
|
|
158
|
-
error: {
|
|
159
|
-
message: string;
|
|
160
|
-
code: "max-app-slugs-reached";
|
|
161
|
-
};
|
|
162
|
-
} | {
|
|
163
|
-
type: "vibes.diy.res-error";
|
|
164
|
-
error: {
|
|
165
|
-
message: string;
|
|
166
|
-
code: "handle-required";
|
|
167
|
-
};
|
|
168
|
-
} | {
|
|
169
|
-
type: "vibes.diy.res-error";
|
|
170
|
-
error: {
|
|
171
|
-
message: string;
|
|
172
|
-
code: "from-not-owned";
|
|
173
|
-
};
|
|
174
|
-
} | {
|
|
175
|
-
type: "vibes.diy.res-error";
|
|
176
|
-
error: {
|
|
177
|
-
message: string;
|
|
178
|
-
code: "from-carry-failed";
|
|
179
|
-
};
|
|
180
|
-
} | {
|
|
181
|
-
type: "vibes.diy.res-error";
|
|
182
|
-
error: {
|
|
183
|
-
message: string;
|
|
184
|
-
code: "auto-enhance-off";
|
|
185
|
-
};
|
|
186
141
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
187
142
|
type: "vibes-diy.cli.versions";
|
|
188
143
|
appSlug: string;
|
|
@@ -199,6 +154,7 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
199
154
|
created: string;
|
|
200
155
|
published: boolean;
|
|
201
156
|
byHandle?: string | undefined;
|
|
157
|
+
ordinal?: number | undefined;
|
|
202
158
|
}[];
|
|
203
159
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
204
160
|
type: "vibes-diy.cli.app-tick";
|
|
@@ -314,6 +270,59 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
314
270
|
type: "vibes.diy.res-ensure-user-settings";
|
|
315
271
|
userId: string;
|
|
316
272
|
settings: ({
|
|
273
|
+
type: "notifications";
|
|
274
|
+
buildComplete?: boolean | undefined;
|
|
275
|
+
buildFailed?: boolean | undefined;
|
|
276
|
+
vibePublished?: boolean | undefined;
|
|
277
|
+
commentPosted?: boolean | undefined;
|
|
278
|
+
requestApproved?: boolean | undefined;
|
|
279
|
+
requestRevoked?: boolean | undefined;
|
|
280
|
+
vibeRemixed?: boolean | undefined;
|
|
281
|
+
dmReceived?: boolean | undefined;
|
|
282
|
+
memberJoined?: boolean | undefined;
|
|
283
|
+
accessRequested?: boolean | undefined;
|
|
284
|
+
buildRequested?: boolean | undefined;
|
|
285
|
+
buildApproved?: boolean | undefined;
|
|
286
|
+
emailDigest?: boolean | undefined;
|
|
287
|
+
retentionEmail?: boolean | undefined;
|
|
288
|
+
followRequest?: boolean | undefined;
|
|
289
|
+
followerAdded?: boolean | undefined;
|
|
290
|
+
followApproved?: boolean | undefined;
|
|
291
|
+
appMessage?: boolean | undefined;
|
|
292
|
+
connectionExpiring?: boolean | undefined;
|
|
293
|
+
assetBlocked?: boolean | undefined;
|
|
294
|
+
assetCheckFailed?: boolean | undefined;
|
|
295
|
+
checkoutUnfinished?: boolean | undefined;
|
|
296
|
+
safetyAlert?: boolean | undefined;
|
|
297
|
+
reminder?: boolean | undefined;
|
|
298
|
+
teamMessages?: boolean | undefined;
|
|
299
|
+
emailInstant?: boolean | undefined;
|
|
300
|
+
mutes?: {
|
|
301
|
+
vibes?: string[] | undefined;
|
|
302
|
+
handles?: string[] | undefined;
|
|
303
|
+
actors?: string[] | undefined;
|
|
304
|
+
} | undefined;
|
|
305
|
+
vibeTypes?: {
|
|
306
|
+
vibe: string;
|
|
307
|
+
buildComplete?: boolean | undefined;
|
|
308
|
+
buildFailed?: boolean | undefined;
|
|
309
|
+
vibePublished?: boolean | undefined;
|
|
310
|
+
commentPosted?: boolean | undefined;
|
|
311
|
+
requestApproved?: boolean | undefined;
|
|
312
|
+
requestRevoked?: boolean | undefined;
|
|
313
|
+
vibeRemixed?: boolean | undefined;
|
|
314
|
+
memberJoined?: boolean | undefined;
|
|
315
|
+
accessRequested?: boolean | undefined;
|
|
316
|
+
buildRequested?: boolean | undefined;
|
|
317
|
+
buildApproved?: boolean | undefined;
|
|
318
|
+
appMessage?: boolean | undefined;
|
|
319
|
+
assetBlocked?: boolean | undefined;
|
|
320
|
+
assetCheckFailed?: boolean | undefined;
|
|
321
|
+
}[] | undefined;
|
|
322
|
+
agent?: {
|
|
323
|
+
hiddenVibes?: string[] | undefined;
|
|
324
|
+
} | undefined;
|
|
325
|
+
} | {
|
|
317
326
|
type: "sharing";
|
|
318
327
|
grants: {
|
|
319
328
|
grant: "allow" | "deny";
|
|
@@ -431,59 +440,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
431
440
|
avatarCid?: string | undefined;
|
|
432
441
|
displayName?: string | undefined;
|
|
433
442
|
codeMode?: boolean | undefined;
|
|
434
|
-
} | {
|
|
435
|
-
type: "notifications";
|
|
436
|
-
buildComplete?: boolean | undefined;
|
|
437
|
-
buildFailed?: boolean | undefined;
|
|
438
|
-
vibePublished?: boolean | undefined;
|
|
439
|
-
commentPosted?: boolean | undefined;
|
|
440
|
-
requestApproved?: boolean | undefined;
|
|
441
|
-
requestRevoked?: boolean | undefined;
|
|
442
|
-
vibeRemixed?: boolean | undefined;
|
|
443
|
-
dmReceived?: boolean | undefined;
|
|
444
|
-
memberJoined?: boolean | undefined;
|
|
445
|
-
accessRequested?: boolean | undefined;
|
|
446
|
-
buildRequested?: boolean | undefined;
|
|
447
|
-
buildApproved?: boolean | undefined;
|
|
448
|
-
emailDigest?: boolean | undefined;
|
|
449
|
-
retentionEmail?: boolean | undefined;
|
|
450
|
-
followRequest?: boolean | undefined;
|
|
451
|
-
followerAdded?: boolean | undefined;
|
|
452
|
-
followApproved?: boolean | undefined;
|
|
453
|
-
appMessage?: boolean | undefined;
|
|
454
|
-
connectionExpiring?: boolean | undefined;
|
|
455
|
-
assetBlocked?: boolean | undefined;
|
|
456
|
-
assetCheckFailed?: boolean | undefined;
|
|
457
|
-
checkoutUnfinished?: boolean | undefined;
|
|
458
|
-
safetyAlert?: boolean | undefined;
|
|
459
|
-
reminder?: boolean | undefined;
|
|
460
|
-
teamMessages?: boolean | undefined;
|
|
461
|
-
emailInstant?: boolean | undefined;
|
|
462
|
-
mutes?: {
|
|
463
|
-
vibes?: string[] | undefined;
|
|
464
|
-
handles?: string[] | undefined;
|
|
465
|
-
actors?: string[] | undefined;
|
|
466
|
-
} | undefined;
|
|
467
|
-
vibeTypes?: {
|
|
468
|
-
vibe: string;
|
|
469
|
-
buildComplete?: boolean | undefined;
|
|
470
|
-
buildFailed?: boolean | undefined;
|
|
471
|
-
vibePublished?: boolean | undefined;
|
|
472
|
-
commentPosted?: boolean | undefined;
|
|
473
|
-
requestApproved?: boolean | undefined;
|
|
474
|
-
requestRevoked?: boolean | undefined;
|
|
475
|
-
vibeRemixed?: boolean | undefined;
|
|
476
|
-
memberJoined?: boolean | undefined;
|
|
477
|
-
accessRequested?: boolean | undefined;
|
|
478
|
-
buildRequested?: boolean | undefined;
|
|
479
|
-
buildApproved?: boolean | undefined;
|
|
480
|
-
appMessage?: boolean | undefined;
|
|
481
|
-
assetBlocked?: boolean | undefined;
|
|
482
|
-
assetCheckFailed?: boolean | undefined;
|
|
483
|
-
}[] | undefined;
|
|
484
|
-
agent?: {
|
|
485
|
-
hiddenVibes?: string[] | undefined;
|
|
486
|
-
} | undefined;
|
|
487
443
|
} | {
|
|
488
444
|
type: "egressStatus";
|
|
489
445
|
status: "blessed" | "blocked";
|
|
@@ -641,19 +597,17 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
641
597
|
name: string;
|
|
642
598
|
content: string;
|
|
643
599
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
644
|
-
type: "vibes
|
|
600
|
+
type: "use-vibes.cli.themes";
|
|
645
601
|
}, {
|
|
646
|
-
type: "vibes
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
id: string;
|
|
651
|
-
guidance: string;
|
|
652
|
-
}[];
|
|
653
|
-
flourishes: {
|
|
654
|
-
id: string;
|
|
655
|
-
guidance: string;
|
|
602
|
+
type: "use-vibes.cli.res-themes-list";
|
|
603
|
+
themes: {
|
|
604
|
+
slug: string;
|
|
605
|
+
name: string;
|
|
656
606
|
}[];
|
|
607
|
+
} | {
|
|
608
|
+
type: "use-vibes.cli.res-theme-content";
|
|
609
|
+
slug: string;
|
|
610
|
+
content: string;
|
|
657
611
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
658
612
|
type: "vibes-diy.cli.system";
|
|
659
613
|
}, {
|
|
@@ -849,21 +803,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
849
803
|
model: string;
|
|
850
804
|
};
|
|
851
805
|
};
|
|
852
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
853
|
-
type: "vibes-diy.cli.put-asset";
|
|
854
|
-
file: string;
|
|
855
|
-
appSlug: string;
|
|
856
|
-
ownerHandle: string;
|
|
857
|
-
apiUrl: string;
|
|
858
|
-
mimeType: string;
|
|
859
|
-
verifyFetch: boolean;
|
|
860
|
-
}, {
|
|
861
|
-
type: "vibes-diy.cli.res-put-asset";
|
|
862
|
-
cid: string;
|
|
863
|
-
getURL: string;
|
|
864
|
-
size: number;
|
|
865
|
-
uploadId: string;
|
|
866
|
-
verified?: boolean | undefined;
|
|
867
806
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
868
807
|
type: "vibes-diy.cli.generate";
|
|
869
808
|
prompt: string;
|
|
@@ -981,44 +920,150 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
981
920
|
publish?: "kept-private-no-access-fn" | "private" | "published" | undefined;
|
|
982
921
|
posture?: "gated" | "open" | "private" | undefined;
|
|
983
922
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
984
|
-
type: "vibes-diy.cli.
|
|
923
|
+
type: "vibes-diy.cli.codegen-log";
|
|
985
924
|
appSlug: string;
|
|
986
925
|
ownerHandle: string;
|
|
987
926
|
chatId?: string | undefined;
|
|
988
927
|
apiUrl: string;
|
|
928
|
+
response?: boolean | undefined;
|
|
929
|
+
raw?: boolean | undefined;
|
|
930
|
+
files?: boolean | undefined;
|
|
931
|
+
jsonl?: boolean | undefined;
|
|
932
|
+
user?: boolean | undefined;
|
|
933
|
+
promptId?: string | undefined;
|
|
989
934
|
}, {
|
|
990
|
-
type: "vibes-diy.cli.res-
|
|
935
|
+
type: "vibes-diy.cli.res-codegen-log-list";
|
|
991
936
|
items: {
|
|
992
937
|
chatId: string;
|
|
993
938
|
appSlug: string;
|
|
994
939
|
ownerHandle: string;
|
|
995
940
|
created: string;
|
|
996
|
-
userHandle?: string | undefined;
|
|
997
941
|
}[];
|
|
998
942
|
} | {
|
|
999
|
-
type: "vibes-diy.cli.res-
|
|
943
|
+
type: "vibes-diy.cli.res-codegen-log-detail";
|
|
1000
944
|
chatId: string;
|
|
1001
|
-
ownerHandle
|
|
1002
|
-
appSlug
|
|
945
|
+
ownerHandle: string;
|
|
946
|
+
appSlug: string;
|
|
947
|
+
prompts: {
|
|
948
|
+
prompt: string;
|
|
949
|
+
fsId: string;
|
|
950
|
+
created: string;
|
|
951
|
+
}[];
|
|
952
|
+
} | {
|
|
953
|
+
type: "vibes-diy.cli.res-codegen-log-response";
|
|
1003
954
|
output: string;
|
|
1004
955
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1005
|
-
type: "vibes-diy.cli.
|
|
956
|
+
type: "vibes-diy.cli.edit";
|
|
957
|
+
appSlug: string;
|
|
958
|
+
prompt: string;
|
|
959
|
+
ownerHandle: string;
|
|
960
|
+
instantJoin?: boolean | undefined;
|
|
961
|
+
verbose: boolean;
|
|
962
|
+
dir: string;
|
|
1006
963
|
apiUrl: string;
|
|
964
|
+
dryRun: boolean;
|
|
965
|
+
transcript: boolean;
|
|
966
|
+
directBuild?: boolean | undefined;
|
|
967
|
+
focusPath?: string | undefined;
|
|
968
|
+
model?: string | undefined;
|
|
969
|
+
builderModel?: string | undefined;
|
|
970
|
+
apiKey?: string | undefined;
|
|
1007
971
|
}, {
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
972
|
+
appSlug: string;
|
|
973
|
+
ownerHandle: string;
|
|
974
|
+
mode: "dev" | "production";
|
|
975
|
+
fsId: string;
|
|
976
|
+
type: "vibes.diy.res-ensure-app-slug";
|
|
977
|
+
env: Record<string, string>;
|
|
978
|
+
fileSystem: {
|
|
979
|
+
fileName: string;
|
|
980
|
+
mimeType: string;
|
|
981
|
+
assetId: string;
|
|
982
|
+
assetURI: string;
|
|
983
|
+
transform?: {
|
|
984
|
+
type: "jsx-to-js";
|
|
985
|
+
transformedAssetId: string;
|
|
986
|
+
} | {
|
|
987
|
+
type: "imports";
|
|
988
|
+
importMapAssetId: string;
|
|
989
|
+
} | {
|
|
990
|
+
type: "import-map";
|
|
991
|
+
fromAssetIds: string[];
|
|
992
|
+
} | {
|
|
993
|
+
type: "transformed";
|
|
994
|
+
action: "jsx-to-js";
|
|
995
|
+
transformedAssetId: string;
|
|
996
|
+
} | {
|
|
997
|
+
type: "tailwind-css";
|
|
1017
998
|
} | undefined;
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
999
|
+
entryPoint?: boolean | undefined;
|
|
1000
|
+
size: number;
|
|
1001
|
+
kind?: "asset" | undefined;
|
|
1002
|
+
uploadId?: string | undefined;
|
|
1021
1003
|
}[];
|
|
1004
|
+
autoEnhanceOff?: true | undefined;
|
|
1005
|
+
appCreated?: true | undefined;
|
|
1006
|
+
anonWriteFollowed?: {
|
|
1007
|
+
to: "explicit" | "off";
|
|
1008
|
+
because: "not-open" | "personal-details" | "rules-ask" | "rules-do-not-ask" | "rules-not-bound" | "sensitive";
|
|
1009
|
+
} | undefined;
|
|
1010
|
+
backendWarnings?: string[] | undefined;
|
|
1011
|
+
} | {
|
|
1012
|
+
type: "vibes.diy.res-error";
|
|
1013
|
+
error: {
|
|
1014
|
+
message: string;
|
|
1015
|
+
code: "require-login";
|
|
1016
|
+
};
|
|
1017
|
+
} | {
|
|
1018
|
+
type: "vibes.diy.res-error";
|
|
1019
|
+
error: {
|
|
1020
|
+
message: string;
|
|
1021
|
+
code: "user-slug-invalid";
|
|
1022
|
+
};
|
|
1023
|
+
} | {
|
|
1024
|
+
type: "vibes.diy.res-error";
|
|
1025
|
+
error: {
|
|
1026
|
+
message: string;
|
|
1027
|
+
code: "app-slug-invalid";
|
|
1028
|
+
};
|
|
1029
|
+
} | {
|
|
1030
|
+
type: "vibes.diy.res-error";
|
|
1031
|
+
error: {
|
|
1032
|
+
message: string;
|
|
1033
|
+
code: "max-app-slugs-reached";
|
|
1034
|
+
};
|
|
1035
|
+
} | {
|
|
1036
|
+
type: "vibes.diy.res-error";
|
|
1037
|
+
error: {
|
|
1038
|
+
message: string;
|
|
1039
|
+
code: "handle-required";
|
|
1040
|
+
};
|
|
1041
|
+
} | {
|
|
1042
|
+
type: "vibes.diy.res-error";
|
|
1043
|
+
error: {
|
|
1044
|
+
message: string;
|
|
1045
|
+
code: "from-not-owned";
|
|
1046
|
+
};
|
|
1047
|
+
} | {
|
|
1048
|
+
type: "vibes.diy.res-error";
|
|
1049
|
+
error: {
|
|
1050
|
+
message: string;
|
|
1051
|
+
code: "from-carry-failed";
|
|
1052
|
+
};
|
|
1053
|
+
} | {
|
|
1054
|
+
type: "vibes.diy.res-error";
|
|
1055
|
+
error: {
|
|
1056
|
+
message: string;
|
|
1057
|
+
code: "auto-enhance-off";
|
|
1058
|
+
};
|
|
1059
|
+
} | {
|
|
1060
|
+
type: "vibes-diy.cli.res-edit";
|
|
1061
|
+
appSlug: string;
|
|
1062
|
+
ownerHandle: string;
|
|
1063
|
+
url: string;
|
|
1064
|
+
directory: string;
|
|
1065
|
+
restyled?: boolean | undefined;
|
|
1066
|
+
fsId?: string | undefined;
|
|
1022
1067
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1023
1068
|
type: "vibes-diy.cli.doctor";
|
|
1024
1069
|
apiUrl: string;
|
|
@@ -1055,6 +1100,25 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1055
1100
|
defaultHandle?: string | undefined;
|
|
1056
1101
|
handles: string[];
|
|
1057
1102
|
detail?: string | undefined;
|
|
1103
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1104
|
+
type: "vibes-diy.cli.pull";
|
|
1105
|
+
appSlug: string;
|
|
1106
|
+
ownerHandle: string;
|
|
1107
|
+
dir: string;
|
|
1108
|
+
apiUrl: string;
|
|
1109
|
+
fsId?: string | undefined;
|
|
1110
|
+
published: boolean;
|
|
1111
|
+
draft: boolean;
|
|
1112
|
+
version?: string | undefined;
|
|
1113
|
+
}, {
|
|
1114
|
+
type: "vibes-diy.cli.res-pull";
|
|
1115
|
+
appSlug: string;
|
|
1116
|
+
ownerHandle: string;
|
|
1117
|
+
directory: string;
|
|
1118
|
+
files: {
|
|
1119
|
+
name: string;
|
|
1120
|
+
size: number;
|
|
1121
|
+
}[];
|
|
1058
1122
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1059
1123
|
type: "vibes-diy.cli.run";
|
|
1060
1124
|
apiUrl: string;
|
|
@@ -1393,8 +1457,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1393
1457
|
appSlug: string;
|
|
1394
1458
|
tool: string;
|
|
1395
1459
|
outcome: {
|
|
1396
|
-
reason: "cancelled" | "needs-confirm";
|
|
1397
|
-
} | {
|
|
1398
1460
|
reason: "ok";
|
|
1399
1461
|
result: unknown;
|
|
1400
1462
|
truncated?: true | undefined;
|
|
@@ -1410,6 +1472,8 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1410
1472
|
errorName: string;
|
|
1411
1473
|
} | {
|
|
1412
1474
|
reason: "no_tool" | "unavailable" | "unknown_outcome";
|
|
1475
|
+
} | {
|
|
1476
|
+
reason: "cancelled" | "needs-confirm";
|
|
1413
1477
|
};
|
|
1414
1478
|
note: string;
|
|
1415
1479
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
@@ -1688,34 +1752,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1688
1752
|
}, {
|
|
1689
1753
|
type: "vibes-diy.cli.res-phone-link-classify";
|
|
1690
1754
|
reaction?: string | undefined;
|
|
1691
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1692
|
-
type: "core-cli.device-id-register";
|
|
1693
|
-
commonName: string;
|
|
1694
|
-
organization: string;
|
|
1695
|
-
locality: string;
|
|
1696
|
-
state: string;
|
|
1697
|
-
country: string;
|
|
1698
|
-
caUrl: string;
|
|
1699
|
-
port: string;
|
|
1700
|
-
timeout: string;
|
|
1701
|
-
forceRenew: boolean;
|
|
1702
|
-
cert?: string | undefined;
|
|
1703
|
-
noBrowser?: boolean | undefined;
|
|
1704
|
-
apiUrl?: string | undefined;
|
|
1705
|
-
expectHandle?: string | undefined;
|
|
1706
|
-
expectUser?: string | undefined;
|
|
1707
|
-
}, {
|
|
1708
|
-
type: "core-cli.res-device-id-register";
|
|
1709
|
-
output: string;
|
|
1710
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1711
|
-
type: "vibes-diy.cli.db.list";
|
|
1712
|
-
apiUrl: string;
|
|
1713
|
-
appSlug: string;
|
|
1714
|
-
ownerHandle: string;
|
|
1715
|
-
admin: boolean;
|
|
1716
|
-
}, {
|
|
1717
|
-
type: "vibes-diy.cli.db.list-res";
|
|
1718
|
-
dbNames: string[];
|
|
1719
1755
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1720
1756
|
type: "vibes-diy.cli.db.get";
|
|
1721
1757
|
apiUrl: string;
|
|
@@ -1730,26 +1766,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1730
1766
|
doc: {
|
|
1731
1767
|
[x: string]: unknown;
|
|
1732
1768
|
};
|
|
1733
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1734
|
-
type: "vibes-diy.cli.db.put";
|
|
1735
|
-
apiUrl: string;
|
|
1736
|
-
appSlug: string;
|
|
1737
|
-
ownerHandle: string;
|
|
1738
|
-
dbName: string;
|
|
1739
|
-
docJson: string;
|
|
1740
|
-
docId: string;
|
|
1741
|
-
admin: boolean;
|
|
1742
|
-
actingHandle: string;
|
|
1743
|
-
files?: string[] | undefined;
|
|
1744
|
-
}, {
|
|
1745
|
-
type: "vibes-diy.cli.db.put-res";
|
|
1746
|
-
id: string;
|
|
1747
|
-
ok: true;
|
|
1748
|
-
files?: {
|
|
1749
|
-
key: string;
|
|
1750
|
-
status: "unchanged" | "uploaded";
|
|
1751
|
-
uploadId: string;
|
|
1752
|
-
}[] | undefined;
|
|
1753
1769
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1754
1770
|
type: "vibes-diy.cli.db.del";
|
|
1755
1771
|
apiUrl: string;
|
|
@@ -1783,25 +1799,10 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1783
1799
|
[x: string]: unknown;
|
|
1784
1800
|
}[];
|
|
1785
1801
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1786
|
-
type: "vibes-diy.cli.db.
|
|
1787
|
-
action: "add" | "remove";
|
|
1802
|
+
type: "vibes-diy.cli.db.subscribe";
|
|
1788
1803
|
apiUrl: string;
|
|
1789
1804
|
appSlug: string;
|
|
1790
1805
|
ownerHandle: string;
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
action: "add" | "remove";
|
|
1794
|
-
appSlug: string;
|
|
1795
|
-
ownerHandle: string;
|
|
1796
|
-
seedFile: "absent" | "invalid" | "present" | "unknown";
|
|
1797
|
-
changed: number;
|
|
1798
|
-
skipped: number;
|
|
1799
|
-
failed: number;
|
|
1800
|
-
perDb: {
|
|
1801
|
-
dbName: string;
|
|
1802
|
-
changed: number;
|
|
1803
|
-
skipped: number;
|
|
1804
|
-
failed: number;
|
|
1805
|
-
}[];
|
|
1806
|
-
}>)[];
|
|
1806
|
+
dbName: string;
|
|
1807
|
+
}, never>)[];
|
|
1807
1808
|
export declare function cmdTsEvento(): import("@adviser/cement").Evento;
|