vibes-diy 14.3.326 → 14.3.328
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 +552 -550
- package/cli/cmds/moderation/index.d.ts +103 -1
- package/cli/cmds/moderation/index.js +46 -5
- package/cli/cmds/run/backend-worker/run-backend-entry.js +37189 -36347
- package/cli/cmds/run/bundle-inputs.json +7 -0
- package/cli/cmds/run/run-bundle.js +37296 -36430
- package/cli/cmds/run/run-schema.generated.d.ts +1 -1
- package/cli/cmds/run/run-schema.generated.js +3 -1
- package/package.json +8 -8
package/cli/cmd-evento.d.ts
CHANGED
|
@@ -2,318 +2,6 @@ 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: "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;
|
|
20
|
-
}, {
|
|
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;
|
|
36
|
-
}[];
|
|
37
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
38
|
-
type: "vibes-diy.cli.put-asset";
|
|
39
|
-
file: string;
|
|
40
|
-
appSlug: string;
|
|
41
|
-
ownerHandle: string;
|
|
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;
|
|
55
|
-
appSlug: string;
|
|
56
|
-
ownerHandle: string;
|
|
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;
|
|
70
|
-
}, {
|
|
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";
|
|
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: "from-not-owned";
|
|
128
|
-
};
|
|
129
|
-
} | {
|
|
130
|
-
type: "vibes.diy.res-error";
|
|
131
|
-
error: {
|
|
132
|
-
message: string;
|
|
133
|
-
code: "from-carry-failed";
|
|
134
|
-
};
|
|
135
|
-
} | {
|
|
136
|
-
type: "vibes.diy.res-error";
|
|
137
|
-
error: {
|
|
138
|
-
message: string;
|
|
139
|
-
code: "auto-enhance-off";
|
|
140
|
-
};
|
|
141
|
-
} | {
|
|
142
|
-
type: "vibes.diy.res-error";
|
|
143
|
-
error: {
|
|
144
|
-
message: string;
|
|
145
|
-
code: "handle-required";
|
|
146
|
-
};
|
|
147
|
-
} | {
|
|
148
|
-
type: "vibes.diy.res-error";
|
|
149
|
-
error: {
|
|
150
|
-
message: string;
|
|
151
|
-
code: "max-app-slugs-reached";
|
|
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;
|
|
163
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
164
|
-
type: "vibes-diy.cli.db.query";
|
|
165
|
-
apiUrl: string;
|
|
166
|
-
appSlug: string;
|
|
167
|
-
ownerHandle: string;
|
|
168
|
-
dbName: string;
|
|
169
|
-
field: string;
|
|
170
|
-
key: string;
|
|
171
|
-
prefix: string;
|
|
172
|
-
range: string;
|
|
173
|
-
limit: number;
|
|
174
|
-
descending: boolean;
|
|
175
|
-
admin: boolean;
|
|
176
|
-
actingHandle: string;
|
|
177
|
-
}, {
|
|
178
|
-
type: "vibes-diy.cli.db.query-res";
|
|
179
|
-
docs: {
|
|
180
|
-
[x: string]: unknown;
|
|
181
|
-
}[];
|
|
182
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
183
|
-
type: "vibes-diy.cli.whoami";
|
|
184
|
-
apiUrl: string;
|
|
185
|
-
}, {
|
|
186
|
-
type: "vibes-diy.cli.res-whoami";
|
|
187
|
-
authenticated: boolean;
|
|
188
|
-
userId?: string | undefined;
|
|
189
|
-
defaultHandle?: string | undefined;
|
|
190
|
-
handles: string[];
|
|
191
|
-
detail?: string | undefined;
|
|
192
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
193
|
-
type: "vibes-diy.cli.app-status";
|
|
194
|
-
appSlug: string;
|
|
195
|
-
ownerHandle: string;
|
|
196
|
-
apiUrl: string;
|
|
197
|
-
}, {
|
|
198
|
-
type: "vibes-diy.cli.res-app-status";
|
|
199
|
-
appSlug: string;
|
|
200
|
-
ownerHandle: string;
|
|
201
|
-
state: "dead" | "healthy" | "overdue" | "running" | "unscheduled";
|
|
202
|
-
intervalMs: number | null;
|
|
203
|
-
armedAt: string | null;
|
|
204
|
-
lastAttemptAt: string | null;
|
|
205
|
-
lastRunAt: string | null;
|
|
206
|
-
lastErrorAt: string | null;
|
|
207
|
-
lastError: string | null;
|
|
208
|
-
attempt: number;
|
|
209
|
-
nextAlarmAt: string | null;
|
|
210
|
-
graceMs: number;
|
|
211
|
-
overdueMs: number;
|
|
212
|
-
healed: boolean;
|
|
213
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
214
|
-
type: "vibes-diy.cli.app-chips";
|
|
215
|
-
appSlug: string;
|
|
216
|
-
ownerHandle: string;
|
|
217
|
-
apiUrl: string;
|
|
218
|
-
chips: (string | {
|
|
219
|
-
label: string;
|
|
220
|
-
gold?: boolean | undefined;
|
|
221
|
-
kind?: "access" | "connect" | "edit" | "pay" | "publish" | "seed" | undefined;
|
|
222
|
-
})[];
|
|
223
|
-
fsId: string;
|
|
224
|
-
}, {
|
|
225
|
-
type: "vibes-diy.cli.res-app-chips";
|
|
226
|
-
appSlug: string;
|
|
227
|
-
ownerHandle: string;
|
|
228
|
-
fsId: string;
|
|
229
|
-
releaseSeq: number;
|
|
230
|
-
chips: string[];
|
|
231
|
-
chipItems?: {
|
|
232
|
-
label: string;
|
|
233
|
-
gold?: boolean | undefined;
|
|
234
|
-
kind?: "access" | "connect" | "edit" | "pay" | "publish" | "seed" | undefined;
|
|
235
|
-
}[] | undefined;
|
|
236
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
237
|
-
type: "vibes-diy.cli.app-anon-write";
|
|
238
|
-
appSlug: string;
|
|
239
|
-
ownerHandle: string;
|
|
240
|
-
apiUrl: string;
|
|
241
|
-
set: "" | "off" | "on";
|
|
242
|
-
}, {
|
|
243
|
-
type: "vibes-diy.cli.res-app-anon-write";
|
|
244
|
-
ownerHandle: string;
|
|
245
|
-
appSlug: string;
|
|
246
|
-
wrote: boolean;
|
|
247
|
-
posture: string;
|
|
248
|
-
anonWrite: "explicit" | "legacy" | "off";
|
|
249
|
-
wildcardWrite: string[];
|
|
250
|
-
restrictedDbs: {
|
|
251
|
-
dbName: string;
|
|
252
|
-
provenance: "platform-default" | "your-pin";
|
|
253
|
-
write: string[];
|
|
254
|
-
}[];
|
|
255
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
256
|
-
type: "vibes-diy.cli.set-unpublish";
|
|
257
|
-
appSlug: string;
|
|
258
|
-
ownerHandle: string;
|
|
259
|
-
unpublish: boolean;
|
|
260
|
-
apiUrl: string;
|
|
261
|
-
}, {
|
|
262
|
-
type: "vibes-diy.cli.res-set-unpublish";
|
|
263
|
-
appSlug: string;
|
|
264
|
-
ownerHandle: string;
|
|
265
|
-
unpublishedAt: string;
|
|
266
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
267
|
-
type: "vibes-diy.cli.publish";
|
|
268
|
-
appSlug: string;
|
|
269
|
-
ownerHandle: string;
|
|
270
|
-
fsId?: string | undefined;
|
|
271
|
-
apiUrl: string;
|
|
272
|
-
}, {
|
|
273
|
-
type: "vibes-diy.cli.res-publish";
|
|
274
|
-
appSlug: string;
|
|
275
|
-
ownerHandle: string;
|
|
276
|
-
fsId: string;
|
|
277
|
-
releaseSeq: number;
|
|
278
|
-
released: boolean;
|
|
279
|
-
restored: boolean;
|
|
280
|
-
autoEnhanceOff?: boolean | undefined;
|
|
281
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
282
|
-
type: "vibes-diy.cli.members";
|
|
283
|
-
apiUrl: string;
|
|
284
|
-
appSlug: string;
|
|
285
|
-
ownerHandle: string;
|
|
286
|
-
op: "add" | "ls" | "rm";
|
|
287
|
-
target?: string | undefined;
|
|
288
|
-
role?: string | undefined;
|
|
289
|
-
}, {
|
|
290
|
-
type: "vibes-diy.cli.members-res";
|
|
291
|
-
op: "add" | "ls" | "rm";
|
|
292
|
-
ownerHandle: string;
|
|
293
|
-
appSlug: string;
|
|
294
|
-
items: {
|
|
295
|
-
who: string;
|
|
296
|
-
kind: "email" | "handle";
|
|
297
|
-
role: string;
|
|
298
|
-
state: "accepted" | "approved" | "pending" | "requested" | "revoked";
|
|
299
|
-
updated: string;
|
|
300
|
-
}[];
|
|
301
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
302
|
-
type: "vibes-diy.cli.moderation";
|
|
303
|
-
apiUrl: string;
|
|
304
|
-
op: "list-reports" | "resolve-report" | "set-publishing-paused" | "status" | "suspend" | "unsuspend";
|
|
305
|
-
reason: string;
|
|
306
|
-
reportId: string;
|
|
307
|
-
userId: string;
|
|
308
|
-
handle: string;
|
|
309
|
-
paused?: boolean | undefined;
|
|
310
|
-
status: string;
|
|
311
|
-
limit: string;
|
|
312
|
-
}, {
|
|
313
|
-
type: "vibes-diy.cli.res-moderation";
|
|
314
|
-
op: string;
|
|
315
|
-
result: unknown;
|
|
316
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
317
5
|
type: "vibes-diy.cli.user-settings";
|
|
318
6
|
apiUrl: string;
|
|
319
7
|
setDefaultHandle?: string | undefined;
|
|
@@ -321,6 +9,52 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
321
9
|
type: "vibes.diy.res-ensure-user-settings";
|
|
322
10
|
userId: string;
|
|
323
11
|
settings: ({
|
|
12
|
+
type: "notifications";
|
|
13
|
+
buildComplete?: boolean | undefined;
|
|
14
|
+
buildFailed?: boolean | undefined;
|
|
15
|
+
vibePublished?: boolean | undefined;
|
|
16
|
+
commentPosted?: boolean | undefined;
|
|
17
|
+
requestApproved?: boolean | undefined;
|
|
18
|
+
requestRevoked?: boolean | undefined;
|
|
19
|
+
vibeRemixed?: boolean | undefined;
|
|
20
|
+
dmReceived?: boolean | undefined;
|
|
21
|
+
memberJoined?: boolean | undefined;
|
|
22
|
+
accessRequested?: boolean | undefined;
|
|
23
|
+
emailDigest?: boolean | undefined;
|
|
24
|
+
retentionEmail?: boolean | undefined;
|
|
25
|
+
followRequest?: boolean | undefined;
|
|
26
|
+
followerAdded?: boolean | undefined;
|
|
27
|
+
followApproved?: boolean | undefined;
|
|
28
|
+
appMessage?: boolean | undefined;
|
|
29
|
+
connectionExpiring?: boolean | undefined;
|
|
30
|
+
assetBlocked?: boolean | undefined;
|
|
31
|
+
assetCheckFailed?: boolean | undefined;
|
|
32
|
+
checkoutUnfinished?: boolean | undefined;
|
|
33
|
+
safetyAlert?: boolean | undefined;
|
|
34
|
+
emailInstant?: boolean | undefined;
|
|
35
|
+
mutes?: {
|
|
36
|
+
vibes?: string[] | undefined;
|
|
37
|
+
handles?: string[] | undefined;
|
|
38
|
+
} | undefined;
|
|
39
|
+
vibeTypes?: {
|
|
40
|
+
vibe: string;
|
|
41
|
+
buildComplete?: boolean | undefined;
|
|
42
|
+
buildFailed?: boolean | undefined;
|
|
43
|
+
vibePublished?: boolean | undefined;
|
|
44
|
+
commentPosted?: boolean | undefined;
|
|
45
|
+
requestApproved?: boolean | undefined;
|
|
46
|
+
requestRevoked?: boolean | undefined;
|
|
47
|
+
vibeRemixed?: boolean | undefined;
|
|
48
|
+
memberJoined?: boolean | undefined;
|
|
49
|
+
accessRequested?: boolean | undefined;
|
|
50
|
+
appMessage?: boolean | undefined;
|
|
51
|
+
assetBlocked?: boolean | undefined;
|
|
52
|
+
assetCheckFailed?: boolean | undefined;
|
|
53
|
+
}[] | undefined;
|
|
54
|
+
agent?: {
|
|
55
|
+
hiddenVibes?: string[] | undefined;
|
|
56
|
+
} | undefined;
|
|
57
|
+
} | {
|
|
324
58
|
type: "sharing";
|
|
325
59
|
grants: {
|
|
326
60
|
grant: "allow" | "deny";
|
|
@@ -438,52 +172,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
438
172
|
avatarCid?: string | undefined;
|
|
439
173
|
displayName?: string | undefined;
|
|
440
174
|
codeMode?: boolean | undefined;
|
|
441
|
-
} | {
|
|
442
|
-
type: "notifications";
|
|
443
|
-
buildComplete?: boolean | undefined;
|
|
444
|
-
buildFailed?: boolean | undefined;
|
|
445
|
-
vibePublished?: boolean | undefined;
|
|
446
|
-
commentPosted?: boolean | undefined;
|
|
447
|
-
requestApproved?: boolean | undefined;
|
|
448
|
-
requestRevoked?: boolean | undefined;
|
|
449
|
-
vibeRemixed?: boolean | undefined;
|
|
450
|
-
dmReceived?: boolean | undefined;
|
|
451
|
-
memberJoined?: boolean | undefined;
|
|
452
|
-
accessRequested?: boolean | undefined;
|
|
453
|
-
emailDigest?: boolean | undefined;
|
|
454
|
-
retentionEmail?: boolean | undefined;
|
|
455
|
-
followRequest?: boolean | undefined;
|
|
456
|
-
followerAdded?: boolean | undefined;
|
|
457
|
-
followApproved?: boolean | undefined;
|
|
458
|
-
appMessage?: boolean | undefined;
|
|
459
|
-
connectionExpiring?: boolean | undefined;
|
|
460
|
-
assetBlocked?: boolean | undefined;
|
|
461
|
-
assetCheckFailed?: boolean | undefined;
|
|
462
|
-
checkoutUnfinished?: boolean | undefined;
|
|
463
|
-
safetyAlert?: boolean | undefined;
|
|
464
|
-
emailInstant?: boolean | undefined;
|
|
465
|
-
mutes?: {
|
|
466
|
-
vibes?: string[] | undefined;
|
|
467
|
-
handles?: string[] | undefined;
|
|
468
|
-
} | undefined;
|
|
469
|
-
vibeTypes?: {
|
|
470
|
-
vibe: string;
|
|
471
|
-
buildComplete?: boolean | undefined;
|
|
472
|
-
buildFailed?: boolean | undefined;
|
|
473
|
-
vibePublished?: boolean | undefined;
|
|
474
|
-
commentPosted?: boolean | undefined;
|
|
475
|
-
requestApproved?: boolean | undefined;
|
|
476
|
-
requestRevoked?: boolean | undefined;
|
|
477
|
-
vibeRemixed?: boolean | undefined;
|
|
478
|
-
memberJoined?: boolean | undefined;
|
|
479
|
-
accessRequested?: 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
175
|
} | {
|
|
488
176
|
type: "egressStatus";
|
|
489
177
|
status: "blessed" | "blocked";
|
|
@@ -587,17 +275,276 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
587
275
|
updated: string;
|
|
588
276
|
created: string;
|
|
589
277
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
590
|
-
type: "vibes-diy.cli.skills";
|
|
278
|
+
type: "vibes-diy.cli.skills";
|
|
279
|
+
}, {
|
|
280
|
+
type: "vibes-diy.cli.res-skills-list";
|
|
281
|
+
skills: {
|
|
282
|
+
name: string;
|
|
283
|
+
description: string;
|
|
284
|
+
}[];
|
|
285
|
+
} | {
|
|
286
|
+
type: "vibes-diy.cli.res-skill-content";
|
|
287
|
+
name: string;
|
|
288
|
+
content: string;
|
|
289
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
290
|
+
type: "vibes-diy.cli.claim-handle";
|
|
291
|
+
apiUrl: string;
|
|
292
|
+
ownerHandle?: string | undefined;
|
|
293
|
+
noDefault?: boolean | undefined;
|
|
294
|
+
}, {
|
|
295
|
+
type: "vibes-diy.cli.res-claim-handle";
|
|
296
|
+
op: "claim" | "suggest";
|
|
297
|
+
ownerHandle?: string | undefined;
|
|
298
|
+
defaultHandleSet?: boolean | undefined;
|
|
299
|
+
defaultSkipped?: boolean | undefined;
|
|
300
|
+
suggestions: string[];
|
|
301
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
302
|
+
type: "vibes-diy.cli.image";
|
|
303
|
+
apiUrl: string;
|
|
304
|
+
prompt: string;
|
|
305
|
+
ownerHandle: string;
|
|
306
|
+
photo: string;
|
|
307
|
+
vibe: string;
|
|
308
|
+
db: string;
|
|
309
|
+
doc: string;
|
|
310
|
+
out: string;
|
|
311
|
+
json: boolean;
|
|
312
|
+
}, {
|
|
313
|
+
type: "vibes-diy.cli.res-image";
|
|
314
|
+
path: string;
|
|
315
|
+
receipt: {
|
|
316
|
+
ok: true;
|
|
317
|
+
picture: {
|
|
318
|
+
url: string;
|
|
319
|
+
mimeType: string;
|
|
320
|
+
name: string;
|
|
321
|
+
size: number;
|
|
322
|
+
ownerHandle: string;
|
|
323
|
+
appSlug: string;
|
|
324
|
+
dbName: string;
|
|
325
|
+
docId: string;
|
|
326
|
+
};
|
|
327
|
+
link?: string | undefined;
|
|
328
|
+
made: {
|
|
329
|
+
prompt: string;
|
|
330
|
+
model: string;
|
|
331
|
+
};
|
|
332
|
+
};
|
|
333
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
334
|
+
type: "vibes-diy.cli.db.list";
|
|
335
|
+
apiUrl: string;
|
|
336
|
+
appSlug: string;
|
|
337
|
+
ownerHandle: string;
|
|
338
|
+
admin: boolean;
|
|
339
|
+
}, {
|
|
340
|
+
type: "vibes-diy.cli.db.list-res";
|
|
341
|
+
dbNames: string[];
|
|
342
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
343
|
+
type: "vibes-diy.cli.db.put";
|
|
344
|
+
apiUrl: string;
|
|
345
|
+
appSlug: string;
|
|
346
|
+
ownerHandle: string;
|
|
347
|
+
dbName: string;
|
|
348
|
+
docJson: string;
|
|
349
|
+
docId: string;
|
|
350
|
+
admin: boolean;
|
|
351
|
+
actingHandle: string;
|
|
352
|
+
files?: string[] | undefined;
|
|
353
|
+
}, {
|
|
354
|
+
type: "vibes-diy.cli.db.put-res";
|
|
355
|
+
id: string;
|
|
356
|
+
ok: true;
|
|
357
|
+
files?: {
|
|
358
|
+
key: string;
|
|
359
|
+
status: "unchanged" | "uploaded";
|
|
360
|
+
uploadId: string;
|
|
361
|
+
}[] | undefined;
|
|
362
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
363
|
+
type: "vibes-diy.cli.db.seed";
|
|
364
|
+
action: "add" | "remove";
|
|
365
|
+
apiUrl: string;
|
|
366
|
+
appSlug: string;
|
|
367
|
+
ownerHandle: string;
|
|
368
|
+
}, {
|
|
369
|
+
type: "vibes-diy.cli.db.seed-res";
|
|
370
|
+
action: "add" | "remove";
|
|
371
|
+
appSlug: string;
|
|
372
|
+
ownerHandle: string;
|
|
373
|
+
seedFile: "absent" | "invalid" | "present" | "unknown";
|
|
374
|
+
changed: number;
|
|
375
|
+
skipped: number;
|
|
376
|
+
failed: number;
|
|
377
|
+
perDb: {
|
|
378
|
+
dbName: string;
|
|
379
|
+
changed: number;
|
|
380
|
+
skipped: number;
|
|
381
|
+
failed: number;
|
|
382
|
+
}[];
|
|
383
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
384
|
+
type: "vibes-diy.cli.app-chats";
|
|
385
|
+
appSlug: string;
|
|
386
|
+
ownerHandle: string;
|
|
387
|
+
chatId?: string | undefined;
|
|
388
|
+
apiUrl: string;
|
|
389
|
+
}, {
|
|
390
|
+
type: "vibes-diy.cli.res-app-chats-list";
|
|
391
|
+
items: {
|
|
392
|
+
chatId: string;
|
|
393
|
+
appSlug: string;
|
|
394
|
+
ownerHandle: string;
|
|
395
|
+
created: string;
|
|
396
|
+
userHandle?: string | undefined;
|
|
397
|
+
}[];
|
|
398
|
+
} | {
|
|
399
|
+
type: "vibes-diy.cli.res-app-chats-detail";
|
|
400
|
+
chatId: string;
|
|
401
|
+
ownerHandle?: string | undefined;
|
|
402
|
+
appSlug?: string | undefined;
|
|
403
|
+
output: string;
|
|
404
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
405
|
+
type: "vibes-diy.cli.list";
|
|
406
|
+
apiUrl: string;
|
|
407
|
+
}, {
|
|
408
|
+
type: "vibes-diy.cli.res-list";
|
|
409
|
+
items: {
|
|
410
|
+
ownerHandle: string;
|
|
411
|
+
appSlug: string;
|
|
412
|
+
updated: string;
|
|
413
|
+
title?: string | undefined;
|
|
414
|
+
icon?: {
|
|
415
|
+
cid: string;
|
|
416
|
+
mime: string;
|
|
417
|
+
} | undefined;
|
|
418
|
+
pinnedAt?: string | undefined;
|
|
419
|
+
neverPublished?: boolean | undefined;
|
|
420
|
+
unpublishedAt?: string | undefined;
|
|
421
|
+
}[];
|
|
422
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
423
|
+
type: "vibes-diy.cli.app-status";
|
|
424
|
+
appSlug: string;
|
|
425
|
+
ownerHandle: string;
|
|
426
|
+
apiUrl: string;
|
|
427
|
+
}, {
|
|
428
|
+
type: "vibes-diy.cli.res-app-status";
|
|
429
|
+
appSlug: string;
|
|
430
|
+
ownerHandle: string;
|
|
431
|
+
state: "dead" | "healthy" | "overdue" | "running" | "unscheduled";
|
|
432
|
+
intervalMs: number | null;
|
|
433
|
+
armedAt: string | null;
|
|
434
|
+
lastAttemptAt: string | null;
|
|
435
|
+
lastRunAt: string | null;
|
|
436
|
+
lastErrorAt: string | null;
|
|
437
|
+
lastError: string | null;
|
|
438
|
+
attempt: number;
|
|
439
|
+
nextAlarmAt: string | null;
|
|
440
|
+
graceMs: number;
|
|
441
|
+
overdueMs: number;
|
|
442
|
+
healed: boolean;
|
|
443
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
444
|
+
type: "vibes-diy.cli.app-chips";
|
|
445
|
+
appSlug: string;
|
|
446
|
+
ownerHandle: string;
|
|
447
|
+
apiUrl: string;
|
|
448
|
+
chips: (string | {
|
|
449
|
+
label: string;
|
|
450
|
+
gold?: boolean | undefined;
|
|
451
|
+
kind?: "access" | "connect" | "edit" | "pay" | "publish" | "seed" | undefined;
|
|
452
|
+
})[];
|
|
453
|
+
fsId: string;
|
|
454
|
+
}, {
|
|
455
|
+
type: "vibes-diy.cli.res-app-chips";
|
|
456
|
+
appSlug: string;
|
|
457
|
+
ownerHandle: string;
|
|
458
|
+
fsId: string;
|
|
459
|
+
releaseSeq: number;
|
|
460
|
+
chips: string[];
|
|
461
|
+
chipItems?: {
|
|
462
|
+
label: string;
|
|
463
|
+
gold?: boolean | undefined;
|
|
464
|
+
kind?: "access" | "connect" | "edit" | "pay" | "publish" | "seed" | undefined;
|
|
465
|
+
}[] | undefined;
|
|
466
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
467
|
+
type: "vibes-diy.cli.app-anon-write";
|
|
468
|
+
appSlug: string;
|
|
469
|
+
ownerHandle: string;
|
|
470
|
+
apiUrl: string;
|
|
471
|
+
set: "" | "off" | "on";
|
|
591
472
|
}, {
|
|
592
|
-
type: "vibes-diy.cli.res-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
473
|
+
type: "vibes-diy.cli.res-app-anon-write";
|
|
474
|
+
ownerHandle: string;
|
|
475
|
+
appSlug: string;
|
|
476
|
+
wrote: boolean;
|
|
477
|
+
posture: string;
|
|
478
|
+
anonWrite: "explicit" | "legacy" | "off";
|
|
479
|
+
wildcardWrite: string[];
|
|
480
|
+
restrictedDbs: {
|
|
481
|
+
dbName: string;
|
|
482
|
+
provenance: "platform-default" | "your-pin";
|
|
483
|
+
write: string[];
|
|
484
|
+
}[];
|
|
485
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
486
|
+
type: "vibes-diy.cli.set-unpublish";
|
|
487
|
+
appSlug: string;
|
|
488
|
+
ownerHandle: string;
|
|
489
|
+
unpublish: boolean;
|
|
490
|
+
apiUrl: string;
|
|
491
|
+
}, {
|
|
492
|
+
type: "vibes-diy.cli.res-set-unpublish";
|
|
493
|
+
appSlug: string;
|
|
494
|
+
ownerHandle: string;
|
|
495
|
+
unpublishedAt: string;
|
|
496
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
497
|
+
type: "vibes-diy.cli.publish";
|
|
498
|
+
appSlug: string;
|
|
499
|
+
ownerHandle: string;
|
|
500
|
+
fsId?: string | undefined;
|
|
501
|
+
apiUrl: string;
|
|
502
|
+
}, {
|
|
503
|
+
type: "vibes-diy.cli.res-publish";
|
|
504
|
+
appSlug: string;
|
|
505
|
+
ownerHandle: string;
|
|
506
|
+
fsId: string;
|
|
507
|
+
releaseSeq: number;
|
|
508
|
+
released: boolean;
|
|
509
|
+
restored: boolean;
|
|
510
|
+
autoEnhanceOff?: boolean | undefined;
|
|
511
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
512
|
+
type: "vibes-diy.cli.members";
|
|
513
|
+
apiUrl: string;
|
|
514
|
+
appSlug: string;
|
|
515
|
+
ownerHandle: string;
|
|
516
|
+
op: "add" | "ls" | "rm";
|
|
517
|
+
target?: string | undefined;
|
|
518
|
+
role?: string | undefined;
|
|
519
|
+
}, {
|
|
520
|
+
type: "vibes-diy.cli.members-res";
|
|
521
|
+
op: "add" | "ls" | "rm";
|
|
522
|
+
ownerHandle: string;
|
|
523
|
+
appSlug: string;
|
|
524
|
+
items: {
|
|
525
|
+
who: string;
|
|
526
|
+
kind: "email" | "handle";
|
|
527
|
+
role: string;
|
|
528
|
+
state: "accepted" | "approved" | "pending" | "requested" | "revoked";
|
|
529
|
+
updated: string;
|
|
596
530
|
}[];
|
|
597
|
-
} | {
|
|
598
|
-
type: "vibes-diy.cli.
|
|
599
|
-
|
|
600
|
-
|
|
531
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
532
|
+
type: "vibes-diy.cli.moderation";
|
|
533
|
+
apiUrl: string;
|
|
534
|
+
op: "list-flags" | "list-reports" | "resolve-report" | "set-publishing-paused" | "status" | "suspend" | "triage-flag" | "unsuspend";
|
|
535
|
+
reason: string;
|
|
536
|
+
reportId: string;
|
|
537
|
+
userId: string;
|
|
538
|
+
handle: string;
|
|
539
|
+
paused?: boolean | undefined;
|
|
540
|
+
status: string;
|
|
541
|
+
limit: string;
|
|
542
|
+
flagId?: string | undefined;
|
|
543
|
+
triage?: string | undefined;
|
|
544
|
+
}, {
|
|
545
|
+
type: "vibes-diy.cli.res-moderation";
|
|
546
|
+
op: string;
|
|
547
|
+
result: unknown;
|
|
601
548
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
602
549
|
type: "use-vibes.cli.themes";
|
|
603
550
|
}, {
|
|
@@ -610,27 +557,195 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
610
557
|
type: "use-vibes.cli.res-theme-content";
|
|
611
558
|
slug: string;
|
|
612
559
|
content: string;
|
|
560
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
561
|
+
type: "vibes-diy.cli.variety";
|
|
562
|
+
}, {
|
|
563
|
+
type: "vibes-diy.cli.res-variety-list";
|
|
564
|
+
grammar: string;
|
|
565
|
+
flourishCount: number;
|
|
566
|
+
archetypes: {
|
|
567
|
+
id: string;
|
|
568
|
+
guidance: string;
|
|
569
|
+
}[];
|
|
570
|
+
flourishes: {
|
|
571
|
+
id: string;
|
|
572
|
+
guidance: string;
|
|
573
|
+
}[];
|
|
613
574
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
614
575
|
type: "vibes-diy.cli.system";
|
|
615
576
|
}, {
|
|
616
577
|
type: "vibes-diy.cli.res-system";
|
|
617
578
|
systemPrompt: string;
|
|
618
579
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
619
|
-
type: "vibes-diy.cli.push";
|
|
620
|
-
mode: string;
|
|
580
|
+
type: "vibes-diy.cli.push";
|
|
581
|
+
mode: string;
|
|
582
|
+
appSlug: string;
|
|
583
|
+
ownerHandle: string;
|
|
584
|
+
access?: string | undefined;
|
|
585
|
+
privateMode?: boolean | undefined;
|
|
586
|
+
noAccessFn?: boolean | undefined;
|
|
587
|
+
message?: string | undefined;
|
|
588
|
+
from?: {
|
|
589
|
+
ownerHandle: string;
|
|
590
|
+
appSlug: string;
|
|
591
|
+
} | undefined;
|
|
592
|
+
apiKey?: string | undefined;
|
|
593
|
+
apiUrl: string;
|
|
594
|
+
idleTimeoutMs?: number | undefined;
|
|
595
|
+
}, {
|
|
596
|
+
appSlug: string;
|
|
597
|
+
ownerHandle: string;
|
|
598
|
+
mode: "dev" | "production";
|
|
599
|
+
fsId: string;
|
|
600
|
+
type: "vibes.diy.res-ensure-app-slug";
|
|
601
|
+
env: Record<string, string>;
|
|
602
|
+
fileSystem: {
|
|
603
|
+
fileName: string;
|
|
604
|
+
mimeType: string;
|
|
605
|
+
assetId: string;
|
|
606
|
+
assetURI: string;
|
|
607
|
+
transform?: {
|
|
608
|
+
type: "jsx-to-js";
|
|
609
|
+
transformedAssetId: string;
|
|
610
|
+
} | {
|
|
611
|
+
type: "imports";
|
|
612
|
+
importMapAssetId: string;
|
|
613
|
+
} | {
|
|
614
|
+
type: "import-map";
|
|
615
|
+
fromAssetIds: string[];
|
|
616
|
+
} | {
|
|
617
|
+
type: "transformed";
|
|
618
|
+
action: "jsx-to-js";
|
|
619
|
+
transformedAssetId: string;
|
|
620
|
+
} | {
|
|
621
|
+
type: "tailwind-css";
|
|
622
|
+
} | undefined;
|
|
623
|
+
entryPoint?: boolean | undefined;
|
|
624
|
+
size: number;
|
|
625
|
+
kind?: "asset" | undefined;
|
|
626
|
+
uploadId?: string | undefined;
|
|
627
|
+
}[];
|
|
628
|
+
autoEnhanceOff?: true | undefined;
|
|
629
|
+
appCreated?: true | undefined;
|
|
630
|
+
} | {
|
|
631
|
+
type: "vibes.diy.res-error";
|
|
632
|
+
error: {
|
|
633
|
+
message: string;
|
|
634
|
+
code: "require-login";
|
|
635
|
+
};
|
|
636
|
+
} | {
|
|
637
|
+
type: "vibes.diy.res-error";
|
|
638
|
+
error: {
|
|
639
|
+
message: string;
|
|
640
|
+
code: "user-slug-invalid";
|
|
641
|
+
};
|
|
642
|
+
} | {
|
|
643
|
+
type: "vibes.diy.res-error";
|
|
644
|
+
error: {
|
|
645
|
+
message: string;
|
|
646
|
+
code: "app-slug-invalid";
|
|
647
|
+
};
|
|
648
|
+
} | {
|
|
649
|
+
type: "vibes.diy.res-error";
|
|
650
|
+
error: {
|
|
651
|
+
message: string;
|
|
652
|
+
code: "max-app-slugs-reached";
|
|
653
|
+
};
|
|
654
|
+
} | {
|
|
655
|
+
type: "vibes.diy.res-error";
|
|
656
|
+
error: {
|
|
657
|
+
message: string;
|
|
658
|
+
code: "handle-required";
|
|
659
|
+
};
|
|
660
|
+
} | {
|
|
661
|
+
type: "vibes.diy.res-error";
|
|
662
|
+
error: {
|
|
663
|
+
message: string;
|
|
664
|
+
code: "from-not-owned";
|
|
665
|
+
};
|
|
666
|
+
} | {
|
|
667
|
+
type: "vibes.diy.res-error";
|
|
668
|
+
error: {
|
|
669
|
+
message: string;
|
|
670
|
+
code: "from-carry-failed";
|
|
671
|
+
};
|
|
672
|
+
} | {
|
|
673
|
+
type: "vibes.diy.res-error";
|
|
674
|
+
error: {
|
|
675
|
+
message: string;
|
|
676
|
+
code: "auto-enhance-off";
|
|
677
|
+
};
|
|
678
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
679
|
+
type: "vibes-diy.cli.remix";
|
|
680
|
+
srcUserSlug: string;
|
|
681
|
+
srcAppSlug: string;
|
|
682
|
+
dstOwnerHandle?: string | undefined;
|
|
683
|
+
dstAppSlug?: string | undefined;
|
|
684
|
+
published: boolean;
|
|
685
|
+
settingsOnly: boolean;
|
|
686
|
+
apiUrl: string;
|
|
687
|
+
}, {
|
|
688
|
+
type: "vibes-diy.cli.res-remix";
|
|
689
|
+
ownerHandle: string;
|
|
690
|
+
appSlug: string;
|
|
691
|
+
url: string;
|
|
692
|
+
carried?: string[] | undefined;
|
|
693
|
+
skippedPresent?: string[] | undefined;
|
|
694
|
+
chatId?: string | undefined;
|
|
695
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
696
|
+
type: "vibes-diy.cli.agent";
|
|
697
|
+
apiUrl: string;
|
|
698
|
+
prompt: string;
|
|
699
|
+
ownerHandle: string;
|
|
700
|
+
followMs: number;
|
|
701
|
+
json: boolean;
|
|
702
|
+
chatId?: string | undefined;
|
|
703
|
+
newChat?: boolean | undefined;
|
|
704
|
+
images?: string[] | undefined;
|
|
705
|
+
byText?: boolean | undefined;
|
|
706
|
+
}, {
|
|
707
|
+
type: "vibes-diy.cli.res-agent";
|
|
708
|
+
ownerHandle: string;
|
|
709
|
+
chatId: string;
|
|
710
|
+
messages: string[];
|
|
711
|
+
shorts?: string[] | undefined;
|
|
712
|
+
links: string[];
|
|
713
|
+
idle: boolean;
|
|
714
|
+
reactions?: string[] | undefined;
|
|
715
|
+
error?: string | undefined;
|
|
716
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
717
|
+
type: "vibes-diy.cli.put-asset";
|
|
718
|
+
file: string;
|
|
719
|
+
appSlug: string;
|
|
720
|
+
ownerHandle: string;
|
|
721
|
+
apiUrl: string;
|
|
722
|
+
mimeType: string;
|
|
723
|
+
verifyFetch: boolean;
|
|
724
|
+
}, {
|
|
725
|
+
type: "vibes-diy.cli.res-put-asset";
|
|
726
|
+
cid: string;
|
|
727
|
+
getURL: string;
|
|
728
|
+
size: number;
|
|
729
|
+
uploadId: string;
|
|
730
|
+
verified?: boolean | undefined;
|
|
731
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
732
|
+
type: "vibes-diy.cli.generate";
|
|
733
|
+
prompt: string;
|
|
621
734
|
appSlug: string;
|
|
622
735
|
ownerHandle: string;
|
|
623
|
-
|
|
624
|
-
privateMode?: boolean | undefined;
|
|
736
|
+
instantJoin?: boolean | undefined;
|
|
625
737
|
noAccessFn?: boolean | undefined;
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
ownerHandle: string;
|
|
629
|
-
appSlug: string;
|
|
630
|
-
} | undefined;
|
|
631
|
-
apiKey?: string | undefined;
|
|
738
|
+
privateMode?: boolean | undefined;
|
|
739
|
+
verbose: boolean;
|
|
632
740
|
apiUrl: string;
|
|
633
|
-
|
|
741
|
+
focusPath?: string | undefined;
|
|
742
|
+
model?: string | undefined;
|
|
743
|
+
builderModel?: string | undefined;
|
|
744
|
+
apiKey?: string | undefined;
|
|
745
|
+
variety?: string | undefined;
|
|
746
|
+
record?: string | undefined;
|
|
747
|
+
style?: string | undefined;
|
|
748
|
+
fastPass?: boolean | undefined;
|
|
634
749
|
}, {
|
|
635
750
|
appSlug: string;
|
|
636
751
|
ownerHandle: string;
|
|
@@ -688,135 +803,42 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
688
803
|
type: "vibes.diy.res-error";
|
|
689
804
|
error: {
|
|
690
805
|
message: string;
|
|
691
|
-
code: "
|
|
806
|
+
code: "max-app-slugs-reached";
|
|
692
807
|
};
|
|
693
808
|
} | {
|
|
694
809
|
type: "vibes.diy.res-error";
|
|
695
810
|
error: {
|
|
696
811
|
message: string;
|
|
697
|
-
code: "
|
|
812
|
+
code: "handle-required";
|
|
698
813
|
};
|
|
699
814
|
} | {
|
|
700
815
|
type: "vibes.diy.res-error";
|
|
701
816
|
error: {
|
|
702
817
|
message: string;
|
|
703
|
-
code: "
|
|
818
|
+
code: "from-not-owned";
|
|
704
819
|
};
|
|
705
820
|
} | {
|
|
706
821
|
type: "vibes.diy.res-error";
|
|
707
822
|
error: {
|
|
708
823
|
message: string;
|
|
709
|
-
code: "
|
|
824
|
+
code: "from-carry-failed";
|
|
710
825
|
};
|
|
711
826
|
} | {
|
|
712
827
|
type: "vibes.diy.res-error";
|
|
713
828
|
error: {
|
|
714
829
|
message: string;
|
|
715
|
-
code: "
|
|
716
|
-
};
|
|
717
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
718
|
-
type: "vibes-diy.cli.remix";
|
|
719
|
-
srcUserSlug: string;
|
|
720
|
-
srcAppSlug: string;
|
|
721
|
-
dstOwnerHandle?: string | undefined;
|
|
722
|
-
dstAppSlug?: string | undefined;
|
|
723
|
-
published: boolean;
|
|
724
|
-
settingsOnly: boolean;
|
|
725
|
-
apiUrl: string;
|
|
726
|
-
}, {
|
|
727
|
-
type: "vibes-diy.cli.res-remix";
|
|
728
|
-
ownerHandle: string;
|
|
729
|
-
appSlug: string;
|
|
730
|
-
url: string;
|
|
731
|
-
carried?: string[] | undefined;
|
|
732
|
-
skippedPresent?: string[] | undefined;
|
|
733
|
-
chatId?: string | undefined;
|
|
734
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
735
|
-
type: "vibes-diy.cli.claim-handle";
|
|
736
|
-
apiUrl: string;
|
|
737
|
-
ownerHandle?: string | undefined;
|
|
738
|
-
noDefault?: boolean | undefined;
|
|
739
|
-
}, {
|
|
740
|
-
type: "vibes-diy.cli.res-claim-handle";
|
|
741
|
-
op: "claim" | "suggest";
|
|
742
|
-
ownerHandle?: string | undefined;
|
|
743
|
-
defaultHandleSet?: boolean | undefined;
|
|
744
|
-
defaultSkipped?: boolean | undefined;
|
|
745
|
-
suggestions: string[];
|
|
746
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
747
|
-
type: "vibes-diy.cli.agent";
|
|
748
|
-
apiUrl: string;
|
|
749
|
-
prompt: string;
|
|
750
|
-
ownerHandle: string;
|
|
751
|
-
followMs: number;
|
|
752
|
-
json: boolean;
|
|
753
|
-
chatId?: string | undefined;
|
|
754
|
-
newChat?: boolean | undefined;
|
|
755
|
-
images?: string[] | undefined;
|
|
756
|
-
byText?: boolean | undefined;
|
|
757
|
-
}, {
|
|
758
|
-
type: "vibes-diy.cli.res-agent";
|
|
759
|
-
ownerHandle: string;
|
|
760
|
-
chatId: string;
|
|
761
|
-
messages: string[];
|
|
762
|
-
shorts?: string[] | undefined;
|
|
763
|
-
links: string[];
|
|
764
|
-
idle: boolean;
|
|
765
|
-
reactions?: string[] | undefined;
|
|
766
|
-
error?: string | undefined;
|
|
767
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
768
|
-
type: "vibes-diy.cli.image";
|
|
769
|
-
apiUrl: string;
|
|
770
|
-
prompt: string;
|
|
771
|
-
ownerHandle: string;
|
|
772
|
-
photo: string;
|
|
773
|
-
vibe: string;
|
|
774
|
-
db: string;
|
|
775
|
-
doc: string;
|
|
776
|
-
out: string;
|
|
777
|
-
json: boolean;
|
|
778
|
-
}, {
|
|
779
|
-
type: "vibes-diy.cli.res-image";
|
|
780
|
-
path: string;
|
|
781
|
-
receipt: {
|
|
782
|
-
ok: true;
|
|
783
|
-
picture: {
|
|
784
|
-
url: string;
|
|
785
|
-
mimeType: string;
|
|
786
|
-
name: string;
|
|
787
|
-
size: number;
|
|
788
|
-
ownerHandle: string;
|
|
789
|
-
appSlug: string;
|
|
790
|
-
dbName: string;
|
|
791
|
-
docId: string;
|
|
792
|
-
};
|
|
793
|
-
link?: string | undefined;
|
|
794
|
-
made: {
|
|
795
|
-
prompt: string;
|
|
796
|
-
model: string;
|
|
797
|
-
};
|
|
830
|
+
code: "auto-enhance-off";
|
|
798
831
|
};
|
|
799
|
-
}
|
|
800
|
-
type: "vibes-diy.cli.
|
|
832
|
+
} | {
|
|
833
|
+
type: "vibes-diy.cli.res-generate";
|
|
801
834
|
appSlug: string;
|
|
802
835
|
ownerHandle: string;
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
appSlug: string;
|
|
810
|
-
ownerHandle: string;
|
|
811
|
-
created: string;
|
|
812
|
-
userHandle?: string | undefined;
|
|
813
|
-
}[];
|
|
814
|
-
} | {
|
|
815
|
-
type: "vibes-diy.cli.res-app-chats-detail";
|
|
816
|
-
chatId: string;
|
|
817
|
-
ownerHandle?: string | undefined;
|
|
818
|
-
appSlug?: string | undefined;
|
|
819
|
-
output: string;
|
|
836
|
+
url: string;
|
|
837
|
+
directory: string;
|
|
838
|
+
release?: "not-visible" | "published" | "version-locked" | undefined;
|
|
839
|
+
turns?: number | undefined;
|
|
840
|
+
publish?: "kept-private-no-access-fn" | "private" | "published" | undefined;
|
|
841
|
+
posture?: "gated" | "open" | "private" | undefined;
|
|
820
842
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
821
843
|
type: "vibes-diy.cli.codegen-log";
|
|
822
844
|
appSlug: string;
|
|
@@ -923,31 +945,31 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
923
945
|
type: "vibes.diy.res-error";
|
|
924
946
|
error: {
|
|
925
947
|
message: string;
|
|
926
|
-
code: "
|
|
948
|
+
code: "max-app-slugs-reached";
|
|
927
949
|
};
|
|
928
950
|
} | {
|
|
929
951
|
type: "vibes.diy.res-error";
|
|
930
952
|
error: {
|
|
931
953
|
message: string;
|
|
932
|
-
code: "
|
|
954
|
+
code: "handle-required";
|
|
933
955
|
};
|
|
934
956
|
} | {
|
|
935
957
|
type: "vibes.diy.res-error";
|
|
936
958
|
error: {
|
|
937
959
|
message: string;
|
|
938
|
-
code: "
|
|
960
|
+
code: "from-not-owned";
|
|
939
961
|
};
|
|
940
962
|
} | {
|
|
941
963
|
type: "vibes.diy.res-error";
|
|
942
964
|
error: {
|
|
943
965
|
message: string;
|
|
944
|
-
code: "
|
|
966
|
+
code: "from-carry-failed";
|
|
945
967
|
};
|
|
946
968
|
} | {
|
|
947
969
|
type: "vibes.diy.res-error";
|
|
948
970
|
error: {
|
|
949
971
|
message: string;
|
|
950
|
-
code: "
|
|
972
|
+
code: "auto-enhance-off";
|
|
951
973
|
};
|
|
952
974
|
} | {
|
|
953
975
|
type: "vibes-diy.cli.res-edit";
|
|
@@ -957,24 +979,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
957
979
|
directory: string;
|
|
958
980
|
restyled?: boolean | undefined;
|
|
959
981
|
fsId?: string | undefined;
|
|
960
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
961
|
-
type: "vibes-diy.cli.list";
|
|
962
|
-
apiUrl: string;
|
|
963
|
-
}, {
|
|
964
|
-
type: "vibes-diy.cli.res-list";
|
|
965
|
-
items: {
|
|
966
|
-
ownerHandle: string;
|
|
967
|
-
appSlug: string;
|
|
968
|
-
updated: string;
|
|
969
|
-
title?: string | undefined;
|
|
970
|
-
icon?: {
|
|
971
|
-
cid: string;
|
|
972
|
-
mime: string;
|
|
973
|
-
} | undefined;
|
|
974
|
-
pinnedAt?: string | undefined;
|
|
975
|
-
neverPublished?: boolean | undefined;
|
|
976
|
-
unpublishedAt?: string | undefined;
|
|
977
|
-
}[];
|
|
978
982
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
979
983
|
type: "vibes-diy.cli.doctor";
|
|
980
984
|
apiUrl: string;
|
|
@@ -1001,6 +1005,16 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1001
1005
|
detail: string;
|
|
1002
1006
|
ms?: number | undefined;
|
|
1003
1007
|
} | undefined;
|
|
1008
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1009
|
+
type: "vibes-diy.cli.whoami";
|
|
1010
|
+
apiUrl: string;
|
|
1011
|
+
}, {
|
|
1012
|
+
type: "vibes-diy.cli.res-whoami";
|
|
1013
|
+
authenticated: boolean;
|
|
1014
|
+
userId?: string | undefined;
|
|
1015
|
+
defaultHandle?: string | undefined;
|
|
1016
|
+
handles: string[];
|
|
1017
|
+
detail?: string | undefined;
|
|
1004
1018
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1005
1019
|
type: "vibes-diy.cli.pull";
|
|
1006
1020
|
appSlug: string;
|
|
@@ -1535,14 +1549,24 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1535
1549
|
type: "vibes-diy.cli.res-phone-link-classify";
|
|
1536
1550
|
reaction?: string | undefined;
|
|
1537
1551
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1538
|
-
type: "
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1552
|
+
type: "core-cli.device-id-register";
|
|
1553
|
+
commonName: string;
|
|
1554
|
+
organization: string;
|
|
1555
|
+
locality: string;
|
|
1556
|
+
state: string;
|
|
1557
|
+
country: string;
|
|
1558
|
+
caUrl: string;
|
|
1559
|
+
port: string;
|
|
1560
|
+
timeout: string;
|
|
1561
|
+
forceRenew: boolean;
|
|
1562
|
+
cert?: string | undefined;
|
|
1563
|
+
noBrowser?: boolean | undefined;
|
|
1564
|
+
apiUrl?: string | undefined;
|
|
1565
|
+
expectHandle?: string | undefined;
|
|
1566
|
+
expectUser?: string | undefined;
|
|
1543
1567
|
}, {
|
|
1544
|
-
type: "
|
|
1545
|
-
|
|
1568
|
+
type: "core-cli.res-device-id-register";
|
|
1569
|
+
output: string;
|
|
1546
1570
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1547
1571
|
type: "vibes-diy.cli.db.get";
|
|
1548
1572
|
apiUrl: string;
|
|
@@ -1558,64 +1582,42 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1558
1582
|
[x: string]: unknown;
|
|
1559
1583
|
};
|
|
1560
1584
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1561
|
-
type: "vibes-diy.cli.db.
|
|
1585
|
+
type: "vibes-diy.cli.db.del";
|
|
1562
1586
|
apiUrl: string;
|
|
1563
1587
|
appSlug: string;
|
|
1564
1588
|
ownerHandle: string;
|
|
1565
1589
|
dbName: string;
|
|
1566
|
-
docJson: string;
|
|
1567
1590
|
docId: string;
|
|
1568
1591
|
admin: boolean;
|
|
1569
1592
|
actingHandle: string;
|
|
1570
|
-
files?: string[] | undefined;
|
|
1571
1593
|
}, {
|
|
1572
|
-
type: "vibes-diy.cli.db.
|
|
1594
|
+
type: "vibes-diy.cli.db.del-res";
|
|
1573
1595
|
id: string;
|
|
1574
1596
|
ok: true;
|
|
1575
|
-
files?: {
|
|
1576
|
-
key: string;
|
|
1577
|
-
status: "unchanged" | "uploaded";
|
|
1578
|
-
uploadId: string;
|
|
1579
|
-
}[] | undefined;
|
|
1580
1597
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1581
|
-
type: "vibes-diy.cli.db.
|
|
1598
|
+
type: "vibes-diy.cli.db.query";
|
|
1582
1599
|
apiUrl: string;
|
|
1583
1600
|
appSlug: string;
|
|
1584
1601
|
ownerHandle: string;
|
|
1585
1602
|
dbName: string;
|
|
1586
|
-
|
|
1603
|
+
field: string;
|
|
1604
|
+
key: string;
|
|
1605
|
+
prefix: string;
|
|
1606
|
+
range: string;
|
|
1607
|
+
limit: number;
|
|
1608
|
+
descending: boolean;
|
|
1587
1609
|
admin: boolean;
|
|
1588
1610
|
actingHandle: string;
|
|
1589
1611
|
}, {
|
|
1590
|
-
type: "vibes-diy.cli.db.
|
|
1591
|
-
|
|
1592
|
-
|
|
1612
|
+
type: "vibes-diy.cli.db.query-res";
|
|
1613
|
+
docs: {
|
|
1614
|
+
[x: string]: unknown;
|
|
1615
|
+
}[];
|
|
1593
1616
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1594
1617
|
type: "vibes-diy.cli.db.subscribe";
|
|
1595
1618
|
apiUrl: string;
|
|
1596
1619
|
appSlug: string;
|
|
1597
1620
|
ownerHandle: string;
|
|
1598
1621
|
dbName: string;
|
|
1599
|
-
}, never>
|
|
1600
|
-
type: "vibes-diy.cli.db.seed";
|
|
1601
|
-
action: "add" | "remove";
|
|
1602
|
-
apiUrl: string;
|
|
1603
|
-
appSlug: string;
|
|
1604
|
-
ownerHandle: string;
|
|
1605
|
-
}, {
|
|
1606
|
-
type: "vibes-diy.cli.db.seed-res";
|
|
1607
|
-
action: "add" | "remove";
|
|
1608
|
-
appSlug: string;
|
|
1609
|
-
ownerHandle: string;
|
|
1610
|
-
seedFile: "absent" | "invalid" | "present" | "unknown";
|
|
1611
|
-
changed: number;
|
|
1612
|
-
skipped: number;
|
|
1613
|
-
failed: number;
|
|
1614
|
-
perDb: {
|
|
1615
|
-
dbName: string;
|
|
1616
|
-
changed: number;
|
|
1617
|
-
skipped: number;
|
|
1618
|
-
failed: number;
|
|
1619
|
-
}[];
|
|
1620
|
-
}>)[];
|
|
1622
|
+
}, never>)[];
|
|
1621
1623
|
export declare function cmdTsEvento(): import("@adviser/cement").Evento;
|