vibes-diy 14.3.391 → 14.3.392
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 +363 -363
- package/cli/cmds/run/backend-worker/run-backend-entry.js +164 -16
- package/cli/cmds/run/bundle-inputs.json +2 -0
- package/cli/cmds/run/run-bundle.js +2627 -2470
- package/package.json +8 -8
package/cli/cmd-evento.d.ts
CHANGED
|
@@ -2,213 +2,169 @@ import { isCmdProgress, sendMsg, sendProgress, type CmdProgress, type CmdTSMsg,
|
|
|
2
2
|
export type { CmdTSMsg, WrapCmdTSMsg, CmdProgress };
|
|
3
3
|
export { isCmdProgress, sendMsg, sendProgress };
|
|
4
4
|
export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
5
|
-
type: "
|
|
5
|
+
type: "core-cli.device-id-register";
|
|
6
|
+
commonName: string;
|
|
7
|
+
organization: string;
|
|
8
|
+
locality: string;
|
|
9
|
+
state: string;
|
|
10
|
+
country: string;
|
|
11
|
+
caUrl: string;
|
|
12
|
+
port: string;
|
|
13
|
+
timeout: string;
|
|
14
|
+
forceRenew: boolean;
|
|
15
|
+
cert?: string | undefined;
|
|
16
|
+
noBrowser?: boolean | undefined;
|
|
17
|
+
apiUrl?: string | undefined;
|
|
18
|
+
expectHandle?: string | undefined;
|
|
19
|
+
expectUser?: string | undefined;
|
|
6
20
|
}, {
|
|
7
|
-
type: "
|
|
8
|
-
|
|
21
|
+
type: "core-cli.res-device-id-register";
|
|
22
|
+
output: string;
|
|
9
23
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
10
|
-
type: "vibes-diy.cli.
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
24
|
+
type: "vibes-diy.cli.skills";
|
|
25
|
+
}, {
|
|
26
|
+
type: "vibes-diy.cli.res-skills-list";
|
|
27
|
+
skills: {
|
|
28
|
+
name: string;
|
|
29
|
+
description: string;
|
|
30
|
+
}[];
|
|
31
|
+
} | {
|
|
32
|
+
type: "vibes-diy.cli.res-skill-content";
|
|
33
|
+
name: string;
|
|
34
|
+
content: string;
|
|
35
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
36
|
+
type: "vibes-diy.cli.claim-handle";
|
|
17
37
|
apiUrl: string;
|
|
38
|
+
ownerHandle?: string | undefined;
|
|
39
|
+
noDefault?: boolean | undefined;
|
|
18
40
|
}, {
|
|
19
|
-
type: "vibes-diy.cli.res-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
chatId?: string | undefined;
|
|
41
|
+
type: "vibes-diy.cli.res-claim-handle";
|
|
42
|
+
op: "claim" | "suggest";
|
|
43
|
+
ownerHandle?: string | undefined;
|
|
44
|
+
defaultHandleSet?: boolean | undefined;
|
|
45
|
+
defaultSkipped?: boolean | undefined;
|
|
46
|
+
suggestions: string[];
|
|
26
47
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
27
|
-
type: "vibes-diy.cli.
|
|
48
|
+
type: "vibes-diy.cli.image";
|
|
28
49
|
apiUrl: string;
|
|
29
50
|
prompt: string;
|
|
30
51
|
ownerHandle: string;
|
|
31
|
-
|
|
52
|
+
photo: string;
|
|
53
|
+
vibe: string;
|
|
54
|
+
db: string;
|
|
55
|
+
doc: string;
|
|
56
|
+
out: string;
|
|
32
57
|
json: boolean;
|
|
33
|
-
chatId?: string | undefined;
|
|
34
|
-
newChat?: boolean | undefined;
|
|
35
|
-
images?: string[] | undefined;
|
|
36
|
-
byText?: boolean | undefined;
|
|
37
58
|
}, {
|
|
38
|
-
type: "vibes-diy.cli.res-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
59
|
+
type: "vibes-diy.cli.res-image";
|
|
60
|
+
path: string;
|
|
61
|
+
receipt: {
|
|
62
|
+
ok: true;
|
|
63
|
+
picture: {
|
|
64
|
+
url: string;
|
|
65
|
+
mimeType: string;
|
|
66
|
+
name: string;
|
|
67
|
+
size: number;
|
|
68
|
+
ownerHandle: string;
|
|
69
|
+
appSlug: string;
|
|
70
|
+
dbName: string;
|
|
71
|
+
docId: string;
|
|
72
|
+
};
|
|
73
|
+
link?: string | undefined;
|
|
74
|
+
made: {
|
|
75
|
+
prompt: string;
|
|
76
|
+
model: string;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
47
79
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
48
|
-
type: "vibes-diy.cli.
|
|
80
|
+
type: "vibes-diy.cli.db.list";
|
|
81
|
+
apiUrl: string;
|
|
49
82
|
appSlug: string;
|
|
50
83
|
ownerHandle: string;
|
|
51
|
-
|
|
52
|
-
apiUrl: string;
|
|
53
|
-
fsId?: string | undefined;
|
|
54
|
-
published: boolean;
|
|
55
|
-
draft: boolean;
|
|
56
|
-
version?: string | undefined;
|
|
84
|
+
admin: boolean;
|
|
57
85
|
}, {
|
|
58
|
-
type: "vibes-diy.cli.res
|
|
86
|
+
type: "vibes-diy.cli.db.list-res";
|
|
87
|
+
dbNames: string[];
|
|
88
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
89
|
+
type: "vibes-diy.cli.db.put";
|
|
90
|
+
apiUrl: string;
|
|
59
91
|
appSlug: string;
|
|
60
92
|
ownerHandle: string;
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
93
|
+
dbName: string;
|
|
94
|
+
docJson: string;
|
|
95
|
+
docId: string;
|
|
96
|
+
admin: boolean;
|
|
97
|
+
actingHandle: string;
|
|
98
|
+
files?: string[] | undefined;
|
|
99
|
+
}, {
|
|
100
|
+
type: "vibes-diy.cli.db.put-res";
|
|
101
|
+
id: string;
|
|
102
|
+
ok: true;
|
|
103
|
+
files?: {
|
|
104
|
+
key: string;
|
|
105
|
+
status: "unchanged" | "uploaded";
|
|
106
|
+
uploadId: string;
|
|
107
|
+
}[] | undefined;
|
|
66
108
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
67
|
-
type: "vibes-diy.cli.db.
|
|
109
|
+
type: "vibes-diy.cli.db.seed";
|
|
110
|
+
action: "add" | "remove";
|
|
68
111
|
apiUrl: string;
|
|
69
112
|
appSlug: string;
|
|
70
113
|
ownerHandle: string;
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
114
|
+
}, {
|
|
115
|
+
type: "vibes-diy.cli.db.seed-res";
|
|
116
|
+
action: "add" | "remove";
|
|
117
|
+
appSlug: string;
|
|
118
|
+
ownerHandle: string;
|
|
119
|
+
seedFile: "absent" | "invalid" | "present" | "unknown";
|
|
120
|
+
changed: number;
|
|
121
|
+
skipped: number;
|
|
122
|
+
failed: number;
|
|
123
|
+
perDb: {
|
|
124
|
+
dbName: string;
|
|
125
|
+
changed: number;
|
|
126
|
+
skipped: number;
|
|
127
|
+
failed: number;
|
|
128
|
+
}[];
|
|
129
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
130
|
+
type: "vibes-diy.cli.app-chats";
|
|
74
131
|
appSlug: string;
|
|
75
132
|
ownerHandle: string;
|
|
76
133
|
chatId?: string | undefined;
|
|
77
134
|
apiUrl: string;
|
|
78
|
-
response?: boolean | undefined;
|
|
79
|
-
raw?: boolean | undefined;
|
|
80
|
-
files?: boolean | undefined;
|
|
81
|
-
jsonl?: boolean | undefined;
|
|
82
|
-
user?: boolean | undefined;
|
|
83
|
-
promptId?: string | undefined;
|
|
84
135
|
}, {
|
|
85
|
-
type: "vibes-diy.cli.res-
|
|
86
|
-
output: string;
|
|
87
|
-
} | {
|
|
88
|
-
type: "vibes-diy.cli.res-codegen-log-list";
|
|
136
|
+
type: "vibes-diy.cli.res-app-chats-list";
|
|
89
137
|
items: {
|
|
90
138
|
chatId: string;
|
|
91
139
|
appSlug: string;
|
|
92
140
|
ownerHandle: string;
|
|
93
141
|
created: string;
|
|
142
|
+
userHandle?: string | undefined;
|
|
94
143
|
}[];
|
|
95
144
|
} | {
|
|
96
|
-
type: "vibes-diy.cli.res-
|
|
145
|
+
type: "vibes-diy.cli.res-app-chats-detail";
|
|
97
146
|
chatId: string;
|
|
98
|
-
ownerHandle
|
|
99
|
-
appSlug
|
|
100
|
-
|
|
101
|
-
prompt: string;
|
|
102
|
-
fsId: string;
|
|
103
|
-
created: string;
|
|
104
|
-
}[];
|
|
147
|
+
ownerHandle?: string | undefined;
|
|
148
|
+
appSlug?: string | undefined;
|
|
149
|
+
output: string;
|
|
105
150
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
106
|
-
type: "vibes-diy.cli.
|
|
107
|
-
appSlug: string;
|
|
108
|
-
prompt: string;
|
|
109
|
-
ownerHandle: string;
|
|
110
|
-
instantJoin?: boolean | undefined;
|
|
111
|
-
verbose: boolean;
|
|
112
|
-
dir: string;
|
|
151
|
+
type: "vibes-diy.cli.list";
|
|
113
152
|
apiUrl: string;
|
|
114
|
-
dryRun: boolean;
|
|
115
|
-
transcript: boolean;
|
|
116
|
-
directBuild?: boolean | undefined;
|
|
117
|
-
focusPath?: string | undefined;
|
|
118
|
-
model?: string | undefined;
|
|
119
|
-
builderModel?: string | undefined;
|
|
120
|
-
apiKey?: string | undefined;
|
|
121
153
|
}, {
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
assetId: string;
|
|
132
|
-
assetURI: string;
|
|
133
|
-
transform?: {
|
|
134
|
-
type: "jsx-to-js";
|
|
135
|
-
transformedAssetId: string;
|
|
136
|
-
} | {
|
|
137
|
-
type: "imports";
|
|
138
|
-
importMapAssetId: string;
|
|
139
|
-
} | {
|
|
140
|
-
type: "import-map";
|
|
141
|
-
fromAssetIds: string[];
|
|
142
|
-
} | {
|
|
143
|
-
type: "transformed";
|
|
144
|
-
action: "jsx-to-js";
|
|
145
|
-
transformedAssetId: string;
|
|
146
|
-
} | {
|
|
147
|
-
type: "tailwind-css";
|
|
154
|
+
type: "vibes-diy.cli.res-list";
|
|
155
|
+
items: {
|
|
156
|
+
ownerHandle: string;
|
|
157
|
+
appSlug: string;
|
|
158
|
+
updated: string;
|
|
159
|
+
title?: string | undefined;
|
|
160
|
+
icon?: {
|
|
161
|
+
cid: string;
|
|
162
|
+
mime: string;
|
|
148
163
|
} | undefined;
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
uploadId?: string | undefined;
|
|
164
|
+
pinnedAt?: string | undefined;
|
|
165
|
+
neverPublished?: boolean | undefined;
|
|
166
|
+
unpublishedAt?: string | undefined;
|
|
153
167
|
}[];
|
|
154
|
-
autoEnhanceOff?: true | undefined;
|
|
155
|
-
appCreated?: true | undefined;
|
|
156
|
-
} | {
|
|
157
|
-
type: "vibes.diy.res-error";
|
|
158
|
-
error: {
|
|
159
|
-
message: string;
|
|
160
|
-
code: "require-login";
|
|
161
|
-
};
|
|
162
|
-
} | {
|
|
163
|
-
type: "vibes.diy.res-error";
|
|
164
|
-
error: {
|
|
165
|
-
message: string;
|
|
166
|
-
code: "user-slug-invalid";
|
|
167
|
-
};
|
|
168
|
-
} | {
|
|
169
|
-
type: "vibes.diy.res-error";
|
|
170
|
-
error: {
|
|
171
|
-
message: string;
|
|
172
|
-
code: "app-slug-invalid";
|
|
173
|
-
};
|
|
174
|
-
} | {
|
|
175
|
-
type: "vibes.diy.res-error";
|
|
176
|
-
error: {
|
|
177
|
-
message: string;
|
|
178
|
-
code: "max-app-slugs-reached";
|
|
179
|
-
};
|
|
180
|
-
} | {
|
|
181
|
-
type: "vibes.diy.res-error";
|
|
182
|
-
error: {
|
|
183
|
-
message: string;
|
|
184
|
-
code: "handle-required";
|
|
185
|
-
};
|
|
186
|
-
} | {
|
|
187
|
-
type: "vibes.diy.res-error";
|
|
188
|
-
error: {
|
|
189
|
-
message: string;
|
|
190
|
-
code: "from-not-owned";
|
|
191
|
-
};
|
|
192
|
-
} | {
|
|
193
|
-
type: "vibes.diy.res-error";
|
|
194
|
-
error: {
|
|
195
|
-
message: string;
|
|
196
|
-
code: "from-carry-failed";
|
|
197
|
-
};
|
|
198
|
-
} | {
|
|
199
|
-
type: "vibes.diy.res-error";
|
|
200
|
-
error: {
|
|
201
|
-
message: string;
|
|
202
|
-
code: "auto-enhance-off";
|
|
203
|
-
};
|
|
204
|
-
} | {
|
|
205
|
-
type: "vibes-diy.cli.res-edit";
|
|
206
|
-
appSlug: string;
|
|
207
|
-
ownerHandle: string;
|
|
208
|
-
url: string;
|
|
209
|
-
directory: string;
|
|
210
|
-
restyled?: boolean | undefined;
|
|
211
|
-
fsId?: string | undefined;
|
|
212
168
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
213
169
|
type: "vibes-diy.cli.app-status";
|
|
214
170
|
appSlug: string;
|
|
@@ -524,6 +480,9 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
524
480
|
email: string;
|
|
525
481
|
updatedAt: string;
|
|
526
482
|
verified?: boolean | undefined;
|
|
483
|
+
} | {
|
|
484
|
+
type: "onboarding";
|
|
485
|
+
completedAt: string;
|
|
527
486
|
} | {
|
|
528
487
|
type: "geoCountry";
|
|
529
488
|
country: string;
|
|
@@ -534,9 +493,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
534
493
|
[x: string]: string;
|
|
535
494
|
};
|
|
536
495
|
updatedAt: string;
|
|
537
|
-
} | {
|
|
538
|
-
type: "onboarding";
|
|
539
|
-
completedAt: string;
|
|
540
496
|
} | {
|
|
541
497
|
type: "kyc";
|
|
542
498
|
cardAt?: string | undefined;
|
|
@@ -645,18 +601,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
645
601
|
})[];
|
|
646
602
|
updated: string;
|
|
647
603
|
created: string;
|
|
648
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
649
|
-
type: "vibes-diy.cli.skills";
|
|
650
|
-
}, {
|
|
651
|
-
type: "vibes-diy.cli.res-skills-list";
|
|
652
|
-
skills: {
|
|
653
|
-
name: string;
|
|
654
|
-
description: string;
|
|
655
|
-
}[];
|
|
656
|
-
} | {
|
|
657
|
-
type: "vibes-diy.cli.res-skill-content";
|
|
658
|
-
name: string;
|
|
659
|
-
content: string;
|
|
660
604
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
661
605
|
type: "use-vibes.cli.themes";
|
|
662
606
|
}, {
|
|
@@ -683,6 +627,11 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
683
627
|
id: string;
|
|
684
628
|
guidance: string;
|
|
685
629
|
}[];
|
|
630
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
631
|
+
type: "vibes-diy.cli.system";
|
|
632
|
+
}, {
|
|
633
|
+
type: "vibes-diy.cli.res-system";
|
|
634
|
+
systemPrompt: string;
|
|
686
635
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
687
636
|
type: "vibes-diy.cli.push";
|
|
688
637
|
mode: string;
|
|
@@ -691,15 +640,169 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
691
640
|
access?: string | undefined;
|
|
692
641
|
privateMode?: boolean | undefined;
|
|
693
642
|
noAccessFn?: boolean | undefined;
|
|
694
|
-
message?: string | undefined;
|
|
695
|
-
title?: string | undefined;
|
|
696
|
-
from?: {
|
|
697
|
-
ownerHandle: string;
|
|
698
|
-
appSlug: string;
|
|
699
|
-
} | undefined;
|
|
700
|
-
apiKey?: string | undefined;
|
|
643
|
+
message?: string | undefined;
|
|
644
|
+
title?: string | undefined;
|
|
645
|
+
from?: {
|
|
646
|
+
ownerHandle: string;
|
|
647
|
+
appSlug: string;
|
|
648
|
+
} | undefined;
|
|
649
|
+
apiKey?: string | undefined;
|
|
650
|
+
apiUrl: string;
|
|
651
|
+
idleTimeoutMs?: number | undefined;
|
|
652
|
+
}, {
|
|
653
|
+
appSlug: string;
|
|
654
|
+
ownerHandle: string;
|
|
655
|
+
mode: "dev" | "production";
|
|
656
|
+
fsId: string;
|
|
657
|
+
type: "vibes.diy.res-ensure-app-slug";
|
|
658
|
+
env: Record<string, string>;
|
|
659
|
+
fileSystem: {
|
|
660
|
+
fileName: string;
|
|
661
|
+
mimeType: string;
|
|
662
|
+
assetId: string;
|
|
663
|
+
assetURI: string;
|
|
664
|
+
transform?: {
|
|
665
|
+
type: "jsx-to-js";
|
|
666
|
+
transformedAssetId: string;
|
|
667
|
+
} | {
|
|
668
|
+
type: "imports";
|
|
669
|
+
importMapAssetId: string;
|
|
670
|
+
} | {
|
|
671
|
+
type: "import-map";
|
|
672
|
+
fromAssetIds: string[];
|
|
673
|
+
} | {
|
|
674
|
+
type: "transformed";
|
|
675
|
+
action: "jsx-to-js";
|
|
676
|
+
transformedAssetId: string;
|
|
677
|
+
} | {
|
|
678
|
+
type: "tailwind-css";
|
|
679
|
+
} | undefined;
|
|
680
|
+
entryPoint?: boolean | undefined;
|
|
681
|
+
size: number;
|
|
682
|
+
kind?: "asset" | undefined;
|
|
683
|
+
uploadId?: string | undefined;
|
|
684
|
+
}[];
|
|
685
|
+
autoEnhanceOff?: true | undefined;
|
|
686
|
+
appCreated?: true | undefined;
|
|
687
|
+
} | {
|
|
688
|
+
type: "vibes.diy.res-error";
|
|
689
|
+
error: {
|
|
690
|
+
message: string;
|
|
691
|
+
code: "require-login";
|
|
692
|
+
};
|
|
693
|
+
} | {
|
|
694
|
+
type: "vibes.diy.res-error";
|
|
695
|
+
error: {
|
|
696
|
+
message: string;
|
|
697
|
+
code: "user-slug-invalid";
|
|
698
|
+
};
|
|
699
|
+
} | {
|
|
700
|
+
type: "vibes.diy.res-error";
|
|
701
|
+
error: {
|
|
702
|
+
message: string;
|
|
703
|
+
code: "app-slug-invalid";
|
|
704
|
+
};
|
|
705
|
+
} | {
|
|
706
|
+
type: "vibes.diy.res-error";
|
|
707
|
+
error: {
|
|
708
|
+
message: string;
|
|
709
|
+
code: "max-app-slugs-reached";
|
|
710
|
+
};
|
|
711
|
+
} | {
|
|
712
|
+
type: "vibes.diy.res-error";
|
|
713
|
+
error: {
|
|
714
|
+
message: string;
|
|
715
|
+
code: "handle-required";
|
|
716
|
+
};
|
|
717
|
+
} | {
|
|
718
|
+
type: "vibes.diy.res-error";
|
|
719
|
+
error: {
|
|
720
|
+
message: string;
|
|
721
|
+
code: "from-not-owned";
|
|
722
|
+
};
|
|
723
|
+
} | {
|
|
724
|
+
type: "vibes.diy.res-error";
|
|
725
|
+
error: {
|
|
726
|
+
message: string;
|
|
727
|
+
code: "from-carry-failed";
|
|
728
|
+
};
|
|
729
|
+
} | {
|
|
730
|
+
type: "vibes.diy.res-error";
|
|
731
|
+
error: {
|
|
732
|
+
message: string;
|
|
733
|
+
code: "auto-enhance-off";
|
|
734
|
+
};
|
|
735
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
736
|
+
type: "vibes-diy.cli.remix";
|
|
737
|
+
srcUserSlug: string;
|
|
738
|
+
srcAppSlug: string;
|
|
739
|
+
dstOwnerHandle?: string | undefined;
|
|
740
|
+
dstAppSlug?: string | undefined;
|
|
741
|
+
published: boolean;
|
|
742
|
+
settingsOnly: boolean;
|
|
743
|
+
apiUrl: string;
|
|
744
|
+
}, {
|
|
745
|
+
type: "vibes-diy.cli.res-remix";
|
|
746
|
+
ownerHandle: string;
|
|
747
|
+
appSlug: string;
|
|
748
|
+
url: string;
|
|
749
|
+
carried?: string[] | undefined;
|
|
750
|
+
skippedPresent?: string[] | undefined;
|
|
751
|
+
chatId?: string | undefined;
|
|
752
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
753
|
+
type: "vibes-diy.cli.agent";
|
|
754
|
+
apiUrl: string;
|
|
755
|
+
prompt: string;
|
|
756
|
+
ownerHandle: string;
|
|
757
|
+
followMs: number;
|
|
758
|
+
json: boolean;
|
|
759
|
+
chatId?: string | undefined;
|
|
760
|
+
newChat?: boolean | undefined;
|
|
761
|
+
images?: string[] | undefined;
|
|
762
|
+
byText?: boolean | undefined;
|
|
763
|
+
}, {
|
|
764
|
+
type: "vibes-diy.cli.res-agent";
|
|
765
|
+
ownerHandle: string;
|
|
766
|
+
chatId: string;
|
|
767
|
+
messages: string[];
|
|
768
|
+
shorts?: string[] | undefined;
|
|
769
|
+
links: string[];
|
|
770
|
+
idle: boolean;
|
|
771
|
+
reactions?: string[] | undefined;
|
|
772
|
+
error?: string | undefined;
|
|
773
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
774
|
+
type: "vibes-diy.cli.put-asset";
|
|
775
|
+
file: string;
|
|
776
|
+
appSlug: string;
|
|
777
|
+
ownerHandle: string;
|
|
778
|
+
apiUrl: string;
|
|
779
|
+
mimeType: string;
|
|
780
|
+
verifyFetch: boolean;
|
|
781
|
+
}, {
|
|
782
|
+
type: "vibes-diy.cli.res-put-asset";
|
|
783
|
+
cid: string;
|
|
784
|
+
getURL: string;
|
|
785
|
+
size: number;
|
|
786
|
+
uploadId: string;
|
|
787
|
+
verified?: boolean | undefined;
|
|
788
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
789
|
+
type: "vibes-diy.cli.generate";
|
|
790
|
+
prompt: string;
|
|
791
|
+
appSlug: string;
|
|
792
|
+
ownerHandle: string;
|
|
793
|
+
instantJoin?: boolean | undefined;
|
|
794
|
+
noAccessFn?: boolean | undefined;
|
|
795
|
+
privateMode?: boolean | undefined;
|
|
796
|
+
verbose: boolean;
|
|
701
797
|
apiUrl: string;
|
|
702
|
-
|
|
798
|
+
focusPath?: string | undefined;
|
|
799
|
+
model?: string | undefined;
|
|
800
|
+
builderModel?: string | undefined;
|
|
801
|
+
apiKey?: string | undefined;
|
|
802
|
+
variety?: string | undefined;
|
|
803
|
+
record?: string | undefined;
|
|
804
|
+
style?: string | undefined;
|
|
805
|
+
fastPass?: boolean | undefined;
|
|
703
806
|
}, {
|
|
704
807
|
appSlug: string;
|
|
705
808
|
ownerHandle: string;
|
|
@@ -783,83 +886,65 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
783
886
|
message: string;
|
|
784
887
|
code: "auto-enhance-off";
|
|
785
888
|
};
|
|
786
|
-
}
|
|
787
|
-
type: "vibes-diy.cli.
|
|
788
|
-
|
|
789
|
-
ownerHandle?: string | undefined;
|
|
790
|
-
noDefault?: boolean | undefined;
|
|
791
|
-
}, {
|
|
792
|
-
type: "vibes-diy.cli.res-claim-handle";
|
|
793
|
-
op: "claim" | "suggest";
|
|
794
|
-
ownerHandle?: string | undefined;
|
|
795
|
-
defaultHandleSet?: boolean | undefined;
|
|
796
|
-
defaultSkipped?: boolean | undefined;
|
|
797
|
-
suggestions: string[];
|
|
798
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
799
|
-
type: "vibes-diy.cli.image";
|
|
800
|
-
apiUrl: string;
|
|
801
|
-
prompt: string;
|
|
889
|
+
} | {
|
|
890
|
+
type: "vibes-diy.cli.res-generate";
|
|
891
|
+
appSlug: string;
|
|
802
892
|
ownerHandle: string;
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
}, {
|
|
810
|
-
type: "vibes-diy.cli.res-image";
|
|
811
|
-
path: string;
|
|
812
|
-
receipt: {
|
|
813
|
-
ok: true;
|
|
814
|
-
picture: {
|
|
815
|
-
url: string;
|
|
816
|
-
mimeType: string;
|
|
817
|
-
name: string;
|
|
818
|
-
size: number;
|
|
819
|
-
ownerHandle: string;
|
|
820
|
-
appSlug: string;
|
|
821
|
-
dbName: string;
|
|
822
|
-
docId: string;
|
|
823
|
-
};
|
|
824
|
-
link?: string | undefined;
|
|
825
|
-
made: {
|
|
826
|
-
prompt: string;
|
|
827
|
-
model: string;
|
|
828
|
-
};
|
|
829
|
-
};
|
|
893
|
+
url: string;
|
|
894
|
+
directory: string;
|
|
895
|
+
release?: "not-visible" | "published" | "version-locked" | undefined;
|
|
896
|
+
turns?: number | undefined;
|
|
897
|
+
publish?: "kept-private-no-access-fn" | "private" | "published" | undefined;
|
|
898
|
+
posture?: "gated" | "open" | "private" | undefined;
|
|
830
899
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
831
|
-
type: "vibes-diy.cli.
|
|
832
|
-
file: string;
|
|
900
|
+
type: "vibes-diy.cli.codegen-log";
|
|
833
901
|
appSlug: string;
|
|
834
902
|
ownerHandle: string;
|
|
903
|
+
chatId?: string | undefined;
|
|
835
904
|
apiUrl: string;
|
|
836
|
-
|
|
837
|
-
|
|
905
|
+
response?: boolean | undefined;
|
|
906
|
+
raw?: boolean | undefined;
|
|
907
|
+
files?: boolean | undefined;
|
|
908
|
+
jsonl?: boolean | undefined;
|
|
909
|
+
user?: boolean | undefined;
|
|
910
|
+
promptId?: string | undefined;
|
|
838
911
|
}, {
|
|
839
|
-
type: "vibes-diy.cli.res-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
912
|
+
type: "vibes-diy.cli.res-codegen-log-list";
|
|
913
|
+
items: {
|
|
914
|
+
chatId: string;
|
|
915
|
+
appSlug: string;
|
|
916
|
+
ownerHandle: string;
|
|
917
|
+
created: string;
|
|
918
|
+
}[];
|
|
919
|
+
} | {
|
|
920
|
+
type: "vibes-diy.cli.res-codegen-log-detail";
|
|
921
|
+
chatId: string;
|
|
922
|
+
ownerHandle: string;
|
|
923
|
+
appSlug: string;
|
|
924
|
+
prompts: {
|
|
925
|
+
prompt: string;
|
|
926
|
+
fsId: string;
|
|
927
|
+
created: string;
|
|
928
|
+
}[];
|
|
929
|
+
} | {
|
|
930
|
+
type: "vibes-diy.cli.res-codegen-log-response";
|
|
931
|
+
output: string;
|
|
845
932
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
846
|
-
type: "vibes-diy.cli.
|
|
847
|
-
prompt: string;
|
|
933
|
+
type: "vibes-diy.cli.edit";
|
|
848
934
|
appSlug: string;
|
|
935
|
+
prompt: string;
|
|
849
936
|
ownerHandle: string;
|
|
850
937
|
instantJoin?: boolean | undefined;
|
|
851
|
-
noAccessFn?: boolean | undefined;
|
|
852
|
-
privateMode?: boolean | undefined;
|
|
853
938
|
verbose: boolean;
|
|
939
|
+
dir: string;
|
|
854
940
|
apiUrl: string;
|
|
941
|
+
dryRun: boolean;
|
|
942
|
+
transcript: boolean;
|
|
943
|
+
directBuild?: boolean | undefined;
|
|
855
944
|
focusPath?: string | undefined;
|
|
856
945
|
model?: string | undefined;
|
|
857
946
|
builderModel?: string | undefined;
|
|
858
947
|
apiKey?: string | undefined;
|
|
859
|
-
variety?: string | undefined;
|
|
860
|
-
record?: string | undefined;
|
|
861
|
-
style?: string | undefined;
|
|
862
|
-
fastPass?: boolean | undefined;
|
|
863
948
|
}, {
|
|
864
949
|
appSlug: string;
|
|
865
950
|
ownerHandle: string;
|
|
@@ -944,54 +1029,13 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
944
1029
|
code: "auto-enhance-off";
|
|
945
1030
|
};
|
|
946
1031
|
} | {
|
|
947
|
-
type: "vibes-diy.cli.res-
|
|
1032
|
+
type: "vibes-diy.cli.res-edit";
|
|
948
1033
|
appSlug: string;
|
|
949
1034
|
ownerHandle: string;
|
|
950
1035
|
url: string;
|
|
951
1036
|
directory: string;
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
publish?: "kept-private-no-access-fn" | "private" | "published" | undefined;
|
|
955
|
-
posture?: "gated" | "open" | "private" | undefined;
|
|
956
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
957
|
-
type: "vibes-diy.cli.app-chats";
|
|
958
|
-
appSlug: string;
|
|
959
|
-
ownerHandle: string;
|
|
960
|
-
chatId?: string | undefined;
|
|
961
|
-
apiUrl: string;
|
|
962
|
-
}, {
|
|
963
|
-
type: "vibes-diy.cli.res-app-chats-list";
|
|
964
|
-
items: {
|
|
965
|
-
chatId: string;
|
|
966
|
-
appSlug: string;
|
|
967
|
-
ownerHandle: string;
|
|
968
|
-
created: string;
|
|
969
|
-
userHandle?: string | undefined;
|
|
970
|
-
}[];
|
|
971
|
-
} | {
|
|
972
|
-
type: "vibes-diy.cli.res-app-chats-detail";
|
|
973
|
-
chatId: string;
|
|
974
|
-
ownerHandle?: string | undefined;
|
|
975
|
-
appSlug?: string | undefined;
|
|
976
|
-
output: string;
|
|
977
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
978
|
-
type: "vibes-diy.cli.list";
|
|
979
|
-
apiUrl: string;
|
|
980
|
-
}, {
|
|
981
|
-
type: "vibes-diy.cli.res-list";
|
|
982
|
-
items: {
|
|
983
|
-
ownerHandle: string;
|
|
984
|
-
appSlug: string;
|
|
985
|
-
updated: string;
|
|
986
|
-
title?: string | undefined;
|
|
987
|
-
icon?: {
|
|
988
|
-
cid: string;
|
|
989
|
-
mime: string;
|
|
990
|
-
} | undefined;
|
|
991
|
-
pinnedAt?: string | undefined;
|
|
992
|
-
neverPublished?: boolean | undefined;
|
|
993
|
-
unpublishedAt?: string | undefined;
|
|
994
|
-
}[];
|
|
1037
|
+
restyled?: boolean | undefined;
|
|
1038
|
+
fsId?: string | undefined;
|
|
995
1039
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
996
1040
|
type: "vibes-diy.cli.doctor";
|
|
997
1041
|
apiUrl: string;
|
|
@@ -1028,6 +1072,25 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1028
1072
|
defaultHandle?: string | undefined;
|
|
1029
1073
|
handles: string[];
|
|
1030
1074
|
detail?: string | undefined;
|
|
1075
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1076
|
+
type: "vibes-diy.cli.pull";
|
|
1077
|
+
appSlug: string;
|
|
1078
|
+
ownerHandle: string;
|
|
1079
|
+
dir: string;
|
|
1080
|
+
apiUrl: string;
|
|
1081
|
+
fsId?: string | undefined;
|
|
1082
|
+
published: boolean;
|
|
1083
|
+
draft: boolean;
|
|
1084
|
+
version?: string | undefined;
|
|
1085
|
+
}, {
|
|
1086
|
+
type: "vibes-diy.cli.res-pull";
|
|
1087
|
+
appSlug: string;
|
|
1088
|
+
ownerHandle: string;
|
|
1089
|
+
directory: string;
|
|
1090
|
+
files: {
|
|
1091
|
+
name: string;
|
|
1092
|
+
size: number;
|
|
1093
|
+
}[];
|
|
1031
1094
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1032
1095
|
type: "vibes-diy.cli.run";
|
|
1033
1096
|
apiUrl: string;
|
|
@@ -1572,34 +1635,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1572
1635
|
}, {
|
|
1573
1636
|
type: "vibes-diy.cli.res-phone-link-classify";
|
|
1574
1637
|
reaction?: string | undefined;
|
|
1575
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1576
|
-
type: "core-cli.device-id-register";
|
|
1577
|
-
commonName: string;
|
|
1578
|
-
organization: string;
|
|
1579
|
-
locality: string;
|
|
1580
|
-
state: string;
|
|
1581
|
-
country: string;
|
|
1582
|
-
caUrl: string;
|
|
1583
|
-
port: string;
|
|
1584
|
-
timeout: string;
|
|
1585
|
-
forceRenew: boolean;
|
|
1586
|
-
cert?: string | undefined;
|
|
1587
|
-
noBrowser?: boolean | undefined;
|
|
1588
|
-
apiUrl?: string | undefined;
|
|
1589
|
-
expectHandle?: string | undefined;
|
|
1590
|
-
expectUser?: string | undefined;
|
|
1591
|
-
}, {
|
|
1592
|
-
type: "core-cli.res-device-id-register";
|
|
1593
|
-
output: string;
|
|
1594
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1595
|
-
type: "vibes-diy.cli.db.list";
|
|
1596
|
-
apiUrl: string;
|
|
1597
|
-
appSlug: string;
|
|
1598
|
-
ownerHandle: string;
|
|
1599
|
-
admin: boolean;
|
|
1600
|
-
}, {
|
|
1601
|
-
type: "vibes-diy.cli.db.list-res";
|
|
1602
|
-
dbNames: string[];
|
|
1603
1638
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1604
1639
|
type: "vibes-diy.cli.db.get";
|
|
1605
1640
|
apiUrl: string;
|
|
@@ -1614,26 +1649,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1614
1649
|
doc: {
|
|
1615
1650
|
[x: string]: unknown;
|
|
1616
1651
|
};
|
|
1617
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1618
|
-
type: "vibes-diy.cli.db.put";
|
|
1619
|
-
apiUrl: string;
|
|
1620
|
-
appSlug: string;
|
|
1621
|
-
ownerHandle: string;
|
|
1622
|
-
dbName: string;
|
|
1623
|
-
docJson: string;
|
|
1624
|
-
docId: string;
|
|
1625
|
-
admin: boolean;
|
|
1626
|
-
actingHandle: string;
|
|
1627
|
-
files?: string[] | undefined;
|
|
1628
|
-
}, {
|
|
1629
|
-
type: "vibes-diy.cli.db.put-res";
|
|
1630
|
-
id: string;
|
|
1631
|
-
ok: true;
|
|
1632
|
-
files?: {
|
|
1633
|
-
key: string;
|
|
1634
|
-
status: "unchanged" | "uploaded";
|
|
1635
|
-
uploadId: string;
|
|
1636
|
-
}[] | undefined;
|
|
1637
1652
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1638
1653
|
type: "vibes-diy.cli.db.del";
|
|
1639
1654
|
apiUrl: string;
|
|
@@ -1667,25 +1682,10 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1667
1682
|
[x: string]: unknown;
|
|
1668
1683
|
}[];
|
|
1669
1684
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1670
|
-
type: "vibes-diy.cli.db.
|
|
1671
|
-
action: "add" | "remove";
|
|
1685
|
+
type: "vibes-diy.cli.db.subscribe";
|
|
1672
1686
|
apiUrl: string;
|
|
1673
1687
|
appSlug: string;
|
|
1674
1688
|
ownerHandle: string;
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
action: "add" | "remove";
|
|
1678
|
-
appSlug: string;
|
|
1679
|
-
ownerHandle: string;
|
|
1680
|
-
seedFile: "absent" | "invalid" | "present" | "unknown";
|
|
1681
|
-
changed: number;
|
|
1682
|
-
skipped: number;
|
|
1683
|
-
failed: number;
|
|
1684
|
-
perDb: {
|
|
1685
|
-
dbName: string;
|
|
1686
|
-
changed: number;
|
|
1687
|
-
skipped: number;
|
|
1688
|
-
failed: number;
|
|
1689
|
-
}[];
|
|
1690
|
-
}>)[];
|
|
1689
|
+
dbName: string;
|
|
1690
|
+
}, never>)[];
|
|
1691
1691
|
export declare function cmdTsEvento(): import("@adviser/cement").Evento;
|