vibes-diy 14.3.77 → 14.3.78
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 +494 -464
- package/cli/cmd-evento.js +2 -1
- package/cli/cmd-evento.js.map +1 -1
- package/cli/cmds/app/chips-cmd.d.ts +12 -1
- package/cli/cmds/app/chips-cmd.js +22 -5
- package/cli/cmds/app/chips-cmd.js.map +1 -1
- package/cli/cmds/app/chips-render.test.js +23 -1
- package/cli/cmds/app/chips-render.test.js.map +1 -1
- package/cli/cmds/db/index.d.ts +65 -0
- package/cli/cmds/db/index.js +3 -0
- package/cli/cmds/db/index.js.map +1 -1
- package/cli/cmds/db/seed-cmd.d.ts +92 -0
- package/cli/cmds/db/seed-cmd.js +166 -0
- package/cli/cmds/db/seed-cmd.js.map +1 -0
- package/cli/cmds/db/seed-cmd.test.d.ts +1 -0
- package/cli/cmds/db/seed-cmd.test.js +100 -0
- package/cli/cmds/db/seed-cmd.test.js.map +1 -0
- package/cli/cmds/follow-chat-build.js +7 -2
- package/cli/cmds/follow-chat-build.js.map +1 -1
- package/cli/cmds/follow-chat-build.test.js +17 -0
- package/cli/cmds/follow-chat-build.test.js.map +1 -1
- package/cli/cmds/mcp-cmd.js +18 -0
- package/cli/cmds/mcp-cmd.js.map +1 -1
- package/cli/cmds/mcp-cmd.test.js +64 -2
- package/cli/cmds/mcp-cmd.test.js.map +1 -1
- package/cli/main.js +11 -1
- package/cli/main.js.map +1 -1
- package/package.json +8 -8
package/cli/cmd-evento.d.ts
CHANGED
|
@@ -2,434 +2,13 @@ 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
|
-
}, {
|
|
16
|
-
type: "core-cli.res-device-id-register";
|
|
17
|
-
output: string;
|
|
18
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
19
|
-
type: "vibes-diy.cli.system";
|
|
20
|
-
}, {
|
|
21
|
-
type: "vibes-diy.cli.res-system";
|
|
22
|
-
systemPrompt: string;
|
|
23
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
24
|
-
type: "vibes-diy.cli.remix";
|
|
25
|
-
srcUserSlug: string;
|
|
26
|
-
srcAppSlug: string;
|
|
27
|
-
dstOwnerHandle?: string | undefined;
|
|
28
|
-
dstAppSlug?: string | undefined;
|
|
29
|
-
published: boolean;
|
|
30
|
-
settingsOnly: boolean;
|
|
31
|
-
apiUrl: string;
|
|
32
|
-
}, {
|
|
33
|
-
type: "vibes-diy.cli.res-remix";
|
|
34
|
-
ownerHandle: string;
|
|
35
|
-
appSlug: string;
|
|
36
|
-
url: string;
|
|
37
|
-
carried?: string[] | undefined;
|
|
38
|
-
skippedPresent?: string[] | undefined;
|
|
39
|
-
chatId?: string | undefined;
|
|
40
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
41
|
-
type: "vibes-diy.cli.put-asset";
|
|
42
|
-
file: string;
|
|
43
|
-
appSlug: string;
|
|
44
|
-
ownerHandle: string;
|
|
45
|
-
apiUrl: string;
|
|
46
|
-
mimeType: string;
|
|
47
|
-
verifyFetch: boolean;
|
|
48
|
-
}, {
|
|
49
|
-
type: "vibes-diy.cli.res-put-asset";
|
|
50
|
-
cid: string;
|
|
51
|
-
getURL: string;
|
|
52
|
-
size: number;
|
|
53
|
-
uploadId: string;
|
|
54
|
-
verified?: boolean | undefined;
|
|
55
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
56
|
-
type: "vibes-diy.cli.db.list";
|
|
57
|
-
apiUrl: string;
|
|
58
|
-
appSlug: string;
|
|
59
|
-
ownerHandle: string;
|
|
60
|
-
admin: boolean;
|
|
61
|
-
}, {
|
|
62
|
-
type: "vibes-diy.cli.db.list-res";
|
|
63
|
-
dbNames: string[];
|
|
64
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
65
|
-
type: "vibes-diy.cli.db.query";
|
|
66
|
-
apiUrl: string;
|
|
67
|
-
appSlug: string;
|
|
68
|
-
ownerHandle: string;
|
|
69
|
-
dbName: string;
|
|
70
|
-
field: string;
|
|
71
|
-
key: string;
|
|
72
|
-
prefix: string;
|
|
73
|
-
range: string;
|
|
74
|
-
limit: number;
|
|
75
|
-
descending: boolean;
|
|
76
|
-
admin: boolean;
|
|
77
|
-
actingHandle: string;
|
|
78
|
-
}, {
|
|
79
|
-
type: "vibes-diy.cli.db.query-res";
|
|
80
|
-
docs: {
|
|
81
|
-
[x: string]: unknown;
|
|
82
|
-
}[];
|
|
83
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
84
|
-
type: "vibes-diy.cli.codegen-log";
|
|
85
|
-
appSlug: string;
|
|
86
|
-
ownerHandle: string;
|
|
87
|
-
chatId?: string | undefined;
|
|
88
|
-
apiUrl: string;
|
|
89
|
-
response?: boolean | undefined;
|
|
90
|
-
raw?: boolean | undefined;
|
|
91
|
-
files?: boolean | undefined;
|
|
92
|
-
jsonl?: boolean | undefined;
|
|
93
|
-
user?: boolean | undefined;
|
|
94
|
-
promptId?: string | undefined;
|
|
95
|
-
}, {
|
|
96
|
-
type: "vibes-diy.cli.res-codegen-log-response";
|
|
97
|
-
output: string;
|
|
98
|
-
} | {
|
|
99
|
-
type: "vibes-diy.cli.res-codegen-log-list";
|
|
100
|
-
items: {
|
|
101
|
-
chatId: string;
|
|
102
|
-
appSlug: string;
|
|
103
|
-
ownerHandle: string;
|
|
104
|
-
created: string;
|
|
105
|
-
}[];
|
|
106
|
-
} | {
|
|
107
|
-
type: "vibes-diy.cli.res-codegen-log-detail";
|
|
108
|
-
chatId: string;
|
|
109
|
-
ownerHandle: string;
|
|
110
|
-
appSlug: string;
|
|
111
|
-
prompts: {
|
|
112
|
-
prompt: string;
|
|
113
|
-
fsId: string;
|
|
114
|
-
created: string;
|
|
115
|
-
}[];
|
|
116
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
117
|
-
type: "vibes-diy.cli.edit";
|
|
118
|
-
appSlug: string;
|
|
119
|
-
prompt: string;
|
|
120
|
-
ownerHandle: string;
|
|
121
|
-
instantJoin?: boolean | undefined;
|
|
122
|
-
verbose: boolean;
|
|
123
|
-
dir: string;
|
|
124
|
-
apiUrl: string;
|
|
125
|
-
dryRun: boolean;
|
|
126
|
-
transcript: boolean;
|
|
127
|
-
directBuild?: boolean | undefined;
|
|
128
|
-
focusPath?: string | undefined;
|
|
129
|
-
model?: string | undefined;
|
|
130
|
-
builderModel?: string | undefined;
|
|
131
|
-
apiKey?: string | undefined;
|
|
132
|
-
}, {
|
|
133
|
-
appSlug: string;
|
|
134
|
-
ownerHandle: string;
|
|
135
|
-
mode: "dev" | "production";
|
|
136
|
-
fsId: string;
|
|
137
|
-
type: "vibes.diy.res-ensure-app-slug";
|
|
138
|
-
env: Record<string, string>;
|
|
139
|
-
fileSystem: {
|
|
140
|
-
fileName: string;
|
|
141
|
-
mimeType: string;
|
|
142
|
-
assetId: string;
|
|
143
|
-
assetURI: string;
|
|
144
|
-
transform?: {
|
|
145
|
-
type: "jsx-to-js";
|
|
146
|
-
transformedAssetId: string;
|
|
147
|
-
} | {
|
|
148
|
-
type: "imports";
|
|
149
|
-
importMapAssetId: string;
|
|
150
|
-
} | {
|
|
151
|
-
type: "import-map";
|
|
152
|
-
fromAssetIds: string[];
|
|
153
|
-
} | {
|
|
154
|
-
type: "transformed";
|
|
155
|
-
action: "jsx-to-js";
|
|
156
|
-
transformedAssetId: string;
|
|
157
|
-
} | {
|
|
158
|
-
type: "tailwind-css";
|
|
159
|
-
} | undefined;
|
|
160
|
-
entryPoint?: boolean | undefined;
|
|
161
|
-
size: number;
|
|
162
|
-
kind?: "asset" | undefined;
|
|
163
|
-
uploadId?: string | undefined;
|
|
164
|
-
}[];
|
|
165
|
-
} | {
|
|
166
|
-
type: "vibes.diy.res-error";
|
|
167
|
-
error: {
|
|
168
|
-
message: string;
|
|
169
|
-
code: "require-login";
|
|
170
|
-
};
|
|
171
|
-
} | {
|
|
172
|
-
type: "vibes.diy.res-error";
|
|
173
|
-
error: {
|
|
174
|
-
message: string;
|
|
175
|
-
code: "user-slug-invalid";
|
|
176
|
-
};
|
|
177
|
-
} | {
|
|
178
|
-
type: "vibes.diy.res-error";
|
|
179
|
-
error: {
|
|
180
|
-
message: string;
|
|
181
|
-
code: "app-slug-invalid";
|
|
182
|
-
};
|
|
183
|
-
} | {
|
|
184
|
-
type: "vibes.diy.res-error";
|
|
185
|
-
error: {
|
|
186
|
-
message: string;
|
|
187
|
-
code: "max-app-slugs-reached";
|
|
188
|
-
};
|
|
189
|
-
} | {
|
|
190
|
-
type: "vibes.diy.res-error";
|
|
191
|
-
error: {
|
|
192
|
-
message: string;
|
|
193
|
-
code: "handle-required";
|
|
194
|
-
};
|
|
195
|
-
} | {
|
|
196
|
-
type: "vibes.diy.res-error";
|
|
197
|
-
error: {
|
|
198
|
-
message: string;
|
|
199
|
-
code: "from-not-owned";
|
|
200
|
-
};
|
|
201
|
-
} | {
|
|
202
|
-
type: "vibes.diy.res-error";
|
|
203
|
-
error: {
|
|
204
|
-
message: string;
|
|
205
|
-
code: "from-carry-failed";
|
|
206
|
-
};
|
|
207
|
-
} | {
|
|
208
|
-
type: "vibes-diy.cli.res-edit";
|
|
209
|
-
appSlug: string;
|
|
210
|
-
ownerHandle: string;
|
|
211
|
-
url: string;
|
|
212
|
-
directory: string;
|
|
213
|
-
restyled?: boolean | undefined;
|
|
214
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
215
|
-
type: "vibes-diy.cli.app-status";
|
|
216
|
-
appSlug: string;
|
|
217
|
-
ownerHandle: string;
|
|
218
|
-
apiUrl: string;
|
|
219
|
-
}, {
|
|
220
|
-
type: "vibes-diy.cli.res-app-status";
|
|
221
|
-
appSlug: string;
|
|
222
|
-
ownerHandle: string;
|
|
223
|
-
state: "dead" | "healthy" | "overdue" | "running" | "unscheduled";
|
|
224
|
-
intervalMs: number | null;
|
|
225
|
-
armedAt: string | null;
|
|
226
|
-
lastAttemptAt: string | null;
|
|
227
|
-
lastRunAt: string | null;
|
|
228
|
-
lastErrorAt: string | null;
|
|
229
|
-
lastError: string | null;
|
|
230
|
-
attempt: number;
|
|
231
|
-
nextAlarmAt: string | null;
|
|
232
|
-
graceMs: number;
|
|
233
|
-
overdueMs: number;
|
|
234
|
-
healed: boolean;
|
|
235
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
236
|
-
type: "vibes-diy.cli.app-chips";
|
|
237
|
-
appSlug: string;
|
|
238
|
-
ownerHandle: string;
|
|
239
|
-
apiUrl: string;
|
|
240
|
-
chips: string[];
|
|
241
|
-
fsId: string;
|
|
242
|
-
}, {
|
|
243
|
-
type: "vibes-diy.cli.res-app-chips";
|
|
244
|
-
appSlug: string;
|
|
245
|
-
ownerHandle: string;
|
|
246
|
-
fsId: string;
|
|
247
|
-
releaseSeq: number;
|
|
248
|
-
chips: string[];
|
|
249
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
250
|
-
type: "vibes-diy.cli.app-rearm";
|
|
251
|
-
appSlug: string;
|
|
252
|
-
ownerHandle: string;
|
|
253
|
-
apiUrl: string;
|
|
254
|
-
}, {
|
|
255
|
-
type: "vibes-diy.cli.res-app-rearm";
|
|
256
|
-
appSlug: string;
|
|
257
|
-
ownerHandle: string;
|
|
258
|
-
state: "dead" | "healthy" | "overdue" | "running" | "unscheduled";
|
|
259
|
-
intervalMs: number | null;
|
|
260
|
-
nextAlarmAt: string | null;
|
|
261
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
262
|
-
type: "vibes-diy.cli.app-schedule-off";
|
|
263
|
-
appSlug: string;
|
|
264
|
-
ownerHandle: string;
|
|
265
|
-
apiUrl: string;
|
|
266
|
-
}, {
|
|
267
|
-
type: "vibes-diy.cli.res-app-schedule-off";
|
|
268
|
-
appSlug: string;
|
|
269
|
-
ownerHandle: string;
|
|
270
|
-
state: "dead" | "healthy" | "overdue" | "running" | "unscheduled";
|
|
271
|
-
intervalMs: number | null;
|
|
272
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
273
|
-
type: "vibes-diy.cli.app-logs";
|
|
274
|
-
appSlug: string;
|
|
275
|
-
ownerHandle: string;
|
|
276
|
-
apiUrl: string;
|
|
277
|
-
since: string;
|
|
278
|
-
level: string;
|
|
279
|
-
limit: number;
|
|
280
|
-
tail: boolean;
|
|
281
|
-
}, {
|
|
282
|
-
type: "vibes-diy.cli.res-app-logs";
|
|
283
|
-
appSlug: string;
|
|
284
|
-
ownerHandle: string;
|
|
285
|
-
events: {
|
|
286
|
-
id: string;
|
|
287
|
-
ts: string;
|
|
288
|
-
lane: string;
|
|
289
|
-
level: string;
|
|
290
|
-
trigger: string;
|
|
291
|
-
fsId: string;
|
|
292
|
-
body: string;
|
|
293
|
-
sessionId: string | null;
|
|
294
|
-
viewerHandle: string | null;
|
|
295
|
-
}[];
|
|
296
|
-
priorFsId: string | null;
|
|
297
|
-
nextCursor: string | null;
|
|
298
|
-
tail: boolean;
|
|
299
|
-
latestTs?: string | null | undefined;
|
|
300
|
-
since: string;
|
|
301
|
-
level: string;
|
|
302
|
-
sinceTs?: string | undefined;
|
|
303
|
-
firstPage: boolean;
|
|
304
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
305
|
-
type: "vibes-diy.cli.app-screenshot";
|
|
306
|
-
appSlug: string;
|
|
307
|
-
ownerHandle: string;
|
|
308
|
-
more: string[];
|
|
309
|
-
apiUrl: string;
|
|
310
|
-
}, {
|
|
311
|
-
type: "vibes-diy.cli.res-app-screenshot";
|
|
312
|
-
results: {
|
|
313
|
-
ownerHandle: string;
|
|
314
|
-
appSlug: string;
|
|
315
|
-
fsId: string;
|
|
316
|
-
enqueued: boolean;
|
|
317
|
-
error?: string | undefined;
|
|
318
|
-
}[];
|
|
319
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
320
|
-
type: "vibes-diy.cli.app-look";
|
|
321
|
-
op: "get" | "set";
|
|
322
|
-
appSlug: string;
|
|
323
|
-
ownerHandle: string;
|
|
324
|
-
apiUrl: string;
|
|
325
|
-
theme: string;
|
|
326
|
-
variety: string;
|
|
327
|
-
relayout: boolean;
|
|
328
|
-
}, {
|
|
329
|
-
type: "vibes-diy.cli.res-app-look";
|
|
330
|
-
op: "get" | "set";
|
|
331
|
-
ownerHandle: string;
|
|
332
|
-
appSlug: string;
|
|
333
|
-
url: string;
|
|
334
|
-
theme: string;
|
|
335
|
-
style: string;
|
|
336
|
-
variety?: {
|
|
337
|
-
archetype: string;
|
|
338
|
-
flourishes: string[];
|
|
339
|
-
} | undefined;
|
|
340
|
-
provenance: "changed" | "drawn" | "none" | "pinned";
|
|
341
|
-
varietyChangedAt?: string | undefined;
|
|
342
|
-
wroteTheme: boolean;
|
|
343
|
-
wroteVariety: boolean;
|
|
344
|
-
clearedVariety: boolean;
|
|
345
|
-
relayout: boolean;
|
|
346
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
347
|
-
type: "vibes-diy.cli.app-anon-write";
|
|
348
|
-
appSlug: string;
|
|
349
|
-
ownerHandle: string;
|
|
350
|
-
apiUrl: string;
|
|
351
|
-
set: "" | "off" | "on";
|
|
352
|
-
}, {
|
|
353
|
-
type: "vibes-diy.cli.res-app-anon-write";
|
|
354
|
-
ownerHandle: string;
|
|
355
|
-
appSlug: string;
|
|
356
|
-
wrote: boolean;
|
|
357
|
-
posture: string;
|
|
358
|
-
anonWrite: "explicit" | "legacy" | "off";
|
|
359
|
-
wildcardWrite: string[];
|
|
360
|
-
restrictedDbs: {
|
|
361
|
-
dbName: string;
|
|
362
|
-
provenance: "platform-default" | "your-pin";
|
|
363
|
-
write: string[];
|
|
364
|
-
}[];
|
|
365
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
366
|
-
type: "vibes-diy.cli.developer";
|
|
367
|
-
apiUrl: string;
|
|
368
|
-
appSlug: string;
|
|
369
|
-
ownerHandle: string;
|
|
370
|
-
op: "add" | "ls" | "rm";
|
|
371
|
-
devHandle?: string | undefined;
|
|
372
|
-
}, {
|
|
373
|
-
type: "vibes-diy.cli.developer-res";
|
|
374
|
-
op: "add" | "ls" | "rm";
|
|
375
|
-
ownerHandle: string;
|
|
376
|
-
appSlug: string;
|
|
377
|
-
items: {
|
|
378
|
-
devHandle: string;
|
|
379
|
-
devUserId?: string | undefined;
|
|
380
|
-
state: "active" | "revoked";
|
|
381
|
-
updated: string;
|
|
382
|
-
created?: string | undefined;
|
|
383
|
-
}[];
|
|
384
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
385
5
|
type: "vibes-diy.cli.user-settings";
|
|
386
6
|
apiUrl: string;
|
|
387
7
|
setDefaultHandle?: string | undefined;
|
|
388
8
|
}, {
|
|
389
9
|
type: "vibes.diy.res-ensure-user-settings";
|
|
390
10
|
userId: string;
|
|
391
|
-
settings: ({
|
|
392
|
-
type: "notifications";
|
|
393
|
-
buildComplete?: boolean | undefined;
|
|
394
|
-
buildFailed?: boolean | undefined;
|
|
395
|
-
vibePublished?: boolean | undefined;
|
|
396
|
-
commentPosted?: boolean | undefined;
|
|
397
|
-
requestApproved?: boolean | undefined;
|
|
398
|
-
requestRevoked?: boolean | undefined;
|
|
399
|
-
vibeRemixed?: boolean | undefined;
|
|
400
|
-
dmReceived?: boolean | undefined;
|
|
401
|
-
memberJoined?: boolean | undefined;
|
|
402
|
-
accessRequested?: boolean | undefined;
|
|
403
|
-
emailDigest?: boolean | undefined;
|
|
404
|
-
retentionEmail?: boolean | undefined;
|
|
405
|
-
followRequest?: boolean | undefined;
|
|
406
|
-
followerAdded?: boolean | undefined;
|
|
407
|
-
followApproved?: boolean | undefined;
|
|
408
|
-
appMessage?: boolean | undefined;
|
|
409
|
-
connectionExpiring?: boolean | undefined;
|
|
410
|
-
assetBlocked?: boolean | undefined;
|
|
411
|
-
assetCheckFailed?: boolean | undefined;
|
|
412
|
-
emailInstant?: boolean | undefined;
|
|
413
|
-
mutes?: {
|
|
414
|
-
vibes?: string[] | undefined;
|
|
415
|
-
handles?: string[] | undefined;
|
|
416
|
-
} | undefined;
|
|
417
|
-
vibeTypes?: {
|
|
418
|
-
vibe: string;
|
|
419
|
-
buildComplete?: boolean | undefined;
|
|
420
|
-
buildFailed?: boolean | undefined;
|
|
421
|
-
vibePublished?: boolean | undefined;
|
|
422
|
-
commentPosted?: boolean | undefined;
|
|
423
|
-
requestApproved?: boolean | undefined;
|
|
424
|
-
requestRevoked?: boolean | undefined;
|
|
425
|
-
vibeRemixed?: boolean | undefined;
|
|
426
|
-
memberJoined?: boolean | undefined;
|
|
427
|
-
accessRequested?: boolean | undefined;
|
|
428
|
-
appMessage?: boolean | undefined;
|
|
429
|
-
assetBlocked?: boolean | undefined;
|
|
430
|
-
assetCheckFailed?: boolean | undefined;
|
|
431
|
-
}[] | undefined;
|
|
432
|
-
} | {
|
|
11
|
+
settings: ({
|
|
433
12
|
type: "sharing";
|
|
434
13
|
grants: {
|
|
435
14
|
grant: "allow" | "deny";
|
|
@@ -538,6 +117,47 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
538
117
|
avatarCid?: string | undefined;
|
|
539
118
|
displayName?: string | undefined;
|
|
540
119
|
codeMode?: boolean | undefined;
|
|
120
|
+
} | {
|
|
121
|
+
type: "notifications";
|
|
122
|
+
buildComplete?: boolean | undefined;
|
|
123
|
+
buildFailed?: boolean | undefined;
|
|
124
|
+
vibePublished?: boolean | undefined;
|
|
125
|
+
commentPosted?: boolean | undefined;
|
|
126
|
+
requestApproved?: boolean | undefined;
|
|
127
|
+
requestRevoked?: boolean | undefined;
|
|
128
|
+
vibeRemixed?: boolean | undefined;
|
|
129
|
+
dmReceived?: boolean | undefined;
|
|
130
|
+
memberJoined?: boolean | undefined;
|
|
131
|
+
accessRequested?: boolean | undefined;
|
|
132
|
+
emailDigest?: boolean | undefined;
|
|
133
|
+
retentionEmail?: boolean | undefined;
|
|
134
|
+
followRequest?: boolean | undefined;
|
|
135
|
+
followerAdded?: boolean | undefined;
|
|
136
|
+
followApproved?: boolean | undefined;
|
|
137
|
+
appMessage?: boolean | undefined;
|
|
138
|
+
connectionExpiring?: boolean | undefined;
|
|
139
|
+
assetBlocked?: boolean | undefined;
|
|
140
|
+
assetCheckFailed?: boolean | undefined;
|
|
141
|
+
emailInstant?: boolean | undefined;
|
|
142
|
+
mutes?: {
|
|
143
|
+
vibes?: string[] | undefined;
|
|
144
|
+
handles?: string[] | undefined;
|
|
145
|
+
} | undefined;
|
|
146
|
+
vibeTypes?: {
|
|
147
|
+
vibe: string;
|
|
148
|
+
buildComplete?: boolean | undefined;
|
|
149
|
+
buildFailed?: boolean | undefined;
|
|
150
|
+
vibePublished?: boolean | undefined;
|
|
151
|
+
commentPosted?: boolean | undefined;
|
|
152
|
+
requestApproved?: boolean | undefined;
|
|
153
|
+
requestRevoked?: boolean | undefined;
|
|
154
|
+
vibeRemixed?: boolean | undefined;
|
|
155
|
+
memberJoined?: boolean | undefined;
|
|
156
|
+
accessRequested?: boolean | undefined;
|
|
157
|
+
appMessage?: boolean | undefined;
|
|
158
|
+
assetBlocked?: boolean | undefined;
|
|
159
|
+
assetCheckFailed?: boolean | undefined;
|
|
160
|
+
}[] | undefined;
|
|
541
161
|
} | {
|
|
542
162
|
type: "egressStatus";
|
|
543
163
|
status: "blessed" | "blocked";
|
|
@@ -577,24 +197,364 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
577
197
|
postedAt: string;
|
|
578
198
|
ownerHandle: string;
|
|
579
199
|
appSlug: string;
|
|
580
|
-
} | {
|
|
581
|
-
type: "defaultHandle";
|
|
582
|
-
ownerHandle: string;
|
|
583
|
-
})[];
|
|
584
|
-
updated: string;
|
|
585
|
-
created: string;
|
|
200
|
+
} | {
|
|
201
|
+
type: "defaultHandle";
|
|
202
|
+
ownerHandle: string;
|
|
203
|
+
})[];
|
|
204
|
+
updated: string;
|
|
205
|
+
created: string;
|
|
206
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
207
|
+
type: "vibes-diy.cli.skills";
|
|
208
|
+
}, {
|
|
209
|
+
type: "vibes-diy.cli.res-skills-list";
|
|
210
|
+
skills: {
|
|
211
|
+
name: string;
|
|
212
|
+
description: string;
|
|
213
|
+
}[];
|
|
214
|
+
} | {
|
|
215
|
+
type: "vibes-diy.cli.res-skill-content";
|
|
216
|
+
name: string;
|
|
217
|
+
content: string;
|
|
218
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
219
|
+
type: "vibes-diy.cli.claim-handle";
|
|
220
|
+
apiUrl: string;
|
|
221
|
+
ownerHandle?: string | undefined;
|
|
222
|
+
}, {
|
|
223
|
+
type: "vibes-diy.cli.res-claim-handle";
|
|
224
|
+
op: "claim" | "suggest";
|
|
225
|
+
ownerHandle?: string | undefined;
|
|
226
|
+
defaultHandleSet?: boolean | undefined;
|
|
227
|
+
suggestions: string[];
|
|
228
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
229
|
+
type: "vibes-diy.cli.db.get";
|
|
230
|
+
apiUrl: string;
|
|
231
|
+
appSlug: string;
|
|
232
|
+
ownerHandle: string;
|
|
233
|
+
dbName: string;
|
|
234
|
+
docId: string;
|
|
235
|
+
admin: boolean;
|
|
236
|
+
actingHandle: string;
|
|
237
|
+
}, {
|
|
238
|
+
type: "vibes-diy.cli.db.get-res";
|
|
239
|
+
doc: {
|
|
240
|
+
[x: string]: unknown;
|
|
241
|
+
};
|
|
242
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
243
|
+
type: "vibes-diy.cli.db.subscribe";
|
|
244
|
+
apiUrl: string;
|
|
245
|
+
appSlug: string;
|
|
246
|
+
ownerHandle: string;
|
|
247
|
+
dbName: string;
|
|
248
|
+
}, never> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
249
|
+
type: "vibes-diy.cli.codegen-log";
|
|
250
|
+
appSlug: string;
|
|
251
|
+
ownerHandle: string;
|
|
252
|
+
chatId?: string | undefined;
|
|
253
|
+
apiUrl: string;
|
|
254
|
+
response?: boolean | undefined;
|
|
255
|
+
raw?: boolean | undefined;
|
|
256
|
+
files?: boolean | undefined;
|
|
257
|
+
jsonl?: boolean | undefined;
|
|
258
|
+
user?: boolean | undefined;
|
|
259
|
+
promptId?: string | undefined;
|
|
260
|
+
}, {
|
|
261
|
+
type: "vibes-diy.cli.res-codegen-log-response";
|
|
262
|
+
output: string;
|
|
263
|
+
} | {
|
|
264
|
+
type: "vibes-diy.cli.res-codegen-log-list";
|
|
265
|
+
items: {
|
|
266
|
+
chatId: string;
|
|
267
|
+
appSlug: string;
|
|
268
|
+
ownerHandle: string;
|
|
269
|
+
created: string;
|
|
270
|
+
}[];
|
|
271
|
+
} | {
|
|
272
|
+
type: "vibes-diy.cli.res-codegen-log-detail";
|
|
273
|
+
chatId: string;
|
|
274
|
+
ownerHandle: string;
|
|
275
|
+
appSlug: string;
|
|
276
|
+
prompts: {
|
|
277
|
+
prompt: string;
|
|
278
|
+
fsId: string;
|
|
279
|
+
created: string;
|
|
280
|
+
}[];
|
|
281
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
282
|
+
type: "vibes-diy.cli.edit";
|
|
283
|
+
appSlug: string;
|
|
284
|
+
prompt: string;
|
|
285
|
+
ownerHandle: string;
|
|
286
|
+
instantJoin?: boolean | undefined;
|
|
287
|
+
verbose: boolean;
|
|
288
|
+
dir: string;
|
|
289
|
+
apiUrl: string;
|
|
290
|
+
dryRun: boolean;
|
|
291
|
+
transcript: boolean;
|
|
292
|
+
directBuild?: boolean | undefined;
|
|
293
|
+
focusPath?: string | undefined;
|
|
294
|
+
model?: string | undefined;
|
|
295
|
+
builderModel?: string | undefined;
|
|
296
|
+
apiKey?: string | undefined;
|
|
297
|
+
}, {
|
|
298
|
+
appSlug: string;
|
|
299
|
+
ownerHandle: string;
|
|
300
|
+
mode: "dev" | "production";
|
|
301
|
+
fsId: string;
|
|
302
|
+
type: "vibes.diy.res-ensure-app-slug";
|
|
303
|
+
env: Record<string, string>;
|
|
304
|
+
fileSystem: {
|
|
305
|
+
fileName: string;
|
|
306
|
+
mimeType: string;
|
|
307
|
+
assetId: string;
|
|
308
|
+
assetURI: string;
|
|
309
|
+
transform?: {
|
|
310
|
+
type: "jsx-to-js";
|
|
311
|
+
transformedAssetId: string;
|
|
312
|
+
} | {
|
|
313
|
+
type: "imports";
|
|
314
|
+
importMapAssetId: string;
|
|
315
|
+
} | {
|
|
316
|
+
type: "import-map";
|
|
317
|
+
fromAssetIds: string[];
|
|
318
|
+
} | {
|
|
319
|
+
type: "transformed";
|
|
320
|
+
action: "jsx-to-js";
|
|
321
|
+
transformedAssetId: string;
|
|
322
|
+
} | {
|
|
323
|
+
type: "tailwind-css";
|
|
324
|
+
} | undefined;
|
|
325
|
+
entryPoint?: boolean | undefined;
|
|
326
|
+
size: number;
|
|
327
|
+
kind?: "asset" | undefined;
|
|
328
|
+
uploadId?: string | undefined;
|
|
329
|
+
}[];
|
|
330
|
+
} | {
|
|
331
|
+
type: "vibes.diy.res-error";
|
|
332
|
+
error: {
|
|
333
|
+
message: string;
|
|
334
|
+
code: "require-login";
|
|
335
|
+
};
|
|
336
|
+
} | {
|
|
337
|
+
type: "vibes.diy.res-error";
|
|
338
|
+
error: {
|
|
339
|
+
message: string;
|
|
340
|
+
code: "user-slug-invalid";
|
|
341
|
+
};
|
|
342
|
+
} | {
|
|
343
|
+
type: "vibes.diy.res-error";
|
|
344
|
+
error: {
|
|
345
|
+
message: string;
|
|
346
|
+
code: "app-slug-invalid";
|
|
347
|
+
};
|
|
348
|
+
} | {
|
|
349
|
+
type: "vibes.diy.res-error";
|
|
350
|
+
error: {
|
|
351
|
+
message: string;
|
|
352
|
+
code: "max-app-slugs-reached";
|
|
353
|
+
};
|
|
354
|
+
} | {
|
|
355
|
+
type: "vibes.diy.res-error";
|
|
356
|
+
error: {
|
|
357
|
+
message: string;
|
|
358
|
+
code: "handle-required";
|
|
359
|
+
};
|
|
360
|
+
} | {
|
|
361
|
+
type: "vibes.diy.res-error";
|
|
362
|
+
error: {
|
|
363
|
+
message: string;
|
|
364
|
+
code: "from-not-owned";
|
|
365
|
+
};
|
|
366
|
+
} | {
|
|
367
|
+
type: "vibes.diy.res-error";
|
|
368
|
+
error: {
|
|
369
|
+
message: string;
|
|
370
|
+
code: "from-carry-failed";
|
|
371
|
+
};
|
|
372
|
+
} | {
|
|
373
|
+
type: "vibes-diy.cli.res-edit";
|
|
374
|
+
appSlug: string;
|
|
375
|
+
ownerHandle: string;
|
|
376
|
+
url: string;
|
|
377
|
+
directory: string;
|
|
378
|
+
restyled?: boolean | undefined;
|
|
379
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
380
|
+
type: "vibes-diy.cli.app-status";
|
|
381
|
+
appSlug: string;
|
|
382
|
+
ownerHandle: string;
|
|
383
|
+
apiUrl: string;
|
|
384
|
+
}, {
|
|
385
|
+
type: "vibes-diy.cli.res-app-status";
|
|
386
|
+
appSlug: string;
|
|
387
|
+
ownerHandle: string;
|
|
388
|
+
state: "dead" | "healthy" | "overdue" | "running" | "unscheduled";
|
|
389
|
+
intervalMs: number | null;
|
|
390
|
+
armedAt: string | null;
|
|
391
|
+
lastAttemptAt: string | null;
|
|
392
|
+
lastRunAt: string | null;
|
|
393
|
+
lastErrorAt: string | null;
|
|
394
|
+
lastError: string | null;
|
|
395
|
+
attempt: number;
|
|
396
|
+
nextAlarmAt: string | null;
|
|
397
|
+
graceMs: number;
|
|
398
|
+
overdueMs: number;
|
|
399
|
+
healed: boolean;
|
|
400
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
401
|
+
type: "vibes-diy.cli.app-chips";
|
|
402
|
+
appSlug: string;
|
|
403
|
+
ownerHandle: string;
|
|
404
|
+
apiUrl: string;
|
|
405
|
+
chips: (string | {
|
|
406
|
+
label: string;
|
|
407
|
+
gold?: boolean | undefined;
|
|
408
|
+
kind?: "access" | "connect" | "edit" | "publish" | "seed" | undefined;
|
|
409
|
+
})[];
|
|
410
|
+
fsId: string;
|
|
411
|
+
}, {
|
|
412
|
+
type: "vibes-diy.cli.res-app-chips";
|
|
413
|
+
appSlug: string;
|
|
414
|
+
ownerHandle: string;
|
|
415
|
+
fsId: string;
|
|
416
|
+
releaseSeq: number;
|
|
417
|
+
chips: string[];
|
|
418
|
+
chipItems?: {
|
|
419
|
+
label: string;
|
|
420
|
+
gold?: boolean | undefined;
|
|
421
|
+
kind?: "access" | "connect" | "edit" | "publish" | "seed" | undefined;
|
|
422
|
+
}[] | undefined;
|
|
423
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
424
|
+
type: "vibes-diy.cli.app-rearm";
|
|
425
|
+
appSlug: string;
|
|
426
|
+
ownerHandle: string;
|
|
427
|
+
apiUrl: string;
|
|
428
|
+
}, {
|
|
429
|
+
type: "vibes-diy.cli.res-app-rearm";
|
|
430
|
+
appSlug: string;
|
|
431
|
+
ownerHandle: string;
|
|
432
|
+
state: "dead" | "healthy" | "overdue" | "running" | "unscheduled";
|
|
433
|
+
intervalMs: number | null;
|
|
434
|
+
nextAlarmAt: string | null;
|
|
435
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
436
|
+
type: "vibes-diy.cli.app-schedule-off";
|
|
437
|
+
appSlug: string;
|
|
438
|
+
ownerHandle: string;
|
|
439
|
+
apiUrl: string;
|
|
440
|
+
}, {
|
|
441
|
+
type: "vibes-diy.cli.res-app-schedule-off";
|
|
442
|
+
appSlug: string;
|
|
443
|
+
ownerHandle: string;
|
|
444
|
+
state: "dead" | "healthy" | "overdue" | "running" | "unscheduled";
|
|
445
|
+
intervalMs: number | null;
|
|
446
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
447
|
+
type: "vibes-diy.cli.app-logs";
|
|
448
|
+
appSlug: string;
|
|
449
|
+
ownerHandle: string;
|
|
450
|
+
apiUrl: string;
|
|
451
|
+
since: string;
|
|
452
|
+
level: string;
|
|
453
|
+
limit: number;
|
|
454
|
+
tail: boolean;
|
|
455
|
+
}, {
|
|
456
|
+
type: "vibes-diy.cli.res-app-logs";
|
|
457
|
+
appSlug: string;
|
|
458
|
+
ownerHandle: string;
|
|
459
|
+
events: {
|
|
460
|
+
id: string;
|
|
461
|
+
ts: string;
|
|
462
|
+
lane: string;
|
|
463
|
+
level: string;
|
|
464
|
+
trigger: string;
|
|
465
|
+
fsId: string;
|
|
466
|
+
body: string;
|
|
467
|
+
sessionId: string | null;
|
|
468
|
+
viewerHandle: string | null;
|
|
469
|
+
}[];
|
|
470
|
+
priorFsId: string | null;
|
|
471
|
+
nextCursor: string | null;
|
|
472
|
+
tail: boolean;
|
|
473
|
+
latestTs?: string | null | undefined;
|
|
474
|
+
since: string;
|
|
475
|
+
level: string;
|
|
476
|
+
sinceTs?: string | undefined;
|
|
477
|
+
firstPage: boolean;
|
|
478
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
479
|
+
type: "vibes-diy.cli.app-screenshot";
|
|
480
|
+
appSlug: string;
|
|
481
|
+
ownerHandle: string;
|
|
482
|
+
more: string[];
|
|
483
|
+
apiUrl: string;
|
|
484
|
+
}, {
|
|
485
|
+
type: "vibes-diy.cli.res-app-screenshot";
|
|
486
|
+
results: {
|
|
487
|
+
ownerHandle: string;
|
|
488
|
+
appSlug: string;
|
|
489
|
+
fsId: string;
|
|
490
|
+
enqueued: boolean;
|
|
491
|
+
error?: string | undefined;
|
|
492
|
+
}[];
|
|
586
493
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
587
|
-
type: "vibes-diy.cli.
|
|
494
|
+
type: "vibes-diy.cli.app-look";
|
|
495
|
+
op: "get" | "set";
|
|
496
|
+
appSlug: string;
|
|
497
|
+
ownerHandle: string;
|
|
498
|
+
apiUrl: string;
|
|
499
|
+
theme: string;
|
|
500
|
+
variety: string;
|
|
501
|
+
relayout: boolean;
|
|
588
502
|
}, {
|
|
589
|
-
type: "vibes-diy.cli.res-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
503
|
+
type: "vibes-diy.cli.res-app-look";
|
|
504
|
+
op: "get" | "set";
|
|
505
|
+
ownerHandle: string;
|
|
506
|
+
appSlug: string;
|
|
507
|
+
url: string;
|
|
508
|
+
theme: string;
|
|
509
|
+
style: string;
|
|
510
|
+
variety?: {
|
|
511
|
+
archetype: string;
|
|
512
|
+
flourishes: string[];
|
|
513
|
+
} | undefined;
|
|
514
|
+
provenance: "changed" | "drawn" | "none" | "pinned";
|
|
515
|
+
varietyChangedAt?: string | undefined;
|
|
516
|
+
wroteTheme: boolean;
|
|
517
|
+
wroteVariety: boolean;
|
|
518
|
+
clearedVariety: boolean;
|
|
519
|
+
relayout: boolean;
|
|
520
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
521
|
+
type: "vibes-diy.cli.app-anon-write";
|
|
522
|
+
appSlug: string;
|
|
523
|
+
ownerHandle: string;
|
|
524
|
+
apiUrl: string;
|
|
525
|
+
set: "" | "off" | "on";
|
|
526
|
+
}, {
|
|
527
|
+
type: "vibes-diy.cli.res-app-anon-write";
|
|
528
|
+
ownerHandle: string;
|
|
529
|
+
appSlug: string;
|
|
530
|
+
wrote: boolean;
|
|
531
|
+
posture: string;
|
|
532
|
+
anonWrite: "explicit" | "legacy" | "off";
|
|
533
|
+
wildcardWrite: string[];
|
|
534
|
+
restrictedDbs: {
|
|
535
|
+
dbName: string;
|
|
536
|
+
provenance: "platform-default" | "your-pin";
|
|
537
|
+
write: string[];
|
|
538
|
+
}[];
|
|
539
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
540
|
+
type: "vibes-diy.cli.developer";
|
|
541
|
+
apiUrl: string;
|
|
542
|
+
appSlug: string;
|
|
543
|
+
ownerHandle: string;
|
|
544
|
+
op: "add" | "ls" | "rm";
|
|
545
|
+
devHandle?: string | undefined;
|
|
546
|
+
}, {
|
|
547
|
+
type: "vibes-diy.cli.developer-res";
|
|
548
|
+
op: "add" | "ls" | "rm";
|
|
549
|
+
ownerHandle: string;
|
|
550
|
+
appSlug: string;
|
|
551
|
+
items: {
|
|
552
|
+
devHandle: string;
|
|
553
|
+
devUserId?: string | undefined;
|
|
554
|
+
state: "active" | "revoked";
|
|
555
|
+
updated: string;
|
|
556
|
+
created?: string | undefined;
|
|
593
557
|
}[];
|
|
594
|
-
} | {
|
|
595
|
-
type: "vibes-diy.cli.res-skill-content";
|
|
596
|
-
name: string;
|
|
597
|
-
content: string;
|
|
598
558
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
599
559
|
type: "use-vibes.cli.themes";
|
|
600
560
|
}, {
|
|
@@ -621,6 +581,11 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
621
581
|
id: string;
|
|
622
582
|
guidance: string;
|
|
623
583
|
}[];
|
|
584
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
585
|
+
type: "vibes-diy.cli.system";
|
|
586
|
+
}, {
|
|
587
|
+
type: "vibes-diy.cli.res-system";
|
|
588
|
+
systemPrompt: string;
|
|
624
589
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
625
590
|
type: "vibes-diy.cli.push";
|
|
626
591
|
mode: string;
|
|
@@ -713,15 +678,37 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
713
678
|
code: "from-carry-failed";
|
|
714
679
|
};
|
|
715
680
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
716
|
-
type: "vibes-diy.cli.
|
|
681
|
+
type: "vibes-diy.cli.remix";
|
|
682
|
+
srcUserSlug: string;
|
|
683
|
+
srcAppSlug: string;
|
|
684
|
+
dstOwnerHandle?: string | undefined;
|
|
685
|
+
dstAppSlug?: string | undefined;
|
|
686
|
+
published: boolean;
|
|
687
|
+
settingsOnly: boolean;
|
|
717
688
|
apiUrl: string;
|
|
718
|
-
ownerHandle?: string | undefined;
|
|
719
689
|
}, {
|
|
720
|
-
type: "vibes-diy.cli.res-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
690
|
+
type: "vibes-diy.cli.res-remix";
|
|
691
|
+
ownerHandle: string;
|
|
692
|
+
appSlug: string;
|
|
693
|
+
url: string;
|
|
694
|
+
carried?: string[] | undefined;
|
|
695
|
+
skippedPresent?: string[] | undefined;
|
|
696
|
+
chatId?: string | undefined;
|
|
697
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
698
|
+
type: "vibes-diy.cli.put-asset";
|
|
699
|
+
file: string;
|
|
700
|
+
appSlug: string;
|
|
701
|
+
ownerHandle: string;
|
|
702
|
+
apiUrl: string;
|
|
703
|
+
mimeType: string;
|
|
704
|
+
verifyFetch: boolean;
|
|
705
|
+
}, {
|
|
706
|
+
type: "vibes-diy.cli.res-put-asset";
|
|
707
|
+
cid: string;
|
|
708
|
+
getURL: string;
|
|
709
|
+
size: number;
|
|
710
|
+
uploadId: string;
|
|
711
|
+
verified?: boolean | undefined;
|
|
725
712
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
726
713
|
type: "vibes-diy.cli.generate";
|
|
727
714
|
prompt: string;
|
|
@@ -740,6 +727,16 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
740
727
|
record?: string | undefined;
|
|
741
728
|
style?: string | undefined;
|
|
742
729
|
}, {
|
|
730
|
+
type: "vibes-diy.cli.res-generate";
|
|
731
|
+
appSlug: string;
|
|
732
|
+
ownerHandle: string;
|
|
733
|
+
url: string;
|
|
734
|
+
directory: string;
|
|
735
|
+
release?: "not-visible" | "published" | "version-locked" | undefined;
|
|
736
|
+
turns?: number | undefined;
|
|
737
|
+
publish?: "kept-private-no-access-fn" | "private" | "published" | undefined;
|
|
738
|
+
posture?: "gated" | "open" | "private" | undefined;
|
|
739
|
+
} | {
|
|
743
740
|
appSlug: string;
|
|
744
741
|
ownerHandle: string;
|
|
745
742
|
mode: "dev" | "production";
|
|
@@ -814,16 +811,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
814
811
|
message: string;
|
|
815
812
|
code: "from-carry-failed";
|
|
816
813
|
};
|
|
817
|
-
} | {
|
|
818
|
-
type: "vibes-diy.cli.res-generate";
|
|
819
|
-
appSlug: string;
|
|
820
|
-
ownerHandle: string;
|
|
821
|
-
url: string;
|
|
822
|
-
directory: string;
|
|
823
|
-
release?: "not-visible" | "published" | "version-locked" | undefined;
|
|
824
|
-
turns?: number | undefined;
|
|
825
|
-
publish?: "kept-private-no-access-fn" | "private" | "published" | undefined;
|
|
826
|
-
posture?: "gated" | "open" | "private" | undefined;
|
|
827
814
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
828
815
|
type: "vibes-diy.cli.app-chats";
|
|
829
816
|
appSlug: string;
|
|
@@ -994,19 +981,28 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
994
981
|
userId: string;
|
|
995
982
|
cleared: string[];
|
|
996
983
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
997
|
-
type: "
|
|
984
|
+
type: "core-cli.device-id-register";
|
|
985
|
+
commonName: string;
|
|
986
|
+
organization: string;
|
|
987
|
+
locality: string;
|
|
988
|
+
state: string;
|
|
989
|
+
country: string;
|
|
990
|
+
caUrl: string;
|
|
991
|
+
port: string;
|
|
992
|
+
timeout: string;
|
|
993
|
+
forceRenew: boolean;
|
|
994
|
+
}, {
|
|
995
|
+
type: "core-cli.res-device-id-register";
|
|
996
|
+
output: string;
|
|
997
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
998
|
+
type: "vibes-diy.cli.db.list";
|
|
998
999
|
apiUrl: string;
|
|
999
1000
|
appSlug: string;
|
|
1000
1001
|
ownerHandle: string;
|
|
1001
|
-
dbName: string;
|
|
1002
|
-
docId: string;
|
|
1003
1002
|
admin: boolean;
|
|
1004
|
-
actingHandle: string;
|
|
1005
1003
|
}, {
|
|
1006
|
-
type: "vibes-diy.cli.db.
|
|
1007
|
-
|
|
1008
|
-
[x: string]: unknown;
|
|
1009
|
-
};
|
|
1004
|
+
type: "vibes-diy.cli.db.list-res";
|
|
1005
|
+
dbNames: string[];
|
|
1010
1006
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1011
1007
|
type: "vibes-diy.cli.db.put";
|
|
1012
1008
|
apiUrl: string;
|
|
@@ -1035,10 +1031,44 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1035
1031
|
id: string;
|
|
1036
1032
|
ok: true;
|
|
1037
1033
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1038
|
-
type: "vibes-diy.cli.db.
|
|
1034
|
+
type: "vibes-diy.cli.db.query";
|
|
1039
1035
|
apiUrl: string;
|
|
1040
1036
|
appSlug: string;
|
|
1041
1037
|
ownerHandle: string;
|
|
1042
1038
|
dbName: string;
|
|
1043
|
-
|
|
1039
|
+
field: string;
|
|
1040
|
+
key: string;
|
|
1041
|
+
prefix: string;
|
|
1042
|
+
range: string;
|
|
1043
|
+
limit: number;
|
|
1044
|
+
descending: boolean;
|
|
1045
|
+
admin: boolean;
|
|
1046
|
+
actingHandle: string;
|
|
1047
|
+
}, {
|
|
1048
|
+
type: "vibes-diy.cli.db.query-res";
|
|
1049
|
+
docs: {
|
|
1050
|
+
[x: string]: unknown;
|
|
1051
|
+
}[];
|
|
1052
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1053
|
+
type: "vibes-diy.cli.db.seed";
|
|
1054
|
+
action: "add" | "remove";
|
|
1055
|
+
apiUrl: string;
|
|
1056
|
+
appSlug: string;
|
|
1057
|
+
ownerHandle: string;
|
|
1058
|
+
}, {
|
|
1059
|
+
type: "vibes-diy.cli.db.seed-res";
|
|
1060
|
+
action: "add" | "remove";
|
|
1061
|
+
appSlug: string;
|
|
1062
|
+
ownerHandle: string;
|
|
1063
|
+
seedFile: "absent" | "invalid" | "present" | "unknown";
|
|
1064
|
+
changed: number;
|
|
1065
|
+
skipped: number;
|
|
1066
|
+
failed: number;
|
|
1067
|
+
perDb: {
|
|
1068
|
+
dbName: string;
|
|
1069
|
+
changed: number;
|
|
1070
|
+
skipped: number;
|
|
1071
|
+
failed: number;
|
|
1072
|
+
}[];
|
|
1073
|
+
}>)[];
|
|
1044
1074
|
export declare function cmdTsEvento(): import("@adviser/cement").Evento;
|