vibes-diy 14.3.322 → 14.3.324
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 +269 -269
- package/cli/cmds/agent-cmd.d.ts +2 -3
- package/cli/cmds/agent-cmd.js +2 -14
- package/cli/cmds/agent-cmd.js.map +1 -1
- package/cli/cmds/chat-event-feed.d.ts +1 -10
- package/cli/cmds/chat-event-feed.js +1 -57
- package/cli/cmds/chat-event-feed.js.map +1 -1
- package/cli/cmds/run/backend-worker/run-backend-entry.js +614 -140
- package/cli/cmds/run/bundle-inputs.json +13 -0
- package/cli/cmds/run/run-bundle.js +2807 -2255
- package/package.json +8 -8
package/cli/cmd-evento.d.ts
CHANGED
|
@@ -21,131 +21,53 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
21
21
|
type: "core-cli.res-device-id-register";
|
|
22
22
|
output: string;
|
|
23
23
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
24
|
-
type: "vibes-diy.cli.
|
|
25
|
-
}, {
|
|
26
|
-
type: "vibes-diy.cli.res-system";
|
|
27
|
-
systemPrompt: string;
|
|
28
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
29
|
-
type: "vibes-diy.cli.remix";
|
|
30
|
-
srcUserSlug: string;
|
|
31
|
-
srcAppSlug: string;
|
|
32
|
-
dstOwnerHandle?: string | undefined;
|
|
33
|
-
dstAppSlug?: string | undefined;
|
|
34
|
-
published: boolean;
|
|
35
|
-
settingsOnly: boolean;
|
|
36
|
-
apiUrl: string;
|
|
37
|
-
}, {
|
|
38
|
-
type: "vibes-diy.cli.res-remix";
|
|
39
|
-
ownerHandle: string;
|
|
40
|
-
appSlug: string;
|
|
41
|
-
url: string;
|
|
42
|
-
carried?: string[] | undefined;
|
|
43
|
-
skippedPresent?: string[] | undefined;
|
|
44
|
-
chatId?: string | undefined;
|
|
45
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
46
|
-
type: "vibes-diy.cli.agent";
|
|
47
|
-
apiUrl: string;
|
|
48
|
-
prompt: string;
|
|
49
|
-
ownerHandle: string;
|
|
50
|
-
followMs: number;
|
|
51
|
-
json: boolean;
|
|
52
|
-
chatId?: string | undefined;
|
|
53
|
-
newChat?: boolean | undefined;
|
|
54
|
-
images?: string[] | undefined;
|
|
55
|
-
byText?: boolean | undefined;
|
|
56
|
-
}, {
|
|
57
|
-
type: "vibes-diy.cli.res-agent";
|
|
58
|
-
ownerHandle: string;
|
|
59
|
-
chatId: string;
|
|
60
|
-
messages: string[];
|
|
61
|
-
shorts?: string[] | undefined;
|
|
62
|
-
links: string[];
|
|
63
|
-
idle: boolean;
|
|
64
|
-
reactions?: string[] | undefined;
|
|
65
|
-
error?: string | undefined;
|
|
66
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
67
|
-
type: "vibes-diy.cli.pull";
|
|
68
|
-
appSlug: string;
|
|
69
|
-
ownerHandle: string;
|
|
70
|
-
dir: string;
|
|
71
|
-
apiUrl: string;
|
|
72
|
-
fsId?: string | undefined;
|
|
73
|
-
published: boolean;
|
|
74
|
-
draft: boolean;
|
|
75
|
-
version?: string | undefined;
|
|
24
|
+
type: "vibes-diy.cli.variety";
|
|
76
25
|
}, {
|
|
77
|
-
type: "vibes-diy.cli.res-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
26
|
+
type: "vibes-diy.cli.res-variety-list";
|
|
27
|
+
grammar: string;
|
|
28
|
+
flourishCount: number;
|
|
29
|
+
archetypes: {
|
|
30
|
+
id: string;
|
|
31
|
+
guidance: string;
|
|
32
|
+
}[];
|
|
33
|
+
flourishes: {
|
|
34
|
+
id: string;
|
|
35
|
+
guidance: string;
|
|
84
36
|
}[];
|
|
85
37
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
86
|
-
type: "vibes-diy.cli.
|
|
87
|
-
|
|
88
|
-
appSlug: string;
|
|
89
|
-
ownerHandle: string;
|
|
90
|
-
dbName: string;
|
|
91
|
-
}, never> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
92
|
-
type: "vibes-diy.cli.codegen-log";
|
|
38
|
+
type: "vibes-diy.cli.put-asset";
|
|
39
|
+
file: string;
|
|
93
40
|
appSlug: string;
|
|
94
41
|
ownerHandle: string;
|
|
95
|
-
chatId?: string | undefined;
|
|
96
42
|
apiUrl: string;
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
files?: boolean | undefined;
|
|
100
|
-
jsonl?: boolean | undefined;
|
|
101
|
-
user?: boolean | undefined;
|
|
102
|
-
promptId?: string | undefined;
|
|
43
|
+
mimeType: string;
|
|
44
|
+
verifyFetch: boolean;
|
|
103
45
|
}, {
|
|
104
|
-
type: "vibes-diy.cli.res-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
appSlug: string;
|
|
111
|
-
ownerHandle: string;
|
|
112
|
-
created: string;
|
|
113
|
-
}[];
|
|
114
|
-
} | {
|
|
115
|
-
type: "vibes-diy.cli.res-codegen-log-detail";
|
|
116
|
-
chatId: string;
|
|
117
|
-
ownerHandle: string;
|
|
118
|
-
appSlug: string;
|
|
119
|
-
prompts: {
|
|
120
|
-
prompt: string;
|
|
121
|
-
fsId: string;
|
|
122
|
-
created: string;
|
|
123
|
-
}[];
|
|
46
|
+
type: "vibes-diy.cli.res-put-asset";
|
|
47
|
+
cid: string;
|
|
48
|
+
getURL: string;
|
|
49
|
+
size: number;
|
|
50
|
+
uploadId: string;
|
|
51
|
+
verified?: boolean | undefined;
|
|
124
52
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
125
|
-
type: "vibes-diy.cli.
|
|
126
|
-
appSlug: string;
|
|
53
|
+
type: "vibes-diy.cli.generate";
|
|
127
54
|
prompt: string;
|
|
55
|
+
appSlug: string;
|
|
128
56
|
ownerHandle: string;
|
|
129
57
|
instantJoin?: boolean | undefined;
|
|
58
|
+
noAccessFn?: boolean | undefined;
|
|
59
|
+
privateMode?: boolean | undefined;
|
|
130
60
|
verbose: boolean;
|
|
131
|
-
dir: string;
|
|
132
61
|
apiUrl: string;
|
|
133
|
-
dryRun: boolean;
|
|
134
|
-
transcript: boolean;
|
|
135
|
-
directBuild?: boolean | undefined;
|
|
136
62
|
focusPath?: string | undefined;
|
|
137
63
|
model?: string | undefined;
|
|
138
64
|
builderModel?: string | undefined;
|
|
139
65
|
apiKey?: string | undefined;
|
|
66
|
+
variety?: string | undefined;
|
|
67
|
+
record?: string | undefined;
|
|
68
|
+
style?: string | undefined;
|
|
69
|
+
fastPass?: boolean | undefined;
|
|
140
70
|
}, {
|
|
141
|
-
type: "vibes-diy.cli.res-edit";
|
|
142
|
-
appSlug: string;
|
|
143
|
-
ownerHandle: string;
|
|
144
|
-
url: string;
|
|
145
|
-
directory: string;
|
|
146
|
-
restyled?: boolean | undefined;
|
|
147
|
-
fsId?: string | undefined;
|
|
148
|
-
} | {
|
|
149
71
|
appSlug: string;
|
|
150
72
|
ownerHandle: string;
|
|
151
73
|
mode: "dev" | "production";
|
|
@@ -228,6 +150,45 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
228
150
|
message: string;
|
|
229
151
|
code: "auto-enhance-off";
|
|
230
152
|
};
|
|
153
|
+
} | {
|
|
154
|
+
type: "vibes-diy.cli.res-generate";
|
|
155
|
+
appSlug: string;
|
|
156
|
+
ownerHandle: string;
|
|
157
|
+
url: string;
|
|
158
|
+
directory: string;
|
|
159
|
+
release?: "not-visible" | "published" | "version-locked" | undefined;
|
|
160
|
+
turns?: number | undefined;
|
|
161
|
+
publish?: "kept-private-no-access-fn" | "private" | "published" | undefined;
|
|
162
|
+
posture?: "gated" | "open" | "private" | undefined;
|
|
163
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
164
|
+
type: "vibes-diy.cli.db.query";
|
|
165
|
+
apiUrl: string;
|
|
166
|
+
appSlug: string;
|
|
167
|
+
ownerHandle: string;
|
|
168
|
+
dbName: string;
|
|
169
|
+
field: string;
|
|
170
|
+
key: string;
|
|
171
|
+
prefix: string;
|
|
172
|
+
range: string;
|
|
173
|
+
limit: number;
|
|
174
|
+
descending: boolean;
|
|
175
|
+
admin: boolean;
|
|
176
|
+
actingHandle: string;
|
|
177
|
+
}, {
|
|
178
|
+
type: "vibes-diy.cli.db.query-res";
|
|
179
|
+
docs: {
|
|
180
|
+
[x: string]: unknown;
|
|
181
|
+
}[];
|
|
182
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
183
|
+
type: "vibes-diy.cli.whoami";
|
|
184
|
+
apiUrl: string;
|
|
185
|
+
}, {
|
|
186
|
+
type: "vibes-diy.cli.res-whoami";
|
|
187
|
+
authenticated: boolean;
|
|
188
|
+
userId?: string | undefined;
|
|
189
|
+
defaultHandle?: string | undefined;
|
|
190
|
+
handles: string[];
|
|
191
|
+
detail?: string | undefined;
|
|
231
192
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
232
193
|
type: "vibes-diy.cli.assets-ls";
|
|
233
194
|
appSlug: string;
|
|
@@ -399,6 +360,113 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
399
360
|
published: boolean;
|
|
400
361
|
revertedDraft: boolean;
|
|
401
362
|
relayout: boolean;
|
|
363
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
364
|
+
type: "vibes-diy.cli.edit";
|
|
365
|
+
appSlug: string;
|
|
366
|
+
prompt: string;
|
|
367
|
+
ownerHandle: string;
|
|
368
|
+
instantJoin?: boolean | undefined;
|
|
369
|
+
verbose: boolean;
|
|
370
|
+
dir: string;
|
|
371
|
+
apiUrl: string;
|
|
372
|
+
dryRun: boolean;
|
|
373
|
+
transcript: boolean;
|
|
374
|
+
directBuild?: boolean | undefined;
|
|
375
|
+
focusPath?: string | undefined;
|
|
376
|
+
model?: string | undefined;
|
|
377
|
+
builderModel?: string | undefined;
|
|
378
|
+
apiKey?: string | undefined;
|
|
379
|
+
}, {
|
|
380
|
+
appSlug: string;
|
|
381
|
+
ownerHandle: string;
|
|
382
|
+
mode: "dev" | "production";
|
|
383
|
+
fsId: string;
|
|
384
|
+
type: "vibes.diy.res-ensure-app-slug";
|
|
385
|
+
env: Record<string, string>;
|
|
386
|
+
fileSystem: {
|
|
387
|
+
fileName: string;
|
|
388
|
+
mimeType: string;
|
|
389
|
+
assetId: string;
|
|
390
|
+
assetURI: string;
|
|
391
|
+
transform?: {
|
|
392
|
+
type: "jsx-to-js";
|
|
393
|
+
transformedAssetId: string;
|
|
394
|
+
} | {
|
|
395
|
+
type: "imports";
|
|
396
|
+
importMapAssetId: string;
|
|
397
|
+
} | {
|
|
398
|
+
type: "import-map";
|
|
399
|
+
fromAssetIds: string[];
|
|
400
|
+
} | {
|
|
401
|
+
type: "transformed";
|
|
402
|
+
action: "jsx-to-js";
|
|
403
|
+
transformedAssetId: string;
|
|
404
|
+
} | {
|
|
405
|
+
type: "tailwind-css";
|
|
406
|
+
} | undefined;
|
|
407
|
+
entryPoint?: boolean | undefined;
|
|
408
|
+
size: number;
|
|
409
|
+
kind?: "asset" | undefined;
|
|
410
|
+
uploadId?: string | undefined;
|
|
411
|
+
}[];
|
|
412
|
+
autoEnhanceOff?: true | undefined;
|
|
413
|
+
appCreated?: true | undefined;
|
|
414
|
+
} | {
|
|
415
|
+
type: "vibes.diy.res-error";
|
|
416
|
+
error: {
|
|
417
|
+
message: string;
|
|
418
|
+
code: "require-login";
|
|
419
|
+
};
|
|
420
|
+
} | {
|
|
421
|
+
type: "vibes.diy.res-error";
|
|
422
|
+
error: {
|
|
423
|
+
message: string;
|
|
424
|
+
code: "user-slug-invalid";
|
|
425
|
+
};
|
|
426
|
+
} | {
|
|
427
|
+
type: "vibes.diy.res-error";
|
|
428
|
+
error: {
|
|
429
|
+
message: string;
|
|
430
|
+
code: "app-slug-invalid";
|
|
431
|
+
};
|
|
432
|
+
} | {
|
|
433
|
+
type: "vibes.diy.res-error";
|
|
434
|
+
error: {
|
|
435
|
+
message: string;
|
|
436
|
+
code: "max-app-slugs-reached";
|
|
437
|
+
};
|
|
438
|
+
} | {
|
|
439
|
+
type: "vibes.diy.res-error";
|
|
440
|
+
error: {
|
|
441
|
+
message: string;
|
|
442
|
+
code: "handle-required";
|
|
443
|
+
};
|
|
444
|
+
} | {
|
|
445
|
+
type: "vibes.diy.res-error";
|
|
446
|
+
error: {
|
|
447
|
+
message: string;
|
|
448
|
+
code: "from-not-owned";
|
|
449
|
+
};
|
|
450
|
+
} | {
|
|
451
|
+
type: "vibes.diy.res-error";
|
|
452
|
+
error: {
|
|
453
|
+
message: string;
|
|
454
|
+
code: "from-carry-failed";
|
|
455
|
+
};
|
|
456
|
+
} | {
|
|
457
|
+
type: "vibes.diy.res-error";
|
|
458
|
+
error: {
|
|
459
|
+
message: string;
|
|
460
|
+
code: "auto-enhance-off";
|
|
461
|
+
};
|
|
462
|
+
} | {
|
|
463
|
+
type: "vibes-diy.cli.res-edit";
|
|
464
|
+
appSlug: string;
|
|
465
|
+
ownerHandle: string;
|
|
466
|
+
url: string;
|
|
467
|
+
directory: string;
|
|
468
|
+
restyled?: boolean | undefined;
|
|
469
|
+
fsId?: string | undefined;
|
|
402
470
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
403
471
|
type: "vibes-diy.cli.app-status";
|
|
404
472
|
appSlug: string;
|
|
@@ -744,9 +812,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
744
812
|
email: string;
|
|
745
813
|
updatedAt: string;
|
|
746
814
|
verified?: boolean | undefined;
|
|
747
|
-
} | {
|
|
748
|
-
type: "onboarding";
|
|
749
|
-
completedAt: string;
|
|
750
815
|
} | {
|
|
751
816
|
type: "geoCountry";
|
|
752
817
|
country: string;
|
|
@@ -757,6 +822,9 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
757
822
|
[x: string]: string;
|
|
758
823
|
};
|
|
759
824
|
updatedAt: string;
|
|
825
|
+
} | {
|
|
826
|
+
type: "onboarding";
|
|
827
|
+
completedAt: string;
|
|
760
828
|
} | {
|
|
761
829
|
type: "kyc";
|
|
762
830
|
cardAt?: string | undefined;
|
|
@@ -861,19 +929,10 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
861
929
|
slug: string;
|
|
862
930
|
content: string;
|
|
863
931
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
864
|
-
type: "vibes-diy.cli.
|
|
932
|
+
type: "vibes-diy.cli.system";
|
|
865
933
|
}, {
|
|
866
|
-
type: "vibes-diy.cli.res-
|
|
867
|
-
|
|
868
|
-
flourishCount: number;
|
|
869
|
-
archetypes: {
|
|
870
|
-
id: string;
|
|
871
|
-
guidance: string;
|
|
872
|
-
}[];
|
|
873
|
-
flourishes: {
|
|
874
|
-
id: string;
|
|
875
|
-
guidance: string;
|
|
876
|
-
}[];
|
|
934
|
+
type: "vibes-diy.cli.res-system";
|
|
935
|
+
systemPrompt: string;
|
|
877
936
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
878
937
|
type: "vibes-diy.cli.push";
|
|
879
938
|
mode: string;
|
|
@@ -973,6 +1032,23 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
973
1032
|
message: string;
|
|
974
1033
|
code: "auto-enhance-off";
|
|
975
1034
|
};
|
|
1035
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1036
|
+
type: "vibes-diy.cli.remix";
|
|
1037
|
+
srcUserSlug: string;
|
|
1038
|
+
srcAppSlug: string;
|
|
1039
|
+
dstOwnerHandle?: string | undefined;
|
|
1040
|
+
dstAppSlug?: string | undefined;
|
|
1041
|
+
published: boolean;
|
|
1042
|
+
settingsOnly: boolean;
|
|
1043
|
+
apiUrl: string;
|
|
1044
|
+
}, {
|
|
1045
|
+
type: "vibes-diy.cli.res-remix";
|
|
1046
|
+
ownerHandle: string;
|
|
1047
|
+
appSlug: string;
|
|
1048
|
+
url: string;
|
|
1049
|
+
carried?: string[] | undefined;
|
|
1050
|
+
skippedPresent?: string[] | undefined;
|
|
1051
|
+
chatId?: string | undefined;
|
|
976
1052
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
977
1053
|
type: "vibes-diy.cli.claim-handle";
|
|
978
1054
|
apiUrl: string;
|
|
@@ -985,6 +1061,27 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
985
1061
|
defaultHandleSet?: boolean | undefined;
|
|
986
1062
|
defaultSkipped?: boolean | undefined;
|
|
987
1063
|
suggestions: string[];
|
|
1064
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1065
|
+
type: "vibes-diy.cli.agent";
|
|
1066
|
+
apiUrl: string;
|
|
1067
|
+
prompt: string;
|
|
1068
|
+
ownerHandle: string;
|
|
1069
|
+
followMs: number;
|
|
1070
|
+
json: boolean;
|
|
1071
|
+
chatId?: string | undefined;
|
|
1072
|
+
newChat?: boolean | undefined;
|
|
1073
|
+
images?: string[] | undefined;
|
|
1074
|
+
byText?: boolean | undefined;
|
|
1075
|
+
}, {
|
|
1076
|
+
type: "vibes-diy.cli.res-agent";
|
|
1077
|
+
ownerHandle: string;
|
|
1078
|
+
chatId: string;
|
|
1079
|
+
messages: string[];
|
|
1080
|
+
shorts?: string[] | undefined;
|
|
1081
|
+
links: string[];
|
|
1082
|
+
idle: boolean;
|
|
1083
|
+
reactions?: string[] | undefined;
|
|
1084
|
+
error?: string | undefined;
|
|
988
1085
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
989
1086
|
type: "vibes-diy.cli.image";
|
|
990
1087
|
apiUrl: string;
|
|
@@ -1018,151 +1115,58 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1018
1115
|
};
|
|
1019
1116
|
};
|
|
1020
1117
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1021
|
-
type: "vibes-diy.cli.
|
|
1022
|
-
file: string;
|
|
1023
|
-
appSlug: string;
|
|
1024
|
-
ownerHandle: string;
|
|
1025
|
-
apiUrl: string;
|
|
1026
|
-
mimeType: string;
|
|
1027
|
-
verifyFetch: boolean;
|
|
1028
|
-
}, {
|
|
1029
|
-
type: "vibes-diy.cli.res-put-asset";
|
|
1030
|
-
cid: string;
|
|
1031
|
-
getURL: string;
|
|
1032
|
-
size: number;
|
|
1033
|
-
uploadId: string;
|
|
1034
|
-
verified?: boolean | undefined;
|
|
1035
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1036
|
-
type: "vibes-diy.cli.generate";
|
|
1037
|
-
prompt: string;
|
|
1118
|
+
type: "vibes-diy.cli.app-chats";
|
|
1038
1119
|
appSlug: string;
|
|
1039
1120
|
ownerHandle: string;
|
|
1040
|
-
|
|
1041
|
-
noAccessFn?: boolean | undefined;
|
|
1042
|
-
privateMode?: boolean | undefined;
|
|
1043
|
-
verbose: boolean;
|
|
1121
|
+
chatId?: string | undefined;
|
|
1044
1122
|
apiUrl: string;
|
|
1045
|
-
focusPath?: string | undefined;
|
|
1046
|
-
model?: string | undefined;
|
|
1047
|
-
builderModel?: string | undefined;
|
|
1048
|
-
apiKey?: string | undefined;
|
|
1049
|
-
variety?: string | undefined;
|
|
1050
|
-
record?: string | undefined;
|
|
1051
|
-
style?: string | undefined;
|
|
1052
|
-
fastPass?: boolean | undefined;
|
|
1053
1123
|
}, {
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
fileName: string;
|
|
1062
|
-
mimeType: string;
|
|
1063
|
-
assetId: string;
|
|
1064
|
-
assetURI: string;
|
|
1065
|
-
transform?: {
|
|
1066
|
-
type: "jsx-to-js";
|
|
1067
|
-
transformedAssetId: string;
|
|
1068
|
-
} | {
|
|
1069
|
-
type: "imports";
|
|
1070
|
-
importMapAssetId: string;
|
|
1071
|
-
} | {
|
|
1072
|
-
type: "import-map";
|
|
1073
|
-
fromAssetIds: string[];
|
|
1074
|
-
} | {
|
|
1075
|
-
type: "transformed";
|
|
1076
|
-
action: "jsx-to-js";
|
|
1077
|
-
transformedAssetId: string;
|
|
1078
|
-
} | {
|
|
1079
|
-
type: "tailwind-css";
|
|
1080
|
-
} | undefined;
|
|
1081
|
-
entryPoint?: boolean | undefined;
|
|
1082
|
-
size: number;
|
|
1083
|
-
kind?: "asset" | undefined;
|
|
1084
|
-
uploadId?: string | undefined;
|
|
1124
|
+
type: "vibes-diy.cli.res-app-chats-list";
|
|
1125
|
+
items: {
|
|
1126
|
+
chatId: string;
|
|
1127
|
+
appSlug: string;
|
|
1128
|
+
ownerHandle: string;
|
|
1129
|
+
created: string;
|
|
1130
|
+
userHandle?: string | undefined;
|
|
1085
1131
|
}[];
|
|
1086
|
-
autoEnhanceOff?: true | undefined;
|
|
1087
|
-
appCreated?: true | undefined;
|
|
1088
|
-
} | {
|
|
1089
|
-
type: "vibes.diy.res-error";
|
|
1090
|
-
error: {
|
|
1091
|
-
message: string;
|
|
1092
|
-
code: "require-login";
|
|
1093
|
-
};
|
|
1094
|
-
} | {
|
|
1095
|
-
type: "vibes.diy.res-error";
|
|
1096
|
-
error: {
|
|
1097
|
-
message: string;
|
|
1098
|
-
code: "user-slug-invalid";
|
|
1099
|
-
};
|
|
1100
|
-
} | {
|
|
1101
|
-
type: "vibes.diy.res-error";
|
|
1102
|
-
error: {
|
|
1103
|
-
message: string;
|
|
1104
|
-
code: "app-slug-invalid";
|
|
1105
|
-
};
|
|
1106
|
-
} | {
|
|
1107
|
-
type: "vibes.diy.res-error";
|
|
1108
|
-
error: {
|
|
1109
|
-
message: string;
|
|
1110
|
-
code: "max-app-slugs-reached";
|
|
1111
|
-
};
|
|
1112
|
-
} | {
|
|
1113
|
-
type: "vibes.diy.res-error";
|
|
1114
|
-
error: {
|
|
1115
|
-
message: string;
|
|
1116
|
-
code: "handle-required";
|
|
1117
|
-
};
|
|
1118
1132
|
} | {
|
|
1119
|
-
type: "vibes
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
} | {
|
|
1125
|
-
type: "vibes.diy.res-error";
|
|
1126
|
-
error: {
|
|
1127
|
-
message: string;
|
|
1128
|
-
code: "from-carry-failed";
|
|
1129
|
-
};
|
|
1130
|
-
} | {
|
|
1131
|
-
type: "vibes.diy.res-error";
|
|
1132
|
-
error: {
|
|
1133
|
-
message: string;
|
|
1134
|
-
code: "auto-enhance-off";
|
|
1135
|
-
};
|
|
1136
|
-
} | {
|
|
1137
|
-
type: "vibes-diy.cli.res-generate";
|
|
1138
|
-
appSlug: string;
|
|
1139
|
-
ownerHandle: string;
|
|
1140
|
-
url: string;
|
|
1141
|
-
directory: string;
|
|
1142
|
-
release?: "not-visible" | "published" | "version-locked" | undefined;
|
|
1143
|
-
turns?: number | undefined;
|
|
1144
|
-
publish?: "kept-private-no-access-fn" | "private" | "published" | undefined;
|
|
1145
|
-
posture?: "gated" | "open" | "private" | undefined;
|
|
1133
|
+
type: "vibes-diy.cli.res-app-chats-detail";
|
|
1134
|
+
chatId: string;
|
|
1135
|
+
ownerHandle?: string | undefined;
|
|
1136
|
+
appSlug?: string | undefined;
|
|
1137
|
+
output: string;
|
|
1146
1138
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1147
|
-
type: "vibes-diy.cli.
|
|
1139
|
+
type: "vibes-diy.cli.codegen-log";
|
|
1148
1140
|
appSlug: string;
|
|
1149
1141
|
ownerHandle: string;
|
|
1150
1142
|
chatId?: string | undefined;
|
|
1151
1143
|
apiUrl: string;
|
|
1144
|
+
response?: boolean | undefined;
|
|
1145
|
+
raw?: boolean | undefined;
|
|
1146
|
+
files?: boolean | undefined;
|
|
1147
|
+
jsonl?: boolean | undefined;
|
|
1148
|
+
user?: boolean | undefined;
|
|
1149
|
+
promptId?: string | undefined;
|
|
1152
1150
|
}, {
|
|
1153
|
-
type: "vibes-diy.cli.res-
|
|
1151
|
+
type: "vibes-diy.cli.res-codegen-log-list";
|
|
1154
1152
|
items: {
|
|
1155
1153
|
chatId: string;
|
|
1156
1154
|
appSlug: string;
|
|
1157
1155
|
ownerHandle: string;
|
|
1158
1156
|
created: string;
|
|
1159
|
-
userHandle?: string | undefined;
|
|
1160
1157
|
}[];
|
|
1161
1158
|
} | {
|
|
1162
|
-
type: "vibes-diy.cli.res-
|
|
1159
|
+
type: "vibes-diy.cli.res-codegen-log-detail";
|
|
1163
1160
|
chatId: string;
|
|
1164
|
-
ownerHandle
|
|
1165
|
-
appSlug
|
|
1161
|
+
ownerHandle: string;
|
|
1162
|
+
appSlug: string;
|
|
1163
|
+
prompts: {
|
|
1164
|
+
prompt: string;
|
|
1165
|
+
fsId: string;
|
|
1166
|
+
created: string;
|
|
1167
|
+
}[];
|
|
1168
|
+
} | {
|
|
1169
|
+
type: "vibes-diy.cli.res-codegen-log-response";
|
|
1166
1170
|
output: string;
|
|
1167
1171
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1168
1172
|
type: "vibes-diy.cli.list";
|
|
@@ -1208,15 +1212,24 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1208
1212
|
ms?: number | undefined;
|
|
1209
1213
|
} | undefined;
|
|
1210
1214
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1211
|
-
type: "vibes-diy.cli.
|
|
1215
|
+
type: "vibes-diy.cli.pull";
|
|
1216
|
+
appSlug: string;
|
|
1217
|
+
ownerHandle: string;
|
|
1218
|
+
dir: string;
|
|
1212
1219
|
apiUrl: string;
|
|
1220
|
+
fsId?: string | undefined;
|
|
1221
|
+
published: boolean;
|
|
1222
|
+
draft: boolean;
|
|
1223
|
+
version?: string | undefined;
|
|
1213
1224
|
}, {
|
|
1214
|
-
type: "vibes-diy.cli.res-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1225
|
+
type: "vibes-diy.cli.res-pull";
|
|
1226
|
+
appSlug: string;
|
|
1227
|
+
ownerHandle: string;
|
|
1228
|
+
directory: string;
|
|
1229
|
+
files: {
|
|
1230
|
+
name: string;
|
|
1231
|
+
size: number;
|
|
1232
|
+
}[];
|
|
1220
1233
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1221
1234
|
type: "vibes-diy.cli.run";
|
|
1222
1235
|
apiUrl: string;
|
|
@@ -1531,25 +1544,12 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1531
1544
|
id: string;
|
|
1532
1545
|
ok: true;
|
|
1533
1546
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1534
|
-
type: "vibes-diy.cli.db.
|
|
1547
|
+
type: "vibes-diy.cli.db.subscribe";
|
|
1535
1548
|
apiUrl: string;
|
|
1536
1549
|
appSlug: string;
|
|
1537
1550
|
ownerHandle: string;
|
|
1538
1551
|
dbName: string;
|
|
1539
|
-
|
|
1540
|
-
key: string;
|
|
1541
|
-
prefix: string;
|
|
1542
|
-
range: string;
|
|
1543
|
-
limit: number;
|
|
1544
|
-
descending: boolean;
|
|
1545
|
-
admin: boolean;
|
|
1546
|
-
actingHandle: string;
|
|
1547
|
-
}, {
|
|
1548
|
-
type: "vibes-diy.cli.db.query-res";
|
|
1549
|
-
docs: {
|
|
1550
|
-
[x: string]: unknown;
|
|
1551
|
-
}[];
|
|
1552
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1552
|
+
}, never> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1553
1553
|
type: "vibes-diy.cli.db.seed";
|
|
1554
1554
|
action: "add" | "remove";
|
|
1555
1555
|
apiUrl: string;
|
package/cli/cmds/agent-cmd.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Result, EventoHandler } from "@adviser/cement";
|
|
2
|
-
import { foldAgentReplies } from "@vibes.diy/api-types";
|
|
2
|
+
import { appLinksIn, foldAgentReplies } from "@vibes.diy/api-types";
|
|
3
3
|
import { CliCtx } from "../cli-ctx.js";
|
|
4
4
|
import { WrapCmdTSMsg } from "../cmd-evento.js";
|
|
5
5
|
import { type PutAssetApi } from "./put-asset-core.js";
|
|
6
6
|
import type { VibesFileContent } from "@vibes.diy/call-ai-v2";
|
|
7
|
-
export { foldAgentReplies };
|
|
7
|
+
export { foldAgentReplies, appLinksIn };
|
|
8
8
|
export declare const ReqAgent: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
9
9
|
type: "vibes-diy.cli.agent";
|
|
10
10
|
apiUrl: string;
|
|
@@ -37,7 +37,6 @@ export declare function agentMessageLine(text: string): {
|
|
|
37
37
|
text: string;
|
|
38
38
|
short?: string;
|
|
39
39
|
};
|
|
40
|
-
export declare function appLinksIn(messages: readonly string[]): string[];
|
|
41
40
|
export declare function agentConversationOpen(args: Pick<ReqAgent, "chatId" | "newChat">): Result<{
|
|
42
41
|
readonly chatId?: string;
|
|
43
42
|
readonly newAgentDiscussion?: true;
|