vibes-diy 13.0.8 → 13.0.10
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 +315 -291
- package/cli/cmd-evento.js +3 -0
- package/cli/cmd-evento.js.map +1 -1
- package/cli/cmds/app/logs-cmd.d.ts +5 -0
- package/cli/cmds/app/logs-cmd.js +56 -2
- package/cli/cmds/app/logs-cmd.js.map +1 -1
- package/cli/cmds/app/logs-cmd.test.js +91 -2
- package/cli/cmds/app/logs-cmd.test.js.map +1 -1
- package/cli/cmds/mcp-cmd.js +26 -11
- package/cli/cmds/mcp-cmd.js.map +1 -1
- package/cli/cmds/mcp-cmd.test.js +82 -0
- package/cli/cmds/mcp-cmd.test.js.map +1 -1
- package/cli/cmds/pull-cmd.js +1 -1
- package/cli/cmds/pull-cmd.js.map +1 -1
- package/cli/cmds/retention/index.d.ts +56 -0
- package/cli/cmds/retention/index.js +16 -0
- package/cli/cmds/retention/index.js.map +1 -0
- package/cli/cmds/retention/preview-cmd.d.ts +38 -0
- package/cli/cmds/retention/preview-cmd.js +93 -0
- package/cli/cmds/retention/preview-cmd.js.map +1 -0
- package/cli/cmds/retention/reset-cmd.d.ts +37 -0
- package/cli/cmds/retention/reset-cmd.js +91 -0
- package/cli/cmds/retention/reset-cmd.js.map +1 -0
- package/cli/main.js +26 -0
- package/cli/main.js.map +1 -1
- package/package.json +9 -9
package/cli/cmd-evento.d.ts
CHANGED
|
@@ -2,138 +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
|
-
}, {
|
|
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.db.list";
|
|
25
|
-
apiUrl: string;
|
|
26
|
-
appSlug: string;
|
|
27
|
-
ownerHandle: string;
|
|
28
|
-
}, {
|
|
29
|
-
type: "vibes-diy.cli.db.list-res";
|
|
30
|
-
dbNames: string[];
|
|
31
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
32
|
-
type: "vibes-diy.cli.db.query";
|
|
33
|
-
apiUrl: string;
|
|
34
|
-
appSlug: string;
|
|
35
|
-
ownerHandle: string;
|
|
36
|
-
dbName: string;
|
|
37
|
-
field: string;
|
|
38
|
-
key: string;
|
|
39
|
-
prefix: string;
|
|
40
|
-
range: string;
|
|
41
|
-
limit: number;
|
|
42
|
-
descending: boolean;
|
|
43
|
-
}, {
|
|
44
|
-
type: "vibes-diy.cli.db.query-res";
|
|
45
|
-
docs: {
|
|
46
|
-
[x: string]: unknown;
|
|
47
|
-
}[];
|
|
48
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
49
|
-
type: "vibes-diy.cli.codegen-log";
|
|
50
|
-
appSlug: string;
|
|
51
|
-
ownerHandle: string;
|
|
52
|
-
chatId?: string | undefined;
|
|
53
|
-
apiUrl: string;
|
|
54
|
-
response?: boolean | undefined;
|
|
55
|
-
raw?: boolean | undefined;
|
|
56
|
-
files?: boolean | undefined;
|
|
57
|
-
jsonl?: boolean | undefined;
|
|
58
|
-
user?: boolean | undefined;
|
|
59
|
-
promptId?: string | undefined;
|
|
60
|
-
}, {
|
|
61
|
-
type: "vibes-diy.cli.res-codegen-log-response";
|
|
62
|
-
output: string;
|
|
63
|
-
} | {
|
|
64
|
-
type: "vibes-diy.cli.res-codegen-log-list";
|
|
65
|
-
items: {
|
|
66
|
-
chatId: string;
|
|
67
|
-
appSlug: string;
|
|
68
|
-
ownerHandle: string;
|
|
69
|
-
created: string;
|
|
70
|
-
}[];
|
|
71
|
-
} | {
|
|
72
|
-
type: "vibes-diy.cli.res-codegen-log-detail";
|
|
73
|
-
chatId: string;
|
|
74
|
-
ownerHandle: string;
|
|
75
|
-
appSlug: string;
|
|
76
|
-
prompts: {
|
|
77
|
-
prompt: string;
|
|
78
|
-
fsId: string;
|
|
79
|
-
created: string;
|
|
80
|
-
}[];
|
|
81
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
82
|
-
type: "vibes-diy.cli.list";
|
|
83
|
-
apiUrl: string;
|
|
84
|
-
}, {
|
|
85
|
-
type: "vibes-diy.cli.res-list";
|
|
86
|
-
items: {
|
|
87
|
-
ownerHandle: string;
|
|
88
|
-
appSlug: string;
|
|
89
|
-
updated: string;
|
|
90
|
-
title?: string | undefined;
|
|
91
|
-
icon?: {
|
|
92
|
-
cid: string;
|
|
93
|
-
mime: string;
|
|
94
|
-
} | undefined;
|
|
95
|
-
pinnedAt?: string | undefined;
|
|
96
|
-
neverPublished?: boolean | undefined;
|
|
97
|
-
unpublishedAt?: string | undefined;
|
|
98
|
-
}[];
|
|
99
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
100
|
-
type: "vibes-diy.cli.app-rearm";
|
|
101
|
-
appSlug: string;
|
|
102
|
-
ownerHandle: string;
|
|
103
|
-
apiUrl: string;
|
|
104
|
-
}, {
|
|
105
|
-
type: "vibes-diy.cli.res-app-rearm";
|
|
106
|
-
appSlug: string;
|
|
107
|
-
ownerHandle: string;
|
|
108
|
-
state: "dead" | "healthy" | "overdue" | "running" | "unscheduled";
|
|
109
|
-
intervalMs: number | null;
|
|
110
|
-
nextAlarmAt: string | null;
|
|
111
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
112
|
-
type: "vibes-diy.cli.set-unpublish";
|
|
113
|
-
appSlug: string;
|
|
114
|
-
ownerHandle: string;
|
|
115
|
-
unpublish: boolean;
|
|
116
|
-
apiUrl: string;
|
|
117
|
-
}, {
|
|
118
|
-
type: "vibes-diy.cli.res-set-unpublish";
|
|
119
|
-
appSlug: string;
|
|
120
|
-
ownerHandle: string;
|
|
121
|
-
unpublishedAt: string;
|
|
122
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
123
|
-
type: "vibes-diy.cli.publish";
|
|
124
|
-
appSlug: string;
|
|
125
|
-
ownerHandle: string;
|
|
126
|
-
fsId?: string | undefined;
|
|
127
|
-
apiUrl: string;
|
|
128
|
-
}, {
|
|
129
|
-
type: "vibes-diy.cli.res-publish";
|
|
130
|
-
appSlug: string;
|
|
131
|
-
ownerHandle: string;
|
|
132
|
-
fsId: string;
|
|
133
|
-
releaseSeq: number;
|
|
134
|
-
released: boolean;
|
|
135
|
-
restored: boolean;
|
|
136
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
137
5
|
type: "vibes-diy.cli.user-settings";
|
|
138
6
|
apiUrl: string;
|
|
139
7
|
setDefaultHandle?: string | undefined;
|
|
@@ -268,6 +136,219 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
268
136
|
})[];
|
|
269
137
|
updated: string;
|
|
270
138
|
created: string;
|
|
139
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
140
|
+
type: "use-vibes.cli.themes";
|
|
141
|
+
}, {
|
|
142
|
+
type: "use-vibes.cli.res-themes-list";
|
|
143
|
+
themes: {
|
|
144
|
+
slug: string;
|
|
145
|
+
name: string;
|
|
146
|
+
}[];
|
|
147
|
+
} | {
|
|
148
|
+
type: "use-vibes.cli.res-theme-content";
|
|
149
|
+
slug: string;
|
|
150
|
+
content: string;
|
|
151
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
152
|
+
type: "vibes-diy.cli.claim-handle";
|
|
153
|
+
apiUrl: string;
|
|
154
|
+
ownerHandle?: string | undefined;
|
|
155
|
+
}, {
|
|
156
|
+
type: "vibes-diy.cli.res-claim-handle";
|
|
157
|
+
op: "claim" | "suggest";
|
|
158
|
+
ownerHandle?: string | undefined;
|
|
159
|
+
defaultHandleSet?: boolean | undefined;
|
|
160
|
+
suggestions: string[];
|
|
161
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
162
|
+
type: "vibes-diy.cli.db.del";
|
|
163
|
+
apiUrl: string;
|
|
164
|
+
appSlug: string;
|
|
165
|
+
ownerHandle: string;
|
|
166
|
+
dbName: string;
|
|
167
|
+
docId: string;
|
|
168
|
+
admin: boolean;
|
|
169
|
+
}, {
|
|
170
|
+
type: "vibes-diy.cli.db.del-res";
|
|
171
|
+
id: string;
|
|
172
|
+
ok: true;
|
|
173
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
174
|
+
type: "vibes-diy.cli.edit";
|
|
175
|
+
appSlug: string;
|
|
176
|
+
prompt: string;
|
|
177
|
+
ownerHandle: string;
|
|
178
|
+
instantJoin?: boolean | undefined;
|
|
179
|
+
verbose: boolean;
|
|
180
|
+
dir: string;
|
|
181
|
+
apiUrl: string;
|
|
182
|
+
dryRun: boolean;
|
|
183
|
+
transcript: boolean;
|
|
184
|
+
focusPath?: string | undefined;
|
|
185
|
+
model?: string | undefined;
|
|
186
|
+
apiKey?: string | undefined;
|
|
187
|
+
}, {
|
|
188
|
+
appSlug: string;
|
|
189
|
+
ownerHandle: string;
|
|
190
|
+
mode: "dev" | "production";
|
|
191
|
+
fsId: string;
|
|
192
|
+
type: "vibes.diy.res-ensure-app-slug";
|
|
193
|
+
env: Record<string, string>;
|
|
194
|
+
fileSystem: {
|
|
195
|
+
fileName: string;
|
|
196
|
+
mimeType: string;
|
|
197
|
+
assetId: string;
|
|
198
|
+
assetURI: string;
|
|
199
|
+
transform?: {
|
|
200
|
+
type: "jsx-to-js";
|
|
201
|
+
transformedAssetId: string;
|
|
202
|
+
} | {
|
|
203
|
+
type: "imports";
|
|
204
|
+
importMapAssetId: string;
|
|
205
|
+
} | {
|
|
206
|
+
type: "import-map";
|
|
207
|
+
fromAssetIds: string[];
|
|
208
|
+
} | {
|
|
209
|
+
type: "transformed";
|
|
210
|
+
action: "jsx-to-js";
|
|
211
|
+
transformedAssetId: string;
|
|
212
|
+
} | {
|
|
213
|
+
type: "tailwind-css";
|
|
214
|
+
} | undefined;
|
|
215
|
+
entryPoint?: boolean | undefined;
|
|
216
|
+
size: number;
|
|
217
|
+
}[];
|
|
218
|
+
} | {
|
|
219
|
+
type: "vibes.diy.res-error";
|
|
220
|
+
error: {
|
|
221
|
+
message: string;
|
|
222
|
+
code: "require-login";
|
|
223
|
+
};
|
|
224
|
+
} | {
|
|
225
|
+
type: "vibes.diy.res-error";
|
|
226
|
+
error: {
|
|
227
|
+
message: string;
|
|
228
|
+
code: "user-slug-invalid";
|
|
229
|
+
};
|
|
230
|
+
} | {
|
|
231
|
+
type: "vibes.diy.res-error";
|
|
232
|
+
error: {
|
|
233
|
+
message: string;
|
|
234
|
+
code: "app-slug-invalid";
|
|
235
|
+
};
|
|
236
|
+
} | {
|
|
237
|
+
type: "vibes.diy.res-error";
|
|
238
|
+
error: {
|
|
239
|
+
message: string;
|
|
240
|
+
code: "max-app-slugs-reached";
|
|
241
|
+
};
|
|
242
|
+
} | {
|
|
243
|
+
type: "vibes.diy.res-error";
|
|
244
|
+
error: {
|
|
245
|
+
message: string;
|
|
246
|
+
code: "handle-required";
|
|
247
|
+
};
|
|
248
|
+
} | {
|
|
249
|
+
type: "vibes-diy.cli.res-edit";
|
|
250
|
+
appSlug: string;
|
|
251
|
+
ownerHandle: string;
|
|
252
|
+
url: string;
|
|
253
|
+
directory: string;
|
|
254
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
255
|
+
type: "vibes-diy.cli.app-status";
|
|
256
|
+
appSlug: string;
|
|
257
|
+
ownerHandle: string;
|
|
258
|
+
apiUrl: string;
|
|
259
|
+
}, {
|
|
260
|
+
type: "vibes-diy.cli.res-app-status";
|
|
261
|
+
appSlug: string;
|
|
262
|
+
ownerHandle: string;
|
|
263
|
+
state: "dead" | "healthy" | "overdue" | "running" | "unscheduled";
|
|
264
|
+
intervalMs: number | null;
|
|
265
|
+
armedAt: string | null;
|
|
266
|
+
lastAttemptAt: string | null;
|
|
267
|
+
lastRunAt: string | null;
|
|
268
|
+
lastErrorAt: string | null;
|
|
269
|
+
lastError: string | null;
|
|
270
|
+
attempt: number;
|
|
271
|
+
nextAlarmAt: string | null;
|
|
272
|
+
graceMs: number;
|
|
273
|
+
overdueMs: number;
|
|
274
|
+
healed: boolean;
|
|
275
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
276
|
+
type: "vibes-diy.cli.app-rearm";
|
|
277
|
+
appSlug: string;
|
|
278
|
+
ownerHandle: string;
|
|
279
|
+
apiUrl: string;
|
|
280
|
+
}, {
|
|
281
|
+
type: "vibes-diy.cli.res-app-rearm";
|
|
282
|
+
appSlug: string;
|
|
283
|
+
ownerHandle: string;
|
|
284
|
+
state: "dead" | "healthy" | "overdue" | "running" | "unscheduled";
|
|
285
|
+
intervalMs: number | null;
|
|
286
|
+
nextAlarmAt: string | null;
|
|
287
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
288
|
+
type: "vibes-diy.cli.app-logs";
|
|
289
|
+
appSlug: string;
|
|
290
|
+
ownerHandle: string;
|
|
291
|
+
apiUrl: string;
|
|
292
|
+
since: string;
|
|
293
|
+
level: string;
|
|
294
|
+
limit: number;
|
|
295
|
+
tail: boolean;
|
|
296
|
+
}, {
|
|
297
|
+
type: "vibes-diy.cli.res-app-logs";
|
|
298
|
+
appSlug: string;
|
|
299
|
+
ownerHandle: string;
|
|
300
|
+
events: {
|
|
301
|
+
id: string;
|
|
302
|
+
ts: string;
|
|
303
|
+
lane: string;
|
|
304
|
+
level: string;
|
|
305
|
+
trigger: string;
|
|
306
|
+
fsId: string;
|
|
307
|
+
body: string;
|
|
308
|
+
sessionId: string | null;
|
|
309
|
+
viewerHandle: string | null;
|
|
310
|
+
}[];
|
|
311
|
+
priorFsId: string | null;
|
|
312
|
+
nextCursor: string | null;
|
|
313
|
+
tail: boolean;
|
|
314
|
+
latestTs?: string | null | undefined;
|
|
315
|
+
since: string;
|
|
316
|
+
level: string;
|
|
317
|
+
sinceTs?: string | undefined;
|
|
318
|
+
firstPage: boolean;
|
|
319
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
320
|
+
type: "vibes-diy.cli.app-chips";
|
|
321
|
+
appSlug: string;
|
|
322
|
+
ownerHandle: string;
|
|
323
|
+
apiUrl: string;
|
|
324
|
+
chips: string[];
|
|
325
|
+
fsId: string;
|
|
326
|
+
}, {
|
|
327
|
+
type: "vibes-diy.cli.res-app-chips";
|
|
328
|
+
appSlug: string;
|
|
329
|
+
ownerHandle: string;
|
|
330
|
+
fsId: string;
|
|
331
|
+
releaseSeq: number;
|
|
332
|
+
chips: string[];
|
|
333
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
334
|
+
type: "vibes-diy.cli.developer";
|
|
335
|
+
apiUrl: string;
|
|
336
|
+
appSlug: string;
|
|
337
|
+
ownerHandle: string;
|
|
338
|
+
op: "add" | "ls" | "rm";
|
|
339
|
+
devHandle?: string | undefined;
|
|
340
|
+
}, {
|
|
341
|
+
type: "vibes-diy.cli.developer-res";
|
|
342
|
+
op: "add" | "ls" | "rm";
|
|
343
|
+
ownerHandle: string;
|
|
344
|
+
appSlug: string;
|
|
345
|
+
items: {
|
|
346
|
+
devHandle: string;
|
|
347
|
+
devUserId?: string | undefined;
|
|
348
|
+
state: "active" | "revoked";
|
|
349
|
+
updated: string;
|
|
350
|
+
created?: string | undefined;
|
|
351
|
+
}[];
|
|
271
352
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
272
353
|
type: "vibes-diy.cli.skills";
|
|
273
354
|
}, {
|
|
@@ -281,17 +362,10 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
281
362
|
name: string;
|
|
282
363
|
content: string;
|
|
283
364
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
284
|
-
type: "
|
|
365
|
+
type: "vibes-diy.cli.system";
|
|
285
366
|
}, {
|
|
286
|
-
type: "
|
|
287
|
-
|
|
288
|
-
slug: string;
|
|
289
|
-
name: string;
|
|
290
|
-
}[];
|
|
291
|
-
} | {
|
|
292
|
-
type: "use-vibes.cli.res-theme-content";
|
|
293
|
-
slug: string;
|
|
294
|
-
content: string;
|
|
367
|
+
type: "vibes-diy.cli.res-system";
|
|
368
|
+
systemPrompt: string;
|
|
295
369
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
296
370
|
type: "vibes-diy.cli.push";
|
|
297
371
|
mode: string;
|
|
@@ -365,16 +439,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
365
439
|
message: string;
|
|
366
440
|
code: "handle-required";
|
|
367
441
|
};
|
|
368
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
369
|
-
type: "vibes-diy.cli.claim-handle";
|
|
370
|
-
apiUrl: string;
|
|
371
|
-
ownerHandle?: string | undefined;
|
|
372
|
-
}, {
|
|
373
|
-
type: "vibes-diy.cli.res-claim-handle";
|
|
374
|
-
op: "claim" | "suggest";
|
|
375
|
-
ownerHandle?: string | undefined;
|
|
376
|
-
defaultHandleSet?: boolean | undefined;
|
|
377
|
-
suggestions: string[];
|
|
378
442
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
379
443
|
type: "vibes-diy.cli.put-asset";
|
|
380
444
|
file: string;
|
|
@@ -494,86 +558,56 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
494
558
|
appSlug?: string | undefined;
|
|
495
559
|
output: string;
|
|
496
560
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
497
|
-
type: "vibes-diy.cli.
|
|
561
|
+
type: "vibes-diy.cli.codegen-log";
|
|
498
562
|
appSlug: string;
|
|
499
|
-
prompt: string;
|
|
500
563
|
ownerHandle: string;
|
|
501
|
-
|
|
502
|
-
verbose: boolean;
|
|
503
|
-
dir: string;
|
|
564
|
+
chatId?: string | undefined;
|
|
504
565
|
apiUrl: string;
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
566
|
+
response?: boolean | undefined;
|
|
567
|
+
raw?: boolean | undefined;
|
|
568
|
+
files?: boolean | undefined;
|
|
569
|
+
jsonl?: boolean | undefined;
|
|
570
|
+
user?: boolean | undefined;
|
|
571
|
+
promptId?: string | undefined;
|
|
510
572
|
}, {
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
fileSystem: {
|
|
518
|
-
fileName: string;
|
|
519
|
-
mimeType: string;
|
|
520
|
-
assetId: string;
|
|
521
|
-
assetURI: string;
|
|
522
|
-
transform?: {
|
|
523
|
-
type: "jsx-to-js";
|
|
524
|
-
transformedAssetId: string;
|
|
525
|
-
} | {
|
|
526
|
-
type: "imports";
|
|
527
|
-
importMapAssetId: string;
|
|
528
|
-
} | {
|
|
529
|
-
type: "import-map";
|
|
530
|
-
fromAssetIds: string[];
|
|
531
|
-
} | {
|
|
532
|
-
type: "transformed";
|
|
533
|
-
action: "jsx-to-js";
|
|
534
|
-
transformedAssetId: string;
|
|
535
|
-
} | {
|
|
536
|
-
type: "tailwind-css";
|
|
537
|
-
} | undefined;
|
|
538
|
-
entryPoint?: boolean | undefined;
|
|
539
|
-
size: number;
|
|
573
|
+
type: "vibes-diy.cli.res-codegen-log-list";
|
|
574
|
+
items: {
|
|
575
|
+
chatId: string;
|
|
576
|
+
appSlug: string;
|
|
577
|
+
ownerHandle: string;
|
|
578
|
+
created: string;
|
|
540
579
|
}[];
|
|
541
580
|
} | {
|
|
542
|
-
type: "vibes
|
|
543
|
-
|
|
544
|
-
message: string;
|
|
545
|
-
code: "require-login";
|
|
546
|
-
};
|
|
547
|
-
} | {
|
|
548
|
-
type: "vibes.diy.res-error";
|
|
549
|
-
error: {
|
|
550
|
-
message: string;
|
|
551
|
-
code: "user-slug-invalid";
|
|
552
|
-
};
|
|
553
|
-
} | {
|
|
554
|
-
type: "vibes.diy.res-error";
|
|
555
|
-
error: {
|
|
556
|
-
message: string;
|
|
557
|
-
code: "app-slug-invalid";
|
|
558
|
-
};
|
|
559
|
-
} | {
|
|
560
|
-
type: "vibes.diy.res-error";
|
|
561
|
-
error: {
|
|
562
|
-
message: string;
|
|
563
|
-
code: "max-app-slugs-reached";
|
|
564
|
-
};
|
|
565
|
-
} | {
|
|
566
|
-
type: "vibes.diy.res-error";
|
|
567
|
-
error: {
|
|
568
|
-
message: string;
|
|
569
|
-
code: "handle-required";
|
|
570
|
-
};
|
|
571
|
-
} | {
|
|
572
|
-
type: "vibes-diy.cli.res-edit";
|
|
573
|
-
appSlug: string;
|
|
581
|
+
type: "vibes-diy.cli.res-codegen-log-detail";
|
|
582
|
+
chatId: string;
|
|
574
583
|
ownerHandle: string;
|
|
575
|
-
|
|
576
|
-
|
|
584
|
+
appSlug: string;
|
|
585
|
+
prompts: {
|
|
586
|
+
prompt: string;
|
|
587
|
+
fsId: string;
|
|
588
|
+
created: string;
|
|
589
|
+
}[];
|
|
590
|
+
} | {
|
|
591
|
+
type: "vibes-diy.cli.res-codegen-log-response";
|
|
592
|
+
output: string;
|
|
593
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
594
|
+
type: "vibes-diy.cli.list";
|
|
595
|
+
apiUrl: string;
|
|
596
|
+
}, {
|
|
597
|
+
type: "vibes-diy.cli.res-list";
|
|
598
|
+
items: {
|
|
599
|
+
ownerHandle: string;
|
|
600
|
+
appSlug: string;
|
|
601
|
+
updated: string;
|
|
602
|
+
title?: string | undefined;
|
|
603
|
+
icon?: {
|
|
604
|
+
cid: string;
|
|
605
|
+
mime: string;
|
|
606
|
+
} | undefined;
|
|
607
|
+
pinnedAt?: string | undefined;
|
|
608
|
+
neverPublished?: boolean | undefined;
|
|
609
|
+
unpublishedAt?: string | undefined;
|
|
610
|
+
}[];
|
|
577
611
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
578
612
|
type: "vibes-diy.cli.pull";
|
|
579
613
|
appSlug: string;
|
|
@@ -608,67 +642,30 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
608
642
|
published: boolean;
|
|
609
643
|
}[];
|
|
610
644
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
611
|
-
type: "vibes-diy.cli.
|
|
612
|
-
appSlug: string;
|
|
613
|
-
ownerHandle: string;
|
|
614
|
-
apiUrl: string;
|
|
615
|
-
}, {
|
|
616
|
-
type: "vibes-diy.cli.res-app-status";
|
|
617
|
-
appSlug: string;
|
|
618
|
-
ownerHandle: string;
|
|
619
|
-
state: "dead" | "healthy" | "overdue" | "running" | "unscheduled";
|
|
620
|
-
intervalMs: number | null;
|
|
621
|
-
armedAt: string | null;
|
|
622
|
-
lastAttemptAt: string | null;
|
|
623
|
-
lastRunAt: string | null;
|
|
624
|
-
lastErrorAt: string | null;
|
|
625
|
-
lastError: string | null;
|
|
626
|
-
attempt: number;
|
|
627
|
-
nextAlarmAt: string | null;
|
|
628
|
-
graceMs: number;
|
|
629
|
-
overdueMs: number;
|
|
630
|
-
healed: boolean;
|
|
631
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
632
|
-
type: "vibes-diy.cli.app-logs";
|
|
645
|
+
type: "vibes-diy.cli.set-unpublish";
|
|
633
646
|
appSlug: string;
|
|
634
647
|
ownerHandle: string;
|
|
648
|
+
unpublish: boolean;
|
|
635
649
|
apiUrl: string;
|
|
636
|
-
since: string;
|
|
637
|
-
level: string;
|
|
638
|
-
limit: number;
|
|
639
|
-
tail: boolean;
|
|
640
650
|
}, {
|
|
641
|
-
type: "vibes-diy.cli.res-
|
|
651
|
+
type: "vibes-diy.cli.res-set-unpublish";
|
|
642
652
|
appSlug: string;
|
|
643
653
|
ownerHandle: string;
|
|
644
|
-
|
|
645
|
-
id: string;
|
|
646
|
-
ts: string;
|
|
647
|
-
lane: string;
|
|
648
|
-
level: string;
|
|
649
|
-
trigger: string;
|
|
650
|
-
fsId: string;
|
|
651
|
-
body: string;
|
|
652
|
-
sessionId: string | null;
|
|
653
|
-
viewerHandle: string | null;
|
|
654
|
-
}[];
|
|
655
|
-
priorFsId: string | null;
|
|
656
|
-
nextCursor: string | null;
|
|
657
|
-
tail: boolean;
|
|
654
|
+
unpublishedAt: string;
|
|
658
655
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
659
|
-
type: "vibes-diy.cli.
|
|
656
|
+
type: "vibes-diy.cli.publish";
|
|
660
657
|
appSlug: string;
|
|
661
658
|
ownerHandle: string;
|
|
659
|
+
fsId?: string | undefined;
|
|
662
660
|
apiUrl: string;
|
|
663
|
-
chips: string[];
|
|
664
|
-
fsId: string;
|
|
665
661
|
}, {
|
|
666
|
-
type: "vibes-diy.cli.res-
|
|
662
|
+
type: "vibes-diy.cli.res-publish";
|
|
667
663
|
appSlug: string;
|
|
668
664
|
ownerHandle: string;
|
|
669
665
|
fsId: string;
|
|
670
666
|
releaseSeq: number;
|
|
671
|
-
|
|
667
|
+
released: boolean;
|
|
668
|
+
restored: boolean;
|
|
672
669
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
673
670
|
type: "vibes-diy.cli.secrets";
|
|
674
671
|
apiUrl: string;
|
|
@@ -703,24 +700,46 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
703
700
|
appSlug: string;
|
|
704
701
|
}[];
|
|
705
702
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
706
|
-
type: "vibes-diy.cli.
|
|
703
|
+
type: "vibes-diy.cli.retention-preview";
|
|
704
|
+
apiUrl: string;
|
|
705
|
+
step: string;
|
|
706
|
+
userId: string;
|
|
707
|
+
}, {
|
|
708
|
+
type: "vibes-diy.cli.res-retention-preview";
|
|
709
|
+
userId: string;
|
|
710
|
+
step: string;
|
|
711
|
+
enqueued: boolean;
|
|
712
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
713
|
+
type: "vibes-diy.cli.retention-reset";
|
|
714
|
+
apiUrl: string;
|
|
715
|
+
userId: string;
|
|
716
|
+
step: string;
|
|
717
|
+
}, {
|
|
718
|
+
type: "vibes-diy.cli.res-retention-reset";
|
|
719
|
+
userId: string;
|
|
720
|
+
cleared: string[];
|
|
721
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
722
|
+
type: "core-cli.device-id-register";
|
|
723
|
+
commonName: string;
|
|
724
|
+
organization: string;
|
|
725
|
+
locality: string;
|
|
726
|
+
state: string;
|
|
727
|
+
country: string;
|
|
728
|
+
caUrl: string;
|
|
729
|
+
port: string;
|
|
730
|
+
timeout: string;
|
|
731
|
+
forceRenew: boolean;
|
|
732
|
+
}, {
|
|
733
|
+
type: "core-cli.res-device-id-register";
|
|
734
|
+
output: string;
|
|
735
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
736
|
+
type: "vibes-diy.cli.db.list";
|
|
707
737
|
apiUrl: string;
|
|
708
738
|
appSlug: string;
|
|
709
739
|
ownerHandle: string;
|
|
710
|
-
op: "add" | "ls" | "rm";
|
|
711
|
-
devHandle?: string | undefined;
|
|
712
740
|
}, {
|
|
713
|
-
type: "vibes-diy.cli.
|
|
714
|
-
|
|
715
|
-
ownerHandle: string;
|
|
716
|
-
appSlug: string;
|
|
717
|
-
items: {
|
|
718
|
-
devHandle: string;
|
|
719
|
-
devUserId?: string | undefined;
|
|
720
|
-
state: "active" | "revoked";
|
|
721
|
-
updated: string;
|
|
722
|
-
created?: string | undefined;
|
|
723
|
-
}[];
|
|
741
|
+
type: "vibes-diy.cli.db.list-res";
|
|
742
|
+
dbNames: string[];
|
|
724
743
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
725
744
|
type: "vibes-diy.cli.db.get";
|
|
726
745
|
apiUrl: string;
|
|
@@ -747,17 +766,22 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
747
766
|
id: string;
|
|
748
767
|
ok: true;
|
|
749
768
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
750
|
-
type: "vibes-diy.cli.db.
|
|
769
|
+
type: "vibes-diy.cli.db.query";
|
|
751
770
|
apiUrl: string;
|
|
752
771
|
appSlug: string;
|
|
753
772
|
ownerHandle: string;
|
|
754
773
|
dbName: string;
|
|
755
|
-
|
|
756
|
-
|
|
774
|
+
field: string;
|
|
775
|
+
key: string;
|
|
776
|
+
prefix: string;
|
|
777
|
+
range: string;
|
|
778
|
+
limit: number;
|
|
779
|
+
descending: boolean;
|
|
757
780
|
}, {
|
|
758
|
-
type: "vibes-diy.cli.db.
|
|
759
|
-
|
|
760
|
-
|
|
781
|
+
type: "vibes-diy.cli.db.query-res";
|
|
782
|
+
docs: {
|
|
783
|
+
[x: string]: unknown;
|
|
784
|
+
}[];
|
|
761
785
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
762
786
|
type: "vibes-diy.cli.db.subscribe";
|
|
763
787
|
apiUrl: string;
|
package/cli/cmd-evento.js
CHANGED
|
@@ -18,6 +18,7 @@ import { setUnpublishEvento, publishEvento } from "./cmds/unpublish-cmd.js";
|
|
|
18
18
|
import { secretsEvento } from "./cmds/secrets/secrets-cmd.js";
|
|
19
19
|
import { recommendEvento } from "./cmds/recommend/recommend-cmd.js";
|
|
20
20
|
import { developerEvento } from "./cmds/developer/developer-cmd.js";
|
|
21
|
+
import { retentionPreviewEvento, retentionResetEvento } from "./cmds/retention/index.js";
|
|
21
22
|
import { deviceIdRegisterEvento } from "@vibes.diy/identity/node";
|
|
22
23
|
import { isCmdProgress, makeCmdTsEvento, sendMsg, sendProgress, } from "./cli-kit.js";
|
|
23
24
|
export { isCmdProgress, sendMsg, sendProgress };
|
|
@@ -46,6 +47,8 @@ export function cliEventoHandlers() {
|
|
|
46
47
|
secretsEvento,
|
|
47
48
|
recommendEvento,
|
|
48
49
|
developerEvento,
|
|
50
|
+
retentionPreviewEvento,
|
|
51
|
+
retentionResetEvento,
|
|
49
52
|
deviceIdRegisterEvento,
|
|
50
53
|
dbListEvento,
|
|
51
54
|
dbGetEvento,
|