vibes-diy 14.3.426 → 14.3.428
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 +391 -387
- package/cli/cmds/run/backend-worker/run-backend-entry.js +126 -4
- package/cli/cmds/run/bundle-inputs.json +2 -0
- package/cli/cmds/run/run-bundle.js +2939 -2726
- 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,305 +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.skills";
|
|
25
|
-
}, {
|
|
26
|
-
type: "vibes-diy.cli.res-skills-list";
|
|
27
|
-
skills: {
|
|
28
|
-
name: string;
|
|
29
|
-
description: string;
|
|
30
|
-
}[];
|
|
31
|
-
} | {
|
|
32
|
-
type: "vibes-diy.cli.res-skill-content";
|
|
33
|
-
name: string;
|
|
34
|
-
content: string;
|
|
35
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
36
|
-
type: "vibes-diy.cli.claim-handle";
|
|
37
|
-
apiUrl: string;
|
|
38
|
-
ownerHandle?: string | undefined;
|
|
39
|
-
noDefault?: boolean | undefined;
|
|
40
|
-
}, {
|
|
41
|
-
type: "vibes-diy.cli.res-claim-handle";
|
|
42
|
-
op: "claim" | "suggest";
|
|
43
|
-
ownerHandle?: string | undefined;
|
|
44
|
-
defaultHandleSet?: boolean | undefined;
|
|
45
|
-
defaultSkipped?: boolean | undefined;
|
|
46
|
-
suggestions: string[];
|
|
47
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
48
|
-
type: "vibes-diy.cli.image";
|
|
49
|
-
apiUrl: string;
|
|
50
|
-
prompt: string;
|
|
51
|
-
ownerHandle: string;
|
|
52
|
-
photo: string;
|
|
53
|
-
vibe: string;
|
|
54
|
-
db: string;
|
|
55
|
-
doc: string;
|
|
56
|
-
out: string;
|
|
57
|
-
json: boolean;
|
|
58
|
-
}, {
|
|
59
|
-
type: "vibes-diy.cli.res-image";
|
|
60
|
-
path: string;
|
|
61
|
-
receipt: {
|
|
62
|
-
ok: true;
|
|
63
|
-
picture: {
|
|
64
|
-
url: string;
|
|
65
|
-
mimeType: string;
|
|
66
|
-
name: string;
|
|
67
|
-
size: number;
|
|
68
|
-
ownerHandle: string;
|
|
69
|
-
appSlug: string;
|
|
70
|
-
dbName: string;
|
|
71
|
-
docId: string;
|
|
72
|
-
};
|
|
73
|
-
link?: string | undefined;
|
|
74
|
-
made: {
|
|
75
|
-
prompt: string;
|
|
76
|
-
model: string;
|
|
77
|
-
};
|
|
78
|
-
};
|
|
79
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
80
|
-
type: "vibes-diy.cli.db.list";
|
|
81
|
-
apiUrl: string;
|
|
82
|
-
appSlug: string;
|
|
83
|
-
ownerHandle: string;
|
|
84
|
-
admin: boolean;
|
|
85
|
-
}, {
|
|
86
|
-
type: "vibes-diy.cli.db.list-res";
|
|
87
|
-
dbNames: string[];
|
|
88
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
89
|
-
type: "vibes-diy.cli.db.put";
|
|
90
|
-
apiUrl: string;
|
|
91
|
-
appSlug: string;
|
|
92
|
-
ownerHandle: string;
|
|
93
|
-
dbName: string;
|
|
94
|
-
docJson: string;
|
|
95
|
-
docId: string;
|
|
96
|
-
admin: boolean;
|
|
97
|
-
actingHandle: string;
|
|
98
|
-
files?: string[] | undefined;
|
|
99
|
-
}, {
|
|
100
|
-
type: "vibes-diy.cli.db.put-res";
|
|
101
|
-
id: string;
|
|
102
|
-
ok: true;
|
|
103
|
-
files?: {
|
|
104
|
-
key: string;
|
|
105
|
-
status: "unchanged" | "uploaded";
|
|
106
|
-
uploadId: string;
|
|
107
|
-
}[] | undefined;
|
|
108
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
109
|
-
type: "vibes-diy.cli.db.seed";
|
|
110
|
-
action: "add" | "remove";
|
|
111
|
-
apiUrl: string;
|
|
112
|
-
appSlug: string;
|
|
113
|
-
ownerHandle: string;
|
|
114
|
-
}, {
|
|
115
|
-
type: "vibes-diy.cli.db.seed-res";
|
|
116
|
-
action: "add" | "remove";
|
|
117
|
-
appSlug: string;
|
|
118
|
-
ownerHandle: string;
|
|
119
|
-
seedFile: "absent" | "invalid" | "present" | "unknown";
|
|
120
|
-
changed: number;
|
|
121
|
-
skipped: number;
|
|
122
|
-
failed: number;
|
|
123
|
-
perDb: {
|
|
124
|
-
dbName: string;
|
|
125
|
-
changed: number;
|
|
126
|
-
skipped: number;
|
|
127
|
-
failed: number;
|
|
128
|
-
}[];
|
|
129
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
130
|
-
type: "vibes-diy.cli.app-chats";
|
|
131
|
-
appSlug: string;
|
|
132
|
-
ownerHandle: string;
|
|
133
|
-
chatId?: string | undefined;
|
|
134
|
-
apiUrl: string;
|
|
135
|
-
}, {
|
|
136
|
-
type: "vibes-diy.cli.res-app-chats-list";
|
|
137
|
-
items: {
|
|
138
|
-
chatId: string;
|
|
139
|
-
appSlug: string;
|
|
140
|
-
ownerHandle: string;
|
|
141
|
-
created: string;
|
|
142
|
-
userHandle?: string | undefined;
|
|
143
|
-
}[];
|
|
144
|
-
} | {
|
|
145
|
-
type: "vibes-diy.cli.res-app-chats-detail";
|
|
146
|
-
chatId: string;
|
|
147
|
-
ownerHandle?: string | undefined;
|
|
148
|
-
appSlug?: string | undefined;
|
|
149
|
-
output: string;
|
|
150
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
151
|
-
type: "vibes-diy.cli.list";
|
|
152
|
-
apiUrl: string;
|
|
153
|
-
}, {
|
|
154
|
-
type: "vibes-diy.cli.res-list";
|
|
155
|
-
items: {
|
|
156
|
-
ownerHandle: string;
|
|
157
|
-
appSlug: string;
|
|
158
|
-
updated: string;
|
|
159
|
-
title?: string | undefined;
|
|
160
|
-
icon?: {
|
|
161
|
-
cid: string;
|
|
162
|
-
mime: string;
|
|
163
|
-
} | undefined;
|
|
164
|
-
pinnedAt?: string | undefined;
|
|
165
|
-
neverPublished?: boolean | undefined;
|
|
166
|
-
unpublishedAt?: string | undefined;
|
|
167
|
-
}[];
|
|
168
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
169
|
-
type: "vibes-diy.cli.run";
|
|
170
|
-
apiUrl: string;
|
|
171
|
-
vibe: string;
|
|
172
|
-
dir: string;
|
|
173
|
-
port: number;
|
|
174
|
-
host: string;
|
|
175
|
-
stateDir: string;
|
|
176
|
-
baseUrl: string;
|
|
177
|
-
}, {
|
|
178
|
-
type: "vibes-diy.cli.res-run";
|
|
179
|
-
origin: string;
|
|
180
|
-
ownerHandle: string;
|
|
181
|
-
appSlug: string;
|
|
182
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
183
|
-
type: "vibes-diy.cli.app-rearm";
|
|
184
|
-
appSlug: string;
|
|
185
|
-
ownerHandle: string;
|
|
186
|
-
apiUrl: string;
|
|
187
|
-
}, {
|
|
188
|
-
type: "vibes-diy.cli.res-app-rearm";
|
|
189
|
-
appSlug: string;
|
|
190
|
-
ownerHandle: string;
|
|
191
|
-
state: "dead" | "healthy" | "overdue" | "running" | "unscheduled";
|
|
192
|
-
intervalMs: number | null;
|
|
193
|
-
nextAlarmAt: string | null;
|
|
194
|
-
pausedIntervalMs: number | null;
|
|
195
|
-
settingsUrl: string;
|
|
196
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
197
|
-
type: "vibes-diy.cli.app-chips";
|
|
198
|
-
appSlug: string;
|
|
199
|
-
ownerHandle: string;
|
|
200
|
-
apiUrl: string;
|
|
201
|
-
chips: (string | {
|
|
202
|
-
label: string;
|
|
203
|
-
gold?: boolean | undefined;
|
|
204
|
-
kind?: "access" | "connect" | "edit" | "pay" | "publish" | "seed" | undefined;
|
|
205
|
-
})[];
|
|
206
|
-
fsId: string;
|
|
207
|
-
}, {
|
|
208
|
-
type: "vibes-diy.cli.res-app-chips";
|
|
209
|
-
appSlug: string;
|
|
210
|
-
ownerHandle: string;
|
|
211
|
-
fsId: string;
|
|
212
|
-
releaseSeq: number;
|
|
213
|
-
chips: string[];
|
|
214
|
-
chipItems?: {
|
|
215
|
-
label: string;
|
|
216
|
-
gold?: boolean | undefined;
|
|
217
|
-
kind?: "access" | "connect" | "edit" | "pay" | "publish" | "seed" | undefined;
|
|
218
|
-
}[] | undefined;
|
|
219
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
220
|
-
type: "vibes-diy.cli.app-anon-write";
|
|
221
|
-
appSlug: string;
|
|
222
|
-
ownerHandle: string;
|
|
223
|
-
apiUrl: string;
|
|
224
|
-
set: "" | "off" | "on";
|
|
225
|
-
}, {
|
|
226
|
-
type: "vibes-diy.cli.res-app-anon-write";
|
|
227
|
-
ownerHandle: string;
|
|
228
|
-
appSlug: string;
|
|
229
|
-
wrote: boolean;
|
|
230
|
-
posture: string;
|
|
231
|
-
anonWrite: "explicit" | "legacy" | "off";
|
|
232
|
-
wildcardWrite: string[];
|
|
233
|
-
restrictedDbs: {
|
|
234
|
-
dbName: string;
|
|
235
|
-
provenance: "platform-default" | "your-pin";
|
|
236
|
-
write: string[];
|
|
237
|
-
}[];
|
|
238
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
239
|
-
type: "vibes-diy.cli.set-unpublish";
|
|
240
|
-
appSlug: string;
|
|
241
|
-
ownerHandle: string;
|
|
242
|
-
unpublish: boolean;
|
|
243
|
-
apiUrl: string;
|
|
244
|
-
}, {
|
|
245
|
-
type: "vibes-diy.cli.res-set-unpublish";
|
|
246
|
-
appSlug: string;
|
|
247
|
-
ownerHandle: string;
|
|
248
|
-
unpublishedAt: string;
|
|
249
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
250
|
-
type: "vibes-diy.cli.publish";
|
|
251
|
-
appSlug: string;
|
|
252
|
-
ownerHandle: string;
|
|
253
|
-
fsId?: string | undefined;
|
|
254
|
-
apiUrl: string;
|
|
255
|
-
}, {
|
|
256
|
-
type: "vibes-diy.cli.res-publish";
|
|
257
|
-
appSlug: string;
|
|
258
|
-
ownerHandle: string;
|
|
259
|
-
fsId: string;
|
|
260
|
-
releaseSeq: number;
|
|
261
|
-
released: boolean;
|
|
262
|
-
restored: boolean;
|
|
263
|
-
autoEnhanceOff?: boolean | undefined;
|
|
264
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
265
|
-
type: "vibes-diy.cli.members";
|
|
266
|
-
apiUrl: string;
|
|
267
|
-
appSlug: string;
|
|
268
|
-
ownerHandle: string;
|
|
269
|
-
op: "add" | "ls" | "rm";
|
|
270
|
-
target?: string | undefined;
|
|
271
|
-
role?: string | undefined;
|
|
272
|
-
}, {
|
|
273
|
-
type: "vibes-diy.cli.members-res";
|
|
274
|
-
op: "add" | "ls" | "rm";
|
|
275
|
-
ownerHandle: string;
|
|
276
|
-
appSlug: string;
|
|
277
|
-
items: {
|
|
278
|
-
who: string;
|
|
279
|
-
kind: "email" | "handle";
|
|
280
|
-
role: string;
|
|
281
|
-
state: "accepted" | "approved" | "pending" | "requested" | "revoked";
|
|
282
|
-
updated: string;
|
|
283
|
-
}[];
|
|
284
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
285
|
-
type: "vibes-diy.cli.moderation";
|
|
286
|
-
apiUrl: string;
|
|
287
|
-
op: "list-flags" | "list-reports" | "resolve-report" | "set-publishing-paused" | "status" | "suspend" | "triage-flag" | "unsuspend";
|
|
288
|
-
reason: string;
|
|
289
|
-
reportId: string;
|
|
290
|
-
userId: string;
|
|
291
|
-
handle: string;
|
|
292
|
-
paused?: boolean | undefined;
|
|
293
|
-
status: string;
|
|
294
|
-
limit: string;
|
|
295
|
-
flagId?: string | undefined;
|
|
296
|
-
triage?: string | undefined;
|
|
297
|
-
summary?: boolean | undefined;
|
|
298
|
-
since?: string | undefined;
|
|
299
|
-
}, {
|
|
300
|
-
type: "vibes-diy.cli.res-moderation";
|
|
301
|
-
op: string;
|
|
302
|
-
result: unknown;
|
|
303
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
304
5
|
type: "vibes-diy.cli.user-settings";
|
|
305
6
|
apiUrl: string;
|
|
306
7
|
setDefaultHandle?: string | undefined;
|
|
@@ -308,6 +9,57 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
308
9
|
type: "vibes.diy.res-ensure-user-settings";
|
|
309
10
|
userId: string;
|
|
310
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
|
+
buildRequested?: boolean | undefined;
|
|
24
|
+
buildApproved?: boolean | undefined;
|
|
25
|
+
emailDigest?: boolean | undefined;
|
|
26
|
+
retentionEmail?: boolean | undefined;
|
|
27
|
+
followRequest?: boolean | undefined;
|
|
28
|
+
followerAdded?: boolean | undefined;
|
|
29
|
+
followApproved?: boolean | undefined;
|
|
30
|
+
appMessage?: boolean | undefined;
|
|
31
|
+
connectionExpiring?: boolean | undefined;
|
|
32
|
+
assetBlocked?: boolean | undefined;
|
|
33
|
+
assetCheckFailed?: boolean | undefined;
|
|
34
|
+
checkoutUnfinished?: boolean | undefined;
|
|
35
|
+
safetyAlert?: boolean | undefined;
|
|
36
|
+
reminder?: boolean | undefined;
|
|
37
|
+
emailInstant?: boolean | undefined;
|
|
38
|
+
mutes?: {
|
|
39
|
+
vibes?: string[] | undefined;
|
|
40
|
+
handles?: string[] | undefined;
|
|
41
|
+
} | undefined;
|
|
42
|
+
vibeTypes?: {
|
|
43
|
+
vibe: string;
|
|
44
|
+
buildComplete?: boolean | undefined;
|
|
45
|
+
buildFailed?: boolean | undefined;
|
|
46
|
+
vibePublished?: boolean | undefined;
|
|
47
|
+
commentPosted?: boolean | undefined;
|
|
48
|
+
requestApproved?: boolean | undefined;
|
|
49
|
+
requestRevoked?: boolean | undefined;
|
|
50
|
+
vibeRemixed?: boolean | undefined;
|
|
51
|
+
memberJoined?: boolean | undefined;
|
|
52
|
+
accessRequested?: boolean | undefined;
|
|
53
|
+
buildRequested?: boolean | undefined;
|
|
54
|
+
buildApproved?: boolean | undefined;
|
|
55
|
+
appMessage?: boolean | undefined;
|
|
56
|
+
assetBlocked?: boolean | undefined;
|
|
57
|
+
assetCheckFailed?: boolean | undefined;
|
|
58
|
+
}[] | undefined;
|
|
59
|
+
agent?: {
|
|
60
|
+
hiddenVibes?: string[] | undefined;
|
|
61
|
+
} | undefined;
|
|
62
|
+
} | {
|
|
311
63
|
type: "sharing";
|
|
312
64
|
grants: {
|
|
313
65
|
grant: "allow" | "deny";
|
|
@@ -425,53 +177,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
425
177
|
avatarCid?: string | undefined;
|
|
426
178
|
displayName?: string | undefined;
|
|
427
179
|
codeMode?: boolean | undefined;
|
|
428
|
-
} | {
|
|
429
|
-
type: "notifications";
|
|
430
|
-
buildComplete?: boolean | undefined;
|
|
431
|
-
buildFailed?: boolean | undefined;
|
|
432
|
-
vibePublished?: boolean | undefined;
|
|
433
|
-
commentPosted?: boolean | undefined;
|
|
434
|
-
requestApproved?: boolean | undefined;
|
|
435
|
-
requestRevoked?: boolean | undefined;
|
|
436
|
-
vibeRemixed?: boolean | undefined;
|
|
437
|
-
dmReceived?: boolean | undefined;
|
|
438
|
-
memberJoined?: boolean | undefined;
|
|
439
|
-
accessRequested?: boolean | undefined;
|
|
440
|
-
emailDigest?: boolean | undefined;
|
|
441
|
-
retentionEmail?: boolean | undefined;
|
|
442
|
-
followRequest?: boolean | undefined;
|
|
443
|
-
followerAdded?: boolean | undefined;
|
|
444
|
-
followApproved?: boolean | undefined;
|
|
445
|
-
appMessage?: boolean | undefined;
|
|
446
|
-
connectionExpiring?: boolean | undefined;
|
|
447
|
-
assetBlocked?: boolean | undefined;
|
|
448
|
-
assetCheckFailed?: boolean | undefined;
|
|
449
|
-
checkoutUnfinished?: boolean | undefined;
|
|
450
|
-
safetyAlert?: boolean | undefined;
|
|
451
|
-
reminder?: boolean | undefined;
|
|
452
|
-
emailInstant?: boolean | undefined;
|
|
453
|
-
mutes?: {
|
|
454
|
-
vibes?: string[] | undefined;
|
|
455
|
-
handles?: string[] | undefined;
|
|
456
|
-
} | undefined;
|
|
457
|
-
vibeTypes?: {
|
|
458
|
-
vibe: string;
|
|
459
|
-
buildComplete?: boolean | undefined;
|
|
460
|
-
buildFailed?: boolean | undefined;
|
|
461
|
-
vibePublished?: boolean | undefined;
|
|
462
|
-
commentPosted?: boolean | undefined;
|
|
463
|
-
requestApproved?: boolean | undefined;
|
|
464
|
-
requestRevoked?: boolean | undefined;
|
|
465
|
-
vibeRemixed?: boolean | undefined;
|
|
466
|
-
memberJoined?: boolean | undefined;
|
|
467
|
-
accessRequested?: boolean | undefined;
|
|
468
|
-
appMessage?: boolean | undefined;
|
|
469
|
-
assetBlocked?: boolean | undefined;
|
|
470
|
-
assetCheckFailed?: boolean | undefined;
|
|
471
|
-
}[] | undefined;
|
|
472
|
-
agent?: {
|
|
473
|
-
hiddenVibes?: string[] | undefined;
|
|
474
|
-
} | undefined;
|
|
475
180
|
} | {
|
|
476
181
|
type: "egressStatus";
|
|
477
182
|
status: "blessed" | "blocked";
|
|
@@ -608,19 +313,240 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
608
313
|
type: "defaultHandle";
|
|
609
314
|
ownerHandle: string;
|
|
610
315
|
})[];
|
|
611
|
-
updated: string;
|
|
612
|
-
created: string;
|
|
316
|
+
updated: string;
|
|
317
|
+
created: string;
|
|
318
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
319
|
+
type: "use-vibes.cli.themes";
|
|
320
|
+
}, {
|
|
321
|
+
type: "use-vibes.cli.res-themes-list";
|
|
322
|
+
themes: {
|
|
323
|
+
slug: string;
|
|
324
|
+
name: string;
|
|
325
|
+
}[];
|
|
326
|
+
} | {
|
|
327
|
+
type: "use-vibes.cli.res-theme-content";
|
|
328
|
+
slug: string;
|
|
329
|
+
content: string;
|
|
330
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
331
|
+
type: "vibes-diy.cli.db.get";
|
|
332
|
+
apiUrl: string;
|
|
333
|
+
appSlug: string;
|
|
334
|
+
ownerHandle: string;
|
|
335
|
+
dbName: string;
|
|
336
|
+
docId: string;
|
|
337
|
+
admin: boolean;
|
|
338
|
+
actingHandle: string;
|
|
339
|
+
}, {
|
|
340
|
+
type: "vibes-diy.cli.db.get-res";
|
|
341
|
+
doc: {
|
|
342
|
+
[x: string]: unknown;
|
|
343
|
+
};
|
|
344
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
345
|
+
type: "vibes-diy.cli.db.del";
|
|
346
|
+
apiUrl: string;
|
|
347
|
+
appSlug: string;
|
|
348
|
+
ownerHandle: string;
|
|
349
|
+
dbName: string;
|
|
350
|
+
docId: string;
|
|
351
|
+
admin: boolean;
|
|
352
|
+
actingHandle: string;
|
|
353
|
+
}, {
|
|
354
|
+
type: "vibes-diy.cli.db.del-res";
|
|
355
|
+
id: string;
|
|
356
|
+
ok: true;
|
|
357
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
358
|
+
type: "vibes-diy.cli.db.seed";
|
|
359
|
+
action: "add" | "remove";
|
|
360
|
+
apiUrl: string;
|
|
361
|
+
appSlug: string;
|
|
362
|
+
ownerHandle: string;
|
|
363
|
+
}, {
|
|
364
|
+
type: "vibes-diy.cli.db.seed-res";
|
|
365
|
+
action: "add" | "remove";
|
|
366
|
+
appSlug: string;
|
|
367
|
+
ownerHandle: string;
|
|
368
|
+
seedFile: "absent" | "invalid" | "present" | "unknown";
|
|
369
|
+
changed: number;
|
|
370
|
+
skipped: number;
|
|
371
|
+
failed: number;
|
|
372
|
+
perDb: {
|
|
373
|
+
dbName: string;
|
|
374
|
+
changed: number;
|
|
375
|
+
skipped: number;
|
|
376
|
+
failed: number;
|
|
377
|
+
}[];
|
|
378
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
379
|
+
type: "vibes-diy.cli.doctor";
|
|
380
|
+
apiUrl: string;
|
|
381
|
+
}, {
|
|
382
|
+
type: "vibes-diy.cli.res-doctor";
|
|
383
|
+
cliVersion: string;
|
|
384
|
+
node: string;
|
|
385
|
+
keybagPath: string;
|
|
386
|
+
keybagInstance?: string | undefined;
|
|
387
|
+
device: string;
|
|
388
|
+
deviceOk: boolean;
|
|
389
|
+
fingerprint?: string | undefined;
|
|
390
|
+
certExpires?: string | undefined;
|
|
391
|
+
apiUrl: string;
|
|
392
|
+
wsUrl: string;
|
|
393
|
+
proxy: string;
|
|
394
|
+
handshake: {
|
|
395
|
+
ok: boolean;
|
|
396
|
+
detail: string;
|
|
397
|
+
ms?: number | undefined;
|
|
398
|
+
};
|
|
399
|
+
auth?: {
|
|
400
|
+
ok: boolean;
|
|
401
|
+
detail: string;
|
|
402
|
+
ms?: number | undefined;
|
|
403
|
+
} | undefined;
|
|
404
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
405
|
+
type: "vibes-diy.cli.run";
|
|
406
|
+
apiUrl: string;
|
|
407
|
+
vibe: string;
|
|
408
|
+
dir: string;
|
|
409
|
+
port: number;
|
|
410
|
+
host: string;
|
|
411
|
+
stateDir: string;
|
|
412
|
+
baseUrl: string;
|
|
413
|
+
}, {
|
|
414
|
+
type: "vibes-diy.cli.res-run";
|
|
415
|
+
origin: string;
|
|
416
|
+
ownerHandle: string;
|
|
417
|
+
appSlug: string;
|
|
418
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
419
|
+
type: "vibes-diy.cli.app-rearm";
|
|
420
|
+
appSlug: string;
|
|
421
|
+
ownerHandle: string;
|
|
422
|
+
apiUrl: string;
|
|
423
|
+
}, {
|
|
424
|
+
type: "vibes-diy.cli.res-app-rearm";
|
|
425
|
+
appSlug: string;
|
|
426
|
+
ownerHandle: string;
|
|
427
|
+
state: "dead" | "healthy" | "overdue" | "running" | "unscheduled";
|
|
428
|
+
intervalMs: number | null;
|
|
429
|
+
nextAlarmAt: string | null;
|
|
430
|
+
pausedIntervalMs: number | null;
|
|
431
|
+
settingsUrl: string;
|
|
432
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
433
|
+
type: "vibes-diy.cli.app-chips";
|
|
434
|
+
appSlug: string;
|
|
435
|
+
ownerHandle: string;
|
|
436
|
+
apiUrl: string;
|
|
437
|
+
chips: (string | {
|
|
438
|
+
label: string;
|
|
439
|
+
gold?: boolean | undefined;
|
|
440
|
+
kind?: "access" | "connect" | "edit" | "pay" | "publish" | "seed" | undefined;
|
|
441
|
+
})[];
|
|
442
|
+
fsId: string;
|
|
443
|
+
}, {
|
|
444
|
+
type: "vibes-diy.cli.res-app-chips";
|
|
445
|
+
appSlug: string;
|
|
446
|
+
ownerHandle: string;
|
|
447
|
+
fsId: string;
|
|
448
|
+
releaseSeq: number;
|
|
449
|
+
chips: string[];
|
|
450
|
+
chipItems?: {
|
|
451
|
+
label: string;
|
|
452
|
+
gold?: boolean | undefined;
|
|
453
|
+
kind?: "access" | "connect" | "edit" | "pay" | "publish" | "seed" | undefined;
|
|
454
|
+
}[] | undefined;
|
|
613
455
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
614
|
-
type: "
|
|
456
|
+
type: "vibes-diy.cli.app-anon-write";
|
|
457
|
+
appSlug: string;
|
|
458
|
+
ownerHandle: string;
|
|
459
|
+
apiUrl: string;
|
|
460
|
+
set: "" | "off" | "on";
|
|
615
461
|
}, {
|
|
616
|
-
type: "
|
|
617
|
-
|
|
618
|
-
|
|
462
|
+
type: "vibes-diy.cli.res-app-anon-write";
|
|
463
|
+
ownerHandle: string;
|
|
464
|
+
appSlug: string;
|
|
465
|
+
wrote: boolean;
|
|
466
|
+
posture: string;
|
|
467
|
+
anonWrite: "explicit" | "legacy" | "off";
|
|
468
|
+
wildcardWrite: string[];
|
|
469
|
+
restrictedDbs: {
|
|
470
|
+
dbName: string;
|
|
471
|
+
provenance: "platform-default" | "your-pin";
|
|
472
|
+
write: string[];
|
|
473
|
+
}[];
|
|
474
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
475
|
+
type: "vibes-diy.cli.set-unpublish";
|
|
476
|
+
appSlug: string;
|
|
477
|
+
ownerHandle: string;
|
|
478
|
+
unpublish: boolean;
|
|
479
|
+
apiUrl: string;
|
|
480
|
+
}, {
|
|
481
|
+
type: "vibes-diy.cli.res-set-unpublish";
|
|
482
|
+
appSlug: string;
|
|
483
|
+
ownerHandle: string;
|
|
484
|
+
unpublishedAt: string;
|
|
485
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
486
|
+
type: "vibes-diy.cli.publish";
|
|
487
|
+
appSlug: string;
|
|
488
|
+
ownerHandle: string;
|
|
489
|
+
fsId?: string | undefined;
|
|
490
|
+
apiUrl: string;
|
|
491
|
+
}, {
|
|
492
|
+
type: "vibes-diy.cli.res-publish";
|
|
493
|
+
appSlug: string;
|
|
494
|
+
ownerHandle: string;
|
|
495
|
+
fsId: string;
|
|
496
|
+
releaseSeq: number;
|
|
497
|
+
released: boolean;
|
|
498
|
+
restored: boolean;
|
|
499
|
+
autoEnhanceOff?: boolean | undefined;
|
|
500
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
501
|
+
type: "vibes-diy.cli.members";
|
|
502
|
+
apiUrl: string;
|
|
503
|
+
appSlug: string;
|
|
504
|
+
ownerHandle: string;
|
|
505
|
+
op: "add" | "ls" | "rm";
|
|
506
|
+
target?: string | undefined;
|
|
507
|
+
role?: string | undefined;
|
|
508
|
+
}, {
|
|
509
|
+
type: "vibes-diy.cli.members-res";
|
|
510
|
+
op: "add" | "ls" | "rm";
|
|
511
|
+
ownerHandle: string;
|
|
512
|
+
appSlug: string;
|
|
513
|
+
items: {
|
|
514
|
+
who: string;
|
|
515
|
+
kind: "email" | "handle";
|
|
516
|
+
role: string;
|
|
517
|
+
state: "accepted" | "approved" | "pending" | "requested" | "revoked";
|
|
518
|
+
updated: string;
|
|
519
|
+
}[];
|
|
520
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
521
|
+
type: "vibes-diy.cli.moderation";
|
|
522
|
+
apiUrl: string;
|
|
523
|
+
op: "list-flags" | "list-reports" | "resolve-report" | "set-publishing-paused" | "status" | "suspend" | "triage-flag" | "unsuspend";
|
|
524
|
+
reason: string;
|
|
525
|
+
reportId: string;
|
|
526
|
+
userId: string;
|
|
527
|
+
handle: string;
|
|
528
|
+
paused?: boolean | undefined;
|
|
529
|
+
status: string;
|
|
530
|
+
limit: string;
|
|
531
|
+
flagId?: string | undefined;
|
|
532
|
+
triage?: string | undefined;
|
|
533
|
+
summary?: boolean | undefined;
|
|
534
|
+
since?: string | undefined;
|
|
535
|
+
}, {
|
|
536
|
+
type: "vibes-diy.cli.res-moderation";
|
|
537
|
+
op: string;
|
|
538
|
+
result: unknown;
|
|
539
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
540
|
+
type: "vibes-diy.cli.skills";
|
|
541
|
+
}, {
|
|
542
|
+
type: "vibes-diy.cli.res-skills-list";
|
|
543
|
+
skills: {
|
|
619
544
|
name: string;
|
|
545
|
+
description: string;
|
|
620
546
|
}[];
|
|
621
547
|
} | {
|
|
622
|
-
type: "
|
|
623
|
-
|
|
548
|
+
type: "vibes-diy.cli.res-skill-content";
|
|
549
|
+
name: string;
|
|
624
550
|
content: string;
|
|
625
551
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
626
552
|
type: "vibes-diy.cli.variety";
|
|
@@ -758,6 +684,18 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
758
684
|
carried?: string[] | undefined;
|
|
759
685
|
skippedPresent?: string[] | undefined;
|
|
760
686
|
chatId?: string | undefined;
|
|
687
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
688
|
+
type: "vibes-diy.cli.claim-handle";
|
|
689
|
+
apiUrl: string;
|
|
690
|
+
ownerHandle?: string | undefined;
|
|
691
|
+
noDefault?: boolean | undefined;
|
|
692
|
+
}, {
|
|
693
|
+
type: "vibes-diy.cli.res-claim-handle";
|
|
694
|
+
op: "claim" | "suggest";
|
|
695
|
+
ownerHandle?: string | undefined;
|
|
696
|
+
defaultHandleSet?: boolean | undefined;
|
|
697
|
+
defaultSkipped?: boolean | undefined;
|
|
698
|
+
suggestions: string[];
|
|
761
699
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
762
700
|
type: "vibes-diy.cli.agent";
|
|
763
701
|
apiUrl: string;
|
|
@@ -780,6 +718,38 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
780
718
|
reactions?: string[] | undefined;
|
|
781
719
|
error?: string | undefined;
|
|
782
720
|
credits?: number | undefined;
|
|
721
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
722
|
+
type: "vibes-diy.cli.image";
|
|
723
|
+
apiUrl: string;
|
|
724
|
+
prompt: string;
|
|
725
|
+
ownerHandle: string;
|
|
726
|
+
photo: string;
|
|
727
|
+
vibe: string;
|
|
728
|
+
db: string;
|
|
729
|
+
doc: string;
|
|
730
|
+
out: string;
|
|
731
|
+
json: boolean;
|
|
732
|
+
}, {
|
|
733
|
+
type: "vibes-diy.cli.res-image";
|
|
734
|
+
path: string;
|
|
735
|
+
receipt: {
|
|
736
|
+
ok: true;
|
|
737
|
+
picture: {
|
|
738
|
+
url: string;
|
|
739
|
+
mimeType: string;
|
|
740
|
+
name: string;
|
|
741
|
+
size: number;
|
|
742
|
+
ownerHandle: string;
|
|
743
|
+
appSlug: string;
|
|
744
|
+
dbName: string;
|
|
745
|
+
docId: string;
|
|
746
|
+
};
|
|
747
|
+
link?: string | undefined;
|
|
748
|
+
made: {
|
|
749
|
+
prompt: string;
|
|
750
|
+
model: string;
|
|
751
|
+
};
|
|
752
|
+
};
|
|
783
753
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
784
754
|
type: "vibes-diy.cli.put-asset";
|
|
785
755
|
file: string;
|
|
@@ -906,6 +876,27 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
906
876
|
turns?: number | undefined;
|
|
907
877
|
publish?: "kept-private-no-access-fn" | "private" | "published" | undefined;
|
|
908
878
|
posture?: "gated" | "open" | "private" | undefined;
|
|
879
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
880
|
+
type: "vibes-diy.cli.app-chats";
|
|
881
|
+
appSlug: string;
|
|
882
|
+
ownerHandle: string;
|
|
883
|
+
chatId?: string | undefined;
|
|
884
|
+
apiUrl: string;
|
|
885
|
+
}, {
|
|
886
|
+
type: "vibes-diy.cli.res-app-chats-list";
|
|
887
|
+
items: {
|
|
888
|
+
chatId: string;
|
|
889
|
+
appSlug: string;
|
|
890
|
+
ownerHandle: string;
|
|
891
|
+
created: string;
|
|
892
|
+
userHandle?: string | undefined;
|
|
893
|
+
}[];
|
|
894
|
+
} | {
|
|
895
|
+
type: "vibes-diy.cli.res-app-chats-detail";
|
|
896
|
+
chatId: string;
|
|
897
|
+
ownerHandle?: string | undefined;
|
|
898
|
+
appSlug?: string | undefined;
|
|
899
|
+
output: string;
|
|
909
900
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
910
901
|
type: "vibes-diy.cli.codegen-log";
|
|
911
902
|
appSlug: string;
|
|
@@ -1047,31 +1038,23 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1047
1038
|
restyled?: boolean | undefined;
|
|
1048
1039
|
fsId?: string | undefined;
|
|
1049
1040
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1050
|
-
type: "vibes-diy.cli.
|
|
1041
|
+
type: "vibes-diy.cli.list";
|
|
1051
1042
|
apiUrl: string;
|
|
1052
1043
|
}, {
|
|
1053
|
-
type: "vibes-diy.cli.res-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
detail: string;
|
|
1068
|
-
ms?: number | undefined;
|
|
1069
|
-
};
|
|
1070
|
-
auth?: {
|
|
1071
|
-
ok: boolean;
|
|
1072
|
-
detail: string;
|
|
1073
|
-
ms?: number | undefined;
|
|
1074
|
-
} | undefined;
|
|
1044
|
+
type: "vibes-diy.cli.res-list";
|
|
1045
|
+
items: {
|
|
1046
|
+
ownerHandle: string;
|
|
1047
|
+
appSlug: string;
|
|
1048
|
+
updated: string;
|
|
1049
|
+
title?: string | undefined;
|
|
1050
|
+
icon?: {
|
|
1051
|
+
cid: string;
|
|
1052
|
+
mime: string;
|
|
1053
|
+
} | undefined;
|
|
1054
|
+
pinnedAt?: string | undefined;
|
|
1055
|
+
neverPublished?: boolean | undefined;
|
|
1056
|
+
unpublishedAt?: string | undefined;
|
|
1057
|
+
}[];
|
|
1075
1058
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1076
1059
|
type: "vibes-diy.cli.whoami";
|
|
1077
1060
|
apiUrl: string;
|
|
@@ -1658,32 +1641,53 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1658
1641
|
type: "vibes-diy.cli.res-phone-link-classify";
|
|
1659
1642
|
reaction?: string | undefined;
|
|
1660
1643
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1661
|
-
type: "
|
|
1644
|
+
type: "core-cli.device-id-register";
|
|
1645
|
+
commonName: string;
|
|
1646
|
+
organization: string;
|
|
1647
|
+
locality: string;
|
|
1648
|
+
state: string;
|
|
1649
|
+
country: string;
|
|
1650
|
+
caUrl: string;
|
|
1651
|
+
port: string;
|
|
1652
|
+
timeout: string;
|
|
1653
|
+
forceRenew: boolean;
|
|
1654
|
+
cert?: string | undefined;
|
|
1655
|
+
noBrowser?: boolean | undefined;
|
|
1656
|
+
apiUrl?: string | undefined;
|
|
1657
|
+
expectHandle?: string | undefined;
|
|
1658
|
+
expectUser?: string | undefined;
|
|
1659
|
+
}, {
|
|
1660
|
+
type: "core-cli.res-device-id-register";
|
|
1661
|
+
output: string;
|
|
1662
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1663
|
+
type: "vibes-diy.cli.db.list";
|
|
1662
1664
|
apiUrl: string;
|
|
1663
1665
|
appSlug: string;
|
|
1664
1666
|
ownerHandle: string;
|
|
1665
|
-
dbName: string;
|
|
1666
|
-
docId: string;
|
|
1667
1667
|
admin: boolean;
|
|
1668
|
-
actingHandle: string;
|
|
1669
1668
|
}, {
|
|
1670
|
-
type: "vibes-diy.cli.db.
|
|
1671
|
-
|
|
1672
|
-
[x: string]: unknown;
|
|
1673
|
-
};
|
|
1669
|
+
type: "vibes-diy.cli.db.list-res";
|
|
1670
|
+
dbNames: string[];
|
|
1674
1671
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1675
|
-
type: "vibes-diy.cli.db.
|
|
1672
|
+
type: "vibes-diy.cli.db.put";
|
|
1676
1673
|
apiUrl: string;
|
|
1677
1674
|
appSlug: string;
|
|
1678
1675
|
ownerHandle: string;
|
|
1679
1676
|
dbName: string;
|
|
1677
|
+
docJson: string;
|
|
1680
1678
|
docId: string;
|
|
1681
1679
|
admin: boolean;
|
|
1682
1680
|
actingHandle: string;
|
|
1681
|
+
files?: string[] | undefined;
|
|
1683
1682
|
}, {
|
|
1684
|
-
type: "vibes-diy.cli.db.
|
|
1683
|
+
type: "vibes-diy.cli.db.put-res";
|
|
1685
1684
|
id: string;
|
|
1686
1685
|
ok: true;
|
|
1686
|
+
files?: {
|
|
1687
|
+
key: string;
|
|
1688
|
+
status: "unchanged" | "uploaded";
|
|
1689
|
+
uploadId: string;
|
|
1690
|
+
}[] | undefined;
|
|
1687
1691
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1688
1692
|
type: "vibes-diy.cli.db.query";
|
|
1689
1693
|
apiUrl: string;
|