vibes-diy 14.3.457 → 14.3.458
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 +380 -379
- package/cli/cmds/edit-cmd.js +1 -1
- package/cli/cmds/run/backend-worker/run-backend-entry.js +26790 -25349
- package/cli/cmds/run/bundle-inputs.json +13 -1
- package/cli/cmds/run/run-bundle.js +68667 -66588
- package/package.json +8 -8
- package/scripts/third-party-notices.js +2 -2
package/cli/cmd-evento.d.ts
CHANGED
|
@@ -2,142 +2,206 @@ 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
|
-
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;
|
|
20
|
-
}, {
|
|
21
|
-
type: "core-cli.res-device-id-register";
|
|
22
|
-
output: string;
|
|
23
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
24
|
-
type: "vibes-diy.cli.variety";
|
|
5
|
+
type: "vibes-diy.cli.skills";
|
|
25
6
|
}, {
|
|
26
|
-
type: "vibes-diy.cli.res-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
id: string;
|
|
31
|
-
guidance: string;
|
|
32
|
-
}[];
|
|
33
|
-
flourishes: {
|
|
34
|
-
id: string;
|
|
35
|
-
guidance: string;
|
|
7
|
+
type: "vibes-diy.cli.res-skills-list";
|
|
8
|
+
skills: {
|
|
9
|
+
name: string;
|
|
10
|
+
description: string;
|
|
36
11
|
}[];
|
|
12
|
+
} | {
|
|
13
|
+
type: "vibes-diy.cli.res-skill-content";
|
|
14
|
+
name: string;
|
|
15
|
+
content: string;
|
|
37
16
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
38
|
-
type: "vibes-diy.cli.
|
|
39
|
-
file: string;
|
|
40
|
-
appSlug: string;
|
|
41
|
-
ownerHandle: string;
|
|
17
|
+
type: "vibes-diy.cli.claim-handle";
|
|
42
18
|
apiUrl: string;
|
|
43
|
-
|
|
44
|
-
|
|
19
|
+
ownerHandle?: string | undefined;
|
|
20
|
+
noDefault?: boolean | undefined;
|
|
45
21
|
}, {
|
|
46
|
-
type: "vibes-diy.cli.res-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
22
|
+
type: "vibes-diy.cli.res-claim-handle";
|
|
23
|
+
op: "claim" | "suggest";
|
|
24
|
+
ownerHandle?: string | undefined;
|
|
25
|
+
defaultHandleSet?: boolean | undefined;
|
|
26
|
+
defaultSkipped?: boolean | undefined;
|
|
27
|
+
suggestions: string[];
|
|
52
28
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
53
|
-
type: "vibes-diy.cli.
|
|
29
|
+
type: "vibes-diy.cli.image";
|
|
54
30
|
apiUrl: string;
|
|
55
|
-
|
|
31
|
+
prompt: string;
|
|
56
32
|
ownerHandle: string;
|
|
57
|
-
|
|
33
|
+
photo: string;
|
|
34
|
+
vibe: string;
|
|
35
|
+
db: string;
|
|
36
|
+
doc: string;
|
|
37
|
+
out: string;
|
|
38
|
+
json: boolean;
|
|
58
39
|
}, {
|
|
59
|
-
type: "vibes-diy.cli.
|
|
60
|
-
|
|
40
|
+
type: "vibes-diy.cli.res-image";
|
|
41
|
+
path: string;
|
|
42
|
+
receipt: {
|
|
43
|
+
ok: true;
|
|
44
|
+
picture: {
|
|
45
|
+
url: string;
|
|
46
|
+
mimeType: string;
|
|
47
|
+
name: string;
|
|
48
|
+
size: number;
|
|
49
|
+
ownerHandle: string;
|
|
50
|
+
appSlug: string;
|
|
51
|
+
dbName: string;
|
|
52
|
+
docId: string;
|
|
53
|
+
};
|
|
54
|
+
link?: string | undefined;
|
|
55
|
+
made: {
|
|
56
|
+
prompt: string;
|
|
57
|
+
model: string;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
61
60
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
62
|
-
type: "vibes-diy.cli.
|
|
63
|
-
|
|
61
|
+
type: "vibes-diy.cli.generate";
|
|
62
|
+
prompt: string;
|
|
64
63
|
appSlug: string;
|
|
65
64
|
ownerHandle: string;
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
actingHandle: string;
|
|
71
|
-
files?: string[] | undefined;
|
|
72
|
-
}, {
|
|
73
|
-
type: "vibes-diy.cli.db.put-res";
|
|
74
|
-
id: string;
|
|
75
|
-
ok: true;
|
|
76
|
-
files?: {
|
|
77
|
-
key: string;
|
|
78
|
-
status: "unchanged" | "uploaded";
|
|
79
|
-
uploadId: string;
|
|
80
|
-
}[] | undefined;
|
|
81
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
82
|
-
type: "vibes-diy.cli.db.seed";
|
|
83
|
-
action: "add" | "remove";
|
|
65
|
+
instantJoin?: boolean | undefined;
|
|
66
|
+
noAccessFn?: boolean | undefined;
|
|
67
|
+
privateMode?: boolean | undefined;
|
|
68
|
+
verbose: boolean;
|
|
84
69
|
apiUrl: string;
|
|
85
|
-
|
|
86
|
-
|
|
70
|
+
focusPath?: string | undefined;
|
|
71
|
+
model?: string | undefined;
|
|
72
|
+
builderModel?: string | undefined;
|
|
73
|
+
apiKey?: string | undefined;
|
|
74
|
+
variety?: string | undefined;
|
|
75
|
+
record?: string | undefined;
|
|
76
|
+
style?: string | undefined;
|
|
77
|
+
fastPass?: boolean | undefined;
|
|
87
78
|
}, {
|
|
88
|
-
type: "vibes-diy.cli.db.seed-res";
|
|
89
|
-
action: "add" | "remove";
|
|
90
79
|
appSlug: string;
|
|
91
80
|
ownerHandle: string;
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
81
|
+
mode: "dev" | "production";
|
|
82
|
+
fsId: string;
|
|
83
|
+
type: "vibes.diy.res-ensure-app-slug";
|
|
84
|
+
env: Record<string, string>;
|
|
85
|
+
fileSystem: {
|
|
86
|
+
fileName: string;
|
|
87
|
+
mimeType: string;
|
|
88
|
+
assetId: string;
|
|
89
|
+
assetURI: string;
|
|
90
|
+
transform?: {
|
|
91
|
+
type: "jsx-to-js";
|
|
92
|
+
transformedAssetId: string;
|
|
93
|
+
} | {
|
|
94
|
+
type: "imports";
|
|
95
|
+
importMapAssetId: string;
|
|
96
|
+
} | {
|
|
97
|
+
type: "import-map";
|
|
98
|
+
fromAssetIds: string[];
|
|
99
|
+
} | {
|
|
100
|
+
type: "transformed";
|
|
101
|
+
action: "jsx-to-js";
|
|
102
|
+
transformedAssetId: string;
|
|
103
|
+
} | {
|
|
104
|
+
type: "tailwind-css";
|
|
105
|
+
} | undefined;
|
|
106
|
+
entryPoint?: boolean | undefined;
|
|
107
|
+
size: number;
|
|
108
|
+
kind?: "asset" | undefined;
|
|
109
|
+
uploadId?: string | undefined;
|
|
101
110
|
}[];
|
|
102
|
-
|
|
103
|
-
|
|
111
|
+
autoEnhanceOff?: true | undefined;
|
|
112
|
+
appCreated?: true | undefined;
|
|
113
|
+
anonWriteFollowed?: {
|
|
114
|
+
to: "explicit" | "off";
|
|
115
|
+
because: "not-open" | "personal-details" | "rules-ask" | "rules-do-not-ask" | "rules-not-bound" | "sensitive";
|
|
116
|
+
} | undefined;
|
|
117
|
+
backendWarnings?: string[] | undefined;
|
|
118
|
+
} | {
|
|
119
|
+
type: "vibes.diy.res-error";
|
|
120
|
+
error: {
|
|
121
|
+
message: string;
|
|
122
|
+
code: "require-login";
|
|
123
|
+
};
|
|
124
|
+
} | {
|
|
125
|
+
type: "vibes.diy.res-error";
|
|
126
|
+
error: {
|
|
127
|
+
message: string;
|
|
128
|
+
code: "user-slug-invalid";
|
|
129
|
+
};
|
|
130
|
+
} | {
|
|
131
|
+
type: "vibes.diy.res-error";
|
|
132
|
+
error: {
|
|
133
|
+
message: string;
|
|
134
|
+
code: "app-slug-invalid";
|
|
135
|
+
};
|
|
136
|
+
} | {
|
|
137
|
+
type: "vibes.diy.res-error";
|
|
138
|
+
error: {
|
|
139
|
+
message: string;
|
|
140
|
+
code: "max-app-slugs-reached";
|
|
141
|
+
};
|
|
142
|
+
} | {
|
|
143
|
+
type: "vibes.diy.res-error";
|
|
144
|
+
error: {
|
|
145
|
+
message: string;
|
|
146
|
+
code: "handle-required";
|
|
147
|
+
};
|
|
148
|
+
} | {
|
|
149
|
+
type: "vibes.diy.res-error";
|
|
150
|
+
error: {
|
|
151
|
+
message: string;
|
|
152
|
+
code: "from-not-owned";
|
|
153
|
+
};
|
|
154
|
+
} | {
|
|
155
|
+
type: "vibes.diy.res-error";
|
|
156
|
+
error: {
|
|
157
|
+
message: string;
|
|
158
|
+
code: "from-carry-failed";
|
|
159
|
+
};
|
|
160
|
+
} | {
|
|
161
|
+
type: "vibes.diy.res-error";
|
|
162
|
+
error: {
|
|
163
|
+
message: string;
|
|
164
|
+
code: "auto-enhance-off";
|
|
165
|
+
};
|
|
166
|
+
} | {
|
|
167
|
+
type: "vibes-diy.cli.res-generate";
|
|
104
168
|
appSlug: string;
|
|
105
169
|
ownerHandle: string;
|
|
106
|
-
|
|
170
|
+
url: string;
|
|
171
|
+
directory: string;
|
|
172
|
+
release?: "not-visible" | "published" | "version-locked" | undefined;
|
|
173
|
+
turns?: number | undefined;
|
|
174
|
+
publish?: "kept-private-no-access-fn" | "private" | "published" | undefined;
|
|
175
|
+
posture?: "gated" | "open" | "private" | undefined;
|
|
176
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
177
|
+
type: "vibes-diy.cli.db.query";
|
|
107
178
|
apiUrl: string;
|
|
179
|
+
appSlug: string;
|
|
180
|
+
ownerHandle: string;
|
|
181
|
+
dbName: string;
|
|
182
|
+
field: string;
|
|
183
|
+
key: string;
|
|
184
|
+
prefix: string;
|
|
185
|
+
range: string;
|
|
186
|
+
limit: number;
|
|
187
|
+
descending: boolean;
|
|
188
|
+
admin: boolean;
|
|
189
|
+
actingHandle: string;
|
|
108
190
|
}, {
|
|
109
|
-
type: "vibes-diy.cli.res
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
appSlug: string;
|
|
113
|
-
ownerHandle: string;
|
|
114
|
-
created: string;
|
|
115
|
-
userHandle?: string | undefined;
|
|
191
|
+
type: "vibes-diy.cli.db.query-res";
|
|
192
|
+
docs: {
|
|
193
|
+
[x: string]: unknown;
|
|
116
194
|
}[];
|
|
117
|
-
} | {
|
|
118
|
-
type: "vibes-diy.cli.res-app-chats-detail";
|
|
119
|
-
chatId: string;
|
|
120
|
-
ownerHandle?: string | undefined;
|
|
121
|
-
appSlug?: string | undefined;
|
|
122
|
-
output: string;
|
|
123
195
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
124
|
-
type: "vibes-diy.cli.
|
|
196
|
+
type: "vibes-diy.cli.whoami";
|
|
125
197
|
apiUrl: string;
|
|
126
198
|
}, {
|
|
127
|
-
type: "vibes-diy.cli.res-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
icon?: {
|
|
134
|
-
cid: string;
|
|
135
|
-
mime: string;
|
|
136
|
-
} | undefined;
|
|
137
|
-
pinnedAt?: string | undefined;
|
|
138
|
-
neverPublished?: boolean | undefined;
|
|
139
|
-
unpublishedAt?: string | undefined;
|
|
140
|
-
}[];
|
|
199
|
+
type: "vibes-diy.cli.res-whoami";
|
|
200
|
+
authenticated: boolean;
|
|
201
|
+
userId?: string | undefined;
|
|
202
|
+
defaultHandle?: string | undefined;
|
|
203
|
+
handles: string[];
|
|
204
|
+
detail?: string | undefined;
|
|
141
205
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
142
206
|
type: "vibes-diy.cli.versions";
|
|
143
207
|
appSlug: string;
|
|
@@ -449,9 +513,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
449
513
|
email: string;
|
|
450
514
|
updatedAt: string;
|
|
451
515
|
verified?: boolean | undefined;
|
|
452
|
-
} | {
|
|
453
|
-
type: "onboarding";
|
|
454
|
-
completedAt: string;
|
|
455
516
|
} | {
|
|
456
517
|
type: "geoCountry";
|
|
457
518
|
country: string;
|
|
@@ -462,6 +523,9 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
462
523
|
[x: string]: string;
|
|
463
524
|
};
|
|
464
525
|
updatedAt: string;
|
|
526
|
+
} | {
|
|
527
|
+
type: "onboarding";
|
|
528
|
+
completedAt: string;
|
|
465
529
|
} | {
|
|
466
530
|
type: "kyc";
|
|
467
531
|
cardAt?: string | undefined;
|
|
@@ -487,6 +551,7 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
487
551
|
claimId?: string | undefined;
|
|
488
552
|
shareOpenedCount?: number | undefined;
|
|
489
553
|
shareOpenerKeys?: string[] | undefined;
|
|
554
|
+
groupKeys?: string[] | undefined;
|
|
490
555
|
} | {
|
|
491
556
|
type: "guestAppOpeners";
|
|
492
557
|
apps: {
|
|
@@ -582,18 +647,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
582
647
|
})[];
|
|
583
648
|
updated: string;
|
|
584
649
|
created: string;
|
|
585
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
586
|
-
type: "vibes-diy.cli.skills";
|
|
587
|
-
}, {
|
|
588
|
-
type: "vibes-diy.cli.res-skills-list";
|
|
589
|
-
skills: {
|
|
590
|
-
name: string;
|
|
591
|
-
description: string;
|
|
592
|
-
}[];
|
|
593
|
-
} | {
|
|
594
|
-
type: "vibes-diy.cli.res-skill-content";
|
|
595
|
-
name: string;
|
|
596
|
-
content: string;
|
|
597
650
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
598
651
|
type: "use-vibes.cli.themes";
|
|
599
652
|
}, {
|
|
@@ -607,225 +660,42 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
607
660
|
slug: string;
|
|
608
661
|
content: string;
|
|
609
662
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
610
|
-
type: "vibes-diy.cli.
|
|
611
|
-
}, {
|
|
612
|
-
type: "vibes-diy.cli.res-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
title?: string | undefined;
|
|
624
|
-
from?: {
|
|
625
|
-
ownerHandle: string;
|
|
626
|
-
appSlug: string;
|
|
627
|
-
} | undefined;
|
|
628
|
-
apiKey?: string | undefined;
|
|
629
|
-
apiUrl: string;
|
|
630
|
-
idleTimeoutMs?: number | undefined;
|
|
631
|
-
}, {
|
|
632
|
-
type: "vibes.diy.res-error";
|
|
633
|
-
error: {
|
|
634
|
-
message: string;
|
|
635
|
-
code: "max-app-slugs-reached";
|
|
636
|
-
};
|
|
637
|
-
} | {
|
|
638
|
-
appSlug: string;
|
|
639
|
-
ownerHandle: string;
|
|
640
|
-
mode: "dev" | "production";
|
|
641
|
-
fsId: string;
|
|
642
|
-
type: "vibes.diy.res-ensure-app-slug";
|
|
643
|
-
env: Record<string, string>;
|
|
644
|
-
fileSystem: {
|
|
645
|
-
fileName: string;
|
|
646
|
-
mimeType: string;
|
|
647
|
-
assetId: string;
|
|
648
|
-
assetURI: string;
|
|
649
|
-
transform?: {
|
|
650
|
-
type: "jsx-to-js";
|
|
651
|
-
transformedAssetId: string;
|
|
652
|
-
} | {
|
|
653
|
-
type: "imports";
|
|
654
|
-
importMapAssetId: string;
|
|
655
|
-
} | {
|
|
656
|
-
type: "import-map";
|
|
657
|
-
fromAssetIds: string[];
|
|
658
|
-
} | {
|
|
659
|
-
type: "transformed";
|
|
660
|
-
action: "jsx-to-js";
|
|
661
|
-
transformedAssetId: string;
|
|
662
|
-
} | {
|
|
663
|
-
type: "tailwind-css";
|
|
664
|
-
} | undefined;
|
|
665
|
-
entryPoint?: boolean | undefined;
|
|
666
|
-
size: number;
|
|
667
|
-
kind?: "asset" | undefined;
|
|
668
|
-
uploadId?: string | undefined;
|
|
669
|
-
}[];
|
|
670
|
-
autoEnhanceOff?: true | undefined;
|
|
671
|
-
appCreated?: true | undefined;
|
|
672
|
-
anonWriteFollowed?: {
|
|
673
|
-
to: "explicit" | "off";
|
|
674
|
-
because: "not-open" | "personal-details" | "rules-ask" | "rules-do-not-ask" | "rules-not-bound" | "sensitive";
|
|
675
|
-
} | undefined;
|
|
676
|
-
backendWarnings?: string[] | undefined;
|
|
677
|
-
} | {
|
|
678
|
-
type: "vibes.diy.res-error";
|
|
679
|
-
error: {
|
|
680
|
-
message: string;
|
|
681
|
-
code: "require-login";
|
|
682
|
-
};
|
|
683
|
-
} | {
|
|
684
|
-
type: "vibes.diy.res-error";
|
|
685
|
-
error: {
|
|
686
|
-
message: string;
|
|
687
|
-
code: "user-slug-invalid";
|
|
688
|
-
};
|
|
689
|
-
} | {
|
|
690
|
-
type: "vibes.diy.res-error";
|
|
691
|
-
error: {
|
|
692
|
-
message: string;
|
|
693
|
-
code: "app-slug-invalid";
|
|
694
|
-
};
|
|
695
|
-
} | {
|
|
696
|
-
type: "vibes.diy.res-error";
|
|
697
|
-
error: {
|
|
698
|
-
message: string;
|
|
699
|
-
code: "handle-required";
|
|
700
|
-
};
|
|
701
|
-
} | {
|
|
702
|
-
type: "vibes.diy.res-error";
|
|
703
|
-
error: {
|
|
704
|
-
message: string;
|
|
705
|
-
code: "from-not-owned";
|
|
706
|
-
};
|
|
707
|
-
} | {
|
|
708
|
-
type: "vibes.diy.res-error";
|
|
709
|
-
error: {
|
|
710
|
-
message: string;
|
|
711
|
-
code: "from-carry-failed";
|
|
712
|
-
};
|
|
713
|
-
} | {
|
|
714
|
-
type: "vibes.diy.res-error";
|
|
715
|
-
error: {
|
|
716
|
-
message: string;
|
|
717
|
-
code: "auto-enhance-off";
|
|
718
|
-
};
|
|
719
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
720
|
-
type: "vibes-diy.cli.remix";
|
|
721
|
-
srcUserSlug: string;
|
|
722
|
-
srcAppSlug: string;
|
|
723
|
-
dstOwnerHandle?: string | undefined;
|
|
724
|
-
dstAppSlug?: string | undefined;
|
|
725
|
-
published: boolean;
|
|
726
|
-
settingsOnly: boolean;
|
|
727
|
-
apiUrl: string;
|
|
728
|
-
}, {
|
|
729
|
-
type: "vibes-diy.cli.res-remix";
|
|
730
|
-
ownerHandle: string;
|
|
731
|
-
appSlug: string;
|
|
732
|
-
url: string;
|
|
733
|
-
carried?: string[] | undefined;
|
|
734
|
-
skippedPresent?: string[] | undefined;
|
|
735
|
-
chatId?: string | undefined;
|
|
736
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
737
|
-
type: "vibes-diy.cli.claim-handle";
|
|
738
|
-
apiUrl: string;
|
|
739
|
-
ownerHandle?: string | undefined;
|
|
740
|
-
noDefault?: boolean | undefined;
|
|
741
|
-
}, {
|
|
742
|
-
type: "vibes-diy.cli.res-claim-handle";
|
|
743
|
-
op: "claim" | "suggest";
|
|
744
|
-
ownerHandle?: string | undefined;
|
|
745
|
-
defaultHandleSet?: boolean | undefined;
|
|
746
|
-
defaultSkipped?: boolean | undefined;
|
|
747
|
-
suggestions: string[];
|
|
748
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
749
|
-
type: "vibes-diy.cli.agent";
|
|
750
|
-
apiUrl: string;
|
|
751
|
-
prompt: string;
|
|
752
|
-
ownerHandle: string;
|
|
753
|
-
followMs: number;
|
|
754
|
-
json: boolean;
|
|
755
|
-
chatId?: string | undefined;
|
|
756
|
-
newChat?: boolean | undefined;
|
|
757
|
-
images?: string[] | undefined;
|
|
758
|
-
byText?: boolean | undefined;
|
|
759
|
-
startedBy?: "person" | "wake" | undefined;
|
|
760
|
-
askedBy?: string | undefined;
|
|
761
|
-
}, {
|
|
762
|
-
type: "vibes-diy.cli.res-agent";
|
|
763
|
-
ownerHandle: string;
|
|
764
|
-
chatId: string;
|
|
765
|
-
messages: string[];
|
|
766
|
-
shorts?: string[] | undefined;
|
|
767
|
-
links: string[];
|
|
768
|
-
idle: boolean;
|
|
769
|
-
reactions?: string[] | undefined;
|
|
770
|
-
error?: string | undefined;
|
|
771
|
-
credits?: number | undefined;
|
|
772
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
773
|
-
type: "vibes-diy.cli.image";
|
|
774
|
-
apiUrl: string;
|
|
775
|
-
prompt: string;
|
|
776
|
-
ownerHandle: string;
|
|
777
|
-
photo: string;
|
|
778
|
-
vibe: string;
|
|
779
|
-
db: string;
|
|
780
|
-
doc: string;
|
|
781
|
-
out: string;
|
|
782
|
-
json: boolean;
|
|
783
|
-
}, {
|
|
784
|
-
type: "vibes-diy.cli.res-image";
|
|
785
|
-
path: string;
|
|
786
|
-
receipt: {
|
|
787
|
-
ok: true;
|
|
788
|
-
picture: {
|
|
789
|
-
url: string;
|
|
790
|
-
mimeType: string;
|
|
791
|
-
name: string;
|
|
792
|
-
size: number;
|
|
793
|
-
ownerHandle: string;
|
|
794
|
-
appSlug: string;
|
|
795
|
-
dbName: string;
|
|
796
|
-
docId: string;
|
|
797
|
-
};
|
|
798
|
-
link?: string | undefined;
|
|
799
|
-
made: {
|
|
800
|
-
prompt: string;
|
|
801
|
-
model: string;
|
|
802
|
-
};
|
|
803
|
-
};
|
|
663
|
+
type: "vibes-diy.cli.variety";
|
|
664
|
+
}, {
|
|
665
|
+
type: "vibes-diy.cli.res-variety-list";
|
|
666
|
+
grammar: string;
|
|
667
|
+
flourishCount: number;
|
|
668
|
+
archetypes: {
|
|
669
|
+
id: string;
|
|
670
|
+
guidance: string;
|
|
671
|
+
}[];
|
|
672
|
+
flourishes: {
|
|
673
|
+
id: string;
|
|
674
|
+
guidance: string;
|
|
675
|
+
}[];
|
|
804
676
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
805
|
-
type: "vibes-diy.cli.
|
|
806
|
-
|
|
677
|
+
type: "vibes-diy.cli.system";
|
|
678
|
+
}, {
|
|
679
|
+
type: "vibes-diy.cli.res-system";
|
|
680
|
+
systemPrompt: string;
|
|
681
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
682
|
+
type: "vibes-diy.cli.push";
|
|
683
|
+
mode: string;
|
|
807
684
|
appSlug: string;
|
|
808
685
|
ownerHandle: string;
|
|
809
|
-
|
|
810
|
-
noAccessFn?: boolean | undefined;
|
|
686
|
+
access?: string | undefined;
|
|
811
687
|
privateMode?: boolean | undefined;
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
688
|
+
noAccessFn?: boolean | undefined;
|
|
689
|
+
message?: string | undefined;
|
|
690
|
+
title?: string | undefined;
|
|
691
|
+
from?: {
|
|
692
|
+
ownerHandle: string;
|
|
693
|
+
appSlug: string;
|
|
694
|
+
} | undefined;
|
|
817
695
|
apiKey?: string | undefined;
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
style?: string | undefined;
|
|
821
|
-
fastPass?: boolean | undefined;
|
|
696
|
+
apiUrl: string;
|
|
697
|
+
idleTimeoutMs?: number | undefined;
|
|
822
698
|
}, {
|
|
823
|
-
type: "vibes.diy.res-error";
|
|
824
|
-
error: {
|
|
825
|
-
message: string;
|
|
826
|
-
code: "max-app-slugs-reached";
|
|
827
|
-
};
|
|
828
|
-
} | {
|
|
829
699
|
appSlug: string;
|
|
830
700
|
ownerHandle: string;
|
|
831
701
|
mode: "dev" | "production";
|
|
@@ -883,6 +753,12 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
883
753
|
message: string;
|
|
884
754
|
code: "app-slug-invalid";
|
|
885
755
|
};
|
|
756
|
+
} | {
|
|
757
|
+
type: "vibes.diy.res-error";
|
|
758
|
+
error: {
|
|
759
|
+
message: string;
|
|
760
|
+
code: "max-app-slugs-reached";
|
|
761
|
+
};
|
|
886
762
|
} | {
|
|
887
763
|
type: "vibes.diy.res-error";
|
|
888
764
|
error: {
|
|
@@ -907,16 +783,83 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
907
783
|
message: string;
|
|
908
784
|
code: "auto-enhance-off";
|
|
909
785
|
};
|
|
910
|
-
} | {
|
|
911
|
-
type: "vibes-diy.cli.
|
|
912
|
-
|
|
786
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
787
|
+
type: "vibes-diy.cli.remix";
|
|
788
|
+
srcUserSlug: string;
|
|
789
|
+
srcAppSlug: string;
|
|
790
|
+
dstOwnerHandle?: string | undefined;
|
|
791
|
+
dstAppSlug?: string | undefined;
|
|
792
|
+
published: boolean;
|
|
793
|
+
settingsOnly: boolean;
|
|
794
|
+
apiUrl: string;
|
|
795
|
+
}, {
|
|
796
|
+
type: "vibes-diy.cli.res-remix";
|
|
913
797
|
ownerHandle: string;
|
|
798
|
+
appSlug: string;
|
|
914
799
|
url: string;
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
800
|
+
carried?: string[] | undefined;
|
|
801
|
+
skippedPresent?: string[] | undefined;
|
|
802
|
+
chatId?: string | undefined;
|
|
803
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
804
|
+
type: "vibes-diy.cli.agent";
|
|
805
|
+
apiUrl: string;
|
|
806
|
+
prompt: string;
|
|
807
|
+
ownerHandle: string;
|
|
808
|
+
followMs: number;
|
|
809
|
+
json: boolean;
|
|
810
|
+
chatId?: string | undefined;
|
|
811
|
+
newChat?: boolean | undefined;
|
|
812
|
+
images?: string[] | undefined;
|
|
813
|
+
byText?: boolean | undefined;
|
|
814
|
+
startedBy?: "person" | "wake" | undefined;
|
|
815
|
+
askedBy?: string | undefined;
|
|
816
|
+
}, {
|
|
817
|
+
type: "vibes-diy.cli.res-agent";
|
|
818
|
+
ownerHandle: string;
|
|
819
|
+
chatId: string;
|
|
820
|
+
messages: string[];
|
|
821
|
+
shorts?: string[] | undefined;
|
|
822
|
+
links: string[];
|
|
823
|
+
idle: boolean;
|
|
824
|
+
reactions?: string[] | undefined;
|
|
825
|
+
error?: string | undefined;
|
|
826
|
+
credits?: number | undefined;
|
|
827
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
828
|
+
type: "vibes-diy.cli.put-asset";
|
|
829
|
+
file: string;
|
|
830
|
+
appSlug: string;
|
|
831
|
+
ownerHandle: string;
|
|
832
|
+
apiUrl: string;
|
|
833
|
+
mimeType: string;
|
|
834
|
+
verifyFetch: boolean;
|
|
835
|
+
}, {
|
|
836
|
+
type: "vibes-diy.cli.res-put-asset";
|
|
837
|
+
cid: string;
|
|
838
|
+
getURL: string;
|
|
839
|
+
size: number;
|
|
840
|
+
uploadId: string;
|
|
841
|
+
verified?: boolean | undefined;
|
|
842
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
843
|
+
type: "vibes-diy.cli.app-chats";
|
|
844
|
+
appSlug: string;
|
|
845
|
+
ownerHandle: string;
|
|
846
|
+
chatId?: string | undefined;
|
|
847
|
+
apiUrl: string;
|
|
848
|
+
}, {
|
|
849
|
+
type: "vibes-diy.cli.res-app-chats-list";
|
|
850
|
+
items: {
|
|
851
|
+
chatId: string;
|
|
852
|
+
appSlug: string;
|
|
853
|
+
ownerHandle: string;
|
|
854
|
+
created: string;
|
|
855
|
+
userHandle?: string | undefined;
|
|
856
|
+
}[];
|
|
857
|
+
} | {
|
|
858
|
+
type: "vibes-diy.cli.res-app-chats-detail";
|
|
859
|
+
chatId: string;
|
|
860
|
+
ownerHandle?: string | undefined;
|
|
861
|
+
appSlug?: string | undefined;
|
|
862
|
+
output: string;
|
|
920
863
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
921
864
|
type: "vibes-diy.cli.codegen-log";
|
|
922
865
|
appSlug: string;
|
|
@@ -967,12 +910,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
967
910
|
builderModel?: string | undefined;
|
|
968
911
|
apiKey?: string | undefined;
|
|
969
912
|
}, {
|
|
970
|
-
type: "vibes.diy.res-error";
|
|
971
|
-
error: {
|
|
972
|
-
message: string;
|
|
973
|
-
code: "max-app-slugs-reached";
|
|
974
|
-
};
|
|
975
|
-
} | {
|
|
976
913
|
appSlug: string;
|
|
977
914
|
ownerHandle: string;
|
|
978
915
|
mode: "dev" | "production";
|
|
@@ -1030,6 +967,12 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1030
967
|
message: string;
|
|
1031
968
|
code: "app-slug-invalid";
|
|
1032
969
|
};
|
|
970
|
+
} | {
|
|
971
|
+
type: "vibes.diy.res-error";
|
|
972
|
+
error: {
|
|
973
|
+
message: string;
|
|
974
|
+
code: "max-app-slugs-reached";
|
|
975
|
+
};
|
|
1033
976
|
} | {
|
|
1034
977
|
type: "vibes.diy.res-error";
|
|
1035
978
|
error: {
|
|
@@ -1062,6 +1005,24 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1062
1005
|
directory: string;
|
|
1063
1006
|
restyled?: boolean | undefined;
|
|
1064
1007
|
fsId?: string | undefined;
|
|
1008
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1009
|
+
type: "vibes-diy.cli.list";
|
|
1010
|
+
apiUrl: string;
|
|
1011
|
+
}, {
|
|
1012
|
+
type: "vibes-diy.cli.res-list";
|
|
1013
|
+
items: {
|
|
1014
|
+
ownerHandle: string;
|
|
1015
|
+
appSlug: string;
|
|
1016
|
+
updated: string;
|
|
1017
|
+
title?: string | undefined;
|
|
1018
|
+
icon?: {
|
|
1019
|
+
cid: string;
|
|
1020
|
+
mime: string;
|
|
1021
|
+
} | undefined;
|
|
1022
|
+
pinnedAt?: string | undefined;
|
|
1023
|
+
neverPublished?: boolean | undefined;
|
|
1024
|
+
unpublishedAt?: string | undefined;
|
|
1025
|
+
}[];
|
|
1065
1026
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1066
1027
|
type: "vibes-diy.cli.doctor";
|
|
1067
1028
|
apiUrl: string;
|
|
@@ -1088,16 +1049,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1088
1049
|
detail: string;
|
|
1089
1050
|
ms?: number | undefined;
|
|
1090
1051
|
} | undefined;
|
|
1091
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1092
|
-
type: "vibes-diy.cli.whoami";
|
|
1093
|
-
apiUrl: string;
|
|
1094
|
-
}, {
|
|
1095
|
-
type: "vibes-diy.cli.res-whoami";
|
|
1096
|
-
authenticated: boolean;
|
|
1097
|
-
userId?: string | undefined;
|
|
1098
|
-
defaultHandle?: string | undefined;
|
|
1099
|
-
handles: string[];
|
|
1100
|
-
detail?: string | undefined;
|
|
1101
1052
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1102
1053
|
type: "vibes-diy.cli.pull";
|
|
1103
1054
|
appSlug: string;
|
|
@@ -1455,6 +1406,8 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1455
1406
|
appSlug: string;
|
|
1456
1407
|
tool: string;
|
|
1457
1408
|
outcome: {
|
|
1409
|
+
reason: "cancelled" | "needs-confirm";
|
|
1410
|
+
} | {
|
|
1458
1411
|
reason: "ok";
|
|
1459
1412
|
result: unknown;
|
|
1460
1413
|
truncated?: true | undefined;
|
|
@@ -1470,8 +1423,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1470
1423
|
errorName: string;
|
|
1471
1424
|
} | {
|
|
1472
1425
|
reason: "no_tool" | "unavailable" | "unknown_outcome";
|
|
1473
|
-
} | {
|
|
1474
|
-
reason: "cancelled" | "needs-confirm";
|
|
1475
1426
|
};
|
|
1476
1427
|
note: string;
|
|
1477
1428
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
@@ -1750,6 +1701,34 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1750
1701
|
}, {
|
|
1751
1702
|
type: "vibes-diy.cli.res-phone-link-classify";
|
|
1752
1703
|
reaction?: string | undefined;
|
|
1704
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1705
|
+
type: "core-cli.device-id-register";
|
|
1706
|
+
commonName: string;
|
|
1707
|
+
organization: string;
|
|
1708
|
+
locality: string;
|
|
1709
|
+
state: string;
|
|
1710
|
+
country: string;
|
|
1711
|
+
caUrl: string;
|
|
1712
|
+
port: string;
|
|
1713
|
+
timeout: string;
|
|
1714
|
+
forceRenew: boolean;
|
|
1715
|
+
cert?: string | undefined;
|
|
1716
|
+
noBrowser?: boolean | undefined;
|
|
1717
|
+
apiUrl?: string | undefined;
|
|
1718
|
+
expectHandle?: string | undefined;
|
|
1719
|
+
expectUser?: string | undefined;
|
|
1720
|
+
}, {
|
|
1721
|
+
type: "core-cli.res-device-id-register";
|
|
1722
|
+
output: string;
|
|
1723
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1724
|
+
type: "vibes-diy.cli.db.list";
|
|
1725
|
+
apiUrl: string;
|
|
1726
|
+
appSlug: string;
|
|
1727
|
+
ownerHandle: string;
|
|
1728
|
+
admin: boolean;
|
|
1729
|
+
}, {
|
|
1730
|
+
type: "vibes-diy.cli.db.list-res";
|
|
1731
|
+
dbNames: string[];
|
|
1753
1732
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1754
1733
|
type: "vibes-diy.cli.db.get";
|
|
1755
1734
|
apiUrl: string;
|
|
@@ -1765,42 +1744,64 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1765
1744
|
[x: string]: unknown;
|
|
1766
1745
|
};
|
|
1767
1746
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1768
|
-
type: "vibes-diy.cli.db.
|
|
1747
|
+
type: "vibes-diy.cli.db.put";
|
|
1769
1748
|
apiUrl: string;
|
|
1770
1749
|
appSlug: string;
|
|
1771
1750
|
ownerHandle: string;
|
|
1772
1751
|
dbName: string;
|
|
1752
|
+
docJson: string;
|
|
1773
1753
|
docId: string;
|
|
1774
1754
|
admin: boolean;
|
|
1775
1755
|
actingHandle: string;
|
|
1756
|
+
files?: string[] | undefined;
|
|
1776
1757
|
}, {
|
|
1777
|
-
type: "vibes-diy.cli.db.
|
|
1758
|
+
type: "vibes-diy.cli.db.put-res";
|
|
1778
1759
|
id: string;
|
|
1779
1760
|
ok: true;
|
|
1761
|
+
files?: {
|
|
1762
|
+
key: string;
|
|
1763
|
+
status: "unchanged" | "uploaded";
|
|
1764
|
+
uploadId: string;
|
|
1765
|
+
}[] | undefined;
|
|
1780
1766
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1781
|
-
type: "vibes-diy.cli.db.
|
|
1767
|
+
type: "vibes-diy.cli.db.del";
|
|
1782
1768
|
apiUrl: string;
|
|
1783
1769
|
appSlug: string;
|
|
1784
1770
|
ownerHandle: string;
|
|
1785
1771
|
dbName: string;
|
|
1786
|
-
|
|
1787
|
-
key: string;
|
|
1788
|
-
prefix: string;
|
|
1789
|
-
range: string;
|
|
1790
|
-
limit: number;
|
|
1791
|
-
descending: boolean;
|
|
1772
|
+
docId: string;
|
|
1792
1773
|
admin: boolean;
|
|
1793
1774
|
actingHandle: string;
|
|
1794
1775
|
}, {
|
|
1795
|
-
type: "vibes-diy.cli.db.
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
}[];
|
|
1776
|
+
type: "vibes-diy.cli.db.del-res";
|
|
1777
|
+
id: string;
|
|
1778
|
+
ok: true;
|
|
1799
1779
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1800
1780
|
type: "vibes-diy.cli.db.subscribe";
|
|
1801
1781
|
apiUrl: string;
|
|
1802
1782
|
appSlug: string;
|
|
1803
1783
|
ownerHandle: string;
|
|
1804
1784
|
dbName: string;
|
|
1805
|
-
}, never>)
|
|
1785
|
+
}, never> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1786
|
+
type: "vibes-diy.cli.db.seed";
|
|
1787
|
+
action: "add" | "remove";
|
|
1788
|
+
apiUrl: string;
|
|
1789
|
+
appSlug: string;
|
|
1790
|
+
ownerHandle: string;
|
|
1791
|
+
}, {
|
|
1792
|
+
type: "vibes-diy.cli.db.seed-res";
|
|
1793
|
+
action: "add" | "remove";
|
|
1794
|
+
appSlug: string;
|
|
1795
|
+
ownerHandle: string;
|
|
1796
|
+
seedFile: "absent" | "invalid" | "present" | "unknown";
|
|
1797
|
+
changed: number;
|
|
1798
|
+
skipped: number;
|
|
1799
|
+
failed: number;
|
|
1800
|
+
perDb: {
|
|
1801
|
+
dbName: string;
|
|
1802
|
+
changed: number;
|
|
1803
|
+
skipped: number;
|
|
1804
|
+
failed: number;
|
|
1805
|
+
}[];
|
|
1806
|
+
}>)[];
|
|
1806
1807
|
export declare function cmdTsEvento(): import("@adviser/cement").Evento;
|