vibes-diy 14.3.68 → 14.3.70
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 +282 -282
- package/cli/cmds/follow-chat-build.js +5 -0
- package/cli/cmds/follow-chat-build.js.map +1 -1
- package/cli/cmds/follow-chat-build.test.js +23 -0
- package/cli/cmds/follow-chat-build.test.js.map +1 -1
- package/cli/cmds/generate-cmd.test.js +11 -2
- package/cli/cmds/generate-cmd.test.js.map +1 -1
- package/cli/cmds/generate-core.d.ts +4 -2
- package/cli/cmds/generate-core.js +64 -7
- package/cli/cmds/generate-core.js.map +1 -1
- package/cli/cmds/generate-core.test.js +76 -2
- package/cli/cmds/generate-core.test.js.map +1 -1
- package/cli/cmds/publish-saved-build.d.ts +18 -0
- package/cli/cmds/publish-saved-build.js +89 -0
- package/cli/cmds/publish-saved-build.js.map +1 -0
- package/cli/cmds/publish-saved-build.test.d.ts +1 -0
- package/cli/cmds/publish-saved-build.test.js +166 -0
- package/cli/cmds/publish-saved-build.test.js.map +1 -0
- package/cli/cmds/pull-cmd.d.ts +25 -1
- package/cli/cmds/pull-cmd.js +75 -56
- package/cli/cmds/pull-cmd.js.map +1 -1
- package/cli/cmds/push-from-dir.d.ts +1 -0
- package/cli/cmds/push-from-dir.js +9 -6
- package/cli/cmds/push-from-dir.js.map +1 -1
- package/package.json +8 -8
package/cli/cmd-evento.d.ts
CHANGED
|
@@ -2,78 +2,215 @@ 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;
|
|
6
15
|
}, {
|
|
7
|
-
type: "
|
|
8
|
-
|
|
9
|
-
flourishCount: number;
|
|
10
|
-
archetypes: {
|
|
11
|
-
id: string;
|
|
12
|
-
guidance: string;
|
|
13
|
-
}[];
|
|
14
|
-
flourishes: {
|
|
15
|
-
id: string;
|
|
16
|
-
guidance: string;
|
|
17
|
-
}[];
|
|
16
|
+
type: "core-cli.res-device-id-register";
|
|
17
|
+
output: string;
|
|
18
18
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
19
|
-
type: "vibes-diy.cli.
|
|
19
|
+
type: "vibes-diy.cli.system";
|
|
20
|
+
}, {
|
|
21
|
+
type: "vibes-diy.cli.res-system";
|
|
22
|
+
systemPrompt: string;
|
|
23
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
24
|
+
type: "vibes-diy.cli.remix";
|
|
25
|
+
srcUserSlug: string;
|
|
26
|
+
srcAppSlug: string;
|
|
27
|
+
dstOwnerHandle?: string | undefined;
|
|
28
|
+
dstAppSlug?: string | undefined;
|
|
29
|
+
published: boolean;
|
|
30
|
+
settingsOnly: boolean;
|
|
31
|
+
apiUrl: string;
|
|
32
|
+
}, {
|
|
33
|
+
type: "vibes-diy.cli.res-remix";
|
|
34
|
+
ownerHandle: string;
|
|
35
|
+
appSlug: string;
|
|
36
|
+
url: string;
|
|
37
|
+
carried?: string[] | undefined;
|
|
38
|
+
skippedPresent?: string[] | undefined;
|
|
39
|
+
chatId?: string | undefined;
|
|
40
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
41
|
+
type: "vibes-diy.cli.put-asset";
|
|
42
|
+
file: string;
|
|
43
|
+
appSlug: string;
|
|
44
|
+
ownerHandle: string;
|
|
45
|
+
apiUrl: string;
|
|
46
|
+
mimeType: string;
|
|
47
|
+
verifyFetch: boolean;
|
|
48
|
+
}, {
|
|
49
|
+
type: "vibes-diy.cli.res-put-asset";
|
|
50
|
+
cid: string;
|
|
51
|
+
getURL: string;
|
|
52
|
+
size: number;
|
|
53
|
+
uploadId: string;
|
|
54
|
+
verified?: boolean | undefined;
|
|
55
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
56
|
+
type: "vibes-diy.cli.db.list";
|
|
20
57
|
apiUrl: string;
|
|
21
58
|
appSlug: string;
|
|
22
59
|
ownerHandle: string;
|
|
23
|
-
dbName: string;
|
|
24
|
-
docId: string;
|
|
25
60
|
admin: boolean;
|
|
26
|
-
actingHandle: string;
|
|
27
61
|
}, {
|
|
28
|
-
type: "vibes-diy.cli.db.
|
|
29
|
-
|
|
30
|
-
[x: string]: unknown;
|
|
31
|
-
};
|
|
62
|
+
type: "vibes-diy.cli.db.list-res";
|
|
63
|
+
dbNames: string[];
|
|
32
64
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
33
|
-
type: "vibes-diy.cli.db.
|
|
65
|
+
type: "vibes-diy.cli.db.query";
|
|
34
66
|
apiUrl: string;
|
|
35
67
|
appSlug: string;
|
|
36
68
|
ownerHandle: string;
|
|
37
69
|
dbName: string;
|
|
38
|
-
|
|
39
|
-
|
|
70
|
+
field: string;
|
|
71
|
+
key: string;
|
|
72
|
+
prefix: string;
|
|
73
|
+
range: string;
|
|
74
|
+
limit: number;
|
|
75
|
+
descending: boolean;
|
|
76
|
+
admin: boolean;
|
|
77
|
+
actingHandle: string;
|
|
78
|
+
}, {
|
|
79
|
+
type: "vibes-diy.cli.db.query-res";
|
|
80
|
+
docs: {
|
|
81
|
+
[x: string]: unknown;
|
|
82
|
+
}[];
|
|
83
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
84
|
+
type: "vibes-diy.cli.codegen-log";
|
|
40
85
|
appSlug: string;
|
|
41
86
|
ownerHandle: string;
|
|
42
87
|
chatId?: string | undefined;
|
|
43
88
|
apiUrl: string;
|
|
89
|
+
response?: boolean | undefined;
|
|
90
|
+
raw?: boolean | undefined;
|
|
91
|
+
files?: boolean | undefined;
|
|
92
|
+
jsonl?: boolean | undefined;
|
|
93
|
+
user?: boolean | undefined;
|
|
94
|
+
promptId?: string | undefined;
|
|
44
95
|
}, {
|
|
45
|
-
type: "vibes-diy.cli.res-
|
|
96
|
+
type: "vibes-diy.cli.res-codegen-log-response";
|
|
97
|
+
output: string;
|
|
98
|
+
} | {
|
|
99
|
+
type: "vibes-diy.cli.res-codegen-log-list";
|
|
46
100
|
items: {
|
|
47
101
|
chatId: string;
|
|
48
102
|
appSlug: string;
|
|
49
103
|
ownerHandle: string;
|
|
50
104
|
created: string;
|
|
51
|
-
userHandle?: string | undefined;
|
|
52
105
|
}[];
|
|
53
106
|
} | {
|
|
54
|
-
type: "vibes-diy.cli.res-
|
|
107
|
+
type: "vibes-diy.cli.res-codegen-log-detail";
|
|
55
108
|
chatId: string;
|
|
56
|
-
ownerHandle
|
|
57
|
-
appSlug
|
|
58
|
-
|
|
109
|
+
ownerHandle: string;
|
|
110
|
+
appSlug: string;
|
|
111
|
+
prompts: {
|
|
112
|
+
prompt: string;
|
|
113
|
+
fsId: string;
|
|
114
|
+
created: string;
|
|
115
|
+
}[];
|
|
59
116
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
60
|
-
type: "vibes-diy.cli.
|
|
117
|
+
type: "vibes-diy.cli.edit";
|
|
118
|
+
appSlug: string;
|
|
119
|
+
prompt: string;
|
|
120
|
+
ownerHandle: string;
|
|
121
|
+
instantJoin?: boolean | undefined;
|
|
122
|
+
verbose: boolean;
|
|
123
|
+
dir: string;
|
|
61
124
|
apiUrl: string;
|
|
125
|
+
dryRun: boolean;
|
|
126
|
+
transcript: boolean;
|
|
127
|
+
directBuild?: boolean | undefined;
|
|
128
|
+
focusPath?: string | undefined;
|
|
129
|
+
model?: string | undefined;
|
|
130
|
+
builderModel?: string | undefined;
|
|
131
|
+
apiKey?: string | undefined;
|
|
62
132
|
}, {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
133
|
+
appSlug: string;
|
|
134
|
+
ownerHandle: string;
|
|
135
|
+
mode: "dev" | "production";
|
|
136
|
+
fsId: string;
|
|
137
|
+
type: "vibes.diy.res-ensure-app-slug";
|
|
138
|
+
env: Record<string, string>;
|
|
139
|
+
fileSystem: {
|
|
140
|
+
fileName: string;
|
|
141
|
+
mimeType: string;
|
|
142
|
+
assetId: string;
|
|
143
|
+
assetURI: string;
|
|
144
|
+
transform?: {
|
|
145
|
+
type: "jsx-to-js";
|
|
146
|
+
transformedAssetId: string;
|
|
147
|
+
} | {
|
|
148
|
+
type: "imports";
|
|
149
|
+
importMapAssetId: string;
|
|
150
|
+
} | {
|
|
151
|
+
type: "import-map";
|
|
152
|
+
fromAssetIds: string[];
|
|
153
|
+
} | {
|
|
154
|
+
type: "transformed";
|
|
155
|
+
action: "jsx-to-js";
|
|
156
|
+
transformedAssetId: string;
|
|
157
|
+
} | {
|
|
158
|
+
type: "tailwind-css";
|
|
72
159
|
} | undefined;
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
160
|
+
entryPoint?: boolean | undefined;
|
|
161
|
+
size: number;
|
|
162
|
+
kind?: "asset" | undefined;
|
|
163
|
+
uploadId?: string | undefined;
|
|
76
164
|
}[];
|
|
165
|
+
} | {
|
|
166
|
+
type: "vibes.diy.res-error";
|
|
167
|
+
error: {
|
|
168
|
+
message: string;
|
|
169
|
+
code: "require-login";
|
|
170
|
+
};
|
|
171
|
+
} | {
|
|
172
|
+
type: "vibes.diy.res-error";
|
|
173
|
+
error: {
|
|
174
|
+
message: string;
|
|
175
|
+
code: "user-slug-invalid";
|
|
176
|
+
};
|
|
177
|
+
} | {
|
|
178
|
+
type: "vibes.diy.res-error";
|
|
179
|
+
error: {
|
|
180
|
+
message: string;
|
|
181
|
+
code: "app-slug-invalid";
|
|
182
|
+
};
|
|
183
|
+
} | {
|
|
184
|
+
type: "vibes.diy.res-error";
|
|
185
|
+
error: {
|
|
186
|
+
message: string;
|
|
187
|
+
code: "max-app-slugs-reached";
|
|
188
|
+
};
|
|
189
|
+
} | {
|
|
190
|
+
type: "vibes.diy.res-error";
|
|
191
|
+
error: {
|
|
192
|
+
message: string;
|
|
193
|
+
code: "handle-required";
|
|
194
|
+
};
|
|
195
|
+
} | {
|
|
196
|
+
type: "vibes.diy.res-error";
|
|
197
|
+
error: {
|
|
198
|
+
message: string;
|
|
199
|
+
code: "from-not-owned";
|
|
200
|
+
};
|
|
201
|
+
} | {
|
|
202
|
+
type: "vibes.diy.res-error";
|
|
203
|
+
error: {
|
|
204
|
+
message: string;
|
|
205
|
+
code: "from-carry-failed";
|
|
206
|
+
};
|
|
207
|
+
} | {
|
|
208
|
+
type: "vibes-diy.cli.res-edit";
|
|
209
|
+
appSlug: string;
|
|
210
|
+
ownerHandle: string;
|
|
211
|
+
url: string;
|
|
212
|
+
directory: string;
|
|
213
|
+
restyled?: boolean | undefined;
|
|
77
214
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
78
215
|
type: "vibes-diy.cli.app-status";
|
|
79
216
|
appSlug: string;
|
|
@@ -252,6 +389,47 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
252
389
|
type: "vibes.diy.res-ensure-user-settings";
|
|
253
390
|
userId: string;
|
|
254
391
|
settings: ({
|
|
392
|
+
type: "notifications";
|
|
393
|
+
buildComplete?: boolean | undefined;
|
|
394
|
+
buildFailed?: boolean | undefined;
|
|
395
|
+
vibePublished?: boolean | undefined;
|
|
396
|
+
commentPosted?: boolean | undefined;
|
|
397
|
+
requestApproved?: boolean | undefined;
|
|
398
|
+
requestRevoked?: boolean | undefined;
|
|
399
|
+
vibeRemixed?: boolean | undefined;
|
|
400
|
+
dmReceived?: boolean | undefined;
|
|
401
|
+
memberJoined?: boolean | undefined;
|
|
402
|
+
accessRequested?: boolean | undefined;
|
|
403
|
+
emailDigest?: boolean | undefined;
|
|
404
|
+
retentionEmail?: boolean | undefined;
|
|
405
|
+
followRequest?: boolean | undefined;
|
|
406
|
+
followerAdded?: boolean | undefined;
|
|
407
|
+
followApproved?: boolean | undefined;
|
|
408
|
+
appMessage?: boolean | undefined;
|
|
409
|
+
connectionExpiring?: boolean | undefined;
|
|
410
|
+
assetBlocked?: boolean | undefined;
|
|
411
|
+
assetCheckFailed?: boolean | undefined;
|
|
412
|
+
emailInstant?: boolean | undefined;
|
|
413
|
+
mutes?: {
|
|
414
|
+
vibes?: string[] | undefined;
|
|
415
|
+
handles?: string[] | undefined;
|
|
416
|
+
} | undefined;
|
|
417
|
+
vibeTypes?: {
|
|
418
|
+
vibe: string;
|
|
419
|
+
buildComplete?: boolean | undefined;
|
|
420
|
+
buildFailed?: boolean | undefined;
|
|
421
|
+
vibePublished?: boolean | undefined;
|
|
422
|
+
commentPosted?: boolean | undefined;
|
|
423
|
+
requestApproved?: boolean | undefined;
|
|
424
|
+
requestRevoked?: boolean | undefined;
|
|
425
|
+
vibeRemixed?: boolean | undefined;
|
|
426
|
+
memberJoined?: boolean | undefined;
|
|
427
|
+
accessRequested?: boolean | undefined;
|
|
428
|
+
appMessage?: boolean | undefined;
|
|
429
|
+
assetBlocked?: boolean | undefined;
|
|
430
|
+
assetCheckFailed?: boolean | undefined;
|
|
431
|
+
}[] | undefined;
|
|
432
|
+
} | {
|
|
255
433
|
type: "sharing";
|
|
256
434
|
grants: {
|
|
257
435
|
grant: "allow" | "deny";
|
|
@@ -341,66 +519,25 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
341
519
|
} | undefined;
|
|
342
520
|
app?: {
|
|
343
521
|
model?: {
|
|
344
|
-
id: string;
|
|
345
|
-
name: string;
|
|
346
|
-
description: string;
|
|
347
|
-
featured?: boolean | undefined;
|
|
348
|
-
preSelected?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
349
|
-
fallbackFor?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
350
|
-
supports?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
351
|
-
imageInput?: boolean | undefined;
|
|
352
|
-
} | undefined;
|
|
353
|
-
apiKey?: string | undefined;
|
|
354
|
-
} | undefined;
|
|
355
|
-
} | {
|
|
356
|
-
type: "defaultHandle";
|
|
357
|
-
ownerHandle: string;
|
|
358
|
-
} | {
|
|
359
|
-
type: "profile";
|
|
360
|
-
avatarCid?: string | undefined;
|
|
361
|
-
displayName?: string | undefined;
|
|
362
|
-
codeMode?: boolean | undefined;
|
|
363
|
-
} | {
|
|
364
|
-
type: "notifications";
|
|
365
|
-
buildComplete?: boolean | undefined;
|
|
366
|
-
buildFailed?: boolean | undefined;
|
|
367
|
-
vibePublished?: boolean | undefined;
|
|
368
|
-
commentPosted?: boolean | undefined;
|
|
369
|
-
requestApproved?: boolean | undefined;
|
|
370
|
-
requestRevoked?: boolean | undefined;
|
|
371
|
-
vibeRemixed?: boolean | undefined;
|
|
372
|
-
dmReceived?: boolean | undefined;
|
|
373
|
-
memberJoined?: boolean | undefined;
|
|
374
|
-
accessRequested?: boolean | undefined;
|
|
375
|
-
emailDigest?: boolean | undefined;
|
|
376
|
-
retentionEmail?: boolean | undefined;
|
|
377
|
-
followRequest?: boolean | undefined;
|
|
378
|
-
followerAdded?: boolean | undefined;
|
|
379
|
-
followApproved?: boolean | undefined;
|
|
380
|
-
appMessage?: boolean | undefined;
|
|
381
|
-
connectionExpiring?: boolean | undefined;
|
|
382
|
-
assetBlocked?: boolean | undefined;
|
|
383
|
-
assetCheckFailed?: boolean | undefined;
|
|
384
|
-
emailInstant?: boolean | undefined;
|
|
385
|
-
mutes?: {
|
|
386
|
-
vibes?: string[] | undefined;
|
|
387
|
-
handles?: string[] | undefined;
|
|
522
|
+
id: string;
|
|
523
|
+
name: string;
|
|
524
|
+
description: string;
|
|
525
|
+
featured?: boolean | undefined;
|
|
526
|
+
preSelected?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
527
|
+
fallbackFor?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
528
|
+
supports?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
529
|
+
imageInput?: boolean | undefined;
|
|
530
|
+
} | undefined;
|
|
531
|
+
apiKey?: string | undefined;
|
|
388
532
|
} | undefined;
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
vibeRemixed?: boolean | undefined;
|
|
398
|
-
memberJoined?: boolean | undefined;
|
|
399
|
-
accessRequested?: boolean | undefined;
|
|
400
|
-
appMessage?: boolean | undefined;
|
|
401
|
-
assetBlocked?: boolean | undefined;
|
|
402
|
-
assetCheckFailed?: boolean | undefined;
|
|
403
|
-
}[] | undefined;
|
|
533
|
+
} | {
|
|
534
|
+
type: "defaultHandle";
|
|
535
|
+
ownerHandle: string;
|
|
536
|
+
} | {
|
|
537
|
+
type: "profile";
|
|
538
|
+
avatarCid?: string | undefined;
|
|
539
|
+
displayName?: string | undefined;
|
|
540
|
+
codeMode?: boolean | undefined;
|
|
404
541
|
} | {
|
|
405
542
|
type: "egressStatus";
|
|
406
543
|
status: "blessed" | "blocked";
|
|
@@ -411,9 +548,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
411
548
|
email: string;
|
|
412
549
|
updatedAt: string;
|
|
413
550
|
verified?: boolean | undefined;
|
|
414
|
-
} | {
|
|
415
|
-
type: "onboarding";
|
|
416
|
-
completedAt: string;
|
|
417
551
|
} | {
|
|
418
552
|
type: "geoCountry";
|
|
419
553
|
country: string;
|
|
@@ -424,6 +558,9 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
424
558
|
[x: string]: string;
|
|
425
559
|
};
|
|
426
560
|
updatedAt: string;
|
|
561
|
+
} | {
|
|
562
|
+
type: "onboarding";
|
|
563
|
+
completedAt: string;
|
|
427
564
|
} | {
|
|
428
565
|
type: "kyc";
|
|
429
566
|
cardAt?: string | undefined;
|
|
@@ -471,10 +608,19 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
471
608
|
slug: string;
|
|
472
609
|
content: string;
|
|
473
610
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
474
|
-
type: "vibes-diy.cli.
|
|
611
|
+
type: "vibes-diy.cli.variety";
|
|
475
612
|
}, {
|
|
476
|
-
type: "vibes-diy.cli.res-
|
|
477
|
-
|
|
613
|
+
type: "vibes-diy.cli.res-variety-list";
|
|
614
|
+
grammar: string;
|
|
615
|
+
flourishCount: number;
|
|
616
|
+
archetypes: {
|
|
617
|
+
id: string;
|
|
618
|
+
guidance: string;
|
|
619
|
+
}[];
|
|
620
|
+
flourishes: {
|
|
621
|
+
id: string;
|
|
622
|
+
guidance: string;
|
|
623
|
+
}[];
|
|
478
624
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
479
625
|
type: "vibes-diy.cli.push";
|
|
480
626
|
mode: string;
|
|
@@ -566,23 +712,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
566
712
|
message: string;
|
|
567
713
|
code: "from-carry-failed";
|
|
568
714
|
};
|
|
569
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
570
|
-
type: "vibes-diy.cli.remix";
|
|
571
|
-
srcUserSlug: string;
|
|
572
|
-
srcAppSlug: string;
|
|
573
|
-
dstOwnerHandle?: string | undefined;
|
|
574
|
-
dstAppSlug?: string | undefined;
|
|
575
|
-
published: boolean;
|
|
576
|
-
settingsOnly: boolean;
|
|
577
|
-
apiUrl: string;
|
|
578
|
-
}, {
|
|
579
|
-
type: "vibes-diy.cli.res-remix";
|
|
580
|
-
ownerHandle: string;
|
|
581
|
-
appSlug: string;
|
|
582
|
-
url: string;
|
|
583
|
-
carried?: string[] | undefined;
|
|
584
|
-
skippedPresent?: string[] | undefined;
|
|
585
|
-
chatId?: string | undefined;
|
|
586
715
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
587
716
|
type: "vibes-diy.cli.claim-handle";
|
|
588
717
|
apiUrl: string;
|
|
@@ -593,21 +722,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
593
722
|
ownerHandle?: string | undefined;
|
|
594
723
|
defaultHandleSet?: boolean | undefined;
|
|
595
724
|
suggestions: string[];
|
|
596
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
597
|
-
type: "vibes-diy.cli.put-asset";
|
|
598
|
-
file: string;
|
|
599
|
-
appSlug: string;
|
|
600
|
-
ownerHandle: string;
|
|
601
|
-
apiUrl: string;
|
|
602
|
-
mimeType: string;
|
|
603
|
-
verifyFetch: boolean;
|
|
604
|
-
}, {
|
|
605
|
-
type: "vibes-diy.cli.res-put-asset";
|
|
606
|
-
cid: string;
|
|
607
|
-
getURL: string;
|
|
608
|
-
size: number;
|
|
609
|
-
uploadId: string;
|
|
610
|
-
verified?: boolean | undefined;
|
|
611
725
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
612
726
|
type: "vibes-diy.cli.generate";
|
|
613
727
|
prompt: string;
|
|
@@ -711,136 +825,44 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
711
825
|
publish?: "kept-private-no-access-fn" | "private" | "published" | undefined;
|
|
712
826
|
posture?: "gated" | "open" | "private" | undefined;
|
|
713
827
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
714
|
-
type: "vibes-diy.cli.
|
|
828
|
+
type: "vibes-diy.cli.app-chats";
|
|
715
829
|
appSlug: string;
|
|
716
830
|
ownerHandle: string;
|
|
717
831
|
chatId?: string | undefined;
|
|
718
832
|
apiUrl: string;
|
|
719
|
-
response?: boolean | undefined;
|
|
720
|
-
raw?: boolean | undefined;
|
|
721
|
-
files?: boolean | undefined;
|
|
722
|
-
jsonl?: boolean | undefined;
|
|
723
|
-
user?: boolean | undefined;
|
|
724
|
-
promptId?: string | undefined;
|
|
725
833
|
}, {
|
|
726
|
-
type: "vibes-diy.cli.res-
|
|
834
|
+
type: "vibes-diy.cli.res-app-chats-list";
|
|
727
835
|
items: {
|
|
728
836
|
chatId: string;
|
|
729
837
|
appSlug: string;
|
|
730
838
|
ownerHandle: string;
|
|
731
839
|
created: string;
|
|
840
|
+
userHandle?: string | undefined;
|
|
732
841
|
}[];
|
|
733
842
|
} | {
|
|
734
|
-
type: "vibes-diy.cli.res-
|
|
843
|
+
type: "vibes-diy.cli.res-app-chats-detail";
|
|
735
844
|
chatId: string;
|
|
736
|
-
ownerHandle
|
|
737
|
-
appSlug
|
|
738
|
-
prompts: {
|
|
739
|
-
prompt: string;
|
|
740
|
-
fsId: string;
|
|
741
|
-
created: string;
|
|
742
|
-
}[];
|
|
743
|
-
} | {
|
|
744
|
-
type: "vibes-diy.cli.res-codegen-log-response";
|
|
845
|
+
ownerHandle?: string | undefined;
|
|
846
|
+
appSlug?: string | undefined;
|
|
745
847
|
output: string;
|
|
746
848
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
747
|
-
type: "vibes-diy.cli.
|
|
748
|
-
appSlug: string;
|
|
749
|
-
prompt: string;
|
|
750
|
-
ownerHandle: string;
|
|
751
|
-
instantJoin?: boolean | undefined;
|
|
752
|
-
verbose: boolean;
|
|
753
|
-
dir: string;
|
|
849
|
+
type: "vibes-diy.cli.list";
|
|
754
850
|
apiUrl: string;
|
|
755
|
-
dryRun: boolean;
|
|
756
|
-
transcript: boolean;
|
|
757
|
-
directBuild?: boolean | undefined;
|
|
758
|
-
focusPath?: string | undefined;
|
|
759
|
-
model?: string | undefined;
|
|
760
|
-
builderModel?: string | undefined;
|
|
761
|
-
apiKey?: string | undefined;
|
|
762
851
|
}, {
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
assetId: string;
|
|
773
|
-
assetURI: string;
|
|
774
|
-
transform?: {
|
|
775
|
-
type: "jsx-to-js";
|
|
776
|
-
transformedAssetId: string;
|
|
777
|
-
} | {
|
|
778
|
-
type: "imports";
|
|
779
|
-
importMapAssetId: string;
|
|
780
|
-
} | {
|
|
781
|
-
type: "import-map";
|
|
782
|
-
fromAssetIds: string[];
|
|
783
|
-
} | {
|
|
784
|
-
type: "transformed";
|
|
785
|
-
action: "jsx-to-js";
|
|
786
|
-
transformedAssetId: string;
|
|
787
|
-
} | {
|
|
788
|
-
type: "tailwind-css";
|
|
852
|
+
type: "vibes-diy.cli.res-list";
|
|
853
|
+
items: {
|
|
854
|
+
ownerHandle: string;
|
|
855
|
+
appSlug: string;
|
|
856
|
+
updated: string;
|
|
857
|
+
title?: string | undefined;
|
|
858
|
+
icon?: {
|
|
859
|
+
cid: string;
|
|
860
|
+
mime: string;
|
|
789
861
|
} | undefined;
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
uploadId?: string | undefined;
|
|
862
|
+
pinnedAt?: string | undefined;
|
|
863
|
+
neverPublished?: boolean | undefined;
|
|
864
|
+
unpublishedAt?: string | undefined;
|
|
794
865
|
}[];
|
|
795
|
-
} | {
|
|
796
|
-
type: "vibes.diy.res-error";
|
|
797
|
-
error: {
|
|
798
|
-
message: string;
|
|
799
|
-
code: "require-login";
|
|
800
|
-
};
|
|
801
|
-
} | {
|
|
802
|
-
type: "vibes.diy.res-error";
|
|
803
|
-
error: {
|
|
804
|
-
message: string;
|
|
805
|
-
code: "user-slug-invalid";
|
|
806
|
-
};
|
|
807
|
-
} | {
|
|
808
|
-
type: "vibes.diy.res-error";
|
|
809
|
-
error: {
|
|
810
|
-
message: string;
|
|
811
|
-
code: "app-slug-invalid";
|
|
812
|
-
};
|
|
813
|
-
} | {
|
|
814
|
-
type: "vibes.diy.res-error";
|
|
815
|
-
error: {
|
|
816
|
-
message: string;
|
|
817
|
-
code: "max-app-slugs-reached";
|
|
818
|
-
};
|
|
819
|
-
} | {
|
|
820
|
-
type: "vibes.diy.res-error";
|
|
821
|
-
error: {
|
|
822
|
-
message: string;
|
|
823
|
-
code: "handle-required";
|
|
824
|
-
};
|
|
825
|
-
} | {
|
|
826
|
-
type: "vibes.diy.res-error";
|
|
827
|
-
error: {
|
|
828
|
-
message: string;
|
|
829
|
-
code: "from-not-owned";
|
|
830
|
-
};
|
|
831
|
-
} | {
|
|
832
|
-
type: "vibes.diy.res-error";
|
|
833
|
-
error: {
|
|
834
|
-
message: string;
|
|
835
|
-
code: "from-carry-failed";
|
|
836
|
-
};
|
|
837
|
-
} | {
|
|
838
|
-
type: "vibes-diy.cli.res-edit";
|
|
839
|
-
appSlug: string;
|
|
840
|
-
ownerHandle: string;
|
|
841
|
-
url: string;
|
|
842
|
-
directory: string;
|
|
843
|
-
restyled?: boolean | undefined;
|
|
844
866
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
845
867
|
type: "vibes-diy.cli.pull";
|
|
846
868
|
appSlug: string;
|
|
@@ -972,28 +994,19 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
972
994
|
userId: string;
|
|
973
995
|
cleared: string[];
|
|
974
996
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
975
|
-
type: "
|
|
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.list";
|
|
997
|
+
type: "vibes-diy.cli.db.get";
|
|
990
998
|
apiUrl: string;
|
|
991
999
|
appSlug: string;
|
|
992
1000
|
ownerHandle: string;
|
|
1001
|
+
dbName: string;
|
|
1002
|
+
docId: string;
|
|
993
1003
|
admin: boolean;
|
|
1004
|
+
actingHandle: string;
|
|
994
1005
|
}, {
|
|
995
|
-
type: "vibes-diy.cli.db.
|
|
996
|
-
|
|
1006
|
+
type: "vibes-diy.cli.db.get-res";
|
|
1007
|
+
doc: {
|
|
1008
|
+
[x: string]: unknown;
|
|
1009
|
+
};
|
|
997
1010
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
998
1011
|
type: "vibes-diy.cli.db.put";
|
|
999
1012
|
apiUrl: string;
|
|
@@ -1022,23 +1035,10 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1022
1035
|
id: string;
|
|
1023
1036
|
ok: true;
|
|
1024
1037
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1025
|
-
type: "vibes-diy.cli.db.
|
|
1038
|
+
type: "vibes-diy.cli.db.subscribe";
|
|
1026
1039
|
apiUrl: string;
|
|
1027
1040
|
appSlug: string;
|
|
1028
1041
|
ownerHandle: string;
|
|
1029
1042
|
dbName: string;
|
|
1030
|
-
|
|
1031
|
-
key: string;
|
|
1032
|
-
prefix: string;
|
|
1033
|
-
range: string;
|
|
1034
|
-
limit: number;
|
|
1035
|
-
descending: boolean;
|
|
1036
|
-
admin: boolean;
|
|
1037
|
-
actingHandle: string;
|
|
1038
|
-
}, {
|
|
1039
|
-
type: "vibes-diy.cli.db.query-res";
|
|
1040
|
-
docs: {
|
|
1041
|
-
[x: string]: unknown;
|
|
1042
|
-
}[];
|
|
1043
|
-
}>)[];
|
|
1043
|
+
}, never>)[];
|
|
1044
1044
|
export declare function cmdTsEvento(): import("@adviser/cement").Evento;
|