vibes-diy 14.3.32 → 14.3.36
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 +453 -453
- package/cli/cmds/fetch-version-sources.d.ts +11 -0
- package/cli/cmds/fetch-version-sources.js +31 -0
- package/cli/cmds/fetch-version-sources.js.map +1 -0
- package/cli/cmds/fetch-version-sources.test.d.ts +1 -0
- package/cli/cmds/fetch-version-sources.test.js +46 -0
- package/cli/cmds/fetch-version-sources.test.js.map +1 -0
- package/cli/cmds/follow-chat-build.d.ts +4 -1
- package/cli/cmds/follow-chat-build.js +91 -3
- package/cli/cmds/follow-chat-build.js.map +1 -1
- package/cli/cmds/follow-chat-build.test.js +241 -0
- package/cli/cmds/follow-chat-build.test.js.map +1 -1
- package/cli/cmds/generate-cmd.test.js +41 -2
- package/cli/cmds/generate-cmd.test.js.map +1 -1
- package/cli/cmds/generate-core.d.ts +2 -0
- package/cli/cmds/generate-core.js +86 -21
- package/cli/cmds/generate-core.js.map +1 -1
- package/cli/cmds/generate-core.test.js +213 -0
- package/cli/cmds/generate-core.test.js.map +1 -1
- package/cli/cmds/mcp-cmd.test.js +79 -0
- package/cli/cmds/mcp-cmd.test.js.map +1 -1
- package/cli/cmds/pull-cmd.d.ts +1 -0
- package/cli/cmds/pull-cmd.js +1 -1
- package/cli/cmds/pull-cmd.js.map +1 -1
- package/cli/cmds/resolve-section-stream.d.ts +1 -0
- package/cli/cmds/resolve-section-stream.js +5 -0
- package/cli/cmds/resolve-section-stream.js.map +1 -1
- package/package.json +8 -8
package/cli/cmd-evento.d.ts
CHANGED
|
@@ -2,92 +2,397 @@ 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: "
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
locality: string;
|
|
9
|
-
state: string;
|
|
10
|
-
country: string;
|
|
11
|
-
caUrl: string;
|
|
12
|
-
port: string;
|
|
13
|
-
timeout: string;
|
|
14
|
-
forceRenew: boolean;
|
|
5
|
+
type: "vibes-diy.cli.user-settings";
|
|
6
|
+
apiUrl: string;
|
|
7
|
+
setDefaultHandle?: string | undefined;
|
|
15
8
|
}, {
|
|
16
|
-
type: "
|
|
17
|
-
|
|
9
|
+
type: "vibes.diy.res-ensure-user-settings";
|
|
10
|
+
userId: string;
|
|
11
|
+
settings: ({
|
|
12
|
+
type: "sharing";
|
|
13
|
+
grants: {
|
|
14
|
+
grant: "allow" | "deny";
|
|
15
|
+
appSlug: string;
|
|
16
|
+
ownerHandle: string;
|
|
17
|
+
dbName: string;
|
|
18
|
+
}[];
|
|
19
|
+
} | {
|
|
20
|
+
type: "modelDefaults";
|
|
21
|
+
codegen?: {
|
|
22
|
+
model?: {
|
|
23
|
+
id: string;
|
|
24
|
+
name: string;
|
|
25
|
+
description: string;
|
|
26
|
+
featured?: boolean | undefined;
|
|
27
|
+
preSelected?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
28
|
+
fallbackFor?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
29
|
+
supports?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
30
|
+
imageInput?: boolean | undefined;
|
|
31
|
+
} | undefined;
|
|
32
|
+
apiKey?: string | undefined;
|
|
33
|
+
} | undefined;
|
|
34
|
+
agent?: {
|
|
35
|
+
model?: {
|
|
36
|
+
id: string;
|
|
37
|
+
name: string;
|
|
38
|
+
description: string;
|
|
39
|
+
featured?: boolean | undefined;
|
|
40
|
+
preSelected?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
41
|
+
fallbackFor?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
42
|
+
supports?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
43
|
+
imageInput?: boolean | undefined;
|
|
44
|
+
} | undefined;
|
|
45
|
+
apiKey?: string | undefined;
|
|
46
|
+
} | undefined;
|
|
47
|
+
subagent?: {
|
|
48
|
+
model?: {
|
|
49
|
+
id: string;
|
|
50
|
+
name: string;
|
|
51
|
+
description: string;
|
|
52
|
+
featured?: boolean | undefined;
|
|
53
|
+
preSelected?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
54
|
+
fallbackFor?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
55
|
+
supports?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
56
|
+
imageInput?: boolean | undefined;
|
|
57
|
+
} | undefined;
|
|
58
|
+
apiKey?: string | undefined;
|
|
59
|
+
} | undefined;
|
|
60
|
+
runtime?: {
|
|
61
|
+
model?: {
|
|
62
|
+
id: string;
|
|
63
|
+
name: string;
|
|
64
|
+
description: string;
|
|
65
|
+
featured?: boolean | undefined;
|
|
66
|
+
preSelected?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
67
|
+
fallbackFor?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
68
|
+
supports?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
69
|
+
imageInput?: boolean | undefined;
|
|
70
|
+
} | undefined;
|
|
71
|
+
apiKey?: string | undefined;
|
|
72
|
+
} | undefined;
|
|
73
|
+
img?: {
|
|
74
|
+
model?: {
|
|
75
|
+
id: string;
|
|
76
|
+
name: string;
|
|
77
|
+
description: string;
|
|
78
|
+
featured?: boolean | undefined;
|
|
79
|
+
preSelected?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
80
|
+
fallbackFor?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
81
|
+
supports?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
82
|
+
imageInput?: boolean | undefined;
|
|
83
|
+
} | undefined;
|
|
84
|
+
apiKey?: string | undefined;
|
|
85
|
+
} | undefined;
|
|
86
|
+
chat?: {
|
|
87
|
+
model?: {
|
|
88
|
+
id: string;
|
|
89
|
+
name: string;
|
|
90
|
+
description: string;
|
|
91
|
+
featured?: boolean | undefined;
|
|
92
|
+
preSelected?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
93
|
+
fallbackFor?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
94
|
+
supports?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
95
|
+
imageInput?: boolean | undefined;
|
|
96
|
+
} | undefined;
|
|
97
|
+
apiKey?: string | undefined;
|
|
98
|
+
} | undefined;
|
|
99
|
+
app?: {
|
|
100
|
+
model?: {
|
|
101
|
+
id: string;
|
|
102
|
+
name: string;
|
|
103
|
+
description: string;
|
|
104
|
+
featured?: boolean | undefined;
|
|
105
|
+
preSelected?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
106
|
+
fallbackFor?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
107
|
+
supports?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
108
|
+
imageInput?: boolean | undefined;
|
|
109
|
+
} | undefined;
|
|
110
|
+
apiKey?: string | undefined;
|
|
111
|
+
} | undefined;
|
|
112
|
+
} | {
|
|
113
|
+
type: "defaultHandle";
|
|
114
|
+
ownerHandle: string;
|
|
115
|
+
} | {
|
|
116
|
+
type: "profile";
|
|
117
|
+
avatarCid?: string | undefined;
|
|
118
|
+
displayName?: string | undefined;
|
|
119
|
+
codeMode?: boolean | undefined;
|
|
120
|
+
} | {
|
|
121
|
+
type: "notifications";
|
|
122
|
+
buildComplete?: boolean | undefined;
|
|
123
|
+
buildFailed?: boolean | undefined;
|
|
124
|
+
vibePublished?: boolean | undefined;
|
|
125
|
+
commentPosted?: boolean | undefined;
|
|
126
|
+
requestApproved?: boolean | undefined;
|
|
127
|
+
requestRevoked?: boolean | undefined;
|
|
128
|
+
vibeRemixed?: boolean | undefined;
|
|
129
|
+
dmReceived?: boolean | undefined;
|
|
130
|
+
memberJoined?: boolean | undefined;
|
|
131
|
+
accessRequested?: boolean | undefined;
|
|
132
|
+
emailDigest?: boolean | undefined;
|
|
133
|
+
retentionEmail?: boolean | undefined;
|
|
134
|
+
followRequest?: boolean | undefined;
|
|
135
|
+
followerAdded?: boolean | undefined;
|
|
136
|
+
followApproved?: boolean | undefined;
|
|
137
|
+
appMessage?: boolean | undefined;
|
|
138
|
+
connectionExpiring?: boolean | undefined;
|
|
139
|
+
assetBlocked?: boolean | undefined;
|
|
140
|
+
assetCheckFailed?: boolean | undefined;
|
|
141
|
+
emailInstant?: boolean | undefined;
|
|
142
|
+
mutes?: {
|
|
143
|
+
vibes?: string[] | undefined;
|
|
144
|
+
handles?: string[] | undefined;
|
|
145
|
+
} | undefined;
|
|
146
|
+
vibeTypes?: {
|
|
147
|
+
vibe: string;
|
|
148
|
+
buildComplete?: boolean | undefined;
|
|
149
|
+
buildFailed?: boolean | undefined;
|
|
150
|
+
vibePublished?: boolean | undefined;
|
|
151
|
+
commentPosted?: boolean | undefined;
|
|
152
|
+
requestApproved?: boolean | undefined;
|
|
153
|
+
requestRevoked?: boolean | undefined;
|
|
154
|
+
vibeRemixed?: boolean | undefined;
|
|
155
|
+
memberJoined?: boolean | undefined;
|
|
156
|
+
accessRequested?: boolean | undefined;
|
|
157
|
+
appMessage?: boolean | undefined;
|
|
158
|
+
assetBlocked?: boolean | undefined;
|
|
159
|
+
assetCheckFailed?: boolean | undefined;
|
|
160
|
+
}[] | undefined;
|
|
161
|
+
} | {
|
|
162
|
+
type: "egressStatus";
|
|
163
|
+
status: "blessed" | "blocked";
|
|
164
|
+
updatedAt: string;
|
|
165
|
+
setBy?: string | undefined;
|
|
166
|
+
} | {
|
|
167
|
+
type: "contactEmail";
|
|
168
|
+
email: string;
|
|
169
|
+
updatedAt: string;
|
|
170
|
+
verified?: boolean | undefined;
|
|
171
|
+
} | {
|
|
172
|
+
type: "geoCountry";
|
|
173
|
+
country: string;
|
|
174
|
+
updatedAt: string;
|
|
175
|
+
} | {
|
|
176
|
+
type: "retentionDrip";
|
|
177
|
+
sent: {
|
|
178
|
+
[x: string]: string;
|
|
179
|
+
};
|
|
180
|
+
updatedAt: string;
|
|
181
|
+
} | {
|
|
182
|
+
type: "onboarding";
|
|
183
|
+
completedAt: string;
|
|
184
|
+
} | {
|
|
185
|
+
type: "kyc";
|
|
186
|
+
cardAt?: string | undefined;
|
|
187
|
+
} | {
|
|
188
|
+
type: "metaClickId";
|
|
189
|
+
fbc: string;
|
|
190
|
+
clickedAt: number;
|
|
191
|
+
updatedAt: string;
|
|
192
|
+
} | {
|
|
193
|
+
type: "lastVisit";
|
|
194
|
+
day: string;
|
|
195
|
+
} | {
|
|
196
|
+
type: "defaultHandle";
|
|
197
|
+
ownerHandle: string;
|
|
198
|
+
})[];
|
|
199
|
+
updated: string;
|
|
200
|
+
created: string;
|
|
18
201
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
19
|
-
type: "vibes-diy.cli.
|
|
202
|
+
type: "vibes-diy.cli.system";
|
|
20
203
|
}, {
|
|
21
|
-
type: "vibes-diy.cli.res-
|
|
22
|
-
|
|
23
|
-
flourishCount: number;
|
|
24
|
-
archetypes: {
|
|
25
|
-
id: string;
|
|
26
|
-
guidance: string;
|
|
27
|
-
}[];
|
|
28
|
-
flourishes: {
|
|
29
|
-
id: string;
|
|
30
|
-
guidance: string;
|
|
31
|
-
}[];
|
|
204
|
+
type: "vibes-diy.cli.res-system";
|
|
205
|
+
systemPrompt: string;
|
|
32
206
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
33
|
-
type: "vibes-diy.cli.
|
|
207
|
+
type: "vibes-diy.cli.remix";
|
|
208
|
+
srcUserSlug: string;
|
|
209
|
+
srcAppSlug: string;
|
|
210
|
+
dstOwnerHandle?: string | undefined;
|
|
211
|
+
dstAppSlug?: string | undefined;
|
|
212
|
+
published: boolean;
|
|
213
|
+
settingsOnly: boolean;
|
|
214
|
+
apiUrl: string;
|
|
215
|
+
}, {
|
|
216
|
+
type: "vibes-diy.cli.res-remix";
|
|
217
|
+
ownerHandle: string;
|
|
218
|
+
appSlug: string;
|
|
219
|
+
url: string;
|
|
220
|
+
carried?: string[] | undefined;
|
|
221
|
+
skippedPresent?: string[] | undefined;
|
|
222
|
+
chatId?: string | undefined;
|
|
223
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
224
|
+
type: "vibes-diy.cli.put-asset";
|
|
225
|
+
file: string;
|
|
226
|
+
appSlug: string;
|
|
227
|
+
ownerHandle: string;
|
|
228
|
+
apiUrl: string;
|
|
229
|
+
mimeType: string;
|
|
230
|
+
verifyFetch: boolean;
|
|
231
|
+
}, {
|
|
232
|
+
type: "vibes-diy.cli.res-put-asset";
|
|
233
|
+
cid: string;
|
|
234
|
+
getURL: string;
|
|
235
|
+
size: number;
|
|
236
|
+
uploadId: string;
|
|
237
|
+
verified?: boolean | undefined;
|
|
238
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
239
|
+
type: "vibes-diy.cli.db.list";
|
|
240
|
+
apiUrl: string;
|
|
241
|
+
appSlug: string;
|
|
242
|
+
ownerHandle: string;
|
|
243
|
+
admin: boolean;
|
|
244
|
+
}, {
|
|
245
|
+
type: "vibes-diy.cli.db.list-res";
|
|
246
|
+
dbNames: string[];
|
|
247
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
248
|
+
type: "vibes-diy.cli.db.query";
|
|
34
249
|
apiUrl: string;
|
|
35
250
|
appSlug: string;
|
|
36
251
|
ownerHandle: string;
|
|
37
252
|
dbName: string;
|
|
38
|
-
|
|
253
|
+
field: string;
|
|
254
|
+
key: string;
|
|
255
|
+
prefix: string;
|
|
256
|
+
range: string;
|
|
257
|
+
limit: number;
|
|
258
|
+
descending: boolean;
|
|
39
259
|
admin: boolean;
|
|
40
260
|
actingHandle: string;
|
|
41
261
|
}, {
|
|
42
|
-
type: "vibes-diy.cli.db.
|
|
43
|
-
|
|
262
|
+
type: "vibes-diy.cli.db.query-res";
|
|
263
|
+
docs: {
|
|
44
264
|
[x: string]: unknown;
|
|
265
|
+
}[];
|
|
266
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
267
|
+
type: "vibes-diy.cli.codegen-log";
|
|
268
|
+
appSlug: string;
|
|
269
|
+
ownerHandle: string;
|
|
270
|
+
chatId?: string | undefined;
|
|
271
|
+
apiUrl: string;
|
|
272
|
+
response?: boolean | undefined;
|
|
273
|
+
raw?: boolean | undefined;
|
|
274
|
+
files?: boolean | undefined;
|
|
275
|
+
jsonl?: boolean | undefined;
|
|
276
|
+
user?: boolean | undefined;
|
|
277
|
+
promptId?: string | undefined;
|
|
278
|
+
}, {
|
|
279
|
+
type: "vibes-diy.cli.res-codegen-log-response";
|
|
280
|
+
output: string;
|
|
281
|
+
} | {
|
|
282
|
+
type: "vibes-diy.cli.res-codegen-log-list";
|
|
283
|
+
items: {
|
|
284
|
+
chatId: string;
|
|
285
|
+
appSlug: string;
|
|
286
|
+
ownerHandle: string;
|
|
287
|
+
created: string;
|
|
288
|
+
}[];
|
|
289
|
+
} | {
|
|
290
|
+
type: "vibes-diy.cli.res-codegen-log-detail";
|
|
291
|
+
chatId: string;
|
|
292
|
+
ownerHandle: string;
|
|
293
|
+
appSlug: string;
|
|
294
|
+
prompts: {
|
|
295
|
+
prompt: string;
|
|
296
|
+
fsId: string;
|
|
297
|
+
created: string;
|
|
298
|
+
}[];
|
|
299
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
300
|
+
type: "vibes-diy.cli.edit";
|
|
301
|
+
appSlug: string;
|
|
302
|
+
prompt: string;
|
|
303
|
+
ownerHandle: string;
|
|
304
|
+
instantJoin?: boolean | undefined;
|
|
305
|
+
verbose: boolean;
|
|
306
|
+
dir: string;
|
|
307
|
+
apiUrl: string;
|
|
308
|
+
dryRun: boolean;
|
|
309
|
+
transcript: boolean;
|
|
310
|
+
directBuild?: boolean | undefined;
|
|
311
|
+
focusPath?: string | undefined;
|
|
312
|
+
model?: string | undefined;
|
|
313
|
+
builderModel?: string | undefined;
|
|
314
|
+
apiKey?: string | undefined;
|
|
315
|
+
}, {
|
|
316
|
+
appSlug: string;
|
|
317
|
+
ownerHandle: string;
|
|
318
|
+
mode: "dev" | "production";
|
|
319
|
+
fsId: string;
|
|
320
|
+
type: "vibes.diy.res-ensure-app-slug";
|
|
321
|
+
env: Record<string, string>;
|
|
322
|
+
fileSystem: {
|
|
323
|
+
fileName: string;
|
|
324
|
+
mimeType: string;
|
|
325
|
+
assetId: string;
|
|
326
|
+
assetURI: string;
|
|
327
|
+
transform?: {
|
|
328
|
+
type: "jsx-to-js";
|
|
329
|
+
transformedAssetId: string;
|
|
330
|
+
} | {
|
|
331
|
+
type: "imports";
|
|
332
|
+
importMapAssetId: string;
|
|
333
|
+
} | {
|
|
334
|
+
type: "import-map";
|
|
335
|
+
fromAssetIds: string[];
|
|
336
|
+
} | {
|
|
337
|
+
type: "transformed";
|
|
338
|
+
action: "jsx-to-js";
|
|
339
|
+
transformedAssetId: string;
|
|
340
|
+
} | {
|
|
341
|
+
type: "tailwind-css";
|
|
342
|
+
} | undefined;
|
|
343
|
+
entryPoint?: boolean | undefined;
|
|
344
|
+
size: number;
|
|
345
|
+
kind?: "asset" | undefined;
|
|
346
|
+
}[];
|
|
347
|
+
} | {
|
|
348
|
+
type: "vibes.diy.res-error";
|
|
349
|
+
error: {
|
|
350
|
+
message: string;
|
|
351
|
+
code: "require-login";
|
|
352
|
+
};
|
|
353
|
+
} | {
|
|
354
|
+
type: "vibes.diy.res-error";
|
|
355
|
+
error: {
|
|
356
|
+
message: string;
|
|
357
|
+
code: "user-slug-invalid";
|
|
358
|
+
};
|
|
359
|
+
} | {
|
|
360
|
+
type: "vibes.diy.res-error";
|
|
361
|
+
error: {
|
|
362
|
+
message: string;
|
|
363
|
+
code: "app-slug-invalid";
|
|
364
|
+
};
|
|
365
|
+
} | {
|
|
366
|
+
type: "vibes.diy.res-error";
|
|
367
|
+
error: {
|
|
368
|
+
message: string;
|
|
369
|
+
code: "from-not-owned";
|
|
370
|
+
};
|
|
371
|
+
} | {
|
|
372
|
+
type: "vibes.diy.res-error";
|
|
373
|
+
error: {
|
|
374
|
+
message: string;
|
|
375
|
+
code: "from-carry-failed";
|
|
376
|
+
};
|
|
377
|
+
} | {
|
|
378
|
+
type: "vibes.diy.res-error";
|
|
379
|
+
error: {
|
|
380
|
+
message: string;
|
|
381
|
+
code: "handle-required";
|
|
45
382
|
};
|
|
46
|
-
}
|
|
47
|
-
type: "vibes
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}
|
|
53
|
-
type: "vibes-diy.cli.
|
|
383
|
+
} | {
|
|
384
|
+
type: "vibes.diy.res-error";
|
|
385
|
+
error: {
|
|
386
|
+
message: string;
|
|
387
|
+
code: "max-app-slugs-reached";
|
|
388
|
+
};
|
|
389
|
+
} | {
|
|
390
|
+
type: "vibes-diy.cli.res-edit";
|
|
54
391
|
appSlug: string;
|
|
55
392
|
ownerHandle: string;
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
type: "vibes-diy.cli.res-app-chats-list";
|
|
60
|
-
items: {
|
|
61
|
-
chatId: string;
|
|
62
|
-
appSlug: string;
|
|
63
|
-
ownerHandle: string;
|
|
64
|
-
created: string;
|
|
65
|
-
userHandle?: string | undefined;
|
|
66
|
-
}[];
|
|
67
|
-
} | {
|
|
68
|
-
type: "vibes-diy.cli.res-app-chats-detail";
|
|
69
|
-
chatId: string;
|
|
70
|
-
ownerHandle?: string | undefined;
|
|
71
|
-
appSlug?: string | undefined;
|
|
72
|
-
output: string;
|
|
73
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
74
|
-
type: "vibes-diy.cli.list";
|
|
75
|
-
apiUrl: string;
|
|
76
|
-
}, {
|
|
77
|
-
type: "vibes-diy.cli.res-list";
|
|
78
|
-
items: {
|
|
79
|
-
ownerHandle: string;
|
|
80
|
-
appSlug: string;
|
|
81
|
-
updated: string;
|
|
82
|
-
title?: string | undefined;
|
|
83
|
-
icon?: {
|
|
84
|
-
cid: string;
|
|
85
|
-
mime: string;
|
|
86
|
-
} | undefined;
|
|
87
|
-
pinnedAt?: string | undefined;
|
|
88
|
-
neverPublished?: boolean | undefined;
|
|
89
|
-
unpublishedAt?: string | undefined;
|
|
90
|
-
}[];
|
|
393
|
+
url: string;
|
|
394
|
+
directory: string;
|
|
395
|
+
restyled?: boolean | undefined;
|
|
91
396
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
92
397
|
type: "vibes-diy.cli.app-status";
|
|
93
398
|
appSlug: string;
|
|
@@ -254,207 +559,10 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
254
559
|
items: {
|
|
255
560
|
devHandle: string;
|
|
256
561
|
devUserId?: string | undefined;
|
|
257
|
-
state: "active" | "revoked";
|
|
258
|
-
updated: string;
|
|
259
|
-
created?: string | undefined;
|
|
260
|
-
}[];
|
|
261
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
262
|
-
type: "vibes-diy.cli.user-settings";
|
|
263
|
-
apiUrl: string;
|
|
264
|
-
setDefaultHandle?: string | undefined;
|
|
265
|
-
}, {
|
|
266
|
-
type: "vibes.diy.res-ensure-user-settings";
|
|
267
|
-
userId: string;
|
|
268
|
-
settings: ({
|
|
269
|
-
type: "notifications";
|
|
270
|
-
buildComplete?: boolean | undefined;
|
|
271
|
-
buildFailed?: boolean | undefined;
|
|
272
|
-
vibePublished?: boolean | undefined;
|
|
273
|
-
commentPosted?: boolean | undefined;
|
|
274
|
-
requestApproved?: boolean | undefined;
|
|
275
|
-
requestRevoked?: boolean | undefined;
|
|
276
|
-
vibeRemixed?: boolean | undefined;
|
|
277
|
-
dmReceived?: boolean | undefined;
|
|
278
|
-
memberJoined?: boolean | undefined;
|
|
279
|
-
accessRequested?: boolean | undefined;
|
|
280
|
-
emailDigest?: boolean | undefined;
|
|
281
|
-
retentionEmail?: boolean | undefined;
|
|
282
|
-
followRequest?: boolean | undefined;
|
|
283
|
-
followerAdded?: boolean | undefined;
|
|
284
|
-
followApproved?: boolean | undefined;
|
|
285
|
-
appMessage?: boolean | undefined;
|
|
286
|
-
connectionExpiring?: boolean | undefined;
|
|
287
|
-
assetBlocked?: boolean | undefined;
|
|
288
|
-
assetCheckFailed?: boolean | undefined;
|
|
289
|
-
emailInstant?: boolean | undefined;
|
|
290
|
-
mutes?: {
|
|
291
|
-
vibes?: string[] | undefined;
|
|
292
|
-
handles?: string[] | undefined;
|
|
293
|
-
} | undefined;
|
|
294
|
-
vibeTypes?: {
|
|
295
|
-
vibe: string;
|
|
296
|
-
buildComplete?: boolean | undefined;
|
|
297
|
-
buildFailed?: boolean | undefined;
|
|
298
|
-
vibePublished?: boolean | undefined;
|
|
299
|
-
commentPosted?: boolean | undefined;
|
|
300
|
-
requestApproved?: boolean | undefined;
|
|
301
|
-
requestRevoked?: boolean | undefined;
|
|
302
|
-
vibeRemixed?: boolean | undefined;
|
|
303
|
-
memberJoined?: boolean | undefined;
|
|
304
|
-
accessRequested?: boolean | undefined;
|
|
305
|
-
appMessage?: boolean | undefined;
|
|
306
|
-
assetBlocked?: boolean | undefined;
|
|
307
|
-
assetCheckFailed?: boolean | undefined;
|
|
308
|
-
}[] | undefined;
|
|
309
|
-
} | {
|
|
310
|
-
type: "sharing";
|
|
311
|
-
grants: {
|
|
312
|
-
grant: "allow" | "deny";
|
|
313
|
-
appSlug: string;
|
|
314
|
-
ownerHandle: string;
|
|
315
|
-
dbName: string;
|
|
316
|
-
}[];
|
|
317
|
-
} | {
|
|
318
|
-
type: "modelDefaults";
|
|
319
|
-
codegen?: {
|
|
320
|
-
model?: {
|
|
321
|
-
id: string;
|
|
322
|
-
name: string;
|
|
323
|
-
description: string;
|
|
324
|
-
featured?: boolean | undefined;
|
|
325
|
-
preSelected?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
326
|
-
fallbackFor?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
327
|
-
supports?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
328
|
-
imageInput?: boolean | undefined;
|
|
329
|
-
} | undefined;
|
|
330
|
-
apiKey?: string | undefined;
|
|
331
|
-
} | undefined;
|
|
332
|
-
agent?: {
|
|
333
|
-
model?: {
|
|
334
|
-
id: string;
|
|
335
|
-
name: string;
|
|
336
|
-
description: string;
|
|
337
|
-
featured?: boolean | undefined;
|
|
338
|
-
preSelected?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
339
|
-
fallbackFor?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
340
|
-
supports?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
341
|
-
imageInput?: boolean | undefined;
|
|
342
|
-
} | undefined;
|
|
343
|
-
apiKey?: string | undefined;
|
|
344
|
-
} | undefined;
|
|
345
|
-
subagent?: {
|
|
346
|
-
model?: {
|
|
347
|
-
id: string;
|
|
348
|
-
name: string;
|
|
349
|
-
description: string;
|
|
350
|
-
featured?: boolean | undefined;
|
|
351
|
-
preSelected?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
352
|
-
fallbackFor?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
353
|
-
supports?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
354
|
-
imageInput?: boolean | undefined;
|
|
355
|
-
} | undefined;
|
|
356
|
-
apiKey?: string | undefined;
|
|
357
|
-
} | undefined;
|
|
358
|
-
runtime?: {
|
|
359
|
-
model?: {
|
|
360
|
-
id: string;
|
|
361
|
-
name: string;
|
|
362
|
-
description: string;
|
|
363
|
-
featured?: boolean | undefined;
|
|
364
|
-
preSelected?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
365
|
-
fallbackFor?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
366
|
-
supports?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
367
|
-
imageInput?: boolean | undefined;
|
|
368
|
-
} | undefined;
|
|
369
|
-
apiKey?: string | undefined;
|
|
370
|
-
} | undefined;
|
|
371
|
-
img?: {
|
|
372
|
-
model?: {
|
|
373
|
-
id: string;
|
|
374
|
-
name: string;
|
|
375
|
-
description: string;
|
|
376
|
-
featured?: boolean | undefined;
|
|
377
|
-
preSelected?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
378
|
-
fallbackFor?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
379
|
-
supports?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
380
|
-
imageInput?: boolean | undefined;
|
|
381
|
-
} | undefined;
|
|
382
|
-
apiKey?: string | undefined;
|
|
383
|
-
} | undefined;
|
|
384
|
-
chat?: {
|
|
385
|
-
model?: {
|
|
386
|
-
id: string;
|
|
387
|
-
name: string;
|
|
388
|
-
description: string;
|
|
389
|
-
featured?: boolean | undefined;
|
|
390
|
-
preSelected?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
391
|
-
fallbackFor?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
392
|
-
supports?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
393
|
-
imageInput?: boolean | undefined;
|
|
394
|
-
} | undefined;
|
|
395
|
-
apiKey?: string | undefined;
|
|
396
|
-
} | undefined;
|
|
397
|
-
app?: {
|
|
398
|
-
model?: {
|
|
399
|
-
id: string;
|
|
400
|
-
name: string;
|
|
401
|
-
description: string;
|
|
402
|
-
featured?: boolean | undefined;
|
|
403
|
-
preSelected?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
404
|
-
fallbackFor?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
405
|
-
supports?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
406
|
-
imageInput?: boolean | undefined;
|
|
407
|
-
} | undefined;
|
|
408
|
-
apiKey?: string | undefined;
|
|
409
|
-
} | undefined;
|
|
410
|
-
} | {
|
|
411
|
-
type: "defaultHandle";
|
|
412
|
-
ownerHandle: string;
|
|
413
|
-
} | {
|
|
414
|
-
type: "profile";
|
|
415
|
-
avatarCid?: string | undefined;
|
|
416
|
-
displayName?: string | undefined;
|
|
417
|
-
codeMode?: boolean | undefined;
|
|
418
|
-
} | {
|
|
419
|
-
type: "egressStatus";
|
|
420
|
-
status: "blessed" | "blocked";
|
|
421
|
-
updatedAt: string;
|
|
422
|
-
setBy?: string | undefined;
|
|
423
|
-
} | {
|
|
424
|
-
type: "contactEmail";
|
|
425
|
-
email: string;
|
|
426
|
-
updatedAt: string;
|
|
427
|
-
verified?: boolean | undefined;
|
|
428
|
-
} | {
|
|
429
|
-
type: "geoCountry";
|
|
430
|
-
country: string;
|
|
431
|
-
updatedAt: string;
|
|
432
|
-
} | {
|
|
433
|
-
type: "retentionDrip";
|
|
434
|
-
sent: {
|
|
435
|
-
[x: string]: string;
|
|
436
|
-
};
|
|
437
|
-
updatedAt: string;
|
|
438
|
-
} | {
|
|
439
|
-
type: "onboarding";
|
|
440
|
-
completedAt: string;
|
|
441
|
-
} | {
|
|
442
|
-
type: "kyc";
|
|
443
|
-
cardAt?: string | undefined;
|
|
444
|
-
} | {
|
|
445
|
-
type: "metaClickId";
|
|
446
|
-
fbc: string;
|
|
447
|
-
clickedAt: number;
|
|
448
|
-
updatedAt: string;
|
|
449
|
-
} | {
|
|
450
|
-
type: "lastVisit";
|
|
451
|
-
day: string;
|
|
452
|
-
} | {
|
|
453
|
-
type: "defaultHandle";
|
|
454
|
-
ownerHandle: string;
|
|
455
|
-
})[];
|
|
456
|
-
updated: string;
|
|
457
|
-
created: string;
|
|
562
|
+
state: "active" | "revoked";
|
|
563
|
+
updated: string;
|
|
564
|
+
created?: string | undefined;
|
|
565
|
+
}[];
|
|
458
566
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
459
567
|
type: "vibes-diy.cli.skills";
|
|
460
568
|
}, {
|
|
@@ -480,10 +588,19 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
480
588
|
slug: string;
|
|
481
589
|
content: string;
|
|
482
590
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
483
|
-
type: "vibes-diy.cli.
|
|
591
|
+
type: "vibes-diy.cli.variety";
|
|
484
592
|
}, {
|
|
485
|
-
type: "vibes-diy.cli.res-
|
|
486
|
-
|
|
593
|
+
type: "vibes-diy.cli.res-variety-list";
|
|
594
|
+
grammar: string;
|
|
595
|
+
flourishCount: number;
|
|
596
|
+
archetypes: {
|
|
597
|
+
id: string;
|
|
598
|
+
guidance: string;
|
|
599
|
+
}[];
|
|
600
|
+
flourishes: {
|
|
601
|
+
id: string;
|
|
602
|
+
guidance: string;
|
|
603
|
+
}[];
|
|
487
604
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
488
605
|
type: "vibes-diy.cli.push";
|
|
489
606
|
mode: string;
|
|
@@ -554,43 +671,26 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
554
671
|
type: "vibes.diy.res-error";
|
|
555
672
|
error: {
|
|
556
673
|
message: string;
|
|
557
|
-
code: "
|
|
674
|
+
code: "from-not-owned";
|
|
558
675
|
};
|
|
559
676
|
} | {
|
|
560
677
|
type: "vibes.diy.res-error";
|
|
561
678
|
error: {
|
|
562
679
|
message: string;
|
|
563
|
-
code: "
|
|
680
|
+
code: "from-carry-failed";
|
|
564
681
|
};
|
|
565
682
|
} | {
|
|
566
683
|
type: "vibes.diy.res-error";
|
|
567
684
|
error: {
|
|
568
685
|
message: string;
|
|
569
|
-
code: "
|
|
686
|
+
code: "handle-required";
|
|
570
687
|
};
|
|
571
688
|
} | {
|
|
572
689
|
type: "vibes.diy.res-error";
|
|
573
690
|
error: {
|
|
574
691
|
message: string;
|
|
575
|
-
code: "
|
|
692
|
+
code: "max-app-slugs-reached";
|
|
576
693
|
};
|
|
577
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
578
|
-
type: "vibes-diy.cli.remix";
|
|
579
|
-
srcUserSlug: string;
|
|
580
|
-
srcAppSlug: string;
|
|
581
|
-
dstOwnerHandle?: string | undefined;
|
|
582
|
-
dstAppSlug?: string | undefined;
|
|
583
|
-
published: boolean;
|
|
584
|
-
settingsOnly: boolean;
|
|
585
|
-
apiUrl: string;
|
|
586
|
-
}, {
|
|
587
|
-
type: "vibes-diy.cli.res-remix";
|
|
588
|
-
ownerHandle: string;
|
|
589
|
-
appSlug: string;
|
|
590
|
-
url: string;
|
|
591
|
-
carried?: string[] | undefined;
|
|
592
|
-
skippedPresent?: string[] | undefined;
|
|
593
|
-
chatId?: string | undefined;
|
|
594
694
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
595
695
|
type: "vibes-diy.cli.claim-handle";
|
|
596
696
|
apiUrl: string;
|
|
@@ -601,21 +701,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
601
701
|
ownerHandle?: string | undefined;
|
|
602
702
|
defaultHandleSet?: boolean | undefined;
|
|
603
703
|
suggestions: string[];
|
|
604
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
605
|
-
type: "vibes-diy.cli.put-asset";
|
|
606
|
-
file: string;
|
|
607
|
-
appSlug: string;
|
|
608
|
-
ownerHandle: string;
|
|
609
|
-
apiUrl: string;
|
|
610
|
-
mimeType: string;
|
|
611
|
-
verifyFetch: boolean;
|
|
612
|
-
}, {
|
|
613
|
-
type: "vibes-diy.cli.res-put-asset";
|
|
614
|
-
cid: string;
|
|
615
|
-
getURL: string;
|
|
616
|
-
size: number;
|
|
617
|
-
uploadId: string;
|
|
618
|
-
verified?: boolean | undefined;
|
|
619
704
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
620
705
|
type: "vibes-diy.cli.generate";
|
|
621
706
|
prompt: string;
|
|
@@ -634,16 +719,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
634
719
|
record?: string | undefined;
|
|
635
720
|
style?: string | undefined;
|
|
636
721
|
}, {
|
|
637
|
-
type: "vibes-diy.cli.res-generate";
|
|
638
|
-
appSlug: string;
|
|
639
|
-
ownerHandle: string;
|
|
640
|
-
url: string;
|
|
641
|
-
directory: string;
|
|
642
|
-
release?: "not-visible" | "published" | "version-locked" | undefined;
|
|
643
|
-
turns?: number | undefined;
|
|
644
|
-
publish?: "kept-private-no-access-fn" | "private" | "published" | undefined;
|
|
645
|
-
posture?: "gated" | "open" | "private" | undefined;
|
|
646
|
-
} | {
|
|
647
722
|
appSlug: string;
|
|
648
723
|
ownerHandle: string;
|
|
649
724
|
mode: "dev" | "production";
|
|
@@ -697,156 +772,75 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
697
772
|
type: "vibes.diy.res-error";
|
|
698
773
|
error: {
|
|
699
774
|
message: string;
|
|
700
|
-
code: "
|
|
775
|
+
code: "from-not-owned";
|
|
701
776
|
};
|
|
702
777
|
} | {
|
|
703
778
|
type: "vibes.diy.res-error";
|
|
704
779
|
error: {
|
|
705
780
|
message: string;
|
|
706
|
-
code: "
|
|
781
|
+
code: "from-carry-failed";
|
|
707
782
|
};
|
|
708
783
|
} | {
|
|
709
784
|
type: "vibes.diy.res-error";
|
|
710
785
|
error: {
|
|
711
786
|
message: string;
|
|
712
|
-
code: "
|
|
787
|
+
code: "handle-required";
|
|
713
788
|
};
|
|
714
789
|
} | {
|
|
715
790
|
type: "vibes.diy.res-error";
|
|
716
791
|
error: {
|
|
717
792
|
message: string;
|
|
718
|
-
code: "
|
|
793
|
+
code: "max-app-slugs-reached";
|
|
719
794
|
};
|
|
795
|
+
} | {
|
|
796
|
+
type: "vibes-diy.cli.res-generate";
|
|
797
|
+
appSlug: string;
|
|
798
|
+
ownerHandle: string;
|
|
799
|
+
url: string;
|
|
800
|
+
directory: string;
|
|
801
|
+
release?: "not-visible" | "published" | "version-locked" | undefined;
|
|
802
|
+
turns?: number | undefined;
|
|
803
|
+
publish?: "kept-private-no-access-fn" | "private" | "published" | undefined;
|
|
804
|
+
posture?: "gated" | "open" | "private" | undefined;
|
|
720
805
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
721
|
-
type: "vibes-diy.cli.
|
|
806
|
+
type: "vibes-diy.cli.app-chats";
|
|
722
807
|
appSlug: string;
|
|
723
808
|
ownerHandle: string;
|
|
724
809
|
chatId?: string | undefined;
|
|
725
810
|
apiUrl: string;
|
|
726
|
-
response?: boolean | undefined;
|
|
727
|
-
raw?: boolean | undefined;
|
|
728
|
-
files?: boolean | undefined;
|
|
729
|
-
jsonl?: boolean | undefined;
|
|
730
|
-
user?: boolean | undefined;
|
|
731
|
-
promptId?: string | undefined;
|
|
732
811
|
}, {
|
|
733
|
-
type: "vibes-diy.cli.res-
|
|
812
|
+
type: "vibes-diy.cli.res-app-chats-list";
|
|
734
813
|
items: {
|
|
735
814
|
chatId: string;
|
|
736
815
|
appSlug: string;
|
|
737
816
|
ownerHandle: string;
|
|
738
817
|
created: string;
|
|
818
|
+
userHandle?: string | undefined;
|
|
739
819
|
}[];
|
|
740
820
|
} | {
|
|
741
|
-
type: "vibes-diy.cli.res-
|
|
821
|
+
type: "vibes-diy.cli.res-app-chats-detail";
|
|
742
822
|
chatId: string;
|
|
743
|
-
ownerHandle
|
|
744
|
-
appSlug
|
|
745
|
-
prompts: {
|
|
746
|
-
prompt: string;
|
|
747
|
-
fsId: string;
|
|
748
|
-
created: string;
|
|
749
|
-
}[];
|
|
750
|
-
} | {
|
|
751
|
-
type: "vibes-diy.cli.res-codegen-log-response";
|
|
823
|
+
ownerHandle?: string | undefined;
|
|
824
|
+
appSlug?: string | undefined;
|
|
752
825
|
output: string;
|
|
753
826
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
754
|
-
type: "vibes-diy.cli.
|
|
755
|
-
appSlug: string;
|
|
756
|
-
prompt: string;
|
|
757
|
-
ownerHandle: string;
|
|
758
|
-
instantJoin?: boolean | undefined;
|
|
759
|
-
verbose: boolean;
|
|
760
|
-
dir: string;
|
|
827
|
+
type: "vibes-diy.cli.list";
|
|
761
828
|
apiUrl: string;
|
|
762
|
-
dryRun: boolean;
|
|
763
|
-
transcript: boolean;
|
|
764
|
-
directBuild?: boolean | undefined;
|
|
765
|
-
focusPath?: string | undefined;
|
|
766
|
-
model?: string | undefined;
|
|
767
|
-
builderModel?: string | undefined;
|
|
768
|
-
apiKey?: string | undefined;
|
|
769
829
|
}, {
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
assetId: string;
|
|
780
|
-
assetURI: string;
|
|
781
|
-
transform?: {
|
|
782
|
-
type: "jsx-to-js";
|
|
783
|
-
transformedAssetId: string;
|
|
784
|
-
} | {
|
|
785
|
-
type: "imports";
|
|
786
|
-
importMapAssetId: string;
|
|
787
|
-
} | {
|
|
788
|
-
type: "import-map";
|
|
789
|
-
fromAssetIds: string[];
|
|
790
|
-
} | {
|
|
791
|
-
type: "transformed";
|
|
792
|
-
action: "jsx-to-js";
|
|
793
|
-
transformedAssetId: string;
|
|
794
|
-
} | {
|
|
795
|
-
type: "tailwind-css";
|
|
830
|
+
type: "vibes-diy.cli.res-list";
|
|
831
|
+
items: {
|
|
832
|
+
ownerHandle: string;
|
|
833
|
+
appSlug: string;
|
|
834
|
+
updated: string;
|
|
835
|
+
title?: string | undefined;
|
|
836
|
+
icon?: {
|
|
837
|
+
cid: string;
|
|
838
|
+
mime: string;
|
|
796
839
|
} | undefined;
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
840
|
+
pinnedAt?: string | undefined;
|
|
841
|
+
neverPublished?: boolean | undefined;
|
|
842
|
+
unpublishedAt?: string | undefined;
|
|
800
843
|
}[];
|
|
801
|
-
} | {
|
|
802
|
-
type: "vibes.diy.res-error";
|
|
803
|
-
error: {
|
|
804
|
-
message: string;
|
|
805
|
-
code: "require-login";
|
|
806
|
-
};
|
|
807
|
-
} | {
|
|
808
|
-
type: "vibes.diy.res-error";
|
|
809
|
-
error: {
|
|
810
|
-
message: string;
|
|
811
|
-
code: "user-slug-invalid";
|
|
812
|
-
};
|
|
813
|
-
} | {
|
|
814
|
-
type: "vibes.diy.res-error";
|
|
815
|
-
error: {
|
|
816
|
-
message: string;
|
|
817
|
-
code: "app-slug-invalid";
|
|
818
|
-
};
|
|
819
|
-
} | {
|
|
820
|
-
type: "vibes.diy.res-error";
|
|
821
|
-
error: {
|
|
822
|
-
message: string;
|
|
823
|
-
code: "max-app-slugs-reached";
|
|
824
|
-
};
|
|
825
|
-
} | {
|
|
826
|
-
type: "vibes.diy.res-error";
|
|
827
|
-
error: {
|
|
828
|
-
message: string;
|
|
829
|
-
code: "handle-required";
|
|
830
|
-
};
|
|
831
|
-
} | {
|
|
832
|
-
type: "vibes.diy.res-error";
|
|
833
|
-
error: {
|
|
834
|
-
message: string;
|
|
835
|
-
code: "from-not-owned";
|
|
836
|
-
};
|
|
837
|
-
} | {
|
|
838
|
-
type: "vibes.diy.res-error";
|
|
839
|
-
error: {
|
|
840
|
-
message: string;
|
|
841
|
-
code: "from-carry-failed";
|
|
842
|
-
};
|
|
843
|
-
} | {
|
|
844
|
-
type: "vibes-diy.cli.res-edit";
|
|
845
|
-
appSlug: string;
|
|
846
|
-
ownerHandle: string;
|
|
847
|
-
url: string;
|
|
848
|
-
directory: string;
|
|
849
|
-
restyled?: boolean | undefined;
|
|
850
844
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
851
845
|
type: "vibes-diy.cli.pull";
|
|
852
846
|
appSlug: string;
|
|
@@ -978,14 +972,33 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
978
972
|
userId: string;
|
|
979
973
|
cleared: string[];
|
|
980
974
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
981
|
-
type: "
|
|
975
|
+
type: "core-cli.device-id-register";
|
|
976
|
+
commonName: string;
|
|
977
|
+
organization: string;
|
|
978
|
+
locality: string;
|
|
979
|
+
state: string;
|
|
980
|
+
country: string;
|
|
981
|
+
caUrl: string;
|
|
982
|
+
port: string;
|
|
983
|
+
timeout: string;
|
|
984
|
+
forceRenew: boolean;
|
|
985
|
+
}, {
|
|
986
|
+
type: "core-cli.res-device-id-register";
|
|
987
|
+
output: string;
|
|
988
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
989
|
+
type: "vibes-diy.cli.db.get";
|
|
982
990
|
apiUrl: string;
|
|
983
991
|
appSlug: string;
|
|
984
992
|
ownerHandle: string;
|
|
993
|
+
dbName: string;
|
|
994
|
+
docId: string;
|
|
985
995
|
admin: boolean;
|
|
996
|
+
actingHandle: string;
|
|
986
997
|
}, {
|
|
987
|
-
type: "vibes-diy.cli.db.
|
|
988
|
-
|
|
998
|
+
type: "vibes-diy.cli.db.get-res";
|
|
999
|
+
doc: {
|
|
1000
|
+
[x: string]: unknown;
|
|
1001
|
+
};
|
|
989
1002
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
990
1003
|
type: "vibes-diy.cli.db.put";
|
|
991
1004
|
apiUrl: string;
|
|
@@ -1014,23 +1027,10 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1014
1027
|
id: string;
|
|
1015
1028
|
ok: true;
|
|
1016
1029
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1017
|
-
type: "vibes-diy.cli.db.
|
|
1030
|
+
type: "vibes-diy.cli.db.subscribe";
|
|
1018
1031
|
apiUrl: string;
|
|
1019
1032
|
appSlug: string;
|
|
1020
1033
|
ownerHandle: string;
|
|
1021
1034
|
dbName: string;
|
|
1022
|
-
|
|
1023
|
-
key: string;
|
|
1024
|
-
prefix: string;
|
|
1025
|
-
range: string;
|
|
1026
|
-
limit: number;
|
|
1027
|
-
descending: boolean;
|
|
1028
|
-
admin: boolean;
|
|
1029
|
-
actingHandle: string;
|
|
1030
|
-
}, {
|
|
1031
|
-
type: "vibes-diy.cli.db.query-res";
|
|
1032
|
-
docs: {
|
|
1033
|
-
[x: string]: unknown;
|
|
1034
|
-
}[];
|
|
1035
|
-
}>)[];
|
|
1035
|
+
}, never>)[];
|
|
1036
1036
|
export declare function cmdTsEvento(): import("@adviser/cement").Evento;
|