vibes-diy 14.3.411 → 14.3.413
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 +465 -450
- package/cli/cmd-evento.js +2 -1
- package/cli/cmds/app/index.d.ts +29 -0
- package/cli/cmds/app/index.js +3 -0
- package/cli/cmds/app/tick-cmd.d.ts +46 -0
- package/cli/cmds/app/tick-cmd.js +135 -0
- package/cli/cmds/db/del-cmd.d.ts +2 -0
- package/cli/cmds/db/del-cmd.js +3 -1
- package/cli/cmds/db/get-cmd.d.ts +2 -0
- package/cli/cmds/db/get-cmd.js +3 -1
- package/cli/cmds/db/index.d.ts +8 -0
- package/cli/cmds/db/put-cmd.d.ts +2 -0
- package/cli/cmds/db/put-cmd.js +4 -2
- package/cli/cmds/db/query-cmd.d.ts +2 -0
- package/cli/cmds/db/query-cmd.js +3 -1
- package/cli/cmds/db/shared.d.ts +6 -0
- package/cli/cmds/db/shared.js +18 -2
- package/cli/cmds/run/backend-worker/run-backend-entry.js +660 -162
- package/cli/cmds/run/bundle-inputs.json +3 -0
- package/cli/cmds/run/run-bundle.js +5035 -4548
- package/cli/main.js +13 -1
- package/package.json +8 -8
package/cli/cmd-evento.d.ts
CHANGED
|
@@ -2,199 +2,196 @@ import { isCmdProgress, sendMsg, sendProgress, type CmdProgress, type CmdTSMsg,
|
|
|
2
2
|
export type { CmdTSMsg, WrapCmdTSMsg, CmdProgress };
|
|
3
3
|
export { isCmdProgress, sendMsg, sendProgress };
|
|
4
4
|
export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
5
|
-
type: "
|
|
5
|
+
type: "core-cli.device-id-register";
|
|
6
|
+
commonName: string;
|
|
7
|
+
organization: string;
|
|
8
|
+
locality: string;
|
|
9
|
+
state: string;
|
|
10
|
+
country: string;
|
|
11
|
+
caUrl: string;
|
|
12
|
+
port: string;
|
|
13
|
+
timeout: string;
|
|
14
|
+
forceRenew: boolean;
|
|
15
|
+
cert?: string | undefined;
|
|
16
|
+
noBrowser?: boolean | undefined;
|
|
17
|
+
apiUrl?: string | undefined;
|
|
18
|
+
expectHandle?: string | undefined;
|
|
19
|
+
expectUser?: string | undefined;
|
|
6
20
|
}, {
|
|
7
|
-
type: "
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
guidance: string;
|
|
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;
|
|
17
30
|
}[];
|
|
31
|
+
} | {
|
|
32
|
+
type: "vibes-diy.cli.res-skill-content";
|
|
33
|
+
name: string;
|
|
34
|
+
content: string;
|
|
18
35
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
19
|
-
type: "vibes-diy.cli.
|
|
20
|
-
file: string;
|
|
21
|
-
appSlug: string;
|
|
22
|
-
ownerHandle: string;
|
|
36
|
+
type: "vibes-diy.cli.claim-handle";
|
|
23
37
|
apiUrl: string;
|
|
24
|
-
|
|
25
|
-
|
|
38
|
+
ownerHandle?: string | undefined;
|
|
39
|
+
noDefault?: boolean | undefined;
|
|
26
40
|
}, {
|
|
27
|
-
type: "vibes-diy.cli.res-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
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[];
|
|
33
47
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
34
|
-
type: "vibes-diy.cli.
|
|
48
|
+
type: "vibes-diy.cli.image";
|
|
49
|
+
apiUrl: string;
|
|
35
50
|
prompt: string;
|
|
36
|
-
appSlug: string;
|
|
37
51
|
ownerHandle: string;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
model?: string | undefined;
|
|
45
|
-
builderModel?: string | undefined;
|
|
46
|
-
apiKey?: string | undefined;
|
|
47
|
-
variety?: string | undefined;
|
|
48
|
-
record?: string | undefined;
|
|
49
|
-
style?: string | undefined;
|
|
50
|
-
fastPass?: boolean | undefined;
|
|
52
|
+
photo: string;
|
|
53
|
+
vibe: string;
|
|
54
|
+
db: string;
|
|
55
|
+
doc: string;
|
|
56
|
+
out: string;
|
|
57
|
+
json: boolean;
|
|
51
58
|
}, {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
fromAssetIds: string[];
|
|
72
|
-
} | {
|
|
73
|
-
type: "transformed";
|
|
74
|
-
action: "jsx-to-js";
|
|
75
|
-
transformedAssetId: string;
|
|
76
|
-
} | {
|
|
77
|
-
type: "tailwind-css";
|
|
78
|
-
} | undefined;
|
|
79
|
-
entryPoint?: boolean | undefined;
|
|
80
|
-
size: number;
|
|
81
|
-
kind?: "asset" | undefined;
|
|
82
|
-
uploadId?: string | undefined;
|
|
83
|
-
}[];
|
|
84
|
-
autoEnhanceOff?: true | undefined;
|
|
85
|
-
appCreated?: true | undefined;
|
|
86
|
-
} | {
|
|
87
|
-
type: "vibes.diy.res-error";
|
|
88
|
-
error: {
|
|
89
|
-
message: string;
|
|
90
|
-
code: "require-login";
|
|
91
|
-
};
|
|
92
|
-
} | {
|
|
93
|
-
type: "vibes.diy.res-error";
|
|
94
|
-
error: {
|
|
95
|
-
message: string;
|
|
96
|
-
code: "user-slug-invalid";
|
|
97
|
-
};
|
|
98
|
-
} | {
|
|
99
|
-
type: "vibes.diy.res-error";
|
|
100
|
-
error: {
|
|
101
|
-
message: string;
|
|
102
|
-
code: "app-slug-invalid";
|
|
103
|
-
};
|
|
104
|
-
} | {
|
|
105
|
-
type: "vibes.diy.res-error";
|
|
106
|
-
error: {
|
|
107
|
-
message: string;
|
|
108
|
-
code: "max-app-slugs-reached";
|
|
109
|
-
};
|
|
110
|
-
} | {
|
|
111
|
-
type: "vibes.diy.res-error";
|
|
112
|
-
error: {
|
|
113
|
-
message: string;
|
|
114
|
-
code: "handle-required";
|
|
115
|
-
};
|
|
116
|
-
} | {
|
|
117
|
-
type: "vibes.diy.res-error";
|
|
118
|
-
error: {
|
|
119
|
-
message: string;
|
|
120
|
-
code: "from-not-owned";
|
|
121
|
-
};
|
|
122
|
-
} | {
|
|
123
|
-
type: "vibes.diy.res-error";
|
|
124
|
-
error: {
|
|
125
|
-
message: string;
|
|
126
|
-
code: "from-carry-failed";
|
|
127
|
-
};
|
|
128
|
-
} | {
|
|
129
|
-
type: "vibes.diy.res-error";
|
|
130
|
-
error: {
|
|
131
|
-
message: string;
|
|
132
|
-
code: "auto-enhance-off";
|
|
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
|
+
};
|
|
133
78
|
};
|
|
134
|
-
} | {
|
|
135
|
-
type: "vibes-diy.cli.
|
|
79
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
80
|
+
type: "vibes-diy.cli.db.list";
|
|
81
|
+
apiUrl: string;
|
|
136
82
|
appSlug: string;
|
|
137
83
|
ownerHandle: string;
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
publish?: "kept-private-no-access-fn" | "private" | "published" | undefined;
|
|
143
|
-
posture?: "gated" | "open" | "private" | undefined;
|
|
84
|
+
admin: boolean;
|
|
85
|
+
}, {
|
|
86
|
+
type: "vibes-diy.cli.db.list-res";
|
|
87
|
+
dbNames: string[];
|
|
144
88
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
145
|
-
type: "vibes-diy.cli.db.
|
|
89
|
+
type: "vibes-diy.cli.db.put";
|
|
146
90
|
apiUrl: string;
|
|
147
91
|
appSlug: string;
|
|
148
92
|
ownerHandle: string;
|
|
149
93
|
dbName: string;
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
prefix: string;
|
|
153
|
-
range: string;
|
|
154
|
-
limit: number;
|
|
155
|
-
descending: boolean;
|
|
94
|
+
docJson: string;
|
|
95
|
+
docId: string;
|
|
156
96
|
admin: boolean;
|
|
157
97
|
actingHandle: string;
|
|
98
|
+
files?: string[] | undefined;
|
|
158
99
|
}, {
|
|
159
|
-
type: "vibes-diy.cli.db.
|
|
160
|
-
|
|
161
|
-
|
|
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;
|
|
162
128
|
}[];
|
|
163
129
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
164
|
-
type: "vibes-diy.cli.
|
|
130
|
+
type: "vibes-diy.cli.app-chats";
|
|
131
|
+
appSlug: string;
|
|
132
|
+
ownerHandle: string;
|
|
133
|
+
chatId?: string | undefined;
|
|
165
134
|
apiUrl: string;
|
|
166
135
|
}, {
|
|
167
|
-
type: "vibes-diy.cli.res-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
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;
|
|
173
150
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
174
|
-
type: "vibes-diy.cli.
|
|
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";
|
|
175
184
|
appSlug: string;
|
|
176
185
|
ownerHandle: string;
|
|
177
186
|
apiUrl: string;
|
|
178
187
|
}, {
|
|
179
|
-
type: "vibes-diy.cli.res-app-
|
|
188
|
+
type: "vibes-diy.cli.res-app-rearm";
|
|
180
189
|
appSlug: string;
|
|
181
190
|
ownerHandle: string;
|
|
182
191
|
state: "dead" | "healthy" | "overdue" | "running" | "unscheduled";
|
|
183
192
|
intervalMs: number | null;
|
|
184
|
-
armedAt: string | null;
|
|
185
|
-
lastAttemptAt: string | null;
|
|
186
|
-
lastRunAt: string | null;
|
|
187
|
-
lastErrorAt: string | null;
|
|
188
|
-
lastError: string | null;
|
|
189
|
-
attempt: number;
|
|
190
193
|
nextAlarmAt: string | null;
|
|
191
|
-
graceMs: number;
|
|
192
|
-
overdueMs: number;
|
|
193
|
-
healed: boolean;
|
|
194
|
-
releaseIntervalMs: number | null;
|
|
195
194
|
pausedIntervalMs: number | null;
|
|
196
|
-
stoppedIntervalMs: number | null;
|
|
197
|
-
stoppedAt: string | null;
|
|
198
195
|
settingsUrl: string;
|
|
199
196
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
200
197
|
type: "vibes-diy.cli.app-chips";
|
|
@@ -279,85 +276,38 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
279
276
|
appSlug: string;
|
|
280
277
|
items: {
|
|
281
278
|
who: string;
|
|
282
|
-
kind: "email" | "handle";
|
|
283
|
-
role: string;
|
|
284
|
-
state: "accepted" | "approved" | "pending" | "requested" | "revoked";
|
|
285
|
-
updated: string;
|
|
286
|
-
}[];
|
|
287
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
288
|
-
type: "vibes-diy.cli.moderation";
|
|
289
|
-
apiUrl: string;
|
|
290
|
-
op: "list-flags" | "list-reports" | "resolve-report" | "set-publishing-paused" | "status" | "suspend" | "triage-flag" | "unsuspend";
|
|
291
|
-
reason: string;
|
|
292
|
-
reportId: string;
|
|
293
|
-
userId: string;
|
|
294
|
-
handle: string;
|
|
295
|
-
paused?: boolean | undefined;
|
|
296
|
-
status: string;
|
|
297
|
-
limit: string;
|
|
298
|
-
flagId?: string | undefined;
|
|
299
|
-
triage?: string | undefined;
|
|
300
|
-
summary?: boolean | undefined;
|
|
301
|
-
since?: string | undefined;
|
|
302
|
-
}, {
|
|
303
|
-
type: "vibes-diy.cli.res-moderation";
|
|
304
|
-
op: string;
|
|
305
|
-
result: unknown;
|
|
306
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
307
|
-
type: "vibes-diy.cli.user-settings";
|
|
308
|
-
apiUrl: string;
|
|
309
|
-
setDefaultHandle?: string | undefined;
|
|
310
|
-
}, {
|
|
311
|
-
type: "vibes.diy.res-ensure-user-settings";
|
|
312
|
-
userId: string;
|
|
313
|
-
settings: ({
|
|
314
|
-
type: "notifications";
|
|
315
|
-
buildComplete?: boolean | undefined;
|
|
316
|
-
buildFailed?: boolean | undefined;
|
|
317
|
-
vibePublished?: boolean | undefined;
|
|
318
|
-
commentPosted?: boolean | undefined;
|
|
319
|
-
requestApproved?: boolean | undefined;
|
|
320
|
-
requestRevoked?: boolean | undefined;
|
|
321
|
-
vibeRemixed?: boolean | undefined;
|
|
322
|
-
dmReceived?: boolean | undefined;
|
|
323
|
-
memberJoined?: boolean | undefined;
|
|
324
|
-
accessRequested?: boolean | undefined;
|
|
325
|
-
emailDigest?: boolean | undefined;
|
|
326
|
-
retentionEmail?: boolean | undefined;
|
|
327
|
-
followRequest?: boolean | undefined;
|
|
328
|
-
followerAdded?: boolean | undefined;
|
|
329
|
-
followApproved?: boolean | undefined;
|
|
330
|
-
appMessage?: boolean | undefined;
|
|
331
|
-
connectionExpiring?: boolean | undefined;
|
|
332
|
-
assetBlocked?: boolean | undefined;
|
|
333
|
-
assetCheckFailed?: boolean | undefined;
|
|
334
|
-
checkoutUnfinished?: boolean | undefined;
|
|
335
|
-
safetyAlert?: boolean | undefined;
|
|
336
|
-
reminder?: boolean | undefined;
|
|
337
|
-
emailInstant?: boolean | undefined;
|
|
338
|
-
mutes?: {
|
|
339
|
-
vibes?: string[] | undefined;
|
|
340
|
-
handles?: string[] | undefined;
|
|
341
|
-
} | undefined;
|
|
342
|
-
vibeTypes?: {
|
|
343
|
-
vibe: string;
|
|
344
|
-
buildComplete?: boolean | undefined;
|
|
345
|
-
buildFailed?: boolean | undefined;
|
|
346
|
-
vibePublished?: boolean | undefined;
|
|
347
|
-
commentPosted?: boolean | undefined;
|
|
348
|
-
requestApproved?: boolean | undefined;
|
|
349
|
-
requestRevoked?: boolean | undefined;
|
|
350
|
-
vibeRemixed?: boolean | undefined;
|
|
351
|
-
memberJoined?: boolean | undefined;
|
|
352
|
-
accessRequested?: boolean | undefined;
|
|
353
|
-
appMessage?: boolean | undefined;
|
|
354
|
-
assetBlocked?: boolean | undefined;
|
|
355
|
-
assetCheckFailed?: boolean | undefined;
|
|
356
|
-
}[] | undefined;
|
|
357
|
-
agent?: {
|
|
358
|
-
hiddenVibes?: string[] | undefined;
|
|
359
|
-
} | undefined;
|
|
360
|
-
} | {
|
|
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
|
+
type: "vibes-diy.cli.user-settings";
|
|
305
|
+
apiUrl: string;
|
|
306
|
+
setDefaultHandle?: string | undefined;
|
|
307
|
+
}, {
|
|
308
|
+
type: "vibes.diy.res-ensure-user-settings";
|
|
309
|
+
userId: string;
|
|
310
|
+
settings: ({
|
|
361
311
|
type: "sharing";
|
|
362
312
|
grants: {
|
|
363
313
|
grant: "allow" | "deny";
|
|
@@ -475,6 +425,53 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
475
425
|
avatarCid?: string | undefined;
|
|
476
426
|
displayName?: string | undefined;
|
|
477
427
|
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;
|
|
478
475
|
} | {
|
|
479
476
|
type: "egressStatus";
|
|
480
477
|
status: "blessed" | "blocked";
|
|
@@ -541,6 +538,7 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
541
538
|
asker?: boolean | undefined;
|
|
542
539
|
guestAskerUserId?: string | undefined;
|
|
543
540
|
guest?: true | undefined;
|
|
541
|
+
cell?: string | undefined;
|
|
544
542
|
} | {
|
|
545
543
|
type: "groupSponsor";
|
|
546
544
|
sponsorUserId: string;
|
|
@@ -607,18 +605,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
607
605
|
})[];
|
|
608
606
|
updated: string;
|
|
609
607
|
created: string;
|
|
610
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
611
|
-
type: "vibes-diy.cli.skills";
|
|
612
|
-
}, {
|
|
613
|
-
type: "vibes-diy.cli.res-skills-list";
|
|
614
|
-
skills: {
|
|
615
|
-
name: string;
|
|
616
|
-
description: string;
|
|
617
|
-
}[];
|
|
618
|
-
} | {
|
|
619
|
-
type: "vibes-diy.cli.res-skill-content";
|
|
620
|
-
name: string;
|
|
621
|
-
content: string;
|
|
622
608
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
623
609
|
type: "use-vibes.cli.themes";
|
|
624
610
|
}, {
|
|
@@ -631,6 +617,20 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
631
617
|
type: "use-vibes.cli.res-theme-content";
|
|
632
618
|
slug: string;
|
|
633
619
|
content: string;
|
|
620
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
621
|
+
type: "vibes-diy.cli.variety";
|
|
622
|
+
}, {
|
|
623
|
+
type: "vibes-diy.cli.res-variety-list";
|
|
624
|
+
grammar: string;
|
|
625
|
+
flourishCount: number;
|
|
626
|
+
archetypes: {
|
|
627
|
+
id: string;
|
|
628
|
+
guidance: string;
|
|
629
|
+
}[];
|
|
630
|
+
flourishes: {
|
|
631
|
+
id: string;
|
|
632
|
+
guidance: string;
|
|
633
|
+
}[];
|
|
634
634
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
635
635
|
type: "vibes-diy.cli.system";
|
|
636
636
|
}, {
|
|
@@ -651,8 +651,162 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
651
651
|
appSlug: string;
|
|
652
652
|
} | undefined;
|
|
653
653
|
apiKey?: string | undefined;
|
|
654
|
-
apiUrl: string;
|
|
655
|
-
idleTimeoutMs?: number | undefined;
|
|
654
|
+
apiUrl: string;
|
|
655
|
+
idleTimeoutMs?: number | undefined;
|
|
656
|
+
}, {
|
|
657
|
+
appSlug: string;
|
|
658
|
+
ownerHandle: string;
|
|
659
|
+
mode: "dev" | "production";
|
|
660
|
+
fsId: string;
|
|
661
|
+
type: "vibes.diy.res-ensure-app-slug";
|
|
662
|
+
env: Record<string, string>;
|
|
663
|
+
fileSystem: {
|
|
664
|
+
fileName: string;
|
|
665
|
+
mimeType: string;
|
|
666
|
+
assetId: string;
|
|
667
|
+
assetURI: string;
|
|
668
|
+
transform?: {
|
|
669
|
+
type: "jsx-to-js";
|
|
670
|
+
transformedAssetId: string;
|
|
671
|
+
} | {
|
|
672
|
+
type: "imports";
|
|
673
|
+
importMapAssetId: string;
|
|
674
|
+
} | {
|
|
675
|
+
type: "import-map";
|
|
676
|
+
fromAssetIds: string[];
|
|
677
|
+
} | {
|
|
678
|
+
type: "transformed";
|
|
679
|
+
action: "jsx-to-js";
|
|
680
|
+
transformedAssetId: string;
|
|
681
|
+
} | {
|
|
682
|
+
type: "tailwind-css";
|
|
683
|
+
} | undefined;
|
|
684
|
+
entryPoint?: boolean | undefined;
|
|
685
|
+
size: number;
|
|
686
|
+
kind?: "asset" | undefined;
|
|
687
|
+
uploadId?: string | undefined;
|
|
688
|
+
}[];
|
|
689
|
+
autoEnhanceOff?: true | undefined;
|
|
690
|
+
appCreated?: true | undefined;
|
|
691
|
+
} | {
|
|
692
|
+
type: "vibes.diy.res-error";
|
|
693
|
+
error: {
|
|
694
|
+
message: string;
|
|
695
|
+
code: "require-login";
|
|
696
|
+
};
|
|
697
|
+
} | {
|
|
698
|
+
type: "vibes.diy.res-error";
|
|
699
|
+
error: {
|
|
700
|
+
message: string;
|
|
701
|
+
code: "user-slug-invalid";
|
|
702
|
+
};
|
|
703
|
+
} | {
|
|
704
|
+
type: "vibes.diy.res-error";
|
|
705
|
+
error: {
|
|
706
|
+
message: string;
|
|
707
|
+
code: "app-slug-invalid";
|
|
708
|
+
};
|
|
709
|
+
} | {
|
|
710
|
+
type: "vibes.diy.res-error";
|
|
711
|
+
error: {
|
|
712
|
+
message: string;
|
|
713
|
+
code: "max-app-slugs-reached";
|
|
714
|
+
};
|
|
715
|
+
} | {
|
|
716
|
+
type: "vibes.diy.res-error";
|
|
717
|
+
error: {
|
|
718
|
+
message: string;
|
|
719
|
+
code: "handle-required";
|
|
720
|
+
};
|
|
721
|
+
} | {
|
|
722
|
+
type: "vibes.diy.res-error";
|
|
723
|
+
error: {
|
|
724
|
+
message: string;
|
|
725
|
+
code: "from-not-owned";
|
|
726
|
+
};
|
|
727
|
+
} | {
|
|
728
|
+
type: "vibes.diy.res-error";
|
|
729
|
+
error: {
|
|
730
|
+
message: string;
|
|
731
|
+
code: "from-carry-failed";
|
|
732
|
+
};
|
|
733
|
+
} | {
|
|
734
|
+
type: "vibes.diy.res-error";
|
|
735
|
+
error: {
|
|
736
|
+
message: string;
|
|
737
|
+
code: "auto-enhance-off";
|
|
738
|
+
};
|
|
739
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
740
|
+
type: "vibes-diy.cli.remix";
|
|
741
|
+
srcUserSlug: string;
|
|
742
|
+
srcAppSlug: string;
|
|
743
|
+
dstOwnerHandle?: string | undefined;
|
|
744
|
+
dstAppSlug?: string | undefined;
|
|
745
|
+
published: boolean;
|
|
746
|
+
settingsOnly: boolean;
|
|
747
|
+
apiUrl: string;
|
|
748
|
+
}, {
|
|
749
|
+
type: "vibes-diy.cli.res-remix";
|
|
750
|
+
ownerHandle: string;
|
|
751
|
+
appSlug: string;
|
|
752
|
+
url: string;
|
|
753
|
+
carried?: string[] | undefined;
|
|
754
|
+
skippedPresent?: string[] | undefined;
|
|
755
|
+
chatId?: string | undefined;
|
|
756
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
757
|
+
type: "vibes-diy.cli.agent";
|
|
758
|
+
apiUrl: string;
|
|
759
|
+
prompt: string;
|
|
760
|
+
ownerHandle: string;
|
|
761
|
+
followMs: number;
|
|
762
|
+
json: boolean;
|
|
763
|
+
chatId?: string | undefined;
|
|
764
|
+
newChat?: boolean | undefined;
|
|
765
|
+
images?: string[] | undefined;
|
|
766
|
+
byText?: boolean | undefined;
|
|
767
|
+
}, {
|
|
768
|
+
type: "vibes-diy.cli.res-agent";
|
|
769
|
+
ownerHandle: string;
|
|
770
|
+
chatId: string;
|
|
771
|
+
messages: string[];
|
|
772
|
+
shorts?: string[] | undefined;
|
|
773
|
+
links: string[];
|
|
774
|
+
idle: boolean;
|
|
775
|
+
reactions?: string[] | undefined;
|
|
776
|
+
error?: string | undefined;
|
|
777
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
778
|
+
type: "vibes-diy.cli.put-asset";
|
|
779
|
+
file: string;
|
|
780
|
+
appSlug: string;
|
|
781
|
+
ownerHandle: string;
|
|
782
|
+
apiUrl: string;
|
|
783
|
+
mimeType: string;
|
|
784
|
+
verifyFetch: boolean;
|
|
785
|
+
}, {
|
|
786
|
+
type: "vibes-diy.cli.res-put-asset";
|
|
787
|
+
cid: string;
|
|
788
|
+
getURL: string;
|
|
789
|
+
size: number;
|
|
790
|
+
uploadId: string;
|
|
791
|
+
verified?: boolean | undefined;
|
|
792
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
793
|
+
type: "vibes-diy.cli.generate";
|
|
794
|
+
prompt: string;
|
|
795
|
+
appSlug: string;
|
|
796
|
+
ownerHandle: string;
|
|
797
|
+
instantJoin?: boolean | undefined;
|
|
798
|
+
noAccessFn?: boolean | undefined;
|
|
799
|
+
privateMode?: boolean | undefined;
|
|
800
|
+
verbose: boolean;
|
|
801
|
+
apiUrl: string;
|
|
802
|
+
focusPath?: string | undefined;
|
|
803
|
+
model?: string | undefined;
|
|
804
|
+
builderModel?: string | undefined;
|
|
805
|
+
apiKey?: string | undefined;
|
|
806
|
+
variety?: string | undefined;
|
|
807
|
+
record?: string | undefined;
|
|
808
|
+
style?: string | undefined;
|
|
809
|
+
fastPass?: boolean | undefined;
|
|
656
810
|
}, {
|
|
657
811
|
appSlug: string;
|
|
658
812
|
ownerHandle: string;
|
|
@@ -736,109 +890,16 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
736
890
|
message: string;
|
|
737
891
|
code: "auto-enhance-off";
|
|
738
892
|
};
|
|
739
|
-
}
|
|
740
|
-
type: "vibes-diy.cli.
|
|
741
|
-
srcUserSlug: string;
|
|
742
|
-
srcAppSlug: string;
|
|
743
|
-
dstOwnerHandle?: string | undefined;
|
|
744
|
-
dstAppSlug?: string | undefined;
|
|
745
|
-
published: boolean;
|
|
746
|
-
settingsOnly: boolean;
|
|
747
|
-
apiUrl: string;
|
|
748
|
-
}, {
|
|
749
|
-
type: "vibes-diy.cli.res-remix";
|
|
750
|
-
ownerHandle: string;
|
|
751
|
-
appSlug: string;
|
|
752
|
-
url: string;
|
|
753
|
-
carried?: string[] | undefined;
|
|
754
|
-
skippedPresent?: string[] | undefined;
|
|
755
|
-
chatId?: string | undefined;
|
|
756
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
757
|
-
type: "vibes-diy.cli.claim-handle";
|
|
758
|
-
apiUrl: string;
|
|
759
|
-
ownerHandle?: string | undefined;
|
|
760
|
-
noDefault?: boolean | undefined;
|
|
761
|
-
}, {
|
|
762
|
-
type: "vibes-diy.cli.res-claim-handle";
|
|
763
|
-
op: "claim" | "suggest";
|
|
764
|
-
ownerHandle?: string | undefined;
|
|
765
|
-
defaultHandleSet?: boolean | undefined;
|
|
766
|
-
defaultSkipped?: boolean | undefined;
|
|
767
|
-
suggestions: string[];
|
|
768
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
769
|
-
type: "vibes-diy.cli.agent";
|
|
770
|
-
apiUrl: string;
|
|
771
|
-
prompt: string;
|
|
772
|
-
ownerHandle: string;
|
|
773
|
-
followMs: number;
|
|
774
|
-
json: boolean;
|
|
775
|
-
chatId?: string | undefined;
|
|
776
|
-
newChat?: boolean | undefined;
|
|
777
|
-
images?: string[] | undefined;
|
|
778
|
-
byText?: boolean | undefined;
|
|
779
|
-
}, {
|
|
780
|
-
type: "vibes-diy.cli.res-agent";
|
|
781
|
-
ownerHandle: string;
|
|
782
|
-
chatId: string;
|
|
783
|
-
messages: string[];
|
|
784
|
-
shorts?: string[] | undefined;
|
|
785
|
-
links: string[];
|
|
786
|
-
idle: boolean;
|
|
787
|
-
reactions?: string[] | undefined;
|
|
788
|
-
error?: string | undefined;
|
|
789
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
790
|
-
type: "vibes-diy.cli.image";
|
|
791
|
-
apiUrl: string;
|
|
792
|
-
prompt: string;
|
|
793
|
-
ownerHandle: string;
|
|
794
|
-
photo: string;
|
|
795
|
-
vibe: string;
|
|
796
|
-
db: string;
|
|
797
|
-
doc: string;
|
|
798
|
-
out: string;
|
|
799
|
-
json: boolean;
|
|
800
|
-
}, {
|
|
801
|
-
type: "vibes-diy.cli.res-image";
|
|
802
|
-
path: string;
|
|
803
|
-
receipt: {
|
|
804
|
-
ok: true;
|
|
805
|
-
picture: {
|
|
806
|
-
url: string;
|
|
807
|
-
mimeType: string;
|
|
808
|
-
name: string;
|
|
809
|
-
size: number;
|
|
810
|
-
ownerHandle: string;
|
|
811
|
-
appSlug: string;
|
|
812
|
-
dbName: string;
|
|
813
|
-
docId: string;
|
|
814
|
-
};
|
|
815
|
-
link?: string | undefined;
|
|
816
|
-
made: {
|
|
817
|
-
prompt: string;
|
|
818
|
-
model: string;
|
|
819
|
-
};
|
|
820
|
-
};
|
|
821
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
822
|
-
type: "vibes-diy.cli.app-chats";
|
|
893
|
+
} | {
|
|
894
|
+
type: "vibes-diy.cli.res-generate";
|
|
823
895
|
appSlug: string;
|
|
824
896
|
ownerHandle: string;
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
appSlug: string;
|
|
832
|
-
ownerHandle: string;
|
|
833
|
-
created: string;
|
|
834
|
-
userHandle?: string | undefined;
|
|
835
|
-
}[];
|
|
836
|
-
} | {
|
|
837
|
-
type: "vibes-diy.cli.res-app-chats-detail";
|
|
838
|
-
chatId: string;
|
|
839
|
-
ownerHandle?: string | undefined;
|
|
840
|
-
appSlug?: string | undefined;
|
|
841
|
-
output: string;
|
|
897
|
+
url: string;
|
|
898
|
+
directory: string;
|
|
899
|
+
release?: "not-visible" | "published" | "version-locked" | undefined;
|
|
900
|
+
turns?: number | undefined;
|
|
901
|
+
publish?: "kept-private-no-access-fn" | "private" | "published" | undefined;
|
|
902
|
+
posture?: "gated" | "open" | "private" | undefined;
|
|
842
903
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
843
904
|
type: "vibes-diy.cli.codegen-log";
|
|
844
905
|
appSlug: string;
|
|
@@ -979,24 +1040,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
979
1040
|
directory: string;
|
|
980
1041
|
restyled?: boolean | undefined;
|
|
981
1042
|
fsId?: string | undefined;
|
|
982
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
983
|
-
type: "vibes-diy.cli.list";
|
|
984
|
-
apiUrl: string;
|
|
985
|
-
}, {
|
|
986
|
-
type: "vibes-diy.cli.res-list";
|
|
987
|
-
items: {
|
|
988
|
-
ownerHandle: string;
|
|
989
|
-
appSlug: string;
|
|
990
|
-
updated: string;
|
|
991
|
-
title?: string | undefined;
|
|
992
|
-
icon?: {
|
|
993
|
-
cid: string;
|
|
994
|
-
mime: string;
|
|
995
|
-
} | undefined;
|
|
996
|
-
pinnedAt?: string | undefined;
|
|
997
|
-
neverPublished?: boolean | undefined;
|
|
998
|
-
unpublishedAt?: string | undefined;
|
|
999
|
-
}[];
|
|
1000
1043
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1001
1044
|
type: "vibes-diy.cli.doctor";
|
|
1002
1045
|
apiUrl: string;
|
|
@@ -1023,6 +1066,16 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1023
1066
|
detail: string;
|
|
1024
1067
|
ms?: number | undefined;
|
|
1025
1068
|
} | undefined;
|
|
1069
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1070
|
+
type: "vibes-diy.cli.whoami";
|
|
1071
|
+
apiUrl: string;
|
|
1072
|
+
}, {
|
|
1073
|
+
type: "vibes-diy.cli.res-whoami";
|
|
1074
|
+
authenticated: boolean;
|
|
1075
|
+
userId?: string | undefined;
|
|
1076
|
+
defaultHandle?: string | undefined;
|
|
1077
|
+
handles: string[];
|
|
1078
|
+
detail?: string | undefined;
|
|
1026
1079
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1027
1080
|
type: "vibes-diy.cli.pull";
|
|
1028
1081
|
appSlug: string;
|
|
@@ -1042,20 +1095,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1042
1095
|
name: string;
|
|
1043
1096
|
size: number;
|
|
1044
1097
|
}[];
|
|
1045
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1046
|
-
type: "vibes-diy.cli.run";
|
|
1047
|
-
apiUrl: string;
|
|
1048
|
-
vibe: string;
|
|
1049
|
-
dir: string;
|
|
1050
|
-
port: number;
|
|
1051
|
-
host: string;
|
|
1052
|
-
stateDir: string;
|
|
1053
|
-
baseUrl: string;
|
|
1054
|
-
}, {
|
|
1055
|
-
type: "vibes-diy.cli.res-run";
|
|
1056
|
-
origin: string;
|
|
1057
|
-
ownerHandle: string;
|
|
1058
|
-
appSlug: string;
|
|
1059
1098
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1060
1099
|
type: "vibes-diy.cli.versions";
|
|
1061
1100
|
appSlug: string;
|
|
@@ -1091,19 +1130,45 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1091
1130
|
safety: "error" | "high" | "low" | "pending" | "unknown";
|
|
1092
1131
|
}[];
|
|
1093
1132
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1094
|
-
type: "vibes-diy.cli.app-
|
|
1133
|
+
type: "vibes-diy.cli.app-status";
|
|
1095
1134
|
appSlug: string;
|
|
1096
1135
|
ownerHandle: string;
|
|
1097
1136
|
apiUrl: string;
|
|
1098
1137
|
}, {
|
|
1099
|
-
type: "vibes-diy.cli.res-app-
|
|
1138
|
+
type: "vibes-diy.cli.res-app-status";
|
|
1100
1139
|
appSlug: string;
|
|
1101
1140
|
ownerHandle: string;
|
|
1102
1141
|
state: "dead" | "healthy" | "overdue" | "running" | "unscheduled";
|
|
1103
1142
|
intervalMs: number | null;
|
|
1143
|
+
armedAt: string | null;
|
|
1144
|
+
lastAttemptAt: string | null;
|
|
1145
|
+
lastRunAt: string | null;
|
|
1146
|
+
lastErrorAt: string | null;
|
|
1147
|
+
lastError: string | null;
|
|
1148
|
+
attempt: number;
|
|
1104
1149
|
nextAlarmAt: string | null;
|
|
1150
|
+
graceMs: number;
|
|
1151
|
+
overdueMs: number;
|
|
1152
|
+
healed: boolean;
|
|
1153
|
+
releaseIntervalMs: number | null;
|
|
1105
1154
|
pausedIntervalMs: number | null;
|
|
1155
|
+
stoppedIntervalMs: number | null;
|
|
1156
|
+
stoppedAt: string | null;
|
|
1106
1157
|
settingsUrl: string;
|
|
1158
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1159
|
+
type: "vibes-diy.cli.app-tick";
|
|
1160
|
+
appSlug: string;
|
|
1161
|
+
ownerHandle: string;
|
|
1162
|
+
at: string;
|
|
1163
|
+
apiUrl: string;
|
|
1164
|
+
}, {
|
|
1165
|
+
type: "vibes-diy.cli.res-app-tick";
|
|
1166
|
+
appSlug: string;
|
|
1167
|
+
ownerHandle: string;
|
|
1168
|
+
scheduledTime: string;
|
|
1169
|
+
ran: boolean;
|
|
1170
|
+
reason: string | null;
|
|
1171
|
+
detail: string | null;
|
|
1107
1172
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1108
1173
|
type: "vibes-diy.cli.app-screenshot";
|
|
1109
1174
|
appSlug: string;
|
|
@@ -1586,34 +1651,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1586
1651
|
}, {
|
|
1587
1652
|
type: "vibes-diy.cli.res-phone-link-classify";
|
|
1588
1653
|
reaction?: string | undefined;
|
|
1589
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1590
|
-
type: "core-cli.device-id-register";
|
|
1591
|
-
commonName: string;
|
|
1592
|
-
organization: string;
|
|
1593
|
-
locality: string;
|
|
1594
|
-
state: string;
|
|
1595
|
-
country: string;
|
|
1596
|
-
caUrl: string;
|
|
1597
|
-
port: string;
|
|
1598
|
-
timeout: string;
|
|
1599
|
-
forceRenew: boolean;
|
|
1600
|
-
cert?: string | undefined;
|
|
1601
|
-
noBrowser?: boolean | undefined;
|
|
1602
|
-
apiUrl?: string | undefined;
|
|
1603
|
-
expectHandle?: string | undefined;
|
|
1604
|
-
expectUser?: string | undefined;
|
|
1605
|
-
}, {
|
|
1606
|
-
type: "core-cli.res-device-id-register";
|
|
1607
|
-
output: string;
|
|
1608
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1609
|
-
type: "vibes-diy.cli.db.list";
|
|
1610
|
-
apiUrl: string;
|
|
1611
|
-
appSlug: string;
|
|
1612
|
-
ownerHandle: string;
|
|
1613
|
-
admin: boolean;
|
|
1614
|
-
}, {
|
|
1615
|
-
type: "vibes-diy.cli.db.list-res";
|
|
1616
|
-
dbNames: string[];
|
|
1617
1654
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1618
1655
|
type: "vibes-diy.cli.db.get";
|
|
1619
1656
|
apiUrl: string;
|
|
@@ -1629,64 +1666,42 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1629
1666
|
[x: string]: unknown;
|
|
1630
1667
|
};
|
|
1631
1668
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1632
|
-
type: "vibes-diy.cli.db.
|
|
1669
|
+
type: "vibes-diy.cli.db.del";
|
|
1633
1670
|
apiUrl: string;
|
|
1634
1671
|
appSlug: string;
|
|
1635
1672
|
ownerHandle: string;
|
|
1636
1673
|
dbName: string;
|
|
1637
|
-
docJson: string;
|
|
1638
1674
|
docId: string;
|
|
1639
1675
|
admin: boolean;
|
|
1640
1676
|
actingHandle: string;
|
|
1641
|
-
files?: string[] | undefined;
|
|
1642
1677
|
}, {
|
|
1643
|
-
type: "vibes-diy.cli.db.
|
|
1678
|
+
type: "vibes-diy.cli.db.del-res";
|
|
1644
1679
|
id: string;
|
|
1645
1680
|
ok: true;
|
|
1646
|
-
files?: {
|
|
1647
|
-
key: string;
|
|
1648
|
-
status: "unchanged" | "uploaded";
|
|
1649
|
-
uploadId: string;
|
|
1650
|
-
}[] | undefined;
|
|
1651
1681
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1652
|
-
type: "vibes-diy.cli.db.
|
|
1682
|
+
type: "vibes-diy.cli.db.query";
|
|
1653
1683
|
apiUrl: string;
|
|
1654
1684
|
appSlug: string;
|
|
1655
1685
|
ownerHandle: string;
|
|
1656
1686
|
dbName: string;
|
|
1657
|
-
|
|
1687
|
+
field: string;
|
|
1688
|
+
key: string;
|
|
1689
|
+
prefix: string;
|
|
1690
|
+
range: string;
|
|
1691
|
+
limit: number;
|
|
1692
|
+
descending: boolean;
|
|
1658
1693
|
admin: boolean;
|
|
1659
1694
|
actingHandle: string;
|
|
1660
1695
|
}, {
|
|
1661
|
-
type: "vibes-diy.cli.db.
|
|
1662
|
-
|
|
1663
|
-
|
|
1696
|
+
type: "vibes-diy.cli.db.query-res";
|
|
1697
|
+
docs: {
|
|
1698
|
+
[x: string]: unknown;
|
|
1699
|
+
}[];
|
|
1664
1700
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1665
1701
|
type: "vibes-diy.cli.db.subscribe";
|
|
1666
1702
|
apiUrl: string;
|
|
1667
1703
|
appSlug: string;
|
|
1668
1704
|
ownerHandle: string;
|
|
1669
1705
|
dbName: string;
|
|
1670
|
-
}, never>
|
|
1671
|
-
type: "vibes-diy.cli.db.seed";
|
|
1672
|
-
action: "add" | "remove";
|
|
1673
|
-
apiUrl: string;
|
|
1674
|
-
appSlug: string;
|
|
1675
|
-
ownerHandle: string;
|
|
1676
|
-
}, {
|
|
1677
|
-
type: "vibes-diy.cli.db.seed-res";
|
|
1678
|
-
action: "add" | "remove";
|
|
1679
|
-
appSlug: string;
|
|
1680
|
-
ownerHandle: string;
|
|
1681
|
-
seedFile: "absent" | "invalid" | "present" | "unknown";
|
|
1682
|
-
changed: number;
|
|
1683
|
-
skipped: number;
|
|
1684
|
-
failed: number;
|
|
1685
|
-
perDb: {
|
|
1686
|
-
dbName: string;
|
|
1687
|
-
changed: number;
|
|
1688
|
-
skipped: number;
|
|
1689
|
-
failed: number;
|
|
1690
|
-
}[];
|
|
1691
|
-
}>)[];
|
|
1706
|
+
}, never>)[];
|
|
1692
1707
|
export declare function cmdTsEvento(): import("@adviser/cement").Evento;
|